:root {
  color-scheme: light;
  --ink: #16382f;
  --ink-soft: #52665c;
  --paper: #fcf7eb;
  --paper-solid: #fffdf7;
  --yellow: #f6c75d;
  --yellow-hover: #ffda7f;
  --line: #16382f20;
  --glass: #fffdf6ec;
  --shadow: 0 16px 48px #213e3820, 0 2px 6px #213e3808;
  --small-shadow: 0 5px 16px #213e3818;
  --sans: 'Inter', 'Aptos', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { font: 14px/1.5 var(--sans); color: var(--ink); background: #b7d4cb; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-underline-offset: .22em; }
button:focus-visible, a:focus-visible, canvas:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #bd6d38; outline-offset: 4px; }
button, a { touch-action: manipulation; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button svg { pointer-events: none; }
p, h1, h2, h3 { margin: 0; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; padding: 0 5px; border: 1px solid #16382f24; border-bottom-width: 2px; border-radius: 5px; background: #ffffff80; font: 600 11px/1 var(--sans); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 200; padding: 12px 20px; border-radius: 8px; background: var(--paper); }
.skip-link:focus { top: 12px; }
#world-stage { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; isolation: isolate; }
#world-canvas { display: block; width: 100%; height: 100%; touch-action: none; outline: 0; cursor: grab; }
#world-canvas:active { cursor: grabbing; }
.world-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#fff9ed26,transparent 20%,transparent 78%,#16382f0d); z-index: 1; }
#pin-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
#pin-layer button { position: absolute; top: 0; left: 0; pointer-events: auto; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 7px 11px; border: 1px solid #fffdf7d9; background: #fcf7ebee; border-radius: 11px; color: var(--ink); box-shadow: 0 3px 8px #1e43372b; font-size: 11px; font-weight: 700; transition: background .18s, box-shadow .18s, opacity .18s; }
#pin-layer button::after { content: ''; position: absolute; left: calc(50% - 4px); bottom: -4px; width: 7px; height: 7px; border-radius: 0 0 2px; background: inherit; transform: rotate(45deg); }
#pin-layer button:hover, #pin-layer button:focus-visible { background: var(--yellow); box-shadow: 0 5px 18px #1e43373a; z-index: 20 !important; }
#pin-layer button.active, #pin-layer button.is-active, #pin-layer button[aria-current='true'] { background: var(--yellow); border-color: #ffe6ac; }
#pin-layer button.visited, #pin-layer button.is-visited { border-color: #61847299; }
#pin-layer button .pin-year, #pin-layer button small { font-size: 10px; opacity: .7; font-weight: 650; }
#pin-layer button .pin-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
#pin-layer button svg { width: 13px; height: 13px; }
.site-header { position: fixed; z-index: 30; top: max(22px, env(safe-area-inset-top)); left: 30px; right: 30px; display: flex; align-items: center; justify-content: space-between; gap: 28px; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.wordmark { padding: 2px 0 6px; font-size: 30px; font-weight: 900; letter-spacing: -1.7px; line-height: 1; text-shadow: 0 1px #fff7e84d; white-space: nowrap; }
.wordmark span { color: #bb7d38; }
.route-lockup { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 14px; color: #244e42; font-size: 9px; font-weight: 750; letter-spacing: 1.5px; text-shadow: 0 1px #fff8ec66; }
.route-dot { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.route-line { position: relative; height: 1px; width: 34px; background: #244e4270; }
.route-line::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.header-nav { display: flex; align-items: center; gap: 3px; background: #fcf7ebed; border: 1px solid #fff7e8b3; border-radius: 14px; box-shadow: var(--small-shadow); padding: 5px; backdrop-filter: blur(14px); }
.header-nav button { height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font-size: 12px; font-weight: 650; transition: background .16s, color .16s; }
.header-nav button:hover, .header-nav button[aria-expanded='true'] { background: #16382f0c; }
.header-nav button svg { width: 16px; height: 16px; }
.header-nav .icon-button { width: 36px; padding: 0; border-left: 1px solid var(--line); border-radius: 0 9px 9px 0; }
.nav-arrow { font-size: 15px; font-weight: 400; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; transition: background .16s, transform .16s; }
.icon-button:hover { background: #16382f0d; }
.icon-button:active { transform: scale(.95); }
.location-hud { position: fixed; top: 92px; left: 31px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; color: #244e42; font-size: 11px; font-weight: 650; letter-spacing: .1px; text-shadow: 0 1px #fff7e870; }
.location-marker { display: flex; }
.location-marker svg { width: 15px; height: 15px; stroke-width: 1.8; }
.hud-divider { width: 1px; height: 10px; background: #244e4240; margin: 0 1px; }
#year-label { font-variant-numeric: tabular-nums; font-weight: 800; }
.journey-progress { position: fixed; z-index: 20; top: 91px; right: 34px; display: none; align-items: center; gap: 15px; font-size: 10px; color: #244e42; }
.is-playing .journey-progress { display: flex; }
.progress-item { display: flex; align-items: center; gap: 5px; }
.progress-item svg { width: 13px; height: 13px; }
.progress-item strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.progress-item > span:not(.sparks > span) { opacity: .8; }
.sparks { padding-left: 13px; border-left: 1px solid #244e422d; }
.sparks > span { color: #a37128; font-size: 17px; }
.intro-card { position: fixed; left: 30px; bottom: 86px; z-index: 22; width: 374px; padding: 26px 27px 20px; border-radius: 24px; border: 1px solid #fffdf7ec; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(18px); animation: card-arrive .7s cubic-bezier(.16,1,.3,1) both; }
.intro-kicker { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; color: #67806c; font-size: 8px; font-weight: 800; letter-spacing: 1.6px; white-space: nowrap; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #73926c; box-shadow: 0 0 0 3px #73926c13; }
.intro-card h1 { font-size: clamp(45px,4.6vw,61px); line-height: .99; letter-spacing: -2.7px; font-weight: 800; margin-bottom: 20px; }
.intro-card h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -2.4px; color: #53735a; }
.intro-card > p { font-size: 13px; line-height: 1.7; max-width: 290px; color: var(--ink-soft); margin-bottom: 24px; }
.intro-actions { display: grid; grid-template-columns: 1.12fr 1fr; gap: 8px; }
.button { min-height: 43px; padding: 11px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; border: 1px solid transparent; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--yellow); color: #263b2e; border-color: #d3a44520; box-shadow: 0 2px 1px #b8842414; }
.button-primary:hover { background: var(--yellow-hover); box-shadow: 0 5px 12px #b8842420; }
.button-primary > span { margin-left: auto; font-size: 19px; font-weight: 400; line-height: 1; }
.button-secondary { background: #f2eee1; border-color: #e6e2d6; color: #385649; }
.button-secondary:hover { background: #e9e7d8; }
.button-secondary svg { width: 13px; height: 13px; fill: currentColor; stroke-width: 0; }
.button-text { padding-left: 0; padding-right: 0; background: none; min-height: 36px; color: #476652; }
.button-text:hover { color: #173d2d; }
.intro-footer { margin-top: 22px; padding-top: 15px; border-top: 1px solid #16382f10; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: #7d8878; }
.intro-footer button { padding: 4px 0; color: #466450; font-size: 10px; font-weight: 600; }
.intro-footer button:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-playing #intro { display: none; }
.chapter-card { position: fixed; z-index: 22; left: 30px; bottom: 86px; width: 355px; border: 1px solid #fffdf7e6; border-radius: 21px; padding: 20px 22px 17px; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(18px); animation: card-arrive .35s ease both; }
.chapter-topline { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 1.6px; color: #7b8a73; text-transform: uppercase; line-height: 1.55; }
.chapter-topline .icon-button { width: 27px; height: 27px; margin: -5px -7px -5px 0; }
.chapter-topline svg { width: 15px; height: 15px; }
.chapter-card h2 { font-size: 26px; line-height: 1.1; letter-spacing: -.9px; font-weight: 800; max-width: 290px; margin-bottom: 11px; }
.chapter-card > p { color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.chapter-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; border-top: 1px solid #16382f10; padding-top: 12px; }
.chapter-actions .button { font-size: 11px; min-height: 38px; }
.chapter-actions .button-primary { min-width: 119px; }
.nearby-prompt { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 25; display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: 340px; padding: 12px 16px 12px 12px; border-radius: 16px; border: 1px solid #fff7d4; box-shadow: 0 8px 26px #183b3330; background: #fcf7ebf5; text-align: left; animation: prompt-arrive .25s ease both; }
.nearby-prompt > kbd { width: 37px; height: 39px; background: var(--yellow); border: 0; border-bottom: 3px solid #d9ac48; border-radius: 9px; font-size: 17px; }
.nearby-prompt > span:not(.nearby-arrow) { display: flex; flex-direction: column; gap: 2px; }
.nearby-prompt small { font-size: 8px; letter-spacing: 1.2px; font-weight: 700; color: #7a876e; }
.nearby-prompt strong { font-size: 12px; line-height: 1.3; }
.nearby-arrow { margin-left: auto; font-size: 20px; color: #7c8a71; }
.nearby-prompt:hover { background: #fffdf5; }
.tour-status { position: fixed; top: 83px; left: 50%; transform: translateX(-50%); z-index: 24; display: flex; align-items: center; gap: 9px; padding: 6px 7px 6px 13px; border-radius: 30px; color: var(--paper); background: #16382fef; box-shadow: var(--small-shadow); font-size: 11px; }
.tour-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); animation: breathe 2s ease infinite; }
.tour-status button { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; margin-left: 7px; border-radius: 50%; background: #ffffff14; }
.tour-status button:hover { background: #ffffff2c; }
.tour-status svg { width: 13px; height: 13px; stroke-width: 2.5; }
.flight-banner { position: fixed; z-index: 21; top: 138px; left: 50%; transform: translateX(-50%); text-align: center; padding: 16px 24px; min-width: 310px; border-radius: 18px; color: #24483d; background: #fff9ebdc; border: 1px solid #fffdf7ca; box-shadow: var(--small-shadow); backdrop-filter: blur(16px); }
.flight-airports { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
.flight-airports svg { width: 27px; height: 27px; transform: rotate(70deg); }
.flight-banner p { font-size: 11px; color: #6c7c67; margin-top: 7px; }
.map-dock { position: fixed; right: 30px; bottom: 82px; z-index: 23; width: 203px; display: flex; align-items: flex-end; flex-direction: column; gap: 9px; }
.minimap-button { display: flex; flex-direction: column; width: 203px; padding: 12px 12px 9px; background: #fcf7ebe8; border: 1px solid #fffdf7e6; border-radius: 17px; box-shadow: var(--small-shadow); backdrop-filter: blur(15px); transition: background .18s, transform .18s; }
.minimap-button:hover { background: #fffdf8fa; transform: translateY(-2px); }
.minimap-label { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 7px; font-weight: 800; letter-spacing: 1.15px; color: #74816a; }
.minimap-label > span:last-child { font-size: 13px; font-weight: 500; color: #4f6b53; }
#map-mini { display: block; width: 100%; height: auto; margin: 3px 0; border-radius: 8px; pointer-events: none; }
.minimap-legend { display: flex; width: 100%; align-items: center; gap: 4px; font-size: 8px; color: #7f8979; }
.minimap-legend > i { display: block; width: 5px; height: 5px; border: 1px solid #fcf7eb; border-radius: 50%; background: #e2a438; box-shadow: 0 0 0 1px #ac813b; }
.key-hint { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.key-hint kbd { min-width: 15px; height: 15px; padding: 0 3px; border-radius: 4px; font-size: 8px; border-bottom-width: 1px; }
.camera-controls { display: flex; gap: 4px; background: #fcf7ebef; border: 1px solid #fffdf7c9; border-radius: 12px; padding: 4px; box-shadow: var(--small-shadow); }
.camera-controls .icon-button { width: 32px; height: 31px; border-radius: 7px; }
.camera-controls svg { width: 16px; height: 16px; }
.zoom-controls { display: flex; border-right: 1px solid var(--line); padding-right: 4px; }
.game-footer { position: fixed; z-index: 20; bottom: max(22px, env(safe-area-inset-bottom)); left: 30px; right: 30px; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.transport-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #fffdf7a6; border-radius: 12px; background: #fcf7ebc9; box-shadow: 0 3px 10px #213e380d; backdrop-filter: blur(10px); white-space: nowrap; font-size: 11px; font-weight: 650; }
#transport-icon { display: flex; align-items: center; justify-content: center; }
#transport-icon svg { width: 16px; height: 16px; }
.transport-dot { width: 4px; height: 4px; border-radius: 50%; background: #85a77d; margin-left: 3px; }
#control-hint { font-size: 10px; color: #375a4cb3; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px #fcf7eb50; }
.keyboard-hint { display: inline-flex; align-items: center; gap: 3px; }
.keyboard-hint kbd { height: 20px; min-width: 18px; font-size: 9px; padding: 0 4px; border-color: #3658442b; background: #fcf7eb40; }
.keyboard-hint kbd:last-of-type { margin-right: 3px; }
.footer-separator { color: #59705e70; }
.map-note { margin-left: auto; font-size: 9px; color: #375a4c8c; text-shadow: 0 1px #fcf7eb50; }
.joystick, .touch-actions { display: none; }
.toast { position: fixed; z-index: 110; top: 126px; left: 50%; transform: translateX(-50%); max-width: min(90vw,410px); padding: 12px 19px; border-radius: 13px; background: #16382ff2; color: #fff9e8; box-shadow: var(--shadow); font-size: 12px; text-align: center; pointer-events: none; animation: prompt-arrive .25s ease both; }
#content-dialog { color: var(--ink); background: var(--paper); width: min(860px,calc(100vw - 48px)); max-height: min(820px,calc(100dvh - 84px)); border: 1px solid #fffcf5e6; border-radius: 27px; box-shadow: 0 32px 110px #0f332855; padding: 0; overflow: hidden; }
#content-dialog::backdrop { background: #193f3870; backdrop-filter: blur(7px); }
#content-dialog[open] { display: flex; flex-direction: column; animation: modal-arrive .25s ease both; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-shrink: 0; padding: 29px 32px 23px; border-bottom: 1px solid #16382f10; }
.dialog-header h2 { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; margin-top: 8px; }
.dialog-header .eyebrow { color: #8c9478; font-size: 8px; }
.dialog-header .icon-button { width: 33px; height: 33px; margin: -5px -9px 0 0; border: 1px solid #16382f15; border-radius: 50%; }
.dialog-header .icon-button svg { width: 16px; height: 16px; }
.dialog-body { padding: 24px 32px 30px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b1baa5 transparent; }
.dialog-body > p { font-size: 14px; line-height: 1.75; color: #63715e; }
.modal-copy { color: #5a705f; font-size: 15px; line-height: 1.8; max-width: 660px; }
.modal-copy p + p { margin-top: 16px; }
.modal-copy h3 { color: var(--ink); line-height: 1.25; margin-top: 22px; }
.modal-copy strong { color: var(--ink); font-weight: 650; }
.modal-copy img { display: block; max-width: min(100%,380px); height: auto; border-radius: 9px; margin: 20px 0; }
.modal-copy a { color: #315842; }
.stop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.stop-actions .button { font-size: 12px; }
.story-list { position: relative; display: grid; gap: 0; }
.story-list::before { content: ''; position: absolute; left: 76px; top: 21px; bottom: 25px; width: 1px; background: #ced6c3; }
.story-item { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 35px; padding: 19px 0; border-bottom: 1px solid #16382f0d; text-align: left; }
.story-item:last-child { border-bottom: 0; }
.story-item::before { content: ''; position: absolute; left: 71px; top: 26px; width: 11px; height: 11px; background: #fcf7eb; border: 2px solid #a9b89a; border-radius: 50%; z-index: 1; }
.story-item.visited::before, .story-item.is-visited::before, .story-item.active::before { background: var(--yellow); border-color: #d7b457; }
.story-year { color: #84916f; font-size: 11px; font-weight: 750; line-height: 1.45; padding-top: 3px; text-align: right; }
.story-item > span:first-child, .story-item > time { color: #84916f; font-size: 11px; font-weight: 750; line-height: 1.45; padding-top: 3px; text-align: right; }
.story-item h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.3px; margin-bottom: 5px; }
.story-item p { font-size: 12px; line-height: 1.6; color: #687864; }
.story-item button, .story-item [data-goto] { margin-top: 7px; padding: 3px 0; font-size: 11px; font-weight: 700; color: #315e45; }
.story-item button:hover, .story-item [data-goto]:hover { text-decoration: underline; text-underline-offset: 3px; }
button.story-item:hover { background: #eef0e1; border-radius: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.project-card { overflow: hidden; border-radius: 18px; border: 1px solid #d9ddce; background: #fffdf8; display: flex; flex-direction: column; }
.project-art { height: 160px; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: center; isolation: isolate; background: #e8e8d7; }
.project-art::before, .project-art::after { content: ''; position: absolute; }
.project-art > span { z-index: 3; font-family: Georgia,serif; font-style: italic; font-size: 30px; font-weight: 500; color: #ffffffdb; letter-spacing: -1px; text-shadow: 0 2px 10px #173c3026; }
.project-art.kitchen { background: #e8ae80; background-image: radial-gradient(#f9e4c35c 1px,transparent 1px); background-size: 14px 14px; }
.project-art.kitchen::before { width: 100px; height: 100px; top: 31px; left: calc(50% - 50px); border: 15px solid #fff4d9; border-radius: 50%; background: #c9d39a; box-shadow: 6px 8px 0 #9d704222, inset 0 0 0 3px #7c985541, inset 0 0 0 19px #e7e4b8; transform: rotate(-10deg); }
.project-art.kitchen::after { width: 10px; height: 80px; top: 39px; left: calc(50% + 66px); border-radius: 50% 50% 4px 4px; background: #fff4d9; box-shadow: -141px 0 0 #fff4d9; transform: rotate(9deg); }
.project-art.task { background: #a9c2ac; background-image: repeating-linear-gradient(0deg,transparent 0 29px,#eaf0c733 30px 31px),repeating-linear-gradient(90deg,transparent 0 29px,#eaf0c733 30px 31px); }
.project-art.task::before { width: 190px; height: 88px; border: 14px solid #e9e9cb; border-left: 0; border-bottom: 0; border-radius: 0 50px 0 0; transform: rotate(-16deg); left: calc(50% - 85px); top: 64px; box-shadow: 3px -4px 0 #76947c30; }
.project-art.task::after { width: 17px; height: 17px; top: 49px; left: calc(50% + 34px); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #cd7e4c; border: 4px solid #ffefc9; box-shadow: -74px -38px 0 -1px #f6d37b, -98px 35px 0 -1px #466f5f; }
.project-art.workshop { background: #86a4b3; background-image: radial-gradient(#3a5c7336 1px,transparent 1px); background-size: 13px 13px; }
.project-art.workshop::before { width: 17px; height: 116px; top: 22px; left: calc(50% - 18px); background: #f8d27e; border-radius: 7px; transform: rotate(36deg); box-shadow: 6px 3px 0 #2d526620; }
.project-art.workshop::after { width: 75px; height: 29px; top: 31px; left: calc(50% - 17px); background: #e2e9db; border-radius: 6px 6px 12px 4px; transform: rotate(36deg); box-shadow: 3px 4px 0 #2d526620; }
.project-art.supply { background: #b9acc3; background-image: linear-gradient(180deg,#c2b8cc55,transparent); }
.project-art.supply::before { width: 83px; height: 64px; top: 69px; left: calc(50% - 69px); border-radius: 4px; background: linear-gradient(90deg,#ebcc88 0 41%,#f7e4b3 41% 57%,#ebcc88 57%); transform: skewY(-8deg); box-shadow: 43px -53px 0 -10px #e4a977; }
.project-art.supply::after { width: 52px; height: 64px; top: 60px; left: calc(50% + 14px); border-radius: 2px 4px 4px 0; background: #cea565; transform: skewY(16deg); box-shadow: 5px 5px 0 #6c577420; }
.project-card > :not(.project-art) { margin-left: 20px; margin-right: 20px; }
.project-card h3 { margin-top: 17px; margin-bottom: 6px; font-size: 21px; line-height: 1.2; letter-spacing: -.6px; }
.project-card p { font-size: 12px; line-height: 1.6; color: #687764; }
.project-category { display: block; margin-top: 17px; font-size: 8px; font-weight: 750; color: #8c947c; text-transform: uppercase; letter-spacing: 1.4px; }
.project-category + h3 { margin-top: 4px; }
.project-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 14px; margin-bottom: 15px; }
.project-tags span { padding: 3px 7px; background: #f0f1e8; color: #79866d; font-size: 8px; font-weight: 650; border-radius: 5px; }
.project-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 17px; margin-top: auto; border-top: 1px solid #16382f10; font-size: 11px; font-weight: 750; text-decoration: none; }
.project-link:hover { color: #ab7137; }
.project-link svg { width: 15px; height: 15px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 18px 0; border-bottom: 1px solid #16382f13; }
.settings-row:last-child { border-bottom: 0; }
.settings-row strong, .settings-row label { display: block; font-size: 14px; font-weight: 700; }
.settings-row p, .settings-row small { display: block; font-size: 11px; line-height: 1.6; color: #7c896f; margin-top: 4px; }
.settings-row button { border: 1px solid #d6dcc9; border-radius: 9px; background: #fffdf6; padding: 8px 12px; min-width: 84px; font-size: 11px; font-weight: 650; }
.settings-row button[aria-pressed='true'] { background: var(--yellow); border-color: #e9b952; }
.settings-row input[type='checkbox'] { accent-color: #476b50; width: 19px; height: 19px; flex-shrink: 0; }
.settings-row input[type='range'] { accent-color: #547957; width: 130px; max-width: 40%; }
.settings-row select { padding: 9px 12px; border: 1px solid #c8d1bc; border-radius: 9px; background: #fffdf7; color: var(--ink); font-size: 12px; }
.flight-ticket { position: relative; margin-top: 21px; padding: 24px; background: #e8eddf; border: 1px dashed #b8c4ac; border-radius: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.flight-ticket strong { font-size: 20px; letter-spacing: -.4px; }
.flight-ticket small { display: block; margin-bottom: 4px; font-size: 9px; color: #7a8b6c; letter-spacing: 1px; text-transform: uppercase; }
.flight-ticket p { font-size: 12px; color: #687b5e; }
.flight-ticket svg { width: 26px; height: 26px; color: #7a936b; }
.keys-help { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.keys-help > * { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid #16382f12; font-size: 12px; color: #687d61; }
.keys-help kbd { color: var(--ink); min-width: 28px; height: 28px; background: #fffdf7; border-radius: 7px; }
.keys-help .key-group { display: flex; gap: 4px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: #eeefe2; border: 1px solid #d7dec9; border-radius: 11px; font-size: 12px; font-weight: 650; text-decoration: none; }
.social-links a:hover { background: #e4e8d7; }
.world-loading { position: absolute; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f3f1e3; color: var(--ink); }
.loading-mark { position: relative; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 24px; margin-bottom: 30px; background: var(--yellow); box-shadow: 0 8px 0 #ddb55a; transform: rotate(-6deg); }
.loading-mark span { font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -5px; margin-top: -6px; margin-left: -4px; }
.loading-mark i { position: absolute; inset: -10px; border: 1px solid #bfc8b466; border-radius: 31px; animation: breathe 2s ease infinite; }
.world-loading p { font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.world-loading > span { color: #839071; font-size: 11px; margin-top: 7px; }
.boot-error { position: absolute; z-index: 95; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(390px,90vw); padding: 30px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.boot-error h1 { margin: 10px 0; font-size: 31px; line-height: 1.15; letter-spacing: -1px; }
.boot-error p { margin-bottom: 22px; font-size: 13px; color: #708067; }
.photo-hud { position: fixed; z-index: 35; left: 30px; right: 30px; bottom: max(25px,env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.photo-hud > div:last-child { display: flex; gap: 9px; }
.photo-caption { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; color: #fcf7eb; text-shadow: 0 1px 3px #15362b5c; }
.photo-caption strong { font-size: 15px; font-weight: 700; }
.photo-caption > span:last-child { grid-column: 2; font-size: 11px; margin-top: 2px; opacity: .8; }
.photo-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #fcf7eb; align-self: center; }
.is-photo .site-header, .is-photo .location-hud, .is-photo .journey-progress, .is-photo #intro, .is-photo #chapter-card, .is-photo #nearby-prompt, .is-photo #tour-status, .is-photo #flight-banner, .is-photo .map-dock, .is-photo .game-footer, .is-photo .joystick, .is-photo .touch-actions, .is-photo #pin-layer { display: none !important; }
.is-photo .world-vignette { background: linear-gradient(transparent 75%,#133e3350); }
.noscript-story { position: fixed; z-index: 150; inset: 0; overflow: auto; background: var(--paper); padding: clamp(25px,8vw,100px); }
.noscript-story h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(32px,6vw,70px); line-height: 1.1; letter-spacing: -2px; }
.noscript-story p { max-width: 700px; margin: 20px 0; line-height: 1.8; }
@keyframes card-arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes prompt-arrive { from { opacity: 0; margin-bottom: -5px; } to { opacity: 1; margin-bottom: 0; } }
@keyframes modal-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes breathe { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (min-width: 1600px) {
  .site-header { left: 42px; right: 42px; top: 30px; }
  .intro-card { left: 42px; bottom: 100px; width: 400px; padding: 30px; }
  .intro-card h1 { font-size: 65px; }
  .intro-card > p { font-size: 14px; }
  .location-hud { left: 43px; top: 101px; }
  .chapter-card { left: 42px; bottom: 100px; }
  .map-dock { right: 42px; bottom: 98px; width: 228px; }
  .minimap-button { width: 228px; }
  .game-footer { left: 42px; right: 42px; bottom: 30px; }
}
@media (max-width: 1100px) {
  .route-lockup { display: none; }
  .intro-card { width: 342px; padding: 24px; }
  .intro-card h1 { font-size: 55px; }
  .intro-card > p { font-size: 12px; }
  .intro-footer { font-size: 8px; }
  .map-note { display: none; }
  .nearby-prompt { bottom: 83px; margin-left: 56px; }
  .chapter-card:not([hidden]) ~ .nearby-prompt { bottom: 86px; }
}
@media (max-width: 760px) {
  .site-header { left: 18px; right: 18px; top: max(17px,env(safe-area-inset-top)); gap: 16px; }
  .wordmark { font-size: 27px; }
  .header-nav { gap: 0; padding: 4px; border-radius: 12px; }
  .header-nav button { height: 32px; padding: 0 9px; font-size: 11px; gap: 4px; }
  .header-nav button svg { width: 14px; height: 14px; }
  .header-nav .icon-button { width: 31px; }
  .location-hud { left: 20px; top: 77px; font-size: 10px; }
  .journey-progress { top: 77px; right: 20px; gap: 10px; }
  .sparks { padding-left: 9px; }
  .intro-card { left: 18px; bottom: 78px; width: 325px; padding: 22px 23px 18px; border-radius: 22px; }
  .intro-card h1 { font-size: 51px; }
  .intro-kicker { font-size: 7px; letter-spacing: 1.4px; margin-bottom: 16px; }
  .intro-card > p { margin-bottom: 19px; }
  .intro-footer { margin-top: 17px; padding-top: 13px; }
  .map-dock { right: 18px; bottom: 76px; width: auto; }
  .minimap-button { width: 155px; padding: 9px; border-radius: 13px; }
  .minimap-label { font-size: 6px; letter-spacing: .8px; }
  .minimap-legend { font-size: 7px; }
  .key-hint { display: none; }
  .camera-controls { gap: 1px; }
  .camera-controls .icon-button { width: 28px; height: 28px; }
  .camera-controls svg { width: 14px; height: 14px; }
  .game-footer { left: 18px; right: 18px; bottom: max(20px,env(safe-area-inset-bottom)); gap: 10px; }
  .transport-pill { font-size: 10px; padding: 8px 10px; }
  #control-hint { font-size: 9px; gap: 6px; }
  .keyboard-hint kbd { height: 17px; min-width: 15px; padding: 0 3px; font-size: 8px; }
  .chapter-card { left: 18px; bottom: 78px; width: 310px; padding: 18px 20px 15px; }
  .chapter-card h2 { font-size: 24px; }
  .chapter-card > p { font-size: 11px; }
  .nearby-prompt { margin-left: 0; bottom: 143px; padding: 10px 13px 10px 10px; min-width: 220px; }
  .nearby-prompt > kbd { width: 32px; height: 34px; }
  .nearby-prompt strong { font-size: 11px; }
  .nearby-prompt small { font-size: 7px; }
  .tour-status { top: 112px; font-size: 10px; }
  .flight-banner { top: 157px; }
  #content-dialog { width: calc(100vw - 30px); max-height: calc(100dvh - 50px); border-radius: 22px; }
  .dialog-header { padding: 24px 24px 20px; }
  .dialog-header h2 { font-size: 29px; }
  .dialog-body { padding: 21px 24px 25px; }
  .project-grid { gap: 13px; }
  .project-art { height: 145px; }
  .project-card h3 { font-size: 18px; }
  .project-card > :not(.project-art) { margin-left: 16px; margin-right: 16px; }
  .photo-hud { left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (max-width: 570px) {
  .site-header { left: 16px; right: 16px; gap: 7px; }
  .wordmark { font-size: 23px; letter-spacing: -1.3px; }
  .header-nav { border-radius: 11px; padding: 3px; }
  .header-nav button { height: 31px; padding: 0 8px; font-size: 10px; }
  .header-nav #map-button svg, .nav-arrow { display: none; }
  .header-nav .icon-button { width: 29px; }
  .location-hud { left: 18px; top: 72px; font-size: 9px; gap: 6px; }
  .location-marker svg { width: 12px; height: 12px; }
  .journey-progress { top: 72px; right: 18px; font-size: 8px; gap: 7px; }
  .progress-item { gap: 3px; }
  .progress-item strong { font-size: 9px; }
  .progress-item svg { width: 11px; height: 11px; }
  .sparks { padding-left: 7px; }
  .sparks > span { font-size: 13px; }
  .intro-card { width: auto; left: 16px; right: 16px; bottom: max(71px,calc(env(safe-area-inset-bottom) + 54px)); padding: 21px 23px 16px; border-radius: 23px; }
  .intro-kicker { margin-bottom: 13px; font-size: 7px; }
  .intro-card h1 { font-size: 49px; line-height: 1; margin-bottom: 13px; }
  .intro-card > p { max-width: 310px; font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
  .intro-actions { grid-template-columns: 1.05fr 1fr; }
  .intro-actions .button { min-height: 42px; font-size: 11px; }
  .intro-footer { margin-top: 17px; padding-top: 11px; font-size: 8px; }
  .intro-footer button { font-size: 9px; }
  .map-dock { right: 16px; bottom: auto; top: 109px; gap: 7px; }
  .minimap-button { width: 121px; padding: 7px 8px 6px; border-radius: 12px; }
  .minimap-label { font-size: 5px; letter-spacing: .65px; }
  .minimap-label > span:last-child { font-size: 11px; }
  #map-mini { margin: 1px 0; }
  .minimap-legend { font-size: 6px; gap: 3px; }
  .minimap-legend > i { width: 4px; height: 4px; }
  .camera-controls { padding: 3px; gap: 0; border-radius: 10px; }
  .camera-controls .icon-button { width: 26px; height: 27px; }
  .camera-controls svg { width: 13px; height: 13px; }
  .camera-controls #photo-button { display: none; }
  .zoom-controls { padding-right: 2px; }
  .game-footer { bottom: max(18px,env(safe-area-inset-bottom)); left: 16px; right: 16px; gap: 8px; }
  .transport-pill { font-size: 9px; padding: 7px 9px; border-radius: 10px; gap: 6px; }
  #transport-icon svg { width: 14px; height: 14px; }
  .transport-dot { display: none; }
  #control-hint { font-size: 8px; gap: 5px; line-height: 1.35; }
  .keyboard-hint kbd { min-width: 13px; height: 16px; font-size: 7px; padding: 0 2px; }
  .chapter-card { width: auto; left: 16px; right: 16px; bottom: max(194px,calc(env(safe-area-inset-bottom) + 177px)); padding: 17px 19px 13px; border-radius: 18px; }
  .chapter-card h2 { font-size: 24px; max-width: 285px; margin-bottom: 8px; }
  .chapter-card > p { font-size: 11px; line-height: 1.55; }
  .chapter-topline { margin-bottom: 6px; }
  .chapter-topline .eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .chapter-actions { margin-top: 12px; padding-top: 10px; }
  .chapter-actions .button { min-height: 34px; font-size: 10px; }
  .chapter-actions .button-primary { min-width: 118px; }
  .nearby-prompt, .chapter-card:not([hidden]) ~ .nearby-prompt { bottom: max(199px,calc(env(safe-area-inset-bottom) + 182px)); max-width: calc(100vw - 44px); min-width: 220px; }
  .chapter-card:not([hidden]) ~ .nearby-prompt { display: none; }
  .tour-status { top: 108px; left: 16px; transform: none; font-size: 9px; max-width: calc(100vw - 156px); padding: 6px 7px 6px 10px; gap: 6px; }
  .tour-status #tour-label { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tour-status button { width: 23px; height: 23px; margin-left: 0; }
  .flight-banner { min-width: 0; width: calc(100vw - 40px); left: 20px; transform: none; top: 227px; padding: 14px 18px; }
  .flight-airports { font-size: 10px; gap: 20px; }
  .flight-airports svg { width: 22px; height: 22px; }
  .flight-banner p { font-size: 10px; }
  .toast { top: 112px; left: 16px; transform: none; max-width: calc(100vw - 159px); padding: 10px 12px; font-size: 10px; border-radius: 10px; }
  #content-dialog { width: calc(100vw - 22px); max-height: calc(100dvh - 32px); border-radius: 21px; }
  .dialog-header { padding: 22px 21px 18px; gap: 20px; }
  .dialog-header h2 { font-size: 27px; letter-spacing: -.9px; }
  .dialog-header .eyebrow { font-size: 7px; }
  .dialog-body { padding: 20px 21px 25px; }
  .modal-copy { font-size: 13px; line-height: 1.75; }
  .stop-actions { gap: 8px; }
  .stop-actions .button { font-size: 11px; min-height: 40px; }
  .story-list::before { left: 54px; }
  .story-item { grid-template-columns: 39px 1fr; gap: 29px; padding: 16px 0; }
  .story-item::before { left: 49px; top: 22px; }
  .story-item > span:first-child, .story-item > time, .story-year { font-size: 9px; }
  .story-item h3 { font-size: 15px; }
  .story-item p { font-size: 11px; }
  .story-item button { font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-art { height: 155px; }
  .project-card h3 { font-size: 23px; }
  .project-card p { font-size: 12px; }
  .project-card > :not(.project-art) { margin-left: 19px; margin-right: 19px; }
  .project-tags span { font-size: 8px; }
  .project-link { font-size: 11px; }
  .settings-row { gap: 19px; padding: 17px 0; }
  .settings-row strong, .settings-row label { font-size: 12px; }
  .settings-row small, .settings-row p { font-size: 10px; }
  .settings-row button { min-width: 68px; padding: 8px 10px; font-size: 10px; }
  .keys-help { grid-template-columns: 1fr; }
  .keys-help > * { padding: 12px 0; }
  .flight-ticket { padding: 17px; gap: 15px; }
  .flight-ticket strong { font-size: 16px; }
  .photo-hud { left: 18px; right: 18px; bottom: max(22px,calc(env(safe-area-inset-bottom) + 10px)); }
  .photo-caption strong { font-size: 13px; }
  .photo-caption > span:last-child { font-size: 10px; }
  .photo-hud > div:last-child { width: 100%; }
  .photo-hud .button { flex: 1; font-size: 10px; padding: 11px 12px; }
}
@media (hover: none) and (pointer: coarse) {
  .is-playing .joystick { display: flex; }
  .is-playing .touch-actions { display: flex; }
  .keyboard-hint { display: none; }
  .footer-separator { display: none; }
  #control-hint { font-size: 9px; }
  .key-hint { display: none; }
}
.touch-device.is-playing .joystick { display: flex; }
.touch-device.is-playing .touch-actions { display: flex; }
.touch-device .keyboard-hint, .touch-device .footer-separator, .touch-device .key-hint { display: none; }
.joystick { position: fixed; z-index: 28; left: 27px; bottom: max(69px,calc(env(safe-area-inset-bottom) + 52px)); width: 107px; height: 107px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #fffdf7c4; background: #fcf7eb52; box-shadow: inset 0 1px 10px #213e3808, 0 6px 18px #213e380b; backdrop-filter: blur(5px); touch-action: none; user-select: none; }
.joystick-ring { position: absolute; inset: 12px; border: 1px dashed #234c3624; border-radius: 50%; color: #234c3659; font-size: 9px; }
.joystick-ring span { position: absolute; }
.joystick-ring span:nth-child(1) { top: -7px; left: calc(50% - 3px); }
.joystick-ring span:nth-child(2) { bottom: -7px; left: calc(50% - 3px); }
.joystick-ring span:nth-child(3) { left: -5px; top: calc(50% - 7px); }
.joystick-ring span:nth-child(4) { right: -5px; top: calc(50% - 7px); }
#joystick-knob { position: relative; width: 47px; height: 47px; border-radius: 50%; background: #fffdf3ec; border: 1px solid #fffdf7; box-shadow: 0 4px 12px #173c3026, inset 0 -2px 3px #173c3012; pointer-events: none; }
#joystick-knob::after { content: ''; position: absolute; inset: 16px; border: 1px solid #9cab91; border-radius: 50%; }
.touch-actions { position: fixed; right: 21px; bottom: max(74px,calc(env(safe-area-inset-bottom) + 57px)); z-index: 28; align-items: flex-end; gap: 10px; }
.touch-actions button { width: 63px; height: 63px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid #fffdf7bd; border-radius: 50%; background: #fcf7ebad; box-shadow: 0 4px 12px #173c3014; backdrop-filter: blur(5px); touch-action: none; user-select: none; }
.touch-actions button svg { width: 20px; height: 20px; }
.touch-actions button span { font-size: 7px; font-weight: 700; letter-spacing: .1px; }
#touch-interact { background: #f6c75dc9; width: 72px; height: 72px; }
#touch-interact svg { width: 21px; height: 21px; }
.has-nearby #touch-interact { box-shadow: 0 0 0 5px #f6c75d2d, 0 4px 12px #173c3014; background: var(--yellow); }
#touch-boost:active, #touch-boost.is-active { background: var(--yellow); }
@media (max-height: 660px) and (min-width: 571px) {
  .intro-card { bottom: 72px; padding: 20px 23px 15px; width: 330px; }
  .intro-card h1 { font-size: 46px; margin-bottom: 12px; }
  .intro-kicker { margin-bottom: 13px; }
  .intro-card > p { margin-bottom: 15px; font-size: 12px; }
  .intro-footer { margin-top: 13px; padding-top: 10px; }
  .map-dock { bottom: 71px; }
  .minimap-button { width: 180px; }
  .chapter-card { bottom: 72px; }
}
@media (max-height: 700px) and (max-width: 570px) {
  .intro-card { padding: 17px 20px 13px; bottom: 65px; }
  .intro-card h1 { font-size: 40px; margin-bottom: 10px; }
  .intro-kicker { margin-bottom: 11px; }
  .intro-card > p { font-size: 11px; line-height: 1.5; margin-bottom: 13px; }
  .intro-footer { margin-top: 12px; padding-top: 8px; }
  .intro-actions .button { min-height: 38px; }
  .minimap-button { display: none; }
  .map-dock { top: 108px; }
  .chapter-card { bottom: 174px; padding: 14px 17px 11px; }
  .chapter-card h2 { font-size: 21px; }
  .chapter-card > p { font-size: 10px; }
  .chapter-actions { margin-top: 8px; padding-top: 8px; }
  .joystick { width: 91px; height: 91px; bottom: 65px; }
  .touch-actions { bottom: 68px; }
  .touch-actions button { width: 55px; height: 55px; }
  #touch-interact { width: 64px; height: 64px; }
  .nearby-prompt { bottom: 176px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .site-header { top: max(10px,env(safe-area-inset-top)); left: 16px; right: 16px; }
  .wordmark { font-size: 23px; }
  .location-hud { top: 58px; left: 17px; font-size: 9px; }
  .journey-progress { top: 58px; right: 18px; }
  .intro-card { left: 17px; bottom: 62px; width: 285px; padding: 16px 19px 12px; }
  .intro-kicker { font-size: 6px; margin-bottom: 10px; }
  .intro-card h1 { font-size: 37px; margin-bottom: 10px; }
  .intro-card > p { font-size: 10px; line-height: 1.5; margin-bottom: 12px; }
  .intro-actions .button { min-height: 34px; font-size: 10px; }
  .intro-footer { display: none; }
  .map-dock { right: 17px; bottom: 63px; }
  .minimap-button { display: none; }
  .chapter-card { left: 17px; bottom: 65px; width: 287px; padding: 13px 17px; }
  .chapter-card h2 { font-size: 21px; }
  .chapter-card > p { font-size: 10px; }
  .chapter-actions { padding-top: 8px; margin-top: 9px; }
  .game-footer { bottom: 14px; left: 17px; }
  .tour-status { top: 58px; }
  .flight-banner { top: 112px; }
  .is-playing .joystick { left: 17px; bottom: 59px; width: 88px; height: 88px; }
  .touch-actions { right: 17px; bottom: 59px; }
  .touch-device .chapter-card { left: 118px; bottom: 64px; width: min(300px,calc(100vw - 280px)); }
  .touch-device .nearby-prompt { bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Runtime markup: numbered places, project illustrations and story details. */
#pin-layer .world-pin {
  min-height: 39px;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  border-radius: 14px;
  border-color: #fffdf7e6;
  background: #fcf7ebf0;
  box-shadow: 0 4px 12px #1c40332e;
}
#pin-layer .world-pin .pin-dot {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f6c75d;
  color: #24442f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: -.1px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
#pin-layer .world-pin .pin-label {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.22;
  text-align: left;
}
#pin-layer .world-pin .pin-label small {
  display: block;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .7px;
  opacity: .62;
  line-height: 1.2;
}
#pin-layer .world-pin.is-visited .pin-dot { background: #dce6cc; color: #4f704b; }
#pin-layer .world-pin.is-active { background: #254c3d; color: #fff7df; border-color: #446950; }
#pin-layer .world-pin.is-active .pin-dot { background: var(--yellow); color: #24442f; }
#pin-layer .world-pin.is-active .pin-label small { color: #d6e3bd; opacity: .86; }
#pin-layer .world-pin:hover { background: #fffdf5; color: #24442f; }
#pin-layer .world-pin.is-compact {
  width: 31px;
  height: 31px;
  min-height: 31px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  border: 2px solid #fff9e8;
  background: var(--yellow);
  box-shadow: 0 3px 8px #1c40332c;
}
#pin-layer .world-pin.is-compact::after { display: none; }
#pin-layer .world-pin.is-compact .pin-dot { width: 27px; height: 27px; font-size: 9px; }
#pin-layer .world-pin.is-compact .pin-label { display: none; }
#pin-layer .world-pin.is-compact.is-visited { background: #dce6cc; }
#pin-layer .world-pin.is-compact.is-active { border-color: #254c3d; box-shadow: 0 0 0 3px #f6c75d34, 0 4px 12px #1c40333a; }
#pin-layer .world-pin.is-compact:hover, #pin-layer .world-pin.is-compact:focus-visible {
  width: auto;
  height: 39px;
  padding: 4px 10px 4px 4px;
  gap: 7px;
  border-radius: 13px;
  background: #fffdf5;
  color: #24442f;
}
#pin-layer .world-pin.is-compact:hover .pin-label, #pin-layer .world-pin.is-compact:focus-visible .pin-label { display: flex; }
#pin-layer .world-pin.is-active:hover .pin-label small { color: #677e53; }
.chapter-card:not([hidden]) ~ .nearby-prompt { display: none; }
.chapter-actions .button-primary { max-width: 67%; text-align: left; }
.modal-intro { max-width: 640px; margin-bottom: 23px; font-size: 13px !important; line-height: 1.75 !important; color: #687a60 !important; }
.dialog-body > .map-note { display: block; margin: 21px 0 0; color: #8b967e; font-size: 10px; line-height: 1.6; text-shadow: none; }
.story-item > div > small { display: block; font-size: 8px; font-weight: 650; color: #8b997b; letter-spacing: .65px; margin: 0 0 5px; }
.text-button { padding: 5px 0; font-size: 11px; font-weight: 700; color: #396249; text-underline-offset: 4px; }
.text-button:hover { text-decoration: underline; }
.project-card > .project-card-content { margin: 0; padding: 18px 20px 0; display: flex; flex-direction: column; flex: 1; }
.project-card-content > small { display: block; font-size: 8px; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; color: #869379; }
.project-card-content h3 { margin: 5px 0 8px; }
.project-card-content p { margin: 0; }
.project-card-content .project-tags { margin-top: 14px; margin-bottom: 16px; }
.project-card-content .project-link { margin-top: auto; min-height: 45px; }
.project-link > span { font-size: 20px; font-weight: 400; line-height: 1; }
.project-art.kitchen-art, .project-art.task-art, .project-art.workshop-art, .project-art.supply-art { display: block; height: 164px; flex-shrink: 0; }
.project-art > i { position: absolute; z-index: 3; font-size: 7px; font-style: normal; font-weight: 750; letter-spacing: 1.3px; }
.kitchen-art { background: #e8ae80; background-image: radial-gradient(#ffefca55 1px,transparent 1px); background-size: 13px 13px; }
.art-plate { position: absolute; z-index: 2; width: 94px; height: 94px; left: 28px; top: 25px; border: 11px solid #fff2cf; border-radius: 50%; background: #e7dfb8; box-shadow: 5px 8px 0 #9d704222, inset 0 0 0 2px #b1b48255; transform: rotate(-11deg); font-size: 0; }
.art-plate::before { content: ''; position: absolute; width: 51px; height: 44px; left: 8px; top: 13px; border-radius: 42% 61% 47% 58%; background: #fffcdf; box-shadow: 2px 3px 0 #a8a77620; transform: rotate(19deg); }
.art-plate::after { content: ''; position: absolute; width: 23px; height: 23px; left: 23px; top: 22px; background: #e8ad3a; border-radius: 50%; border: 2px solid #f5bd4d; box-shadow: inset -2px -2px 0 #cf8f261c; }
.project-art.kitchen-art > span { position: absolute; top: 39px; left: 46%; right: 19px; font-size: 27px; line-height: 1.03; letter-spacing: -.8px; color: #6c4b30; text-shadow: none; }
.kitchen-art > i { bottom: 15px; left: 26px; color: #966340; }
.task-art { background: #a9c2ac; background-image: repeating-linear-gradient(0deg,transparent 0 29px,#eaf0c733 30px 31px),repeating-linear-gradient(90deg,transparent 0 29px,#eaf0c733 30px 31px); }
.task-art .map-road { position: absolute; z-index: 1; top: 72px; left: 22px; width: 244px; height: 100px; border: 14px solid #e8e9c8; border-left: 0; border-bottom: 0; border-radius: 0 49px 0 0; transform: rotate(-17deg); box-shadow: 3px -3px 0 #6d917426; }
.project-art.task-art .map-dot { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 3px solid #ffefcb; border-radius: 50%; font: 750 10px/1 var(--sans); color: #ffefcb; box-shadow: 2px 3px 0 #52775c2e; text-shadow: none; letter-spacing: 0; }
.task-art .d1 { left: 33px; top: 89px; background: #52745e; }
.task-art .d2 { left: 115px; top: 65px; background: #cc8250; }
.task-art .d3 { left: 235px; top: 108px; background: #a58635; }
.task-art > b { position: absolute; z-index: 2; top: 27px; right: 24px; font-size: 24px; font-weight: 800; letter-spacing: -1px; line-height: 1.02; color: #345a42; }
.workshop-art { background: #8eabb7; background-image: radial-gradient(#35576a29 1px,transparent 1px); background-size: 12px 12px; }
.project-art.workshop-art .art-tool { position: absolute; top: 26px; left: 32px; width: 85px; height: 109px; font-size: 0; transform: rotate(-22deg); }
.art-tool::before { content: ''; position: absolute; top: 20px; left: 35px; width: 16px; height: 82px; background: #ebbe68; border-radius: 5px; box-shadow: 4px 3px 0 #33536222; }
.art-tool::after { content: ''; position: absolute; top: 5px; left: 9px; width: 70px; height: 28px; background: #e9ebda; border-radius: 6px 6px 9px 3px; box-shadow: 3px 4px 0 #33536222; }
.workshop-art > b { position: absolute; top: 43px; right: 24px; font-size: 27px; font-weight: 850; line-height: 1.02; letter-spacing: -.8px; color: #264c5b; }
.workshop-art > i { bottom: 14px; left: 26px; color: #4a6d7c; }
.supply-art { background: #c0b4c9; background-image: linear-gradient(160deg,#d4ccdf73,transparent 75%); }
.art-box { position: absolute; z-index: 2; width: 57px; height: 50px; background: linear-gradient(90deg,#e7c783 0 42%,#f5dfac 42% 57%,#e7c783 57%); border-radius: 3px; box-shadow: 4px 5px 0 #76638220; }
.box-one { left: 26px; top: 74px; transform: rotate(-8deg); }
.box-two { left: 76px; top: 42px; transform: rotate(8deg); background: linear-gradient(90deg,#dca16d 0 42%,#efc48b 42% 57%,#dca16d 57%); }
.box-three { left: 78px; top: 98px; width: 48px; height: 38px; transform: rotate(5deg); background: linear-gradient(90deg,#efdaae 0 42%,#f8ecd1 42% 57%,#efdaae 57%); }
.project-art.supply-art > span { position: absolute; top: 64px; right: 21px; color: #63526e; font-size: 29px; line-height: 1; letter-spacing: -1px; text-shadow: none; }
.supply-art > i { left: 26px; top: 16px; color: #8d769b; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.social-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 20px; margin-top: 22px; background: #e9eddf; border: 1px solid #dce2ce; border-radius: 15px; }
.social-strip p { max-width: 290px; font-size: 11px; line-height: 1.65; color: #6c7d61; }
.social-strip a { flex-shrink: 0; font-size: 10px; padding: 10px 12px; border-color: #c8d2b7; background: #f8f9ed; }
.social-strip a:hover { background: #fffdf4; }
.garage-logo { display: block; width: min(100%,420px); height: auto; margin: 25px 0 8px; border-radius: 12px; box-shadow: 0 4px 10px #1b3c2212; }
.flight-ticket { display: grid; grid-template-columns: 1fr; gap: 11px; }
.flight-ticket > span { font-size: 8px; font-weight: 800; letter-spacing: 1.4px; color: #8b987a; }
.flight-ticket > strong { display: flex; align-items: center; gap: 26px; font-size: 23px; }
.flight-ticket > strong > b { font-size: 23px; font-weight: 400; color: #7c946e; }
.flight-ticket > small { margin: 0; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #7b8c6a; }
.flight-skip { padding: 7px 11px; margin-top: 7px; border: 1px solid #b6c3a958; border-radius: 7px; font-size: 9px; font-weight: 700; color: #617853; background: #ffffff45; }
.flight-skip:hover { background: #ffffff9c; }
.keys-help { margin: 14px 0 21px; }
.keys-help kbd { flex-shrink: 0; font-size: 9px; }
.keys-help > div > span { font-size: 11px; text-align: right; }
.keys-help + .modal-copy { font-size: 12px; line-height: 1.7; }
.stop-actions .button:not(.button-primary) { background: #eef0e2; border-color: #d8dfc9; }
.stop-actions .button:not(.button-primary):hover { background: #e3e9d4; }
.header-nav button[aria-pressed='true'] { background: #e4ead9; }
@media (max-width: 760px) {
  .project-card > .project-card-content { padding-left: 16px; padding-right: 16px; }
  .project-art.kitchen-art, .project-art.task-art, .project-art.workshop-art, .project-art.supply-art { height: 148px; }
  .art-plate { left: 18px; top: 24px; width: 81px; height: 81px; border-width: 9px; }
  .art-plate::before { left: 5px; top: 9px; }
  .art-plate::after { left: 19px; top: 18px; }
  .project-art.kitchen-art > span { font-size: 23px; top: 38px; right: 13px; left: 46%; }
  .kitchen-art > i, .workshop-art > i { left: 20px; font-size: 6px; }
  .task-art > b { top: 24px; right: 16px; font-size: 22px; }
  .task-art .d3 { left: auto; right: 28px; top: 108px; }
  .project-art.workshop-art .art-tool { left: 12px; top: 22px; transform: rotate(-22deg) scale(.85); }
  .workshop-art > b { right: 17px; top: 39px; font-size: 23px; }
  .project-art.supply-art > span { right: 14px; top: 61px; font-size: 23px; }
  .box-one { left: 15px; }
  .box-two { left: 59px; }
  .box-three { left: 61px; top: 94px; }
  .social-strip { gap: 15px; padding: 15px 16px; }
  .social-strip p { font-size: 10px; }
  .social-strip a { font-size: 9px; padding: 10px; }
}
@media (max-width: 570px) {
  #pin-layer .world-pin { min-height: 35px; padding: 4px 9px 4px 4px; gap: 5px; border-radius: 12px; }
  #pin-layer .world-pin .pin-dot { width: 25px; height: 25px; font-size: 8px; }
  #pin-layer .world-pin .pin-label { font-size: 9px; }
  #pin-layer .world-pin .pin-label small { font-size: 6px; letter-spacing: .5px; }
  #pin-layer .world-pin.is-compact { width: 29px; height: 29px; min-height: 29px; padding: 0; border-radius: 50%; }
  #pin-layer .world-pin.is-compact .pin-dot { width: 25px; height: 25px; font-size: 8px; }
  #pin-layer .world-pin.is-compact:hover, #pin-layer .world-pin.is-compact:focus-visible { width: auto; height: 35px; padding: 3px 9px 3px 3px; gap: 5px; border-radius: 11px; }
  .modal-intro { font-size: 12px !important; margin-bottom: 20px; }
  .project-card > .project-card-content { padding-left: 19px; padding-right: 19px; }
  .project-art.kitchen-art, .project-art.task-art, .project-art.workshop-art, .project-art.supply-art { height: 164px; }
  .art-plate { width: 94px; height: 94px; top: 25px; left: 25px; border-width: 11px; }
  .art-plate::before { left: 8px; top: 13px; }
  .art-plate::after { left: 23px; top: 22px; }
  .project-art.kitchen-art > span { top: 41px; right: 20px; font-size: 27px; }
  .kitchen-art > i, .workshop-art > i { left: 24px; font-size: 7px; }
  .task-art > b { top: 27px; right: 23px; font-size: 25px; }
  .project-art.workshop-art .art-tool { top: 26px; left: 28px; transform: rotate(-22deg); }
  .workshop-art > b { right: 22px; top: 42px; font-size: 27px; }
  .box-one { left: 24px; }
  .box-two { left: 73px; }
  .box-three { left: 76px; top: 98px; }
  .project-art.supply-art > span { top: 64px; right: 20px; font-size: 29px; }
  .social-strip { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px 19px; }
  .social-strip p { font-size: 11px; max-width: none; }
  .social-strip a { font-size: 10px; padding: 10px 12px; }
  .flight-ticket > strong { font-size: 20px; gap: 20px; }
  .flight-ticket > strong > b { font-size: 19px; }
  .flight-ticket > small { font-size: 9px; line-height: 1.6; }
  .garage-logo { margin-top: 21px; }
  .flight-skip { padding: 6px 10px; font-size: 8px; }
}
