:root {
  --bg-base: #08090d;
  --bg-surface: #101219;
  --bg-elevated: #171a24;
  --bg-player: #05060a;
  --accent: #ff3d6e;
  --accent-hover: #ff6b8f;
  --accent-deep: #c81e4c;
  --accent-soft: rgba(255, 61, 110, 0.12);
  --accent-glow: rgba(255, 61, 110, 0.32);
  --gold: #ffb545;
  --gold-soft: rgba(255, 181, 69, 0.14);
  --text-1: #f2f3f7;
  --text-2: #a8aebf;
  --text-3: #6c7284;
  --border: #262a38;
  --border-soft: #1b1f2a;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-1: 0 10px 28px rgba(0, 0, 0, 0.36);
  --shadow-2: 0 22px 56px rgba(0, 0, 0, 0.52);
  --maxw: 1280px;
  --header-h: 66px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;
  --poster-ratio: 3 / 4;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-1);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 14px;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 16px;
  background: var(--accent);
  color: #12121a;
  font-weight: 700;
  border-radius: 0 0 var(--radius-xs) 0;
}

.skip-link:focus {
  left: 0;
  color: #12121a;
}

.notice-bar {
  background: linear-gradient(90deg, rgba(255, 61, 110, 0.16), rgba(255, 181, 69, 0.1));
  border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-2);
}

.notice-bar .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.notice-bar b {
  color: var(--accent-hover);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.notice-bar span {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-bar a {
  flex: 0 0 auto;
  color: var(--text-1);
  border-bottom: 1px solid var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgba(255, 61, 110, 0.22);
}

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

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-1);
}

.brand-sub {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text-1);
  background: var(--bg-elevated);
}

.nav a.is-active {
  color: #14141c;
  background: var(--accent);
  font-weight: 700;
}

.nav a.is-active:hover {
  color: #14141c;
  background: var(--accent-hover);
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-2);
  font-size: 13.5px;
}

.icon-btn:hover {
  color: var(--text-1);
  border-color: #39405a;
  background: var(--bg-elevated);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.menu-btn {
  display: none;
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-surface);
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 22px 18px;
}

.nav-drawer a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  font-size: 14px;
  color: var(--text-2);
}

.nav-drawer a.is-active {
  color: #14141c;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  background: rgba(4, 5, 8, 0.78);
  backdrop-filter: blur(6px);
}

.search-modal.is-open {
  display: flex;
}

.search-panel {
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.search-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--text-1);
  font-size: 16px;
  outline: none;
}

.search-field input::placeholder {
  color: var(--text-3);
}

.search-results {
  max-height: 46vh;
  overflow-y: auto;
  padding: 8px;
}

.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
}

.search-results a:hover {
  background: var(--bg-elevated);
  color: var(--text-1);
}

.search-results img {
  width: 44px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
}

.search-results .sr-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.search-results .sr-meta {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}

.search-empty {
  padding: 26px 14px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(120% 90% at 12% 0%, rgba(255, 61, 110, 0.16), transparent 58%), radial-gradient(90% 80% at 92% 8%, rgba(255, 181, 69, 0.1), transparent 60%), var(--bg-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
  filter: saturate(115%) contrast(105%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.42) 0%, rgba(8, 9, 13, 0.78) 62%, var(--bg-base) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px 300px;
  gap: 30px;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 52px;
}

.hero-copy h1 {
  font-size: 38px;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent) 8%, var(--gold) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 620px;
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(23, 26, 36, 0.72);
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}

.chip-hot {
  color: var(--accent-hover);
  border-color: rgba(255, 61, 110, 0.42);
  background: var(--accent-soft);
}

.chip-gold {
  color: var(--gold);
  border-color: rgba(255, 181, 69, 0.4);
  background: var(--gold-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.btn-primary {
  background: linear-gradient(96deg, var(--accent), #ff6a4d);
  color: #16040a;
  box-shadow: 0 12px 30px rgba(255, 61, 110, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(96deg, var(--accent-hover), #ff8362);
  color: #16040a;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(23, 26, 36, 0.7);
  color: var(--text-1);
}

.btn-ghost:hover {
  border-color: #3a4258;
  background: var(--bg-elevated);
  color: var(--text-1);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.hero-stats {
  display: flex;
  gap: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.hero-stats div {
  min-width: 74px;
}

.hero-stats b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 12px;
  color: var(--text-3);
}

.hero-main {
  display: block;
}

.hero-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-poster .poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 61, 110, 0.94);
  color: #14030a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.poster-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.poster-caption strong {
  font-size: 15.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-caption span {
  font-size: 12px;
  color: var(--text-3);
  flex: 0 0 auto;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(16, 18, 25, 0.78);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.mini-card:hover {
  border-color: rgba(255, 61, 110, 0.42);
  background: var(--bg-elevated);
  color: var(--text-1);
}

.mini-thumb {
  position: relative;
  width: 76px;
  height: 100px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.mini-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mini-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section {
  padding: 46px 0;
}

.section-tight {
  padding: 34px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-base), #0b0d13 40%, var(--bg-base));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head h2 {
  position: relative;
  padding-left: 14px;
  font-size: 23px;
  letter-spacing: -0.3px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.section-head p {
  margin: 6px 0 0 14px;
  font-size: 13px;
  color: var(--text-3);
}

.section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
}

.section-link:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

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

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

.card {
  display: block;
  color: var(--text-1);
}

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

.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: var(--poster-ratio);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0) 46%, rgba(5, 6, 10, 0.82) 100%);
  opacity: 0.9;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.thumb .ep-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: rgba(6, 7, 11, 0.76);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.thumb .state-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  height: 21px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.state-on {
  background: rgba(255, 61, 110, 0.94);
  color: #14030a;
}

.state-end {
  background: rgba(70, 78, 96, 0.92);
  color: #e8ebf3;
}

.thumb .play-hint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.thumb .play-hint span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.94);
  color: #14030a;
  font-size: 15px;
  font-weight: 700;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 11px 0 5px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  min-height: 42px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

.card-meta i {
  font-style: normal;
  color: var(--text-3);
}

.card-score {
  color: var(--gold);
  font-weight: 700;
}

.week {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
}

.week-tabs {
  display: flex;
  gap: 4px;
  padding: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(23, 26, 36, 0.9), transparent);
  scrollbar-width: none;
}

.week-tabs::-webkit-scrollbar {
  display: none;
}

.week-tab {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.week-tab:hover {
  background: var(--bg-elevated);
  color: var(--text-1);
}

.week-tab[aria-selected="true"] {
  background: var(--accent);
  color: #14030a;
}

.week-tab b {
  font-weight: 800;
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.85;
}

.week-body {
  min-height: 396px;
  padding: 6px 0;
}

.week-note {
  margin: 8px 18px 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}

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

.week-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 11px 18px;
  border-left: 3px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.week-row + .week-row {
  border-top: 1px solid var(--border-soft);
}

.week-row:hover {
  background: var(--bg-elevated);
  border-left-color: var(--accent);
  color: var(--text-1);
}

.week-row.is-pending {
  opacity: 0.58;
}

.week-thumb {
  position: relative;
  width: 62px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.week-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.week-main h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.week-main p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-3);
}

.week-ep {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
}

.week-time {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  min-width: 62px;
  text-align: right;
}

.rank-list {
  display: grid;
  gap: 8px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.rank-row:hover {
  border-color: rgba(255, 61, 110, 0.4);
  background: var(--bg-elevated);
  color: var(--text-1);
}

.rank-no {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-3);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.rank-row:nth-child(1) .rank-no {
  color: #ff5c7f;
}

.rank-row:nth-child(2) .rank-no {
  color: #ffb545;
}

.rank-row:nth-child(3) .rank-no {
  color: #7fd1c1;
}

.rank-thumb {
  position: relative;
  width: 58px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.rank-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rank-main h3 {
  font-size: 14.5px;
  font-weight: 650;
  margin-bottom: 3px;
}

.rank-main p {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
}

.rank-hot {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.genre-tile {
  position: relative;
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, rgba(255, 61, 110, 0.12), rgba(23, 26, 36, 0.9) 62%);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.genre-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 61, 110, 0.44);
  color: var(--text-1);
}

.genre-tile strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.genre-tile span {
  font-size: 12px;
  color: var(--text-3);
  display: block;
  line-height: 1.6;
}

.genre-tile em {
  position: absolute;
  right: 12px;
  top: 6px;
  font-style: normal;
  font-size: 34px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -2px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-card {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.topic-card:hover {
  border-color: rgba(255, 61, 110, 0.42);
  transform: translateY(-2px);
  color: var(--text-1);
}

.topic-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.topic-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.topic-body {
  padding: 15px 16px 18px;
}

.topic-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
}

.topic-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
}

.topic-body span {
  font-size: 12px;
  color: var(--accent-hover);
  font-weight: 600;
}

.prose {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-surface);
  padding: 28px 30px;
}

.prose h2 {
  font-size: 20px;
  margin: 26px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--text-1);
}

.prose p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.85;
}

