
/* v1.7: Scene-only cinematic landing and readable global spoiler control. Classic reader untouched. */
.ks-spoiler-strip{min-height:59px;display:flex;align-items:center;gap:19px;padding:8px clamp(24px,4vw,72px);background:linear-gradient(105deg,#18262d,#15232b 70%,#11202a);border-bottom:1px solid rgba(205,167,109,.28);position:relative;z-index:9}
.ks-spoiler-intro{display:flex;gap:11px;align-items:center;flex:none}
.ks-spoiler-emblem{width:30px;height:30px;border:1px solid rgba(212,174,115,.53);color:#d5b27d;display:grid;place-items:center;font:20px Georgia,serif;transform:rotate(45deg);border-radius:5px;line-height:1}
.ks-spoiler-intro>div{display:flex;flex-direction:column;gap:3px}
.ks-spoiler-intro label{font:800 9px/1.2 Manrope,Arial,sans-serif;letter-spacing:1.65px;color:#c9ab7d;cursor:pointer;white-space:nowrap}
.ks-spoiler-intro small{font:500 10px/1.4 Manrope,Arial,sans-serif;color:#a8b5b2;white-space:nowrap}
.ks-spoiler-choice{position:relative;min-width:196px;flex:none}
.ks-spoiler-choice select{appearance:none;width:100%;height:37px;padding:6px 33px 6px 13px;border:1px solid rgba(211,179,128,.52);border-radius:3px;background:#0f1b23;color:#ead7b8;font:700 11px/1.3 Manrope,Arial,sans-serif;cursor:pointer}
.ks-spoiler-choice select:hover{border-color:#e2bc82}.ks-spoiler-choice select:focus-visible{outline:2px solid #e7c68f;outline-offset:2px}
.ks-spoiler-choice option{background:#13202a;color:#ecdfcb}
.ks-spoiler-chevron{position:absolute;right:11px;top:5px;color:#d5b17c;font:23px Georgia,serif;pointer-events:none}
.ks-spoiler-explainer{color:#83979a;font:500 10px/1.5 Manrope,Arial,sans-serif;margin:0 0 0 auto;text-align:right;max-width:385px}
.ks-spoiler-strip[data-level="1"],.ks-spoiler-strip[data-level="2"]{background:linear-gradient(100deg,#292522,#1b2930 67%,#17242b)}
.ks-spoiler-strip[data-level="1"] .ks-spoiler-emblem,.ks-spoiler-strip[data-level="2"] .ks-spoiler-emblem{color:#f0c68f;border-color:#d3a15b}
.ks-spoiler-strip[data-level="1"] #ks-spoiler-status,.ks-spoiler-strip[data-level="2"] #ks-spoiler-status{color:#e0b885}
/* No independent sidebar scrollbar is needed after removing the lower spoiler controls. */
.sidebar{overflow-y:visible!important;scrollbar-width:none!important}
.sidebar::-webkit-scrollbar{display:none}
.sidebar .side-line{margin-top:18px;margin-bottom:22px}
.sidebar .brand{padding-bottom:9px}
.sidebar .sidebar-bottom{padding-bottom:0}
/* Hide the legacy animated spans when cinematic JS has mounted; keep first image as no-JS fallback. */
.hero-page .hero{overflow:hidden!important;isolation:isolate;background:#101b23!important}
.hero-page .hero .ks-hero-gallery{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.ks-hero-image{animation:none!important;opacity:0!important;transform:none!important}
.ks-hero-image--a{opacity:.80!important;inset:0!important;background-size:cover!important;background-position:70% 22%!important}
.ks-hero-gallery.ks-cinema-ready .ks-hero-image{display:none!important}
.ks-cinema-layer{position:absolute;inset:0;opacity:0;transition:opacity 2.65s ease-in-out;overflow:hidden;will-change:opacity}
.ks-cinema-layer.ks-cinema-active{opacity:1}
.ks-cinema-back{position:absolute;inset:-6%;background-size:cover;background-position:60% 34%;background-repeat:no-repeat;filter:blur(31px) saturate(.81) brightness(.68);transform:scale(1.09)}
.ks-cinema-focus{position:absolute;right:7.5%;top:3.2%;height:93.6%;width:auto;max-width:min(66%,960px);object-fit:contain;object-position:center center;display:block;filter:saturate(.98) contrast(1.045);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 21%,#000 81%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 11%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 21%,#000 81%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 11%,#000 88%,transparent 100%);mask-composite:intersect}
.ks-cinema-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,15,21,.87) 0%,rgba(8,17,24,.70) 23%,rgba(9,19,27,.43) 42%,rgba(9,19,27,.09) 67%,rgba(9,19,27,.12) 100%),linear-gradient(0deg,rgba(8,16,23,.35),transparent 27%);pointer-events:none}
/* Outdated hero chrome does not compete with the static cover-like typography. */
.hero-page .hero .ks-gallery-caption,.hero-page .hero .ks-gallery-controls,.hero-page .hero .ks-frame-archive{display:none!important}
.hero-page .hero::before{z-index:1;background:linear-gradient(90deg,rgba(8,16,23,.46) 0%,rgba(8,16,23,.30) 24%,rgba(8,16,23,.05) 53%,transparent 78%)}
.hero-page .hero::after{z-index:2}
.hero-page .hero-inner{position:relative;z-index:3}
.hero-page .portal-hero-orbit{opacity:.06!important;z-index:2!important}
.hero-page .portal-hero-seal{z-index:3}
/* Keep headings and interactions legible at tablet widths. */
@media(max-width:1250px){.ks-spoiler-explainer{display:none}.ks-spoiler-choice{margin-left:auto}}
@media(max-width:790px){.ks-spoiler-strip{padding:10px 19px;min-height:61px;gap:10px}.ks-spoiler-intro label{font-size:8px;letter-spacing:1.1px}.ks-spoiler-intro small{font-size:9px}.ks-spoiler-emblem{width:26px;height:26px}.ks-spoiler-choice{min-width:164px}.ks-spoiler-choice select{font-size:10px;height:36px}.ks-cinema-focus{right:0%;height:86%;top:7%;max-width:82%}.ks-cinema-shade{background:linear-gradient(90deg,rgba(7,15,21,.87) 0%,rgba(8,17,24,.75) 37%,rgba(9,19,27,.40) 68%,rgba(9,19,27,.10)),linear-gradient(0deg,rgba(8,16,23,.35),transparent 27%)}.sidebar{overflow-y:auto!important}}
@media(max-width:500px){.ks-spoiler-strip{padding:9px 12px;gap:7px}.ks-spoiler-intro{gap:7px}.ks-spoiler-emblem{width:22px;height:22px;font-size:16px}.ks-spoiler-intro label{font-size:7px;letter-spacing:.6px}.ks-spoiler-intro small{font-size:8px;max-width:132px;white-space:normal}.ks-spoiler-choice{min-width:141px;max-width:145px}.ks-spoiler-choice select{font-size:9px;padding-left:8px;padding-right:22px}.ks-spoiler-chevron{right:6px}.hero-page .hero{min-height:700px!important}.ks-cinema-focus{max-width:none;right:2%;top:17%;height:61%;opacity:.86}.ks-cinema-back{filter:blur(29px) saturate(.75) brightness(.57)}.ks-cinema-shade{background:linear-gradient(180deg,rgba(7,15,21,.70) 0%,rgba(7,15,21,.48) 36%,rgba(7,15,21,.22) 57%,rgba(7,15,21,.37) 100%)}.hero-page .hero-inner{padding-bottom:65px}}
@media(max-height:710px) and (min-width:791px){.sidebar{padding-top:13px;padding-bottom:10px}.sidebar .brand{padding:6px 4px 7px}.sidebar .side-line{margin:10px 0 13px}.sidebar .side-nav a{padding:9px 11px}.sidebar .ks-music-box{padding-top:7px;padding-bottom:8px}.sidebar .ks-music-volume{margin-top:6px}}
@media(max-height:580px) and (min-width:791px){.sidebar{overflow-y:auto!important}}
@media(prefers-reduced-motion:reduce){.ks-cinema-layer{transition:none!important}}
