@charset "UTF-8";

:root {
  --brand: #16a34a;
  --brand-strong: #0f7a37;
  --brand-soft: rgba(22, 163, 74, 0.12);
  --brand-glow: rgba(22, 163, 74, 0.32);
  --accent: #f5b93b;
  --accent-soft: rgba(245, 185, 59, 0.16);
  --danger: #e8503a;

  --bg: #f4f7f2;
  --bg-deep: #e8efe6;
  --surface: #ffffff;
  --surface-2: #f8fbf7;
  --surface-3: #eef4ec;
  --text: #16211a;
  --text-2: #46564c;
  --text-3: #6f8177;
  --border: #dbe6da;
  --border-strong: #c3d5c2;
  --shadow-sm: 0 1px 2px rgba(18, 40, 25, 0.06), 0 2px 8px rgba(18, 40, 25, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 40, 25, 0.1);
  --shadow-lg: 0 18px 48px rgba(18, 40, 25, 0.16);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --poster-w: 300px;
  --poster-h: 450px;
  --hero-w: 640px;
  --hero-h: 360px;

  --container: 1240px;
  --gap: 22px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --space-6: 56px;
  --space-7: 84px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SFMono-Regular", monospace;

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --brand: #34d97b;
  --brand-strong: #22c46a;
  --brand-soft: rgba(52, 217, 123, 0.14);
  --brand-glow: rgba(52, 217, 123, 0.28);
  --bg: #08120d;
  --bg-deep: #050d09;
  --surface: #101c15;
  --surface-2: #14241b;
  --surface-3: #1a2f23;
  --text: #e8f2ea;
  --text-2: #a9bdb0;
  --text-3: #7f9587;
  --border: #22352a;
  --border-strong: #2f483a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.46);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.58);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 12% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(900px 420px at 92% 4%, var(--accent-soft), transparent 72%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
}

.img-poster,
.hero-media img,
.gallery img,
.thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-3);
}

.hero-media img {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.gallery img {
  aspect-ratio: 3 / 2;
  object-position: center;
}

.thumb-fixed {
  display: block;
  width: 64px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  flex: 0 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-2);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 800;
}

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

h2 {
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
}

h3 {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.32rem);
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 var(--space-3);
  color: var(--text-2);
}

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

ul,
ol {
  margin: 0 0 var(--space-3);
  padding-left: 1.2em;
  color: var(--text-2);
}

li + li {
  margin-top: 4px;
}

strong {
  color: var(--text);
  font-weight: 700;
}

small {
  font-size: 0.82rem;
  color: var(--text-3);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 18px;
  background: var(--brand);
  color: #04170c;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 28px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  box-shadow: 0 6px 16px var(--brand-glow);
  color: #04170c;
  font-size: 20px;
  line-height: 1;
}

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

.brand-name {
  font-size: 1.06rem;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.nav-list a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.nav-list a[aria-current="page"] {
  background: var(--brand);
  color: #04170c;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s, color 0.2s, background 0.2s;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  color: var(--brand-strong);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  padding-block: clamp(24px, 4vw, 48px) clamp(30px, 5vw, 58px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-3);
  padding: 5px 14px;
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(0.98rem, 0.94rem + 0.24vw, 1.1rem);
  color: var(--text-2);
  max-width: 44em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #04170c;
  box-shadow: 0 10px 26px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--brand-glow);
  color: #04170c;
}

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

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.btn[aria-pressed="true"] {
  background: var(--surface-3);
  border-color: var(--brand);
  color: var(--brand-strong);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-num {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--brand-strong);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
}

.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.is-active {
  display: block;
  animation: fade-in 0.55s var(--ease) both;
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 7, 0) 34%, rgba(4, 12, 7, 0.82) 100%);
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 2.4vw, 24px);
  color: #f3fff6;
  z-index: 2;
}

.hero-caption .badge-row {
  margin-bottom: 8px;
}

.hero-caption h2 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.7rem);
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.hero-caption p {
  margin: 0;
  color: rgba(240, 255, 244, 0.82);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-caption .btn {
  margin-top: 14px;
  padding: 9px 20px;
  font-size: 0.88rem;
}

.hero-dots {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s;
}

.hero-dots button[aria-selected="true"] {
  width: 40px;
  background: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.9);
  color: #04170c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-outline {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.badge-gold {
  background: var(--accent);
  color: #2a1c00;
}

.badge-muted {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.section {
  padding-block: clamp(30px, 4.4vw, 56px);
}

.section-alt {
  background: linear-gradient(180deg, transparent, var(--bg-deep) 22%, var(--bg-deep) 78%, transparent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head h2::before {
  content: "";
  width: 5px;
  height: 1.1em;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.section-desc {
  margin: 6px 0 0;
  color: var(--text-3);
  font-size: 0.9rem;
}

.more-link {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-4);
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  width: fit-content;
  max-width: 100%;
}

.tabs button {
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tabs button:hover {
  color: var(--brand-strong);
}

.tabs button[aria-selected="true"],
.tabs button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-grid > li {
  margin: 0;
  min-width: 0;
}

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

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-3);
}

.card-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease), filter 0.3s;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 7, 0.32), rgba(4, 12, 7, 0) 42%);
  pointer-events: none;
}

.card-tags {
  position: absolute;
  inset: 8px 8px auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}

.card-ep {
  position: absolute;
  inset: auto 8px 8px auto;
  z-index: 2;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(4, 12, 7, 0.72);
  color: #eafff0;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
  flex: 1 1 auto;
}

.card-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-title a:hover {
  color: var(--brand-strong);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-3);
  flex-wrap: wrap;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-mono);
}

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

.featured-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-strip > li {
  margin: 0;
}

