:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #10131a;
  --text: #18202b;
  --muted: #667085;
  --line: #e4e7ec;
  --brand: #fa320a;
  --brand-dark: #c72506;
  --accent: #0b72f0;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(16, 24, 40, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 19, 26, 0.96);
  color: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px);
  gap: 22px;
  align-items: center;
}
.logo {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.08em;
  font-size: 1.55rem;
  box-shadow: 0 8px 20px rgba(250, 50, 10, 0.3);
}
.logo span { transform: translateY(-1px); }
.logo--footer { margin-bottom: 14px; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
}
.site-nav a { padding: 8px 0; }
.menu-toggle { display: none; }
.search input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: #fff;
  outline: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.10);
}
.search input::placeholder { color: rgba(255,255,255,0.58); }
.search input:focus { outline: 2px solid var(--brand); background: rgba(255,255,255,0.16); }
.search-shell { position: relative; }
.search-suggest-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: -1px;
  z-index: 70;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.search-suggest-panel.is-open { display: block; }
.search-suggest-panel a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.search-suggest-panel a:first-child { border-top: 0; }
.search-suggest-panel a:hover,
.search-suggest-panel a.active { color: var(--brand); background: #fff7ed; }
.suggest-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.suggest-meta { flex: 0 0 auto; color: var(--muted); font-size: .82rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 24px;
  padding: 34px 0 20px;
}
.hero-feature, .story-card, .rail-section, .text-panel, .video-card, .guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-feature { position: relative; min-height: 470px; display: grid; }
.hero-feature .mock-image { min-height: 470px; border-radius: 0; }
.hero-feature .hero-image,
.story-card .story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card .story-image { height: 150px; }
.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.35) 48%, rgba(0,0,0,0.1));
}
.hero-feature__content {
  position: absolute;
  inset: auto 34px 34px 34px;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 900;
}
.hero-feature__content .eyebrow { color: #ffd4ca; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 4.2rem); line-height: 0.95; letter-spacing: -0.05em; margin-bottom: 16px; }
h2 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 6px; }
h3 { font-size: 1rem; line-height: 1.18; margin-bottom: 6px; }
p { color: var(--muted); }
.hero-feature__content p:not(.eyebrow) { color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  margin-top: 8px;
}
.button:hover { color: #fff; background: var(--brand-dark); }
.button--ghost {
  color: #344054;
  background: #fff;
  border: 1px solid var(--line);
}
.button--ghost:hover {
  color: #fff;
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}

.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story-card .mock-image { height: 150px; border-radius: 0; }
.story-card__body { padding: 16px; }
.story-card p { margin-bottom: 0; font-size: 0.92rem; }

.mock-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 130px;
  border-radius: 16px;
  color: #fff;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,0.45), transparent 22%),
    linear-gradient(135deg, #141923 0%, #fa320a 46%, #ffb000 100%);
}
.mock-image::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: rotate(12deg);
  z-index: -1;
}
.mock-image__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.36);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.mock-image strong {
  font-size: clamp(2rem, 4vw, 4.8rem);
  letter-spacing: -0.08em;
  text-shadow: 0 10px 22px rgba(0,0,0,0.28);
}
.mock-image--poster { aspect-ratio: 2 / 3; min-height: 0; height: auto; }
.mock-image--video { aspect-ratio: 16 / 9; min-height: 0; border-radius: 16px; }
.mock-image--guide { aspect-ratio: 4 / 3; min-height: 0; border-radius: 16px 16px 0 0; }

.search-status {
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-weight: 700;
}

