/* 069: a field-journal reading mode. No selectors affect the combat stage. */
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .app-shell{padding-top:0;margin-top:12px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .hero-header{padding:10px 18px;gap:12px;margin-bottom:12px;min-height:0}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .brand-lockup{gap:10px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .brand-mark{width:34px;height:38px;font-size:25px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .hero-header h1{font-size:22px;margin:0;letter-spacing:2px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .hero-header :is(.eyebrow,.brand-subtitle){display:none}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .header-actions{gap:7px;align-items:center}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .header-actions :is(button,.button-link){padding:7px 10px;font-size:12px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .session-bar{padding:7px 14px;margin-bottom:8px;min-height:0}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .session-bar .panel-kicker{display:none}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .turn-bar{padding:7px 12px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .turn-copy{display:flex;align-items:center;gap:12px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .turn-copy .panel-kicker{display:none}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stats{gap:10px;margin-top:8px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stat{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:4px;padding:9px 12px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stat strong{flex-basis:100%;margin:0;font-size:14px}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stat p{margin:0;font-size:12px;line-height:1.6}
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stat .stat-track{display:none} /* duplicate of explicit HP/AP above */
body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) .player-stat .guide-link{padding:3px 6px;margin:0;font-size:11px;box-shadow:none}
#event-team-dock{position:relative;flex:0 0 140px;align-self:center}
#event-team-dock #team-signals{position:relative;inset:auto;width:140px;max-width:none;box-shadow:none}
#event-team-dock #team-signals:has(details[open]){position:absolute;right:0;top:-18px;width:300px;box-shadow:0 8px 26px #000b}
#event-team-dock #team-signal-notice{position:absolute;right:0;top:100%;width:300px;box-sizing:border-box;box-shadow:0 8px 26px #0008}
#event-team-dock #team-signals summary{padding:8px 10px}

#event-scene:not(.combat-scene):not([hidden]){grid-template-columns:minmax(245px,.72fr) minmax(0,1.8fr);min-height:480px;margin-top:12px;border-color:#88754b}
#event-scene:not(.combat-scene) .event-vignette{align-self:stretch;min-height:460px;max-height:none}
#event-scene:not(.combat-scene) .event-vignette img{object-position:60% center;filter:saturate(.8)}
#event-scene:not(.combat-scene) .event-vignette figcaption{left:22px;right:22px;bottom:48px}
#event-scene:not(.combat-scene) .event-vignette blockquote{font-size:17px;line-height:1.85}
#event-scene:not(.combat-scene) .event-scene-copy{padding:22px 28px 28px;background:linear-gradient(115deg,#24271ff7,#161d18fa);min-width:0}
#event-scene:not(.combat-scene) .event-scene-copy>h2{margin:8px 0 12px;font-size:clamp(24px,2.1vw,32px);line-height:1.3;letter-spacing:1px}
#event-scene:not(.combat-scene) .panel-kicker{color:#d5af73;font-size:10px;letter-spacing:1.7px}
#event-scene:not(.combat-scene) .event-story-details{margin:8px 0 10px;border-left:2px solid #70654b;padding-left:12px}
#event-scene:not(.combat-scene) .event-story-details summary{cursor:pointer;color:#b6b39b;font-size:12px;line-height:1.7}
#event-scene:not(.combat-scene) .event-story-details[open] summary{margin-bottom:7px}
#event-scene:not(.combat-scene) .event-scene-story{max-width:46em;color:#d9d1ba;font:14px/1.85 "Microsoft YaHei",sans-serif;overflow-wrap:anywhere}
#event-scene:not(.combat-scene) .event-scene-status{margin:10px 0;padding:7px 10px;font-size:12px;border-left-color:#90b6a3}
#event-scene:not(.combat-scene):has(#event-action-panel:not([hidden]):not(.spectator-choices)) #event-scene-status{display:none} /* actor and pause remain in the turn bar */
#event-scene:not(.combat-scene) .scene-panel{margin-top:12px;padding-top:12px}
#event-scene:not(.combat-scene) .scene-panel>h3{font-size:15px;letter-spacing:1px;margin-bottom:10px}
#event-scene:not(.combat-scene) #event-action-panel:not(.spectator-choices)>h3{display:none}
#event-scene:not(.combat-scene) #event-actions{gap:8px}
#event-scene:not(.combat-scene) .story-stage{margin:0 0 4px;font-size:12px;border:0;padding:0;gap:6px}
#event-scene:not(.combat-scene) .story-stage button{padding:5px 8px;box-shadow:none}
#event-scene:not(.combat-scene) .story-choice{padding:11px 13px;grid-template-columns:25px minmax(0,1fr) 12px;gap:10px;min-height:52px;border-color:#756646;border-radius:2px;background:linear-gradient(115deg,#363a2bc9,#232b23);box-shadow:inset 3px 0 #aa925049}
#event-scene:not(.combat-scene) .story-choice strong{font-size:14px;line-height:1.65;color:#eee0bd;font-weight:600;overflow-wrap:anywhere}
#event-scene:not(.combat-scene) .story-choice small{font-size:12px;line-height:1.65;color:#b7c1ae;margin-top:3px}
#event-scene:not(.combat-scene) .story-choice small:empty{display:none}
#event-scene:not(.combat-scene) .choice-emblem{font-size:22px;color:#c9b079}
#event-scene:not(.combat-scene) .story-choice:hover:not(:disabled){background:#3c4432;border-color:#d7b976;transform:translateX(2px)}
#event-scene:not(.combat-scene) :is(button,summary):focus-visible,#floor-progress :is(button,summary):focus-visible{outline:2px solid #f0d48b;outline-offset:3px}
#event-scene:not(.combat-scene) .story-choice:disabled{opacity:.55;box-shadow:none}
#event-scene:not(.combat-scene) .spectator-choices .story-choice:disabled{opacity:.85;background:#1d2c28;border-color:#577969}
#event-scene:not(.combat-scene) #companion-event-panel{border:1px solid #486a5e;background:#1d30285c;padding:10px 12px;margin-bottom:12px}
#event-scene:not(.combat-scene) #companion-event-panel>h3{color:#acd2c0;margin-bottom:5px}
#event-scene:not(.combat-scene) #companion-event-panel>p{margin:4px 0;font-size:12px;line-height:1.6}
#event-scene:not(.combat-scene) .result-outcome{margin:0 0 12px;padding:12px 15px;line-height:1.8;font-size:14px}
#event-scene:not(.combat-scene) .result-gains{gap:10px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
#event-scene:not(.combat-scene) .result-gains article{padding:12px;border-color:#52604a}
#event-scene:not(.combat-scene) .result-gains h3{font-size:14px;margin:0 0 8px}
#event-scene:not(.combat-scene) .result-loot-heading{font-size:14px;margin:18px 0 10px}
#event-scene:not(.combat-scene) :is(.result-loot-grid,#market-offers){grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
#event-scene:not(.combat-scene) .item-card{align-items:start}
#event-scene:not(.combat-scene) .inventory-item{background:#171f19b8;border-color:#635d43;border-radius:2px;padding:12px}
#event-scene:not(.combat-scene) .item-copy{line-height:1.6}
#event-scene:not(.combat-scene) #market-panel>button{margin:6px 5px 4px 0;font-size:12px}
#event-scene:not(.combat-scene) #leave-market-button{border-color:#a9935c;color:#ead7a8}
#event-scene:not(.combat-scene) #pending-loot-medical{margin-top:16px;padding-top:12px;border-top:1px dashed #657052}
#event-scene:not(.combat-scene) #pending-loot-medical>h4{margin:0 0 6px}
#event-scene:not(.combat-scene) #pending-loot-actions{margin-top:12px}
#event-scene:not(.combat-scene) #confirm-event-result{margin-top:18px;min-height:46px;padding:10px 24px;border-color:#d9bd7d}
#event-scene:not(.combat-scene) .hint{line-height:1.7;font-size:12px}
#floor-progress{margin-top:14px;padding:22px 28px;background:linear-gradient(120deg,#292d23,#17221d);border-color:#88754b}
#floor-progress h2{font-size:26px;margin:8px 0 12px}
#floor-progress>p{max-width:62em;margin:8px 0;font-size:14px}
#floor-progress .floor-cards{margin:16px 0;gap:12px}
#floor-progress .floor-cards article{padding:17px;border-radius:2px}
#floor-progress .floor-cards h3{font-size:17px}
#floor-progress .floor-cards p{font-size:13px}
#floor-progress .floor-rules{border-top:1px solid #6c6c494f;color:#adae96;font-size:12px;padding-top:10px;line-height:1.7}
#floor-progress .floor-rules summary{cursor:pointer}
@media(max-width:1300px){#event-scene:not(.combat-scene) .event-scene-copy{padding:18px 22px}#event-scene:not(.combat-scene) .event-vignette figcaption{left:16px;right:16px}}
@media(max-width:800px){#event-scene:not(.combat-scene):not([hidden]){grid-template-columns:1fr}#event-scene:not(.combat-scene) .event-vignette{height:220px;min-height:220px}body:is(:has(#game-panel:not([hidden]) #event-scene:not([hidden]):not(.combat-scene)),.floor-reward-stage) #team-signals{max-width:90vw}}
@media(prefers-reduced-motion:reduce){#event-scene:not(.combat-scene) .story-choice{transition:none}#event-scene:not(.combat-scene) .story-choice:hover:not(:disabled){transform:none}}
