/* SITUORA V3 · An offline interactive story. No fonts, libraries or network requests. */
:root{color-scheme:dark;--night:#080f21;--night-2:#101e34;--card:#101a2c;--card-2:#17243a;--border:rgba(181,201,224,.14);--soft:#9fb1ca;--white:#f5f8ff;--mint:#55e0ce;--gold:#f8c988;--blue:#83b6e5;--red:#fb9e90;--shadow:0 28px 60px rgba(0,0,0,.28)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:radial-gradient(ellipse at 9% 0%,#172d4b 0%,transparent 39%),radial-gradient(ellipse at 95% 2%,#123b3b 0%,transparent 30%),linear-gradient(180deg,#090f21 0%,#0b1428 65%,#08111f 100%);color:var(--white);-webkit-font-smoothing:antialiased}
button{font:inherit}button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
button:disabled{cursor:default}button:not(:disabled){cursor:pointer}
.app-shell{max-width:1480px;margin:0 auto;padding:25px clamp(14px,3.5vw,44px) 24px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}
.brand{display:flex;align-items:center;gap:13px}
.brand-symbol{width:48px;height:48px;display:grid;place-items:center;color:#fff;background:linear-gradient(140deg,#22a8a7,#28639f 68%,#153c77);border-radius:16px;box-shadow:0 14px 25px #060e1c85,inset 0 1px 0 #ffffff3d}
.brand-words{display:flex;flex-direction:column;gap:4px}.brand-words b{font-size:21px;letter-spacing:.22em;font-weight:900;line-height:1}.brand-words span{font-size:10px;font-weight:800;letter-spacing:.19em;color:#8faac6}
.header-side{display:flex;align-items:center;gap:18px}.edition-tag{display:inline-flex;align-items:center;gap:10px;letter-spacing:.16em;font-size:10px;font-weight:800;color:#aabed6}.tag-pulse,.signal-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px #55e0ce22,0 0 15px #55e0ce9a}
.restart-button{display:flex;align-items:center;gap:9px;border:1px solid #667b9a56;color:#dce8f5;padding:10px 15px;border-radius:12px;background:#ffffff0c;font-size:12px;font-weight:800;transition:background .2s,border-color .2s}.restart-button:hover{background:#ffffff17;border-color:#9db4cb80}.restart-button span:first-child{font-size:19px;line-height:1}
.experience{outline:none}
.theatre{position:relative;isolation:isolate;overflow:hidden;min-height:405px;border-radius:27px 27px 22px 22px;background:#183b56;box-shadow:var(--shadow);border:1px solid #bbd0e12c}
.scene-backdrop{position:absolute;inset:0;overflow:hidden;z-index:-2}.hotel-art{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;opacity:.83;filter:saturate(.92) brightness(.8)}.scene-backdrop::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#08162be3 0%,#09182abb 30%,#091b3280 60%,#0513225e 100%);z-index:1}.scene-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#08152680,transparent 23%,transparent 70%,#071326df);z-index:2}.scene-grain{position:absolute;inset:0;opacity:.18;background-image:radial-gradient(#fff 0.55px,transparent .6px);background-size:8px 8px;z-index:3;pointer-events:none}
.theatre-top,.theatre-bottom{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:14px}.theatre-top{padding:26px 30px}.scene-location{display:flex;align-items:center;gap:12px;color:#f2eee7;font-size:11px;letter-spacing:.14em;font-weight:900}.scene-location-mute{color:#bbcedc;font-weight:600}.scene-time{font-size:11px;font-weight:900;letter-spacing:.12em;border:1px solid #ffffff30;color:#e4ecf3;padding:9px 12px;border-radius:10px;background:#05122158}
.theatre-center{min-height:277px;display:flex;align-items:stretch;padding:13px 38px 0;position:relative;z-index:3}.hero-text{position:relative;z-index:2;flex:1;max-width:710px;padding:10px 0 35px;animation:fade-up .35s ease-out}.chapter-kicker{font-size:11px;letter-spacing:.19em;font-weight:900;color:var(--gold);margin-bottom:15px}#heroTitle{font-size:clamp(39px,4.1vw,64px);line-height:1.055;letter-spacing:-.055em;margin:0 0 16px;font-weight:900;text-wrap:balance;max-width:680px;text-shadow:0 3px 25px #00000040}#heroDescription{margin:0;max-width:560px;color:#dae7f2;line-height:1.65;font-weight:550;font-size:15px}.hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.hero-chips span{font-size:10px;letter-spacing:.09em;font-weight:900;color:#d4e4f0;border:1px solid #ffffff24;padding:8px 11px;border-radius:7px;background:#09192b6b}
.portrait-wrap{position:absolute;z-index:1;right:45px;bottom:-18px;width:270px;height:304px;pointer-events:none;transition:filter .3s ease}.portrait-halo{position:absolute;inset:18px 8px 20px;border-radius:50%;filter:blur(22px);background:radial-gradient(circle,#d5ae7f4d,transparent 67%)}.portrait{position:absolute;bottom:0;left:0;width:100%;height:100%;filter:drop-shadow(3px 12px 15px #0209159e);animation:portrait-in .65s cubic-bezier(.18,.8,.24,1) both}.portrait-name{position:absolute;bottom:18px;right:-8px;display:flex;flex-direction:column;text-align:right;gap:3px;padding:10px 13px 10px 16px;background:linear-gradient(90deg,#12223800,#0c1e34b0 20%,#0c1e34d9);border-radius:8px}.portrait-name b{font-size:11px;letter-spacing:.14em}.portrait-name span{font-size:9px;letter-spacing:.16em;color:#c2d5df}.mouth-neutral,.mouth-worried,.mouth-relieved{opacity:0;transition:opacity .18s}.portrait-wrap[data-emotion=neutral] .mouth-neutral,.portrait-wrap[data-emotion=worried] .mouth-worried,.portrait-wrap[data-emotion=relieved] .mouth-relieved{opacity:1}
.theatre-bottom{padding:0 29px 19px}.chapter-number{font-size:10px;font-weight:900;letter-spacing:.18em;color:#c8d8e7}.scene-dots{display:flex;gap:6px}.scene-dot{height:5px;width:22px;background:#dce8f042;border-radius:99px;transition:width .25s,background .25s}.scene-dot.done{background:var(--mint)}.scene-dot.active{background:var(--gold);width:33px}
.lower-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:18px;margin-top:18px}
.play-panel,.hud{background:linear-gradient(180deg,#131f35,#111a2c);border:1px solid var(--border);border-radius:22px;box-shadow:0 22px 52px #0208174d;min-width:0}
.play-panel{overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--border);padding:20px 28px}.panel-identity{display:flex;align-items:center;gap:13px}.panel-identity-icon{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;border-radius:13px;background:#1c524f;color:var(--mint);border:1px solid #2c7e715c;font-size:20px}.panel-label{display:block;font-size:10px;letter-spacing:.17em;font-weight:900;color:#83a5ba;margin-bottom:4px}.panel-head h2,.hud h2{font-size:17px;letter-spacing:-.015em;margin:0;line-height:1.3}.play-phase{color:#b5c7d9;background:#25334b;padding:8px 11px;border:1px solid var(--border);border-radius:9px;font-size:10px;font-weight:900;letter-spacing:.09em;white-space:nowrap}.play-content{padding:28px 30px 32px;min-height:350px}.briefing-eyebrow,.tiny-label{font-weight:900;font-size:11px;letter-spacing:.18em;color:var(--mint);text-transform:uppercase}.briefing-title,.question{font-size:clamp(22px,2.5vw,30px);letter-spacing:-.035em;line-height:1.18;margin:12px 0 14px;font-weight:850}.intro-text,.scene-description{font-size:14px;line-height:1.85;color:#becde0;margin:0 0 20px;max-width:760px}.scene-description{margin:9px 0 20px}.scene-description strong{color:#86e9d6}.briefing-note{margin:20px 0 23px;padding:17px 19px;background:linear-gradient(135deg,#183a4b,#172f49);border:1px solid #2a69726e;border-radius:16px}.briefing-note b{display:block;margin-bottom:6px;font-size:11px;letter-spacing:.17em;color:#8fe8db}.briefing-note p{margin:0;color:#e1edf3;font-size:14px;line-height:1.7}.objectives{list-style:none;margin:0 0 26px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.objectives li{display:flex;gap:9px;align-items:flex-start;min-height:88px;padding:14px 12px;background:#1c2b43;border:1px solid var(--border);border-radius:13px;color:#c7d7e6;font-size:12px;font-weight:650;line-height:1.55}.check{color:var(--mint);font-weight:900;font-size:15px}.intro-cta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.intro-small{font-size:11px;color:#8ca2b8;max-width:240px;line-height:1.55}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 20px;background:linear-gradient(105deg,#53dfc9,#70e9dc);color:#071e29;border:1px solid #8bf6e6;border-radius:13px;font-weight:900;font-size:13px;letter-spacing:.025em;box-shadow:0 11px 28px #40d7c525;transition:transform .18s,box-shadow .18s,filter .18s}.primary:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 15px 32px #40d7c53c}.primary span:last-child{font-size:20px;line-height:.8}.secondary-button{padding:14px 18px;border-radius:12px;background:#223148;border:1px solid #435774;color:#e5eef5;font-weight:800;font-size:13px}.secondary-button:hover{background:#2a3c55}
.speech{position:relative;display:flex;gap:15px;align-items:flex-start;background:linear-gradient(140deg,#24364d,#1b3044);border:1px solid #546f8b82;border-radius:18px 18px 18px 4px;padding:19px 20px;margin:4px 0 25px;box-shadow:0 16px 35px #07101b4d}.speech-mark{flex:0 0 auto;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;font-size:25px;background:#2c465e;color:#9acddd}.speech-label{display:block;font-size:10px;letter-spacing:.17em;font-weight:900;color:#99bbcd;margin-bottom:6px}.speech p{margin:0;color:#f6f7fa;font-size:17px;font-weight:700;line-height:1.55}.decision-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px}.decision-hint{font-size:11px;color:#91a6bc;font-weight:650}.question{font-size:23px;margin:0 0 17px}.choices{display:grid;gap:10px}.choice{width:100%;min-height:72px;display:flex;align-items:center;gap:14px;text-align:left;padding:15px 17px;border:1px solid #42536b;background:#1b2b43;color:#e7eef7;border-radius:13px;box-shadow:0 5px 12px #050e1824;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s,opacity .18s}.choice:hover:not(:disabled){background:#223b51;border-color:#69c9c7;transform:translateX(4px);box-shadow:0 11px 24px #05131b40}.choice.selected{background:#163e46;border-color:#6de4d1;box-shadow:0 0 0 2px #4fe1cc26}.choice.dim{opacity:.42}.choice-key{height:37px;width:37px;min-width:37px;display:grid;place-items:center;border-radius:10px;background:#2d405a;border:1px solid #566c89;color:#e9f3fb;font-weight:900;font-size:13px}.choice.selected .choice-key{background:var(--mint);border-color:#a9fff2;color:#0a2732}.choice-text{font-weight:650;font-size:14px;line-height:1.55}.choice-arrow{margin-left:auto;color:#9ec1cb;font-size:18px;font-weight:400;opacity:.72}.choice.selected .choice-arrow{color:var(--mint)}
.feedback{margin-top:21px;padding:21px;border-radius:16px;border:1px solid #479e9380;background:linear-gradient(145deg,#143c40,#16333f);animation:fade-up .3s ease-out}.feedback.needs-work{background:linear-gradient(145deg,#3c2c31,#302b3a);border-color:#bb8b6975}.feedback-top{display:flex;align-items:center;gap:11px;font-size:17px;color:#98f1dc;font-weight:850;line-height:1.3}.feedback.needs-work .feedback-top{color:#ffd1a0}.feedback .feedback-copy{font-size:14px;color:#d6e4e7;line-height:1.75;margin:10px 0}.effects{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.effect{font-size:11px;font-weight:850;letter-spacing:.02em;border:1px solid #6daea85c;border-radius:7px;background:#0f2a349c;padding:7px 9px;color:#a2efdd}.effect.negative{background:#482f39a1;border-color:#db9a8975;color:#f6b4a8}.lesson{border-top:1px solid #c2d4dc2c;padding-top:14px;margin-top:15px}.lesson b{font-size:10px;letter-spacing:.19em;color:#a4c4c7}.lesson p{font-size:13px;color:#dae5e8;line-height:1.75;margin:5px 0 0}.feedback-actions{display:flex;justify-content:flex-end;margin-top:17px}
.hud{padding:24px;align-self:start;position:sticky;top:20px}.hud-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.hud-indicator{color:var(--mint);font-size:19px}.hud-sub{font-size:12px;color:#9cadc2;line-height:1.65;margin:12px 0 22px}.metric{margin:0 0 23px}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px}.metric-top span{display:flex;align-items:center;gap:9px;font-size:13px;color:#d2deea;font-weight:750}.metric-top b{font-size:14px;letter-spacing:-.01em}.metric-icon{display:grid;place-items:center;font-size:13px;font-style:normal;width:27px;height:27px;border-radius:8px}.trust-icon{color:#6df0cf;background:#1c514e}.tension-icon{color:#ffd39b;background:#533d3d}.clarity-icon{color:#a4ccff;background:#263f65}.meter{height:9px;background:#30405b;border-radius:99px;overflow:hidden}.meter-fill{height:100%;width:0;border-radius:99px;transition:width .6s ease}.trust-fill{background:linear-gradient(90deg,#249e94,#66e8d2)}.tension-fill{background:linear-gradient(90deg,#e39a5a,#ffd19a)}.clarity-fill{background:linear-gradient(90deg,#5376be,#a3c8fa)}.live-card{border-top:1px solid var(--border);padding-top:23px;margin-top:6px}.live-card-title{font-size:10px;letter-spacing:.18em;font-weight:900;color:#9ab5c8}.live-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:var(--gold)}.live-dot.good{background:var(--mint)}.live-dot.bad{background:var(--red)}.live-card p{margin:10px 0 0;color:#d4e2ee;font-size:13px;line-height:1.75}.hud-bottom{margin-top:23px;color:#90a4b8;border:1px solid #354b6269;border-radius:12px;padding:14px;font-size:11px;line-height:1.6;background:#20304766}.hud-bottom span{color:#77dfce;margin-right:5px;font-size:16px}
.results-intro{font-size:14px;color:#9eb6c9;line-height:1.7;margin:0 0 16px}.result-banner{position:relative;overflow:hidden;padding:24px;background:radial-gradient(circle at 100% 0%,#56d6be4d,transparent 36%),linear-gradient(110deg,#1d434d,#154259 70%,#25395c);border:1px solid #4b8c8a80;border-radius:18px;margin:0 0 22px}.result-badge{font-size:10px;color:#bbe3d8;letter-spacing:.15em;font-weight:900}.result-score{font-size:64px;font-weight:900;letter-spacing:-.07em;line-height:1.2;color:#f8ffff}.result-score span{font-size:20px;letter-spacing:0;color:#bcdadf}.result-title{font-size:24px;letter-spacing:-.035em;margin:2px 0 7px}.result-copy{color:#d7e6ed;font-size:13px;line-height:1.75;margin:0;max-width:720px}.result-detail-title{font-size:11px;color:#98b1c7;font-weight:900;letter-spacing:.16em;margin-bottom:13px}.result-details{display:grid;gap:9px;margin-bottom:22px}.result-item{display:flex;align-items:flex-start;gap:13px;padding:14px;background:#1a2c43;border:1px solid #3a526983;border-radius:12px}.result-item .number{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:8px;background:#29465a;color:#82e9dd;font-size:12px;font-weight:900}.result-item b{font-size:13px;color:#e6f0f6}.result-item small{display:block;font-size:12px;color:#adbdcb;margin-top:5px;line-height:1.55}.result-buttons{display:flex;gap:10px;flex-wrap:wrap}.disclaimer{font-size:11px;color:#8da3b8;line-height:1.65;margin:20px 0 0}
.site-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:20px 4px 0;color:#8fa0b5;font-size:11px;font-weight:700;letter-spacing:.08em}
@keyframes fade-up{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes portrait-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.lower-grid{grid-template-columns:minmax(0,1fr) 280px}.hero-text{max-width:540px}#heroTitle{font-size:clamp(35px,4.3vw,50px)}.portrait-wrap{right:15px;width:230px}.objectives{grid-template-columns:1fr}.objectives li{min-height:0}}
@media(max-width:800px){.lower-grid{grid-template-columns:1fr}.hud{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px}.hud-head,.hud-sub,.live-card,.hud-bottom{grid-column:1/-1}.theatre{min-height:410px}.hero-text{max-width:65%}.portrait-wrap{right:10px;width:218px}.theatre-center{padding-left:25px}.theatre-top{padding:20px 25px}.theatre-bottom{padding:0 25px 20px}}
@media(max-width:600px){.app-shell{padding:13px 10px 26px}.topbar{margin-bottom:14px}.brand-symbol{width:42px;height:42px;border-radius:13px}.brand-words b{font-size:17px}.brand-words span{font-size:8px}.edition-tag{display:none}.restart-button{padding:9px 12px;font-size:11px}.theatre{border-radius:19px;min-height:420px}.theatre-top{padding:16px 16px 0;align-items:flex-start}.scene-location{font-size:9px;letter-spacing:.10em}.scene-location-mute{display:none}.scene-time{font-size:9px;padding:7px 8px}.theatre-center{min-height:350px;padding:20px 20px 0}.hero-text{max-width:100%;padding:0 0 26px}.chapter-kicker{font-size:9px;margin-bottom:14px}#heroTitle{font-size:clamp(35px,9vw,48px);max-width:350px}#heroDescription{font-size:12px;max-width:255px}.hero-chips{gap:5px;margin-top:23px;max-width:300px}.hero-chips span{font-size:9px;padding:6px 8px}.portrait-wrap{opacity:.46;width:180px;height:218px;right:-24px;bottom:-2px}.portrait-name{display:none}.theatre-bottom{padding:0 17px 15px}.chapter-number{font-size:9px}.lower-grid{gap:12px;margin-top:12px}.panel-head{padding:17px;align-items:flex-start}.panel-head h2{font-size:16px}.panel-identity-icon{width:37px;height:37px}.play-phase{font-size:9px;padding:7px 8px}.play-content{padding:20px 17px 24px}.speech{padding:15px;gap:10px}.speech p{font-size:15px}.speech-mark{width:32px;height:32px;font-size:20px}.decision-hint{display:none}.choice{padding:13px;gap:11px}.choice-text{font-size:13px}.choice-key{width:32px;height:32px;min-width:32px}.choice-arrow{display:none}.feedback{padding:16px}.feedback-top{font-size:15px}.feedback-actions{justify-content:stretch}.primary,.secondary-button{width:100%}.hud{padding:18px;column-gap:10px}.metric-top{align-items:flex-start}.metric-top span{flex-direction:column;align-items:flex-start;font-size:11px;gap:5px}.metric{margin-bottom:15px}.site-footer{font-size:9px;gap:7px}}
@media(max-width:390px){#heroTitle{font-size:33px}.hero-chips span{font-size:8px}.portrait-wrap{width:158px;opacity:.33}.scene-time{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* V3 interaction enhancements */
.context-note{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;margin:-7px 0 21px;border-radius:10px;background:#223b51a6;border-left:3px solid var(--mint);color:#c6e8e7;font-size:12px;line-height:1.65;font-weight:700}
.context-note>span:first-child{color:var(--mint);font-size:17px;line-height:1.2}
@media(min-width:850px){.hero-text.is-playing{max-width:660px;padding-right:105px}}

/* V4 — scenario catalogue */
.catalogue-intro{padding-bottom:20px}
.catalogue-intro h3{font-size:clamp(25px,3vw,34px);letter-spacing:-.04em;margin:9px 0 8px;color:#fff}
.catalogue-intro p{font-size:14px;color:#a9becd;max-width:680px;line-height:1.7;margin:0}
.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.scenario-card{appearance:none;display:flex;flex-direction:column;text-align:left;overflow:hidden;min-width:0;border-radius:18px;border:1px solid #415873;background:#192a41;color:#eef6fb;padding:0;cursor:pointer;box-shadow:0 12px 25px #07111d35;transition:transform .2s,border-color .2s,box-shadow .2s}
.scenario-card:hover{transform:translateY(-5px);border-color:#7fdfd0;box-shadow:0 18px 30px #07111d60}
.scenario-card:focus-visible{outline:3px solid #8cf1db;outline-offset:3px}
.scenario-card-art{height:126px;display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(circle at 50% 35%,#357f8c8f,transparent 60%),linear-gradient(135deg,#2b5471,#142b46)}
.scenario-card-2 .scenario-card-art{background:radial-gradient(circle at 55% 35%,#d4a16866,transparent 60%),linear-gradient(135deg,#6c5266,#182d49)}
.scenario-card-3 .scenario-card-art{background:radial-gradient(circle at 55% 35%,#678de66b,transparent 60%),linear-gradient(135deg,#32415f,#131d3a)}
.scenario-card-number{position:absolute;left:15px;top:11px;font-size:12px;color:#c1d9e7;font-weight:900;letter-spacing:.12em}
.scenario-card-glyph{font-size:66px;line-height:1;color:#f6d5a4;text-shadow:0 10px 20px #071c3070}
.scenario-card-info{flex:1;display:flex;flex-direction:column;padding:18px;gap:10px}
.scenario-card-category{font-size:10px;font-weight:850;letter-spacing:.12em;color:#79dbd2;min-height:30px}
.scenario-card-info strong{font-size:19px;line-height:1.15;letter-spacing:-.02em;color:#fff}
.scenario-card-subtitle{color:#adc1d0;font-size:13px;line-height:1.6;min-height:66px}
.scenario-card-meta{display:flex;gap:12px;flex-wrap:wrap;color:#b2c5d4;font-size:11px;font-weight:750;margin-top:auto}
.scenario-card-start{display:flex;align-items:center;justify-content:space-between;border-radius:10px;background:#23566b;color:#d8fff5;font-size:13px;font-weight:850;padding:11px 13px;margin-top:6px}
.scenario-card:hover .scenario-card-start{background:#1a766e}
.catalogue-mode .scene-dots{display:none}
.catalogue-mode .portrait-wrap{opacity:.62}
@media(max-width:1050px){.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.scenario-grid{grid-template-columns:1fr}.scenario-card{flex-direction:row}.scenario-card-art{height:auto;min-height:190px;flex:0 0 110px}.scenario-card-glyph{font-size:42px}.scenario-card-info{padding:14px}.scenario-card-info strong{font-size:17px}.scenario-card-subtitle{min-height:0}.scenario-card-category{min-height:0}.catalogue-mode .portrait-wrap{opacity:.25}}
@media(max-width:420px){.scenario-card{flex-direction:column}.scenario-card-art{height:96px;min-height:96px;flex:auto}.scenario-card-subtitle{min-height:0}}

/* Catalogue gives each story room to breathe, with metrics activated during play. */
.catalogue-mode .lower-grid{grid-template-columns:1fr}
.catalogue-mode .hud{display:none}
.catalogue-mode .theatre{min-height:310px}
.catalogue-mode .theatre-center{min-height:175px}
.catalogue-mode .hero-text{max-width:790px}
.catalogue-mode .portrait-wrap{width:190px;height:220px;opacity:.34}
.catalogue-mode .hero-chips{display:none}
.catalogue-mode .scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:850px){.catalogue-mode .scenario-grid{grid-template-columns:1fr}}
@media(max-width:600px){.catalogue-mode .theatre{min-height:300px}.catalogue-mode .theatre-center{min-height:200px}.catalogue-mode #heroTitle{font-size:clamp(30px,8vw,39px)}.catalogue-mode .portrait-wrap{opacity:.18}}

/* V5: catalogue of 10 front-desk cases, card alignment and accessible focus. */
.catalogue-mode .scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.scenario-card{height:100%;min-height:290px}
.scenario-card-info{flex:1}
.scenario-card-start{margin-top:auto}
.scenario-card:focus-visible{outline:3px solid #f6c67c;outline-offset:3px}
@media(max-width:850px){.catalogue-mode .scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalogue-mode .scenario-grid{grid-template-columns:1fr}.scenario-card{min-height:auto}}

/* V6 - visible authored story branches and debrief */
.result-path{margin:18px 0 26px;padding:17px 19px;border-radius:16px;background:linear-gradient(130deg,#243c56,#1a394b);border:1px solid #447d80;box-shadow:0 12px 28px #020a1430}
.result-path .result-detail-title{color:#8ee3d6;margin-bottom:9px}
.result-path p{font-size:13px;color:#e7f3f4;line-height:1.65;margin:0 0 7px}
.result-path ul{margin:9px 0 0;padding-left:20px;font-size:12px;line-height:1.7;color:#c3dbe3}
/* Explicit branch marker makes the cause-and-effect visible to the player */
.chapter-kicker:has(+h1){transition:color .2s}

/* V7: actionable pedagogy and outcome-first debrief */
.skill-target{color:#a7d9db;border:1px solid #376577;background:#19384a;padding:10px 13px;border-radius:10px;margin:0 0 14px;font-size:12px;line-height:1.55}
.skill-target strong{color:#b8f1e3}
.reflection{margin-top:12px;padding:13px 15px;border:1px solid #37746e;border-radius:12px;background:#143c49b8}
.reflection strong{font-size:11px;letter-spacing:.09em;color:#87dec7}
.reflection p{margin:4px 0 0;font-size:13px;color:#d6e6e5}
.result-outcome{border-top:1px solid #ffffff4b;padding-top:13px;margin:13px 0 0;line-height:1.65;font-size:13px;color:#f0f8f9}
.skill-report{display:grid;gap:12px;margin:12px 0 22px}
.skill-item{display:grid;grid-template-columns:minmax(100px, 1.3fr) minmax(70px,1fr) 45px;align-items:center;gap:12px;font-size:12px;color:#e1edf0}
.skill-item strong{text-align:right;color:#91e4d6}
.skill-track{height:8px;background:#2a4458;border-radius:20px;overflow:hidden}
.skill-track i{display:block;height:100%;background:linear-gradient(90deg,#238a98,#64dbbe);border-radius:20px}
.growth-report{padding:15px 17px;border:1px solid #3d6673;border-radius:14px;background:#18344c;margin-bottom:24px}
.growth-report p{font-size:13px;line-height:1.6;color:#d4e7eb;margin:0 0 8px}
.growth-report p:last-child{margin-bottom:0}
.growth-report strong{color:#a0ecdc}
@media(max-width:600px){.skill-item{grid-template-columns:minmax(100px,1.3fr) minmax(55px,1fr) 34px;gap:8px;font-size:11px}}
/* CTA for public two-scenario demo, responsive without dependencies */
.top-purchase{color:#081d30;background:#82efd9;text-decoration:none;border-radius:999px;padding:11px 17px;font-size:12px;font-weight:900;box-shadow:0 8px 22px #0005}
.top-purchase:hover,.unlock-cta:hover{filter:brightness(1.08);transform:translateY(-2px)}
.unlock-strip{margin:28px auto 20px;max-width:1240px;border:1px solid #81ead76b;background:linear-gradient(115deg,#102a42,#173c4f);border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:22px;color:#eefaff;padding:24px clamp(18px,3vw,32px);box-shadow:0 18px 34px #07122155}
.unlock-strip h2{font-size:clamp(20px,3vw,28px);margin:8px 0;line-height:1.1}.unlock-strip p{max-width:710px;line-height:1.55;margin:0 0 6px;color:#c3dbe3;font-size:14px}.unlock-strip small{color:#91b8c5;font-size:11px}
.unlock-kicker{font-size:10px;letter-spacing:.14em;color:#91f4e5;font-weight:900}.unlock-cta{flex:0 0 auto;text-decoration:none;color:#061c2b;background:#84eedb;display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:15px 20px;border-radius:14px;font-size:14px;font-weight:900;transition:transform .2s,filter .2s;min-height:48px;text-align:center}
@media(max-width:780px){.unlock-strip{margin:18px 12px;display:grid}.unlock-cta{width:100%}}
@media(max-width:500px){.top-purchase{font-size:11px;padding:8px 10px}.unlock-strip{border-radius:17px}}