.rail-section { margin: 26px auto; padding: 22px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.section-head p { margin-bottom: 0; }
.section-head--compact { align-items: start; }
.text-link {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
}
.rail-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.poster-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding: 4px 2px 10px;
}
.poster-rail::-webkit-scrollbar { display: none; }
.poster-card {
  scroll-snap-align: start;
  min-width: 0;
}
.poster-card__media {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #eef2f6;
}
.poster-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .18s ease;
}
.poster-card:hover .poster-image { transform: scale(1.025); }
.poster-card h3 {
  min-height: 30px;
  margin: 6px 0 3px;
}
.poster-card__scores {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  color: #344054;
  font-size: 0.85rem;
  font-weight: 900;
}
.score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.watchlist {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: #344054;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}
.watchlist:hover, .watchlist.is-active {
  color: #fff;
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}
.watchlist:disabled { opacity: .66; cursor: wait; }
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, 16px);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 19, 26, .94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.auth-lock { overflow: hidden; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  place-items: center;
  padding: 18px;
}
.auth-modal.is-open { display: grid; }
.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 26, .46);
  backdrop-filter: blur(6px);
}
.auth-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(16, 24, 40, .26);
}
.auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.auth-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f4f7;
}
.auth-tabs button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: #344054;
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button.is-active {
  color: #fff;
  background: var(--brand);
}
.auth-card h2 {
  margin: 18px 0 6px;
}
.auth-hint {
  margin: 0 0 18px;
  color: var(--muted);
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}
.auth-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  outline: none;
}
.auth-form input:focus {
  border-color: rgba(255, 49, 23, .55);
  box-shadow: 0 0 0 4px rgba(255, 49, 23, .12);
}
.auth-error {
  min-height: 18px;
  margin: 0;
  color: var(--brand);
  font-size: .9rem;
  font-weight: 800;
}
.auth-submit {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  cursor: pointer;
}
.auth-submit:disabled {
  opacity: .62;
  cursor: wait;
}
.rail-btn {
  position: absolute;
  top: 34%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 19, 26, 0.88);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16,24,40,0.18);
}
.rail-btn:hover { background: var(--brand); }
.rail-btn--left { left: -12px; }
.rail-btn--right { right: -12px; }

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 26px auto;
}
.list-grid--single { grid-template-columns: minmax(0, 1fr); }
.text-panel { padding: 22px; }
.rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rank-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.rank-list li:first-child { border-top: 0; }
.rank { color: var(--muted); font-weight: 900; }
.list-title { font-weight: 800; }
.list-score { color: #344054; font-weight: 900; }

.video-section, .guides-section { padding: 4px 0 26px; }
.video-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.video-card { padding: 16px; display: grid; gap: 14px; }
.video-card:first-child { grid-row: span 2; }
.video-card:first-child .mock-image { min-height: 300px; }
.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  margin-bottom: 8px;
  background: #fff0ed;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.video-card p { margin-bottom: 0; }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.guide-card h3 { padding: 16px; margin: 0; }

.site-footer {
  margin-top: 34px;
  background: var(--surface-strong);
  color: #fff;
  padding: 40px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.site-footer p { color: rgba(255,255,255,0.68); max-width: 580px; margin-bottom: 0; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.78); font-weight: 800; }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(250, 50, 10, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

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

.quick-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px auto 18px;
}
.quick-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}
.quick-strip a:hover { color: #fff; background: var(--surface-strong); border-color: var(--surface-strong); }
.page-hero {
  margin: 30px auto 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { margin-bottom: 0; }
.search-results-hero {
  margin: 30px auto 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.search-results-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.search-results-form {
  display: flex;
  gap: 10px;
}
.search-results-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--text);
  outline: 0;
  background: #f8fafc;
}
.search-results-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(250, 50, 10, .12);
  background: #fff;
}
.search-results-form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  cursor: pointer;
}
.search-results-meta {
  margin: 12px 0 0;
  color: var(--muted);
}
.filter-shell {
  margin-bottom: 22px;
}
.filter-shell .filter-panel { margin: 0; }
.filter-toggle { display: none; }
.filter-panel {
  margin: 0 auto 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.filter-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.filter-line:first-child { border-top: 0; }
.filter-line strong { color: var(--muted); }
.filter-items { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-items a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #344054;
}
.filter-items a:hover,
.filter-items a.active { color: #fff; background: var(--brand); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  gap: 18px;
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.page-layout > * { min-width: 0; }
.page-side { display: grid; gap: 18px; }
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}
.pager-actions { display: flex; gap: 10px; }
.empty {
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
}
.listing-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.list-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.list-item:first-child { border-top: 0; }
.list-item__image {
  width: 116px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #eef2f6;
}
.list-item h2 { margin-bottom: 8px; font-size: 1.1rem; }
.list-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.person-detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 30px auto 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.person-detail__photo img,
.person-avatar--large {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  background: #eef2f6;
}
.person-detail__main h1 { margin-bottom: 12px; }
.person-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.person-detail__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-weight: 800;
}
.person-detail__intro {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 760px;
}
.person-content {
  margin-bottom: 24px;
}
.person-work-section {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.recent-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin: 30px auto 28px;
}
.recent-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
  line-height: 1.1;
}
.recent-head span {
  color: #a3a3a3;
  font-size: 1.02rem;
}
.page-layout--recent {
  display: block;
}
.page-layout--recent .page-side,
.page-side--recent {
  display: none;
}
.recent-list {
  overflow: hidden;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
  background: #fff;
}
.recent-row {
  display: grid;
  grid-template-columns: 58px minmax(220px, 2.2fr) minmax(90px, .7fr) minmax(190px, 1.35fr) minmax(260px, 1.8fr) 86px;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 12px 16px;
  color: #6a6a6a;
  background: #fff;
}
.recent-row:nth-child(odd) {
  background: #f7f7f7;
}
.recent-row:hover {
  color: #303030;
  background: #fff4ef;
}
.recent-poster {
  display: block;
  width: 42px;
  height: 62px;
  overflow: hidden;
  background: #e5e7eb;
}
.recent-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-poster-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  font-weight: 800;
}
.recent-title,
.recent-category,
.recent-meta,
.recent-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-title {
  color: #333;
}
.recent-title strong {
  font-weight: 500;
}
.recent-title em {
  margin-left: 4px;
  color: #777;
  font-style: normal;
}
.recent-category {
  text-align: center;
}
.recent-summary {
  color: #777;
}
.recent-time {
  display: grid;
  gap: 1px;
  justify-items: end;
  color: #6b6b6b;
  font-size: .96rem;
  line-height: 1.25;
}
.user-dashboard {
  margin: 26px auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.user-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.user-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: #344054;
  font-weight: 800;
  background: #fff;
}
.user-tabs a.active,
.user-tabs a:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}
.user-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.record-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.record-card img,
.record-card .mock-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #eef2f6;
}
.record-card h3 { margin: 0; }
.record-card p { margin: 0; font-size: .88rem; }
.content-layout {
  margin-bottom: 26px;
}
.content-page {
  min-width: 0;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.content-page * {
  max-width: 100%;
}
.content-page {
  overflow-wrap: anywhere;
}
.content-page img { max-width: 100%; height: auto; border-radius: 14px; }
.content-page iframe,
.content-page video {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.content-page table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-collapse: collapse;
}
.content-page pre,
.content-page code {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: pre-wrap;
}
.content-page table::-webkit-scrollbar,
.content-page pre::-webkit-scrollbar,
.content-page code::-webkit-scrollbar { display: none; }
.content-page p { color: #344054; }
.detail-layout {
  margin: 30px auto 26px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.detail-poster {
  overflow: hidden;
  border-radius: 18px;
  background: #eef2f6;
}
.detail-poster img,
.detail-poster .mock-image { width: 100%; aspect-ratio: 2 / 3; min-height: 0; height: auto; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-weight: 800;
  font-size: .88rem;
}
.detail-copy {
  margin-bottom: 20px;
  color: #344054;
}
.detail-field {
  min-width: 0;
}
.detail-field--clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-summary {
  margin: 0 auto 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.detail-summary__body {
  color: #344054;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.detail-summary__body p:last-child {
  margin-bottom: 0;
}
.detail-summary__body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.detail-line {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}
.detail-line > span:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-actors {
  gap: 0;
}
.actor-name-list {
  display: inline;
  min-width: 0;
}
.actor-name::after {
  content: " ";
}
.actor-name:last-child::after {
  content: "";
}
.detail-line--links > span:first-child {
  flex: 0 0 auto;
}
.inline-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.inline-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-weight: 700;
  font-size: .9rem;
}
.inline-tags a:hover {
  color: #fff;
  background: var(--brand);
}
.people-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tag-links {
  margin: 0 auto 26px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.people-links strong {
  margin-right: 2px;
  color: var(--muted);
}
.people-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}
.people-links a:hover { color: #fff; background: var(--surface-strong); border-color: var(--surface-strong); }
.person-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 10px;
}
.person-strip::-webkit-scrollbar { display: none; }
.person-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}
.person-card img,
.person-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  background: #eef2f6;
}
.person-avatar {
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}
.person-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-card span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: .86rem;
}
.special-card {
  display: block;
  background: #fff;
}
.special-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.special-card p {
  padding: 0 16px 16px;
  margin: -8px 0 0;
  font-size: .9rem;
}
.play-panel {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.play-panel--standalone {
  display: grid;
  gap: 16px;
  margin: 0 auto 26px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.detail-player {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: hidden;
  border-radius: 14px;
  background: #10131a;
  color: rgba(255,255,255,.74);
}
.detail-player video,
.detail-player iframe {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.detail-player .is-visible { display: block; }
.player-fallback { min-height: 250px; display: grid; place-items: center; }
.play-list-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.play-list-head h2 {
  margin: 0;
  color: #101828;
  font-size: 1.34rem;
  line-height: 1.25;
}
.play-source-note {
  min-width: 0;
  color: #98a2b3;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.play-order-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #667085;
  cursor: pointer;
  font-weight: 800;
}
.play-order-toggle:hover {
  color: var(--brand);
  border-color: rgba(255, 47, 20, .32);
  background: rgba(255, 47, 20, .05);
}
.player-control-bar {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.player-control-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 34px 58px 34px 42px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}
.player-control-bar.is-active .player-control-panel {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.player-control-status {
  position: absolute;
  left: 50%;
  bottom: 18px;
  max-width: min(74%, 520px);
  transform: translateX(-50%);
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.play-source-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.play-source-tabs::-webkit-scrollbar { display: none; }
.source-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}
.source-tab:hover,
.source-tab.is-active {
  color: #fff;
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}
.play-source-panel {
  display: none;
}
.play-source-panel.is-active {
  display: block;
}
.play-range-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px;
  color: #667085;
  font-size: .92rem;
}
.play-range-bar[hidden] {
  display: none;
}
.play-range-bar select {
  min-height: 34px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-weight: 700;
}
.play-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.play-list.is-limited:not(.is-expanded) .episode-pill:nth-child(n+25):not(.episode-pill--expand) {
  display: none;
}
.episode-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  min-height: 34px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}
.episode-pill--expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  background: #f8fafc;
}
.episode-pill--expand[hidden] {
  display: none;
}
.play-list.is-limited .episode-pill--expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.player-control-toggle {
  position: absolute;
  top: 50%;
  right: -1px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 24px;
  height: 30px;
  margin-top: -15px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: rgba(18, 18, 20, .42);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 1.16rem;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(0,0,0,.12);
  pointer-events: auto;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.player-control-toggle:hover,
.player-control-bar.is-active .player-control-toggle {
  background: rgba(18, 18, 20, .78);
  color: #fff;
}
.player-control-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 58px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  pointer-events: auto;
}
.player-control-item span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,.95);
  font-size: 1.45rem;
  font-weight: 700;
}
.player-control-item em {
  color: rgba(255,255,255,.9);
  font-size: .84rem;
  font-style: normal;
  white-space: nowrap;
}
.player-control-item:hover span,
.player-control-item:hover em {
  color: #fff;
}
.player-control-item:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.player-auto-next input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.player-auto-next span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  font-size: .78rem;
}
.player-auto-next input:checked + span {
  background: rgba(255,255,255,.92);
  color: #111827;
}
.episode-pill:hover,
.episode-pill.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.play-page-frame {
  margin: 30px auto 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #10131a;
  box-shadow: var(--shadow);
}
.play-page-frame iframe,
.play-page-frame video { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.play-page-title { margin: 26px auto 0; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr); }
  .search-shell { grid-column: 1 / -1; padding-bottom: 14px; }
  .hero { grid-template-columns: 1fr; }
  .story-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .story-grid::-webkit-scrollbar { display: none; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-card:first-child { grid-row: auto; }
  .video-card:first-child .mock-image { min-height: 0; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 0;
    z-index: 3;
    justify-self: end;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 8px 12px;
    background: transparent;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
  }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    padding-bottom: 12px;
  }
  .site-nav.is-open { display: flex; }
  .search-shell { grid-column: 1 / -1; }
  .hero-feature, .hero-feature .mock-image { min-height: 410px; }
  .hero-feature__content { inset: auto 22px 24px 22px; }
  .story-grid { grid-template-columns: 1fr; overflow: visible; }
  .rail-section, .text-panel { padding: 16px; }
  .section-head { align-items: start; flex-direction: column; }
  .poster-rail { grid-auto-columns: 146px; }
  .rail-btn { display: none; }
  .list-grid { grid-template-columns: 1fr; }
  .video-grid, .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { display: none; }
  .search-results-hero {
    margin: 14px auto 16px;
    padding: 16px;
  }
  .search-results-hero h1 {
    margin-bottom: 12px;
    font-size: 1.8rem;
    line-height: 1.05;
  }
  .search-results-form input { padding: 11px 14px; }
  .search-results-form button { padding: 0 16px; }
  .search-results-meta { font-size: .9rem; }
  .filter-shell {
    margin-bottom: 16px;
  }
  .filter-panel {
    display: block;
    max-height: none;
    overflow: hidden;
    padding: 8px 12px;
  }
  .filter-panel.is-collapsed { max-height: 96px; }
  .filter-line {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px solid var(--line);
    white-space: nowrap;
  }
  .filter-line:first-child { border-top: 0; }
  .filter-line strong { min-width: 0; font-size: .9rem; }
  .filter-items {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-items::-webkit-scrollbar { display: none; }
  .filter-items a {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0 8px;
    font-size: .86rem;
  }
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
    color: #344054;
    background: #fff;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
  }
  .pager { align-items: start; flex-direction: column; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .list-item { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .list-item__image { width: 86px; }
  .recent-head {
    margin: 18px auto 14px;
    gap: 12px;
  }
  .recent-head h1 { font-size: 1.55rem; }
  .recent-head span { font-size: .9rem; }
  .recent-row {
    grid-template-columns: 44px minmax(0, 1fr) 58px;
    gap: 10px;
    min-height: 78px;
    padding: 10px 12px;
  }
  .recent-poster {
    width: 38px;
    height: 56px;
  }
  .recent-title {
    align-self: end;
  }
  .recent-category,
  .recent-meta,
  .recent-summary {
    display: none;
  }
  .recent-time {
    font-size: .78rem;
  }
  .person-detail {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    margin: 16px auto 16px;
    padding: 14px;
  }
  .person-detail__photo img,
  .person-avatar--large {
    border-radius: 14px;
  }
  .person-detail__main h1 {
    font-size: 1.5rem;
    line-height: 1.1;
  }
  .person-detail__meta {
    gap: 6px;
    margin-bottom: 8px;
  }
  .person-detail__meta span {
    min-height: 26px;
    padding: 0 8px;
    font-size: .78rem;
  }
  .person-detail__intro {
    -webkit-line-clamp: 2;
    font-size: .9rem;
  }
  .user-dashboard { padding: 16px; }
  .user-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .user-tabs::-webkit-scrollbar { display: none; }
  .user-tabs a { flex: 0 0 auto; }
  .user-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
    padding: 14px;
  }
  .detail-poster { max-width: none; border-radius: 14px; }
  .detail-layout h1 { font-size: 1.55rem; line-height: 1.2; }
  .detail-meta { gap: 6px; margin: 8px 0 10px; }
  .detail-meta span { min-height: 26px; padding: 0 8px; font-size: .78rem; }
  .detail-copy { font-size: .92rem; margin-bottom: 0; }
  .detail-field {
    max-width: min(100%, 280px);
  }
  .detail-field--clip,
  .detail-actors .actor-name-list {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .detail-actors .actor-name-list {
    display: block;
    flex: 1 1 auto;
  }
  .actor-name:nth-of-type(n+4) { display: none; }
  .detail-summary { padding: 16px; }
  .inline-tags { gap: 5px; }
  .inline-tags a { min-height: 22px; padding: 0 7px; font-size: .82rem; }
  .tag-links { padding: 12px 14px; }
  .play-panel--standalone { padding: 14px; }
  .detail-player { min-height: 190px; border-radius: 12px; }
  .player-fallback { min-height: 190px; }
  .play-list-head { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .play-list-head h2 { font-size: 1.1rem; }
  .play-source-note { grid-column: 1 / -1; grid-row: 2; text-align: left; font-size: .82rem; }
  .play-order-toggle { min-height: 32px; padding: 0 10px; border-radius: 8px; font-size: .84rem; }
  .source-tab { min-height: 32px; padding: 0 12px; font-size: .88rem; }
  .episode-pill { min-height: 32px; padding: 0 10px; font-size: .88rem; }
  .player-control-panel { gap: 18px; padding: 28px 44px 30px 24px; }
  .player-control-status {
    bottom: 12px;
    max-width: 72%;
    font-size: .76rem;
  }
  .player-control-toggle { right: -1px; width: 22px; height: 28px; margin-top: -14px; border-radius: 14px 0 0 14px; font-size: 1.08rem; }
  .player-control-item { width: 44px; gap: 5px; }
  .player-control-item span { width: 24px; height: 24px; font-size: 1.18rem; }
  .player-control-item em { font-size: .72rem; }
  .player-auto-next span { width: 20px; height: 20px; font-size: .7rem; }
  .person-strip { grid-auto-columns: 126px; }
  .detail-latest-panel { display: none; }
}

@media (max-width: 420px) {
  .detail-layout { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .detail-layout h1 { font-size: 1.32rem; }
  .detail-meta span { font-size: .74rem; }
  .detail-field { max-width: min(100%, 238px); }
}
