:root {
  --bg-base: #0a0c11;
  --bg-soft: #0e1118;
  --bg-surface: #141823;
  --bg-elevated: #1a2030;
  --bg-hover: #212840;
  --accent: #ff2d5c;
  --accent-warm: #ff8a5c;
  --accent-grad: linear-gradient(135deg, #ff2d5c 0%, #ff8a5c 100%);
  --accent-soft: rgba(255, 45, 92, 0.12);
  --accent-line: rgba(255, 45, 92, 0.34);
  --gold: #f5c518;
  --silver: #c8d0e0;
  --bronze: #d2884c;
  --text-primary: #f2f4f8;
  --text-secondary: #a6adbf;
  --text-muted: #6b7385;
  --border: #262d3e;
  --border-soft: #1d2331;
  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.46);
  --shadow-3: 0 24px 64px rgba(0, 0, 0, 0.58);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shell: 1320px;
  --gap: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;
  --header-h: 68px;
  --poster-w: 400px;
  --poster-h: 600px;
  --rank-w: 320px;
  --rank-h: 400px;
  --hero-w: 1600px;
  --hero-h: 900px;
  --genre-w: 400px;
  --genre-h: 400px;
  --topic-w: 800px;
  --topic-h: 450px;
}

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

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

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

img {
  display: block;
  max-width: 100%;
  border-style: none;
  background: var(--bg-elevated);
}

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

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

p {
  margin: 0;
}

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

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

input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

details > summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.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: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #0a0c11;
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus-visible {
  top: 12px;
}

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

.page-glow {
  position: fixed;
  inset: 0 0 auto 0;
  height: 720px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 380px at 18% -8%, rgba(255, 45, 92, 0.20), transparent 68%),
    radial-gradient(620px 340px at 78% -14%, rgba(255, 138, 92, 0.14), transparent 70%),
    radial-gradient(420px 300px at 50% 6%, rgba(120, 90, 255, 0.12), transparent 72%);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-stuck {
  background: rgba(10, 12, 17, 0.94);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 45, 92, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 45, 92, 0.22);
  transition: transform var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-4deg);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

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

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.is-current {
  color: #fff;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.main-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 14px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--accent-grad);
}

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

.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 208px;
  height: 40px;
  padding: 0 6px 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.search-form:focus-within {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--accent-line), 0 0 0 4px rgba(255, 45, 92, 0.10);
}

.search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}

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

.search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-form button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.search-form button:hover {
  color: #0a0c11;
  background: var(--accent);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.icon-btn .dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg-base);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn svg {
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--accent-grad);
  color: #0a0c11;
  box-shadow: 0 8px 22px rgba(255, 45, 92, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 45, 92, 0.42);
}

.btn-outline {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-quiet {
  color: var(--text-secondary);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn-quiet:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.btn-quiet.is-on {
  color: #0a0c11;
  background: var(--gold);
  box-shadow: none;
}

.btn-ghost {
  height: 40px;
  padding: 0 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: #fff;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 0;
  place-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.hero-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.hero-slide.is-active .hero-img {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.76) 34%, rgba(8, 10, 15, 0.18) 66%, rgba(8, 10, 15, 0.42) 100%),
    linear-gradient(0deg, rgba(8, 10, 15, 0.96) 0%, rgba(8, 10, 15, 0.12) 52%, rgba(8, 10, 15, 0.34) 100%);
}

.hero-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 44px 46px;
  max-width: var(--shell);
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.tag-live {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-grad);
  color: #0a0c11;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-body h1,
.hero-body h2 {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  background: linear-gradient(100deg, #ffffff 20%, #ffd9c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #d3d8e4;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.hero-meta li {
  position: relative;
  padding-left: 14px;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--accent);
  border-radius: 1px;
}

.hero-meta li:first-child::before {
  display: none;
}

.hero-meta li:first-child {
  padding-left: 0;
}

.hero-meta b {
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 4px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-dots::-webkit-scrollbar {
  display: none;
}

.hero-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.hero-dot i {
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.5;
  transition: width var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}

.hero-dot:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.hero-dot.is-active {
  color: var(--text-primary);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.hero-dot.is-active i {
  width: 30px;
  opacity: 1;
  background: var(--accent-grad);
}

.hero-arrows {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.arrow:hover {
  color: #0a0c11;
  background: var(--accent);
  transform: scale(1.06);
}

.section {
  padding-top: 64px;
}

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

.section-head.compact {
  margin-bottom: 16px;
}

.section-head h2 {
  position: relative;
  padding-left: 16px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: var(--accent-grad);
}

.section-desc {
  margin-top: 8px;
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-head.compact .section-desc {
  font-size: 12.5px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.more-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
  gap: 10px;
}

.timetable {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.72) 0%, rgba(20, 24, 35, 0.92) 100%);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-1);
  padding: 20px;
}

.week-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.week-tab {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.week-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.week-tab.is-active {
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 8px 20px rgba(255, 45, 92, 0.26);
}

.week-panels {
  position: relative;
  min-height: 296px;
}

.week-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.week-panel.is-active {
  display: grid;
  animation: fadeUp 0.35s var(--ease) both;
}

.tt-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.tt-row:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--border);
  transform: translateY(-1px);
}

.tt-cover {
  position: relative;
  display: block;
  width: 48px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}

.tt-cover img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  object-position: center top;
}

