main {
  max-width: 90rem;
  padding: 1.5rem;
}
header {
  margin: 1.5rem 0;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 1.5rem;
}
.join-row,
#join,
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
#status,
.hint,
.credit {
  color: var(--muted);
}
.toolbar {
  margin-bottom: 0.6rem;
}
#map {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
#map svg {
  width: 100%;
  height: auto;
  display: block;
}
#map .water {
  fill: oklch(94% 0.025 220);
  pointer-events: none;
}
#map [data-code] {
  cursor: pointer;
}
#map [data-code]:hover {
  fill: oklch(75% 0.12 170);
}
#map .selected-country {
  fill: oklch(55% 0.12 170);
}
#map circle {
  display: block;
  stroke-width: 0.2;
}
select {
  font: inherit;
  min-height: 48px;
  max-width: 100%;
  display: block;
  margin-top: 0.5rem;
}
#sentence {
  font-size: 1.5rem;
  font-weight: 650;
}
aside {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
}
#people {
  padding: 0;
  list-style: none;
}
#people li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
#people span {
  display: block;
  color: var(--muted);
}
.credit {
  font-size: 0.8rem;
}
@media (max-width: 48rem) {
  .layout {
    grid-template-columns: 1fr;
  }
}
#map [data-code] {
  fill: #c0c0c0;
}
#map [data-code].selected-country {
  fill: oklch(55% 0.12 170);
}
#map [data-code]:hover {
  fill: oklch(75% 0.12 170);
}
#people .avatar {
  display: inline-grid;
  color: white;
  margin-right: 0.5rem;
}
#map .student-markers circle {
  display: block;
  stroke-width: 0.5;
}
#people .student-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#people .student-label {
  flex: 1;
  min-width: 0;
}
#people .focus-country {
  flex: 0 0 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  line-height: 1;
}
#people .focus-country:hover,
#people .focus-country[aria-pressed="true"] {
  background: oklch(93% 0.05 170);
}
#people .focus-country:disabled {
  opacity: 0.4;
  cursor: default;
}
#people .speaking {
  background: oklch(95% 0.08 90);
  border-radius: 0.5rem;
}
#people .turn-cue {
  color: var(--accent);
  font-weight: 750;
}
#practice-turn {
  padding: 1rem;
  background: oklch(95% 0.08 90);
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: 650;
}
#map [data-code].speaking-country {
  fill: oklch(77% 0.15 85);
}
