/* Web art direction · 2026-10-23. Native Android styling is independent. */
:root {
  color-scheme: dark;
  --bg: #0c0c0e;
  --panel: #161618;
  --panel-hover: #202023;
  --line: #ffffff14;
  --text: #f4f1eb;
  --muted: #aaa6a4;
  --accent: #f0d39a;
  --warm: #f0d39a;
  --gutter: clamp(24px, 3.4vw, 48px);
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --brand-font: "Avenir Next", var(--font);
  --display: var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .35; cursor: not-allowed; }
[hidden] { display: none !important; }
.distribution-status {
  display:grid; align-content:center; justify-items:center; gap:18px; min-height:100dvh;
  padding:24px; text-align:center; background:#0b0a0c;
}
.distribution-status h1 { max-width:34rem; font-size:clamp(20px,3vw,28px); line-height:1.3; }
.distribution-status h1:focus { outline:none; }
.distribution-status button { min-height:44px; }
/* Region denial is a finished access result, never a loading or retry panel. */
.region-restricted :is(#age-gate,#app-shell) {display:none!important;}
.distribution-status.is-region-unavailable {position:fixed;inset:0;z-index:2147483647;gap:16px;overflow:auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.distribution-status.is-region-unavailable h1 {margin:0;font-weight:750;}
.distribution-status.is-region-unavailable p {max-inline-size:30rem;margin:0;color:#b9b5af;line-height:1.6;font-size:15px;}
.distribution-status.is-region-unavailable a {margin-block-start:8px;min-inline-size:160px;max-inline-size:100%;background:linear-gradient(105deg,#ffedb7,#f5c653);color:#35240c;border-color:#ffe6a2;text-decoration:none;}

.distribution-channel :is([data-product-action="account"],[data-product-action="checkin"],
  [data-product-action="upload"],[data-product-action="wallet"],[data-product-action="vip"],
  #open-settings,[data-settings-support="advanced"]) { display:none !important; }
.distribution-channel:not(.distribution-install-enabled) [data-product-action="install"] { display:none !important; }
.distribution-channel .native-profile-page .channel-profile-brand {
  margin:0 0 5px; color:var(--accent); font-weight:700; overflow-wrap:anywhere;
}
.distribution-channel .age-wordmark { text-align:center; }
.distribution-channel .age-wordmark img { object-fit:contain; }
.distribution-channel .age-wordmark strong { color:var(--accent); overflow-wrap:anywhere; }
.distribution-channel .age-card h1 { color:var(--accent); }
.distribution-channel .age-primary {
  background:var(--accent); border-color:var(--accent); color:#171219;
}
@media (max-width:760px) {
  .distribution-channel :is(.home-view .site-header,.site-header) { grid-template-columns:minmax(0,1fr); }
  .distribution-channel.distribution-install-enabled :is(.home-view .site-header,.site-header) {
    grid-template-columns:minmax(0,1fr) 44px;
  }
}
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.mirror { transform: rotate(180deg); }
/* Official Lucide icons stay external assets, with a single monochrome treatment. */
img[src*="assets/icon-"] { filter: invert(1); }
.site-header {
  height: 88px; display: flex; align-items: center; gap: 32px;
  padding: 0 max(var(--gutter), calc((100vw - 1344px) / 2));
  position: sticky; top: 0; z-index: 20; background: #0c0c0ef5;
  border-bottom: 1px solid var(--line); backdrop-filter: blur(20px);
}
.site-header nav { display: flex; align-items: center; align-self: stretch; gap: 26px; }
.nav-link { position: relative; display: flex; align-items: center; height: 100%; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .18s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; position: absolute; bottom: 21px; left: 0; right: 0; height: 2px; background: var(--accent); }
.search { display: flex; align-items: center; gap: 10px; margin-left: auto; width: min(260px, 22vw); padding: 0 12px 0 16px; min-height: 44px; border: 1px solid #ffffff1c; background: #ffffff04; border-radius: 999px; transition: border-color .18s, background .18s; }
.search:focus-within { border-color: var(--accent); background: #ffffff08; outline: 2px solid var(--accent); outline-offset: 3px; }
.search .search-icon { width: 17px; height: 17px; opacity: .6; flex: none; }
.search input { width: 100%; min-width: 0; border: 0; background: none; color: var(--text); font-size: 12px; outline: none; }
.search input::placeholder { color: #979294; }
.search button { display: grid; place-items: center; min-width: 30px; min-height: 38px; padding: 5px; background: none; border: 0; flex: none; }
.search button img { width: 17px; height: 17px; opacity: .65; }
.settings-button { display: grid; place-items: center; flex: none; width: 40px; height: 44px; padding: 10px; border: 0; background: none; border-radius: 50%; opacity: .65; }
.settings-button img { width: 21px; height: 21px; }
.settings-button:hover { opacity: 1; background: #ffffff08; }
main { max-width: 1440px; margin: auto; min-height: calc(100vh - 184px); min-height: calc(100dvh - 184px); }
.page { padding: 32px var(--gutter) 64px; }
.featured-shell { position: relative; margin-bottom: 50px; }
.featured-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; border-radius: 10px; }
.featured-carousel::-webkit-scrollbar { display: none; }
.featured-card { position: relative; isolation: isolate; flex: 0 0 100%; height: clamp(460px, 41vw, 580px); overflow: hidden; scroll-snap-align: start; border-radius: 10px; background: #18171a; color: #fff; }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: blur(18px); opacity: .25; transform: scale(1.05); z-index: -3; }
.hero-poster { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: cover; object-position: 50% 29%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #171518 8%, #171518f0 32%, #17151888 52%, #17151800 74%), linear-gradient(0deg, #111014b3, transparent 55%); }
.hero-copy { position: absolute; left: 5.2%; top: 50%; transform: translateY(-50%); width: 48%; max-width: 580px; padding: 16px 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .25em; font-weight: 600; color: #f1d2c4; margin-bottom: 24px; }
.hero-eyebrow::before { content: ""; width: 22px; height: 1px; background: #f1d2c4; }
.hero-title { font-family: var(--display); font-size: clamp(46px, 5.5vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { color: #e2d9d7; font-size: 12px; margin-top: 24px; line-height: 1.8; }
.hero-meta span { color: #d6bdb5; margin: 0 5px; }
.hero-synopsis { font-size: 14px; line-height: 1.85; color: #c3babb; max-width: 380px; margin-top: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-cta { margin-top: 27px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 25px; border-radius: 999px; background: #f4f1eb; color: #171518; font-size: 13px; font-weight: 600; transition: background .18s, transform .18s; }
.hero-cta img[src*="assets/icon-"] { width: 17px; height: 17px; filter: none; }
.hero-note { display: block; margin-top: 16px; font-size: 10px; line-height: 1.6; color: #b7a5a4; }
.featured-controls { display: flex; justify-content: flex-end; align-items: center; gap: 13px; margin-top: 17px; }
.featured-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid #ffffff25; background: transparent; border-radius: 50%; }
.featured-controls button img { width: 18px; height: 18px; opacity: .8; }
.featured-controls button:hover { background: #ffffff0d; border-color: #ffffff50; }
#featured-page { min-width: 47px; text-align: center; font-size: 10px; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: block; font-size: 9px; letter-spacing: .23em; color: var(--accent); font-weight: 600; }
.page-heading h1 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.18; letter-spacing: -.04em; margin: 11px 0; text-wrap: balance; }
.page-heading p { font-size: 13px; color: var(--muted); }
.count-label { font-size: 11px; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }
#discover-view .page-heading { margin-top: -3px; }
.categories { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.categories button { min-height: 42px; border: 1px solid #ffffff1c; background: transparent; color: #b7b1b3; border-radius: 999px; padding: 8px 20px; font-size: 12px; transition: background .18s, color .18s, border-color .18s; }
.categories button.active { color: #191719; border-color: var(--warm); background: var(--warm); font-weight: 600; }
.arrivals-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.arrivals-heading h2 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.arrivals-heading h2 span { font-size: 11px; color: #969093; margin-left: 13px; font-weight: 400; letter-spacing: .01em; }
.arrivals-heading > span { font-size: 11px; color: #969093; white-space: nowrap; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; }
.poster-grid[data-count="1"], .poster-grid[data-count="2"], .poster-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#catalog > .catalog-shelf-heading { grid-column:1 / -1; margin-block:8px 0; }
.poster-card { display: block; min-width: 0; color: inherit; text-align: left; border: 0; padding: 0; background: none; }
.poster-image { position: relative; aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: #1c191e; border: 1px solid #ffffff0d; transition: border-color .2s; }
.poster-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; }
.home-card-preview.is-playing { opacity: 1; }
.home-card-preview.is-playing ~ img { opacity: 0; }
.poster-image::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #09080bc7); pointer-events: none; }
.poster-fallback { font: italic 48px var(--display); color: #73666c; }
.poster-badge { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 10px; font-weight: 500; color: #fff; text-shadow: 0 1px 4px #000; }
.demo-badge { position: absolute; top: 13px; left: 13px; z-index: 1; padding: 3px 7px; border: 1px solid #ffffff45; border-radius: 4px; color: #fff; background: #100d15a6; font-size: 8px; font-weight: 600; letter-spacing: .12em; backdrop-filter: blur(8px); }
.poster-card h3 { font-size: 14px; line-height: 1.45; font-weight: 500; margin: 15px 0 5px; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-card p { font-size: 11px; line-height: 1.7; color: #a19a9e; }
#discover-view { --home-tabs-height:46px; }
.home-install-banner {
  --install-banner-icon-size:36px;
  position:sticky;inset-block-start:calc(var(--desktop-home-header, 0px) + var(--home-tabs-height) + 6px);z-index:29;
  display:grid;grid-template-columns:var(--install-banner-icon-size) minmax(0,1fr) auto;align-items:center;gap:8px;
  margin:6px 0 10px;padding:5px 10px;border:1px solid #f0d39a42;border-radius:12px;
  background:radial-gradient(ellipse at top left,#4b3223,transparent 72%),#201917;color:#fff5e6;
}
.home-install-banner > .install-promo-art { --install-art-size:var(--install-banner-icon-size); }
.home-install-copy { min-width:0;overflow-wrap:anywhere; }
.home-install-copy h2 { margin:0;font-size:14px;font-weight:700;line-height:1.25; }
.home-install-copy p { margin:2px 0 0;color:#cbc3b8;font-size:11px;line-height:1.3; }
.home-install-banner .install-reward-chip { padding:2px 6px; }
.home-install-banner button {
  min-height:44px;max-width:14ch;padding:6px 12px;border:0;border-radius:9px;
  color:#261d0f;background:#f0d39a;font-size:13px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;
}
.home-install-banner button:hover { background:#ffe6b2; }
@media (min-width:761px) {
  .home-install-banner button { max-width:24ch; }
}
@media (max-width:760px) {
  #discover-view { --home-tabs-height:44px; }
}
@media(max-width:420px) {
  .home-install-banner { --install-banner-icon-size:32px;gap:7px;padding:4px 8px; }
  .home-install-banner button { max-width:104px;padding-inline:9px;font-size:12px; }
}
.home-view .hero-meta > .hero-mobile-meta,
.home-view #catalog .poster-meta > .poster-mobile-meta { display: none; }
.watch-progress { height: 2px; margin-top: 12px; background: #33272b; overflow: hidden; }
.watch-progress span { display: block; height: 100%; background: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 19px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .18s, border-color .18s; }
.primary { background: #b82d48; color: #fff; }
.primary:hover:not(:disabled) { background: #c63653; }
.secondary { background: #ffffff07; border-color: #ffffff20; color: #e4dce0; }
.secondary:hover:not(:disabled) { background: #ffffff10; border-color: #ffffff35; }
.state-card { padding: 58px 28px; margin: 20px 0 32px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); grid-column: 1/-1; }
.state-icon { display: block; width: 29px; height: 29px; opacity: .65; margin: 0 auto 22px; }
.state-card h2 { font-size: 23px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.state-card p { max-width: 480px; margin: 0 auto 25px; font-size: 13px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.library-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin: 34px 0 28px; }
.library-tabs button { min-height: 48px; padding: 10px 0 18px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; }
.library-tabs button.active { color: var(--text); border-color: var(--accent); }
.library-tabs button span { margin-left: 8px; color: #aaa1a6; font-size: 10px; }
.library-list { display: flex; flex-direction: column; gap: 17px; max-width: 1080px; }
.library-row { display: flex; align-items: center; gap: 26px; width: 100%; padding: 12px; border: 1px solid transparent; border-radius: 10px; color: var(--text); background: none; text-align: left; transition: background .18s; }
.library-poster { flex: none; width: 110px; aspect-ratio: 2/3; overflow: hidden; border-radius: 6px; background: #292228; display: grid; place-items: center; }
.library-poster img { width: 100%; height: 100%; object-fit: cover; }
.library-poster > span { font: italic 40px var(--display); color: #99808c; }
.library-row > div:nth-child(2) { min-width: 0; }
.library-row h3 { margin-bottom: 9px; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
.library-episode { color: #d8bac1; font-size: 12px; }
.library-row p { max-width: 650px; margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.library-arrow { margin-left: auto; flex: none; }
.library-arrow img { width: 20px; height: 20px; opacity: .5; }
.profile-heading { display: flex; gap: 22px; align-items: center; margin: 25px 0 38px; }
.profile-avatar { display: grid; place-items: center; flex: none; width: 80px; height: 80px; border: 1px solid #ffffff20; border-radius: 50%; background: #ffffff05; }
.profile-avatar img { width: 30px; height: 30px; opacity: .8; }
.profile-heading h1 { font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.profile-heading p { margin-top: 5px; font-size: 13px; color: var(--muted); }
.profile-stats { display: flex; max-width: 440px; margin-bottom: 38px; }
.profile-stats > div { display: flex; flex-direction: column; flex: 1; }
.profile-stats strong { font-size: 34px; font-weight: 400; line-height: 1.2; color: var(--warm); }
.profile-stats span { margin-top: 8px; font-size: 12px; color: var(--muted); }
.profile-menu { max-width: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.profile-menu button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 66px; padding: 19px 24px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; font-size: 14px; }
.profile-menu button:last-child { border: 0; }
.profile-menu button:hover { background: #ffffff04; }
.profile-menu button img { width: 18px; height: 18px; opacity: .5; }
.profile-hint { margin-top: 23px; color: #999096; font-size: 11px; }
.detail-page { padding: 26px var(--gutter) 64px; }
.back-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 22px -6px; padding: 6px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.back-button img { width: 19px; height: 19px; opacity: .7; }
.detail-layout { display: grid; grid-template-columns: minmax(300px, 480px) minmax(0, 1fr); align-items: start; gap: 64px; max-width: 1200px; margin: auto; }
.player-column { min-width: 0; }
.player-wrap { position: relative; display: flex; justify-content: center; width: 100%; height: min(calc(100vh - 290px), 760px); height: min(calc(100dvh - 290px), 760px); min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #000; }
.player-wrap video { width: 100%; height: 100%; object-fit: contain; }
.player-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; background: #151214; }
.player-state-icon { width: 34px; height: 34px; opacity: .65; margin-bottom: 22px; }
.player-state h2 { font-size: 25px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.player-state p { max-width: 310px; margin: 15px 0 26px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.player-rail { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: flex-end; gap: 8px; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .18s; }
.player-wrap:hover .player-rail, .player-wrap:focus-within .player-rail { opacity: 1; pointer-events: auto; }
.player-rail button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 39px; min-height: 39px; padding: 10px; border: 1px solid #ffffff30; border-radius: 6px; background: #100c11b3; color: #fff; }
.player-rail button > img { height: 18px; width: 18px; object-fit: contain; }
.player-rail button[aria-pressed="true"] { border-color: #ee526fb3; background: #7d253ac4; }
.player-rail small { display: none; }
.player-info-overlay { display: none; }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.player-toolbar > span { font-size: 11px; color: var(--muted); text-align: center; }
.player-toolbar .button { font-size: 11px; padding: 9px 13px; }
.playback-controls { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 12px; min-height: 36px; }
.playback-controls > span { color: #a99ca4; font-size: 10px; }
.speed-button { min-height: 36px; padding: 5px 11px; border: 1px solid #ffffff25; border-radius: 5px; background: none; color: #dfd6da; font-size: 11px; }
.fullscreen-button { min-height: 36px; padding: 5px 12px; font-size: 10px; }
.playback-note { min-height: 19px; margin-top: 10px; color: #b09ca6; font-size: 11px; line-height: 1.8; }
.keyboard-help { margin-top: 15px; color: #9d8f98; font-size: 9px; line-height: 2.4; text-align: center; }
.keyboard-help span { margin: 0 3px; color: #76646d; }
.keyboard-help kbd { display: inline-block; min-width: 18px; padding: 0 4px; margin-right: 3px; border: 1px solid #ffffff20; border-radius: 3px; background: #ffffff05; color: #d8cdd3; font: 9px/1.7 var(--font); }
.story-column { min-width: 0; padding-top: 12px; }
.detail-category { color: var(--accent); font-size: 10px; letter-spacing: .16em; line-height: 1.7; margin-bottom: 17px; }
.story-column h1 { font: 400 clamp(36px, 4vw, 54px)/1.08 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.detail-meta { margin: 21px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.synopsis { max-height: 180px; overflow: auto; color: #bcb1b8; font-size: 14px; line-height: 1.9; white-space: pre-line; }
.favorite-button { margin-top: 26px; min-width: 145px; }
.favorite-button.selected { background: #ee526f14; border-color: #ee526f70; color: #f6bbca; }
.episode-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin: 32px 0 20px; scroll-margin-top: 110px; }
.episode-heading h2 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.episode-heading > span { font-size: 11px; color: var(--muted); text-align: right; }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 10px; max-height: 42vh; overflow: auto; padding: 4px; scrollbar-gutter: stable; }
.episode-button { position: relative; min-height: 48px; padding: 10px 5px; border: 1px solid #ffffff1c; border-radius: 6px; background: #ffffff05; color: #d7cbd2; font-size: 12px; transition: background .18s, border-color .18s; }
.episode-button.active { color: #fff; border-color: var(--accent); background: #a52c46; }
.episode-button.locked { color: #a08e98; }
.episode-button.active.locked { color: #fff; }
.episode-button .lock-icon { position: absolute; right: 5px; top: 5px; width: 10px; height: 10px; opacity: .6; }
.episode-hint { margin-top: 16px; font-size: 11px; line-height: 1.8; color: #a3919b; }
.player-wrap:fullscreen { width: 100vw; height: 100vh; height: 100dvh; max-height: none; max-width: none; aspect-ratio: auto; border-radius: 0; background: #000; }
.player-wrap:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
.player-wrap:fullscreen .player-info-overlay { display: none; }
.bottom-nav { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; max-width: 1344px; margin: 0 auto; border-top: 1px solid var(--line); padding: 29px 0 34px; color: #9e929a; font-size: 10px; letter-spacing: .015em; }
.site-footer > span:first-child { color: #c5b9c0; font-size: 14px; font-weight: 600; letter-spacing: -.025em; }
.footer-credit { margin-left: 18px; color: #9b8d96; }
dialog { width: min(480px, calc(100% - 32px)); padding: 30px; border: 1px solid #ffffff25; border-radius: 12px; background: #191719; color: var(--text); box-shadow: 0 24px 100px #0009; }
dialog::backdrop { background: #060507d9; backdrop-filter: blur(9px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.dialog-heading h2 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.dialog-heading button { display: grid; place-items: center; flex: none; width: 40px; min-height: 40px; padding: 10px; margin-right: -8px; border: 0; background: none; border-radius: 5px; }
.dialog-heading button img { width: 20px; height: 20px; opacity: .65; }
dialog form > p, #feedback-dialog > p { font-size: 13px; line-height: 1.85; color: var(--muted); }
dialog label { display: block; margin: 25px 0 9px; color: #d4c4cd; font-size: 12px; }
dialog input { width: 100%; min-height: 46px; border: 1px solid #ffffff28; border-radius: 6px; background: #0c0b0e; color: var(--text); padding: 11px 13px; font-size: 13px; }
dialog .field-hint { margin-top: 11px; font-size: 11px; }
dialog .form-error { min-height: 21px; margin-top: 13px; color: #ffabb7; font-size: 12px; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dialog-actions .button { font-size: 11px; }
#feedback-details { margin: 20px 0; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: #0d0b0e; color: #d5c3ce; font: 11px/1.85 monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 40px); padding: 13px 21px; border: 1px solid #ffffff28; border-radius: 8px; background: #282024; color: #f4e7ed; font-size: 12px; box-shadow: 0 12px 30px #0006; pointer-events: none; }
.loading-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-bottom: 23px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (hover: hover) {
  .featured-card:hover .hero-cta { background: #fff; transform: translateY(-1px); }
  .poster-card:hover .poster-image { border-color: #ffffff45; }
  .poster-card:hover .poster-image > img { transform: scale(1.035); }
  .poster-card:hover h3 { color: #f7c7d1; }
  .categories button:hover:not(.active) { border-color: #ffffff50; color: var(--text); }
  .library-row:hover { background: #ffffff04; }
}
/* Keep keyboard rings inside clipping containers, and expose controls on touch. */
.featured-card:focus-visible, .categories button:focus-visible, .episode-button:focus-visible { outline-offset: -3px; }
@media (hover: none) { .player-rail { opacity: 1; pointer-events: auto; } }
@media (min-width: 1001px) { .player-column { position: sticky; top: 112px; } }
@media (max-width: 1439px) { .site-footer { margin-inline: var(--gutter); } }
@media (max-width: 1100px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 20px; }
  .search { width: 210px; }
  .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-copy { width: 49%; }
  .hero-title { font-size: 60px; }
  .detail-layout { gap: 42px; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-header { height: 78px; gap: 17px; }
  .site-header nav { gap: 17px; }
  .nav-link { font-size: 12px; }
  .nav-link.active::after { bottom: 18px; }
  .search { width: 170px; padding-left: 12px; gap: 7px; }
  .search input { font-size: 11px; }
  .settings-button { width: 34px; padding: 7px; }
  .featured-card { height: 460px; }
  .hero-title { font-size: 49px; }
  .hero-copy { left: 5%; width: 50%; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 20px; }
  .hero-meta { margin-top: 19px; font-size: 11px; }
  .hero-synopsis { font-size: 12px; -webkit-line-clamp: 3; }
  .hero-cta { min-height: 44px; margin-top: 22px; padding: 10px 22px; font-size: 12px; }
  .hero-note { font-size: 9px; }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
  .detail-layout { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 30px; }
  .story-column h1 { font-size: 38px; }
  .synopsis { font-size: 13px; max-height: 160px; }
  .keyboard-help { display: none; }
  .player-toolbar .button { font-size: 10px; padding-inline: 10px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 142px; }
  .site-header { height: auto; min-height: 122px; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 11px 14px; padding: 12px 20px 14px; }
  .site-header > nav { display: none; }
  .search { grid-row: 2; grid-column: 1/-1; margin: 0; width: 100%; min-height: 42px; padding-inline: 14px 9px; }
  .search input { font-size: 12px; }
  .settings-button { grid-row: 1; grid-column: 2; width: 40px; height: 36px; padding: 10px; }
  .page { padding: 20px 20px 42px; }
  .featured-shell { margin-bottom: 36px; }
  .featured-carousel { gap: 14px; border-radius: 8px; }
  .featured-card { height: min(560px, 139vw); min-height: 440px; border-radius: 8px; }
  .hero-backdrop { display: none; }
  .hero-poster { top: 0; right: 0; width: 100%; height: 100%; object-position: 50% 24%; z-index: -3; }
  .hero-shade { background: linear-gradient(0deg, #141014 0%, #141014f5 13%, #141014ab 34%, #14101405 70%); }
  .hero-copy { top: auto; left: 25px; right: 25px; bottom: 26px; transform: none; max-width: none; width: auto; padding: 0; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .2em; margin-bottom: 15px; }
  .hero-eyebrow::before { width: 18px; }
  .hero-title { max-width: 390px; font-size: clamp(37px, 10vw, 54px); line-height: 1.01; letter-spacing: -.045em; }
  .hero-meta { font-size: 10px; margin-top: 16px; line-height: 1.8; }
  .hero-meta span { margin-inline: 3px; }
  .hero-synopsis { display: none; }
  .hero-cta { min-height: 44px; padding: 11px 22px; font-size: 12px; margin-top: 19px; }
  .hero-note { margin-top: 13px; font-size: 9px; line-height: 1.5; }
  .featured-controls { gap: 12px; margin-top: 15px; }
  .featured-controls button { width: 38px; height: 38px; }
  #featured-page { font-size: 9px; min-width: 44px; }
  .page-heading { align-items: flex-start; gap: 15px; margin-bottom: 24px; }
  .page-heading h1 { max-width: 420px; font-size: 31px; margin: 11px 0; }
  .page-heading p { font-size: 12px; }
  .eyebrow { font-size: 8px; letter-spacing: .2em; }
  #discover-view .page-heading { flex-wrap: wrap; row-gap: 10px; }
  .count-label { padding: 0; font-size: 10px; }
  .categories { flex-wrap: nowrap; gap: 9px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 30px; padding: 4px 20px; }
  .categories button { flex: none; min-height: 44px; padding: 9px 19px; font-size: 11px; }
  .arrivals-heading { margin-bottom: 18px; }
  .arrivals-heading h2 { font-size: 21px; }
  .arrivals-heading h2 span { display: none; }
  .arrivals-heading > span { font-size: 10px; }
  .poster-grid, .poster-grid[data-count="1"], .poster-grid[data-count="2"], .poster-grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 14px; }
  .poster-image { border-radius: 6px; }
  .poster-card h3 { font-size: 13px; margin: 12px 0 4px; }
  .poster-card p { font-size: 10px; }
  .poster-badge { font-size: 8px; bottom: 10px; left: 10px; right: 10px; gap: 3px 6px; }
  .demo-badge { top: 10px; left: 10px; font-size: 7px; padding: 2px 5px; }
  .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: flex; align-items: center; justify-content: space-around; min-height: 74px; padding: 9px 10px max(9px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff15; background: #101012f5; backdrop-filter: blur(18px); }
  .bottom-nav a { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 7px; color: #9e929a; font-size: 9px; line-height: 1.3; }
  .bottom-nav a > img { width: 21px; height: 21px; object-fit: contain; opacity: .5; }
  .bottom-nav a.active { color: var(--text); }
  .bottom-nav a.active > img { opacity: 1; }
  .bottom-nav a.active::after { content: ""; display: block; position: absolute; bottom: -4px; width: 16px; height: 2px; border-radius: 1px; background: var(--accent); }
  .library-tabs { gap: 25px; margin-top: 26px; }
  .library-tabs button { font-size: 13px; }
  .library-list { gap: 23px; }
  .library-row { gap: 16px; padding: 0; align-items: flex-start; }
  .library-poster { width: 92px; }
  .library-row > div:nth-child(2) { padding-top: 5px; }
  .library-row h3 { font-size: 20px; margin-bottom: 8px; }
  .library-row p { font-size: 11px; line-height: 1.7; -webkit-line-clamp: 3; margin-top: 7px; }
  .library-episode { font-size: 10px; }
  .library-arrow { display: none; }
  .profile-heading { gap: 17px; margin: 16px 0 32px; }
  .profile-avatar { width: 66px; height: 66px; }
  .profile-avatar img { width: 26px; height: 26px; }
  .profile-heading h1 { font-size: 27px; }
  .profile-heading p { font-size: 12px; }
  .profile-stats strong { font-size: 29px; }
  .profile-menu button { min-height: 62px; padding: 18px; font-size: 13px; }
  .profile-hint { font-size: 10px; }
  .detail-page { padding: 15px 0 36px; }
  .back-button { margin: 0 20px 15px 14px; font-size: 11px; }
  .detail-layout { display: flex; flex-direction: column; gap: 30px; max-width: none; }
  .player-column { width: 100%; }
  .player-wrap { width: 100%; height: min(72vh, 760px); height: min(72dvh, 760px); min-height: 320px; aspect-ratio: 9/16; border-radius: 0; border: 0; }
  .player-rail { top: 13px; right: 12px; left: auto; bottom: 190px; flex-direction: column; gap: 11px; opacity: 1; pointer-events: auto; }
  .player-rail button { width: 40px; min-height: 44px; padding: 7px; background: #110c128c; gap: 4px; }
  .player-rail button > img { width: 20px; height: 20px; }
  .player-rail small { display: block; font-size: 7px; line-height: 1.2; }
  .player-info-overlay { display: block; position: absolute; left: 20px; right: 72px; bottom: 58px; z-index: 1; color: #fff; text-shadow: 0 1px 5px #000b; pointer-events: none; }
  .player-info-overlay h2 { font-size: 19px; font-weight: 500; line-height: 1.2; margin-bottom: 9px; }
  .player-info-overlay > span { display: inline-block; background: #100b1499; padding: 3px 7px; border-radius: 3px; font-size: 9px; }
  .player-info-overlay p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0; font-size: 11px; line-height: 1.6; }
  .player-info-overlay > div { font-size: 10px; }
  .player-toolbar { margin: 15px 20px 0; gap: 8px; }
  .player-toolbar .button { font-size: 10px; padding: 9px 12px; }
  .player-toolbar > span { font-size: 10px; }
  .playback-controls { margin: 11px 20px 0; }
  .playback-note { margin: 9px 20px 0; font-size: 10px; }
  .story-column { padding: 0 20px; width: 100%; }
  .story-column h1 { font-size: 40px; }
  .detail-category { font-size: 9px; margin-bottom: 13px; }
  .detail-meta { margin: 17px 0; font-size: 11px; }
  .synopsis { font-size: 13px; max-height: 160px; }
  .favorite-button { margin-top: 23px; font-size: 12px; }
  .episode-heading { margin-top: 29px; scroll-margin-top: 145px; }
  .episode-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-height: 290px; }
  .episode-hint { font-size: 10px; }
  .site-footer { flex-wrap: wrap; gap: 8px; padding: 27px 0; margin: 8px 20px 0; font-size: 9px; }
  .footer-credit { margin-left: 10px; }
  .state-card { padding: 42px 22px; }
  .state-card h2 { font-size: 21px; }
  .state-card p { font-size: 12px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); font-size: 11px; }
  dialog { padding: 25px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .player-rail { top: 12px; left: 12px; right: 12px; bottom: auto; flex-direction: row; gap: 8px; }
  .player-rail button { width: 40px; min-height: 40px; padding: 9px; }
  .player-rail small { display: none; }
}
@media (max-width: 360px) {
  .hero-copy { left: 21px; right: 21px; bottom: 24px; }
  .hero-title { font-size: 36px; }
  .hero-eyebrow { font-size: 7px; }
  .hero-note { font-size: 8px; }
  .page-heading h1 { font-size: 28px; }
  .poster-grid { gap: 24px 11px; }
  .poster-card h3 { font-size: 12px; }
  .poster-badge { font-size: 7px; }
  .poster-card p { font-size: 9px; }
  .library-tabs { gap: 18px; }
  .library-tabs button { font-size: 12px; }
  .library-poster { width: 80px; }
  .library-row h3 { font-size: 17px; }
  .library-row p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Versioned adult-content self-declaration. Web layout remains independent of native. */
body.age-gated { background:#000; }
.age-gate {
  display:grid;grid-template-rows:auto 1fr;min-height:100svh;min-height:100dvh;
  padding:max(14px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right))
    max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  background:#050405;color:#faf6f2;
}
.age-topline { width:min(100%,1180px);margin-inline:auto;display:flex;justify-content:flex-end; }
.age-language { position:relative;display:block;color:#cac0c5; }
.age-language svg { position:absolute;inset-inline-start:11px;inset-block-start:13px;width:17px;height:17px;pointer-events:none; }
.age-language-label { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.age-language select {
  max-width:min(170px,55vw);min-height:44px;padding:7px 10px 7px 34px;border:1px solid #ffffff25;border-radius:12px;
  color:#f0e9ed;background:#151215;font:500 13px/1.2 var(--font);color-scheme:dark;
}
.age-gate[dir=rtl] .age-language select { padding:7px 34px 7px 10px; }
.age-body { width:min(100%,612px);margin:auto;padding-block:clamp(22px,5vh,52px); }
.age-wordmark { display:grid;justify-items:center;gap:10px;margin:0 0 clamp(22px,3.5vh,32px); }
.age-wordmark img { width:64px;height:64px; }
.age-wordmark strong { color:#faf3e6;font-family:var(--brand-font);font-size:clamp(25px,3.4vw,30px);font-weight:800;line-height:1;letter-spacing:-.045em; }
.age-card {
  display:grid;gap:16px;padding:clamp(16px,3.6vw,28px);
  background:linear-gradient(127deg,#241805,#14100d 72%);border:1px solid #a36e374f;border-radius:20px;
}
.age-card-main,.age-card-meta { display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px; }
.age-badge {
  display:inline-grid;place-items:center;min-width:40px;min-height:26px;padding:3px 5px;
  color:#ffe09c;border-radius:7px;background:#52360e;font-size:13px;font-weight:800;line-height:1;
}
.age-card h1,.age-exit h1 { margin:0 0 6px;font:750 clamp(19px,2.5vw,24px)/1.3 var(--font);letter-spacing:-.02em;color:#ffe09c; }
.age-card-main p,.age-exit p { margin:0;font-size:clamp(14px,2.25vw,16px);line-height:1.55;color:#d6cdc1;overflow-wrap:anywhere; }
.age-card-meta { padding-block-start:13px;border-block-start:1px solid #d19d5929; }
.age-ai-badge { background:#ffffff12;color:#d6cdc1; }
.age-card-meta p { margin:0;font-size:clamp(13px,2.1vw,15px);line-height:1.55;color:#d6cdc1;overflow-wrap:anywhere; }
.age-consent-note { margin:12px 0 0;color:#b6aeb3;text-align:center;font-size:12px;line-height:1.5; }
.age-actions { display:grid;gap:9px;margin-top:clamp(14px,2.5vh,22px); }
.age-actions button { min-height:50px;width:100%;padding:11px 14px;border-radius:14px;font:720 clamp(14px,2.6vw,17px)/1.35 var(--font);text-align:center; }
.age-primary { background:linear-gradient(107deg,#fff0ce,#ecc17a);color:#261805;border:1px solid #ffe3a8;transition:filter .15s,transform .15s; }
.age-primary:hover:not(:disabled) { filter:brightness(1.08);transform:translateY(-1px); }
.age-primary:active:not(:disabled) { transform:none; }
.age-primary:disabled,.age-secondary:disabled { cursor:not-allowed;opacity:.58; }
.age-secondary { background:#111012;color:#d4cbd0;border:1px solid #ffffff23;transition:border-color .15s,color .15s; }
.age-secondary:hover:not(:disabled) { border-color:#d5c8ab; color:#f1e7d3; }
.age-gate button:focus-visible,.age-gate a:focus-visible,.age-gate select:focus-visible { outline:2px solid #f4d58f; outline-offset:4px; }
.age-gate h1:focus { outline:none; }
.age-legal { display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:14px;color:#b0a7ac;font-size:12px; }
.age-legal a { text-decoration:underline; text-underline-offset:4px; padding:5px 0; }
.age-legal a:hover { color:#e4d6b7; }
.age-error { color:#efcc86; font-size:13px; line-height:1.7; margin:18px 0; }
.age-exit { border:1px solid #4a3b1c; border-radius:24px; padding:clamp(26px,4vw,42px); background:#100d07; text-align:center; }
.age-exit .age-badge { margin:0 auto 22px; }
.age-exit h1 { font-size:clamp(24px,2.4vw,30px); }
@media(max-width:360px) {
  .age-gate { padding-inline:14px; }
  .age-card-main,.age-card-meta { grid-template-columns:35px minmax(0,1fr);gap:9px; }
  .age-badge { min-width:35px; }
}
@media(prefers-reduced-motion:reduce) { .age-primary,.age-secondary {transition:none;}.age-primary:hover:not(:disabled){transform:none;} }

.age-legal-link { padding:5px 0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:4px; }
.age-legal-link:hover {color:#e4d6b7;}.age-support {display:block;width:max-content;max-width:100%;margin:8px auto;color:#a39a87;font-size:12px;text-decoration:underline;text-underline-offset:4px;}
.age-info-dialog {max-width:650px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:28px;color:#d6cfbe;background:#15110a;border:1px solid #69532a;border-radius:20px;}
.age-info-dialog::backdrop {background:#000c;}.age-info-dialog .dialog-heading {align-items:flex-start;gap:20px;}.age-info-dialog .dialog-heading h2 {font-family:var(--font);font-size:23px;line-height:1.35;color:#e8c985;}.age-info-dialog .dialog-heading button {flex:none;min-width:44px;min-height:44px;border:1px solid #6f654c;border-radius:8px;background:#ffffff05;}.age-info-dialog .dialog-heading img {width:18px;height:18px;margin:auto;}.age-info-dialog p {font-size:14px;line-height:1.85;margin-top:18px;}.age-info-dialog button:focus-visible {outline-color:#efcf8c;}
@media(max-width:600px){.age-info-dialog{padding:22px;max-height:calc(100dvh - 40px);}.age-info-dialog .dialog-heading h2{font-size:21px;}}

/* Product Web · 2026-11-03. Desktop navigation and touch layouts are independent of Android. */
:root { --bg:#000;--panel:#151412;--panel-hover:#211d16;--line:#ffffff19;--muted:#b4afa6;--gutter:clamp(20px,3.4vw,48px); }
html { scroll-padding-top:148px; }
.site-header { background:#050505f5;border-bottom:1px solid #ffffff12;gap:26px;z-index:40; }
.site-header nav { gap:24px; }.nav-link { min-height:48px;display:flex;align-items:center; }
.header-wallet,.header-avatar { flex:none;width:42px;height:44px;display:grid;place-items:center;border:0;background:none;padding:3px;border-radius:12px; }
.header-wallet img { width:38px;height:38px;object-fit:contain;border-radius:10px; }
.header-avatar img { width:34px;height:34px;border-radius:50%;object-fit:cover; }
.header-wallet:hover,.header-avatar:hover { background:#ffffff0d; }
.settings-button { width:36px;padding:8px; }
.search { margin-left:auto;min-height:44px;width:min(260px,23vw);background:#ffffff06; }
.discovery-nav { position:sticky;top:83px;z-index:30;display:flex;align-items:center;gap:26px;margin:0 calc(-1 * var(--gutter)) 16px;padding:4px var(--gutter);background:#030303ef;border-bottom:1px solid #ffffff0d;backdrop-filter:blur(18px);overflow-x:auto;scrollbar-width:none; }
.discovery-nav::-webkit-scrollbar { display:none; }
.discovery-nav[data-loading] button { visibility:hidden; }
.discovery-nav button { flex:none;display:flex;align-items:center;justify-content:center;gap:7px;position:relative;min-height:50px;padding:3px 0;border:0;background:none;color:#b8b4ac;font-weight:500;font-size:15px;white-space:nowrap; }
.discovery-nav button span { font-size:18px; }.discovery-nav button img { width:17px;height:17px;opacity:.8; }
.discovery-nav button.active { color:#fff;font-weight:700; }
.discovery-nav button.active::after { content:"";position:absolute;bottom:1px;left:calc(50% - 10px);width:20px;height:3px;border-radius:2px;background:var(--accent); }
#discover-view { padding-top:0; }
.featured-shell { margin-bottom:32px; }.featured-carousel,.featured-card { border-radius:16px; }
.featured-card { height:clamp(430px,39vw,545px);background:#171410; }
.hero-backdrop { opacity:.35; }.hero-poster { width:61%;object-position:50% 28%; }
.hero-shade { background:linear-gradient(90deg,#090909 3%,#090909e6 28%,#09090977 56%,#09090900 80%),linear-gradient(0deg,#000c,transparent 55%); }
.hero-copy { left:5%;width:48%;max-width:600px; }
.hero-title { font:750 clamp(36px,4.1vw,61px)/1.08 var(--font);letter-spacing:-.045em;-webkit-line-clamp:3; }
.hero-eyebrow { color:var(--accent);margin-bottom:18px; }.hero-eyebrow::before { background:var(--accent); }
.hero-meta { color:#e0dbd1;margin-top:20px; }.hero-synopsis { color:#c8c3b9;line-height:1.7; }
.hero-cta { background:#f8f5ee;color:#16130b;border-radius:999px;min-height:50px;font-size:14px;padding:12px 28px; }
.hero-note { color:#d0c2a9; }.featured-controls { margin-top:12px; }
.featured-controls button { width:44px;height:44px; }.featured-controls button img { width:18px;height:18px; }
.discover-heading { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0; }.discover-heading .eyebrow { display:none; }
.discover-heading h1 { font-size:25px;font-weight:700;margin:0 0 6px;letter-spacing:-.6px; }
.discover-heading p { color:var(--muted); }.categories { gap:8px;margin-bottom:28px; }
.categories button { min-height:42px;padding:8px 18px;font-size:12px;background:#ffffff04;border-color:#ffffff1c; }
.categories button.active { background:#f0d39a;color:#1b150c;border-color:#f0d39a; }
.arrivals-heading h2 { font-weight:650;font-size:21px; }.arrivals-heading { margin-bottom:18px; }
.poster-grid,.poster-grid[data-count="1"],.poster-grid[data-count="2"],.poster-grid[data-count="3"] { grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px; }
.poster-image { border-radius:10px;border-color:#ffffff14; }.poster-card h3 { font-weight:600;line-height:1.35;margin:11px 0 5px; }
.poster-card p { color:#b1aca4; }.poster-card:hover h3 { color:var(--accent); }
.button.primary { background:var(--accent);color:#211707;border-color:var(--accent); }.button.primary:hover:not(:disabled) { background:#f7dfa8; }.button { min-height:44px; }
.state-card { border:1px solid #ffffff17;background:#141311;border-radius:14px; }
.state-card h2 { font-weight:650; }.state-card p { color:#b5afa4; }
.site-footer { color:#a39c90; }.footer-credit { color:#b3a68c; }
.detail-page { padding-top:22px; }.detail-layout { max-width:1250px;grid-template-columns:minmax(360px,1fr) minmax(300px,370px);gap:38px; }
.player-column { min-width:0; }.player-wrap { height:min(calc(100vh - 210px),780px);height:min(calc(100dvh - 210px),780px);max-height:820px;background:#070707;border-radius:14px; }
.player-wrap video { max-width:100%; }.story-column { position:sticky;top:112px;padding-top:2px; }
.story-column h1 { font:700 clamp(27px,2.5vw,38px)/1.13 var(--font);letter-spacing:-1px; }
.detail-meta { color:#bab3a8; }.synopsis { color:#c1baaf; }.episode-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.episode-button { min-height:48px; }.episode-button.active { background:var(--accent);border-color:var(--accent);color:#231908; }
.player-state { background:#11100e; }.player-info-overlay h2 { font-family:var(--font); }
.keyboard-help { color:#b0a89c; }.player-toolbar .button { min-height:44px; }.player-rail button { min-height:44px; }
#profile-view { display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1080px;margin:auto;padding-top:38px; }
.profile-heading { grid-column:1/-1;margin:0 0 5px;gap:18px; }
.profile-avatar { width:74px;height:74px;border:1px solid #d4bc7b55;border-radius:50%;padding:0;background:#19160e;overflow:hidden;cursor:pointer; }
.profile-avatar img { width:100%;height:100%;object-fit:cover;opacity:1; }
.profile-identity { flex:1;min-width:0; }.profile-heading h1 { font-size:29px;font-weight:700;letter-spacing:-.6px; }
.profile-user-uid {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;padding:0;border:0;background:none;color:#b2adb0;font-size:11px;text-align:start;cursor:pointer}.profile-user-uid:focus-visible{outline:2px solid #f0d39a;outline-offset:3px}
.profile-heading p { font-size:12px;margin-top:4px; }.account-entry { display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid #b5aea28c;border-radius:9px;background:none;color:#e5dfd3; }
.account-entry img { width:16px;height:16px; }
.profile-vip { display:grid;grid-template-columns:1fr 62px;text-align:left;gap:10px;padding:22px;min-height:174px;border:1px solid #e9d3a3;border-radius:17px;background:linear-gradient(125deg,#fff0c7,#e8c47c);color:#38250d; }
.profile-vip strong { display:block;font-size:26px;line-height:1.2;letter-spacing:-.8px; }.profile-vip div>span { display:block;margin-top:7px;font-size:13px;color:#694d25; }
.profile-vip>img { width:62px;height:62px;object-fit:contain;border-radius:14px; }
.vip-explore { grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600; }.vip-explore img { width:16px;height:16px;filter:none!important; }
.profile-wallet { display:flex;align-items:center;gap:15px;padding:24px;min-height:174px;text-align:left;border:1px solid #8d743f;border-radius:17px;background:#18150f;color:#f1dab0; }
.profile-wallet>img { width:48px;height:48px;object-fit:contain; }.profile-wallet>span { flex:1;font-size:23px;font-weight:650; }.profile-wallet small { display:block;font-size:11px;color:#c1b395;margin-top:7px;font-weight:400; }.profile-wallet .chevron { width:18px;height:18px; }
.profile-stats { max-width:none;align-items:center;gap:20px;margin:4px 0; }.profile-stats strong { font-size:34px;color:#f0d39a;font-weight:600; }
.profile-stats span { font-size:12px; }.profile-menu { max-width:none;background:transparent;border:0;border-radius:0;grid-column:1/-1; }
.profile-menu button,.profile-menu>a { display:flex;align-items:center;gap:12px;min-height:62px;padding:16px 2px;width:100%;font-size:14px;text-align:left;border:0;border-bottom:1px solid #ffffff20;background:none;color:var(--text); }
.profile-menu button>img,.profile-menu>a>img:last-child { width:18px;height:18px;margin-left:auto; }.profile-menu .menu-icon { width:23px;height:23px;filter:invert(1); }
.profile-hint { grid-column:1/-1;margin:0;color:#b5aea1;font-size:12px; }
.product-dialog { width:min(680px,calc(100% - 32px));max-height:88dvh;overflow:auto;padding:28px;background:#10100f;border-color:#5e5137;border-radius:20px; }
.product-dialog h3 { font-size:17px;margin:24px 0 12px; }.product-dialog>p { line-height:1.7;font-size:14px; }
.product-dialog .dialog-heading h2 { font-weight:700;font-size:26px; }.product-dialog .dialog-heading button { min-width:44px;min-height:44px;margin:0;border:1px solid #ffffff25;border-radius:9px; }
.product-note { font-size:12px;line-height:1.7;color:#bdb4a6;margin:10px 0; }.web-payment-boundary { padding-top:16px;border-top:1px solid #ffffff19; }
.wallet-balance { padding:20px;border:1px solid #8c7347;border-radius:16px;background:linear-gradient(120deg,#2a2113,#17140e);color:#f0d39a; }
.wallet-balance>span { font-size:12px; }.wallet-balance strong { display:block;font-size:37px;margin:9px 0;line-height:1.1; }.wallet-balance strong small { font-size:14px;font-weight:400;color:#d7c8a9; }.wallet-balance p { color:#c6bca9;font-size:12px; }
.wallet-product-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0; }
.web-product-card { display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:170px;min-width:0;padding:16px;border:1px solid #54452b;border-radius:14px;background:#1b1812;color:#fff;text-align:left; }
.web-product-card>img { width:40px;height:40px;object-fit:contain;margin-bottom:6px; }.web-product-card strong { font-size:24px;line-height:1.25; }.web-product-card>span { font-size:12px;color:#d6cbbb; }.web-product-card small { margin-top:7px;color:#efd39d;font-size:11px; }
.web-product-card:hover { border-color:#e2c17f;background:#292114; }.single-vip-entry>img { border-radius:9px; }
.web-vip-surface { padding:18px;border-radius:16px;background:linear-gradient(125deg,#f9eac6,#dec08b);color:#483115;text-align:center; }
.web-vip-plans { display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:7px; }.web-vip-plans button { min-width:0;min-height:48px;border:1px solid #816641;border-radius:8px;background:#745a37;color:#f9e4bb;font-size:13px; }
.web-vip-plans button.active { background:#fff4d4;color:#493012;border-color:#fff1cd;font-weight:700; }
.vip-emblem { width:76px;height:76px;object-fit:contain;border-radius:18px;margin:24px auto 12px; }
.web-vip-surface h3 { margin:12px 0;font-size:22px; }.web-vip-surface p { font-size:13px;line-height:1.7; }.web-vip-surface .vip-scope { font-size:12px;margin-top:18px;color:#654e2e; }
.vip-dialog>.button { display:flex;justify-content:center;margin-top:20px; }.taxonomy-options { display:flex;flex-wrap:wrap;gap:10px; }
.taxonomy-options button { display:flex;align-items:center;gap:12px;min-height:44px;border:1px solid #ffffff2a;border-radius:9px;background:#211d16;color:#e9e3d5;padding:10px 14px; }
.taxonomy-options button[aria-pressed=true] { border-color:var(--accent);color:var(--accent); }.taxonomy-options small { color:#b9a888; }
.avatar-options { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:20px; }
.avatar-options button { min-width:0;aspect-ratio:1;border:2px solid transparent;padding:3px;border-radius:50%;background:#211e17; }
.avatar-options button[aria-pressed=true] { border-color:var(--accent); }.avatar-options img { width:100%;height:100%;border-radius:50%; }.avatar-credit { margin:18px 0 0;font-size:10px!important;color:#b6a78c; }
@media(min-width:1121px) { .featured-card { height:clamp(360px,32vw,460px); }.hero-title { font-size:clamp(36px,3.6vw,54px);-webkit-line-clamp:3; }.hero-synopsis { -webkit-line-clamp:2; } }
@media(min-width:761px) and (max-width:1120px) { .site-header { gap:16px; }.site-header nav {gap:16px;}.search{width:200px;}.settings-button{display:none;}.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.detail-layout{grid-template-columns:minmax(300px,1fr) 310px;gap:26px;} }
@media(max-width:980px) and (min-width:761px) { .site-header>nav {display:flex;gap:14px;}.nav-link{font-size:12px;}.search{width:auto;flex:1;min-width:120px;}.header-avatar{margin-left:0;}.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.detail-layout{grid-template-columns:minmax(250px,1fr) 285px;} }
@media(max-width:760px) {
 :root { --gutter:16px; }
 html { scroll-padding-top:126px; }
 .site-header { display:grid;grid-template-columns:minmax(0,1fr) repeat(2,44px);gap:10px;min-height:68px;height:68px;padding:10px 16px;flex-wrap:nowrap; }
 .site-header nav,.settings-button{display:none;}
 .search { grid-row:auto;grid-column:auto;order:initial;min-width:0;width:100%;min-height:42px;margin:0;padding:0 11px;border-color:#ffffff2b; }.search input{font-size:11px;}.search .search-icon{width:15px;height:15px;}.search button{display:none;}
 .header-wallet{width:44px;height:44px;}.header-wallet img{width:36px;height:36px;}.header-avatar{width:44px;height:44px;padding:0;}.header-avatar img{width:30px;height:30px;}
 .page{padding:18px var(--gutter) 44px;}.discovery-nav{top:68px;gap:19px;margin:0 calc(-1 * var(--gutter)) 0;padding:0 16px;min-height:54px;background:#030303eb;}.discovery-nav button{font-size:12px;min-height:50px;gap:5px;}.discovery-nav button span{font-size:16px;}.discovery-nav button img{width:15px;height:15px;}
 .featured-shell { margin:0 -16px 16px; }.featured-carousel,.featured-card{border-radius:0;}.featured-card{height:clamp(330px,48svh,420px);min-height:0;}
 .hero-poster {width:100%;height:100%;object-position:50% 30%;}.hero-backdrop{display:none;}.hero-shade{background:linear-gradient(0deg,#000 0%,#000e 9%,#0006 40%,#0000 72%);}
 .hero-copy{left:24px;right:24px;top:auto;bottom:36px;width:auto;max-width:none;transform:none;text-align:center;padding:0;}.hero-eyebrow{font-size:8px;letter-spacing:.18em;margin-bottom:12px;justify-content:center;}.hero-eyebrow::before{display:none;}
 .hero-title{font-size:34px;font-weight:750;line-height:1.1;letter-spacing:-1.1px;-webkit-line-clamp:3;}.hero-meta{font-size:11px;margin-top:14px;}.hero-synopsis{display:none;}.hero-cta{min-height:50px;min-width:168px;margin-top:20px;font-size:14px;}.hero-note{font-size:9px;margin-top:12px;color:#ccc2b0;}
 .featured-controls{padding:0 16px;margin-top:0;justify-content:center;gap:14px;}.featured-controls button{width:44px;height:44px;border:0;}.featured-controls #featured-page{font-size:10px;min-width:52px;}
 .discover-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;align-items:center;}.discover-heading h1{font-size:24px;line-height:1.2;margin:0 0 5px;}.discover-heading p{font-size:11px;}.categories{margin:0 -16px 12px;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px 16px 3px;}.categories button{flex:none;min-height:42px;padding:8px 16px;font-size:11px;}
 .arrivals-heading{margin-bottom:12px;}.arrivals-heading h2{font-size:20px;}.poster-grid,.poster-grid[data-count="1"],.poster-grid[data-count="2"],.poster-grid[data-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 12px;}.poster-image{border-radius:9px;}.poster-card h3{font-size:13px;margin:9px 0 5px;}.poster-card p{font-size:10px;}
 .bottom-nav{left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));min-height:66px;padding:6px 9px;border:1px solid #aaa28d6b;border-radius:32px;background:#080808f5;}.bottom-nav a{gap:5px;min-height:50px;font-size:10px;border-radius:24px;}.bottom-nav a.active{background:#ffffff13;}.bottom-nav a.active::after{display:none;}.bottom-nav a>img{width:22px;height:22px;}.site-footer{margin-bottom:95px;font-size:10px;}.toast{bottom:100px;}
 #profile-view{display:flex;flex-direction:column;gap:20px;padding-top:24px;}.profile-heading{margin:4px 0 5px;gap:13px;}.profile-avatar{width:60px;height:60px;}.profile-avatar img{width:100%;height:100%;}.profile-heading h1{font-size:25px;}.profile-heading p{font-size:11px;}.account-entry{font-size:12px;padding:9px 11px;min-height:44px;}.account-entry img{width:13px;height:13px;}
 .profile-vip{min-height:149px;padding:20px;grid-template-columns:1fr 52px;}.profile-vip strong{font-size:25px;}.profile-vip>img{width:52px;height:52px;}.profile-wallet{min-height:93px;padding:18px;}.profile-wallet>img{width:38px;height:38px;}.profile-wallet>span{font-size:20px;}.profile-wallet small{font-size:10px;margin-top:4px;}.profile-stats{margin:6px 0;}.profile-stats strong{font-size:30px;}.profile-menu button,.profile-menu>a{min-height:62px;font-size:14px;}.profile-hint{font-size:11px;}
 .detail-page{padding-top:12px;}.detail-layout{display:flex;gap:26px;}.player-column{position:static;width:100%;}.player-wrap{height:min(76vh,730px);height:min(76svh,730px);min-height:330px;border-radius:0;}.story-column{position:static;top:auto;padding:0 18px;}.story-column h1{font-size:29px;}.detail-meta{margin:15px 0;}.synopsis{font-size:13px;}.player-toolbar .button{font-size:11px;min-height:44px;}.player-rail button{width:44px;}.episode-heading{scroll-margin-top:135px;}.episode-grid{grid-template-columns:repeat(5,minmax(0,1fr));}.keyboard-help{display:none;}
 .product-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:21px;border-radius:18px;}.product-dialog .dialog-heading h2{font-size:24px;}.product-dialog .dialog-heading{gap:10px;}.product-dialog>p{font-size:13px;}.wallet-balance{padding:18px;}.wallet-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}.web-product-card{min-height:166px;padding:15px;}.web-product-card strong{font-size:25px;}.web-product-card small{font-size:11px;}.web-vip-surface{padding:14px;}.web-vip-plans button{font-size:12px;padding:8px 4px;}.avatar-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;}
}
@media(max-width:360px){.site-header{gap:7px;padding-inline:12px;}.header-wallet{width:44px;}.header-wallet img{width:32px;height:32px;}.header-avatar{width:44px;}.header-avatar img{width:30px;}.avatar-options{grid-template-columns:repeat(4,minmax(0,1fr));}.hero-title{font-size:30px;}.discovery-nav{gap:15px;}.web-product-card{padding:12px;}.profile-heading{gap:10px;}.account-entry{padding:8px;font-size:11px;}}

/* Player reference footer. Browser media controls and Web navigation stay native to Web. */
.player-wrap { flex-direction:column;background:#000; }
.player-wrap video { flex:1;min-height:0;height:0; }
.player-info-overlay { display:block;position:relative;inset:auto;flex:none;z-index:1;width:100%;padding:8px 16px 0;background:#000;color:#fff;text-shadow:none;pointer-events:none; }
.player-info-overlay h2 { margin:0 0 5px;font:700 17px/1.25 var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.player-info-overlay > span { display:block;margin:0 0 9px;padding:0;border:0;border-radius:0;background:none;font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.player-info-overlay > div { margin:0; }
.player-collection-button { display:flex;align-items:center;justify-content:center;gap:8px;position:relative;width:100%;min-width:108px;max-width:100%;min-height:44px;padding:8px 34px;border:0;border-radius:8px;background:#555;color:#fff;font:500 13px/1.3 var(--font);pointer-events:auto;cursor:pointer;font-variant-numeric:tabular-nums; }
.player-collection-button span { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.player-collection-button img { position:absolute;right:12px;width:16px;height:16px;filter:brightness(0) invert(1); }
.player-collection-button:focus-visible { outline:2px solid #fff;outline-offset:2px; }
#player-story-synopsis,#detail-synopsis,#video-quality,#speed-button { display:none; }
.player-wrap video { accent-color:#fff; }
.player-progress { display:block;appearance:none;-webkit-appearance:none;pointer-events:auto;width:100%;height:26px;margin:4px 0 0;padding:0;border:0;border-radius:0;background:transparent;accent-color:#fff;cursor:pointer; }
.player-progress::-webkit-slider-runnable-track { height:2px;background:linear-gradient(to right,#fff var(--played,0%),#ffffff38 var(--played,0%)); }
.player-progress::-moz-range-track { height:2px;background:#ffffff38; }
.player-progress::-moz-range-progress { height:2px;background:#fff; }
.player-progress::-webkit-slider-thumb { -webkit-appearance:none;width:8px;height:8px;margin-top:-3px;border:0;border-radius:50%;background:#fff; }
.player-progress::-moz-range-thumb { width:8px;height:8px;border:0;border-radius:50%;background:#fff; }
.player-progress:disabled { cursor:default; }
.player-wrap:fullscreen video { flex:none;height:100%; }
@media(max-width:760px) {
  /* Header 68 + detail top 12 + back row 44 + margin 15 + navigation 66 + gap 12. */
  .player-wrap { --player-obstructions:calc(217px + max(10px,env(safe-area-inset-bottom)));height:max(0px,calc(var(--player-viewport-height,100vh) - var(--player-obstructions)));max-height:max(0px,calc(var(--player-viewport-height,100vh) - var(--player-obstructions)));min-height:0;aspect-ratio:auto; }
  .detail-page .back-button { min-height:44px;margin-bottom:15px; }
  .player-info-overlay h2 { font-size:15px; }
  .player-info-overlay > span { font-size:12px;margin-bottom:8px; }
  .player-collection-button { font-size:12px; }
  .player-rail { top:12px;bottom:auto;right:10px;left:auto;gap:8px;flex-direction:column; }
  .player-rail button { width:38px;min-height:38px;padding:6px;background:#0007; }
  .player-rail small { font-size:7px; }
  .player-rail #share-button { display:none; }
  .player-wrap:fullscreen { height:100vh;height:100dvh;max-height:none; }
}
@supports(height:100svh) {
  @media(max-width:760px) { .player-wrap { height:max(0px,calc(100svh - var(--player-obstructions))); } }
}
@supports(height:100dvh) {
  @media(max-width:760px) { .player-wrap { max-height:max(0px,calc(100dvh - var(--player-obstructions))); } }
}
@media(max-width:760px) and (max-height:600px) {
  .player-rail { left:10px;right:10px;flex-direction:row; }
  .player-rail small { display:none; }
}

/* App homepage port · 2026-11-04.
   Geometry follows StudioHomeScreen, StudioHeroPlayButton and MainActivity;
   scoped to touch Web so desktop retains its own interaction model. */
.native-icon { display:block;flex:none;width:24px;height:24px; }
.header-checkin { display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:none; }
.header-checkin>.native-icon { width:34px;height:34px; }
.featured-dots { display:flex;align-items:center;justify-content:center;gap:0;height:29px; }
.featured-dots button { display:grid;place-items:center;flex:none;width:22px;height:29px;padding:0;border:0;background:none; }
.featured-dots button>span { display:block;width:7px;height:7px;border-radius:50%;background:#50505a; }
.featured-dots button[aria-pressed="true"]>span { background:#f5f5f8; }
.resume-bar { display:none; }
@keyframes native-gift-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-1.25px)} }
@keyframes native-rainbow-rim { to{transform:rotate(360deg)} }
@media(max-width:760px) {
  :root { --font:Roboto,"Helvetica Neue",Arial,sans-serif;--native-bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
  body { color:#f5f5f8;background:#000; }
  .home-view .site-header { position:absolute;top:0;left:0;right:0;display:grid;gap:0;height:56px;min-height:56px;padding:7px 10px 2px 10px;border:0;background:none;backdrop-filter:none; }
  .home-view .site-header>.settings-button,.home-view .site-header>nav { display:none; }
  .home-view .search { height:44px;min-height:44px;padding:0 10px 0 12px;margin:0;border:1px solid #ffffff26;border-radius:18px;background:linear-gradient(#3b3a4266,#22222957); }
  .home-view .search .search-icon { width:18px;height:18px;opacity:1;filter:invert(1); }
  .home-view .search input { font-size:13px;line-height:normal;color:#e9e8ee; }
  .home-view .search input::placeholder { color:#e9e8eecd; }
  .home-view .header-wallet { width:44px;height:44px;margin-left:0;padding:0; }
  .home-view .header-wallet img { width:35px;height:35px;border-radius:0; }
  .home-view .header-checkin { width:44px;height:44px; }
  .home-view .header-checkin>.native-icon { animation:native-gift-float 4.2s ease-in-out infinite; }
  .home-view #discover-view { padding:56px 18px 180px; }
  .home-view .discovery-nav { position:sticky;top:0;z-index:41;min-height:var(--home-tabs-height);height:var(--home-tabs-height);margin:0 -18px;padding:0 7px;gap:0;border:0;background:none;backdrop-filter:none; }
  .home-view.home-scrolled .discovery-nav { background:#000f; }
  .home-view .discovery-nav button { min-height:44px;height:44px;padding:0 9px;gap:4px;font-size:16px;font-weight:700;line-height:20px;color:#e6e5ea;text-shadow:0 1px 3px #0008; }
  .home-view .discovery-nav button.active { color:#f5f5f8; }
  .home-view .discovery-nav button span { font-size:17px; }
  .home-view .discovery-nav button>.native-icon { width:17px;height:17px; }
  .home-view .discovery-nav button.active::after { bottom:3px;left:calc(50% - 9.5px);width:19px;height:2px;border-radius:2px;background:#f5f5f8; }
  .home-view .featured-shell { margin:0 -18px 0; }
  .home-view.has-featured .featured-shell { margin-top:-100px; }
  .home-view .featured-carousel { gap:0;border-radius:0; }
  .home-view .featured-card { height:clamp(320px,calc(var(--player-viewport-height,100vh) - 380px),400px);min-height:0;border-radius:0;background:#000; }
  .home-view .hero-poster { inset:0;width:100%;height:100%;object-fit:cover;object-position:center; }
  .home-view .hero-backdrop { display:none; }
  .home-view .hero-shade { background:linear-gradient(to bottom,#000000ba 0%,#00000016 25%,#00000010 50%,#000000d9 75%,#000 100%); }
  .home-view .hero-copy { top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;transform:none;text-align:center;padding:0 22px 11px; }
  .home-view .hero-eyebrow { display:none; }
  .home-view .hero-title { margin:13px 0 0;font:700 28px/1.15 var(--font);letter-spacing:-.025em;text-transform:uppercase;-webkit-line-clamp:2;text-wrap:initial;overflow-wrap:normal; }
  .home-view .hero-meta { margin:10px 0 0;font-size:13px;line-height:1.35;color:#bcbbc2; }
  .home-view .hero-meta span { color:inherit;margin:0; }
  .home-view .hero-meta > .hero-desktop-meta { display:none; }
  .home-view .hero-meta > .hero-mobile-meta {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .home-view .hero-synopsis { display:none; }
  .home-view .hero-cta { position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:144px;min-height:52px;margin:16px 0 0;padding:12px 24px;border:1px solid #b7b6bd;border-radius:30px;background:linear-gradient(#fff,#f0eff5);color:#070707;font-size:18px;font-weight:700;line-height:26px;box-shadow:0 1px 3px #0004,inset 0 0 0 1px #fff; }
  .home-view .hero-cta::before { content:"";position:absolute;z-index:-2;width:165px;height:165px;inset:50% auto auto 50%;margin:-82.5px 0 0 -82.5px;background:conic-gradient(from 0deg,transparent 0deg 285deg,#ffffba 288deg,#8dffed 301deg,#5a92ff 314deg,#b159ff 327deg,#ff63c1 340deg,transparent 350deg);animation:native-rainbow-rim 3.6s linear infinite; }
  .home-view .hero-cta::after { content:"";position:absolute;z-index:-1;inset:1.5px;border-radius:28px;background:linear-gradient(#fff,#f0eff5); }
  .home-view .hero-cta img { width:18px;height:18px;filter:none; }
  .home-view .hero-play-icon { width:22px;height:22px;flex:none;color:#000; }
  .home-view .hero-note { margin-top:8px;font-size:8px;color:#b9b7be; }
  .home-view .featured-controls { display:flex;align-items:center;justify-content:center;height:29px;margin:0;padding:0;gap:0; }
  .home-view .featured-controls>#featured-prev,.home-view .featured-controls>#featured-next,.home-view .featured-controls>#featured-page { display:none; }
  .home-view .categories { display:none; }
  .home-view .arrivals-heading { min-height:54px;align-items:center;margin:0 0 0;padding:10px 0 10px; }
  .home-view .arrivals-heading h2 { font-size:22px;font-weight:700;line-height:28px;letter-spacing:-.02em; }
  .home-view #arrivals-count { display:none; }
  .home-view .poster-grid,.home-view .poster-grid[data-count] { grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px; }
  .home-view .poster-image { aspect-ratio:1/1.35;border:0;border-radius:10px;background:#17171a; }
  .home-view #catalog .poster-badge,
  .home-view #catalog .poster-image::after { display:none; }
  .home-view .poster-card h3 { margin:8px 0 3px;font-size:14px;font-weight:700;line-height:1.3; }
  .home-view .poster-card p { font-size:11px;color:#bcbbc2; }
  .home-view #catalog .poster-card h3 { margin:8px 0 0;font-size:13px; }
  .home-view #catalog .poster-meta { margin-top:5px;font-size:10px;line-height:1.4; }
  .home-view #catalog .poster-meta > :not(.poster-mobile-meta) { display:none; }
  .home-view #catalog .poster-meta > .poster-mobile-meta {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .bottom-nav { left:16px;right:16px;bottom:var(--native-bottom);height:72px;min-height:72px;padding:4px;border:1px solid #ffffff66;border-radius:36px;background:#000e;backdrop-filter:blur(18px);box-shadow:0 3px 12px #0005; }
  .bottom-nav a { min-width:0;min-height:62px;height:62px;flex:1;gap:3px;padding:0;border-radius:32px;color:#b9b7be;font-size:10px;line-height:13px; }
  .bottom-nav a>img,.bottom-nav a>.native-icon { width:24px;height:24px;opacity:1; }
  .bottom-nav a>img { filter:invert(1);opacity:.75; }
  .bottom-nav a.active { background:#ffffff30;border:1px solid #ffffff38;color:#f5f5f8;box-shadow:inset 0 0 0 .5px #ffffff26; }
  .bottom-nav a.active>img { opacity:1; }
  .bottom-nav .nav-upload { gap:3px; }
  .upload-symbol { display:grid;place-items:center;width:32px;height:32px;background:#f3d794;border-radius:10px;color:#241b0c; }
  .upload-symbol>.native-icon { width:28px;height:28px; }
  .resume-bar { position:fixed;z-index:26;left:16px;right:16px;bottom:calc(var(--native-bottom) + 78px);display:flex;align-items:center;gap:0;height:60px;min-height:60px;padding:6px 3px 6px 7px;border:0;border-radius:14px;background:#201f23f0;color:#f5f5f8; }
  #resume-cover { flex:none;width:34px;height:44px;object-fit:cover;border-radius:9px;background:#29272c; }
  .resume-copy { flex:1;min-width:0;margin:0 8px 0 12px;line-height:normal; }
  .resume-copy strong { display:block;font-size:12px;line-height:16px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden; }
  .resume-copy>span { display:block;margin-top:3px;font-size:10px;line-height:13px;color:#c2babe; }
  .resume-play { display:grid;place-items:center;flex:none;width:64px;height:44px;border:0;border-radius:11px;background:#fff;color:#000;font-size:11px;font-weight:500;line-height:normal; }
  #resume-close { display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;padding:12px;background:none; }
  #resume-close>img { width:20px;height:20px;filter:invert(1); }
  .home-view .site-footer { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .home-view .header-checkin>.native-icon,.home-view .hero-cta::before { animation:none; }
}

/* Same Android Roboto outlines; Latin subset, all other scripts use system fallback. */
@font-face{font-family:NativeRoboto;src:url("assets/native-roboto-normal-d593d5c3.woff") format("woff");font-style:normal;font-weight:100 900;font-display:swap;}
@media(max-width:760px){
 :root{--font:NativeRoboto,Roboto,"Helvetica Neue",Arial,sans-serif;}
 html{scrollbar-width:none;}html::-webkit-scrollbar{display:none;}
 .home-view .header-wallet{background:none!important;}
 .home-view .hero-cta::before{animation-duration:2.8s;}
}

/* Port of the active Android profile and MainActivity library geometry.
   Root sets body.profile-page / body.library-page and the list mode dataset. */
#profile-view.native-profile-page { display:flex;flex-direction:column;gap:0;max-width:600px;margin:auto;padding:26px 18px 104px;background:#000;color:#f5f5f8; }
.native-profile-page .profile-heading { display:flex;align-items:center;gap:0;min-height:80px;margin:10px 0 0; }
.native-profile-page .profile-avatar { display:grid;place-items:center;flex:none;width:60px;height:60px;padding:0;overflow:hidden;border:1px solid #575247;border-radius:44px;background:linear-gradient(#2b2a27,#171716); }
.native-profile-page .profile-avatar img { display:block;width:54px;height:54px;object-fit:cover;border-radius:0; }
.native-profile-page .profile-identity { min-width:0;flex:1;margin-left:12px; }
.native-profile-page .profile-identity h1 { margin:0;font-size:20px;font-weight:700;line-height:1.2;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.native-profile-page .profile-identity p { margin:5px 0 0;font-size:11px;line-height:1.25;color:#b2adb0; }
.native-profile-page .account-entry { display:flex;align-items:center;gap:6px;flex:none;min-height:40px;margin:0 0 0 8px;padding:0 15px;border:1px solid #878783;border-radius:7px;background:transparent;color:#e0e0de;font-size:15px;font-weight:400;line-height:normal; }
.native-profile-page .account-entry .profile-chevron { width:14px;height:14px;margin:0;opacity:.8; }
.native-profile-page .profile-vip { display:block;min-height:136px;width:100%;margin-top:12px;padding:12px 14px;border:0;border-radius:10px;background:linear-gradient(135deg,#ffedb7,#ffd27c);color:#301d08;text-align:left; }
.profile-vip-top { display:flex;align-items:center;gap:10px; }
.profile-vip-words { flex:1;min-width:0; }
.native-profile-page .profile-vip strong { display:block;font-size:19px;line-height:1.2;letter-spacing:0;font-weight:700; }
.profile-vip-action { display:grid;place-items:center;flex:none;min-height:40px;max-width:120px;padding:8px 15px;border:1px solid transparent;background:#000;border-radius:10px;color:#ffe4ad;font-size:13px;line-height:1.2;font-weight:700; }
.profile-vip-benefits { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 0;margin-top:12px; }
.profile-benefit { display:flex;align-items:center;min-height:24px;color:#4f3213; }
.profile-benefit-icon { display:block;flex:none;width:18px;height:18px;color:#54310e;object-fit:contain; }
.profile-benefit>span { flex:1;min-width:0;margin-left:7px;margin-right:5px;font-size:12px;line-height:1.2;font-weight:500; }
.native-profile-page .profile-wallet { display:block;position:relative;isolation:isolate;width:100%;min-height:0;margin-top:12px;padding:9px 14px;border:1px solid #a48b61;border-radius:19px;background:radial-gradient(110px 110px at calc(100% - 55px) -18px,#d8af6324,#d8af6300),linear-gradient(#231d15,#15120e,#0c0c0c);text-align:left;color:#ffe5b5; }
.native-profile-page .profile-wallet>span { font-size:inherit;font-weight:inherit; }
.profile-wallet-header { display:flex;align-items:center; }
.native-profile-page .profile-wallet-header>img { width:20px;height:20px;object-fit:contain; }
.profile-wallet-header>strong { flex:1;margin-left:9px;font-size:12px;line-height:1.2;font-weight:700;color:#f3deb7; }
.profile-wallet-tag { padding:4px 8px;border:1px solid #9474485a;border-radius:5px;background:#7b5c2823;color:#d4bc8a;font-size:9px;font-weight:400;letter-spacing:.12em;line-height:1.1; }
.profile-wallet-divider { display:block;height:1px;margin-top:8px;background:linear-gradient(90deg,#b59a6765,#b59a6728,#b59a6700); }
.profile-wallet-values { display:flex;align-items:center;gap:0;margin-top:7px; }
.profile-wallet-value { flex:1;min-width:0; }
.profile-wallet-value>strong { display:block;font-size:22px;line-height:1.15;color:#ffe5b5; }
.profile-wallet-value>span { display:block;margin-top:1px;color:#c7b69a;font-size:12px;font-weight:500;line-height:1.2; }
.profile-recharge { display:grid;place-items:center;flex:none;min-height:40px;max-width:120px;padding:8px 15px;border:1px solid #ffe7b5;border-radius:10px;background:linear-gradient(#ffe9ba,#e3be79,#d7a85b);color:#2d1c0d;font-size:13px;font-weight:700;line-height:normal; }
.native-profile-page .profile-wallet>.profile-wallet-status { display:block;margin-top:8px;font-size:11px;line-height:1.25;color:#b2adb0; }
.native-profile-page .profile-menu { display:block;width:100%;max-width:none;margin:14px 0 0;padding:0;border:0;border-radius:0;background:#000; }
.native-profile-page .profile-menu button,.native-profile-page .profile-menu>a { display:flex;position:relative;align-items:center;gap:0;width:100%;min-height:56px;margin:0;padding:12px 6px;border:0;border-radius:0;background:none;color:#f5f5f8;text-align:left; }
.native-profile-page .profile-menu>:not(:last-child)::after { content:"";position:absolute;left:50px;right:14px;bottom:0;height:1px;background:#242426; }
.native-profile-page .profile-menu-icon { display:block;flex:none;width:23px;height:23px;margin:0;color:#bebebb; }
.native-profile-page .profile-menu>button>span,.native-profile-page .profile-menu>a>span { min-width:0;flex:1;margin:0 10px 0 14px;font-size:15px;font-weight:400;line-height:1.3; }
.native-profile-page .profile-menu .profile-chevron { display:block;flex:none;width:16px;height:16px;margin:0;opacity:.48; }
.native-profile-page .profile-stats[hidden] { display:none!important; }
#library-view.native-library-page { max-width:880px;margin:auto;padding:0 0 104px;background:#000;color:#f5f5f8; }
.library-chrome { display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 15px; }
.native-library-page .library-tabs { display:flex;align-items:center;gap:20px;height:44px;margin:0;border:0; }
.native-library-page .library-tabs button { position:relative;height:44px;min-height:44px;margin:0;padding:0 2px 0 0;border:0;background:none;color:#ffffff80;font-size:16px;font-weight:700;line-height:22px; }
.native-library-page .library-tabs button.active { color:#f5f5f8;font-size:18px; }
.native-library-page .library-tabs button.active::after { content:"";position:absolute;bottom:2px;left:calc(50% - 10px);width:20px;height:3px;border-radius:2px;background:#fff; }
.library-edit { display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:10px;border:0;background:none;color:#fff;font-size:15px; }
.library-edit-icon { width:24px;height:24px; }
.native-library-page .library-list { display:flex;flex-direction:column;gap:0;width:100%;max-width:none;margin:0; }
.native-library-page .library-row { display:flex;align-items:center;gap:0;min-width:0;min-height:128px;margin:0;padding:10px 15px;border:0;border-radius:0;background:none;color:#f5f5f8; }
.native-library-page .library-poster { display:block;flex:none;width:88px;height:108px;aspect-ratio:auto;border-radius:6px;overflow:hidden; }
.native-library-page .library-poster img { width:100%;height:100%;object-fit:cover; }
.native-library-page .library-copy { min-width:0;flex:1;align-self:center;height:108px;margin-left:10px; }
.native-library-page .library-row h3 { display:block;margin:2px 0 0;font-size:16px;font-weight:700;line-height:20px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.native-library-page .library-row p { display:-webkit-box;margin:6px 0 0;color:#b2adb0;font-size:13px;line-height:17px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.native-library-page .library-episode { display:block;margin-top:6px;color:#b2adb0;font-size:13px;line-height:17px; }
.native-library-page .library-arrow { display:none; }
.native-library-page #library-catalog[data-library-mode="favorites"] { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px;padding:0 15px; }
.native-library-page [data-library-mode="favorites"] .library-row { display:block;position:relative;min-height:0;padding:15px 0 0; }
.native-library-page [data-library-mode="favorites"] .library-poster { width:100%;height:auto;aspect-ratio:1/1.46; }
.native-library-page [data-library-mode="favorites"] .library-copy { height:auto;margin:0; }
.native-library-page [data-library-mode="favorites"] .library-row h3 { display:-webkit-box;white-space:normal;margin-top:5px;font-size:13px;line-height:17px;-webkit-line-clamp:2;-webkit-box-orient:vertical; }
.native-library-page [data-library-mode="favorites"] .library-row p { display:none; }
.native-library-page [data-library-mode="favorites"] .library-episode { margin-top:4px;font-size:12px;line-height:16px; }
.native-library-page .library-select { display:grid;place-items:center;flex:none;width:22px;height:22px;margin-right:10px;padding:0;border:1px solid #777;border-radius:50%;background:none;color:#000; }
.native-library-page .library-select[aria-checked="true"] { border-color:#fff;background:#fff;color:#000; }
.native-library-page [data-library-mode="favorites"] .library-select { position:absolute;top:20px;right:5px;z-index:2;margin:0; }
.library-bulk-bar { position:fixed;bottom:calc(96px + env(safe-area-inset-bottom,0px));left:16px;right:16px;z-index:28;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px 0 18px;border-radius:18px;background:#252332;color:#f5f5f8; }
.library-bulk-bar>span { flex:1;font-size:14px; }
.library-bulk-bar>button { min-height:36px;min-width:92px;padding:0 16px;border:0;border-radius:10px;background:#f5f5f8;color:#111;font-size:15px;font-weight:700; }
.native-library-page #library-message { margin:0;border:0;border-radius:0;background:none; }
.native-library-page #library-message h2 { font-size:18px; }
.native-library-page #library-message p { font-size:13px; }
.native-library-page .library-empty-image { display:block;width:150px;height:150px;margin:100px auto 0;object-fit:contain; }
@media(max-width:760px) {
 .profile-page .site-header,.library-page .site-header { display:none; }
 .profile-page main,.library-page main { min-height:calc(var(--player-viewport-height,100vh) - 96px); }
 .profile-page .site-footer,.library-page .site-footer { display:none; }
 #profile-view.native-profile-page { max-width:none; }
 .native-library-page .library-chrome { position:sticky;top:0;z-index:25;background:#000; }
}
@media(min-width:761px) {
 #profile-view.native-profile-page { margin-top:18px; }
 #library-view.native-library-page { padding-top:22px; }
 .library-bulk-bar { left:50%;right:auto;width:min(848px,calc(100% - 32px));transform:translateX(-50%); }
}


/* Native geometry: StudioCommerceScreen, StudioAccountScreens; Web capability stays explicit. */
dialog.commerce-dialog { --commerce-gold:#f0d39a;--commerce-soft:#bdb7ae;box-sizing:border-box;width:min(560px,calc(100% - 32px));max-width:560px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);padding:0;border:1px solid #514333;border-radius:16px;background:#000;color:#f5f5f8;font-family:var(--font);overflow:hidden; }
dialog.commerce-dialog[open] { display:flex;flex-direction:column; }
.commerce-dialog::backdrop { background:#000b;backdrop-filter:blur(6px); }
.commerce-dialog .commerce-heading { flex:none;display:flex;align-items:center;gap:0;min-height:58px;padding:5px 16px 5px 8px;background:inherit; }
.commerce-dialog .commerce-heading h2 { flex:1;min-width:0;overflow-wrap:anywhere;margin:0;font-size:18px;font-weight:700;line-height:1.25;letter-spacing:0; }
.commerce-dialog .commerce-heading button { flex:none;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:0;background:none; }
.commerce-dialog .commerce-heading .commerce-support { display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:44px;height:44px;padding:0 10px;border:1px solid #f0d39a38;border-radius:10px;background:#f0d39a0c;color:#f0d39a;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap; }
.commerce-support-icon { flex:none;width:18px;height:18px;background:currentColor;mask:url("assets/icon-support.svg") center / contain no-repeat;-webkit-mask:url("assets/icon-support.svg") center / contain no-repeat; }
.commerce-dialog .commerce-heading .commerce-support:focus-visible { outline:2px solid #f0d39a;outline-offset:2px; }
.commerce-dialog .commerce-back img { width:21px;height:21px;transform:rotate(180deg); }
.commerce-dialog .commerce-close img { width:18px;height:18px; }
.commerce-dialog .commerce-scroll { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 20px 22px;scrollbar-width:none; }
.commerce-dialog .commerce-scroll::-webkit-scrollbar { display:none; }
.commerce-dialog .commerce-eyebrow { display:block;font-size:10px;line-height:1.4;letter-spacing:.13em;color:var(--commerce-gold); }
.commerce-dialog .commerce-section-title { margin:20px 0 0;font-size:20px;line-height:1.35;font-weight:700; }
.commerce-dialog .commerce-note { margin:12px 0 0;color:var(--commerce-soft);font-size:11px;line-height:1.6; }
.commerce-dialog .commerce-centered { text-align:center; }
.commerce-dialog .commerce-state { margin:7px 0 0;color:var(--commerce-soft);font-size:12px;line-height:1.5; }
.commerce-dialog .native-wallet-balance { padding:17px 18px;border:1px solid #b4935e;border-radius:20px;background:linear-gradient(135deg,#2c2419,#1b1710,#10100e); }
.commerce-dialog .native-wallet-balance>div { display:flex;align-items:center;gap:12px;margin-top:10px;min-height:39px; }
.commerce-dialog .native-wallet-balance img { flex:none;width:27px;height:27px;object-fit:contain; }
.commerce-dialog .native-wallet-balance strong { font-size:32px;line-height:1.2;font-weight:700; }
.commerce-dialog .native-wallet-balance div>span { margin-left:2px;color:var(--commerce-soft);font-size:12px; }
.commerce-dialog .native-wallet-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0; }
.commerce-dialog .native-coin-card { display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:137px;padding:11px 14px;border:1px solid #38332a;border-radius:16px;background:linear-gradient(135deg,#1b1915,#131210);color:#f5f5f8;text-align:left; }
.commerce-dialog .native-coin-card[aria-pressed="true"] { border:1.5px solid var(--commerce-gold);background:linear-gradient(135deg,#33291b,#201a12,#17140f);padding:10.5px 13.5px; }
.commerce-dialog .coin-card-top { display:flex;align-items:center;justify-content:space-between;min-height:40px; }
.commerce-dialog .coin-card-top>img { width:40px;height:40px;object-fit:contain; }
.commerce-dialog .coin-selection { display:grid;place-items:center;width:19px;height:19px;border:1px solid #726879;border-radius:50%;color:#30230c;font-size:13px;line-height:1; }
.commerce-dialog [aria-pressed="true"] .coin-selection { background:var(--commerce-gold);border-color:var(--commerce-gold); }
.commerce-dialog .native-coin-card>strong { margin-top:7px;font-size:22px;line-height:1.25;font-weight:700; }
.commerce-dialog .coin-unit { margin-top:2px;font-size:9px;line-height:1.4;letter-spacing:.13em;color:var(--commerce-soft); }
.commerce-dialog .coin-reference-price { margin-top:5px;font-size:13px;line-height:1.3;font-weight:500;color:var(--commerce-gold); }
.commerce-dialog .coin-card-tier { padding:4px 7px;border:1px solid #6f5a36;border-radius:5px;background:#30281c;color:var(--commerce-gold);font-size:9px;line-height:1.3; }
.commerce-dialog .native-wallet-footer { flex:none;padding:10px 20px 14px;border-top:1px solid #55433566;background:linear-gradient(#15130f,#080808);text-align:center; }
.commerce-dialog .commerce-gold-button { display:block;width:100%;min-height:50px;margin:10px 0 0;padding:12px 14px;border:1px solid #ffe8b2;border-radius:14px;background:linear-gradient(90deg,#ffedc5,#e0bc78,#f7dfab);color:#211604;font-size:15px;line-height:1.35;font-weight:700; }
.commerce-dialog .commerce-gold-button:disabled { opacity:1;background:linear-gradient(90deg,#c0b28f,#b5a378,#c0b28f);color:#393122;border-color:#b9a578;cursor:not-allowed; }
.commerce-dialog .commerce-restore { display:block;min-height:48px;width:100%;margin:10px 0 0;padding:10px;border:0;background:none;color:var(--commerce-soft);font-size:13px;text-align:center; }
.commerce-retry {
  display:block;width:100%;min-height:44px;margin:8px 0 0;padding:8px 12px;
  border:1px solid #514333;border-radius:12px;background:#131210;color:#f0d39a;font-size:13px;text-align:center;
}
.commerce-retry:disabled { opacity:.55; }
.commerce-dialog.native-vip { background:#191919; }
.commerce-dialog.native-vip .commerce-heading { min-height:48px;padding:3px 8px 3px 12px; }
.commerce-dialog.native-vip .commerce-heading h2 { font-size:16px; }
.commerce-dialog.native-vip .commerce-close { width:44px;height:44px; }
.commerce-dialog.native-vip .commerce-scroll { padding:8px 12px 22px; }
.commerce-dialog .native-vip-plans { display:flex;flex-direction:column;gap:9px;margin:0; }
.commerce-dialog .native-plan-card { display:block;width:100%;overflow:hidden;padding:0;border:1px solid #b49568;border-radius:8px;background:#f9ecd3;text-align:start;color:#503315; }
.commerce-dialog .native-plan-card[aria-pressed="true"] { border-color:#f3d794;box-shadow:0 0 0 1px #f3d794; }
.commerce-dialog .native-plan-main {
  display:block;min-height:70px;padding:10px 13px 12px;border-bottom:1px solid #cfae7f;
  background:url("assets/native-vip-plan-rays.svg") center / 100% 100% no-repeat,linear-gradient(105deg,#ebc58a,#fff1d7 50%,#f0d3a0);
}
.commerce-dialog .native-plan-main:last-child { border-bottom:0; }
.commerce-dialog .native-plan-heading { display:flex;align-items:center;justify-content:space-between;gap:8px; }
.commerce-dialog .native-plan-heading>strong { font-size:15px;line-height:1.3;font-weight:700; }
.commerce-dialog .native-plan-card .coin-selection { width:17px;height:17px;background:transparent;border-color:#8c7652; }
.commerce-dialog .native-plan-card[aria-pressed="true"] .coin-selection { background:var(--commerce-gold);border-color:#806132; }
.commerce-dialog .native-plan-price { display:block;margin-top:4px;font-size:13px;line-height:1.4;font-weight:700; }
.commerce-dialog .native-plan-price.is-priced { font-size:22px;line-height:1.25;letter-spacing:-.02em;font-variant-numeric:tabular-nums; }
.commerce-dialog .native-plan-benefits {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;
  padding:9px 12px;background:#f9ecd3;color:#573b20;font-size:12px;font-weight:650;line-height:1.35;
}
.commerce-dialog .native-plan-benefit { display:flex;min-width:0;align-items:center;gap:7px;overflow-wrap:anywhere; }
.commerce-dialog .native-plan-benefit-wide { grid-column:1 / -1; }
.commerce-dialog .native-plan-benefits .vip-plan-glyph {
  flex:none;width:15px;height:15px;background:currentColor;
  mask:url("assets/icon-crown.svg") center / contain no-repeat;
  -webkit-mask:url("assets/icon-crown.svg") center / contain no-repeat;
}
.commerce-dialog.native-vip .commerce-heading h2 { font-size:16px; }
.commerce-dialog .native-vip-purchase { padding:16px 12px 12px; }
.commerce-dialog .commerce-vip-button { width:100%;min-height:50px;padding:12px;border:1px solid #927046bf;border-radius:9px;background:linear-gradient(110deg,#49301a,#21160d,#352211);color:#ffe9b7;font-size:18px;line-height:1.3;font-weight:700; }
.commerce-dialog .commerce-vip-button:disabled { opacity:1;color:#cbb68f;cursor:not-allowed; }
.commerce-dialog.native-vip .commerce-section-title { margin-top:22px;font-size:17px; }
.commerce-dialog .native-vip-balance { display:flex;align-items:center;gap:12px;width:100%;min-height:72px;margin:10px 0 0;padding:12px 14px;border:0;border-radius:8px;background:#111;color:#f5f5f8;text-align:left; }
.commerce-dialog .native-vip-balance>img { width:24px;height:24px;object-fit:contain; }
.commerce-dialog .native-vip-balance strong { flex:1;min-width:0;font-size:20px;font-weight:700;color:var(--commerce-gold); }
.commerce-dialog .native-vip-balance span { font-size:13px; }
.commerce-dialog .native-vip-balance img.commerce-chevron { width:16px;height:16px; }
.commerce-dialog.native-checkin .commerce-heading { padding:12px 18px 0;min-height:60px; }
.commerce-dialog.native-checkin .commerce-heading h2 { margin-left:8px;font-size:22px; }
.commerce-dialog.native-checkin .commerce-scroll { padding:20px 18px 28px; }
.commerce-dialog .checkin-headline { margin:10px 0 0;font-size:26px;line-height:1.3;font-weight:700; }
.commerce-dialog .native-checkin-card { padding:18px 16px;margin-top:22px;border:1px solid #443c2d;border-radius:18px;background:#181713; }
.commerce-dialog .checkin-balance-label { color:#b2adb0;font-size:12px;line-height:1.5; }
.commerce-dialog .checkin-balance { display:block;margin-top:7px;font-size:27px;line-height:1.25;font-weight:700;color:var(--commerce-gold); }
.commerce-dialog .native-reward-week { display:flex;align-items:stretch;gap:4px;margin-top:18px;overflow-x:auto;scrollbar-width:none; }
.commerce-dialog .native-reward-day { flex:1;min-width:36px;padding:12px 3px 10px;border:1px solid #3a352a;border-radius:12px;background:#23211c;text-align:center; }
.commerce-dialog .native-reward-day img { width:27px;height:27px;object-fit:contain;margin:auto; }
.commerce-dialog .native-reward-day strong { display:block;margin-top:7px;color:var(--commerce-gold);font-size:14px;font-weight:500;line-height:1.3; }
.commerce-dialog .native-reward-day span { display:block;margin-top:5px;color:#b2adb0;font-size:10px;line-height:1.3;white-space:nowrap; }
.commerce-dialog #checkin-action { margin-top:18px;min-height:50px;background:#2a2927;color:#999792;border-color:transparent; }
.commerce-dialog .checkin-reminder { display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin-top:10px;padding:10px 12px;border:1px solid #8d7143;border-radius:13px;background:#302719;color:#f6dfaf;font-size:13px;line-height:1.35; }
.commerce-dialog .checkin-reminder:disabled { opacity:.75; }
.commerce-dialog .checkin-reminder svg { width:22px;height:22px;flex:none; }
.commerce-dialog .checkin-next { margin-top:12px;color:var(--commerce-gold);font-size:13px;line-height:1.5; }
@media(max-width:760px) {
 dialog.commerce-dialog { position:fixed;inset:0;width:100%;max-width:none;height:var(--player-viewport-height,100vh);height:100dvh;max-height:none;margin:0;border:0;border-radius:0; }
 .commerce-dialog .commerce-heading { padding-top:max(5px,env(safe-area-inset-top)); }
 .commerce-dialog .native-wallet-footer { padding-bottom:calc(14px + env(safe-area-inset-bottom,0px)); }
 .commerce-dialog .commerce-scroll { padding-bottom:calc(22px + env(safe-area-inset-bottom,0px)); }
 .commerce-dialog.native-checkin .commerce-scroll { padding-bottom:calc(28px + env(safe-area-inset-bottom,0px)); }
}
@media(max-width:360px) {
 .commerce-dialog .native-wallet-balance div>span { display:none; }
 .commerce-dialog .native-wallet-balance strong { font-size:23px; }
 .commerce-dialog .native-coin-card { padding:11px; }
 .commerce-dialog .native-coin-card[aria-pressed="true"] { padding:10.5px; }
 .commerce-dialog .native-reward-day { flex:0 0 48px; }
}


/* Native PlayerScreen port: 48dp action rail / 24dp icons, black footer,
   15dp side inset, 15sp title, 13sp creator, 44dp collection and seek targets.
   CSS is presentation only; server episode.locked remains the access boundary. */
.player-rail>.selected .favorite-star path { fill:currentColor; }
.player-rail #rail-favorite.selected { color:#f3cf79; }
.player-rail #rail-favorite.selected .native-icon { color:#f3cf79; }
.player-rail #like-button.selected { color:#ff4d69; }
.player-rail #like-button.selected>img { filter:brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(2201%) hue-rotate(321deg) brightness(105%) contrast(101%); }
.player-toggle { display:none; }
.episode-sheet-backdrop,.episode-sheet-grabber,#close-episodes,#episode-sheet-cover { display:none; }
.episode-sheet-top { min-width:0; }.episode-sheet-title { min-width:0; }
.player-state { display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;background:#000b; }
.player-state-card { position:relative;width:min(360px,100%);padding:24px;border:1px solid #ffffff16;border-radius:16px;background:#19191ded;text-align:center; }
.player-state-card .player-state-icon { margin-inline:auto; }.player-state-card h2 { font-size:20px;line-height:1.3;font-weight:700;letter-spacing:0; }.player-state-card>p { font-size:13px;line-height:1.6;max-width:none;margin:12px 0 20px;color:#bcbcc5; }
.player-unlock-close,#player-unlock-open,.unlock-browse { display:none; }
.player-state.is-locked { position:fixed;z-index:75;inset:0;justify-content:flex-end;align-items:center;padding:0;background:#0008; }
.player-state.is-locked .player-state-card { width:100%;max-width:560px;max-height:88vh;overflow-y:auto;border:0;border-radius:16px 16px 0 0;padding:24px 18px max(20px,env(safe-area-inset-bottom));background:#191919;text-align:left; }
.player-state.is-locked .player-state-card>.player-state-icon { display:none; }
.player-state.is-locked .player-state-card>h2 { padding-right:44px;font-size:20px; }
.player-state.is-locked .player-state-card>p { margin:12px 0 14px;font-size:13px; }
.player-state.is-locked .player-unlock-close { display:grid;place-items:center;position:absolute;right:8px;top:12px;width:44px;height:44px;border:0;border-radius:50%;padding:12px;background:none; }
.player-unlock-close>img { width:20px;height:20px;filter:invert(1); }
.unlock-episode-label { margin:0 0 14px;font-size:12px;color:#bcbcc5; }
.unlock-price-boundary { display:flex;gap:12px;align-items:center;padding:14px;border-radius:10px;background:#252525; }
.unlock-price-boundary>img { width:32px;height:32px;object-fit:contain; }.unlock-price-boundary strong { display:block;color:#f1d394;font-size:14px; }.unlock-price-boundary span { display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#c8c5bd; }
.unlock-coin-rail {
  display:flex;gap:8px;max-width:100%;margin-top:12px;
  overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;
}
.unlock-coin-card {
  display:flex;flex:0 0 156px;flex-direction:column;align-items:center;min-height:102px;
  padding:0;border:1px solid #414141;border-radius:7px;overflow:hidden;
  background:#282828;color:#f5f5f8;text-align:center;
}
.unlock-coin-card>img { width:27px;height:27px;margin-top:12px;object-fit:contain; }
.unlock-coin-card>strong { margin:5px 8px 10px;font-size:19px;font-weight:700;line-height:1.2; }
.unlock-coin-price {
  display:grid;place-items:center;align-self:stretch;min-height:29px;
  margin-top:auto;padding:4px 8px;background:#333;color:inherit;font-size:13px;font-weight:700;line-height:1.3;
}
.unlock-coin-card[aria-pressed="true"] {
  border-color:#f0d39a;background:linear-gradient(135deg,#ffedc5,#e0bc78);color:#382612;
}
.unlock-coin-card[aria-pressed="true"] .unlock-coin-price { background:#5c371324; }
.unlock-coin-card:focus-visible { outline-offset:-3px; }
@media(max-width:760px) { .unlock-coin-rail { scrollbar-width:none; } }
.unlock-wallet-row,.unlock-vip-row { display:flex;align-items:center;width:100%;gap:12px;min-height:76px;text-align:left;margin-top:12px;padding:14px;border:1px solid #5b503d;border-radius:10px;background:#25221c;color:#fff; }
.unlock-wallet-row>span,.unlock-vip-row>span { flex:1;min-width:0; }.unlock-wallet-row strong,.unlock-vip-row strong { display:block;font-size:16px; }.unlock-wallet-row small,.unlock-vip-row small { display:block;margin-top:4px;font-size:12px;line-height:1.4; }
.unlock-wallet-row>img { width:36px;height:36px;object-fit:contain; }.unlock-vip-row>img { width:40px;height:40px;object-fit:contain; }.unlock-wallet-row>.unlock-chevron,.unlock-vip-row>.unlock-chevron { width:16px;height:16px; }
.unlock-vip-row { background:linear-gradient(125deg,#f4d597,#fff0cf);border-color:#eed295;color:#503315; }.unlock-vip-row>.unlock-chevron { filter:none!important; }
.unlock-web-note { margin:14px 0;font-size:12px;line-height:1.6;color:#aaa6a4; }
.player-state.is-locked #player-state-action { width:100%;min-height:48px;margin-top:12px;border-radius:10px;background:#f5f5f8;color:#141416;border-color:#f5f5f8; }
.player-state.is-locked .unlock-browse { display:block;width:100%;min-height:44px;margin-top:6px;padding:10px;border:0;background:none;color:#d2d0d7;font-size:13px;text-align:center; }
.player-state.is-locked.unlock-collapsed { position:absolute;z-index:10;inset:0;justify-content:center;padding:20px; }
.player-state.is-locked.unlock-collapsed .player-state-card { width:min(360px,100%);border-radius:16px;padding:24px; }
.player-state.is-locked.unlock-collapsed #player-unlock-options,.player-state.is-locked.unlock-collapsed .player-unlock-close { display:none; }
.player-state.is-locked.unlock-collapsed #player-unlock-open { display:flex;justify-content:center;width:100%;min-height:44px;margin-top:8px; }
@media(min-width:761px){
 .player-info-overlay{padding:10px 15px 0;}.player-info-overlay h2{font-size:15px;line-height:18px;margin:0 0 4px;}.player-info-overlay>span{font-size:13px;line-height:22px;margin:0;}.player-collection-button{min-height:44px;background:#555;}.player-progress{height:44px;margin:0;}
 .player-rail button>.native-icon{width:20px;height:20px;}.player-state.is-locked .player-state-card{margin:0 auto 20px;border-radius:16px;}
}
@media(max-width:760px){
 body.watching { overflow:hidden;background:#000; }
 body.watching .site-header,body.watching .site-footer { display:none; }
 body.watching main { min-height:0;max-width:none; }
 body.watching:not(.for-you-mode) .bottom-nav { display:none; }
 body.watching #detail-view { position:relative;isolation:isolate;height:var(--player-viewport-height,100vh);min-height:0;margin:0;padding:0;overflow:hidden; }
 body.watching.for-you-mode #detail-view { height:calc(var(--player-viewport-height,100vh) - 84px - env(safe-area-inset-bottom,0px)); }
 .feed-swipe-preview { position:absolute;inset:0;display:grid;align-items:end;overflow:hidden;background:#101014;pointer-events:none; }
 .feed-swipe-preview img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
 .feed-swipe-preview span {
   position:relative;padding:36px 18px 22px;background:linear-gradient(transparent,#000c);
   color:#fff;font-size:15px;font-weight:700;overflow-wrap:anywhere;
 }
 #detail-view.feed-swipe-active #detail-content { transform:translate3d(0,var(--feed-drag-y,0px),0);will-change:transform; }
 #detail-view.feed-swipe-active .feed-swipe-preview { transform:translate3d(0,var(--feed-preview-y,0px),0);will-change:transform; }
 #detail-view.feed-swipe-settling :is(#detail-content,.feed-swipe-preview) { transition:transform 160ms cubic-bezier(.21,.72,.28,1); }
 #detail-view.feed-swipe-opening #detail-message { position:absolute;z-index:2;inset: auto 16px 74px;margin:0;min-height:0;padding:14px;background:#111d; }
 body.watching .detail-layout { display:block;height:100%;margin:0;padding:0; }
 body.watching .player-column { position:relative;width:100%;height:100%; }
 body.watching .player-wrap { display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;overflow:hidden;border:0;border-radius:0;background:#000; }
 body.watching .player-wrap video { display:block;flex:1 1 0;width:100%;height:0;min-height:0;max-height:none;object-fit:contain;background:#000; }
 body.watching .player-wrap:fullscreen { height:100%;max-height:none; }
 body.watching .back-button { position:absolute;z-index:14;top:max(6px,env(safe-area-inset-top));left:10px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;margin:0;padding:4px;border:0;border-radius:50%;background:none; }
 body.watching .back-button>img { width:24px;height:24px;opacity:1; }.watching .back-button>span { display:none; }
 body.watching.for-you-mode .back-button { display:none; }
 body.watching .player-info-overlay { position:relative;flex:none;display:block;z-index:3;inset:auto;width:100%;padding:0 15px 4px;background:#000;color:#fff;text-shadow:none; }
 body.watching .player-info-overlay h2 { margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:700 15px/18px var(--font);letter-spacing:0; }
 body.watching .player-info-overlay>span { display:block;height:22px;margin:0;padding:0;border:0;border-radius:0;background:none;font:400 13px/22px var(--font); }
 body.watching .player-collection-button { margin:0;padding:4px 32px;border:0;border-radius:8px;background:linear-gradient(to bottom,#000 0 4px,#555 4px calc(100% - 4px),#000 calc(100% - 4px));font:600 13px/18px var(--font);color:#f7f7fa; }
 body.watching .player-collection-button>img { right:9px;width:14px;height:18px;opacity:.75; }
 body.watching .player-progress { display:block;width:100%;height:44px;margin:0;padding:0;border:0;background:none; }
 body.watching .player-progress::-webkit-slider-runnable-track { height:2px;background:linear-gradient(to right,#fff var(--played,0%),#ffffff30 var(--played,0%)); }
 body.watching .player-progress::-moz-range-track { height:2px;background:#ffffff30; }
 body.watching .player-progress::-webkit-slider-thumb { width:8px;height:8px;margin-top:-3px;border:0;background:#fff; }
 body.watching .player-progress::-moz-range-thumb { width:8px;height:8px;border:0;background:#fff; }
 body.watching .player-rail { position:absolute;z-index:9;left:auto;right:10px;top:auto;bottom:calc(var(--native-player-footer,132px) + 22px);display:flex;flex-direction:column;gap:0;width:48px;opacity:1;pointer-events:auto; }
 body.watching .player-rail button { display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:0;width:48px;min-height:63px;padding:10px 0 6px;border:0;border-radius:0;background:none;box-shadow:none;color:#f5f5f8;text-shadow:0 1px 3px #0005; }
 body.watching .player-rail button>img,body.watching .player-rail button>.native-icon { flex:none;width:24px;height:24px;margin:0 0 11px;object-fit:contain; }
 body.watching .player-rail button>small { display:block;font-size:10px;line-height:12px;max-width:48px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
 body.watching .player-rail button:last-of-type { padding-bottom:0; }
 body.watching .player-rail button[aria-pressed="true"] { border:0;background:none; }
 body.watching .player-rail #rail-favorite.selected { color:#f3cf79; }
 body.watching .player-rail #like-button.selected { color:#ff4d69; }
 body.watching #share-button { display:none; }
 body.watching .player-toggle { position:absolute;z-index:8;top:calc((100% - var(--native-player-footer,132px))/2);left:50%;display:grid;place-items:center;width:56px;height:56px;padding:12px;transform:translate(-50%,-50%);border:0;border-radius:50%;background:#00000038;color:#f5f5f8;opacity:0;pointer-events:none;transition:opacity .16s; }
 body.watching .player-toggle>svg { width:32px;height:32px; }.player-toggle .player-toggle-pause { display:none; }
 body.watching .player-toggle.is-paused,body.watching .player-toggle:focus-visible { opacity:1;pointer-events:auto; }
 body.watching .player-toggle:not(.is-paused) .player-toggle-play { display:none; }.player-toggle:not(.is-paused) .player-toggle-pause { display:block; }
 body.watching .player-toolbar,body.watching .playback-controls,body.watching .keyboard-help { display:none; }
 body.watching .playback-note { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 body.watching #detail-message { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:32px 24px;border:0;border-radius:0;background:#000; }
 body.watching #detail-message h2 { font-size:20px;line-height:1.3; }.watching #detail-message p { font-size:13px;line-height:1.6; }
 body.watching .story-column { display:none; }
 body.watching.episode-sheet-open .story-column { position:fixed;z-index:65;left:0;right:0;top:auto;bottom:0;display:block;max-height:80vh;max-height:80dvh;margin:0;padding:0 15px max(20px,env(safe-area-inset-bottom));overflow-y:auto;border-radius:16px 16px 0 0;background:#19191e;box-shadow:0 -4px 30px #0005; }
 body.watching.episode-sheet-open .episode-sheet-backdrop { position:fixed;z-index:64;inset:0;display:block;width:100%;height:100%;border:0;background:#0008; }
 .episode-sheet-grabber { width:36px;height:4px;margin:8px auto 12px;border-radius:2px;background:#54545b; }
 body.watching.episode-sheet-open .episode-sheet-grabber { display:block; }
 .episode-sheet-top { display:flex;align-items:flex-start;gap:10px;min-height:70px; }
 body.watching.episode-sheet-open #episode-sheet-cover { display:block;flex:none;width:52px;height:70px;border-radius:6px;object-fit:cover;background:#222; }
 .episode-sheet-top>.episode-sheet-title { flex:1;min-width:0;padding-top:2px; }
 body.watching .story-column h1 { font:700 17px/1.25 var(--font);letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
 body.watching .detail-category { display:none; }.watching .detail-meta { margin:6px 0 0;font-size:11px;line-height:1.4;color:#a6a5af; }
 body.watching #close-episodes { display:grid;place-items:center;flex:none;width:44px;height:44px;margin:-2px -7px 0 0;padding:12px;border:0;background:none; }
 #close-episodes>img { width:20px;height:20px;filter:invert(1); }
 body.watching .story-column .favorite-button,body.watching .story-column .synopsis { display:none; }
 body.watching .episode-heading { min-height:47px;margin:14px 0 0;padding:0;border:0;align-items:center; }
 body.watching .episode-heading h2 { position:relative;font-size:16px;font-weight:700;padding:0 0 12px;line-height:28px; }
 body.watching .episode-heading h2::after { content:"";position:absolute;left:0;bottom:4px;width:28px;height:3px;border-radius:2px;background:#f4f4f7; }
 body.watching #episode-total { color:#a6a5af;font-size:11px; }
 body.watching .episode-grid { grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px; }
 body.watching .episode-button { min-height:44px;height:44px;padding:6px;border:1px solid #ffffff14;border-radius:7px;background:#27272e;color:#f5f5f8;font-size:14px; }
 body.watching .episode-button.active { border-color:#fff;background:#f5f5f8;color:#111; }.watching .episode-button.locked .lock-icon { width:11px;height:11px; }
 body.watching .episode-hint { margin:16px 0 0;font-size:11px;line-height:1.5;color:#aaa6b0; }
}
.feed-swipe-preview { display:none; }
@media(max-width:760px) { .feed-swipe-preview:not([hidden]) { display:grid; } }
@supports(height:100dvh){@media(max-width:760px){body.watching #detail-view{height:100dvh;}body.watching.for-you-mode #detail-view{height:calc(100dvh - 84px - env(safe-area-inset-bottom,0px));}}}
@media(max-width:760px),(any-pointer:coarse){
 body.watching:not(.unlock-sheet-open) .player-wrap,body.watching #detail-message,body.watching.for-you-mode #detail-view.feed-awaiting-detail { touch-action:pan-x pinch-zoom; }
}
@media(prefers-reduced-motion:reduce){.player-toggle{transition:none;}}

@media(max-width:760px){body.watching.for-you-mode .player-info-overlay{padding-bottom:0;}}

.player-info-overlay>span>strong{font-weight:700;}

@media(max-width:760px){body.watching.episode-sheet-open #detail-view,body.watching.unlock-sheet-open #detail-view{z-index:70;}}


.library-undo-notice{position:fixed;z-index:29;bottom:calc(96px + env(safe-area-inset-bottom,0px));left:16px;right:16px;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:#29282d;color:#f5f5f8;font-size:13px}.library-undo-notice>span{flex:1}.library-undo-notice button{border:0;border-radius:8px;background:#fff;color:#111;min-height:36px;padding:0 12px;font-weight:700}
@media (max-width: 760px) {
  .library-page:has(#library-undo-notice:not([hidden])) .toast {
    top: calc(58px + env(safe-area-inset-top, 0px));
    bottom: auto;
  }
}

/* Secondary touch pages ported from studioLogin(), AppLanguage and CreatorUploadScreen.
   All account/provider states are genuine Web capability states, not native account data. */
.native-secondary-dialog { width:min(480px,calc(100% - 32px));max-height:calc(var(--player-viewport-height,100vh) - 32px);padding:14px 20px 20px;margin:auto;overflow:auto;border:1px solid #ffffff24;border-radius:20px;background:#000;color:#f5f5f8; }
.native-secondary-dialog::backdrop { background:#000b;backdrop-filter:none;-webkit-backdrop-filter:none; }
.native-secondary-dialog .secondary-heading { display:flex;align-items:center;gap:8px;min-height:48px; }
.native-secondary-dialog .secondary-heading h2 { flex:1;min-width:0;margin:0;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:0; }
.native-secondary-dialog .secondary-heading>button { display:grid;place-items:center;flex:none;width:44px;height:48px;margin:0 0 0 -12px;padding:10px;border:0;background:none; }
.native-secondary-dialog .secondary-heading>button>img { width:24px;height:24px;transform:rotate(180deg);filter:invert(1); }
.native-secondary-dialog .secondary-note { margin:0;color:#b2adb0;font-size:13px;line-height:1.4;letter-spacing:0; }
.native-secondary-dialog .secondary-white-button { display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;margin:0;padding:10px 12px;border:0;border-radius:14px;background:#f5f5f7;color:#151518;font-size:15px;font-weight:500;line-height:1.3; }
.native-secondary-dialog .secondary-white-button:disabled { opacity:.5;cursor:not-allowed; }
.native-secondary-dialog .secondary-white-button>img { width:22px;height:22px;object-fit:contain;filter:none; }
.secondary-support { display:block;width:fit-content;min-height:44px;margin:10px auto 0;padding:11px 12px;color:#b2adb0;text-align:center;font-size:12px;text-decoration:underline; }
.native-language-dialog .language-availability-note { margin:12px 0 8px; }
.secondary-language-list { margin:0; }
.secondary-language-row { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:58px;padding:12px 2px;border:0;border-bottom:1px solid #242426;background:none;text-align:left;color:#f5f5f8; }
.secondary-language-row>span:first-child { flex:1;min-width:0; }
.secondary-language-row strong { display:block;font-size:15px;font-weight:500;line-height:1.3; }
.secondary-language-row small { display:block;margin-top:3px;font-size:11px;font-weight:400;line-height:1.3;color:#b2adb0; }
.secondary-language-row:disabled { opacity:.5; }
.secondary-language-check { display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid #777;border-radius:50%;font-size:16px;line-height:1;color:#000; }
.secondary-language-row[aria-pressed="true"] .secondary-language-check { border-color:#f5f5f8;background:#f5f5f8;color:#000; }
.secondary-upload-body { margin:0; }
.native-secondary-dialog .secondary-upload-body h3 { margin:20px 0 0;font-size:24px;line-height:1.25;font-weight:700; }
.secondary-upload-body .upload-spec { margin-top:8px; }
#web-upload-choose { margin-top:20px; }
#web-upload-selected { margin-top:10px;overflow-wrap:anywhere; }
.secondary-video-preview { display:block;width:100%;height:230px;margin:12px 0 0;object-fit:contain;background:#252332; }
#web-upload-play { margin-top:8px; }
.secondary-field-label { display:block;margin:22px 0 5px;font-size:14px;line-height:1.4; }
.secondary-title-input { display:block;width:100%;min-height:44px;margin:0;padding:9px 0;border:0;border-bottom:1px solid #95959c;border-radius:0;background:none;color:#f5f5f8;font-size:15px;line-height:1.4; }
.secondary-title-input::placeholder { color:#b2adb0; }
.secondary-checkbox { display:flex;align-items:flex-start;gap:10px;min-height:44px;margin-top:12px;padding:10px 0;color:#f5f5f8;font-size:14px;line-height:1.4; }
.secondary-checkbox input { flex:none;width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:#f5f5f8; }
.secondary-upload-body>p:not(.upload-spec):not(#web-upload-selected) { margin-top:16px; }
#web-upload-discard { margin-top:14px; }
#web-upload-submit { margin-top:18px;min-height:52px; }
@media(max-width:760px) {
 .native-secondary-dialog { position:fixed;inset:0;width:100%;height:var(--player-viewport-height,100vh);max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding-bottom:max(20px,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .native-secondary-dialog * { scroll-behavior:auto; } }

/* Native ContentReportSheet: panel #171719, 20dp inset, title21 / reason14,
   48dp rows, 86dp details field, 48dp pill actions. */
.native-report-dialog { width:min(520px,calc(100% - 32px));max-height:min(720px,90vh);max-height:min(720px,90dvh);padding:20px;border:0;border-radius:24px;background:#171719;color:#f3f3f6;font-family:var(--font); }
.native-report-dialog::backdrop { background:#0008;backdrop-filter:none;-webkit-backdrop-filter:none; }
.native-report-dialog .report-header { display:block;margin:0;padding:0;border:0;background:none; }
.native-report-dialog h2 { margin:0;font:700 21px/1.25 var(--font);letter-spacing:0; }.native-report-dialog .report-header>p { margin:8px 0 0;font:400 14px/1.4 var(--font);color:#b7b7bf; }
.native-report-dialog .report-header>.report-context { margin:8px 0 0;font-size:12px;color:#9999a1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.report-form { display:flex;flex-direction:column;min-height:0;max-height:calc(90vh - 138px);max-height:calc(90dvh - 138px);margin:12px 0 0; }
.report-scroll { min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 0 8px; }
.report-reasons { padding:0;margin:0;border:0; }.report-reasons label { display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:8px 4px 8px 2px;font-size:14px;line-height:1.4;color:#f3f3f6;cursor:pointer; }
.report-reasons input { flex:none;width:19px;height:19px;min-height:19px;margin:0;padding:0;accent-color:#fff; }.report-reasons input:focus-visible { outline:2px solid #fff;outline-offset:4px; }.report-reasons input:disabled+span { opacity:.55; }
.report-detail-label { display:block;margin:14px 0 8px;color:#b7b7bf;font-size:12px; }
.native-report-dialog #report-details { display:block;resize:vertical;width:100%;min-height:86px;max-height:180px;margin:0;padding:12px;border:1px solid transparent;border-radius:12px;background:#242427;color:#fff;font:400 14px/1.5 var(--font); }
#report-details::placeholder { color:#97979e; }.native-report-dialog #report-details:focus { outline:0;border-color:#aaaab3; }
.report-character-count { margin:5px 0 0;text-align:right;color:#97979e;font-size:10px; }.report-privacy { margin:8px 0 0;font-size:11px;line-height:1.5;color:#9999a1; }
.report-service-note { margin:10px 0 0;font-size:12px;line-height:1.5;color:#c7bba4; }.report-error { margin:10px 0 0;font-size:13px;line-height:1.5;color:#f1c58e; }.report-status { margin:10px 0 0;font-size:13px;line-height:1.5;color:#d3d9d0; }
.report-actions { display:grid;grid-template-columns:1fr 2fr;gap:12px;flex:none;align-items:center;min-height:58px;padding-top:10px; }
.report-actions button,.report-success button { min-height:48px;padding:10px 16px;border:0;border-radius:24px;background:#2b2b30;color:#fff;font:700 14px/1.4 var(--font); }
.report-actions #report-submit,.report-success button { background:#f5f5f8;color:#101012; }.report-actions button:disabled { opacity:.45; }
.report-support-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin-top:8px; }
.report-support-actions button,.report-support-actions a { display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:6px 0;border:0;background:none;color:#b7b7bf;font-size:11px;text-align:left; }
.report-support-actions button:disabled { opacity:.4; }.report-support-actions a { text-align:right; }
.report-copy-text { width:100%;min-height:100px;margin-top:12px;padding:10px;border:1px solid #57575e;border-radius:10px;background:#242427;color:#fff;font:12px/1.5 var(--font); }
.report-success { padding:24px 0 0;text-align:center; }.report-success-mark { display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border:1px solid #ffffff60;border-radius:50%;background:#ffffff0c;color:#fff;font-size:26px; }.report-success h3 { margin:0;font-size:20px;line-height:1.3; }.report-success p { margin:14px 0 0;color:#b7b7bf;font-size:14px;line-height:1.5; }.report-success #report-receipt { color:#fff;font-size:12px;overflow-wrap:anywhere;user-select:text; }.report-success button { display:block;width:100%;margin-top:24px; }
@media(max-width:760px){.native-report-dialog { position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:90vh;max-height:90dvh;margin:0;padding:20px 20px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0; }.report-form { max-height:calc(90vh - 122px - env(safe-area-inset-bottom,0px));max-height:calc(90dvh - 122px - env(safe-area-inset-bottom,0px)); }}
.visually-hidden { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

.player-state.is-completed .unlock-browse{display:block;min-height:48px;width:100%;margin-top:10px;background:#f5f5f8;color:#111;border:0;border-radius:10px;font-weight:700}.player-state.is-completed #player-state-action{width:100%;min-height:48px;background:#333338;color:#fff;border:0}

/* Native AvatarPicker and the original quick-login surface. */
#avatar-dialog{padding:12px 14px 18px;border:0;border-radius:22px;background:#17171c;}
#avatar-dialog::backdrop { background:#0009;backdrop-filter:none;-webkit-backdrop-filter:none; }
#avatar-dialog .dialog-heading{min-height:50px;align-items:center;margin:0;}
#avatar-dialog .dialog-heading h2{font-size:20px;font-weight:500;}
#avatar-dialog .avatar-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px;max-height:65vh;overflow:auto;}
#avatar-dialog .avatar-options button{border-radius:13px;background:#26262d;border:1px solid #41414a;padding:4px;}
#avatar-dialog .avatar-options button[aria-pressed=true]{border:2px solid #e8ca88;padding:3px;}
#avatar-dialog .avatar-options img{border-radius:0;}
@media(max-width:760px){#avatar-dialog{width:100%;max-width:none;max-height:85vh;margin:auto 0 0;border-radius:22px 22px 0 0;}#avatar-dialog .avatar-options{gap:6px;}}

/* Profile fidelity corrections, sourced from StudioSecondaryScreens.java.
   Append after current profile rules. No account, commerce or payment behavior.
   Actual browser rendering remains unverified while Work browser control is off. */
@media(max-width:760px) {
  /* Native gradient() uses TL_BR, not TOP_BOTTOM: source lines 97, 532–534. */
  .native-profile-page .profile-avatar {
    background:linear-gradient(135deg,#2b2a27,#171716);
  }
  /* Native actionTarget is >=48 high, while the visible outlined Login is 40 high:
     source 375–390. The old Web button made both drawing and hit target 40. */
  .native-profile-page .account-entry {
    position:relative;
    isolation:isolate;
    min-height:48px;
    border:0;
    border-radius:7px;
    background:transparent;
  }
  .native-profile-page .account-entry::before {
    content:"";
    position:absolute;
    inset:4px 0;
    z-index:-1;
    border:1px solid #878783;
    border-radius:7px;
    background:transparent;
    pointer-events:none;
  }
  /* Applies to optional exact native SVG chevrons; old img remains unchanged. */
  .native-profile-page .account-entry svg.profile-chevron {
    width:14px;
    height:14px;
    color:#c1c1bf;
    filter:none;
    opacity:1;
  }
  .native-profile-page .profile-menu svg.profile-chevron {
    width:16px;
    height:16px;
    color:#77767d;
    filter:none;
    opacity:1;
  }
  /* Native card: outer 1dp inset plus body padding 13/8 => total14/9.
     Previous CSS border1+padding14/9 put every inner element +1px down/right.
     Reuse all four native edge colors and the three native interior colors.
     Source 296, 338–339, 348–368. */
  .native-profile-page .profile-wallet {
    padding:8px 13px;
    border:1px solid transparent;
    background:
      radial-gradient(110px 110px at calc(100% - 55px) -18px,#d8af6324,#d8af6300) padding-box,
      linear-gradient(135deg,#231d15,#15120e,#0c0c0c) padding-box,
      linear-gradient(135deg,#7d6138,#f3deb2,#5c472c,#b18a50) border-box;
  }
  /* Source 241–246 uses 11sp for a genuinely unavailable balance, 22sp for a
     verified numeric balance. Only the optional fragment opts into this state. */
  .native-profile-page .profile-wallet-value>strong.is-unavailable {
    font-size:11px;
    line-height:13px;
  }
  /* Native menu dividers are separate 1dp views after each 56dp item.
     An absolute line inside 56px rows had shifted rows2/3/4 up1/2/3px. */
  .native-profile-page .profile-menu>:not(:last-child) {
    margin-bottom:1px;
  }
  .native-profile-page .profile-menu>:not(:last-child)::after {
    bottom:-1px;
  }
}

/* PROPOSAL ONLY. App20 source/build pins and existing screenshots are in findings.json.
   Append after existing app-web CSS only after Root's real-browser before/after check.
   Desktop rules are deliberately untouched. */
.resume-label-compact { display:none; }
@media(max-width:760px) {
  /* MainActivity: inactiveTint B8B8BF / selected StudioTheme.WHITE F5F5F8.
     Current external img SVGs need exact-color variants (see findings.md), not opacity .75. */
  .bottom-nav a { color:#b8b8bf; }
  .bottom-nav a.active { color:#f5f5f8; }
  .bottom-nav a[data-nav="discover"]>.native-icon path { fill:currentColor; }
  /* PAIR with native-plus.markup.html. Native 32dp ImageView has padding5 =>22dp artwork box.
     Do not shrink the old 24-viewBox stroke approximation without replacing its path. */
  .upload-symbol>.native-icon { width:22px;height:22px; }

  /* StudioMiniResumeCard keeps a 48px target with its top 12px overlapping the poster. */
  #resume-bar.resume-bar { position:fixed;z-index:26;left:auto;right:12px;bottom:calc(94px + env(safe-area-inset-bottom,0px));display:block;width:104px;height:174px;min-height:174px;padding:0;border:0;border-radius:12px;background:#16c49a;color:#000;overflow:visible;isolation:isolate; }
  #resume-bar.resume-bar::before { content:"";position:absolute;z-index:0;top:0;left:0;right:0;height:138px;border-radius:12px 12px 0 0;background:#242424;pointer-events:none; }
  #resume-bar #resume-cover { position:absolute;z-index:1;top:0;left:0;display:block;width:104px;height:138px;max-width:none;margin:0;border:0;border-radius:12px 12px 0 0;object-fit:cover;background:#242424; }
  #resume-bar #resume-copy { position:absolute;z-index:2;top:0;left:0;right:0;display:block;width:104px;height:138px;min-height:0;margin:0;padding:0;border:0;border-radius:12px 12px 0 0;background:none; }
  #resume-bar #resume-copy>strong,#resume-bar #resume-copy>span { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0; }
  #resume-bar.resume-cover-unavailable #resume-copy { display:grid;place-items:center;padding:16px 8px 8px; }
  #resume-bar.resume-cover-unavailable #resume-title {
    position:static;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;
    width:auto;height:auto;margin:0;clip:auto;clip-path:none;white-space:normal;overflow-wrap:anywhere;
    color:#fff;font-size:12px;line-height:1.3;text-align:center;
  }
  #resume-bar #resume-play { position:absolute;z-index:2;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;width:104px;height:48px;min-height:48px;margin:0;padding:15px 4px 3px;border:0;border-radius:0 0 12px 12px;background:transparent;color:#000;font:700 12px/normal var(--font);text-align:center; }
  #resume-bar .resume-label-compact { display:block; }
  #resume-bar .resume-label-wide { display:none; }
  #resume-bar #resume-close { position:absolute;z-index:3;top:0;right:0;display:flex;align-items:flex-start;justify-content:flex-end;width:44px;height:44px;margin:0;padding:0;border:0;background:none; }
  #resume-bar #resume-close>img { box-sizing:border-box;display:block;width:30px;height:30px;margin:0;padding:7px;border:0;border-radius:16px;background:#000000e6;filter:invert(1); }
  /* img inversion would invert the background too: use target pseudo backdrop instead. */
  #resume-bar #resume-close::before { content:"";position:absolute;top:0;right:0;width:30px;height:30px;border-radius:16px;background:#000000e6;pointer-events:none; }
  #resume-bar #resume-close>img { position:relative;background:none; }
  /* MainActivity now reserves only92dp under its scroll viewport, not a full-width resume strip. */
  .home-view #discover-view { padding-bottom:92px; }
}

/* Optional source-bound player detail port. App20 includes0x22FFFFFF collection surface;
   old App16 screenshot#555 is superseded. Root must inspect latest installed player first. */
@media(max-width:760px) {
  body.watching .player-collection-button { position:relative;isolation:isolate;background:none; }
  body.watching .player-collection-button::before { content:"";position:absolute;z-index:-1;inset:4px 0;border-radius:8px;background:#ffffff22;pointer-events:none; }
  /* PAIR with native-player-toggle.markup.html; native CENTER button is56dp, not video-area center. */
  body.watching .player-toggle { top:50%;padding:0; }
  body.watching .player-toggle>svg { width:56px;height:56px; }
}

@media(max-width:760px){.bottom-nav a>img[src*="native-nav-"]{filter:none;opacity:1;}}

/* App-source alignment candidate, 2026-11-05. Append after current styles.
 * Scope: non-payment secondary surfaces only. Requires sibling fragments below.
 * Source: MainActivity.library/studioLogin; CreatorUploadScreen; AvatarPicker.
 * Root already removed the two obsolete nth-child copy selectors; do not restore.
 * NOT visually accepted: browser RPC disabled in this run.
 */

/* Native reserves 18sp text width for both tabs, scaling only the inactive label.
 * Requires library-tab-label span fragment; click target stays 44px tall. */
.native-library-page .library-tabs button { font-size:18px; }
.native-library-page .library-tabs .library-tab-label { display:block;margin:0;font-size:18px;color:inherit;transform:scale(.8888889);transform-origin:left center; }
.native-library-page .library-tabs button.active .library-tab-label { transform:none; }
.library-edit .library-edit-cancel { display:none;font-size:15px;font-weight:400; }
.library-edit.is-managing { width:auto;min-width:44px;padding:0; }
.library-edit.is-managing .library-edit-icon { display:none; }
.library-edit.is-managing .library-edit-cancel { display:block; }

/* Exact XML vector paths exported to ./assets by the companion manifest. */
.native-library-page .library-select { font-size:0;color:transparent;border:0;border-radius:0;background:transparent url("assets/native-library-pick-idle.svg") center/22px 22px no-repeat; }
.native-library-page .library-select[aria-checked="true"] { color:transparent;border:0;background:transparent url("assets/native-library-pick-on.svg") center/22px 22px no-repeat; }

/* Native empty body has one centered 150dp illustration, no fixed 100px top gap.
 * :has() targets ONLY the known empty illustration, never network/error retry UI. */
@media(max-width:760px) {
 #library-view.native-library-page:has(>#library-message:not([hidden])>.library-empty-image) { min-height:var(--player-viewport-height,100vh);padding-bottom:0; }
 .native-library-page #library-message:not([hidden]):has(>.library-empty-image) { display:grid;place-items:center;min-height:calc(var(--player-viewport-height,100vh) - 44px);padding:0; }
 .native-library-page #library-message>.library-empty-image { width:150px;height:150px;margin:0; }
}

/* Web account entry */
.web-login-entry {
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-width:44px;min-height:44px;
  padding:7px 10px;border:1px solid #ffffff26;border-radius:12px;background:#191519;color:#fff4f7;
  font:650 13px/1.2 var(--font);white-space:nowrap;
}
.web-login-entry > img { width:17px;height:17px;flex:none;filter:invert(1); }
.web-login-entry:hover { background:#2a2027;border-color:#ffffff45; }
.native-profile-page .account-entry,#account-google { position:relative; }
.login-reward-badge {
  position:absolute;z-index:1;inset-block-start:-5px;inset-inline-end:0;display:inline-flex;
  align-items:center;gap:2px;min-height:17px;padding:1px 4px;border:1px solid #f9dc8c;border-radius:999px;
  background:linear-gradient(150deg,#fff1bc,#e8bb60);color:#332000;box-shadow:0 1px 4px #0007;
  font:800 10px/1 var(--font);white-space:nowrap;pointer-events:none;
}
.login-reward-badge > img { width:11px;height:11px;flex:none; }
.library-login-entry > .login-reward-badge { inset-block-start:0;min-height:14px;padding-block:0; }
#account-google > .login-reward-badge { inset-block-start:-5px;inset-inline-end:8px; }
.profile-page .header-login-entry,.library-login-entry,.player-login-entry { display:none; }
.library-header-actions { display:flex;align-items:center;gap:5px; }
@media(max-width:760px) {
  .home-view .site-header:has(>.header-login-entry:not([hidden])) { grid-template-columns:minmax(0,1fr) repeat(3,44px); }
  .home-view .header-login-entry { width:44px;padding-inline:0;background:#100b10af; }
  .home-view .header-login-entry > img { display:none; }
  .library-login-entry { display:inline-flex; }
  .for-you-mode .player-login-entry {
    position:absolute;z-index:13;inset-block-start:max(12px,env(safe-area-inset-top));inset-inline-end:12px;
    display:inline-flex;background:#151018d9;backdrop-filter:blur(8px);
  }
}
#account-dialog {
  position:fixed;inset:0;margin:auto;width:min(430px,calc(100% - 28px));height:fit-content;
  max-height:calc(100dvh - 24px);padding:0;border:1px solid #ffffff27;border-radius:24px;
  background:radial-gradient(ellipse 94% 55% at 50% 0,#26171f 0%,#121014 52%,#101013 100%);
  box-shadow:0 24px 80px #000a;
}
#account-dialog[open] { display:flex;flex-direction:column;overflow:hidden; }
#account-dialog::backdrop { background:#050406b8;backdrop-filter:blur(6px); }
.native-account-dialog > .secondary-heading { flex:none;justify-content:flex-end;min-height:50px;padding:7px 9px 0; }
.native-account-dialog > .secondary-heading > button {
  width:44px;height:44px;margin:0;padding:12px;border:0;border-radius:50%;background:#ffffff0b;
}
.native-account-dialog > .secondary-heading > button > img { width:18px;height:18px;transform:none; }
.native-account-dialog > .secondary-heading > button:hover { background:#ffffff16; }
.native-login-form { min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 clamp(17px,5.5vw,28px) 19px; }
.native-login-intro { text-align:center;overflow-wrap:anywhere; }
.native-login-logo {
  display:block;width:72px;height:72px;margin:0 auto;
}
.native-login-intro h2 { margin:16px 0 0;font-size:clamp(22px,5vw,27px);font-weight:750;line-height:1.22;letter-spacing:-.025em; }
.native-login-intro p { margin:7px 0 0;font-size:14px;line-height:1.45;color:#c6bdc5; }
.native-login-actions { display:grid;gap:10px;margin:22px auto 0;max-width:380px;overflow-wrap:anywhere; }
.native-login-options { display:grid;gap:10px;min-width:0; }
.native-account-dialog #account-google-status { margin:0 3px;text-align:center;font-size:12px; }
.native-account-dialog #account-google {
  display:flex;justify-content:center;align-items:center;gap:11px;
  min-height:54px;padding:10px 14px;border:1px solid #fff;border-radius:14px;
  background:#fff;color:#17131d;text-align:center;
}
.native-account-dialog #account-google:disabled { opacity:1;color:#6b626b;cursor:not-allowed; }
.native-account-dialog #account-google:not(:disabled):hover { box-shadow:0 0 0 2px #ffffff38; }
.native-account-dialog #account-google > img { width:21px;height:21px;flex:none; }
.native-account-dialog #account-google strong { font-size:15px;font-weight:700;line-height:1.35; }
.native-login-email {
  display:flex;align-items:center;justify-content:center;gap:11px;min-height:50px;padding:9px 14px;
  border:1px solid #ffffff31;border-radius:14px;background:#ffffff0b;color:#f4eff4;font-size:15px;
}
.native-login-email:hover { background:#ffffff16; }
.native-login-email svg { flex:none; }
.native-account-dialog.email-login-active .native-login-logo { width:52px;height:52px; }
.native-login-options.email-mode > :is(#account-google,#account-google-status,#account-email,
  #account-open-browser,#account-external-browser,#account-google-retry) { display:none; }
.native-email-form,.native-email-form > div:not(.native-email-controls) { display:grid;gap:8px;min-width:0; }
.native-email-form label { font-size:13px;font-weight:700;color:#eee8ef; }
.native-email-form input {
  width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #ffffff39;border-radius:12px;
  background:#1a171e;color:#fff;font:16px/1.35 var(--font);
}
.native-email-form #account-email-code { letter-spacing:.28em; }
.native-email-form .native-login-status { min-height:18px;margin:0 3px;text-align:center;font-size:12px; }
.native-email-controls { display:flex;flex-wrap:wrap;justify-content:center;column-gap:12px; }
.native-email-controls > button { border:0;border-radius:8px;text-underline-offset:3px; }
.native-login-browser-link,.native-login-text-button {
  display:grid;place-items:center;min-height:44px;padding:6px 10px;
  color:#f0d9e3;background:transparent;font-size:13px;font-weight:650;text-align:center;text-decoration:underline;
}
.external-browser-help {
  display:grid;gap:8px;min-width:0;padding:12px;border:1px solid #ffffff1f;
  border-radius:12px;background:#ffffff08;color:#dedbe2;font-size:.8125rem;line-height:1.45;
  text-align:start;overflow-wrap:anywhere;
}
.install-dialog .external-browser-help { margin-block-start:14px; }
.external-browser-help p { margin:0; }
.external-browser-help [data-browser-copy-status]:empty { position:absolute; }
.external-browser-help button {
  min-height:44px;padding:8px 12px;border:0;border-radius:9px;
  background:#fff;color:#1b1820;font-weight:700;
}
.external-browser-help input {
  width:100%;min-width:0;padding:8px;border:1px solid #ffffff35;border-radius:7px;
  background:#101012;color:#fff;font:inherit;font-size:16px;
}
.native-login-identity {
  display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:12px;
  padding:14px;border:1px solid #ffffff1a;border-radius:12px;background:#ffffff07;text-align:start;
}
.native-login-identity img { width:21px;height:21px;justify-self:center; }
.native-login-identity strong,.native-login-identity small { display:block; }
.native-login-identity small { margin-top:3px;color:#bbb2bb;font-size:12px; }
.native-account-dialog #account-logout { min-height:50px;border-radius:12px; }
.native-account-dialog #account-logout-status { margin:0;text-align:center; }
.native-login-capabilities { border-top:1px solid #ffffff15;color:#c6bec6;font-size:13px; }
.native-login-capabilities summary {
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;
  padding:6px 4px;cursor:pointer;list-style:none;
}
.native-login-capabilities summary::-webkit-details-marker { display:none; }
.native-login-capabilities summary img { flex:none;filter:invert(1);transform:rotate(90deg); }
.native-login-capabilities[open] summary img { transform:rotate(-90deg); }
.native-login-capabilities .secondary-note { padding:0 4px;font-size:12px; }
.native-login-capabilities .secondary-support { margin:0; }

/* Native label("Share a short video",24) is regular, not a second bold header.
 * Submit is outside the ScrollView in the source; companion HTML uses form=.
 * Native+Web-unavailable state is preserved: this does not enable submission. */
#upload-dialog.native-upload-dialog[open] { display:flex;flex-direction:column;overflow:hidden; }
.native-upload-dialog>.secondary-heading { flex:none; }
.native-upload-dialog .secondary-upload-body { flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain; }
.native-upload-dialog .secondary-upload-body h3 { font-weight:400; }
.native-upload-dialog>#web-upload-submit { flex:none;width:100%;height:52px;min-height:52px;margin:0; }
@media(min-width:761px) { #upload-dialog.native-upload-dialog[open] { height:min(800px,calc(100dvh - 32px)); } }

/* AvatarPicker places the selected mark outside the circular image mask. */
#avatar-dialog .dialog-heading h2 { letter-spacing:0; }
#avatar-dialog .dialog-heading>button { display:grid;place-items:center;width:auto;min-width:52px;height:48px;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#b2adb0;font-size:14px;font-weight:400; }
#avatar-dialog .avatar-options { grid-template-columns:repeat(5,minmax(0,1fr));column-gap:0;row-gap:6px;margin-top:0;max-height:min(600px,65vh); }
#avatar-dialog .avatar-options button,#avatar-dialog .avatar-options button[aria-pressed="true"] { position:relative;aspect-ratio:1;padding:4px;border:0;border-radius:0;background:none; }
#avatar-dialog .avatar-face { display:block;position:relative;width:100%;height:100%;overflow:hidden;border-radius:50%;background:#26262d;box-shadow:inset 0 0 0 1px #41414a; }
#avatar-dialog [aria-pressed="true"] .avatar-face { box-shadow:inset 0 0 0 2px #e8ca88; }
#avatar-dialog .avatar-face img { display:block;width:calc(100% - 6px);height:calc(100% - 6px);margin:3px;object-fit:contain;border-radius:0; }
#avatar-dialog .avatar-selected-mark { position:absolute;inset-inline-end:4px;inset-block-end:4px;display:grid;place-items:center;width:20px;height:20px;border-radius:11px;background:#f0d596;color:#221d12;font-size:13px;line-height:1; }
#avatar-dialog>.product-note { margin:10px 0 0;font-size:11px;line-height:1.4;color:#b2adb0; }
#avatar-dialog>.avatar-credit { margin:6px 0 0;font-size:10px; }

/* StudioGlassNavigation paints its edge without consuming layout space.
   CSS border-box compensates with3px padding:72-2(border)-6(padding)=64.
   All five cells reserve the same border width, preserving equal widths. */
@media(max-width:760px) {
  .bottom-nav { padding:3px; }
  .bottom-nav a { min-height:64px;height:64px;border:1px solid transparent;border-radius:30px; }
  .bottom-nav a.active { border-color:#ffffff30;background:#ffffff28;box-shadow:none; }
}

/* App21 source-bound settings shell + privacy/support geometry. No billing style changes. */
dialog.ss-sheet { box-sizing:border-box;width:min(480px,calc(100% - 32px));max-width:480px;max-height:82vh;max-height:82dvh;margin:auto;padding:14px 18px 16px;overflow:hidden;border:1px solid #333;border-radius:22px;background:#151515;color:#f5f5f8;font-family:var(--font); }
.ss-sheet::backdrop,.ss-page::backdrop { background:#0009;backdrop-filter:none;-webkit-backdrop-filter:none; }
.ss-sheet-heading { display:flex;align-items:center;min-height:48px;gap:0; }
.ss-sheet-heading>.ss-icon { flex:none;width:22px;height:22px;color:#e4d2ab; }
.ss-sheet-heading h2 { flex:1;min-width:0;margin:0 0 0 12px;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:0; }
.ss-info-icon { display:grid;place-items:center;flex:none;width:22px;height:22px;border:1.7px solid currentColor;border-radius:50%;color:#e4d2ab;font:700 15px/1 var(--font); }
.ss-close { display:grid;place-items:center;flex:none;width:48px;height:48px;margin:0;padding:14px;border:0;border-radius:24px;background:none;color:#b9b9b7; }
.ss-close>.ss-icon { width:20px;height:20px; }
.ss-sheet-scroll { overflow:auto;max-height:max(72px,calc(82vh - 230px));max-height:max(72px,calc(82dvh - 230px));padding:12px 0 4px;overscroll-behavior:contain; }
.ss-menu-row { display:flex;align-items:center;gap:0;min-height:56px;width:100%;margin:0;padding:12px;border:0;border-radius:12px;background:#1b1b1b;color:#f5f5f8;text-align:left; }
.ss-menu-row+.ss-menu-row { margin-top:6px; }
.ss-menu-row>.ss-icon { flex:none;width:20px;height:20px;color:#e4d2ab; }
.ss-menu-row>.ss-info-icon { width:20px;height:20px;font-size:14px; }
.ss-menu-row>span:not(.ss-info-icon) { flex:1;min-width:0;margin:0 10px 0 14px;font-size:16px;font-weight:500;line-height:1.3; }
.ss-menu-row>.ss-chevron { flex:none;width:16px;height:16px;color:#838381; }
.ss-advanced { margin-top:12px;color:#b9b9b7; }
.ss-advanced summary { min-height:44px;padding:12px 2px;font-size:13px;cursor:pointer; }
.ss-sheet-actions { display:flex;flex-direction:column;gap:8px;padding-top:16px; }
.ss-sheet-button { display:grid;place-items:center;min-height:48px;width:100%;padding:12px 16px;border:0;border-radius:12px;background:#242424;color:#f5f5f8;font-size:15px;font-weight:700;line-height:1.3; }
.ss-sheet-button.ss-primary { background:#f3f1eb;color:#161616; }
.ss-sheet-message { margin:0;padding:2px 2px 4px;color:#b9b9b7;font-size:14px;line-height:1.65;white-space:pre-line; }
.ss-status { margin:12px 0 0;color:#e4d2ab;font-size:13px;line-height:1.4; }
.ss-status:empty { display:none; }
.ss-about-copy h3 { margin:0;color:#f5f5f8;font-size:17px;font-weight:700;line-height:1.3; }
.ss-about-copy p { margin:14px 0 0;color:#b9b9b7;font-size:14px;line-height:1.6; }
.ss-about-copy a { display:inline-block;min-height:32px;padding:6px 0;font-size:13px;color:#e4d2ab;text-decoration:underline; }
dialog.ss-page { box-sizing:border-box;width:min(560px,calc(100% - 32px));height:min(880px,calc(100vh - 32px));height:min(880px,calc(100dvh - 32px));max-width:560px;max-height:none;margin:auto;padding:0;border:1px solid #333;border-radius:18px;background:#000;color:#f5f5f8;font-family:var(--font);overflow:hidden; }
.ss-page-heading { display:flex;align-items:center;min-height:60px;padding:12px 18px 0;background:#000; }
.ss-page-heading button { display:grid;place-items:center;flex:none;width:48px;height:48px;padding:13px;border:0;background:none;color:#f5f5f8; }
.ss-page-heading button>.ss-chevron { width:22px;height:22px;transform:rotate(180deg); }
.ss-page-heading h2 { flex:1;min-width:0;margin:0 0 0 8px;font-size:22px;font-weight:700;line-height:1.2; }
.ss-page-scroll { height:calc(100% - 60px);padding:20px 18px 28px;overflow:auto;overscroll-behavior:contain; }
.ss-eyebrow { display:block;color:#f0d39a;font-size:10px;font-weight:500;letter-spacing:.13em;line-height:1.4; }
.ss-privacy-intro { margin:12px 0 0;font-size:17px;font-weight:500;line-height:1.4; }
.ss-privacy-card { margin:20px 0 0;padding:16px;border:1px solid #333;border-radius:18px;background:#151515; }
.ss-privacy-card+.ss-privacy-card { margin-top:22px; }
.ss-privacy-card h3 { display:flex;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:700;line-height:1.3; }
.ss-privacy-card h3>.ss-icon { width:20px;height:20px;color:#e4d2ab;flex:none; }
.ss-privacy-card p { margin:10px 0 0;color:#b2adb0;font-size:14px;line-height:1.5; }
.ss-privacy-disabled,.ss-tonal-button { display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;padding:10px 14px;border:1px solid #64542e;border-radius:12px;background:#201b12;color:#f3d794;font-size:14px;font-weight:500;line-height:1.4;text-align:center; }
.ss-privacy-disabled { margin-top:12px;background:#242424;border-color:#383838;color:#f5f5f8;opacity:.5; }
.ss-privacy-buttons { display:flex;flex-direction:column;gap:8px;margin-top:12px; }
.ss-policy-button { display:grid;place-items:center;width:100%;min-height:48px;margin-top:22px;padding:10px 14px;border-radius:12px;background:#f3f1eb;color:#161616;font-size:14px;font-weight:500; }
.ss-support-scroll { height:100%;overflow:auto;padding:16px 22px 30px;overscroll-behavior:contain; }
.ss-support-heading { display:flex;align-items:center;gap:14px;min-height:44px;margin-bottom:16px; }
.ss-support-heading .ss-support-back {
  display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;
  margin:0;padding:10px;border:0;border-radius:14px;background:#181818;color:#f5f5f8;
}
.ss-support-heading .ss-support-back>img,.ss-support-heading .ss-support-back>svg { width:24px;height:24px; }
.ss-support-heading .ss-support-back>img { transform:rotate(180deg); }
#app-shell[dir="rtl"] .ss-support-heading .ss-support-back>img { transform:none; }
.ss-support-heading h2 { margin:0;font-size:25px;font-weight:700;line-height:1.2;letter-spacing:0; }
.ss-support-notice { margin:0 0 14px;color:#b2adb0;font-size:14px;line-height:1.4; }
.ss-support-notice:empty { display:none; }
.ss-field-label { display:block;margin:18px 0 8px;color:#f5f5f8;font-size:14px;line-height:1.4; }
#ss-support-kind { min-width:0;margin:16px 0 12px;padding:0;border:0; }
#ss-support-kind legend { margin:0 0 8px;padding:0;color:#b2adb0;font-size:13px; }
.ss-help-types { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.ss-help-types>label { display:block;position:relative;min-width:0;margin:0;cursor:pointer; }
.ss-help-types>label:last-child { grid-column:1 / -1; }
.ss-help-types input[type="radio"] {
  position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;clip-path:inset(50%);
}
.ss-help-types>label>span {
  display:grid;place-items:center;height:100%;min-height:44px;padding:7px 10px;
  border:1px solid #36312a;border-radius:12px;background:#1b1b1b;color:#f5f5f8;
  font-size:14px;font-weight:500;line-height:1.25;text-align:center;overflow-wrap:anywhere;
}
.ss-help-types>.ss-payment-priority>span { border-color:#cbaa6a;background:#2c2518;color:#f7dc9e;font-weight:700; }
.ss-help-types input[type="radio"]:checked+span { border-color:#f3d794;background:#f3d794;color:#17120b; }
.ss-help-types input[type="radio"]:focus-visible+span { outline:2px solid #f5f5f8;outline-offset:2px; }
#ss-support-details { display:block;resize:vertical;width:100%;min-height:112px;max-height:320px;padding:12px 14px;border:1px solid #64542e;border-radius:12px;background:#181818;color:#f5f5f8;font:14px/1.45 var(--font); }
#ss-support-details::placeholder { color:#b2adb0; }
.ss-support-count { display:block;margin-top:7px;text-align:right;color:#b2adb0;font-size:12px;line-height:1.4; }
.ss-error { margin:8px 0;color:#f0d39a;font-size:13px;line-height:1.4; }
.ss-error:empty { display:none; }
#ss-support-form>.ss-tonal-button { margin-top:10px; }
#ss-support-form>.ss-tonal-button:disabled { opacity:.45; }
.ss-copy-fallback { width:100%;min-height:110px;margin-top:12px;padding:12px;border:1px solid #64542e;border-radius:12px;background:#181818;color:#f5f5f8;font:13px/1.4 var(--font); }
.ss-support h3 { margin:26px 0 12px;font-size:19px;font-weight:700;line-height:1.3; }
.ss-support-empty { margin:0;color:#b2adb0;font-size:14px;line-height:1.4; }
.ss-support .ss-help-faq { margin-block:18px; }
.ss-support .ss-help-faq h3 { margin:0 0 12px; }
.ss-help-faq details { margin-block-end:8px;border:1px solid #2c2924;border-radius:14px;background:#141414; }
.ss-help-faq summary {
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;
  padding:6px 14px;border-radius:14px;list-style:none;color:#f5f5f8;font-size:15px;font-weight:500;cursor:pointer;
}
.ss-help-faq summary::-webkit-details-marker { display:none; }
.ss-help-faq summary:focus-visible { outline:2px solid #f3d794;outline-offset:-2px; }
.ss-help-faq summary::after {
  content:"";flex:none;width:18px;height:18px;background:#f3d794;
  mask:url("assets/icon-chevron-right.svg") center/contain no-repeat;
  -webkit-mask:url("assets/icon-chevron-right.svg") center/contain no-repeat;
}
.ss-help-faq details[open]>summary::after { transform:rotate(90deg); }
#app-shell[dir="rtl"] .ss-help-faq details:not([open])>summary::after { transform:rotate(180deg); }
.ss-help-faq details>p { padding:0 14px 14px;color:#b2adb0;font-size:13px;line-height:1.5; }
@media(max-width:760px) {
 dialog.ss-page { position:fixed;inset:0;width:100%;height:var(--player-viewport-height,100vh);max-width:none;max-height:none;margin:0;border:0;border-radius:0; }
 .ss-page-scroll,.ss-support-scroll { padding-bottom:max(28px,env(safe-area-inset-bottom)); }
}

/* The PC error overlay must not cover visible report/episode controls. */
@media(min-width:761px){.player-rail{z-index:12;} .player-state:not(.is-locked){z-index:3;}}

/* Load after app-web/styles.css. Values from the six App21 source pins in
   source-bindings.actual.json; CSS px maps to Native dp at the 412 CSS-px viewport.
   Native runtime screenshots remain App20 check-in only; browser QA is Root's task. */

/* StudioHomeScreen.showCategories(): full-width bottom sheet, two 50dp axes. */
dialog#categories-dialog.native-category-sheet {
  position:fixed;inset:auto 0 0;width:min(520px,100%);max-width:none;
  height:auto;max-height:calc(100dvh - 32px);margin:0 auto;overflow:auto;
  padding:18px 18px max(24px,env(safe-area-inset-bottom,0px));
  border:0;border-radius:22px;background:#17171e;color:#f5f5f8;
  font-family:var(--font);letter-spacing:0;
}
#categories-dialog.native-category-sheet::backdrop { background:rgb(0 0 0 / .55);backdrop-filter:none;-webkit-backdrop-filter:none; }
#categories-dialog.native-category-sheet h2 {
  display:flex;align-items:flex-start;min-height:42px;margin:0;padding:0;
  color:#f5f5f8;font-size:20px;font-weight:700;line-height:1.3;
}
#categories-dialog.native-category-sheet h3 {
  margin:15px 0 0;padding:0;color:#b2adb0;font-size:13px;font-weight:700;line-height:1.3;
}
#categories-dialog.native-category-sheet .taxonomy-options {
  display:flex;align-items:center;flex-wrap:nowrap;gap:0;height:50px;
  margin:0;padding:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scrollbar-width:none;
}
#categories-dialog.native-category-sheet .taxonomy-options::-webkit-scrollbar { display:none; }
#categories-dialog.native-category-sheet .taxonomy-options button {
  position:relative;display:flex;align-items:center;justify-content:center;flex:none;
  min-width:48px;min-height:44px;height:44px;margin:0;padding:0;
  border:0;border-radius:0;background:none;color:#b2adb0;
  font-family:var(--font);font-weight:400;letter-spacing:0;line-height:1.25;white-space:nowrap;
}
#categories-dialog.native-category-sheet .taxonomy-options button[aria-pressed="true"] {
  border:0;color:#f5f5f8;font-weight:700;
}
#category-regions button { font-size:14px; }
#category-regions button>span { display:flex;align-items:center;height:40px;padding:0 12px; }
#categories-dialog.native-category-sheet #category-regions button[aria-pressed="true"]::after {
  position:absolute;bottom:2px;left:calc(50% - 9px);width:18px;height:2px;
  border-radius:0;background:#f5f5f8;content:"";
}
#category-genres button { font-size:12px; }
#category-genres button>span { display:flex;align-items:center;height:32px;padding:0 14px;border-radius:17px; }
#categories-dialog.native-category-sheet #category-genres button[aria-pressed="true"]>span { background:#ffffff24; }
#categories-dialog.native-category-sheet .taxonomy-options button:focus-visible { outline:2px solid #f5f5f8;outline-offset:-2px; }

/* StudioAccountScreens.language(): fixed 48dp header and independently scrolling body. */
dialog#language-dialog.native-language-dialog {
  width:min(480px,calc(100% - 32px));height:min(780px,calc(100dvh - 32px));
  padding:12px 18px 0;overflow:hidden;background:#000;color:#f5f5f8;
}
#language-dialog.native-language-dialog[open] { display:flex;flex-direction:column; }
#language-dialog.native-language-dialog .secondary-heading { flex:none;gap:8px;min-height:48px; }
#language-dialog.native-language-dialog .secondary-heading>button { width:48px;height:48px;margin:0;padding:13px; }
#language-dialog.native-language-dialog .secondary-heading>button>img { width:22px;height:22px; }
#language-dialog.native-language-dialog .secondary-heading h2 { margin:0;font-size:22px;font-weight:700;line-height:1.25; }
#language-dialog.native-language-dialog .language-body { min-height:0;margin-top:20px;padding:0 0 28px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none; }
#language-dialog.native-language-dialog .language-body::-webkit-scrollbar { display:none; }
#language-dialog.native-language-dialog .language-body>h3 { margin:0;font-size:23px;font-weight:400;line-height:1.3;color:#f5f5f8; }
#language-dialog.native-language-dialog .language-availability-note { margin:10px 0 0;font-size:13px;line-height:1.4;color:#b2adb0; }
#language-dialog.native-language-dialog .language-current { margin:14px 0 0;font-size:12px;line-height:1.4;color:#e9ce98; }
#language-dialog.native-language-dialog .secondary-language-list { margin:14px 0 0; }
#language-dialog.native-language-dialog .secondary-language-row {
  display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;
  min-height:76px;margin:9px 0 0;padding:12px 14px;
  border:1px solid #403448;border-radius:12px;background:#17131f;
  color:#f5f5f8;text-align:start;letter-spacing:0;
}
#language-dialog.native-language-dialog .secondary-language-row .secondary-language-label { flex:1;min-width:0; }
#language-dialog.native-language-dialog .secondary-language-row strong { display:block;font-size:15px;font-weight:400;line-height:1.3; }
#language-dialog.native-language-dialog .secondary-language-row small { display:block;margin-top:5px;color:#b2adb0;font-size:12px;font-weight:400;line-height:1.3; }
#language-dialog.native-language-dialog .secondary-language-check { display:block;flex:none;width:20px;height:20px;border:2px solid #b7adbf;border-radius:50%;background:none;color:transparent; }
#language-dialog.native-language-dialog .secondary-language-row[aria-pressed="true"] .secondary-language-check,
#language-dialog.native-language-dialog .secondary-language-row[aria-checked="true"] .secondary-language-check {
  border-color:#e9ce98;background:radial-gradient(circle,#e9ce98 0 5px,transparent 5.5px);
}
#language-dialog.native-language-dialog .secondary-language-row:disabled { opacity:.5;cursor:not-allowed; }
#language-dialog.native-language-dialog .secondary-language-row:focus-visible { outline:2px solid #e9ce98;outline-offset:2px; }
@media(max-width:760px) {
  dialog#language-dialog.native-language-dialog { position:fixed;inset:0;width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:12px 18px 0; }
  #language-dialog.native-language-dialog .language-body { padding-bottom:max(28px,env(safe-area-inset-bottom,0px)); }
}

/* StudioCheckInSheet + CheckInPopup, not the older fullscreen check-in page. */
dialog#checkin-dialog.native-checkin-popup {
  --checkin-gold:#f0d39a;--checkin-soft:#c3bab0;--checkin-champagne:#ffedcc;
  position:fixed;inset:0;width:min(430px,calc(100% - 32px));min-width:min(180px,calc(100% - 32px));
  max-width:none;height:auto;max-height:84vh;max-height:84dvh;margin:auto;padding:0;
  overflow:hidden;border:1px solid #80633c;border-radius:20px;
  background:linear-gradient(145deg,#2a2016,#15120f 56%,#0c0b09);color:#f5f5f8;
  font-family:var(--font);letter-spacing:0;
}
#checkin-dialog.native-checkin-popup::backdrop { background:rgb(0 0 0 / .65);backdrop-filter:none;-webkit-backdrop-filter:none; }
#checkin-dialog.native-checkin-popup .checkin-popup-scroll { max-height:calc(84dvh - 2px);padding:12px 18px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none; }
#checkin-dialog.native-checkin-popup .checkin-popup-scroll::-webkit-scrollbar { display:none; }
#checkin-dialog.native-checkin-popup .checkin-popup-heading { display:flex;align-items:center;min-height:48px;gap:0;margin:0;padding:0; }
#checkin-dialog.native-checkin-popup .checkin-popup-heading h2 { flex:1;min-width:0;margin:0;margin-inline-end:8px;color:var(--checkin-champagne);font-size:21px;font-weight:700;line-height:1.25;overflow-wrap:anywhere; }
#checkin-dialog .checkin-seal {
  display:inline-flex;align-items:center;justify-content:center;flex:none;gap:4px;max-width:48%;min-height:36px;padding:4px 9px 4px 6px;
  border:1px solid #80633c;border-radius:999px;background:linear-gradient(145deg,#483520,#211810);
  color:var(--checkin-champagne);font-size:15px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;
}
#checkin-dialog .checkin-seal img { flex:none;width:22px;height:22px;object-fit:contain; }
#checkin-dialog #checkin-balance { min-width:0;overflow-wrap:anywhere;text-align:end; }
#checkin-dialog.native-checkin-popup .checkin-popup-heading button { display:grid;place-items:center;flex:none;width:48px;height:48px;margin:0;padding:14px;border:0;background:none; }
#checkin-dialog.native-checkin-popup .checkin-popup-heading button>svg { width:20px;height:20px;color:var(--checkin-soft); }
#checkin-dialog.native-checkin-popup .checkin-popup-subtitle { margin:2px 0 0;color:var(--checkin-soft);font-size:13px;line-height:1.3; }
#checkin-dialog.native-checkin-popup .native-reward-week { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0 0;overflow:visible; }
#checkin-dialog.native-checkin-popup .native-reward-day { display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:88px;padding:7px;border:1px solid #44382c;border-radius:11px;background:linear-gradient(145deg,#221e18,#11100e); }
#checkin-dialog.native-checkin-popup .native-reward-day:last-child { grid-column:span 2;border-color:#80633c;background:linear-gradient(145deg,#38291a,#1a1510,#20180f); }
#checkin-dialog.native-checkin-popup .native-reward-day[aria-current="step"] { border-color:#d5ae69;background:linear-gradient(145deg,#44341e,#241b11); }
#checkin-dialog.native-checkin-popup .native-reward-day.is-claimed { opacity:.7; }
#checkin-dialog.native-checkin-popup .native-reward-day span { margin:0;color:var(--checkin-soft);text-align:start;font-size:10px;line-height:1.3; }
#checkin-dialog.native-checkin-popup .native-reward-day img { align-self:center;display:block;width:30px;height:30px;margin:3px 0 0;object-fit:contain; }
#checkin-dialog.native-checkin-popup .native-reward-day strong { display:block;margin:0;color:#f5f3ef;text-align:end;font-size:14px;font-weight:400;line-height:1.3; }
#checkin-dialog.native-checkin-popup #checkin-action { display:block;width:100%;min-height:48px;margin:14px 0 0;padding:10px 12px;border:1px solid #3d3934;border-radius:12px;background:#292724;color:#b8b2a9;font-size:14px;font-weight:500;line-height:1.3;opacity:1;cursor:not-allowed; }
#checkin-dialog.native-checkin-popup #checkin-action:enabled { border-color:var(--checkin-gold);background:var(--checkin-gold);color:#24190c;font-weight:700;cursor:pointer; }
#checkin-dialog.native-checkin-popup .checkin-popup-capability { margin:8px 0 0;font-size:11px;line-height:1.4;color:var(--checkin-soft); }
#checkin-dialog.native-checkin-popup [hidden],#checkin-dialog.native-checkin-popup .checkin-popup-capability:empty { display:none; }
@media(max-width:360px) {
  .home-view .search { gap:5px;padding-inline:5px; }
  .home-view .search input { appearance:none;padding:0;font-size:12px; }
  #checkin-dialog.native-checkin-popup .checkin-popup-heading h2 { margin-inline-end:6px;font-size:18px; }
  #checkin-dialog.native-checkin-popup .checkin-popup-heading button { width:44px;padding-inline:12px; }
  /* The native grid stays four columns. Long Web capability text may wrap, never widen it. */
  #checkin-dialog.native-checkin-popup .native-reward-day { min-width:0; }
  #checkin-dialog.native-checkin-popup #checkin-action { overflow-wrap:anywhere; }
}

/* Logical alignment for the native RTL interface; authored text remains unchanged. */
#app-shell[dir="rtl"] .native-profile-page .profile-identity{margin-left:0;margin-right:12px;}
#app-shell[dir="rtl"] .native-profile-page .account-entry{margin-left:0;margin-right:8px;}
#app-shell[dir="rtl"] .profile-chevron{transform:rotate(180deg);}
#app-shell[dir="rtl"] .profile-benefit>span{margin-left:5px;margin-right:7px;}
#app-shell[dir="rtl"] .native-profile-page .profile-menu>button>span,#app-shell[dir="rtl"] .native-profile-page .profile-menu>a>span{margin-left:10px;margin-right:14px;}
#app-shell[dir="rtl"] .native-secondary-dialog .secondary-heading>button>img,#app-shell[dir="rtl"] .ss-page-heading button>.ss-chevron{transform:none;}
#app-shell[dir="rtl"] .ss-sheet-heading h2{margin-left:0;margin-right:12px;}
#app-shell[dir="rtl"] .ss-chevron:not(.ss-page-heading .ss-chevron){transform:rotate(180deg);}
#app-shell[dir="rtl"] .ss-menu-row>span:not(.ss-info-icon){margin-left:14px;margin-right:10px;}
#app-shell[dir="rtl"] .native-library-page .library-copy{margin-left:0;margin-right:10px;}
#app-shell[dir="rtl"] .library-select{margin-right:0;margin-left:10px;}
#app-shell[dir="rtl"] .secondary-language-row{text-align:right;}

/* A centered native popup wraps its contents; inset:0 + height:auto stretched it. */
dialog#checkin-dialog.native-checkin-popup{height:fit-content;}
#language-dialog .secondary-language-label{text-align:left;}
#language-dialog .secondary-language-label strong,#language-dialog .secondary-language-label small{text-align:inherit;}
#app-shell[dir="rtl"] #language-dialog .secondary-language-label{text-align:right;}
@media(min-width:761px) {
  /* The sticky player column owns a stacking context on wide screens. */
  body.watching.unlock-sheet-open .player-column { z-index:75; }
  .player-state.is-locked:not(.unlock-collapsed) { z-index:20; }
}
/* Exact Android33 system info bitmap supplies its original alpha silhouette. */
.ss-info-icon{border:0;border-radius:0;background:currentColor;mask:url("assets/native-info.png") center/contain no-repeat;-webkit-mask:url("assets/native-info.png") center/contain no-repeat;}

#app-shell[dir="rtl"] .native-profile-page .profile-vip,#app-shell[dir="rtl"] .native-profile-page .profile-wallet,#app-shell[dir="rtl"] .native-profile-page .profile-menu button,#app-shell[dir="rtl"] .ss-menu-row{text-align:right;}

.player-state-cover {
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  background:#080808;pointer-events:none;
}
.player-lock-vip {
  position:absolute;z-index:11;top:12px;inset-inline-start:14px;padding:4px 9px;
  border:1px solid #967149;border-radius:7px;background:#211a10;color:#f5d48a;
  font-size:12px;font-weight:800;line-height:1.2;
}
.player-title-row { display:flex;align-items:baseline;gap:8px;min-width:0; }
.player-title-row > h2 { flex:1;min-width:0; }
#player-story-category { height:auto;min-height:22px;white-space:normal;overflow-wrap:anywhere; }
.player-display-alias { color:#c7c2b9; }
body .player-collection-button > img.player-collection-stack {
  position:absolute;inset-inline-start:11px;inset-inline-end:auto;width:17px;height:17px;opacity:1;filter:none;
}
.player-collection-button > .player-collection-arrow { inset-inline-end:10px;inset-inline-start:auto; }
.player-state.is-playback-error { background:#0009; }
.player-state.is-playback-error .player-state-card {
  width:min(320px,100%);max-height:100%;overflow-y:auto;padding:18px 20px 12px;
  background:#1a191df5;border-color:#ffffff15;
}
.player-state.is-playback-error .player-state-icon {
  display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 10px;opacity:1;
}
.player-state.is-playback-error h2 { margin:0 0 15px;font-size:18px; }
.player-state.is-playback-error .button,
.player-state.is-playback-error .unlock-browse { width:100%;min-height:44px;border:0;border-radius:9px;font-size:14px; }
.player-state.is-playback-error #player-state-action { background:#f6f6f8;color:#151519; }
.player-state.is-playback-error #player-state-episodes { margin-top:8px;background:#343338;color:#f5f5f8; }
.player-state.is-playback-error .unlock-browse { display:block;margin-top:4px;background:none;color:#d8d6dd; }
.player-state.is-locked.unlock-collapsed { background:#0009; }
.player-state.is-locked.unlock-collapsed .player-state-card {
  width:min(412px,100%);margin:0;padding:0 6px;border:0;background:none;text-align:center;
}
.player-lock-mascot { display:none; }
.player-state.is-locked.unlock-collapsed .player-lock-mascot {
  display:block;width:100px;height:100px;margin:0 auto 10px;
  background:url("assets/native-playback-error-projector.webp") center/contain no-repeat;
  filter:drop-shadow(0 8px 18px #0009);
}
.player-state.is-locked.unlock-collapsed .player-state-card > h2 { margin:0 0 16px;padding:0;font-size:22px; }
.player-state.is-locked.unlock-collapsed #player-unlock-open {
  min-height:48px;background:linear-gradient(110deg,#f9e3a7,#e9bd6b);color:#251904;
  border-color:#f8dda3;font-size:15px;font-weight:750;
}
.locked-install-entry { margin-top:10px; }
.locked-install-entry > button {
  display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;padding:8px 12px;
  border:1px solid #ffffff35;border-radius:10px;background:#151417df;color:#f6f2eb;font-size:14px;font-weight:700;
}
.locked-install-entry > button > img { width:17px;height:17px;flex:none; }
.locked-install-entry strong {
  padding:2px 7px;border-radius:999px;background:#f5d998;color:#342208;font-size:11px;white-space:nowrap;
}
.unlock-coin-confirm { display:grid;gap:9px;margin:12px 0; }
.unlock-coin-confirm .unlock-coin-balance {
  display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:none;margin:0;color:#d4cfc8;
}
.unlock-coin-balance > strong { color:#f5d998; }
.unlock-coin-confirm > button {
  width:100%;min-height:46px;border:1px solid #f8dda3;border-radius:10px;
  background:linear-gradient(110deg,#f9e3a7,#e9bd6b);color:#251904;font-size:14px;font-weight:750;
}
.unlock-auto-choice { display:flex;align-items:center;gap:9px;min-height:44px;color:#ded7ca;font-size:13px;line-height:1.4; }
.unlock-auto-choice > input { flex:none;accent-color:#f5d998;width:18px;height:18px; }
.unlock-coin-confirm #unlock-coin-message { margin:0;color:#d1cac0;font-size:12px; }
.unlock-coin-confirm #unlock-coin-message:empty { display:none; }
.player-state.is-locked.unlock-collapsed #player-state-action,
.player-state.is-locked.unlock-collapsed .unlock-browse { display:none; }
.player-state.is-locked:not(.unlock-collapsed) .player-state-card { max-height:88dvh; }
.unlock-vip-credential { display:none; }
.player-state.is-vip-gate:not(.unlock-collapsed) {
  justify-content:safe center;padding:62px 16px 70px;overflow-y:auto;
}
.player-state.is-vip-gate:not(.unlock-collapsed) .player-state-card {
  width:min(412px,100%);max-height:none;overflow:visible;margin:0;padding:46px 18px 18px;
  background:linear-gradient(222deg,#302619,#1d170e 38%,#0f0d0a 69%,#080807);
  border:1px solid #d9b673;border-radius:17px;text-align:center;
}
.player-state.is-vip-gate .player-unlock-close {
  top:calc(100% + 13px);right:50%;transform:translateX(50%);
  width:48px;height:48px;border:1px solid #a8864e;background:#131110;
}
.player-state.is-vip-gate .player-unlock-close > img {
  filter:brightness(0) saturate(100%) invert(85%) sepia(24%) saturate(839%) hue-rotate(348deg) brightness(101%);
}
.player-state.is-vip-gate:not(.unlock-collapsed) .player-state-card > h2 { padding:0;color:#ffe8ad; }
.player-state.is-vip-gate .unlock-episode-label { margin-top:7px; }
.player-state.is-vip-gate .unlock-vip-credential {
  display:grid;place-items:center;width:108px;height:54px;margin:16px auto 12px;border-radius:8px;
  background:linear-gradient(108deg,#fff4d7,#d6b47d);color:#362814;font-size:24px;font-weight:800;letter-spacing:.1em;
}
.player-state.is-vip-gate .unlock-price-boundary {
  justify-content:center;padding:0 8px;background:none;
}
.player-state.is-vip-gate .unlock-price-boundary > img {
  position:absolute;top:-40px;left:50%;width:84px;height:76px;transform:translateX(-50%);
}
.player-state.is-vip-gate .unlock-price-boundary strong { color:#f8db9b;font-size:15px; }
.player-state.is-vip-gate .unlock-vip-row {
  justify-content:center;min-height:48px;margin-top:16px;padding:8px 12px;
  background:linear-gradient(108deg,#fff4d7,#d6b47d);text-align:center;
}
.player-state.is-vip-gate .unlock-vip-row > img,
.player-state.is-vip-gate .unlock-vip-row small,
.player-state.is-vip-gate .unlock-browse { display:none; }
.player-state.is-locked #player-state-episodes { display:flex;justify-content:center;width:100%;min-height:44px;margin-top:8px;border:0;background:transparent;color:#dedde4;font-size:13px; }
.player-state.is-locked.unlock-collapsed #player-state-action,
.player-state.is-vip-gate #player-state-action { display:flex;justify-content:center; }
.player-state.is-locked.unlock-collapsed .player-state-card { max-height:calc(100% - 16px);overflow-y:auto; }
.player-buffering {
  position:absolute;z-index:9;top:50%;inset-inline-start:50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;gap:9px;max-width:calc(100% - 32px);padding:10px 14px;
  border-radius:20px;background:#151518d9;color:#f5f5f8;font-size:13px;line-height:20px;
  pointer-events:none;
}
.player-buffering-spinner { width:16px;height:16px;flex:none;border:2px solid #ffffff38;border-top-color:#fff;border-radius:50%;animation:player-buffering-spin .8s linear infinite; }
@keyframes player-buffering-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .player-buffering-spinner { animation:none; } }
@media(min-width:761px) { body.watching #player-progress { display:none; } }
.player-state.is-vip-gate .unlock-web-note { margin:12px 0 0; }
.unlock-coin-rail {
  display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/3);
  scroll-snap-type:x proximity;
}
.unlock-coin-card { min-width:0;scroll-snap-align:start; }
.unlock-coin-card > strong { margin-inline:4px;font-size:16px; }
.unlock-coin-price { padding-inline:3px;font-size:11px; }
.episode-grid .episode-button {
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  height:auto;min-width:0;padding:0;border:0;background:none;color:#f4f4f7;
}
.episode-button > .episode-tile {
  display:grid;place-items:center;position:relative;aspect-ratio:1;min-height:44px;
  border:1px solid #ffffff12;border-radius:7px;background:#26262a;color:inherit;font-weight:650;
}
.episode-button.active > .episode-tile { border-color:#fff;background:#f5f5f8;color:#17171a; }
.episode-button.locked .episode-number { position:absolute;top:4px;inset-inline-start:5px;font-size:10px;opacity:.82; }
.episode-button.locked .lock-icon { position:static;width:16px;height:16px;opacity:.55; }
.episode-button.locked.active .lock-icon { filter:brightness(0);opacity:.64; }
.episode-access {
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px 4px;
  padding:5px 0 0;font-size:10px;line-height:1.2;overflow-wrap:anywhere;
}
.episode-vip,.episode-coins { color:#e5c480; }
.episode-vip { font-weight:800; }
.episode-coins { display:inline-flex;align-items:center;gap:3px; }
.episode-coins > img { width:11px;height:11px;object-fit:contain; }
@media(max-width:760px) {
  body.watching.player-recovery .player-rail,
  body.watching.player-locked .player-rail,
  body.watching.player-recovery .player-info-overlay,
  body.watching.player-locked .player-info-overlay { visibility:hidden; }
  body.watching.for-you-mode.player-locked:not(.unlock-sheet-open) .back-button { display:grid; }
  body.watching.player-locked .back-button { width:44px;height:44px; }
  body.watching .player-lock-vip { inset-inline-start:58px;top:max(14px,env(safe-area-inset-top)); }
  body.watching.episode-sheet-open #player-state { visibility:hidden; }
  body.watching.episode-sheet-open .story-column {
    min-height:70vh;min-height:70dvh;background:#111113f7;
  }
  body.watching .episode-grid .episode-button,
  body.watching .episode-grid .episode-button.active { height:auto;padding:0;border:0;background:none;color:#f4f4f7; }
  body.watching .episode-grid .episode-button.locked .lock-icon { width:16px;height:16px; }
}

/* Desktop discovery treatment based on the approved YesTV reference. */
#catalog .poster-caption { display: contents; }
#catalog .poster-desktop-meta, #catalog .poster-play-hint, #desktop-search-clear { display: none; }
#catalog .poster-vip-badge {
  position:absolute;z-index:1;inset-block-start:6px;inset-inline-start:6px;
  padding:4px 7px;border-radius:5px;background:#ffdc92;color:#3d2609;
  font-size:10px;font-weight:700;line-height:1.2;
}
#catalog .poster-rank {
  position:absolute;z-index:2;inset-block-start:7px;inset-inline-start:7px;
  display:grid;place-items:center;min-inline-size:29px;block-size:29px;padding-inline:6px;
  border:1px solid #ffffff55;border-radius:50%;color:#f5f4f1;background:#18191ee8;
  box-shadow:0 2px 8px #0007;font:800 14px/1 var(--font);font-variant-numeric:tabular-nums;
}
#catalog .poster-rank--gold { color:#3a2405;background:linear-gradient(145deg,#fff4ce,#f4c768 66%,#d3912e); }
#catalog .poster-rank--silver { color:#282f3d;background:linear-gradient(145deg,#fafcff,#d0d8e8 66%,#a8b1c5); }
#catalog .poster-rank--bronze { color:#3d210f;background:linear-gradient(145deg,#ffdfc2,#dca47c 66%,#b7764d); }
#catalog .poster-rank + .poster-vip-badge { inset-inline-start:45px; }
#catalog .demo-badge {
  top:0;left:auto;right:auto;inset-inline-start:auto;inset-inline-end:0;
  padding:4px 6px;border:0;border-radius:3px;background:#f0c858;color:#090909;
  font-size:9px;font-weight:700;line-height:1.2;
}
.desktop-glyph { display:none; }
.desktop-glyph[data-pc-icon="crown"] { --glyph-image:url("assets/icon-crown.svg"); }
.desktop-glyph[data-pc-icon="gift"] { --glyph-image:url("assets/icon-gift.svg"); }
.desktop-glyph[data-pc-icon="settings"] { --glyph-image:url("assets/icon-settings-2.svg"); }
.desktop-glyph[data-pc-icon="flame"] { --glyph-image:url("assets/icon-flame.svg"); }
.desktop-glyph[data-pc-icon="trophy"] { --glyph-image:url("assets/icon-trophy.svg"); }
.desktop-glyph[data-pc-icon="shield-alert"] { --glyph-image:url("assets/icon-shield-alert.svg"); }
.desktop-glyph[data-pc-icon="sprout"] { --glyph-image:url("assets/icon-sprout.svg"); }
.desktop-glyph[data-pc-icon="download"] { --glyph-image:url("assets/icon-download.svg"); }

@media (min-width: 761px) {
  #app-shell { --desktop-home-header:72px; }
  .site-header {
    height: var(--desktop-home-header);
    background: #090909eb;
    gap:clamp(10px,1.65vw,24px);
  }
  .site-header nav { gap:clamp(5px,1.2vw,17px); }
  .site-header .nav-link {
    justify-content:center;min-width:44px;min-height:44px;padding-inline:5px;
    color:#bdb8b0;font-size:14px;font-weight:700;line-height:1.4;
    text-shadow:0 1px 3px #0008;
  }
  .site-header .nav-link.active { color:#f6f3ee;font-weight:700; }
  .site-header .nav-link.active::after {
    left:calc(50% - 10px);bottom:7px;width:20px;height:2px;border-radius:2px;
  }
  .site-header .desktop-glyph,
  .discovery-nav .desktop-glyph {
    display:block;flex:none;width:22px;height:22px;background:currentColor;
    mask:var(--glyph-image) center / contain no-repeat;
    -webkit-mask:var(--glyph-image) center / contain no-repeat;
  }
  .site-header .header-wallet>img,
  .site-header .header-checkin>.native-icon,
  .site-header #open-settings>img,
  .discovery-nav .mobile-category-icon { display:none; }
  .site-header .header-wallet,
  .site-header .header-checkin,
  .site-header #open-settings {
    width:44px;height:44px;min-width:44px;padding:0;border-radius:10px;color:#c9c4bb;
    place-items:center;
  }
  .site-header .header-wallet { color:var(--accent); }
  .site-header .header-wallet:hover,
  .site-header .header-checkin:hover,
  .site-header #open-settings:hover { background:#ffffff12;color:#fff2d7; }
  .site-header .search input {
    font-size:14px;line-height:1.4;
  }
  .site-header .search .search-icon,
  .site-header .search button>img { width:18px;height:18px; }
  .home-view #discover-view .discovery-nav .desktop-glyph {
    width:18px;height:18px;
  }
  .home-view #discover-view .discovery-nav button.active .desktop-glyph {
    color:var(--accent);
  }
  .home-view .site-header .search {
    width: clamp(210px, 24vw, 338px);
    min-width: 168px;
    gap: 7px;
    padding-inline: 13px 2px;
    background: #ffffff0a;
  }
  .home-view .search input { flex: 1; }
  .home-view .search input::-webkit-search-cancel-button { appearance: none; }
  .home-view .search button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
  }
  .home-view .search button:hover { background: #ffffff12; }
  .home-view .search #desktop-search-clear:not([hidden]) { display: grid; }
  .home-view #desktop-search-clear img { width: 15px; height: 15px; }
  .home-view #desktop-search-clear:focus-visible,
  .home-view .search button[type="submit"]:focus-visible { outline-offset: -3px; }
  .home-view #discover-view .discovery-nav {
    top: var(--desktop-home-header);
    gap: clamp(18px, 2vw, 32px);
    margin: 0 0 10px;
    padding: 0 2px;
    background: #090909f2;
  }
  .home-view #discover-view .discovery-nav button {
    min-height: 48px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 3px #0008;
    gap:8px;
  }
  .home-view #discover-view .discovery-nav button.active::after {
    inset-inline: calc(50% - 11px) auto;
    bottom: 1px;
    width: 22px;
    height: 2px;
  }
  .home-view #discover-view .discovery-nav button:focus-visible { outline-offset: -2px; }

  .home-view #discover-view .featured-shell { margin-bottom: 18px; }
  .home-view #discover-view .featured-carousel,
  .home-view #discover-view .featured-card { border-radius: 12px; }
  .home-view #discover-view .featured-card {
    height: clamp(338px, min(31vw, 47svh), 420px);
    background: #171411;
  }
  .home-view #discover-view .hero-backdrop { filter: blur(12px); opacity: .42; }
  .home-view #discover-view .hero-poster {
    --desktop-art-mask: linear-gradient(90deg, transparent, #000 18%);
    left: auto;
    right: auto;
    inset-inline-end: 0;
    width: 69%;
    object-position: 50% 30%;
    mask-image: var(--desktop-art-mask);
    -webkit-mask-image: var(--desktop-art-mask);
  }
  .home-view #app-shell[dir="rtl"] #discover-view .hero-poster {
    --desktop-art-mask: linear-gradient(270deg, transparent, #000 18%);
  }
  .home-view #discover-view .hero-shade {
    --desktop-art-shade: linear-gradient(90deg, #090909 0%, #090909ed 24%, #09090963 58%, #09090900 88%);
    background: var(--desktop-art-shade), linear-gradient(0deg, #050505e8, #05050535 26%, transparent 55%);
  }
  .home-view #app-shell[dir="rtl"] #discover-view .hero-shade {
    --desktop-art-shade: linear-gradient(270deg, #090909 0%, #090909ed 24%, #09090963 58%, #09090900 88%);
  }
  .home-view #discover-view .hero-copy {
    left: auto;
    right: auto;
    inset-inline-start: 5%;
    top: 47%;
    width: 52%;
    max-width: 580px;
    text-align: start;
  }
  .home-view #discover-view .hero-eyebrow { margin-bottom: 11px; }
  .home-view #discover-view .hero-title {
    font-size: clamp(28px, 3.5vw, 51px);
    line-height: 1.1;
  }
  .home-view #discover-view .hero-meta { margin-top: 12px; }
  .home-view #discover-view .hero-synopsis {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  .home-view #discover-view .hero-synopsis:empty { display: none; }
  .home-view #discover-view .hero-cta {
    gap: 7px;
    min-height: 44px;
    margin-top: 16px;
    padding: 9px 18px;
    border: 1px solid #fff5db99;
    background: var(--accent);
    color: #17120b;
  }
  .home-view #discover-view .hero-play-icon { width: 18px; height: 18px; }
  .home-view #discover-view .hero-note { margin-top: 7px; }
  .home-view #discover-view .featured-card:hover .hero-cta,
  .home-view #discover-view .featured-card:focus-visible .hero-cta { background: #f8e4bb; }
  .home-view #discover-view .featured-controls {
    position: absolute;
    z-index: 2;
    inset-inline: 11px;
    bottom: 8px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    height: 44px;
    gap: 0;
    margin: 0;
    pointer-events: none;
  }
  .home-view #discover-view .featured-controls button { pointer-events: auto; }
  .home-view #discover-view .featured-controls > button {
    background: #090909b3;
    border-color: #ffffff39;
  }
  .home-view #discover-view .featured-controls > button:hover { background: #232323e6; }
  .home-view #discover-view #featured-page {
    position: absolute;
    width: 1px;
    min-width: 0;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .home-view #discover-view .featured-dots {
    justify-self: center;
    height: 36px;
    padding-inline: 7px;
    border-radius: 999px;
    background: #0909098c;
  }
  .home-view #discover-view .featured-dots button { width: 24px; height: 36px; }
  .home-view #discover-view .featured-dots button > span {
    width: 7px;
    height: 5px;
    border-radius: 4px;
    background: #b8b4ac;
    transition: width .16s, background .16s;
  }
  .home-view #discover-view .featured-dots button[aria-pressed="true"] > span {
    width: 17px;
    background: var(--accent);
  }
  .home-view #discover-view .featured-controls button:focus-visible { outline-offset: -3px; }
  .home-view #app-shell[dir="rtl"] #featured-prev img { transform: none; }
  .home-view #app-shell[dir="rtl"] #featured-next img { transform: rotate(180deg); }

  .home-view #discover-view .categories { gap: 6px; margin-bottom: 13px; }
  .home-view #discover-view .categories button {
    min-height: 36px;
    padding: 6px 14px;
    font-weight: 600;
  }
  .home-view #discover-view .arrivals-heading { margin-bottom: 11px; }
  .home-view #discover-view #catalog { gap: 16px 12px; }
  .home-view #catalog .poster-card {
    border: 1px solid #ffffff0f;
    border-radius: 9px;
    overflow: hidden;
    background: #101012;
    text-align: start;
    transition: border-color .18s, background .18s;
  }
  .home-view #catalog .poster-card:focus-visible {
    outline-offset: 2px;
    border-color: var(--accent);
  }
  .home-view #catalog .poster-image { border: 0; border-radius: 0; }
  .home-view #catalog .poster-badge { bottom: 8px; inset-inline: 9px; justify-content: flex-start; }
  .home-view #catalog .poster-badge > span:first-child,
  .home-view #catalog .poster-badge > span:empty { display: none; }
  .home-view #catalog .poster-caption { display: block; padding: 9px 10px 11px; }
  .home-view #catalog .poster-caption h3 {
    min-height: 2.6em;
    margin: 0 0 7px;
    color: #f5f2ec;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
  }
  .home-view #catalog .poster-meta { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
  .home-view #catalog .poster-meta > span {
    display: block;
    max-width: 100%;
    padding: 2px 5px;
    border-radius: 4px;
    background: #ffffff13;
    color: #d0ccc5;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .home-view #catalog .poster-meta > .poster-meta-separator,
  .home-view #catalog .poster-meta > .poster-mobile-meta { display: none; }
  .home-view #catalog .poster-play-hint {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    background: #090909cf;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.92);
    transition: opacity .18s, transform .18s;
  }
  .home-view #catalog .poster-play-hint img { width: 20px; height: 20px; }
  .home-view #catalog .poster-card:focus-visible .poster-play-hint {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .home-view .site-header { gap: 13px; }
  .home-view .site-header .search { flex: 1; width: auto; }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .home-view #discover-view #catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 761px) and (hover: hover) {
  .home-view #catalog .poster-card:hover { background: #19181a; border-color: #f0d39a80; }
  .home-view #catalog .poster-card:hover .poster-image > img { transform: scale(1.025); }
  .home-view #catalog .poster-card:hover .poster-play-hint {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .home-view #discover-view .featured-carousel { scroll-behavior: auto; }
  .home-view #discover-view .featured-dots button > span,
  .home-view #discover-view .hero-cta,
  .home-view #catalog .poster-card,
  .home-view #catalog .poster-image > img,
  .home-view #catalog .poster-play-hint { transition: none; }
  .home-view #discover-view .featured-card:hover .hero-cta,
  .home-view #catalog .poster-card:hover .poster-image > img { transform: none; }
}

/* Tab feedback follows the selection immediately and keeps tab widths fixed. */
@media (prefers-reduced-motion: no-preference) {
  .bottom-nav a { transition:background-color .16s ease,border-color .16s ease,color .16s ease; }
  .bottom-nav a > :is(img,svg,.upload-symbol) { transition:transform .12s ease; }
  .bottom-nav a:active > :is(img,svg,.upload-symbol) { transform:scale(.94); }
  .discovery-nav button,.library-tabs button { transition:color .16s ease; }
  .library-tabs .library-tab-label { transition:transform .16s ease; }
  .site-header .nav-link.active::after,
  .discovery-nav button.active::after,
  .library-tabs button.active::after { animation:tab-marker-in .16s ease-out; }
}
@keyframes tab-marker-in {
  from { opacity:.4;transform:scaleX(.65); }
  to { opacity:1;transform:scaleX(1); }
}

/* Web app installation */
.header-install { display:none; }
@media (min-width:1024px) {
  .site-header .header-install {
    display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;
    position:relative;border:0;border-radius:10px;background:none;color:#c9c4bb;
  }
  .site-header .header-install:hover { background:#ffffff12;color:#fff2d7; }
}
.install-promo-art {
  --install-art-size:40px;
  position:relative;isolation:isolate;display:block;flex:none;
  inline-size:var(--install-art-size);block-size:var(--install-art-size);
  border-radius:26%;
  background:url("assets/install-promo-motion.svg") center / contain no-repeat;
}
.install-promo-art::before {
  content:"";position:absolute;inset-block-start:20%;inset-inline-start:34%;
  inline-size:32%;block-size:34%;background:#291b11;
  clip-path:polygon(39% 0,61% 0,61% 58%,86% 34%,100% 49%,50% 100%,0 49%,14% 34%,39% 58%);
  pointer-events:none;
}
.install-promo-art::after {
  content:"";position:absolute;inset:1px;border:2px solid #ffd77a;border-radius:inherit;
  opacity:0;transform:scale(.94);pointer-events:none;
}
@media (prefers-reduced-motion:no-preference) {
  .install-promo-art::before { animation:install-promo-drop 2.8s ease-in-out infinite; }
  .install-promo-art::after { animation:install-promo-ripple 2.8s ease-out infinite; }
}
@keyframes install-promo-drop {
  0%, 44%, 100% { transform:translateY(0); }
  10% { transform:translateY(-18%); }
  23% { transform:translateY(34%); }
}
@keyframes install-promo-ripple {
  0%, 16% { opacity:0;transform:scale(.94); }
  24% { opacity:.86; }
  50%, 100% { opacity:0;transform:scale(1.24); }
}
.native-profile-page .profile-menu>button>.install-promo-art { flex:none;margin:0; }
.profile-menu .install-promo-art { --install-art-size:32px; }
.install-promo-title { display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;min-inline-size:0; }
.install-reward-chip {
  display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
  padding:3px 7px;border:1px solid #ffd48959;border-radius:999px;
  background:#3b2a17;color:#ffe2a4;font-size:.6875rem;font-weight:750;line-height:1.2;white-space:nowrap;
}
.install-reward-mini { position:absolute;inset-block-start:0;inset-inline-end:-2px;padding:2px 5px;background:#ffdc91;color:#36230e; }
.install-reward-detail {
  display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:9px 10px;border:1px solid #ffd48935;
  border-radius:10px;background:#332619;color:#ffe8be;font-size:.8125rem;line-height:1.45;
}
.install-reward-detail .install-reward-chip { flex:none; }
.product-dialog.install-dialog {
  --install-gutter:24px;
  inline-size:min(548px,calc(100% - 32px));
  max-block-size:calc(100vh - 32px);
  max-block-size:calc(100dvh - 32px);
  padding:0;
  overflow:hidden;
  border:1px solid #ffffff24;
  border-radius:22px;
  background:#1b1b1e;
  color:#f4f4f6;
}
.product-dialog.install-dialog[open] { display:flex;flex-direction:column; }
.install-dialog .dialog-heading {
  display:grid;
  flex:none;
  grid-template-columns:44px minmax(0,1fr) 44px;
  gap:12px;
  align-items:center;
  margin:0;
  padding:20px var(--install-gutter) 16px;
  border-block-end:1px solid #ffffff14;
}
.install-dialog .dialog-heading h2 {
  min-inline-size:0;
  margin:0;
  font-size:clamp(1.2rem,calc(1rem + .7vw),1.5rem);
  line-height:1.2;
  overflow-wrap:anywhere;
}
.install-dialog #install-intro { margin:0 0 14px;color:#c3c1c9;font-size:.8125rem;line-height:1.45;overflow-wrap:anywhere; }
.install-heading-icon.install-promo-art,
.install-suggestion-icon.install-promo-art { --install-art-size:44px; }
.install-dialog .dialog-heading button,
.install-suggestion-close {
  display:grid;
  place-items:center;
  inline-size:44px;
  block-size:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:12px;
  background:#ffffff0d;
}
.install-dialog .dialog-heading button:hover,
.install-suggestion-close:hover { background:#ffffff1c; }
.install-dialog .dialog-heading button img,
.install-suggestion-close img { inline-size:17px;block-size:17px;opacity:.85; }
.install-dialog-content {
  min-block-size:0;
  padding:18px var(--install-gutter) 22px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.install-presets { min-inline-size:0;margin:0;padding:0;border:0; }
.install-presets legend { max-inline-size:100%;margin-block-end:10px;padding:0;color:#f3f2f5;font-size:.875rem;font-weight:700;overflow-wrap:anywhere; }
.install-preset-options { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }
.install-preset {
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr;
  justify-items:center;
  gap:6px;
  min-inline-size:0;
  min-block-size:84px;
  margin:0;
  padding:9px 5px;
  border:1px solid #ffffff1b;
  border-radius:12px;
  background:#222226;
  color:#e0dfe5;
  font-size:.75rem;
  line-height:1.3;
  text-align:center;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.install-preset:hover { border-color:#f2d59572; }
.install-preset.is-selected { border-color:#e8cc8a;background:#f2d59516;color:#fff2d3; }
.install-preset:focus-within { outline:2px solid #ffe3a3;outline-offset:2px; }
.install-dialog :is(button,a):focus-visible,
.install-suggestion :is(button,a):focus-visible { outline:2px solid #ffe3a3;outline-offset:2px; }
.install-preset input { position:absolute;inset-block-start:8px;inset-inline-end:8px;inline-size:1px;block-size:1px;opacity:0; }
.install-preset img { inline-size:38px;block-size:38px;border-radius:9px;object-fit:contain; }
.install-preset span { min-inline-size:0;align-self:center; }
.install-preset-note { margin:10px 0 0;color:#cac7d1;font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere; }
.install-steps {
  list-style:none;
  margin:16px 0 0;
  padding:0 10px;
  border:1px solid #ffffff13;
  border-radius:13px;
  background:#151518;
  counter-reset:install-step;
}
.install-steps li {
  display:grid;
  grid-template-columns:26px minmax(0,1fr) 32px;
  align-items:center;
  gap:10px;
  padding:9px 0;
  color:#dedee2;
  font-size:.8125rem;
  line-height:1.45;
  overflow-wrap:anywhere;
  counter-increment:install-step;
}
.install-steps li + li { border-block-start:1px solid #ffffff13; }
.install-steps strong { display:block;color:#fff;font-size:.875rem;margin-block-end:2px; }
.install-steps li::before {
  content:counter(install-step);
  display:grid;
  place-items:center;
  inline-size:26px;
  block-size:26px;
  border-radius:50%;
  background:#ffffff13;
  color:#f0f0f2;
  font-size:.75rem;
  font-weight:700;
}
.install-step-icon {
  display:grid;
  place-items:center;
  inline-size:32px;
  block-size:32px;
  border:1px solid #ffffff18;
  border-radius:9px;
  background:#ffffff09;
  color:#dedee2;
}
.install-step-icon::before {
  content:"";inline-size:18px;block-size:18px;background:currentColor;
  mask:var(--install-glyph) center / contain no-repeat;
  -webkit-mask:var(--install-glyph) center / contain no-repeat;
}
[data-install-icon="menu"] { --install-glyph:url("assets/icon-ellipsis-vertical.svg"); }
[data-install-icon="share"] { --install-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-2M12 15V2m-4 4 4-4 4 4'/%3E%3C/svg%3E"); }
[data-install-icon="add"] { --install-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M8 12h8m-4-4v8'/%3E%3C/svg%3E"); }
[data-install-icon="home"] { --install-glyph:url("assets/icon-house.svg"); }
[data-install-icon="download"] { --install-glyph:url("assets/icon-download.svg"); }
[data-install-icon="phone"] { --install-glyph:url("assets/icon-smartphone.svg"); }
.install-primary {
  display:grid;
  place-items:center;
  min-block-size:44px;
  inline-size:100%;
  margin-block-start:14px;
  padding:9px 14px;
  border:0;
  border-radius:11px;
  background:#f2d595;
  color:#231a0b;
  font-size:.875rem;
  font-weight:700;
  line-height:1.35;
  text-align:center;
  overflow-wrap:anywhere;
}
.install-primary:hover,.install-suggestion-action:hover { background:#ffe6b2;color:#231a0b; }
.install-primary:disabled { opacity:.6;cursor:wait; }
.install-dialog .install-status:not(:empty) { margin:12px 0 0;padding:10px 12px;border:1px solid #e8cc8a4d;border-radius:11px;background:#f2d59510;color:#f6e6bf;font-size:.8125rem;line-height:1.45;overflow-wrap:anywhere; }
.install-suggestion {
  position:fixed;
  z-index:45;
  inset-inline-end:24px;
  inset-block-end:24px;
  inline-size:min(500px,calc(100% - 48px));
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto 44px;
  align-items:center;
  gap:10px;
  padding:10px;
  border:1px solid #ffffff2a;
  border-radius:16px;
  background:#202023;
  box-shadow:0 12px 28px #0007;
}
.install-suggestion-copy { display:grid;gap:3px;min-inline-size:0;color:#c7c7ce;font-size:.75rem;line-height:1.35;overflow-wrap:anywhere; }
.install-suggestion-copy strong { font-size:.875rem;color:#f8f8fb; }
.install-suggestion-action {
  min-block-size:44px;
  max-inline-size:12rem;
  padding:8px 12px;
  border:0;
  border-radius:10px;
  background:#f2d595;
  color:#231a0b;
  font-size:.8125rem;
  font-weight:700;
  line-height:1.35;
  overflow-wrap:anywhere;
}
@media (max-width:760px) {
  .product-dialog.install-dialog {
    --install-gutter:16px;
    inset:auto 0 0;
    margin:0;
    inline-size:100%;
    max-inline-size:none;
    max-block-size:calc(100dvh - env(safe-area-inset-top) - 8px);
    border-radius:22px 22px 0 0;
  }
  .install-dialog .dialog-heading {
    gap:9px;
    padding:15px max(var(--install-gutter),env(safe-area-inset-right)) 13px max(var(--install-gutter),env(safe-area-inset-left));
  }
  .install-dialog-content {
    padding:14px max(var(--install-gutter),env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(var(--install-gutter),env(safe-area-inset-left));
  }
  .install-suggestion {
    inset-inline:16px;
    inset-block-end:calc(var(--native-bottom) + 80px);
    inline-size:auto;
  }
  body.watching .install-suggestion {
    inset-block-start:calc(66px + env(safe-area-inset-top));
    inset-block-end:auto;
  }
}
@media (max-width:480px) {
  .install-preset-options { grid-template-columns:repeat(auto-fit,minmax(min(100%,max(8rem,calc(50% - 4px))),1fr)); }
  .install-preset {
    grid-template-columns:34px minmax(0,1fr);
    grid-template-rows:auto;
    justify-items:start;
    align-items:center;
    gap:8px;
    min-block-size:52px;
    padding:7px 9px;
    text-align:start;
  }
  .install-preset img { inline-size:34px;block-size:34px; }
  .install-suggestion {
    grid-template-columns:44px minmax(0,1fr) 44px;
    grid-template-areas:"icon copy close" "action action action";
  }
  .install-suggestion-icon { grid-area:icon; }
  .install-suggestion-copy { grid-area:copy; }
  .install-suggestion-close { grid-area:close; }
  .install-suggestion-action { grid-area:action;max-inline-size:none; }
}
@media (max-height:440px) and (orientation:landscape) {
  .install-dialog .dialog-heading { padding-block:10px; }
  .install-dialog-content { padding-block-start:12px; }
}

/* Creator upload and review status. */
#upload-dialog .upload-hero { display:flex;flex-direction:column;align-items:center;padding:24px 20px 20px;margin-top:18px;border:1px solid #6f5a39;border-radius:24px;background:linear-gradient(135deg,#30271c,#171514 60%,#111114);text-align:center; }
#upload-dialog .upload-hero-icon { display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:linear-gradient(135deg,#ffedba,#e9bb60);color:#241b0c;box-shadow:0 4px 16px #b8873440; }
#upload-dialog .upload-hero-icon svg { width:29px;height:29px; }
#upload-dialog .upload-hero h3 { margin:15px 0 0;font-size:23px;font-weight:700; }
#upload-dialog .upload-hero .upload-spec { margin:7px 0 0; }
#upload-dialog .upload-hero #web-upload-choose { width:100%;margin-top:18px; }
#upload-dialog #web-upload-play:disabled, #upload-dialog .secondary-video-preview[hidden] { display:none; }
#upload-dialog #web-upload-play, #upload-dialog #web-upload-discard { color:#e2dfd9;background:#201f1d;border:1px solid #4c463a; }
#upload-dialog .secondary-title-input { padding:12px;border:1px solid #4c463a;border-radius:12px;background:#171615; }
#upload-dialog #web-upload-status { min-height:1.4em; }
#web-upload-progress { display:block;width:100%;margin-top:14px;accent-color:#e9bb60; }
#upload-dialog>#web-upload-login { flex:none;width:100%;height:52px;min-height:52px;margin:0; }
#web-upload-submissions { margin-top:20px;padding-top:14px;border-top:1px solid #514734; }
.upload-submissions-header { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.upload-submissions-header h4 { margin:0;font-size:15px; }
#web-upload-refresh { color:var(--gold,#f2ce82);background:none;border:0;font:inherit;padding:8px 0; }
#web-upload-history { list-style:none;margin:8px 0 0;padding:0; }
#web-upload-history li { display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-top:1px solid #ffffff17; }
#web-upload-history li>span:first-child { min-width:0;overflow-wrap:anywhere; }
#web-upload-history li>span:last-child { color:#e9c786;font-size:12px;text-align:end; }
.bottom-nav .upload-symbol { border:1px solid #ffe8b1;border-radius:13px;background:linear-gradient(135deg,#ffedba,#e9bb60);box-shadow:0 3px 10px #b8873440; }
@media (prefers-reduced-motion: no-preference) { #upload-dialog #web-upload-choose:active { transform:scale(.98); } }

/* Reserve the real feed geometry while catalog and episode data arrive. */
.home-view #discover-view .feed-placeholder-hero {
  background:linear-gradient(145deg,#202124,#141416 65%,#090909);
}
.feed-placeholder-hero .hero-copy,
#catalog .feed-placeholder-card .poster-caption {
  display:grid;
  gap:8px;
}
.feed-placeholder-hero .hero-copy > span,
.feed-placeholder-card .poster-caption > span,
.feed-placeholder-rail > span,
.feed-placeholder-footer > span,
.feed-placeholder-episodes span,
.feed-placeholder-episodes i {
  display:block;
  min-width:0;
  border-radius:8px;
  background:#2b2c30;
}
.feed-placeholder-hero .hero-copy > span:nth-child(1) { width:76%;height:clamp(20px,3vw,40px); }
.feed-placeholder-hero .hero-copy > span:nth-child(2) { width:52%;height:14px; }
.feed-placeholder-hero .hero-copy > span:nth-child(3) { width:104px;height:42px;margin-top:9px;border-radius:999px; }
.feed-placeholder-card .poster-image { background:#202124; }
.feed-placeholder-card .poster-image::after { display:none; }
#catalog .feed-placeholder-card .poster-caption { padding:10px; }
.feed-placeholder-card .poster-caption > span { width:88%;height:10px; }
.feed-placeholder-card .poster-caption > span:nth-child(2) { width:70%; }
.feed-placeholder-card .poster-caption > span:nth-child(3) { width:38%;height:8px; }
.feed-placeholder-filter { width:80px;height:36px;border-radius:999px;background:#202124; }
.feed-placeholder-filter + .feed-placeholder-filter { width:62px; }
.feed-loading-status { margin:0 0 12px;color:#bcbcc3;font-size:13px; }
#detail-loading { position:relative;pointer-events:none; }
#detail-loading .feed-loading-status { position:absolute;inset-inline:16px;inset-block-start:18px;text-align:center; }
#detail-loading .feed-placeholder-media { background:linear-gradient(155deg,#1b1c20,#101012); }
.feed-placeholder-rail {
  position:absolute;inset-inline-end:14px;inset-block-end:25%;
  display:grid;gap:14px;
}
.feed-placeholder-rail > span { width:30px;height:30px;border-radius:50%; }
.feed-placeholder-footer {
  position:absolute;inset-inline:18px;inset-block-end:16px;
  display:grid;gap:10px;
}
.feed-placeholder-footer > span:nth-child(1) { width:45%;height:14px; }
.feed-placeholder-footer > span:nth-child(2) { width:76%;height:30px; }
.feed-placeholder-footer > span:nth-child(3) { height:3px; }
.feed-placeholder-episodes { display:grid;gap:14px;padding-block:16px; }
.feed-placeholder-episodes > span { width:68%;height:20px; }
.feed-placeholder-episodes > span:nth-child(2) { width:42%;height:12px; }
.feed-placeholder-episodes > div { display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-block-start:12px; }
.feed-placeholder-episodes i { height:44px; }
@media (max-width:760px) {
  .home-view #discover-view .feed-placeholder-hero { margin-block-end:29px; }
  .feed-placeholder-hero .hero-copy { justify-items:center;padding-block-end:25px; }
  .feed-placeholder-hero .hero-copy > span:nth-child(3) { width:150px;height:49px; }
  .feed-placeholder-episodes { display:none; }
  #detail-view.feed-swipe-opening #detail-loading .feed-placeholder-media { background:transparent; }
}
@media (prefers-reduced-motion:no-preference) {
  .feed-placeholder-hero .hero-copy,
  #catalog .feed-placeholder-card,
  .feed-placeholder-rail,
  .feed-placeholder-footer,
  .feed-placeholder-episodes { animation:feed-placeholder-pulse 1.65s ease-in-out infinite alternate; }
}
@keyframes feed-placeholder-pulse { from { opacity:.65; } to { opacity:1; } }


@media (min-width: 761px) {
/* Desktop storefront. Keep navigation, featured artwork and shelves on one frame. */
@media (min-width: 761px) {
  :root {
    --desktop-frame-inset: max(clamp(22px, 3.1vw, 56px), calc(50% - 800px));
    --desktop-header-height: 64px;
    scroll-padding-block-start: calc(var(--desktop-header-height) + 52px);
  }

  #app-shell { --desktop-home-header: var(--desktop-header-height); }
  .site-header {
    padding-inline: var(--desktop-frame-inset);
    gap: clamp(5px, 1vw, 16px);
    background: #0b0b0cf7;
  }
  .site-header nav {
    min-width: 0;
    gap: clamp(2px, 1.1vw, 17px);
  }
  .site-header .nav-link {
    flex: none;
    padding-inline: clamp(5px, .55vw, 10px);
    font-size: 14px;
  }
  .site-header .nav-link.active::after { bottom: 5px; }
  .site-header .search,
  .home-view .site-header .search {
    width: clamp(160px, 25vw, 400px);
    min-width: 0;
    max-width: 400px;
    min-height: 42px;
    height: 42px;
    padding-inline: 12px 3px;
    gap: 6px;
    border-radius: 11px;
  }
  .site-header .search button,
  .home-view .site-header .search button {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .site-header .header-login-entry {
    padding-inline: 11px;
    border-radius: 10px;
    background: #ffffff09;
  }
  .site-header .header-login-entry:hover { background: #ffffff18; }
  .site-header #open-settings { display: grid; opacity: 1; }
  .site-header .desktop-glyph { width: 20px; height: 20px; }
  .site-header .header-install > .install-promo-art { --install-art-size: 30px; }

  .home-view main { max-width: none; }
  .home-view #discover-view { padding-inline: var(--desktop-frame-inset); }
  .home-view .site-footer {
    max-width: 1600px;
    margin-inline: var(--desktop-frame-inset);
  }
  .home-view #discover-view .discovery-nav {
    min-height: var(--home-tabs-height);
    margin: 0 0 12px;
    padding-inline: 0;
    gap: clamp(6px, 1.3vw, 22px);
    background: #0b0b0cf7;
  }
  .home-view #discover-view .discovery-nav button {
    min-height: 45px;
    padding-inline: clamp(8px, 1vw, 14px);
  }
  .home-view #discover-view .discovery-nav button.active::after {
    inset-inline: 12px;
    width: auto;
  }

  .home-view #discover-view .featured-shell { margin-bottom: 14px; }
  .home-view #discover-view .featured-shell:has(#featured[hidden]) { margin-bottom: 0; }
  .home-view #discover-view .featured-card {
    height: clamp(260px, min(29vw, 39svh), 410px);
  }
  .home-view #discover-view .hero-poster {
    width: 71%;
    object-position: 50% 24%;
  }
  .home-view #discover-view .hero-copy {
    inset-inline-start: clamp(60px, 4vw, 76px);
    top: 48%;
    width: 52%;
    max-width: 625px;
    padding-block: 0;
  }
  .home-view #discover-view .hero-title {
    font-size: clamp(27px, 3.15vw, 52px);
    -webkit-line-clamp: 2;
  }
  .home-view #discover-view .hero-eyebrow { margin-bottom: 7px; }
  .home-view #discover-view .hero-meta { margin-top: 8px; }
  .home-view #discover-view .hero-synopsis {
    max-width: 47ch;
    margin-top: 6px;
    font-size: 13px;
  }
  .home-view #discover-view .hero-cta { min-width: 102px; margin-top: 12px; }
  .home-view #discover-view .featured-controls { inset-inline: 10px; bottom: 7px; }
  .home-view #discover-view .featured-controls > button { background: #101010bb; }
  .home-view #discover-view .featured-dots { background: #101010ad; }

  .home-view #discover-view .categories { gap: 7px; margin-bottom: 12px; }
  .home-view #discover-view .categories button {
    min-height: 34px;
    border-radius: 8px;
    padding-inline: 12px;
    font-size: 12px;
  }
  .home-view #discover-view .arrivals-heading {
    align-items: baseline;
    margin-bottom: 10px;
  }
  .home-view #discover-view .arrivals-heading h2 {
    font-size: clamp(19px, 1.65vw, 25px);
    line-height: 1.24;
  }
  .home-view #discover-view .arrivals-heading > span { font-size: 12px; }
  .home-view #discover-view #catalog {
    grid-template-columns: repeat(auto-fill, minmax(clamp(156px, 13.2vw, 184px), 1fr));
    gap: 16px clamp(10px, 1vw, 16px);
  }
  .home-view #catalog .poster-card { border-radius: 10px; }
  .home-view #catalog .poster-caption { padding: 9px 11px 11px; }
  .home-view #catalog .poster-meta > span { font-size: 11px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  :root { --desktop-header-height: 90px; }

  .site-header,
  .home-view .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(4, auto);
    grid-template-rows: 40px 44px;
    row-gap: 1px;
    align-content: center;
  }
  .site-header nav {
    grid-column: 1 / -1;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header .nav-link { min-height: 40px; }
  .site-header .nav-link:focus-visible { outline-offset: -3px; }
  .site-header .search,
  .home-view .site-header .search {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

@media (min-width: 761px) and (max-height: 690px) {
  .home-view #discover-view .hero-copy { top: 46%; }
  .home-view #discover-view .hero-synopsis { -webkit-line-clamp: 1; }
}

/* Desktop theater. Keep the portrait video intact and the PC controls in view. */
@media (min-width: 761px) {
  body.watching #detail-view {
    --theater-gap: clamp(16px, 2vw, 28px);
    --theater-media-height: clamp(320px, calc(100vh - 226px), 776px);
    --theater-media-height: clamp(320px, calc(100dvh - 226px), 776px);
    max-width: 1224px;
    margin-inline: auto;
    padding: 8px clamp(20px, 3.15vw, 36px) 40px;
  }

  #detail-view > .back-button {
    margin-block: 0 8px;
    margin-inline: -6px 0;
    color: #c5c0b9;
    font-size: 13px;
  }

  #detail-view .detail-layout {
    grid-template-columns: minmax(0, 1fr) clamp(252px, 32%, 354px);
    gap: var(--theater-gap);
  }

  #detail-content .player-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    top: calc(var(--desktop-home-header, 72px) + 12px);
  }

  #detail-content .player-wrap,
  #detail-content .playback-note,
  #detail-content .keyboard-help {
    grid-column: 1 / -1;
  }

  #detail-view .player-wrap:not(:fullscreen) {
    height: var(--theater-media-height);
    max-height: none;
    min-height: 0;
    border-radius: 12px;
  }

  #detail-content .player-info-overlay {
    padding: 0 12px 10px;
  }

  #detail-content .player-title-row {
    display: none;
  }

  #detail-content .player-collection-button {
    justify-content: center;
    border: 1px solid #ffffff1c;
    background: #161617;
    color: #e1ded8;
    text-align: start;
  }

  #detail-content .player-collection-button:hover {
    background: #242323;
  }

  #detail-content :is(.player-toolbar, .playback-controls) {
    margin-block: 0;
  }

  #detail-content .player-toolbar {
    min-width: 0;
    gap: 8px;
  }

  #detail-content .player-toolbar > span {
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  #detail-content :is(.player-toolbar .button, .fullscreen-button) {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  #detail-content .playback-note {
    margin: 0;
    min-height: 0;
    font-size: 12px;
  }

  #detail-content .playback-note:empty {
    display: none;
  }

  #detail-content .keyboard-help {
    margin-block: 0;
    text-align: start;
  }

  #detail-view :is(.story-column, .feed-placeholder-episodes) {
    padding: 16px;
    border: 1px solid #ffffff16;
    border-radius: 12px;
    background: #141415;
  }

  #detail-view .story-column {
    top: calc(var(--desktop-home-header, 72px) + 12px);
  }

  #detail-view .episode-sheet-top {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  #detail-view #episode-sheet-cover:not([hidden]) {
    display: block;
    flex: none;
    width: 60px;
    height: 84px;
    border-radius: 7px;
    object-fit: cover;
  }

  #detail-view .story-column h1 {
    font-size: clamp(19px, 1.8vw, 27px);
    line-height: 1.24;
    letter-spacing: -.02em;
    text-wrap: initial;
  }

  #detail-view .detail-category {
    margin-block: 0 3px;
    font-size: 11px;
    letter-spacing: .03em;
  }

  #detail-view .detail-meta {
    margin-block: 5px 0;
    line-height: 1.4;
  }

  #detail-view .favorite-button {
    margin-block: 12px 0;
    min-width: 0;
  }

  #detail-view .episode-heading {
    margin-block: 14px 8px;
    padding-block-start: 12px;
    scroll-margin-block-start: 0;
  }

  #detail-view .episode-heading h2 {
    font-size: 17px;
    font-weight: 650;
  }

  #detail-view .episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    align-items: start;
    gap: 8px;
    max-height: min(36vh, 344px);
    padding: 2px;
    overscroll-behavior-y: contain;
    scrollbar-gutter: auto;
  }

  #detail-view .episode-tile {
    min-height: 44px;
  }

  #detail-view .episode-hint {
    margin-block-start: 10px;
    color: #c1bdb7;
    line-height: 1.5;
  }
}
}

.web-pay-dialog{width:min(440px,calc(100vw - 32px));max-height:min(90vh,760px);padding:0;border:1px solid #454039;border-radius:20px;background:#1a1918;color:#f3f0e9;box-shadow:0 20px 80px #0009}
.web-pay-dialog::backdrop{background:#000b}.web-pay-body{padding:24px}.web-pay-close{position:absolute;right:16px;top:12px}.web-pay-close button{background:transparent;border:0;color:#e9e5da;font-size:28px;cursor:pointer}.web-pay-kicker{color:#e8c36b;font-size:11px;letter-spacing:.09em;font-weight:700}.web-pay-body h2{margin:10px 0;font-size:24px}.web-pay-info{color:#b9b6ad;font-size:13px;line-height:1.5}.web-pay-summary{font-size:16px;font-weight:700}.web-pay-form{display:grid;gap:12px}.web-pay-form label{display:grid;gap:6px;color:#d5d0c5;font-size:13px}.web-pay-form input{width:100%;box-sizing:border-box;border:1px solid #48433b;border-radius:10px;background:#242321;color:#fff;font:inherit;padding:11px}.web-pay-submit{margin-top:6px}.web-pay-pending{font-size:14px;line-height:1.5}.web-pay-link{display:block;color:#f0ce7b;margin:12px 0}.web-pay-refresh{margin-top:6px}
.web-pay-submit,.web-pay-check{border:0;border-radius:12px;background:#e8c36b;color:#17140d;font:inherit;font-size:14px;font-weight:600;padding:12px 18px;cursor:pointer}
.web-pay-method-step[hidden],.web-pay-form[hidden]{display:none!important}
.web-pay-method-step{display:grid;gap:14px;margin-top:20px}
.web-pay-method-label{margin:0;color:#c8c3b8;font-size:13px;font-weight:600}
.web-pay-method-card{display:flex;align-items:center;gap:13px;min-height:72px;padding:14px;border:1px solid #b99d5c;border-radius:14px;background:#26231d;cursor:pointer}
.web-pay-method-card:focus-within{outline:2px solid #f4d884;outline-offset:3px}
.web-pay-method-card input{order:3;flex:none;width:18px;height:18px;margin:0 0 0 auto;accent-color:#e8c36b}
.web-pay-card-icon{order:1;display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:#3a3224;color:#f1d38b}
.web-pay-card-icon svg{width:23px;height:23px}
.web-pay-method-copy{order:2;display:grid;gap:4px;min-width:0}
.web-pay-method-title{color:#f5f1e9;font-size:15px;line-height:1.3}
.web-pay-method-description{color:#c3bcb0;font-size:12px;line-height:1.4}
.web-pay-method-note{margin:0;color:#a9a49a;font-size:12px;line-height:1.5}
.web-pay-method-next{width:100%;min-height:46px;border:0;border-radius:12px;background:#e8c36b;color:#17140d;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.web-pay-change{justify-self:start;padding:0;border:0;background:transparent;color:#edcf86;font:inherit;font-size:13px;cursor:pointer}
.web-pay-method-next:focus-visible,.web-pay-change:focus-visible{outline:2px solid #f4d884;outline-offset:3px}
.profile-membership-status{display:block;text-align:left;font-size:13px;line-height:1.4;margin:4px 0 10px;opacity:.85}.profile-membership-status[hidden]{display:none}

/* Privacy choices: shared by first visit and the privacy settings page. */
.optional-consent-detail{color:#c9c1bc;font-size:13px;line-height:1.45;margin:0 0 3px}
.optional-consent-modal{width:min(92vw,460px);max-height:90dvh;overflow:auto;padding:0;border:1px solid #56504a;border-radius:18px;background:#181715;color:#f6f2ea}
.optional-consent-modal::backdrop{background:#000b}.optional-consent-modal>div{padding:24px}
.optional-consent-modal h2{margin:0 0 12px;font-size:21px}.optional-consent-modal p{color:#d3cbc0;line-height:1.5;font-size:14px}
.optional-consent-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.optional-consent-choice{min-height:44px;padding:10px;border-radius:10px;border:1px solid #e9c779;background:#f5da9a;color:#20190b;font-weight:700}
.optional-consent-close,.optional-consent-link{background:none;border:0;color:#ded5c6;text-decoration:underline;padding:12px}
.optional-consent-fields{display:grid;gap:12px;margin:18px 0}.optional-consent-fields label{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.4;color:#eee7da}
.optional-consent-fields input{width:19px;height:19px;flex:none;accent-color:#f5da9a}
.optional-consent-save{width:100%;min-height:44px;margin-top:10px;border:1px solid #696056;border-radius:10px;background:#26221d;color:#f6f2ea;font-weight:700}
.age-actions .optional-consent-customize,.age-card .optional-consent-customize{display:block;width:100%;min-height:32px;padding:8px;border:0;background:none;color:#d5c4a4;font-size:13px;text-decoration:underline;text-underline-offset:3px}

/* Payment method selection: calm, high-contrast neutral surfaces. */
.web-pay-dialog{border-color:#484848;border-radius:24px;background:#1b1b1b;color:#f5f5f5}
.web-pay-body{padding:24px}
.web-pay-body h2{margin:2px 32px 22px;text-align:center;font-size:20px;line-height:1.3}
.web-pay-close{right:12px;top:10px}
.web-pay-close button{width:40px;height:40px;padding:0;color:#c7c7c7;font-size:28px;line-height:1}
.web-pay-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 16px;border:1px solid #484848;border-radius:14px;color:#f6f6f6;font-size:16px;line-height:1.3}
.web-pay-summary-separator{display:none}
.web-pay-terms{margin:10px 4px 0;color:#aaa;text-align:center;font-size:12px;line-height:1.5}
.web-pay-method-step{gap:12px;margin-top:18px}
.web-pay-method-label{display:none}
.web-pay-method-card{position:relative;min-height:76px;padding:14px 16px;border:1px solid #505050;border-radius:14px;background:#292929}
.web-pay-method-card:hover{background:#303030}
.web-pay-method-card:focus-within{outline:2px solid #eee;outline-offset:3px}
.web-pay-method-card input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.web-pay-method-copy{order:1;gap:5px}
.web-pay-method-title{color:#f5f5f5;font-size:16px}
.web-pay-method-description{color:#b8b8b8;font-size:12px}
.web-pay-card-icon{order:2;width:44px;height:38px;margin-left:auto;border-radius:7px;background:#f5f5f5;color:#252525}
.web-pay-method-note{color:#aaa;font-size:12px}
.web-pay-method-next,.web-pay-submit,.web-pay-check{min-height:46px;border:0;border-radius:12px;background:#f1f1f1;color:#171717}
.web-pay-change,.web-pay-link{color:#e5e5e5}
.web-pay-form label{color:#d4d4d4}
.web-pay-form input{border-color:#515151;background:#292929;color:#fff}
.web-pay-method-next:focus-visible,.web-pay-change:focus-visible,.web-pay-submit:focus-visible,.web-pay-check:focus-visible{outline:2px solid #f1f1f1;outline-offset:3px}

/* Global checkout choices; keep the existing monochrome payment dialog. */
.web-pay-method-options{display:grid;gap:10px;min-width:0}
.web-pay-method-options .web-pay-method-card{margin:0}
.web-pay-region-field{display:grid;gap:8px;margin:14px 0 0;min-width:0;color:#f4f4f4;font-size:14px;line-height:1.45}
.web-pay-region-field select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;padding:10px 12px;border:1px solid #626262;border-radius:10px;background:#242424;color:#fff;font:inherit;color-scheme:dark}
.web-pay-region-field select:focus-visible{outline:2px solid #fff;outline-offset:2px}
.web-pay-region-help{color:#b9b9b9;font-size:12px;line-height:1.5}
.web-pay-region-error{margin:10px 0 0;color:#f1cf8b;font-size:13px;line-height:1.5}
.web-pay-region-field[hidden],.web-pay-region-error[hidden]{display:none!important}
.web-pay-method-card:has(input:disabled){cursor:default}
@media(max-width:360px){.web-pay-region-field{font-size:13px}.web-pay-region-field select{font-size:16px}}
.web-pay-method-options .web-pay-method-card:has(input:checked){border-color:#e2e2e2;background:#303030;box-shadow:inset 0 0 0 1px #e2e2e2}
.web-pay-method-options .web-pay-method-card:not(:has(input:checked)) .web-pay-card-icon{background:#343434;color:#d7d7d7}
.web-pay-method-options .web-pay-method-card:focus-within{outline:2px solid #fff;outline-offset:3px}

/* The cashier provides the payment-method choices; collect only required
   billing details before creating an order. */
.web-pay-form{gap:14px;margin-top:18px}
.web-pay-form label{margin:0}
.web-pay-form label[hidden]{display:none!important}
.web-pay-form .web-pay-region-field{margin:0}
.web-pay-details-note{margin:0;color:#b7b7b7;font-size:13px;line-height:1.5}
.web-pay-region-error{margin:0}
.web-pay-pending[hidden]{display:none!important}
.web-pay-summary[hidden],.web-pay-terms[hidden],.web-pay-manage[hidden],.web-pay-forget[hidden]{display:none!important}
.web-pay-manage,.web-pay-forget{display:block;border:0;background:none;color:#c5c5c5;font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.web-pay-manage{margin:16px auto 0;padding:8px}
.web-pay-forget{justify-self:center;padding:8px}
.web-pay-manage:focus-visible,.web-pay-forget:focus-visible{outline:2px solid #fff;outline-offset:2px}


/* Desktop Web refinement · current YesTV reference, 2026-11-11.
   Deliberately scoped away from the native app and mobile Web. */
@media (min-width: 761px) {
  :root {
    --desktop-frame-inset: max(clamp(28px, 6vw, 112px), calc(50% - 800px));
    --desktop-header-height: 76px;
  }
  .site-header { gap: clamp(8px, 1.1vw, 20px); }
  .site-header nav { gap: clamp(8px, 1.5vw, 24px); }
  .site-header .nav-link { padding-inline: 3px; font-size: 16px; line-height: 1.4; }
  .site-header .search, .home-view .site-header .search {
    width: clamp(180px, 24vw, 360px); flex: 0 1 360px; min-width: 160px;
    height: 44px; min-height: 44px; margin-inline-start: auto;
    background: #ffffff08; border-color: #ffffff20; border-radius: 999px;
  }
  .home-view #discover-view .discovery-nav { gap: clamp(12px, 1.8vw, 28px); }
  .home-view #discover-view .discovery-nav button { font-size: 15px; min-height: 50px; }
  .home-view.has-featured #discover-view .discovery-nav {
    background: #090909c9; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .home-view.has-featured #discover-view .featured-shell {
    margin-block-start: -62px; margin-inline: calc(-1 * var(--desktop-frame-inset));
    margin-block-end: 20px;
  }
  .home-view #discover-view .featured-carousel,
  .home-view #discover-view .featured-card { border-radius: 0; }
  .home-view #discover-view .featured-card { height: clamp(340px, 27vw, 460px); }
  .home-view #discover-view .hero-poster {
    width: 74%; object-position: 50% 16%;
    --desktop-art-mask: linear-gradient(90deg, transparent, #000 28%);
  }
  .home-view #app-shell[dir="rtl"] #discover-view .hero-poster {
    --desktop-art-mask: linear-gradient(270deg, transparent, #000 28%);
  }
  .home-view #discover-view .hero-shade {
    --desktop-art-shade: linear-gradient(90deg, #090909f2, #090909ca 24%, #09090958 55%, #0909090d 82%);
    background: var(--desktop-art-shade), linear-gradient(0deg, #000, #0003 35%, transparent 70%);
  }
  .home-view #app-shell[dir="rtl"] #discover-view .hero-shade {
    --desktop-art-shade: linear-gradient(270deg, #090909f2, #090909ca 24%, #09090958 55%, #0909090d 82%);
  }
  .home-view #discover-view .hero-copy {
    inset-inline-start: var(--desktop-frame-inset); top: 53%;
    width: 43%; max-width: 480px; padding: 0;
  }
  .home-view #discover-view .hero-eyebrow { display: none; }
  .home-view #discover-view .hero-title {
    font-size: clamp(27px, 2.25vw, 38px); line-height: 1.32; letter-spacing: -.025em;
    color: #f2f0ee; -webkit-line-clamp: 2;
  }
  .home-view #discover-view .hero-meta { margin-block-start: 18px; font-size: 13px; color: #aaa7a7; }
  .home-view #discover-view .hero-synopsis {
    max-width: 46ch; margin-block-start: 14px; font-size: 14px; line-height: 1.5; color: #c5c2c2;
  }
  .home-view #discover-view .hero-cta {
    min-width: 200px; min-height: 52px; padding: 12px 28px; margin-block-start: 20px;
    border-color: #fff; background: #fafafa; color: #111; font-size: 16px; font-weight: 700;
  }
  .home-view #discover-view .featured-card:hover .hero-cta,
  .home-view #discover-view .featured-card:focus-visible .hero-cta { background: #eee; }
  .home-view #discover-view .hero-play-icon { width: 20px; height: 20px; }
  .home-view #discover-view .featured-controls { inset-inline-start: auto; inset-inline-end: var(--desktop-frame-inset); width: 224px; bottom: 18px; }
  .home-view #discover-view #catalog {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 18px;
  }
  .home-view #catalog .poster-card { border-radius: 12px; border-color: transparent; background: #101011; }
  .home-view #catalog .poster-image { aspect-ratio: 3 / 4; }
  .home-view #catalog .poster-caption { padding: 12px; }
  .home-view #catalog .poster-caption h3 { font-size: 15px; line-height: 1.4; }
  .home-view #discover-view .arrivals-heading { margin-block: 18px 18px; }
  .home-view #discover-view .arrivals-heading h2 { font-size: 24px; line-height: 1.4; }
  .home-view #catalog .poster-play-hint { width: 52px; height: 52px; background: #111b; }
  body.watching #detail-view {
    --theater-media-height: clamp(320px, calc(100dvh - 244px), 720px);
    max-width: 1320px;
  }
  body.watching #detail-view .detail-layout {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 420px);
    justify-content: center;
  }
  body.watching #detail-view .player-column { position: sticky; min-width: 0; width: calc(var(--theater-media-height) * .5625); max-width: 100%; justify-self: center; }
  #detail-content .player-wrap:not(:fullscreen) { aspect-ratio: 9 / 16; }
  #detail-loading > .feed-placeholder-media { width: calc(var(--theater-media-height) * .5625); max-width: 100%; justify-self: center; }
  #detail-content .player-toolbar { grid-column: 1; gap: 6px; }
  #detail-content .playback-controls { grid-column: 2; justify-self: end; }
  #detail-content .keyboard-help { line-height: 1.7; }
  #detail-content .player-toolbar .button, #detail-content .playback-controls .button { padding-inline: 9px; font-size: 11px; }
  #detail-view :is(.story-column, .feed-placeholder-episodes) { border: 0; border-inline-start: 1px solid #ffffff14; border-radius: 0; background: transparent; padding: 16px 24px; }
  .player-state.is-locked:not(.unlock-collapsed) { justify-content: center; padding: 24px; }
  .player-state.is-locked:not(.unlock-collapsed) .player-state-card {
    margin: 0; max-height: calc(100dvh - 48px); border-radius: 18px; box-shadow: 0 24px 100px #0007;
  }
  .native-library-page #library-catalog[data-library-mode="favorites"] {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 18px;
  }
}
@media (min-width: 761px) and (max-width: 1120px) {
  :root { --desktop-header-height: 104px; }
  .site-header {
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, auto);
    grid-template-rows: 44px 44px; gap: 4px 12px; align-content: center;
  }
  .site-header nav { grid-column: 1 / -1; overflow-x: auto; gap: 24px; height: 44px; }
  .site-header .nav-link { min-height: 44px; }
  .site-header .search, .home-view .site-header .search { width: 100%; max-width: none; margin-inline: 0; }
  .site-header .header-install { display: none; }
  .home-view #discover-view .hero-copy { width: 48%; }
  .home-view #discover-view .hero-title { font-size: 28px; }
  .home-view #discover-view .hero-meta { margin-block-start: 12px; }
  .home-view #discover-view .hero-synopsis { margin-block-start: 10px; font-size: 13px; }
  .home-view #discover-view .hero-cta { min-width: 160px; min-height: 48px; margin-block-start: 14px; }
  .home-view #discover-view #catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
  body.watching #detail-view { --theater-media-height: clamp(320px, calc(100dvh - 270px), 720px); }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) and (hover: hover) {
  .home-view #catalog .poster-card { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
  .home-view #catalog .poster-card:hover { transform: translateY(-4px); }
}

@font-face{font-family:DadramaSora;src:url('assets/desktop-sora.woff') format('woff');font-weight:100 900;font-style:normal;font-display:swap}
.pc-site-header,.pc-card-preview{display:none}
@media(min-width:1024px){
 body.dadrama-desktop-exact{--font:DadramaSora,Sora,-apple-system,BlinkMacSystemFont,'PingFang TC','Noto Sans TC','Microsoft JhengHei','Segoe UI',sans-serif;--pc-accent:#f7cd59;--desktop-home-header:81px;--desktop-header-height:81px;background:#0b0b0d;color:#e8e8e9;font:14px/1.5 var(--font)}
 body.dadrama-desktop-exact #app-shell{--desktop-home-header:81px;min-height:100dvh;display:flex;flex-direction:column}
 body.dadrama-desktop-exact .site-header{display:none!important}
 body.dadrama-desktop-exact main{max-width:none;width:100%;min-height:calc(100dvh - 281px);flex:1;margin:0}
 body.dadrama-desktop-exact .bottom-nav{display:none!important}
 body.dadrama-desktop-exact .pc-site-header{display:flex;flex:none;align-items:center;position:sticky;top:0;z-index:50;height:81px;padding:20px 2vw;gap:32px;border-bottom:1px solid transparent;background:transparent;color:#eee;font:700 18px/27px var(--font)}
 body.dadrama-desktop-exact .pc-site-header.pc-header-solid{background:#0b0b0df5;border-color:#ffffff0d;backdrop-filter:blur(16px)}
 body.dadrama-desktop-exact .pc-brand{display:flex;align-items:center;flex:none;gap:8px;width:170px;color:#f4dfb0;text-decoration:none}
 body.dadrama-desktop-exact .pc-brand img{width:34px;height:34px;object-fit:contain}
 body.dadrama-desktop-exact .pc-brand strong{font-size:23px;letter-spacing:-.8px}
 body.dadrama-desktop-exact .pc-primary-nav{display:flex;align-items:center;gap:32px;white-space:nowrap}
 body.dadrama-desktop-exact .pc-primary-nav a{display:flex;align-items:center;min-height:40px;color:#eeeeee;text-decoration:none;font-size:18px;font-weight:700;line-height:27px;text-shadow:none}
 body.dadrama-desktop-exact .pc-primary-nav a.active{color:var(--pc-accent)}
 body.dadrama-desktop-exact .pc-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-inline-start:auto;min-width:0}
 body.dadrama-desktop-exact .pc-header-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;padding:10px;border:0;background:none;border-radius:50%}
 body.dadrama-desktop-exact .pc-header-icon img{width:20px;height:20px;opacity:.85;filter:invert(1)}
 body.dadrama-desktop-exact .pc-header-icon:hover{background:#ffffff0b}
 body.dadrama-desktop-exact .pc-header-language{display:flex;align-items:center;gap:7px;min-width:0;max-width:180px;min-height:40px;padding:0;border:0;background:none;color:#ddd;font-size:16px;font-weight:400}
 body.dadrama-desktop-exact .pc-header-language span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.dadrama-desktop-exact .pc-header-language :is(img,svg){width:18px;height:18px;filter:invert(1);opacity:.85}
 body.dadrama-desktop-exact .pc-header-language svg{filter:none}
 body.dadrama-desktop-exact .pc-header-language .pc-language-chevron{width:12px;height:12px;transform:rotate(90deg)}
 body.dadrama-desktop-exact .pc-header-account{display:flex;align-items:center;gap:9px;min-width:32px;max-width:180px;min-height:40px;padding:0;border:0;background:none;color:#eee;font-size:16px;font-weight:600}
 body.dadrama-desktop-exact .pc-header-account img{width:32px;height:32px;padding:8px;border-radius:50%;background:#ffffff16;filter:invert(1)}
 body.dadrama-desktop-exact .pc-header-account.signed-in img{padding:0;filter:none;object-fit:cover}
 body.dadrama-desktop-exact .pc-header-account span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.dadrama-desktop-exact .pc-top-up{flex:none;min-width:108px;min-height:40px;padding:7px 20px;border:0;border-radius:999px;background:var(--pc-accent);color:#000;font-size:18px;font-weight:600;line-height:26px}
 body.dadrama-desktop-exact .pc-top-up:hover{background:#ffdd7d}
 body.dadrama-desktop-exact.home-view main{margin-top:-81px}
 body.dadrama-desktop-exact.home-view #discover-view{max-width:none;width:100%;padding:0 0 56px;margin:0}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .discovery-nav,
 body.dadrama-desktop-exact.pc-home-overview #discover-view>.discover-heading,
 body.dadrama-desktop-exact.pc-home-overview #categories,
 body.dadrama-desktop-exact.pc-home-overview #home-install-banner,
 body.dadrama-desktop-exact.pc-home-overview #discover-view>.arrivals-heading{display:none!important}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-shell{margin:1px 0 0;position:relative}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-carousel{border-radius:0;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-card{height:calc(100vw / 3);max-height:none;min-height:360px;border:0;border-radius:0;background:#111}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-backdrop{inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 28%;filter:blur(12px);opacity:.25}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-poster{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%;mask:none;-webkit-mask:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .pc-wide-banner .hero-poster{object-position:center}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-card:not(.pc-wide-banner) .hero-poster{inset-inline:35% 0;width:65%;object-fit:contain;object-position:70% center;pointer-events:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-card:not(.pc-wide-banner) .hero-backdrop{filter:blur(28px);opacity:.55}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-card:not(.pc-wide-banner) .hero-shade{background:linear-gradient(90deg,#0b0b0dc9 0%,#0b0b0d1a 75%),linear-gradient(0deg,#0b0b0d 0%,transparent 35%,#0b0b0d35)}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-shade{z-index:1;background:linear-gradient(90deg,#09090990,transparent 65%),linear-gradient(0deg,#0b0b0d 0%,#0b0b0d05 80%,#0b0b0d44);pointer-events:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-copy{z-index:2;inset-inline:6vw auto;top:auto;bottom:0;width:480px;max-width:480px;padding:0;transform:none;text-align:start}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-eyebrow{display:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-title{font:700 32px/44px var(--font);letter-spacing:0;color:#ffffffe6;-webkit-line-clamp:2;text-transform:none;text-wrap:initial}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-meta{margin:20px 0 0;color:#ffffff80;font:400 13px/20px var(--font)}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-synopsis{display:-webkit-box;max-width:480px;margin:20px 0 0;font:400 14px/21px var(--font);color:#ffffffb3;-webkit-line-clamp:2}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-cta{display:inline-flex;gap:10px;width:220px;min-width:220px;min-height:56px;height:56px;padding:12px 24px;margin:20px 0 0;border:0;border-radius:999px;background:#fff;color:#000;font:700 18px/28px var(--font);transform:none;box-shadow:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-cta::before{display:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-cta .hero-play-icon{width:18px;height:18px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-note{font-size:10px;margin-top:4px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-controls{position:absolute;z-index:4;inset:auto 1.3vw 16px auto;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:10px;width:auto;max-width:calc(100vw - 540px);height:124px;padding:0;margin:0;pointer-events:none}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-controls>button{width:36px;height:36px;padding:9px;align-self:center;border:0;border-radius:50%;background:#0006;pointer-events:auto}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-controls>button img{width:18px;height:18px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-dots{display:flex;align-items:center;justify-content:start;justify-self:auto;gap:10px;max-width:100%;height:124px;padding:0;border-radius:0;background:none;overflow-x:auto;scrollbar-width:none;pointer-events:auto}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-dots button{display:block;position:relative;flex:0 0 84px;width:84px;height:124px;min-height:124px;padding:0;border:2px solid transparent;border-radius:9px;background:transparent;opacity:.5;overflow:hidden}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-dots button[aria-pressed=true]{border-color:#fff;opacity:1}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-dots button:hover{opacity:1}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-dots img{display:block;width:80px;height:120px;object-fit:cover;border-radius:6px}
 body.dadrama-desktop-exact.pc-home-overview #catalog.pc-shelves{display:block!important;width:100%;padding:0;margin:32px 0 0}
 body.dadrama-desktop-exact .pc-shelf{position:relative;margin:0 0 42px;padding-inline:6vw}
 body.dadrama-desktop-exact .pc-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}
 body.dadrama-desktop-exact .pc-shelf-heading h2{font:700 24px/33px var(--font);letter-spacing:-.6px;color:#ffffffcc}
 body.dadrama-desktop-exact .pc-shelf-heading>button{padding:0;min-height:28px;border:0;background:none;color:#ffffff80;font:400 16px/24px var(--font)}
 body.dadrama-desktop-exact .pc-shelf-window{position:relative;margin-inline:-6vw}
 body.dadrama-desktop-exact .pc-shelf-track{display:flex;width:100%;gap:0;margin:0;padding-inline:5.375vw;overflow-x:auto;overflow-y:clip;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:5.375vw;overscroll-behavior-inline:contain}
 body.dadrama-desktop-exact .pc-shelf-track::-webkit-scrollbar{display:none}
 body.dadrama-desktop-exact .pc-shelf-slot{flex:0 0 20%;min-width:0;padding-inline:.625vw;scroll-snap-align:start}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot>.poster-card{overflow:visible;border:0;border-radius:0;background:none;transform:none;transition:none}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-image{aspect-ratio:3/4;border:0;border-radius:16px}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-image>img{transform:none}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-play-hint{display:none}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-caption{display:block;padding:12px 0 0}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-caption h3{min-height:0;margin:0;font:400 14px/19.5px var(--font);color:#ffffffe6;-webkit-line-clamp:2;white-space:normal;overflow:hidden;text-overflow:ellipsis}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-meta{margin-top:8px;gap:4px;font:400 12px/16.5px var(--font);color:#ffffff80}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-meta>span{padding:0;background:none;border-radius:0;font:inherit;color:inherit}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-badge{inset:auto 9px 9px;justify-content:end;font:400 12px/16.5px var(--font);color:#fff}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-badge>span:first-child{display:block}
 body.dadrama-desktop-exact .pc-shelf-arrow{position:absolute;top:calc(50% - 42px);z-index:5;display:grid;place-items:center;width:56px;height:56px;min-height:56px;padding:15px;border:1px solid #ffffff1c;border-radius:50%;background:#0008;backdrop-filter:blur(20px);opacity:0;transition:opacity .16s}
 body.dadrama-desktop-exact .pc-shelf-window:hover .pc-shelf-arrow,body.dadrama-desktop-exact .pc-shelf-arrow:focus-visible{opacity:1}
 body.dadrama-desktop-exact .pc-shelf-prev{inset-inline-start:20px}
 body.dadrama-desktop-exact .pc-shelf-prev img{transform:rotate(180deg)}
 body.dadrama-desktop-exact .pc-shelf-next{inset-inline-end:20px}
 body.dadrama-desktop-exact .pc-shelf-arrow img{width:24px;height:24px;filter:invert(1)}
 body.dadrama-desktop-exact .pc-card-preview{display:block;position:fixed;z-index:60;padding:8px;border:0;border-radius:24px;background:#292929;box-shadow:0 16px 40px #0005;animation:pc-preview-enter .3s ease;overflow:hidden}
 body.dadrama-desktop-exact #catalog .pc-card-preview .poster-card{display:block;border:0;border-radius:0;background:none;transform:none;text-decoration:none}
 body.dadrama-desktop-exact #catalog .pc-card-preview .poster-image{aspect-ratio:3/4;border-radius:16px;border:0}
 body.dadrama-desktop-exact #catalog .pc-card-preview h3{padding:0 8px;margin:12px 0 4px;min-height:0;color:#fff;font:400 14px/19.5px var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.dadrama-desktop-exact .pc-preview-meta,body.dadrama-desktop-exact .pc-preview-synopsis{padding:0 8px;margin:6px 0;color:#ffffff80;font-size:12px;line-height:16.5px}
 body.dadrama-desktop-exact .pc-preview-synopsis{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body.dadrama-desktop-exact .pc-preview-actions{display:flex;gap:12px;align-items:center;padding:12px 8px 8px}
 body.dadrama-desktop-exact .pc-preview-actions button,body.dadrama-desktop-exact .pc-preview-play{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;height:48px;min-width:48px;border:0;border-radius:999px;background:#0002;color:#fff;text-decoration:none;font-size:15px}
 body.dadrama-desktop-exact .pc-preview-actions button[aria-pressed=true]{background:#f7cd59;color:#211604}
 body.dadrama-desktop-exact .pc-preview-actions img{width:20px;height:20px;filter:invert(1)}
 body.dadrama-desktop-exact .pc-preview-actions .pc-preview-play{background:#fff;color:#000}
 body.dadrama-desktop-exact .pc-preview-play img{filter:none}
 body.dadrama-desktop-exact .pc-preview-play span{display:none}
 body.dadrama-desktop-exact.home-view:not(.pc-home-overview) #discover-view{padding:105px 6vw 64px}
 body.dadrama-desktop-exact.home-view:not(.pc-home-overview) .discovery-nav{top:81px;padding:0;margin:0 0 24px;background:#0b0b0d}
 body.dadrama-desktop-exact.home-view:not(.pc-home-overview) #catalog{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px}
 body.dadrama-desktop-exact .site-footer{max-width:none!important;width:100%;margin:0!important;padding:64px 6vw!important;display:flex;align-items:start;justify-content:space-between;border-top:1px solid #ffffff0d;background:#0b0b0d;font:400 13px/1.8 var(--font)}
 body.dadrama-desktop-exact .site-footer [data-channel-brand]{font-size:22px;color:#f4dfb0}
 body.dadrama-desktop-exact :is(a,button,input):focus-visible{outline:2px solid #f7cd59;outline-offset:3px}
}
@media(min-width:1680px){
 body.dadrama-desktop-exact .pc-shelf-slot{flex-basis:16.6666667%}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-caption h3,body.dadrama-desktop-exact #catalog .pc-card-preview h3{font-size:16px;line-height:21.5px}
 body.dadrama-desktop-exact.home-view #catalog .pc-shelf-slot .poster-meta,body.dadrama-desktop-exact .pc-preview-meta,body.dadrama-desktop-exact .pc-preview-synopsis{font-size:14px;line-height:20px}
 body.dadrama-desktop-exact .pc-shelf-arrow{width:64px;height:64px;padding:19px}
 body.dadrama-desktop-exact .pc-preview-play{flex:1;padding-inline:18px}
 body.dadrama-desktop-exact .pc-preview-play span{display:inline}
}
@media(min-width:1024px) and (max-width:1240px){
 body.dadrama-desktop-exact .pc-site-header{gap:20px;padding-inline:20px}
 body.dadrama-desktop-exact .pc-brand{width:150px}
 body.dadrama-desktop-exact .pc-primary-nav{gap:18px}
 body.dadrama-desktop-exact .pc-header-actions{gap:10px}
 body.dadrama-desktop-exact .pc-header-language{max-width:110px;font-size:14px}
 body.dadrama-desktop-exact .pc-header-account{max-width:110px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-copy{width:420px;max-width:42vw}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .featured-controls{max-width:calc(100vw - 510px);bottom:16px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-title{font-size:28px;line-height:36px}
 body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-meta,body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-synopsis,body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-cta{margin-top:12px}
}
@keyframes pc-preview-enter{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.pc-card-preview{animation:none!important}}

@media(min-width:1280px){body.dadrama-desktop-exact.pc-home-overview #discover-view .hero-copy{inset-inline-start:86px}}

/* Embedded font license - Sora subset
Copyright 2019 The Sora Project Authors (https://github.com/sora-xor/sora-font)

This Font Software is licensed under the SIL Open Font License, Version 1.1.

This license is copied below, and is also available with a FAQ at: https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/

/* Dadrama PC secondary surfaces. Reference captured from YesTV on 2026-11-11.
   Existing dialog nodes, native <dialog> focus/escape behavior and commerce hooks
   are retained. This stylesheet has no effect below YesTV's 1024px desktop gate. */
@media (min-width: 1024px) {
  body.dadrama-desktop-exact {
    --pc-secondary-header: 81px;
    --pc-secondary-ink: #0b0b0d;
    --pc-secondary-panel: #272727;
    --pc-secondary-accent: #f7cd59;
  }

  body.dadrama-desktop-exact.profile-page main { max-inline-size: none; max-width: none; }

  /* Profile: desktop identity masthead and a horizontal account workspace. */
  body.dadrama-desktop-exact #profile-view.native-profile-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    inline-size: 100%;
    max-inline-size: none;
    margin: 0;
    padding: 56px 6vw 72px;
    background: #0b0b0d;
    min-block-size: calc(100dvh - var(--pc-secondary-header) - 200px);
  }
  body.dadrama-desktop-exact #profile-view > .profile-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 0 22px;
    min-block-size: 210px;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-avatar {
    inline-size: 180px;
    block-size: 180px;
    padding: 0;
    border: 1px solid #ffffff1f;
    border-radius: 50%;
    background: #171719;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-avatar img {
    inline-size: 100%;
    block-size: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-identity { margin: 0; }
  body.dadrama-desktop-exact .native-profile-page .profile-identity h1 {
    font-size: 32px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.02em;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-identity > p,
  body.dadrama-desktop-exact .native-profile-page .profile-user-uid {
    margin-block-start: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #8f8f93;
  }
  body.dadrama-desktop-exact .pc-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-block-start: 24px;
  }
  body.dadrama-desktop-exact .pc-profile-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    inline-size: auto;
    min-inline-size: 110px;
    min-block-size: 44px;
    max-inline-size: none;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #29292b;
    color: #e8e8ea;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }
  body.dadrama-desktop-exact .pc-profile-actions > button:hover { background: #353537; }
  body.dadrama-desktop-exact .pc-profile-actions > button > :is(img, svg) { flex: none; inline-size: 19px; block-size: 19px; }
  body.dadrama-desktop-exact .pc-profile-actions > button > .profile-chevron { display: none; }
  body.dadrama-desktop-exact .pc-profile-actions [data-product-action="checkin"] > .profile-menu-icon { color: var(--pc-secondary-accent); }
  body.dadrama-desktop-exact .native-profile-page > .profile-vip,
  body.dadrama-desktop-exact .native-profile-page > .profile-wallet {
    inline-size: 100%;
    min-inline-size: 0;
    min-block-size: 180px;
    margin: 0;
    padding: 24px;
    border-radius: 14px;
    text-align: start;
  }
  body.dadrama-desktop-exact .native-profile-page > .profile-vip {
    border: 1px solid #e9ca90;
    background: url("assets/native-vip-plan-rays.svg") center / cover no-repeat #f5d89f;
    color: #4b3218;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-vip strong { font-size: 26px; }
  body.dadrama-desktop-exact .native-profile-page .profile-vip-benefits { gap: 14px; margin-block-start: 24px; }
  body.dadrama-desktop-exact .native-profile-page .profile-benefit > span { font-size: 13px; }
  body.dadrama-desktop-exact .native-profile-page .profile-vip-action,
  body.dadrama-desktop-exact .native-profile-page .profile-recharge { min-block-size: 42px; padding-inline: 20px; border-radius: 8px; font-size: 14px; }
  body.dadrama-desktop-exact .native-profile-page > .profile-wallet {
    border: 1px solid #ffffff12;
    background: #242424;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-header > strong { color: #bdbdc0; font-size: 13px; font-weight: 500; }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-divider { margin-block-start: 14px; background: #ffffff12; }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-values { margin-block-start: 16px; }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-value > strong { color: #f4f4f5; font-size: 30px; }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-value > span { color: #99999d; font-size: 12px; }
  body.dadrama-desktop-exact .native-profile-page .profile-wallet-status { color: #a2a2a5; font-size: 12px; }
  body.dadrama-desktop-exact .native-profile-page > .profile-menu {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding-block-start: 28px;
    border-block-start: 1px solid #ffffff14;
    background: transparent;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-menu > :is(button, a) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-inline-size: 0;
    min-block-size: 72px;
    margin: 0;
    padding: 18px;
    border: 1px solid #ffffff12;
    border-radius: 10px;
    background: #1c1c1e;
  }
  body.dadrama-desktop-exact .native-profile-page .profile-menu > :is(button, a):hover { background: #28282a; }
  body.dadrama-desktop-exact .native-profile-page .profile-menu > :is(button, a)::after { display: none; }
  body.dadrama-desktop-exact .native-profile-page .profile-menu > :is(button, a) > span { margin: 0; font-size: 14px; }
  body.dadrama-desktop-exact .native-profile-page .profile-menu > :is(button, a) > .profile-chevron { display: none; }
  body.dadrama-desktop-exact .native-profile-page .profile-menu-icon { inline-size: 22px; block-size: 22px; color: #bfbfc3; }

  /* Wallet/VIP are full PC pages below the existing header. Native showModal(),
     modal focus isolation and the existing close stack remain the authority. */
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog).commerce-dialog {
    position: fixed;
    inset: var(--pc-secondary-header) 0 0;
    inline-size: 100%;
    max-inline-size: none;
    block-size: calc(100dvh - var(--pc-secondary-header));
    max-block-size: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #0b0b0d;
    box-shadow: none;
    overflow: hidden;
  }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog)::backdrop {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-heading {
    flex: none;
    inline-size: min(1100px, 100%);
    min-block-size: 64px;
    margin-inline: auto;
    padding: 10px 0;
    background: transparent;
  }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-heading h2 { font-size: 19px; font-weight: 650; }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-heading .commerce-back { inline-size: 32px; block-size: 40px; }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-heading .commerce-support { margin-inline-end: 4px; border-color: #ffffff18; background: #1d1d20; color: #cacacf; font-size: 13px; }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-scroll {
    inline-size: min(1100px, 100%);
    margin-inline: auto;
    padding: 28px 32px 64px;
    scrollbar-width: thin;
    scrollbar-color: #444 #0b0b0d;
  }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-scroll::-webkit-scrollbar { display: block; width: 6px; }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-scroll::-webkit-scrollbar-thumb { border-radius: 4px; background: #444; }
  body.dadrama-desktop-exact :is(#wallet-dialog, #vip-dialog) .commerce-section-title { margin-block: 34px 18px; font-size: 20px; line-height: 1.4; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-balance {
    padding: 20px 24px;
    border: 1px solid #ffffff12;
    border-radius: 16px;
    background: #242424;
  }
  body.dadrama-desktop-exact #wallet-dialog .commerce-eyebrow { color: #a0a0a4; font-size: 11px; letter-spacing: 0; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-balance > div { gap: 8px; min-block-size: 27px; margin-block-start: 4px; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-balance img { inline-size: 24px; block-size: 24px; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-balance strong { color: #fff; font-size: 24px; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-balance div > span { color: #99999d; }
  body.dadrama-desktop-exact #wallet-dialog .native-wallet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
  body.dadrama-desktop-exact #wallet-dialog .native-coin-card {
    align-items: center;
    min-block-size: 218px;
    padding: 22px 16px 0;
    border: 1px solid #ffffff12;
    border-radius: 11px;
    background: #272727;
    text-align: center;
    overflow: hidden;
  }
  body.dadrama-desktop-exact #wallet-dialog .native-coin-card:hover { border-color: #d8bc7a; background: #303030; }
  body.dadrama-desktop-exact #wallet-dialog .coin-card-top { min-block-size: 54px; }
  body.dadrama-desktop-exact #wallet-dialog .coin-card-top > img { inline-size: 48px; block-size: 48px; }
  body.dadrama-desktop-exact #wallet-dialog .native-coin-card > strong { margin-block-start: 16px; font-size: 26px; line-height: 1.3; }
  body.dadrama-desktop-exact #wallet-dialog .coin-unit { margin-block: 6px 16px; color: #aaa; font-size: 11px; letter-spacing: .08em; }
  body.dadrama-desktop-exact #wallet-dialog .coin-reference-price {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-block-size: 48px;
    margin: auto -16px 0;
    padding: 10px 8px;
    border-block-start: 1px solid #ffffff12;
    background: #303030;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }
  body.dadrama-desktop-exact #vip-dialog .native-vip-panel { margin: 0; }
  body.dadrama-desktop-exact #vip-dialog .native-vip-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-card { min-inline-size: 0; border-radius: 12px; border-color: #dcc18d; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-main { min-block-size: 104px; padding: 15px 20px; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-heading > strong { font-size: 18px; line-height: 1.35; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-price { margin-block-start: 5px; font-size: 16px; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-price.is-priced { font-size: 26px; font-weight: 750; line-height: 1.2; }
  body.dadrama-desktop-exact #vip-dialog .native-plan-benefits { min-block-size: 54px; gap: 12px 18px; padding: 14px 20px; font-size: 12px; line-height: 1.4; }
  body.dadrama-desktop-exact #vip-dialog .native-vip-purchase { display: flex; justify-content: center; margin-block-start: 18px; padding: 0; }
  body.dadrama-desktop-exact #vip-dialog .commerce-vip-button { inline-size: min(360px, 100%); min-block-size: 48px; font-size: 16px; border-radius: 9px; }
  body.dadrama-desktop-exact #vip-dialog .native-vip-balance { margin-block-start: 0; border: 1px solid #ffffff12; border-radius: 14px; background: #242424; padding: 20px 24px; }

  /* Login: YesTV's measured 720×480 two-column desktop dialog. Available auth
     methods remain Google's/email's real buttons; no decorative fake providers. */
  body.dadrama-desktop-exact #account-dialog {
    inline-size: 720px;
    max-inline-size: calc(100vw - 48px);
    block-size: min(480px, calc(100dvh - 40px));
    max-block-size: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #131313;
    box-shadow: 0 24px 90px #0006;
  }
  body.dadrama-desktop-exact #account-dialog[open] { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
  body.dadrama-desktop-exact #account-dialog::backdrop { background: #000b; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.dadrama-desktop-exact #account-dialog > .secondary-heading { position: absolute; z-index: 2; inset: 12px 12px auto auto; min-block-size: 28px; padding: 0; }
  body.dadrama-desktop-exact #account-dialog > .secondary-heading > button { inline-size: 32px; block-size: 32px; min-block-size: 32px; padding: 6px; border-radius: 6px; background: none; }
  body.dadrama-desktop-exact #account-dialog > .secondary-heading > button > img { inline-size: 17px; block-size: 17px; opacity: .7; }
  body.dadrama-desktop-exact #account-dialog .native-login-form { grid-column: 2; block-size: 100%; padding: 24px 40px 24px; }
  body.dadrama-desktop-exact #account-dialog .native-login-intro h2 { margin: 0 0 24px; font-size: 20px; line-height: 27px; font-weight: 700; letter-spacing: 0; }
  body.dadrama-desktop-exact #account-dialog .native-login-intro > :is(img, p) { display: none; }
  body.dadrama-desktop-exact #account-dialog .native-login-actions { display: flex; flex-direction: column; min-block-size: calc(100% - 52px); margin: 0; max-inline-size: none; }
  body.dadrama-desktop-exact #account-dialog #account-google { min-block-size: 48px; border-radius: 5px; }
  body.dadrama-desktop-exact #account-dialog #account-google strong { font-size: 14px; font-weight: 500; }
  body.dadrama-desktop-exact #account-dialog .native-login-email { min-block-size: 48px; border: 0; border-radius: 5px; background: #2b2b2b; font-size: 14px; font-weight: 500; }
  body.dadrama-desktop-exact #account-dialog .native-login-email:hover { background: #393939; }
  body.dadrama-desktop-exact #account-dialog .native-login-options { gap: 10px; }
  body.dadrama-desktop-exact #account-dialog .native-login-capabilities { margin-block-start: auto; padding-block-start: 20px; border: 0; font-size: 12px; color: #929295; }
  body.dadrama-desktop-exact #account-dialog .native-login-capabilities summary { font-size: 12px; }
  body.dadrama-desktop-exact #account-dialog .native-email-form label { margin-block: 4px 8px; font-size: 14px; }
  body.dadrama-desktop-exact #account-dialog .native-email-form input { min-block-size: 48px; border-color: #ffffff29; border-radius: 5px; background: #2b2b2b; }
  body.dadrama-desktop-exact #account-dialog .native-email-form #account-email-submit { min-block-size: 48px; border-radius: 5px; }
  body.dadrama-desktop-exact .pc-login-art { position: relative; grid-column: 1; grid-row: 1; block-size: 100%; overflow: hidden; background: #171717; }
  body.dadrama-desktop-exact .pc-login-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; inline-size: 122%; block-size: 122%; margin: -11%; transform: rotate(14deg); opacity: .45; }
  body.dadrama-desktop-exact .pc-login-collage img { inline-size: 100%; block-size: 100%; min-block-size: 0; border-radius: 5px; object-fit: cover; }
  body.dadrama-desktop-exact .pc-login-art::after { position: absolute; inset: 0; content: ""; background: #0005; pointer-events: none; }
  body.dadrama-desktop-exact .pc-login-brand { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 20px; }
  body.dadrama-desktop-exact .pc-login-brand img { inline-size: 94px; block-size: 94px; object-fit: contain; }
  body.dadrama-desktop-exact .pc-login-brand strong { color: #f2e8d5; font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }

  /* Dadrama retains selectable PWA identities; YesTV's QR-only functionality is
     deliberately not fabricated. Density/panel treatment follows its PC popover. */
  body.dadrama-desktop-exact #install-dialog.install-dialog { inline-size: 640px; max-inline-size: calc(100vw - 48px); border: 1px solid #ffffff0b; border-radius: 16px; background: #272727; }
  body.dadrama-desktop-exact #install-dialog .dialog-heading { padding: 24px 24px 16px; border: 0; }
  body.dadrama-desktop-exact #install-dialog .dialog-heading h2 { font-size: 24px; }
  body.dadrama-desktop-exact #install-dialog .install-dialog-content { padding: 0 24px 24px; }
  body.dadrama-desktop-exact #install-dialog #install-intro { font-size: 14px; color: #aaa; }
  body.dadrama-desktop-exact #install-dialog .install-preset-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  body.dadrama-desktop-exact #install-dialog .install-preset { min-block-size: 108px; padding: 16px 8px; border-radius: 9px; background: #202020; font-size: 13px; }
  body.dadrama-desktop-exact #install-dialog .install-preset img { inline-size: 44px; block-size: 44px; }
  body.dadrama-desktop-exact #install-dialog .install-primary { min-block-size: 48px; border: 0; border-radius: 8px; background: var(--pc-secondary-accent); color: #211604; font-size: 15px; font-weight: 700; }

  /* Search contract for the PC shell: original #search-form is moved, not cloned.
     The shell owns open/close, keyboard and real result routing. */
  body.dadrama-desktop-exact.pc-search-open #search-form {
    position: fixed;
    z-index: 95;
    inset: 12px auto auto 50%;
    transform: translateX(-50%);
    inline-size: min(828px, calc(100vw - 80px));
    max-inline-size: none;
    block-size: 56px;
    min-block-size: 56px;
    margin: 0;
    padding: 0 20px 0 25px;
    border: 1px solid #ffffff1f;
    border-radius: 999px;
    background: #292929;
    box-shadow: none;
  }
  body.dadrama-desktop-exact.pc-search-open #search-form input { font-size: 16px; }
  body.dadrama-desktop-exact .pc-search-panel {
    position: fixed;
    z-index: 94;
    inset: 76px auto auto 50%;
    transform: translateX(-50%);
    inline-size: min(828px, calc(100vw - 80px));
    max-block-size: min(640px, calc(100dvh - 100px));
    padding: 20px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 20px;
    background: #292929;
    box-shadow: 0 20px 40px #0005;
    color: #d9d9dc;
  }
  body.dadrama-desktop-exact .pc-search-panel h2 { margin: 0 0 14px; color: #99999d; font-size: 14px; font-weight: 400; line-height: 1.4; }
  body.dadrama-desktop-exact .pc-search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
  body.dadrama-desktop-exact .pc-search-result { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; min-inline-size: 0; min-block-size: 128px; padding: 0; border: 0; background: transparent; color: inherit; text-align: start; }
  body.dadrama-desktop-exact .pc-search-result:hover { color: #fff; }
  body.dadrama-desktop-exact .pc-search-result > img { inline-size: 96px; block-size: 128px; border-radius: 7px; object-fit: cover; }
  body.dadrama-desktop-exact .pc-search-result > span { display: flex; flex-direction: column; align-items: flex-start; min-inline-size: 0; }
  body.dadrama-desktop-exact .pc-search-result strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #dadadd; font-size: 15px; line-height: 1.4; font-weight: 500; }
  body.dadrama-desktop-exact .pc-search-result small { margin-block-start: auto; color: #8f8f93; font-size: 12px; line-height: 1.5; }
  body.dadrama-desktop-exact .pc-search-empty { padding: 32px 0; color: #99999d; font-size: 14px; line-height: 1.6; text-align: center; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  body.dadrama-desktop-exact .native-profile-page > .profile-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dadrama-desktop-exact .native-profile-page .profile-vip-benefits { grid-template-columns: 1fr; gap: 10px; }
}
@media (min-width: 1024px) and (max-height: 600px) {
  body.dadrama-desktop-exact #account-dialog { block-size: min(480px, calc(100dvh - 32px)); max-block-size: calc(100dvh - 32px); }
}

/* Integration contract: the desktop shell nests the original form plus result
   region in one container. Keep heading/list as blocks; only the inner list is
   two columns. This overrides the earlier stand-alone result-panel contract. */
@media (min-width: 1024px) {
  body.dadrama-desktop-exact .pc-site-header > .pc-search-panel {
    inset: 12px auto auto 50%;
    width: min(828px, calc(100vw - 80px));
    inline-size: min(828px, calc(100vw - 80px));
    max-block-size: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #d9d9dc;
    font: 400 14px/1.5 var(--font);
  }
  body.dadrama-desktop-exact .pc-site-header .pc-search-panel > #search-form {
    position: relative;
    inset: auto;
    transform: none;
    display: flex;
    width: 100%;
    inline-size: 100%;
    max-inline-size: none;
    min-inline-size: 0;
    height: 56px;
    block-size: 56px;
    min-block-size: 56px;
    margin: 0;
    padding: 0 20px 0 25px;
    gap: 14px;
    border: 1px solid #ffffff1f;
    border-radius: 999px;
    outline: none;
    background: #292929;
    box-shadow: none;
  }
  body.dadrama-desktop-exact .pc-site-header .pc-search-panel > #search-form:focus-within { border-color: #ffffff40; outline: none; box-shadow: none; }
  body.dadrama-desktop-exact .pc-search-panel #search-form > .search-icon { width: 20px; height: 20px; flex: none; opacity: .85; }
  body.dadrama-desktop-exact .pc-search-panel #search-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #e6e6e8;
    font: 400 16px/24px var(--font);
  }
  body.dadrama-desktop-exact .pc-search-panel #search-form input:focus-visible { outline: none; box-shadow: none; }
  body.dadrama-desktop-exact .pc-search-panel #search-form > button[type="submit"] { display: none; }
  body.dadrama-desktop-exact .pc-search-panel #search-form > .pc-search-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: auto;
    min-width: 44px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 0 0 13px;
    border: 0;
    border-inline-start: 1px solid #ffffff12;
    border-radius: 0;
    background: none;
    color: #c3c3c7;
    font: 400 14px/22px var(--font);
  }
  body.dadrama-desktop-exact .pc-search-panel > .pc-search-results {
    display: block;
    max-height: min(633px, calc(100dvh - 100px));
    max-block-size: min(633px, calc(100dvh - 100px));
    margin-block-start: 8px;
    padding: 20px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px;
    background: #292929;
    box-shadow: 0 20px 40px #0005;
  }
  body.dadrama-desktop-exact .pc-search-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
  body.dadrama-desktop-exact .pc-search-result { text-decoration: none; font: 400 14px/1.5 var(--font); }
  body.dadrama-desktop-exact .pc-search-result > span { min-height: 128px; }
  body.dadrama-desktop-exact .pc-search-result strong { order: 0; }
  body.dadrama-desktop-exact .pc-search-result p { order: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 6px 0 0; color: #a6a6aa; font: 400 12px/18px var(--font); }
  body.dadrama-desktop-exact .pc-search-result small { order: 2; font-weight: 400; }
}

/* Dadrama PC: measured against current YesTV 1440/1920 captures.
   Parent owns hostname gating and the dadrama-desktop-exact class. */
.pc-watch-breadcrumb,.pc-watch-description,.pc-watch-more,.pc-watch-creator,.pc-exact-related,
.pc-feed-sidebar,.pc-feed-navigation,.pc-feed-caption,.pc-library-heading,.pc-library-category { display:none; }
@media (min-width:1024px) {
  body.dadrama-desktop-exact.watching { background:#0b0b0d; }
  body.dadrama-desktop-exact.watching main { max-width:none; }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view {
    --theater-media-height:min(76vh,720px);
    --theater-media-height:min(76dvh,720px);
    max-width:none;margin:0;padding:24px 0 64px;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view>.back-button {
    height:20px;min-height:20px;margin:0 0 16px 86px;padding:0;gap:6px;
    border:0;background:none;color:#888;font-size:13px;font-weight:400;line-height:20px;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view>.back-button img { width:16px;height:16px; }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view .detail-layout {
    display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:0;max-width:none;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-content .player-column {
    position:relative;top:auto;justify-self:center;display:block;width:calc(var(--theater-media-height)*.5625);
    max-width:100%;padding:0;min-width:0;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view .player-wrap:not(:fullscreen) {
    width:100%;height:var(--theater-media-height);max-height:none;min-height:0;
    aspect-ratio:9/16;border:0;border-radius:16px;background:#000;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-loading>.player-wrap {
    justify-self:center;width:calc(var(--theater-media-height)*.5625);max-width:100%;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view :is(.story-column,.feed-placeholder-episodes) {
    position:static;top:auto;min-width:0;min-height:var(--theater-media-height);margin:0;padding:0 28px;
    border:0;border-inline-start:1px solid #ffffff14;border-radius:0;background:transparent;
  }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view .episode-sheet-top { display:block; }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #episode-sheet-cover,
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-category,
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #favorite-button,
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-content :is(.player-toolbar,.playback-controls,.keyboard-help,.player-info-overlay,.playback-note) { display:none!important; }
  body.dadrama-desktop-exact .pc-watch-breadcrumb {
    display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    margin:0 0 8px;font-size:12px;line-height:18px;color:#777;
  }
  body.dadrama-desktop-exact #detail-view .story-column h1 {
    margin:0;font-family:inherit;font-size:25px;font-weight:900;line-height:1.25;letter-spacing:0;text-wrap:initial;
  }
  body.dadrama-desktop-exact #detail-view .detail-meta { margin:6px 0 0;color:#888;font-size:13px;line-height:20px; }
  body.dadrama-desktop-exact .pc-watch-creator:not([hidden]) {
    display:block;margin-top:18px;color:#bdbdbf;font-size:14px;line-height:24px;font-weight:600;
  }
  body.dadrama-desktop-exact .pc-watch-description:not([hidden]) {
    display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;
    margin:18px 0 0;color:#929294;font-size:14px;line-height:21px;
  }
  body.dadrama-desktop-exact .pc-watch-description.is-expanded { display:block;-webkit-line-clamp:unset; }
  body.dadrama-desktop-exact .pc-watch-more:not([hidden]) {
    display:block;min-height:26px;margin:4px 0 0;padding:0;border:0;background:none;color:#929294;font-family:inherit;font-size:13px;font-weight:600;line-height:22px;
  }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet>.player-rail {
    position:static;display:flex;align-items:center;justify-content:flex-start;gap:28px;
    width:100%;margin:22px 0 20px;padding:14px 0 16px;border-block:1px solid #ffffff14;
    opacity:1;pointer-events:auto;transform:none;
  }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet>.player-rail button {
    width:auto;min-width:30px;min-height:40px;padding:0;border:0;border-radius:0;background:none;color:#aaa;
    gap:5px;order:4;
  }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet>.player-rail button:is(:hover,:focus-visible) { color:#fff; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet>.player-rail button> :is(img,svg) { width:20px;height:20px; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet>.player-rail small { display:block;max-width:90px;color:inherit;font-size:12px;line-height:18px;white-space:normal; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet #like-button { order:1; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet #rail-favorite { order:2; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet #feedback-button { order:4; }
  body.dadrama-desktop-exact:not(.for-you-mode) #episode-sheet #episodes-button { display:none; }
  /* The shared fullscreen rule sets width:100%; give the loading skeleton
     the same portrait width as the loaded media, including during slow GETs. */
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view #detail-loading>.player-wrap:not(:fullscreen) {
    width:calc(var(--theater-media-height)*.5625);max-width:100%;justify-self:center;
  }
  body.dadrama-desktop-exact.for-you-mode #detail-view #detail-loading>.player-wrap:not(:fullscreen) {
    width:calc(var(--pc-feed-height)*.5625);max-width:100%;margin-inline:auto;
  }
  body.dadrama-desktop-exact #detail-view .episode-heading { margin:0 0 8px;padding:0;border:0; }
  body.dadrama-desktop-exact #detail-view .episode-heading h2 { font-size:15px;font-weight:700;line-height:23px; }
  body.dadrama-desktop-exact #detail-view .episode-heading>span { display:none; }
  body.dadrama-desktop-exact #detail-view .episode-grid {
    display:grid;grid-template-columns:repeat(auto-fill,44px);gap:8px;max-height:360px;
    margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;
  }
  body.dadrama-desktop-exact #detail-view .episode-button { width:44px; }
  body.dadrama-desktop-exact #detail-view .episode-tile { height:44px;min-height:44px;border:1px solid transparent;border-radius:8px;background:#252528;font-size:14px;font-weight:700; }
  body.dadrama-desktop-exact #detail-view .episode-button.active>.episode-tile { color:var(--pc-accent,#f7cd59);border:2px solid var(--pc-accent,#f7cd59);background:#342b18; }
  body.dadrama-desktop-exact #detail-view .episode-access { padding-top:4px;font-size:11px;line-height:15px; }
  body.dadrama-desktop-exact #detail-view .episode-hint { margin-top:12px;color:#888;font-size:12px;line-height:18px; }
  body.dadrama-desktop-exact .pc-exact-related:not([hidden]) { display:block;margin:0 86px;padding:0; }
  body.dadrama-desktop-exact .pc-exact-related-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px; }
  body.dadrama-desktop-exact .pc-exact-related h2 { color:#ccc;font-size:24px;font-weight:700;line-height:33px;letter-spacing:-.025em; }
  body.dadrama-desktop-exact .pc-exact-related-controls { display:flex;gap:8px; }
  body.dadrama-desktop-exact .pc-exact-related-controls button { display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff14;border-radius:50%;background:#171719;padding:9px; }
  body.dadrama-desktop-exact .pc-exact-related-controls img { width:16px;height:16px; }
  body.dadrama-desktop-exact .pc-exact-related-controls button:first-child img { transform:rotate(180deg); }
  body.dadrama-desktop-exact .pc-exact-related-rail { display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 6*18px)/7);gap:18px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 0 10px; }
  body.dadrama-desktop-exact .pc-exact-related-rail::-webkit-scrollbar { display:none; }
  body.dadrama-desktop-exact .pc-exact-related-card { display:block;min-width:0;scroll-snap-align:start;color:#ddd; }
  body.dadrama-desktop-exact .pc-exact-related-card>img { display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px; }
  body.dadrama-desktop-exact .pc-exact-related-card h3 { margin:9px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ddd;font-size:14px;font-weight:600;line-height:21px; }
  body.dadrama-desktop-exact .pc-exact-related-card p { color:#888;font-size:12px;line-height:18px; }
  body.dadrama-desktop-exact .player-state.is-playback-error { background:#000; }
  body.dadrama-desktop-exact .player-state.is-playback-error .player-state-card { width:100%;max-width:none;padding:20px;border:0;border-radius:0;box-shadow:none;background:none;text-align:center; }
  body.dadrama-desktop-exact .player-state.is-playback-error .player-state-icon,
  body.dadrama-desktop-exact .player-state.is-playback-error #player-state-episodes,
  body.dadrama-desktop-exact .player-state.is-playback-error #player-state-home { display:none; }
  body.dadrama-desktop-exact .player-state.is-playback-error h2 { color:#ddd;font-size:14px;font-weight:400;line-height:21px;letter-spacing:0; }
  body.dadrama-desktop-exact .player-state.is-playback-error #player-state-action { width:auto;min-width:78px;min-height:36px;margin-top:12px;padding:8px 20px;border:0;border-radius:999px;background:var(--pc-accent,#f7cd59);color:#211604;font-size:14px;line-height:20px; }
  body.dadrama-desktop-exact.for-you-mode { overflow:hidden; }
  body.dadrama-desktop-exact.for-you-mode main { min-height:0; }
  body.dadrama-desktop-exact.for-you-mode #detail-view { --pc-feed-height:calc(100dvh - var(--desktop-header-height,81px) - 24px);max-width:none;margin:0;padding:12px 16px;height:calc(100dvh - var(--desktop-header-height,81px)); }
  body.dadrama-desktop-exact.for-you-mode #detail-view>.back-button,
  body.dadrama-desktop-exact.for-you-mode #episode-sheet,
  body.dadrama-desktop-exact.for-you-mode :is(.player-toolbar,.playback-controls,.keyboard-help,.site-footer,.playback-note) { display:none!important; }
  body.dadrama-desktop-exact.for-you-mode #detail-view .detail-layout { display:block;max-width:none; }
  body.dadrama-desktop-exact.for-you-mode #detail-content .player-column { position:relative;top:auto;display:block;justify-self:auto;width:calc(var(--pc-feed-height)*.5625);height:var(--pc-feed-height);max-width:100%;margin:auto;padding:0; }
  body.dadrama-desktop-exact.for-you-mode #detail-view .player-wrap:not(:fullscreen) { width:100%;height:var(--pc-feed-height);aspect-ratio:9/16;min-height:0;max-height:none;border:0;border-radius:16px;background:#000;overflow:visible; }
  body.dadrama-desktop-exact.for-you-mode #detail-view .player-wrap>video { border-radius:16px;object-fit:cover; }
  body.dadrama-desktop-exact.for-you-mode #detail-content .player-info-overlay { display:none; }
  body.dadrama-desktop-exact.for-you-mode #detail-loading>.player-wrap { width:calc(var(--pc-feed-height)*.5625);height:var(--pc-feed-height);max-width:100%;margin:auto; }
  body.dadrama-desktop-exact.for-you-mode #detail-loading>.feed-placeholder-episodes { display:none; }
  body.dadrama-desktop-exact.for-you-mode .player-wrap>.player-rail { inset:auto auto 64px calc(100% + 16px);display:flex;flex-direction:column;gap:16px;opacity:1;pointer-events:auto; }
  body.dadrama-desktop-exact.for-you-mode .player-rail button { width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#ffffff10;color:#ccc; }
  body.dadrama-desktop-exact.for-you-mode .player-rail small { display:block;max-width:64px;color:#aaa;font-size:10px;line-height:14px; }
  body.dadrama-desktop-exact.for-you-mode .pc-feed-sidebar:not([hidden]) { display:block;position:fixed;z-index:6;inset:var(--desktop-header-height,81px) auto 0 0;width:210px;padding-top:16px;border-inline-end:1px solid #ffffff10;background:#0003; }
  body.dadrama-desktop-exact .pc-feed-sidebar a { display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 16px;background:#ffffff14;color:#fff;font-size:14px;font-weight:700; }
  body.dadrama-desktop-exact .pc-feed-sidebar img { width:40px;height:40px;padding:12px;border-radius:50%;background:#ffffff14; }
  body.dadrama-desktop-exact.for-you-mode .pc-feed-navigation:not([hidden]) { display:grid;gap:12px;position:fixed;right:24px;top:calc(50% - 50px);z-index:20; }
  body.dadrama-desktop-exact .pc-feed-navigation button { display:grid;place-items:center;width:44px;height:44px;padding:14px;border:0;border-radius:50%;background:#ffffff10; }
  body.dadrama-desktop-exact .pc-feed-navigation button:disabled { opacity:.4;cursor:default; }
  body.dadrama-desktop-exact .pc-feed-navigation img { width:16px;height:16px;transform:rotate(90deg); }
  body.dadrama-desktop-exact .pc-feed-navigation button:first-child img { transform:rotate(-90deg); }
  body.dadrama-desktop-exact.for-you-mode .pc-feed-caption:not([hidden]) { display:block;position:fixed;z-index:5;left:calc(210px + 80px);bottom:44px;max-width:calc(50vw - 260px);padding:0;color:#eee;pointer-events:none; }
  body.dadrama-desktop-exact .pc-feed-episode-dialog { width:480px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 80px);margin:auto;padding:28px;border:1px solid #ffffff1f;border-radius:16px;background:#121214;color:#fff;overflow:auto; }
  body.dadrama-desktop-exact .pc-feed-episode-dialog::backdrop { background:#000b; }
  body.dadrama-desktop-exact .pc-feed-episode-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px; }
  body.dadrama-desktop-exact .pc-feed-episode-heading h2 { font-family:inherit;font-size:22px;font-weight:700;line-height:1.3; }
  body.dadrama-desktop-exact .pc-feed-episode-heading button { flex:none;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:#ffffff10; }
  body.dadrama-desktop-exact .pc-feed-episode-heading img { width:20px;height:20px; }
  body.dadrama-desktop-exact .pc-feed-episode-grid { display:grid;grid-template-columns:repeat(auto-fill,44px);gap:8px;max-height:none;margin:0;padding:0; }
  body.dadrama-desktop-exact .pc-feed-caption h2 { color:#eee;font-size:16px;font-weight:700;line-height:24px; }
  body.dadrama-desktop-exact .pc-feed-caption p { color:#999;font-size:12px;line-height:18px; }
  body.dadrama-desktop-exact.library-page main { max-width:none; }
  body.dadrama-desktop-exact #library-view.native-library-page { max-width:none;margin:0;padding:24px 86px 64px;background:#0b0b0d;min-height:calc(100dvh - var(--desktop-header-height,81px) - 195px); }
  body.dadrama-desktop-exact .pc-library-heading { display:block;margin:0 0 20px;color:#fff;font-size:26px;font-weight:900;line-height:39px;letter-spacing:-.025em; }
  body.dadrama-desktop-exact .native-library-page .library-chrome { display:flex;align-items:center;height:34px;border-bottom:1px solid #ffffff14;margin:0 0 28px;padding:0;background:none; }
  body.dadrama-desktop-exact .native-library-page .library-tabs { gap:20px;height:33px; }
  body.dadrama-desktop-exact .native-library-page .library-tabs button,
  body.dadrama-desktop-exact .native-library-page .library-tabs button.active { height:33px;min-height:33px;padding:0;font-size:15px;font-weight:700;line-height:23px; }
  body.dadrama-desktop-exact .native-library-page .library-tabs .library-tab-label { font-size:15px;line-height:23px;transform:none; }
  body.dadrama-desktop-exact .native-library-page .library-tabs button.active::after { inset-inline:0;bottom:0;width:100%;height:2px;border-radius:0; }
  body.dadrama-desktop-exact .native-library-page .library-header-actions { margin-inline-start:auto; }
  body.dadrama-desktop-exact .native-library-page .library-header-actions button { width:32px;height:32px;min-height:32px;padding:5px; }
  body.dadrama-desktop-exact .native-library-page #library-catalog,
  body.dadrama-desktop-exact .native-library-page #library-catalog[data-library-mode="favorites"] { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;padding:0; }
  body.dadrama-desktop-exact .native-library-page .library-row,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-row { display:flex;align-items:stretch;position:relative;gap:0;min-height:256px;padding:0;border:0;border-radius:16px;background:#141415;overflow:hidden; }
  body.dadrama-desktop-exact .native-library-page .library-poster,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-poster { display:block;flex:0 0 192px;width:192px;height:256px;aspect-ratio:3/4;border-radius:0;overflow:hidden; }
  body.dadrama-desktop-exact .native-library-page .library-copy,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-copy { display:flex;flex:1;flex-direction:column;align-self:stretch;min-width:0;height:auto;margin:0;padding:18px 24px 20px; }
  body.dadrama-desktop-exact .native-library-page .library-row h3,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-row h3 { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;margin:0;color:#ddd;font-size:18px;font-weight:500;line-height:27px; }
  body.dadrama-desktop-exact .native-library-page .pc-library-category:not([hidden]) { display:block;margin-top:6px;color:#888;font-size:12px;line-height:18px; }
  body.dadrama-desktop-exact .native-library-page .library-row p,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-row p { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 0;color:#888;font-size:13px;line-height:20px; }
  body.dadrama-desktop-exact .native-library-page .library-episode { margin-top:auto;padding-top:20px;color:#888;font-size:13px;line-height:20px; }
  body.dadrama-desktop-exact .native-library-page .library-select { position:absolute;z-index:2;inset:12px auto auto 12px;margin:0;background-color:#111a;border-radius:50%; }
  body.dadrama-desktop-exact .native-library-page #library-message { min-height:240px;margin:0;padding:44px 0;border:0;background:none;text-align:center; }
  body.dadrama-desktop-exact .native-library-page .library-empty-image { width:100px;height:100px;margin:20px auto;opacity:.7; }
}
@media (min-width:1024px) and (max-width:1279px) {
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view>.back-button { margin-inline-start:40px; }
  body.dadrama-desktop-exact.watching:not(.for-you-mode) #detail-view .player-wrap:not(:fullscreen) { max-width:calc(100vw - 480px); }
  body.dadrama-desktop-exact .pc-exact-related { margin-inline:40px; }
  body.dadrama-desktop-exact .pc-exact-related-rail { grid-auto-columns:calc((100% - 4*16px)/5);gap:16px; }
  body.dadrama-desktop-exact.library-page main { max-width:none; }
  body.dadrama-desktop-exact #library-view.native-library-page { padding-inline:40px; }
  body.dadrama-desktop-exact .native-library-page #library-catalog,
  body.dadrama-desktop-exact .native-library-page #library-catalog[data-library-mode="favorites"] { gap:16px; }
  body.dadrama-desktop-exact .native-library-page .library-poster,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-poster { flex-basis:144px;width:144px;height:192px; }
  body.dadrama-desktop-exact .native-library-page .library-row,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-row { min-height:192px; }
  body.dadrama-desktop-exact .native-library-page .library-copy,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-copy { padding:16px; }
  body.dadrama-desktop-exact .native-library-page .library-row h3,
  body.dadrama-desktop-exact .native-library-page [data-library-mode="favorites"] .library-row h3 { font-size:16px;line-height:24px; }
}

@media(min-width:1024px){
body.dadrama-desktop-exact.home-view:not(.pc-home-overview) #discover-view .featured-shell{display:none!important}
body.dadrama-desktop-exact .pc-search-status{min-height:160px;display:grid;place-content:center;gap:12px;color:#aaa;text-align:center}
body.dadrama-desktop-exact .pc-search-status p{margin:0;font:400 14px/22px var(--font)}
body.dadrama-desktop-exact .pc-search-status button{justify-self:center;min-height:40px;padding:8px 20px;border:1px solid #ffffff22;background:#292929;color:#eee;border-radius:8px}
body.dadrama-desktop-exact .pc-search-skeleton{display:block;width:300px;max-width:65vw;height:64px;border-radius:8px;background:linear-gradient(110deg,#202020 30%,#2b2b2b 48%,#202020 65%);background-size:220% 100%;animation:pc-search-shimmer 1.3s linear infinite}
}@keyframes pc-search-shimmer{to{background-position:-220% 0}}@media(prefers-reduced-motion:reduce){.pc-search-skeleton{animation:none!important}}

/* Warm gold brand accent: selected icons retain dark-on-gold contrast. */
@media(min-width:1024px){body.dadrama-desktop-exact .pc-preview-actions button[aria-pressed=true] img{filter:none}}

/* Dadrama only. Normal-flow footer; never overlays the video player. */
body.dadrama-footer-enabled .site-footer {
  display:block!important;margin:0;padding:30px max(16px,6vw) 36px;
  border-top:1px solid #ffffff10;background:#0b0b0d;color:#919194;
  font-family:inherit;font-size:12px;line-height:20px;text-align:start;
}
body.dadrama-footer-enabled .dadrama-footer-links {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;
  width:min(100%,680px);margin:0 0 22px;padding:0;
}
body.dadrama-footer-enabled .dadrama-footer-links :is(a,button) {
  display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:44px;
  padding:6px 0;border:0;border-radius:6px;background:none;color:#aaa9ad;
  font-family:inherit;font-weight:400;font-size:14px;line-height:22px;text-align:start;text-decoration:none;cursor:pointer;
}
body.dadrama-footer-enabled .dadrama-footer-links :is(a,button):hover {color:#f6d780;}
body.dadrama-footer-enabled .dadrama-footer-links :is(a,button):focus-visible {outline:2px solid #f6d780;outline-offset:4px;}
body.dadrama-footer-enabled .dadrama-footer-links img {flex:none;width:20px;height:20px;filter:invert(1);opacity:.65;}
body.dadrama-footer-enabled .dadrama-footer-links span {overflow-wrap:anywhere;}
body.dadrama-footer-enabled .site-footer>span {display:inline-block;margin-inline-end:12px;}
body.dadrama-footer-enabled .dadrama-copyright-help {margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#f6d78012;color:#d9c791;font-size:13px;line-height:20px;}
body.dadrama-footer-enabled.watching .site-footer,
body.dadrama-footer-enabled.for-you-mode .site-footer {display:none!important;}
@media(max-width:1023px) {
  body.dadrama-footer-enabled .site-footer {padding:24px 20px calc(128px + env(safe-area-inset-bottom,0px));}
  body.dadrama-footer-enabled .dadrama-footer-links {gap:4px 20px;margin-bottom:18px;}
  body.dadrama-footer-enabled .dadrama-footer-links :is(a,button) {font-size:13px;line-height:20px;gap:8px;}
  body.dadrama-footer-enabled:has(#resume-bar:not([hidden])) .site-footer {padding-bottom:calc(192px + env(safe-area-inset-bottom,0px));}
}

/* Dadrama Web: compact, asset-free empty library states. */
#library-view.native-library-page #library-message:has(>.library-empty-state) { min-height:0;margin:0;padding:40px 16px 44px;border:0;background:none;text-align:center; }
#library-view .library-empty-state { display:flex;flex-direction:column;align-items:center;max-width:360px;margin:0 auto; }
#library-view .library-empty-art { display:block;flex:none;width:128px;height:108px;margin:0 0 12px; }
#library-view .library-empty-state h2 { margin:0;color:#dedbd4;font-size:18px;font-weight:650;line-height:26px; }
#library-view .library-empty-discover { display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin-top:22px;padding:0 22px;border:1px solid #e4c98d;border-radius:999px;background:#e4c98d;color:#261f13;font-family:inherit;font-size:14px;font-weight:700;line-height:20px;cursor:pointer; }
#library-view .library-empty-discover:hover { background:#f0dba9;border-color:#f0dba9; }
#library-view .library-empty-discover:focus-visible { outline:2px solid #fff;outline-offset:4px; }
@media(max-width:760px) { #library-view.native-library-page #library-message:has(>.library-empty-state) { padding:32px 16px 36px; } }

/* Signed account identity: hidden provider icon must not claim the text column. */
#account-signed-panel .native-login-identity > span { min-width:0;grid-column:2; }
#account-signed-panel #account-signed-icon[hidden] + span { grid-column:1 / -1; }

/* Dadrama Web status illustration standard: the existing black/gold projector. */
#library-view.native-library-page #library-message:has(>.library-empty-state) { padding:28px 16px 32px; }
#library-view .library-empty-art { width:96px;height:104px;object-fit:contain;opacity:1; }
#library-view .library-empty-state p { max-width:264px;margin:8px 0 0;color:#aaa59c;font-size:13px;line-height:20px; }
#library-view .library-empty-discover { margin-top:18px; }
.state-icon.state-illustration { width:80px;height:90px;margin:0 auto 16px;object-fit:contain;opacity:1; }
.player-state:not(.is-locked) .player-state-icon[src$="native-playback-error-projector.webp"] { display:block;width:72px;height:80px;object-fit:contain;margin:0 auto 12px;opacity:1; }
body.dadrama-desktop-exact .player-state.is-playback-error .player-state-icon { display:block; }

/* Purchase opening state: explicit user action only; no order replacement. */
.web-pay-dialog.web-pay-opening{max-width:380px;min-height:170px}
.web-pay-opening .web-pay-summary,.web-pay-opening .web-pay-terms,.web-pay-opening .web-pay-form,.web-pay-opening .web-pay-check{display:none!important}
.web-pay-opening .web-pay-pending{display:block!important}
.web-pay-opening .web-pay-body{padding-block:36px 30px;text-align:center}
.web-pay-opening .web-pay-status{color:#a8a8a8;font-size:14px;line-height:1.6}
.web-pay-opening #web-pay-title{font-size:20px;margin:0 0 12px}
.web-pay-opening #web-pay-title:before{content:"";display:block;width:24px;height:24px;margin:0 auto 16px;border:2px solid #454545;border-top-color:#e8e8e8;border-radius:50%;animation:web-cashier-spin .8s linear infinite}
.web-pay-opening .web-pay-link{font-size:14px;color:#eee}
@keyframes web-cashier-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.web-pay-opening #web-pay-title:before{animation:none}}

.web-pay-currency{margin:4px 0 16px;padding:0;border:0;background:none}
.web-pay-currency label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0!important;padding:0!important;min-height:38px;color:#d0d0d0;font-size:13px;font-weight:500}
.web-pay-currency select{min-height:38px;max-width:180px;padding:6px 10px;border:1px solid #ffffff24;border-radius:8px;background:#242424;color:#f1f1f1;font:inherit;font-size:13px;color-scheme:dark}
.web-pay-currency select:focus-visible{outline:2px solid #e2e2e2;outline-offset:3px}.web-pay-currency select:disabled{opacity:.6}
.web-pay-currency small{display:block;color:#929292;font-size:11px;line-height:1.5;margin-top:7px}

/* Independent secondary search surface; mobile and PC keep their own scale. */
body.search-page-open .site-header,
body.search-page-open .bottom-nav,
body.search-page-open #resume-bar,
body.search-page-open .site-footer { display:none!important; }
body.search-page-open #app-shell { padding-bottom:0!important; }
#search-view { min-height:100svh; padding:0 20px 48px; background:#09090b; }
#search-view[hidden] { display:none!important; }
.search-page-toolbar { position:sticky;top:0;z-index:24;display:flex;align-items:center;gap:10px;padding:12px 0;background:#09090bf5;backdrop-filter:blur(16px); }
.search-page-back { flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#f6f5f8;cursor:pointer; }
.search-page-back svg { width:24px;height:24px; }
.search-page-form { display:flex;align-items:center;gap:8px;flex:1;min-width:0; }
.search-page-field { display:flex;align-items:center;gap:8px;min-width:0;flex:1;min-height:46px;border:1px solid #ffffff1f;border-radius:24px;background:#202023;padding:0 4px 0 12px; }
.search-page-field:focus-within { border-color:#f7cd59;box-shadow:0 0 0 2px #f7cd5914; }
.search-page-field>svg { width:20px;height:20px;flex:none;color:#b6b5be; }
#secondary-search-input { color:#f5f4f7;background:transparent;border:0;outline:0;box-shadow:none;width:100%;min-width:0;padding:12px 0;font:inherit;font-size:16px;line-height:22px; }
#secondary-search-input::placeholder { color:#a4a3ab; }
#secondary-search-input::-webkit-search-cancel-button { display:none; }
.search-page-clear { display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:#bbb9c2;border-radius:50%;padding:0;cursor:pointer; }
.search-page-clear[hidden] { display:none; }
.search-page-clear svg { width:18px;height:18px; }
.search-page-submit { min-width:54px;min-height:44px;padding:0 4px;border:0;background:transparent;color:#f7d779;font-size:15px;font-weight:650;cursor:pointer; }
.search-page-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 20px; }
.search-page-heading h1 { color:#f5f4f7;font-size:22px;line-height:1.3;letter-spacing:-.025em;font-weight:700;margin:0; }
.search-page-count { color:#99969f;font-size:14px; }
.search-page-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px; }
#search-view .poster-card { min-width:0;width:auto;display:block; }
#search-view .poster-image { aspect-ratio:2/3;width:100%;border-radius:12px;overflow:hidden; }
#search-view .poster-image>img { width:100%;height:100%;object-fit:cover; }
#search-view .poster-caption { padding:10px 0 0; }
#search-view .poster-caption h3 { margin:0;font-size:15px;line-height:1.4;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
#search-view .poster-meta { font-size:12px;margin:5px 0 0; }
#search-view .poster-meta>span { display:none!important; }
#search-view .poster-meta>.poster-desktop-meta { display:inline!important; }
.search-page-placeholder>div { aspect-ratio:2/3;border-radius:12px;background:#202023; }
.search-page-placeholder>span,.search-page-placeholder>small { display:block;height:12px;width:80%;margin-top:12px;border-radius:6px;background:#202023; }
.search-page-placeholder>small { width:45%;height:9px;margin-top:9px; }
.search-page-placeholder { animation:search-page-pulse 1.5s ease-in-out infinite; }
.search-page-status { max-width:480px;margin:70px auto;text-align:center;padding:20px; }
.search-page-status[hidden] { display:none; }
.search-page-status img { width:96px;height:108px;object-fit:contain; }
.search-page-status h2 { color:#f5f4f7;margin:22px 0 10px;font-size:22px;line-height:1.35; }
.search-page-status p { color:#aaa6af;font-size:15px;line-height:1.6;margin:0; }
.search-page-status button { margin-top:22px;min-height:44px;padding:0 28px;border:0;border-radius:24px;background:#f7cd59;color:#19150c;font-weight:700;cursor:pointer; }
#search-view button:focus-visible,#search-view a:focus-visible { outline:2px solid #f7cd59;outline-offset:4px; }
@keyframes search-page-pulse { 50% { opacity:.55; } }
@media(prefers-reduced-motion:reduce) { .search-page-placeholder { animation:none; } }
@media(min-width:600px) { .search-page-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(min-width:1024px) {
 #search-view { min-height:calc(100svh - 80px);padding:0 clamp(32px,4.4vw,90px) 64px;max-width:1920px;margin:auto; }
 .search-page-toolbar { top:80px;gap:20px;padding:26px 0 22px; }
 .search-page-form { flex:0 1 800px;gap:16px; }
 .search-page-field { min-height:50px; }
 .search-page-submit { background:#f7cd59;color:#19150c;border-radius:28px;min-height:48px;min-width:100px;padding:0 24px; }
 .search-page-heading { margin:22px 0 28px; }
 .search-page-heading h1 { font-size:30px; }
 .search-page-grid { grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 24px; }
 #search-view .poster-caption h3 { font-size:16px; }
}
@media(min-width:1600px) { .search-page-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }

/* Profile VIP: a static metallic edge, preserving the existing card artwork. */
#profile-view.native-profile-page > .profile-vip {
  position:relative;
  isolation:isolate;
  box-shadow:inset 0 1px 0 #fff8dd80,0 4px 16px #00000014;
}
#profile-view.native-profile-page > .profile-vip::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  padding:2px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(118deg,#92621f 0%,#e4bd69 12%,#fff6d5 24%,#c5923b 40%,#986522 52%,#f5d38b 67%,#fff0b9 80%,#ae7b2c 93%,#e4bf6c 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
/* Do not hide genuine sign-in or balance-connectivity feedback. */
#profile-view #profile-wallet-status:empty,
#profile-view .account-entry[hidden] { display:none!important; }

/* Keep cold access preparation on the cover; never show a half-ready checkout. */
#player-unlock-open.is-preparing { gap:9px;opacity:.9; }
#player-unlock-open.is-preparing::before {
  content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;
  border-radius:50%;animation:unlock-prepare-spin .8s linear infinite;
}
@keyframes unlock-prepare-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #player-unlock-open.is-preparing::before { animation:none; } }

/* A confirmed coin debit is a brief, unboxed amount at the viewport center. */
.toast.toast-coin-debit {
  position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;gap:7px;
  width:max-content;max-width:calc(100vw - 32px);margin:0;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;color:#fff;
  font-size:26px;line-height:1.3;font-weight:700;font-variant-numeric:tabular-nums;
  pointer-events:none;
}
.toast.toast-coin-debit[hidden] { display:none; }
.toast.toast-coin-debit img { flex:none;width:28px;height:28px;object-fit:contain; }

/* Reuse the wallet and its verified prices as a bottom sheet over the episode. */
body #wallet-dialog.commerce-dialog.unlock-topup-sheet {
  position:fixed;inset:auto 0 0;inline-size:min(560px,100%);width:min(560px,100%);
  block-size:auto;height:auto;max-block-size:74dvh;max-height:74dvh;min-height:0;
  margin:0 auto;padding:0;border:1px solid #ffffff1f;border-bottom:0;
  border-radius:22px 22px 0 0;background:#111110;color:#f5f5f8;
  box-shadow:0 -12px 40px #0005;overflow:hidden;
}
body #wallet-dialog.unlock-topup-sheet::backdrop {
  background:#0008;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body #wallet-dialog.unlock-topup-sheet .commerce-heading {
  inline-size:100%;min-height:54px;margin:0;padding:5px 12px 5px 4px;background:transparent;
}
body #wallet-dialog.unlock-topup-sheet .commerce-heading h2 { font-size:18px; }
body #wallet-dialog.unlock-topup-sheet #wallet-title:focus { outline:none; }
body #wallet-dialog.unlock-topup-sheet .commerce-scroll {
  inline-size:100%;width:100%;max-width:none;min-height:0;max-height:calc(74dvh - 54px);
  margin:0;padding:0 16px max(16px,env(safe-area-inset-bottom));overflow:auto;
}
body #wallet-dialog.unlock-topup-sheet .wallet-unlock-note { margin:2px 0 12px;color:#d9c59f;font-size:13px;line-height:1.5; }
body #wallet-dialog.unlock-topup-sheet .native-wallet-balance { margin:0;padding:11px 13px;border:1px solid #b4935e;border-radius:14px;background:linear-gradient(135deg,#2c2419,#1b1710,#10100e); }
body #wallet-dialog.unlock-topup-sheet .commerce-eyebrow { color:var(--commerce-gold); }
body #wallet-dialog.unlock-topup-sheet .native-wallet-balance>div { min-height:30px;margin-top:4px;gap:9px; }
body #wallet-dialog.unlock-topup-sheet .native-wallet-balance strong { font-size:25px; }
body #wallet-dialog.unlock-topup-sheet .native-wallet-balance img { width:26px;height:26px;inline-size:26px;block-size:26px; }
body #wallet-dialog.unlock-topup-sheet .commerce-section-title { margin:15px 0 0;font-size:18px; }
body #wallet-dialog.unlock-topup-sheet .native-wallet-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0; }
body #wallet-dialog.unlock-topup-sheet .native-coin-card { align-items:stretch;min-height:111px;padding:10px 12px;border:1px solid #38332a;border-radius:14px;background:linear-gradient(135deg,#1b1915,#131210);text-align:left; }
body #wallet-dialog.unlock-topup-sheet .native-coin-card:hover { border-color:#d8bc7a;background:linear-gradient(135deg,#2c2419,#1b1710,#10100e); }
body #wallet-dialog.unlock-topup-sheet .coin-card-top { justify-content:space-between;min-height:30px; }
body #wallet-dialog.unlock-topup-sheet .coin-card-top>img { width:30px;height:30px;inline-size:30px;block-size:30px; }
body #wallet-dialog.unlock-topup-sheet .native-coin-card>strong { align-self:stretch;margin:5px 0 0;font-size:22px;line-height:1.25;text-align:left; }
body #wallet-dialog.unlock-topup-sheet .coin-unit { margin:2px 0 0;font-size:9px;text-align:left; }
body #wallet-dialog.unlock-topup-sheet .coin-reference-price { display:block;min-block-size:0;align-self:stretch;margin:5px 0 0;padding:0;border:0;background:none;color:var(--commerce-gold);font-size:13px;line-height:1.3;font-weight:500;text-align:left; }
body #wallet-dialog.unlock-topup-sheet .commerce-restore { min-height:40px;margin:8px 0 0;font-size:12px; }

/* Episode recharge is a compact offer sheet, not the profile wallet page. */
body #wallet-dialog.commerce-dialog.unlock-topup-sheet {
  inline-size:min(440px,100%);width:min(440px,100%);border-radius:26px 26px 0 0;
  background:#1d1d1d;border-color:#3c3c3c;box-shadow:none;
}
body #wallet-dialog.unlock-topup-sheet .commerce-heading {
  position:relative;display:flex;justify-content:center;align-items:center;
  min-height:64px;height:64px;margin:0;padding:13px 60px 5px;border-bottom:1px solid #383838;
}
body #wallet-dialog.unlock-topup-sheet .commerce-heading::before {
  content:"";position:absolute;top:7px;left:50%;transform:translateX(-50%);
  width:34px;height:4px;border-radius:3px;background:#626262;
}
body #wallet-dialog.unlock-topup-sheet .commerce-heading h2 {
  flex:none;display:flex;align-items:center;justify-content:center;gap:5px;margin:0;
  font-size:20px;line-height:1.2;font-weight:750;color:#fff;
}
body #wallet-dialog.unlock-topup-sheet .episode-topup-title-icon { width:25px;height:25px;object-fit:contain; }
body #wallet-dialog.unlock-topup-sheet .commerce-back {
  position:absolute;inset:12px 12px auto auto;width:40px;height:40px;inline-size:40px;block-size:40px;
  margin:0;padding:10px;border:0;border-radius:50%;background:#343434;
}
body #wallet-dialog.unlock-topup-sheet .commerce-back img { width:20px;height:20px;transform:none; }
body #wallet-dialog.unlock-topup-sheet :is(.native-wallet-balance,.wallet-unlock-note,.commerce-support,.commerce-section-title,.commerce-restore,.web-pay-currency,.web-pay-manage) { display:none; }
body #wallet-dialog.unlock-topup-sheet .commerce-scroll {
  max-height:calc(74dvh - 64px);padding:12px 15px max(14px,env(safe-area-inset-bottom));
}
body #wallet-dialog.unlock-topup-sheet .native-wallet-grid { margin:0;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr)); }
body #wallet-dialog.unlock-topup-sheet .native-coin-card {
  align-items:stretch;min-height:0;min-block-size:0;margin:0;padding:12px 0 0;overflow:hidden;
  border:1px solid #3f3f3f;border-radius:10px;background:#242424;color:#fff;text-align:center;
}
body #wallet-dialog.unlock-topup-sheet .native-coin-card:hover { border-color:#777;background:#292929; }
body #wallet-dialog.unlock-topup-sheet .coin-card-top { justify-content:center;min-height:44px;min-block-size:44px; }
body #wallet-dialog.unlock-topup-sheet .coin-card-top>img { width:44px;height:44px;inline-size:44px;block-size:44px; }
body #wallet-dialog.unlock-topup-sheet .native-coin-card>strong {
  align-self:stretch;margin:8px 6px 10px;font-size:24px;font-weight:750;line-height:1.2;text-align:center;
}
body #wallet-dialog.unlock-topup-sheet .coin-unit { display:none; }
body #wallet-dialog.unlock-topup-sheet .coin-reference-price {
  display:flex;align-items:center;justify-content:center;align-self:stretch;
  min-height:34px;min-block-size:34px;margin:0;padding:5px 4px;
  border:0;border-top:1px solid #424242;background:#303030;
  color:#fff;font-size:17px;font-weight:750;line-height:1.3;text-align:center;
}

.episode-vip-crest,.episode-vip-credential,.episode-vip-intro,.episode-vip-terms { display:none; }
body #vip-dialog.commerce-dialog.episode-vip-purchase {
  position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);
  inline-size:min(410px,calc(100vw - 24px));width:min(410px,calc(100vw - 24px));max-inline-size:none;
  block-size:auto;height:auto;max-block-size:calc(100dvh - 28px);max-height:calc(100dvh - 28px);
  margin:0;padding:38px 0 62px;border:0;border-radius:0;background:transparent;box-shadow:none;
  overflow-x:hidden;overflow-y:auto;scrollbar-width:none;
}
body #vip-dialog.episode-vip-purchase::backdrop { background:#0008;backdrop-filter:none;-webkit-backdrop-filter:none; }
body #vip-dialog.episode-vip-purchase .commerce-heading { display:contents; }
body #vip-dialog.episode-vip-purchase .commerce-heading :is(h2,.commerce-support) { display:none; }
body #vip-dialog.episode-vip-purchase .commerce-back {
  position:absolute;inset:auto auto 0 50%;transform:translateX(-50%);
  display:grid;place-items:center;width:44px;height:44px;inline-size:44px;block-size:44px;
  margin:0;padding:10px;border:1px solid #ffffff99;border-radius:50%;background:#111b;
}
body #vip-dialog.episode-vip-purchase .commerce-back img { width:24px;height:24px;transform:none; }
body #vip-dialog.episode-vip-purchase .commerce-scroll { inline-size:100%;width:100%;margin:0;padding:0;overflow:visible; }
body #vip-dialog.episode-vip-purchase .native-vip-panel {
  position:relative;display:block;margin:0;padding:42px 18px 16px;border:1px solid #b78a39;border-radius:18px;
  background:#e7c372 url("assets/vip-gilded-surface-v1.webp") center / cover no-repeat;color:#39270f;overflow:visible;
  box-shadow:inset 0 1px 0 #fff7d5,inset 0 -1px 0 #936222,inset 0 0 0 1px #fff2cb66,0 20px 56px #0008;
}
body #vip-dialog.episode-vip-purchase .episode-vip-crest {
  position:absolute;top:-50px;left:50%;transform:translateX(-50%);display:block;
  width:104px;height:94px;object-fit:contain;filter:drop-shadow(0 3px 4px #50321033);
}
body #vip-dialog.episode-vip-purchase :is(.native-vip-balance,.commerce-section-title,.commerce-restore,.web-pay-currency,.web-pay-manage,#vip-selection,#vip-web-payment-note) { display:none; }
body #vip-dialog.episode-vip-purchase .native-vip-plans { display:block;margin:0; }
body #vip-dialog.episode-vip-purchase .native-plan-card:not([aria-pressed="true"]) { display:none; }
body #vip-dialog.episode-vip-purchase .native-plan-card {
  display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;
  color:#4d3017;text-align:center;box-shadow:none;cursor:default;
}
body #vip-dialog.episode-vip-purchase .native-plan-main { display:flex;flex-direction:column;align-items:center;min-height:0;min-block-size:0;padding:0;background:none; }
body #vip-dialog.episode-vip-purchase .native-plan-heading { display:block;margin:0;text-align:center; }
body #vip-dialog.episode-vip-purchase .native-plan-heading strong { font-size:23px;line-height:1.3;color:#39270f;text-shadow:0 1px 0 #fff7dc88; }
body #vip-dialog.episode-vip-purchase .coin-selection { display:none; }
body #vip-dialog.episode-vip-purchase .episode-vip-credential { position:relative;display:block;width:118px;height:68px;margin:25px auto 0; }
body #vip-dialog.episode-vip-purchase .episode-vip-credential .credential-surface { position:absolute;inset:0;width:100%;height:100%;object-fit:fill; }
body #vip-dialog.episode-vip-purchase .episode-vip-credential .credential-crown { position:absolute;top:9px;left:10px;width:18px;height:18px;filter:brightness(.35); }
body #vip-dialog.episode-vip-purchase .episode-vip-credential strong {
  position:absolute;inset:0;display:grid;place-items:center;padding-top:4px;
  font-size:27px;line-height:1;letter-spacing:.1em;font-weight:750;color:#422710;
}
body #vip-dialog.episode-vip-purchase .native-plan-price,
body #vip-dialog.episode-vip-purchase .native-plan-price.is-priced { margin:23px 0 0;color:#402810;font-size:26px;line-height:1.3;font-weight:650; }
body #vip-dialog.episode-vip-purchase .native-plan-benefits { justify-content:center;gap:8px;margin:14px 0 0;padding:0;border:0;background:none;color:#624321; }
body #vip-dialog.episode-vip-purchase .episode-vip-intro { display:block;margin:18px 0 0;color:#513819;font-size:14px;line-height:1.7;text-align:center;text-wrap:balance; }
body #vip-dialog.episode-vip-purchase #episode-vip-intro:focus { outline:none; }
body #vip-dialog.episode-vip-purchase #vip-membership-status[data-membership-state="inactive"] { display:none; }
body #vip-dialog.episode-vip-purchase #episode-vip-unavailable { margin:14px 0;color:#624321;font-size:13px;text-align:center; }
body #vip-dialog.episode-vip-purchase .native-vip-purchase { display:block;margin:22px 0 0;padding:0; }
body #vip-dialog.episode-vip-purchase .commerce-vip-button {
  display:block;inline-size:100%;width:100%;min-height:51px;min-block-size:51px;margin:0;padding:12px;
  border:1px solid #503719;border-radius:7px;background:#302012;color:#ffedc4;font-size:20px;line-height:1.3;font-weight:700;
}
body #vip-dialog.episode-vip-purchase .commerce-vip-button:disabled { opacity:.55;cursor:not-allowed; }
body #vip-dialog.episode-vip-purchase .episode-vip-terms { display:block;margin:10px 0 0;color:#513819;font-size:11px;line-height:1.5;text-align:center; }
@media(max-height:600px) {
  body #vip-dialog.episode-vip-purchase { max-height:calc(100dvh - 12px);max-block-size:calc(100dvh - 12px); }
  body #vip-dialog.episode-vip-purchase .native-vip-panel { padding-top:32px; }
  body #vip-dialog.episode-vip-purchase .episode-vip-credential { margin-top:14px; }
  body #vip-dialog.episode-vip-purchase .native-plan-price { margin-top:14px; }
}
/* Prices already identify their currency; keep checkout selection unobtrusive. */
body :is(#wallet-dialog,#vip-dialog) .web-pay-currency { display:none!important; }
/* The desktop footer remains available; mobile legal links live in settings. */
@media(max-width:1023px) { body.dadrama-footer-enabled .site-footer { display:none!important; } }

/* Access labels come from the server's effective policy, never a local count. */
.poster-access-badges { position:absolute;z-index:3;inset-block-start:7px;inset-inline-start:7px;display:flex;align-items:center;gap:4px;max-width:calc(100% - 14px);pointer-events:none; }
#catalog .poster-rank + .poster-access-badges { inset-inline-start:43px;max-width:calc(100% - 50px); }
.poster-access-badges .poster-original-badge,.hero-access-badges .poster-original-badge,
.poster-access-badges .poster-vip-badge,.hero-access-badges .poster-vip-badge {
  position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;
  min-height:21px;padding:3px 6px;border:1px solid #f2a66e;border-radius:4px;
  background:#873b19;color:#fff7ed;font-size:10px;font-weight:750;line-height:1.2;letter-spacing:0;white-space:nowrap;
}
#catalog .poster-access-badges .poster-vip-badge,.poster-access-badges .poster-vip-badge,.hero-access-badges .poster-vip-badge { position:static;inset:auto;background:#f3d28c;border-color:#fff0be;color:#3b260a; }
#catalog .poster-image:has(.poster-access-badges) .demo-badge { top:auto;bottom:31px;left:7px;right:auto;inset-inline-start:7px;inset-inline-end:auto; }
.hero-copy>.hero-access-badges { display:flex;align-items:center;justify-content:flex-start;gap:5px;margin:0 0 10px;padding:0;width:auto;height:auto;background:none; }
.hero-access-badges .poster-original-badge,.hero-access-badges .poster-vip-badge { min-height:23px;font-size:11px;padding:4px 8px; }
.library-poster { position:relative; }
.library-poster .poster-access-badges { top:3px;left:3px;inset-inline-start:3px;flex-direction:column;align-items:flex-start;gap:2px;max-width:calc(100% - 6px); }
.library-poster .poster-access-badges>span { min-height:14px;padding:2px 3px;font-size:8px;line-height:1; }
@media(max-width:720px) { .hero-copy>.hero-access-badges { justify-content:center;margin-bottom:7px; } }

/* Ordinary VIP detail cards: reference hierarchy, separate from episode purchase sheets. */
#vip-dialog:not(.episode-vip-purchase) #web-vip-plans { gap:12px; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-card {
  border:1px solid #dfbc80;border-radius:14px;background:#faead1;box-shadow:none;
  text-align:start;color:#58371f;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-card[aria-pressed="true"] { border-color:#99723f;box-shadow:0 0 0 1px #99723f; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-card:focus-visible { outline:2px solid #fff2ce;outline-offset:3px; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-main {
  min-height:108px;min-block-size:108px;padding:15px 18px 17px;border-bottom:0;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-heading>strong {
  color:#58371f;font-size:18px;line-height:1.3;font-weight:750;letter-spacing:-.01em;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-price {
  margin-top:7px;color:#58371f;font-size:14px;line-height:1.3;font-weight:650;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-price.is-priced {
  font-size:30px;line-height:1.15;font-weight:800;letter-spacing:-.025em;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-detail-benefits {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));align-items:center;
  gap:8px 12px;min-height:44px;min-block-size:44px;padding:11px 15px;
  border-top:1px solid #e8cda5;background:#faead1;color:#5b3923;font-size:12px;line-height:1.4;font-weight:650;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-detail-benefits .native-plan-benefit { align-items:center;gap:6px;overflow-wrap:normal; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-benefit-icon { flex:none;width:17px;height:17px;object-fit:contain; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-benefit-icon[src$=".svg"] { filter:brightness(0);opacity:.8; }
#vip-dialog:not(.episode-vip-purchase) .native-plan-footnote {
  display:flex;align-items:center;gap:6px;padding:4px 15px 5px;
  border-top:1px solid #e8cda5;background:#faead1;color:#6b4c35;font-size:12px;line-height:1.4;font-weight:500;
}
#vip-dialog:not(.episode-vip-purchase) .native-plan-footnote>img { flex:none;width:15px;height:15px;object-fit:contain; }
@media(min-width:1024px) {
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) #web-vip-plans { gap:16px;align-items:stretch; }
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) .native-plan-main { padding:20px 22px 23px;min-block-size:122px; }
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) .native-plan-heading>strong { font-size:20px; }
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) .native-plan-price.is-priced { font-size:32px; }
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) .native-plan-detail-benefits { padding:13px 20px;min-block-size:48px;font-size:13px; }
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) .native-plan-footnote { padding:6px 20px 7px;font-size:13px; }
}

/* A decorative lock stays aligned with the localized unlock label. */
#player-unlock-open { align-items:center;gap:8px; }
#player-unlock-icon { flex:none;font-size:1.05em;line-height:1; }
#player-unlock-icon[hidden] {display:none;}

/* Normal VIP detail: a single-card-width champagne-gold primary action. */
body #vip-dialog:not(.episode-vip-purchase) .native-vip-purchase {
  display:flex;justify-content:center;margin:18px 0 0;padding:0;
}
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout {
  position:relative;isolation:isolate;overflow:hidden;display:block;
  inline-size:100%;width:100%;max-inline-size:none;min-inline-size:0;
  min-block-size:52px;min-height:52px;margin:0;padding:13px 20px;
  border:1px solid #ffe6a2;border-radius:12px;
  background:linear-gradient(105deg,#ffedb7 0%,#ffda73 44%,#f5c653 75%,#ffe6a0 100%);
  color:#35240c;font-size:17px;line-height:1.35;font-weight:750;
  box-shadow:inset 0 1px 0 #fff8d9,0 4px 18px #e7bd4324;
}
@media(prefers-reduced-motion:no-preference) {
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout:enabled:not([aria-busy="true"]):not([aria-disabled="true"])::after {
  content:"";position:absolute;z-index:-1;inset-block:-60%;left:-45%;inline-size:34%;
  background:linear-gradient(90deg,transparent,#ffffff12 22%,#ffffffa3 50%,#ffffff12 78%,transparent);
  pointer-events:none;transform:translateX(0) skewX(-18deg);opacity:0;
  animation:dadrama-vip-cta-sheen 4.8s ease-in-out .2s infinite;
}
}
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout:enabled:not([aria-busy="true"]):not([aria-disabled="true"]):hover { filter:brightness(1.035); }
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout:focus-visible { outline:2px solid #fff2c7;outline-offset:3px; }
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout:disabled,
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout[aria-busy="true"],
body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout[aria-disabled="true"] {
  background:#39362e;border-color:#575044;color:#bcb4a1;box-shadow:none;filter:none;
}
@keyframes dadrama-vip-cta-sheen {
  0% { transform:translateX(0) skewX(-18deg);opacity:0; }
  5% { opacity:.78; }
  29% { transform:translateX(460%) skewX(-18deg);opacity:.78; }
  30%,100% { transform:translateX(460%) skewX(-18deg);opacity:0; }
}
@media(min-width:1024px) {
  body.dadrama-desktop-exact #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout {
    /* The existing plan grid has two equal columns and a 16px gap. */
    inline-size:calc((100% - 16px) / 2);width:calc((100% - 16px) / 2);
  }
}
@media(prefers-reduced-motion:reduce) {
  body #vip-dialog:not(.episode-vip-purchase) #vip-web-checkout::after { content:none;animation:none; }
}

/* Quiet wallet balance; purchase cards keep their separate treatment. */
body #wallet-dialog.commerce-dialog .native-wallet-balance {
  border-color:transparent;background:#18181a;box-shadow:none;
}
body #wallet-dialog.commerce-dialog .native-wallet-balance .commerce-eyebrow {
  color:#a5a5ac;
}
