/* Cine Focus – channels, YouTube player, shorts */
.chrow{gap:12px}.chrow .chcard{flex:0 0 min(78%,280px)}
.chgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.chcard{display:block;background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden}
.chc-ban{aspect-ratio:16/6;background:var(--card2);overflow:hidden}.chc-ban img{width:100%;height:100%;object-fit:cover}
.chc-body{display:flex;align-items:center;gap:10px;padding:10px 12px}.chc-body b{display:block;font-size:15px}.chc-body small{color:var(--muted);font-size:12px}
.chc-logo{flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--card2);border:2px solid var(--border)}.chc-logo img{width:100%;height:100%;object-fit:cover}.chc-logo.big{width:72px;height:72px}
.chcard>p{padding:0 12px 12px;font-size:12.5px;color:var(--text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chan-cover{aspect-ratio:16/6}.chan-head{display:flex;align-items:center;gap:14px;margin:-34px 0 12px;position:relative}.chan-head h1{font-size:21px}
.chan-pill{display:inline-flex;align-items:center;gap:8px;margin:6px 0 10px}.chan-pill .chc-logo{width:30px;height:30px}
.ytbox{background:#000;border-radius:14px;overflow:hidden;aspect-ratio:16/9;position:relative}
.xwrap{position:relative;width:100%;height:100%}.xmount,.xmount iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.xload{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.xmsg{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:14px;text-align:center;background:rgba(3,8,23,.88);color:#fff;font-size:14px;overflow:auto}
.xmsg .box{max-width:420px;display:flex;flex-direction:column;align-items:center;gap:10px}.xmsg p{color:#c8d6ec;font-size:13px}.xmsg .btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.shgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:12px}
.shcard{position:relative;display:block;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:var(--card)}.shcard img{width:100%;height:100%;object-fit:cover}
.sh-play{position:absolute;right:8px;top:8px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);color:#fff}.sh-play .ic{width:15px;height:15px}
.sh-t{position:absolute;left:0;right:0;bottom:0;padding:22px 8px 8px;font-size:12px;font-weight:600;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.8));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chip-i{display:inline-block;width:18px;height:18px;border-radius:50%;object-fit:cover;vertical-align:-4px;margin-right:6px}
.shv{position:fixed;inset:0;z-index:120;background:#000;color:#fff;touch-action:pan-x}
.shv-stage{position:absolute;inset:0;display:grid;place-items:center}.shv-stage .xwrap{height:100%}
.shv-video{width:100%;height:100%;object-fit:contain;background:#000}
.shv-stage .xmount iframe{object-fit:contain}
.shv-tap{position:absolute;inset:60px 64px 90px 0;z-index:2;background:none}
.shv-top{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:linear-gradient(rgba(0,0,0,.6),transparent)}
.shv-top .iconbtn,.shv-side .iconbtn{background:rgba(0,0,0,.45);color:#fff;border-radius:50%}
.shv-side{position:absolute;z-index:5;right:10px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}
.shv-cap{position:absolute;z-index:4;left:0;right:64px;bottom:0;padding:30px 14px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.75));pointer-events:none}.shv-cap b{display:block;font-size:15px}.shv-cap p{font-size:13px;color:#e4e6ee;margin-top:2px}
.shv-end{position:absolute;z-index:6;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(0,0,0,.8)}
@media(min-width:720px){.shv-stage .shv-video{max-width:480px}.shv-stage .xwrap{max-width:480px;margin:0 auto}}

/* Channel cards are compact logo tiles; channel cover art appears only on channel detail. */
.chrow .chcard.chcard-compact{flex:0 0 min(74%,280px);min-height:82px;display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--card);border:1px solid var(--border)}
.chcard-compact .chc-logo{width:56px;height:56px;border-radius:50%;flex:none;border:2px solid rgba(255,255,255,.15)}
.chcard-compact .chc-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.chcard-compact .chc-copy b{font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chcard-compact .chc-copy small{font-size:12px;color:var(--muted)}
.chgrid .chcard.chcard-compact{min-height:84px}

/* Platform browser: logo + name only, continuously moves right-to-left and loops. */
.platform-sec{overflow:hidden}
.platform-marquee{width:100%;overflow:hidden;position:relative;padding:4px 0 10px;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.platform-track{display:flex;align-items:flex-start;gap:22px;width:max-content;animation:cf-platform-scroll 30s linear infinite;will-change:transform}
.platform-marquee:hover .platform-track,.platform-marquee:focus-within .platform-track{animation-play-state:paused}
.platform-card{width:104px;flex:0 0 104px;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;color:var(--text);text-decoration:none}
.platform-logo{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--card2);border:3px solid var(--cyan);padding:0}
.platform-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.platform-card b{font-size:13px;line-height:1.25;font-weight:700;max-width:104px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.platform-page-head{display:flex;align-items:center;gap:14px;margin:0 0 20px}
.platform-logo.large{width:66px;height:66px;flex:none}
.platform-page-head h1{font-size:22px;margin:0}
.yt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
.yt-feed-card{width:auto;min-width:0;background:transparent}
.yt-feed-card .thumb{aspect-ratio:16/9;border-radius:10px;position:relative;background:#050505;overflow:hidden}
.yt-feed-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-feed-card .play-ov{opacity:0;transition:opacity .18s ease}
.yt-feed-card a:active .play-ov,.yt-feed-card a:focus-visible .play-ov{opacity:1}
.yt-info-row{display:flex;align-items:flex-start;gap:9px;padding-top:9px;min-width:0}
.yt-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;background:var(--card2)}
.yt-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.yt-info-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.yt-info-copy .pt{font-size:13px;line-height:1.32;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.yt-channel,.yt-stats{display:block;color:var(--muted);font-size:11px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yt-feed-card .vcard-main{display:block}
.platform-videos-sec .sec-head{margin-bottom:10px}
@keyframes cf-platform-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.platform-track{animation:none;transform:none}}
@media(max-width:360px){.platform-card{width:86px;flex-basis:86px}.platform-logo{width:68px;height:68px}.platform-track{gap:16px}.yt-grid{gap:14px 8px}.yt-avatar{width:29px;height:29px;flex-basis:29px}.yt-info-copy .pt{font-size:12px}}

/* Full-screen episode experience + engagement rail */
.episode-immersive{position:fixed;inset:0;z-index:130;background:#000;color:#fff;overflow:hidden;isolation:isolate}
.episode-player-host,.episode-player-host .pstage,.episode-player-host .player{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0;background:#000}
.episode-player-host .player video{width:100%;height:100%;object-fit:contain}
.episode-player-host .p-ctrl{z-index:3}.episode-player-host .p-big{z-index:3}
.episode-back{position:absolute;z-index:8;top:calc(10px + env(safe-area-inset-top));left:12px;width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:#0008;color:#fff}
.episode-actions{position:absolute;z-index:8;right:10px;top:50%;transform:translateY(-25%);display:flex;flex-direction:column;gap:17px;align-items:center}
.engage-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:46px;min-height:46px;padding:4px 2px;border:0;background:transparent;color:#fff;text-shadow:0 1px 5px #000;font-size:22px;cursor:pointer}
.engage-btn svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8}.engage-btn small{font-size:10px;font-weight:700;max-width:54px;white-space:nowrap}.engage-btn.is-reacted{color:#ff4b77}.engage-btn.is-reacted svg,.engage-btn.is-saved svg{fill:currentColor}
.episode-bottom{position:absolute;z-index:7;left:0;right:64px;bottom:0;padding:42px 14px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#000b);pointer-events:none;display:flex;flex-direction:column;gap:5px}.episode-bottom span{font-size:14px;font-weight:700}.episode-bottom small{font-size:11px;color:#ddd}.episode-nextprev{display:flex;gap:10px;margin-top:6px;pointer-events:auto}.episode-nextprev a{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:7px 10px;background:#ffffff20;color:#fff;font-size:11px;text-decoration:none;backdrop-filter:blur(8px)}
#modal:has(.comment-sheet){width:min(100%,620px);max-width:620px;height:min(82dvh,760px);max-height:90dvh;padding:0;overflow:hidden;border-radius:20px 20px 0 0;position:fixed;bottom:0;top:auto;margin:0 auto;border:1px solid #26334c;background:#0b1426;color:#f4f7ff}
#modal:has(.comment-sheet)::backdrop{background:#0009}
.comment-sheet{height:100%;display:flex;flex-direction:column;min-height:0}.comment-head{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #26334c}.comment-head h2{font-size:18px;margin:0}.comment-head p{font-size:12px;color:#9ba9c1;margin:3px 0 0}.comment-list{flex:1;overflow:auto;padding:12px 16px}.comment-item{display:flex;gap:10px;padding:10px 0}.comment-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#152d4d;color:#7fe5ff;font-weight:800}.comment-item b{font-size:12px}.comment-item p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.comment-item small,.comment-note{font-size:10px;color:#8d9bb2}.comment-empty,.comment-loading{padding:24px 8px;text-align:center;color:#9ba9c1;font-size:13px}.comment-form{display:flex;gap:8px;padding:12px;border-top:1px solid #26334c}.comment-form input{min-width:0;flex:1;background:#111f35;color:#fff;border:1px solid #30415c;border-radius:12px;padding:12px}.comment-form .btn{padding:0 15px}.comment-sheet>.comment-note{padding:0 14px 10px;margin:0}
.shv-side{right:8px;gap:9px}.shv-side .iconbtn{width:43px;height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:0}.shv-side .iconbtn svg{width:22px;height:22px}.shv-side .iconbtn small{font-size:8px;line-height:1.1}.shv-side .iconbtn.is-reacted{color:#ff4b77}.shv-side .iconbtn.is-saved svg{fill:currentColor}
@media(min-width:720px){.episode-immersive{background:#000}.episode-player-host .player video{object-fit:contain}.episode-actions{right:max(20px,calc((100vw - 520px)/2))}.episode-bottom{left:max(12px,calc((100vw - 520px)/2));right:auto;width:min(440px,calc(100vw - 100px))}}
.hot-section .hot-card{position:relative;flex:0 0 132px;width:132px}.hot-card .thumb{position:relative}.hot-card .hot-rank{position:absolute;top:7px;left:7px;border-radius:6px;padding:4px 6px;background:#f04438;color:#fff;font-size:9px;font-weight:900}.hot-card>small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
