@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Orbitron:wght@600;700;800&family=Playfair+Display:wght@500;600&display=swap');

:root {
  color-scheme: dark;
  --night: #101513;
  --iron: #262c27;
  --bone: #e7e2d3;
  --ash: #9da196;
  --red: #c76149;
  --blue: #78c8d0;
  --gold: #d7b978;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'DM Sans', 'Trebuchet MS', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body { margin: 0; color: var(--bone); background: var(--night); font-family: var(--sans); font-size: 13px; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }

.game { position: relative; width: 100%; height: 100%; min-height: 520px; isolation: isolate; overflow: hidden; background: #101a1b; }
.world { position: absolute; inset: 0; z-index: -3; }
.world canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.world-shade { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 12, 12, .24), transparent 49%, rgba(9, 12, 12, .16)), linear-gradient(0deg, rgba(7, 11, 11, .42), transparent 28%, transparent 76%, rgba(6, 9, 11, .2)); transition: opacity .8s, filter .8s; }
.grain { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.topbar, .bottom-bar { position: absolute; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(18px, 4vw, 58px); }
.topbar { top: 0; height: 74px; border-bottom: 1px solid #d5dac51c; background: linear-gradient(180deg, #0b100f8f, transparent); }
.wordmark { color: var(--bone); text-decoration: none; font: 600 24px var(--serif); }.wordmark span { color: var(--red); padding: 0 2px; }
.chapter { display: grid; gap: 4px; margin-right: auto; margin-left: 28px; }.chapter-name { font: 500 15px var(--serif); }
.eyebrow, .pulse-readout, .hud-button, .signal-list b, .keyboard-hint, .signature-count, .keycap, .fold-meta, .fold-feedback, .phase-readout, .dialog-art + small { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; }
.eyebrow { color: #b0b3a5; }
.top-controls { display: flex; align-items: center; gap: 13px; }
.pulse-readout { display: flex; align-items: center; gap: 6px; color: #bfc2b3; font-size: 10px; }.pulse-readout b { color: var(--blue); font-size: 12px; font-weight: 500; }.pulse-readout i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse-light 1.6s ease-in-out infinite; }
@keyframes pulse-light { 50% { opacity: .28; box-shadow: 0 0 3px var(--blue); } }
.hud-button { padding: 7px 10px; border: 1px solid #aeb8a442; background: #111a18ab; color: var(--blue); cursor: pointer; font-size: 8px; }.hud-button:hover { border-color: var(--blue); }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #c0c3b5; cursor: pointer; }.icon-button:hover { color: var(--blue); }.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.location-heading { position: absolute; z-index: 2; top: clamp(92px, 13vh, 132px); left: clamp(22px, 5vw, 74px); pointer-events: none; animation: arrive .8s ease both; }
.location-heading .eyebrow { color: var(--gold); }.location-heading h1 { max-width: min(660px, 67vw); margin: 9px 0 0; font: 500 clamp(27px, 3.4vw, 47px)/1.08 var(--serif); text-wrap: balance; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.field-panel { position: absolute; z-index: 3; top: 50%; right: clamp(18px, 4vw, 58px); width: min(294px, 28vw); transform: translateY(-42%); padding: 14px 12px 14px 16px; border: 1px solid #d5dac53f; border-left: 1px solid #78c8d06b; background: linear-gradient(135deg, rgba(14, 20, 17, .92), rgba(14, 20, 17, .78)); backdrop-filter: blur(9px); }
.panel-kicker { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid #d5dac52a; }.record-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 9px #c76149a0; }
.objective { padding: 18px 0 15px; border-bottom: 1px solid #d5dac52a; }.objective .eyebrow { color: var(--blue); }.objective p { margin: 8px 0 0; color: #d0d0c3; font: 13px/1.65 var(--serif); }
.signal-list { display: grid; gap: 0; padding: 5px 0 12px; }.signal-list > div { min-height: 31px; display: grid; grid-template-columns: 11px 1fr auto; align-items: center; gap: 7px; color: #aaaFA3; font-size: 10px; border-bottom: 1px solid #d5dac516; }.signal-pin { width: 5px; height: 5px; border: 1px solid var(--red); border-radius: 50%; }.signal-list > div.found .signal-pin { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 8px var(--blue); }.signal-list b { color: var(--blue); font-size: 9px; font-weight: 400; }
.selfhood-readout { padding: 13px 0 8px; }.selfhood-readout > div { display: flex; align-items: center; justify-content: space-between; }.selfhood-readout strong { color: var(--blue); font: 400 11px var(--mono); }.selfhood-readout p { margin: 7px 0 0; color: #a9ada2; font: 11px/1.5 var(--serif); }
.duress-readout { padding: 9px 0 12px; }.duress-label { display: flex; justify-content: space-between; align-items: center; }.duress-label strong { color: var(--gold); font: 400 10px var(--mono); }.duress-track { height: 3px; margin-top: 7px; background: #d9e2d428; }.duress-track span { display: block; width: 0; height: 100%; background: var(--red); transition: width .3s; }
.ground-button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid #d7b9784a; background: #171d19ad; color: var(--gold); text-align: left; cursor: pointer; }.ground-button:hover:not(:disabled) { border-color: var(--gold); background: #20261f; }.ground-button:disabled { opacity: .4; cursor: not-allowed; }.ground-button > span:first-child { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #d7b97866; font-size: 17px; }.ground-button b, .ground-button small { display: block; }.ground-button b { color: var(--bone); font-size: 10px; font-weight: 600; }.ground-button small { margin-top: 3px; color: #aaa99a; font-size: 9px; }.panel-note { margin: 12px 0 0; color: #8d968c; font: italic 11px/1.5 var(--serif); }

.reticle { position: absolute; top: 50%; left: 50%; z-index: 1; width: 14px; height: 14px; transform: translate(-50%, -50%); pointer-events: none; opacity: .68; }.reticle i { position: absolute; left: 6px; top: 0; width: 1px; height: 14px; background: #e3e3d6; }.reticle i + i { left: 0; top: 6px; width: 14px; height: 1px; }
.interact-prompt { position: absolute; z-index: 3; left: 50%; bottom: 112px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; transform: translateX(-50%); border: 1px solid #d9e1d23d; background: #101513d9; color: var(--bone); backdrop-filter: blur(7px); white-space: nowrap; font-size: 11px; }.keycap { width: 19px; height: 19px; display: grid; place-items: center; color: var(--blue); border: 1px solid #78c8d077; font-size: 10px; }
.subtitle { position: absolute; left: 50%; bottom: 80px; z-index: 3; width: min(540px, 78vw); padding: 10px 16px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #0e1413d9 15%, #0e1413d9 85%, transparent); color: #e3dfd1; text-align: center; font: 14px/1.55 var(--serif); text-shadow: 0 2px 6px #000; }

.bottom-bar { bottom: 0; min-height: 59px; border-top: 1px solid #d5dac524; background: linear-gradient(0deg, #0d1110b8, transparent); }.timeline-track { display: flex; align-items: center; gap: 12px; }.timeline-step { display: flex; gap: 6px; color: #777f76; font: 9px var(--mono); }.timeline-step b { font-weight: 400; }.timeline-step.active { color: var(--blue); }.timeline-step.complete { color: #c3c4b8; }.timeline-track > i { width: 22px; height: 1px; background: #6b7068; }.bottom-right { display: flex; align-items: center; gap: 22px; }.signature-count, .keyboard-hint { color: #91978d; font-size: 8px; }.signature-count { color: #adcac4; }.keyboard-hint i { padding: 0 3px; color: var(--red); font-style: normal; }

.overlay { position: absolute; z-index: 8; inset: 0; display: grid; place-items: center; padding: 24px; background: #070b0bd1; backdrop-filter: blur(8px); animation: arrive .22s ease both; }.dialog-panel { position: relative; width: min(510px, 100%); max-height: min(86vh, 760px); overflow: auto; padding: clamp(22px, 4vw, 34px); border: 1px solid #7e8b7954; background: linear-gradient(135deg, #202621f5, #151b18f7); box-shadow: 0 20px 70px #0008; }.dialog-panel h2 { margin: 9px 35px 12px 0; font: 500 clamp(25px, 3vw, 34px)/1.14 var(--serif); }.dialog-copy { margin: 0 0 17px; color: #c4c6b8; font: 13px/1.72 var(--serif); }.dialog-close { position: absolute; top: 15px; right: 17px; width: 30px; height: 30px; border: 0; background: transparent; color: #a5aea2; font-size: 24px; cursor: pointer; }.dialog-close:hover { color: var(--bone); }
.overlay.visitor-dialog { background: rgba(7, 11, 11, .58); backdrop-filter: blur(1px); }
.opening-overlay { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; padding: 24px; background: #080d0dcc; backdrop-filter: blur(5px); animation: arrive .32s ease both; }
.title-screen { position: absolute; z-index: 12; inset: 0; display: grid; grid-template-rows: auto 1fr auto 3px; padding: 34px clamp(22px, 5vw, 72px) 25px; background: rgba(5, 9, 9, .73); color: var(--bone); opacity: 1; transition: opacity .65s ease; }
.title-screen::after { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(163, 225, 219, .025) 4px); content: ''; pointer-events: none; }
.title-screen-leaving { opacity: 0; pointer-events: none; }
.title-header, .title-footer { display: flex; justify-content: space-between; color: #a4ada2; font: 9px var(--mono); letter-spacing: 1px; }
.title-center { align-self: center; justify-self: center; width: min(850px, 100%); display: grid; justify-items: center; text-align: center; perspective: 900px; }
.title-overline { color: #c3b48e; font: 9px var(--mono); }
.title-name { position: relative; isolation: isolate; margin: 23px 0 12px; color: #f5dfb3; background: linear-gradient(180deg, #fff5d5 0%, #e8c28b 34%, #c66d58 59%, #823b4c 78%, #4a2d4b 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px #f4d7a1; font: 800 72px/.98 'Orbitron', var(--sans); text-shadow: 0 1px 0 #ffe6b7, 0 2px 0 #d9a06e, 0 3px 0 #b66a58, 0 4px 0 #914754, 0 5px 0 #6c3550, 0 7px 0 #432943, 0 12px 24px #000b, 0 0 32px #65cbd15c; opacity: 0; transform: rotateX(10deg) rotateY(-6deg) translateY(9px) scale(.96); transform-style: preserve-3d; }
.title-subtitle { margin: 12px 0 0; color: var(--bone); font: 500 17px var(--mono); }
.title-tagline { margin: 42px 0 0; color: #b6b9aa; font: italic 15px var(--serif); opacity: 0; }
.title-rule { width: min(480px, 75vw); display: flex; align-items: center; gap: 12px; color: var(--blue); font: 9px var(--mono); }
.title-rule i { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #8cb8ad9c); }.title-rule i:last-child { transform: rotate(180deg); }
.title-screen-playing .title-name { animation: title-reveal 1.15s .2s ease-out forwards; }
.title-screen-playing .title-tagline { animation: title-tagline-reveal .8s 1.1s ease-out forwards; }
@keyframes title-reveal { to { opacity: 1; transform: rotateX(7deg) rotateY(-3deg) translateY(0) scale(1); } }
@keyframes title-tagline-reveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.title-progress { height: 2px; overflow: hidden; background: #d6dac51f; }.title-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold), var(--blue)); }
.title-screen-playing .title-progress i { animation: title-progress 5s linear forwards; }
@keyframes title-progress { to { width: 100%; } }
.opening-sheet { width: min(620px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: 30px 34px 25px; border: 1px solid #85917c70; background: linear-gradient(135deg, #202621f5, #141a17f7); box-shadow: 0 24px 80px #0009; }
.opening-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #d5dac52b; }
.opening-frequency { display: flex; align-items: center; gap: 7px; color: var(--blue); font: 10px var(--mono); letter-spacing: 1px; }.opening-frequency i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 9px var(--blue); }
.opening-sheet h2 { margin: 21px 0 9px; color: var(--bone); font: 500 30px/1.12 var(--serif); }.opening-copy { max-width: 62ch; margin: 0; color: #c0c3b6; font: 13px/1.65 var(--serif); }
.opening-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 20px 0 17px; }.opening-steps > div { min-width: 0; display: grid; grid-template-columns: 25px 1fr; gap: 3px 7px; align-content: start; padding: 10px; border: 1px solid #d5dac527; background: #1017148a; }.opening-steps > div > span { grid-row: span 2; color: var(--blue); font: 10px var(--mono); }.opening-steps b { font-size: 11px; font-weight: 600; }.opening-steps small { color: #a8aea2; font-size: 9px; line-height: 1.45; }
.opening-controls { padding: 11px 0 13px; border-top: 1px solid #d5dac527; }.opening-controls > .eyebrow { display: block; margin-bottom: 10px; }.opening-controls > div { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 7px; }.opening-controls kbd { min-width: 25px; padding: 5px 6px; border: 1px solid #67736a; background: #101613; color: var(--bone); text-align: center; font: 9px var(--mono); }.opening-controls > div > span { color: #aab0a5; font-size: 9px; }.mobile-instructions { display: none; }.mobile-instructions p { margin: 0; color: #aeb4a8; font: 11px/1.55 var(--sans); }.mobile-instructions b { color: var(--bone); font-weight: 600; }
.opening-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid #d5dac527; }.opening-bottom > span { color: var(--gold); font: italic 12px var(--serif); }.begin-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 15px; border: 1px solid #78c8d08a; background: #1d2b28; color: var(--bone); cursor: pointer; font: 10px var(--mono); letter-spacing: .8px; }.begin-button:hover { border-color: var(--blue); background: #253630; }.begin-button span { color: var(--blue); font-size: 16px; }
.dialog-actions { display: grid; gap: 8px; margin-top: 18px; }.dialog-action { min-height: 43px; padding: 10px 14px; border: 1px solid #78c8d078; background: #1d2b28; color: var(--bone); text-align: left; cursor: pointer; }.dialog-action:hover { border-color: var(--blue); background: #253630; }.dialog-action.secondary { border-color: #727a7040; background: transparent; color: #b8bbae; }.dialog-art { width: 100%; max-height: 250px; display: block; margin: 15px 0; object-fit: cover; filter: saturate(.72); }
.pattern-options, .lineage-options { display: grid; gap: 7px; margin: 15px 0; }.pattern-options button, .lineage-options button { min-height: 53px; padding: 9px 12px; border: 1px solid #536059; background: #141a17; text-align: left; cursor: pointer; }.pattern-options button:hover, .pattern-options button.selected, .lineage-options button:hover, .lineage-options button.selected { border-color: var(--blue); background: #1e2d29; }.pattern-options b, .pattern-options small, .lineage-options b, .lineage-options small { display: block; }.pattern-options b, .lineage-options b { font: 500 11px var(--mono); color: var(--bone); }.pattern-options small, .lineage-options small { margin-top: 5px; color: #a6ada2; font-size: 10px; }
.fold-panel { padding-top: 12px; }.fold-meta { display: flex; justify-content: space-between; color: #adb3a7; font-size: 8px; }.fold-meta b { color: var(--blue); font-size: 10px; font-weight: 400; }.fold-track { position: relative; height: 12px; margin: 17px 0 12px; border: 1px solid #47524a; background: #121916; }.fold-window { position: absolute; left: 44%; top: -1px; bottom: -1px; width: 12%; background: #78c8d044; border-inline: 1px solid var(--blue); }.fold-needle { position: absolute; top: -4px; bottom: -4px; left: 50%; width: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateX(-50%); }.fold-marks { display: grid; grid-template-columns: repeat(17, 1fr); gap: 3px; }.fold-marks i { height: 6px; background: #434a42; }.fold-marks i.done { background: var(--blue); box-shadow: 0 0 5px #78c8d077; }.fold-feedback { min-height: 16px; margin: 11px 0; color: #aeb5a9; font-size: 8px; letter-spacing: .3px; }
.phase-graphic { height: 96px; padding: 4px 0; }.phase-graphic svg { width: 100%; height: 100%; overflow: visible; }.phase-wave { fill: none; stroke-width: 2; }.first-wave { stroke: var(--blue); }.second-wave { stroke: var(--red); }.phase-panel label { display: block; margin: 8px 0 13px; color: #c6c7bb; font: 12px/1.5 var(--serif); }.phase-panel input { width: 100%; accent-color: var(--blue); }.phase-readout { display: flex; justify-content: space-between; color: #929b91; font-size: 8px; }.phase-readout strong { color: var(--blue); font-size: 10px; font-weight: 400; }.phase-panel > p { min-height: 18px; margin: 9px 0 0; color: #aeb4a8; font: 11px var(--serif); }
.zero-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 12px; max-height: 130px; overflow: auto; padding: 10px; border: 1px solid #d7dfd21f; background: #0e1411; color: var(--blue); font: 9px var(--mono); }
.toast { position: absolute; z-index: 9; top: 84px; left: 50%; max-width: min(500px, 90vw); padding: 10px 14px; transform: translate(-50%, -8px); border: 1px solid #687c6a; background: #141c18ed; color: var(--bone); font: 10px var(--mono); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.touch-controls { display: none; }.error-screen { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 30px; background: #101513; color: var(--bone); text-align: center; }.error-screen strong { font: 26px var(--serif); }.error-screen span { max-width: 48ch; color: var(--ash); line-height: 1.6; }

.field-active .world-shade { background: linear-gradient(90deg, #101b1a77, transparent 50%, #101b1a44), linear-gradient(0deg, #090e0dd9, transparent 30%, transparent 75%, #06111577); }
.network-active .world-shade { background: linear-gradient(90deg, #0b142077, transparent 50%, #0b142044), linear-gradient(0deg, #080d15dd, transparent 30%, transparent 75%, #06111b66); }
.selfhood-thin .world-shade { backdrop-filter: blur(1px) saturate(.55); background-color: #140f0b22; }
.selfhood-low .world-shade { backdrop-filter: blur(2px) saturate(.35); background-color: #170c0c44; }
.dialog-art { filter: none; }
.dialog-art.cover-art { width: auto; max-width: 100%; max-height: min(43vh, 360px); margin: 15px auto; object-fit: contain; }

@media (max-width: 900px) { .field-panel { width: 270px; right: 22px; }.location-heading { left: 28px; }.keyboard-hint { display: none; } }
@media (max-width: 680px) {
  .game { min-height: 100dvh; }.topbar { height: 62px; padding-inline: 15px; }.wordmark { font-size: 21px; }.chapter { margin-left: 12px; }.chapter-name { font-size: 13px; }.top-controls { gap: 5px; }.pulse-readout { font-size: 8px; gap: 4px; }.pulse-readout b { font-size: 10px; }.hud-button { padding: 6px 7px; font-size: 7px; }.icon-button { width: 27px; height: 30px; }.icon-button svg { width: 16px; }
  .location-heading { top: 78px; left: 17px; }.location-heading h1 { max-width: 85vw; font-size: clamp(24px, 7vw, 34px); }.location-heading .eyebrow { font-size: 8px; }
  .field-panel { top: auto; right: 12px; bottom: 82px; width: min(260px, 70vw); transform: none; padding: 10px 9px 10px 12px; border-left-color: #78c8d06b; background: rgba(14, 20, 17, .9); backdrop-filter: blur(8px); }.panel-kicker { padding-bottom: 8px; }.objective { padding: 10px 0 8px; }.objective p { margin-top: 5px; font-size: 11px; line-height: 1.45; }.signal-list { display: none; }.selfhood-readout { padding: 7px 0 5px; }.selfhood-readout p { margin-top: 4px; font-size: 10px; }.ground-button { min-height: 40px; padding: 5px 7px; }.ground-button > span:first-child { width: 21px; height: 21px; }.panel-note { display: none; }.duress-readout { padding: 6px 0; }
  .bottom-bar { min-height: 51px; padding-inline: 13px; }.timeline-track { gap: 7px; }.timeline-step { gap: 4px; font-size: 7px; }.timeline-track > i { width: 10px; }.signature-count { font-size: 7px; }.bottom-right { gap: 0; }.interact-prompt { bottom: 61px; font-size: 10px; }.subtitle { bottom: 56px; width: 94vw; font-size: 12px; }.toast { top: 70px; font-size: 9px; }
  .touch-controls { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 62px; display: flex; align-items: end; justify-content: space-between; pointer-events: none; }.dpad { width: 132px; height: 94px; display: grid; grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(2, 40px); gap: 4px; pointer-events: auto; }.dpad button { border: 1px solid #dbe1cf54; background: #101714aa; color: #d4d7c9; font-size: 16px; touch-action: none; }.dpad [data-key="w"] { grid-column: 2; }.dpad [data-key="a"] { grid-column: 1; grid-row: 2; }.dpad [data-key="s"] { grid-column: 2; grid-row: 2; }.dpad [data-key="d"] { grid-column: 3; grid-row: 2; }.touch-interact { min-height: 42px; padding: 0 13px; border: 1px solid #78c8d07a; background: #10201edb; color: var(--blue); font: 9px var(--mono); pointer-events: auto; touch-action: manipulation; }
  .interact-prompt { bottom: 168px; }.subtitle { bottom: 152px; }.field-panel { bottom: 164px; width: min(240px, 61vw); }.bottom-bar { bottom: 0; }.overlay { padding: 12px; }.dialog-panel { max-height: 90dvh; padding: 22px 18px; }.dialog-panel h2 { font-size: 26px; }.zero-list { grid-template-columns: repeat(2, 1fr); }
  .opening-overlay { align-items: end; padding: 10px 10px max(10px, env(safe-area-inset-bottom)); }.opening-sheet { width: min(560px, 100%); max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 19px 17px 15px; }.opening-topline { padding-bottom: 9px; }.opening-sheet h2 { margin: 14px 0 7px; font-size: 25px; }.opening-copy { font-size: 11px; line-height: 1.5; }.opening-steps { grid-template-columns: 1fr; gap: 5px; margin: 13px 0 10px; }.opening-steps > div { grid-template-columns: 24px 68px 1fr; align-items: center; gap: 7px; padding: 7px 9px; }.opening-steps > div > span { grid-row: auto; }.opening-steps small { font-size: 9px; }.desktop-instructions { display: none; }.mobile-instructions { display: block; }.opening-controls { padding: 9px 0 10px; }.opening-controls > .eyebrow { margin-bottom: 6px; }.opening-bottom { padding-top: 10px; }.opening-bottom > span { font-size: 11px; }.begin-button { min-height: 42px; padding-inline: 12px; font-size: 9px; }
  .title-screen { padding: max(20px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)) 14px; }.title-header, .title-footer { font-size: 8px; }.title-name { margin-top: 17px; font-size: 36px; -webkit-text-stroke-width: .7px; text-shadow: 0 1px 0 #ffe6b7, 0 2px 0 #d9a06e, 0 3px 0 #b66a58, 0 4px 0 #914754, 0 7px 15px #000b, 0 0 22px #65cbd15c; }.title-overline { max-width: 34ch; font-size: 8px; line-height: 1.6; }.title-subtitle { font-size: 14px; }.title-tagline { max-width: 30ch; margin-top: 31px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }