:root {
  color-scheme: dark;
  --brand: #ff7a1a;
  --brand-2: #ffb266;
  --brand-deep: #e85d00;
  --brand-glow: rgba(255, 122, 26, 0.35);
  --brand-soft: rgba(255, 122, 26, 0.14);
  --bg: #07090d;
  --bg-2: #0b0e14;
  --surface: #11151d;
  --surface-2: #171c26;
  --surface-3: #1f2531;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #eef1f7;
  --ink-2: #c2c9d6;
  --muted: #8a93a5;
  --good: #37d67a;
  --warn: #ffc247;
  --bad: #ff5f6d;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-1: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 30px 70px -40px rgba(0, 0, 0, 1);
  --shadow-brand: 0 22px 50px -24px rgba(255, 90, 0, 0.75);
  --shell: 1280px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --section: clamp(2.2rem, 4.5vw, 4rem);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --brand: #ef6c00;
  --brand-2: #ff9a3c;
  --brand-deep: #d45c00;
  --brand-glow: rgba(239, 108, 0, 0.28);
  --brand-soft: rgba(239, 108, 0, 0.12);
  --bg: #f7f5f2;
  --bg-2: #fffdfa;
  --surface: #ffffff;
  --surface-2: #f3f1ed;
  --surface-3: #eae6e0;
  --line: rgba(22, 26, 34, 0.1);
  --line-strong: rgba(22, 26, 34, 0.18);
  --ink: #141922;
  --ink-2: #3a4250;
  --muted: #6b7382;
  --good: #12885a;
  --warn: #b97a06;
  --bad: #cf3341;
  --shadow-1: 0 16px 34px -26px rgba(24, 20, 12, 0.45);
  --shadow-2: 0 28px 60px -36px rgba(24, 20, 12, 0.5);
  --shadow-brand: 0 22px 44px -26px rgba(239, 108, 0, 0.6);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    color-scheme: light;
    --brand: #ef6c00;
    --brand-2: #ff9a3c;
    --brand-deep: #d45c00;
    --brand-glow: rgba(239, 108, 0, 0.28);
    --brand-soft: rgba(239, 108, 0, 0.12);
    --bg: #f7f5f2;
    --bg-2: #fffdfa;
    --surface: #ffffff;
    --surface-2: #f3f1ed;
    --surface-3: #eae6e0;
    --line: rgba(22, 26, 34, 0.1);
    --line-strong: rgba(22, 26, 34, 0.18);
    --ink: #141922;
    --ink-2: #3a4250;
    --muted: #6b7382;
    --good: #12885a;
    --warn: #b97a06;
    --bad: #cf3341;
    --shadow-1: 0 16px 34px -26px rgba(24, 20, 12, 0.45);
    --shadow-2: 0 28px 60px -36px rgba(24, 20, 12, 0.5);
    --shadow-brand: 0 22px 44px -26px rgba(239, 108, 0, 0.6);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 620px at 12% -12%, rgba(255, 122, 26, 0.16), transparent 70%),
    radial-gradient(900px 520px at 92% 4%, rgba(86, 122, 255, 0.12), transparent 72%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.42;
}

:root[data-theme="light"] body::before {
  background-image: radial-gradient(rgba(20, 26, 34, 0.055) 1px, transparent 1px);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] body::before {
    background-image: radial-gradient(rgba(20, 26, 34, 0.055) 1px, transparent 1px);
  }
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.018em;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--easing), opacity 0.2s var(--easing);
}

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

figure {
  margin: 0;
}

.muted {
  color: var(--muted);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack > * + * {
  margin-top: var(--stack, 1rem);
}

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

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header {
    background: var(--bg-2);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  flex: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--brand-2), var(--brand-deep));
  box-shadow: var(--shadow-brand);
  color: #fff;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

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

.brand-name {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-link[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  transition: border-color 0.2s var(--easing), color 0.2s var(--easing), transform 0.2s var(--easing);
}

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

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-btn .i-moon,
.theme-btn .i-sun,
.theme-btn .i-auto {
  display: none;
}

:root[data-theme="dark"] .theme-btn .i-moon,
:root[data-theme="auto"] .theme-btn .i-auto,
:root[data-theme="light"] .theme-btn .i-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .theme-btn .i-auto {
    display: block;
  }
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] .theme-btn .i-auto {
    display: none;
  }

  :root[data-theme="auto"] .theme-btn .i-sun {
    display: block;
  }
}

.mobile-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--easing), box-shadow 0.2s var(--easing), background 0.2s var(--easing), border-color 0.2s var(--easing), color 0.2s var(--easing);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep) 78%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 26px 54px -22px rgba(255, 90, 0, 0.85);
}

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

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

.btn-sm {
  min-height: 36px;
  padding: 0 0.9rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn.is-following {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  color: #fff;
  border-color: transparent;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--easing);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.section {
  padding-block: var(--section);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: clamp(1.3rem, 2.6vw, 2.1rem);
}

.section-head-main {
  display: grid;
  gap: 0.55rem;
  max-width: 62ch;
}

.section-title {
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
}

.section-desc {
  font-size: 0.94rem;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.74rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.tag-brand {
  border-color: transparent;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4rem);
  padding-block: clamp(2.2rem, 4.6vw, 4.4rem);
}

.hero-copy {
  display: grid;
  gap: 1.05rem;
  justify-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 26, 0.45);
  background: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--brand);
}

.hero-badge strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.1rem, 5.1vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--brand-2), var(--brand) 45%, #ff5f3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 600;
  color: var(--ink-2);
}

.hero-intro {
  max-width: 56ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  margin-top: 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  width: 100%;
}

.hero-stat {
  display: grid;
  gap: 0.1rem;
}

.hero-stat b {
  font-family: var(--font-num);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
  isolation: isolate;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: -12% -8% -18% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-glow), transparent 78%);
  filter: blur(28px);
  opacity: 0.75;
}

.hero-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, rgba(4, 7, 12, 0.05) 26%, rgba(4, 7, 12, 0.72));
}

.hero-poster {
  position: absolute;
  left: -0.8rem;
  bottom: -1.8rem;
  width: clamp(112px, 15vw, 158px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-2);
  transform: rotate(-3.5deg);
  background: var(--surface-2);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-score {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(9, 12, 18, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  color: #fff;
}

.hero-score b {
  font-family: var(--font-num);
  font-size: 1.32rem;
  line-height: 1;
  color: var(--brand-2);
}

.hero-score span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-note {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(9, 12, 18, 0.62);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.74rem;
  color: #fff;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-cell {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
}

.stat-cell b {
  font-family: var(--font-num);
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}

.stat-cell span {
  font-size: 0.78rem;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.tabs::-webkit-scrollbar {
  height: 4px;
}

.tabs::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 4px;
}

.tab {
  flex: none;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: background 0.2s var(--easing), color 0.2s var(--easing), border-color 0.2s var(--easing);
}

.tab:hover {
  color: var(--brand);
  border-color: rgba(255, 122, 26, 0.4);
}

.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  border-color: transparent;
  color: #fff;
  font-weight: 650;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  padding-top: 1rem;
}

.update-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.update-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s var(--easing), border-color 0.2s var(--easing);
}

.update-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, 0.4);
}

.update-thumb {
  width: 112px;
  height: 63px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
}

.update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.update-title {
  font-size: 0.92rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.update-ep {
  color: var(--brand);
  font-weight: 650;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
}

.poster-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.poster-media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
}

.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--easing);
}

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

.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.16) 0%, transparent 34%, rgba(6, 9, 14, 0.82) 100%);
  opacity: 0.9;
  transition: opacity 0.3s var(--easing);
}

.poster-card:hover .poster-media::after {
  opacity: 1;
}

.poster-badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.94);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.poster-badge.is-quiet {
  background: rgba(9, 12, 18, 0.72);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-weight: 600;
}

.poster-score {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  font-family: var(--font-num);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-2);
}

.poster-ep {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.86);
}

.poster-body {
  display: grid;
  gap: 0.18rem;
}

.poster-title {
  font-size: 0.94rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
}

.rank-list {
  display: grid;
  gap: 0.3rem;
  padding: 0.6rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 1.8rem 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--easing);
}

.rank-item:hover {
  background: var(--surface-2);
}

.rank-no {
  font-family: var(--font-num);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}

.rank-item:nth-child(1) .rank-no {
  color: #ff7a1a;
}

.rank-item:nth-child(2) .rank-no {
  color: #ffb347;
}

.rank-item:nth-child(3) .rank-no {
  color: #ffd479;
}

.rank-thumb {
  width: 44px;
  height: 66px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.rank-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-sub {
  font-size: 0.74rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-value {
  font-family: var(--font-num);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
}

.rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.4rem;
}

.rank-head h3 {
  font-size: 1rem;
}

.tax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 0.85rem;
}

.tax-tile {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s var(--easing), border-color 0.2s var(--easing), box-shadow 0.2s var(--easing);
}

.tax-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.45);
  box-shadow: var(--shadow-1);
}

.tax-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.96rem;
  font-weight: 650;
}

.tax-name span {
  font-family: var(--font-num);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand);
}

.tax-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.topic-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.3rem;
  min-height: 208px;
  padding: 1.1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
  isolation: isolate;
}

.topic-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

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

.topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 9, 14, 0.9), rgba(6, 9, 14, 0.15) 65%);
}

.topic-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.topic-title {
  font-size: 1.06rem;
  color: #fff;
}

.topic-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 0.85rem;
}

.feature {
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  font-size: 0.98rem;
}

.feature p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.68;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 76ch;
}

.prose h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-top: 0.6rem;
}

.prose h3 {
  font-size: 1.02rem;
  margin-top: 0.4rem;
}

.prose p {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.85;
}

.prose ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 0.2rem;
}

.prose li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.8;
}

.prose-note {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  font-size: 0.86rem;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  padding: 0.15rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s var(--easing);
}

.faq-item[open] {
  border-color: rgba(255, 122, 26, 0.42);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  font-size: 0.94rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand);
  font-size: 0.95rem;
  transition: transform 0.25s var(--easing);
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

.breadcrumb {
  padding-block: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: "/";
  opacity: 0.45;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.4rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(700px 260px at 12% 0%, var(--brand-soft), transparent 72%);
}

.page-hero-main {
  display: grid;
  gap: 0.6rem;
  max-width: 78ch;
}

.page-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
}

.page-lead {
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 70ch;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  margin-block: 1.4rem 1.6rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.filter-label {
  margin-right: 0.2rem;
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

.chip {
  min-height: 32px;
  padding: 0 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.8rem;
  color: var(--ink-2);
  transition: background 0.2s var(--easing), color 0.2s var(--easing), border-color 0.2s var(--easing);
}

.chip:hover {
  color: var(--brand);
  border-color: rgba(255, 122, 26, 0.45);
}

.chip[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: rgba(255, 122, 26, 0.6);
  color: var(--brand);
  font-weight: 650;
}

.filter-status {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.empty-state {
  display: grid;
  gap: 0.5rem;
  place-items: center;
  padding: 3rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
  font-size: 1rem;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.4rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}

.detail-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(115%);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 4%, rgba(7, 9, 13, 0.86) 45%, rgba(7, 9, 13, 0.5) 100%),
    radial-gradient(900px 380px at 15% 0%, rgba(255, 122, 26, 0.28), transparent 70%);
}

:root[data-theme="light"] .detail-hero::after {
  background:
    linear-gradient(0deg, var(--bg) 4%, rgba(247, 245, 242, 0.9) 48%, rgba(247, 245, 242, 0.62) 100%),
    radial-gradient(900px 380px at 15% 0%, rgba(239, 108, 0, 0.24), transparent 70%);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] .detail-hero::after {
    background:
      linear-gradient(0deg, var(--bg) 4%, rgba(247, 245, 242, 0.9) 48%, rgba(247, 245, 242, 0.62) 100%),
      radial-gradient(900px 380px at 15% 0%, rgba(239, 108, 0, 0.24), transparent 70%);
  }
}

.detail-head {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
  align-items: end;
}

