:root {
  color-scheme: dark;
  --watchq-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-font-sans-serif: var(--watchq-font);
  --bs-body-font-family: var(--watchq-font);
  --bg: #090b0f;
  --surface: #11151b;
  --surface-raised: #171c24;
  --surface-soft: #1d232d;
  --navigation-surface: #0d1117;
  --text: #f5f7fb;
  --muted: #929cab;
  --subtle: #7f8997;
  --line: #262e3a;
  --line-strong: #374151;
  --accent: #6d58dc;
  --accent-hover: #8874ed;
  --accent-soft: #27233f;
  --positive: #54d49a;
  --positive-soft: #153327;
  --warning: #cc9410;
  --warning-soft: #372a15;
  --danger: #ff727d;
  --danger-soft: #3c1d22;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); touch-action: manipulation; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--watchq-font); font-size: 16px; line-height: 1.55; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea, option { font: inherit; font-family: var(--watchq-font); }
.modal, .dropdown-menu, .toast, .popover, .tooltip { font-family: var(--watchq-font); }
input, select, textarea { font-size: 16px !important; }
button { color: inherit; }
button, a, input, select, textarea, [role="button"] { touch-action: manipulation; }
button:not(:disabled), [role="button"]:not([aria-disabled="true"]), select { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; opacity: .58; }
img { max-width: 100%; }
::selection { background: var(--warning); color: #111319; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 3000; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--accent); color: white; }
.skip-link:focus { top: 1rem; }
.page-shell { min-height: calc(100vh - 64px); padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.container-xl, .container-lg, .container-sm { --bs-gutter-x: 2rem; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 1000; min-height: calc(64px + env(safe-area-inset-top)); padding: calc(.7rem + env(safe-area-inset-top)) 0 .7rem; background: var(--bg); border-bottom: 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-size: .92rem; font-weight: 800; letter-spacing: .08em; }
.brand-mark { display: block; flex: none; width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.brand.light { color: white; }
.header-page-title { font-size: 1.08rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
.brand-wordmark { color: white; font-weight: 850; letter-spacing: .045em; }
.brand-q { color: #b394ff; }
.guest-signin { min-height: 38px; padding-inline: .5rem; border: 0; background: transparent; color: white; }
.guest-signin:hover { background: transparent; color: #c7b5ff; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-search { align-items: center; gap: .65rem; width: min(38vw, 460px); padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--muted); }
.header-search:focus-within { border-color: var(--accent); }
.header-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.header-search input::placeholder { color: var(--subtle); }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--muted); }
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-raised); color: var(--text); }
.icon-btn.danger { color: var(--danger); }
.notification-button, .notification-button:hover { border: 0; }
.notification-dot { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid #0c0f14; border-radius: 999px; background: var(--danger); color: white; font-size: .62rem; font-weight: 800; }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--avatar, var(--accent)); color: #0b0d10; font-size: .72rem; font-weight: 900; object-fit: cover; }
.avatar-xl { width: 82px; height: 82px; border-radius: 22px; font-size: 1.3rem; }
.header-profile { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 11px; background: var(--surface); color: var(--muted); font-size: 1.35rem; }
.header-profile:hover { background: var(--surface-raised); color: var(--text); }
.desktop-nav { background: #0c0f14; border-bottom: 1px solid var(--line); }
.desktop-nav .container-xl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .25rem; padding-top: .45rem; padding-bottom: .45rem; }
.nav-pill { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .58rem .85rem; border-radius: 9px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.nav-pill:hover { background: var(--surface); color: var(--text); }
.nav-pill.active { background: var(--surface-soft); color: white; }
.nav-pill.active i { color: var(--accent-hover); }
.mobile-nav { position: fixed; bottom: 0; z-index: 1000; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding: .35rem max(.25rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left)); border-top: 0; background: var(--navigation-surface); }
.mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 50px; padding: .42rem .2rem; border-radius: 9px; color: var(--subtle); font-size: .65rem; font-weight: 700; }
.mobile-nav a i { font-size: 1.18rem; }
.mobile-nav a.active { background: var(--surface-soft); color: white; font-weight: 850; }
.mobile-nav a.active i { color: var(--accent-hover); }
.mobile-nav a.active::after { position: absolute; bottom: .18rem; width: 16px; height: 2px; border-radius: 999px; background: var(--accent-hover); content: ""; }

/* Shared elements */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border-radius: 10px; font-weight: 750; }
.btn-sm { min-height: 40px; }
.btn-lg { min-height: 50px; border-radius: 12px; }
.btn-accent, .btn-warning { border: 1px solid var(--accent); background: var(--accent); color: white; }
.btn-accent:hover, .btn-warning:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: white; }
.btn-ink, .btn-dark { border: 1px solid var(--line-strong); background: var(--surface-soft); color: white; }
.btn-ink:hover, .btn-dark:hover { border-color: #4b5666; background: #252d38; color: white; }
.btn-outline-dark, .btn-outline-light { border-color: var(--line-strong); color: var(--text); }
.btn-outline-dark:hover, .btn-outline-light:hover { border-color: var(--line-strong); background: var(--surface-soft); color: white; }
.btn-outline-danger { border-color: #75343b; color: var(--danger); }
.btn-danger { border-color: var(--danger); background: var(--danger); color: #170b0d; }
.btn-danger:hover { border-color: #ff8b94; background: #ff8b94; color: #170b0d; }
.eyebrow { display: block; margin-bottom: .55rem; color: var(--accent-hover); font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: #b8adff; font-size: .84rem; font-weight: 700; }
.text-link:hover { color: white; }
.btn-close { filter: invert(1) grayscale(1); }
.toast-region { position: fixed; right: max(.75rem,env(safe-area-inset-right)); bottom: calc(70px + env(safe-area-inset-bottom) + .75rem); left: max(.75rem,env(safe-area-inset-left)); z-index: 2100; display: grid; gap: .55rem; width: auto; pointer-events: none; }
.trackey-toast { width: 100%; border: 0; border-radius: 14px; background: var(--surface-soft); color: var(--text); box-shadow: 0 12px 34px rgba(0,0,0,.38); pointer-events: auto; }
.trackey-toast .toast-body { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .72rem .75rem .72rem .9rem; font-size: .8rem; font-weight: 650; line-height: 1.35; text-align: left; }
.trackey-toast .btn-close { width: .7rem; height: .7rem; padding: .45rem; opacity: .7; }
.trackey-toast .btn-close:hover { opacity: 1; }
.trackey-toast.toast-error { background: #2d1c21; }
.page-intro { padding: 2.5rem 0 1.4rem; }
.page-intro.compact { padding-bottom: 1.1rem; }
.page-intro.minimal { padding: 1rem 0 .7rem; }
.page-intro.minimal .eyebrow { margin-bottom: 0; }
.page-intro h1, .welcome-row h1 { margin: 0; color: white; font-size: clamp(2.35rem, 7vw, 4.7rem); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.page-intro p, .welcome-row p { max-width: 650px; margin: .8rem 0 0; color: var(--muted); }
.section-block { padding: 2.2rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 750; letter-spacing: -.035em; }
.section-heading p { margin: .2rem 0 0; color: var(--muted); }
.status-tag { display: inline-flex; align-items: center; gap: .28rem; width: max-content; padding: .25rem .5rem; border-radius: 999px; background: var(--positive-soft); color: #8be4b7; font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status-tag.quiet { background: var(--surface-soft); color: var(--muted); }
.kicker { color: var(--subtle); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.progress { overflow: hidden; border-radius: 999px; background: #252b35; }
.progress-bar { border-radius: 999px; background: var(--bar, var(--accent)); }
.empty-state { display: flex; flex-direction: column; align-items: center; min-height: 340px; justify-content: center; padding: 3rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.empty-state > i { color: var(--accent-hover); font-size: 2.6rem; }
.empty-state h1, .empty-state h2 { margin: 1rem 0 .35rem; font-weight: 800; }
.empty-state p { max-width: 430px; color: var(--muted); }
.show-sync-empty { min-height: 150px; padding: 1.25rem .75rem; border: 0; border-radius: 0; background: transparent; }
.show-sync-empty h2 { margin: .65rem 0 .18rem; font-size: .88rem; }
.show-sync-empty p { margin: 0; font-size: .68rem; }
.show-sync-spinner { width: 22px; height: 22px; border: 2px solid rgba(174,139,255,.22); border-top-color: var(--accent-hover); border-radius: 50%; animation: show-sync-spin .7s linear infinite; }
@keyframes show-sync-spin { to { transform: rotate(360deg); } }

/* Landing */
.landing-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 350px; background: var(--bg); border: 0; }
.landing-hero.has-backdrop::before { position: absolute; z-index: -2; inset: 0; background-image: var(--landing-backdrop); background-position: center 20%; background-size: cover; content: ""; opacity: .82; transform: scale(1.015); }
.landing-hero.has-backdrop::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(9,11,15,.05) 0%,rgba(9,11,15,.18) 38%,rgba(9,11,15,.78) 74%,var(--bg) 100%),linear-gradient(90deg,rgba(9,11,15,.38),transparent 70%); content: ""; }
.landing-grid { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: end; gap: .85rem; padding: 7.5rem 0 1.35rem; }
.landing-grid h1 { margin: .12rem 0 .32rem; overflow-wrap: anywhere; font-size: clamp(1.85rem,8vw,3rem); font-weight: 800; letter-spacing: -.05em; line-height: .92; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-copy { max-width: 590px; margin: 0 0 1.7rem; color: var(--muted); font-size: 1.04rem; }
.landing-feature-poster { display: flex; align-items: end; width: 104px; aspect-ratio: 2/3; overflow: hidden; padding: .55rem; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: var(--accent); color: #101216; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.landing-feature-poster.has-image { padding: 0; background: var(--surface-soft); }
.landing-feature-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-feature-poster strong { overflow-wrap: anywhere; font-size: 1rem; font-weight: 850; line-height: .9; }
.landing-feature-copy { min-width: 0; }
.landing-feature-meta { display: flex; flex-wrap: wrap; gap: .2rem .55rem; margin: 0; color: #c1c8d2; font-size: .64rem; }
.landing-feature-meta span + span::before { margin-right: .55rem; color: var(--subtle); content: "·"; }
.landing-feature-overview { display: -webkit-box; max-width: 650px; margin: .45rem 0 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #c1c8d2; font-size: .72rem; line-height: 1.4; }
.landing-feature-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .62rem; }
.landing-feature-actions .btn { padding: .42rem .68rem; font-size: .7rem; }
.landing-feature-actions .pwa-install-button { flex-basis: 100%; justify-content: center; gap: .4rem; }
.pwa-install-sheet .modal-dialog { display: flex; min-height: 100%; align-items: flex-end; margin: 0; }
.pwa-install-sheet .modal-content { border: 0; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--text); padding-bottom: env(safe-area-inset-bottom); }
.pwa-install-sheet .modal-header { min-height: 60px; border: 0; padding: 1rem 1rem .45rem; }
.pwa-install-sheet .modal-title { font-size: 1.05rem; font-weight: 750; }
.pwa-install-sheet .modal-body { padding: .75rem 1rem 1.4rem; }
.pwa-install-steps { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.pwa-install-steps li { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: .7rem; color: var(--muted); font-size: .9rem; }
.pwa-install-steps i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: rgba(204,148,16,.12); color: var(--accent); font-size: 1.05rem; }
.landing-poster-grid { display: grid; grid-auto-columns: calc((100% - 1.1rem)/2.5); grid-auto-flow: column; gap: .55rem; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: .45rem; scroll-snap-type: inline mandatory; scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
.landing-poster-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.landing-poster-grid .landing-poster-card { scroll-snap-align: start; }
.landing-poster-card:hover { border-color: var(--line-strong); }
.landing-poster-art { display: flex; align-items: end; width: 100%; aspect-ratio: 2/3; overflow: hidden; padding: .65rem; background: var(--accent); color: #101216; }
.landing-poster-art.has-image { padding: 0; background: var(--surface-soft); }
.landing-poster-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-poster-art strong { overflow-wrap: anywhere; font-size: clamp(.8rem,4vw,1.8rem); font-weight: 850; line-height: .9; }
.how-it-works { margin-top: 1rem; padding: 2.25rem 0 3rem; border: 0; background: var(--bg); }
.feature-grid { display: grid; grid-auto-columns: calc((100% - .7rem)/1.5); grid-auto-flow: column; gap: .7rem; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: .4rem; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.feature-grid::-webkit-scrollbar { display: none; }
.feature-grid article { position: relative; min-height: 185px; padding: 1rem .2rem; border: 0; border-radius: 0; background: transparent; scroll-snap-align: start; }
.feature-grid article > i { color: var(--accent-hover); font-size: 2.25rem; }
.feature-grid h3 { margin: 1.25rem 0 .42rem; font-size: 1.15rem; font-weight: 780; letter-spacing: -.025em; line-height: 1.08; }
.feature-grid p { max-width: 24rem; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.landing-catalog-total { display: flex; flex-direction: column; align-items: flex-start; gap: .18rem; margin-top: 1.7rem; }
.landing-catalog-total strong { display: inline-flex; align-items: flex-end; color: var(--text); font-size: clamp(2.65rem,12vw,4.1rem); font-variant-numeric: tabular-nums; font-weight: 820; letter-spacing: -.025em; line-height: 1; }
.landing-catalog-total span { color: var(--muted); font-size: .95rem; font-weight: 680; letter-spacing: .025em; }
.landing-catalog-total .catalog-counter-digit { display: inline-block; width: .62em; height: 1em; overflow: hidden; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.landing-catalog-total .catalog-counter-track { display: flex; flex-direction: column; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; transform: translateY(0); transition: transform 1.25s cubic-bezier(.18,.72,.18,1) var(--counter-delay,0ms); }
.landing-catalog-total .catalog-counter-value { display: block; height: 1em; flex: 0 0 1em; color: inherit; font-size: inherit; font-weight: inherit; line-height: 1; text-align: center; }
.landing-catalog-total .catalog-counter-separator { align-self: flex-end; margin: 0 .02em; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: 0; line-height: 1; }
.landing-catalog-total strong.is-rolling .catalog-counter-track { transform: translateY(calc(-1em * var(--counter-step))); }
.landing-seo-answers { padding-top: 2.8rem; padding-bottom: 3.5rem; }
.landing-seo-answers > h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem,7vw,2.7rem); font-weight: 800; letter-spacing: -.045em; }
.landing-seo-answers details { overflow: hidden; margin: .5rem 0; border: 0; border-radius: 18px; background: var(--surface); }
.landing-seo-answers summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem; cursor: pointer; font-size: .86rem; font-weight: 740; list-style: none; }
.landing-seo-answers summary::-webkit-details-marker { display: none; }
.landing-seo-answers summary i { flex: 0 0 auto; color: var(--accent); transition: transform .2s ease; }
.landing-seo-answers details[open] summary i { transform: rotate(45deg); }
.landing-seo-answers details p { margin: 0; padding: 0 1rem 1rem; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.app-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem 1rem; color: var(--muted); font-size: .68rem; }
.app-legal-links a { color: inherit; text-decoration: none; }
.app-legal-links a:focus, .app-legal-links a:hover { color: var(--accent); }
.landing-legal-links { padding-top: 0; padding-bottom: max(2rem,env(safe-area-inset-bottom)); }
.settings-legal-links { margin: -1.5rem 0 max(2rem,env(safe-area-inset-bottom)); }
.step-number { position: absolute; top: .78rem; right: .78rem; color: var(--subtle); font-size: .66rem; font-weight: 800; }

/* Show cards */
.show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.show-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.show-card:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.show-card-link { display: flex; flex-direction: column; height: 100%; }
.show-card-link:focus-visible { outline-offset: -3px; }
.poster { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3/4; padding: .75rem; background: var(--accent); color: #111319; }
.poster.has-image { position: relative; overflow: hidden; padding: 0; background: var(--surface-soft); }
.poster-image { width: 100%; height: 100%; object-fit: cover; }
.poster-badge { position: absolute; top: .55rem; left: .55rem; max-width: calc(100% - 1.1rem); overflow: hidden; padding: .3rem .46rem; border-radius: 999px; background: rgba(9,11,15,.88); color: white; text-overflow: ellipsis; white-space: nowrap; }
.poster-network, .poster-season { font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.poster-status { position: absolute; right: .55rem; bottom: .55rem; z-index: 2; padding: .24rem .4rem; border-radius: 999px; background: var(--status-bg); box-shadow: 0 0 0 1px var(--status-border),0 3px 12px rgba(0,0,0,.35); color: var(--status-color); font-size: .5rem; font-weight: 800; line-height: 1; letter-spacing: .055em; text-transform: uppercase; }
.poster strong { overflow-wrap: anywhere; font-size: clamp(1.3rem, 7vw, 2.7rem); font-weight: 850; line-height: .86; letter-spacing: -.06em; }
.show-card-body { flex: 1; padding: .85rem; }
.show-card h3 { margin: 0; font-size: .98rem; font-weight: 750; line-height: 1.15; }
.muted-line, .card-overview { margin: .3rem 0 0; color: var(--muted); font-size: .7rem; }
.card-overview { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.progress-row { display: flex; align-items: center; gap: .5rem; margin-top: .85rem; }
.progress-row .progress { flex: 1; height: 5px; }
.progress-row > span { color: var(--muted); font-size: .66rem; font-weight: 800; }

@media (max-width: 575.98px) {
  .show-card-body { padding: .58rem; }
  .show-card-body > .d-flex { display: block !important; }
  .show-card h3 { display: -webkit-box; overflow: hidden; font-size: .78rem; line-height: 1.18; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .muted-line { overflow: hidden; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
  .card-overview { font-size: .6rem; -webkit-line-clamp: 2; }
  .poster-badge { top: .4rem; left: .4rem; max-width: calc(100% - .8rem); padding: .24rem .36rem; }
  .poster-status { right: .4rem; bottom: .4rem; max-width: calc(100% - .8rem); overflow: hidden; padding: .22rem .34rem; font-size: .44rem; text-overflow: ellipsis; white-space: nowrap; }
  .progress-row { gap: .35rem; margin-top: .55rem; }
  .progress-row > span { font-size: .56rem; }
}

/* Watch dashboard */
.watch-page { min-width: 0; padding-top: .2rem; }
.watch-page .page-skeleton { min-height: 0; }
.watch-page .section-block { padding: 1.15rem 0 .7rem; }
.watch-page .section-heading { align-items: center; margin-bottom: .7rem; }
.watch-page .section-heading h2 { color: #e8ebf0; font-size: 1.08rem; font-weight: 800; letter-spacing: -.025em; }
.watch-page .text-link { display: grid; width: 34px; height: 34px; min-height: 34px; flex: none; place-items: center; padding: 0; border: 0; border-radius: 12px; background: rgba(109,88,220,.12); color: rgba(201,190,255,.72); }
.watch-page .text-link:hover, .watch-page .text-link:focus-visible { background: rgba(109,88,220,.22); color: rgba(226,220,255,.92); }
.watch-page .text-link i { font-size: .82rem; }
.watch-upcoming-rail { display: flex; align-items: flex-start; gap: .72rem; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: .05rem 0 .35rem; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-padding-inline: 0; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.watch-upcoming-rail::-webkit-scrollbar { display: none; }
.watch-upcoming-date-group { display: grid; flex: 0 0 auto; width: auto; min-width: 0; gap: .34rem; }
.watch-upcoming-date-cards { display: flex; width: max-content; max-width: none; gap: .72rem; }
.watch-upcoming-card { display: block; flex: 0 0 auto; width: min(48vw,190px); min-width: 0; overflow: hidden; border: 0; background: transparent; scroll-snap-align: start; transition: transform .18s ease; }
.watch-upcoming-card-link { display: grid; width: 100%; min-width: 0; overflow: hidden; gap: .34rem; }
.watch-upcoming-date { position: sticky; left: 0; z-index: 4; justify-self: start; width: max-content; overflow: hidden; padding: .22rem .5rem; border: 0; border-radius: 999px; background: rgba(25,21,38,.92); color: #9f94c8; font-size: .62rem; font-weight: 760; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.watch-upcoming-media { position: relative; display: grid; width: 100%; aspect-ratio: 16/9; place-items: center; overflow: hidden; border-radius: 16px; background: var(--surface-soft); }
.watch-upcoming-media > img { display: block; max-width: 100%; }
.watch-upcoming-card.has-still .watch-upcoming-media > img { width: 100%; height: 100%; object-fit: cover; }
.watch-upcoming-poster { width: 100%; height: 100%; object-fit: cover; }
.watch-upcoming-card.no-art .watch-upcoming-media strong { color: var(--accent-hover); font-size: 2.6rem; font-weight: 850; }
.watch-premiere-badge { position: absolute; top: .55rem; left: .55rem; z-index: 2; padding: .3rem .5rem; border: 0; border-radius: 999px; background: rgba(9,11,15,.82); color: #f2f4f7; font-size: .55rem; font-weight: 800; }
.watch-upcoming-airtime { position: absolute; top: .5rem; right: .5rem; z-index: 2; padding: .25rem .42rem; border: 0; border-radius: 999px; background: rgba(9,11,15,.82); color: #eeeaff; font-size: .53rem; font-weight: 800; }
.watch-upcoming-copy { display: grid; min-width: 0; gap: .08rem; padding: .05rem .24rem 0; }
.watch-upcoming-show-title { overflow: hidden; color: #d9dee6; font-size: .76rem; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.watch-upcoming-episode-title { overflow: hidden; color: var(--muted); font-size: .8rem; line-height: 1.28; text-overflow: ellipsis; white-space: nowrap; }
.watch-upcoming-episode-title b { color: #d7dce4; font-size: .82rem; font-weight: 850; }
.watch-upcoming-card:active { transform: scale(.99); }
.page-upcoming-card-skeleton { pointer-events: none; }
.page-upcoming-card-skeleton .watch-upcoming-media { border-radius: 16px; }
.page-upcoming-card-skeleton > div { display: grid; gap: .22rem; padding: .05rem .24rem 0; }
.page-upcoming-card-skeleton .skeleton-line { margin: 0; }
.watch-upcoming-date-group > .watch-upcoming-date-skeleton { width: 72px; height: 22px; margin: .08rem 0; border-radius: 999px; }
.watch-page .continue-grid { gap: .42rem; }
.watch-page .continue-card { min-height: 78px; gap: .56rem; padding: .38rem .52rem; border: 0; border-radius: 17px; transition: background .18s ease,transform .18s ease; }
.watch-page .continue-card .continue-episode-code { gap: .35rem; }
.watch-page .continue-card .continue-episode-part { gap: 0; }
.watch-page .continue-card h3 { font-size: .8rem; }
.watch-page .continue-card p { font-size: .73rem; }
.watch-page .mini-poster { width: 46px; border-radius: 11px; }
.watch-page .round-action { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--accent-soft); color: #b8adff; }
.watch-page .queue-date-groups { gap: 1.05rem; }
.watch-page .watch-upcoming-section { margin-top: 0; margin-bottom: 1.35rem; padding-top: .45rem; }
.watch-page .queue-date-group > header { padding: .2rem .2rem .42rem; }
.watch-page .queue-date-group > header time { color: #d7dce4; font-size: .72rem; }
.watch-page .queue-items { gap: .52rem; }
.watch-page .queue-episode { min-height: 76px; padding: .58rem .62rem; border: 0; border-radius: 16px; transition: background .18s ease,transform .18s ease; }
.watch-page .queue-poster { width: 44px; border-radius: 11px; }
.watch-page .queue-air-status { width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--surface-soft); }
.watch-page .watch-upcoming-meta b { border: 0; border-radius: 999px; }
.watch-page .recent-grid { gap: .5rem; }
.watch-page .watch-recent-section { margin-top: 1.5rem; }
.watch-activity-link { display: flex; width: max-content; max-width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: .6rem; margin: 1.8rem auto 0; padding: .62rem .9rem; border: 0; border-radius: 14px; background: var(--surface); color: #d9dde5; font-size: .78rem; font-weight: 760; }
.watch-activity-link > span { display: inline-flex; align-items: center; gap: .5rem; }
.watch-activity-link > span i { color: #aaa0dd; font-size: .88rem; }
.watch-activity-link > i { color: rgba(201,190,255,.58); font-size: .7rem; }
.watch-activity-link:hover, .watch-activity-link:focus-visible { background: var(--surface-raised); color: var(--text); }
.watch-page .recent-show-group { overflow: hidden; border: 0; border-radius: 14px; background: var(--surface); }
.watch-page .recent-show-title, .watch-page .recent-show-single { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; min-height: 76px; align-items: center; gap: .65rem; padding: .48rem .58rem; color: var(--text); cursor: pointer; list-style: none; }
.watch-page .recent-show-title::-webkit-details-marker { display: none; }
.watch-page .recent-show-poster { display: grid; width: 44px; aspect-ratio: 2/3; place-items: center; overflow: hidden; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: .82rem; font-weight: 850; }
.watch-page .recent-show-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch-page .recent-show-copy { display: flex; min-width: 0; flex-direction: column; }
.watch-page .recent-show-copy > strong { overflow: hidden; color: #dce0e7; font-size: .8rem; font-weight: 770; text-overflow: ellipsis; white-space: nowrap; }
.watch-page .recent-latest-episode { display: flex; min-width: 0; align-items: baseline; gap: .25rem; margin-top: .22rem; overflow: hidden; color: var(--muted); font-size: .7rem; white-space: nowrap; }
.watch-page .recent-latest-episode b { flex: none; color: #c8cdd5; font-size: .72rem; font-weight: 820; }
.watch-page .recent-latest-episode i { flex: none; color: var(--subtle); font-style: normal; }
.watch-page .recent-latest-episode span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-page .recent-show-meta { display: flex; align-items: center; flex: none; gap: .42rem; }
.watch-page .recent-show-meta small { flex: none; color: var(--subtle); font-size: .6rem; }
.watch-page .recent-show-meta > i { flex: none; color: rgba(201,190,255,.58); font-size: .7rem; transition: transform .18s ease; }
.watch-page .recent-show-group[open] .recent-show-meta > i { transform: rotate(180deg); }
.watch-page .recent-episode-list { display: grid; padding: 0 .72rem .65rem 3.85rem; }
.watch-page .recent-episode-row { display: flex; align-items: baseline; min-width: 0; gap: .42rem; padding: .3rem 0; color: var(--muted); font-size: .72rem; }
.watch-page .recent-episode-row b { flex: none; color: var(--text); font-size: .76rem; }
.watch-page .recent-episode-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-page .page-recent-skeleton { display: grid; grid-template-columns: 44px minmax(0,1fr) 30px; min-height: 76px; align-items: center; gap: .65rem; padding: .48rem .58rem; border-radius: 14px; }
.watch-page .page-recent-skeleton > .skeleton-surface { width: 44px; height: 66px; border-radius: 10px; }
.watch-page .page-recent-skeleton > div { min-width: 0; width: 100%; }
.watch-page .continue-card:active, .watch-page .queue-episode:active, .watch-page .recent-item:active { transform: scale(.99); }
.watch-page .watch-section-empty { min-height: 110px; padding: .75rem .5rem; border: 0; border-radius: 0; background: transparent; }
.watch-page .watch-section-empty > i { font-size: 1.25rem; }
.watch-page .watch-section-empty h2 { margin: .35rem 0 .08rem; font-size: .78rem; }
.watch-page .watch-section-empty p { margin: 0; font-size: .66rem; }
.watch-page .watch-empty-action { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; margin-top: .55rem; padding: .38rem .72rem; border: 0; border-radius: 11px; background: var(--surface-soft); color: var(--muted); font-size: .68rem; font-weight: 700; }
.watch-page .watch-empty-action:hover, .watch-page .watch-empty-action:focus-visible { background: #242a34; color: var(--text); }
.watch-page .page-continue-skeleton { grid-template-columns: 46px minmax(0,1fr) 36px; min-height: 78px; gap: .56rem; padding: .38rem .52rem; border-radius: 17px; }
.watch-page .page-continue-skeleton > .skeleton-surface { width: 46px; height: 69px; border-radius: 11px; }
.watch-page .page-queue-skeleton { min-height: 76px; padding: .58rem .62rem; border-radius: 16px; }
.watch-page .page-queue-skeleton > .skeleton-surface { width: 44px; border-radius: 11px; }
.welcome-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 2.8rem 0 .6rem; }
.welcome-row h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.continue-grid { display: grid; min-width: 0; gap: .5rem; }
.continue-card { display: flex; align-items: center; gap: .65rem; width: 100%; min-width: 0; max-width: 100%; min-height: 72px; overflow: hidden; padding: .5rem .55rem; border: 0; border-radius: 10px; background: var(--surface); }
.mini-poster { display: flex; flex: none; flex-direction: column; justify-content: space-between; width: 46px; aspect-ratio: 2/3; overflow: hidden; padding: .35rem; border-radius: 6px; background: var(--accent); color: #111319; font-size: .38rem; font-weight: 850; text-transform: uppercase; }
.mini-poster.has-image { padding: 0; background: var(--surface-soft); }
.mini-poster img { width: 100%; height: 100%; object-fit: cover; }
.mini-poster strong { font-size: .78rem; line-height: .9; text-transform: none; }
.continue-card-heading { display: flex; align-items: baseline; min-width: 0; gap: .28rem; }
.continue-card h3 { min-width: 0; margin: 0; overflow: hidden; color: var(--text); font-size: .76rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.continue-card p { display: flex; align-items: baseline; width: 100%; min-width: 0; max-width: 100%; gap: .28rem; margin: .08rem 0 0; overflow: hidden; color: var(--muted); font-size: .69rem; white-space: nowrap; }
.continue-episode-code { display: inline-flex; flex: none; gap: .44rem; color: var(--text); font-size: .9rem; font-weight: 800; }
.continue-episode-part { display: inline-flex; align-items: baseline; gap: .08em; }
.continue-episode-part b { font-weight: 900; }
.continue-episode-title { display: block; flex: 1 1 0; min-width: 0; max-width: 100%; overflow: hidden; color: var(--muted); font-size: .9rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.continue-card .flex-grow-1 { width: 0; min-width: 0; max-width: 100%; overflow: hidden; }
.round-action { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: white; font-size: 1.08rem; }
.upcoming-strip { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.upcoming-item { display: grid; grid-template-columns: 48px 42px minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .7rem; border-bottom: 1px solid var(--line); }
.upcoming-item:last-child { border-bottom: 0; }
.upcoming-item:hover { background: var(--surface-raised); }
.upcoming-item time { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line); }
.upcoming-item time strong { color: var(--accent-hover); font-size: .58rem; letter-spacing: .1em; }
.upcoming-item time span { font-size: 1.4rem; font-weight: 800; }
.upcoming-item h3 { margin: .1rem 0; font-size: .94rem; font-weight: 750; }
.upcoming-item p { margin: 0; color: var(--muted); font-size: .74rem; }
.episode-poster { display: grid; place-items: center; width: 38px; aspect-ratio: 2/3; overflow: hidden; padding: .25rem; border-radius: 6px; background: var(--accent); color: #111319; font-size: .45rem; font-weight: 850; line-height: .9; overflow-wrap: anywhere; }
.episode-poster.has-image { padding: 0; background: var(--surface-soft); }
.episode-poster img { display: block; width: 100%; height: auto; object-fit: contain; }
.upcoming-item .episode-poster { width: 48px; }

/* Episode queue */
.episode-queue-page { padding-top: .8rem; padding-bottom: 2rem; }
.queue-page-title { padding: 1rem 0 .7rem; }
.queue-page-title h1 { margin: 0; font-size: clamp(1.45rem, 7vw, 2rem); font-weight: 800; letter-spacing: -.04em; }
.queue-summary { display: flex; flex-wrap: wrap; gap: .45rem; margin: -.2rem 0 1rem; }
.queue-summary span { padding: .38rem .58rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .66rem; }
.queue-summary strong { color: var(--text); }
.queue-section { margin-top: 1.25rem; }
.queue-date-groups { display: grid; gap: .85rem; }
.queue-date-group { scroll-margin-top: calc(80px + env(safe-area-inset-top)); }
.queue-date-group > header { padding: .2rem .05rem .38rem; border: 0; background: transparent; }
.queue-date-group > header time { color: var(--text); font-size: .76rem; font-weight: 750; }
.queue-date-group > header strong { font-size: .75rem; }
.queue-date-group > header time span, .queue-date-group > header > span { color: var(--muted); font-size: .66rem; }
.queue-items { display: grid; gap: .42rem; }
.queue-episode { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: .55rem; padding: .5rem .58rem; border: 0; border-radius: 9px; background: var(--surface); }
.queue-episode:hover { background: var(--surface-raised); }
.queue-episode.is-missed .queue-poster, .queue-episode.is-missed .queue-copy { opacity: .58; filter: saturate(.65); }
.queue-episode.is-missed:hover .queue-poster, .queue-episode.is-missed:hover .queue-copy { opacity: .78; }
.queue-poster { display: grid; place-items: center; width: 42px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px; background: var(--accent); color: #111319; font-size: .8rem; font-weight: 850; }
.queue-poster img { width: 100%; height: 100%; object-fit: cover; }
.queue-copy { min-width: 0; }
.queue-copy .kicker { font-size: .62rem; }
.queue-copy h3 { margin: .05rem 0; overflow: hidden; font-size: .8rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.queue-copy p { margin: 0; overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.queue-watch-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: .9rem; }
.queue-watch-button:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.queue-air-status { display: grid; place-items: center; width: 34px; height: 34px; color: var(--subtle); }
.watch-upcoming-section { margin-top: 1.65rem; }
.watch-upcoming-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .5rem; margin-bottom: .18rem; color: var(--muted); font-size: .57rem; line-height: 1.2; }
.watch-upcoming-meta b { padding: .18rem .38rem; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-weight: 800; }
.watch-upcoming-episode .queue-copy h3 { font-size: .76rem; }
.watch-upcoming-episode .queue-copy p { display: flex; align-items: baseline; gap: .28rem; margin-top: .08rem; font-size: .9rem; }
.watch-upcoming-episode.is-season-premiere { border: 0; }
.queue-caught-up { display: flex; align-items: center; gap: .65rem; margin-top: 1.25rem; padding: .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.queue-caught-up > i { color: var(--positive); font-size: 1.2rem; }
.queue-caught-up h2 { margin: 0; font-size: .82rem; font-weight: 750; }
.queue-caught-up p { margin: .12rem 0 0; color: var(--muted); font-size: .64rem; }
.queue-upcoming-section { padding-bottom: 1rem; }
.recent-grid { display: grid; gap: .4rem; }
.recent-item { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border: 0; border-radius: 9px; background: var(--surface); }
.recent-check { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--positive-soft); color: var(--positive); }
.recent-item h3 { margin: 0; font-size: .8rem; font-weight: 750; }
.recent-item p { margin: .08rem 0 0; color: var(--muted); font-size: .64rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat-row div { display: flex; flex-direction: column; padding: 1rem; border-right: 1px solid var(--line); }
.stat-row div:last-child { border: 0; }
.stat-row strong { font-size: 1.7rem; font-weight: 750; }
.stat-row span { color: var(--muted); font-size: .64rem; }
.list-stack { display: grid; gap: .65rem; }
.progress-list-item { display: flex; align-items: center; gap: .8rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.progress-list-item:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.cover-swatch { display: grid; place-items: center; flex: none; width: 48px; aspect-ratio: 2/3; overflow: hidden; border-radius: 8px; background: var(--accent); color: #101216; font-size: 1.35rem; font-weight: 850; }
.cover-swatch.has-image { background: var(--surface-soft); }
.cover-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.progress-list-item h3 { margin: 0; font-size: .93rem; font-weight: 750; }
.progress-list-item .progress { height: 5px; margin: .5rem 0; }
.progress-list-item p { margin: 0; color: var(--muted); font-size: .68rem; }
.watch-dashboard { padding-top: .65rem; }
.watch-dashboard .stat-row { border-radius: 9px; }
.watch-dashboard .stat-row div { padding: .45rem .5rem; }
.watch-dashboard .stat-row strong { font-size: 1.1rem; line-height: 1; }
.watch-dashboard .stat-row span { margin-top: .12rem; font-size: .56rem; line-height: 1.2; }
.watch-dashboard .section-block { padding: .85rem 0; }
.watch-dashboard .section-heading { margin-bottom: .45rem; }
.watch-dashboard .section-heading h2 { font-size: 1rem; }
.watch-dashboard .list-stack { gap: .28rem; }
.watch-dashboard .progress-list-item { gap: .45rem; min-height: 48px; padding: .38rem .48rem; border-radius: 8px; }
.watch-dashboard .cover-swatch { width: 32px; border-radius: 5px; }
.watch-dashboard .progress-list-item h3 { font-size: .76rem; }
.watch-dashboard .progress-list-item .progress { height: 3px; margin: .2rem 0; }
.watch-dashboard .progress-list-item p { font-size: .61rem; line-height: 1.25; }
.watch-dashboard .progress-list-item > .bi-chevron-right { font-size: .65rem; }
.activity-page { width: min(100%,760px); padding-top: .85rem; padding-bottom: 3rem; }
.activity-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; }
.activity-stats article { display: flex; min-width: 0; align-items: center; gap: .48rem; padding: .68rem .58rem; border: 0; border-radius: 14px; background: var(--surface); }
.activity-stats article > i { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 10px; background: rgba(109,88,220,.13); color: #aaa0dd; font-size: .8rem; }
.activity-stats article > span { display: flex; min-width: 0; flex-direction: column; }
.activity-stats strong { color: var(--text); font-size: 1.08rem; font-weight: 820; line-height: 1; }
.activity-stats small { margin-top: .14rem; overflow: hidden; color: var(--muted); font-size: .57rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.activity-section { margin-top: 1.8rem; }
.activity-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .72rem; }
.activity-section-heading h2 { margin: 0; color: #eef0f4; font-size: 1.02rem; font-weight: 790; }
.activity-date-groups { display: grid; gap: 1.25rem; }
.activity-date-group > h3 { margin: 0 0 .45rem .08rem; color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.activity-recent-list, .activity-progress-list { display: grid; gap: .38rem; }
.activity-episode-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; min-height: 66px; align-items: center; gap: .65rem; padding: .46rem .58rem; border: 0; border-radius: 14px; background: var(--surface); }
.activity-episode-row:hover { background: var(--surface-raised); }
.activity-poster { display: grid; width: 40px; aspect-ratio: 2/3; place-items: center; overflow: hidden; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-weight: 850; }
.activity-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.activity-episode-copy, .activity-progress-copy { display: flex; min-width: 0; flex-direction: column; }
.activity-episode-copy > strong, .activity-progress-copy > strong { overflow: hidden; color: #dce0e7; font-size: .82rem; font-weight: 770; text-overflow: ellipsis; white-space: nowrap; }
.activity-episode-copy > span, .activity-progress-copy > span { min-width: 0; margin-top: .17rem; overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.activity-episode-copy > span b, .activity-progress-copy > span b { color: #c8cdd5; font-weight: 800; }
.activity-episode-copy > span i, .activity-progress-copy > span i { margin: 0 .12rem; color: var(--subtle); font-style: normal; }
.activity-episode-row time { align-self: start; margin-top: .16rem; color: var(--subtle); font-size: .57rem; font-weight: 650; white-space: nowrap; }
.watch-dashboard .activity-progress-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 36px; min-height: 72px; align-items: center; gap: .68rem; padding: .48rem .56rem; border: 0; border-radius: 14px; background: var(--surface); }
.watch-dashboard .activity-progress-row:hover { border: 0; background: var(--surface-raised); }
.watch-dashboard .activity-progress-row .cover-swatch { width: 44px; border-radius: 8px; }
.activity-progress-copy > small { display: flex; align-items: center; gap: .2rem; margin-top: .28rem; color: var(--subtle); font-size: .59rem; }
.activity-progress-copy > small i { margin-right: .05rem; font-size: .62rem; }
.activity-progress-copy > small b { color: var(--muted); font-weight: 780; }
.activity-progress-action { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 12px; background: rgba(109,88,220,.14); color: #afa5e2; font-size: .72rem; }
.activity-empty { min-height: 135px; padding: 1rem .5rem; border: 0; background: transparent; }
.activity-empty > i { font-size: 1.3rem; }
.activity-empty h3 { margin: .5rem 0 .15rem; font-size: .84rem; }
.activity-empty p { margin: 0; font-size: .66rem; }
.page-activity-skeleton { min-height: 66px; border: 0; border-radius: 14px; background: var(--surface); }
.page-activity-skeleton > .skeleton-surface { width: 40px; height: 58px; border-radius: 8px; }
@media (max-width: 380px) {
  .activity-stats article { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .activity-stats article > i { width: 28px; height: 28px; }
}

/* Discover and lists */
.discover-search, .ops-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; padding: .5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.discover-search { border: 0; }
.discover-search i { margin-left: .4rem; color: var(--muted); }
.discover-search input { min-width: 0; padding: .55rem 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.discover-search-clear { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
.discover-search-clear[hidden] { display: none; }
.discover-search-clear:hover { background: var(--surface-soft); color: var(--text); }
.discover-search .discover-search-clear i { margin: 0; color: inherit; font-size: .78rem; }
.filter-scroll { display: flex; gap: .45rem; overflow-x: auto; padding: 1rem 0; scrollbar-width: none; }
.filter-chip { flex: none; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .77rem; font-weight: 700; }
.filter-chip:hover { border-color: var(--line-strong); color: white; }
.filter-chip.active { border-color: var(--accent); background: var(--accent-soft); color: #c8c0ff; }
.discover-page { padding-bottom: 1.5rem; }
.discover-sticky-search { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 700; padding: .55rem 0 .45rem; background: linear-gradient(180deg,var(--bg) 0%,var(--bg) 82%,rgba(9,11,15,0) 100%); }
.discover-section { padding: .75rem 0 1rem; }
.discover-section + .discover-section { margin-top: .45rem; }
.discover-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.discover-section-heading h2 { margin: 0; color: #d9dde3; font-size: 1.12rem; font-weight: 800; letter-spacing: -.025em; }
.discover-section-heading > span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.discover-poster-row { display: grid; grid-auto-columns: minmax(118px,38vw); grid-auto-flow: column; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .15rem .1rem .45rem; scroll-padding-inline: .1rem; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.discover-poster-row::-webkit-scrollbar { display: none; }
.discover-poster-card { position: relative; min-width: 0; scroll-snap-align: start; }
.discover-poster-link { display: block; }
.discover-poster-frame { display: grid; width: 100%; aspect-ratio: 2/3; place-items: end start; overflow: hidden; padding: .7rem; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text); }
.discover-poster-frame.has-image { padding: 0; }
.discover-poster-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.discover-poster-frame strong { overflow-wrap: anywhere; font-size: .9rem; line-height: 1.05; }
.discover-card-meta { min-height: 42px; padding: .48rem .1rem 0; }
.discover-card-meta h3 { display: block; margin: 0; overflow: hidden; color: #d5d9e0; font-size: .76rem; font-weight: 750; line-height: 1.22; text-overflow: ellipsis; white-space: nowrap; }
.discover-card-meta h3 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-list-form { margin: 0; }
.discover-add-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: rgba(24,17,43,.56); color: #c7bdf2; font-size: 1rem; }
.discover-add-button:hover, .discover-add-button:focus-visible { background: rgba(37,27,66,.7); color: #eeeaff; }
.discover-page .discover-add-button { background: rgba(24,17,43,.82); }
.discover-page .discover-add-button:hover, .discover-page .discover-add-button:focus-visible { background: rgba(37,27,66,.92); }
.discover-status { display: inline-flex; align-items: center; min-height: 22px; padding: .2rem .38rem; border-radius: 999px; background: var(--status-bg); box-shadow: inset 0 0 0 1px var(--status-border); color: var(--status-color); font-size: .5rem; font-weight: 800; line-height: 1; letter-spacing: .055em; text-transform: uppercase; }
.discover-poster-card .discover-list-form, .discover-poster-card .discover-card-meta > .discover-add-button, .discover-poster-card .discover-card-meta > .discover-status { position: absolute; top: .45rem; right: .45rem; }
.discover-results-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem .55rem; }
.discover-genre-controls { display: grid; grid-template-columns: minmax(0,1fr) 40px; align-items: start; gap: .55rem; min-width: 0; margin: .85rem 0 .8rem; background: transparent; }
.discover-genre-row { display: flex; gap: .48rem; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; margin: 0; padding: .1rem .1rem .35rem; background: transparent; scroll-padding-inline: .1rem; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.discover-genre-row::-webkit-scrollbar { display: none; }
.discover-genre-link { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 38px; width: auto; padding: .5rem .72rem; border: 0; border-radius: 999px; background: var(--surface); color: #d5d9e0; font-size: .76rem; font-weight: 750; white-space: nowrap; scroll-snap-align: start; }
.discover-genre-link:hover { background: var(--surface-raised); color: white; }
.discover-genre-link.active { background: var(--accent-soft); color: #d8d1ff; }
.discover-genre-all { display: grid; width: 40px; height: 40px; place-items: center; margin-top: .05rem; border: 0; border-radius: 999px; background: var(--surface) !important; color: #aca1d8; }
.discover-genre-all:hover, .discover-genre-all:focus-visible { background: var(--surface-raised) !important; color: #d4ccfa; }
.discover-genre-all i { font-size: .78rem; }
.discover-genre-preview { min-height: 190px; margin: 0 0 1.3rem; }
.discover-genre-preview[aria-busy="true"] { pointer-events: none; }
.discover-genre-empty { margin: .75rem 0 1.2rem; color: var(--muted); font-size: .72rem; }
.genre-page { padding-top: .75rem; padding-bottom: 1.5rem; }
.genre-page-header { margin-bottom: .9rem; }
.genre-back-link { display: inline-flex; align-items: center; gap: .15rem; margin-bottom: .55rem; color: var(--muted); font-size: .7rem; font-weight: 750; }
.genre-page-header > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.genre-page-header h1 { margin: 0; font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.genre-page-header span { color: var(--muted); font-size: .68rem; font-weight: 700; }
.genre-load-more { display: flex; justify-content: center; padding: 1.1rem 0 .35rem; }
.genre-load-more .btn { min-width: 150px; }
.discover-recommendation-list { display: grid; gap: .65rem; }
.discover-recommendation-card { display: grid; grid-template-columns: 88px minmax(0,1fr) auto; align-items: center; gap: .8rem; min-height: 132px; padding: .62rem; border: 0; border-radius: 16px; background: var(--surface); }
.discover-recommendation-poster { display: grid; width: 88px; aspect-ratio: 2/3; place-items: end start; overflow: hidden; padding: .55rem; border-radius: 12px; background: var(--surface-soft); color: var(--text); }
.discover-recommendation-poster.has-image { padding: 0; }
.discover-recommendation-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.discover-recommendation-poster strong { overflow-wrap: anywhere; font-size: .75rem; line-height: 1.05; }
.discover-recommendation-copy { min-width: 0; }
.discover-recommendation-copy h3 { margin: 0; color: #d5d9e0; font-size: .95rem; font-weight: 800; line-height: 1.2; }
.discover-recommendation-copy h3 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-recommendation-copy p { margin: .32rem 0 0; color: var(--muted); font-size: .7rem; }
.discover-recommendation-copy .discover-recommendation-genre { color: var(--muted); font-weight: 750; }
.discover-recommendation-copy .discover-recommendation-summary { display: -webkit-box; overflow: hidden; margin-top: .38rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; line-height: 1.35; }
.discover-recommendation-card > .discover-status { max-width: 76px; justify-content: center; text-align: center; white-space: normal; }
.discover-recommendation-card > .skeleton-circle { border-radius: 10px; }
.show-similar-list { gap: .38rem; }
.show-similar-list .discover-recommendation-card { grid-template-columns: 64px minmax(0,1fr) auto; gap: .58rem; min-height: 98px; padding: .42rem; border: 0; border-radius: 16px; }
.show-similar-list .discover-recommendation-poster { width: 64px; border-radius: 16px; }
.show-similar-list .discover-recommendation-copy h3 { font-size: .82rem; }
.show-similar-list .discover-recommendation-copy p { margin-top: .22rem; font-size: .62rem; }
.show-similar-list .discover-recommendation-copy .discover-recommendation-genre { font-size: .68rem; }
.show-similar-list .discover-recommendation-copy .discover-recommendation-summary { margin-top: .24rem; font-size: .68rem; -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.3; }
.show-similar-list .discover-add-button { width: 34px; height: 34px; border-radius: 16px; }
.show-similar-list .discover-status { max-width: 68px; font-size: .46rem; }
.show-similar-more-button { display: block; min-height: 36px; margin: .7rem auto 1.2rem; padding: .38rem .85rem; border: 0; border-radius: 999px; background: rgba(109,88,220,.16); color: #a69bd1; font-size: .67rem; font-weight: 800; }
.show-similar-more-button:hover { background: rgba(109,88,220,.24); color: #c3b9ee; }
.discover-more-button { display: inline-flex; align-items: center; gap: .32rem; padding: .32rem .48rem; border: 0; background: transparent; color: var(--muted); font-size: .68rem; font-weight: 750; }
.discover-more-button:hover { color: var(--text); }
.discover-more-button:disabled { opacity: .55; }
.discover-section.is-refreshing [data-recommendation-list] { opacity: .5; }
.discover-section.is-refreshing .discover-more-button i { animation: recommendation-spin .7s linear infinite; }
@keyframes recommendation-spin { to { transform: rotate(360deg); } }
.skeleton-surface, .skeleton-line, .skeleton-circle { position: relative; overflow: hidden; background: linear-gradient(105deg,var(--surface-soft) 18%,var(--surface-raised) 38%,var(--surface-soft) 58%); background-size: 240% 100%; animation: watchq-skeleton-shimmer 1.25s linear infinite; }
.skeleton-line { display: block; width: 100%; height: 11px; margin: 0 0 .42rem; border-radius: 999px; }
.skeleton-line.wide { width: 92%; }
.skeleton-line.medium { width: 66%; }
.skeleton-line.short { width: 38%; }
.skeleton-circle { display: block; flex: none; width: 38px; height: 38px; border-radius: 50%; }
.skeleton-card { pointer-events: none; }
.page-skeleton { min-height: 70dvh; pointer-events: none; }
.page-skeleton .discover-poster-frame { border: 0; }
.page-skeleton .discover-recommendation-card { border: 0; }
.page-pill-skeleton { display: block; flex: 0 0 78px; width: 78px; height: 38px; border-radius: 999px; }
.page-search-skeleton { grid-template-columns: auto minmax(0,1fr); }
.page-search-skeleton .skeleton-line { margin: 0; }
.discover-sections-skeleton .discover-section, [data-discover-section] .discover-section { animation: skeleton-content-in .18s ease both; }
[data-discover-section].is-loaded, [data-progressive-region].is-loaded { animation: skeleton-content-in .2s ease both; }
.discover-load-error { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 160px; color: var(--muted); font-size: .75rem; }
.discover-load-error button { padding: .38rem .6rem; border: 0; border-radius: 999px; background: var(--surface-raised); color: var(--text); font-size: .7rem; font-weight: 750; }
.page-list-skeleton { min-height: 102px; }
.page-list-skeleton > .list-poster-wrap { min-height: 102px; border-radius: 14px 0 0 14px; }
.page-list-skeleton-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: .7rem .75rem; }
.page-list-skeleton-status { position: absolute; right: .65rem; bottom: .6rem; width: 68px; height: 22px; border-radius: 999px; }
.page-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem .55rem; }
.page-gallery-skeleton > .skeleton-surface { display: block; width: 100%; aspect-ratio: 2/3; border-radius: 9px; }
.page-gallery-skeleton .skeleton-line { margin: .45rem 0 0; }
.page-compact-skeleton, .page-continue-skeleton, .page-queue-skeleton, .page-recent-skeleton, .page-agenda-skeleton, .page-notification-skeleton, .page-progress-skeleton { display: grid; grid-template-columns: 58px minmax(0,1fr) 38px; align-items: center; gap: .7rem; min-height: 82px; padding: .5rem; border: 0; border-radius: 10px; background: var(--surface); }
.page-compact-skeleton > .skeleton-surface, .page-continue-skeleton > .skeleton-surface, .page-queue-skeleton > .skeleton-surface, .page-agenda-skeleton > .skeleton-surface, .page-progress-skeleton > .skeleton-surface { display: block; width: 58px; height: 72px; border-radius: 7px; }
.page-recent-skeleton > .skeleton-surface, .page-notification-skeleton > .skeleton-surface { width: 38px; height: 38px; border-radius: 50%; }
.page-continue-skeleton { grid-template-columns: 52px minmax(0,1fr) 38px; min-height: 76px; }
.page-continue-skeleton > .skeleton-surface { width: 52px; height: 72px; }
.page-queue-skeleton { grid-template-columns: 50px minmax(0,1fr) 32px; min-height: 72px; }
.page-queue-skeleton > .skeleton-surface { width: 50px; height: 66px; }
.page-recent-skeleton { grid-template-columns: 38px minmax(0,1fr); min-height: 58px; }
.page-skeleton .section-heading > .skeleton-line { width: 72px; margin: 0; }
.page-skeleton .queue-date-group > header .skeleton-line { margin-bottom: .45rem; }
.page-skeleton .page-intro .skeleton-line { margin-bottom: .5rem; }
.page-skeleton .view-switch { display: flex; gap: .35rem; }
.page-skeleton .agenda-day > header time.skeleton-surface { display: block; width: 42px; height: 48px; border-radius: 8px; }
.page-notification-setting-skeleton { pointer-events: none; }
.page-toggle-skeleton { display: block; width: 48px; height: 28px; border-radius: 999px; }
.page-notification-skeleton { grid-template-columns: 38px minmax(0,1fr) 24px; }
.page-settings-skeleton .page-avatar-skeleton { display: block; flex: none; width: 52px; height: 52px; border-radius: 16px; }
.page-settings-skeleton .profile-card-copy { display: grid; min-width: 0; flex: 1; gap: .4rem; }
.page-field-skeleton { display: block; width: 100%; height: 48px; border-radius: 9px; }
.page-settings-skeleton .form-section-heading .skeleton-circle { width: 36px; height: 36px; }
.page-settings-skeleton .form-section-heading > div { flex: 1; }
.page-generic-skeleton { display: grid; gap: .65rem; padding-top: 1rem; }
.page-button-skeleton { display: block; width: 120px; height: 42px; border-radius: 999px; }
main.has-page-skeleton { min-height: calc(100dvh - var(--header-height,60px) - var(--mobile-nav-height,74px)); }
html.is-navigating main.has-page-skeleton { opacity: 1; }
@keyframes watchq-skeleton-shimmer { to { background-position: -240% 0; } }
@keyframes skeleton-content-in { from { opacity: .5; } to { opacity: 1; } }
.page-content-enter { animation: page-content-enter .2s ease both; }
@keyframes page-content-enter { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skeleton-surface, .skeleton-line, .skeleton-circle, .page-content-enter { animation: none; } }
.list-filter-help { display: flex; align-items: flex-start; gap: .45rem; margin: -1rem 0 1rem; color: var(--muted); font-size: .72rem; }
.list-filter-help i { flex: none; color: var(--accent-hover); }
.list-filter-help strong { color: var(--text); }
.results-heading { display: flex; justify-content: space-between; align-items: end; margin: 1.4rem 0 1rem; }
.results-heading h2 { margin: 0; font-size: 1.4rem; font-weight: 750; }
.results-heading span { color: var(--muted); font-size: .76rem; }
.my-list-page { padding-top: .15rem; }
.my-list-page .empty-state { min-height: 170px; padding: 1.5rem .75rem; border: 0; border-radius: 0; background: transparent; }
.my-list-page .empty-state > i { font-size: 1.65rem; }
.my-list-page .empty-state h2 { margin: .65rem 0 .2rem; font-size: .92rem; }
.my-list-page .empty-state p { margin: 0; font-size: .7rem; }
.my-list-page .empty-state .btn { min-height: 38px; margin-top: .7rem; padding: .42rem .7rem; font-size: .7rem; }
.my-list-filters { margin-bottom: .7rem; }
.my-list-toolbar { position: sticky; z-index: 700; top: calc(64px + env(safe-area-inset-top)); display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .65rem; margin-bottom: .65rem; padding: .55rem 0 .5rem; background: linear-gradient(180deg,var(--bg) 0%,var(--bg) 88%,rgba(9,11,15,0) 100%); }
.my-list-tool { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.my-list-tool-eyebrow { display: none; }
.my-list-tool-eyebrow b { color: #a39abf; font-weight: 650; }
.my-list-filter-toggle { display: inline-flex; width: auto; max-width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: .44rem; padding: 0 .76rem; border: 0; border-radius: 14px; background: var(--surface-soft); color: var(--muted); font-size: 1.06rem; }
.my-list-filter-toggle span { overflow: hidden; font-size: .72rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.my-list-filter-toggle.is-filtered { width: 46px; padding: 0; background: var(--status-bg); color: var(--status-color); }
.my-list-filter-toggle.is-filtered:hover, .my-list-filter-toggle.is-filtered[aria-expanded="true"] { background: var(--status-bg); color: var(--status-color); filter: brightness(1.16); }
.my-list-filter-toggle:hover, .my-list-filter-toggle[aria-expanded="true"] { background: rgba(109,88,220,.46); color: #ded7ff; }
.my-list-filter-toggle::after { display: none; }
.my-list-filter-menu { min-width: 174px; padding: .35rem; border: 0; border-radius: 14px; background: var(--surface-raised); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.my-list-filter-menu .dropdown-item { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: .7rem; padding: .48rem .62rem; border-radius: 10px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.my-list-filter-menu .dropdown-item:hover { background: var(--surface-soft); color: var(--text); }
.my-list-filter-menu .dropdown-item.active { background: rgba(109,88,220,.46); color: #ded7ff; }
.my-list-segment { display: inline-flex; align-items: center; gap: .18rem; padding: .22rem; border-radius: 14px; background: var(--surface-soft); }
.my-list-segment a { display: inline-flex; width: 39px; min-height: 39px; align-items: center; justify-content: center; padding: 0; border-radius: 12px; color: var(--muted); font-size: .7rem; font-weight: 750; white-space: nowrap; }
.my-list-segment a.active { background: rgba(109,88,220,.46); color: #ded7ff; }
.my-list-segment a i { font-size: .95rem; }
.my-list-sort { min-width: 0; }
.my-list-view { flex: none; }
.my-list-view a { padding-inline: 0; }
.my-list-tool-control-skeleton { display: block; width: 85px; height: 46px; border-radius: 14px; }
.my-list-filter-tool .my-list-tool-control-skeleton { width: 96px; }
.my-list-results { display: grid; gap: 1.15rem; }
.my-list-progressive-tail { display: grid; gap: .42rem; }
.my-list-alpha-group { scroll-margin-top: calc(130px + env(safe-area-inset-top)); }
.my-list-alpha-group > h2 { margin: 0 0 .42rem; color: var(--muted); font-size: .74rem; font-weight: 850; }
.my-list-stack { display: grid; gap: .42rem; overflow: visible !important; }
.my-list-item { position: relative; display: grid; grid-template-columns: 66px 1fr; align-items: stretch; overflow: visible !important; border: 0; border-radius: 14px; background: var(--surface); }
.my-list-stack.is-list .my-list-item:has(.my-list-round-action) { grid-template-columns: 66px minmax(0,1fr) 52px; column-gap: .28rem; }
.my-list-round-action { align-self: center; justify-self: center; width: 34px; height: 34px; margin: 0; border: 0; border-radius: 11px; background: var(--accent-soft); color: #b8adff; font-size: 1rem; }
.my-list-round-action.is-upcoming { background: var(--surface-soft); color: var(--subtle); }
.my-list-item:has(.dropdown-menu.show), .my-list-item.status-menu-open { z-index: 100; }
.list-poster-wrap { position: relative; min-width: 0; }
.list-poster { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; min-height: 99px; overflow: hidden; padding: .4rem; border-radius: 14px 0 0 14px; background: var(--accent); color: #111319; font-size: .4rem; font-weight: 850; }
.list-poster.has-image { padding: 0; background: var(--surface-soft); }
.list-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.list-poster strong { overflow-wrap: anywhere; font-size: .82rem; line-height: .9; }
.list-copy { min-width: 0; overflow: visible !important; padding: .45rem .5rem; }
.list-card-top { display: block; }
.list-card-main { min-width: 0; }
.list-copy h2 { margin: .52rem 0 0; font-size: .82rem; font-weight: 750; line-height: 1.12; }
.list-copy h2 a { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-copy > p { margin: .28rem 0 0; color: var(--muted); font-size: .58rem; line-height: 1.25; }
.my-list-stack.is-list .list-copy h2 { font-size: .98rem; }
.list-copy > .my-list-show-counts { display: grid; gap: .28rem; font-size: .74rem; font-weight: 500; line-height: 1.3; }
.my-list-show-counts > span { display: flex; align-items: center; gap: .3rem; }
.my-list-show-counts > span:first-child strong { color: inherit; font-weight: 800; }
.my-list-show-counts b { color: var(--subtle); font-size: .48rem; }
.my-list-watch-progress { color: var(--subtle); font-size: .68rem; }
.my-list-watch-progress strong { color: inherit; font-weight: 750; }
.my-list-watch-progress > span { display: inline-flex; align-items: center; gap: .3rem; }
.my-list-watch-progress i { color: inherit; font-size: .7rem; }
.my-list-stack.is-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .72rem .5rem; }
.my-list-stack.is-gallery .my-list-item { display: flex; min-width: 0; flex-direction: column; border: 0; border-radius: 0; background: transparent; }
.my-list-stack.is-gallery .list-poster-wrap { width: 100%; aspect-ratio: 2 / 3; }
.my-list-stack.is-gallery .list-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; border-radius: 14px; }
.my-list-stack.is-gallery .list-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.my-list-stack.is-gallery .list-poster:not(.has-image) { display: flex; flex-direction: column; justify-content: space-between; }
.my-list-stack.is-gallery .list-copy { padding: .38rem .05rem 0; }
.my-list-stack.is-gallery .list-card-top { display: block; }
.my-list-stack.is-gallery .list-status-form { position: absolute; top: .35rem; bottom: auto; left: .35rem; z-index: 3; max-width: calc(100% - .7rem); }
.my-list-stack.is-gallery .list-status-badge { max-width: 100%; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.28); text-overflow: ellipsis; white-space: nowrap; }
.my-list-stack.is-gallery .list-copy h2 { margin: 0; font-size: .7rem; }
.my-list-stack.is-gallery .list-copy > p { display: none; }
.my-list-page .list-status-badge { min-height: 22px; padding: .14rem .42rem !important; font-size: .56rem; }
.my-list-page .my-list-stack.is-gallery .list-status-badge { min-height: 22px; padding: .14rem .42rem !important; font-size: .56rem; }
.list-status-form, .list-status-form .dropdown { display: inline-flex; overflow: visible !important; }
.status-watching { --status-color: #62a9f8; --status-bg: #142a42; --status-border: #28547d; }
.status-planned { --status-color: #a89bff; --status-bg: var(--accent-soft); --status-border: #514695; }
.status-paused { --status-color: #cc9410; --status-bg: var(--warning-soft); --status-border: #6a501c; }
.status-completed { --status-color: var(--positive); --status-bg: var(--positive-soft); --status-border: #275940; }
.status-caught_up { --status-color: #43ddd3; --status-bg: #103436; --status-border: #286b6d; }
.status-dropped { --status-color: var(--danger); --status-bg: var(--danger-soft); --status-border: #713039; }
.list-status-badge { display: inline-flex; align-items: center; min-height: 32px; padding: .27rem .55rem !important; border: 0; border-radius: var(--bs-border-radius-pill) !important; background-color: var(--status-bg); box-shadow: inset 0 0 0 1px var(--status-border); color: var(--status-color); font-size: .65rem; font-weight: 800; line-height: 1; letter-spacing: .055em; text-transform: uppercase; vertical-align: middle; }
.list-status-badge:hover, .list-status-badge:focus, .list-status-badge.show { background-color: var(--status-bg); box-shadow: inset 0 0 0 1px var(--status-color); color: var(--status-color); }
.list-status-badge.dropdown-toggle::after { display: none; }
.list-status-menu { --bs-dropdown-min-width: 184px; --bs-dropdown-padding-y: 0; --bs-dropdown-bg: #15171d; --bs-dropdown-border-color: transparent; --bs-dropdown-border-radius: 18px; --bs-dropdown-link-color: var(--muted); --bs-dropdown-link-hover-color: var(--text); --bs-dropdown-link-hover-bg: var(--surface-soft); z-index: 2200; overflow: visible !important; padding: .45rem; border: 0; box-shadow: 0 18px 46px rgba(0,0,0,.52); }
.list-status-menu li + li { margin-top: .18rem; }
.list-status-menu .dropdown-item { display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; align-items: center; gap: .58rem; min-height: 44px; padding: .58rem .68rem; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 720; }
.list-status-menu .dropdown-item:hover, .list-status-menu .dropdown-item:focus { background: var(--surface-soft); color: var(--text); }
.list-status-menu .dropdown-item.is-active { background: var(--status-bg); color: var(--status-color); }
.list-status-option-icon { color: var(--status-color); font-size: 1rem; }
.list-status-selected-icon { color: var(--status-color); font-size: 1rem; }
.status-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--status-color); }

/* Calendar */
.calendar-toolbar { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: .75rem; margin-bottom: 1rem; }
.calendar-toolbar-range { margin-top: .8rem; }
.calendar-sticky-tabs { position: sticky; z-index: 700; top: calc(64px + env(safe-area-inset-top)); padding: .5rem 0; background: var(--bg); }
.calendar-page-heading { display: flex; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: .75rem; text-align: left; }
.calendar-timezone-label { display: inline-flex; flex: none; align-items: center; justify-content: flex-end; gap: .38rem; margin-left: auto; color: var(--muted); font-size: .7rem; font-weight: 650; line-height: 1.2; text-align: right; white-space: nowrap; }
.calendar-timezone-label i { flex: none; color: var(--muted); font-size: .72rem; }
.view-switch { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; padding: 3px; border: 0; border-radius: 14px; background: var(--surface); }
.view-switch a { padding: .45rem .8rem; border: 0; border-radius: 11px; color: var(--muted); font-size: .73rem; font-weight: 700; text-align: center; }
.view-switch a:hover { color: white; }
.view-switch a.active { background: var(--surface-soft); color: white; }
.calendar-date-nav { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; width: min(100%,430px); align-items: center; justify-self: center; text-align: center; }
.calendar-date-nav a { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 0; background: transparent; color: var(--muted); }
.calendar-date-nav a:hover, .calendar-date-nav a:focus-visible { background: transparent; color: white; }
.calendar-date-nav strong { display: flex; min-width: 0; align-items: center; justify-content: center; gap: .28rem; padding: 0 .35rem; font-size: .72rem; }
.calendar-range-badge, .calendar-day-name { display: inline-flex; min-height: 27px; align-items: center; justify-content: center; padding: .28rem .45rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); line-height: 1; white-space: nowrap; }
.calendar-range-badge { border: 0; background: var(--surface); color: var(--muted); }
.calendar-range-separator { flex: none; color: var(--subtle); font-weight: 500; }
.calendar-range-label.is-day { flex-direction: column; gap: .28rem; }
.calendar-range-label.is-day .calendar-day-name { min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.calendar-day-date { color: var(--text); font-size: .74rem; white-space: nowrap; }
.agenda-day { display: grid; grid-template-columns: 66px 1fr; gap: .75rem; padding: 1rem 0; border-top: 0; }
.agenda-day > header > div { display: none; }
.agenda-day header time { display: flex; flex-direction: column; align-items: center; }
.agenda-day header strong { color: var(--accent-hover); font-size: .62rem; letter-spacing: .08em; }
.agenda-day header span { font-size: 1.9rem; font-weight: 800; }
.calendar-agenda .agenda-day, .calendar-day .agenda-day, .calendar-week-list .agenda-day { grid-template-columns: 40px minmax(0,1fr); gap: .42rem; padding: .9rem 0; }
.calendar-week-list .agenda-day:first-child { margin-top: .5rem; border-top: 0; }
.calendar-agenda .agenda-day header time, .calendar-day .agenda-day header time, .calendar-week-list .agenda-day header time { gap: .04rem; }
.calendar-agenda .agenda-day header strong, .calendar-day .agenda-day header strong, .calendar-week-list .agenda-day header strong { font-size: .62rem; line-height: 1.1; }
.calendar-agenda .agenda-day header span, .calendar-day .agenda-day header span, .calendar-week-list .agenda-day header span { font-size: 1.35rem; line-height: 1; }
.agenda-items { display: grid; gap: .5rem; }
.agenda-item { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: .75rem; padding: .65rem; border: 0; border-radius: 14px; background: var(--surface); }
.page-agenda-skeleton { border-radius: 14px; }
.agenda-item:hover { background: var(--surface-raised); }
.agenda-item > div { min-width: 0; }
.calendar-page .agenda-item .kicker { font-size: .56rem; letter-spacing: 0; text-transform: uppercase; }
.agenda-item h3 { margin: .05rem 0; font-size: .93rem; font-weight: 750; }
.agenda-item p { display: flex; align-items: baseline; min-width: 0; gap: .24rem; margin: 0; overflow: hidden; color: var(--muted); font-size: .7rem; white-space: nowrap; }
.agenda-item p > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-episode-code { flex: none; color: var(--text); font-weight: 850; }
.agenda-episode-code > span { color: inherit; }
.calendar-page .agenda-round-action { width: 34px; height: 34px; border: 0; border-radius: 11px; background: var(--accent-soft); color: #b8adff; font-size: .72rem; }
.calendar-empty-day { margin: .7rem 0; color: var(--subtle); font-size: .72rem; }
.calendar-page > .empty-state { min-height: 170px; padding: 1.5rem .75rem; border: 0; border-radius: 0; background: transparent; }
.calendar-page > .empty-state > i { font-size: 1.65rem; }
.calendar-page > .empty-state h2 { margin: .65rem 0 .2rem; font-size: .92rem; }
.calendar-page > .empty-state p { margin: 0; font-size: .7rem; }
.week-date-strip { display: grid; grid-template-columns: repeat(7,minmax(44px,1fr)); gap: .25rem; overflow-x: auto; padding: .15rem 0 .42rem; }
.week-date-toggle { display: grid; min-width: 44px; padding: .4rem .2rem; border: 0; border-radius: 8px; background: var(--surface); color: var(--muted); text-align: center; }
.week-date-toggle:hover { color: white; }
.week-date-toggle.active { background: var(--accent-soft); color: #d1caff; }
.week-date-toggle time { display: flex; flex-direction: column; gap: .1rem; }
.week-date-toggle span { font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.week-date-toggle strong { font-size: 1.1rem; line-height: 1; }

/* Show and episode details */
.show-hero { position: relative; isolation: isolate; overflow: hidden; border: 0; background: transparent; }
.show-hero.has-backdrop::before { position: absolute; z-index: -2; inset: 0; background-image: var(--hero-backdrop); background-position: center 18%; background-size: cover; content: ""; filter: blur(4px); opacity: .58; transform: scale(1.04); }
.show-hero.uses-poster-backdrop::before { background-position: center 28%; filter: blur(12px); opacity: .36; transform: scale(1.1); }
.show-hero.has-backdrop::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(9,11,15,.26) 0%,rgba(9,11,15,.38) 36%,rgba(9,11,15,.8) 72%,var(--bg) 100%),linear-gradient(90deg,rgba(9,11,15,.44) 0%,rgba(9,11,15,.12) 68%,rgba(9,11,15,.36) 100%); content: ""; }
.show-hero-grid { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; column-gap: .8rem; row-gap: .6rem; padding: 2.4rem 0 .85rem; }
.hero-poster { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; justify-content: space-between; width: 104px; max-width: none; aspect-ratio: 2/3; padding: .65rem; border-radius: 10px; background: var(--accent); color: #111319; font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.hero-poster.has-image { overflow: hidden; padding: 0; background: var(--surface-soft); }
.hero-poster.has-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster strong { overflow-wrap: anywhere; font-size: 1.25rem; font-weight: 850; line-height: .88; letter-spacing: -.055em; text-transform: none; }
.genre-tag { padding: .36rem .62rem; border: 1px solid rgba(109,88,220,.28); border-radius: 999px; background: rgba(109,88,220,.14); color: #c8c0ff; font-size: .66rem; font-weight: 750; }
.genre-tag:hover { border-color: rgba(109,88,220,.48); background: rgba(109,88,220,.22); color: #ded8ff; }
.show-hero-copy { display: flex; grid-column: 2; min-width: 0; flex-direction: column; justify-content: center; }
.show-identity { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .34rem; min-width: 0; text-align: left; }
.show-identity h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.35rem, 6.5vw, 1.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.show-subtitle { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .12rem .28rem; margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.3; }
.show-subtitle b { color: var(--subtle); font-weight: 400; }
.show-summary { margin-top: .08rem; }
.show-overview { display: -webkit-box; max-width: 690px; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #b6bec9; font-size: .8rem; line-height: 1.45; }
.show-summary.expanded .show-overview { display: block; overflow: visible; }
.summary-toggle { margin-top: .25rem; padding: 0; border: 0; background: transparent; color: var(--accent-hover); font-size: .7rem; font-weight: 750; }
.show-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .3rem; margin-top: .3rem; }
.show-genres { justify-content: flex-start; gap: .25rem; margin: 0; }
.hero-actions { display: flex; grid-column: 1 / -1; width: 100%; flex-wrap: nowrap; align-items: center; gap: .4rem; margin-top: 0; overflow: visible; }
.hero-primary-actions { display: flex; width: 100%; flex-wrap: nowrap; align-items: center; gap: .4rem; min-width: 0; }
.hero-primary-actions > form:first-child, .hero-primary-actions > a:first-child { flex: none; }
.hero-primary-actions .btn { white-space: nowrap; }
.show-hero .hero-actions .btn { padding: .46rem .72rem; border: 0 !important; border-radius: 16px; box-shadow: none !important; font-size: .74rem; }
.show-hero .hero-actions .btn-outline-light { background: rgba(255,255,255,.065); color: var(--text); }
.show-hero .hero-actions .btn-outline-light:hover, .show-hero .hero-actions .btn-outline-light:focus-visible { border: 0; background: rgba(255,255,255,.1); box-shadow: none; }
.series-status-form { position: relative; z-index: 5; }
.series-status-display, .series-status-control { width: max-content; margin: 0; }
.show-identity :is(.list-status-badge.series-status-display,.series-status-control .list-status-badge) { min-height: 22px; padding: .18rem .42rem !important; font-size: .52rem; letter-spacing: .075em; text-transform: uppercase; }
.show-catalog-status { background: rgba(255,255,255,.12); color: #d7dce5; font-size: .58rem; font-weight: 750; }
.reaction-group { display: flex; gap: .35rem; }
.reaction-group .btn.active { border: 0; background: var(--accent-soft); color: #c8c0ff; }
.show-preference-actions { display: inline-flex; flex: none; flex-wrap: nowrap; align-items: center; gap: .7rem; margin-left: auto; white-space: nowrap; }
.show-preference-actions .reaction-group { display: inline-flex; flex-wrap: nowrap; }
.show-preference-actions .reaction-group .btn, .show-preference-actions .show-hide-button, .show-preference-actions .show-report-button { display: inline-grid; width: 46px; min-width: 46px; height: 46px; min-height: 46px; place-items: center; padding: 0 !important; border: 0 !important; border-radius: 16px; box-shadow: none !important; font-size: 1.05rem; line-height: 1; }
.show-hide-form { display: inline-flex; flex: none; }
.show-hide-button { border: 0; background: rgba(94,35,43,.24) !important; color: #e27d86; }
.show-hide-button:hover, .show-hide-button:focus-visible { border: 0; background: var(--danger-soft) !important; color: var(--danger); }
.show-report-button { background: rgba(255,255,255,.055) !important; color: var(--text-muted) !important; }
.show-report-button:hover, .show-report-button:focus-visible { background: rgba(255,255,255,.09) !important; color: var(--text) !important; }
.show-report-button.is-reported { background: rgba(177,145,255,.1) !important; color: #bda8f5 !important; opacity: .75; }

.show-report-sheet-modal { z-index: 1100; --bs-modal-bg: var(--navigation-surface); --bs-modal-border-color: transparent; --watchq-keyboard-sheet-bg: var(--navigation-surface); }
.show-report-sheet-modal .modal-dialog { position: absolute; inset: 0; display: flex; width: 100%; max-width: none; height: 100%; min-height: 100%; margin: 0; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.show-report-sheet-modal .modal-content { width: 100%; max-height: min(78dvh,680px); overflow: hidden; border: 0; border-radius: 26px 26px 0 0; background: var(--navigation-surface); box-shadow: 0 -18px 55px rgba(0,0,0,.55); transform: translate3d(0,var(--show-report-drag,0),0); transition: transform .2s ease-out; pointer-events: auto; }
.show-report-sheet-modal.fade .modal-dialog { transform: translateY(100%); transition: transform .23s cubic-bezier(.22,.75,.2,1); }
.show-report-sheet-modal.show .modal-dialog { transform: translateY(0); }
.show-report-sheet-modal.is-dragging .modal-content { transition: none; }
.show-report-grabber { display: grid; height: 32px; flex: none; place-items: center; touch-action: none; cursor: grab; }
.show-report-grabber span { width: 38px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.24); }
#showReportForm { overflow: auto; padding: 0 1.1rem calc(1.1rem + env(safe-area-inset-bottom)); scrollbar-width: none; }
#showReportForm::-webkit-scrollbar { display: none; }
.show-report-form-panel, .show-report-hide-panel { display: grid; gap: 1rem; }
.show-report-heading h2, .show-report-hide-panel h2 { margin: 0; font-size: 1.35rem; font-weight: 780; }
.show-report-heading p, .show-report-hide-panel p { margin: .3rem 0 0; color: var(--text-muted); line-height: 1.45; }
.show-report-heading strong, .show-report-hide-panel strong { color: var(--text); }
.show-report-reasons { display: grid; gap: .45rem; }
.show-report-reason-label { margin: 0 0 -.55rem; color: var(--text-muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.show-report-reasons label { cursor: pointer; }
.show-report-reasons input { position: absolute; opacity: 0; pointer-events: none; }
.show-report-reasons span { display: flex; min-height: 48px; align-items: center; gap: .75rem; padding: .75rem .85rem; border: 0; border-radius: 16px; background: rgba(255,255,255,.05); color: var(--text-soft); }
.show-report-reasons input:checked + span { background: rgba(142,104,219,.24); color: #d6c7ff; }
.show-report-details { display: grid; gap: .45rem; color: var(--text-muted); font-size: .82rem; }
.show-report-details textarea { width: 100%; resize: none; border: 0; border-radius: 16px; outline: 0; background: rgba(255,255,255,.055); color: var(--text); padding: .8rem; font: inherit; }
.show-report-status { min-height: 1rem; margin: -.35rem 0; color: var(--danger); font-size: .8rem; }
.show-report-submit { width: 100%; min-height: 48px; border: 0; border-radius: 16px; }
.show-report-hide-panel { padding-top: .35rem; text-align: center; }
.show-report-hide-panel > div:first-child > i { display: inline-grid; width: 50px; height: 50px; margin-bottom: .75rem; place-items: center; border-radius: 17px; background: rgba(226,125,134,.12); color: #e27d86; font-size: 1.25rem; }
.show-report-hide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.show-report-hide-actions .btn { min-height: 46px; border: 0; border-radius: 16px; }
.show-content { display: block; padding-top: .9rem; }
.season-block { margin-bottom: .44rem; }
.season-header { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 62px; align-items: center; column-gap: .42rem; border: 0; border-radius: 17px; background: transparent; transition: background-color .15s ease; }
.season-header:has(.season-toggle.collapsed) { border: 0; background: var(--surface); }
.season-header:has(.season-toggle.collapsed):hover { border: 0; background: var(--surface-raised); }
.season-toggle { display: flex; align-items: center; width: 100%; padding: .68rem .18rem .68rem .74rem; border: 0; background: transparent; color: var(--text); text-align: left; }
.season-toggle span { display: flex; flex-direction: column; }
.season-toggle strong { font-size: 1.04rem; font-weight: 750; }
.season-toggle small { color: var(--muted); font-size: .7rem; }
.season-actions { display: flex; align-items: center; padding: .1rem .5rem .1rem .1rem; }
.season-actions button { display: inline-flex; width: auto; min-width: 0; min-height: 35px; align-items: center; justify-content: center; gap: .32rem; padding: .26rem .6rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.055); color: var(--muted); font-size: .65rem; font-weight: 800; line-height: 1; }
.season-actions button:hover { border: 0; background: rgba(255,255,255,.085); color: var(--text); }
.season-bulk-toggle { white-space: nowrap; }
.season-bulk-toggle i { font-size: .78rem; }
.season-bulk-toggle:not(.is-complete) { width: 38px; height: 38px; padding: 0; border-radius: 12px; }
.season-bulk-toggle:not(.is-complete) i { font-size: 1.05rem; }
.season-bulk-toggle.is-complete { border: 0; background: rgba(43,34,72,.82); color: #a398d0; }
.season-bulk-toggle.is-complete span { font-weight: 500; }
.season-bulk-toggle.is-complete:hover { background: rgba(49,39,82,.88); color: #b1a6dc; }
.episode-list { display: grid; gap: .14rem; padding-top: .26rem; }
.episode-row { display: flex; align-items: center; justify-content: space-between; gap: .55rem; min-height: 64px; padding: .68rem .76rem; border: 0; border-radius: 17px; background: var(--surface); }
.episode-row:last-child { border: 0; }
.episode-row:hover { background: var(--surface-raised); }
.episode-link { display: flex; align-items: center; flex: 1; gap: .8rem; min-width: 0; }
.episode-row.is-unavailable:hover { background: var(--surface); }
.episode-unavailable { color: var(--muted); cursor: default; }
.episode-row.is-unavailable h3 { color: var(--muted); }
.episode-locked { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: var(--subtle); }
.episode-number { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 1rem; font-weight: 900; }
.episode-row h3 { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.25; }
.episode-row p, .discussion-count { margin: .14rem 0 0; color: var(--muted); font-size: .7rem; }
.discussion-count { display: inline-flex; align-items: center; gap: .18rem; }
.watched-toggle { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 13px; background: var(--bg); color: var(--muted); }
.watched-toggle span { display: none; }
.watched-toggle:hover { background: var(--bg); color: var(--muted); }
.watched-toggle.watched { border: 0; background: rgba(109,88,220,.34); color: #c3b9f1; }
.watched-toggle.watched:hover { background: rgba(109,88,220,.44); color: #d2c9fa; }
.show-sidebar { display: grid; align-content: start; gap: .75rem; }
.info-panel { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-panel h2 { font-weight: 750; }
.info-panel p { color: var(--muted); font-size: .8rem; }
.provider-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .58rem .75rem; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-soft); color: var(--text); font-size: .72rem; font-weight: 750; }
.provider-pill.provider-logo-only { padding: 0; border: 0; border-radius: 14px; background: transparent; }
.provider-pill.provider-logo-only img { display: block; width: 52px; height: 52px; border: 0; border-radius: 14px; object-fit: contain; background: transparent; }
.info-panel dl { margin: 0; }
.info-panel dl div { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.info-panel dl div:last-child { border: 0; }
.info-panel dd { margin: 0; color: var(--muted); font-weight: 700; }
.details-panel { margin-top: .55rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
.details-panel .eyebrow { font-size: .55rem; }
.details-panel dl { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin-top: .35rem; }
.details-panel dl div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: .75rem; min-width: 0; padding: .78rem .2rem; border-bottom: 1px solid rgba(255,255,255,.045); font-size: .69rem; }
.details-panel dl div:last-child { border-bottom: 0; }
.details-panel dt { color: var(--subtle); font-size: .62rem; font-weight: 750; line-height: 1.25; letter-spacing: .07em; text-transform: uppercase; }
.details-panel dd { margin: 0; overflow-wrap: anywhere; color: var(--text); font-size: .75rem; font-weight: 750; line-height: 1.2; text-align: right; }
.show-source-attribution { margin: 3rem 0 .35rem; padding-top: .75rem; font-size: .58rem !important; line-height: 1.45; }
.where-to-watch-panel { display: flex; align-items: center; justify-content: flex-start; gap: .65rem; padding: .35rem 0; border: 0; border-radius: 0; background: transparent; }
.where-to-watch-panel .eyebrow { display: inline-flex; height: 34px; min-height: 0; align-items: center; align-self: center; margin: 0; padding: 0; line-height: 1; }
.where-to-watch-panel .provider-logo-only { align-self: center; margin: 0; line-height: 0; }
.show-next-action { grid-column: 1 / -1; min-width: 0; }
.show-progress-button { display: flex; width: 100%; min-height: 74px; align-items: center; gap: .78rem; padding: .82rem .78rem .82rem .9rem; border: 0; border-radius: 16px; background: rgba(43,35,70,.76); color: white; text-align: left; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.show-progress-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.show-progress-label { overflow: hidden; color: rgba(255,255,255,.7); font-size: .64rem; font-weight: 650; line-height: 1.2; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.show-progress-episode { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: .14rem; margin-top: .18rem; overflow: hidden; font-size: .88rem; font-weight: 400; line-height: 1.22; }
.show-progress-episode strong { font-weight: 850; }
.show-progress-title { display: block; width: 100%; overflow: hidden; color: rgba(255,255,255,.68); font-size: .76rem; font-weight: 450; text-overflow: ellipsis; white-space: nowrap; }
.show-progress-play { display: grid; flex: none; width: 34px; height: 34px; margin-left: auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: white; font-size: 1.05rem; }
.show-progress-button.is-up-next { background: rgba(29,35,45,.82); color: var(--text); }
.show-progress-button.is-up-next .show-progress-label { color: var(--muted); }
.show-progress-button.is-up-next .show-progress-play { background: rgba(179,148,255,.12); color: #b394ff; }
.show-progress-button.is-complete { min-height: 54px; padding: .62rem .7rem .62rem .8rem; background: #101218; color: #d4d7df; }
.show-progress-button.is-complete .show-progress-label { color: var(--muted); }
.show-progress-button.is-complete .show-progress-episode { margin-top: 0; }
.show-progress-button.is-complete .show-progress-play { background: rgba(109,88,220,.14); color: #b5a9ec; }
.show-progress-button.is-complete.is-caught-up { background: #101218; color: #d4d7df; }
.show-progress-button.is-complete.is-caught-up .show-progress-play { background: rgba(109,88,220,.14); color: #b5a9ec; }
.show-tab-shell { position: sticky; z-index: 8; top: 0; padding: .45rem 1rem; background: rgba(9,11,15,.96); backdrop-filter: blur(18px); }
.show-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1320px; margin: 0 auto; padding: .2rem; border-radius: 16px; background: var(--surface); }
.show-tabs button { min-width: 0; min-height: 38px; padding: .42rem .35rem; overflow: hidden; border: 0; border-radius: 16px; background: transparent; color: var(--muted); font-size: .7rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.show-tabs button.active { background: rgba(54,43,86,.58); color: #c0b7df; }
.show-about-panel { padding: .6rem 0 1.5rem; }
.show-about-panel .show-summary { margin: 0; }
.show-about-panel .show-genres { display: flex; gap: .42rem; margin: .8rem -1rem 1.3rem; padding: .05rem 1rem .22rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.show-about-panel .show-genres::-webkit-scrollbar { display: none; }
.show-about-panel .genre-tag { flex: none; padding: .46rem .78rem; background: transparent; font-size: .78rem; white-space: nowrap; }
.show-about-panel .genre-tag:hover { background: transparent; }
.show-about-panel .show-overview { max-width: 780px; -webkit-line-clamp: 5; }
.show-cast-section { margin: 2.35rem 0 0; }
.show-cast-section h2 { margin: 0 0 .55rem; font-size: .72rem; font-weight: 800; }
.show-cast-rail { display: grid; grid-auto-columns: minmax(145px,42vw); grid-auto-flow: column; gap: .55rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .05rem 0 .2rem; scroll-snap-type: inline proximity; }
.show-cast-member { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: .55rem; min-width: 0; padding: .42rem; border-radius: 10px; background: var(--surface); scroll-snap-align: start; }
.show-cast-photo { display: grid; width: 44px; aspect-ratio: 1; place-items: center; overflow: hidden; border-radius: 9px; background: var(--surface-soft); color: var(--subtle); }
.show-cast-photo img { width: 100%; height: 100%; object-fit: cover; }
.show-cast-member > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.show-cast-member strong, .show-cast-member small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-cast-member strong { font-size: .7rem; line-height: 1.25; }
.show-cast-member small { margin-top: .14rem; color: var(--muted); font-size: .59rem; }
.show-about-panel > .where-to-watch-panel,
.show-about-panel > .details-panel { margin-top: 2.35rem; }
.show-similar-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding-bottom: 1rem; }
.compact-empty { min-height: 250px; border: 0; background: transparent; }

/* Full-screen show sheet */
.show-sheet-modal { z-index: 1055; --bs-modal-bg: var(--bg); }
.show-sheet-modal .modal-dialog { position: relative; width: 100%; max-width: none; height: 100dvh; min-height: 100%; overflow: hidden; margin: 0; background: var(--bg); }
.show-sheet-modal .modal-content { position: relative; z-index: 1; height: 100dvh; overflow: hidden; border: 0; border-radius: 0; background: var(--bg); box-shadow: 0 -18px 55px rgba(0,0,0,.55); transform: translateY(var(--show-sheet-drag,0)); transition: transform .2s ease-out; will-change: transform; }
.show-sheet-underlay { position: absolute; z-index: 0; inset: 0; height: 100dvh; overflow: hidden; background: var(--bg); pointer-events: none; }
.show-sheet-modal .modal-content::before { position: absolute; z-index: 7; top: 0; right: 0; left: 0; height: calc(26px + env(safe-area-inset-top)); background: rgba(9,11,15,.96); content: ""; opacity: 0; pointer-events: none; transition: opacity .14s ease; backdrop-filter: blur(18px); }
.show-sheet-modal.show-tabs-stuck .modal-content::before { opacity: 1; }
.show-sheet-modal.fade .modal-dialog { transform: translateY(100%); transition: transform .24s cubic-bezier(.22,.75,.2,1); }
.show-sheet-modal.show .modal-dialog { transform: translateY(0); }
.show-sheet-modal.is-dragging .modal-content { transition: none; }
.show-sheet-modal.is-dragging [data-show-sheet-drag-handle] { cursor: grabbing; }
.show-sheet-grabber { position: absolute; z-index: 14; top: max(7px,env(safe-area-inset-top)); left: 50%; display: grid; width: 62px; height: 24px; place-items: center; transform: translateX(-50%); touch-action: none; cursor: grab; }
.show-sheet-grabber span { width: 38px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.42); box-shadow: 0 1px 5px rgba(0,0,0,.4); }
.show-sheet-body { height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); scrollbar-width: none; }
.show-sheet-body::-webkit-scrollbar { display: none; }
.show-sheet-body .page-shell { min-height: 0; }
.show-sheet-body .show-tab-shell { top: calc(26px + env(safe-area-inset-top)); }
.show-sheet-body .show-hero-grid { padding-top: calc(2.55rem + env(safe-area-inset-top)); }
.show-sheet-body .show-content { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.show-sheet-modal.has-sticky-progress .show-sheet-body { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
.show-sticky-progress { position: absolute; z-index: 13; right: 0; bottom: 0; left: 0; padding: .65rem 0 calc(.65rem + env(safe-area-inset-bottom)); background: rgba(9,11,15,.9); opacity: 0; pointer-events: none; transform: translateY(100%); transition: opacity .16s ease, transform .2s ease; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.show-sticky-progress.is-visible { opacity: 1; transform: translateY(0); }
.show-sticky-progress-inner { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1rem; }
.show-sticky-progress .show-progress-button { min-height: 50px; box-shadow: 0 10px 30px rgba(0,0,0,.42); pointer-events: auto; }
.show-sheet-loading { height: 100%; overflow: hidden; background: var(--bg); }
.show-sheet-skeleton-backdrop { height: 230px; background: linear-gradient(105deg,var(--surface) 20%,var(--surface-soft) 38%,var(--surface) 56%); background-size: 240% 100%; animation: show-sheet-shimmer 1.35s linear infinite; }
.show-sheet-skeleton-core { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: .8rem; margin: -132px 1rem 0; align-items: end; }
.show-sheet-skeleton-poster { display: block; width: 104px; aspect-ratio: 2/3; border-radius: 10px; background: var(--surface-soft); }
.show-sheet-skeleton-core > span:last-child, .show-sheet-skeleton-copy { display: grid; gap: .55rem; }
.show-sheet-skeleton-core i, .show-sheet-skeleton-copy i { display: block; height: 13px; border-radius: 999px; background: var(--surface-soft); }
.show-sheet-skeleton-core i:nth-child(1) { width: 42%; }
.show-sheet-skeleton-core i:nth-child(2) { width: 86%; height: 24px; }
.show-sheet-skeleton-core i:nth-child(3) { width: 65%; }
.show-sheet-skeleton-copy { margin: 1.4rem 1rem; }
.show-sheet-skeleton-copy i:nth-child(2) { width: 92%; }
.show-sheet-skeleton-copy i:nth-child(3) { width: 70%; }
.show-sheet-skeleton-actions { display: flex; align-items: center; gap: .55rem; margin: .85rem 1rem 0; }
.show-sheet-skeleton-actions .skeleton-circle { width: 42px; height: 42px; }
.show-sheet-skeleton-progress { display: grid; gap: .15rem; min-height: 58px; margin: .7rem 1rem 0; padding: .8rem; border-radius: 16px; }
.show-sheet-skeleton-progress .skeleton-line { z-index: 1; margin-bottom: .25rem; background: rgba(255,255,255,.12); animation: none; }
.show-sheet-skeleton-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; margin-top: .65rem; padding: .6rem 1rem; background: var(--bg); }
.show-sheet-skeleton-tabs > i { display: block; height: 36px; border-radius: 8px; }
.show-sheet-skeleton-seasons { display: grid; gap: .42rem; padding: .7rem 1rem 1.4rem; }
.show-sheet-skeleton-seasons .season-block { display: flex; min-height: 66px; align-items: center; justify-content: space-between; padding: .65rem .7rem; border: 0; border-radius: 16px; background: var(--surface); }
.show-sheet-skeleton-seasons .season-block > div { width: 72%; }
.show-sheet-skeleton-seasons .skeleton-circle { width: 34px; height: 34px; }
.episode-sheet-loading { min-height: min(620px,82dvh); }
.episode-sheet-loading .episode-sheet-header { padding-right: 1rem; }
.episode-sheet-loading .episode-sheet-header > div { width: 100%; }
.episode-sheet-overview-skeleton { margin-top: .9rem; }
.episode-sheet-loading .episode-sheet-actions { display: flex; align-items: center; gap: .55rem; }
.episode-sheet-loading .episode-sheet-actions .skeleton-circle { width: 42px; height: 42px; }
@keyframes show-sheet-shimmer { to { background-position: -240% 0; } }
.setting-toggle:has(input[name="reply_notifications"]), .setting-toggle:has(input[name="reaction_notifications"]) { display: none; }
.push-control { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.push-control > div { display: flex; min-width: 0; flex-direction: column; }
.push-control strong { font-size: .78rem; }
.push-control small { color: var(--muted); font-size: .66rem; line-height: 1.3; }
.push-control .btn { flex: none; min-width: 92px; }
.tmdb-attribution { margin: .8rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--subtle) !important; font-size: .66rem !important; }
.episode-sheet-modal { z-index: 1085; --bs-modal-bg: var(--navigation-surface); --bs-modal-border-color: transparent; }
.activity-sheet-modal { z-index: 1045; --bs-modal-bg: var(--navigation-surface); --bs-modal-border-color: transparent; }
.activity-sheet-modal .modal-dialog { position: absolute; inset: 0; display: flex; width: 100%; max-width: none; height: 100%; min-height: 100%; margin: 0; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.activity-sheet-modal .modal-content { width: 100%; height: min(94dvh,900px); max-height: calc(100dvh - env(safe-area-inset-top)); overflow: hidden; border: 0; border-radius: 24px 24px 0 0; background: var(--navigation-surface); box-shadow: 0 -18px 55px rgba(0,0,0,.55); transform: translate3d(0,var(--activity-sheet-drag,0),0); transition: transform .2s ease-out; will-change: transform; pointer-events: auto; }
.activity-sheet-modal.fade .modal-dialog { transform: translateY(100%); transition: transform .24s cubic-bezier(.22,.75,.2,1); }
.activity-sheet-modal.show .modal-dialog { transform: translateY(0); }
.activity-sheet-modal.is-dragging .modal-content { transition: none; }
.activity-sheet-grabber { display: grid; min-height: 28px; place-items: center; padding-top: 7px; touch-action: none; cursor: grab; }
.activity-sheet-grabber span { width: 38px; height: 4px; border-radius: 999px; background: var(--line-strong); }
.activity-sheet-header { display: flex; min-height: 48px; align-items: center; padding: .2rem 1rem .65rem; touch-action: none; cursor: grab; }
.activity-sheet-header h2 { margin: 0; color: var(--text); font-size: 1.05rem; font-weight: 800; }
.activity-sheet-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.activity-sheet-scroll::-webkit-scrollbar { display: none; }
.activity-sheet-scroll .activity-page { padding-top: .35rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.modal-backdrop.activity-sheet-backdrop { z-index: 1040; }
.episode-sheet-modal .modal-dialog { position: absolute; inset: 0; display: flex; width: 100%; max-width: none; height: 100%; min-height: 100%; margin: 0; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.episode-sheet-modal .modal-content { width: 100%; flex: 0 1 auto; max-height: min(88dvh,760px); overflow: hidden; border: 0; border-radius: 22px 22px 0 0; background: var(--navigation-surface); box-shadow: 0 -18px 55px rgba(0,0,0,.55); transform: translate3d(0,var(--episode-sheet-drag,0),0); transition: transform .2s ease-out; will-change: transform; pointer-events: auto; }
.episode-sheet-modal.fade .modal-dialog { transform: translateY(100%); transition: transform .22s ease-out; }
.episode-sheet-modal.show .modal-dialog { transform: translateY(0); }
.episode-sheet-modal.is-dragging .modal-content { transition: none; }
.episode-sheet-modal.is-dragging [data-sheet-drag-handle] { cursor: grabbing; }
.episode-sheet-modal + .modal-backdrop, .modal-backdrop.show { opacity: .72; }
.modal-backdrop.episode-sheet-backdrop { z-index: 1080; }
.episode-sheet-grabber { display: grid; place-items: center; min-height: 28px; padding-top: 7px; touch-action: none; cursor: grab; }
.episode-sheet-grabber span { width: 38px; height: 4px; border-radius: 999px; background: var(--line-strong); }
.episode-sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding: .35rem 1rem .75rem; touch-action: none; cursor: grab; }
.episode-sheet-header button, .episode-sheet-header a { touch-action: manipulation; cursor: pointer; }
.episode-sheet-header > div { min-width: 0; }
.episode-sheet-header .kicker { display: block; margin-bottom: .2rem; color: var(--muted); }
.episode-sheet-show-link { display: block; max-width: 100%; margin-bottom: .38rem; overflow: hidden; color: #dde2ea; font-size: 1rem; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.episode-sheet-show-link:hover, .episode-sheet-show-link:focus-visible { color: var(--accent-hover); }
.episode-sheet-header h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .18rem .34rem; margin: 0; overflow-wrap: anywhere; font-size: 1.25rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.episode-sheet-number { display: inline-flex; flex: none; gap: .68rem; white-space: nowrap; font-weight: 850; }
.episode-sheet-separator { flex: none; color: var(--muted); font-weight: 500; }
.episode-sheet-title { min-width: 0; font-weight: 400; }
.episode-sheet-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--muted); }
.episode-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 1rem calc(1rem + env(safe-area-inset-bottom)); }
.episode-sheet-art { display: grid; width: 100%; aspect-ratio: 16/9; place-items: center; overflow: hidden; border-radius: 12px; background: var(--surface-soft); color: var(--subtle); }
.episode-sheet-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.episode-sheet-art > i { font-size: 2rem; }
.episode-sheet-meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin-top: .7rem; color: var(--muted); font-size: .68rem; font-weight: 700; }
.episode-sheet-overview { margin: .7rem 0 0; color: #c0c7d1; font-size: .82rem; line-height: 1.5; }
.episode-sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-top: 1rem; }
.episode-sheet-actions > form:first-child { min-width: 0; }
.episode-sheet-actions .btn { min-height: 42px; padding: .45rem .7rem; border: 0; font-size: .75rem; }
.episode-reaction-group { display: flex; flex: none; gap: .4rem; margin-left: auto; }
.episode-reaction-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-size: 1rem; }
.episode-reaction-button.active { border: 0; background: var(--accent-soft); color: #c8c0ff; }
.episode-reaction-button:disabled { border: 0; background: var(--surface-soft); color: var(--subtle); cursor: not-allowed; opacity: .38; }
.episode-sheet-provider { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .9rem; }
.episode-page-fallback { padding-top: 1rem; padding-bottom: 2rem; }
.episode-page-fallback .modal-content { overflow: hidden; border: 0; border-radius: 18px; background: var(--surface-raised); }
.discussion-section { padding: 2.3rem 0; }
.count-badge { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .35rem; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .68rem; vertical-align: middle; }
.discussion-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.discussion-lock > i { color: var(--accent-hover); font-size: 2rem; }
.discussion-lock h3 { margin: 0; font-weight: 750; }
.discussion-lock p { margin: .25rem 0 0; color: var(--muted); }
.comment-form { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comment-form label { display: block; margin-bottom: .5rem; font-weight: 750; }
.comment-form textarea { width: 100%; min-height: 110px; padding: .75rem; border: 1px solid var(--line); border-radius: 9px; outline: 0; resize: vertical; background: var(--surface-soft); color: var(--text); }
.comment-form textarea:focus { border-color: var(--accent); }
.comment-form > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .5rem; }
.comment-form small { color: var(--muted); }
.comment-list { display: grid; gap: .75rem; margin-top: 1rem; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comment header { display: flex; justify-content: space-between; gap: 1rem; }
.comment time { color: var(--muted); font-size: .68rem; }
.comment p { margin: .5rem 0; }
.comment-action { padding: .3rem; border: 0; background: transparent; color: var(--muted); font-size: .7rem; }

/* Notifications and settings */
.developer-notification-preference { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: .8rem .15rem; }
.notification-preference-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-soft); color: var(--accent-hover); font-size: 1rem; }
.notification-preference-copy { display: grid; gap: .12rem; min-width: 0; }
.notification-preference-copy strong { color: var(--text); font-size: .92rem; }
.notification-preference-copy small { color: var(--muted); font-size: .72rem; }
.notification-preference-toggle { margin: 0; padding: .45rem .1rem; border: 0; }
.developer-notification-preference[aria-busy="true"] { opacity: .72; }
.notification-list { display: grid; gap: .6rem; }
.notification-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.notification-item:hover { background: var(--surface-raised); }
.notification-item.unread { border-color: #514695; background: #151329; }
.notification-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-soft); color: var(--accent-hover); }
.notification-item h2 { margin: .1rem 0; font-size: .98rem; font-weight: 750; }
.notification-item p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.4; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.notification-announcement { width: 100%; color: var(--text); text-align: left; appearance: none; }
.notification-sheet-modal { z-index: 1085; --bs-modal-bg: var(--navigation-surface); --bs-modal-border-color: var(--line-strong); }
.notification-sheet-modal .modal-dialog { position: absolute; inset: 0; display: flex; width: 100%; max-width: none; height: 100%; min-height: 100%; margin: 0; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.notification-sheet-modal .modal-content { width: 100%; flex: 0 1 auto; max-height: min(78dvh,680px); overflow: hidden; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--navigation-surface); box-shadow: 0 -18px 55px rgba(0,0,0,.55); transform: translate3d(0,var(--notification-sheet-drag,0),0); transition: transform .2s ease-out; will-change: transform; pointer-events: auto; }
.notification-sheet-modal.fade .modal-dialog { transform: translateY(100%); transition: transform .22s ease-out; }
.notification-sheet-modal.show .modal-dialog { transform: translateY(0); }
.notification-sheet-modal.is-dragging .modal-content { transition: none; }
.notification-sheet-grabber { display: grid; min-height: 29px; place-items: center; padding-top: 7px; touch-action: none; cursor: grab; }
.notification-sheet-grabber span { width: 38px; height: 4px; border-radius: 999px; background: var(--line-strong); }
.notification-sheet-header { display: grid; gap: .25rem; padding: .3rem 1rem .8rem; touch-action: none; cursor: grab; }
.notification-sheet-header .kicker { color: var(--muted); }
.notification-sheet-header h2 { margin: 0; font-size: 1.25rem; font-weight: 780; letter-spacing: -.025em; line-height: 1.18; }
.notification-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 1rem calc(1.2rem + env(safe-area-inset-bottom)); scrollbar-width: none; }
.notification-sheet-body::-webkit-scrollbar { display: none; }
.notification-sheet-body p { margin: 0; color: #bec4ce; font-size: .86rem; line-height: 1.6; white-space: pre-wrap; }
.settings-grid { display: grid; width: 100%; min-width: 0; gap: 1rem; margin-top: 1rem; }
.settings-grid > * { min-width: 0; }
.profile-card { display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: .7rem; padding: .75rem; border: 0; border-radius: var(--radius-lg); background: var(--surface); text-align: left; }
.profile-card > a { grid-column: 1 / -1; width: 100%; border: 0; border-radius: var(--radius-md); background: color-mix(in srgb,var(--accent) 12%,transparent); color: var(--accent); }
.profile-card .avatar-xl { width: 52px; height: 52px; border-radius: 16px; font-size: .9rem; }
.profile-card-copy { min-width: 0; flex: 1; }
.profile-card h2 { margin: 0; overflow: hidden; font-size: .9rem; font-weight: 750; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.profile-username { display: block; margin-top: .12rem; overflow: hidden; color: color-mix(in srgb,var(--text) 72%,var(--muted)); font-size: .72rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.profile-card p { display: flex; min-width: 0; align-items: center; gap: .28rem; margin: .2rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.2; }
.profile-card p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-verified-icon { flex: none; color: #8f82e8; font-size: .76rem; }
.settings-form { display: grid; width: 100%; min-width: 0; gap: 1rem; }
.settings-form section { min-width: 0; padding: 1rem; border: 0; border-radius: var(--radius); background: var(--surface); }
.form-section-heading { display: flex; gap: .75rem; margin-bottom: 1rem; }
.form-section-heading > i { color: var(--accent-hover); font-size: 1.3rem; }
.form-section-heading h2 { margin: 0; font-size: 1.08rem; font-weight: 750; }
.form-section-heading p { margin: .1rem 0; color: var(--muted); font-size: .73rem; }
.form-grid { display: grid; gap: .8rem; }
.form-grid label[hidden] { display: none !important; }
.form-grid label, .auth-form-wrap form > label { display: flex; flex-direction: column; gap: .35rem; color: #c5ccd5; font-size: .73rem; font-weight: 700; }
.form-grid select, .form-grid input, .auth-form-wrap input { width: 100%; min-height: 44px; padding: .72rem; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--surface-soft); color: var(--text); }
.form-grid select:focus, .form-grid input:focus, .auth-form-wrap input:focus { border-color: var(--accent); }
.setting-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.setting-toggle > span:first-child { display: flex; flex-direction: column; }
.setting-toggle small { color: var(--muted); }
.setting-toggle input { position: absolute; opacity: 0; }
.switch { position: relative; flex: none; width: 44px; height: 25px; border-radius: 999px; background: #353d49; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #a6afbb; transition: left .15s, background .15s; }
.setting-toggle input:checked + .switch { background: var(--accent); }
.setting-toggle input:checked + .switch::after { left: 22px; background: white; }
.unknown-airtime-setting { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; min-width: 0; gap: .65rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.unknown-airtime-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.unknown-airtime-heading > div { display: flex; min-width: 0; flex-direction: column; }
.unknown-airtime-setting strong { font-size: .78rem; }
.unknown-airtime-setting small { color: var(--muted); font-size: .66rem; line-height: 1.3; }
.unknown-airtime-setting input[type="time"] { display: block; box-sizing: border-box; inline-size: min(100%,10rem); min-inline-size: 0; max-inline-size: 100%; min-height: 40px; justify-self: start; padding: .5rem .65rem; border: 0; border-radius: 9px; outline: 0; appearance: none; -webkit-appearance: none; background: var(--surface-soft); color: var(--text); font-size: .75rem; font-weight: 720; color-scheme: dark; }
.unknown-airtime-setting input[type="time"]::-webkit-datetime-edit { min-width: 0; padding: 0; }
.unknown-airtime-setting input[type="time"]::-webkit-date-and-time-value { min-width: 0; margin: 0; text-align: left; }
.unknown-airtime-setting input[type="time"]::-webkit-calendar-picker-indicator { flex: none; margin-left: auto; }
.compact-switch { position: relative; display: block; width: 44px; height: 24px; flex: none; cursor: pointer; }
.compact-switch input { position: absolute; opacity: 0; }
.compact-switch .switch { position: absolute; inset: 0; border-radius: 999px; background: #39403e; transition: background .18s ease; }
.compact-switch .switch::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d8dddc; content: ""; transition: left .18s ease; }
.compact-switch input:checked + .switch { background: var(--accent); }
.compact-switch input:checked + .switch::after { left: 23px; background: #fff; }
.settings-actions { display: flex; justify-content: flex-end; }
.settings-inline-save { display: block; margin-top: .22rem; color: #9286df !important; font-size: .58rem !important; font-weight: 680; line-height: 1.15; }
.danger-zone { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1rem; padding: 1rem; border: 0; border-radius: var(--radius); background: #171114; }
.danger-zone > div { flex: 1 1 300px; }
.danger-zone h2 { margin: 0; font-size: 1rem; font-weight: 750; }
.danger-zone p { margin: .2rem 0 0; color: var(--muted); font-size: .73rem; }

/* Authentication */
.auth-shell { min-height: calc(100vh - 64px); }
.auth-poster { display: none; }
.auth-panel { display: grid; place-items: center; padding: 2rem 1rem; }
.auth-form-wrap { width: min(100%, 450px); }
.auth-form-wrap h2 { margin: 0; font-size: 2.3rem; font-weight: 800; letter-spacing: -.045em; }
.auth-form-wrap > p { margin: .5rem 0 1.5rem; color: var(--muted); }
.auth-form-wrap form { display: grid; gap: 1rem; }
.form-between { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .73rem; }
.check-line { display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: .4rem; width: max-content; cursor: pointer; }
.auth-form-wrap .check-line input { flex: none; width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--accent); }
.link-button { border: 0; background: transparent; color: var(--muted); text-decoration: underline; }
.auth-switch { margin-top: 1.4rem; color: var(--muted); text-align: center; }
.auth-switch a { color: #b8adff; font-weight: 750; }
.demo-hint { display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .8rem; border: 1px solid #514695; border-radius: 10px; background: var(--accent-soft); color: #cbc4ff; font-size: .73rem; }
.demo-hint > i { font-size: 1.25rem; }
.demo-hint div { display: flex; flex-direction: column; }
.demo-hint span { color: #9f96d7; }
.verification-state { display: grid; justify-items: stretch; gap: 1rem; margin-top: 1.25rem; text-align: center; }
.verification-state > strong { overflow-wrap: anywhere; font-size: 1rem; }
.verification-state > p { margin: 0; color: var(--muted); }
.verification-state > .text-link { justify-self: center; }
.verification-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0 auto; border-radius: 50%; background: rgba(204,148,16,.14); color: var(--warning); font-size: 1.45rem; }
.security-settings { max-width: 900px; margin: 0 auto 4rem; }
.security-settings > section { margin-bottom: 1rem; }
.settings-back-link { display: inline-flex; min-height: 34px; align-items: center; gap: .15rem; margin: 0 0 .55rem -.3rem; padding: .25rem .35rem; border: 0; color: var(--muted); font-size: .72rem; font-weight: 720; }
.settings-back-link i { font-size: .82rem; }
.settings-back-link:hover, .settings-back-link:focus { color: var(--text); }
.settings-section-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; width: 100%; padding: 3px; border-radius: 12px; background: var(--surface); }
.settings-section-tabs a { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .55rem; border-radius: 9px; color: var(--muted); font-size: .7rem; font-weight: 760; text-align: center; }
.settings-section-tabs a.active { background: var(--surface-soft); color: var(--text); }
.settings-section-tabs i { flex: none; font-size: .9rem; }
.hidden-shows-page { display: grid; gap: 1rem; padding-top: 1rem; padding-bottom: 3.5rem; }
.hidden-content-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; width: 100%; padding: 3px; border-radius: 11px; background: var(--surface); }
.hidden-content-tabs button { display: flex; min-height: 39px; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .7rem; font-weight: 760; }
.hidden-content-tabs button.active { background: var(--surface-soft); color: var(--text); }
.hidden-content-panels { min-width: 0; }
.hidden-content-panels > .tab-pane { padding-top: .65rem; }
.hidden-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.hidden-section-heading h1, .hidden-section-heading h2 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.025em; }
.hidden-section-heading p { margin: .14rem 0 0; color: var(--muted); font-size: .72rem; }
.language-block-form { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: .5rem; margin-bottom: .9rem; }
.language-picker { position: relative; min-width: 0; }
.language-search-shell { display: grid; grid-template-columns: 18px minmax(0,1fr); min-height: 44px; align-items: center; gap: .5rem; padding: 0 .72rem; border: 0; border-radius: 11px; background: var(--surface); color: var(--muted); }
.language-search-shell i { font-size: .85rem; text-align: center; }
.language-search-shell input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0 !important; outline: 0 !important; background: transparent !important; color: var(--text) !important; box-shadow: none !important; font: inherit; font-size: 16px; }
.language-search-shell input::placeholder { color: var(--subtle); }
.language-picker-options { position: absolute; z-index: 1200; top: calc(100% + .35rem); right: 0; left: 0; display: grid; max-height: min(58dvh,430px); padding: .35rem; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 12px; background: var(--surface-raised); box-shadow: 0 18px 46px rgba(0,0,0,.5); scrollbar-width: none; }
.language-picker-options[hidden] { display: none; }
.language-picker-options::-webkit-scrollbar { display: none; }
.language-picker-options button { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: .7rem; padding: .55rem .65rem; border: 0; border-radius: 8px; background: transparent; color: var(--text); font-size: .76rem; text-align: left; }
.language-picker-options button:hover, .language-picker-options button:focus-visible { outline: 0; background: var(--surface-soft); }
.language-picker-options small { max-width: 45%; overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.language-picker-empty { margin: .2rem 0; color: var(--muted); font-size: .7rem; text-align: center; }
.language-block-submit { border: 0 !important; background: var(--danger-soft) !important; color: #e27d86 !important; }
.blocked-language-list, .hidden-show-list { display: grid; gap: .48rem; }
.blocked-language-row, .hidden-show-row { display: flex; min-width: 0; align-items: center; gap: .72rem; padding: .58rem .62rem; border: 0; border-radius: 11px; background: var(--surface); }
.blocked-language-row > span { flex: 1; min-width: 0; font-size: .82rem; font-weight: 750; }
.blocked-language-row form, .hidden-show-row form { flex: none; }
.blocked-language-row .icon-btn, .hidden-show-row .icon-btn, .language-block-form .icon-btn { border: 0; background: var(--surface-soft); color: var(--muted); }
.hidden-show-poster { display: grid; width: 42px; height: 63px; flex: none; place-items: center; overflow: hidden; border-radius: 7px; background: var(--surface-soft); color: var(--subtle); }
.hidden-show-poster img { width: 100%; height: 100%; object-fit: cover; }
.hidden-show-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.hidden-show-copy strong { overflow: hidden; color: #d8dde5; font-size: .82rem; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.hidden-show-copy small { color: var(--muted); font-size: .65rem; }
.hidden-empty-note { margin: .2rem 0; color: var(--muted); font-size: .73rem; }
.recovery-box { padding: 1rem; margin: 1rem 0; border: 1px solid var(--warning); border-radius: 12px; background: rgba(204,148,16,.09); }
.recovery-box p { margin: .25rem 0 .75rem; color: var(--muted); }
.recovery-codes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
.recovery-codes code,.mfa-key code { display: block; padding: .55rem .7rem; border-radius: 8px; background: #080a09; color: var(--accent); letter-spacing: .08em; }
.mfa-key { display: grid; gap: .45rem; margin: 1rem 0; }
.mfa-key span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.session-list { display: grid; gap: .6rem; }
.session-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; }
.session-row div { min-width: 0; }
.session-row small { display: block; margin-top: .2rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .recovery-codes { grid-template-columns: 1fr; } .session-row { align-items: flex-start; } }
.modal-content { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--text); }
.modal-header, .modal-footer { border-color: var(--line); }
#confirmModal.is-show-hide .modal-content { overflow: hidden; border: 0; border-radius: 24px; }
#confirmModal.is-show-hide .modal-header { display: none; }
#confirmModal.is-show-hide .modal-body { padding: 1.4rem 1.25rem .85rem; border: 0; font-size: 1.08rem; line-height: 1.45; }
#confirmModal.is-show-hide .modal-body strong { color: var(--text); font-weight: 800; }
#confirmModal.is-show-hide .modal-footer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; padding: .65rem 1.25rem 1.25rem; border: 0; }
#confirmModal.is-show-hide .modal-footer .btn { width: 100%; min-height: 40px; margin: 0; padding: .5rem .7rem; border-radius: 14px; font-size: .8rem; }

/* Extra-soft settings surfaces and vertical My List cards. */
.profile-card,.settings-form section,.settings-section-tabs,.hidden-content-tabs,.language-search-shell,.language-picker-options,.blocked-language-row,.hidden-show-row,.security-settings .session-row,.security-settings .recovery-box{border-radius:20px}
.profile-card>a{min-height:42px;border-radius:15px}
.settings-section-tabs a,.hidden-content-tabs button{border-radius:16px}
.language-picker-options button{border-radius:14px}
.my-list-stack.is-list .my-list-item{grid-template-columns:80px minmax(0,1fr);border-radius:20px}
.my-list-stack.is-list .my-list-item:has(.my-list-round-action){grid-template-columns:80px minmax(0,1fr) 52px}
.my-list-stack.is-list .list-poster-wrap{padding:.45rem}
.my-list-stack.is-list .list-poster{min-height:90px;border-radius:14px}

@media (min-width: 576px) {
  .show-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
  .mini-poster { width: 54px; }
  .my-list-item { grid-template-columns: 72px 1fr; }
  .my-list-stack.is-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .discussion-lock { flex-direction: row; align-items: center; }
  .discussion-lock > div { flex: 1; }
  .episode-row { padding: .62rem .7rem; }
  .season-header { grid-template-columns: minmax(0,1fr) auto; align-items: stretch; }
  .season-actions { align-items: center; padding: .1rem .7rem .1rem .1rem; }
  .season-bulk-toggle { min-width: 0; }
  .watched-toggle { display: flex; width: auto; padding: 0 .65rem; gap: .35rem; }
  .watched-toggle span { display: inline; }
}

@media (min-width: 768px) {
  .landing-poster-grid { grid-auto-columns: calc((100% - 4.25rem)/6); gap: .85rem; }
  .landing-grid { grid-template-columns: 160px minmax(0,1fr); align-items: end; gap: 1.25rem; max-width: 940px; padding: 10rem 0 2rem; }
  .landing-feature-poster { width: 160px; border-radius: 12px; }
  .landing-grid h1 { font-size: clamp(3rem,5vw,4.8rem); }
  .landing-feature-meta { font-size: .75rem; }
  .landing-feature-overview { max-width: 720px; font-size: .86rem; }
  .landing-feature-actions .btn { padding: .5rem .8rem; font-size: .76rem; }
  .show-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .feature-grid { grid-template-columns: none; grid-auto-columns: calc((100% - 2.5rem)/3.5); gap: 1rem; }
  .feature-grid article { min-height: 190px; padding: 1.4rem .35rem; border-radius: 0; }
  .feature-grid article > i { font-size: 2.1rem; }
  .feature-grid h3 { margin: 1.2rem 0 .4rem; font-size: 1.08rem; }
  .feature-grid p { font-size: .85rem; }
  .step-number { top: 1rem; right: 1rem; font-size: .72rem; }
  .continue-grid { grid-template-columns: repeat(2, 1fr); }
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .my-list-stack.is-gallery { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .stat-row div { padding: 1.25rem; }
  .stat-row strong { font-size: 2.35rem; }
  .stat-row span { font-size: .73rem; }
  .agenda-day { grid-template-columns: 180px 1fr; }
  .agenda-day > header { display: flex; gap: 1rem; }
  .agenda-day > header > div { display: block; }
  .agenda-day > header h2 { margin: 0; font-size: 1rem; font-weight: 750; }
  .agenda-day > header p { margin: 0; color: var(--muted); font-size: .7rem; }
  .calendar-agenda .agenda-day, .calendar-day .agenda-day, .calendar-week-list .agenda-day { grid-template-columns: 118px minmax(0,1fr); gap: .65rem; padding: .95rem 0; }
  .calendar-agenda .agenda-day > header, .calendar-day .agenda-day > header, .calendar-week-list .agenda-day > header { gap: .55rem; }
  .calendar-agenda .agenda-day > header h2, .calendar-day .agenda-day > header h2, .calendar-week-list .agenda-day > header h2 { font-size: .86rem; }
  .calendar-agenda .agenda-day > header p, .calendar-day .agenda-day > header p, .calendar-week-list .agenda-day > header p { font-size: .62rem; }
  .show-hero-grid { grid-template-columns: 150px 1fr; align-items: center; column-gap: 1.1rem; padding: 3.4rem 0 1rem; }
  .hero-poster { grid-row: 1; width: 150px; max-width: 150px; }
  .show-identity { grid-column: 2; }
  .show-identity h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: .95; }
  .show-subtitle { margin-top: 0; font-size: .78rem; }
  .show-summary { margin-top: .45rem; }
  .show-summary .show-overview { display: block; overflow: visible; -webkit-line-clamp: unset; font-size: .9rem; }
  .summary-toggle { display: none !important; }
  .show-genres { margin-top: 0; }
  .hero-actions { grid-column: 2; margin-top: .5rem; }
  .show-content { display: block; }
  .settings-grid { grid-template-columns: 240px 1fr; }
  .profile-card { align-self: start; position: sticky; top: 120px; }
  .settings-form section { padding: 1.4rem; }
}

@media (min-width: 992px) {
  .toast-region { top: calc(76px + env(safe-area-inset-top)); right: max(1rem,env(safe-area-inset-right)); bottom: auto; left: auto; width: min(360px,calc(100vw - 2rem)); }
  .page-shell { padding-bottom: 0; }
  .show-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .continue-grid { grid-template-columns: repeat(3, 1fr); }
  .recent-grid { grid-template-columns: repeat(3, 1fr); }
  .my-list-stack { grid-template-columns: repeat(2, 1fr); }
  .my-list-stack.is-gallery { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .auth-shell { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 64px); }
  .auth-poster { display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; border-right: 1px solid var(--line); background: #0d1117; }
  .auth-poster h1 { margin: .5rem 0 1rem; font-size: clamp(3.8rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.075em; line-height: .85; }
  .auth-poster p { max-width: 520px; color: var(--muted); }
  .auth-panel { padding: 4rem; }
  .poster strong { font-size: clamp(1.6rem, 2.4vw, 2.6rem); }
}

html.is-navigating::before { content: ''; position: fixed; z-index: 2000; top: 0; left: 0; width: 38%; height: 3px; background: var(--accent); animation: live-progress .8s ease-in-out infinite alternate; }
html.is-navigating main { opacity: .72; transition: opacity .15s ease; }
@keyframes live-progress { from { transform: translateX(-30%); } to { transform: translateX(195%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  html.is-navigating::before { animation: none; width: 100%; }
}
.app-update-banner[hidden] { display: none !important; }
.app-update-banner {
  position: fixed;
  z-index: 2090;
  right: max(.75rem, env(safe-area-inset-right));
  bottom: calc(70px + env(safe-area-inset-bottom) + .65rem);
  left: max(.75rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  max-width: 520px;
  margin-inline: auto;
  padding: .75rem .8rem .75rem .95rem;
  color: var(--text);
  background: #20242d;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 14px 36px rgb(0 0 0 / 42%);
}
.app-update-copy { min-width: 0; }
.app-update-copy strong,
.app-update-copy span { display: block; }
.app-update-copy strong { font-size: .86rem; font-weight: 780; line-height: 1.15; }
.app-update-copy span { margin-top: .18rem; color: var(--muted); font-size: .69rem; line-height: 1.25; }
.app-update-banner button {
  min-height: 38px;
  padding: .45rem .8rem;
  color: #111019;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 800;
}
.app-update-banner button:disabled { opacity: .7; }
@media (min-width: 992px) {
  .app-update-banner { right: 1rem; bottom: 1rem; left: auto; width: min(420px, calc(100vw - 2rem)); margin: 0; }
}
:focus-visible { outline: 0; }
.header-search:focus-within, .ops-search:focus-within { border-color: var(--line-strong); box-shadow: none; }
.discover-search:focus-within { border-color: transparent; box-shadow: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--line-strong) !important; box-shadow: none; outline: 0; }
.discover-search input:focus-visible { border: 0 !important; box-shadow: none; outline: 0; }
[aria-busy="true"] { cursor: progress; }
body[aria-busy="true"] button, body[aria-busy="true"] a { cursor: progress; }
@media (prefers-contrast: more) {
  :root { --muted: #bbc3ce; --subtle: #a4aebb; --line: #505b69; --line-strong: #778392; }
  .status-tag, .list-status-badge, .filter-chip.active, .mobile-nav a.active { box-shadow: inset 0 0 0 2px currentColor; }
}
/* Preserve native scrolling while hiding browser scrollbar chrome. */
html,
body,
body * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Keep the mobile keyboard from lifting fixed navigation or exposing a parent sheet. */
@media (max-width: 991.98px) {
  html:has(body.watchq-keyboard-active),
  body.watchq-keyboard-active { background: var(--bg) !important; }
  body.watchq-keyboard-active .mobile-nav,
  body:has(:is(textarea,[contenteditable="true"],input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="file"])):focus) .mobile-nav {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body.watchq-keyboard-active :is(.toast-region,.app-update-banner) { visibility: hidden !important; }
  body.watchq-keyboard-active .modal.watchq-keyboard-sheet.show,
  .modal.show:has(:is(textarea,[contenteditable="true"],input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="file"])):focus) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100lvh !important;
    min-height: 100vh !important;
    min-height: 100lvh !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: var(--watchq-keyboard-sheet-bg, var(--bg)) !important;
  }
  body.watchq-keyboard-active .modal.watchq-keyboard-sheet.show > .modal-dialog,
  .modal.show:has(:is(textarea,[contenteditable="true"],input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="file"])):focus) > .modal-dialog {
    position: absolute !important;
    inset: var(--watchq-visible-top, 0px) 0 auto !important;
    width: 100% !important;
    height: var(--watchq-visible-height, 100dvh) !important;
    min-height: var(--watchq-visible-height, 100dvh) !important;
    max-height: var(--watchq-visible-height, 100dvh) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  body.watchq-sheet-keyboard-active > :is(.site-header,.desktop-nav,#main,.mobile-nav),
  body:has(.modal.show :is(textarea,[contenteditable="true"],input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="file"])):focus) > :is(.site-header,.desktop-nav,#main,.mobile-nav) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body.watchq-sheet-keyboard-active .modal.show:not(.watchq-keyboard-sheet) {
    visibility: hidden !important;
  }
  body.watchq-sheet-keyboard-active .modal.watchq-keyboard-sheet.show {
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.watchq-sheet-keyboard-active .show-report-sheet-modal.watchq-keyboard-sheet.show,
  .show-report-sheet-modal.show:has(:is(textarea,input):focus) {
    background: var(--navigation-surface) !important;
  }
  body.watchq-keyboard-active .show-sheet-modal :is(.modal-dialog,.modal-content,.show-sheet-underlay) {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    background: var(--bg) !important;
  }
}
