/* Quiet, consistent surfaces over the existing responsive composition. */
:root{--detail-ink:#283b32;--detail-muted:#526358;--detail-line:#d8ded4;--detail-paper:#f8f7f1;}
body{font-kerning:normal;-webkit-font-smoothing:antialiased;}
button,summary,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
button:disabled{cursor:default;}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #88b6a0;outline-offset:4px;}
.btn,.hud-icon,.hud-btn,.link-btn,.story-option,.clue-envelope{transition:background-color .18s,border-color .18s,box-shadow .18s;}
.btn{font-weight:500;line-height:1.6;border-radius:8px;}
.btn--gold,.btn--gold:hover{color:#fffdf5;background:#3f6654;border-color:#527864;box-shadow:inset 0 1px 0 #ffffff14,0 3px 8px #10231918;}
.btn--gold:active{background:#2f5141;box-shadow:inset 0 2px 4px #142c3428;}
.btn--ghost:active,.hud-icon:active,.hud-btn:active{background:#8cae9724;}
/* Keep the title legible without covering the whole room. */
#screen-title{background:linear-gradient(90deg,#10231de8 0%,#14261fc4 26%,#15261e52 54%,transparent 85%);}
.title-main{color:#faf5e8;font-weight:400;letter-spacing:.015em;text-shadow:0 2px 24px #0b1b1528;}
.title-sub{color:#e4eadd;line-height:1.85;font-weight:400;}
.title-actions .btn--lg{min-height:48px;padding:13px 29px;}
.title-actions .link-btn{min-height:44px;padding:10px 8px;}
.title-meta{color:#c4cebf;font-size:12px;}
.title-foot .link-btn{min-height:36px;display:inline-flex;align-items:center;font-size:12px;}
.title-disclaim{color:#c1cbbd;font-size:11px;max-width:54em;}
.title-foot{row-gap:2px;}
/* Chrome is subdued; reading surfaces have a clear edge and soft depth. */
.hud{background:#192b23eb;box-shadow:0 2px 16px #0a1c1110;}
.hud-icon,.hud-btn{border-color:#c6d4c52b;border-radius:7px;}
.story-progress{opacity:.85;height:2px;}
.dialogue,.story-mode .dialogue,.story-choice,.story-mode .task{background:var(--detail-paper);border-color:#d0d8cb;border-radius:12px;box-shadow:0 12px 36px #10221928,0 1px 3px #10221915;}
.dl-head{align-items:center;gap:10px;}
.dl-name,.story-mode .dl-name{color:#315a44;}
.dl-role,.story-mode .dl-role{color:#617164;}
.dl-text,.story-mode .dl-text{color:var(--detail-ink);letter-spacing:.015em;}
.voice-strip{border-top:1px solid #d7dfd140;padding-top:6px;}
.voice-strip #voice-status,.story-mode .voice-strip #voice-status{color:#5e6f60;}
.dl-next,.story-mode .dl-next{border-radius:7px;}
.story-choice h3{font-weight:500;letter-spacing:0;}
.story-option{background:#fffef9;border-color:var(--detail-line);border-radius:8px;}
.story-option:active{background:#dce8db;}
.story-mode .task-title{line-height:1.6;}
.story-mode .opt{border-radius:8px;background:#fffef9;}
.story-mode .opt.is-selected{border-color:#648a70;background:#e5eee2;box-shadow:inset 3px 0 #648a70;}
.story-mode .opt.is-correct{background:#e0eddb;border-color:#678c63;color:#2c5032;box-shadow:inset 3px 0 #678c63;}
.story-mode .opt.is-wrong{background:#f2e1d9;border-color:#b7846d;color:#704738;box-shadow:inset 3px 0 #b7846d;}
.quality-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;}
.quality-options .btn{min-height:48px;}.quality-options [aria-pressed=true]{border-color:#9bbd9b;background:#65836540;color:#f4f6e9;}
/* Actual material pictograms replace single-character placeholders. */
.ev-ico svg,.envelope-symbol svg{display:block;width:25px;height:25px;flex-shrink:0;}
.envelope-symbol{color:#41634e;background:linear-gradient(150deg,#edf0e4 48%,#b7c7ad 49%,#fafaf2 51%);box-shadow:0 3px 5px #243f2212,0 1px 0 #fff inset;}
.envelope-symbol svg{position:relative;z-index:1;}
.clue-envelope{border-radius:9px;}
.clue-envelope b{font-weight:400;color:#354d3c;}
.clue-envelope:active{background:#dde8d7;}
.story-board-inner{background:var(--detail-paper);border-color:#c8d2c1;}
.board-head{background:#f4f5ed;border-color:var(--detail-line);}
.board-head h3{letter-spacing:.015em;}
.board-head p,.clue-result,.materials-label span{color:var(--detail-muted);}
.clue-slot{background:#fffef9;border-color:var(--detail-line);box-shadow:none;}
.clue-slot.is-active{box-shadow:inset 3px 0 #739073;border-color:#96af90;}
.clue-slot.is-wrong{border-color:#b7846d;box-shadow:inset 3px 0 #b7846d;}
.clue-slot select{background:#f7f9f2;color:#2c4435;border-color:#b9cbb0;line-height:1.5;}
.board-actions{background:#f1f3e9;border-color:var(--detail-line);}
.is-envelope .modal-card{background:var(--detail-paper);box-shadow:0 24px 100px #07191066;border-radius:14px;}
.is-envelope .modal-head,.is-envelope .modal-foot{background:#edf1e5;}
.is-envelope .evidence-paper{background:#fffef9;border:1px solid #d8dccf;box-shadow:2px 3px 0 #e4e6da,3px 5px 12px #243f220a;}
.is-envelope .evidence-paper h4{font-weight:500;color:#304a39;}
.is-envelope .evidence-paper p{color:#354b3b;}
.is-envelope .evidence-paper small{max-width:100%;color:#61745b;}
.is-envelope .ev-detail-block{padding:0 0 0 14px;border-left:2px solid #b9cdb0;margin-bottom:24px;}
.is-envelope .ev-detail-block b{font-size:13px;color:#39583e;}
.is-envelope .ev-detail-block p{color:#4b604b;margin-top:8px;}
.evidence-annotations>p:last-child{color:#61725a!important;}
/* Lists and long reading pages share a calm, readable dark palette. */
.screen--cases,.screen--brief,.screen--growth{background:#1b2a22f5;}
.case-card{border-radius:12px;overflow:hidden;background:#25362b;border-color:#667b6240;}
.case-cover img{transition:transform .45s;}
.case-body{padding:24px;}.case-body h3{font-weight:500;color:#f0efdf;}
.case-sub,.case-result{color:#c2cdbb;line-height:1.85;}
.case-tags .tag{border-color:#8d9f7c38;background:#8d9f7c09;color:#c0ceb4;}
.case-foot{border-color:#879b7333;}
.brief-art{border-radius:12px;overflow:hidden;}
.brief-story{font-family:var(--sans);font-size:16px;line-height:2;color:#dce4d3;letter-spacing:.015em;}
.brief-meta{border-color:#91a17d33;line-height:1.8;}
.brief-meta b{font-weight:400;color:#d0dbc4;}
.drawer{box-shadow:-16px 0 60px #07160d40;}
.drawer-head{border-bottom:1px solid #9daf8f25;}
.drawer-note{line-height:1.8;color:#c0ceb5;}
.ev-card{border-radius:9px;border-color:#91a07f30;background:#ffffff04;padding:16px 14px;}
.ev-ico{color:#c6d5bc;border-color:#91a57d40;background:#91a57d0d;border-radius:8px;}
.ev-name{font-weight:500;color:#e6eddd;line-height:1.65;}
.ev-sum{color:#bdc9b1;line-height:1.85;}
.screen--review{background:#16271ff7;}
.review-head{border-color:#90a98030;}
.review-head h2{letter-spacing:.03em;font-weight:400;color:#f1f0e3;}
.review-head>p{color:#d7e2cd;font-size:17px;line-height:1.9;max-width:50em;}
.legal-verdict{background:#20372a;border-color:#809c6f4d;border-radius:12px;}
.legal-verdict h3{color:#eff1df;font-weight:500;}
.legal-verdict p,.legal-verdict li,.legal-verdict .after-story p{color:#d0ddc3;font-size:15px;line-height:2;}
.legal-verdict a{color:#dcebc8;text-underline-offset:4px;text-decoration-thickness:1px;}
.legal-verdict small{font-size:12px;color:#acbea0;}
.legal-verdict ol{padding-left:22px;}.legal-verdict li{padding-left:4px;margin-bottom:8px;}
.rcard{background:#203027;border:1px solid #91a27d30;border-radius:10px;padding:24px;}
.rcard h4{font:500 16px/1.7 var(--sans);color:#e1e9d5;letter-spacing:.02em;}
.rcard ul li,.rule p,.tips li,.quiz-q,.counterfact-note,.decision p{font-size:14px;line-height:1.95;color:#c9d5bc;}
.rule b{color:#d9e5cb;font-size:14px;}.rule{border-color:#87a27550;}
.quiz-opt{border-color:#8d9e7938;background:#ffffff03;color:#d0dcc1;border-radius:7px;line-height:1.8;min-height:44px;}
.score-stats div{font-size:13px;color:#bdcdb1;padding-bottom:10px;border-color:#91a57d30;}
.score-stats b{color:#e5edda;font-weight:500;}
.source-links{color:#bacaad;line-height:1.9;}.source-links a{color:#d0dfc0;text-underline-offset:3px;}
.review-foot .disclaim{color:#b5c6a8;line-height:1.9;}
@media(hover:hover) and (pointer:fine){
 .case-card:hover{border-color:#a1bb8b88;box-shadow:0 12px 28px #07190d24;}.case-card:hover .case-cover img{transform:scale(1.025);}
 .story-option:hover{background:#edf3e8;border-color:#8ca981;box-shadow:0 3px 12px #2b4a2910;}
 .clue-envelope:hover{background:#e9efdf;}.ev-card:hover{background:#93af7d12;border-color:#9fb68a66;}
}
@media(min-width:1100px){.title-inner{padding-top:clamp(65px,13vh,140px);}.title-main{font-size:clamp(70px,6.2vw,94px);}.review-wrap{max-width:1240px;}.after-story{max-width:36em;}}
@media(max-width:767px){
 #screen-title{background:linear-gradient(180deg,#11231de8 0%,#162a2080 43%,#11231d28 64%,#10241de8 100%);}
 .title-main{font-size:clamp(48px,15vw,64px);}.title-inner{padding-top:max(36px,env(safe-area-inset-top));margin-left:24px;margin-right:24px;}
 .title-sub{font-size:14px;margin-top:20px;}.title-actions{gap:10px;}.title-actions .btn--lg{padding:12px 20px;font-size:13px;}
 .title-foot{padding-bottom:max(12px,env(safe-area-inset-bottom));}.title-foot .link-btn{min-height:44px;font-size:11px;}.title-foot .sep{display:none;}.title-disclaim{font-size:10px;}
 .story-phone-toggle{top:122px;}.story-phone{top:170px;}
 .story-choice h3{font-size:17px;line-height:1.65;}.story-option{padding:13px;}
 .board-head h3{font-size:22px;}.board-head p{font-size:12px;}
 .clue-envelope b{font-size:12px;line-height:1.7;}.envelope-symbol svg{width:24px;height:24px;}
 .board-actions{padding-bottom:max(12px,env(safe-area-inset-bottom));}
 .modal-foot{padding-bottom:max(15px,env(safe-area-inset-bottom));}
 .case-body{padding:20px;}.brief-story{font-size:15px;}.brief-meta{font-size:12px;}
 .review-head>p{font-size:16px;}.legal-verdict p,.legal-verdict li,.legal-verdict .after-story p{font-size:15px;line-height:1.95;}
 .rcard{padding:20px;}.rcard h4{font-size:16px;}.review-actions .btn{min-height:46px;}
}
@media(max-height:650px){.title-inner{padding-top:24px;}.title-main{font-size:48px;}.title-sub{margin-top:12px;}.title-actions{margin-top:18px;}.title-meta{margin-top:12px;}}
@media(prefers-reduced-motion:reduce){.btn,.hud-icon,.hud-btn,.link-btn,.story-option,.clue-envelope,.case-cover img{transition:none;}.case-card:hover .case-cover img{transform:none;}}