.tt-row.is-updated .tt-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  z-index: 2;
  background: var(--accent-grad);
}

.tt-row:not(.is-updated) {
  opacity: 0.62;
}

.tt-main {
  min-width: 0;
}

.tt-main h3 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-main h3 a:hover {
  color: var(--accent);
}

.tt-tags {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-time {
  flex: 0 0 auto;
  text-align: right;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted);
  white-space: nowrap;
}

.tt-time b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.tt-row.is-updated .tt-time span {
  color: var(--accent);
  font-weight: 600;
}

.season-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.season-year {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.season-year:not(:first-child) {
  margin-left: 10px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.season-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.season-chip span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.season-chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.season-chip.is-current {
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 8px 20px rgba(255, 45, 92, 0.24);
}

.season-chip.is-current span {
  color: rgba(10, 12, 17, 0.66);
}

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

.poster-card {
  min-width: 0;
}

.poster-link {
  display: block;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease);
}

.poster-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease), filter var(--dur) var(--ease);
}

.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.86) 0%, rgba(8, 10, 15, 0) 42%);
  opacity: 0.9;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 3;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.badge-state {
  top: 8px;
  left: 8px;
  color: #0a0c11;
  background: var(--gold);
}

.badge-state.is-done {
  color: #e9edf5;
  background: rgba(30, 36, 52, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.badge-ep {
  left: 8px;
  right: 8px;
  bottom: 8px;
  text-align: center;
  color: #fff;
  background: rgba(10, 12, 17, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  font-variant-numeric: tabular-nums;
}

.poster-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  color: #0a0c11;
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.poster-title {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 41px;
  transition: color var(--dur) var(--ease);
}

.poster-meta {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .poster-link:hover {
    transform: translateY(-4px);
  }

  .poster-link:hover .poster-media {
    box-shadow: inset 0 0 0 1px var(--accent-line), 0 16px 36px rgba(0, 0, 0, 0.5);
  }

  .poster-link:hover .poster-media img {
    transform: scale(1.06);
  }

  .poster-link:hover .poster-play {
    opacity: 1;
    transform: scale(1);
  }

  .poster-link:hover .poster-title {
    color: var(--accent);
  }
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.rank-col,
.genre-col {
  min-width: 0;
}

html.js-ready .reveal {
  will-change: opacity, transform;
}

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

.rank-list li {
  min-width: 0;
}

.rank-list a {
  display: grid;
  grid-template-columns: 26px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rank-list a:hover {
  background: rgba(255, 255, 255, 0.062);
  box-shadow: inset 0 0 0 1px var(--border);
  transform: translateX(3px);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.rank-1 {
  color: #0a0c11;
  background: linear-gradient(135deg, #f5c518, #ffdf6b);
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.34);
}

.rank-2 {
  color: #0a0c11;
  background: linear-gradient(135deg, #c8d0e0, #eef2f9);
}

.rank-3 {
  color: #0a0c11;
  background: linear-gradient(135deg, #d2884c, #eab183);
}

.rank-thumb {
  display: block;
  width: 44px;
  height: 55px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--bg-elevated);
  flex: 0 0 auto;
}

.rank-thumb img {
  width: 44px;
  height: 55px;
  object-fit: cover;
  object-position: center top;
}

.rank-body {
  min-width: 0;
  display: block;
}

.rank-body b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-body i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.rank-pct {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 480px;
  align-content: start;
}

.genre-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.genre-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter var(--dur) var(--ease);
  filter: saturate(0.86) brightness(0.72);
}

.genre-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.9) 0%, rgba(8, 10, 15, 0.06) 74%);
  pointer-events: none;
}

.genre-card span {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 11px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.genre-card em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
}

@media (hover: hover) {
  .genre-card:hover {
    box-shadow: inset 0 0 0 1px var(--accent-line), var(--shadow-2);
    transform: translateY(-3px);
  }

  .genre-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.05) brightness(0.86);
  }
}

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

.topic-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter var(--dur) var(--ease);
  filter: brightness(0.82);
}

.topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.34) 52%, rgba(8, 10, 15, 0.06) 100%);
  pointer-events: none;
}

.topic-body {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: block;
}

.topic-body em {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #0a0c11;
  background: rgba(255, 255, 255, 0.9);
}

.topic-body b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-body i {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .topic-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px var(--accent-line), var(--shadow-3);
  }

  .topic-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.92);
  }
}

.article-section {
  padding-top: 72px;
}

.article-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.article-head h2 {
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-lead {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

.article-card {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.6) 0%, rgba(20, 24, 35, 0.86) 100%);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.article-card:hover {
  box-shadow: inset 0 0 0 1px var(--border);
  transform: translateY(-2px);
}

.article-card h3 {
  position: relative;
  padding-top: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
}

.article-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-grad);
}

.article-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-card strong {
  color: var(--accent);
  font-weight: 600;
}

.faq-block {
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.faq-block > h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  position: relative;
  padding: 16px 36px 16px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--dur) var(--ease);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
  border-color: var(--accent);
}

.faq-item p {
  padding: 0 36px 18px 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.cta-band {
  padding-bottom: 72px;
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 180px at 12% 20%, rgba(255, 45, 92, 0.20), transparent 70%),
    linear-gradient(120deg, rgba(26, 32, 48, 0.9) 0%, rgba(20, 24, 35, 0.94) 100%);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-2);
}

.cta-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: 0 0 auto;
  box-shadow: 0 8px 22px rgba(255, 45, 92, 0.24);
}

.cta-inner > div {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-inner h2 {
  font-size: 18px;
  font-weight: 800;
}

.cta-inner p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(14, 17, 24, 0.4) 0%, rgba(8, 10, 15, 0.9) 100%);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer-mail {
  font-size: 12.5px;
}

.footer-mail a {
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border);
}

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

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

.footer-nav h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-nav li + li {
  margin-top: 8px;
}

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

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal {
  max-width: 640px;
  text-align: right;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(26, 32, 48, 0.88);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-2);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--accent);
  color: #0a0c11;
}

.follow-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 12px 32px rgba(255, 45, 92, 0.36);
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  white-space: nowrap;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199px) {
  :root {
    --gap: 16px;
  }

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

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

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

  .rank-list,
  .genre-grid {
    min-height: 0;
  }

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

  .topic-card:last-child {
    grid-column: span 2;
  }

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

  .search-form {
    width: 168px;
  }

  .main-nav a {
    padding: 8px 11px;
    font-size: 13.5px;
  }
}

