:root {
  color-scheme: dark;
  --night: #09071a; --panel: #15102e; --ink: #faf5ef;
  --muted: #b7b4c9; --pink: #fa4bbd; --lime: #c6ff3d;
  --aqua: #54d8c9; --warm: #ffc77c;
  --line: rgba(198,255,61,.35);
  --safe-top: max(10px, env(safe-area-inset-top, 0px));
  --safe-right: max(12px, env(safe-area-inset-right, 0px));
  --safe-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  --safe-left: max(12px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: var(--night); color: var(--ink); }
html { overscroll-behavior: none; }
body { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.hidden { display: none !important; }
#game { position: fixed; inset: 0; isolation: isolate; overflow: hidden; background: var(--night); user-select: none; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; touch-action: none; }
.grain { position: absolute; inset: 0; z-index: 15; pointer-events: none; opacity: .18; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.28) 3px 4px); }
.screen { position: absolute; inset: 0; z-index: 20; }
.screen-menu { overflow: hidden; display: flex; flex-direction: column; padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); align-items: center; justify-content: space-between; text-align: center; background: radial-gradient(ellipse at 50% 70%, #302046 0%, #130f2a 39%, #070719 75%); }
.menu-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.menu-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 27%; opacity: .33;
  background: repeating-linear-gradient(90deg,#100d24 0 43px,#21152e 43px 61px,#110d27 61px 100px); box-shadow: 0 -18px 80px #b63092; }
.menu-scene::before { content: "D S K"; position: absolute; right: 6%; bottom: 23%; color: #c6ff3d2a; font-size: clamp(42px, 12vw, 190px); font-weight: 1000; letter-spacing: -.14em; transform: rotate(-7deg); text-shadow: 4px 4px 1px #ff2bd622; }
.menu-tower { position: absolute; bottom: 21%; left: 19%; height: 45%; width: 7px; background: #161126; box-shadow: 0 0 28px #ff4cc244; }
.menu-tower::before { content: ""; position: absolute; top: 22%; left: -14px; width: 34px; height: 34px; border-radius: 50%; background: #1a1228; }
.menu-tower::after { content: ""; position: absolute; top: -45px; left: 2px; width: 3px; height: 48px; background: #312143; }
.ring { position: absolute; width: 50vw; height: 50vw; max-width: 630px; max-height: 630px; border: 2px solid #ee46b955; border-radius: 50%;
  left: 50%; top: 49%; transform: translate(-50%,-50%) rotate(-12deg) scaleY(.54); box-shadow: 0 0 75px #f349a922, inset 0 0 75px #c341ca22; animation: breathe 7s ease-in-out infinite; }
.ring2 { width: 33vw; height: 33vw; opacity: .65; animation-delay: -3s; border-style: dashed; }
.floating-star { position: absolute; color: var(--lime); font-size: 25px; opacity: .6; animation: flicker 4s infinite; }
.s1 { left: 11%; top: 17%; } .s2 { right: 13%; top: 26%; animation-delay: 2s; }
.menu-top, .menu-bottom { width: min(100%, 1180px); display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--lime); font-weight: 900; font-size: clamp(8px, 1vw, 11px); letter-spacing: .17em; }
.menu-top .line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--lime)); }
.menu-top .line:last-child { transform: scaleX(-1); }
.menu-bottom { color: #7f83a3; font-size: 9px; border-top: 1px solid #343148; padding-top: 11px; }
.menu-main { width: min(100%, 1020px); position: relative; display: flex; flex-direction: column; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--lime); font-size: clamp(9px, 1.25vw, 13px); font-weight: 900; letter-spacing: .16em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.menu-main h1 { font-size: clamp(37px, 8vw, 105px); font-weight: 1000; line-height: .99; letter-spacing: -.075em; font-stretch: condensed;
  margin: 0; text-transform: uppercase; color: var(--pink); text-shadow: 4px 5px 0 #371344, 0 0 32px #f34fbf85; }
.menu-main h1 span { display: block; color: #ffc278; font-size: .91em; text-shadow: 3px 5px 0 #5b2441, 0 0 32px #d9697885; }
.menu-sub { letter-spacing: .27em; color: var(--lime); border: 1px solid #c6ff3d66; padding: 10px 17px; font-size: clamp(9px, 1.6vw, 16px); margin: 22px 0 9px; background: #0a101ac7; }
.menu-copy { color: #d1cce2; line-height: 1.6; font-size: clamp(12px, 1.65vw, 16px); margin: 5px 0 22px; }
.music-credit { color: #f6c2f1; font-size: clamp(8px, 1vw, 11px); letter-spacing: .12em; margin: -10px 0 14px; opacity: .85; }
.sound-test { color: #09071a !important; background: var(--lime) !important; }
.sound-status { margin: 2px 0 0; color: var(--aqua); font-size: clamp(9px,1.2vw,12px); font-weight: 800; letter-spacing: .05em; }
#music-track, #menu-track { display: none; }
.menu-buttons { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.btn-main { display: inline-flex; gap: 22px; align-items: center; justify-content: center; border: 2px solid white; background: var(--pink); color: #11051f;
  font-weight: 1000; font-size: clamp(14px, 2vw, 18px); padding: 15px 29px; min-height: 50px; box-shadow: 5px 5px 0 #392345, 0 0 30px #fb4db45e;
  text-transform: uppercase; transition: transform .13s, box-shadow .13s; }
.btn-main:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #392345, 0 0 35px #fb4db480; }
.btn-main:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #392345; }
.btn-ghost { background: #0d0d26bd; color: var(--lime); border: 1px solid var(--lime); min-height: 42px; padding: 10px 14px; font-size: 11px; font-weight: 900; letter-spacing: .07em; }
.btn-ghost:hover { background: #2b3a26; }
.menu-secondary { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.modal-back { display: grid; place-items: center; padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); background: rgba(6,6,22,.86); overflow: auto; }
.panel { background: linear-gradient(145deg, #1a163a 0%, #0c0b20 100%); border: 2px solid var(--pink); box-shadow: 6px 6px 0 #30404b, 0 0 45px #ef4bbb24; padding: clamp(17px, 3vw, 30px); max-height: min(90dvh, 700px); overflow: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; width: min(100%, 600px); }
.panel-kicker { font-size: 10px; color: var(--lime); letter-spacing: .15em; font-weight: 900; margin-bottom: 12px; }
.panel h2 { margin: 2px 0 12px; font-size: clamp(28px, 5vw, 54px); color: var(--pink); line-height: 1.05; letter-spacing: -.055em; text-transform: uppercase; }
.panel h3 { margin: 18px 0 9px; font-size: 12px; color: var(--lime); letter-spacing: .15em; }
.subtitle { color: var(--warm); font-weight: 900; font-size: clamp(13px, 2vw, 18px); margin: 9px 0 19px; }
.story-text { color: #e7e1ee; font-family: ui-monospace, monospace; white-space: pre-line; line-height: 1.55; font-size: clamp(14px, 1.7vw, 18px); margin-bottom: 19px; }
.story-panel { text-align: center; max-width: 680px; }
.story-panel .btn-main { margin-top: 9px; }
.dialog-screen { display: flex; align-items: flex-end; justify-content: center; padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); background: linear-gradient(transparent, #060719db 30%); }
.dialogue-panel { max-width: 900px; padding: 18px 20px; }
.dialogue-panel h2 { font-size: clamp(18px, 3vw, 25px); color: var(--warm); margin: 0; }
.dialogue-panel .story-text { margin: 11px 0; }
.voice-preview { min-height: 34px; padding: 7px 10px; margin-bottom: 9px; color: var(--aqua); border-color: var(--aqua); }
.dialog-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.icon-button { width: 38px; height: 38px; flex: 0 0 auto; background: #0c0c26; border: 1px solid var(--lime); color: var(--lime); font-size: 29px; line-height: 1; }
.choices { display: grid; gap: 7px; max-height: min(35dvh, 270px); overflow: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.choice { background: #24213e; border: 1px solid #554577; color: white; text-align: left; padding: 10px 13px; font-size: 13px; min-height: 43px; line-height: 1.35; }
.choice span { color: var(--lime); margin-right: 7px; }
.choice:hover:not(:disabled) { border-color: var(--lime); background: #2c3554; }
.choice:disabled { opacity: .43; cursor: not-allowed; }
.choice small { color: var(--warm); }
.settings-panel { max-width: 460px; }
.settings-panel h2 { text-align: center; }
.stack { display: grid; gap: 9px; }
.btn-setting { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 42px; background: #18132e; color: #e8e9f1; border: 1px solid #554e72; padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 900; }
.btn-setting span { color: var(--lime); }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallets div { background: #21203b; border: 1px solid #655d83; padding: 10px; font-size: 11px; color: #beb6d2; }
.wallets strong { display: block; margin-top: 6px; font-size: 18px; color: var(--warm); }
.guide-panel { margin: 13px 0; padding: 12px 13px; border: 1px solid #74bdb1a8; background: linear-gradient(135deg,#102934df,#19122e); }
.guide-kicker { color: var(--aqua); font-size: 9px; font-weight: 900; letter-spacing: .09em; margin-bottom: 9px; }
.guide-panel strong { display: block; color: var(--lime); font-size: 13px; }
.guide-panel p { color: #f2edf3; line-height: 1.5; font-size: 13px; margin: 8px 0 12px; }
.guide-panel .btn-ghost { min-height: 44px; width: 100%; }
.intro-guide-note { color: var(--aqua); font-size: 12px; line-height: 1.4; margin: 14px 0 4px; }
.inventory-panel ul { list-style: none; padding: 0; margin: 0; color: #f2edf3; line-height: 1.55; font-size: 13px; }
.inventory-panel li::before { content: "▸ "; color: var(--pink); }
.controls-grid { display: grid; grid-template-columns: minmax(125px, 1fr) 1.5fr; gap: 12px; font-size: 12px; line-height: 1.4; }
.controls-grid strong { color: var(--lime); }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.victory-panel { text-align: center; }
.fragment { color: var(--lime); padding: 15px; border: 1px dashed var(--lime); background: #18202b; margin: 16px auto 22px; font-size: 13px; }
.hud { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding: var(--safe-top) var(--safe-right) 0 var(--safe-left); display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; }
.hud-people { display: flex; gap: 6px; }
.person { min-width: 140px; background: #080b22c9; border: 1px solid #525577; padding: 8px 10px; display: grid; gap: 4px; font-size: 11px; box-shadow: inset 0 1px 0 #ffffff12; }
.person[data-active="true"] { border-color: var(--pink); box-shadow: 0 0 15px #fa4bbd55, inset 0 1px 0 #ffffff26; }
.person-label { color: white; font-size: 10px; display: flex; align-items: center; gap: 5px; font-weight: 1000; }
.avatar { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 3px; }
.avatar.rk { background: #dd465e; } .avatar.ly { background: #46a9a2; }
.money { color: var(--warm); font-size: 13px; font-weight: bold; }
.person small { font-size: 8px; color: #c1c7d5; }
.meter { height: 3px; background: #434462; display: block; }
.meter span { display: block; width: 100%; height: 100%; background: var(--lime); }
.hud-actions { display: flex; gap: 6px; pointer-events: auto; }
.hud-button { background: #080b22df; color: var(--lime); border: 1px solid #626887; min-height: 39px; padding: 8px 12px; font-size: 11px; font-weight: 900; }
.fold-button { border-color: var(--aqua); color: var(--aqua); font-size: 18px; min-width: 40px; }
.fold-button[data-active="true"] { background: #147a8bb8; color: white; box-shadow: 0 0 20px #54d8c9aa; }
.temporal-button { color: var(--warm); border-color: #aa628a; }
.temporal-button[data-ready="true"] { color: white; background: #813984d9; box-shadow: 0 0 14px #fa4bbd66; }
.quest { z-index: 4; position: absolute; top: calc(var(--safe-top) + 85px); left: var(--safe-left); max-width: 70%; background: #080b22ad; color: var(--warm); font-size: 10px; padding: 7px 9px; pointer-events: none; }
.hint { z-index: 5; position: absolute; top: calc(var(--safe-top) + 104px); left: 50%; transform: translateX(-50%); max-width: min(620px, 90vw); color: var(--lime); background: #0b1028ed; border: 1px solid #a5b86e; text-align: center; font-size: 11px; line-height: 1.4; padding: 9px 11px; pointer-events: none; }
.touchpad { z-index: 12; position: absolute; bottom: 0; left: 0; right: 0; padding: 0 var(--safe-right) var(--safe-bottom) var(--safe-left); display: flex; justify-content: space-between; align-items: end; gap: 9px; pointer-events: none; }
.touch-left, .touch-right { display: flex; gap: 9px; pointer-events: auto; }
.touch-right { display: grid; grid-template-columns: repeat(2, 60px); gap: 6px; }
.touchpad button { min-width: 60px; width: 60px; height: 60px; border-radius: 100px; border: 2px solid var(--pink);
  color: white; background: #17122abf; font-size: 20px; font-weight: 1000; touch-action: none; user-select: none; }
.touchpad button.small { border-color: var(--lime); font-size: 15px; }
.touchpad button.accent { font-size: 10px; border-color: var(--aqua); }
.touchpad button.jump { font-size: 27px; }
.touchpad button.temporal { grid-column: 1 / -1; width: auto; height: 39px; min-height: 39px; font-size: 12px; color: var(--warm); border-color: var(--warm); }
.touchpad button.temporal[data-ready="true"] { background: #8f3d9eaa; color: white; box-shadow: 0 0 19px #fa4bbd77; }
.touchpad button[data-down="true"] { background: var(--pink); color: #160521; transform: scale(.94); }
.touchpad button[data-ready="false"] { opacity: .65; }
.touchpad button[data-available="false"] { border-color: #4c4d69; color: #9e9bb6; opacity: .57; }
.touchpad button[data-available="true"] { color: #101024; background: var(--lime); border-color: white; box-shadow: 0 0 16px #c6ff3d77; animation: interact-ready 1.4s ease-in-out infinite; }
@keyframes interact-ready { 50% { box-shadow: 0 0 24px #c6ff3dbb; } }
.touchpad button.temporal { height: 45px; min-height: 45px; }
.portrait-notice { z-index: 25; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px; background: #07071be8; }
.portrait-icon { font-size: 70px; color: var(--lime); }
.portrait-notice h2 { font-size: 24px; }
.portrait-notice p { color: #d2cadf; line-height: 1.45; }
@media (max-height: 480px) and (orientation: landscape) {
  .menu-main h1 { font-size: clamp(32px, 7vw, 68px); }
  .menu-sub { margin: 9px 0 6px; padding: 5px 9px; }
  .menu-copy { margin: 5px 0 11px; font-size: 12px; line-height: 1.25; }
  .music-credit { font-size: 8px; margin: -3px 0 8px; letter-spacing: .035em; }
  .eyebrow { margin-bottom: 4px; font-size: 9px; }
  .menu-buttons { gap: 6px; }
  .menu-top, .menu-bottom { font-size: 8px; }
  .btn-main { min-height: 37px; padding: 8px 15px; font-size: 12px; }
  .btn-ghost { min-height: 31px; padding: 6px 10px; font-size: 9px; }
  .person { min-width: 112px; padding: 4px 6px; gap: 3px; }
  .person-label { font-size: 8px; }
  .money { font-size: 11px; }
  .person small { font-size: 7px; }
  .quest { top: calc(var(--safe-top) + 67px); }
  .hint { top: calc(var(--safe-top) + 74px); max-width: 45vw; }
  .touchpad button { width: 54px; height: 54px; min-width: 54px; }
  .touch-right { grid-template-columns: repeat(2, 54px); }
  .dialogue-panel { padding: 10px 14px; }
  .dialogue-panel .story-text { font-size: 13px; line-height: 1.25; margin: 6px 0; }
  .choices { max-height: 33dvh; }
  .choice { padding: 6px 10px; min-height: 32px; font-size: 12px; }
  .settings-panel, .inventory-panel, .help-panel { max-height: 94dvh; }
}
@media (max-width: 560px) and (orientation: portrait) {
  .menu-main h1 { font-size: clamp(38px, 10vw, 66px); }
  .menu-bottom { flex-wrap: wrap; justify-content: center; font-size: 7px; }
  .menu-copy { font-size: 12px; }
  .person { min-width: 100px; padding: 5px; }
  .person-label { font-size: 8px; }
  .money { font-size: 11px; }
  .person small { font-size: 7px; }
  .hud-button { min-height: 33px; padding: 5px 7px; }
  .hud-actions { display: grid; grid-template-columns: repeat(2, minmax(30px, 1fr)); gap: 3px; }
  .fold-button { min-width: 30px; }
  .touchpad button { width: 52px; height: 52px; min-width: 52px; }
  .touch-right { grid-template-columns: repeat(2, 52px); }
  .touch-left { gap: 5px; }
  .hint { top: calc(var(--safe-top) + 108px); }
  .dialogue-panel { max-height: 60dvh; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.reduced *, .reduced *::before, .reduced *::after { animation: none !important; transition: none !important; }
@keyframes flicker { 40%, 47% { opacity: .28; } 44%, 49% { opacity: .9; } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) rotate(12deg) scaleY(.66); opacity: .37; } }

/* V2.8 / BERLIN XEROX: editorial type, street-poster scars, and a crooked zine grid.
   All marks are original vector/CSS work; text is game fiction, not quoted lyrics. */
:root { --paper:#f2e5c9; --tar:#101018; --acid:#dcff61; --rust:#ff684d; --font-display: Impact, "Arial Narrow", "Helvetica Neue Condensed", "Arial Black", sans-serif; --font-copy: "Trebuchet MS", "Avenir Next", Arial, sans-serif; }
body { font-family:var(--font-copy); font-weight:500; }
.screen-menu { background: radial-gradient(ellipse at 66% 52%,#412430 0%,#1c1726 39%,#101019 76%); text-align:left; align-items:stretch; }
.screen-menu::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.19; background-image:repeating-linear-gradient(93deg,transparent 0 37px,#f8dfab0a 38px 39px),repeating-linear-gradient(0deg,#fff0 0 13px,#fff3 14px 14.5px); mix-blend-mode:screen; }
.screen-menu::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(125deg,transparent 50%,#ff744222 69%,transparent 81%); }
.menu-scene::after { background:linear-gradient(0deg,#110f18 0%,#110f1800 70%),repeating-linear-gradient(90deg,#0f0e1b 0 54px,#24202c 54px 77px,#13111d 77px 122px); opacity:.85; box-shadow:0 -24px 85px #fd64341a; height:29%; }
.menu-scene::before { content:""; }
.menu-top,.menu-bottom { align-self:center; z-index:2; font-family:var(--font-copy); letter-spacing:.11em; font-weight:900; color:var(--paper); }
.menu-bottom { border-top:1px solid #f2e5c947; color:#a9a19e; }
.menu-top .line { background:linear-gradient(90deg,transparent,var(--rust)); }
.menu-main { align-items:flex-start; width:min(100%,1050px); margin:auto; padding:8px 0; isolation:isolate; }
.eyebrow { font-family:var(--font-copy); color:var(--paper); font-weight:900; background:#d34934; transform:rotate(-1.2deg); padding:5px 12px; letter-spacing:.09em; box-shadow:5px 4px 0 #080810; }
.title-composition { position:relative; margin:7px 0 0; max-width:100%; }
.title-composition h1 { color:var(--paper); font-family:var(--font-display); font-size:clamp(51px,10.35vw,152px); line-height:.79; letter-spacing:-.042em; font-stretch:condensed; transform:skewY(-3deg); text-shadow:-3px 4px 0 #e95542,6px 7px 0 #080810,10px 11px 0 #ce674324; filter:contrast(1.07); }
.title-composition h1 span { color:var(--rust); font-size:.94em; text-shadow:3px 3px 0 #101018,-3px -3px 0 #f2e5c9,8px 8px 0 #101018; }
.title-overprint { position:absolute; z-index:2; right:1%; top:-20px; font-size:clamp(9px,1.05vw,13px); font-weight:900; transform:rotate(5deg); color:var(--acid); background:#17191b; padding:6px 9px; letter-spacing:.05em; }
.title-sticker { position:absolute; z-index:3; right:-7%; bottom:-30px; font-family:var(--font-display); font-size:clamp(12px,1.6vw,24px); line-height:.98; transform:rotate(12deg); color:#0f1418; background:var(--acid); padding:14px 15px; border:2px solid #101015; box-shadow:6px 6px 0 #090910; text-align:center; }
.menu-sub { border:0; background:var(--paper); color:var(--tar); transform:rotate(-1.3deg); font-family:var(--font-display); font-size:clamp(18px,3.5vw,39px); letter-spacing:.025em; padding:3px 11px; margin:27px 0 12px; box-shadow:5px 5px 0 #0a0a12; }
.menu-sub em { color:#c13729; font-family:Georgia,serif; text-transform:lowercase; font-weight:400; letter-spacing:-.08em; }
.menu-copy { color:var(--paper); font-size:clamp(13px,1.6vw,19px); line-height:1.4; letter-spacing:-.025em; margin:7px 0 15px; font-weight:600; }
.menu-copy i { font-family:Georgia,serif; color:var(--acid); font-weight:400; }
.music-credit { color:#d2bca9; font-weight:900; letter-spacing:.035em; margin:0 0 16px; }
.menu-buttons { align-items:flex-start; gap:10px; }
.btn-main { border:0; background:var(--acid); color:#11141a; font-family:var(--font-display); font-weight:900; letter-spacing:.04em; box-shadow:5px 5px 0 #d54d39,9px 9px 0 #06060b; transform:skewX(-6deg); font-size:clamp(18px,2.6vw,28px); padding:11px 27px; min-height:50px; }
.btn-main:hover { transform:translate(-2px,-2px) skewX(-6deg); box-shadow:7px 7px 0 #d54d39,12px 12px 0 #06060b; }
.btn-main:active { transform:translate(3px,3px) skewX(-6deg); box-shadow:2px 2px 0 #d54d39; }
.btn-ghost { border:1px solid #ece0c74f; color:var(--paper); background:#17141bdc; font-family:var(--font-copy); letter-spacing:.02em; font-weight:800; }
.btn-ghost:hover { background:#49302c; border-color:var(--rust); }
.sound-test { background:var(--paper) !important; color:#14131d !important; }
.sound-status { color:var(--acid); letter-spacing:.02em; }
.spray-tag { position:absolute; left:8%; bottom:14%; font-family:var(--font-display); font-style:italic; font-size:clamp(56px,12vw,173px); transform:rotate(-13deg) skew(-12deg); color:#ff5136; opacity:.57; letter-spacing:-.075em; text-shadow:2px 4px 0 #080813,5px -3px 0 #f3e6c933; }
.spray-tag::after { content:"///"; display:block; position:absolute; font-size:.35em; color:var(--acid); top:65%; left:50%; letter-spacing:-.22em; }
.flyer { position:absolute; display:block; font-family:var(--font-display); line-height:.93; text-align:left; box-shadow:5px 7px 0 #08070f; z-index:1; opacity:.77; }
.flyer-one { top:20%; right:4%; transform:rotate(13deg); background:#d9c7ae; color:#20141c; padding:13px 19px; font-size:clamp(16px,3.2vw,43px); }
.flyer-two { left:4%; top:23%; transform:rotate(-9deg); border:3px solid #ff684d; color:#ff684d; padding:10px 15px; font-size:clamp(13px,2vw,28px); }
.ring { border-color:#df563e4f; transform:translate(-50%,-50%) rotate(-19deg) scaleY(.53); box-shadow:0 0 65px #ff573927; }
.ring2 { border-color:#dbff6190; }
.floating-star { color:var(--paper); }
.panel { position:relative; color:var(--tar); background:linear-gradient(125deg,#f0e2c9 0%,#cbbfae 100%); border:0; border-left:8px solid #f76449; border-radius:0; box-shadow:8px 8px 0 #0b0b11,12px 12px 0 #d34c36; transform:rotate(-.35deg); }
.panel::before { content:"DSK / NACHTPROTOKOLL"; display:block; width:max-content; max-width:100%; margin:-11px 0 12px; padding:4px 9px; background:var(--tar); color:var(--acid); font-size:10px; font-weight:900; letter-spacing:.09em; transform:rotate(-1deg); }
.panel-kicker { color:#a22f2c; font-family:var(--font-copy); letter-spacing:.1em; font-weight:900; }
.panel h2 { font-family:var(--font-display); color:#16131a; font-weight:900; letter-spacing:-.018em; transform:skew(-2deg); }
.panel h3 { color:#a12f2b; }
.subtitle { color:#a1322b; }
.story-text { color:#25202a; font-family:var(--font-copy); font-weight:600; line-height:1.5; letter-spacing:-.01em; }
.dialog-screen { background:linear-gradient(transparent,#09070dc9 26%); }
.dialogue-panel { border-left-color:var(--acid); max-width:860px; }
.dialogue-panel::before { content:"STIMMEN AUS EINER KRUMMEN NACHT"; }
.dialogue-panel h2 { color:#11151a; font-size:clamp(22px,3.7vw,38px); }
.choice { background:#f7ecdb; border:1px solid #b9a796; border-left:5px solid #db563e; color:#17131d; font-family:var(--font-copy); font-size:clamp(13px,1.6vw,16px); font-weight:750; }
.choice span { color:#bf322b; font-family:var(--font-display); font-size:18px; }
.choice:hover:not(:disabled) { background:#e0ff9a; border-color:#1f2518; }
.choice small { color:#8d332b; }
.icon-button { background:#16121b; border:0; color:var(--paper); }
.voice-preview { background:#16121b; color:var(--acid); border-color:#16121b; }
.btn-setting { background:#e3d6c3; border:1px solid #b5a18e; color:#1a151d; }
.btn-setting span { color:#9c392d; }
.wallets div { background:#ded2bb; color:#34303d; border-color:#aea08e; }
.wallets strong { color:#9c3329; }
.guide-panel { background:#d2d4bf; border-color:#9da286; }
.guide-kicker,.guide-panel strong { color:#802e28; }
.guide-panel p { color:#24232c; }
.inventory-panel ul { color:#221d27; }
.inventory-panel li::before { color:#b43d31; }
.controls-grid strong { color:#9b342a; }
.note { color:#554c4c; }
.intro-guide-note { color:#6d302a; font-weight:800; }
.portrait-notice p { color:#29232a; }
.fragment { background:#e2dbc6; color:#27201c; border-color:#9d4d37; }
.hud-people { gap:4px; }
.person { background:#15131bea; border:0; border-left:3px solid #d74b3a; box-shadow:4px 4px 0 #0504088c; font-family:var(--font-copy); }
.person[data-active="true"] { border-color:var(--acid); box-shadow:4px 4px 0 #09080b,0 0 14px #ed645144; }
.person-label { letter-spacing:.03em; }
.hud-button { border:1px solid #f2e5c94d; background:#15131bdc; color:var(--paper); }
.fold-button { color:var(--acid); border-color:var(--acid); }
.quest { background:#e5d8ccee; color:#26202a; border-left:5px solid #b93d30; box-shadow:4px 4px 0 #09090d; font-weight:800; font-family:var(--font-copy); }
.hint { background:#19151fe9; color:var(--paper); border:0; border-left:4px solid var(--acid); font-size:12px; }
.touchpad button { background:#201b24dc; border:2px solid var(--paper); box-shadow:3px 4px 0 #09070d; font-family:var(--font-copy); }
.touchpad button.small { border-color:var(--acid); }
.touchpad button.jump { background:var(--rust); border-color:var(--paper); color:#150c0c; }
.touchpad button[data-available="true"] { background:var(--acid); }
@media (max-height:480px) and (orientation:landscape) {
  .title-composition h1 { font-size:clamp(43px,8.8vw,86px); }
  .title-overprint { top:-14px; font-size:8px; }
  .title-sticker { right:-13%; bottom:-12px; padding:7px 10px; font-size:12px; }
  .menu-sub { margin:12px 0 4px; padding:2px 8px; font-size:18px; }
  .menu-copy { font-size:12px; line-height:1.2; margin:3px 0 5px; }
  .music-credit { margin:0 0 5px; font-size:8px; }
  .eyebrow { margin:0 0 5px; font-size:8px; }
  .menu-main { padding:0 0 2px; }
  .menu-buttons { gap:5px; }
  .menu-buttons .btn-main { min-height:36px; padding:4px 12px; font-size:17px; }
  .flyer-one { top:16%; right:5%; }
  .flyer-two { top:18%; left:3%; }
  .dialogue-panel .story-text { color:#211a20; }
}
@media (max-width:560px) and (orientation:portrait) {
  .title-composition h1 { font-size:clamp(47px,12vw,70px); }
  .title-sticker { right:-5%; bottom:-28px; padding:7px; font-size:13px; }
  .title-overprint { right:-2%; top:-21px; font-size:8px; }
  .menu-sub { margin-top:38px; font-size:clamp(17px,5vw,28px); }
  .flyer-one { top:13%; right:6%; font-size:20px; }
  .flyer-two { left:5%; top:18%; font-size:13px; }
  .spray-tag { bottom:10%; left:9%; }
  .menu-main { padding:12px 0; }
  .menu-copy { font-size:13px; }
  .panel { transform:none; }
}