.detail-cover {
  width: 236px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  background: var(--surface-2);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.detail-title {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  letter-spacing: -0.028em;
}

.detail-en {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.detail-score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
}

.score-big {
  display: grid;
  gap: 0.05rem;
}

.score-big b {
  font-family: var(--font-num);
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}

.score-big span {
  font-size: 0.72rem;
  color: var(--muted);
}

.score-bars {
  display: grid;
  gap: 0.25rem;
  flex: 1 1 220px;
  min-width: 180px;
}

.score-bar {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.score-bar i {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.score-bar em {
  font-style: normal;
  font-family: var(--font-num);
  color: var(--ink-2);
  text-align: right;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
  padding-block: var(--section);
}

.detail-main {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  min-width: 0;
}

.detail-side {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 88px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.block-title {
  font-size: 1.14rem;
}

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

.info-item {
  display: grid;
  gap: 0.1rem;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.info-item dt {
  font-size: 0.72rem;
  color: var(--muted);
}

.info-item dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.7rem;
}

.character {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.character b {
  font-size: 0.9rem;
}

.character span {
  font-size: 0.74rem;
  color: var(--brand);
}

.character p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.45rem;
}

.ep-item {
  display: grid;
  place-items: center;
  gap: 0.05rem;
  min-height: 46px;
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.82rem;
  text-align: center;
  transition: border-color 0.2s var(--easing), color 0.2s var(--easing), background 0.2s var(--easing);
}

.ep-item:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.ep-item span {
  font-size: 0.68rem;
  color: var(--muted);
}

.ep-item.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.ep-rows {
  display: grid;
  gap: 0.4rem;
}

.ep-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s var(--easing), transform 0.2s var(--easing);
}

.ep-row:hover {
  border-color: rgba(255, 122, 26, 0.42);
  transform: translateX(2px);
}

.ep-no {
  font-family: var(--font-num);
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 700;
}

.ep-name {
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-date {
  font-size: 0.74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.health {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.health::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
}

.health.is-degraded::before {
  background: var(--warn);
}

.health.is-down::before {
  background: var(--bad);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.6rem;
}

.related-card {
  display: grid;
  gap: 0.35rem;
}

.related-card .poster-media {
  border-radius: var(--radius-sm);
}

.related-card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  align-items: start;
  padding-block: 1.2rem var(--section);
}

.watch-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.player-shell {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: #05070b;
  box-shadow: var(--shadow-2);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070b;
}

.player-stage video,
.player-stage .player-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-stage video {
  display: none;
}

.player-stage.is-live video {
  display: block;
}

.player-stage.is-live .player-poster,
.player-stage.is-live .play-center {
  display: none;
}

.player-stage.is-playing .play-center {
  display: none;
}

.player-stage.is-playing .player-shade {
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.28) 0%, transparent 42%, rgba(4, 6, 10, 0.82) 100%);
}

.player-stage:fullscreen .player-controls {
  padding-bottom: 1.6rem;
}

.player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.2) 0%, transparent 34%, rgba(4, 6, 10, 0.78) 100%);
  pointer-events: none;
}

.play-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-big {
  display: grid;
  place-items: center;
  width: clamp(56px, 8vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  color: #fff;
  box-shadow: 0 20px 44px -14px rgba(255, 90, 0, 0.85);
  transition: transform 0.25s var(--easing);
}

.play-big:hover {
  transform: scale(1.07);
}

.play-big svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.player-tag {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.66rem;
  border-radius: 999px;
  background: rgba(9, 12, 18, 0.66);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  color: #fff;
}

.player-tag strong {
  color: var(--brand-2);
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem 0.7rem;
  background: linear-gradient(0deg, rgba(4, 6, 10, 0.94), rgba(4, 6, 10, 0.45) 62%, transparent);
  color: #eef1f7;
}

.progress-track {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.progress-track::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%);
}

.progress-fill {
  position: relative;
  height: 4px;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.progress-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.28);
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ctrl-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 0;
  background: transparent;
  color: inherit;
  transition: background 0.2s var(--easing), color 0.2s var(--easing);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--brand-2);
}

.ctrl-btn svg {
  width: 18px;
  height: 18px;
}

.ctrl-btn[aria-pressed="true"] {
  color: var(--brand-2);
}

.ctrl-btn .i-pause,
.ctrl-btn.is-playing .i-play {
  display: none;
}

.ctrl-btn.is-playing .i-pause {
  display: block;
}