.prose strong {
  color: var(--text-1);
}

.prose ul {
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}

.prose ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.prose-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.faq details[open] {
  border-color: rgba(255, 61, 110, 0.36);
}

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

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

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
  border-color: var(--accent);
  color: var(--accent-hover);
}

.faq .a {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

.page-head {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(90% 120% at 8% 0%, rgba(255, 61, 110, 0.12), transparent 62%), var(--bg-base);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 14px;
}

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

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

.breadcrumb span.sep {
  opacity: 0.5;
}

.page-head h1 {
  font-size: 30px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.page-head p {
  max-width: 780px;
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.toolbar-label {
  font-size: 12.5px;
  color: var(--text-3);
  margin-right: 2px;
}

.filter-btn {
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-surface);
  font-size: 13px;
  color: var(--text-2);
}

.filter-btn:hover {
  color: var(--text-1);
  border-color: #39405a;
}

.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #14030a;
  font-weight: 700;
}

.empty-state {
  display: none;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.empty-state.is-open {
  display: block;
}

.detail-head {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 32px 0 8px;
}

.detail-poster {
  position: relative;
  width: 268px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.detail-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.detail-info h1 {
  font-size: 30px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.detail-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.score-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.score-box b {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.score-box span {
  font-size: 12.5px;
  color: var(--text-3);
}

.detail-intro {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 780px;
}

.meta-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 20px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.meta-table div {
  font-size: 13px;
  color: var(--text-2);
}

.meta-table dt {
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 3px;
}

.meta-table dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-1);
}

.fav-btn[data-on="1"] {
  background: linear-gradient(96deg, var(--gold), #ff8f4d);
  color: #1d1103;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-surface);
  padding: 22px 24px;
  margin-bottom: 22px;
}

.panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 9px;
  min-height: 108px;
}

.ep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.ep-btn:hover {
  border-color: var(--accent);
  color: var(--text-1);
}

.ep-btn.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #14030a;
  font-weight: 800;
}

.ep-btn.is-lock {
  opacity: 0.4;
  pointer-events: none;
}

.ep-list {
  display: grid;
  gap: 8px;
}

.ep-list a,
.ep-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  font-size: 13.5px;
  color: var(--text-2);
}

.ep-list a:hover {
  border-color: var(--accent);
  color: var(--text-1);
}

.ep-list .n {
  font-weight: 800;
  color: var(--accent-hover);
  font-variant-numeric: tabular-nums;
}

.ep-list .t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-list .d {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 26px;
  align-items: start;
  padding: 26px 0 44px;
}

.player-zone {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.player {
  position: relative;
  width: min(468px, 100%);
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-player);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
}

.player img.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.86;
}

.player .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.3), rgba(5, 6, 10, 0.86));
}

.player .center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}

.player .big-play {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.94);
  color: #14030a;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(255, 61, 110, 0.16);
  transition: transform var(--dur) var(--ease);
}

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

