/* Dialogue uses CSS pixels independent of the 1280×720 game canvas. */
.r45-story-reader{--r45-story-scale:1.25;position:fixed;inset:0;z-index:2147482990;display:flex;flex-direction:column;box-sizing:border-box;padding:max(14px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));background:#08131f;color:#f4f0df;font-family:"Atkinson Hyperlegible Next",Arial,sans-serif;font-size:calc(20px * var(--r45-story-scale));line-height:1.55;letter-spacing:normal;text-shadow:none;touch-action:pan-y;overflow:hidden;isolation:isolate}
.r45-story-reader[hidden],.r45-story-reader [hidden]{display:none!important}
.r45-story-reader *{box-sizing:border-box}
.r45-story-reader .r45-story-header{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;flex:none;border-bottom:1px solid #63758a;padding-bottom:10px}
.r45-story-reader .r45-story-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
.r45-story-reader h1,.r45-story-reader h2,.r45-story-reader p,.r45-story-reader figure{margin:0}
.r45-story-reader h1{font-size:clamp(27px,calc(27px * var(--r45-story-scale)),48px);line-height:1.15;font-weight:750;overflow-wrap:anywhere}
.r45-story-reader [data-r45-eyebrow],.r45-story-reader [data-r45-location]{color:#d2dfec;font-size:calc(15px * var(--r45-story-scale));line-height:1.4}
.r45-story-reader [data-r45-eyebrow]{color:#ffe5a7;margin-bottom:4px}
.r45-story-reader [data-r45-location]{margin-top:5px}
.r45-story-reader .r45-story-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:22px 8px 26px 0}
.r45-story-reader .r45-story-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,22%);gap:clamp(20px,4vw,70px);max-width:1500px;margin:auto;align-items:start}
.r45-story-reader article{min-width:0;max-width:75ch;overflow-wrap:anywhere}
.r45-story-reader article p+ p,.r45-story-reader article h2+p{margin-top:.55em}
.r45-story-reader h2{font-size:1.04em;line-height:1.3;font-weight:750;color:#ffe5a7}
.r45-story-reader .r45-story-act{color:#ffe5a7;font-weight:650;margin-bottom:.65em}
.r45-story-reader blockquote{margin:.9em 0;padding:.1em 0 .15em .8em;border-left:4px solid #58d8ed}
.r45-story-reader blockquote:nth-of-type(2n){border-left-color:#ffe5a7}
.r45-story-reader cite{display:block;font-style:normal;font-weight:750;color:#d2dfec;font-size:.88em;margin-bottom:.25em}
.r45-story-reader .r45-story-plan{border:1px solid #63758a;border-radius:8px;padding:.65em .8em;margin-top:.8em;background:#102337}
.r45-story-reader [data-r45-people]{display:grid;gap:18px}
.r45-story-reader .r45-story-person{overflow:hidden;border:1px solid #63758a;border-radius:9px;background:linear-gradient(#183249,#0c1d2e);text-align:center}
.r45-story-reader .r45-story-person img{display:block;width:100%;height:clamp(110px,23vh,235px);object-fit:contain;object-position:center bottom;padding:10px}
.r45-story-reader figcaption{font-weight:650;font-size:calc(16px * var(--r45-story-scale));line-height:1.3;padding:10px;background:#102337;overflow-wrap:anywhere}
.r45-story-reader .r45-story-initials{display:block;min-height:80px;padding:25px 10px;color:#ffe5a7;font-size:36px}
.r45-story-reader .r45-story-footer{flex:none;display:flex;gap:18px;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #63758a}
.r45-story-reader .r45-story-footer p{font-size:calc(15px * var(--r45-story-scale));color:#d2dfec;max-width:65ch;line-height:1.4}
.r45-story-reader .r45-story-footer>div{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.r45-story-reader button,.r45-story-reader select,.r45-readability-settings select{min-height:48px;min-width:48px;max-width:100%;padding:10px 17px;border:1px solid #a9bccb;border-radius:7px;font:650 18px/1.3 "Atkinson Hyperlegible Next",Arial,sans-serif;letter-spacing:normal;background:#142c42;color:#f4f0df;touch-action:manipulation;white-space:normal}
.r45-story-reader button.r45-story-next{background:#f1c76b;border-color:#ffe5a7;color:#08131f;font-weight:750}
.r45-story-reader button:disabled{opacity:.62;cursor:wait}
.r45-story-reader button:focus-visible,.r45-story-reader select:focus-visible,.r45-story-reader [tabindex]:focus-visible,.r45-readability-settings select:focus-visible{outline:3px solid #ffe5a7;outline-offset:3px}
.r45-story-reader .r45-story-options{display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0;border-bottom:1px solid #63758a;flex:none}
.r45-reader-setting{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:6px 0}
.r45-reader-setting label{font:600 18px/1.4 "Atkinson Hyperlegible Next",Arial,sans-serif;color:#f4f0df}
.r45-readability-settings p{font:400 18px/1.5 "Atkinson Hyperlegible Next",Arial,sans-serif!important;color:#d2dfec!important}
body.r45-story-reading #r25r20StorySkip{display:none!important}
@media(max-width:800px),(max-height:480px){
 .r45-story-reader{padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left))}
 .r45-story-reader .r45-story-header{gap:12px;padding-bottom:6px}
 .r45-story-reader h1{font-size:clamp(24px,calc(23px * var(--r45-story-scale)),38px)}
 .r45-story-reader .r45-story-grid{grid-template-columns:minmax(0,1fr) 130px;gap:16px}
 .r45-story-reader .r45-story-scroll{padding-top:12px}
 .r45-story-reader .r45-story-person img{height:110px;padding:6px}
 .r45-story-reader .r45-story-footer{gap:10px;padding-top:6px}
 .r45-story-reader .r45-story-footer p{font-size:16px}
 .r45-story-reader .r45-story-footer>div{flex-wrap:nowrap}
 .r45-story-reader [data-r45-settings-toggle]{font-size:16px;padding:8px 10px}
}
/* On short landscape viewports a 200% heading plus expanded settings can be
   taller than the screen. Let the entire reader flow and scroll: neither
   instructions nor controls can be squeezed out of a fixed-height flex box. */
@media(max-height:480px){
 .r45-story-reader{display:block;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(8px,env(safe-area-inset-bottom))}
 .r45-story-reader .r45-story-scroll{overflow:visible;min-height:0;flex:none}
 .r45-story-reader .r45-story-footer{position:sticky;bottom:0;z-index:2;background:#08131f;padding:10px 0 6px;box-shadow:0 -8px 0 #08131f}
}
@media(max-width:540px){.r45-story-reader .r45-story-grid{display:flex;flex-direction:column}.r45-story-reader [data-r45-people]{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.r45-story-reader .r45-story-header{flex-wrap:wrap}.r45-story-reader .r45-story-footer{flex-wrap:wrap}.r45-story-reader .r45-story-footer>div{width:100%}.r45-story-reader .r45-story-next{flex:1}}
@media(prefers-reduced-motion:reduce){.r45-story-reader *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* R46 — one editorial hierarchy for the lead, exchange and tactical note.
   Decorative rails sit outside the text; the complete reader stays scrollable. */
.r45-story-reader{background:radial-gradient(ellipse at 100% 0,#152b3d 0,transparent 58%),#08131f}
.r45-story-reader .r45-story-header{border-bottom-color:#63758a;padding-bottom:16px}
.r45-story-reader .r46-story-phase{display:inline-block;padding:4px 10px;margin-bottom:9px;border-left:4px solid #58d8ed;background:#102337;color:#f4f0df;font-size:calc(13px * var(--r45-story-scale));line-height:1.45;font-weight:750;letter-spacing:.08em}
.r45-story-reader[data-r46-kind="outro"] .r46-story-phase{border-color:#ffe5a7}
.r45-story-reader .r45-story-grid{grid-template-columns:minmax(0,1fr) minmax(170px,25%);gap:clamp(22px,4vw,64px)}
.r45-story-reader .r45-story-act{font-size:.82em;border-bottom:1px solid #63758a;padding-bottom:.5em;margin-bottom:.75em}
.r45-story-reader blockquote{padding:.65em .85em;background:#102337;border-radius:0 12px 12px 0;margin:.75em 0}
.r45-story-reader blockquote p{line-height:1.48}
.r45-story-reader .r45-story-plan{background:#0a1b2b;border-left:4px solid #ffe5a7;border-radius:0 9px 9px 0}
.r45-story-reader .r45-story-plan h2{font-size:.86em}
.r45-story-reader [data-r45-people]{position:sticky;top:0}
.r45-story-reader .r45-story-person{border-radius:12px;border-color:#63758a}
.r45-story-reader .r45-story-person img{height:clamp(130px,26vh,280px);padding:12px}
.r45-story-reader .r45-story-footer>.r46-reader-status{display:block;flex:1;min-width:0}
.r45-story-reader .r46-reading-progress{height:4px;width:min(100%,520px);background:#63758a;margin-bottom:8px;border-radius:3px;overflow:hidden}
.r45-story-reader .r46-reading-progress span{display:block;height:100%;background:#ffe5a7}
@media(max-width:800px),(max-height:480px){
 .r45-story-reader .r45-story-grid{grid-template-columns:minmax(0,1fr) 130px;gap:18px}
 .r45-story-reader .r45-story-header{padding-bottom:8px}
 .r45-story-reader .r46-story-phase{font-size:13px;padding:2px 8px;margin-bottom:4px}
 .r45-story-reader blockquote{padding:.5em .65em}
 .r45-story-reader .r45-story-person img{height:120px;padding:8px}
 .r45-story-reader [data-r45-people]{position:static}
}
@media(max-width:540px){.r45-story-reader .r45-story-grid{display:flex}.r45-story-reader .r45-story-footer>.r46-reader-status{flex-basis:100%}}
/* R46 arcade briefing: the same straight rails and metal/gold accents as the
   fight HUD, without clipping focus rings or the scrollable reading surface. */
.r45-story-reader{border-top:3px solid #f1c76b;background:linear-gradient(115deg,rgba(28,57,77,.45),transparent 55%),#08131f}
.r45-story-reader .r45-story-header{border-bottom:2px solid #63758a}
.r45-story-reader .r46-story-phase{border-radius:0;background:linear-gradient(90deg,#183249,#0a1b2b);box-shadow:inset 0 -1px #63758a}
.r45-story-reader blockquote{border-radius:0;background:linear-gradient(90deg,#102337,rgba(16,35,55,.45));border-bottom:1px solid #354f63}
.r45-story-reader .r45-story-plan{border-radius:0;border-right:0;background:linear-gradient(90deg,#142738,#0a1b2b)}
.r45-story-reader .r45-story-person{border-radius:0;border-top:2px solid #58d8ed;box-shadow:inset 0 0 0 3px #08131f}
.r45-story-reader figcaption{border-top:1px solid #63758a;background:#091728}
.r45-story-reader button,.r45-story-reader select{border-radius:2px;border-bottom-width:3px;background:linear-gradient(#193348,#0b1d2c)}
.r45-story-reader button.r45-story-next{background:linear-gradient(110deg,#ffe5a7,#f1c76b);border-bottom-color:#8f6f32;color:#08131f}
.r45-story-reader .r46-reading-progress{border-radius:0}

/* R61: concise briefing first, complete authored scene on demand. */
.r45-story-reader .r61-story-full{margin-top:1em;border-top:1px solid #63758a;padding-top:.5em}
.r45-story-reader .r61-story-full summary{cursor:pointer;min-height:48px;padding:.45em .2em;color:#ffe5a7;font-size:.86em;font-weight:750;touch-action:manipulation}
.r45-story-reader .r61-story-full summary:focus-visible{outline:3px solid #ffe5a7;outline-offset:3px}
.r45-story-reader .r61-story-full>div{padding-top:.5em}
.r45-story-reader .r61-story-objective{margin-top:.65em;color:#d2dfec;font-size:.88em}
/* R75: one full-stage campaign composition. No nested window or cyan rails. */
#sk-r45-story-reader.r45-story-reader{
 --r75-scene-gold:#d7b77b;--r75-scene-ink:#15110e;--r75-scene-text:#f5eddb;
 background:linear-gradient(90deg,#100d0afa 0%,#17120eee 42%,#17120e70 78%,#100d0e9c),var(--r75-story-art,var(--sk-r70-bg-art)) center/cover;
 padding:clamp(18px,3.2vh,38px) max(clamp(22px,4.5vw,88px),env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(clamp(22px,4.5vw,88px),env(safe-area-inset-left));
 color:var(--r75-scene-text);font-size:calc(clamp(16px,1.25vw,21px) * var(--r45-story-scale));line-height:1.45;border:0;
}
#sk-r45-story-reader.r45-story-reader::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 86% 10%,#d7b77b19,transparent 54%),linear-gradient(0deg,#110d0d80,transparent 60%);}
#sk-r45-story-reader.r45-story-reader .r45-story-header{align-items:center;border:0;padding-bottom:16px;gap:24px;}
#sk-r45-story-reader.r45-story-reader .r46-story-phase{border:0;letter-spacing:.2em;padding:0;margin:0 0 8px;color:var(--r75-scene-gold);font-size:12px;background:none;}
#sk-r45-story-reader.r45-story-reader [data-r45-eyebrow]{font-size:12px;letter-spacing:.1em;color:#dfc794;line-height:1.4;max-width:90ch;}
#sk-r45-story-reader.r45-story-reader h1{font-family:var(--sk-r70-display,Georgia,serif);font-weight:500;font-size:clamp(28px,3.3vw,60px);line-height:1.12;color:#f8eed6;text-shadow:0 2px 0 #0008,0 5px 26px #0008;margin:7px 0;}
#sk-r45-story-reader.r45-story-reader[data-r75-major="true"] h1{font-size:clamp(32px,4.1vw,74px);}
#sk-r45-story-reader.r45-story-reader [data-r45-location]{font-size:13px;color:#c1b59e;letter-spacing:.08em;}
#sk-r45-story-reader.r45-story-reader .r45-story-scroll{padding:6px 8px 22px 0;overflow:auto;scrollbar-color:#987b4a #18120e;}
#sk-r45-story-reader.r45-story-reader .r45-story-grid{grid-template-columns:minmax(0,1.25fr) minmax(220px,.9fr);align-items:center;gap:clamp(28px,5vw,90px);min-height:100%;}
#sk-r45-story-reader.r45-story-reader article{max-width:68ch;}
#sk-r45-story-reader.r45-story-reader .r75-story-lead{color:#d9cdb7;font-size:.88em;line-height:1.55;padding:0 0 .65em;max-width:64ch;}
#sk-r45-story-reader.r45-story-reader blockquote{background:linear-gradient(90deg,#d9bd8820,transparent 80%);border:0;border-left:2px solid #89704e;padding:.5em .8em;margin:.6em 0;}
#sk-r45-story-reader.r45-story-reader blockquote:nth-of-type(2n){border-left-color:#d7b77b;}
#sk-r45-story-reader.r45-story-reader blockquote p{line-height:1.42;}
#sk-r45-story-reader.r45-story-reader cite{font-family:var(--sk-r70-display,Georgia,serif);font-size:.9em;font-weight:400;letter-spacing:0;color:#e3c790;margin-bottom:.25em;}
#sk-r45-story-reader.r45-story-reader .r45-story-plan{background:linear-gradient(105deg,#322517e0,transparent 95%);border:0;border-left:3px solid #c9a66b;color:#ede0c8;padding:.65em .8em;margin-top:.7em;font-size:.85em;}
#sk-r45-story-reader.r45-story-reader .r45-story-plan h2{font:700 12px/1.5 'Atkinson Hyperlegible Next',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#d7b77b;}
#sk-r45-story-reader.r45-story-reader [data-r45-people]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end;position:sticky;top:0;}
#sk-r45-story-reader.r45-story-reader .r45-story-person{background:transparent;border:0;box-shadow:none;overflow:visible;}
#sk-r45-story-reader.r45-story-reader .r45-story-person img{width:100%;height:clamp(190px,46vh,490px);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 16px #0009);padding:0;}
#sk-r45-story-reader.r45-story-reader figcaption{padding:14px 0;border:0;border-top:1px solid #b6985860;background:transparent;font-size:.65em;line-height:1.35;color:#e6d1a9;}
#sk-r45-story-reader.r45-story-reader[data-r46-kind="outro"] [data-r45-people]{grid-template-columns:1fr;}
#sk-r45-story-reader.r45-story-reader[data-r46-kind="outro"] .r45-story-person img{height:49vh;}
#sk-r45-story-reader.r45-story-reader .r61-story-full{font-size:.82em;border-color:#a5864b60;}
#sk-r45-story-reader.r45-story-reader .r61-story-full summary{color:#d7bd89;font-weight:500;min-height:48px;}
#sk-r45-story-reader.r45-story-reader .r45-story-footer{background:linear-gradient(90deg,#130f0bf5,#130f0bad);border-top:1px solid #a388515c;padding:14px 0 0;box-shadow:none;gap:18px;}
#sk-r45-story-reader.r45-story-reader .r45-story-footer p{font-size:13px;color:#c9bda7;}
#sk-r45-story-reader.r45-story-reader button{min-height:48px;font-size:14px;padding:12px 20px;border:0;border-bottom:1px solid #8e7045;background:linear-gradient(100deg,#35291da3,#1e181152);color:#f5e9cc;transition:background .14s,border-color .14s,box-shadow .14s;}
#sk-r45-story-reader.r45-story-reader button:hover,#sk-r45-story-reader.r45-story-reader button:focus-visible{background:linear-gradient(100deg,#6f51334d,#2b21162e);border-color:#f0d7a1;box-shadow:inset 3px 0 #d7b77b;}
#sk-r45-story-reader.r45-story-reader .r45-story-next{background:linear-gradient(115deg,#ead4a0,#bc9554 82%,#e0bf7d);color:#21170c;border:1px solid #f1dba6;min-width:220px;box-shadow:inset 0 1px #fff8,0 5px 22px #0005;font-size:16px;}
#sk-r45-story-reader.r45-story-reader .r45-story-next:hover,#sk-r45-story-reader.r45-story-reader .r45-story-next:focus-visible{color:#1a130b;background:linear-gradient(115deg,#f8e5bb,#d4ac66);box-shadow:0 0 24px #d7b77b28;}
#sk-r45-story-reader.r45-story-reader[data-r75-major="true"] .r45-story-grid{animation:r75-scene-reveal .6s ease-out both;}
@keyframes r75-scene-reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:1100px){
 #sk-r45-story-reader.r45-story-reader .r45-story-grid{grid-template-columns:minmax(0,1.5fr) minmax(170px,.65fr);gap:20px;}
 #sk-r45-story-reader.r45-story-reader [data-r45-people]{grid-template-columns:1fr;}
 #sk-r45-story-reader.r45-story-reader .r45-story-person img{height:23vh;}
 #sk-r45-story-reader.r45-story-reader .r45-story-person:nth-child(2) img{height:23vh;}
}
@media(max-height:540px){
 #sk-r45-story-reader.r45-story-reader{padding:12px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));font-size:calc(15px * var(--r45-story-scale));display:block;overflow-y:auto;}
 #sk-r45-story-reader.r45-story-reader .r45-story-header{padding-bottom:7px;align-items:flex-start;}
 #sk-r45-story-reader.r45-story-reader h1,#sk-r45-story-reader.r45-story-reader[data-r75-major="true"] h1{font-size:30px;margin:5px 0;}
 #sk-r45-story-reader.r45-story-reader .r45-story-header-actions{max-width:210px;}
 #sk-r45-story-reader.r45-story-reader .r45-story-header-actions button{font-size:12px;padding:8px 10px;}
 #sk-r45-story-reader.r45-story-reader .r45-story-scroll{overflow:visible;flex:none;padding-top:5px;}
 #sk-r45-story-reader.r45-story-reader .r45-story-grid{min-height:0;align-items:start;}
 #sk-r45-story-reader.r45-story-reader [data-r45-people]{position:static;}
 #sk-r45-story-reader.r45-story-reader .r45-story-person img,#sk-r45-story-reader.r45-story-reader .r45-story-person:nth-child(2) img{height:130px;}
 #sk-r45-story-reader.r45-story-reader .r45-story-footer{position:sticky;bottom:0;background:#17110bf5;padding-top:8px;padding-bottom:4px;z-index:2;}
 #sk-r45-story-reader.r45-story-reader .r45-story-footer p{font-size:12px;}
}
@media(max-width:540px){
 #sk-r45-story-reader.r45-story-reader .r45-story-grid{display:flex;flex-direction:column;}
 #sk-r45-story-reader.r45-story-reader [data-r45-people]{display:grid;grid-template-columns:1fr 1fr;width:100%;}
 #sk-r45-story-reader.r45-story-reader .r45-story-person img{height:160px;}
 #sk-r45-story-reader.r45-story-reader .r45-story-header{flex-wrap:wrap;}
 #sk-r45-story-reader.r45-story-reader .r45-story-header-actions{max-width:none;}
 #sk-r45-story-reader.r45-story-reader .r45-story-footer{flex-wrap:wrap;}
}
