body[data-game=school]{--journal-paper:#e9dcbd;--journal-ink:#2b2217;--journal-muted:#654e30;--journal-rule:#9a8460;--journal-leaf:#f5ecd5;--journal-soft:#66503a;--journal-action:#702b35;--journal-action-text:#fff4d9;--journal-action-hover:#853943;}
body[data-game=seta]{--deck-surface:#0b1417;--deck-raised:#172d2b;--deck-rule:#53665e;--deck-gold:#d5c58d;--deck-identity:#251a1e;--deck-identity-border:#935662;--deck-identity-title:#f0bec3;--deck-identity-muted:#c9aeb4;}
/* Distinct spaces: Hartwell's paper journal, SETA's operations deck.
   PNG ornaments and Galmuri remain the shared material, not the layout. */
.game-screen .game-frame{grid-template-columns:minmax(0,1fr);grid-template-areas:'top' 'tools' 'center';gap:12px}
.gs-tools{justify-content:flex-end}.gs-tools #tab-settings{margin-left:auto}
.game-screen .gs-center{grid-area:center;min-width:0}
.game-screen .gs-top{padding-block:4px 12px}.gs-top h1{font-size:22px}
.game-screen .gs-title .gs-game,.game-screen .gs-title .gs-tag{font-size:14px}
.game-screen .gs-tabs{gap:0;padding:0;border-bottom:2px solid var(--metal-mid)}
.game-screen .gs-tabs [role=tab]{flex:1 1 0;min-width:0;padding:12px 6px}
.game-screen .gs-panel{padding:20px}
#world-view:not([data-screen=guide]) .scene-banner{display:none}
#world-view[data-screen=guide] .tutorial-coach,#world-view[data-screen=adventures] .tutorial-coach,#world-view[data-screen=roster] .tutorial-coach,#world-view[data-screen=settings] .tutorial-coach{display:none}
#world-view[data-screen=play][data-activity=coop] .tutorial-coach,#world-view[data-screen=play][data-activity=raid] .tutorial-coach,#world-view[data-screen=play][data-activity=brain] .tutorial-coach,#world-view[data-screen=play][data-activity=gear] .tutorial-coach{display:none}
.tutorial-coach{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center}.tutorial-coach strong{color:var(--accent)}.tutorial-coach p{grid-column:1;max-width:70ch;margin:0}.tutorial-coach button{grid-column:2;grid-row:1/3}
.journey-primary{min-height:56px;width:100%;font-size:19px;text-align:left;padding:14px 20px;line-height:1.5}
.journey-primary::after{content:' →';float:right;white-space:nowrap}
.journey-entry{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;text-align:left;min-height:72px;width:100%;line-height:1.5}
.journey-entry strong{font-size:17px;font-weight:400}.journey-entry span{font-size:14px;color:var(--muted)}
.journey-help{margin-top:20px;border-top:1px solid var(--metal-mid)}.journey-help summary{padding:14px 0;min-height:44px;cursor:pointer}.journey-help ol{padding-left:23px;line-height:1.8}.journey-help button{min-height:44px}
.utility-sheet{max-height:88vh;max-height:88dvh;overflow:auto;width:min(580px,calc(100vw - 24px));padding:20px;background:var(--ink);color:var(--text);border:4px double var(--metal-hi);box-shadow:8px 8px 0 #0009}
.utility-sheet::backdrop{background:#000b}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.sheet-heading h2{font-size:21px;margin:0}.sheet-heading button{min-height:44px}
.utility-sheet .gs-side{width:100%;display:block}.utility-sheet .portrait-module{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:start}.utility-sheet .portrait-frame{grid-row:1/5;max-width:150px;width:100%;margin:0}.utility-sheet .portrait-module>h2,.utility-sheet .portrait-module>p{margin:0}.utility-sheet .side-controls{grid-column:1/-1}
.conversation-sheet{width:min(1000px,calc(100vw - 24px))}.conversation-sheet .gs-dialogue{display:grid;grid-template-columns:1fr 1fr;gap:16px}.conversation-sheet .messages{height:220px;max-height:30vh}.conversation-sheet .chat-speaker{overflow-wrap:anywhere}
.gp-head{align-items:center;gap:12px;flex-wrap:wrap}.gp-head .gp-head-title{font-size:20px;margin:0}.gp-head .gp-memory{margin-left:auto;font-size:14px}.gp-back{min-height:44px}.launch-options{margin:16px 0;padding:12px;border:1px solid var(--metal-lo)}.launch-options summary{cursor:pointer;min-height:44px;padding-block:10px}.launch-options[open] summary{margin-bottom:16px}
.gp-tabs [role=tab]{min-height:44px}.gp-sec[data-sec=start]>.gp-ctl:last-child button{min-height:56px;font-size:20px;width:100%}
#story-home{margin-bottom:20px}.story-paper .story-library{margin-top:28px}
/* HARTWELL — a school corridor beside an open notebook. */
body[data-game=school] #world-view[data-screen=guide] .gs-center{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.4fr);align-items:stretch;gap:20px}
body[data-game=school] #world-view[data-screen=guide] .scene-banner{height:auto;min-height:510px;margin:0;border:6px double var(--metal-mid)}
body[data-game=school] #world-view[data-screen=guide] .scene-stage{position:absolute;inset:0}
body[data-game=school] #world-view[data-screen=guide] .scene-caption{left:12px;right:12px;bottom:16px;max-width:none;border-top:2px solid var(--metal-mid)}
body[data-game=school] #world-view[data-screen=guide] .scene-caption h2{font-size:22px}
body[data-game=school] #panel-guide{padding:0;background:var(--paper);color:var(--paper-ink)}
.school-desk{padding:26px 28px;background:var(--journal-paper);color:var(--journal-ink);border-left:7px solid #8f2436;box-shadow:inset 0 0 0 2px #99825d}
.school-desk .eyebrow{color:var(--journal-muted);font-size:14px;letter-spacing:.08em}.desk-heading{display:flex;justify-content:space-between;gap:12px;border-bottom:2px solid #8b744b;margin-bottom:22px;padding-bottom:10px}.desk-year{font-size:20px;color:#6a2933}
.school-desk .home-kicker{font-size:14px;color:var(--journal-muted);margin-bottom:8px}.school-desk h2{font-size:28px;line-height:1.45;max-width:16ch;margin-bottom:22px}
.desk-note{padding:18px;background:var(--journal-leaf);border:1px solid #b09a73;box-shadow:3px 3px 0 #c9b68e}.note-label{display:inline-block;color:#762834;font-size:14px;border-bottom:2px solid #762834;padding-bottom:4px;margin-bottom:12px}.desk-note p{font-size:16px;line-height:1.7;max-width:42ch}
.school-desk .journey-primary{background:var(--journal-action);color:var(--journal-action-text);border-color:#4f1722;box-shadow:inset 2px 2px #b87073,inset -2px -2px #3f1420}.school-desk .journey-primary:hover{background:var(--journal-action-hover)}
.desk-links{display:flex;flex-direction:column;margin-top:20px;gap:0}.desk-links .journey-entry{background:transparent;border:0;box-shadow:none;border-bottom:1px solid var(--journal-rule);color:#3e2b1d;padding:15px 0}.desk-links .journey-entry:hover{background:#dfcfad}.desk-links .journey-entry span{color:var(--journal-soft)}.school-desk .journey-help{border-color:var(--journal-rule);font-size:14px}.school-desk .journey-help summary{color:#3e2b1d}.school-desk :focus-visible{outline-color:var(--journal-action)}
/* SETA — a horizontal vista over a compact loadout and sortie command. */
body[data-game=seta]{--bg:#060b0d;--ink0:#060a0c;--ink:var(--deck-surface);--ink-2:#132125;--ground:#183034;--ground-2:#234247;--text:#e2e5d8;--muted:#a7b9b6;--accent:#b9d7c6;--lit:#8de0bf;--btn:#183034;--btn-hover:#25454a;--primary:#abd5bb;--primary-hover:#c7edd2;--primary-text:#10211a;--focus:#adf2d1}
body[data-game=seta] .game-screen .game-frame{border-color:#778e83}
body[data-game=seta] #world-view[data-screen=guide] .gs-center{gap:0}
body[data-game=seta] #world-view[data-screen=guide] .scene-banner{height:150px;border:2px solid #708e80;margin:0;border-bottom:0}
body[data-game=seta] #world-view[data-screen=guide] .scene-caption{left:20px;bottom:15px;background:#071011de;border:0;max-width:70%;padding:8px 12px}
body[data-game=seta] #world-view[data-screen=guide] .scene-caption h2{font-size:23px}
body[data-game=seta] #panel-guide{padding:0;background:var(--deck-surface)}
.seta-deck{padding:24px;display:grid;grid-template-columns:76px minmax(0,1.7fr) minmax(200px,1fr);gap:16px 24px;background:var(--deck-surface);border:2px solid #60766a}
.seta-seal{grid-column:1;grid-row:1;align-self:start;border:4px double #c6b67c;background:#0a1718;text-align:center;color:#c6b67c;padding:12px 4px}.seta-seal>span{display:block;font-size:36px}.seta-seal small{font-size:10px}
.seta-heading{grid-column:2;grid-row:1;align-self:center}.seta-heading h2{font-size:29px;margin:6px 0 12px}.seta-heading p{color:#b1c2b5;font-size:14px;margin:0}.seta-heading .eyebrow{color:var(--deck-gold);font-size:14px;letter-spacing:.1em}
.sortie-command{grid-column:1/3;grid-row:2;padding:20px;background:var(--deck-raised);border-left:4px solid #b4dac1}.sortie-command p{line-height:1.7;min-height:2.6em}.sortie-command .eyebrow{color:#abc6b8}.sortie-command .journey-primary{font-size:22px}
.seta-loadout{grid-column:3;grid-row:1/3;border-left:1px solid var(--deck-rule);padding-left:20px;display:flex;flex-direction:column;gap:12px}.seta-loadout>.eyebrow{color:var(--deck-gold)}.seta-loadout>strong{font-size:14px;font-weight:400;margin-bottom:8px}.seta-loadout .journey-entry{padding:12px;border:1px solid #526c62;box-shadow:inset 1px 1px #354c42;min-height:76px}.seta-loadout .journey-entry span{font-size:14px}
.raid-entry{grid-column:1/3;grid-row:3;background:var(--deck-identity);border:1px solid var(--deck-identity-border);box-shadow:inset 2px 2px #51323a}.raid-entry:hover{background:#352129}.raid-entry strong{color:var(--deck-identity-title)}.raid-entry span{color:var(--deck-identity-muted)}
.seta-deck .journey-help{grid-column:3;grid-row:3;margin:0;padding-left:20px;border-top:0;border-left:1px solid var(--deck-rule);font-size:14px}.seta-deck .journey-help summary{color:#bdcbbd}
@media(max-width:1000px){.seta-deck{grid-template-columns:64px minmax(0,1fr)}.seta-loadout{grid-column:1/3;grid-row:3;border-left:0;border-top:1px solid var(--deck-rule);padding:16px 0 0;display:grid;grid-template-columns:1fr 1fr}.seta-loadout>.eyebrow,.seta-loadout>strong{grid-column:1/-1;margin:0}.raid-entry{grid-row:4}.seta-deck .journey-help{grid-column:1/3;grid-row:5;border-left:0;padding:0}}
@media(max-width:780px){
 .game-screen .game-frame{grid-template-columns:minmax(0,1fr);grid-template-areas:'top' 'tools' 'center';gap:10px}.game-screen .gs-panel{padding:12px}.gs-tools{gap:6px}.gs-tools button{flex:1 1 64px;font-size:14px;padding-inline:6px}.gs-tools #tab-settings{margin-left:0}
 .game-screen .gs-title h1{font-size:18px}.game-screen .gs-top{gap:8px}.gs-top .quiet{padding-inline:4px;font-size:14px}
 body[data-game=school] #world-view[data-screen=guide] .gs-center{display:flex;flex-direction:column;gap:0}
 body[data-game=school] #world-view[data-screen=guide] .scene-banner{order:0;min-height:0;height:140px;border-width:3px}
 body[data-game=school] #world-view[data-screen=guide] .scene-caption{display:none}
 body[data-game=school] #world-view[data-screen=guide] .gs-instruments{order:1}
 body[data-game=seta] #world-view[data-screen=guide] .scene-banner{order:0;height:120px}body[data-game=seta] #world-view[data-screen=guide] .scene-stage{position:absolute;inset:0}body[data-game=seta] #world-view[data-screen=guide] .scene-caption{display:none}
 .school-desk{padding:20px 16px;border-left-width:5px}.school-desk h2{font-size:24px}.desk-note{padding:14px}.desk-year{font-size:16px}.desk-heading{margin-bottom:16px}
 .seta-deck{padding:18px 14px;gap:18px 12px;grid-template-columns:52px minmax(0,1fr)}.seta-seal{padding:8px 2px}.seta-seal>span{font-size:28px}.seta-seal small{font-size:8px}.seta-heading h2{font-size:24px}.seta-heading .eyebrow{font-size:14px}.sortie-command{padding:16px}.seta-loadout{gap:10px}
 .journey-primary{font-size:18px;padding:12px}.journey-entry{padding:14px;min-height:72px}.journey-entry strong{font-size:16px}.journey-primary::after{float:none}.journey-help{font-size:14px}
 .utility-sheet{padding:14px}.utility-sheet .portrait-module{grid-template-columns:100px minmax(0,1fr)}.conversation-sheet .gs-dialogue{grid-template-columns:1fr}.conversation-sheet .messages{height:150px}.utility-sheet .portrait-module>p{grid-column:1/-1}
 .tutorial-coach{display:block}.tutorial-coach p{margin:8px 0}.tutorial-coach button{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.journey-primary,.journey-entry{transition:none}}
.optional-paths{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.optional-paths button{flex:1 1 140px;font-size:14px}
.eq-collection-fold{margin-top:24px;border-top:1px solid var(--metal-mid)}.eq-collection-fold>summary{padding:16px 0;min-height:44px;cursor:pointer}
/* 2026-11-20: seal caption stays readable */
.seta-seal small{font-size:12px!important;line-height:1.3}
