/* V20 immersive series detail and season browser — custom assets, no third-party media dependency */
#detailModal .detail-dialog{width:min(1100px,96vw);max-height:94dvh;background:#0b0c12;border:1px solid #ffffff27;border-radius:16px;scrollbar-color:#7d3445 #131118}
#detailModal .detail-hero{min-height:clamp(410px,52vh,610px);background-position:center 24%;isolation:isolate}
#detailModal .detail-hero::before{background:linear-gradient(0deg,#0b0c12 1%,#0b0c12b8 17%,#05050965 76%),linear-gradient(90deg,#09090de8,#09090d35 92%)}
#detailModal .detail-content{padding:clamp(24px,4vw,54px);padding-bottom:32px;max-width:800px}
#detailModal .detail-content h2{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(42px,6.2vw,79px);letter-spacing:.01em;line-height:1;max-width:690px;text-wrap:balance;margin:15px 0 14px}
#detailModal .detail-original{font-size:11px;color:#fe667b;font-weight:900;letter-spacing:.2em}
#detailModal .detail-meta{flex-wrap:wrap;gap:10px 17px;font-size:12px}
#detailModal .detail-content>p{color:#e1dbe0;max-width:590px;font-size:14px;line-height:1.7;text-wrap:pretty}
.v20-hero-eyebrow{font-size:11px;color:#dcb4bb;letter-spacing:.12em;font-weight:700;text-transform:uppercase;margin-top:15px}
.v20-series-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px;color:#c7bdc6;font-size:11px}
.v20-series-facts span{border:1px solid #ffffff26;background:#17131bcc;padding:6px 9px;border-radius:30px}
#detailModal .detail-buttons{margin-top:19px;display:flex;gap:9px}
#detailModal .detail-buttons .btn{min-height:42px;border-radius:7px}
#detailModal .detail-episodes{background:#0b0c12;padding:0 clamp(19px,4vw,48px) 45px}
#detailModal .detail-tabs{display:none}
.v20-section-label{font-size:10px;letter-spacing:.2em;color:#fb6f83;font-weight:900}
.v20-browser-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:4px 0 19px}
.v20-browser-heading h3,.v20-more h3{font-size:clamp(24px,3vw,34px);letter-spacing:-.03em;line-height:1.2;margin:6px 0 0;font-weight:850}
.v20-season-select-label{font-size:11px;color:#d2c5cf;display:flex;align-items:center;gap:8px}
.v20-season-select-label select{color:#fff;background:#201a23;border:1px solid #67505b;padding:9px 12px;border-radius:8px;font-size:12px;max-width:250px}
.v20-season-tabs{display:flex;gap:8px;overflow:auto;padding:4px 2px 12px;scrollbar-width:thin}
.v20-season-tabs button{font-size:12px;white-space:nowrap;background:#191820;border:1px solid #ffffff20;border-radius:8px;padding:11px 15px;color:#bfb8c1;font-weight:750}
.v20-season-tabs button:hover,.v20-season-tabs button:focus-visible{border-color:#e34e64;color:white}
.v20-season-tabs button.active{background:#e63853;border-color:#e63853;color:white}
.v20-season-subtitle{font-size:12px;color:#aba3ae;line-height:1.6;margin:5px 0 17px}
.v20-episode-list{display:grid;gap:15px}
.v20-episode-card{display:grid;grid-template-columns:minmax(170px,31%) 1fr;gap:21px;border:1px solid #ffffff16;background:linear-gradient(120deg,#1c1b25,#14141c 75%);padding:11px;border-radius:12px;overflow:hidden;transition:border-color .2s,transform .2s}
.v20-episode-card:hover{border-color:#e45b716e;transform:translateY(-1px)}
.v20-card-art{position:relative;min-width:0;aspect-ratio:16/9;background:#29242a;overflow:hidden;border-radius:7px}
.v20-card-art img{display:block;width:100%;height:100%;object-fit:cover}
.v20-card-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0707098c,transparent 55%);pointer-events:none}
.v20-number{position:absolute;left:11px;bottom:10px;color:#fff;font-size:10px;font-weight:850;letter-spacing:.11em;z-index:1}
.v20-art-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dd3657eb;color:white;box-shadow:0 5px 22px #000b;z-index:1}
.v20-art-play svg,.v20-episode-play svg{width:16px;height:16px}
.v20-card-content{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:7px 10px 5px 0}
.v20-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}
.v20-card-heading h4{font-size:clamp(15px,1.7vw,19px);line-height:1.28;margin:0;color:#fff;min-width:0}
.v20-status{white-space:nowrap;font-size:10px;letter-spacing:.025em;color:#e0d7dd;border:1px solid #ffffff28;border-radius:30px;padding:4px 8px;background:#ffffff09}
.v20-status.watched{color:#8fe8bd;border-color:#28674a;background:#19392e}
.v20-status.resume{color:#ffacba;border-color:#78354c;background:#391724}
.v20-status.soon{color:#bbb3bd}
.v20-episode-meta{display:flex;flex-wrap:wrap;gap:7px 13px;font-size:11px;color:#a7a0ad}
.v20-card-content p{font-size:12px;color:#c4bcc7;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v20-card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}
.v20-episode-play{display:flex;align-items:center;justify-content:center;gap:6px;color:#fff;background:#dc3553;padding:9px 12px;font-size:11px;font-weight:850;border:0;border-radius:7px;min-height:35px}
.v20-episode-play:hover{background:#f14664}
.v20-poll-link{color:#e5bcc7;background:transparent;border:1px solid #70414f;padding:9px 12px;border-radius:7px;font-size:11px}
.v20-coming-badge{font-size:11px;color:#bdb1be}
.v20-progress{height:3px;border-radius:5px;background:#553545;overflow:hidden;width:100%}.v20-progress>span{display:block;width:28%;height:100%;background:#ff526e}
.v20-no-episodes,.v20-blank-season{padding:24px;border:1px dashed #76505c;background:#1a141d;border-radius:10px;color:#bbb1bc}.v20-no-episodes h3{color:white;font-size:21px}.v20-no-episodes p{font-size:13px}
.v20-more{margin:36px 0 35px;border-top:1px solid #ffffff16;padding-top:28px}.v20-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin-top:16px}
.v20-related-card{background:#1a1820;border:1px solid #ffffff25;border-radius:10px;text-align:left;color:#fff;overflow:hidden;display:flex;align-items:center;gap:10px;padding:8px;min-width:0}
.v20-related-card:hover{border-color:#e35b72}.v20-related-card img{width:48px;height:70px;object-fit:cover;border-radius:5px}.v20-related-card span{display:flex;flex-direction:column;gap:7px;min-width:0}.v20-related-card strong{font-size:12px}.v20-related-card small{font-size:10px;color:#aaa0aa}
.v20-poll-panel{background:#201925;border:1px solid #734658;padding:18px;border-radius:12px;margin:19px 0;color:#ebdfe7}.v20-poll-panel h4{color:#fff;font-size:17px;margin:7px 0}.v20-poll-panel p{font-size:12px;line-height:1.6}.v20-poll-title{display:flex;justify-content:space-between;gap:10px}.v20-close-poll{background:#332a35;color:#fff;border:1px solid #fff4;border-radius:6px;padding:5px 10px;height:32px}.v20-vote-line{margin:12px 0}.v20-vote-line>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:11px}.v20-vote-bar{height:8px;border-radius:6px;background:#433341;margin-top:6px;overflow:hidden}.v20-vote-bar span{display:block;background:linear-gradient(90deg,#c52a49,#fe7388);height:100%}.v20-poll-error{color:#ffc1cf}
.v20-studio-thumb{padding:14px;background:#1c1b27;border:1px solid #5b4352;border-radius:10px;margin:13px 0}.v20-studio-thumb h3{margin:0 0 7px;font-size:16px}.v20-studio-thumb .studio-cols{align-items:end}
@media(max-width:730px){#detailModal .detail-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#detailModal .detail-hero{min-height:380px;background-position:60% 24%}#detailModal .detail-content{padding:25px 18px 20px}#detailModal .detail-content h2{font-size:clamp(36px,10vw,55px)}#detailModal .detail-episodes{padding:0 17px 28px}.v20-episode-card{grid-template-columns:38% minmax(0,1fr);gap:11px;padding:9px}.v20-card-art{aspect-ratio:3/4}.v20-card-art img{object-fit:cover}.v20-card-content{padding:2px 0}.v20-card-content p{display:none}.v20-card-heading{display:block}.v20-card-heading h4{margin:0 0 7px}.v20-status{display:inline-block}.v20-card-actions{gap:6px}.v20-episode-play,.v20-poll-link{padding:8px;font-size:10px;min-height:32px}.v20-art-play{width:34px;height:34px}.v20-episode-meta{font-size:10px}.v20-series-facts{gap:6px}.v20-browser-heading{align-items:start;flex-wrap:wrap}}
@media(max-width:380px){.v20-season-select-label{width:100%;justify-content:space-between}.v20-season-select-label select{max-width:210px}.v20-episode-card{grid-template-columns:36% 1fr}.v20-card-art{aspect-ratio:3/5}}
@media(prefers-reduced-motion:reduce){.v20-episode-card{transition:none}}

/* Quick navigation back to episode browser from immersive player */
.v20-player-episodes{margin-left:auto;display:inline-flex;gap:6px;align-items:center;justify-content:center;background:#291c29;border:1px solid #634252;border-radius:7px;padding:8px 11px;color:#f8dfe5;font-size:11px;font-weight:750;white-space:nowrap}.v20-player-episodes:hover{background:#542237;border-color:#eb647a}.v20-episodes-icon{font-size:16px;line-height:1}
@media(max-width:700px){.v20-player-episodes{margin-left:auto;padding:6px 8px}.v20-episodes-text{display:none}.v20-episodes-icon{font-size:18px}}
