@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
:root{font-family:'Noto Sans SC',system-ui,sans-serif;color:#e5e6db;background:#0b1113;font-synthesis:none}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 55% 0%,#1b2a2d 0,#0d1517 40%,#090e10 100%)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #b9bf91;outline-offset:3px}.screen-noise{position:fixed;inset:0;z-index:10;pointer-events:none;opacity:.10;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='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E")}.danger-flash{position:fixed;inset:0;z-index:9;pointer-events:none;background:#a33129;opacity:0}.danger-flash.show{animation:flash .6s ease-out}@keyframes flash{0%{opacity:0}16%{opacity:.24}30%{opacity:0}48%{opacity:.11}100%{opacity:0}}.shell{max-width:1370px;padding:25px 32px 42px;margin:auto}.overline,.section-label{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.16em;color:#91a6a0;font-weight:600}.masthead{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 2px 20px}.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:52px;height:52px;border:1px solid #82948a;display:grid;place-items:center;color:#c55e54;font-size:31px;box-shadow:inset 0 0 16px #bd463125,0 0 22px #bd463114;background:#142326}.brand h1{font-family:'Noto Serif SC',serif;letter-spacing:.12em;font-size:29px;line-height:1.25;margin:4px 0 0;color:#e5e2d5}.header-right{display:flex;align-items:center;gap:9px}.time-display{border-right:1px solid #47605d;display:grid;grid-template-columns:auto auto;column-gap:7px;align-items:center;padding-right:20px;margin-right:8px}.time-display>span:nth-child(2){font-family:'IBM Plex Mono',monospace;font-size:23px;letter-spacing:.05em;color:#d9d9be}.time-display small{grid-column:1/-1;color:#91a9a2;font-size:10px;letter-spacing:.11em;margin-top:1px}.live-dot{width:7px;height:7px;background:#b45b51;border-radius:50%;box-shadow:0 0 8px #d85e54;animation:blink 2.4s infinite}@keyframes blink{50%{opacity:.28}}.top-button{border:1px solid #506a64;color:#c5d2c4;background:#162426;min-height:38px;padding:0 12px;font-size:12px;letter-spacing:.04em}.top-button:hover{border-color:#a9b99d;background:#263736}.case-strip{display:flex;justify-content:space-between;gap:15px;padding:10px 15px;border-top:1px solid #5c7167;border-bottom:1px solid #3e554f;color:#9eafa8;background:#142124ae;font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.04em}.case-strip b{color:#e6dbc0}.signal{color:#d6bb9a}.signal i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b85a50;margin-right:7px;box-shadow:0 0 9px #d06c5b}.layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:20px;margin-top:20px}.scene-column,.terminal-column{min-width:0}.scene-visual{position:relative;aspect-ratio:1.77;max-height:440px;overflow:hidden;border:1px solid #566a62;background:#101d1f;box-shadow:0 20px 55px #0008}.scene-visual img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(.94) saturate(.76)}.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#07141658,transparent 37%,#071213dd 100%)}.scene-location{position:absolute;top:18px;left:20px;background:#091617cf;border:1px solid #87958b79;padding:9px 12px;display:grid;gap:3px}.scene-location span{font-size:10px;letter-spacing:.2em;color:#a9afa0}.scene-location strong{font-size:12px;letter-spacing:.06em;color:#f0e9d8}.scene-quote{position:absolute;left:24px;right:24px;bottom:22px;font-family:'Noto Serif SC',serif;font-size:clamp(16px,2vw,21px);font-weight:700;line-height:1.7;color:#f1e8d8;text-shadow:0 2px 10px #000}.evidence-head,.journal-head,.chapter-top,.puzzle-heading,.transcript-header{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.evidence-head{margin:23px 0 12px}.evidence-head h2,.journal-head h2{font-family:'Noto Serif SC',serif;margin:3px 0 0;font-size:20px;letter-spacing:.08em}.evidence-head>span,.journal-head>span{font-size:12px;color:#9daea3}.evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.evidence-button{min-width:0;text-align:left;display:flex;align-items:center;gap:10px;padding:12px 11px;min-height:62px;border:1px solid #48625b;color:#d9dfd2;background:#17282a;transition:background .18s,border .18s,transform .18s}.evidence-button:hover{background:#223a39;transform:translateY(-2px);border-color:#9bad8c}.evidence-button.active{border-color:#c9c49a;background:#2a3a35}.evidence-button .glyph{font-family:'Noto Serif SC',serif;color:#bdba8e;font-size:20px;width:24px;text-align:center;flex:none}.evidence-button strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.evidence-button small{display:block;font-family:'IBM Plex Mono',monospace;font-size:10px;color:#819c94;margin-top:3px}.evidence-button.seen small{color:#c0b889}.evidence-detail{min-height:144px;border:1px solid #405851;border-top:0;background:#121f21;padding:19px 21px;margin-top:0;line-height:1.75;color:#cad4c8}.detail-placeholder{display:flex;align-items:center;gap:13px;color:#879f98;font-size:13px}.detail-placeholder span{font-size:36px;color:#84998c}.detail-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}.detail-title h3{font-family:'Noto Serif SC',serif;font-size:19px;margin:0;color:#e7e3d2}.detail-title span{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#91a8a1}.evidence-detail p{font-size:14px;margin:0;white-space:pre-line}.evidence-detail img{width:min(100%,300px);display:block;margin:13px 0 2px;border:1px solid #596960;filter:saturate(.68)}.terminal-column{border:1px solid #536a62;background:linear-gradient(160deg,#18292b,#0f1d1f 58%,#122225);padding:22px;box-shadow:0 20px 55px #0007,inset 0 1px 0 #ffffff14}.chapter-top{padding-bottom:17px;border-bottom:1px solid #4d625d}.chapter-top h2{font-family:'Noto Serif SC',serif;letter-spacing:.08em;font-size:26px;margin:4px 0 0}.chapter-indicator{display:flex;gap:4px}.chapter-indicator span{display:flex;gap:4px}.chapter-indicator i{width:19px;height:4px;background:#485c56}.chapter-indicator i.done{background:#bab08b}.story-box{padding:20px 3px;border-bottom:1px solid #3c524d}.story-box p{font-family:'Noto Serif SC',serif;font-size:16px;line-height:1.9;color:#dedfd3;margin:12px 0 0;white-space:pre-line}.puzzle-box{padding:19px 0 20px;border-bottom:1px solid #3c524d}.puzzle-status{font-size:11px;color:#c0a97f;background:#4b3a2a69;border:1px solid #9d8062;padding:4px 8px;white-space:nowrap}.puzzle-box h3{font-size:19px;font-weight:700;margin:13px 0 5px;color:#e7e5d4}.puzzle-box>p{font-size:13px;color:#aebfb4;line-height:1.7;margin:0 0 17px}.pin-display{font-family:'IBM Plex Mono',monospace;display:flex;gap:9px;margin-bottom:13px}.pin-display span{width:43px;height:48px;border:1px solid #789186;background:#0c191b;display:grid;place-items:center;font-size:23px;color:#e8e1c5}.pin-display span.empty{color:#4a665f}.keypad{display:grid;grid-template-columns:repeat(3,56px) 1fr;gap:7px;max-width:280px}.keypad button{min-height:44px;border:1px solid #4d6c63;background:#213535;color:#e3e7d5;font-family:'IBM Plex Mono',monospace;font-size:17px}.keypad button:hover,.segment:hover,.choice:hover{background:#304d47;border-color:#b6b88e}.keypad .erase{font-size:12px}.keypad .submit,.primary-button{background:#b7b08c;color:#172223;border-color:#d6d0a7;font-weight:800}.keypad .submit:hover,.primary-button:hover{background:#d1c9a0}.keypad .submit{grid-column:4;grid-row:1/5;font-size:14px;letter-spacing:.14em;writing-mode:vertical-rl}.puzzle-help{display:flex;align-items:flex-start;gap:10px;min-height:30px;margin-top:14px}.puzzle-help button,.quiet-button{border:0;background:none;border-bottom:1px solid #829987;color:#b7c9b7;padding:2px 0;font-size:12px;white-space:nowrap}.puzzle-help button:hover,.quiet-button:hover{color:#e7e9ce;border-color:#e7e9ce}.puzzle-help span{font-size:12px;color:#c1b58c;line-height:1.5}.tape-preview{height:105px;overflow:hidden;background:#080e0f;position:relative;border:1px solid #40524d;margin-bottom:13px}.tape-preview img{width:100%;height:100%;object-fit:cover;object-position:center 55%;filter:saturate(.6) brightness(.62)}.tape-preview:after{content:'TAPE / FRAGMENTED';position:absolute;left:11px;bottom:8px;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.16em;color:#e3dcbd}.segments{display:grid;gap:8px}.segment{padding:10px 12px;border:1px solid #526c63;background:#1b2d2d;text-align:left;color:#d9e2d7;line-height:1.55;font-size:13px}.segment:disabled{opacity:.48;cursor:default}.segment b{font-family:'IBM Plex Mono',monospace;color:#c5b28c;margin-right:9px}.sequence{margin:12px 0;padding:10px;background:#0d1a1b;color:#c2c4aa;font-family:'IBM Plex Mono',monospace;font-size:13px;min-height:41px}.widget-actions{display:flex;gap:8px}.widget-actions button{padding:9px 14px;font-size:12px;border:1px solid #61776a;background:#223634;color:#e1e5d5}.widget-actions button:first-child{background:#a8ac88;color:#142020;border-color:#c6c59a;font-weight:800}.choices{display:grid;gap:8px}.choice{width:100%;padding:12px 14px;text-align:left;border:1px solid #50685f;background:#1b3030;color:#e2e4d6;font-size:14px}.choice strong{display:block;font-size:14px}.choice small{display:block;color:#9fb2a8;font-size:12px;line-height:1.55;margin-top:4px}.choice.locked{opacity:.55;cursor:not-allowed}.transcript{padding-top:18px}.transcript-header{align-items:center}.transcript-header>span:last-child{font-size:11px;color:#7d948d}.log-lines{margin-top:10px;max-height:155px;overflow:auto;padding:11px 14px;border:1px solid #3e554e;background:#091617;font-family:'IBM Plex Mono','Noto Sans SC',monospace;font-size:11px;line-height:1.75;color:#9bad9f}.log-line{margin:0 0 4px}.log-line:last-child{margin-bottom:0}.log-line.error{color:#cc8880}.log-line.success{color:#cdc399}.journal{margin-top:20px;border:1px solid #40574f;background:#111e20;padding:18px 21px}.journal-head{margin-bottom:14px}.journal-list{display:flex;flex-wrap:wrap;gap:7px}.journal-item{border:1px solid #536a5f;background:#1b2b2a;color:#d5d9c9;padding:6px 9px;font-size:11px}.journal-empty{font-size:12px;color:#7f998f}footer{display:flex;justify-content:space-between;gap:10px;color:#728a82;padding:19px 3px 0;font-size:11px;letter-spacing:.02em}.overlay{position:fixed;z-index:30;inset:0;display:grid;place-items:center;background:#05090be8;backdrop-filter:blur(8px);padding:18px}.overlay.hidden{display:none}.interlude{width:min(100%,490px);padding:31px 34px 34px;border:1px solid #8b9e8a;background:radial-gradient(circle at 50% -20%,#29433f,#122022 68%);box-shadow:0 25px 100px #000c;text-align:center;animation:surface .35s ease-out}@keyframes surface{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.interlude-symbol{font-family:'Noto Serif SC',serif;font-size:55px;line-height:1.1;color:#b6b38d;margin:20px 0 10px}.interlude h2{font-family:'Noto Serif SC',serif;font-size:27px;letter-spacing:.06em;margin:6px 0 13px;color:#ebe7d8}.interlude p{font-family:'Noto Serif SC',serif;font-size:15px;line-height:1.95;color:#ccd5c7;white-space:pre-line;margin:0 0 23px}.interlude-actions{display:flex;justify-content:center;gap:17px;align-items:center}.primary-button{min-height:43px;padding:9px 18px;font-size:13px;letter-spacing:.04em;border:1px solid}.quiet-button{font-size:12px}@media(max-width:960px){.shell{padding:15px 18px 30px}.layout{grid-template-columns:1fr}.scene-visual{max-height:none}.terminal-column{padding:20px}.evidence-detail{min-height:120px}}@media(max-width:620px){.shell{padding:10px 11px 24px}.masthead{padding:4px 2px 12px;align-items:flex-start}.brand{gap:9px}.brand-mark{width:39px;height:39px;font-size:24px}.brand h1{font-size:21px;letter-spacing:.08em}.brand .overline{font-size:8px;letter-spacing:.07em}.header-right{gap:5px;flex-wrap:wrap;justify-content:flex-end}.time-display{display:none}.top-button{font-size:10px;padding:0 7px;min-height:32px}.case-strip{font-size:9px;padding:8px 9px}.case-strip span:first-child{display:none}.layout{gap:10px;margin-top:10px}.scene-visual{aspect-ratio:1.62}.scene-location{top:10px;left:10px;padding:6px 8px}.scene-location strong{font-size:10px}.scene-quote{left:13px;right:13px;bottom:10px;font-size:15px}.evidence-head{margin:15px 0 9px}.evidence-head h2,.journal-head h2{font-size:18px}.evidence-grid{gap:5px}.evidence-button{padding:8px 5px;gap:3px;min-height:52px}.evidence-button .glyph{font-size:16px;width:19px}.evidence-button strong{font-size:11px}.evidence-button small{font-size:8px}.evidence-detail{padding:13px;min-height:112px}.evidence-detail p{font-size:13px}.terminal-column{padding:15px}.chapter-top h2{font-size:22px}.story-box{padding:13px 2px}.story-box p{font-size:15px;margin-top:7px}.puzzle-box{padding:13px 0}.puzzle-box h3{font-size:17px}.journal{padding:13px;margin-top:10px}footer{font-size:10px;display:block}footer span{display:block;margin-bottom:5px}.interlude{padding:24px 18px}.interlude h2{font-size:23px}.interlude p{font-size:14px}}
.journal-item.unseen{color:#8fa69d;border-style:dashed;background:#142224}.journal-item.unseen:hover{color:#d7e1d1;border-color:#a6b79f}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.chapter-indicator i{width:12px}.chapter-indicator span{gap:3px}.choice[aria-pressed='true']{border-color:#c8c69a;background:#2b403b}.choice[aria-pressed='true'] strong{color:#e9e4ba}@media(max-width:620px){.chapter-indicator i{width:9px}.chapter-indicator span{gap:2px}}
