.location-quiz {
  color-scheme: dark;
  margin: 0;
  background: #0e1219;
  color: #f2f5fa;
  font-family: Inter, Arial, sans-serif;
}

.location-quiz *,
.location-quiz *::before,
.location-quiz *::after {
  box-sizing: border-box;
}

.location-quiz .shell {
  width: min(100% - 36px, 1200px);
  margin-inline: auto;
}

.location-hero {
  padding-block: clamp(1.4rem, 4vw, 2.65rem) 1.25rem;
}

.location-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.9rem);
  letter-spacing: -.035em;
  line-height: 1.04;
  max-width: 23ch;
}

.location-hero p {
  margin: .85rem 0 0;
  color: #b8c7da;
}

.location-arena {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  border: 1px solid #364354;
  border-radius: 16px;
  min-height: 300px;
  background: #161d28;
}

.location-clue {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 15px 0 0 15px;
  padding: clamp(1rem, 3.5vw, 2rem);
  background: #1b2e38;
}

.location-round {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-weight: 700;
  font-size: .84rem;
  color: #b7dfd8;
}

.location-round progress {
  width: min(7rem, 100%);
  height: .55rem;
  accent-color: #63e6bd;
}

.location-place {
  margin-block: auto;
  padding-block: 1.25rem;
  max-width: 45ch;
}

.location-place h2 {
  color: #f4fbff;
  overflow-wrap: anywhere;
  font-size: clamp(1.85rem, 4.5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 0 0 .65rem;
}

.location-place p,
.location-extra {
  margin: 0;
  color: #ccdae5;
  line-height: 1.55;
}

.location-extra {
  border-top: 1px solid #47606c;
  padding-top: .75rem;
  color: #c4f7e7;
}

.location-controls {
  min-width: 0;
  padding: clamp(1rem, 3.5vw, 1.85rem);
}

.location-controls [hidden],
.location-clue [hidden] {
  display: none !important;
}

.location-status {
  margin: .65rem 0;
  color: #bdccdc;
}

.location-status:empty {
  display: none;
}

.location-controls label {
  display: block;
  margin: .75rem 0 .4rem;
  font-weight: 700;
}

.location-picker {
  position: relative;
}

.location-picker input {
  width: 100%;
  min-height: 46px;
  padding: .65rem .8rem;
  border: 1px solid #697b90;
  border-radius: 8px;
  background: #10141c;
  color: #eff7fc;
  caret-color: #6fe7c3;
  font: inherit;
}

.location-picker input::placeholder {
  color: #abbdcf;
}

.location-controls :is(button, input, a):focus-visible {
  outline: 2px solid #99f4df;
  outline-offset: 3px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.location-controls button {
  min-height: 44px;
  padding: .55rem .8rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.location-primary {
  background: #65ddbf;
  color: #102521;
  border: 1px solid transparent;
}

.location-primary:hover {
  background: #a6f4df;
}

.location-secondary {
  color: #e3edf6;
  background: #232f40;
  border: 1px solid #516177;
}

.location-secondary:hover {
  background: #37485b;
}

.location-controls button:disabled {
  opacity: .55;
  cursor: default;
}

.location-result {
  margin-block: .75rem 1rem;
}

.location-result h3 {
  margin: 0 0 .25rem;
}

.location-result a {
  color: #a7f0df;
}

@media (max-width: 760px) {
  .location-arena {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .location-clue {
    border-radius: 15px 15px 0 0;
  }
}
