/* Runtime effects stay local. No video streams, API keys or external account dependencies. */
.console-game{--time-accent:#e4d0a2}.console-game[data-phase="sunset"]{--time-accent:#edb08d}.console-game[data-phase="night"]{--time-accent:#bbc3e4}.hud-date strong{color:var(--time-accent);transition:color 1.2s}.hud-date small{white-space:nowrap}.console-game .game-hud{border-bottom-color:var(--time-accent)}
.modal{animation:windowArrive .18s ease-out both}.modal button:active:not(:disabled),.command-dock button:active{transform:translateY(1px);box-shadow:inset 1px 2px 3px #061b2277}.date-standing{transform-origin:50% 95%;animation:portraitBreath 4.8s ease-in-out infinite;z-index:2}.date-standing.is-blinking{background-position:25% 0!important}.date-lighting{position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(118deg,#fff1c01a 0%,transparent 42%,#2a2a4425 100%)}.retro-date[data-phase="sunset"] .date-lighting{background:linear-gradient(118deg,#ffcc8744,transparent 48%,#72536422)}.retro-date[data-phase="night"] .date-lighting{background:linear-gradient(110deg,#e8c59b18,transparent 42%,#24275055)}.date-location,.route-hud{z-index:4}
.story-scene{background:radial-gradient(ellipse at 85% 0,#735b4322,transparent 65%),#122c29}.story-fallout{background:radial-gradient(ellipse at 80% 0,#9a59412b,transparent 70%),#18282a}.story-scene-mark{font:11px var(--mono);color:#c6b98f;letter-spacing:2px;border-bottom:1px solid #8c88534d;padding:0 0 18px;margin-bottom:22px}.story-scene>.dialogue{line-height:2;font-size:16px;white-space:pre-wrap;margin:12px 0 28px}.story-choices{display:grid;gap:12px}.story-choices button{text-align:left;display:grid;gap:10px;padding:15px}.story-choices b{color:#f1ddae;font-size:13px;line-height:1.7}.story-choices span{font-size:12px;line-height:1.9;color:#bfc9b6}.story-choices .risk-choice{border-color:#a37b60;background:#453d3033}.story-choices .risk-choice b{color:#e9b398}.story-tools{display:flex;gap:8px;margin-top:24px}.story-tools button{font-size:11px;padding:8px 11px}.story-log{max-height:42vh;overflow:auto;margin:18px 0}.story-log p{font-size:12px;line-height:1.9;padding-bottom:12px;border-bottom:1px solid #b8b08022}.story-notice{color:#e7bb8b!important}.story-aftermath p{line-height:2}.result-stage .success{animation:resultStamp .35s ease-out both}
.holiday-line{border-left:3px solid #d7b083;padding:10px 14px;background:#47382960;color:#f3d6b3;font-size:13px;line-height:1.85}.holiday-badge{font-size:10px;color:#f4cba1;display:inline-block;margin:5px 0}.ending-screen:has(.performance-panel){overflow-y:auto;justify-content:flex-start;padding:35px 20px 60px;gap:14px}.ending-screen .performance-panel{position:relative;z-index:3;width:min(760px,100%);padding:20px;background:#112728ed;border:2px solid #b8ab78;box-shadow:5px 5px #05191877}.performance-panel h2{font-size:16px;color:#ead8a4;margin:0 0 18px}.performance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.performance-grid div{padding:12px 8px;background:#2d483b88;border:1px solid #75846655}.performance-grid small{display:block;font-size:10px;color:#c1c8b0;margin-bottom:9px}.performance-grid strong{font-size:18px;color:#f3dfb2}.performance-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px;font-size:12px}.performance-stats div{padding:9px;background:#0b201c}.performance-stats small{font-size:10px;color:#b3c79e}.performance-note{font-size:11px!important;line-height:1.9;margin:16px auto 0}.ending-screen .ending-title{font-size:20px;letter-spacing:2px;color:#edcc9a}.ending-screen .credits{position:relative;right:auto;top:auto;max-height:150px;overflow:auto;animation:none;font-size:11px;line-height:1.9}
@keyframes windowArrive{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes portraitBreath{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(-1px) scaleY(1.004)}}@keyframes resultStamp{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.story-scene>.dialogue{font-size:14px}.story-choices b{font-size:12px}.story-choices span{font-size:11px}.performance-grid{grid-template-columns:repeat(2,1fr)}.performance-stats{grid-template-columns:repeat(2,1fr)}.performance-panel{padding:14px!important}.ending-screen:has(.performance-panel){padding-top:22px}.ending-screen:has(.performance-panel) h1{font-size:40px;margin:12px 0}.command-dock{gap:2px}}
@media(prefers-reduced-motion:reduce){.date-standing,.modal,.result-stage .success{animation:none!important}.hud-date strong{transition:none}}

.dialogue-save-tools{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.dialogue-save-tools button{font-size:10px!important;padding:6px 12px!important}.case-list p{border-bottom:1px solid #8a936533;padding:10px 0;font-size:12px}.case-list small{float:right;color:#c1b080}
@media(max-width:760px){.retro-date .date-standing{width:74%;right:13%;top:70px;bottom:auto}.retro-date .route-hud{background:#18372fe8}.retro-date .holiday-line{font-size:11px;line-height:1.75;padding:8px 10px}.retro-date .holiday-badge{font-size:9px;margin:2px 0}}
@media(max-width:760px){.game-hud .hud-vitals{display:grid;position:absolute;top:calc(100svh - 248px);right:7px;width:134px;grid-template-columns:63px 1fr;gap:5px;padding:6px!important;margin:0!important;border:1px solid #a8a878!important;background:#15372eec;box-shadow:1px 2px #071a20}.game-hud .hud-vitals label{font-size:9px}.game-hud .hud-vitals .pixel-meter{height:6px}}