.feature-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card .fc-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, rgba(4, 12, 7, 0), rgba(4, 12, 7, 0.88));
  color: #f2fff6;
}

.feature-card .fc-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.feature-card .fc-sub {
  font-size: 0.78rem;
  color: rgba(235, 255, 242, 0.76);
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}

.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.rank-list li + li {
  margin-top: 4px;
}

.rank-list li:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.rank-no {
  flex: 0 0 auto;
  width: 26px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-3);
  counter-increment: rank;
  text-align: center;
}

.rank-list li:nth-child(-n + 3) .rank-no {
  color: var(--brand-strong);
}

.rank-info {
  min-width: 0;
  flex: 1 1 auto;
}

.rank-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-sub {
  font-size: 0.75rem;
  color: var(--text-3);
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2.2vw, 24px);
}

.panel h3 {
  margin-top: 0;
}

.panel-tight {
  padding: var(--space-3);
}

.calendar {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.calendar .day {
  flex: 0 0 auto;
  width: 46px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.calendar .cal-body {
  min-width: 0;
  flex: 1 1 auto;
}

.calendar .cal-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.calendar .cal-sub {
  font-size: 0.74rem;
  color: var(--text-3);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-row li {
  margin: 0;
}

.pill {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pill:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-list > li {
  margin: 0;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 18px;
  flex: 1 1 auto;
}

.article-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.article-body h3 a {
  color: var(--text);
}

.article-body h3 a:hover {
  color: var(--brand-strong);
}

.article-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.74rem;
  color: var(--text-3);
  display: flex;
  gap: 10px;
}

.prose {
  max-width: 62em;
}

.prose h2 {
  margin-top: var(--space-5);
}

.prose h3 {
  margin-top: var(--space-4);
}

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

.prose li {
  margin-bottom: 6px;
}

.lead {
  font-size: 1.02rem;
  color: var(--text-2);
}

.callout {
  display: flex;
  gap: 12px;
  margin: var(--space-4) 0;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--text-2);
  font-size: 0.9rem;
}

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

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: var(--brand);
}

.faq summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.94rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: var(--brand-strong);
  transition: transform 0.2s;
}

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

.faq .faq-body {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: var(--text-2);
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 520px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 0;
  font-size: 0.82rem;
  color: var(--text-3);
}

th,
td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

thead th {
  background: var(--surface-3);
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: var(--surface-2);
}

.breadcrumb {
  padding-block: 14px 0;
}

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

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border-strong);
}

.detail-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding-block: var(--space-4);
}

.detail-poster {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface-3);
}

.detail-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.detail-title {
  margin-bottom: 6px;
}

.detail-sub {
  margin-bottom: var(--space-3);
  color: var(--text-3);
  font-size: 0.9rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.meta-grid li {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.meta-key {
  display: block;
  font-size: 0.74rem;
  color: var(--text-3);
}

.meta-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.player-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #04090a;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  color: #dcefe2;
  padding: 20px;
}

.player-shell .play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #04170c;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 12px 32px var(--brand-glow);
  transition: transform 0.25s var(--ease);
}

.player-shell .play-btn:hover {
  transform: scale(1.06);
}

.player-shell p {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: rgba(220, 239, 226, 0.72);
}

.player-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-3);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.episode-grid li {
  margin: 0;
}

.episode-grid a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-2);
}

.episode-grid a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.episode-grid a[aria-current="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #04170c;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery li {
  margin: 0;
}

.gallery img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.search-shell {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}

.search-shell label {
  position: absolute;
  left: -9999px;
}

input[type="search"],
input[type="text"],
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="search"]:focus,
input[type="text"]:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  outline: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: var(--space-4);
}

.filter-bar select {
  width: auto;
  min-width: 150px;
  border-radius: var(--radius-sm);
}

.result-count {
  font-size: 0.84rem;
  color: var(--text-3);
}

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

.site-footer {
  margin-top: var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding-block: var(--space-5);
}

.footer-grid h3 {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 800;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}

.footer-grid li {
  margin-bottom: 7px;
}

.footer-grid a {
  color: var(--text-2);
}

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

.footer-about p {
  font-size: 0.86rem;
  color: var(--text-3);
  margin-bottom: 10px;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.7;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.page-title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
}

.badge-soft {
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft);
  color: var(--brand-strong);
}

.u-center {
  text-align: center;
}

.u-fs-sm {
  font-size: 0.86rem;
}

.u-mt-0 {
  margin-top: 0;
}

.u-mt-4 {
  margin-top: var(--space-4);
}

.u-mt-5 {
  margin-top: var(--space-5);
}

.u-mt-6 {
  margin-top: var(--space-6);
}

.u-mt-12 {
  margin-top: 12px;
}

.u-mt-14 {
  margin-top: 14px;
}

.u-mt-18 {
  margin-top: 18px;
}

.u-mb-4 {
  margin-bottom: var(--space-4);
}

.u-mb-10 {
  margin-bottom: 10px;
}

.u-mb-18 {
  margin-bottom: 18px;
}

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

.is-hidden {
  display: none !important;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--brand-soft);
  }
  50% {
    box-shadow: 0 0 0 7px var(--brand-soft);
  }
}

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

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

@media (max-width: 900px) {
  :root {
    --header-h: 62px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px clamp(14px, 3vw, 28px) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
  }

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

  .hero-stage {
    order: -1;
  }

  .detail-head {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .section-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand-sub {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats li {
    padding: 10px;
  }

  .stat-num {
    font-size: 1.05rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .card-body {
    padding: 10px 11px 12px;
  }

  .card-title {
    font-size: 0.9rem;
  }

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

  .detail-poster {
    max-width: 200px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .search-shell {
    flex-direction: column;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .hero-stage,
  .hero-actions {
    display: none !important;
  }

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