@media (max-width: 991px) {
  html.js-ready .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 70;
    padding: 14px 20px 22px;
    background: rgba(10, 12, 17, 0.98);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }

  html.js-ready .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  html:not(.js-ready) .main-nav {
    flex: 1 1 100%;
    order: 3;
    padding: 4px 0 14px;
    border-top: 1px solid var(--border-soft);
    margin-top: 10px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav a {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
  }

  .main-nav a.is-current::after {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 0;
  }

  html.js-ready .burger {
    display: grid;
  }

  .search-form {
    width: 44px;
    padding: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
  }

  .search-form input {
    display: none;
  }

  .search-form.is-expanded {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    padding: 0 8px 0 16px;
    justify-content: flex-start;
    background: rgba(20, 24, 35, 0.98);
    box-shadow: inset 0 0 0 1px var(--accent-line), var(--shadow-2);
    z-index: 75;
  }

  .search-form.is-expanded input {
    display: block;
  }

  .hero-viewport {
    padding: 0 16px;
  }

  .hero-track {
    aspect-ratio: 16 / 10;
    max-height: 460px;
  }

  .hero-body {
    padding: 0 26px 26px;
  }

  .hero-sub {
    -webkit-line-clamp: 2;
    font-size: 13.5px;
  }

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

  .section {
    padding-top: 52px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 767px) {
  :root {
    --gap: 12px;
    --header-h: 60px;
  }

  body {
    font-size: 14px;
  }

  .shell {
    padding: 0 16px;
  }

  .brand-text em {
    display: none;
  }

  .header-login {
    display: none;
  }

  .hero-viewport {
    padding: 0 12px;
  }

  .hero-track {
    aspect-ratio: 4 / 5;
    max-height: 520px;
    border-radius: var(--radius);
  }

  .hero-img {
    object-position: center 26%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 10, 15, 0.97) 6%, rgba(8, 10, 15, 0.42) 46%, rgba(8, 10, 15, 0.30) 100%);
  }

  .hero-body {
    padding: 0 18px 22px;
  }

  .hero-kicker {
    font-size: 11.5px;
    gap: 8px;
  }

  .hero-body h1,
  .hero-body h2 {
    font-size: 24px;
  }

  .hero-sub {
    margin-top: 10px;
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .hero-meta {
    gap: 6px 14px;
    margin-top: 12px;
    font-size: 11.5px;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .hero-actions .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-actions .btn-outline {
    display: none;
  }

  .hero-controls {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
  }

  .hero-arrows {
    justify-content: flex-end;
  }

  .hero-arrow,
  .arrow {
    width: 36px;
    height: 36px;
  }

  .hero-dots {
    gap: 8px;
  }

  .hero-dot {
    height: 30px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .hero-dot i {
    width: 12px;
  }

  .hero-dot.is-active i {
    width: 20px;
  }

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

  .poster-title {
    font-size: 12.5px;
    min-height: 36px;
    -webkit-line-clamp: 2;
  }

  .poster-meta {
    font-size: 10.5px;
  }

  .badge {
    font-size: 9.5px;
    padding: 4px 6px;
  }

  .badge-state {
    top: 6px;
    left: 6px;
  }

  .badge-ep {
    left: 6px;
    right: 6px;
    bottom: 6px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: 18px;
    padding-left: 13px;
  }

  .section-head h2::before {
    height: 17px;
    width: 4px;
  }

  .section-desc {
    font-size: 12.5px;
  }

  .timetable {
    padding: 14px;
    min-height: 0;
  }

  .week-tabs {
    gap: 6px;
    padding-bottom: 14px;
  }

  .week-tab {
    height: 34px;
    padding: 0 15px;
    font-size: 12.5px;
  }

  .week-panels {
    min-height: 0;
  }

  .tt-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 10px;
  }

  .tt-cover,
  .tt-cover img {
    width: 44px;
    height: 55px;
  }

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

  .tt-time b {
    font-size: 12.5px;
  }

  .season-strip {
    padding: 14px;
    gap: 8px;
  }

  .season-chip {
    height: 32px;
    padding: 0 13px;
    font-size: 12.5px;
  }

  .season-year {
    height: 30px;
    font-size: 11.5px;
  }

  .season-year:not(:first-child) {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

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

  .genre-card span {
    left: 10px;
    right: 10px;
    bottom: 9px;
    font-size: 12.5px;
  }

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

  .topic-card:last-child {
    grid-column: span 1;
  }

  .topic-body b {
    font-size: 14px;
  }

  .rank-list a {
    grid-template-columns: 22px 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 7px 10px 7px 7px;
  }

  .rank-thumb,
  .rank-thumb img {
    width: 40px;
    height: 50px;
  }

  .rank-body b {
    font-size: 13px;
  }

  .article-card {
    padding: 18px 18px;
  }

  .article-card h3 {
    font-size: 15px;
  }

  .article-card p {
    font-size: 13px;
  }

  .faq-block {
    padding: 18px;
  }

  .faq-item summary {
    font-size: 13.5px;
    padding: 14px 30px 14px 0;
  }

  .faq-item p {
    font-size: 12.5px;
    padding-right: 20px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .cta-band {
    padding-bottom: 56px;
  }

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

  .to-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .follow-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    transform: translateY(24px);
    text-align: center;
    white-space: normal;
  }

  .follow-toast.is-visible {
    transform: translateY(0);
  }
}

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

  .hero-actions .btn-quiet {
    display: none;
  }
}

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

  .hero-img {
    transform: none;
  }

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

.page-main {
  padding-top: 22px;
  padding-bottom: 72px;
  min-height: 60vh;
}

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

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border);
  font-size: 11px;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}

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

