@font-face {
  font-family: 'Riforma LL';
  src: url('/brand/riforma-regular.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'Riforma LL';
  src: url('/brand/riforma-medium.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
}
@font-face {
  font-family: 'Riforma Mono LL';
  src: url('/brand/riforma-mono.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
:root {
  color-scheme: light;
  --paper: #fffbe1;
  --card: #ffffff;
  --ink: #000000;
  --yellow: #ffea4b;
  --gray: #cacaca;
  --blue: #007bd3;
  --muted: #454545;
  --line: var(--gray);
  --soft-gray: color-mix(in srgb, var(--gray) 42%, var(--card));
  --map-dark: #303030;
  --map-line: #777777;
  --mono: 'Riforma Mono LL', ui-monospace, monospace;
  --body: 'Riforma LL', system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.35 var(--body);
  font-feature-settings: 'salt', 'ss20';
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.topbar {
  background: var(--ink);
  color: var(--card);
}
.topbar-inner,
.shell {
  width: min(1376px, calc(100% - 88px));
  margin-inline: auto;
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 66px;
  gap: 18px;
  align-items: center;
}
.brand,
.log-link,
.nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
}
.brand {
  min-height: 44px;
}
.brand img {
  display: block;
  width: 144px;
  height: auto;
}
.topbar a:focus-visible {
  outline-color: var(--yellow);
}
.nav {
  display: flex;
  height: 100%;
  gap: 31px;
}
.nav a {
  position: relative;
  height: 100%;
  font: 400 13px/1.08 var(--mono);
  color: var(--gray);
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--yellow);
}
.nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--yellow);
}
.log-link {
  justify-self: end;
  border: 1px solid var(--yellow);
  padding: 7px 9px 7px 12px;
  min-height: 38px;
  background: var(--yellow);
  color: var(--ink);
  font: 400 12px/1.08 var(--mono);
}
.log-link:is(:hover, [aria-current]) {
  background: var(--paper);
}
.log-link b {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 22px;
  background: var(--ink);
  color: var(--yellow);
  font: 400 12px var(--mono);
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 24px 0 18px;
  padding: 24px 28px;
  min-height: 186px;
  background: var(--yellow);
  border: 1px solid var(--ink);
}
.intro > div:first-child {
  flex: 1;
  min-width: 0;
}
.brand-primitive {
  flex: 0 0 115px;
  display: grid;
  aspect-ratio: 1;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  border: 1px solid var(--ink);
  background: var(--gray);
}
.brand-primitive .atom {
  display: grid;
  place-items: center;
  background: var(--ink);
}
.brand-primitive .atom::before {
  content: '';
  width: 25%;
  height: 25%;
  background: var(--gray);
}
.eyebrow {
  font: 400 12px/1.08 var(--mono);
}
.city {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.city svg {
  width: 14px;
  height: 14px;
}
h1,
h2,
h3 {
  font-family: var(--body);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 0.9;
}
.intro-copy {
  font-size: 16px;
  margin-top: 12px;
}
.event-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  border: 1px solid var(--ink);
  background: var(--yellow);
}
.event-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 11px 12px;
  min-width: 0;
}
.event-stats div + div {
  border-left: 1px solid var(--ink);
}
.event-stats dt {
  font: 400 10px/1.08 var(--mono);
  white-space: nowrap;
}
.event-stats dd {
  font: 500 33px/0.95 var(--body);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.event-stats div:last-child {
  color: var(--yellow);
  background: var(--ink);
}
.hunt-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}
.map-frame {
  isolation: isolate;
  position: relative;
  min-height: 500px;
  background: var(--map-dark);
  overflow: hidden;
  border: 1px solid var(--ink);
}
#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--map-dark);
}
.leaflet-tile-pane {
  filter: grayscale(1);
}
#map:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -3px;
}
.region-label {
  text-align: center;
  color: var(--gray);
  font: 400 10px/1.08 var(--mono);
  text-shadow:
    0 1px 2px var(--ink),
    0 0 4px var(--ink);
  pointer-events: none;
}
.map-heading,
.map-legend,
.map-attribution {
  position: absolute;
  z-index: 2;
  background: var(--ink);
  color: var(--card);
}
.map-heading {
  top: 16px;
  left: 16px;
  background: var(--gray);
  color: var(--ink);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 11px/1.08 var(--mono);
  pointer-events: none;
}
.map-dot,
.map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-block;
}
.map-dot {
  background: var(--ink);
}
.map-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 8px;
  z-index: 2;
}
.map-tools button {
  display: grid;
  place-items: center;
  border: 1px solid var(--map-line);
  background: var(--ink);
  color: var(--card);
  width: 39px;
  height: 39px;
  padding: 0;
}
.map-tools button:hover {
  background: var(--map-dark);
}
.map-tools button:focus-visible,
.map-pin:focus-visible {
  outline-color: var(--yellow);
}
.zoom-tools {
  border: 1px solid var(--map-line);
  overflow: hidden;
}
.zoom-tools button {
  border: 0;
  border-radius: 0;
  width: 37px;
  height: 37px;
}
.zoom-tools button + button {
  border-top: 1px solid var(--map-line);
}
.map-legend {
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 13px;
  padding: 9px 11px;
  border: 1px solid var(--map-line);
  font-size: 11px;
  pointer-events: none;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.map-legend span:nth-child(2) i {
  background: var(--gray);
}
.map-legend span:nth-child(3) i {
  background: var(--card);
  border: 2px solid var(--map-line);
}
.map-attribution {
  right: 0;
  bottom: 0;
  max-width: 100%;
  padding: 1px 7px 2px;
  font-size: 10px;
  color: var(--card);
}
.map-attribution a:hover {
  text-decoration: underline;
}
.map-fallback {
  position: absolute;
  inset: 50% 20px auto;
  color: white;
  text-align: center;
}
.map-pin-anchor {
  pointer-events: none;
}
.pin-leader {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--leader-width);
  height: 1px;
  background: var(--yellow);
  transform: rotate(var(--leader-angle));
  transform-origin: left;
  pointer-events: none;
}
.pin-leader::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  left: -1px;
  top: -2px;
  border-radius: 50%;
  background: var(--yellow);
}
.map-pin {
  z-index: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  border: 1px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font: 400 11px var(--mono);
  cursor: pointer;
}
.map-pin:hover,
.map-pin.selected {
  z-index: 1;
  border-color: var(--yellow);
  outline: 1px solid var(--yellow);
  outline-offset: 2px;
  background: var(--ink);
  color: var(--yellow);
}
.map-pin.claimed:not(.selected):not(:hover) {
  background: var(--gray);
}
.map-pin.mine:not(.selected):not(:hover) {
  background: var(--card);
  border-color: var(--map-line);
}
.map-pin.mine svg {
  width: 15px;
  height: 15px;
}
.you-marker {
  width: 17px;
  height: 17px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
}
.spotlight {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--card);
  overflow: hidden;
  min-width: 0;
}
.spotlight-art {
  position: relative;
  min-height: 160px;
  height: clamp(160px, 15.6vw, 228px);
  overflow: hidden;
  background: var(--gray);
  border-bottom: 1px solid var(--ink);
}
.spotlight-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
}
.hunt-scene {
  position: absolute;
  top: 33%;
  left: 50%;
  width: 1536px;
  height: 1024px;
  transform: translate(-50%, -33%) scale(var(--hunt-scene-scale, 0));
  transform-origin: 50% 33%;
}
.hunt-scene-photo {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(1);
}
.hunt-billboard-face {
  position: absolute;
  inset: 0;
  mask-image: url('/hunt-art-billboard-mask.png');
}
.hunt-billboard-face img {
  display: block;
  transform-origin: top left;
  /* The projection depends on the export dimensions and the photo’s panel corners. */
  transform: matrix3d(
    0.343889039523, -0.272295124502, 0, -0.000138735279457,
    -0.270508571468, 0.763008771748, 0, -0.000229109858993,
    0, 0, 1, 0,
    885, 308, 0, 1
  );
}
.art-caption {
  position: absolute;
  left: 13px;
  bottom: 12px;
  padding: 5px 7px;
  background: var(--gray);
  color: var(--ink);
  font: 400 10px/1.08 var(--mono);
}
.stop-detail {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 19px;
  gap: 12px;
}
.stop-meta,
.spotlight-navigation,
.capture-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.stop-num {
  color: var(--ink);
}
.state {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  padding: 4px 7px;
  font: 400 10px/1.3 var(--mono);
  white-space: nowrap;
}
.state i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.state.claimed {
  background: var(--gray);
  color: var(--ink);
}
.state.claimed i {
  background: var(--ink);
}
.state.mine {
  background: var(--ink);
  color: var(--yellow);
}
.state.mine i {
  background: var(--yellow);
}
.stop-detail h2 {
  font-size: clamp(26px, 2.9vw, 40px);
  overflow-wrap: anywhere;
}
.stop-area {
  margin-top: 6px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.clue {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.stop-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}
.primary,
.secondary,
.neutral {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 43px;
  color: var(--ink);
  font: 400 13px/1.08 var(--mono);
  border: 1px solid var(--ink);
  background: var(--card);
}
.primary {
  background: var(--ink);
  color: var(--yellow);
}
.primary:not(:disabled):hover {
  background: var(--yellow);
  color: var(--ink);
}
.secondary:hover,
.neutral:hover {
  background: var(--paper);
}
.spotlight-navigation {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.spotlight-navigation button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.spotlight-navigation button:hover {
  color: var(--ink);
  text-decoration: underline;
}
.spotlight-navigation small {
  font: 400 10px var(--mono);
  color: var(--muted);
}
.locations {
  margin-top: 35px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 32px;
}
.section-heading p {
  margin-top: 5px;
  color: var(--muted);
}
.filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.filter-wrap select,
.hunter-field input {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 10px;
}
.location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}
.location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  text-align: left;
  min-height: 66px;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
button.location-row:is(:hover, [aria-pressed='true']) {
  background: var(--yellow);
  border-color: var(--line);
}
.row-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  background: var(--gray);
  color: var(--ink);
  font: 400 11px var(--mono);
}
[aria-pressed='true'] > .row-num {
  background: var(--yellow);
  color: var(--ink);
}
.row-name {
  display: grid;
  min-width: 0;
  margin-right: auto;
}
.row-name strong,
.row-name small {
  overflow-wrap: anywhere;
}
.row-name small {
  color: var(--muted);
  font-size: 12px;
}
.row-arrow {
  color: var(--muted);
}
.board {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.empty-box {
  background: var(--card);
  border: 1px dashed var(--line);
  text-align: center;
  padding: 37px 20px;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty-box strong {
  display: block;
  color: var(--ink);
  font: 700 25px var(--body);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.empty-box .empty-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  color: var(--muted);
  font-size: 17px;
}
.empty-box a {
  display: inline-flex;
  margin-top: 15px;
}
.board > .empty-box {
  border: 0;
  border-radius: 0;
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.score-table tr.me {
  background: var(--paper);
}
.score-table th,
.score-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.score-table tr:last-child td {
  border-bottom: 0;
}
.score-table th {
  font: 400 11px var(--mono);
  background: var(--soft-gray);
}
.score-table td:not(:nth-child(2)) {
  width: 100px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.score-table td:nth-child(2) {
  font-weight: 500;
}
.score-table small {
  color: var(--muted);
  margin-left: 4px;
}
.firsts-heading {
  margin-top: 29px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.catch-card {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--card);
  min-width: 0;
}
.catch-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--soft-gray);
}
.catch-card div {
  padding: 13px;
  display: grid;
  gap: 5px;
}
.catch-card .state {
  justify-self: start;
}
.catch-card h2 {
  font-size: 25px;
}
.catch-card p {
  color: var(--muted);
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 0 23px;
  margin-top: 33px;
  color: var(--muted);
  font-size: 12px;
}
dialog {
  color: var(--ink);
  background: var(--card);
  max-width: min(560px, calc(100% - 26px));
  width: 100%;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid var(--line);
  padding: 22px;
}
dialog::backdrop {
  background: #000b;
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.icon-button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.icon-button:hover {
  background: var(--soft-gray);
}
dialog h2 {
  font-size: clamp(27px, 5.5vw, 37px);
}
#capture-stop {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}
.camera-panel,
.camera-actions,
.capture-review {
  display: grid;
  gap: 10px;
}
.camera-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  max-height: 48dvh;
  min-height: 148px;
  overflow: hidden;
  background: var(--map-dark);
  color: var(--card);
}
.camera-stage video,
.camera-message {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.camera-stage video {
  object-fit: cover;
}
.camera-message {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--map-dark);
  text-align: center;
}
.camera-message button:focus-visible {
  outline-color: var(--yellow);
}
.camera-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(82%, 460px);
  max-height: 65%;
  aspect-ratio: 2 / 1;
  color: var(--yellow);
  box-shadow: 0 0 0 100vmax #0004;
  pointer-events: none;
}
.camera-guide span {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  padding: 5px 8px;
  color: var(--yellow);
  background: var(--ink);
  font: 400 12px var(--mono);
}
.camera-guide i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: solid currentColor;
  filter: drop-shadow(0 1px 1px #000);
}
.camera-guide i:nth-of-type(1) {
  top: 0;
  left: 0;
  border-width: 3px 0 0 3px;
}
.camera-guide i:nth-of-type(2) {
  top: 0;
  right: 0;
  border-width: 3px 3px 0 0;
}
.camera-guide i:nth-of-type(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 3px 3px;
}
.camera-guide i:nth-of-type(4) {
  bottom: 0;
  right: 0;
  border-width: 0 3px 3px 0;
}
.camera-actions,
.capture-review {
  grid-template-columns: minmax(0, 1fr);
}
.camera-actions > *,
.capture-review > button {
  min-height: 48px;
}
.camera-actions .primary,
.camera-actions:has(#take-photo[hidden]) .photo-picker {
  background: var(--yellow);
  color: var(--ink);
}
.camera-actions .primary:hover,
.camera-actions:has(#take-photo[hidden]) .photo-picker:hover {
  background: var(--paper);
}
.capture-review img {
  display: block;
  width: 100%;
  max-height: min(37dvh, 330px);
  object-fit: contain;
  background: var(--map-dark);
}
.photo-picker {
  position: relative;
  cursor: pointer;
  text-align: center;
}
.photo-picker:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.photo-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.photo-picker input::file-selector-button {
  cursor: pointer;
}
.phone-picker-label {
  display: none;
}
@media (pointer: coarse) {
  .phone-picker-label {
    display: inline;
  }
  .desktop-picker-label {
    display: none;
  }
}
.hunter-field {
  display: grid;
  gap: 4px;
  font-weight: 500;
}
.hunter-field input {
  width: 100%;
  min-height: 46px;
  font-size: 16px;
  font-weight: 400;
}
.capture-location {
  justify-content: start;
  color: var(--muted);
  font-size: 12px;
}
.capture-location button {
  flex: none;
  margin-left: auto;
  min-height: 44px;
  padding: 5px 9px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
  font-weight: 500;
}
.field-note {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.field-error {
  color: #9d2c27;
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 6;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  background: var(--ink);
  color: var(--card);
  border: 1px solid var(--ink);
  padding: 10px 13px;
  text-align: center;
  font-weight: 500;
}
@media (max-width: 1080px) {
  .topbar-inner,
  .shell {
    width: calc(100% - 50px);
  }
  .hunt-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(305px, 1fr);
  }
  .map-frame {
    min-height: 470px;
  }
  .stop-detail {
    padding-inline: 17px;
  }
  .brand-primitive {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar-inner,
  .shell {
    width: calc(100% - 32px);
  }
  .topbar-inner {
    min-height: 62px;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
  }
  .brand img {
    width: 120px;
  }
  .nav {
    grid-area: 2/1/3/3;
    gap: 22px;
    height: 44px;
  }
  .nav a {
    font-size: 13px;
  }
  .log-link {
    grid-area: 1/2;
    font-size: 12px;
    min-height: 44px;
  }
  .intro {
    align-items: start;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
    margin: 11px 0 12px;
    padding: 12px 16px;
  }
  .city {
    margin-bottom: 7px;
  }
  h1 {
    font-size: clamp(34px, 8.4vw, 65px);
  }
  .intro-copy {
    margin-top: 7px;
    font-size: 14px;
  }
  .event-stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
  }
  .event-stats div {
    padding: 8px 10px;
    gap: 4px;
  }
  .event-stats dd {
    font-size: 25px;
  }
  .hunt-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .map-frame {
    min-height: clamp(250px, 36dvh, 350px);
  }
  .map-tools button {
    width: 44px;
    height: 44px;
  }
  .zoom-tools button {
    width: 42px;
  }
  .spotlight-art {
    order: 1;
    height: 125px;
    min-height: 0;
    border-top: 1px solid var(--ink);
    border-bottom: 0;
  }
  .spotlight-art.illustration {
    display: none;
  }
  .stop-detail {
    padding: 15px;
    gap: 9px;
  }
  .stop-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0;
    order: 1;
  }
  .stop-detail .clue {
    order: 2;
  }
  .spotlight-navigation {
    order: 3;
  }
  .stop-actions > *,
  .spotlight-navigation button {
    min-height: 48px;
  }
  #capture-dialog {
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: 100%;
    border: 0;
    padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  #capture-dialog[open],
  #capture-form,
  .camera-panel {
    display: flex;
    flex-direction: column;
  }
  #capture-form,
  .camera-panel,
  .camera-stage {
    flex: 1;
  }
  .camera-stage {
    aspect-ratio: auto;
    max-height: none;
  }
  .location-list {
    grid-template-columns: 1fr;
  }
  .locations {
    margin-top: 24px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .topbar-inner,
  .shell {
    width: calc(100% - 24px);
  }
  .event-stats div {
    padding-inline: 5px;
  }
  .event-stats dt {
    font-size: 9px;
    white-space: normal;
  }
  .map-heading {
    top: 10px;
    left: 10px;
  }
  .map-tools {
    top: 10px;
    right: 10px;
  }
  .map-legend {
    bottom: 15px;
    left: 7px;
  }
  .map-pin {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }
  .filter-wrap label,
  .row-arrow {
    display: none;
  }
  .score-table th,
  .score-table td {
    padding: 10px 7px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
  }
}
