:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--bg:#0b0b0f;--surface:#1c1d23;--surface-2:#2a2b32;--text:#f4f5f7;--muted:#a3a7b1;--green:#39c779;--red:#ef3e4a;--tabs:58px;--gap:0px;--tabpad:var(--safe-bottom);color-scheme:dark}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:Roboto,"Segoe UI",system-ui,sans-serif;-webkit-user-select:none;user-select:none;overscroll-behavior:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
button:active{opacity:.7}
[hidden]{display:none!important}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Each screen scrolls by itself, so switching tabs keeps your place. */
.view{position:fixed;inset:0 0 calc(var(--tabs) + var(--tabpad)) 0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.view::-webkit-scrollbar,.row-track::-webkit-scrollbar{display:none}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;height:calc(56px + var(--safe-top));padding:var(--safe-top) 8px 0 16px;background:var(--bg)}
.brand{height:24px}
.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%}
.chips{position:sticky;top:calc(56px + var(--safe-top));z-index:5;display:flex;gap:8px;padding:2px 16px 12px;background:var(--bg);box-shadow:0 10px 14px -6px var(--bg);overflow-x:auto;scrollbar-width:none}
.chip{flex:none;height:34px;padding:0 14px;border:1px solid #ffffff59;border-radius:17px;font-size:14px;white-space:nowrap}
.chip.on{background:var(--text);color:#000;border-color:var(--text)}
.chip.clear{width:34px;padding:0;display:grid;place-items:center}.chip.clear svg{width:16px;height:16px}

/* Featured title */
.hero{position:relative;margin:4px 16px 26px;border-radius:12px;overflow:hidden;box-shadow:0 12px 40px #000c}
.hero .poster{border-radius:0;aspect-ratio:auto;width:100%;height:min(120vw,60vh)}
.hero-copy{position:absolute;inset:auto 0 0 0;padding:70px 16px 16px;background:linear-gradient(transparent,#000000e6 55%);text-align:center}
.hero-tags{font-size:13px;color:#e4e6ea;margin-bottom:12px}
.hero-buttons{display:flex;gap:10px}
.hero-buttons button{flex:1}

.button{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 18px;border-radius:14px;font-size:16px;font-weight:700;letter-spacing:.1px;background:#22222a;border:1px solid #ffffff26;color:var(--text);transition:transform .12s,background-color .12s}
.button:active{opacity:1;transform:scale(.97);background:#30303a}
.button.primary{background:#f4f4f7;color:#0b0b0f;border-color:transparent;box-shadow:0 6px 18px #0006}
.button.primary:active{background:#d8d8de}
.button.danger{background:#e23a46;color:#fff;border-color:transparent}
.button.danger:active{background:#c42834}
.button.telegram{background:#2aabee;color:#fff;border-color:transparent;box-shadow:0 6px 18px #2aabee40}
.button.telegram:active{background:#1e96d4}
.button.telegram svg{width:22px;height:22px;fill:#fff;stroke:none}
.button svg{width:20px;height:20px}
.button.play svg{fill:currentColor;stroke:none}
.button.wide{width:100%;margin-top:8px}

/* Rows that flick sideways */
.row{margin-bottom:22px}
.row-head{display:flex;align-items:baseline;justify-content:space-between;padding:0 16px 8px}
.row h2{margin:0;font-size:17px;font-weight:700}
.row-more{font-size:13px;color:var(--muted);padding:6px 0 6px 12px}
.row-track{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:0 16px;scroll-snap-type:x proximity;scroll-padding:0 16px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.row-track .card{flex:none;width:31vw;max-width:150px;scroll-snap-align:start}
.row-track .card.wide{width:62vw;max-width:300px}
.card{display:block;text-align:left;position:relative}
.card-title{display:block;font-size:12px;color:var(--muted);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-info{position:absolute;right:4px;bottom:26px;width:30px;height:30px;border-radius:50%;background:#000a;display:grid;place-items:center}
.card-info svg{width:18px;height:18px}

.poster{position:relative;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:var(--surface)}
.poster.wide{aspect-ratio:16/9}
.poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .25s}
.art-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font-size:12px;color:var(--muted);background:linear-gradient(160deg,#23252d,#121318);transition:opacity .25s}
.art-placeholder b{display:block;font-size:13px;color:#d8dbe1;font-weight:600}
.poster.art-ready .art-placeholder{opacity:0}
.progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff40}
.progress span{display:block;height:100%;background:var(--red)}
.quality{position:absolute;top:6px;left:6px;font-size:10px;font-weight:700;padding:2px 5px;border-radius:3px;background:#000b;color:#ffd166}
/* The Hindi section */
.hindi-all{display:flex;flex-wrap:wrap;gap:10px;padding:8px 16px 24px}.hindi-all .button{display:inline-flex;padding:0 18px}
.hindi-note{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.4}.hindi-all .hindi-note{flex-basis:100%}
.hindi-source{margin:10px 0 0;color:var(--muted);font-size:13px}.hindi-source:empty{display:none}
.search-sub{grid-column:1/-1;margin:18px 0 4px;font-size:18px}

/* Grids: See all, My List, search */
header.bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:4px;min-height:calc(56px + var(--safe-top));padding:var(--safe-top) 12px 0 4px;background:var(--bg)}
header.bar h1{margin:0 0 0 8px;font-size:20px}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px 12px 16px}
.heading{font-size:17px;margin:8px 16px 10px}
.status{padding:16px;text-align:center;color:var(--muted);font-size:14px}
.status button{margin-top:12px}
.search-bar{padding:calc(8px + var(--safe-top)) 8px 8px 12px}
.search-box{flex:1;display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border-radius:6px;background:var(--surface-2);color:var(--muted)}
.search-box input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--text);font:inherit;font-size:16px;-webkit-user-select:text;user-select:text}
.search-box input::-webkit-search-cancel-button{display:none}

.settings{padding:0 16px 8px}
.setting{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:64px;padding:12px 0;border-bottom:1px solid #ffffff14;text-align:left}
.setting strong{display:block;font-size:16px;font-weight:600}
.setting small{display:block;font-size:13px;color:var(--muted);margin-top:3px;line-height:1.35}
.setting-text{flex:1;min-width:0}
/* More: cards and grouped rows */
.group{border-radius:18px;background:#18181f;border:1px solid #ffffff12;overflow:hidden;margin-bottom:14px}
.group .setting{padding:14px 16px;border-bottom:1px solid #ffffff0d}
.group .setting:last-child{border-bottom:0}
.group .setting:active{background:#ffffff0a;opacity:1}
.setting .ico,.card-head .ico{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ffffff10}
.ico svg,.avatar svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.group-label{margin:18px 6px 8px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#8a8f9c}
.more-card{display:block;width:100%;margin-bottom:14px;padding:16px;border-radius:20px;background:linear-gradient(180deg,#22222b,#18181f);border:1px solid #ffffff14;text-align:left;box-shadow:0 10px 24px #0005}
button.more-card:active{transform:scale(.99);opacity:1}
.profile{display:flex;align-items:center;gap:14px}
.profile strong{display:block;font-size:19px}.profile small{display:block;color:var(--muted);font-size:13px;margin-top:3px;line-height:1.35}
.avatar{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#39c77922}
.avatar svg{width:26px;height:26px;stroke:#5be39a}
.card-head{display:flex;align-items:center;gap:12px}
.card-head strong{flex:1;font-size:17px}
.sub-card p{margin:12px 0 0;color:#cfd2d8;font-size:15px;line-height:1.45}
.sub-card .button{margin-top:14px}
.card-link{display:block;margin-top:12px;color:#8fd3ad;font-size:14px;font-weight:600}
.pill{flex:none;font-size:12px;font-weight:800;padding:5px 10px;border-radius:999px}
.pill.ok{background:#39c77924;color:#6ee7a6}.pill.warn{background:#f5a52424;color:#ffc56b}.pill.bad{background:#ef3e4a26;color:#ff7a82}
.button.wide.more-signout{display:flex;width:calc(100% - 34px);margin:10px auto 0} /* the same width as the Pay button in the card above (its padding and edge) */
.more-note{margin:10px 6px 0;color:#7d8290;font-size:12.5px;text-align:center}
.switch{flex:none;width:46px;height:28px;border-radius:14px;background:var(--surface-2);position:relative;transition:background .2s}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s}
.switch.on{background:var(--green)}.switch.on::after{transform:translateX(18px)}
.value{color:var(--muted);font-size:14px}
.about{color:#6b7080;font-size:12px;text-align:center;margin:28px 0}

/* Title details: slides up over everything */
.overlay{position:fixed;inset:0;z-index:20;background:var(--bg);overflow-y:auto;overflow-x:hidden;animation:rise .22s ease-out;scrollbar-width:none}
@keyframes rise{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.close{position:fixed;top:calc(10px + var(--safe-top));right:10px;z-index:21;background:#000a}
.details-art{position:relative}
.details-art .poster{border-radius:0}
.details-art::after{content:"";position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(transparent,var(--bg))}
.details-copy{padding:0 16px 32px;margin-top:-18px;position:relative}
.details-copy h1{margin:0 0 8px;font-size:24px;line-height:1.2}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px;color:var(--muted);margin-bottom:12px}
.meta .tag{border:1px solid #ffffff4d;border-radius:3px;padding:0 5px;font-size:12px;color:#d8dbe1}
.meta .score{color:#ffd166}
.meta .low{color:#ffd166;font-weight:600}
.progress-line{display:flex;align-items:center;gap:10px;margin:10px 0 2px;font-size:12px;color:var(--muted)}
.progress-line .track{flex:1;height:3px;background:#ffffff33;border-radius:2px;overflow:hidden}
.progress-line .track span{display:block;height:100%;background:var(--red)}
.description{font-size:14px;line-height:1.5;color:#dfe1e6;margin:14px 0}
.icon-row{display:flex;gap:28px;margin:6px 0 18px}
.icon-row button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--muted);min-width:60px}
.icon-row svg{color:var(--text)}
.season-picker{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:5px;background:var(--surface-2);font-size:15px;font-weight:600;margin:6px 0 12px}
.season-picker svg{width:18px;height:18px}
.episode{display:flex;gap:12px;align-items:center;width:100%;padding:8px 0;text-align:left}
.episode .poster{flex:none;width:42%;max-width:180px}
.episode .poster::after{content:"";position:absolute;inset:0;margin:auto;width:34px;height:34px;border-radius:50%;border:2px solid #fff;background:#0008 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='white'/%3E%3C/svg%3E") center/20px no-repeat}
.episode strong{display:block;font-size:14px;font-weight:600;line-height:1.3}
.episode small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.episode.current strong{color:var(--green)}
.loading{color:var(--muted);font-size:14px;padding:12px 0}

/* Season and category choices */
#sheet{position:fixed;inset:0;z-index:30;background:#000000d9;display:flex;align-items:flex-end;animation:fade .15s}
@keyframes fade{from{opacity:0}}
.sheet-panel{width:100%;max-height:80%;overflow-y:auto;padding:24px 0 84px;text-align:center}
.sheet-panel button.choice{display:block;width:100%;padding:14px;font-size:18px;color:var(--muted)}
.sheet-panel button.choice.danger{color:#ff5c66;font-weight:700}
.sheet-panel button.choice.on{color:var(--text);font-weight:700;font-size:20px}
.sheet-close{position:fixed;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translateX(-50%);width:56px;height:56px;background:var(--text);color:#000}

.tabs{position:fixed;left:0;right:0;bottom:0;height:calc(var(--tabs) + var(--tabpad));padding-bottom:var(--tabpad);z-index:10;display:flex;background:#0b0b0ff2;border-top:1px solid #ffffff14}
.tabs button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:#8d919b}
.tabs button.on{color:var(--text)}
.tabs svg{width:22px;height:22px}

.skeleton .poster{animation:pulse 1.4s ease-in-out infinite}
.skeleton .bone{height:16px;width:40%;margin:0 16px 10px;border-radius:4px;background:var(--surface);animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.5}}

#toast{position:fixed;left:16px;right:16px;bottom:calc(var(--tabs) + var(--safe-bottom) + 14px);z-index:40;padding:12px 16px;border-radius:8px;background:#f4f5f7;color:#000;font-size:14px;text-align:center;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}
#toast.show{opacity:1;transform:none}
#cover{position:fixed;inset:0;z-index:50;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
#cover img{width:56%;max-width:280px}
#cover .line{width:140px;height:3px;background:#ffffff1a;overflow:hidden}
#cover .line i{display:block;width:40%;height:100%;background:linear-gradient(90deg,var(--green),var(--red));animation:slide 1s ease-in-out infinite alternate}
@keyframes slide{to{transform:translateX(150%)}}

/* iPhone (web): sign-in and the video player */
#signin{position:fixed;inset:0;z-index:45;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:calc(24px + var(--safe-top)) 28px calc(24px + var(--safe-bottom));text-align:center}
#signin h1{margin:10px 0 0;font-size:28px;letter-spacing:-.4px;line-height:1.2}
#signin p{margin:0;color:var(--muted);font-size:16px;line-height:1.5;max-width:340px}
.signin-brand{width:170px;margin-bottom:6px}
#signin .button{width:100%;max-width:320px;text-decoration:none}
.sub-steps{margin:4px 0 0;padding-left:22px;text-align:left;color:#dfe1e6;font-size:15px;line-height:1.45;display:flex;flex-direction:column;gap:6px;max-width:340px}
.sub-steps b{color:#fff}
.sub-bml{display:block;width:100%;max-width:300px;margin:8px 0 4px;border-radius:10px}
#sub.paid .sub-body>*:not(.sub-done){display:none}
#sub.paid .sub-body{min-height:100%;justify-content:center;padding-top:var(--safe-top)}
.sub-done{display:flex;flex-direction:column;align-items:center;gap:10px;margin:28px 0}
.sub-done[hidden]{display:none}
.sub-done h2{margin:6px 0 0;font-size:26px;color:#fff}
.sub-done p{margin:0;color:var(--muted);font-size:16px;text-align:center}
.sub-tick{width:132px;height:132px}
.sub-tick circle{fill:#16a34a;stroke:none;transform-origin:center;animation:tick-pop .45s cubic-bezier(.2,1.4,.4,1) both}
.sub-tick path{fill:none;stroke:#fff;stroke-width:11;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:90;stroke-dashoffset:90;animation:tick-draw .45s .35s ease-out forwards}
@keyframes tick-pop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes tick-draw{to{stroke-dashoffset:0}}
.sub-help{font-size:13.5px;color:var(--muted);margin:6px 0 0}
.sub-help a{color:#5aa9ff}
#signin{overflow-y:auto;justify-content:flex-start}
#signin>.signin-brand{margin-top:auto}#signin>.status{margin-bottom:auto}
.su{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:360px}
.su[hidden]{display:none}
.su-pick{width:100%;display:grid;grid-template-columns:44px 1fr 16px;align-items:center;column-gap:14px;padding:16px;border-radius:18px;border:1px solid #ffffff1f;background:linear-gradient(180deg,#24242c,#1b1b22);color:var(--text);text-align:left;box-shadow:0 8px 22px #0005;transition:transform .12s,border-color .12s}
.su-pick:active{transform:scale(.98);opacity:1}
.su-pick .su-ico{grid-row:span 2;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#ffffff12}
.su-pick .su-ico svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.su-pick strong{font-size:18px;grid-column:2}.su-pick small{color:var(--muted);font-size:14px;grid-column:2}
.su-pick::after{content:'›';grid-column:3;grid-row:1/span 2;font-size:26px;color:#ffffff66;line-height:1}
.su-pick.likely{border-color:var(--green);box-shadow:0 0 0 1px var(--green),0 8px 22px #0005}
.su-qr{background:#fff;border-radius:16px;padding:14px;width:240px;height:240px;display:grid;place-items:center}
.su-qr[hidden]{display:none}
.su-qr img{width:100%;height:100%;image-rendering:pixelated}
#signin :focus-visible,#signin .su-plan:focus{outline:3px solid #fff;outline-offset:3px}
.more-like{margin:26px 0 8px}
.more-like[hidden]{display:none}
.more-like h2{font-size:18px;margin:0 0 12px}
.more-like .tiles{padding:0}
.su-address{display:inline-block;margin-top:4px;padding:4px 10px;border-radius:8px;background:#1b2027;font:600 16px/1.3 ui-monospace,Menlo,monospace;letter-spacing:.5px}
/* Secondary choices on these screens are real buttons, quieter than the main one. */
.su-back{width:100%;max-width:320px;height:46px;border-radius:14px;border:1px solid #ffffff26;background:transparent;color:#e4e6ea;font-size:15px;font-weight:600;margin-top:4px}
.su-back:active{background:#ffffff12;opacity:1}
.su-small{font-size:13px!important;color:#8a8f9c!important}
.su-steps{margin:0;padding-left:22px;text-align:left;color:#dfe1e6;font-size:15px;line-height:1.45;display:flex;flex-direction:column;gap:8px}
.su-steps b{color:#fff}
.su-field{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left}
.su-field span{font-size:14px;color:var(--muted)}
.su-field input{height:52px;border-radius:14px;border:1px solid #ffffff2e;background:#16161c;color:#fff;font-size:17px;padding:0 16px}
.su-field input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px #39c77933}
#su-code-input{font:600 22px/1 ui-monospace,Menlo,monospace;letter-spacing:2px;text-transform:uppercase}
.su-plans{display:flex;flex-direction:column;gap:10px;width:100%}
.su-plan{display:grid;grid-template-columns:1fr auto;gap:2px 10px;width:100%;padding:14px 16px;border-radius:14px;border:1px solid #ffffff24;background:var(--surface-2);color:var(--text);text-align:left}
.su-plan strong{font-size:17px}.su-plan em{font-style:normal;font-weight:700;font-size:17px}
.su-plan small{grid-column:1/-1;color:var(--muted);font-size:13.5px;line-height:1.4}
.su-plan.on{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.su-plan:disabled{opacity:.4}
.fam-list{display:flex;flex-direction:column;gap:8px;width:100%;margin:6px 0 14px}
.fam-member{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:var(--surface-2)}
.fam-member small{color:var(--muted);margin-left:6px}
.fam-member button{background:#e23a46;border:0;color:#fff;border-radius:10px;padding:7px 14px;font-size:13px;font-weight:700}
.fam-codes{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.fam-codes span{display:block;padding:14px 8px;border-radius:12px;background:var(--surface-2);font:700 20px/1 ui-monospace,Menlo,monospace;letter-spacing:2px;text-align:center}
#fam h2{font-size:17px;margin:8px 0 4px}
#player{position:fixed;inset:0;z-index:55;background:#000;display:flex;align-items:center;justify-content:center}
#player video{width:100%;height:100%;object-fit:contain;background:#000}
#player-close{position:absolute;top:calc(10px + var(--safe-top));right:10px;background:#000a;color:#fff}
#player-title,#player-close{transition:opacity .35s}
/* Trailer (iPhone): the video at the top, like YouTube; the title's details below it */
#trailer{position:fixed;inset:0;z-index:56;background:var(--bg);display:flex;flex-direction:column}
#trailer-top{flex:none;height:calc(52px + var(--safe-top));padding-top:var(--safe-top);display:flex;justify-content:flex-end;align-items:center;padding-right:8px;background:#000}
#trailer-close{background:#ffffff1f;color:#fff}
#trailer-box{flex:none;width:100%;aspect-ratio:16/9;background:#000}
#trailer-box iframe{width:100%;height:100%;border:0;display:block}
#trailer-info{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 20px calc(24px + var(--safe-bottom));scrollbar-width:none}
#trailer-info h1{margin:0;font-size:22px;line-height:1.25}
.t-meta{margin-top:6px;color:var(--muted);font-size:14px;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.t-meta .tag{border:1px solid #ffffff40;border-radius:5px;padding:0 6px;font-size:12px}
.t-rating{margin-top:12px;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.stars{position:relative;display:inline-block;font-size:20px;letter-spacing:2px;line-height:1;color:#ffffff2e}
.stars span{position:absolute;inset:0 auto 0 0;overflow:hidden;white-space:nowrap;color:#f5c518}
.t-rating strong{color:var(--text);font-size:16px}
.t-plot{margin:14px 0 0;font-size:15px;line-height:1.5;color:#d9dbe1}
.t-label{margin:22px 0 10px;font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.t-cast{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px 4px}
.t-cast::-webkit-scrollbar{display:none}
.t-person{flex:none;width:78px;text-align:center;font-size:12px;line-height:1.3}
.t-face{width:72px;height:72px;margin:0 auto 6px;border-radius:50%;background:var(--surface-2) center/cover no-repeat;display:grid;place-items:center;color:var(--muted);font-size:24px;font-weight:700;overflow:hidden}
.t-face img{width:100%;height:100%;object-fit:cover}
.t-person strong{display:block;color:var(--text);font-weight:600}
.t-person small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
#trailer-youtube{margin-top:22px}
.yt-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 16px;color:#fff;font-size:16px;font-weight:600;text-decoration:none;background:none;border:0;transition:opacity .12s}
.yt-button svg{width:30px;height:21px;stroke:none!important}.yt-button svg path{stroke:none!important}
.yt-button:active{opacity:.6}
#trailer-box video{width:100%;height:100%;display:block;background:#000;object-fit:contain}
/* Turned sideways: the trailer fills the screen (turn back for the details and ✕) */
@media (orientation:landscape){#trailer{background:#000}#trailer-top,#trailer-info{display:none}#trailer-box{flex:1;aspect-ratio:auto;height:100%}}
/* While a video plays in the page, the title and close button fade after a few seconds; a tap brings them back. */
#player.calm #player-title,#player.calm #player-close{opacity:0;pointer-events:none}
#player-title{position:absolute;top:calc(18px + var(--safe-top));left:16px;right:64px;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.episode .art-placeholder b{display:none}
/* The Add to Home Screen guide: swipe through screenshots of each step */
.guide{width:100%;max-width:360px;margin:4px 0 6px}
.guide-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px}
.guide-track::-webkit-scrollbar{display:none}
.guide-slide{flex:none;width:100%;margin:0;scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.guide-shot{width:100%;height:min(42vh,330px);display:grid;place-items:center;border-radius:16px;background:#0b0b0f;border:1px solid #ffffff1f;overflow:hidden}
.guide-shot{position:relative}.guide-shot>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.guide-icon{width:96px;height:96px;border-radius:24px;background:var(--surface-2);display:grid;place-items:center;color:#4da3ff}
.guide-icon svg{width:52px;height:52px}.guide-icon circle.knob{fill:currentColor;stroke:none}
.guide-already{display:flex;gap:12px;align-items:center;text-align:left;width:100%;max-width:360px;background:var(--surface);border:1px solid #ffffff14;border-radius:16px;padding:12px 14px;font-size:14px;color:var(--muted);line-height:1.4}
.guide-already strong{display:block;color:var(--text);font-size:15px;margin-bottom:2px}.guide-already b{color:var(--text)}
.guide-already-icon img{width:44px;height:44px;border-radius:11px;display:block}
.guide-slot{width:100%;display:flex;justify-content:center}
#a2hs{z-index:45}
/* The TV install guide: each step with a drawing of what the TV shows. */
#tvg{z-index:45}
/* On a computer: a wide welcome page (what it is, a code for the phone, the TV steps). */
body.desktop #signin{padding:40px 48px 48px;gap:24px}
body.desktop #signin>.signin-brand{margin-top:0;width:190px}
body.desktop #su-desk{max-width:1120px;gap:28px;align-items:stretch;text-align:left}
.desk-hero{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:center;padding:32px 40px;border-radius:28px;background:radial-gradient(700px 360px at 10% 0%,#39c77922,transparent 70%),radial-gradient(600px 320px at 100% 100%,#ef3e4a1c,transparent 70%),var(--surface)}
#signin .desk-copy h1{margin:0 0 14px;font-size:46px;line-height:1.08;letter-spacing:-1px}
#signin .desk-copy p{max-width:560px;font-size:18px}
.desk-actions{display:flex;gap:12px;margin-top:24px}
#signin .desk-actions .button{width:auto;max-width:none;padding:0 24px}
.desk-qr-card{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:24px;border-radius:22px;background:#0b0b0f99;border:1px solid #ffffff1a}
.desk-qr{width:220px;height:220px;border-radius:14px;overflow:hidden;margin-bottom:8px}.desk-qr svg{display:block;width:100%;height:100%}.desk-qr svg rect{fill:#fff!important;stroke:none!important}.desk-qr svg path{fill:#000!important;stroke:none!important}
.desk-qr-card strong{font-size:18px}.desk-qr-card small{color:var(--muted);font-size:14px;line-height:1.45}.desk-qr-card b{color:var(--text)}
.desk-h2{margin:8px 0 -8px;font-size:24px}
.desk-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.desk-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;border-radius:22px;background:var(--surface);border:1px solid #ffffff12}
.desk-card .su-ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#ffffff12}
.desk-card .su-ico svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.desk-card strong{font-size:19px}
#signin .desk-card p{font-size:15px;max-width:none}
.desk-card ol{margin:0;padding-left:20px;color:#dfe1e6;font-size:15px;line-height:1.5;display:flex;flex-direction:column;gap:6px}.desk-card b{color:#fff}
#signin .desk-card .button{margin-top:auto;width:100%;max-width:none}
#signin .desk-foot{max-width:none;text-align:center;font-size:14px}.desk-foot a{color:#5aa9ff}
body.desktop #su-tv{max-width:1120px}
body.desktop #su-tv .tvg{max-width:none;display:grid;grid-template-columns:repeat(3,1fr)}
body.desktop #su-tv .su-back{max-width:320px}
/* The iPhone and Android guides on a computer: every step at once, and a code to open DhowFlix on the phone. */
body.desktop #su-iphone,body.desktop #su-android{max-width:1120px}
body.desktop #su-iphone .guide{max-width:none}
body.desktop #su-iphone .guide-track{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;overflow:visible}
body.desktop #su-iphone .guide-slide{width:auto;background:var(--surface);border-radius:20px;padding:16px}
body.desktop #su-iphone .guide-shot{height:340px}
body.desktop #su-iphone .guide-dots,body.desktop #su-iphone .guide-hint,body.desktop #signin-safari,body.desktop #su-apk,body.desktop .su-back[data-su="tv"]{display:none}
body.desktop #su-iphone .guide-already{max-width:620px}
body.desktop #su-android .su-steps{counter-reset:st;list-style:none;padding:0;max-width:none;width:100%;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;font-size:16px}body.desktop #su-android .su-steps li{counter-increment:st;background:var(--surface);border-radius:20px;padding:20px}body.desktop #su-android .su-steps li::before{content:counter(st);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--green);color:#0b0b0f;font-weight:800;margin-bottom:12px}
body.desktop .su .su-back{max-width:320px}
.desk-scan{display:flex;align-items:center;gap:20px;text-align:left;width:100%;max-width:620px;padding:16px 20px;border-radius:20px;background:var(--surface);border:1px solid #ffffff14;color:var(--muted);font-size:15px;line-height:1.45}
.desk-scan[hidden]{display:none}
.desk-scan strong{display:block;color:var(--text);font-size:17px;margin-bottom:2px}.desk-scan b{color:var(--text)}
.desk-scan-qr{flex:none;width:120px;height:120px;border-radius:10px;overflow:hidden}.desk-scan-qr svg{display:block;width:100%;height:100%}
.desk-scan-qr svg rect{fill:#fff!important;stroke:none!important}.desk-scan-qr svg path{fill:#000!important;stroke:none!important}
.desk-note{display:block;margin-top:6px;font-size:14px;color:var(--muted)}
@media (max-width:1000px){.desk-hero{grid-template-columns:1fr;gap:24px}.desk-cards,body.desktop #su-tv .tvg,body.desktop #su-iphone .guide-track,body.desktop #su-android .su-steps{grid-template-columns:1fr 1fr}#signin .desk-copy h1{font-size:36px}}
.tvg-slot{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.tvg{width:100%;max-width:420px;display:flex;flex-direction:column;gap:14px;text-align:left}
.tvg-step{background:var(--surface);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:12px}
.tvg-text{color:#dfe1e6;font-size:15px;line-height:1.45}
.tvg-text small{display:block;color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px}
.tvg-text strong{display:block;color:#fff;font-size:17px;margin:2px 0 4px}
.tvg-text b{color:#fff}
.tvg-tip{display:block;margin-top:8px;padding:10px 12px;border-radius:12px;background:#ffffff0d;color:var(--muted);font-size:13px}
.tv{position:relative;margin:0 auto 10px;width:86%;aspect-ratio:16/9;border:5px solid #30333b;border-radius:10px;background:#0e1116}
.tv::after{content:"";position:absolute;left:38%;right:38%;bottom:-11px;height:6px;border-radius:0 0 6px 6px;background:#30333b}
.tv-screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:10px;font-size:12px;color:#e8eaee}
.tv-hl{box-shadow:0 0 0 2px var(--green),0 0 14px #39c77966}
.tv-btn{display:inline-block;padding:4px 12px;border-radius:7px;background:#2c3038;font-weight:700;font-size:11px}
.tv-btn.tv-hl{background:#e8eaee;color:#0b0b0f}
.tv-search{width:80%;padding:5px 10px;border-radius:999px;background:#22262e;color:#c9ccd3}
.tv-app{display:flex;align-items:center;gap:8px;width:80%}
.tv-app>span:nth-child(2){flex:1}.tv-app small,.tv-sign small{display:block;color:#9aa0ab;font-size:10px}
.tv-dl{width:28px;height:28px;border-radius:7px;background:#f39c12;color:#fff;display:grid;place-items:center;font-weight:800;font-size:16px}
.tv-field{width:84%;padding:6px 10px;border-radius:6px;background:#fff;color:#111;font:600 12px ui-monospace,Menlo,monospace}
.tv-row{display:flex;align-items:center;justify-content:space-between;width:70%;padding:8px 12px;border-radius:8px;background:#22262e}
.tv-row .switch{transform:scale(.8)}
.tv-dialog{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 14px;border-radius:10px;background:#22262e}
.tv-buttons{display:flex;gap:8px;margin-top:6px}
.tv-sign{display:flex;align-items:center;gap:12px}
.tv-sign small{margin-top:6px;padding:2px 6px;border-radius:6px}
.tv-qr{width:52px;height:52px;border-radius:4px;border:4px solid #fff;background-color:#fff;background-image:repeating-conic-gradient(#111 0 25%,#fff 0 50%);background-size:12px 12px}
/* iOS 27: the menu button (three lines) at the left of the address bar, drawn rather than photographed */
.guide-bar{display:flex;align-items:center;gap:12px;background:#2a2b32;border-radius:999px;padding:8px 18px 8px 8px;font-size:17px;color:#fff}
.guide-ring{width:46px;height:46px;border-radius:50%;border:3px solid var(--green);display:grid;place-items:center}
.guide-ring svg{width:24px;height:24px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round}
.guide-app{background:none}.guide-app img{width:96px;height:96px;border-radius:22px}
.guide-slide figcaption{font-size:17px;line-height:1.4;color:#dfe1e6;text-align:center;min-height:48px}
.guide-slide figcaption b{color:#fff}
.guide-slide small{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin-bottom:4px}
.guide-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.guide-dots i{width:7px;height:7px;border-radius:50%;background:#ffffff40;transition:.2s}
.guide-dots i.on{background:var(--text);width:18px;border-radius:4px}
.guide-hint{font-size:12px!important;color:#6b7080!important;margin-top:6px!important}
#signin-safari{background:none;color:var(--muted);font-weight:500;height:auto;padding:8px}

/* Subscription: banner, screen and pay screen */
.sub-banner{display:flex;align-items:center;gap:12px;margin:2px 16px 14px;padding:12px 14px;border-radius:10px;background:#3a2a0f;color:#ffd166;font-size:14px;line-height:1.35;text-align:left;width:calc(100% - 32px)}
.sub-banner.over{background:#3d1418;color:#ff8a93}
.sub-banner b{color:#fff}.sub-banner span{flex:1}.sub-banner em{font-style:normal;font-weight:700;color:#fff;white-space:nowrap}
#sub{z-index:46}
.sub-body{display:flex;flex-direction:column;align-items:center;gap:12px;padding:calc(56px + var(--safe-top)) 24px calc(32px + var(--safe-bottom));text-align:center}
.sub-body h1{margin:4px 0 0;font-size:24px}
.sub-state{margin:0;color:var(--muted);font-size:15px;line-height:1.45}
.sub-state b{color:var(--text)}
.sub-amount,.sub-account{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:340px;padding:14px;border-radius:12px;background:var(--surface)}
.sub-amount small,.sub-account small{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sub-amount strong{font-size:34px;letter-spacing:.5px}
.sub-account strong{font-size:16px}
.sub-account span{font:600 20px ui-monospace,Menlo,monospace;letter-spacing:1px}
.sub-copy{margin-top:6px;padding:7px 16px;border-radius:16px;background:var(--surface-2);font-size:14px;font-weight:600}
.sub-qr{width:min(70vw,260px);aspect-ratio:1;background:#fff;border-radius:14px;padding:8px}
.sub-pay{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}
.sub-pay[hidden]{display:none}
.sub-pay-go{max-width:340px}
.sub-qr img{width:100%;height:100%;display:block}
.sub-hint,.sub-note,.sub-wait{margin:0;font-size:14px;line-height:1.5;color:var(--muted);max-width:340px}
.sub-hint b{color:var(--text)}
.sub-wait{color:var(--green)}
.sub-paused{margin:0;padding:10px 12px;border-radius:10px;background:#3a2a0f;color:#ffd166;font-size:14px;line-height:1.45;max-width:340px}
#sub.blocking .close{display:none}
.request-box{margin:18px auto 8px;max-width:360px;text-align:center;color:#c9ccd2;font-size:15px;line-height:1.4}.request-box p{margin:0 0 12px}.request-box .button{display:inline-flex;padding:0 22px}

/* ---------- Shorts: like ReelShort / GoodShort (upright covers, a For You feed, a full-screen upright player) ---------- */
.tabs button[hidden]{display:none}
#shorts.feed{overflow:hidden}
.sh-top{position:sticky;top:0;z-index:6;display:flex;justify-content:center;height:calc(52px + var(--safe-top));padding-top:var(--safe-top);background:var(--bg)}
#shorts.feed .sh-top{position:absolute;left:0;right:0;background:linear-gradient(#000000a6,#0000)}
.sh-pills{display:flex;gap:20px;align-items:center}
#sh-search-open{position:absolute;right:4px;top:calc(4px + var(--safe-top));color:#fff}
.sh-search-bar{padding:6px 12px 12px}
#sh-mylist{padding-top:4px}
.sh-yt{border:0}
.sh-pills button{font-size:17px;font-weight:700;color:#ffffff8c;padding:8px 2px;position:relative}
.sh-pills button.on{color:#fff}
.sh-pills button.on::after{content:"";position:absolute;left:25%;right:25%;bottom:2px;height:3px;border-radius:2px;background:var(--red)}
#sh-home{padding-bottom:18px}
.sh-platforms{display:flex;gap:8px;overflow-x:auto;padding:2px 16px 14px;scrollbar-width:none}
.sh-platforms::-webkit-scrollbar{display:none}
.sh-platforms .chip span{color:var(--muted);margin-left:6px;font-size:12px}
.sh-platforms .chip.on span{color:#555}
#sh-foryou{position:absolute;inset:0}
.sh-section{margin:6px 0 24px}
.sh-head{display:flex;align-items:baseline;justify-content:space-between;padding:0 16px 10px}
.sh-head h2{margin:0;font-size:18px;font-weight:800}
.sh-more{font-size:13px;color:var(--muted)}
.sh-track{display:flex;gap:10px;overflow-x:auto;padding:0 16px;scroll-snap-type:x proximity;scroll-padding:0 16px;scrollbar-width:none}
.sh-track::-webkit-scrollbar{display:none}
.sh-track .sh-card{flex:none;width:30vw;max-width:150px;scroll-snap-align:start}
.sh-card{display:block;text-align:left;position:relative}
.sh-poster{position:relative;aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:var(--surface)}
.sh-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .25s}
.sh-poster .art-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font-size:12px;color:var(--muted)}
.sh-poster.art-ready .art-placeholder{opacity:0}
.sh-ep{position:absolute;left:0;bottom:0;right:0;padding:16px 6px 5px;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(#0000,#000000c0)}
.sh-ai{position:absolute;top:6px;left:6px;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:800;letter-spacing:.4px;color:#fff;background:linear-gradient(90deg,#7b5cff,#e64bd6)}
.sh-name{display:block;margin-top:6px;font-size:13px;font-weight:600;line-height:1.3;max-height:2.6em;overflow:hidden;color:#e4e6ea}
.sh-sub{display:block;font-size:11.5px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-bar-mini{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff40}
.sh-bar-mini span{display:block;height:100%;background:var(--red)}
.sh-hero{display:flex;gap:12px;overflow-x:auto;padding:4px 16px 2px;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none}
.sh-hero::-webkit-scrollbar{display:none}
.sh-hero-card{flex:none;width:64vw;max-width:300px;position:relative;scroll-snap-align:start;border-radius:12px;overflow:hidden;text-align:left}
.sh-hero-card .sh-poster{aspect-ratio:9/16;border-radius:12px}
.sh-hero-copy{position:absolute;left:0;right:0;bottom:0;padding:44px 12px 12px;background:linear-gradient(#0000,#000000e6 55%)}
.sh-hero-copy strong{display:block;font-size:17px;line-height:1.25;margin-bottom:4px}
.sh-hero-copy small{display:block;font-size:12px;color:#c9ccd2;margin-bottom:10px}
.sh-play{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border-radius:18px;background:var(--red);color:#fff;font-size:14px;font-weight:700}
.sh-play svg{width:16px;height:16px;fill:currentColor;stroke:none}
.sh-rank{display:flex;flex-direction:column;gap:10px;padding:0 16px}
.sh-rank-item{display:flex;align-items:center;gap:10px;text-align:left}
.sh-rank-n{flex:none;width:34px;font-size:30px;font-weight:900;font-style:italic;text-align:center;color:#ffffff59}
.sh-rank-item:nth-child(-n+3) .sh-rank-n{color:#ffcc4d}
.sh-rank-item .sh-poster{flex:none;width:70px}
.sh-rank-copy{min-width:0;flex:1}
.sh-rank-copy strong{display:block;font-size:15px;line-height:1.3;max-height:2.6em;overflow:hidden}
.sh-rank-copy small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.sh-genres{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px}
.sh-genres .chip span{color:var(--muted);margin-left:6px;font-size:12px}
.tiles .sh-card .sh-name{font-size:12px}
#shorts .status{padding:24px 16px;text-align:center;color:var(--muted)}

/* The series page */
#sh-series{z-index:21}
.sh-series-top{position:relative;padding:calc(58px + var(--safe-top)) 16px 0;display:flex;gap:14px}
.sh-series-top .sh-poster{flex:none;width:34vw;max-width:150px}
.sh-series-top h1{margin:2px 0 6px;font-size:20px;line-height:1.25}
.sh-credit{font-size:12.5px;color:var(--muted);margin:0 0 8px}
.sh-tags{display:flex;flex-wrap:wrap;gap:6px}
.sh-tag{font-size:11.5px;padding:3px 8px;border-radius:10px;background:var(--surface-2);color:#d6d8de}
.sh-tag.ai{background:linear-gradient(90deg,#7b5cff,#e64bd6);color:#fff;font-weight:700}
.sh-desc{margin:14px 16px 0;font-size:14px;line-height:1.5;color:#c9ccd2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:left;width:calc(100% - 32px)}
.sh-desc.open{-webkit-line-clamp:unset;display:block}
.sh-actions{display:flex;gap:10px;padding:16px}
.sh-actions .button.primary{flex:1;background:var(--red);color:#fff}
.sh-actions .button.primary svg{fill:currentColor;stroke:none}
.sh-ep-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 16px 10px;scrollbar-width:none}
.sh-ep-tabs::-webkit-scrollbar{display:none}
.sh-ep-tabs button{flex:none;height:30px;padding:0 12px;border-radius:15px;font-size:13px;color:var(--muted);background:var(--surface)}
.sh-ep-tabs button.on{background:var(--text);color:#000;font-weight:700}
.sh-ep-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:0 16px 30px}
.sh-epn{position:relative;aspect-ratio:1;border-radius:8px;background:var(--surface);font-size:15px;font-weight:700;color:#fff}
.sh-epn.watched{color:#ffffff66;background:#16171c}
.sh-epn.watched::after{content:"✓";position:absolute;top:2px;right:5px;font-size:10px;color:var(--green)}
.sh-epn.current{background:#3a1418;color:#ff5c66;box-shadow:inset 0 0 0 2px var(--red)}
.sh-epn.partial::before{content:"";position:absolute;left:6px;right:6px;bottom:5px;height:2px;border-radius:1px;background:var(--red)}

/* The upright player and the For You feed: one swipe per episode */
#sh-player{position:fixed;top:0;left:0;right:0;bottom:calc(0px - var(--gap));z-index:35;background:#000}
html.sh-open,html.sh-open body{background:#000}
.sh-pager{height:100%;overflow-y:scroll;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;background:#000}
.sh-pager::-webkit-scrollbar{display:none}
.sh-slide{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#000}
.sh-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55)}
.sh-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.sh-video.tall{object-fit:cover}
.sh-state{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.sh-state .spin{width:38px;height:38px;border-radius:50%;border:3px solid #ffffff40;border-top-color:#fff;animation:shspin .8s linear infinite;display:none}
.sh-slide.loading .sh-state .spin{display:block}
.sh-state .big-play{display:none;width:64px;height:64px;border-radius:50%;background:#0008;place-items:center}
.sh-state .big-play svg{width:30px;height:30px;fill:#fff;stroke:none;margin-left:4px}
.sh-slide.paused .sh-state .big-play{display:grid}
@keyframes shspin{to{transform:rotate(360deg)}}
.sh-err{position:absolute;left:24px;right:24px;top:40%;display:none;flex-direction:column;align-items:center;gap:14px;text-align:center;font-size:15px;line-height:1.45}
.sh-slide.err .sh-err{display:flex}
.sh-err div{display:flex;gap:10px}
.sh-err .button{height:42px}
.sh-side{position:absolute;right:8px;bottom:calc(120px + var(--safe-bottom));display:flex;flex-direction:column;gap:18px;align-items:center}
.sh-side button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;color:#fff;text-shadow:0 1px 3px #000}
.sh-side svg{width:30px;height:30px;filter:drop-shadow(0 1px 3px #000)}
.sh-side button.on svg{stroke:var(--red)}
.sh-info{position:absolute;left:14px;right:70px;bottom:calc(34px + var(--safe-bottom));text-shadow:0 1px 3px #000}
.sh-info strong{display:block;font-size:16px;line-height:1.3;max-height:2.6em;overflow:hidden}
.sh-info span{display:block;font-size:13px;color:#e4e6ea;margin-top:4px}
.sh-info .sh-watch{margin-top:10px;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:17px;background:#ffffff26;backdrop-filter:blur(8px);font-size:13px;font-weight:700;text-shadow:none}
.sh-bar{position:absolute;left:0;right:0;bottom:calc(10px + var(--safe-bottom));height:22px;display:flex;align-items:center;padding:0 14px;touch-action:none}
/* A few seconds into playing, everything over the video fades (like ReelShort); a tap brings it back. */
.sh-bar,.sh-info,.sh-side,#sh-close{transition:opacity .4s}
.sh-slide.idle .sh-bar,.sh-slide.idle .sh-info,.sh-slide.idle .sh-side,#sh-player.idle #sh-close{opacity:0;pointer-events:none}
.sh-bar i{flex:1;height:3px;border-radius:2px;background:#ffffff40;overflow:hidden}
.sh-bar i b{display:block;height:100%;width:0;background:#fff}
.sh-sound{position:absolute;top:calc(64px + var(--safe-top));left:50%;transform:translateX(-50%);display:none;padding:7px 14px;border-radius:16px;background:#000a;font-size:13px}
.sh-slide.muted .sh-sound{display:block}
.sh-end{position:absolute;left:24px;right:24px;top:42%;text-align:center;font-size:16px;display:none}
.sh-slide.end .sh-end{display:block}
#sh-close{position:absolute;top:calc(8px + var(--safe-top));left:6px;z-index:2;color:#fff;filter:drop-shadow(0 1px 3px #000)}
#sh-foryou .sh-info{bottom:14px}
#sh-foryou .sh-side{bottom:90px}
#sh-foryou .sh-bar{bottom:0}
#sh-episodes{position:absolute;inset:0;z-index:3;background:#000a;display:flex;align-items:flex-end}
.sh-ep-panel{width:100%;max-height:72%;overflow-y:auto;background:#141419;border-radius:16px 16px 0 0;padding-bottom:var(--safe-bottom)}
.sh-ep-head{display:flex;align-items:center;justify-content:space-between;padding:10px 6px 6px 16px}
.sh-ep-head h2{margin:0;font-size:16px}
/* Phones: upright only, except while a movie, show or trailer plays (iOS web apps cannot lock rotation). */
#rotate{display:none;position:fixed;inset:0;z-index:100;background:var(--bg);flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px}
#rotate svg{width:54px;height:54px;fill:none;stroke:#fff;stroke-width:1.6;transform:rotate(90deg)}
#rotate p{margin:0;font-size:20px;font-weight:700}#rotate small{color:var(--muted);font-size:14px}
@media (orientation:landscape) and (max-height:520px){html.phone-lock:not(.rotate-ok) #rotate{display:flex}}
.art-instant img,.art-instant .art-placeholder{transition:none}
.sh-platforms .sh-app{display:inline-flex;align-items:center;gap:8px;padding-left:6px;white-space:nowrap}
.sh-platforms .sh-app b{font-weight:600}
.sh-logo{width:28px;height:28px;border-radius:7px;object-fit:cover;flex:none;box-shadow:0 0 0 1px #ffffff1f}
/* The Shorts player reaches into the strip iOS 26/27 leaves at the bottom (--gap), but iOS only partly
   draws there: what sits on the video is measured from the visible bottom instead. */
#sh-player .sh-bar{bottom:calc(10px + max(var(--safe-bottom), var(--gap)))}
#sh-player .sh-info{bottom:calc(34px + max(var(--safe-bottom), var(--gap)))}
#sh-player .sh-side{bottom:calc(120px + max(var(--safe-bottom), var(--gap)))}
#sh-player .sh-ep-panel{padding-bottom:max(var(--safe-bottom), var(--gap))}
.kids-mark.on{color:#ffd166}.kids-mark.on svg{stroke:#ffd166}
.kids-switch{height:32px;padding:0 12px;border-radius:16px;border:1px solid #ffffff33;font-size:13px;font-weight:600;margin-right:8px}
.kids-switch.on{background:#ffd16622;border-color:#ffd166;color:#ffd166}
.kids-tag{color:#ffd166 !important}
.sh-kids{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.sh-ytcatch{position:absolute;inset:0;z-index:1;display:none}
.sh-slide.idle .sh-ytcatch{display:block}
.sh-like.on svg{fill:var(--red);stroke:var(--red)}
.sh-side .sh-like span{font-size:11px}
.button.sh-like{display:inline-flex;align-items:center;gap:6px}
.pd-badge{margin-left:6px;padding:1px 6px;border-radius:6px;background:#ffd16626;color:#ffd166 !important;font-size:10px !important;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.pd-note{margin:4px 16px 14px;padding:10px 12px;border-radius:10px;background:#ffd16614;color:#ffd166;font-size:13px;line-height:1.45}
.pd-more{display:flex;margin:16px auto 24px;padding:0 22px}
.art-placeholder.pd-art{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:6px;padding:12px 12px 36px;text-align:left}
.pd-art strong{font-size:15px;line-height:1.25;color:#fff;font-weight:800;text-shadow:0 1px 3px #0008;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pd-art small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#ffffffb3;font-weight:700}
/* Title logos: the title's own artwork over large pictures; the text title is kept for screen readers. */
.title-logo{display:block;max-width:78%;max-height:110px;width:auto;height:auto;object-fit:contain;object-position:left bottom;margin:0 0 10px;filter:drop-shadow(0 2px 6px #000a)}
.hero-copy .title-logo{margin:0 auto 10px;object-position:center bottom;max-height:96px}
.has-logo{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-title{margin:0 0 6px;font-size:22px;text-align:center}

/* Redraws fade softly (phone.js softly()): the whole page cross-fades; the bars are identical, so only what changed seems to fade. */
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:ease-out}
.hotel-screen{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:calc(24px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));background:radial-gradient(120% 80% at 50% 0%,#2a1216 0%,var(--bg) 60%)}
.hotel-screen[hidden]{display:none}
.hotel-card{width:100%;max-width:400px;text-align:center}
.hotel-card img{height:30px;margin:0 auto 28px;display:block}
.hotel-card h2{font-size:24px;line-height:1.2;margin:0 0 12px}
.hotel-card p{color:var(--muted);font-size:16px;line-height:1.45;margin:0 0 18px}
.hotel-tips{text-align:left;color:var(--muted);font-size:14px;line-height:1.45;margin:0 0 24px;padding:14px 16px 14px 32px;background:var(--surface);border-radius:14px}
.hotel-tips li+li{margin-top:8px}
/* A hotel's own brand (its guests only): the cinema's name in place of the DhowFlix wordmark. */
.brand-name{display:inline-block;font-weight:800;font-size:20px;line-height:24px;letter-spacing:.06em;text-transform:uppercase;color:#e50914;white-space:nowrap}
.hotel-card .brand-name{display:block;text-align:center;font-size:22px;line-height:30px;margin:0 auto 28px}
#cover .brand-name{font-size:28px;line-height:36px}
#splash .brand-name{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);font-size:30px}

/* The family code for adult-rated titles */
.code-form{max-width:340px;margin:0 auto;padding:0 20px;display:flex;flex-direction:column;gap:12px;text-align:center}
.code-title{margin:0;font-size:20px}
.code-text{margin:0;color:var(--muted);font-size:15px;line-height:1.4}
.code-input{font:inherit;font-size:24px;letter-spacing:.4em;text-align:center;padding:12px;border-radius:10px;border:1px solid #ffffff33;background:#ffffff12;color:var(--text)}
.code-note{min-height:1.2em;margin:0;color:#ff5c66;font-size:14px}