.ctrl-btn.ctrl-text {
  width: auto;
  min-width: 46px;
  padding: 0 0.5rem;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.card table thead th {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.card table tbody th,
.card table tbody td {
  border-top: 1px solid var(--line);
}

.card table tbody th {
  font-weight: 600;
}

.timecode {
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: rgba(238, 241, 247, 0.82);
  font-variant-numeric: tabular-nums;
}

.controls-spacer {
  margin-left: auto;
}

.ctrl-menu {
  position: relative;
}

.ctrl-menu > div {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.45rem);
  display: none;
  min-width: 108px;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(12, 16, 22, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  z-index: 5;
}

.ctrl-menu.is-open > div {
  display: grid;
  gap: 0.1rem;
}

.ctrl-menu button {
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: #eef1f7;
  font-size: 0.78rem;
  text-align: left;
}

.ctrl-menu button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ctrl-menu button[aria-checked="true"] {
  color: var(--brand-2);
  font-weight: 650;
}

.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.player-bar .tag {
  font-size: 0.72rem;
}

.player-bar .spacer {
  margin-left: auto;
}

.player-bar-note {
  font-size: 0.76rem;
  color: var(--muted);
}

.ep-thumbs {
  display: grid;
  gap: 0.45rem;
  max-height: 420px;
  overflow: auto;
  padding-right: 0.2rem;
}

.ep-thumb {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s var(--easing), border-color 0.2s var(--easing);
}

.ep-thumb:hover {
  background: var(--surface-2);
}

.ep-thumb.is-current {
  border-color: rgba(255, 122, 26, 0.5);
  background: var(--brand-soft);
}

.ep-thumb-media {
  width: 88px;
  height: 50px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  position: relative;
}

.ep-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-thumb-body {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.ep-thumb-body b {
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-thumb-body span {
  font-size: 0.7rem;
  color: var(--muted);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.side-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.side-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.side-meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.side-meta b {
  color: var(--ink-2);
  font-weight: 600;
}

.search-shell {
  max-width: 860px;
  margin-inline: auto;
  padding-block: clamp(1.6rem, 3.4vw, 2.8rem);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  margin-block: 1.2rem 1.6rem;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 2.6rem 0 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.94rem;
  transition: border-color 0.2s var(--easing), box-shadow 0.2s var(--easing);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.search-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}

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

.search-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: 0.9rem 1.4rem;
}

.result-list {
  display: grid;
  gap: 0.6rem;
}

.result-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s var(--easing), transform 0.2s var(--easing);
}

.result-item:hover {
  border-color: rgba(255, 122, 26, 0.45);
  transform: translateY(-2px);
}

.result-thumb {
  width: 76px;
  height: 114px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
}

.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-body {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  min-width: 0;
}

.result-title {
  font-size: 0.94rem;
  font-weight: 650;
}

.result-desc {
  font-size: 0.8rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--muted);
}

mark {
  padding: 0 0.15em;
  border-radius: 4px;
  background: rgba(255, 122, 26, 0.24);
  color: inherit;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(2rem, 3.6vw, 3rem) 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.footer-brand {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 34ch;
}

.footer-col h2 {
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.footer-list {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

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

.to-top {
  position: fixed;
  right: clamp(0.9rem, 2.4vw, 1.8rem);
  bottom: clamp(0.9rem, 2.4vw, 1.8rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--easing), transform 0.25s var(--easing), color 0.2s var(--easing);
}

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

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

.to-top svg {
  width: 19px;
  height: 19px;
}

.notice {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 122, 26, 0.32);
  background: var(--brand-soft);
  font-size: 0.83rem;
  color: var(--ink-2);
}

.notice svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.not-found {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.not-found b {
  font-family: var(--font-num);
  font-size: clamp(3.2rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(150deg, var(--brand-2), var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 46ch;
}

.not-found .hero-actions {
  justify-content: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table caption {
  text-align: left;
}

.data-table thead th {
  padding: 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.data-table tbody th,
.data-table tbody td {
  padding: 0.7rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table tbody th {
  font-weight: 600;
}

.data-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.data-table .is-strong {
  color: var(--brand);
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.card-flush {
  padding: 0.4rem 0.4rem 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.info-list.is-dense {
  grid-template-columns: 1fr 1fr;
}

.u-mt {
  margin-top: 1.4rem;
}

.u-mt-lg {
  margin-top: 1.8rem;
}

.u-pb {
  padding-bottom: 2.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

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

  .detail-side {
    position: static;
  }

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

  .watch-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-art {
    max-width: 620px;
  }

  .nav {
    display: none;
  }

  .site-header.is-open .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    box-shadow: var(--shadow-2);
  }

  .nav-link {
    padding: 0.62rem 0.8rem;
    border-radius: var(--radius-xs);
  }

  .mobile-toggle {
    display: grid;
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .nav {
    margin-left: 0;
  }

  .detail-head {
    grid-template-columns: 152px minmax(0, 1fr);
    align-items: center;
  }

  .detail-cover {
    width: 152px;
  }

  .search-form {
    flex-wrap: wrap;
  }
}

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

  .header-inner {
    min-height: 62px;
  }

  .brand-sub {
    display: none;
  }

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

  .poster-title {
    font-size: 0.86rem;
  }

  .update-panel {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .hero-poster {
    width: 96px;
  }

  .hero-stats {
    gap: 1.1rem;
  }

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

  .detail-cover {
    width: 132px;
  }

  .detail-score-row {
    gap: 0.9rem;
  }

  .ep-row {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  }

  .ep-row .ep-date {
    display: none;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .result-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .result-thumb {
    width: 64px;
    height: 96px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .play-big {
    width: 56px;
  }
}

@media (max-width: 480px) {
  .poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .update-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .update-thumb {
    width: 92px;
    height: 52px;
  }

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

  .toolbar {
    padding: 0.75rem;
  }

  .filter-status {
    margin-left: 0;
  }
}
