@charset "UTF-8";

:root {
  --bg: #06070b;
  --bg-soft: #0b0e15;
  --panel: #11151f;
  --panel-2: #171c28;
  --panel-3: #1e2433;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf5;
  --text-2: #a8b2c4;
  --text-3: #79839a;
  --brand: #ffb424;
  --brand-2: #ff8a2b;
  --brand-ink: #1a1200;
  --ai: #7d5cff;
  --ai-2: #35d39a;
  --danger: #ff5f6d;
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 18px 48px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 1px rgba(255, 180, 36, 0.28), 0 12px 40px rgba(255, 138, 43, 0.14);
  --maxw: 1220px;
  --sp: clamp(1rem, 0.6vw + 0.9rem, 1.5rem);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #eef1f7;
  --panel: #ffffff;
  --panel-2: #f2f4f9;
  --panel-3: #e7ebf3;
  --line: rgba(16, 22, 36, 0.1);
  --line-strong: rgba(16, 22, 36, 0.18);
  --text: #141a26;
  --text-2: #4a5468;
  --text-3: #6d7789;
  --brand: #b26b00;
  --brand-2: #cc7a12;
  --brand-ink: #ffffff;
  --ai: #5a3fd6;
  --shadow-1: 0 8px 24px rgba(18, 26, 44, 0.1);
  --shadow-2: 0 18px 44px rgba(18, 26, 44, 0.16);
  --glow: 0 0 0 1px rgba(178, 107, 0, 0.22), 0 12px 32px rgba(204, 122, 18, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 82% -10%, rgba(125, 92, 255, 0.16), transparent 62%),
    radial-gradient(900px 460px at 8% 0%, rgba(255, 180, 36, 0.12), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-2);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem);
}

h2 {
  font-size: clamp(1.35rem, 1.3vw + 1rem, 2.05rem);
}

h3 {
  font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.3rem);
}

p {
  margin: 0 0 1em;
  color: var(--text-2);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
  color: var(--text-2);
}

li + li {
  margin-top: 0.4em;
}

figure,
figcaption,
blockquote,
dl,
dd,
pre {
  margin: 0;
}

[hidden] {
  display: none !important;
}

strong {
  color: var(--text);
}

code,
kbd {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  padding: 0.12em 0.42em;
  border-radius: 6px;
  background: var(--panel-3);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2.2rem, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 12px 12px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--brand-ink);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: var(--shadow-1);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2) 62%, var(--ai));
  color: #201400;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: var(--glow);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.brand__text small {
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li + li {
  margin: 0;
}

.nav a {
  display: inline-block;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--panel-2);
}

.nav a[aria-current="page"] {
  color: var(--brand-ink);
  background: var(--brand);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--panel);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.icon-btn:hover,
.nav-toggle:hover {
  color: var(--text);
  border-color: var(--brand);
}

.icon-btn svg,
.nav-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
}

main {
  display: block;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

section {
  padding-block: clamp(1.9rem, 3.2vw, 3.2rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin-bottom: 0.2em;
}

.section-head p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.96rem;
  color: var(--text-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.24rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.32rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--brand-ink);
  box-shadow: var(--glow);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(2.2rem, 5vw, 4.2rem);
}

.hero__copy {
  min-width: 0;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 45%, var(--ai));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.1rem);
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1.2rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__tags li {
  margin: 0;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text-3);
  font-size: 0.78rem;
}

.hero__visual {
  position: relative;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: auto 8% -14px 8%;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 43, 0.45), transparent);
  filter: blur(14px);
  z-index: -1;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  background: var(--panel);
}

.hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  background: rgba(6, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero__badge span {
  color: var(--brand);
}

.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--panel-2), var(--panel-3));
  border-radius: var(--radius);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media > img {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.media--poster {
  aspect-ratio: 2 / 3;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media--wide {
  aspect-ratio: 16 / 9;
}

.media--hero {
  aspect-ratio: 5 / 4;
}

.media--hero > img {
  object-position: center 32%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  margin: 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}

.stats b {
  display: block;
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.9rem);
  line-height: 1.15;
  color: var(--brand);
}

.stats span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-3);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: clamp(0.8rem, 1.2vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.poster-grid > li {
  margin: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.22s ease;
}

.card:hover {
  border-color: rgba(255, 180, 36, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}

.card:hover .media > img {
  transform: scale(1.045);
}

.card__media {
  position: relative;
  display: block;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.8rem 0.85rem 0.95rem;
}

.card__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.card__title a {
  color: var(--text);
}

.card__title a:hover {
  color: var(--brand);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.card__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.42rem;
  border-radius: 6px;
  background: rgba(255, 180, 36, 0.14);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}

.tag {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--text-3);
  font-size: 0.74rem;
  line-height: 1.5;
}

.tag--ai {
  border-color: rgba(125, 92, 255, 0.45);
  background: rgba(125, 92, 255, 0.14);
  color: #b6a4ff;
}

.tag--hot {
  border-color: rgba(255, 95, 109, 0.45);
  background: rgba(255, 95, 109, 0.14);
  color: #ff9aa2;
}

[data-theme="light"] .tag--ai {
  color: #5031bb;
}

[data-theme="light"] .tag--hot {
  color: #b3242f;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.link-more::after {
  content: "→";
  transition: transform 0.16s ease;
}

.link-more:hover::after {
  transform: translateX(3px);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.toolbar__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  margin: 0;
}

.chip {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--brand);
}

