/* AstroHealX — Epic Stories (cinematic storybook). Palette: warm gold, saffron, deep blue, earth. */
.ep-wrap { max-width: var(--page-w); margin: 0 auto; }
.ep-wrap .eyebrow a, .ep-wrap a.eyebrow { text-decoration: none; }
.ep-h2 { font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; margin: 28px 0 12px; }
.ep-head { padding: 18px 0 6px; max-width: 900px; } .ep-head h1 { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 4px 0 8px; line-height: 1.12; }
.ep-head p { color: var(--fg-2); }
/* nav strip */
.ep-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0 18px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: sticky; top: 64px; z-index: 5; backdrop-filter: blur(10px); }
.ep-nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--fg-2); font-size: .9rem; } .ep-nav a:hover { color: var(--fg); background: var(--bg-2); } .ep-nav a.on { background: var(--gold); color: #1b1f3a; font-weight: 600; }
.ep-search { margin-left: auto; } .ep-search input { font: inherit; font-size: .88rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); width: 190px; }
/* hero */
.ep-hero { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.ep-hero .ep-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,34,.05) 20%, rgba(7,10,34,.65) 60%, rgba(7,10,34,.92) 100%); }
.ep-hero-text { position: relative; z-index: 1; padding: 36px 34px 30px; max-width: 920px; }
.ep-hero-text .eyebrow { color: var(--gold-2); }
.ep-hero-text h1 { font-family: var(--font-display, Georgia, serif); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; margin: 8px 0 10px; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.ep-hero-text h1 small { display: block; font-size: .42em; font-weight: 400; color: #f3e6c0; margin-top: 8px; font-family: var(--font-body); letter-spacing: .01em; }
.ep-hero-text p { color: #efe6d0; font-size: 1.02rem; line-height: 1.6; max-width: 760px; }
.ep-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; } .ep-hero-actions .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); } .ep-hero-actions .btn-primary { background: var(--gold); color: #1b1f3a; border-color: var(--gold); } .ep-hero-actions .small { color: #e8dcbd; }
.ep-hub-hero { min-height: 480px; }
/* epic cards + tiles */
.ep-epics { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; margin: 10px 0 22px; }
.ep-epic { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); transition: transform .18s, box-shadow .18s; } .ep-epic:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.ep-epic-art { aspect-ratio: 16/8; overflow: hidden; } .ep-epic-art .ep-hero-img, .ep-epic-art svg, .ep-epic-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-epic-body { padding: 16px 18px 18px; } .ep-epic-body h2 { font-family: var(--font-display, Georgia, serif); font-size: 1.7rem; margin: 2px 0 6px; } .ep-epic-body p { color: var(--fg-2); font-size: .95rem; } .ep-epic-body .btn { margin-top: 10px; }
.ep-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 6px 0 22px; }
.ep-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; color: inherit; transition: border-color .15s; } .ep-tile:hover { border-color: var(--gold); } .ep-tile-ic { font-size: 1.5rem; color: var(--gold); } .gita-tile { margin: 10px 0 14px; }
.ep-foot { max-width: 980px; }
/* progress */
.ep-prog { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 10px 0 6px; } .ep-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e8873a); border-radius: 6px; transition: width .4s; } .ep-prog.big { height: 10px; margin: 14px 0 4px; }
/* timeline */
.ep-timeline { position: relative; padding-left: 22px; border-left: 2px solid var(--line); margin: 10px 0 10px 10px; }
.ep-part { position: relative; margin: 0 0 26px; } .ep-part::before { content: ''; position: absolute; left: -30px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--gold); } .ep-part.done::before { background: var(--gold); }
.ep-part-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; } .ep-part-head h3 { font-family: var(--font-display, Georgia, serif); margin: 0; font-size: 1.25rem; } .ep-part-n { font-size: .75rem; color: var(--gold); font-weight: 700; letter-spacing: .08em; }
.ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ep-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); transition: transform .16s, border-color .16s; } .ep-card:hover { transform: translateY(-2px); border-color: var(--gold); } .ep-card.done { opacity: .82; } .ep-card.done h4::before { content: '✓ '; color: var(--good); }
.ep-card-media, .ep-media, .ep-card-media svg, .ep-media svg { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; margin: 0; } .ep-card-media img, .ep-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; } .ep-media figcaption, .ep-card-media figcaption { font-size: .7rem; color: var(--muted); padding: 2px 8px; }
.ep-card-body { padding: 10px 12px 12px; } .ep-card-body h4 { margin: 2px 0 4px; font-size: 1.02rem; font-family: var(--font-display, Georgia, serif); } .ep-card-body p { margin: 0; color: var(--fg-2); }
.ep-plan { margin: 18px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .ep-plan summary { cursor: pointer; font-weight: 600; } .ep-plan ol { margin: 10px 0 6px; padding-left: 20px; } .ep-plan li { margin: 4px 0; }
/* episode page */
.ep-ep-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.ep-ep-hero-media { position: absolute; inset: 0; margin: 0; } .ep-ep-hero-media img, .ep-ep-hero-media svg { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto; } .ep-ep-hero-media figcaption { position: absolute; right: 12px; top: 10px; font-size: .7rem; color: #fff; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 999px; }
.ep-ep-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,34,0) 25%, rgba(7,10,34,.7) 65%, rgba(7,10,34,.95)); }
.ep-ep-hero-text { position: relative; z-index: 1; padding: 34px; max-width: 900px; } .ep-ep-hero-text .eyebrow { color: var(--gold-2); } .ep-ep-hero-text h1 { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.8rem, 4vw, 3rem); margin: 6px 0 10px; line-height: 1.08; text-shadow: 0 4px 24px rgba(0,0,0,.5); } .ep-num { display: block; font-size: .4em; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.ep-hook { font-size: 1.15rem; font-style: italic; color: #f3e6c0; max-width: 720px; }
.ep-scenes { display: flex; flex-direction: column; gap: 22px; margin: 8px 0 26px; }
.ep-scene { display: grid; grid-template-columns: minmax(280px, 46%) 1fr; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.ep-scene:nth-child(even) { grid-template-columns: 1fr minmax(280px, 46%); } .ep-scene:nth-child(even) .ep-scene-media { order: 2; }
.ep-scene.seen { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.ep-scene-media { position: relative; cursor: pointer; } .ep-scene-media .ep-media { aspect-ratio: 16/10; } .ep-scene-media .ep-media img, .ep-scene-media .ep-media svg { aspect-ratio: 16/10; height: 100%; } .ep-scene-media:hover img, .ep-scene-media:hover svg { filter: brightness(1.08); }
.ep-scene-n { position: absolute; left: 12px; top: 12px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(7,10,34,.6); color: var(--gold-2); padding: 4px 10px; border-radius: 999px; }
.ep-scene-text { padding: 20px 22px 16px 4px; } .ep-scene:nth-child(even) .ep-scene-text { padding: 20px 4px 16px 22px; } .ep-scene-text p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 12px; }
.ep-scene-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .ep-scene-btns { display: flex; gap: 6px; }
.ep-chips { display: flex; flex-wrap: wrap; gap: 6px; } .ep-chips a, .ep-chips span { font-size: .78rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg-2); background: var(--bg-2); } .ep-chips a:hover { border-color: var(--gold); color: var(--fg); }
a.ep-ch { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--gold); } a.ep-ch:hover { color: var(--gold); }
.ep-veil summary { cursor: pointer; color: var(--warn); font-size: .92rem; padding: 8px 12px; border: 1px dashed var(--warn); border-radius: 10px; } .ep-veil[open] summary { margin-bottom: 8px; } .ep-veil.light summary { color: #ffd9a0; border-color: #ffd9a0; }
.btn.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 25%, var(--panel)); }
/* ending */
.ep-ending { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; background: linear-gradient(180deg, var(--panel), transparent); margin-bottom: 20px; } .ep-ending h2 { font-family: var(--font-display, Georgia, serif); margin: 0 0 14px; }
.ep-end-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; } .ep-end-grid p { margin: 4px 0 0; font-size: .97rem; } .ep-end-q { border-left: 3px solid var(--gold); padding-left: 12px; } .ep-end-q p { font-style: italic; }
.ep-wisdom { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); } .ep-wisdom p { margin: 6px 0 0; }
.ep-quiz, .ep-note { margin: 16px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; } .ep-quiz summary, .ep-note summary { cursor: pointer; font-weight: 600; }
.ep-q { margin: 12px 0; } .ep-q p { margin: 0 0 6px; } .ep-q-opts { display: flex; flex-wrap: wrap; gap: 6px; } .ep-q-opts .btn.good { border-color: var(--good); background: color-mix(in srgb, var(--good) 25%, var(--panel)); } .ep-q-opts .btn.bad { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 25%, var(--panel)); } .ep-q-res { margin-top: 4px; color: var(--fg-2); }
.ep-note textarea { width: 100%; font: inherit; font-size: .92rem; margin-top: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.ep-end-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.ep-quote { margin: 10px 0; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--bg-2); font-family: var(--font-display, Georgia, serif); font-size: 1.1rem; font-style: italic; border-radius: 0 10px 10px 0; }
/* characters */
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.ch-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); transition: transform .16s, border-color .16s; } .ch-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.ch-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; } .ch-mono { position: relative; display: grid; place-items: center; } .ch-bd { position: absolute; inset: 0; width: 100%; height: 100%; } .ch-mono span { position: relative; font-family: var(--font-display, Georgia, serif); font-size: 3.4rem; color: #fff6d6; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.ch-body { padding: 10px 12px; } .ch-body h4 { margin: 0 0 2px; font-family: var(--font-display, Georgia, serif); } .ch-body p { margin: 0; }
.ch-card.role-antagonist { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); } .ch-card.role-tragic { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.ch-detail { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; } .ch-side .ch-img { border-radius: 16px; } .ch-tags { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; } .ch-main h1 { font-family: var(--font-display, Georgia, serif); font-size: 2.2rem; margin: 0 0 4px; }
.ch-rel { width: 100%; height: auto; color: var(--fg); } .ch-rel text { pointer-events: none; }
/* wisdom / gita */
.wis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; } .wis-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--panel); } .wis-card h3 { margin: 4px 0 6px; font-family: var(--font-display, Georgia, serif); } .wis-card p { color: var(--fg-2); font-size: .95rem; } .wis-ic { font-size: 1.5rem; color: var(--gold); }
.wis-list { display: flex; flex-direction: column; gap: 8px; } .wis-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--panel); } .wis-row:hover { border-color: var(--gold); } .wis-row span:nth-child(2) { color: var(--fg-2); font-size: .95rem; }
.gita-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; } .gita-card { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--panel); } .gita-card:hover { border-color: var(--gold); } .gita-card p { margin: 4px 0 0; } .gita-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1b1f3a; font-weight: 700; }
.gita-ch h1 { font-family: var(--font-display, Georgia, serif); font-size: 2rem; margin: 4px 0 12px; }
/* compare */
.cmp-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; } .cmp { width: 100%; border-collapse: collapse; min-width: 640px; } .cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; } .cmp thead th { background: var(--panel); font-family: var(--font-display, Georgia, serif); font-size: 1.1rem; } .cmp tbody th { width: 180px; color: var(--gold); font-weight: 600; font-size: .9rem; }
/* map */
.ep-map { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(280px, 1fr); gap: 20px; align-items: start; } .ep-map svg { width: 100%; height: auto; color: var(--fg); border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); } .ep-map svg text { font-family: var(--font-body); } .ep-map-list li { margin: 8px 0; }
/* journey */
.jn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 6px 0 14px; } .jn-stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--panel); text-align: center; } .jn-stat b { display: block; font-size: 1.9rem; font-family: var(--font-display, Georgia, serif); color: var(--gold); } .jn-stat span { font-size: .8rem; color: var(--fg-2); }
.jn-cal { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; } .jn-cal > span { width: 14px; height: 14px; border-radius: 4px; background: var(--line); } .jn-cal > span.on { background: var(--gold); } .jn-cal .small { width: auto; height: auto; background: none; margin-left: 6px; }
.jn-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; } .jn-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); text-decoration: none; color: inherit; } .jn-card:hover { border-color: var(--gold); } .jn-card-media, .jn-card-media svg, .jn-card-media img { width: 120px; height: 90px; object-fit: cover; margin: 0; aspect-ratio: auto; } .jn-card-media figcaption { display: none; } .jn-card.done { padding: 16px; grid-template-columns: 1fr; }
.jn-ach { display: flex; flex-wrap: wrap; gap: 8px; } .jn-ach span { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .88rem; } .jn-ach span.on { color: var(--fg); border-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, transparent); } .jn-ach i { font-style: normal; color: var(--gold); }
.jn-bm { display: grid; grid-template-columns: 160px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 8px; text-decoration: none; color: inherit; background: var(--panel); align-items: center; } .jn-bm-media, .jn-bm-media img, .jn-bm-media svg { width: 160px; height: 100px; object-fit: cover; margin: 0; aspect-ratio: auto; } .jn-bm-media figcaption { display: none; } .jn-bm p { margin: 2px 0 0; }
.jn-set { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); max-width: 640px; }
.ep-hits { display: flex; flex-direction: column; gap: 8px; } .ep-hit { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--panel); } .ep-hit b { display: block; } .ep-hit p { margin: 4px 0 0; color: var(--fg-2); }
/* ---------- story mode ---------- */
body.ep-story-open { overflow: hidden; }
.ep-story { position: fixed; inset: 0; z-index: 1000; background: #05071c; color: #fff; display: grid; grid-template-rows: auto 1fr auto; font-family: var(--font-body); }
.ep-s-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(5,7,28,.9); border-bottom: 1px solid rgba(255,255,255,.08); } .ep-s-top .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.ep-s-title { display: flex; flex-direction: column; min-width: 0; } .ep-s-title b { font-family: var(--font-display, Georgia, serif); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ep-s-title .small { color: #d9ccaa; }
.ep-s-dots { margin-left: auto; display: flex; gap: 5px; } .ep-s-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; } .ep-s-dots i.seen { background: rgba(226,192,103,.5); } .ep-s-dots i.on { background: var(--gold); transform: scale(1.3); }
.ep-s-stage { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.ep-s-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: epKen 28s ease-in-out infinite alternate; }
@keyframes epKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.ep-s-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,28,.15) 0%, rgba(5,7,28,0) 30%, rgba(5,7,28,.35) 60%, rgba(5,7,28,.92) 100%); }
.ep-s-text { position: relative; z-index: 2; max-width: 920px; width: 100%; max-height: 100%; overflow: auto; padding: 26px 70px 22px; animation: epIn .5s ease-out; scrollbar-width: thin; } .ep-s-text.nosubs .ep-s-p { opacity: 0; } .ep-s-text.nosubs:hover .ep-s-p { opacity: 1; }
@keyframes epIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ep-s-p { font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.65; margin: 0 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,.8); color: #fbf4e2; } .ep-s-p span { transition: color .2s, background .2s; border-radius: 4px; } .ep-s-p span.on { color: #fff; background: rgba(226,192,103,.28); box-shadow: 0 0 0 4px rgba(226,192,103,.28); }
.ep-s-text .ep-chips a { background: rgba(255,255,255,.08); color: #efe6d0; border-color: rgba(255,255,255,.25); }
.ep-s-full { position: absolute; right: 16px; top: 14px; z-index: 3; background: rgba(5,7,28,.5); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; }
.ep-s-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(5,7,28,.45); color: #fff; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; line-height: 1; } .ep-s-arrow.l { left: 14px; } .ep-s-arrow.r { right: 14px; } .ep-s-arrow:disabled { opacity: .25; cursor: default; } .ep-s-arrow:hover:not(:disabled) { background: var(--gold); color: #1b1f3a; }
.ep-s-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(5,7,28,.95); border-top: 1px solid rgba(255,255,255,.08); } .ep-s-bar .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); } .ep-s-bar .btn.on { background: rgba(226,192,103,.3); border-color: var(--gold); } .ep-s-bar .btn-primary { background: var(--gold); color: #1b1f3a; border-color: var(--gold); }
.ep-s-rate { font: inherit; font-size: .85rem; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 6px 8px; } .ep-s-rate option { color: #000; }
.ep-s-label { margin-left: auto; color: #b8ad90; }
.ep-story.imgonly .ep-s-text, .ep-story.imgonly .ep-s-shade { display: none; }
.ep-s-end { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; } .ep-s-end .ep-s-bg { animation: none; } .ep-s-end-card { position: relative; z-index: 2; max-width: 760px; background: rgba(5,7,28,.82); border: 1px solid rgba(226,192,103,.4); border-radius: 20px; padding: 26px 28px; backdrop-filter: blur(8px); } .ep-s-end-card h2 { font-family: var(--font-display, Georgia, serif); margin: 4px 0 12px; } .ep-s-end-card p { color: #efe6d0; } .ep-s-q { font-style: italic; border-left: 3px solid var(--gold); padding-left: 12px; } .ep-s-end-card .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); } .ep-s-end-card .btn-primary { background: var(--gold); color: #1b1f3a; border-color: var(--gold); }
/* responsive */
@media (max-width: 860px) {
  .ep-scene, .ep-scene:nth-child(even) { grid-template-columns: 1fr; } .ep-scene:nth-child(even) .ep-scene-media { order: 0; } .ep-scene-text, .ep-scene:nth-child(even) .ep-scene-text { padding: 4px 16px 16px; }
  .ch-detail { grid-template-columns: 1fr; } .ch-side .ch-img { max-width: 260px; } .ep-map { grid-template-columns: 1fr; } .wis-row { grid-template-columns: 1fr; gap: 4px; }
  .ep-hero, .ep-ep-hero { min-height: 340px; } .ep-hero-text, .ep-ep-hero-text { padding: 22px 18px 20px; } .ep-nav { top: 56px; } .ep-search { margin-left: 0; width: 100%; } .ep-search input { width: 100%; }
  .ep-s-text { padding: 16px 16px 12px; } .ep-s-arrow { display: none; } .ep-s-bar { gap: 6px; } .ep-s-label { display: none; } .ep-s-dots { display: none; }
}
@media (max-width: 480px) { .ep-s-bar .btn { padding: 6px 9px; font-size: .82rem; } .jn-card, .jn-bm { grid-template-columns: 1fr; } .jn-card-media, .jn-card-media img, .jn-card-media svg, .jn-bm-media, .jn-bm-media img, .jn-bm-media svg { width: 100%; height: 140px; } }
@media (prefers-reduced-motion: reduce) { .ep-s-bg { animation: none; } .ep-s-text { animation: none; } }
@media print { .ep-story, .ep-nav, .ep-s-bar { display: none !important; } }

/* video */
.ep-video { margin: 0 0 22px; padding: 16px 18px 12px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 18px; background: var(--panel); }
.ep-video-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .ep-video-head h2 { font-family: var(--font-display, Georgia, serif); margin: 4px 0 0; font-size: 1.35rem; } .ep-video-ctl { display: flex; gap: 6px; flex-wrap: wrap; }
.ep-player { width: 100%; aspect-ratio: 16/9; background: #05071c; border-radius: 12px; display: block; }
.ep-vbadge { color: var(--gold); font-weight: 600; }

/* banner pictures: keep the top of the artwork (where the faces are) in view, and give wide screens a taller banner */
@media (min-width: 861px) { .ep-hero, .ep-hub-hero, .ep-ep-hero { min-height: clamp(460px, min(42vw, 88vh), 820px); } }
.ep-hero .ep-hero-img, .ep-ep-hero-media img { object-position: 50% 0; }
.ep-epic-art img, .ep-card-media img, .ep-media img, .jn-card-media img, .jn-bm-media img, .ep-s-bg { object-position: 50% 25%; }
