/* Main content first; explanations are disclosed on demand. */
.scene-heading p,.scene-heading .eyebrow{display:none!important}
.dossier-view .scene-heading{padding:4px 0 8px}.dossier-view .scene-heading h1{font-size:23px;margin:0}
.section-tabs,.chips,.seg{box-shadow:none!important;border:0!important;background:transparent!important}
.section-tabs button,.chips button,.seg button{border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#d9cdb5!important;box-shadow:none!important}
.section-tabs button[aria-pressed=true],.chips button[aria-pressed=true],.seg button[aria-pressed=true]{color:#fff0ce!important;border-bottom-color:#d7b97b!important;background:#77654324!important}
.agent-home>.home-tabs{background:transparent;border:0;padding:0;gap:18px;display:flex}
.agent-home>.home-tabs button{min-height:44px;background:transparent;color:#cec0a4;border:0;border-bottom:2px solid transparent;padding:5px 0;box-shadow:none;font-size:13px;flex:0 1 auto}
.agent-home>.home-tabs button[aria-pressed=true]{color:#f6e8c7;border-bottom-color:#c5a96f;background:transparent;box-shadow:none}
.context-help{color:#c6bba4;font-size:12px;line-height:1.7}.context-help summary{cursor:pointer;min-height:44px;padding:12px 0}.context-help p{margin:6px 0 12px}
.gacha-scene .cab-desc{font-size:14px;line-height:1.6;max-width:28em;margin:8px auto}.gacha-scene .cabinet>.context-help{margin-top:4px}
.archive-scene .progress{padding:10px 0;background:transparent;box-shadow:none}.archive-scene .progress .row{font-size:12px}.archive-scene .progress .bar{height:3px;margin:8px 0}
.archive-scene .folder{box-shadow:none}.archive-scene .folder .m{font-size:11px;letter-spacing:0}.archive-scene .files::before{display:none}
.lab-scene .labhead{background:transparent;border:0;box-shadow:none;padding:10px 0}.lab-scene .labhead .eyebrow{display:none}.lab-scene .up{box-shadow:none;border:0;padding:14px 16px}.lab-scene .up .up-pips{display:none}.lab-scene .up .up-eff{font-size:14px}.lab-scene .up .context-help{color:#574b39}
.report-scene .grid-card{box-shadow:none;border:0;padding:16px 0;background:transparent}.report-scene .diag{box-shadow:none}.report-scene .diag .stamp-sm{display:none}.report-scene .agent-record-link{font-size:13px;min-height:44px}
@media(max-width:600px){body:has(.agent-home:not([hidden])) main{padding-inline:0}.agent-home>.home-tabs,.agent-home>.agent-footer,.agent-home>[data-hpane=tasks],.home-dispatch{margin-inline:14px}.agent-home>.agent-footer{width:calc(100% - 28px)}.obs-topline,.obs-under{padding-inline:14px}.agent-home>.home-pane{min-width:0}}

.lab-scene .labhead::before,.lab-scene .up.paper::before{display:none}
.lab-scene .section-pane{gap:12px}
/* Gacha help is a single optional icon, not another permanent text row. */
.gacha-scene .seg{margin-right:48px}
.gacha-scene .cabinet>.context-help{position:absolute;top:0;right:0;width:44px;z-index:5;margin:0}
.gacha-scene .cabinet>.context-help>summary{font-size:0;display:grid;place-items:center;width:44px;padding:0}
.gacha-scene .cabinet>.context-help>summary::after{content:'ⓘ';font:20px var(--f-body);color:#e1d1ac}
.gacha-scene .cabinet>.context-help[open]{top:44px;width:calc(100% - 16px);padding:12px;background:#191710;box-shadow:0 8px 26px #000b}
.gacha-scene .context-help[open] .odds,.gacha-scene .context-help[open] [data-act=odds]{display:block}
@media(max-width:599px){.gacha-scene .cab-desc{margin:0;line-height:1.5}.gacha-scene .cabinet{gap:8px}}
@media(max-width:599px) and (max-height:600px){.gacha-scene .big-env{margin-top:4px}.gacha-scene .cab-desc{font-size:13px}}

/* Tabs describe the current content; they must never float over that content. */
.agent-home > .home-tabs,.dossier-view .section-tabs{position:static;top:auto;z-index:auto}
/* Observation has no below-the-fold dispatch or second navigation CTA. */
body:has(.agent-home:not([hidden]) [data-hpane="desk"]:not([hidden])) main{padding-top:8px;padding-bottom:calc(var(--watch-nav-height,70px) + 8px)}
.agent-home:has([data-hpane="desk"]:not([hidden])){gap:8px}
.agent-home .home-pane[data-hpane="desk"]{gap:0}
.agent-home .thread-radar{padding-block:0}
.agent-home .obs-topline{padding-inline:0}
.agent-home .obs-secondary{margin-bottom:0}
.agent-home [data-hpane="tasks"] .home-dispatch{margin:0}
.agent-home [data-hpane="tasks"] .desk-event{padding:0 0 12px;background:transparent;color:#e5d8be;filter:none;box-shadow:none}
.agent-home [data-hpane="tasks"] .desk-event .eyebrow{display:none}
.agent-home [data-hpane="tasks"] .desk-event h2{font-size:20px;line-height:1.6;margin:0 0 8px}
.agent-home [data-hpane="tasks"] .desk-event p{color:#c9bea8;margin:0}
.agent-home [data-hpane="tasks"] .agent-footer{display:block;position:static;transform:none;width:100%;margin:8px 0 0}
.agent-home [data-hpane="tasks"] .agent-footer:has(button[hidden]){display:none}
.agent-home [data-hpane="tasks"] #agent-primary{width:100%}

.agent-home [data-hpane="tasks"] > .home-dispatch{background:none;padding:0}
/* Temporary action feedback replaces ambience instead of adding another text row. */
.thread-radar:has(#obs-feedback:not(:empty)) #obs-atmosphere{display:none}

/* Mission content uses normal rows, not a stretched clipboard around every div. */
.agent-home [data-hpane="tasks"] > div{background:none;padding:0}
.agent-home [data-hpane="tasks"] .sec-h :is(h3,small){color:#e5d8be}
.agent-home [data-hpane="tasks"] .mi{color:#e5d8be;border-bottom:1px solid #645945;padding:14px 0}
.agent-home [data-hpane="tasks"] .mi .r,.agent-home [data-hpane="tasks"] .mi.done .t{color:#c4b89e}
.agent-home [data-hpane="tasks"] .ushi{padding:12px;border:1px solid #806342;color:#dac8a4;font-size:13px;line-height:1.7}
/* One contextual lead replaces ambient copy; it never adds a new home row. */
.investigation-link{display:block;min-height:44px;padding:6px 0;color:#d9c8a5;font:14px/1.6 var(--f-body);text-align:left;text-decoration:underline;text-underline-offset:5px}
#obs-atmosphere:has(.investigation-link){margin:0 0 4px}
.investigation-memo{margin-top:18px;font:15px/1.9 var(--f-body);color:#e0d2b9}.investigation-memo button{display:block;width:100%;min-height:48px;margin-top:12px;white-space:normal}
.investigation-discrepancy{padding-left:12px;border-left:1px solid #996f52;color:#c9ae90}
.investigation-return{width:100%;min-height:44px;margin-top:12px}
.investigation-guide>p,.investigation-guide details p{color:#e0d2b9;font:15px/1.9 var(--f-body)}.investigation-guide details summary{min-height:48px;padding:12px 0;cursor:pointer;color:#e0d2b9}.investigation-guide .game-menu-list small{max-width:55%;white-space:normal;text-align:right}
.investigation-goal{border-top:1px solid #5f5340;padding-top:14px}
/* The late intrusion stays at the edge and cannot cover or intercept a control. */
body[data-watch-mind='3'] #watch-veil::after{content:'';position:absolute;right:-26px;bottom:13%;width:120px;height:200px;background:url('colleagues/shirose.webp') center/cover;opacity:.24;mask-image:linear-gradient(90deg,transparent,#000 75%);pointer-events:none}
#watch-veil{overflow:hidden}

/* One illustrated screen with equal, compact draw actions. */
body:has(.gacha-scene:not([hidden])) main{padding-top:8px;padding-bottom:calc(var(--scene-nav-height,70px) + 8px)}
.gacha-scene{min-height:0;gap:8px}
.gacha-scene .section-pane,.gacha-scene .cabinet{gap:8px}
.gacha-scene .big-env{height:var(--envelope-height,240px);width:100%;min-height:0;aspect-ratio:auto;margin:0;transform:none;animation:none}
.gacha-scene .pulls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gacha-scene .pulls .btn-paper{width:100%;min-height:68px;font-size:19px}
.gacha-scene .pulls button span,.gacha-scene .pulls .five span{font-size:12px}
.gacha-scene .cab-desc{width:100%;max-width:none;margin:0;padding:8px 10px}
#obs-source,#obs-first-hint{display:none}
.evidence-view[data-kind="cctv"]::before,.evidence-view[data-kind="photo"]::before{display:none}
.truth-reward-note{font:14px/1.6 var(--f-body);color:#64462a;padding:10px;border-top:1px solid #927757}
#sheet>.truth-reward-note{color:#ded0b5}
[data-truth-reward]{display:flex;flex-direction:column;gap:4px;width:100%;min-height:52px}

button,.gacha-scene,.thread-radar,.st-env,.inc-photo,.inc-presence{touch-action:pan-x pan-y}
#obs-frame{touch-action:none}
#obs-help{flex:0 0 auto;min-height:44px;padding:8px;color:#ded0b4;border:1px solid #78674d;background:#181810;font:13px/1.5 var(--f-body)}
#obs-help[hidden]{display:none}
.inc-presence{margin:12px 0}.inc-presence img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.inc-presence figcaption{font-size:12px;line-height:1.5;color:#cbbb9c;padding-top:6px}

/* Keep reading separate from advancement, including short mobile viewports. */
.stage .st-scene{max-height:min(62vh,calc(100dvh - 200px))}
.stage .st-btns{width:100%;justify-content:center}
.stage .st-btns button{flex:1;min-height:48px}
.stage .st-card{position:absolute;inset:0;min-height:0;overscroll-behavior:contain;touch-action:auto}

.stage .st-env.gone{pointer-events:none}
body:not(.lite) .stage .st-card.up::before{display:none}

.stage .st-tip:empty{display:none}