.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.toolbar__spacer {
  margin-left: auto;
}

.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-3);
}

select {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
}

.result-hint {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--text-3);
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-3);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: clamp(0.7rem, 1vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery > li {
  margin: 0;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery figure:hover .media > img {
  transform: scale(1.05);
}

.gallery figcaption {
  padding: 0.55rem 0.7rem 0.65rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.split > * {
  min-width: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
}

.split__media {
  min-width: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  counter-increment: step;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.steps p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-3);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list > li {
  margin: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--panel);
  font-size: 0.9rem;
  color: var(--text-2);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.3rem;
}

.faq {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.faq details[open] {
  border-color: rgba(255, 180, 36, 0.4);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq__body {
  padding: 0 1.1rem 1.05rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.faq .faq__body p:last-child {
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-3);
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--text-3);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.series-hero {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(1.1rem, 2.5vw, 2.2rem);
  align-items: start;
  padding-block: clamp(1.4rem, 2.5vw, 2.4rem);
}

.series-hero__info h1 {
  margin-bottom: 0.4em;
}

.series-hero__sub {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--text-3);
}

.series-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.6rem;
  margin: 1.1rem 0 1.3rem;
  padding: 0;
  list-style: none;
}

.series-hero__meta li {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.series-hero__meta b {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.series-hero__meta span {
  font-size: 0.75rem;
  color: var(--text-3);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 1.9rem;
  scroll-margin-top: 86px;
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose blockquote {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--panel);
  color: var(--text-2);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.episode-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.episode-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.episode-list li:last-child {
  border-bottom: 0;
}

.episode-list li:nth-child(even) {
  background: var(--panel-2);
}

.episode-list .ep-no {
  flex: 0 0 auto;
  min-width: 54px;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.84rem;
}

.episode-list .ep-title {
  flex: 1 1 12ch;
  color: var(--text);
  font-weight: 600;
}

.episode-list .ep-time {
  font-size: 0.78rem;
  color: var(--text-3);
}

.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.dl > div {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.dl dt {
  font-size: 0.76rem;
  color: var(--text-3);
}

.dl dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.callout {
  margin: 1.6rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 180, 36, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 180, 36, 0.1), transparent 70%), var(--panel);
}

.callout p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
}

.callout strong {
  color: var(--brand);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-block: clamp(1.4rem, 3vw, 2.6rem);
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 220px at 92% 0%, rgba(125, 92, 255, 0.24), transparent 70%),
    radial-gradient(520px 200px at 4% 100%, rgba(255, 180, 36, 0.2), transparent 70%),
    var(--panel);
}

.cta-band h2 {
  margin-bottom: 0.25em;
}

.cta-band p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.9rem;
  color: var(--text-2);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.related > li {
  margin: 0;
}

.related a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.related a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  color: var(--text);
}

.related .media {
  flex: 0 0 54px;
  width: 54px;
  border-radius: 8px;
}

.related b {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
}

.related small {
  font-size: 0.74rem;
  color: var(--text-3);
}

.site-footer {
  margin-top: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 1.6rem;
  padding-block: clamp(1.8rem, 3vw, 2.8rem);
}

.footer-brand p {
  max-width: 46ch;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-3);
}

.footer-col h3 {
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 0.45rem;
}

.footer-col a {
  color: var(--text-3);
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-block: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-bottom a {
  color: var(--text-3);
}

.footer-bottom a:hover {
  color: var(--brand);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  max-width: min(92vw, 420px);
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-3);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-2);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
    max-width: 560px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.9fr));
  }

  .poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    order: 3;
  }

  .nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .nav.is-open {
    max-height: 420px;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-bottom: 0.7rem;
  }

  .nav a {
    display: block;
    padding: 0.62rem 0.8rem;
    border-radius: var(--radius-sm);
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.55rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-hero__poster {
    max-width: 200px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .toolbar {
    padding: 0.7rem 0.75rem;
  }

  .toolbar__spacer {
    margin-left: 0;
  }

  .episode-list li {
    padding: 0.7rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toast,
  .cta-band {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
