/* TUAT v0.9.3 Story Layer — blackout removed; live engine remains authoritative. */
.ez-story-director{display:none;margin:0 0 18px;padding:14px 16px;border:1px solid rgba(110,224,213,.22);border-radius:20px;background:linear-gradient(135deg,rgba(5,19,31,.92),rgba(8,30,43,.84));box-shadow:0 18px 48px rgba(0,0,0,.22)}
.ez-story-director.is-visible{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.ez-story-copy{min-width:0}.ez-story-kicker{display:flex;align-items:center;gap:8px;color:#7ee2d5;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ez-story-kicker i{width:8px;height:8px;border-radius:50%;background:#7ee2d5;box-shadow:0 0 18px #7ee2d5}.ez-story-title{font-size:18px;font-weight:800;color:#f6fbff;margin:5px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ez-story-meta{font-size:12px;color:#8fa8bb}.ez-story-cue{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.035);color:#c7d8e6;font-size:12px;line-height:1.5;border:1px solid rgba(255,255,255,.05)}
.ez-story-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ez-story-actions button{min-height:40px;padding:0 12px;border-radius:12px}.ez-story-actions .story-live{background:linear-gradient(135deg,#14688a,#24bfc7);border-color:rgba(103,235,230,.4);color:#fff;font-weight:850}.ez-story-actions .story-return{background:linear-gradient(135deg,#5e4512,#a8791f);border-color:rgba(246,194,95,.35)}.ez-story-actions .story-blackout{background:#090b0e;border-color:#30343a}.ez-story-mode{padding:5px 9px;border-radius:999px;border:1px solid rgba(126,226,213,.25);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#9fe9e1;background:rgba(110,224,213,.06)}.ez-story-mode.live{color:#ffd98a;border-color:rgba(246,194,95,.25);background:rgba(246,194,95,.06)}

/* Stage story view */
.story-stage,.story-blackout{display:none;position:absolute;inset:0;z-index:25}
.broadcast[data-view="story"]>.broadcast-top,.broadcast[data-view="story"]>.broadcast-grid,.broadcast[data-view="story"]>.broadcast-foot,
.broadcast[data-view="story"] .story-stage{display:grid}
.story-stage{--story-accent:#79dfd1;--story-accent2:#5ba6e6;grid-template-rows:auto 1fr auto;padding:72px 88px 60px;background:radial-gradient(circle at 76% 25%,color-mix(in srgb,var(--story-accent) 17%,transparent),transparent 28%),radial-gradient(circle at 15% 85%,rgba(73,91,153,.16),transparent 34%),linear-gradient(135deg,#05090f 0%,#08121d 56%,#050a11 100%);overflow:hidden}
.story-stage[data-theme="signal"]{--story-accent:#ffb95f;--story-accent2:#f36c6c}
.story-stage[data-theme="sense"]{--story-accent:#73e7da;--story-accent2:#6ca8ff}
.story-stage[data-theme="value"]{--story-accent:#ff806f;--story-accent2:#f2c96e}
.story-stage[data-theme="model"]{--story-accent:#8b9cff;--story-accent2:#58d2ff}
.story-stage[data-theme="self"]{--story-accent:#c385ff;--story-accent2:#64dfc7}

.story-stage[data-theme="evidence"]{--story-accent:#4cc7b2;--story-accent2:#87e8d8}
.story-stage[data-theme="future"]{--story-accent:#ab9bff;--story-accent2:#58d2ff}
.story-stage[data-theme="live"]{--story-accent:#f2b552;--story-accent2:#ff806f}
.story-stage[data-theme="blackbox"]{--story-accent:#ff8d62;--story-accent2:#ef4c4c}
.story-stage[data-theme="lesson"]{--story-accent:#b5c0cf;--story-accent2:#7ee2d5}
.story-stage::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 90%)}
.story-stage::after{content:"";position:absolute;right:-190px;top:-220px;width:720px;height:720px;border-radius:50%;border:1px solid color-mix(in srgb,var(--story-accent) 24%,transparent);box-shadow:0 0 0 70px rgba(255,255,255,.012),0 0 0 140px rgba(255,255,255,.008);opacity:.8}
.story-head,.story-main,.story-foot{position:relative;z-index:2}.story-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.story-brand{display:flex;align-items:center;gap:14px}.story-mark{width:13px;height:13px;border-radius:50%;background:var(--story-accent);box-shadow:0 0 24px var(--story-accent)}.story-chapter{font-size:14px;font-weight:850;letter-spacing:.22em;color:var(--story-accent);text-transform:uppercase}.story-progress{display:flex;align-items:center;gap:12px;color:#879bad;font-size:13px;letter-spacing:.08em}.story-progress b{font-size:24px;color:#eef8ff;font-variant-numeric:tabular-nums}.story-progress-line{width:160px;height:2px;background:rgba(255,255,255,.09);position:relative;overflow:hidden}.story-progress-line i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,var(--story-accent),var(--story-accent2));width:0%}
.story-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.68fr);gap:70px;align-items:center}.story-copy{max-width:1020px}.story-kicker{font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:#7892a8;margin-bottom:16px}.story-title{font-size:clamp(48px,4.5vw,84px);line-height:.98;letter-spacing:-.045em;margin:0 0 20px;color:#f5fbff;font-weight:820}.story-title em{font-style:normal;color:var(--story-accent)}.story-body{max-width:980px;font-size:clamp(22px,1.7vw,31px);line-height:1.42;color:#c7d9e8;margin:0}.story-headline{margin-top:28px;display:inline-flex;align-items:center;gap:10px;padding:10px 15px;border:1px solid color-mix(in srgb,var(--story-accent) 26%,transparent);border-radius:999px;color:#effaff;background:color-mix(in srgb,var(--story-accent) 8%,transparent);font-size:13px;font-weight:750;letter-spacing:.06em}.story-headline i{width:7px;height:7px;border-radius:50%;background:var(--story-accent);box-shadow:0 0 15px var(--story-accent)}
.story-visual{height:480px;position:relative;display:grid;place-items:center}.story-image-card{width:min(100%,640px);margin:0;display:grid;gap:10px}.story-image-frame{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:26px;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.38)}.story-image-caption{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#a7bfd0}.story-orbit{width:370px;height:370px;border-radius:50%;border:1px solid color-mix(in srgb,var(--story-accent) 25%,transparent);position:relative;display:grid;place-items:center;box-shadow:inset 0 0 80px rgba(0,0,0,.24),0 0 80px color-mix(in srgb,var(--story-accent) 8%,transparent)}.story-orbit::before,.story-orbit::after{content:"";position:absolute;border-radius:50%;border:1px dashed color-mix(in srgb,var(--story-accent2) 24%,transparent)}.story-orbit::before{inset:42px}.story-orbit::after{inset:92px}.story-core{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,color-mix(in srgb,var(--story-accent) 42%,#06111d),#07121e 68%);box-shadow:0 0 50px color-mix(in srgb,var(--story-accent) 22%,transparent);font-weight:850;color:#fff;font-size:22px;letter-spacing:.05em}.story-core small{display:block;font-size:10px;letter-spacing:.16em;color:#b4c8d8;margin-top:5px}.story-node{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--story-accent);box-shadow:0 0 16px var(--story-accent)}.story-node.n1{top:36px;left:50%}.story-node.n2{right:44px;top:50%}.story-node.n3{bottom:42px;left:35%}.story-node.n4{left:46px;top:34%}
.story-question{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;border-top:1px solid rgba(255,255,255,.08);padding-top:24px}.story-question span{display:block;color:#7f96aa;font-size:11px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px}.story-question strong{display:block;max-width:1250px;font-size:clamp(22px,2vw,34px);font-weight:720;line-height:1.26;color:#eef8ff}.story-live-ready{display:flex;align-items:center;gap:10px;color:var(--story-accent);font-size:12px;font-weight:850;letter-spacing:.12em;white-space:nowrap}.story-live-ready i{width:9px;height:9px;border-radius:50%;background:var(--story-accent);box-shadow:0 0 18px var(--story-accent)}
.story-blackout{background:#000;align-items:flex-end;justify-content:center;padding:0 0 32px;color:#1e232a;font-size:10px;letter-spacing:.22em;text-transform:uppercase}

/* Technical console story buttons */
.story-director-legacy{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(126,226,213,.18);background:rgba(12,28,40,.6);border-radius:14px;margin:10px 0}.story-director-legacy strong{margin-right:auto}.story-director-legacy button{min-height:36px}

@media(max-width:1100px){.ez-story-director.is-visible{grid-template-columns:1fr}.ez-story-actions{justify-content:flex-start}.story-stage{padding:42px 38px}.story-main{grid-template-columns:1fr;gap:18px}.story-visual{height:auto;min-height:230px}.story-image-card{max-width:520px}.story-orbit{width:210px;height:210px}.story-core{width:90px;height:90px;font-size:15px}.story-title{font-size:48px}.story-body{font-size:22px}}

/* v0.9.3 BLACKOUT REMOVED: legacy cached markup must never cover the stage. */
.story-blackout{display:none!important;pointer-events:none!important}


/* v0.10.2 FUTURE360 — one projector, one sequential story/live surface */
.story-highlights{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:950px}.story-highlights:empty{display:none}.story-highlights li{padding:10px 12px;border:1px solid color-mix(in srgb,var(--story-accent) 20%,transparent);border-radius:12px;background:rgba(255,255,255,.035);color:#bcd0df;font-size:15px}.story-live-layer{position:relative;z-index:2;display:block;min-height:0}.story-live-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(460px,.82fr);gap:34px;align-items:stretch;height:100%}.story-live-case,.story-live-side{border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(145deg,rgba(11,28,42,.92),rgba(7,17,28,.9));padding:28px;min-width:0}.story-live-tag,.story-research-head,.story-decision-panel>span,.story-audience-copy>span{font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:var(--story-accent)}.story-live-case h2{font-size:clamp(38px,3.3vw,62px);letter-spacing:-.04em;margin:10px 0 18px;line-height:1.02}.story-live-case>p{font-size:clamp(18px,1.35vw,25px);line-height:1.48;color:#c9d9e6;max-height:350px;overflow:auto;white-space:pre-wrap}.story-live-options{display:grid;gap:8px;margin-top:20px}.story-live-options>div{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;padding:9px 11px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.025);font-size:14px;color:#b9cedc}.story-live-options b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--story-accent) 17%,transparent);color:var(--story-accent)}.story-live-side{display:flex;flex-direction:column;gap:14px;overflow:auto}.story-live-image{margin:0;display:grid;gap:8px}.story-live-image-frame{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 55px rgba(0,0,0,.32)}.story-live-image-caption{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#97b2c6}.story-flow-track{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.story-flow-track span{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:#627b8d;font-size:8px;letter-spacing:.08em}.story-flow-track i{font-style:normal;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #36505f}.story-flow-track span.done{color:#bfe9df}.story-flow-track span.done i{background:#1d655d;border-color:#57bbaa;color:#fff}.story-live-status{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}.story-live-status strong{font-size:18px;color:#eef8ff}.story-live-status p{font-size:12px;line-height:1.5;color:#8fa8ba;margin:5px 0 0}.story-research{display:grid;gap:5px}.story-research-head{margin:2px 0 4px}.story-research-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-radius:9px;background:rgba(255,255,255,.025);font-size:10px;color:#9cb2c1}.story-research-row b{font-size:9px;color:#9fb4c1}.story-research-row[data-state=RUNNING]{box-shadow:inset 3px 0 #f2b552}.story-research-row[data-state=DONE]{box-shadow:inset 3px 0 #4cc7b2}.story-research-row[data-state=ERROR]{box-shadow:inset 3px 0 #ff806f}.story-audience-panel{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px;border-radius:14px;border:1px solid rgba(242,181,82,.18);background:rgba(242,181,82,.05)}.story-audience-copy strong{display:block;font-size:14px;color:#eef7fb;margin:5px 0}.story-audience-copy .result-total strong{font-size:30px}.story-mini-qr{display:grid;place-items:center;gap:4px}.story-mini-qr img{width:92px;height:92px;padding:5px;background:#fff;border-radius:8px}.story-mini-qr b{letter-spacing:.12em;color:#f2c77d}.story-mini-qr small{font-size:8px;color:#708a9d;max-width:160px;overflow:hidden}.story-decision-panel{padding:15px;border:1px solid rgba(76,199,178,.18);border-radius:14px;background:rgba(76,199,178,.05)}.story-decision-panel h3{font-size:20px;margin:6px 0;color:#f2fbff}.story-decision-panel p{font-size:13px;line-height:1.5;color:#b9cdd8;max-height:150px;overflow:auto}.story-avatar-mount:empty{display:none}.story-avatar-mount .avatar-frame{min-height:250px;height:250px;flex:none;margin-top:2px}.story-avatar-mount .avatar-orb{min-height:250px}.story-avatar-mount .avatar-caption{font-size:7px}.integrated-future .story-question{margin-top:18px}.integrated-future .story-live-ready{color:var(--story-accent)}
@media(max-width:1100px){.story-live-grid{grid-template-columns:1fr}.story-live-side{max-height:420px}.story-highlights{grid-template-columns:1fr}}

.story-audience-copy>span em{font-style:normal;color:#f2c77d}.story-audience-copy>span em b{font-size:16px;font-variant-numeric:tabular-nums}


/* v0.10.6 — FUTURE360 cinematic full-screen image scenes */
.story-stage.full-image-scene{padding:0!important;display:block!important;background:#000!important;overflow:hidden}
.story-stage.full-image-scene::before,.story-stage.full-image-scene::after{display:none!important}
.story-stage.full-image-scene .story-head,.story-stage.full-image-scene .story-question{display:none!important}
.story-stage.full-image-scene .story-main{display:block!important;position:absolute!important;inset:0!important}
.story-stage.full-image-scene .story-copy,.story-stage.full-image-scene .story-orbit{display:none!important}
.story-stage.full-image-scene .story-visual{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
.story-stage.full-image-scene .story-image-card{display:block!important;position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important}
.story-stage.full-image-scene .story-image-frame{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.story-stage.full-image-scene .story-image-caption{display:none!important}
