/* IYAH browse refresh: aubergine framing, editorial feature, and useful card previews. */
:root{--bg:#100b13;--panel:#1b1320;--acid:#b49af5;--soft:#d1bfff;--line:#ffffff18;--gutter:clamp(22px,5vw,76px);--poster:205px}
body{background:radial-gradient(ellipse at 52% -30%,#392343 0,transparent 48%),var(--bg);color:#f6f0f8}
.topbar{position:sticky;inset:0 0 auto;height:76px;padding:0 var(--gutter);gap:26px;background:#130d18ed;border-bottom:1px solid #ffffff12;backdrop-filter:blur(22px)}
.wordmark{font-size:27px;letter-spacing:2.4px}.wordmark .brand-spark{color:#cfb5ff}
.tabs{margin-left:auto;max-width:calc(100vw - 210px);overflow-x:auto;scrollbar-width:none;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;gap:5px;padding:0}
.tabs::-webkit-scrollbar{display:none}.tab,.tabs .rail-button{min-height:40px;padding:8px 14px;color:#c6b9cb;border-radius:22px;font-size:12px}
.tabs .rail-button.active,.tabs .tab.active,.tabs .rail-button.active:not(:only-child){background:#392a43;color:#f1e6ff}.tabs .rail-button:hover,.tab:hover{background:#ffffff0c;color:#fff}
.tabs .profile{border:1px solid #ffffff20;background:#211729;color:#eee2f4}
.hero{height:clamp(535px,67svh,730px);margin:22px var(--gutter) 0;border:1px solid #ffffff20;border-radius:24px;background:#211629;box-shadow:0 28px 80px #0005}
.hero-art{inset:0;background-position:center 38%;background-size:cover;transform:scale(1.01)}
.hero-shade{background:linear-gradient(90deg,#100b13f2 0%,#100b13c9 31%,#100b1366 58%,transparent 100%),linear-gradient(0deg,#100b13b8 0%,transparent 55%),linear-gradient(180deg,#100b1333,transparent 30%)}
.hero-content{left:clamp(30px,5vw,76px);bottom:clamp(38px,6vh,70px);max-width:600px}
.hero-kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #e3cdfb36;border-radius:22px;background:#20142aa6;color:#e1caff;font-size:9px;letter-spacing:1.7px}
.hero-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#d1bfff;box-shadow:0 0 12px #d1bfff}
h1,h1.long-title{font-size:clamp(42px,5vw,70px);line-height:1.02;letter-spacing:-2.7px;margin:16px 0 15px;max-width:610px}
.hero-meta{color:#e2d8e9;font-size:13px;gap:9px}.hero-content>p{font-size:16px;line-height:1.65;color:#ded3e4;max-width:520px;margin-top:14px;-webkit-line-clamp:3}
.hero-actions{margin-top:21px}.hero-actions .primary{background:#dfceff;color:#21152c;box-shadow:0 8px 28px #08040d66}.hero-actions .primary:hover{background:#eee4ff}.hero-info-button{border-radius:12px;border-color:#ffffff43;background:#24192da8}
.hero-content>p.hero-footnote{display:block;margin:14px 0 0;color:#b6a8bd;font-size:11px;line-height:1.5}.hero-footer{display:flex;position:absolute;right:26px;bottom:25px;align-items:center;gap:25px;color:#dfd1e7;font-size:9px;letter-spacing:1.2px}.hero-footer .edition{color:#e8d9f2}.hero-footer .edition span{color:#cba8ff}.hero-counter{font-size:17px;letter-spacing:0}.hero-counter span{font-size:11px;color:#b5a8bb}
.library-area{padding:34px var(--gutter) 0}.shelf{margin-bottom:56px}.section-heading{margin-bottom:18px;align-items:end}.section-heading h2{font-size:21px;font-weight:620;letter-spacing:-.45px}.section-heading .overline,.filter-heading .overline{display:block;font-size:9px;letter-spacing:1.7px;color:#bd9ee8;margin-bottom:5px}.item-count{color:#a394a9}
#continue-section{padding:22px 22px 17px;margin:0 calc(var(--gutter) * -.28) 43px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(110deg,#21162a,#17111d 72%)}
#continue-section .section-heading h2{font-size:22px}#continue-section .section-heading .overline{color:#c6a3ed}#continue-section .shelf-navigation button{background:#ffffff0a;border:1px solid #ffffff1a;color:#e7d9ed}#continue-section .shelf-navigation button:hover:not(:disabled){background:#ffffff19}
.browse-filters{margin-bottom:42px}.filter-heading{margin-bottom:12px}.genre-chip{border:1px solid #ffffff20;background:#1a1320;color:#d0c4d5}.genre-chip:hover,.genre-chip.active{border-color:#c4a5ee;background:#32233c;color:#f3e9ff}
.cards,#cards{gap:27px 18px}.card-shell{isolation:isolate}.movie-card{overflow:visible;background:none}.movie-card:hover{transform:none}.card-image{aspect-ratio:2/3;border:1px solid #ffffff17;border-radius:10px;background:#211729;box-shadow:0 12px 28px #0003;isolation:isolate}.card-image img{border-radius:9px;transition:filter .2s,transform .28s}.movie-card:hover .card-image img,.movie-card:focus-visible .card-image img{transform:scale(1.025);filter:brightness(.62)}
.card-peek{position:absolute;inset:auto 0 0;z-index:3;display:flex;flex-direction:column;gap:7px;padding:34px 13px 13px;text-align:left;background:linear-gradient(0deg,#100b13f5 0%,#100b13d9 70%,transparent);opacity:0;transform:translateY(5px);transition:opacity .18s,transform .18s;pointer-events:none}
.movie-card:hover .card-peek,.movie-card:focus-visible .card-peek{opacity:1;transform:none}.card-peek-meta{font-size:10px;color:#e3d2f0;line-height:1.45}.card-peek-overview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:11px;line-height:1.5;color:#d8cddc}.card-peek-hint{display:flex;justify-content:space-between;align-items:center;margin-top:2px;font-size:10px;font-weight:650;color:#e4ceff}.card-peek-hint b{font-size:15px;font-weight:500}.card-info{padding:11px 1px 0}.card-info strong{font-size:13px;font-weight:580;color:#f0e8f3}.card-info>span{color:#a99bac;font-size:11px}.card-hover-play{display:none}.bookmark-indicator{background:#d7c1f2;color:#23162e;border-radius:50%}
.shelf-strip .card-shell{flex-basis:clamp(174px,15.5vw,220px)}.shelf-strip .continue-card{flex-basis:clamp(265px,28vw,345px)}#continue-cards .card-image{aspect-ratio:16/9}.continue-card .card-peek{display:none}.continue-card .card-info strong{font-size:14px}.continue-card .card-info>span{font-size:12px;color:#bdb0c2}.card-progress{height:3px;background:#ffffff36}.card-progress i{background:#c5a7f3}
.discovery-header{border-bottom-color:#ffffff16}.discovery-header h1{color:#f2e8f6}.provider-choice,.universe-card{background:#1b1321;border-color:#ffffff18}.provider-choice:hover,.universe-card:hover{border-color:#c1a1ed;background:#271a30}
.detail-dialog{background:#110c14;color:#f1eaf4}.detail-dialog .detail-art-shade{background:linear-gradient(0deg,#110c14 0%,#110c14e8 12%,#110c143d 61%,#110c1420),linear-gradient(90deg,#110c14e8,#110c1488 50%,#110c1420)}.detail-dialog .detail-cast-section,.detail-dialog .detail-related{border-color:#ffffff14}.detail-dialog .episode-row{border-color:#ffffff12}.detail-dialog .detail-title{color:#fff5ff}
.search-panel{background:#100b13f7;border-bottom-color:#ffffff17}.search-box{background:#1b1320;border-color:#ffffff26}.search-box:focus-within{border-color:#c3a6e9}
.page-footer{border-color:#ffffff16;color:#a999af}.metadata-credit{color:#8c7d92}.metadata-credit a{color:#c2a1e8}
@media(max-width:850px){.topbar{height:70px;gap:12px}.tabs{max-width:calc(100vw - 115px)}.tabs .tab,.tabs .rail-button{padding:8px 11px;font-size:11px}.hero{height:610px;margin-top:14px}.hero-content{left:30px;right:30px;bottom:38px}.hero-footer{right:20px;bottom:18px}.library-area{padding-top:26px}}
@media(max-width:600px){:root{--gutter:18px}.topbar{height:104px;padding:8px var(--gutter);align-items:flex-start}.wordmark{font-size:23px;margin-top:2px}.tabs{position:absolute;left:var(--gutter);right:var(--gutter);top:49px;max-width:none;margin:0;padding:0 0 4px;gap:3px}.tabs .tab,.tabs .rail-button{min-height:34px;padding:7px 10px;font-size:10px}.hero{height:590px;margin:12px var(--gutter) 0;border-radius:17px}.hero-art{background-position:58% center}.hero-shade{background:linear-gradient(90deg,#100b13dc,#100b1370 80%),linear-gradient(0deg,#100b13 0%,#100b13a0 20%,transparent 78%)}.hero-content{left:22px;right:20px;bottom:30px}.hero-kicker{font-size:8px;padding:6px 9px}.hero-content>p{font-size:14px;line-height:1.55}.hero-actions{margin-top:17px}.hero-content>p.hero-footnote{font-size:10px}.hero-footer{display:none}h1,h1.long-title{font-size:39px;letter-spacing:-1.5px}.library-area{padding-top:23px}.shelf{margin-bottom:42px}.section-heading h2,#continue-section .section-heading h2{font-size:18px}.section-heading .overline,.filter-heading .overline{font-size:8px}#continue-section{margin:0 0 35px;padding:17px 13px 13px;border-radius:14px}#continue-cards .continue-card{flex-basis:260px}.cards.shelf-strip{gap:12px}.shelf-strip .card-shell{flex-basis:145px}.card-peek{padding:27px 9px 10px;gap:5px}.card-peek-overview{font-size:9px;-webkit-line-clamp:2}.card-peek-meta,.card-peek-hint{font-size:9px}.card-info strong{font-size:11px}.card-info>span{font-size:9px}.browse-filters{margin-bottom:34px}}
@media(prefers-reduced-motion:reduce){.card-image img,.card-peek{transition:none}}
.hero .hero-info-button{width:auto;min-width:0;padding-inline:17px}
.hero-content>p:empty{display:none}
.hero-content>p.hero-footnote:empty{display:none}
.hero-kicker{letter-spacing:.6px;font-size:11px}
@media(max-height:800px) and (min-width:851px){.hero{height:clamp(390px,58svh,535px)}}

/* Titles use the browse masthead, with an additional return control. */
.topbar.title-masthead{position:fixed;z-index:15}
.title-masthead #detail-close{width:36px;height:36px;flex:0 0 36px;padding:8px;margin-left:-12px;background:#ffffff0d}
.title-masthead #detail-close:hover{background:#ffffff1c}
@media(max-width:850px){.title-masthead #detail-close{margin-left:0}}
@media(max-width:600px){.title-masthead #detail-close{margin-top:3px;width:34px;height:34px;flex-basis:34px}}