.page-head h1 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.page-lead {
  margin-top: 10px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.page-stats b {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.66) 0%, rgba(20, 24, 35, 0.9) 100%);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  margin-bottom: 22px;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  flex: 0 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.chip.is-active {
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 6px 16px rgba(255, 45, 92, 0.24);
}

.chip em {
  font-style: normal;
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.62;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 18px;
}

.result-count {
  font-size: 13px;
  color: var(--text-muted);
}

.result-count b {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sort-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.sort-btn:hover {
  color: var(--text-primary);
}

.sort-btn.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 28px;
  align-items: start;
}

.side-col {
  display: grid;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.side-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  min-width: 0;
}

.side-card h2,
.side-card h3 {
  font-size: 14px;
  font-weight: 700;
  padding-left: 11px;
  position: relative;
  margin-bottom: 12px;
}

.side-card h2::before,
.side-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--accent-grad);
}

.side-list {
  display: grid;
  gap: 9px;
}

.side-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.side-list a i {
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.side-rank {
  display: grid;
  gap: 10px;
  counter-reset: siderank;
}

.side-rank li {
  counter-increment: siderank;
  display: grid;
  grid-template-columns: 18px 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.side-rank li::before {
  content: counter(siderank);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.side-rank li:nth-child(-n + 3)::before {
  color: var(--accent);
}

.side-rank .side-thumb {
  width: 40px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.side-rank .side-thumb img {
  width: 40px;
  height: 50px;
  object-fit: cover;
}

.side-rank b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-rank i {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.page-btn.is-current {
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 6px 18px rgba(255, 45, 92, 0.24);
}

.page-btn.is-disabled {
  opacity: 0.36;
  pointer-events: none;
}

.page-dots {
  color: var(--text-muted);
  font-size: 13px;
  padding: 0 4px;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 72px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.empty-state b {
  font-size: 16px;
  font-weight: 700;
}

.empty-state p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
}

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

.detail-cover {
  position: relative;
  width: 268px;
  height: 402px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-2);
}

.detail-cover img {
  width: 268px;
  height: 402px;
  object-fit: cover;
  object-position: center top;
}

.detail-cover .badge {
  top: 10px;
  left: 10px;
}

.detail-h1 {
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.detail-alt {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.tag:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.tag.is-hot {
  color: #0a0c11;
  background: var(--gold);
  box-shadow: none;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px 20px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.fact-grid div {
  min-width: 0;
}

.fact-grid dt {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.fact-grid dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.synopsis {
  position: relative;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.synopsis.is-clamped {
  max-height: 5.4em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.synopsis p + p {
  margin-top: 10px;
}

.synopsis-toggle {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.synopsis-toggle:hover {
  color: var(--accent-warm);
}

.ep-block {
  margin-top: 40px;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 9px;
  min-height: 132px;
  align-content: start;
}

.ep-chip {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ep-chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.ep-chip.is-current {
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 6px 16px rgba(255, 45, 92, 0.24);
}

.ep-chip.is-locked {
  opacity: 0.34;
  pointer-events: none;
}

.room {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.94) 0%, rgba(10, 12, 17, 1) 100%);
  margin-top: -22px;
  padding-top: 22px;
}

.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #07090d;
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-3);
}

.player-poster {
  position: absolute;
  inset: 0;
}

.player-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.36) saturate(0.9);
}

.player-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: center;
  text-align: center;
  padding: 20px;
}

.play-big {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #0a0c11;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

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

.player-center p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.player-center b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(4, 6, 9, 0.9) 0%, rgba(4, 6, 9, 0) 100%);
  pointer-events: none;
}

.player-progress {
  flex: 1 1 auto;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.player-progress i {
  display: block;
  height: 100%;
  width: 32%;
  border-radius: 3px;
  background: var(--accent-grad);
}

.player-time {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

.watch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 22px 0 16px;
}

.watch-head h1 {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.watch-sub {
  margin-top: 7px;
  font-size: 13px;
  color: var(--text-muted);
}

.ep-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 16px 0 0;
}

.ep-nav .btn {
  flex: 1 1 auto;
  min-width: 150px;
}

.continue-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 13px 17px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  font-size: 13px;
  color: var(--text-primary);
}

.continue-tip b {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.continue-tip .btn {
  height: 34px;
  padding: 0 15px;
  font-size: 12.5px;
}

.board-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.board-list {
  display: grid;
  gap: 10px;
}

.board-list > li {
  min-width: 0;
}

.board-item {
  display: grid;
  grid-template-columns: 40px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.board-item:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--border);
  transform: translateX(3px);
}

.board-no {
  font-size: 19px;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.board-item:nth-child(1) .board-no {
  color: var(--gold);
}

.board-item:nth-child(2) .board-no {
  color: var(--silver);
}

.board-item:nth-child(3) .board-no {
  color: var(--bronze);
}

.board-list > li:nth-child(1) .board-no {
  color: var(--gold);
}

.board-list > li:nth-child(2) .board-no {
  color: var(--silver);
}

.board-list > li:nth-child(3) .board-no {
  color: var(--bronze);
}

.board-thumb {
  width: 64px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.board-thumb img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  object-position: center top;
}

.board-body {
  min-width: 0;
}

.board-body b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-body p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-metric {
  flex: 0 0 auto;
  text-align: right;
}

.board-metric b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.board-metric i {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.podium-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-2);
}

.podium-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.5s var(--ease), filter var(--dur) var(--ease);
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 15, 0.95) 0%, rgba(8, 10, 15, 0.1) 68%);
}

.podium-body {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.podium-body em {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #0a0c11;
  background: var(--gold);
}

.podium-body b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.podium-body i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.68);
}