.player .center h2 {
  font-size: 16px;
  font-weight: 700;
}

.player .center p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(242, 243, 247, 0.72);
  max-width: 260px;
}

.player .topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: rgba(242, 243, 247, 0.86);
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.72), transparent);
}

.player .bottombar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(5, 6, 10, 0.88), transparent);
}

.progress {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.bottombar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  font-size: 12px;
  color: rgba(242, 243, 247, 0.76);
}

.player-note {
  max-width: 468px;
  margin: 12px auto 0;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.7;
}

.watch-side .panel:last-child {
  margin-bottom: 0;
}

.watch-title h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.watch-title p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-3);
}

.switch-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.switch-row .btn {
  flex: 1 1 0;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #06070a;
  padding: 44px 0 30px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.8;
  max-width: 340px;
}

.footer-col h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

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

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-bottom .age {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 61, 110, 0.5);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 11.5px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(23, 26, 36, 0.92);
  color: var(--text-1);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(6px);
}

.to-top.is-open {
  display: inline-flex;
}

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

.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sitemap-cols ul {
  display: grid;
  gap: 7px;
}

.sitemap-cols a {
  font-size: 13.5px;
  color: var(--text-2);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card div {
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.contact-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-card span {
  font-size: 13px;
  color: var(--text-3);
  word-break: break-all;
}

.panel .prose {
  border: 0;
  background: none;
  padding: 0;
}

.panel .prose h2 {
  font-size: 17px;
}

@media (hover: hover) {
  .thumb:hover img {
    transform: scale(1.04);
  }

  .thumb img {
    transition: transform 0.45s var(--ease);
  }

  .card:hover .thumb {
    border-color: rgba(255, 61, 110, 0.42);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
  }

  .card:hover .play-hint {
    opacity: 1;
  }
}

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

  .hero-side {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

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

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

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-tools .tool-label {
    display: none;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

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

  .cards-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .footer-col:last-child {
    display: none;
  }

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

  .detail-poster {
    width: 220px;
  }

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

  .player-zone {
    position: static;
  }

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

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

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-poster {
    max-width: 240px;
    margin: 0 auto;
  }

  .poster-caption {
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-stats b {
    font-size: 18px;
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    align-items: center;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .section-head p {
    display: none;
  }

  .cards,
  .cards-4,
  .cards-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .card-title {
    font-size: 13.5px;
    min-height: 39px;
    margin-top: 9px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .genre-tile {
    padding: 15px 13px;
  }

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

  .week-row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 13px;
  }

  .week-thumb {
    width: 54px;
    height: 72px;
  }

  .week-time {
    display: none;
  }

  .week-body {
    min-height: 400px;
  }

  .rank-row {
    grid-template-columns: 28px 50px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 12px;
  }

  .rank-thumb {
    width: 50px;
    height: 66px;
  }

  .rank-main h3 {
    font-size: 13.5px;
  }

  .prose {
    padding: 20px 17px;
  }

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

  .page-head {
    padding: 24px 0 18px;
  }

  .page-head h1 {
    font-size: 22px;
  }

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

  .detail-poster {
    width: 200px;
    margin: 0 auto;
  }

  .detail-info h1 {
    font-size: 22px;
    text-align: center;
  }

  .detail-sub,
  .detail-actions {
    justify-content: center;
  }

  .score-box {
    justify-content: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .player {
    width: 100%;
    max-height: 74vh;
  }

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

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

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

@media (max-width: 480px) {
  .cards,
  .cards-4,
  .cards-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .week-tab {
    padding: 0 13px;
    font-size: 13px;
  }

  .notice-bar span {
    font-size: 11.5px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .detail-poster {
    width: 168px;
  }

  .switch-row .btn {
    padding: 0 12px;
  }
}

@media (min-width: 769px) and (max-height: 900px) {
  .player-zone {
    position: static;
  }

  .player {
    width: min(384px, 100%);
  }
}

@media (min-width: 769px) and (max-height: 760px) {
  .player {
    width: min(320px, 100%);
  }
}

@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;
  }
}
