/* Afrisode Phase 1 styles. Plain CSS, no framework. */
:root {
  --orange: #D9480F;
  --orange-dark: #B43C0A;
  --orange-soft: #FFF3EA;
  --green: #1F7A5C;
  --green-dark: #17604A;
  --green-soft: #EAF6F1;
  --gold: #FFC857;
  --ink: #1D1B1A;
  --ink-2: #4A4541;
  --ink-3: #78716B;
  --line: #E8E2DB;
  --bg: #FFFCF9;
  --card: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29,27,26,.06), 0 6px 20px rgba(29,27,26,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tabbar-h: 62px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--orange-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: rgba(255,252,249,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -.4px; }
.topnav { display: none; gap: 4px; margin-left: 8px; }
.topnav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.topnav a:hover { background: var(--orange-soft); color: var(--ink); }
.topnav a.active { color: var(--orange-dark); background: var(--orange-soft); }
.topbar-cta { margin-left: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- views ---------- */
.view { display: none; }
.view.active { display: block; animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-pad { padding: 28px 0 48px; }
.page-title { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 4px 0 10px; letter-spacing: -.6px; }
.eyebrow { margin: 0; color: var(--orange-dark); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 18px; }
.narrow { max-width: 640px; }
.section-h { font-size: 20px; margin: 30px 0 12px; letter-spacing: -.2px; }
.fine { font-size: 14px; color: var(--ink-3); }
.back { display: inline-block; margin-bottom: 6px; text-decoration: none; font-weight: 600; font-size: 15px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #FFE1CC 0%, transparent 60%), linear-gradient(180deg, #FFF3EA 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 28px; padding: 36px 0 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8vw, 58px); line-height: 1.05; letter-spacing: -1.4px; margin: 8px 0 14px; }
.hero h1 span { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.hero-note { font-size: 14px; color: var(--ink-3); margin: 0; }
.hero-art { display: flex; justify-content: center; }
.phone-frame { width: 180px; aspect-ratio: 9 / 18.5; border-radius: 34px; background: var(--ink); padding: 10px; box-shadow: 0 24px 50px rgba(180,60,10,.25); transform: rotate(3deg); }
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #1F7A5C 0%, #0E3B2D 55%, #2B1A10 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; gap: 8px; }
.phone-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,200,87,.07) 0 12px, transparent 12px 24px); }
.ps-tag { position: relative; align-self: flex-start; font-size: 11px; font-weight: 800; background: var(--gold); color: var(--ink); padding: 3px 8px; border-radius: 20px; }
.ps-title { position: relative; font-weight: 800; font-size: 19px; line-height: 1.15; }
.ps-play { position: absolute; top: 42%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.ps-play svg { width: 26px; height: 26px; fill: #fff; }
.ps-bar { position: relative; height: 4px; background: rgba(255,255,255,.25); border-radius: 4px; overflow: hidden; }
.ps-bar i { position: absolute; inset: 0 60% 0 0; background: var(--orange); }

.pillars { display: grid; gap: 10px; margin: 22px 0 8px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.pillar b { font-size: 16px; }
.pillar span { color: var(--ink-2); font-size: 14px; }

/* ---------- rows and cards ---------- */
.row { margin: 30px 0 6px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.row-head h2 { font-size: 21px; margin: 0; letter-spacing: -.3px; }
.row-head a { font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.row-desc { color: var(--ink-2); margin: 2px 0 12px; font-size: 15px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }

.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.poster { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--c1, #333); color: #fff; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg, var(--c1, #333) 0%, var(--c2, #111) 100%); }
.poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px); }
.poster > * { position: relative; z-index: 1; }
.poster-title { font-weight: 800; font-size: 17px; line-height: 1.15; }
.poster-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 800; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 20px; }
.poster-badge.gold { background: var(--gold); color: var(--ink); }
.card-meta { font-size: 13px; color: var(--ink-3); margin-top: -4px; }
.card-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.card:hover .poster { transform: translateY(-2px); transition: transform .15s; }

.soon { border: 2px dashed var(--line); border-radius: var(--radius); aspect-ratio: 3 / 4; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 14px; background: var(--card); color: var(--ink-2); text-decoration: none; }
.soon b { color: var(--ink); font-size: 15px; }
.soon span { font-size: 13px; }
.soon .soon-cta { color: var(--orange-dark); font-weight: 700; font-size: 14px; }
.soon.green .soon-cta { color: var(--green); }

/* ---------- browse ---------- */
.browse-tools { display: flex; flex-direction: column; gap: 12px; }
.browse-tools > * { min-width: 0; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px 0 44px; background: var(--card); font-size: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; color: var(--ink-2); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- show and player ---------- */
.show { display: grid; gap: 22px; }
.show > * { min-width: 0; }
.player { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 9 / 16; background: #0d0b0a; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(29,27,26,.25); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #0d0b0a; }
.player-label { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 20px; pointer-events: none; }
.next-overlay { position: absolute; inset: auto 12px 64px 12px; background: rgba(0,0,0,.78); color: #fff; border-radius: 12px; padding: 12px; display: none; align-items: center; justify-content: space-between; gap: 10px; }
.next-overlay.show { display: flex; }
.next-overlay button { min-height: 40px; }
.player-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.tool { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.tool[aria-pressed="true"] { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.show-info h1 { font-size: clamp(26px, 5vw, 36px); margin: 4px 0 6px; letter-spacing: -.5px; line-height: 1.15; }
.show-meta { color: var(--ink-3); font-size: 14px; margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.tag { font-size: 13px; font-weight: 600; background: var(--orange-soft); color: var(--orange-dark); padding: 4px 10px; border-radius: 20px; }
.notice { background: #FFF8E1; border: 1px solid #F1DFA2; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin: 14px 0; }
.eps-head { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 10px; }
.eps-head h2 { font-size: 18px; margin: 0; }
.eps-head span { font-size: 13px; color: var(--ink-3); }
.eps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ep { min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); position: relative; }
.ep.free { background: var(--green-soft); border-color: #BFE0D3; }
.ep.current { background: var(--orange); border-color: var(--orange); color: #fff; }
.ep.locked { color: var(--ink-3); background: #F4F1EE; }
.ep.locked::after { content: ""; position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 2px; }
.unlock { margin-top: 16px; border: 1px solid #BFE0D3; background: var(--green-soft); border-radius: var(--radius); padding: 16px; }
.unlock h3 { margin: 0 0 4px; font-size: 17px; }
.unlock p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }

/* ---------- creators ---------- */
.doors { display: grid; gap: 14px; margin-top: 18px; }
.door { border-radius: 18px; padding: 22px; position: relative; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.door-orange { background: linear-gradient(180deg, var(--orange-soft), #fff 70%); border-color: #F5D5BF; }
.door-green { background: linear-gradient(180deg, var(--green-soft), #fff 70%); border-color: #C6E3D6; }
.door h2 { margin: 8px 0 6px; font-size: 22px; letter-spacing: -.3px; }
.door p { color: var(--ink-2); margin: 0 0 12px; }
.door-badge { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 6px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 56px; position: relative; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.steps span { color: var(--ink-2); font-size: 14px; }

/* ---------- forms ---------- */
.form-page { max-width: 760px; }
.form { display: grid; gap: 14px; margin-top: 8px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.field-row { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #D8D1C9; border-radius: 10px; padding: 10px 12px; background: #fff; font-weight: 400; font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: 3px solid rgba(217,72,15,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C62828; background: #FFF6F6; }
.field .err { color: #B71C1C; font-weight: 500; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.check.invalid span { color: #B71C1C; }
.form-msg { margin: 0; font-weight: 600; min-height: 1px; }
.form-msg.error { color: #B71C1C; }
.success { scroll-margin-top: 90px; background: var(--green-soft); border: 1px solid #BFE0D3; border-radius: var(--radius); padding: 22px; }
.success h2 { margin: 0 0 6px; color: var(--green-dark); }
.success p { margin: 0 0 10px; }

/* ---------- help ---------- */
.help-cols { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--ink-2); }

/* ---------- prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #FBF6F1; padding: 30px 0 22px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.foot-grid h4 { margin: 0 0 8px; font-size: 14px; }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14px; padding: 4px 0; }
.foot-grid a:hover { color: var(--orange-dark); }
.foot-bottom { margin: 24px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- phone tab bar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: flex; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--ink-3); font-size: 11px; font-weight: 600; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--orange); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Netflix style browsing ---------- */
button.card { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.card .poster { transition: transform .18s ease, box-shadow .18s ease; }
.poster.m2::after { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12) 0 2px, transparent 3px) 0 0 / 14px 14px; }
.poster.m3::after { background: linear-gradient(90deg, rgba(255,200,87,.14) 0 6px, transparent 6px 18px, rgba(255,255,255,.07) 18px 22px, transparent 22px 34px) 0 0 / 34px 100%; }
.poster.m4::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 2px, transparent 2px 12px), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 12px); }
.poster-title { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.poster-sample { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--ink); padding: 2px 7px; border-radius: 20px; }
.poster-badge { top: 8px; left: 8px; }
.poster-hover { display: none; }
.card-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-head h2 small { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-left: 4px; }
.rail-wrap { position: relative; }
.rail-btn { display: none; }
.sample-note { background: #FFF8E1; border: 1px solid #F1DFA2; border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); margin: 18px 0 0; }
.browse-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.browse-count { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.selects select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; background: var(--card); font-size: 14px; font-weight: 600; }
#genre-chips { margin-top: 12px; }
.linkish { background: none; border: 0; color: var(--orange-dark); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.info-meta { color: var(--ink-2); font-size: 14px; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.age { display: inline-block; border: 1.5px solid var(--ink-2); border-radius: 5px; padding: 0 6px; font-weight: 800; font-size: 12px; color: var(--ink); line-height: 18px; }
a.tag { text-decoration: none; }

/* show info sheet */
body.no-scroll { overflow: hidden; }
.info { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.info[hidden] { display: none; }
.info-backdrop { position: absolute; inset: 0; background: rgba(20,14,10,.55); opacity: 0; transition: opacity .18s; }
.info-panel { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 20px 20px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(30px); opacity: 0; transition: transform .2s, opacity .2s; }
.info.open .info-backdrop { opacity: 1; }
.info.open .info-panel { transform: none; opacity: 1; }
.info-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.info-body { display: grid; gap: 16px; }
.info-poster { aspect-ratio: 16 / 9; border-radius: 14px; padding: 16px; }
.info-poster .poster-title { font-size: 24px; }
.info-text h2 { margin: 2px 0 8px; font-size: 26px; letter-spacing: -.4px; line-height: 1.15; }
.info-syn { font-size: 16px; margin: 0 0 14px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; font-size: 14px; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; }
.facts .muted { color: var(--ink-3); font-style: italic; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.info-actions .btn { flex: 1 1 140px; white-space: nowrap; }
.info-poster .poster-sample { right: auto; left: 12px; }

/* locked episode */
.locked-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; color: #fff; background: linear-gradient(160deg, #2b2725, #0d0b0a); }
.locked-screen b { font-size: 18px; }
.locked-screen span { color: #d8d1ca; font-size: 14px; }
.lock-icon { width: 34px; height: 30px; border: 3px solid #fff; border-radius: 6px; position: relative; margin-bottom: 14px; }
.lock-icon::before { content: ""; position: absolute; left: 50%; top: -17px; width: 18px; height: 16px; margin-left: -9px; border: 3px solid #fff; border-bottom: 0; border-radius: 10px 10px 0 0; }
.btn.light { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 8px; }
.show-info .row { margin-top: 26px; }


/* ---------- Netflix style home ---------- */
.home-top { padding-top: 14px; }
.home-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.home-chips::-webkit-scrollbar { display: none; }
.hchip { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.hchip:hover { border-color: var(--orange); color: var(--orange-dark); }
.feature { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; border-radius: 20px; padding: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(29,27,26,.22); }
.feature .feature-copy { position: relative; z-index: 2; width: 100%; color: #fff; text-align: center; }
.feature::after { opacity: .9; }
.feature-shade { display: none; }
.feature .feature-copy::before { content: ""; position: absolute; left: -20px; right: -20px; bottom: -20px; height: 150%; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.82) 10%, rgba(0,0,0,0)); }
.feature-brand { position: absolute; top: 16px; left: 16px; z-index: 2; width: 34px; height: 34px; }
.feature .poster-sample { top: 18px; right: 16px; }
.feature-tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.feature-title { font-size: clamp(32px, 9vw, 56px); line-height: 1.02; margin: 0 0 10px; letter-spacing: -1px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.feature-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 14px; color: #f1ebe5; margin: 0 0 8px; }
.age.light { color: #fff; border-color: rgba(255,255,255,.8); }
.feature-syn { display: none; font-size: 15px; color: #efe8e1; margin: 0 0 14px; }
.feature-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.feature-actions .btn { flex: 1 1 0; max-width: 220px; }
.feature-actions .btn-info { flex: 0 0 48px; padding: 0; font-family: Georgia, serif; font-style: italic; font-size: 20px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1ece7; }
.btn-glass { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.3); }
.tri { width: 0; height: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.cont .poster { aspect-ratio: 16 / 10; }
.cont-play { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 2; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); }
.cont-play::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.cont .poster-title { font-size: 14px; }
.cont-bar { position: absolute !important; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.3); z-index: 2; }
.cont-bar i { display: block; height: 100%; background: var(--orange); }
.intro { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 0; }
.intro .pillars { margin: 0; }
.intro h1 { font-size: clamp(30px, 6vw, 44px); }


/* ---------- life on the home page ---------- */
.phone-frame { display: block; text-decoration: none; transition: transform .25s; }
.phone-frame:hover { transform: rotate(1deg) scale(1.02); }
.phone-screen { background: linear-gradient(160deg, var(--c1, #1F7A5C) 0%, var(--c2, #0E3B2D) 100%); transition: background .6s; }
.phone-screen.swap .ps-title, .phone-screen.swap .ps-tag, .phone-screen.swap .ps-meta { animation: rise .5s ease-out both; }
.phone-screen.swap .ps-bar i { animation: fill 3.5s linear both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { right: 100%; } to { right: 0; } }
.ps-meta { position: relative; font-size: 11px; color: rgba(255,255,255,.85); font-weight: 600; }
.btn-pulse { box-shadow: 0 0 0 0 rgba(217,72,15,.45); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,72,15,.45); } 70% { box-shadow: 0 0 0 14px rgba(217,72,15,0); } 100% { box-shadow: 0 0 0 0 rgba(217,72,15,0); } }
.creator-band { margin: 34px 0 6px; border-radius: 18px; padding: 22px; background: linear-gradient(120deg, #FFF3EA 0%, #FFE6D3 55%, #EAF6F1 100%); border: 1px solid #F5D5BF; display: grid; gap: 16px; }
.creator-band h2 { margin: 4px 0 6px; font-size: 22px; letter-spacing: -.3px; }
.creator-band p { margin: 0; color: var(--ink-2); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) { .creator-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 28px 32px; } .cb-actions { justify-content: flex-end; } }


/* ---------- teasers ---------- */
.ps-hook { position: relative; font-size: 13px; font-style: italic; line-height: 1.3; color: #fff7ee; }
.phone-screen.swap .ps-hook { animation: rise .6s .1s ease-out both; }
.marquee { overflow: hidden; padding: 18px 0 6px; background: linear-gradient(180deg, var(--bg), #FBF3EC); border-bottom: 1px solid var(--line); }
.mq-row { display: flex; width: max-content; margin-bottom: 10px; }
.mq-row:hover .mq-track { animation-play-state: paused; }
.mq-track { display: flex; gap: 10px; padding-right: 10px; animation: mq 70s linear infinite; }
.mq-row.right .mq-track { animation-direction: reverse; animation-duration: 80s; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.mq-item { width: 150px; aspect-ratio: 3 / 4; flex: none; border: 0; cursor: pointer; text-align: left; font: inherit; padding: 10px; }
.mq-item .poster-title { font-size: 15px; }
.mq-hook { position: relative; z-index: 2; font-size: 11px; line-height: 1.3; color: #f6eee7; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mq-item:hover, .mq-item:focus-visible { transform: scale(1.05); transition: transform .15s; z-index: 3; }
.rail.teaser-rail { grid-auto-columns: 84%; }
.teaser { aspect-ratio: auto; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: #fff; border-radius: 18px; }
.teaser::before { background: linear-gradient(170deg, var(--c1) 0%, var(--c2) 75%); }
.teaser-tag { align-self: flex-start; font-size: 11px; font-weight: 800; background: var(--gold); color: var(--ink); padding: 3px 9px; border-radius: 20px; }
.teaser .poster-sample { top: 16px; right: 14px; }
.teaser-hook { font-size: 23px; line-height: 1.22; font-weight: 800; letter-spacing: -.3px; margin: 18px 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.teaser-foot { display: flex; flex-direction: column; gap: 2px; }
.teaser-foot b { font-size: 16px; }
.teaser-foot > span { font-size: 13px; color: #f1e9e2; }
.teaser-actions { display: flex; gap: 8px; margin-top: 12px; }
.tri.sm { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-left: 6px; vertical-align: middle; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.info-hook { font-size: 18px; font-weight: 700; font-style: italic; color: var(--ink); margin: 0 0 10px; }
@media (min-width: 640px) { .rail.teaser-rail { grid-auto-columns: 46%; } .mq-item { width: 170px; } }
@media (min-width: 900px) { .rail.teaser-rail { grid-auto-columns: calc((100% - 24px) / 3); } .teaser-hook { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .mq-row { width: auto; overflow-x: auto; } .mq-track[aria-hidden] { display: none; } }


/* ---------- cinematic scenes (futuristic, kinetic) ---------- */
.poster > .scene, .phone-screen > .scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.scene-svg { width: 100%; height: 100%; display: block; transform-origin: 50% 70%; }
.poster::after, .poster.m2::after, .poster.m3::after, .poster.m4::after {
  z-index: 1; background: linear-gradient(0deg, rgba(5,3,2,.88) 0%, rgba(5,3,2,.35) 38%, rgba(5,3,2,0) 62%);
}
.poster > *:not(.scene) { z-index: 2; }
.poster { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--shadow); }
.card:hover .poster, .card:focus-visible .poster, .mq-item:hover { box-shadow: 0 0 0 2px var(--orange), 0 0 26px rgba(255,122,61,.45); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); transform: translateX(-120%); }
.card:hover .scene::after, .kinetic .scene::after, .phone-screen .scene::after { animation: sweep 5.5s ease-in-out infinite; }
.kinetic .scene-svg, .phone-screen .scene-svg { animation: kb 18s ease-in-out infinite alternate; }
.card:hover .scene-svg { transform: scale(1.08); transition: transform 1.2s ease-out; }
/* small motions run only where the eye is: hero phone, teasers, info card, and a poster being hovered */
.spin { transform-origin: 150px 250px; }
.kinetic .tw, .phone-screen .tw, .card:hover .tw { animation: tw 3s ease-in-out infinite; }
.kinetic .trail, .phone-screen .trail, .card:hover .trail { animation: trail 2.6s linear infinite; }
.kinetic .fly, .phone-screen .fly, .card:hover .fly { animation: fly 4s ease-in-out infinite; }
.teaser .spin, .info-poster .spin, .phone-screen .spin { animation: spin 60s linear infinite; }
.mq-item .scene-svg { animation: none; }
.mq-item .tw, .mq-item .trail, .mq-item .fly { animation: none; }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
@keyframes tw { 50% { opacity: .15; } }
@keyframes trail { from { transform: translateX(0); } to { transform: translateX(420px); } }
@keyframes fly { 50% { transform: translate(6px, -10px); opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-screen::before { display: none; }
.phone-screen > *:not(.scene) { z-index: 2; }
.phone-screen > .ps-tag, .phone-screen > .ps-title, .phone-screen > .ps-hook, .phone-screen > .ps-meta, .phone-screen > .ps-bar { position: relative; }
.phone-screen { background: linear-gradient(160deg, var(--c1, #1F7A5C) 0%, var(--c2, #0E3B2D) 100%); }
.phone-screen > .scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,3,2,.9) 0%, rgba(5,3,2,.2) 45%, transparent 65%); }
.phone-screen .ps-play { z-index: 2; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35); }
.teaser::after { background: linear-gradient(180deg, rgba(5,3,2,.55) 0%, rgba(5,3,2,.25) 40%, rgba(5,3,2,.9) 100%) !important; }
.teaser { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 14px 34px rgba(29,27,26,.25); }
@media (prefers-reduced-motion: reduce) { .scene-svg, .scene::after, .tw, .trail, .fly, .spin { animation: none !important; } }


/* ---------- balanced home: mosaic and mood tiles ---------- */
.home-block { margin-top: 30px; }
.home-block .row-head { margin-bottom: 12px; }
.home-block .row-head h2 { font-size: 21px; margin: 0; letter-spacing: -.3px; }
.bento { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 190px; aspect-ratio: auto; padding: 14px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; }
.tile:hover { box-shadow: 0 0 0 2px var(--orange), 0 0 26px rgba(255,122,61,.4); }
.tile-big { grid-column: 1 / -1; min-height: 380px; padding: 20px; gap: 8px; }
.tile-big .feature-tag { align-self: flex-start; margin: 0; }
.tile-big-title { font-size: clamp(30px, 7vw, 46px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; }
.tile-big-hook { font-size: 17px; font-style: italic; color: #fff4ea; max-width: 520px; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #efe7df; }
.tile-play { align-self: flex-start; margin-top: 8px; }
.tile-hook { font-size: 15px; font-weight: 800; line-height: 1.25; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tile-title { font-size: 13px; color: #f1e9e2; font-weight: 600; }
.tile-title i { font-style: normal; color: var(--gold); }
.tile-creator { background: linear-gradient(140deg, #FFF3EA, #FFDCC4); color: var(--ink); border: 1px solid #F5CDB2; }
.tile-creator b { font-size: 19px; line-height: 1.15; }
.tile-creator > span:not(.btn):not(.eyebrow) { font-size: 13px; color: var(--ink-2); }
.tile-creator .btn, .tile-book .btn { align-self: flex-start; margin-top: 8px; }
.tile-book { background: radial-gradient(circle at 80% 10%, rgba(255,200,87,.35), transparent 50%), linear-gradient(150deg, #1F7A5C, #0B3326); }
.tile-book b { font-size: 19px; line-height: 1.15; }
.tile-book > span:not(.btn):not(.eyebrow) { font-size: 13px; color: #d9efe6; }
.eyebrow.light { color: var(--gold); }
.moods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mood { aspect-ratio: auto; min-height: 96px; padding: 12px; border-radius: 14px; text-decoration: none; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.mood::after { background: linear-gradient(0deg, rgba(5,3,2,.85), rgba(5,3,2,.2) 70%) !important; }
.mood-name { font-weight: 800; font-size: 17px; }
.mood-count { font-size: 12px; color: #eee5dd; }
.mood:hover { box-shadow: 0 0 0 2px var(--orange); }
.mood:hover .scene-svg { transform: scale(1.08); transition: transform 1s; }
a.teaser-hook { color: #fff; text-decoration: none; display: block; }
a.teaser-hook:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.mq-track { animation-duration: 120s; }
.mq-row.right .mq-track { animation-duration: 140s; }
.mq-row:active .mq-track, .mq-row:focus-within .mq-track { animation-play-state: paused; }
a.mq-item { display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; }
.pillars { margin-top: 30px; }
@media (min-width: 640px) {
  .moods { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-big { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .bento { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 225px 225px; }
  .tile-big { grid-column: 1; grid-row: 1 / span 2; min-height: 0; padding: 30px; }
  .tile { min-height: 0; }
}

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .rail { grid-auto-columns: 23%; }
  .feature { aspect-ratio: 16 / 9; }
  .feature-syn { display: block; }
  .info { align-items: center; }
  .info-panel { width: min(760px, 94vw); border-radius: 20px; padding: 22px; }
  .info-body { grid-template-columns: 240px 1fr; align-items: start; }
  .info-poster { aspect-ratio: 3 / 4; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .doors { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .eps { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .toast { bottom: 24px; }
  .topnav { display: flex; }
  .hero-in { grid-template-columns: 1.3fr 1fr; padding: 56px 0 60px; }
  .phone-frame { width: 250px; }
  .rail { grid-auto-columns: calc((100% - 72px) / 6.4); }
  .feature { aspect-ratio: 21 / 9; padding: 40px 44px; align-items: center; }
  .feature .feature-copy { text-align: left; max-width: 520px; }
  .feature .feature-copy::before { left: -44px; right: auto; width: 140%; top: -60px; bottom: -60px; height: auto; background: linear-gradient(90deg, rgba(0,0,0,.75) 20%, rgba(0,0,0,0)); }
  .feature-meta, .feature-actions { justify-content: flex-start; }
  .intro .hero-in { grid-template-columns: 1.3fr 1fr; }
  .intro .pillars { grid-template-columns: 1fr; }
  .rail-btn { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; z-index: 5; width: 44px; height: calc(100% - 60px); border: 0; background: rgba(255,252,249,.86); color: var(--ink); font-size: 34px; cursor: pointer; opacity: 0; transition: opacity .15s; }
  .rail-btn.prev { left: -12px; border-radius: 0 12px 12px 0; }
  .rail-btn.next { right: -12px; border-radius: 12px 0 0 12px; }
  .rail-wrap:hover .rail-btn { opacity: 1; }
  .rail-btn.hide { display: none; }
  .card:hover .poster, .card:focus-visible .poster { transform: scale(1.04); box-shadow: 0 14px 30px rgba(29,27,26,.25); }
  .poster-hover { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 12px 12px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); font-size: 12px; opacity: 0; transition: opacity .15s; }
  .card:hover .poster-hover, .card:focus-visible .poster-hover { opacity: 1; }
  .ph-meta { font-weight: 700; }
  .ph-genres { color: #e9e2db; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .browse-tools .selects { flex: 1; max-width: 560px; }
  .browse-tools { flex-direction: row; align-items: center; }
  .search { flex: 0 0 340px; }
  .show { grid-template-columns: 380px 1fr; align-items: start; gap: 40px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { padding: 52px 14px 14px; }
  .steps li::before { top: 14px; }
  .help-cols { grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
  .foot-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .phone-frame { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- static: no motion anywhere (owner decision, R05) ---------- */
.scene-svg, .scene::after, .tw, .trail, .fly, .spin, .live-dot, .btn-pulse, .phone-screen .ps-bar i,
.phone-screen.swap .ps-title, .phone-screen.swap .ps-tag, .phone-screen.swap .ps-meta, .phone-screen.swap .ps-hook, .view.active {
  animation: none !important;
}
.scene::after { display: none; }
.card:hover .scene-svg, .mood:hover .scene-svg { transform: none !important; }
.card:hover .poster, .card:focus-visible .poster, .mq-item:hover, .phone-frame:hover { transform: none !important; }
.ps-bar i { right: 60%; }

/* =====================================================================
   R06 THEME: deep navy and gold, from the owner's Afrisode mockups
   ===================================================================== */
:root {
  --bg: #0A1428;
  --card: #12203B;
  --card-2: #182A4A;
  --ink: #F5F0E8;
  --ink-2: #C7CFDD;
  --ink-3: #8D99B2;
  --line: #22344F;
  --gold: #E9B65C;
  --gold-hi: #F8D98B;
  --orange: #E9B65C;
  --orange-dark: #F2C877;
  --orange-soft: rgba(233,182,92,.12);
  --green: #2FA37C;
  --green-dark: #5CC9A2;
  --green-soft: rgba(47,163,124,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 26px rgba(0,0,0,.35);
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--orange-dark); }
.topbar { background: rgba(10,20,40,.92); border-bottom-color: var(--line); }
.brand-logo { height: 30px; width: auto; display: block; }
.topnav a { color: var(--ink-2); }
.topnav a:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.topnav a.active { background: var(--gold); color: #0A1428; border-radius: 20px; }
.btn-primary, .btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #0A1428; border-radius: 999px; }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-hi); }
.btn-green { background: var(--green); color: #fff; border-radius: 999px; }
.btn-ghost { color: var(--ink); border-color: var(--line); border-radius: 999px; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-outline-light { background: rgba(10,20,40,.35); color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn-outline-light:hover { border-color: #fff; }
.eyebrow { color: var(--gold); }
:focus-visible { outline-color: var(--gold-hi); }

/* photo hero */
.hero-photo { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; background: #081022; }
.hp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hp-img.scene-wrap svg { width: 100%; height: 100%; }
.hp-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0A1428 4%, rgba(10,20,40,.55) 40%, rgba(10,20,40,.05) 70%); }
.hp-copy { position: relative; z-index: 2; padding: 0 0 34px; }
.hp-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .4px; color: #0A1428; background: var(--gold); padding: 4px 11px; border-radius: 20px; }
.hp-title { font-size: clamp(40px, 11vw, 76px); line-height: .98; letter-spacing: -1.6px; margin: 12px 0 10px; color: #fff; text-shadow: 0 3px 20px rgba(0,0,0,.45); max-width: 640px; }
.hp-hook { font-size: 18px; font-style: italic; color: #F3EADF; margin: 0 0 8px; max-width: 520px; }
.hp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: #D9DFEA; margin: 0 0 16px; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.age { border-color: var(--ink-3); color: var(--ink); }

/* photos inside posters and tiles */
.scene.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.wide .poster { aspect-ratio: 16 / 10; }
.rail.wide-rail { grid-auto-columns: 62%; }
.poster { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), var(--shadow); }
.card:hover .poster, .card:focus-visible .poster { box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(233,182,92,.35); }
.card-name { color: var(--ink); }
.card-meta, .row-desc { color: var(--ink-3); }
.row-head h2 { color: var(--ink); }
.poster-sample { background: rgba(10,20,40,.75); color: var(--gold-hi); border: 1px solid rgba(233,182,92,.4); }

/* Watch the Book banner */
.book-banner { position: relative; display: flex; align-items: center; gap: 16px; justify-content: space-between; margin: 34px 0 4px; min-height: 150px; border-radius: 18px; overflow: hidden; padding: 20px; text-decoration: none; color: #fff; border: 1px solid rgba(233,182,92,.25); }
.book-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,40,.92) 0%, rgba(10,20,40,.55) 55%, rgba(10,20,40,.2)); }
.bb-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.bb-eyebrow { color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.bb-copy b { font-size: clamp(22px, 5vw, 32px); letter-spacing: -.5px; }
.bb-copy span:last-child { color: #E3E8F0; font-size: 14px; }
.bb-btn { position: relative; z-index: 1; flex: none; }

/* From page to screen */
.p2s-rail { grid-auto-columns: 92%; }
.p2s { display: grid; grid-template-columns: 1fr; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.p2s-book { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.book-cover { position: relative; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; padding: 10px 8px 8px 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(160deg, var(--c1, #444), var(--c2, #111)); box-shadow: 0 8px 18px rgba(0,0,0,.45), inset 4px 0 0 rgba(0,0,0,.35), inset 6px 0 0 rgba(255,255,255,.08); }
.book-cover b { font-size: 13px; line-height: 1.15; font-family: Georgia, "Times New Roman", serif; }
.bc-kind { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-hi); }
.bc-author { font-size: 10px; color: #eee3d6; }
.p2s-page { background: #F6EEDF; color: #2B2118; border-radius: 10px; padding: 10px 12px; font-family: Georgia, "Times New Roman", serif; }
.p2s-page p { margin: 4px 0 6px; font-size: 14px; line-height: 1.45; }
.p2s-label { font-family: var(--font); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #9A6A1E; }
.p2s-label.light { color: var(--gold-hi); }
.p2s-meta { font-family: var(--font); font-size: 11px; color: #7A6A58; }
.p2s-arrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.p2s-arrow::before, .p2s-arrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.p2s-arrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.p2s-screen { aspect-ratio: 16 / 9; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; }
.p2s-screen .p2s-label { position: absolute; top: 10px; left: 12px; }
.p2s-play { position: absolute; left: 50%; top: 45%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(233,182,92,.92); z-index: 3; }
.p2s-play::after { content: ""; position: absolute; left: 20px; top: 15px; border-left: 16px solid #0A1428; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.p2s-ep { font-weight: 800; font-size: 16px; }
.p2s-time { font-size: 12px; color: #dfe5ef; }
.p2s-screen:hover { box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(233,182,92,.35); }

/* surfaces that were light */
.pillar, .soon, .steps li, .faq details, .form-card, .door, .search input, .chip, .selects select, .ep, .tool, .hchip { background: var(--card); border-color: var(--line); color: var(--ink); }
.pillar span, .steps span, .door p, .faq details p, .prose p, .prose li, .lead { color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--gold); color: #0A1428; border-color: var(--gold); }
.door-orange { background: linear-gradient(180deg, rgba(233,182,92,.14), var(--card) 70%); border-color: rgba(233,182,92,.3); }
.door-green { background: linear-gradient(180deg, rgba(47,163,124,.18), var(--card) 70%); border-color: rgba(47,163,124,.35); }
.steps li::before { background: var(--gold); color: #0A1428; }
.ticks li::before { border-color: var(--green-dark); }
.field input, .field select, .field textarea { background: #0E1A31; border-color: #2A3D5E; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #6D7A94; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline-color: rgba(233,182,92,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { background: #2A1420; border-color: #E06C6C; }
.field .err, .form-msg.error, .check.invalid span { color: #FF9A9A; }
.check input { accent-color: var(--gold); }
.success { background: var(--green-soft); border-color: rgba(47,163,124,.4); }
.success h2 { color: var(--green-dark); }
.notice, .sample-note { background: rgba(233,182,92,.08); border-color: rgba(233,182,92,.25); color: var(--ink-2); }
.unlock { background: var(--green-soft); border-color: rgba(47,163,124,.35); }
.unlock p, .eps-head span, .show-meta, .info-meta { color: var(--ink-2); }
.ep.free { background: var(--green-soft); border-color: rgba(47,163,124,.4); }
.ep.locked { background: #0E1A31; color: var(--ink-3); }
.ep.current { background: var(--gold); border-color: var(--gold); color: #0A1428; }
.tool[aria-pressed="true"] { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.tag { background: var(--orange-soft); color: var(--gold-hi); }
.empty { background: var(--card); border-color: var(--line); color: var(--ink-2); }
.creator-band { background: radial-gradient(circle at 85% 0%, rgba(233,182,92,.25), transparent 55%), linear-gradient(120deg, #13233F, #1B2E52); border-color: rgba(233,182,92,.3); }
.creator-band p { color: var(--ink-2); }
.info-panel { background: var(--bg); border: 1px solid var(--line); }
.info-hook, .info-syn { color: var(--ink); }
.facts dt { color: var(--ink-3); }
.footer { background: #081022; border-top-color: var(--line); }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--gold-hi); }
.foot-grid h4 { color: var(--ink); }
.tabbar { background: rgba(8,16,34,.96); border-top-color: var(--line); }
.tabbar a { color: var(--ink-3); }
.tabbar a.active { color: #0A1428; }
.tabbar a.active svg { stroke: #0A1428; }
.tabbar a.active { background: var(--gold); border-radius: 22px; margin: 8px 4px; }
.toast { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.rail-btn { background: rgba(10,20,40,.88); color: var(--ink); }
.player { background: #050A15; }
.mood::after { background: linear-gradient(0deg, rgba(10,20,40,.9), rgba(10,20,40,.15) 70%) !important; }
#moods-slot { margin-top: 34px; }
#moods-slot .row-head { margin-bottom: 12px; }
#moods-slot .row-head h2 { font-size: 21px; margin: 0; }
.teaser-tag, .feature-tag { background: var(--gold); color: #0A1428; }

@media (min-width: 640px) {
  .rail.wide-rail { grid-auto-columns: 38%; }
  .p2s-rail { grid-auto-columns: 70%; }
}
@media (min-width: 900px) {
  .hero-photo { min-height: 560px; align-items: center; }
  .hp-img { object-position: center 30%; width: 100%; left: 0; }
  .hp-shade { background: linear-gradient(90deg, rgba(10,20,40,.82) 0%, rgba(10,20,40,.5) 30%, rgba(10,20,40,0) 55%), linear-gradient(0deg, #0A1428 0%, rgba(10,20,40,0) 24%); }
  .hp-copy { padding: 40px 0; }
  .rail.wide-rail { grid-auto-columns: calc((100% - 48px) / 4.3); }
  .p2s-rail { grid-auto-columns: calc((100% - 12px) / 2); }
  .p2s { grid-template-columns: 1.15fr 70px 1fr; align-items: center; }
  .p2s-arrow { flex-direction: column; }
  .p2s-arrow::before, .p2s-arrow::after { width: 1px; height: 30px; flex: none; background: linear-gradient(180deg, transparent, var(--gold)); }
  .p2s-arrow::after { background: linear-gradient(180deg, var(--gold), transparent); }
  .book-banner { padding: 30px 36px; min-height: 170px; }
}
.btn-white { background: #fff; color: #0A1428; border-radius: 999px; }
.btn-white:hover { background: #F3EEE6; }
.btn-glass { border-radius: 999px; }
@media (min-width: 900px) {
  .p2s-rail { grid-auto-columns: 74%; }
  .p2s { grid-template-columns: 1.2fr 74px 1fr; padding: 18px; }
  .p2s-book { grid-template-columns: 120px 1fr; }
  .p2s-page p { font-size: 15px; }
}

/* ---------- New & Coming ---------- */
.seg { display: inline-flex; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 4px; border-radius: 999px; margin: 4px 0 6px; }
.seg-a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.seg-a:hover { background: var(--gold); color: #0A1428; }
.new-badge, .coming-badge { position: absolute; z-index: 3; left: 8px; bottom: auto; top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; background: #E23D3D; color: #fff; padding: 3px 8px; border-radius: 20px; }
.coming-badge { background: var(--gold); color: #0A1428; }
.poster.has-new .poster-badge { display: none; }
.coming { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.coming-date { text-align: center; color: var(--ink-2); }
.coming-date span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }
.coming-date b { display: block; font-size: 30px; line-height: 1; color: var(--ink); }
.coming-body { display: grid; gap: 12px; }
.coming-art { aspect-ratio: 16 / 9; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; }
.coming-art .poster-title { font-size: 22px; }
.coming-text h3 { margin: 0 0 4px; font-size: 20px; }
.coming-hook { margin: 0 0 6px; font-style: italic; font-weight: 700; color: var(--ink); }
.coming-syn { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.remind { margin-top: 4px; }
.tabbar a span { white-space: nowrap; }
@media (min-width: 900px) {
  .coming-body { grid-template-columns: 360px 1fr; align-items: start; gap: 20px; }
  .coming { grid-template-columns: 70px 1fr; }
}
.rail, .chips, .home-chips { scrollbar-color: #2A3D5E transparent; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: #2A3D5E; border-radius: 6px; }
.rail::-webkit-scrollbar-track { background: transparent; }
/* ---------- Browse by country ---------- */
.countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.country { aspect-ratio: auto; min-height: 120px; padding: 12px; border-radius: 14px; text-decoration: none; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; }
.country::after { background: linear-gradient(0deg, rgba(10,20,40,.92), rgba(10,20,40,.2) 75%) !important; }
.ct-flag { position: absolute; top: 10px; left: 12px; font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.ct-name { font-weight: 800; font-size: 17px; }
.ct-sub { font-size: 12px; color: #E1E7F0; }
.country:hover { box-shadow: 0 0 0 2px var(--gold); }
.ct-head { margin-top: 30px; margin-bottom: 12px; }
.ct-head h2 { font-size: 21px; margin: 0; }
@media (min-width: 640px) { .countries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .countries { grid-template-columns: repeat(7, minmax(0, 1fr)); } .country { min-height: 140px; } }
@media (min-width: 900px) { .ct-head + .countries { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ---------- R08: kente band, book section, language picker ---------- */
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3;
  background: repeating-linear-gradient(90deg, #E9B65C 0 26px, #0A1428 26px 30px, #1F7A5C 30px 44px, #0A1428 44px 48px, #B3261E 48px 60px, #0A1428 60px 64px); opacity: .9; }
.book-section { margin-top: 30px; }
.book-section .row-head h2 { font-size: 21px; margin: 0; }
.book-section .book-banner { margin-top: 12px; min-height: 190px; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.lang svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; flex: none; }
.lang select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; padding-right: 14px; cursor: pointer; }
.lang select option { background: #12203B; color: #F5F0E8; }
.lang::after { content: ""; position: absolute; right: 12px; top: 17px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ink-3); pointer-events: none; }
.lang-cap { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.topbar-cta { margin-left: 10px; }
.lang { margin-left: auto; }
.lang-note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }
@media (max-width: 899px) { .lang-cap { display: none; } .lang { padding: 0 8px; } .lang select { font-size: 13px; max-width: 88px; } .topbar-cta { padding: 0 12px; font-size: 13px; } }
@media (max-width: 380px) { .topbar-cta { display: none; } }
.btn, .topnav a { white-space: nowrap; }
.topnav { gap: 2px; margin-left: 4px; }
.topnav a { padding: 8px 10px; font-size: 14px; }
@media (max-width: 1279px) { .lang-cap { display: none; } }
@media (max-width: 899px) {
  .topbar-in { gap: 10px; }
  .topbar-cta { padding: 0 10px; font-size: 12px; min-height: 36px; }
  .lang { height: 36px; }
  .lang select { max-width: 74px; font-size: 12px; text-overflow: ellipsis; }
  .brand-logo { height: 26px; }
}
.brand { flex: none; }

/* ---------- R09: read and watch ---------- */
a.p2s { text-decoration: none; color: var(--ink); cursor: pointer; transition: border-color .15s; }
a.p2s:hover { border-color: var(--gold); }
.p2s-cta { grid-column: 1 / -1; justify-self: end; font-weight: 800; font-size: 14px; color: var(--gold-hi); }
.flow-steps { list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: none; }
.flow-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.flow-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #22344F; color: var(--ink); font-size: 12px; }
.flow-steps li.on { border-color: var(--gold); color: var(--ink); }
.flow-steps li.on span { background: var(--gold); color: #0A1428; }
.flow-steps li.done span { background: var(--green); color: #fff; }
.book-head { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin: 8px 0 4px; }
.book-cover.big { width: 96px; }
.book-cover.big b { font-size: 14px; }
.book-head .page-title { margin: 2px 0 4px; }
.book-by { margin: 0 0 6px; color: var(--ink-2); font-size: 14px; }
.book-adapt { margin: 0; color: var(--ink-2); font-size: 14px; }
.ch-pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; }
.ch-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.ch-pill b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #22344F; font-size: 13px; }
.ch-pill.on { border-color: var(--gold); }
.ch-pill.on b { background: var(--gold); color: #0A1428; }
.ch-pill.locked { color: var(--ink-3); }
.rw-switch { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 4px 0 14px; }
.rw-switch button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 800; padding: 9px 22px; border-radius: 999px; cursor: pointer; }
.rw-switch button[aria-selected="true"] { background: var(--gold); color: #0A1428; }
.rw { display: grid; gap: 18px; }
.rw.mode-read .watch-panel, .rw.mode-watch .paper { display: none; }
.paper { background: #F6EEDF; color: #2B2118; border-radius: 14px; padding: 22px 22px 18px; font-family: Georgia, "Times New Roman", serif; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.paper-kicker { font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #9A6A1E; margin: 0; }
.paper-kicker.light { color: var(--gold); }
.paper h2 { font-size: 26px; margin: 4px 0 14px; color: #1d150e; }
.paper p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.paper-foot { font-family: var(--font); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #E2D3B6; padding-top: 14px; margin-top: 6px; font-size: 13px; color: #7A6A58; }
.watch-panel h2 { margin: 4px 0 12px; font-size: 24px; }
.player.small { max-width: 340px; margin: 0; }
.after-watch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.after-watch.ready .btn-gold { box-shadow: 0 0 0 3px rgba(233,182,92,.35); }
.read-watch { margin: 0 0 12px; }
@media (min-width: 900px) {
  .rw-switch { display: none; }
  .rw, .rw.mode-read, .rw.mode-watch { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .rw .paper, .rw .watch-panel { display: block !important; }
  .book-head { grid-template-columns: 120px 1fr; }
  .book-cover.big { width: 120px; }
  .paper { padding: 30px 34px 22px; }
}

/* =====================================================================
   R09 NETFLIX STYLE GRID: big posters, title lettering on the art,
   nothing underneath, tight spacing, large row titles
   ===================================================================== */
.row { margin: 26px 0 4px; }
.row-head h2, .home-block .row-head h2, #moods-slot .row-head h2, .ct-head h2, .book-section .row-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; color: #fff; }
.row-head a { font-size: 13px; }
.row-desc { margin: 0 0 10px; }
.rail { gap: 8px; grid-auto-columns: 31%; padding-top: 4px; }
.rail.wide-rail { grid-auto-columns: 64%; }
.grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { gap: 0; }
.card .poster { aspect-ratio: 2 / 3; border-radius: 6px; padding: 8px; justify-content: flex-end; align-items: center; container-type: inline-size; }
.card.wide .poster { aspect-ratio: 16 / 9; align-items: flex-start; }
.card .card-name, .card .card-meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.card.cont .card-name, .card.cont .card-meta { position: static; width: auto; height: auto; clip: auto; margin-top: 6px; font-size: 13px; }
.card.cont .card-meta { font-size: 12px; }
.card .poster::after { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,0) 55%) !important; }

/* title lettering: a different poster style for each show family */
.card .poster .poster-title { width: 100%; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); margin-bottom: 4px; }
.card .poster.m1 .poster-title { font-family: Impact, "Haettenschweiler", "Arial Narrow Bold", "sans-serif-condensed", "Roboto Condensed", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 15cqw; line-height: .92; letter-spacing: .5px; font-stretch: condensed; }
.card .poster.m2 .poster-title { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 12cqw; line-height: 1.02; }
.card .poster.m3 .poster-title { font-family: var(--font); text-transform: uppercase; font-weight: 300; font-size: 8.5cqw; letter-spacing: .28em; line-height: 1.25; border-top: 1px solid rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.6); padding: 4px 0; }
.card .poster.m4 .poster-title { font-family: var(--font); font-weight: 900; font-size: 13cqw; line-height: .95; letter-spacing: -.04em; }
.card.wide .poster .poster-title { text-align: left; font-size: 7.5cqw; letter-spacing: normal; border: 0; padding: 0; position: absolute; left: 10px; right: 10px; bottom: 8px; width: auto; }
.card.wide .poster.m1 .poster-title { font-size: 8.5cqw; }
.card.wide .poster.m3 .poster-title { font-size: 5cqw; letter-spacing: .2em; }

/* badges */
.ra-badge { position: absolute !important; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 4 !important; background: #E50914; color: #fff; font-weight: 800; font-size: 9.5cqw; padding: 3px 8px; border-radius: 4px 4px 0 0; white-space: nowrap; }
.card .poster:has(.ra-badge) .poster-title { margin-bottom: 14cqw; }
.card.wide .ra-badge { font-size: 4.5cqw; left: auto; right: 8px; transform: none; bottom: 8px; border-radius: 4px; }
.card .poster-sample { top: 5px; right: 5px; font-size: 8px; padding: 1px 5px; opacity: .8; }
.card .poster-badge { top: 5px; left: 5px; font-size: 9px; padding: 2px 6px; }
.card .poster-hover { display: none !important; }
.card:hover .poster, .card:focus-visible .poster { transform: scale(1.03) !important; transition: transform .15s; box-shadow: 0 0 0 2px #fff, 0 10px 30px rgba(0,0,0,.6); }
.soon { aspect-ratio: 2 / 3; border-radius: 6px; padding: 10px; }

@media (min-width: 640px) {
  .rail { grid-auto-columns: 22%; }
  .rail.wide-rail { grid-auto-columns: 36%; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .row-head h2, .home-block .row-head h2, #moods-slot .row-head h2, .ct-head h2, .book-section .row-head h2 { font-size: 24px; }
  .rail { grid-auto-columns: calc((100% - 56px) / 7.3); }
  .rail.wide-rail { grid-auto-columns: calc((100% - 32px) / 4.4); }
  .grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* ---------- R09: hero text never covers the face; page-to-screen widths ---------- */
.hp-bg { display: none; }
.hp-img { object-position: 38% 18%; }
@media (min-width: 900px) {
  .hp-bg { display: block; position: absolute; top: -40px; left: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; object-position: 20% 40%; filter: blur(28px) brightness(.42) saturate(1.15); }
  .hp-img { left: 38%; width: 62%; object-position: 40% 25%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }
  .hp-shade { background: linear-gradient(90deg, rgba(10,20,40,.7) 0%, rgba(10,20,40,.3) 34%, rgba(10,20,40,0) 50%), linear-gradient(0deg, #0A1428 0%, rgba(10,20,40,0) 24%); }
  .hp-title { font-size: clamp(44px, 4.4vw, 64px); max-width: 33vw; }
  .hp-hook { max-width: 33vw; }
}
.rail.p2s-rail { grid-auto-columns: 92%; }
@media (min-width: 640px) { .rail.p2s-rail { grid-auto-columns: 70%; } }
@media (min-width: 900px) { .rail.p2s-rail { grid-auto-columns: 74%; } }
@media (max-width: 899px) {
  .hero-photo { display: block; min-height: 0; }
  .hp-img { position: relative; inset: auto; display: block; width: 100%; height: 62vw; max-height: 460px; min-height: 240px; object-position: 42% 22%; }
  .hp-shade { top: auto; bottom: auto; height: 0; }
  .hero-photo .hp-img + .hp-shade { position: absolute; left: 0; right: 0; top: 0; height: 62vw; max-height: 460px; min-height: 240px; background: linear-gradient(0deg, #0A1428 0%, rgba(10,20,40,0) 30%); }
  .hp-copy { padding: 6px 0 30px; }
  .hp-title { font-size: clamp(34px, 9vw, 52px); margin-top: 10px; }
}
.card { position: relative; }

/* ---------- R09: share and social ---------- */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 14px; }
.share-row > span { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.sh { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-family: inherit; }
.sh.wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.sh.fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.sh.x { background: #000; border-color: #333; color: #fff; }
.sh:hover { filter: brightness(1.1); }
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.follow h4 { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.follow p { margin: 0; color: var(--ink-2); font-size: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: #0E1A31; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.socials a:hover { border-color: var(--gold); color: var(--gold-hi); }
.socials svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 0; }
.socials svg rect, .socials svg circle[fill="none"] { stroke-width: 2; }
.scene-note { margin: -6px 0 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- R11: fill wide screens ---------- */
@media (min-width: 1400px) { .wrap { width: min(100% - 96px, 1440px); } }
#view-book { position: relative; overflow: hidden; }
.book-backdrop { position: absolute; left: 0; right: 0; top: 0; height: 760px; z-index: 0; background: linear-gradient(160deg, var(--c1, #333), var(--c2, #111)); }
.book-backdrop img, .book-backdrop svg { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(22px) brightness(.5) saturate(1.2); transform: scale(1.1); }
.book-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,.35) 0%, rgba(10,20,40,.75) 60%, #0A1428 100%); }
#book-root { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .player.small { max-width: 420px; }
  .rw, .rw.mode-read, .rw.mode-watch { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

/* ---------- R11b: fill the space under the page ---------- */
.book-backdrop { height: 1100px; }
.scene-strip { margin-top: 18px; }
.ss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ss-card { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: #111; border: 2px solid transparent; color: #fff; text-decoration: none; }
.ss-card.on { border-color: var(--gold); }
.ss-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ss-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(180deg, transparent, rgba(5,10,22,.95) 45%); font-size: 12px; line-height: 1.35; }
.ss-meta b { display: block; color: var(--gold); font-size: 12px; margin-bottom: 4px; }
.ss-meta q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: italic; }
.player.small video { background: #000; object-fit: cover; }
@media (max-width: 899px) { .rw.mode-watch .scene-strip { display: none; } }
