@font-face {
  font-family: 'TAN Songbird';
  src: url('/fonts/TAN-Songbird/TAN-SONGBIRD.woff2') format('woff2');
  font-weight: 100 900;
  size-adjust: 50%;
  font-display: swap;
}

:root {
  --black: #0c0c0b;
  --surface: #141413;
  --surface-2: #1d1d1b;
  --cream: #f2efe4;
  --muted: #a7a69a;
  --line: #393b33;
  --line-strong: #777b6d;
  --panel-line: #59604f;
  --frame-width: 3px;
  --control-width: 2px;
  --focus-width: 2px;
  --control-height: 44px;
  --ui-gutter: 16px;
  --teal: #72b8a9;
  --display: 'TAN Songbird', Georgia, serif;
  color-scheme: dark;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cream);
  background: var(--black);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button { color: inherit; }
a { color: inherit; }
button, input, select { border-radius: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: var(--focus-width) solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; padding: 14px; background: var(--cream); color: var(--black); z-index: 10; }
.masthead { max-width: 1440px; margin: auto; padding: 28px 48px 24px; display: flex; align-items: center; gap: 36px; position: relative; }
.masthead::after { content: ''; position: absolute; bottom: 0; left: 48px; right: 48px; height: 3px; background: linear-gradient(to right, #7fbe89 25%, #7e9cc4 25% 50%, #d96a57 50% 75%, #d4ac4a 75%); }
.brand-title { flex: none; font: 32px/1.2 var(--display); text-transform: uppercase; text-decoration: none; color: transparent; -webkit-text-stroke: 1px var(--cream); }
.brand-period { color: var(--teal); -webkit-text-stroke: 0; }
.edition { display: grid; gap: 7px; font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.edition span:first-child { color: var(--cream); font-size: 10px; }
.program-link { margin-left: auto; font-size: 10px; text-decoration: none; border-bottom: 1px solid var(--line); padding: 8px 0; white-space: nowrap; }
.program-link span { color: var(--teal); font-size: 18px; margin-left: 10px; }
main { max-width: 1440px; margin: auto; padding: 0 48px; }
.intro { display: flex; align-items: center; gap: 42px; padding: 36px 0 32px; }
.eyebrow { font-size: 9px; font-weight: 500; letter-spacing: .14em; line-height: 1.6; margin: 0 0 14px; }
.intro .eyebrow { color: var(--teal); }
h1 { font: 38px/1.24 var(--display); margin: 0; letter-spacing: -.03em; }
h1 em { font-style: normal; color: #a8c7a3; }
.intro-copy { margin-left: auto; font-size: 12px; line-height: 1.9; }
.intro-copy p { margin: 0 0 10px; }
.intro-copy .muted { font-size: 10px; color: var(--muted); margin: 0; }
.admit-stamp { flex: none; width: 120px; padding: 12px 10px; border: 1px dashed #a3a792; text-align: center; transform: rotate(7deg); color: #bbc5ae; }
.admit-stamp span { display: block; font-size: 8px; letter-spacing: .1em; }
.admit-stamp strong { display: block; font-size: 17px; letter-spacing: .08em; line-height: 1.2; padding: 10px 0; }
.park-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; border: var(--frame-width) solid var(--panel-line); align-items: start; background: var(--surface); }
.park { min-width: 0; border-right: var(--control-width) solid var(--panel-line); }
.section-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px var(--ui-gutter); background: #1a1c17; }
.section-bar h2 { font-size: 10px; font-weight: 500; letter-spacing: .05em; margin: 0; }
.live-dot, .location-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.text-button { min-height: var(--control-height); border: 0; padding: 8px 0; background: transparent; font-size: 10px; color: var(--muted); }
.text-button:hover:not(:disabled), .find-speaker:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.track-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track-build { --track: #7fbe89; }
.track-lead { --track: #7e9cc4; }
.track-secure { --track: #d96a57; }
.track-ship { --track: #d4ac4a; }
.track-nav button { min-width: 0; display: grid; gap: 5px; background: transparent; border: 0; border-top: 3px solid var(--track); border-right: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.track-nav button:last-child { border-right: 0; }
.track-nav button:hover:not(:disabled) { background: var(--surface-2); }
.track-nav button[aria-current="location"] { background: color-mix(in srgb, var(--track) 12%, transparent); box-shadow: inset 0 -3px 0 var(--track); }
.track-nav button:focus-visible, .guide-tabs button:focus-visible { outline-offset: -5px; }
.track-number { font-size: 8px; color: var(--muted); letter-spacing: .08em; }
.track-nav strong { font-size: 17px; letter-spacing: .04em; color: var(--track); display: flex; justify-content: space-between; }
.track-nav strong span { font-weight: 400; }
.track-count { font-size: 8px; color: var(--muted); }
.stage { position: relative; height: 550px; overflow: hidden; background: #17211b; isolation: isolate; }
#game { display: block; width: 100%; height: 100%; touch-action: none; }
#game:focus-visible { outline-offset: -4px; }
.location { position: absolute; top: 16px; left: 16px; background: #0c120eef; border: var(--control-width) solid var(--panel-line); padding: 10px 12px; font-size: 9px; letter-spacing: .1em; pointer-events: none; }
.location-dot { margin-right: 6px; background: #f2efe4; width: 5px; height: 5px; }
.mini-map { position: absolute; right: 16px; top: 16px; width: 148px; padding: 10px; background: #0d140fed; border: var(--control-width) solid var(--panel-line); pointer-events: none; }
.mini-map .eyebrow { font-size: 7px; margin-bottom: 5px; display: block; }
#minimap { display: block; width: 100%; height: 150px; }
.map-caption { display: block; font-size: 6px; color: #b2bba5; letter-spacing: .07em; margin-top: 5px; }
.you-dot { display: inline-block; height: 4px; width: 4px; background: var(--cream); margin: 0 3px 1px; }
.loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; background: #17211b; gap: 8px; padding: 24px; text-align: center; }
.loading strong { font: 24px var(--display); }
.loading button { min-height: var(--control-height); padding: 10px 16px; margin-top: 16px; border: var(--control-width) solid var(--line-strong); background: var(--black); }
.encounter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 28px); min-height: var(--control-height); padding: 12px 16px; background: var(--cream); border: var(--frame-width) solid #0c0c0b; color: #141815; font-size: 12px; text-align: left; }
.encounter:hover { background: #dfebd7; }
.encounter > span:last-child { margin-left: auto; font-size: 20px; }
.encounter kbd { color: var(--cream); background: #141815; border: 0; padding: 7px 10px; }
kbd { display: inline-block; border: 1px solid #606355; border-bottom-width: 2px; padding: 3px 5px; font: 9px/1 monospace; }
.park-controls { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); }
.park-controls p { margin: 0; font-size: 8px; color: var(--muted); line-height: 2; }
.control-divider { padding: 0 5px; color: #666f60; }
.park-note { color: var(--muted); font-size: 8px; }
.touch-controls { display: none; }
.d-pad button { min-height: var(--control-height); min-width: var(--control-height); background: var(--surface-2); border: var(--control-width) solid var(--line-strong); font-size: 23px; touch-action: none; user-select: none; -webkit-user-select: none; }
.d-pad button:active { background: #536342; border-color: var(--cream); }
#touch-meet { min-height: var(--control-height); padding: 10px 12px; background: #a6c09a; color: #141815; border: var(--control-width) solid #a6c09a; font-size: 11px; touch-action: manipulation; }
#touch-meet:hover:not(:disabled) { background: #c0d5b5; border-color: #c0d5b5; }
.passport { border-top: 1px solid var(--line); padding: 24px 22px 16px; display: grid; grid-template-columns: 1fr auto; gap: 20px; background: #191c16; }
.passport-heading .eyebrow { color: #c1c7af; font-size: 7px; margin-bottom: 9px; }
.passport h2 { font: 21px/1.4 var(--display); margin: 0; }
.passport-heading > p:last-child { color: var(--muted); font-size: 9px; line-height: 1.7; margin: 8px 0 0; max-width: 250px; }
.passport-stamps { display: grid; grid-template-columns: repeat(4, 62px); align-items: center; gap: 8px; }
.stamp { border: 1px dashed #676a5b; text-align: center; color: #7f8176; padding: 8px 2px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.stamp > span { font-size: 8px; }
.stamp strong { font-size: 10px; }
.stamp small { font-size: 6px; }
.stamp.visited { border: 2px solid var(--track); color: var(--track); transform: rotate(-5deg); }
.stamp.visited:nth-child(even) { transform: rotate(5deg); }
.passport-stats { grid-column: 1 / -1; display: flex; gap: 24px; border-top: 1px dashed var(--line); padding-top: 14px; color: var(--muted); font-size: 9px; }
.passport-stats strong { color: var(--cream); font-weight: 500; }
.field-guide { min-width: 0; }
.guide-title { padding: 22px var(--ui-gutter) 20px; }
.guide-title .eyebrow { color: var(--muted); font-size: 8px; margin-bottom: 12px; }
.guide-title h2 { font: 28px/1.3 var(--display); letter-spacing: -.04em; margin: 0; }
.guide-title h2 span { color: var(--teal); }
.guide-title > p:last-child { color: var(--muted); font-size: 9px; margin: 10px 0 0; }
.guide-tabs { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.guide-tabs button { min-height: var(--control-height); background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 12px 8px; font-size: 10px; color: var(--muted); }
.guide-tabs button:hover:not([aria-pressed="true"]) { background: var(--surface-2); color: var(--cream); }
.guide-tabs button[aria-pressed="true"] { border-bottom-color: var(--teal); background: #20231c; color: var(--cream); }
#saved-count { padding: 2px 5px; margin-left: 4px; background: #343b2e; color: var(--cream); font-size: 8px; }
.guide-filters { padding: 18px var(--ui-gutter) 0; }
.search-label { display: block; font-size: 9px; margin-bottom: 8px; }
.search-wrap { display: flex; align-items: center; min-height: var(--control-height); border: var(--control-width) solid var(--line-strong); background: var(--black); }
.search-wrap > span { font-size: 22px; padding: 0 8px 0 12px; color: var(--muted); }
.search-wrap input { min-width: 0; width: 100%; min-height: 40px; padding: 10px 4px 10px 0; background: transparent; border: 0; font-size: 11px; color: var(--cream); }
.search-wrap input:focus-visible, #clear-search:focus-visible { outline-offset: -3px; }
.search-wrap input::placeholder { color: #94988a; }
.search-wrap input::-webkit-search-cancel-button { display: none; }
#clear-search { flex: none; background: transparent; border: 0; font-size: 20px; min-width: var(--control-height); min-height: var(--control-height); }
#clear-search:hover { background: var(--surface-2); }
#track-filter { margin-top: 12px; width: 100%; min-height: var(--control-height); background: var(--black); color: var(--cream); border: var(--control-width) solid var(--line-strong); padding: 10px; font-size: 11px; }
#track-filter:hover { border-color: var(--cream); }
.results-summary { display: flex; justify-content: space-between; gap: 6px; align-items: center; min-height: 48px; font-size: 8px; color: var(--muted); }
#export-lineup { font-size: 8px; color: var(--teal); }
.speaker-list { height: 456px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #59664c transparent; padding: 0 var(--ui-gutter); }
.speaker-card { padding: 16px 0; border-top: 1px solid var(--line); }
.speaker-card:first-child { padding-top: 13px; }
.speaker-card-top { display: flex; gap: 12px; align-items: center; }
.list-portrait { width: 48px; height: 54px; flex: none; object-fit: cover; object-position: center 25%; border: var(--control-width) solid var(--track); background: #292d22; }
.portrait-initials { display: grid; place-items: center; font: 20px Georgia, serif; color: var(--track); }
.speaker-card-copy { min-width: 0; flex: 1; }
.speaker-name { text-align: left; padding: 0; background: transparent; border: 0; font-family: Arial, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.3; }
.speaker-name:hover { color: var(--track); }
.speaker-company { font-size: 9px; color: var(--muted); margin: 5px 0 0; overflow-wrap: anywhere; }
.speaker-tag { display: inline-block; font-size: 7px; letter-spacing: .09em; color: var(--track); margin-top: 7px; }
.speaker-talk { font: 12px/1.55 Arial, sans-serif; color: #d4d7c7; margin: 12px 0 10px; }
.speaker-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.find-speaker { min-height: var(--control-height); background: transparent; border: 0; padding: 8px 0; font-size: 10px; color: var(--teal); }
.save-speaker { min-height: var(--control-height); background: var(--black); border: var(--control-width) solid var(--line-strong); padding: 8px 12px; font-size: 10px; }
.save-speaker:hover:not([aria-pressed="true"]), .loading button:hover { background: var(--surface-2); border-color: var(--cream); }
.save-speaker[aria-pressed="true"] { background: #293426; color: #c5dfb7; border-color: #607352; }
.save-speaker[aria-pressed="true"]:hover { border-color: #c5dfb7; }
.list-empty { font-size: 12px; line-height: 1.8; text-align: center; color: var(--muted); padding: 42px 16px; }
.list-empty strong { display: block; font: 23px/1.4 var(--display); color: var(--cream); margin-bottom: 10px; }
.guide-footnote { font-size: 8px; line-height: 1.8; color: var(--muted); margin: 0; padding: 16px var(--ui-gutter); border-top: 1px solid var(--line); }
.announcement { min-height: 16px; margin: 12px 0 0; font-size: 10px; color: var(--teal); }
.site-footer { max-width: 1440px; padding: 24px 48px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 8px; line-height: 1.8; }
.site-footer > span:first-child { max-width: 180px; letter-spacing: .08em; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--cream); text-underline-offset: 3px; }
.footer-brand { font: 16px var(--display); color: var(--cream); }

@media (max-width: 1200px) {
  .masthead { padding-inline: 28px; gap: 24px; }
  .masthead::after { left: 28px; right: 28px; }
  main { padding-inline: 28px; }
  .park-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .intro { gap: 28px; }
  h1 { font-size: 32px; }
  .admit-stamp { width: 100px; }
  .admit-stamp strong { font-size: 14px; }
  .track-nav button { padding: 12px 10px; }
  .park-note { display: none; }
  .passport { grid-template-columns: 1fr; gap: 16px; }
  .passport-heading > p:last-child { max-width: none; }
  .passport-stamps { grid-template-columns: repeat(4, minmax(0, 70px)); gap: 14px; }
  .speaker-list { height: 560px; }
  .site-footer { padding-inline: 28px; }
}
@media (max-width: 960px) {
  .edition span:last-child { display: none; }
  .admit-stamp { display: none; }
  .park-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .track-count { display: none; }
  .track-nav strong { font-size: 14px; }
  .track-number { font-size: 6px; }
  .stage { height: 530px; }
  .mini-map { width: 112px; padding: 8px; }
  #minimap { height: 110px; }
  .map-caption { font-size: 5px; }
  .location { max-width: calc(100% - 148px); font-size: 8px; line-height: 1.5; }
  .passport h2 { font-size: 19px; }
  .speaker-list { height: 523px; }
  .control-divider { padding: 0 2px; }
  .footer-brand { display: none; }
}
@media (max-width: 760px) {
  .masthead { padding: 21px 18px; justify-content: space-between; gap: 16px; }
  .masthead::after { left: 18px; right: 18px; }
  .brand-title { font-size: 26px; }
  .edition { text-align: right; }
  .edition span:first-child { font-size: 8px; max-width: 130px; line-height: 1.7; }
  .program-link { display: none; }
  main { padding-inline: 18px; }
  .intro { padding: 28px 0; gap: 24px; }
  h1 { font-size: 29px; }
  .intro .eyebrow { font-size: 7px; margin-bottom: 12px; }
  .intro-copy { font-size: 10px; }
  .intro-copy .muted { display: none; }
  .park-layout { grid-template-columns: minmax(0, 1fr); }
  .park { border-right: 0; }
  .section-bar { padding: 8px 12px; }
  .section-bar h2 { font-size: 8px; }
  .section-bar .text-button { font-size: 9px; }
  .track-nav button { padding: 12px 10px; }
  .track-number { font-size: 7px; }
  .track-nav strong { font-size: 16px; }
  .stage { height: 460px; }
  .location { top: 12px; left: 12px; }
  .mini-map { top: 12px; right: 12px; }
  .park-controls { flex-direction: column; padding: 12px; gap: 12px; }
  .park-controls > p { text-align: center; }
  .touch-controls { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .d-pad { display: grid; grid-template-columns: repeat(3, var(--control-height)); grid-template-rows: repeat(2, var(--control-height)); gap: 4px; }
  .d-pad button:first-child { grid-column: 2; }
  .d-pad button:nth-child(2) { grid-column: 1; }
  .passport { padding: 22px 18px 16px; }
  .passport-stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 360px; }
  .stamp { max-height: 78px; }
  .stamp strong { font-size: 12px; }
  .field-guide { --ui-gutter: 20px; border-top: var(--control-width) solid var(--panel-line); }
  .guide-title { padding-block: 24px; }
  .search-wrap input { font-size: 16px; padding-block: 14px; }
  #track-filter { font-size: 14px; padding: 12px; }
  .guide-tabs button { font-size: 12px; min-height: 48px; }
  .speaker-list { height: 480px; }
  .speaker-name { font-size: 16px; min-height: 28px; }
  .speaker-talk { font-size: 14px; }
  .find-speaker, .save-speaker { min-height: 44px; font-size: 11px; }
  .speaker-tag, .speaker-company { font-size: 10px; }
  .list-portrait { width: 56px; height: 62px; }
  .guide-footnote { font-size: 9px; }
  .site-footer { padding: 14px 18px 28px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer > span:first-child { max-width: none; }
}
@media (max-width: 440px) {
  .intro { display: block; }
  .intro-copy { margin-top: 16px; }
  .intro-copy p { margin: 0; font-size: 10px; }
  .intro-copy br { display: none; }
  .stage { height: 400px; }
  .track-nav button { padding: 10px 7px; }
  .track-nav strong { font-size: 13px; }
  .track-number { font-size: 6px; letter-spacing: 0; }
  .passport-stamps { gap: 10px; }
  .passport-stats { font-size: 8px; gap: 16px; }
  .encounter { font-size: 10px; padding: 10px; gap: 8px; }
}
@media (pointer: coarse) and (min-width: 761px) {
  .touch-controls { display: flex; gap: 12px; }
  .park-controls { flex-wrap: wrap; }
  .d-pad { display: flex; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* Immersive park: the scene is the page, with small independent field tools. */
html, body { width: 100%; height: 100%; overflow: hidden; }
body { background: #a3b6a3; }
main { max-width: none; padding: 0; }
.stage { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; z-index: 0; background: #a3b6a3; }
.park-layout { display: block; border: 0; background: none; }
.park { border: 0; }
.masthead { position: fixed; inset: 16px 24px auto; z-index: 5; max-width: none; padding: 14px 18px; gap: 24px; background: #13231ef2; border: 1px solid #83977b; box-shadow: 0 6px 24px #14291e20; }
.masthead::after { left: 0; right: 0; bottom: -3px; }
.brand-title { font-size: 28px; }
.edition { gap: 4px; }
.world-actions { display: flex; gap: 6px; margin-left: auto; }
.world-actions button, #directory-close { min-height: 44px; padding: 8px 12px; border: 1px solid #7b8a6f; background: #20392c; font-size: 10px; }
.world-actions button:hover, #directory-close:hover { background: #35513d; }
.world-actions button[aria-expanded="true"] { background: #d5dec5; color: #17291f; }
.program-link { margin-left: 0; }
.intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.section-bar { position: fixed; top: 104px; left: 24px; z-index: 3; padding: 0 12px; gap: 22px; background: #14271fe8; border: 1px solid #7d8e70; }
.section-bar h2 { font-size: 9px; }
.section-bar .text-button { color: #e0e4cf; }
.track-nav { position: fixed; left: 24px; top: 162px; width: 410px; z-index: 3; border: 1px solid #7d8e70; background: #14271ff2; }
.track-nav button { padding: 10px; min-height: 66px; }
.track-nav strong { font-size: 14px; }
.track-number { font-size: 6px; }
.track-count { display: none; }
.district-nav { position: fixed; left: 24px; top: 237px; width: 410px; display: flex; z-index: 3; border: 1px solid #7d8e70; background: #14271ff2; }
.district-nav button { flex: 1; min-height: 44px; padding: 8px; border: 0; background: transparent; color: #e2dbc1; font-size: 9px; }
.district-nav button + button { border-left: 1px solid #7d8e70; }
.district-nav button:hover, .district-nav [aria-current="location"] { background: #d5dec5; color: #17291f; }
.location { top: 292px; left: 24px; max-width: none; background: #14271fe8; }
.location:has(#world-view) { padding-block: 0; padding-right: 0; }
#world-view, #evening { min-height: 44px; padding: 8px 12px; margin-left: 8px; border: 0; border-left: 1px solid #83977b; background: #20392c; color: #f2efe4; font: inherit; cursor: pointer; pointer-events: auto; }
#evening { margin-left: 0; }
#world-view:hover, #world-view[aria-pressed="true"], #evening:hover, #evening[aria-pressed="true"] { background: #d5dec5; color: #17291f; }
.mini-map { top: auto; bottom: 92px; right: auto; left: 24px; width: 136px; background: #14271fe8; }
#minimap { height: 132px; }
.mini-map .eyebrow { margin-bottom: 5px; }
.map-caption { font-size: 6px; }
.park-controls { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; padding: 10px 24px; min-height: 65px; background: #13231ef2; border-top: 1px solid #83977b; }
.park-controls > p { font-size: 9px; }
.park-note { display: block; color: #c6d1b9; }
.field-guide { position: fixed; z-index: 6; right: 24px; top: 104px; bottom: 88px; width: 340px; display: flex; flex-direction: column; background: #13231ff7; border: 1px solid #83977b; box-shadow: 0 12px 32px #13231f33; --ui-gutter: 18px; }
.guide-title { padding: 18px var(--ui-gutter) 14px; }
.guide-title .eyebrow { font-size: 7px; margin-bottom: 9px; }
.guide-title h2 { font-size: 25px; }
.guide-title > p:last-child { margin-top: 8px; }
#directory-close { float: right; padding: 6px 9px; font-size: 9px; }
.guide-tabs, .guide-title, .guide-filters, .guide-footnote { flex-shrink: 0; }
.guide-filters { padding-top: 12px; }
.speaker-list { height: auto; min-height: 0; flex: 1; }
.speaker-card { padding: 14px 0; }
.speaker-talk { margin-top: 9px; }
.guide-footnote { padding-block: 10px; font-size: 8px; }
.passport { position: fixed; z-index: 7; left: 24px; bottom: 88px; width: min(480px, calc(100vw - 48px)); border: 1px solid #83977b; background: #13231ff7; padding: 22px; grid-template-columns: 1fr; gap: 16px; box-shadow: 0 12px 32px #13231f33; }
.passport-stamps { grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: none; }
.stamp { max-height: 80px; }
.passport-stats { padding-top: 12px; }
.encounter { bottom: 93px; z-index: 2; box-shadow: 0 8px 24px #19332633; }
.announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-footer { position: fixed; bottom: 12px; right: 24px; z-index: 5; margin: 0; padding: 0; font-size: 7px; text-align: right; max-width: 330px; pointer-events: none; }
.site-footer p { line-height: 1.6; }
.site-footer a { pointer-events: auto; }
.site-footer > span { display: none; }
.park-note { display: none; }
.touch-actions { display: grid; gap: 6px; }
#touch-jump { min-height: 44px; padding: 8px 12px; background: #dec493; color: #17291f; border: 1px solid #ead6b3; font-size: 11px; touch-action: manipulation; }
#touch-jump:hover:not(:disabled) { background: #f2dfb6; }
.loading { background: #223f31f2; color: #f2efe4; }
.loading p { font-size: 12px; line-height: 1.8; max-width: 480px; }
.directory-mode .loading { align-items: flex-start; text-align: left; padding: 100px 390px 70px 40px; }
.directory-mode .mini-map, .directory-mode .location, .directory-mode .touch-controls { display: none; }
.no-script { position: fixed; z-index: 20; inset: 30% 10% auto; padding: 30px; background: #13231f; }
.viewport-fullscreen body { position: fixed; inset: 0; }

@media (max-width: 1000px) {
  .edition { display: none; }
  .program-link { display: none; }
  .field-guide { width: 310px; }
  .track-nav, .district-nav { width: 340px; }
  .directory-mode .loading { padding-right: 350px; }
}
@media (max-width: 760px) {
  .masthead { inset: max(10px, env(safe-area-inset-top)) 12px auto; padding: 8px 10px; gap: 10px; }
  .brand-title { font-size: 21px; }
  .world-actions { gap: 4px; }
  .world-actions button { font-size: 9px; padding: 6px 8px; }
  .section-bar { left: 12px; top: 83px; padding: 0 10px; gap: 12px; }
  .section-bar h2 { font-size: 7px; }
  .section-bar .text-button { font-size: 8px; }
  .track-nav { left: 12px; top: 139px; width: min(340px, calc(100vw - 24px)); }
  .track-nav button { padding: 8px; min-height: 55px; }
  .track-nav strong { font-size: 13px; }
  .track-number { font-size: 6px; }
  .district-nav { left: 12px; top: 201px; width: min(340px, calc(100vw - 24px)); }
  .district-nav button { font-size: 8px; }
  .location { top: 254px; left: 12px; padding: 8px 10px; font-size: 7px; }
  .mini-map { left: auto; right: 12px; bottom: 164px; width: 94px; padding: 7px; }
  #minimap { height: 88px; }
  .mini-map .eyebrow { font-size: 6px; }
  .map-caption { font-size: 4px; }
  .park-controls { padding: 10px 12px max(12px, env(safe-area-inset-bottom)); border: 0; background: linear-gradient(transparent, #14271fc9); display: block; pointer-events: none; }
  .park-controls > p { display: none; }
  .touch-controls { display: flex; align-items: flex-end; pointer-events: auto; width: 100%; }
  .d-pad { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px); gap: 4px; }
  .d-pad button { background: #14271fe8; border: 1px solid #b4bfa5; }
  .encounter { bottom: 134px; left: 12px; transform: none; font-size: 10px; max-width: calc(100vw - 125px); padding: 9px; }
  .encounter kbd { display: none; }
  .encounter > span:last-child { font-size: 16px; }
  .field-guide { inset: 83px 12px max(12px, env(safe-area-inset-bottom)); width: auto; }
  .guide-title { padding-block: 12px; }
  .guide-title .eyebrow, .guide-title > p:last-child { display: none; }
  .guide-title h2 { font-size: 23px; padding-top: 8px; }
  .guide-tabs button { min-height: 44px; font-size: 11px; }
  .search-wrap input { font-size: 16px; padding-block: 8px; }
  #track-filter { min-height: 44px; font-size: 14px; padding: 8px; margin-top: 8px; }
  .results-summary { min-height: 36px; }
  .guide-footnote { font-size: 8px; }
  .passport { left: 12px; bottom: 130px; width: calc(100vw - 24px); padding: 18px; }
  .site-footer { display: none; }
  .directory-mode .loading { padding: 250px 24px 140px; align-items: center; text-align: center; justify-content: flex-start; }
  .directory-mode .loading strong { font-size: 20px; }
  .directory-mode .loading p { font-size: 11px; }
}
@media (pointer: coarse) and (min-width: 761px) {
  .park-controls { padding-right: 24px; }
  .park-controls > p, .site-footer { display: none; }
  .touch-controls { display: flex; width: 100%; justify-content: space-between; }
  .mini-map { bottom: 106px; }
  .field-guide { bottom: 106px; }
}
@media (max-height: 600px) and (min-width: 761px) {
  .guide-title .eyebrow, .guide-title > p:last-child, .guide-footnote { display: none; }
  .guide-title { padding-block: 10px; }
  .mini-map { width: 100px; }
  #minimap { height: 90px; }
}
@media (max-height: 600px) {
  .masthead { top: 12px; padding-block: 8px; }
  .section-bar { top: 86px; }
  .track-nav { top: 140px; }
  .district-nav { top: 202px; }
  .location { top: 254px; }
  .mini-map { left: auto; right: 24px; bottom: 83px; }
  .field-guide { top: 12px; right: 12px; bottom: 12px; left: auto; width: min(380px, calc(100vw - 24px)); z-index: 8; }
  .guide-title { min-height: 64px; padding: 10px var(--ui-gutter); }
  .guide-title .eyebrow, .guide-title > p:last-child, .guide-footnote { display: none; }
  .guide-title h2 { font-size: 23px; padding-top: 7px; }
  .guide-filters { display: grid; grid-template-columns: 1fr 110px; gap: 0 8px; }
  .guide-filters .search-label { display: none; }
  .search-wrap input { font-size: 12px; }
  #track-filter { margin: 0; font-size: 10px; padding: 8px; }
  .results-summary { grid-column: 1 / -1; min-height: 36px; }
  .passport { bottom: 74px; max-height: calc(100dvh - 170px); overflow: auto; }
}
.directory-mode .guide-title > p:last-child { display: block; color: #c8dabb; line-height: 1.6; }
@media (max-height: 600px) and (min-width: 761px) {
  .section-bar { left: 12px; top: 86px; padding-inline: 10px; }
  .section-bar h2 { display: none; }
  .track-nav { left: 132px; top: 86px; width: 300px; }
  .district-nav { left: 440px; top: 86px; width: min(340px, calc(100vw - 452px)); }
  .district-nav button { min-height: 55px; }
  .location { top: 150px; left: 12px; font-size: 7px; }
  .mini-map { right: 12px; width: 88px; }
  #minimap { height: 80px; }
}
.speech-bubble { bottom: auto; transform: none; width: max-content; max-width: min(240px, calc(100vw - 24px)); min-height: 52px; padding: 9px 13px; display: grid; gap: 4px; border: 2px solid #17291f; border-radius: 13px; font-size: 11px; line-height: 1.3; touch-action: manipulation; }
.speech-bubble::after { content: ''; position: absolute; left: var(--tail-x, 50%); bottom: -7px; width: 10px; height: 10px; background: var(--cream); border-right: 2px solid #17291f; border-bottom: 2px solid #17291f; transform: rotate(45deg); }
.speech-bubble.bubble-below::after { top: -7px; bottom: auto; transform: rotate(225deg); }
.speech-bubble:hover::after { background: #dfebd7; }
.speech-bubble .bubble-invitation { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 12px; }
.speech-bubble kbd { display: inline-block; padding: 3px 5px; margin-left: auto; }
.speech-bubble #prompt-copy { margin: 0; font-size: 10px; overflow-wrap: anywhere; }
.speech-bubble .bubble-hint { font-size: 9px; color: #354b3b; }
@media (max-width: 380px) {
  .masthead { flex-wrap: wrap; gap: 6px; }
  .brand-title { font-size: 22px; }
  .world-actions { width: 100%; margin-left: 0; }
  .world-actions button { flex: 1; }
  .section-bar { top: 116px; }
  .track-nav { top: 172px; }
  .district-nav { top: 234px; }
  .location { top: 287px; }
  .field-guide { top: 116px; }
}
