/* TMDB compact fullstory: scoped to avoid altering catalog pages. */
.tmdb-page{--tmdb-green:#36ba6f;color:#f6f7f8;background:#141414;font-size:14px;line-height:1.6}
.tmdb-page *, .tmdb-page *::before,.tmdb-page *::after{box-sizing:border-box}
.tmdb-page .container{width:min(1160px,calc(100% - 36px));max-width:1160px;margin-left:auto;margin-right:auto}
.tmdb-page a{color:inherit;text-decoration:none}.tmdb-page a:hover{color:var(--tmdb-green)}
.tmdb-page .tmdb-hero{position:relative;isolation:isolate;min-height:480px;overflow:hidden}
.tmdb-page .tmdb-hero-bg{position:absolute!important;inset:0;width:100%;height:100%;max-height:none;z-index:0;pointer-events:none}
.tmdb-page .tmdb-hero-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:saturate(.88)}
.tmdb-page .tmdb-hero:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(15,16,16,.93),rgba(15,16,16,.68) 40%,rgba(15,16,16,.14) 78%),linear-gradient(0deg,#141414,transparent 76%);pointer-events:none}
.tmdb-page .detail-section_bg:before,.tmdb-page .detail-section_bg:after{display:none!important}
.tmdb-page .tmdb-hero-inner{padding-top:22px;padding-bottom:40px;position:relative;z-index:3}
.tmdb-page .tmdb-crumbs{color:#b9c1be;font-size:12px;display:flex;gap:10px;align-items:center;margin-bottom:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmdb-page .tmdb-crumbs span:last-child{overflow:hidden;text-overflow:ellipsis}
.tmdb-page .tmdb-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;max-width:720px}
.tmdb-page .tmdb-poster{width:198px;aspect-ratio:2/3;background:#242424;border-radius:12px;overflow:hidden;box-shadow:0 18px 50px #0008}
.tmdb-page .tmdb-poster img{width:100%;height:100%;display:block;object-fit:cover;border-radius:0}
.tmdb-page .tmdb-intro h1{font-size:clamp(28px,3.2vw,44px);font-weight:800;line-height:1.13;margin:0 0 10px;color:#fff;letter-spacing:-.025em}
.tmdb-page .tmdb-tagline{font-size:15px;color:#bdc3c0;margin:0 0 18px;line-height:1.4}
.tmdb-page .tmdb-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.tmdb-page .tmdb-chips>span{border-radius:6px;padding:4px 9px;background:#ffffff18;border:1px solid #ffffff18;color:#eee;font-weight:650;font-size:12px}
.tmdb-page .tmdb-chips .tmdb-chip-rating{color:#ffdb74;background:#e2b94b20;border-color:#e2b94b40}
.tmdb-page .tmdb-synopsis{font-size:14px;line-height:1.78;max-width:560px;color:#e2e4e4;margin-bottom:18px}
.tmdb-page .tmdb-synopsis p{margin:0}.tmdb-page .tmdb-hero-details{display:grid;gap:7px;margin:0 0 21px;max-width:620px}
.tmdb-page .tmdb-hero-details>div{display:grid;grid-template-columns:136px minmax(0,1fr);gap:12px;font-size:12px;line-height:1.5}
.tmdb-page .tmdb-hero-details b{color:#a5aca9;font-weight:500}.tmdb-page .tmdb-hero-details span{color:#eceeee}
.tmdb-page .tmdb-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.tmdb-page .tmdb-primary,.tmdb-page .tmdb-secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;font-weight:700;font-size:13px;border-radius:8px;min-height:42px}
.tmdb-page .tmdb-primary{background:var(--tmdb-green);color:#0c2115}.tmdb-page .tmdb-primary:hover{background:#68db94;color:#0c2115}
.tmdb-page .tmdb-secondary{background:#ffffff1d;color:#fff;border:1px solid #ffffff24}
.tmdb-page .tmdb-main{padding:0 0 40px}.tmdb-page .tmdb-panel{background:#1d1e1e;border:1px solid #ffffff12;border-radius:12px;padding:23px;margin:0 0 22px;min-width:0}
.tmdb-page .tmdb-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.tmdb-page .tmdb-panel-heading h2{color:#f6f7f8;font-size:20px;line-height:1.3;margin:0;font-weight:750}
.tmdb-page .tmdb-panel-heading>span{font-size:12px;color:#929b97}
.tmdb-page .tmdb-player-tools{display:flex;align-items:center;gap:14px}
.tmdb-page .tmdb-mini-button{border:1px solid #ffffff30;background:#323535;color:#fff;border-radius:7px;padding:7px 12px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.tmdb-page .tmdb-report{color:#acb3b0;font-size:12px;cursor:pointer}
.tmdb-page .tmdb-player-frame{aspect-ratio:16/9;background:#080909;border-radius:9px;overflow:hidden;position:relative}
.tmdb-page .tmdb-player-frame iframe{border:0;width:100%;height:100%;display:block}
.tmdb-page .tmdb-player-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#9fa7a3}
.tmdb-page .tmdb-trailer-options,.tmdb-page .tmdb-extra-videos{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tmdb-page .tmdb-trailer-options button,.tmdb-page .tmdb-extra-videos a{display:inline-block;border:1px solid #ffffff20;border-radius:7px;padding:7px 11px;background:#2d3030;color:#fafafa;font-size:12px;cursor:pointer}
.tmdb-page .tmdb-trailer-options button.is-active{background:#235a39;border-color:#3cb975}
.tmdb-page .tmdb-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.tmdb-page .tmdb-fact{display:grid;grid-template-columns:124px minmax(0,1fr);align-content:start;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff0e;font-size:12px;min-width:0}
.tmdb-page .tmdb-fact dt{font-weight:500;color:#9ca5a0}.tmdb-page .tmdb-fact dd{margin:0;overflow-wrap:anywhere;color:#e9ecea}.tmdb-page .tmdb-fact-wide{grid-column:1/-1;grid-template-columns:124px minmax(0,1fr)}
.tmdb-page .tmdb-gallery{display:flex;flex-flow:row nowrap;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:12px;scroll-snap-type:x proximity;min-width:0}
.tmdb-page .tmdb-gallery .tmdb-gallery-link{display:block;flex:0 0 210px;width:210px;height:128px;aspect-ratio:unset;overflow:hidden;border-radius:8px;scroll-snap-align:start;background:#292c2b;cursor:zoom-in;transition:transform .2s}
.tmdb-page .tmdb-gallery .tmdb-gallery-link:hover{transform:translateY(-2px)}
.tmdb-page .tmdb-gallery img{width:100%;height:100%;object-fit:cover;display:block;max-width:none;border-radius:0}
.tmdb-page .tmdb-season-gallery{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:9px;overscroll-behavior-x:contain}
.tmdb-page .tmdb-season-gallery .tmdb-gallery-link{flex:0 0 116px;width:116px;height:174px;aspect-ratio:unset;scroll-snap-align:start}
.tmdb-page .tmdb-collection-layout{display:flex;gap:18px;align-items:center}.tmdb-page .tmdb-collection-image{width:85px;flex:0 0 85px}
.tmdb-page .tmdb-collection-image img{display:block;width:100%;height:auto;max-height:125px;object-fit:cover;border-radius:7px}
.tmdb-page .tmdb-collection-info h3{font-size:17px;margin:0 0 5px}.tmdb-page .tmdb-collection-info p{color:#9eaaa3;font-size:12px}
.tmdb-page .tmdb-page-bottom{display:flex;align-items:center;justify-content:space-between;padding:8px 0 20px;gap:18px;flex-wrap:wrap}
.tmdb-page .tmdb-page-social,.tmdb-page .tmdb-page-vote{display:flex;align-items:center;gap:12px}
.tmdb-page .tmdb-page-vote>span{color:#9ca5a0;font-size:12px}
.tmdb-page .tmdb-page-links{display:flex;gap:15px;font-size:12px;margin:0 0 18px;color:#b7c6bd;flex-wrap:wrap}
.tmdb-page .tmdb-review-count{font-size:12px;color:#8f9a94;margin-left:5px}
.tmdb-page .tmdb-no-reviews{padding:28px;text-align:center;background:#252727;color:#a9b0ad;border-radius:8px;font-size:13px}
.tmdb-page .tmdb-related{margin-top:15px}.tmdb-page .tmdb-related-grid{display:flex;flex-wrap:wrap;gap:14px}
.tmdb-page .tmdb-related-grid>.movie-item{width:calc(20% - 12px);min-width:135px}
.tmdb-page .tmdb-lightbox{position:fixed;inset:0;background:#000e;z-index:99999;display:flex;align-items:center;justify-content:center;padding:32px}
.tmdb-page .tmdb-lightbox img{object-fit:contain;width:auto;height:auto;max-width:94vw;max-height:88vh}
.tmdb-page .tmdb-lightbox-close{position:absolute;top:20px;right:24px;border:0;background:#303333;color:white;font-size:23px;border-radius:50%;width:42px;height:42px;cursor:pointer}
@media(max-width:800px){.tmdb-page .tmdb-hero{min-height:0}.tmdb-page .tmdb-crumbs{margin-bottom:34px}.tmdb-page .tmdb-hero-grid{grid-template-columns:minmax(0,1fr);gap:0}.tmdb-page .tmdb-poster{width:130px}.tmdb-page .tmdb-facts-grid{grid-template-columns:1fr}.tmdb-page .tmdb-gallery{display:flex}.tmdb-page .tmdb-related-grid>.movie-item{width:calc(33.33% - 10px)}}
@media(max-width:560px){.tmdb-page .container{width:calc(100% - 24px)}.tmdb-page .tmdb-hero-inner{padding-top:12px;padding-bottom:28px}.tmdb-page .tmdb-crumbs{margin-bottom:26px}.tmdb-page .tmdb-hero-grid{grid-template-columns:minmax(0,1fr);gap:0}.tmdb-page .tmdb-poster{width:96px}.tmdb-page .tmdb-intro h1{font-size:23px}.tmdb-page .tmdb-tagline{font-size:12px;margin-bottom:8px}.tmdb-page .tmdb-hero-details{grid-column:1/-1}.tmdb-page .tmdb-hero-details>div{grid-template-columns:105px 1fr}.tmdb-page .tmdb-chips{gap:4px}.tmdb-page .tmdb-chips>span{font-size:10px;padding:3px 6px}.tmdb-page .tmdb-panel{padding:15px;border-radius:10px;margin-bottom:14px}.tmdb-page .tmdb-panel-heading h2{font-size:17px}.tmdb-page .tmdb-gallery{display:flex;gap:8px}.tmdb-page .tmdb-season-gallery{display:flex}.tmdb-page .tmdb-season-gallery .tmdb-gallery-link{flex-basis:100px;width:100px;height:150px}.tmdb-page .tmdb-fact,.tmdb-page .tmdb-fact-wide{grid-template-columns:105px minmax(0,1fr)}.tmdb-page .tmdb-related-grid>.movie-item{width:calc(50% - 8px)}}


/* v4: independent hero layers, correct full-width text, and horizontal xfield galleries */
.tmdb-page .tmdb-hero{min-height:480px;isolation:isolate}
.tmdb-page .tmdb-hero-grid{display:block!important;width:100%!important;max-width:720px!important;min-width:0!important}
.tmdb-page .tmdb-intro{display:block!important;width:100%!important;max-width:720px!important;min-width:0!important;position:relative}
.tmdb-page .tmdb-intro h1{max-width:660px;overflow-wrap:normal;word-break:normal}
.tmdb-page .tmdb-hero-bg{z-index:0!important}
.tmdb-page .tmdb-hero-video{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;background:transparent}
.tmdb-page .tmdb-hero-video iframe{position:absolute;inset:0;width:100%;height:100%;min-height:100%;border:0;pointer-events:none;object-fit:cover}
.tmdb-page .tmdb-hero:before{z-index:2!important}
.tmdb-page .tmdb-hero-inner{position:relative;z-index:3!important}
.tmdb-page .tmdb-synopsis{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;max-width:580px}
.tmdb-page .tmdb-hero-details{max-width:640px}
.tmdb-page .tmdb-gallery{display:flex!important;flex-flow:row nowrap!important;gap:12px;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#555 #222}
.tmdb-page .tmdb-gallery>.tmdb-gallery-link{display:block!important;flex:0 0 210px!important;width:210px!important;height:130px!important;margin:0!important;max-width:none!important}
.tmdb-page .tmdb-gallery>.tmdb-gallery-link img{width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important}
.tmdb-page .tmdb-season-gallery>.tmdb-gallery-link{flex:0 0 116px!important;width:116px!important;height:174px!important}
.tmdb-page .tmdb-trailer-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
.tmdb-page .tmdb-trailer-options button{background:#272a29;border:1px solid #ffffff22;border-radius:8px;color:#fff;padding:7px 12px;cursor:pointer}
.tmdb-page .tmdb-trailer-options button.is-active{background:#225a39;border-color:#36ba6f}
.tmdb-page #tmdb-audio-toggle{border:0;cursor:pointer}
@media(max-width:800px){.tmdb-page .tmdb-hero-grid{display:block!important}.tmdb-page .tmdb-hero{min-height:480px}}
@media(max-width:560px){.tmdb-page .tmdb-hero{min-height:440px}.tmdb-page .tmdb-hero-inner{padding-bottom:30px}.tmdb-page .tmdb-synopsis{-webkit-line-clamp:3}.tmdb-page .tmdb-hero-details>div{grid-template-columns:105px minmax(0,1fr)}.tmdb-page .tmdb-gallery>.tmdb-gallery-link{flex-basis:185px!important;width:185px!important;height:112px!important}.tmdb-page .tmdb-season-gallery>.tmdb-gallery-link{flex-basis:96px!important;width:96px!important;height:144px!important}}
