:root {
  color-scheme: dark;
  --bg: #0c0c0f;
  --panel: #16161b;
  --soft: #202027;
  --line: #303038;
  --muted: #aaa8b2;
  --text: #f7f6f3;
  --accent: #ff633c;
  --mint: #9cdfb4;
  --safe: env(safe-area-inset-bottom, 0px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.viewer-auth-page{max-width:480px;margin:0 auto;}
.viewer-auth-form{display:grid;gap:10px;margin:24px 0 8px;}
.viewer-auth-form label{font-size:16px;}
.viewer-auth-form input{width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font:inherit;font-size:16px;}
.viewer-auth-form [role="alert"]{color:var(--accent);min-height:24px;}
.auth-divider{text-align:center;color:var(--muted);margin:20px 0;}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; background: #070709; color: var(--text); overscroll-behavior: none; }
body { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; min-height: 44px; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #ffad91; outline-offset: -2px; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
.icon { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
button .icon { pointer-events: none; }
::selection { background: #ff633c55; }
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-thumb { background: #393942; border-radius: 3px; }
.hidden { display: none !important; }
.positive { color: var(--mint) !important; }
.muted, .muted-copy { color: var(--muted); }

/* Mobile defaults; wider screens use the desktop layout below. */
.app-shell { width: 100%; max-width: 480px; height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px #ffffff0c; }
.main-frame { width: 100%; height: 100%; min-width: 0; min-height: 0; display: flex; flex-direction: column; position: relative; }
.app-header { flex-shrink: 0; min-height: calc(64px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--bg); z-index: 5; border-bottom: 1px solid #ffffff09; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.brand-word { display: inline-flex; align-items: baseline; font-size: 23px; font-weight: 780; letter-spacing: -1.2px; white-space: nowrap; }
.brand-word > span { color: var(--accent); }
.brand-word > i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 3px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 30px; border-radius: 9px; background: var(--accent); transform: rotate(-8deg); }
.brand-mark span { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #100e0e; margin-left: 3px; }
.header-actions, .header-back { display: flex; align-items: center; gap: 4px; min-width: 0; }
.header-back > span { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-back .icon-button { margin-left: -8px; }
.wallet-pill { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 22px; background: #242019; color: #ffcf8b; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet-pill .icon { width: 19px; height: 19px; }
.wallet-plus { font-size: 18px; color: #ffc487; }
.icon-button, .round-button, .secondary-square { width: 44px; height: 44px; min-width: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; }
.icon-button { color: #ccc9d1; }
.icon-button:active, .round-button:active { background: #ffffff12; }
.round-button, .secondary-square { background: var(--soft); border: 1px solid #ffffff14; }
.glass-button { background: #ffffff18; border-color: #ffffff35; backdrop-filter: blur(10px); }
.gift-button { color: #e9e1dc; }
.screen { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.bottom-nav { flex-shrink: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #111114; padding: 6px 10px calc(6px + var(--safe)); border-top: 1px solid #ffffff0e; }
.nav-item { min-width: 0; min-height: 54px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; padding: 3px 1px; color: #a9a7b0; font-size: 14px; font-weight: 550; border-radius: 12px; }
.nav-item .icon { width: 22px; height: 22px; }
.nav-item.active { color: var(--accent); background: #ff633c0b; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 16px; border-radius: 12px; line-height: 1.3; font-size: 16px; font-weight: 650; text-align: center; }
.primary-button { background: var(--accent); color: #180d09; }
.primary-button:active { background: #ff8c69; }
.secondary-button { background: var(--soft); border: 1px solid #ffffff1b; }
.full-width { width: 100%; }
.text-link { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.text-link .icon { width: 18px; height: 18px; }
.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; font-weight: 650; letter-spacing: .7px; line-height: 1.5; text-transform: uppercase; color: #dfdce1; }
.eyebrow i { width: 3px; height: 3px; background: currentColor; opacity: .6; border-radius: 50%; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-heading h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.5px; font-weight: 650; }
.section-heading > span { color: var(--muted); font-size: 12px; text-align: right; flex-shrink: 0; }

/* Discovery and the saved list use the same readable two-column catalogue. */
.discovery { padding: 12px 16px 24px; }
.search-row { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 13px; border: 1px solid #ffffff0d; background: #1b1b20; border-radius: 12px; }
.search-row > .icon { color: var(--muted); width: 20px; height: 20px; }
.search-row input { min-width: 0; width: 100%; min-height: 46px; padding: 0; background: none; border: 0; color: var(--text); font-size: 16px; outline-offset: 3px; }
.search-row input::placeholder { color: #a29fa9; }
.catalog-tabs { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.catalog-tabs button { padding: 4px 0; font-size: 14px; color: var(--muted); position: relative; font-weight: 600; }
.catalog-tabs button.selected { color: #f8f4ef; }
.catalog-tabs button.selected::after { content: ''; height: 3px; width: 18px; background: var(--accent); position: absolute; bottom: 4px; left: 0; border-radius: 2px; }
.demo-label { margin-left: auto; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.demo-label > span, .demo-dot { width: 5px; height: 5px; border-radius: 50%; background: #99949b; display: inline-block; }
.spotlight { position: relative; min-height: 296px; height: 35dvh; max-height: 350px; overflow: hidden; border-radius: 18px; background: #332c2d; isolation: isolate; }
.spotlight-image, .spotlight-shade, .detail-image, .detail-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-image { object-position: 50% 30% !important; }
.spotlight-shade { background: linear-gradient(0deg, #151014 2%, #171016b8 40%, #17101600 77%); }
.spotlight-content { position: absolute; inset: auto 20px 18px; }
.spotlight-content .eyebrow { color: #ffd4b8; }
.spotlight h1 { max-width: 300px; font-size: 36px; letter-spacing: -1.25px; line-height: 1.02; font-weight: 730; margin-top: 7px; text-wrap: balance; }
.spotlight-content > p { max-width: 290px; color: #e1d6d5; font-size: 14px; line-height: 1.45; margin-top: 9px; }
.spotlight-actions { display: flex; align-items: center; gap: 9px; margin-top: 15px; }
.spotlight-actions .primary-button { min-height: 46px; font-size: 14px; padding: 10px 16px; }
.spotlight-meta { display: block; margin-top: 10px; font-size: 12px; color: #cfc1c0; }
.spotlight-meta b { margin: 0 4px; }
.category-row { display: flex; gap: 7px; overflow-x: auto; padding: 17px 0 20px; scrollbar-width: none; }
.category-row::-webkit-scrollbar { display: none; }
.category-chip { min-height: 44px; flex-shrink: 0; border-radius: 24px; border: 1px solid #ffffff18; padding: 9px 15px; font-size: 14px; color: #c3bfc8; white-space: nowrap; }
.category-chip.selected { background: #f0ece5; color: #1a1818; border-color: #f0ece5; font-weight: 600; }
.continue-section { margin-bottom: 26px; }
.continue-row { display: flex; flex-direction: column; gap: 9px; }
.continue-card { width: 100%; min-height: 82px; padding: 9px; display: flex; gap: 12px; align-items: center; background: var(--panel); border-radius: 13px; text-align: left; }
.continue-image { width: 64px; height: 66px; flex-shrink: 0; overflow: hidden; border-radius: 8px; position: relative; }
.continue-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.continue-image .icon { position: absolute; left: 22px; top: 22px; width: 21px; height: 21px; }
.continue-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.continue-copy strong { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.continue-copy > span { font-size: 12px; color: var(--muted); }
.continue-copy b { font-weight: normal; margin: 0 3px; }
.progress-track { height: 3px; background: #37333b; border-radius: 3px; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: var(--accent); }
.continue-card > .icon { width: 18px; color: var(--muted); }
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.series-card { position: relative; min-width: 0; }
.card-main { display: block; width: 100%; padding: 0; text-align: left; }
.card-poster { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--panel); overflow: hidden; border-radius: 12px; isolation: isolate; }
.card-poster > img { width: 100%; height: 100%; object-fit: cover; }
.card-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #111015e8, transparent 55%); z-index: 0; }
.card-demo { position: absolute; top: 10px; left: 9px; z-index: 1; background: #100d127a; backdrop-filter: blur(5px); color: #e4dfe5; font-size: 12px; line-height: 1; padding: 5px 6px; border-radius: 4px; }
.poster-badge { position: absolute; z-index: 2; bottom: 10px; left: 10px; background: #f5dfc2; color: #332019; font-size: 12px; font-weight: 650; border-radius: 4px; padding: 5px 6px; }
.badge-play { background: #c5ddc7; color: #25382b; }
.poster-title { position: absolute; z-index: 1; left: 12px; right: 10px; bottom: 41px; font-size: 24px; line-height: 1.04; letter-spacing: -.7px; font-weight: 750; text-wrap: balance; }
.poster-episodes { position: absolute; z-index: 1; bottom: 14px; left: 12px; display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: #d4cbd3; }
.poster-episodes .icon { width: 12px; height: 12px; }
.card-poster:has(.poster-badge) .poster-episodes { display: none; }
.card-main h3 { font-size: 16px; font-weight: 600; line-height: 1.35; margin: 10px 0 4px; overflow-wrap: anywhere; }
.card-main p { font-size: 12px; color: var(--muted); }
.card-save { position: absolute; top: 4px; right: 3px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; background: #1a151b75; border-radius: 50%; }
.card-save .icon { width: 20px; height: 20px; }
.is-saved { color: var(--accent); }
.is-saved .icon { fill: #ff633c24; }
.engagement-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-width: 0; color: #c7c2cc; font-size: 13px; font-variant-numeric: tabular-nums; }
.engagement-metric { display: inline-flex; align-items: center; gap: 5px; min-width: 0; line-height: 1.5; white-space: nowrap; }
.engagement-metric .icon { width: 16px; height: 16px; color: #aaa0ad; }
.engagement-like { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid #ffffff1b; border-radius: 12px; background: var(--panel); font-size: 13px; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.engagement-like .icon { width: 18px; height: 18px; }
.engagement-like.is-liked { color: #ff927c; border-color: #884435; background: #34201d; }
.engagement-like.is-liked .icon { fill: #ff633c45; }
.engagement-like[aria-busy="true"] { opacity: .65; }
.engagement-like-label { font-weight: 550; }
.engagement-status { flex-basis: 100%; color: var(--muted); font-size: 11px; line-height: 1.4; }
.engagement-bar--compact { gap: 5px 10px; font-size: 12px; }
.engagement-bar--compact .icon { width: 14px; height: 14px; }
.engagement-bar--compact .engagement-status, .engagement-bar--watch .engagement-status { display: none; }
.series-card > .engagement-bar { margin-top: 7px; }
.spotlight-content > .engagement-bar { margin-top: 10px; color: #e0d7dd; }
.spotlight-content > .engagement-bar .icon { color: #c7b9c4; }
.engagement-bar--detail { justify-content: space-between; margin: 0 0 14px; }
.catalog-footnote { margin-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 16px; gap: 13px; }
.empty-state > .icon, .empty-icon { color: #bbada7; width: 38px; height: 38px; display: grid; place-items: center; }
.empty-state h2 { font-size: 22px; font-weight: 650; }
.empty-state p { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 300px; }
.empty-state .primary-button, .empty-state .secondary-button { margin-top: 6px; }

/* Series details. */
.detail-hero { height: 34dvh; min-height: 250px; max-height: 330px; position: relative; overflow: hidden; }
.detail-image { object-position: 50% 30% !important; }
.detail-shade { background: linear-gradient(0deg, var(--bg) 0%, #0c0c0fc9 30%, transparent 85%); }
.detail-copy { position: absolute; bottom: 15px; left: 20px; right: 20px; }
.detail-copy .eyebrow { color: #f2c7af; }
.detail-copy h1 { margin-top: 8px; font-size: 36px; line-height: 1.05; letter-spacing: -1.2px; font-weight: 730; text-wrap: balance; }
.detail-copy > p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #d1c7ce; }
.detail-body { padding: 0 18px 24px; }
.detail-cta { display: flex; align-items: stretch; gap: 10px; }
.detail-cta > .primary-button { flex: 1; min-width: 0; }
.detail-cta > .secondary-square { height: auto; min-height: 48px; width: 48px; }
.detail-promise { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 24px; font-size: 12px; color: var(--muted); }
.detail-promise .icon { width: 14px; height: 14px; color: var(--mint); }
.detail-promise > span { display: flex; gap: 6px; align-items: center; margin-left: 10px; }
.story-synopsis { margin-top: 22px; margin-bottom: 20px; }
.story-synopsis h2 { font-size: 20px; font-weight: 650; margin-bottom: 10px; }
.story-synopsis > p { color: #bdb8c3; font-size: 16px; line-height: 1.55; }
.story-synopsis .text-link { font-size: 12px; text-align: left; justify-content: flex-start; }
.episode-section .section-heading { margin-bottom: 8px; }
.episode-row { display: flex; width: 100%; gap: 11px; align-items: center; text-align: left; padding: 12px 0; border-bottom: 1px solid #ffffff0a; min-height: 74px; }
.episode-index { width: 32px; flex-shrink: 0; font-size: 20px; color: #a29ca8; font-variant-numeric: tabular-nums; }
.episode-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.episode-copy strong { font-size: 16px; font-weight: 550; line-height: 1.35; }
.episode-copy small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.episode-status { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: #242126; color: #d8c7be; }
.episode-status .icon { width: 19px; height: 19px; }
.locked-status { color: #d8a47d; background: #28201b; }

/* Watching is the primary screen. The same video stays mounted when the game opens. */
.watch-screen { overflow: hidden; padding-bottom: var(--safe); }
.watch-layout { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); }
.watch-sidebar { display: none; }
.watch-app .app-header { min-height: calc(50px + env(safe-area-inset-top, 0px)); padding-left: 10px; padding-right: 10px; }
.watch-app .header-back { flex: 1; }
.watch-app .header-back > span { line-height: 1.35; }
.video-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.video-wrap { position: relative; flex: 1; min-height: 0; min-width: 0; background: #050507; overflow: hidden; isolation: isolate; }
.video-wrap video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050507; }
.video-demo-label { position: absolute; top: 12px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 5px 7px; border-radius: 5px; font-size: 12px; line-height: 1.3; color: #dfd9e1; background: #08080abb; pointer-events: none; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.video-demo-label > span { margin: 0 4px; }
.video-error, .video-ended { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; background: #09070be8; overflow-y: auto; }
.video-error strong { font-size: 16px; }
.video-ended h2 { font-size: 26px; line-height: 1.15; }
.video-ended p { font-size: 16px; color: #c1b9c8; }
.end-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); }
.watch-footer { flex-shrink: 0; min-height: 52px; padding: 4px 8px; background: #111115; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(0,1fr) auto 44px; align-items: center; gap: 4px; }
.watch-footer .icon-button { border-radius: 10px; }
.watch-footer .watch-next { background: #262024; color: #ffb995; }
.engagement-bar--watch { flex-wrap: nowrap; justify-content: flex-start; gap: 5px; font-size: 12px; overflow: hidden; }
.engagement-bar--watch .engagement-metric { gap: 3px; }
.engagement-bar--watch .icon { width: 15px; height: 15px; }
.engagement-bar--watch .engagement-like { min-width: 44px; padding: 4px; gap: 3px; border: 0; background: transparent; font-size: 12px; }
.engagement-bar--watch .engagement-like-label { display: none; }
.watch-actions, .watch-footer-actions { display: flex; gap: 8px; }
.watch-actions > button, .watch-footer-actions > button { flex: 1; min-width: 0; min-height: 46px; padding: 9px 10px; font-size: 14px; }
.watch-controls, .watch-utilities { display: flex; align-items: stretch; gap: 8px; }
.watch-controls > button { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border: 1px solid #ffffff18; background: var(--panel); border-radius: 12px; font-size: 14px; line-height: 1.35; padding: 8px; }
.mini-game-button { min-width: 76px; max-width: 104px; display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 44px; padding: 6px 8px; font-size: 14px; line-height: 1.25; border: 1px solid #484237; border-radius: 10px; color: #e4c8a5; background: #27221b; font-variant-numeric: tabular-nums; }
.mini-game-button .icon { width: 18px; height: 18px; flex-shrink: 0; }
.mini-game-button [data-game-badge] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-game-button[data-state="play"], .mini-game-button[data-state="result"] { color: var(--mint); border-color: #476453; background: #202e25; }
.watch-utilities > .pending-watch { width: auto; flex: 1; border: 1px solid #4e3930; border-radius: 12px; padding: 8px; }
.game-entry, .watch-game-button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #484237; border-radius: 12px; color: #f0d6ae; background: #27221b; }
.game-entry small, .watch-game-button small { font-size: 12px; }
.game-status { font-size: 12px; color: var(--mint); }
.pending-watch { grid-column: 1 / -1; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: #ffc5a3; }
.game-container { min-width: 0; min-height: 0; width: 100%; overflow: hidden; }
.has-game { grid-template-rows: minmax(0, 1fr) auto; }
.has-game .video-demo-label { top: 8px; left: 8px; max-width: calc(100% - 16px); font-size: 12px; }
.has-game .video-ended, .has-game .video-error { padding: 8px 12px; gap: 5px; }
.has-game .video-ended .end-icon, .has-game .video-ended p { display: none; }
.has-game .video-ended h2 { font-size: 16px; }
.has-game .video-ended .primary-button { min-height: 44px; font-size: 14px; padding: 8px 12px; }

/* The Games tab shares one wallet and one active round with the episode dock. */
.games-app .app-header { min-height: calc(54px + env(safe-area-inset-top, 0px)); }
.games-screen { overflow: hidden; }
.games-layout { width: 100%; height: 100%; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.standalone-game-container { flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.games-return { min-height: 48px; flex-shrink: 0; display: flex; align-items: center; gap: 9px; padding: 6px 14px; background: #21191a; border-bottom: 1px solid #423137; color: #ffc69d; text-align: left; }
.games-return > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.games-return strong { font-size: 14px; font-weight: 650; }
.games-return small { font-size: 12px; color: #bdb0bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Personal screens and the coin ledger. */
.content-pad { padding: 22px 18px 28px; }
.page-title { font-size: 32px; font-weight: 680; letter-spacing: -1.1px; line-height: 1.12; margin: 9px 0 12px; text-wrap: balance; }
.page-subtitle { font-size: 16px; line-height: 1.5; color: var(--muted); }
.saved-progress, .saved-collection { margin-top: 28px; }
.saved-progress .continue-card + .continue-card { margin-top: 9px; }
.balance-card { margin: 24px 0 16px; padding: 23px; background: #292016; border: 1px solid #563b26; border-radius: 18px; position: relative; overflow: hidden; }
.balance-card > span { font-size: 14px; color: #d9b89a; }
.balance-card > div { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #ffcf92; position: relative; z-index: 1; }
.balance-card > div .icon { width: 32px; height: 32px; }
.balance-card strong { font-size: 44px; font-weight: 650; letter-spacing: -1.4px; font-variant-numeric: tabular-nums; }
.balance-card > p { color: #c6a98c; font-size: 14px; margin: 2px 0 0 42px; }
.balance-watermark { position: absolute; right: -12px; top: 24px; transform: rotate(-20deg); opacity: .08; }
.balance-watermark .icon { width: 135px; height: 135px; }
.reward-grid { display: flex; flex-direction: column; gap: 14px; }
.reward-card { background: var(--panel); border: 1px solid #ffffff0d; border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px 12px; }
.reward-symbol { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #ffcf9d; background: #30251c; }
.reward-symbol.green { color: var(--mint); background: #26332b; }
.reward-card h2 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.reward-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.reward-card > button, .reward-card > small { grid-column: 1 / -1; }
.reward-card > small { font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; }
.reward-context { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ffffff18; }
.reward-context > p:first-child { font-size: 16px; line-height: 1.5; }
.reward-context > .secondary-button { margin-top: 10px; }
.pending-episode, .watch-return { margin-top: 14px; width: 100%; }
.ledger { margin-top: 30px; }
.ledger .section-heading > .icon { color: var(--muted); }
.ledger-row { padding: 13px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #ffffff0c; }
.ledger-icon { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; background: var(--panel); border-radius: 10px; color: #b1a4ac; }
.ledger-icon .icon { width: 18px; height: 18px; }
.ledger-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ledger-copy strong { font-size: 14px; font-weight: 550; line-height: 1.35; }
.ledger-copy small { font-size: 12px; color: var(--muted); }
.ledger-amount { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.coins-note { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 22px; text-align: center; }
.profile-card { display: flex; align-items: center; gap: 15px; margin-top: 27px; }
.avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #35271f; color: #edb68f; flex-shrink: 0; }
.avatar .icon { width: 28px; height: 28px; }
.profile-card h2 { font-size: 18px; font-weight: 600; }
.profile-card p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 5px; }
.local-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #a0c4ad; margin-top: 9px; }
.local-chip > span { width: 5px; height: 5px; background: var(--mint); border-radius: 50%; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0; padding: 16px 0; border-top: 1px solid #ffffff0e; border-bottom: 1px solid #ffffff0e; }
.profile-stats > div { display: flex; flex-direction: column; gap: 5px; align-items: center; border-right: 1px solid #ffffff0d; }
.profile-stats > div:last-child { border: 0; }
.profile-stats strong { font-size: 24px; font-weight: 650; }
.profile-stats span { font-size: 12px; color: var(--muted); }
.profile-wallet { display: flex; gap: 13px; align-items: center; width: 100%; text-align: left; padding: 16px; background: #252018; border: 1px solid #493826; border-radius: 14px; }
.profile-wallet-icon { color: #f2c890; }
.profile-wallet > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.profile-wallet small { font-size: 12px; color: #c5b29e; }
.profile-wallet strong { font-size: 24px; font-weight: 600; color: #ffe0b6; }
.profile-wallet > .icon { color: #b29a7e; }
.settings-label { margin: 29px 0 12px; color: var(--muted); }
.settings-group { border: 1px solid #ffffff0d; background: var(--panel); border-radius: 14px; overflow: hidden; }
.setting-row { display: flex; align-items: center; gap: 11px; min-height: 60px; width: 100%; padding: 12px; border-bottom: 1px solid #ffffff0a; text-align: left; font-size: 14px; }
.setting-row:last-child { border: 0; }
.setting-row > .icon { color: #a59aa8; width: 20px; height: 20px; }
.setting-row > span { flex: 1; }
.setting-row > .icon:last-child { width: 17px; }
.language-setting { flex-wrap: wrap; }
.language-setting > label { flex: 1; }
.language-setting select { background: #25232b; border: 1px solid #45414b; color: #e1d9e6; font-size: 16px; border-radius: 8px; min-height: 44px; max-width: 100%; padding: 6px; }
.local-note { display: flex; gap: 10px; margin: 23px 4px; color: #99949f; }
.local-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.local-note p { font-size: 12px; line-height: 1.6; }
.profile-footer { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 28px; opacity: .75; }
.profile-footer .brand-word { font-size: 22px; }
.profile-footer small { font-size: 12px; color: var(--muted); }

/* Sheets stay inside the phone's width, with safe-area padding. */
.sheet { position: fixed; inset: auto 0 0; margin: auto; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); padding: 30px 22px calc(20px + var(--safe)); color: var(--text); border: 1px solid #46404a; border-bottom: 0; background: #19161d; border-radius: 24px 24px 0 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: #030306b8; backdrop-filter: blur(4px); }
.sheet-handle { position: absolute; width: 32px; height: 4px; top: 10px; left: calc(50% - 16px); background: #6a626e; border-radius: 4px; }
.sheet-close { position: absolute; top: 15px; right: 10px; background: #ffffff08; }
.sheet-symbol { width: 48px; height: 48px; display: grid; place-items: center; color: #ffbd94; background: #35251f; border-radius: 14px; margin-bottom: 18px; }
.sheet h2 { font-size: 26px; line-height: 1.15; font-weight: 650; letter-spacing: -.6px; padding-right: 24px; margin: 7px 0 12px; }
.sheet > p { font-size: 16px; line-height: 1.5; color: #c4bacb; margin-bottom: 16px; }
.sheet > .sheet-note { padding: 14px; border: 1px solid #ffffff12; border-radius: 10px; font-size: 14px; }
.sheet .full-width + .full-width { margin-top: 10px; }
.sheet-cancel { display: flex; width: 100%; margin-top: 5px; }
.unlock-preview { display: flex; align-items: center; gap: 12px; background: #211d26; border-radius: 12px; padding: 10px; margin: 20px 0 15px; }
.unlock-preview img { width: 49px; height: 62px; object-fit: cover; border-radius: 6px; }
.unlock-preview > span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.unlock-preview strong { font-size: 16px; line-height: 1.3; font-weight: 600; }
.unlock-preview small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.unlock-balance { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; font-size: 14px; color: var(--muted); }
.unlock-balance strong { display: flex; align-items: center; gap: 6px; color: #ffcf99; font-size: 18px; }
.unlock-balance .icon { width: 20px; height: 20px; }
.unlock-sheet .sheet-symbol { display: none; }
.unlock-sheet h2 { font-size: 22px; }
.unlock-sheet > p { font-size: 14px; line-height: 1.45; }
.unlock-sheet .unlock-preview { margin: 12px 0; padding: 8px; }
.unlock-sheet .unlock-preview img { height: 48px; width: 40px; }
.unlock-sheet > .sheet-note { font-size: 12px; line-height: 1.4; padding: 10px 0 0; border: 0; margin: 0; }
.sheet > .insufficient-note { padding: 12px; background: #3d2923; color: #ffbd9b; border-radius: 10px; font-size: 14px; }
.unlock-game-note { font-size: 12px !important; color: var(--muted) !important; text-align: center; margin: 9px 0 !important; }
.sheet-episodes { margin: 16px 0 8px; }
.credit-list { display: flex; flex-direction: column; gap: 18px; margin: 22px 0; }
.credit-entry { border-bottom: 1px solid #ffffff15; padding-bottom: 15px; }
.credit-entry strong { font-size: 16px; }
.credit-entry p { color: #b7acbf; font-size: 14px; line-height: 1.6; margin: 8px 0; }
.credit-entry a { color: #eab899; font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.toast { position: fixed; bottom: calc(82px + var(--safe)); left: 50%; transform: translate(-50%, 10px); width: max-content; max-width: min(440px, calc(100% - 32px)); border: 1px solid #5c535d; padding: 12px 16px; background: #29242ef5; border-radius: 12px; box-shadow: 0 8px 32px #0006; color: #f2eaf3; font-size: 14px; line-height: 1.45; text-align: center; z-index: 30; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.storage-warning { font-size: 12px; line-height: 1.4; background: #51331e; color: #ffe1b8; padding: 8px 12px; }
.boot { height: 100dvh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.boot-mark { font-size: 44px; font-weight: 750; letter-spacing: -4px; }
.boot-mark span { color: var(--accent); }
.boot p { font-size: 16px; color: var(--muted); }
.coin-pulse { animation: coin-pulse .4s ease; }
@keyframes coin-pulse { 50% { color: white; } }
@media (max-width: 350px) {
  .app-header { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 6px; }
  .brand-word { font-size: 22px; }
  .brand-mark { width: 25px; height: 28px; }
  .header-actions { gap: 0; }
  .discovery { padding-left: 12px; padding-right: 12px; }
  .poster-grid { gap: 20px 10px; }
  .spotlight-content { left: 16px; right: 16px; }
  .spotlight h1 { font-size: 32px; }
  .poster-title { font-size: 22px; left: 10px; }
  .catalog-tabs { gap: 14px; }
  .section-heading h2 { font-size: 18px; }
  .content-pad { padding-left: 16px; padding-right: 16px; }
  .sheet { padding-left: 18px; padding-right: 18px; }
}
@media (max-height: 540px) {
  .has-game { grid-template-rows: minmax(0, 1fr) auto; }
  .watch-footer { padding: 3px 6px; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.catalog-warning { padding:8px 12px; font-size:12px; line-height:1.4; color:#edd4aa; background:#33291b; }
.admin-entry { color:#ffd0ab; background:#ff633c0d; }

.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.welcome-sheet { padding-top:26px; }
.welcome-sheet > .eyebrow { color:#ffb38f;padding-right:42px; }
.welcome-sheet h2 { font-size:26px;max-width:350px;margin:8px 0 20px; }
.welcome-sheet h2:focus { outline:none; }
.welcome-balance { display:grid;grid-template-columns:52px 1fr;gap:4px 14px;padding:18px;border:1px solid #78523a;border-radius:16px;background:linear-gradient(115deg,#38281e,#241e1d); }
.welcome-coin { grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:#ffd299;background:#543923;box-shadow:inset 0 0 0 1px #b8894d; }
.welcome-coin .icon { width:34px;height:34px; }
.welcome-balance > div > span { display:block;color:#e7c9ac;font-size:14px; }
.welcome-balance strong { display:block;font-size:36px;line-height:1.2;font-weight:700;letter-spacing:-1px; }
.welcome-balance strong small { font-size:16px;letter-spacing:0;font-weight:500;color:#f2d8bb; }
.welcome-balance > p { grid-column:2;margin:0;color:#e7c9ac;font-size:14px;line-height:1.4; }
.onboarding-points { display:grid;gap:16px;margin:22px 0 18px; }
.onboarding-points > section { display:flex;align-items:flex-start;gap:12px; }
.onboarding-points > section > span { display:grid;place-items:center;width:32px;min-width:32px;height:32px;border-radius:9px;background:#ffffff08;color:#e9c4b5; }
.onboarding-points .icon { width:19px;height:19px; }
.onboarding-points h3 { margin:0 0 4px;font-size:16px;line-height:1.35; }
.onboarding-points p { margin:0;font-size:16px;line-height:1.4;color:#beb9c2; }
.welcome-sheet > .welcome-note { font-size:14px;color:#b7afb9;line-height:1.45;margin-bottom:18px; }
.unlock-price { display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 0;font-size:14px;color:var(--muted); }
.unlock-price strong { display:flex;align-items:center;gap:6px;color:var(--text);font-size:18px; }
.unlock-price .icon { width:20px;height:20px; }
.context-tip { display:flex;align-items:center;gap:10px;padding:10px 14px;background:#32271c;border:1px solid #af7147;border-radius:12px;color:#fff1dc;font-size:14px;line-height:1.45; }
.context-tip p { margin:0;font-size:14px;color:inherit; }
.context-tip button { flex-shrink:0;min-height:44px; }
.coin-tip { margin:16px 0; }
.coin-tip > div { min-width:0; }
.coin-tip strong { display:block;margin-bottom:4px;font-size:14px; }
.game-hint { margin:6px 8px; }
.first-game-picker { outline:2px solid #ffb77f;outline-offset:2px;border-radius:10px; }
.unlock-coin-sources { display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between; }
.weekly-poll { margin:8px 0 20px;padding:12px;background:#17171d;border:1px solid #333139;border-radius:14px; }
.poll-heading { display:flex;align-items:flex-start;gap:12px;margin-bottom:8px; }
.weekly-poll h2 { flex:1;min-width:0;font-size:16px;font-weight:650;line-height:1.35;margin:0;overflow-wrap:anywhere; }
.poll-heading time { flex-shrink:0;font-size:14px;line-height:1.35;color:#bdb8c3;text-align:right; }
.poll-options { display:grid;gap:6px; }
.poll-option { position:relative;isolation:isolate;display:flex;align-items:center;gap:8px;min-width:0;width:100%;min-height:44px;padding:5px 8px;border:1px solid #42404a;border-radius:8px;background:#202027;color:#f3f0f5;text-align:left;overflow:hidden;cursor:pointer; }
.poll-option img { width:24px;height:32px;object-fit:cover;border-radius:3px;flex-shrink:0; }
.poll-option-title { flex:1;min-width:0;font-size:14px;line-height:1.3;font-weight:600;overflow-wrap:anywhere; }
.poll-option-result { flex-shrink:0;font-size:14px;line-height:1.3;color:#c9c1cf;font-variant-numeric:tabular-nums; }
.weekly-poll .poll-option:disabled { opacity:1;cursor:default; }
.poll-option.is-selected { border-color:#af826a; }
.poll-option.is-selected .poll-option-result { color:#ffd0af; }
.poll-fill { position:absolute;z-index:-1;inset:0 auto 0 0;background:#70493966;pointer-events:none; }
.poll-meta { display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px; }
.weekly-poll .poll-meta p,.poll-simulation { margin:0;color:#bdb8c3;font-size:12px;line-height:1.4; }
.weekly-poll .poll-meta p { color:#e1dbe5; }
.weekly-poll .poll-status { margin:0;font-size:14px;line-height:1.4;color:#c7bfcc; }
.weekly-poll .poll-status:not(:first-child) { margin-top:8px; }
.poll-unavailable { display:flex;align-items:center;justify-content:space-between;gap:8px; }
.poll-retry { min-height:44px;padding:0 8px;font-size:14px;text-decoration:underline;color:#f1b795; }
.poll-winners { display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:4px;font-size:14px; }
.poll-winners>span { color:#bdb8c3; }
.poll-winners a { display:flex;align-items:center;min-height:44px;color:#efb99a;text-decoration:underline; }

.analytics-setting { gap:12px;cursor:pointer; }
.analytics-setting input { width:22px;height:22px;flex-shrink:0;accent-color:var(--accent); }
.analytics-setting strong { display:block;font-size:16px;font-weight:550; }
.analytics-setting small { display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.4; }
.auto-next { display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-size:14px;line-height:1.35; }
.auto-next>span { min-width:0; }
.auto-next button { min-height:44px;flex-shrink:0;font-size:14px;padding:8px 12px; }
.video-ended.is-auto-next>.end-icon,.video-ended.is-auto-next>h2,.video-ended.is-auto-next>p,.video-ended.is-auto-next>[data-action="replay"] { display:none; }
.has-game .video-ended.is-auto-next>[data-action="watch"] { display:none; }

/* Desktop viewer: persistent navigation, a broad catalogue and a portrait player. */
@media (min-width: 768px) {
  .app-shell { max-width: 1600px; }
  .main-frame { display:grid; grid-template-columns:176px minmax(0,1fr); grid-template-rows:76px minmax(0,1fr); }
  .app-header { grid-column:1/-1; grid-row:1; min-height:76px; padding:0 28px; }
  .screen { grid-column:2; grid-row:2; }
  .bottom-nav { grid-column:1; grid-row:2; display:flex; flex-direction:column; gap:6px; padding:24px 12px; border-top:0; border-right:1px solid #ffffff0d; background:#101013; }
  .nav-item { flex-direction:row; justify-content:flex-start; gap:12px; min-height:50px; padding:12px 16px; font-size:14px; }
  .nav-item.active { background:#ff633c13; }
  .discovery { max-width:1240px; margin:auto; padding:24px 32px 40px; }
  .search-row { max-width:520px; }
  .catalog-tabs { min-height:64px; }
  .spotlight { height:340px; min-height:300px; max-height:none; border:1px solid #ffffff0a; background:#17131c; }
  .spotlight-image { left:auto; width:48%; object-position:50% 35% !important; }
  .spotlight-shade { background:linear-gradient(90deg,#17131c 36%,#17131caa 62%,#17131c00 100%); }
  .spotlight-content { inset:auto 32px 30px; }
  .spotlight h1 { max-width:65%; font-size:clamp(32px,3.4vw,52px); }
  .spotlight-content > p { max-width:50%; font-size:16px; }
  .spotlight-actions .primary-button { min-height:48px; font-size:16px; padding:12px 20px; }
  .continue-row { flex-direction:row; }
  .continue-card { flex:1; min-width:0; max-width:520px; }
  .poster-grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:28px 20px; }
  .poster-title { font-size:clamp(22px,2vw,28px); }
  .category-row { padding:20px 0; }
  .weekly-poll { max-width:760px; }
  .poll-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .poll-option { min-height:52px; }
  .content-pad { padding:32px; width:100%; max-width:1100px; margin:auto; }
  .profile-page { max-width:760px; }
  .detail-screen { display:grid; grid-template-columns:minmax(200px,32%) minmax(0,1fr); align-items:start; gap:28px; padding:32px; }
  .detail-hero { height:auto; min-height:0; max-height:600px; aspect-ratio:2/3; border-radius:18px; position:sticky; top:0; }
  .detail-copy { left:20px; right:20px; bottom:24px; }
  .detail-copy h1 { font-size:clamp(28px,3vw,42px); }
  .detail-body { padding:0; }
  .detail-promise { justify-content:flex-start; }
  .watch-app .main-frame { grid-template-columns:minmax(0,1fr); grid-template-rows:64px minmax(0,1fr); }
  .watch-app .app-header { min-height:64px; padding:0 24px; }
  .watch-app .screen { grid-column:1; }
  .watch-layout { grid-template-columns:minmax(0,1fr) 300px; grid-template-rows:minmax(0,1fr); grid-template-areas:"video episodes"; }
  .watch-layout.has-game { grid-template-rows:minmax(0,1fr) auto; grid-template-areas:"video episodes" "game episodes"; }
  .video-pane { grid-area:video; }
  .watch-layout > .game-container { grid-area:game; max-width:600px; margin:auto; }
  .watch-sidebar { grid-area:episodes; display:block; min-height:0; overflow:auto; padding:24px 20px; border-left:1px solid var(--line); background:#111115; }
  .watch-series-title { display:flex; align-items:center; min-height:44px; margin-bottom:24px; font-size:24px; font-weight:700; line-height:1.2; overflow-wrap:anywhere; }
  .watch-sidebar .section-heading h2 { font-size:18px; }
  .watch-sidebar .episode-index { width:26px; font-size:18px; }
  .watch-sidebar .episode-status { width:32px; height:36px; }
  .watch-sidebar .episode-copy strong { font-size:14px; }
  .watch-sidebar .current-episode { background:#ff633c10; border-radius:10px; padding:0 8px; margin:0 -8px; }
  .watch-sidebar .current-episode .episode-index { color:var(--accent); }
  .games-layout { max-width:600px; margin:auto; }
  .sheet { inset:0; height:fit-content; max-height:calc(100dvh - 64px); border:1px solid #46404a; border-radius:20px; padding-bottom:24px; }
  .toast { bottom:28px; }
  .catalog-warning, .storage-warning { position:absolute; top:76px; left:176px; right:0; z-index:6; }
  .screen:has(~ .storage-warning), .main-frame:has(> .catalog-warning) .screen { padding-top:44px; }
  .watch-app .catalog-warning, .watch-app .storage-warning { top:64px; left:0; }
}
@media (min-width: 1200px) {
  .main-frame { grid-template-columns:208px minmax(0,1fr); }
  .bottom-nav { padding:28px 18px; }
  .discovery { padding:28px 40px 48px; }
  .poster-grid { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:28px 24px; }
  .watch-layout { grid-template-columns:minmax(0,1fr) 360px; }
  .watch-sidebar { padding:28px; }
  .watch-sidebar .episode-copy strong { font-size:16px; }
  .catalog-warning, .storage-warning { left:208px; }
}

.watch-reward-note{margin:0;padding:10px 16px;background:#181514;color:#ffc0a0;font-size:13px;line-height:1.5;border-top:1px solid #4a3226}

/* Account controls stay usable on narrow screens and with long email addresses. */
.profile-card > div{min-width:0}.profile-card p,.account-identity{overflow-wrap:anywhere}.profile-card + .secondary-button{margin-top:18px}.danger-row,.danger-row>.icon{color:#ffb0aa}.viewer-auth-page{max-width:620px;margin:0 auto}.viewer-auth-page>.text-link{margin-top:14px}.viewer-auth-form button{min-height:48px}.password-toggle{justify-self:start;padding:0 4px}.delete-confirm{display:flex;gap:12px;align-items:flex-start;line-height:1.5}.delete-confirm input{width:24px;min-width:24px;min-height:24px;margin-top:4px;accent-color:#ffb0aa}.delete-confirm span{flex:1}.danger-button{background:#ffb0aa;color:#341614}.viewer-auth-page [role="alert"]{overflow-wrap:anywhere}.viewer-auth-page p{line-height:1.6}

/* Fixed editorial pair, full catalog below. */
.featured-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px}
.featured-stories[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.featured-stories .spotlight{height:clamp(282px,42dvh,330px);min-height:282px;max-height:330px;border-radius:15px}
.featured-stories .spotlight-image{left:0;width:100%;object-position:50% 28%!important}
.featured-stories .spotlight-shade{background:linear-gradient(0deg,#100d13 0%,#100d13ef 28%,#100d1370 61%,#100d1300 100%)}
.featured-stories .spotlight-content{inset:auto 12px 14px;min-width:0}
.featured-stories .spotlight-title{max-width:100%;font-size:clamp(19px,5.2vw,26px);font-weight:730;letter-spacing:-.5px;line-height:1.06;margin-top:8px;overflow-wrap:anywhere}
.featured-stories .eyebrow{font-size:12px;line-height:1.4}
.featured-stories .spotlight-content>p{display:none}
.featured-stories .spotlight-content>.engagement-bar{gap:6px;flex-wrap:wrap;font-size:12px;margin-top:10px}
.featured-stories .spotlight-actions{margin-top:12px}
.featured-stories .spotlight-actions .primary-button{width:100%;min-width:0;min-height:46px;padding:10px 8px;gap:6px;font-size:16px}
.featured-stories .spotlight-detail{position:absolute;top:10px;right:10px;width:44px;height:44px;z-index:2}
.featured-stories .spotlight-meta{font-size:12px;line-height:1.4;margin-top:9px}
.discovery .catalog-section+#weekly-poll{margin-top:28px}
@media(min-width:768px){
 .featured-stories{gap:20px;margin-bottom:28px}
 .featured-stories .spotlight{height:360px;min-height:330px;max-height:none}
 .featured-stories .spotlight-content{inset:auto 24px 24px}
 .featured-stories .spotlight-title{font-size:clamp(26px,3vw,40px)}
 .featured-stories .spotlight-content>p{display:block;max-width:100%;font-size:16px}
 .featured-stories .spotlight-actions .primary-button{width:auto;min-width:140px;padding:12px 20px}
 .featured-stories .spotlight-detail{top:16px;right:16px}
}
