/* One shared collection frame: the dictionary is its opening subject. */
.subject-track{height:var(--collection-height,300svh);background:#fff}
.subject-stage{background:#fff}
.subject-stage{height:100svh;min-height:0;position:sticky;top:0;perspective:1800px}
.subject-intro{top:14%;z-index:2;pointer-events:none;will-change:transform,opacity}
.subject-intro h2{font-size:clamp(42px,4.2vw,76px);line-height:1.3;margin-top:24px}
.subject-intro .eyebrow{font-size:12px;letter-spacing:.15em}
.subject-panel{top:46%;left:14%;width:72%;height:clamp(420px,64svh,730px);transform-origin:center;will-change:transform;border-radius:26px;box-shadow:none}
.subject-rail{top:14%;left:5%;width:23%;z-index:3;will-change:transform,opacity}
.subject-tab{padding:13px 8px;min-height:64px}.subject-tab strong{font-size:clamp(18px,1.55vw,28px)}
.subject-tab small{font-size:12px}.rail-hint{font-size:13px}
.subject-panel .panel-top{height:48px;position:relative;z-index:3;background:#fff}
.subject-panel .panel-body{height:calc(100% - 52px)}
.subject-panel[data-subject=dictionary] .panel-body,.subject-panel[data-subject=dictionary]>.panel-progress{display:none}
.subject-panel:not([data-subject=dictionary]) .dictionary-film{display:none}
.subject-panel .dictionary-film{position:absolute;inset:48px 0 0;height:auto;margin:0;border:0;isolation:isolate}
.subject-panel .dictionary-film .film-sticky{position:relative;height:100%;min-height:0;padding:0;overflow:hidden}
.subject-panel .film-viewport{inset:0;height:100%;width:100%}
.subject-panel .film-finale{bottom:18px;gap:5px}
.subject-panel .film-finale p{display:none}.subject-panel .film-finale small{font-size:12px}
.subject-panel .film-finale .film-try{font-size:17px;padding:11px 26px}
.subject-panel .film-skip{font-size:13px;bottom:10px;right:12px;padding:10px 12px}
.subject-panel .film-access{z-index:16}.subject-panel .dictionary-film[data-static=true] .film-access{bottom:9px;left:12px;right:75px;gap:5px}
.subject-panel .film-access button{font-size:12px;padding:7px 9px}
.subject-panel .dictionary-film[data-static=true] .film-finale{bottom:66px}
.stage-baseline{bottom:22px;font-size:11px}
@media(min-width:901px) and (max-height:800px){.subject-intro{top:10%}.subject-intro h2{font-size:clamp(38px,4.2vw,62px);margin-top:15px}.subject-panel{height:66svh;min-height:390px}.subject-rail{top:10%}.subject-tab{padding:9px 8px;min-height:51px}.subject-rail>.eyebrow{margin-bottom:14px}.rail-hint{margin-top:12px}.stage-baseline{bottom:16px}}
@media(max-width:900px){
 .subject-track{height:var(--collection-height,300svh);padding:0!important}.subject-stage{position:sticky;height:100svh;min-height:0;overflow:hidden;display:block}
 .subject-intro{position:absolute;inset:45px 20px auto;width:calc(100% - 40px);margin:0;text-align:center;opacity:var(--intro-alpha,1)!important;transform:translateY(var(--intro-y,0px))!important}
 .subject-intro h2{font-size:34px;margin-top:15px}.subject-intro .eyebrow{font-size:10px}
 .subject-panel{position:absolute;left:14px;top:205px;width:calc(100% - 28px);height:calc(100svh - 135px);min-height:0;transform:translateY(var(--mobile-dock,0px))!important;overflow:hidden;border-radius:19px}
 .subject-panel .panel-top{height:40px;padding:0 14px;font-size:9px}.subject-panel .dictionary-film{top:40px}
 .subject-panel .panel-body{height:calc(100% - 40px);overflow:auto;padding:12px}.subject-panel .panel-art{height:220px;min-height:220px;flex:none}.subject-panel .panel-copy{padding:17px 12px}.subject-description{font-size:14px}.subject-panel .panel-copy h3{font-size:30px}
 .subject-rail{position:absolute;top:18px;left:14px;width:calc(100% - 28px);opacity:var(--rail-alpha,0)!important;transform:translateY(var(--rail-y,15px))!important;overflow:auto;scrollbar-width:none}
 .subject-rail [role=tablist]{display:flex;gap:8px;margin:0;padding:3px}.subject-tab{flex:0 0 auto;width:auto;min-width:116px;min-height:49px;padding:9px 12px;gap:7px}.subject-tab strong{font-size:14px}.subject-tab small{display:none}.subject-tab>span{font-size:10px}
 .subject-rail>.eyebrow,.rail-hint,.stage-baseline{display:none}.subject-panel .film-finale .film-try{font-size:17px}.subject-panel .film-finale small{font-size:11px}.subject-panel .film-skip{bottom:5px;right:6px}
}
.motion-paused .subject-track{height:auto!important;margin-top:0}
.motion-paused .subject-stage{position:relative;height:850px;min-height:0}
.motion-paused .subject-panel{top:15%;left:32%;width:63%;height:650px;transform:none!important}
.motion-paused .subject-intro{display:none}.motion-paused .subject-rail{top:16%;opacity:1!important;transform:none!important}
@media(max-width:900px){.motion-paused .subject-track{padding:28px 0!important}.motion-paused .subject-stage{height:860px}.motion-paused .subject-panel{top:90px;left:14px;width:calc(100% - 28px);height:730px}.motion-paused .subject-rail{top:15px}.motion-paused .subject-intro{display:none}}
/* owner 2026-10-22: on short desktop viewports the subject rail (7 tabs) ran past the sticky stage and was cut by the next section — tab type and spacing now follow the viewport height so the whole rail stays above the SCROLL TO EXPLORE line */
@media(min-width:901px) and (max-height:800px){.subject-tab{padding:clamp(5px,1.2vh,9px) 8px;min-height:0}.subject-tab strong{font-size:clamp(16px,min(1.55vw,3.4vh),28px);line-height:1.3}.subject-tab small{font-size:clamp(10px,2vh,12px);line-height:1.35;margin-top:2px}.subject-tab>span{padding-top:3px}.subject-rail>.eyebrow{margin-bottom:clamp(8px,1.8vh,14px)}.rail-hint{margin-top:clamp(6px,1.5vh,12px)}}
@media(min-width:901px) and (max-height:600px){.rail-hint{display:none}}