@media (hover: hover) {
  .podium-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.84);
  }
}

.auth-wrap {
  max-width: 440px;
  margin: 24px auto 0;
}

.auth-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.72) 0%, rgba(20, 24, 35, 0.94) 100%);
  box-shadow: inset 0 0 0 1px var(--border-soft), var(--shadow-2);
}

.auth-card h1 {
  font-size: 21px;
  font-weight: 800;
}

.auth-card > p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.auth-tabs {
  display: flex;
  gap: 6px;
  margin: 20px 0 18px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.auth-tab {
  flex: 1 1 0;
  height: 34px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.auth-tab.is-active {
  color: #0a0c11;
  background: var(--accent-grad);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field input {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: box-shadow var(--dur) var(--ease);
}

.field input:focus {
  box-shadow: inset 0 0 0 1px var(--accent-line), 0 0 0 4px rgba(255, 45, 92, 0.1);
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.field-error {
  font-size: 11.5px;
  color: var(--accent);
  min-height: 15px;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 18px;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check-row input {
  accent-color: #ff2d5c;
  width: 15px;
  height: 15px;
}

.check-row a {
  color: var(--text-secondary);
}

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

.btn-block {
  width: 100%;
  height: 46px;
}

.auth-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.user-nav {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.user-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.user-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.055);
}

.user-nav a.is-current {
  color: #fff;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.hist-list {
  display: grid;
  gap: 10px;
  min-height: 180px;
}

.hist-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.hist-item:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(2px);
}

.hist-thumb {
  width: 52px;
  height: 65px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.hist-thumb img {
  width: 52px;
  height: 65px;
  object-fit: cover;
  object-position: center top;
}

.hist-body {
  min-width: 0;
}

.hist-body b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hist-body p {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.hist-bar {
  margin-top: 7px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hist-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent-grad);
}

.hist-when {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

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

.notify-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background var(--dur) var(--ease);
}

.notify-item:hover {
  background: rgba(255, 255, 255, 0.055);
}

.notify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.notify-item.is-unread .notify-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 45, 92, 0.14);
}

.notify-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.notify-item p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-muted);
}

.notify-when {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.prose {
  max-width: 880px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-secondary);
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  padding-left: 13px;
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--accent-grad);
}

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

.prose h3 {
  margin: 26px 0 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.prose p + p {
  margin-top: 13px;
}

.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 4px;
  display: grid;
  gap: 7px;
}

.prose li {
  position: relative;
  padding-left: 17px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}

.prose ol {
  counter-reset: proseli;
}

.prose ol li {
  counter-increment: proseli;
}

.prose ol li::before {
  content: counter(proseli) ".";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.prose blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13.5px;
}

.prose a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-line);
}

