/* Shared customer screens. The operator console has its own stylesheet. */
.site-shell {
  --bg: #101114;
  --panel: #191b20;
  --text: #f2f1ee;
  --muted: #97999f;
  --accent: #f4be70;
  --border: #2b2d33;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.icon-definitions { position: absolute; overflow: hidden; pointer-events: none; }
.ui-icon { display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.site-header { display: block; max-width: none; padding: 0; border-bottom: 1px solid #ffffff0c; background: #101114ed; backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 12; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1228px; min-height: 88px; margin: auto; padding: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; letter-spacing: .5px; flex: 0 0 auto; }
.brand .brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: var(--accent); color: #21190e; }
.brand-mark .ui-icon { width: 24px; height: 24px; fill: currentColor; stroke-width: 0; margin-left: -3px; }
.brand .brand-wordmark { color: var(--text); }
.brand-wordmark > span { color: var(--accent); }
.header-nav { gap: 28px; color: var(--muted); font-size: 14px; }
.header-nav a { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.header-nav a:hover, .header-nav a[aria-current=page] { color: var(--text); }
.header-nav a[aria-current=page] { position: relative; }
.header-nav a[aria-current=page]::after { content: ''; position: absolute; bottom: -24px; left: 20%; right: 20%; height: 2px; background: var(--accent); border-radius: 2px; }
.header-nav .account-entry { border: 1px solid var(--border); border-radius: 24px; padding: 7px 14px; color: var(--text); font-size: 13px; }
.header-nav .operator-entry { color: var(--accent); font-size: 12px; }
.header-nav .mobile-backup-entry { display: none; }
.pilot-banner { background: #f4be700b; color: #c1ab89; padding: 5px 16px; font-size: 11px; letter-spacing: .4px; }
.site-shell main { max-width: 1228px; padding: 30px 28px; }
.operator-reminder { margin: 0 0 24px; padding: 10px 14px; background: #ffffff03; border-color: var(--border); color: var(--muted); font-size: 12px; }
.ui-kicker { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 2px; }
.quiet-link, .ui-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: #b3b4b9; }
.quiet-link:hover, .ui-back:hover { color: var(--accent); }
.quiet-link .ui-icon { width: 17px; height: 17px; }
.ui-back { min-height: 40px; margin-bottom: 24px; }
.ui-back .ui-icon { width: 16px; height: 16px; }
.ui-primary { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; border-radius: 10px; padding: 12px 23px; background: var(--accent); color: #241a0c; font-size: 14px; font-weight: 700; }
.ui-primary:hover:not(:disabled) { background: #ffce87; }
.ui-primary .ui-icon { width: 18px; height: 18px; }
.discovery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.discovery-heading h1 { font-size: 34px; margin: 0; letter-spacing: -1px; }
.discovery-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.heading-dot { color: var(--accent); margin-left: 4px; }
.featured-story { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 360px; padding: 38px 42px; border: 1px solid #ffffff18; border-radius: 20px; background: #1b2421; overflow: hidden; }
.featured-story::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#141a19 5%,#141a19ed 37%,#141a1966 70%,#141a1922),linear-gradient(0deg,#101514a6,transparent 60%); }
.featured-copy { min-width: 0; width: 64%; max-width: 610px; }
.feature-label { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid #f4be703b; border-radius: 5px; background: #171e1e7a; color: #f2cc96; font-size: 11px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.featured-copy h2 { max-width: 580px; margin: 16px 0 10px; font-size: clamp(28px,3.4vw,42px); line-height: 1.35; letter-spacing: -1px; overflow-wrap: anywhere; }
.featured-description { max-width: 430px; color: #c2c5c0; font-size: 14px; line-height: 1.85; margin: 0 0 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: #c5c7c1; font-size: 12px; margin-bottom: 16px; }
.featured-meta strong { font-size: 16px; color: var(--accent); margin-left: 3px; font-weight: 650; }
.owned-label { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }
.owned-label .ui-icon { width: 15px; height: 15px; }
.feature-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: 18px; font-size: 12px; color: #cbcfc8; }
.feature-more .ui-icon { width: 14px; height: 14px; }
.featured-art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 70%; overflow: hidden; }
.featured-art img, .detail-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-art img { object-position: center 32%; }
.poster-placeholder { background: linear-gradient(140deg,#3e4540,#242a29 50%,#171c1b); }
.poster-monogram { position: absolute; inset: 0; display: grid; place-items: center; writing-mode: vertical-rl; color: #ffffff19; font: 800 88px/1.15 'STKaiti','KaiTi',serif; letter-spacing: 12px; padding: 0; pointer-events: none; }
.continue-strip { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin: 22px 0 0; background: #191b1e; border: 1px solid var(--border); border-radius: 12px; }
.continue-symbol { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #f4be7010; color: var(--accent); }
.continue-strip > div { min-width: 0; flex: 1; display: grid; gap: 1px; }
.continue-strip small { color: var(--muted); font-size: 11px; }
.continue-strip strong { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.continue-strip > div > span { color: var(--muted); font-size: 11px; }
.continue-action { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--accent); flex: 0 0 auto; }
.continue-action .ui-icon { width: 16px; height: 16px; }
.catalog-section { margin-top: 34px; scroll-margin-top: 100px; }
.catalog-heading { align-items: end; gap: 20px; margin-bottom: 22px; }
.catalog-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.3px; }
.catalog-heading .ui-kicker { margin-bottom: 6px; font-size: 10px; }
.catalog-heading .count-label { margin-left: 12px; font-size: 11px; font-weight: 400; color: var(--muted); }
.catalog-heading > span { padding-bottom: 3px; font-size: 11px; }
.poster-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 26px 20px; }
.poster-card { min-width: 0; max-width: none; border: 0; border-radius: 0; overflow: visible; }
.poster-cover { display: block; position: relative; padding: 0; height: auto; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; background: #29332e; }
.poster-cover::after { z-index: 1; background: linear-gradient(0deg,#080a0ddb,transparent 40%); }
.poster-cover img { z-index: 0; }
.poster-cover .poster-monogram { border: 0; border-radius: 0; color: #ffffff1a; font-size: clamp(55px,6vw,82px); padding: 0; }
.poster-tone-one { background: linear-gradient(140deg,#46554c,#273b34 55%,#172420); }
.poster-tone-two { background: linear-gradient(140deg,#604c42,#3e3234 55%,#231f25); }
.poster-tone-three { background: linear-gradient(140deg,#4c5063,#323a4c 55%,#1b2432); }
.poster-tone-four { background: linear-gradient(140deg,#6c5d40,#484231 55%,#282b23); }
.poster-tone-five { background: linear-gradient(140deg,#594c63,#383244 55%,#211f2a); }
.poster-cover .poster-badge { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 3px 7px; border: 1px solid #ffffff24; background: #0e1115b3; color: #eeeee7; font-size: 11px; border-radius: 5px; }
.poster-cover .poster-bottom { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 5px; border: 0; padding: 0; }
.poster-bottom small { font-size: 12px; color: #f1eee7; }
.poster-cover .card-play { position: absolute; z-index: 2; top: 40%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff50; border-radius: 50%; background: #11151b99; transform: translate(-50%,-50%); opacity: 0; }
.card-play .ui-icon { width: 21px; height: 21px; fill: currentColor; stroke-width: 0; margin-left: -2px; }
.poster-card:hover .card-play, .poster-card:focus-visible .card-play { opacity: 1; }
.poster-card .card-copy { padding: 13px 1px 0; }
.poster-card h3 { font-size: 16px; font-weight: 550; line-height: 1.6; margin: 0 0 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-metadata { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); }
.card-metadata .ui-icon { width: 13px; height: 13px; }
.card-metadata b { font-weight: 600; font-size: 13px; white-space: nowrap; }
.card-metadata .owned-label { font-size: 12px; white-space: nowrap; }
.poster-card .card-action { display: flex; align-items: center; gap: 3px; margin: 8px 0 0; color: #a5a3a0; font-size: 10px; }
.card-action .ui-icon { width: 12px; height: 12px; }
.catalog-empty { grid-column: 1/-1; padding: 50px 20px; border: 1px dashed var(--border); border-radius: 12px; text-align: center; color: var(--muted); }
.catalog-empty > .ui-icon { width: 35px; height: 35px; color: var(--accent); margin-bottom: 15px; }
.catalog-empty h3 { color: var(--text); font-size: 18px; }
.catalog-empty p { font-size: 13px; margin: 8px 0 16px; }
.viewing-promises { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid #ffffff0a; color: var(--muted); font-size: 11px; }
.viewing-promises span { display: inline-flex; align-items: center; gap: 8px; }
.viewing-promises .ui-icon { width: 16px; height: 16px; color: #bdad94; }
.site-footer { max-width: 1172px; display: flex; align-items: start; justify-content: space-between; gap: 24px; margin: 36px auto 0; padding: 28px 0 36px; border-top-color: #ffffff0a; font-size: 11px; }
.site-footer strong { font-size: 13px; font-weight: 500; color: #b5b5b4; }
.site-footer p { margin: 9px 0 0; line-height: 1.9; color: #86878d; }
.site-footer .footer-links { max-width: 400px; margin: 0; gap: 12px 24px; justify-content: flex-end; }
.site-footer .footer-links a { color: #a19c92; }
.story-detail { display: grid; grid-template-columns: 235px minmax(0,1fr); align-items: start; gap: 46px; margin: 4px 0 54px; }
.detail-poster { position: relative; isolation: isolate; aspect-ratio: 3/4; border: 1px solid #ffffff12; border-radius: 12px; overflow: hidden; }
.detail-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0a0c10a8,transparent 60%); }
.detail-poster-caption { position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 1; font-size: 11px; letter-spacing: 2px; color: #d5cdbf; }
.story-copy { min-width: 0; }
.story-copy h1 { margin: 10px 0 14px; font-size: clamp(27px,3.4vw,40px); letter-spacing: -.7px; line-height: 1.5; overflow-wrap: anywhere; }
.detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--muted); }
.detail-meta > span + span { position: relative; }
.detail-meta > span + span::before { content: ''; width: 2px; height: 2px; position: absolute; left: -10px; top: 50%; border-radius: 50%; background: #66676c; }
.story-description { font-size: 14px; color: #aaa9a7; line-height: 1.9; margin: 22px 0 26px; overflow-wrap: anywhere; }
.purchase-panel { display: grid; grid-template-columns: minmax(140px,1fr) minmax(0,1.15fr); align-items: center; gap: 8px 24px; max-width: 670px; padding: 22px 24px; border: 1px solid #e4b16c33; border-radius: 13px; background: #eabf7810; }
.purchase-price { display: grid; gap: 3px; grid-row: span 2; }
.purchase-price > span { font-size: 11px; color: #a8a29a; }
.purchase-price > strong { color: var(--accent); font-size: 37px; font-weight: 650; letter-spacing: -1px; line-height: 1.4; }
.purchase-price > strong > small { color: var(--accent); font-size: 20px; margin-right: 5px; }
.purchase-panel .ui-primary { width: 100%; font-size: 13px; padding: 12px; }
.purchase-panel .purchase-closed { opacity: 1; background: #383128; color: #b8a182; border: 1px solid #b18e5933; cursor: default; }
.purchase-note { margin: 0; font-size: 11px; line-height: 1.8; color: #a59f97; grid-column: 2; }
.preview-link { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--accent); font-size: 12px; border-top: 1px solid #d5b3831f; padding-top: 14px; margin-top: 8px; min-height: 40px; }
.preview-link .ui-icon { width: 17px; height: 17px; }
.preview-section { scroll-margin-top: 25px; margin: 0 0 46px; }
.detail-page .section-heading h2 { margin: 0; font-size: 22px; }
.detail-page .section-heading .ui-kicker { margin-bottom: 6px; }
.preview-section .player-frame { width: 100%; max-width: 820px; margin-top: 20px; border-radius: 12px; border-color: #ffffff12; }
.directory-section { max-width: 100%; margin-top: 32px; }
.episode-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0; margin: 20px 0; list-style: none; }
.episode-directory li { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #191b1f; border: 1px solid #ffffff0b; border-radius: 9px; }
.directory-number { font-size: 26px; font-weight: 600; color: #ffffff27; line-height: 1; font-variant-numeric: tabular-nums; }
.episode-directory li > div { display: grid; gap: 3px; min-width: 0; flex: 1; }
.episode-directory strong { font-size: 12px; font-weight: 550; }
.episode-directory li > div > span { font-size: 11px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.episode-directory .ui-icon { color: #73757c; width: 14px; height: 14px; }
.directory-empty { grid-column: 1/-1; color: var(--muted); font-size: 13px; }
.directory-note { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.directory-note a { display: inline-flex; align-items: center; gap: 2px; color: #b4a58c; }
.directory-note .ui-icon { width: 14px; height: 14px; }
.watch-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.watch-heading .ui-kicker { display: none; }
.watch-heading > div { min-width: 0; }
.watch-heading h1 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.7px; line-height: 1.5; overflow-wrap: anywhere; }
.watch-heading > a { flex: 0 0 auto; padding-bottom: 3px; }
.watch-layout { display: grid; grid-template-columns: minmax(0,1fr) 306px; gap: 24px; align-items: start; }
.watch-main { min-width: 0; }
.watch-stage { scroll-margin-top: 104px; }
.watching-page .player-frame { max-width: none; width: 100%; border-radius: 12px; border-color: #ffffff15; background: radial-gradient(ellipse at 50% 20%,#27231e,#090a0c 70%); }
.watching-page #player-hint, .cloud-idle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--muted); font-size: 11px; padding: 14px; pointer-events: none; }
.watching-page #player-hint strong, .cloud-idle strong { font-size: 15px; font-weight: 500; color: #d7d3cc; }
.watching-page #player-hint, .cloud-idle { isolation: isolate; background: #0d1010; }
.player-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px); opacity: .2; z-index: -1; }
.idle-play { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; background: #eac08710; border: 1px solid #f4be703b; border-radius: 50%; color: #d5b382; }
.idle-play .ui-icon { width: 25px; height: 25px; fill: currentColor; stroke-width: 0; margin-left: -4px; }
.resume-button { display: flex; align-items: center; justify-content: start; gap: 10px; width: 100%; margin-top: 16px; min-height: 48px; background: var(--accent); color: #241a0c; border: 1px solid var(--accent); border-radius: 9px; padding: 12px 16px; font-size: 14px; font-weight: 650; text-align: left; }
.resume-button > .ui-icon:last-child { margin-left: auto; }
.resume-button .ui-icon { width: 17px; height: 17px; }
.watching-page .playback-controls { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; margin: 16px 0; }
.watching-page .playback-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #1c1e23; padding: 10px 16px; border-color: #ffffff15; font-size: 12px; }
.watching-page .playback-controls button:disabled { opacity: .35; }
.playback-controls .ui-icon { width: 15px; height: 15px; }
.playback-controls #current-episode { text-align: center; font-size: 13px; color: #bbb6ae; }
.playback-controls #retry-playback { grid-column: 1/-1; }
.playback-feedback { border-top: 1px solid #ffffff0a; padding: 0 2px 16px; }
.watching-page #play-status { font-size: 12px; color: #c2b59f; margin: 14px 0 5px; line-height: 1.7; min-height: 20px; }
.watching-page #progress-status { margin: 0; font-size: 11px; color: #86888e; }
.playback-feedback #takeover { margin-top: 12px; font-size: 12px; }
.episode-panel { grid-column: 2; grid-row: 1 / span 2; min-width: 0; border: 1px solid #ffffff10; background: #17191d; border-radius: 12px; padding: 21px 18px 16px; }
.episode-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.episode-heading h2 { margin: 0; font-size: 18px; }
.episode-heading > span { color: var(--muted); font-size: 11px; }
.episode-caption { color: #929399; font-size: 11px; margin: 6px 0 15px; }
.episode-panel .autoplay-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 12px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid #ffffff0b; font-size: 12px; cursor: pointer; }
.autoplay-option strong { font-size: 12px; color: #c6c5c2; font-weight: 450; }
.autoplay-option small { color: #83858c; font-size: 10px; margin-top: 2px; }
.episode-panel input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; flex: 0 0 34px; padding: 0; margin: 0; border-radius: 20px; border: 1px solid #4a4d55; background: #2e3138; cursor: pointer; position: relative; }
.episode-panel input[type=checkbox]::after { content: ''; position: absolute; top: 3px; left: 3px; height: 12px; width: 12px; border-radius: 50%; background: #a6a7ab; }
.episode-panel input[type=checkbox]:checked { border-color: var(--accent); background: var(--accent); }
.episode-panel input[type=checkbox]:checked::after { left: 17px; background: #3b2911; }
.episode-ranges { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #4d4436 transparent; padding-bottom: 2px; }
.episode-ranges button { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; border-radius: 7px; border: 1px solid var(--border); background: transparent; font-size: 12px; font-weight: 500; color: var(--muted); }
.episode-ranges button[aria-pressed=true] { color: var(--accent); background: #f4be7012; border-color: #f4be7055; }
.episode-ranges[hidden], .episode-panel .episode[hidden] { display: none !important; }
.episode-panel .episodes { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; }
.episode-panel .episode { display: grid; align-content: center; gap: 3px; min-width: 0; min-height: 59px; background: #222429; border: 1px solid #ffffff08; color: #d1d1ce; border-radius: 8px; padding: 10px 5px; font-size: 12px; }
.episode-number { font-size: 13px; font-weight: 550; }
.episode-panel .episode small { font-size: 11px; color: #a6a8ae; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.episode-panel .episode small .ui-icon { width: 10px; height: 10px; }
.episode-panel .episode .progress-label { color: #c2b394; margin-top: 0; font-size: 10px; }
.episode-panel .episode small:empty { display: none; }
.episode-panel .episode.active { border-color: #f4be7099; background: #f4be7012; color: var(--accent); }
.episode-panel .episode.active small { color: #c6b89d; }
.episode-panel .episode:disabled { opacity: .4; }
.episode-panel .episode-locked { text-align: center; }
.watch-purchase { min-width: 0; grid-column: 1; }
.watch-purchase .purchase-panel { max-width: none; scroll-margin-top: 100px; }
.episode-note { font-size: 10px; color: #7f8188; margin: 14px 0 0; }
.watch-information { grid-column: 1; border-top: 1px solid #ffffff10; margin-top: 0; padding-top: 16px; }
.story-synopsis summary { display: flex; align-items: center; justify-content: space-between; font-size: 14px; list-style: none; cursor: pointer; padding: 6px 0; }
.story-synopsis summary::-webkit-details-marker { display: none; }
.story-synopsis summary .ui-icon { width: 16px; height: 16px; color: var(--muted); }
.story-synopsis[open] summary .ui-icon { transform: rotate(90deg); }
.story-synopsis p { color: var(--muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.access-note { font-size: 11px; color: #8f9197; margin: 14px 0; }
.watch-information > a { margin-top: 2px; font-size: 11px; }
@media (max-width: 1240px) {
  .site-footer { margin-inline: 28px; }
}
@media (max-width: 980px) {
  .poster-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 16px; }
  .featured-story { padding: 30px; }
  .watch-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 18px; }
  .story-detail { grid-template-columns: 200px minmax(0,1fr); gap: 28px; }
  .purchase-panel { padding: 18px; gap: 8px 16px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 74px; padding: 14px 22px; }
  .header-nav { gap: 14px; font-size: 12px; }
  .header-nav .account-entry { padding-inline: 10px; }
  .site-shell main { padding: 24px 22px; }
  .poster-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .featured-story { padding: 28px; min-height: 320px; }
  .featured-copy h2 { font-size: 29px; }
  .featured-meta { gap: 6px 12px; margin-bottom: 16px; }
  .featured-description { font-size: 12px; margin-bottom: 16px; }
  .watch-layout { grid-template-columns: minmax(0,1fr); }
  .episode-panel, .watch-information { grid-column: auto; grid-row: auto; }
  .episode-panel .episodes { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .episode-caption { display: none; }
  .episode-panel .autoplay-option { margin-top: 14px; }
  .story-detail { gap: 22px; grid-template-columns: 160px minmax(0,1fr); }
  .story-copy h1 { font-size: 28px; }
  .purchase-panel { grid-template-columns: minmax(0,1fr); }
  .purchase-price { grid-row: auto; }
  .purchase-note { grid-column: 1; }
  .episode-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer { margin-inline: 22px; }
}
@media (max-width: 600px) {
  .site-shell { padding-bottom: calc(74px + env(safe-area-inset-bottom,0px)); }
  .header-inner { min-height: 52px; padding: 4px 20px; gap: 10px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-mark .ui-icon { width: 21px; height: 21px; }
  .header-nav { gap: 12px; flex-wrap: nowrap; }
  .header-nav .desktop-entry { display: none; }
  .header-nav a { min-height: 40px; }
  .header-nav .account-entry { width: 40px; height: 40px; justify-content: center; padding: 0; border-radius: 50%; }
  .header-nav .mobile-backup-entry { display: inline-flex; color: var(--accent); font-size: 11px; }
  .mobile-backup-entry span { padding: 2px 6px; border: 1px solid #f4be7040; border-radius: 6px; background: #f4be700b; }
  .account-entry > span { display: none; }
  .header-nav .registration-entry { font-size: 12px; }
  .pilot-banner { font-size: 11px; line-height: 1.4; padding: 2px 12px; }
  .site-shell main { padding: 14px 20px 20px; }
  .storefront-backup-notice { display: none; }
  .discovery-heading { margin: 0 0 18px; align-items: center; }
  .ui-kicker { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 6px; }
  .discovery-heading h1 { font-size: 28px; }
  .discovery-heading > a { font-size: 12px; }
  .discovery-heading > a .ui-icon { width: 14px; height: 14px; }
  .featured-story { padding: 24px 22px; min-height: 288px; border-radius: 16px; }
  .featured-story::after { background: linear-gradient(90deg,#141a19f2,#141a1999 62%,#141a1922),linear-gradient(0deg,#101514cf,transparent 85%); }
  .featured-copy { width: 100%; }
  .feature-label { gap: 6px; font-size: 11px; }
  .featured-copy h2 { font-size: 30px; line-height: 1.4; margin: 13px 0 10px; letter-spacing: -.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .featured-description { display: -webkit-box; max-width: 85%; font-size: 12px; margin-bottom: 17px; }
  .featured-meta { gap: 6px 12px; font-size: 12px; margin-bottom: 12px; }
  .featured-meta strong { font-size: 15px; }
  .featured-meta .owned-label .ui-icon { width: 12px; height: 12px; }
  .featured-copy .ui-primary { min-height: 46px; font-size: 13px; padding: 11px 16px; gap: 7px; }
  .featured-copy .ui-primary .ui-icon { width: 15px; height: 15px; }
  .feature-more { margin-left: 10px; font-size: 12px; }
  .featured-art { width: 100%; }
  .featured-art .poster-monogram { font-size: 104px; letter-spacing: 12px; padding-left: 52%; }
  .continue-strip { gap: 12px; padding: 14px; margin-top: 16px; }
  .continue-symbol { flex-basis: 30px; height: 34px; background: none; }
  .continue-strip strong { font-size: 14px; }
  .continue-action { font-size: 12px; gap: 2px; }
  .continue-strip small { font-size: 11px; }
  .continue-strip > div > span { font-size: 11px; }
  .catalog-section { margin-top: 32px; }
  .catalog-heading { margin-bottom: 17px; }
  .catalog-heading h2 { font-size: 20px; }
  .catalog-heading .count-label { font-size: 12px; margin-left: 9px; }
  .catalog-heading > span { font-size: 11px; max-width: none; padding-bottom: 2px; }
  .catalog-heading .ui-kicker { font-size: 9px; }
  .poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
  .poster-cover { height: auto; border-radius: 8px; }
  .poster-cover .poster-badge { top: 9px; left: 9px; font-size: 10px; }
  .poster-cover .poster-bottom { left: 12px; right: 12px; bottom: 13px; }
  .poster-bottom small { font-size: 11px; }
  .poster-card .card-copy { padding: 11px 0 0; }
  .poster-card h3 { font-size: 15px; margin-bottom: 6px; }
  .card-metadata { font-size: 11px; }
  .card-metadata b { font-size: 14px; }
  .card-metadata .owned-label { font-size: 11px; gap: 2px; }
  .card-metadata .owned-label .ui-icon { width: 12px; height: 12px; }
  .poster-card .card-action { font-size: 9px; margin-top: 6px; }
  .viewing-promises { margin-top: 38px; padding-top: 24px; gap: 16px; font-size: 9px; }
  .viewing-promises span { gap: 4px; }
  .viewing-promises .ui-icon { width: 13px; height: 13px; }
  .site-footer { margin: 16px 20px 0; padding-top: 23px; padding-bottom: 24px; flex-direction: column; gap: 20px; }
  .site-footer strong { font-size: 12px; }
  .site-footer p { font-size: 10px; }
  .site-footer .footer-links { justify-content: start; gap: 8px 18px; font-size: 10px; }
  .mobile-nav { background: #15161af5; border-top-color: #ffffff10; padding-top: 8px; }
  .mobile-nav a { gap: 4px; min-height: 55px; font-size: 11px; color: #a0a2a9; }
  .mobile-nav .ui-icon { width: 21px; height: 21px; stroke-width: 1.6; }
  .mobile-nav a[aria-current=page] { color: var(--accent); }
  .ui-back { min-height: 44px; margin-bottom: 12px; font-size: 12px; }
  .story-detail { grid-template-columns: 94px minmax(0,1fr); gap: 7px 18px; margin-bottom: 36px; }
  .story-copy { display: contents; }
  .detail-poster { grid-column: 1; grid-row: 1/4; width: 94px; border-radius: 8px; }
  .detail-poster .poster-monogram { font-size: 50px; letter-spacing: 7px; }
  .detail-poster-caption { font-size: 8px; left: 9px; right: 9px; bottom: 9px; letter-spacing: 0; }
  .story-copy > .ui-kicker { grid-column: 2; align-self: end; margin: 3px 0 0; font-size: 9px; }
  .story-copy h1 { grid-column: 2; font-size: 23px; margin: 0; line-height: 1.4; }
  .story-copy > .detail-meta { grid-column: 2; align-self: start; font-size: 10px; gap: 4px 13px; margin-top: 2px; }
  .story-copy > .detail-meta > span + span::before { left: -7px; }
  .story-description { grid-column: 1/-1; margin: 17px 0 13px; font-size: 12px; line-height: 1.95; }
  .purchase-panel { grid-column: 1/-1; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 7px 13px; padding: 18px 16px; border-radius: 10px; }
  .purchase-price { grid-row: span 2; }
  .purchase-price > strong { font-size: 32px; }
  .purchase-price > strong > small { font-size: 18px; }
  .purchase-price > span { font-size: 11px; }
  .purchase-panel .ui-primary { min-height: 44px; padding: 10px 8px; font-size: 12px; gap: 5px; }
  .purchase-panel .ui-primary .ui-icon { width: 14px; height: 14px; }
  .purchase-note { grid-column: 2; font-size: 11px; }
  .preview-link { font-size: 11px; margin-top: 5px; padding-top: 12px; }
  .detail-page .section-heading h2 { font-size: 19px; }
  .detail-page .section-heading > span { font-size: 9px; }
  .preview-section { margin-bottom: 30px; }
  .preview-section .player-frame { margin-top: 17px; border-radius: 8px; }
  .episode-directory { gap: 9px; margin-top: 16px; }
  .episode-directory li { gap: 10px; padding: 13px 11px; border-radius: 7px; }
  .directory-number { font-size: 21px; }
  .episode-directory strong { font-size: 11px; }
  .episode-directory li > div > span { font-size: 9px; }
  .episode-directory .ui-icon { width: 12px; height: 12px; }
  .directory-note { font-size: 10px; line-height: 1.9; }
  .watch-heading { margin-bottom: 18px; align-items: start; }
  .watch-heading h1 { font-size: 24px; line-height: 1.5; margin: 0 0 8px; }
  .watch-heading > .quiet-link { display: none; }
  .watch-heading .detail-meta { font-size: 11px; gap: 6px 15px; }
  .watch-heading .detail-meta > span + span::before { left: -8px; }
  .watch-layout { gap: 20px; }
  .watching-page .player-frame { border-radius: 8px; }
  .watching-page #player-hint, .cloud-idle { gap: 6px; font-size: 11px; }
  .watching-page #player-hint strong, .cloud-idle strong { font-size: 14px; }
  .idle-play { width: 40px; height: 40px; margin: 0 0 4px; }
  .idle-play .ui-icon { width: 20px; height: 20px; }
  .resume-button { font-size: 14px; min-height: 48px; margin-top: 12px; padding: 10px 13px; }
  .watching-page .playback-controls { margin: 12px 0 14px; gap: 8px; }
  .watching-page .playback-controls button { font-size: 12px; padding: 10px 12px; }
  .playback-controls #current-episode { font-size: 12px; }
  .watching-page #play-status { font-size: 11px; margin-top: 12px; }
  .watching-page #progress-status { font-size: 10px; }
  .playback-feedback { padding-bottom: 10px; }
  .episode-panel { padding: 18px 14px 14px; border-radius: 10px; }
  .episode-heading h2 { font-size: 17px; }
  .episode-panel .episodes { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .episode-panel .autoplay-option { padding-block: 10px; margin-bottom: 14px; }
  .episode-panel .episode { min-height: 58px; padding: 9px 4px; }
  .episode-number { font-size: 12px; }
  .episode-panel .episode small { font-size: 10px; }
  .story-synopsis summary { font-size: 13px; }
  .story-synopsis p { font-size: 12px; }
  .access-note { font-size: 10px; }
}
@media (max-width: 360px) {
  .site-shell main { padding-inline: 16px; }
  .header-inner { padding-inline: 16px; }
  .brand { font-size: 18px; }
  .header-nav { gap: 9px; }
  .discovery-heading h1 { font-size: 26px; }
  .featured-story { padding: 22px 18px; }
  .featured-copy h2 { font-size: 27px; }
  .feature-more { display: flex; margin: 4px 0 -8px; }
  .poster-grid { gap: 21px 12px; }
  .viewing-promises { gap: 12px; font-size: 8px; }
  .viewing-promises .ui-icon { width: 12px; height: 12px; }
  .story-detail { grid-template-columns: 85px minmax(0,1fr); gap: 7px 14px; }
  .detail-poster { width: 85px; }
  .story-copy h1 { font-size: 21px; }
  .purchase-panel { padding: 16px 12px; gap: 7px 10px; }
  .purchase-panel .ui-primary { font-size: 10px; }
  .continue-action { font-size: 0; }
  .continue-action .ui-icon { width: 20px; height: 20px; }
}

/* Companion pages use the same spacing, type and colors as the viewing journey. */
.customer-heading { display: block; max-width: none; margin: 3px 0 32px; padding: 0; border: 0; }
.customer-heading h1 { font-size: clamp(26px,3.2vw,36px); line-height: 1.5; margin: 5px 0 12px; letter-spacing: -.8px; overflow-wrap: anywhere; }
.customer-heading > p:last-child, .page-description { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.customer-heading.compact-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 26px; }
.compact-heading h1 { margin: 0 0 5px; font-size: 30px; line-height: 1.4; }
.compact-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.compact-heading > .quiet-link { flex: 0 0 auto; }
.customer-panel { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.customer-panel h2 { font-size: 18px; margin: 0 0 16px; line-height: 1.6; }
.customer-panel p { overflow-wrap: anywhere; }
.ui-secondary { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #3c3e44; border-radius: 9px; background: #ffffff03; color: var(--text); font-size: 13px; font-weight: 500; }
.ui-secondary:hover:not(:disabled) { border-color: #b3956c; background: #f4be7008; }
.ui-secondary .ui-icon { width: 16px; height: 16px; }
.section-note { color: var(--muted); font-size: 12px; line-height: 1.9; }
.customer-note { padding: 14px 17px; border: 1px solid #f4be7029; border-radius: 9px; background: #f4be7009; color: #c8bda9; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.customer-note.is-warning { color: #e6c59c; }
.customer-page main > .notice { border-color: #f4be7030; background: #f4be700b; color: #d6c3a8; }
.customer-section-heading { gap: 14px; margin: 0 0 19px; align-items: center; }
.customer-section-heading h2 { font-size: 20px; margin: 0; }
.customer-section-heading > span { font-size: 11px; }
.customer-section-heading .count-label { margin-left: 9px; font-size: 12px; font-weight: 400; color: var(--muted); }
.customer-empty { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; padding: 56px 24px; border: 1px dashed #3a3b40; border-radius: 14px; background: #ffffff02; }
.empty-symbol, .result-symbol, .auth-symbol { display: inline-grid; place-items: center; width: 60px; height: 60px; color: var(--accent); background: #f4be700b; border: 1px solid #f4be7024; border-radius: 17px; }
.empty-symbol .ui-icon, .result-symbol .ui-icon, .auth-symbol .ui-icon { width: 28px; height: 28px; }
.customer-empty h2 { margin: 5px 0 0; font-size: 22px; font-weight: 550; }
.customer-empty p { max-width: 430px; font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0 0 7px; }
.customer-empty .quiet-link { margin-top: 2px; font-size: 12px; }
.owned-section { margin-top: 36px; }
.library-footnote { margin-top: 30px; padding-top: 18px; border-top: 1px solid #ffffff0c; }
.library-footnote a { color: var(--accent); }
.recent-section { margin: 36px 0; }
.watch-history-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.watch-history-card { display: flex; align-items: center; gap: 15px; padding: 13px; border: 1px solid var(--border); border-radius: 11px; background: #191b1e; min-width: 0; }
.watch-history-card:hover { border-color: #766447; }
.watch-history-poster { display: grid; place-items: center; flex: 0 0 61px; height: 81px; border-radius: 6px; overflow: hidden; color: #e1ceac80; font: 32px 'KaiTi',serif; }
.watch-history-poster img { width: 100%; height: 100%; object-fit: cover; }
.watch-history-card > div { min-width: 0; }
.watch-history-card strong { font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.watch-history-card p { color: var(--muted); font-size: 11px; margin: 7px 0 5px; }
.watch-history-card small { color: var(--accent); font-size: 10px; }
.watch-history-card .ui-icon { width: 13px; height: 13px; margin-left: 4px; }
.account-overview { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 28px; padding: 30px; background: radial-gradient(ellipse at 0% 0%,#f4be700b,transparent 70%),var(--panel); }
.account-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.account-identity > div { min-width: 0; }
.account-identity strong { font-size: 17px; line-height: 1.7; }
.account-avatar { display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 66px; border-radius: 50%; background: #f4be7015; border: 1px solid #f4be7029; color: var(--accent); }
.account-avatar .ui-icon { width: 29px; height: 29px; }
.verification-state { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; margin-top: 6px; }
.verification-state .ui-icon { width: 13px; height: 13px; }
.verification-state.is-verified { color: #c0bbac; }
.account-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-left: 1px solid var(--border); padding-left: 30px; }
.account-totals strong { display: block; font-size: 28px; line-height: 1.4; font-weight: 550; color: var(--text); }
.account-totals strong small { margin-left: 7px; font-size: 10px; }
.account-totals a > span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; margin-top: 5px; white-space: nowrap; }
.account-totals .ui-icon { width: 13px; height: 13px; }
.account-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; align-items: start; }
.customer-menu > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #ffffff0a; font-size: 13px; }
.customer-menu > a:hover { color: var(--accent); }
.customer-menu > a > span { display: inline-flex; gap: 12px; align-items: center; }
.customer-menu .ui-icon { width: 18px; height: 18px; color: #a49c90; }
.customer-menu > a > .ui-icon { width: 14px; height: 14px; color: var(--muted); }
.environment-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; list-style: none; cursor: pointer; }
.environment-panel > summary::-webkit-details-marker { display: none; }
.environment-panel > summary > span { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.environment-panel summary strong { color: var(--text); font-size: 16px; font-weight: 550; }
.environment-panel summary .ui-icon { width: 18px; height: 18px; }
.environment-panel[open] summary > span:last-child .ui-icon { transform: rotate(90deg); }
.environment-panel > .section-note { margin-top: 14px; }
.environment-list { max-height: 300px; overflow: auto; margin: 24px 0; }
.environment-list article { display: flex; align-items: start; gap: 12px; padding: 15px 0; border-top: 1px solid #ffffff0a; }
.environment-list article > div { min-width: 0; flex: 1; }
.environment-icon { color: var(--muted); padding-top: 2px; }
.environment-icon .ui-icon { width: 21px; height: 21px; }
.environment-list strong { font-size: 12px; font-weight: 500; }
.environment-list p { color: var(--muted); font-size: 10px; margin: 4px 0 6px; line-height: 1.8; }
.environment-list small { font-size: 10px; }
.current-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.environment-panel form { margin: 0; }
.environment-panel .ui-secondary { width: 100%; }
.management-shortcuts { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.management-shortcuts h2 { margin: 0; }
.management-shortcuts .section-note { margin: 5px 0 0; }
.management-shortcuts .link-row { margin: 0; gap: 10px; }
.customer-page .link-row > .ui-primary { color: #241a0c; }
.customer-page .link-row > .ui-secondary { color: var(--text); font-size: 12px; }
.logout-form { text-align: center; margin: 30px 0; }
.logout-form button { min-height: 44px; padding: 8px 14px; font-size: 12px; }
.customer-order-list { display: grid; gap: 18px; max-width: 850px; }
.customer-order-card { display: block; min-width: 0; padding: 22px 25px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.customer-order-card:hover { border-color: #7b684d; }
.order-card-top, .order-card-body, .order-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.order-channel { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.order-channel .ui-icon { width: 15px; height: 15px; }
.status-pill { display: inline-block; padding: 3px 8px; background: #ffffff07; border: 1px solid #ffffff15; color: #b2b2b4; font-size: 10px; border-radius: 5px; white-space: nowrap; }
.status-paid { color: #d1c3a6; background: #f4be7008; border-color: #f4be7029; }
.status-pending { color: #e7be87; background: #f4be700c; border-color: #f4be7033; }
.order-card-body { margin: 20px 0; align-items: start; }
.order-card-body > div { min-width: 0; }
.order-card-body h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.6; font-weight: 550; overflow-wrap: anywhere; }
.order-card-body p { font-size: 11px; color: var(--muted); margin: 0; }
.order-card-price { white-space: nowrap; font-size: 24px; font-weight: 550; }
.order-card-price small { color: var(--text); font-size: 14px; margin-right: 4px; }
.order-card-bottom { border-top: 1px solid #ffffff0a; padding-top: 15px; color: var(--muted); font-size: 11px; }
.order-card-bottom > span:last-child { display: inline-flex; align-items: center; color: #cbbba2; white-space: nowrap; }
.order-card-bottom .ui-icon { width: 14px; height: 14px; margin-left: 6px; }
.fact-divider { margin: 0 8px; }
.order-list-note { margin: 22px 0; }
.order-list-note a { color: var(--accent); }
.customer-pagination { max-width: 850px; }
.customer-pagination span { color: var(--muted); font-size: 12px; }
.order-detail-page .customer-heading { max-width: 900px; }
.order-detail-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px; align-items: start; }
.receipt-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.receipt-symbol { color: #b3a38d; }
.receipt-symbol .ui-icon { width: 27px; height: 27px; }
.receipt-price { font-size: 44px; font-weight: 550; line-height: 1.4; margin: 2px 0 15px; letter-spacing: -1px; }
.receipt-price small { color: var(--text); font-size: 24px; margin-right: 7px; }
.fulfillment-line { font-size: 12px; color: var(--muted); padding-bottom: 21px; border-bottom: 1px solid var(--border); }
.fulfillment-line strong { font-weight: 400; color: #cbbba2; margin-left: 16px; }
.receipt-actions { display: grid; justify-items: start; gap: 17px; margin-top: 26px; }
.receipt-actions > .ui-primary { width: 100%; }
.receipt-information .order-facts { font-size: 12px; grid-template-columns: 76px minmax(0,1fr); gap: 18px; margin: 24px 0; }
.receipt-scope { border-block: 1px solid var(--border); margin: 26px 0 18px; }
.receipt-scope summary { padding: 16px 0; font-size: 12px; color: #cbbba2; cursor: pointer; }
.receipt-scope .episode-list { max-height: 300px; overflow: auto; padding-left: 24px; font-size: 12px; }
.order-detail-page main > .panel { max-width: none; margin-top: 24px; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: center; max-width: 940px; margin: 40px auto 65px; }
.auth-intro h1 { font-size: clamp(38px,5vw,54px); margin: 18px 0; line-height: 1.5; }
.auth-intro > p:not(.ui-kicker) { color: var(--muted); font-size: 14px; line-height: 2; margin: 0 0 24px; }
.auth-symbol { width: 49px; height: 49px; margin-bottom: 26px; border-radius: 13px; }
.auth-symbol .ui-icon { width: 24px; height: 24px; }
.auth-content { min-width: 0; }
.auth-content > .customer-note { margin-top: 0; }
.auth-form h2 { font-size: 23px; margin-bottom: 5px; }
.form-heading > p { font-size: 12px; color: var(--muted); margin: 0 0 27px; }
.form-field { margin: 0 0 20px; }
.form-field label { font-size: 12px; color: #bebcba; margin: 0 0 4px; }
.customer-page .form-field input { background: #121316; border-color: #36383e; min-height: 49px; padding: 12px 13px; font-size: 16px; margin-top: 4px; }
.customer-page .form-field input:focus { border-color: #a98c63; }
.customer-page .form-field.has-error input { border-color: #b06e67; }
.customer-page .helptext { font-size: 11px; line-height: 1.9; margin-top: 8px; }
.helptext ul { margin: 6px 0 0; padding-left: 18px; }
.field-errors { list-style: none; color: #e6a59a; font-size: 12px; line-height: 1.8; padding: 0; margin: 7px 0 0; }
.form-alert { margin: 18px 0; padding: 12px 14px; color: #ecc1b7; border: 1px solid #8f554755; border-radius: 8px; background: #be6e5310; font-size: 12px; line-height: 1.9; }
.form-alert .errorlist { margin: 0; padding: 0; list-style: none; background: none; color: inherit; }
.password-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -5px 0 17px; }
.password-tools .password-visibility, .auth-form > .password-visibility { min-height: 40px; font-size: 11px; padding: 7px 10px; margin: 0; border: 1px solid var(--border); border-radius: 7px; background: #ffffff03; color: var(--muted); width: auto; }
.auth-form > .password-visibility { margin: -5px 0 18px; }
.password-tools a { font-size: 11px; color: #c8b99f; }
.form-submit { width: 100%; }
.form-submit-status { font-size: 12px; line-height: 1.8; color: var(--accent); margin: 12px 0 0; }
.form-submit-status:empty { display: none; }
.form-footnote { font-size: 11px; line-height: 1.9; color: var(--muted); margin: 17px 0 0; }
.form-diagnostic { font-size: 11px; color: #b8a28c; margin: 0 0 17px; overflow-wrap: anywhere; }
.context-note { display: flex; gap: 10px; padding: 0 2px; margin-bottom: 18px; color: var(--muted); font-size: 11px; }
.context-note > .ui-icon { width: 15px; height: 15px; margin-top: 3px; }
.context-note p { margin: 0; line-height: 1.9; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin: 24px 0 0; font-size: 12px; color: #bbaa91; }
.auth-links .ui-icon { width: 13px; height: 13px; }
.development-note { color: var(--muted); font-size: 10px; line-height: 1.9; margin: 22px 0 0; }
.auth-single { max-width: 500px; margin: 15px auto 60px; }
.auth-single > .ui-back { display: flex; margin-bottom: 26px; }
.auth-single > h1 { font-size: 32px; line-height: 1.5; margin: 9px 0 14px; }
.auth-single > .auth-symbol { margin-bottom: 23px; }
.auth-single > .auth-form { margin-top: 26px; }
.identity-note { display: grid; gap: 3px; margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.identity-note span { font-size: 11px; color: var(--muted); }
.identity-note strong { font-size: 13px; overflow-wrap: anywhere; }
.result-screen { text-align: center; margin-top: 40px; }
.result-screen .result-symbol { margin-bottom: 28px; }
.result-screen h1 { font-size: 34px; margin: 12px 0 20px; }
.result-screen .page-description { font-size: 13px; }
.result-symbol--muted { color: #b7ae9c; background: #ffffff03; border-color: var(--border); }
.result-tips { text-align: left; margin: 26px 0; }
.result-tips h2 { font-size: 14px; }
.result-tips p { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.9; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.support-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 24px; align-items: start; }
.faq-panel details { border-top: 1px solid var(--border); }
.faq-panel summary { font-size: 14px; padding: 21px 0; cursor: pointer; color: #d7d1c7; }
.faq-panel details > div { padding: 0 0 22px; }
.faq-panel details p, .contact-panel p { font-size: 13px; line-height: 1.95; color: #aaa8a5; margin: 0 0 17px; }
.faq-panel .ui-secondary { margin-top: 3px; }
.contact-panel .result-symbol { width: 43px; height: 43px; margin-bottom: 23px; border-radius: 11px; }
.contact-panel .result-symbol .ui-icon { width: 22px; height: 22px; }
.contact-safety { padding-top: 19px; border-top: 1px solid var(--border); }
.contact-panel > small { font-size: 10px; line-height: 1.9; display: block; }
.support-order { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 22px; }
.support-order strong { font-size: 13px; overflow-wrap: anywhere; }
.support-order > span { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.support-order > small { font-size: 10px; }
.information-page .information-copy { max-width: 820px; gap: 20px; }
.information-page .info-panel { padding: 26px 30px; border-radius: 12px; }
.information-page .info-panel h2 { font-size: 18px; color: #d9c5a4; margin-bottom: 16px; }
.information-page .info-panel p { font-size: 13px; color: #aaa8a5; line-height: 2; margin: 0 0 16px; }
.information-page .info-panel p:last-child { margin-bottom: 0; }
.information-page .info-panel > a { font-size: 12px; }
.app-help-page .app-intro { max-width: 700px; padding: 6px 0 35px; }
.app-help-page .app-intro h1 { font-size: 37px; line-height: 1.5; margin: 13px 0 20px; }
.app-help-page .app-intro > .muted { font-size: 14px; }
.app-help-page .app-icon { width: 60px; height: 60px; border-radius: 15px; margin-bottom: 26px; }
.guide-device { display: grid; place-items: center; width: 39px; height: 39px; color: var(--accent); border: 1px solid #f4be7025; border-radius: 10px; margin-bottom: 20px; }
.guide-device .ui-icon { width: 21px; height: 21px; }
.app-help-page .app-guide li { font-size: 13px; line-height: 1.9; color: #b4b0aa; padding-left: 5px; }
.app-help-page .app-guide li::marker { color: var(--accent); }
.app-help-page .app-guide p, .app-help-page .app-account-note p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.app-help-page .app-account-note { margin-top: 22px; }
@media (max-width: 1000px) {
  .account-overview { grid-template-columns: minmax(0,1fr) auto; }
  .account-overview > .ui-primary { grid-column: 1/-1; justify-self: start; }
  .watch-history-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .auth-layout { gap: 40px; }
  .management-shortcuts { display: block; }
  .management-shortcuts .link-row { margin-top: 18px; }
}
@media (max-width: 760px) {
  .auth-layout { display: block; max-width: 460px; margin: 10px auto 35px; }
  .auth-intro { margin-bottom: 30px; }
  .auth-intro .auth-symbol { display: none; }
  .auth-intro h1 { font-size: 34px; line-height: 1.5; margin: 9px 0 13px; }
  .auth-intro h1 br, .auth-intro > p br { display: none; }
  .auth-intro > p:not(.ui-kicker) { font-size: 13px; margin-bottom: 14px; }
  .account-columns, .order-detail-layout, .support-layout { grid-template-columns: 1fr; }
  .account-overview { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .account-overview > .ui-primary { width: 100%; }
  .account-totals { border: 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
  .account-totals > a + a { padding-left: 24px; border-left: 1px solid var(--border); }
  .app-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .customer-heading { margin: 1px 0 26px; }
  .customer-heading h1 { font-size: 26px; line-height: 1.55; margin-bottom: 10px; letter-spacing: -.6px; }
  .customer-heading > p:last-child { font-size: 12px; line-height: 1.9; margin-top: 0; }
  .customer-heading.compact-heading { margin-bottom: 23px; }
  .compact-heading h1 { font-size: 27px; margin-bottom: 5px; }
  .compact-heading p { font-size: 12px; }
  .customer-panel { padding: 21px; border-radius: 11px; }
  .customer-panel h2 { font-size: 17px; }
  .customer-section-heading h2 { font-size: 19px; }
  .customer-section-heading > span { font-size: 10px; }
  .customer-section-heading .quiet-link { font-size: 11px; }
  .customer-section-heading .count-label { font-size: 10px; margin-left: 5px; }
  .account-identity { gap: 14px; }
  .account-avatar { width: 53px; height: 53px; flex-basis: 53px; }
  .account-avatar .ui-icon { width: 25px; height: 25px; }
  .account-identity strong { font-size: 14px; }
  .verification-state { font-size: 10px; gap: 4px; }
  .account-totals strong { font-size: 27px; }
  .account-totals a > span { font-size: 11px; }
  .account-overview > .ui-primary { font-size: 13px; }
  .account-columns { margin-top: 23px; gap: 18px; }
  .customer-menu > a { padding: 15px 0; font-size: 12px; }
  .customer-menu .ui-icon { width: 17px; height: 17px; }
  .watch-history-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #514432 transparent; }
  .watch-history-card { flex: 0 0 88%; scroll-snap-align: start; }
  .watch-history-card:only-child { flex-basis: 100%; }
  .watch-history-card { padding: 12px; gap: 14px; }
  .watch-history-poster { flex-basis: 48px; height: 64px; }
  .watch-history-card strong { font-size: 14px; -webkit-line-clamp: 1; }
  .watch-history-card p { font-size: 11px; margin: 4px 0; }
  .watch-history-card small { font-size: 11px; }
  .recent-section { margin: 30px 0; }
  .customer-empty { padding: 42px 16px; gap: 15px; }
  .customer-empty h2 { font-size: 19px; }
  .customer-empty p { font-size: 12px; }
  .empty-symbol { width: 52px; height: 52px; }
  .customer-order-list { gap: 14px; }
  .customer-order-card { padding: 18px; border-radius: 10px; }
  .order-card-top { gap: 10px; }
  .order-channel { font-size: 10px; gap: 5px; }
  .status-pill { font-size: 9px; }
  .order-card-body { margin: 17px 0 19px; gap: 14px; }
  .order-card-body h2 { font-size: 15px; margin-bottom: 8px; }
  .order-card-body p { font-size: 10px; }
  .order-card-price { font-size: 21px; }
  .order-card-price small { font-size: 12px; }
  .order-card-bottom { font-size: 10px; gap: 8px; align-items: start; }
  .order-card-bottom .ui-icon { width: 12px; height: 12px; margin-left: 3px; }
  .fact-divider { margin: 0 5px; }
  .order-detail-layout { gap: 18px; }
  .receipt-price { font-size: 40px; }
  .receipt-information .order-facts { font-size: 11px; grid-template-columns: 64px minmax(0,1fr); gap: 15px; }
  .order-detail-page .ui-back { margin-bottom: 15px; }
  .auth-form { padding: 24px 21px; }
  .auth-form h2 { font-size: 22px; }
  .auth-single { margin-top: 3px; }
  .auth-single h1 { font-size: 28px; }
  .auth-single .page-description { font-size: 12px; }
  .auth-single > .ui-back { margin-bottom: 19px; }
  .auth-single > .auth-symbol { margin-bottom: 20px; }
  .auth-intro h1 { font-size: 30px; }
  .result-screen { margin-top: 24px; }
  .result-screen h1 { font-size: 29px; }
  .result-screen .result-symbol { margin-bottom: 24px; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .faq-panel summary { font-size: 13px; padding: 20px 0; }
  .faq-panel details p, .contact-panel p { font-size: 12px; }
  .information-page .info-panel { padding: 22px; }
  .information-page .info-panel h2 { font-size: 16px; }
  .information-page .info-panel p { font-size: 12px; }
  .app-help-page .app-intro h1 { font-size: 29px; }
  .app-help-page .app-intro > .muted { font-size: 12px; }
  .app-help-page .app-icon { width: 52px; height: 52px; margin-bottom: 23px; }
}
