/* Hero Event Visual Story — independent of Althea/Forecast players. */
.feature-visual--hero-story{position:relative;isolation:isolate}
.hero-story-open{position:absolute;inset:0;display:block;width:100%;height:100%;background:none;border:0;color:#fff;z-index:5;cursor:pointer}
.hero-story-open:before{content:'▶';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:57px;height:57px;border:1px solid #f5dfaa;border-radius:50%;display:grid;place-items:center;color:#fff6dc;background:#091b32dc;box-shadow:0 0 0 5px #06111ab8,0 0 23px #f6c96b66;font-size:23px;text-indent:2px;transition:transform .2s,background .2s}
.hero-story-open:hover:before{transform:translate(-50%,-50%) scale(1.08);background:#31516fe0}
.hero-story-open:focus-visible{outline:3px solid #f4ce7c;outline-offset:-5px}
.hsp-dialog{width:min(1135px,96vw);max-width:none;max-height:96dvh;overflow:auto;position:fixed;margin:auto;padding:0!important;background:#071321;color:#f9efd7;border:1px solid #a88a59;box-shadow:0 20px 65px #000e}
.hsp-dialog::backdrop{background:#000d}
.hsp-dialog *{box-sizing:border-box}
.hsp-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;border-bottom:1px solid #97764e;background:linear-gradient(90deg,#111d31,#071220)}
.hsp-heading{font:600 clamp(12px,1.4vw,18px)/1.4 Georgia,'Yu Mincho',serif;letter-spacing:.08em;color:#f4d899}
.hsp-heading .hsp-ornament{color:#eb715c}
.hsp-close{flex:none;border:1px solid #b6945b;background:#162536;color:#f6e5be;font:23px/1.1 sans-serif;min-width:40px;min-height:36px;cursor:pointer}
.hsp-stage{width:100%;aspect-ratio:1672/941;position:relative;overflow:hidden;background:#050d1a}
.hsp-frame{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease}
.hsp-frame.is-active{opacity:1;visibility:visible;pointer-events:auto}
.hsp-frame>img.hsp-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hsp-stage:after{content:'';pointer-events:none;position:absolute;inset:0;border:4px solid #e7c58550;z-index:15}
.hsp-bubble{opacity:0;transition:opacity .18s ease;position:absolute;z-index:4;padding:clamp(10px,2.0vw,24px) clamp(13px,2.1vw,28px);border:2px solid #1e242b;border-radius:33px;background:#fff8ec;color:#181821;box-shadow:0 5px 0 #0005,0 12px 45px #0007;font:700 clamp(12px,2.1vw,28px)/1.45 'Yu Gothic','Hiragino Kaku Gothic ProN',sans-serif;text-align:center;letter-spacing:0;min-height:66px}
.hsp-bubble.is-visible{opacity:1}
.hsp-bubble:before{content:'';position:absolute;left:-21px;top:29%;border-top:18px solid transparent;border-bottom:13px solid transparent;border-right:28px solid #1e242b}
.hsp-bubble:after{content:'';position:absolute;left:-14px;top:calc(29% + 2px);border-top:15px solid transparent;border-bottom:10px solid transparent;border-right:24px solid #fff8ec}
.hsp-frame--1 .hsp-bubble{left:39%;bottom:6%;width:53%;}
.hsp-frame--2 .hsp-bubble{left:27%;bottom:6%;width:45%;}
.hsp-frame--3 .hsp-bubble{left:36%;bottom:8%;width:40%;}
.hsp-frame--4 .hsp-bubble{left:37%;bottom:5%;width:54%;text-align:left;padding-left:clamp(16px,2.4vw,31px)}
.hsp-reveal{opacity:0;transform:translateY(7px);display:block;transition:opacity .3s,transform .3s}
.hsp-reveal.is-revealed{opacity:1;transform:none}
.hsp-frame--4 .hsp-bubble .hsp-reveal:first-child{font-size:.83em;color:#52536a}
.hsp-command,.hsp-dp{position:absolute;z-index:3;right:7.2%;top:14%;width:34%;padding:16px 19px 15px;border:2px solid #dcad60;background:#080f20ea;box-shadow:inset 0 0 0 2px #65462f,0 0 24px #000a;color:#f7df9e;text-align:left;font:600 clamp(11px,1.4vw,19px)/1.5 'Yu Mincho',Georgia,serif}
.hsp-command{opacity:0;transform:translateY(14px);transition:opacity .4s,transform .4s}
.hsp-command.is-revealed{opacity:1;transform:none}
.hsp-command .hsp-command-name{font-size:1.05em;border-bottom:1px solid #c595555e;padding-bottom:5px;margin-bottom:7px}
.hsp-command .hsp-cost{font-size:1.25em;color:#ffc0a1;text-align:right;white-space:nowrap}
.hsp-command small,.hsp-dp small{display:block;font-size:.7em;color:#b6bdc7}
.hsp-dp{color:#efdbb5;border-color:#dd8f75;right:8%;top:13%;width:32%}
.hsp-dp dl{margin:0}
.hsp-dp dt{font-size:.73em;color:#a9bacf}
.hsp-dp dd{margin:0 0 8px;text-align:right;white-space:nowrap;font-size:1.4em}
.hsp-dp dd.hsp-required{color:#ffb4a9}
.hsp-dp .hsp-insufficient{color:#ff7867;text-align:center;border-top:1px solid #9b6356;padding-top:8px;font-family:sans-serif}
.hsp-stage-toggle{position:absolute;z-index:10;left:12px;top:12px;border:1px solid #dbbd7f8c;border-radius:50%;width:35px;height:35px;background:#0613209e;color:#fff2d6;cursor:pointer;font-size:0}
.hsp-stage-toggle:before{content:'Ⅱ';font-size:16px}
.hsp-dialog.is-paused .hsp-stage-toggle:before{content:'▶';font-size:13px}
.hsp-bottom{padding:12px 18px 15px;background:linear-gradient(180deg,#0d1b2e,#081220)}
.hsp-caption{min-height:49px}
.hsp-caption h3{font:700 15px/1.4 'Yu Mincho',Georgia,serif;color:#f0d69b}
.hsp-caption p{font-size:12px;line-height:1.55;margin-top:2px;color:#d2dde5}
.hsp-controls{display:flex;gap:8px;margin:11px 0 9px}
.hsp-controls button{cursor:pointer;background:#182c41;border:1px solid #9a8358;color:#f7e8c3;font:600 12px/1.3 sans-serif;padding:8px 14px;min-width:88px}
.hsp-controls button:hover,.hsp-close:hover{background:#29435d}
.hsp-timing{display:flex;align-items:center;gap:15px}
.hsp-progress{display:flex;gap:4px;width:100%;height:7px}
.hsp-segment{position:relative;flex-grow:1;flex-basis:0;background:#41506a;border-radius:2px;overflow:hidden}
.hsp-segment:nth-child(1){flex-grow:3}.hsp-segment:nth-child(2){flex-grow:2}.hsp-segment:nth-child(3),.hsp-segment:nth-child(4){flex-grow:3.5}
.hsp-segment>span{display:block;width:0%;height:100%;background:linear-gradient(90deg,#8ccce0,#f8d081)}
.hsp-time{color:#e9d6a5;font:600 12px Georgia,sans-serif;white-space:nowrap}
.hsp-disclaimer{color:#a3b0bd;font:10px/1.6 sans-serif;margin-top:8px}
html[lang='en'] .hsp-bubble{font-family:system-ui,sans-serif;font-size:clamp(11px,1.75vw,23px);font-weight:650}
@media(max-width:700px){.hero-story-open:before{width:45px;height:45px;font-size:19px}.hsp-dialog{width:96vw;max-height:93dvh}.hsp-head{padding:7px 9px}.hsp-heading{font-size:11px}.hsp-close{min-width:33px;min-height:31px}.hsp-bubble{border-width:1px;border-radius:15px;padding:6px 8px;font-size:clamp(9px,2.4vw,16px);min-height:0;line-height:1.3;box-shadow:0 3px 12px #0008}.hsp-bubble:before,.hsp-bubble:after{display:none}.hsp-command,.hsp-dp{padding:5px 7px;font-size:clamp(7px,1.9vw,13px);border-width:1px;line-height:1.3}.hsp-command .hsp-cost{font-size:1em}.hsp-dp dd{margin-bottom:4px}.hsp-frame--1 .hsp-bubble{left:37%;bottom:5%;width:59%}.hsp-frame--2 .hsp-bubble{left:26%;bottom:4%;width:55%}.hsp-frame--3 .hsp-bubble{left:35%;bottom:7%;width:43%}.hsp-frame--4 .hsp-bubble{left:36%;bottom:4%;width:59%}.hsp-stage-toggle{width:25px;height:25px;top:7px;left:7px}.hsp-bottom{padding:9px 11px}.hsp-caption h3{font-size:13px}.hsp-caption p{font-size:12px}.hsp-controls button{font-size:11px;padding:7px 10px;min-width:75px}html[lang='en'] .hsp-bubble{font-size:clamp(9px,2.1vw,14px)}}
@media(prefers-reduced-motion:reduce){.hsp-frame,.hsp-reveal,.hsp-command,.hero-story-open:before{transition:none}}

/* 2026-11-02 expression cut update.
   New hero-story-03/04.webp already contain the command/DP panels.
   Do not render the old HTML panel again over the artwork. */
.hsp-frame--3 .hsp-command,
.hsp-frame--4 .hsp-dp { display: none; }