.prose a:hover {
  border-bottom-style: solid;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 8px 24px;
  font-size: 13px;
}

.link-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  min-width: 0;
}

.link-grid a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex: 0 0 auto;
}

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

.link-grid a:hover::before {
  background: var(--accent);
}

.map-block {
  margin-bottom: 30px;
}

.map-block h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 11px;
  position: relative;
}

.map-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--accent-grad);
}

.error-page {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 84px 20px 96px;
  text-align: center;
}

.error-code {
  font-size: clamp(78px, 15vw, 148px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
}

.error-page p {
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

.search-page {
  max-width: 720px;
  margin: 20px auto 0;
}

.search-big {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 8px 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow var(--dur) var(--ease);
}

.search-big:focus-within {
  box-shadow: inset 0 0 0 1px var(--accent-line), 0 0 0 4px rgba(255, 45, 92, 0.1);
}

.search-big input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
}

.search-big button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #0a0c11;
  background: var(--accent-grad);
}

.hot-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hot-words a {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-secondary);
}

.hot-words a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0c11;
  background: var(--accent-grad);
  box-shadow: 0 12px 32px rgba(255, 45, 92, 0.36);
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  white-space: nowrap;
}

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

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

  .side-col {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .user-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .podium-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .detail-top {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }

  .detail-cover,
  .detail-cover img {
    width: 200px;
    height: 300px;
  }

  .board-item {
    grid-template-columns: 30px 56px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 14px 10px 10px;
  }

  .board-thumb,
  .board-thumb img {
    width: 56px;
    height: 70px;
  }

  .board-no {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .page-main {
    padding-top: 14px;
    padding-bottom: 56px;
  }

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

  .page-lead {
    font-size: 13px;
  }

  .filter-bar {
    padding: 13px;
    gap: 10px 16px;
  }

  .chip {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .detail-top {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 14px;
  }

  .detail-cover,
  .detail-cover img {
    width: 128px;
    height: 192px;
  }

  .detail-h1 {
    font-size: 19px;
  }

  .detail-alt {
    font-size: 11px;
  }

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

  .detail-actions .btn {
    height: 38px;
    padding: 0 15px;
    font-size: 13px;
  }

  .tag-row {
    gap: 6px;
    margin-top: 10px;
  }

  .tag {
    height: 24px;
    padding: 0 9px;
    font-size: 11px;
  }

  .ep-grid {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 7px;
    min-height: 116px;
  }

  .ep-chip {
    height: 36px;
    font-size: 12.5px;
  }

  .player-shell {
    border-radius: var(--radius);
  }

  .play-big {
    width: 58px;
    height: 58px;
  }

  .player-center b {
    font-size: 14px;
  }

  .player-center p {
    font-size: 11.5px;
  }

  .ep-nav .btn {
    min-width: 0;
    flex: 1 1 40%;
  }

  .board-item {
    grid-template-columns: 24px 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 12px 9px 8px;
  }

  .board-thumb,
  .board-thumb img {
    width: 48px;
    height: 60px;
  }

  .board-body b {
    font-size: 13.5px;
  }

  .board-metric b {
    font-size: 14px;
  }

  .podium {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .podium-card:last-child {
    grid-column: span 1;
  }

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

  .auth-card {
    padding: 20px;
  }

  .hist-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .hist-thumb,
  .hist-thumb img {
    width: 46px;
    height: 58px;
  }

  .hist-when {
    grid-column: 2;
    text-align: left;
  }

  .notify-item {
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 10px;
  }

  .notify-when {
    grid-column: 2;
  }

  .prose {
    font-size: 13.5px;
  }

  .prose h2 {
    font-size: 17px;
    margin-top: 28px;
  }

  .error-page {
    padding: 56px 16px 64px;
  }

  .pagination {
    gap: 6px;
    margin-top: 28px;
  }

  .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .toast,
  .follow-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    transform: translateY(24px);
    text-align: center;
    white-space: normal;
  }

  .toast.is-visible,
  .follow-toast.is-visible {
    transform: translateY(0);
  }
}

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

  .detail-cover,
  .detail-cover img {
    width: 132px;
    height: 198px;
  }
}

@media print {
  .site-header,
  .hero-controls,
  .to-top,
  .cta-band,
  .follow-toast,
  .toast,
  .side-col {
    display: none !important;
  }

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