/* ReviewTube Clean - editorial midnight cinema theme. */
:root {
  --bg: #090d13;
  --bg-deep: #070a0f;
  --surface: #121a24;
  --surface-2: #192532;
  --surface-3: #223343;
  --text: #f3efe6;
  --muted: #a4afbb;
  --accent: #f7c85d;
  --accent-hot: #f17a62;
  --accent-cool: #9bd8df;
  --accent-ink: #17130b;
  --border: rgba(171, 194, 211, .18);
  --border-strong: rgba(247, 200, 93, .52);
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 18px;
  --maxw: 1240px;
}

html[data-theme="light"] {
  --bg: #f4f0e8;
  --bg-deep: #e8e0d4;
  --surface: #fffaf1;
  --surface-2: #f2e9da;
  --surface-3: #e5d7c3;
  --text: #1d252b;
  --muted: #5d6870;
  --accent: #b87816;
  --accent-hot: #bd5140;
  --accent-cool: #176b76;
  --accent-ink: #2b1c08;
  --border: rgba(30, 48, 58, .18);
  --border-strong: rgba(184, 120, 22, .56);
  --shadow: 0 24px 80px rgba(62, 42, 20, .16);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 6% -8%, rgba(247, 200, 93, .13), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(241, 122, 98, .12), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #0b1119 54%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .23;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 9px);
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

button,
input {
  font: inherit;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.hidden {
  display: none !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(171, 194, 211, .15);
  background: rgba(7, 10, 15, .82);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 6% -8%, rgba(184, 120, 22, .13), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(189, 81, 64, .11), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #f8f3ea 54%, var(--bg-deep) 100%);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 250, 241, .88);
  box-shadow: 0 12px 40px rgba(62, 42, 20, .12);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle[hidden] {
  display: none !important;
}

.hero-pagination[hidden],
.hero-nav[hidden],
.rail-nav[hidden] {
  display: none !important;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

.poster-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  min-height: 240px;
  padding: 18px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface-3));
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  text-align: center;
}

.verdict.pending {
  border-color: var(--border);
  color: var(--muted);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 13px;
  background: linear-gradient(145deg, var(--accent), #e99b36);
  box-shadow: 0 8px 22px rgba(247, 200, 93, .2);
  color: var(--accent-ink);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 21px;
  font-weight: 900;
}

.main-nav {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.main-nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover {
  background: rgba(155, 216, 223, .08);
  color: var(--text);
}

.site-search {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.site-search input {
  width: 198px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 13px 0 0 13px;
  background: rgba(18, 26, 36, .92);
  color: var(--text);
}

.site-search input::placeholder {
  color: #74818e;
}

.site-search button {
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 0 13px 13px 0;
  background: var(--surface-3);
  color: var(--accent);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.site-search button:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Shared editorial rhythm */
.kicker {
  margin: 0 0 9px;
  color: var(--accent-hot);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section {
  padding: 52px 0 10px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.section-head .count {
  color: var(--muted);
  font-size: 14px;
}

.section-intro {
  max-width: 760px;
  margin: -6px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.catalog-pagination .view-all {
  margin-left: auto;
}

/* Hero */
.hero-card {
  position: relative;
  min-height: 468px;
  margin: 22px 0 10px;
  overflow: hidden;
  border: 1px solid rgba(171, 194, 211, .24);
  border-radius: 28px;
  background-color: #111925;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  animation: heroRise .65s ease both;
}

.hero-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: inherit;
}

.hero-shade {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 468px;
  padding: 58px;
  background:
    radial-gradient(circle at 78% 50%, rgba(241, 122, 98, .15), transparent 22rem),
    linear-gradient(90deg, rgba(7, 10, 15, .98) 7%, rgba(7, 10, 15, .84) 42%, rgba(7, 10, 15, .3) 78%, rgba(7, 10, 15, .12));
}

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

.hero-title {
  max-width: 760px;
  margin: 0 0 15px;
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.spot-title {
  max-width: 720px;
  margin: 0 0 14px;
  color: #f6dca3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.12;
}

.hero-blurb {
  max-width: 620px;
  margin: 0;
  color: #d6d8d4;
  font-size: 16px;
}

.hero-cta {
  margin: 20px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0 9px 0 0;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #eaa743);
  box-shadow: 0 10px 24px rgba(247, 200, 93, .18);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(247, 200, 93, .27);
  color: var(--accent-ink);
}

.btn.ghost {
  border-color: rgba(243, 239, 230, .28);
  background: rgba(9, 13, 19, .24);
  box-shadow: none;
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: rgba(247, 200, 93, .1);
  color: var(--text);
}

.hero-poster {
  flex: 0 0 220px;
}

.hero-poster a {
  position: relative;
  display: block;
}

.hero-poster img {
  display: block;
  width: 220px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 18px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, .58);
  transform: rotate(2deg);
}

.hero-poster .play {
  position: absolute;
  right: -11px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 4px solid #121923;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 19px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .34);
}

.slider .slide {
  display: none;
}

.slider .slide.active {
  display: block;
}

.slider-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 2px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots button {
  width: 30px;
  height: 7px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--surface-3);
  cursor: pointer;
}

.dots button.on {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(247, 200, 93, .38);
}

.slider-ui .rail-nav {
  margin-left: auto;
}

/* Quick links and rails */
.quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 18px;
  padding-bottom: 0;
}

.quickbar a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 26, 36, .7);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.quickbar a:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.rail-nav {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.rail-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(18, 26, 36, .86);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.rail-nav button:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  transform: translateY(-2px);
}

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--surface-3) transparent;
}

.rail-card {
  flex: 0 0 198px;
  scroll-snap-align: start;
}

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

/* The catalog keeps 24-card pages in complete rows: 6/4/3/2 columns. */
.catalog-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 37, 50, .98), rgba(15, 22, 31, .98));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
  transform: translateY(-5px);
}

.card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-media {
  position: relative;
  display: block;
}

.card-media img,
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #1b2733;
}

.card-body {
  padding: 12px 13px 14px;
}

.card-title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-score {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.card-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.media-empty {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  position: absolute;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.tag.score {
  top: 9px;
  left: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.tag.kind {
  right: 9px;
  bottom: 9px;
  background: rgba(7, 10, 15, .78);
  color: #fff;
}

/* Ranked block */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 32px;
}

.home-feed,
.home-sidebar {
  min-width: 0;
}

.top10-section {
  max-width: none;
  scroll-margin-top: 140px;
}

.top10-heading {
  align-items: flex-end;
  max-width: none;
  margin: 0;
  padding: 0 4px 15px;
  border-bottom: 1px solid rgba(171, 194, 211, .14);
}

.top10-heading .kicker {
  margin-bottom: 6px;
  color: var(--accent);
}

.top10-heading h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.top10-arrow {
  margin-left: auto;
  padding-bottom: 2px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.top10-panel {
  max-width: 360px;
  padding: 18px 16px 8px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(247, 200, 93, .06), transparent 12rem),
    linear-gradient(145deg, rgba(18, 26, 36, .98), rgba(11, 17, 25, .98));
  box-shadow: 0 20px 44px rgba(0, 0, 0, .2);
}

.top10 {
  margin: 0;
  padding: 0;
  list-style: none;
}

.top10 li + li {
  border-top: 1px solid rgba(171, 194, 211, .14);
}

.top10 li a {
  display: grid;
  grid-template-columns: 24px 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 10px 0;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.top10 li a:hover {
  background: rgba(155, 216, 223, .06);
  transform: translateX(3px);
}

.top10 .rank {
  color: #697789;
  font-size: 13px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}

.top10-thumb {
  display: block;
  width: 42px;
  height: 56px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--surface-3);
}

.top10-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top10-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.top10-title {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top10-meta,
.top10-stats {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.top10-score {
  color: var(--accent);
  font-weight: 800;
}

/* FAQ, notices, and fallback hero */
.faq details {
  margin-bottom: 11px;
  padding: 4px 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(18, 26, 36, .82);
}

.faq summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
  font-size: 15px;
}

.notice {
  margin: 18px 0;
  padding: 13px 17px;
  border: 1px solid rgba(247, 200, 93, .32);
  border-radius: 14px;
  background: rgba(247, 200, 93, .08);
  color: #f5dfac;
  font-size: 15px;
}

html[data-theme="light"] .notice {
  background: rgba(247, 200, 93, .16);
  color: var(--text);
}

.draft-banner {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(247, 200, 93, .42);
  border-radius: 13px;
  background: rgba(247, 200, 93, .1);
  color: var(--text);
  font-size: 14px;
}

.draft-banner strong {
  color: var(--accent-hot);
}

.empty {
  padding: 22px;
  border: 1px dashed rgba(171, 194, 211, .32);
  border-radius: 15px;
  background: rgba(18, 26, 36, .72);
  color: var(--muted);
  font-size: 15px;
}

.hero {
  padding: 54px 0 42px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 15% 0%, rgba(247, 200, 93, .15), transparent 24rem), linear-gradient(135deg, #172534, var(--bg));
}

.hero h1 {
  margin: 0 0 11px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 62px);
  letter-spacing: -.05em;
  line-height: 1;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

/* Detail page */
.detail-banner {
  position: relative;
  height: 300px;
  margin: 0 -22px -82px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-position: center;
  background-size: cover;
}

.detail-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(9, 13, 19, .08), var(--bg) 92%);
}

.crumbs {
  position: relative;
  z-index: 2;
  padding: 0 2px 16px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--accent-cool);
}

.review-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 30px;
  margin: 0 0 22px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(125deg, rgba(18, 26, 36, .96), rgba(12, 18, 27, .9));
  box-shadow: var(--shadow);
}

.review-hero > div:first-child {
  align-self: start;
}

.review-hero img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
}

.review-hero h1 {
  margin: 0 0 13px;
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: -.05em;
  line-height: 1.02;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.meta .pill {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(34, 51, 67, .7);
  color: var(--muted);
  font-size: 14px;
}

.meta .pill.score {
  border-color: rgba(247, 200, 93, .46);
  color: var(--accent);
  font-weight: 800;
}

.synopsis {
  max-width: 780px;
  margin: 18px 0 0;
  color: #d3d8da;
  font-size: 17px;
  line-height: 1.75;
}

.video-block {
  margin: 32px 0;
}

.video-block > h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.03em;
}

.video-grid {
  display: grid;
  gap: 18px;
}

.video-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(25, 37, 50, .98), rgba(14, 21, 30, .98));
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.video-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
}

.video-card .chan {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.video-card iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 11px;
  background: #05070a;
}

blockquote {
  margin: 14px 0;
  padding: 11px 16px;
  border-left: 4px solid var(--accent-hot);
  border-radius: 0 13px 13px 0;
  background: rgba(18, 26, 36, .82);
}

blockquote p {
  margin: 0 0 7px;
  font-size: 15px;
}

blockquote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.verdict {
  padding: 22px 24px;
  border: 1px solid rgba(247, 200, 93, .24);
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, rgba(247, 200, 93, .09), rgba(18, 26, 36, .92) 45%);
  font-size: 16px;
}

.verdict.todo {
  border-style: dashed;
  color: var(--muted);
}

.verdict .lede {
  margin-top: 0;
  color: #fff4d5;
  font-size: 19px;
  line-height: 1.65;
}

.verdict h3 {
  margin: 20px 0 8px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.verdict h3:first-of-type {
  margin-top: 14px;
}

.verdict p {
  margin: 0 0 11px;
}

.verdict .meta {
  margin-top: 16px;
}

.credits {
  margin: 22px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Static pages and footer */
.prose {
  max-width: 820px;
  padding: 50px 0;
}

.prose h1 {
  margin-top: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.05em;
  line-height: 1;
}

.site-footer {
  margin-top: 56px;
  padding: 38px 0 42px;
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 15, .58);
  color: var(--muted);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr;
  gap: 42px;
  margin-bottom: 24px;
}

.foot-grid h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.foot-grid p {
  max-width: 360px;
  margin: 0;
  line-height: 1.75;
}

.foot-grid nav {
  display: flex;
  flex-direction: column;
}

.foot-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  text-decoration: none;
}

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

.site-footer > .wrap > p {
  padding-top: 18px;
  border-top: 1px solid rgba(171, 194, 211, .11);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header .wrap {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .site-search {
    display: none;
  }

  .hero-shade {
    padding: 48px 40px;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar .top10-section {
    padding-top: 28px;
  }
}

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

@media (max-width: 760px) {
  .hero-card,
  .hero-shade {
    min-height: 420px;
  }

  .hero-shade {
    padding: 36px 26px;
  }

  .hero-poster {
    display: none;
  }

  .review-hero {
    grid-template-columns: 190px 1fr;
    gap: 22px;
    padding: 22px;
  }

  .review-hero h1 {
    font-size: clamp(28px, 6vw, 42px);
  }

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

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

  .main-nav {
    gap: 0;
    justify-content: space-between;
  }

  .main-nav a {
    padding: 8px 4px;
    font-size: 13px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .hero-card {
    min-height: 390px;
    margin-top: 16px;
    border-radius: 22px;
  }

  .hero-shade {
    min-height: 390px;
    padding: 30px 22px;
    background: linear-gradient(90deg, rgba(7, 10, 15, .96), rgba(7, 10, 15, .58));
  }

  .hero-title {
    font-size: clamp(34px, 11vw, 52px);
  }

  .quickbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 14px;
  }

  .quickbar a {
    flex: 0 0 auto;
  }

  .section {
    padding-top: 42px;
  }

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

  .section-head .rail-nav {
    margin-left: 0;
  }

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

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

  .rail-card {
    flex-basis: 156px;
  }

  .detail-banner {
    height: 190px;
    margin: 0 -16px -48px;
  }

  .crumbs {
    padding-bottom: 12px;
    font-size: 13px;
  }

  .review-hero {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 19px;
    border-radius: 20px;
  }

  .review-hero img {
    max-width: 210px;
  }

  .review-hero h1 {
    font-size: 36px;
  }

  .synopsis {
    font-size: 16px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

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

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

/* PhimCuon-inspired shell: borrow layout rhythm, keep ReviewTube identity and data. */
:root {
  --bg: #06090e;
  --bg-deep: #04070b;
  --surface: #131923;
  --surface-2: #192230;
  --surface-3: #252f3f;
  --text: #f7f8fa;
  --muted: #9aa3b1;
  --accent: #ffb21c;
  --accent-hot: #ffd36f;
  --accent-ink: #201400;
  --border: rgba(255, 255, 255, .1);
  --border-strong: rgba(255, 178, 28, .65);
  --maxw: 1370px;
}

body {
  background:
    radial-gradient(circle at 14% -4%, rgba(255, 178, 28, .12), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(37, 88, 122, .12), transparent 24rem),
    linear-gradient(180deg, #080b11 0%, #06090e 52%, #04070b 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 15px;
}

.wrap {
  max-width: var(--maxw);
  padding-right: 28px;
  padding-left: 28px;
}

main.wrap {
  padding-top: 27px;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, .08);
  background: rgba(6, 9, 14, .86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  backdrop-filter: blur(24px) saturate(1.4);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 28px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  cursor: pointer;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffd36f, #ffb21c);
  box-shadow: 0 10px 28px rgba(255, 179, 33, .23);
  color: var(--accent-ink);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-copy strong span {
  color: var(--accent);
}

.brand-copy small {
  color: #8d97a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 72px;
  margin-left: 0;
}

.main-nav a.nav-link,
.nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 0 11px;
  gap: 6px;
  border-radius: 0;
  color: #c6ccd5;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color .22s cubic-bezier(.2, .8, .2, 1);
}

.main-nav a.nav-link:hover,
.nav-dropdown > summary:hover,
.main-nav a.nav-link.active {
  background: transparent;
  color: var(--text);
}

.main-nav a.nav-link.active::after {
  position: absolute;
  right: 11px;
  bottom: 0;
  left: 11px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  content: "";
}

.nav-dropdown {
  position: relative;
  display: flex;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

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

.nav-dropdown-panel {
  position: absolute;
  top: 68px;
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 220px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(19, 25, 35, .98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

.nav-dropdown-panel a {
  min-height: 38px !important;
  padding: 8px 11px !important;
  border-radius: 9px !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.nav-dropdown-panel a:hover {
  background: rgba(255, 178, 28, .1) !important;
  color: var(--text) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-search {
  display: flex;
  align-items: center;
  width: 260px;
  min-height: 44px;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .043);
  color: var(--muted);
  transition: border-color .22s ease, background .22s ease;
}

.header-search:focus-within {
  border-color: rgba(255, 178, 28, .6);
  background: rgba(255, 255, 255, .07);
}

.header-search input {
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.header-search input::placeholder {
  color: #818b9a;
}

.header-search kbd {
  color: #8791a0;
  font-size: 12px;
  white-space: nowrap;
}

.login-link {
  color: #d4d8de;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .nav-dropdown > summary,
html[data-theme="light"] .login-link,
html[data-theme="light"] .site-search input,
html[data-theme="light"] .site-search kbd,
html[data-theme="light"] .header-search input,
html[data-theme="light"] .header-search kbd {
  color: var(--text);
}

.btn-gold,
.header-register {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd36f, #ffb21c);
  box-shadow: 0 12px 30px rgba(255, 178, 28, .18);
  color: var(--accent-ink);
  font-weight: 900;
}

.btn-gold:hover,
.header-register:hover {
  background: linear-gradient(135deg, #ffe19a, #ffc247);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.explore-bar {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(9, 12, 18, .92);
}

.explore-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 48px;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.explore-inner::-webkit-scrollbar {
  display: none;
}

.explore-inner a,
.explore-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #9ba4b2;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.explore-label {
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

html[data-theme="light"] .explore-bar {
  background: rgba(242, 233, 218, .96);
  border-color: var(--border);
}

html[data-theme="light"] .explore-inner a,
html[data-theme="light"] .explore-label {
  color: var(--text);
}

.hero-section {
  margin: 0;
  padding: 0;
}

.hero-slider {
  position: relative;
}

.hero-card {
  min-height: 620px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 30px;
  background: #0f141d;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
}

.hero-card.active {
  display: block;
  animation: heroFade .42s ease both;
}

.hero-backdrop,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  filter: saturate(.9);
  object-fit: cover;
  transform: scale(1.02);
}

.hero-vignette {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, .97) 4%, rgba(5, 8, 13, .78) 42%, rgba(5, 8, 13, .2) 78%, rgba(5, 8, 13, .12)),
    linear-gradient(0deg, rgba(5, 8, 13, .82), transparent 44%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 84px;
  left: 72px;
  width: min(720px, 58%);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #d3d8df;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 178, 28, .1);
}

.hero-slide-number {
  color: var(--accent);
}

.hero-title {
  max-width: 720px;
  margin: 0 0 12px;
  color: #f7f8fa;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .98;
}

.hero-origin {
  margin: 0 0 16px;
  color: var(--accent-hot);
  font-size: 15px;
  font-weight: 900;
}

.hero-meta {
  margin: 0 0 18px;
}

.hero-meta .pill {
  padding: 7px 12px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 9px;
  background: rgba(8, 11, 17, .42);
  color: #dfe3e8;
  font-weight: 800;
}

.hero-meta .pill.score {
  border-color: rgba(255, 178, 28, .55);
  background: rgba(255, 178, 28, .08);
  color: var(--accent-hot);
}

.hero-description {
  max-width: 650px;
  margin: 0;
  color: #b4bdc9;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.hero-actions .btn {
  margin: 0;
}

.btn-large {
  min-height: 48px;
  padding: 12px 20px;
}

.btn-glass {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(10, 14, 21, .46);
  box-shadow: none;
  color: var(--text);
}

.btn-glass:hover {
  border-color: var(--accent);
  background: rgba(255, 178, 28, .1);
  color: var(--text);
}

html[data-theme="light"] .hero-card .btn-glass {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .18);
  color: #f7f8fb;
}

html[data-theme="light"] .hero-card .btn-glass:hover {
  background: rgba(255, 178, 28, .18);
  color: #fff;
}

/* Keep controls and warm labels readable on the hero's permanent dark surface. */
html[data-theme="light"] .hero-origin,
html[data-theme="light"] .hero-meta .pill.score {
  color: #f4aa8a;
}

html[data-theme="light"] .hero-nav button {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(19, 25, 35, .92);
  color: #f7f8fb;
}

html[data-theme="light"] .hero-nav button:hover,
html[data-theme="light"] .hero-nav button:focus-visible {
  border-color: #f7c85d;
  background: #f7c85d;
  color: var(--accent-ink);
}

@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav a.nav-link,
  .nav-dropdown > summary {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-search {
    width: 150px;
  }

  .header-register {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }
}

.hero-poster {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: -37px;
  width: 230px;
}

.hero-poster img {
  width: 230px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 23px 23px 0 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .68);
  transform: rotate(2deg);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.hero-poster:hover img {
  transform: rotate(0) translateY(-6px);
}

.hero-poster .play {
  right: -10px;
  bottom: 48px;
  width: 52px;
  height: 52px;
  border: 4px solid #101722;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(255, 178, 28, .24);
}

.hero-pagination {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 72px;
  margin: 0;
}

.dots button {
  width: 29px;
  min-height: 4px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .24);
}

.dots button.on {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 178, 28, .45);
}

.hero-pagination button {
  background: rgba(255, 255, 255, .5);
}

.hero-pagination button.on {
  background: #f7c85d;
}

html[data-theme="light"] .hero-pagination button {
  background: #1d252b;
}

html[data-theme="light"] .hero-pagination button.on {
  background: #8a5a00;
}

.hero-nav {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.hero-nav button,
.rail-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(19, 25, 35, .82);
  color: var(--text);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-nav button:hover,
.rail-nav button:hover {
  border-color: rgba(255, 178, 28, .55);
  background: rgba(255, 178, 28, .14);
  transform: translateY(-2px);
}

.hero-nav button:disabled,
.rail-nav button:disabled {
  cursor: not-allowed;
  opacity: .38;
  transform: none;
}

.content-section {
  padding: 52px 0 0;
  scroll-margin-top: 140px;
}

.content-section .kicker,
.top10-heading .kicker,
.sidebar-callout .kicker {
  color: var(--accent);
}

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

.section-head h2,
.top10-heading h2,
.sidebar-callout h2 {
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 30px);
}

.section-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.section-actions .rail-nav {
  margin-left: 0;
}

.view-all {
  color: #cbd1d9;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.view-all:hover {
  color: var(--accent);
}

.rail {
  gap: 16px;
  padding: 2px 0 18px;
  scrollbar-color: #273344 transparent;
}

.rail-card {
  flex-basis: 206px;
}

.poster-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.poster-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.poster-card-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: #151c27;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

.poster-card-media img {
  aspect-ratio: 2 / 3;
  transition: transform .35s ease;
}

.poster-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 11, .8));
  pointer-events: none;
}

.poster-card:hover .poster-card-media {
  border-color: rgba(255, 178, 28, .62);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .42);
  transform: translateY(-6px);
}

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

.poster-card .tag {
  z-index: 1;
  top: 12px;
  bottom: auto;
  border-radius: 8px;
}

.poster-card .tag.kind {
  right: 12px;
  background: rgba(8, 11, 17, .78);
}

.poster-card .card-body {
  padding: 11px 2px 0;
}

.poster-card .card-title {
  min-height: 42px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.home-layout {
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 30px;
  margin-top: 52px;
}

.home-feed .content-section {
  padding-top: 0;
}

.top10-section {
  padding: 0;
}

.top10-panel,
.sidebar-callout {
  border-color: rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(19, 25, 35, .96), rgba(10, 14, 21, .94));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.top10-panel {
  max-width: none;
  padding: 23px 20px 15px;
}

.top10-heading {
  padding: 0 0 15px;
}

.top10-heading h2 {
  font-size: 30px;
}

.top10 li a {
  min-height: 101px;
  padding: 10px 5px;
  gap: 10px;
  transition: background .22s ease, transform .22s ease;
}

.top10 li a:hover {
  background: rgba(255, 178, 28, .06);
  transform: translateX(3px);
}

.top10-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
}

.top10-title {
  font-size: 13.5px;
  font-weight: 800;
}

.top10-meta,
.top10-stats {
  font-size: 12px;
}

.sidebar-callout {
  margin-top: 24px;
  padding: 26px 24px 24px;
}

.sidebar-callout h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.1;
}

.sidebar-callout p:not(.kicker) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.site-footer {
  margin-top: 72px;
  padding: 0 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: radial-gradient(circle at 82% 22%, rgba(255, 179, 33, .09), transparent 26rem), linear-gradient(150deg, #090c13 0%, #070910 58%, #0e111a 100%);
}

.footer-shell {
  padding-top: 20px;
}

.footer-sovereignty {
  padding: 14px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr;
  gap: 42px;
  padding: 34px 0 30px;
}

.footer-brand-block p {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-grid nav a {
  min-height: 28px;
  color: var(--muted);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #7f8998;
  font-size: 12px;
}

@keyframes heroFade {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  main.wrap {
    padding-top: 12px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mobile-menu-button {
    display: none;
  }

  .desktop-nav {
    display: flex;
    order: 5;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  html.js-ready .mobile-menu-button {
    display: inline-flex;
  }

  html.js-ready .desktop-nav {
    display: none;
  }

  html.js-ready .desktop-nav.is-open {
    display: flex;
  }

  .main-nav a.nav-link,
  .nav-dropdown > summary {
    min-height: 44px;
    padding: 8px 4px;
    border-radius: 8px;
  }

  .main-nav a.nav-link.active::after {
    display: none;
  }

  .nav-dropdown-panel {
    position: static;
    margin: 4px 0 6px;
    box-shadow: none;
  }

  .header-actions {
    gap: 8px;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .login-link {
    display: none;
  }

  .header-search {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    width: 100%;
  }

  .header-register {
    padding: 9px 12px;
    font-size: 13px;
  }

  .site-header .explore-inner {
    flex-wrap: nowrap;
    gap: 24px;
    min-height: 46px;
  }

  .explore-label {
    display: none;
  }

  .hero-card {
    min-height: 540px;
    border-radius: 22px;
  }

  .hero-vignette {
    background: linear-gradient(180deg, rgba(5, 8, 13, .25), rgba(5, 8, 13, .96) 78%);
  }

  .hero-content {
    top: 26px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-description {
    display: none;
  }

  .hero-poster {
    display: none;
  }

  .hero-pagination {
    bottom: 18px;
    left: 20px;
  }

  .hero-nav {
    right: 16px;
    bottom: 16px;
    display: flex;
  }

  .section-actions {
    width: 100%;
    justify-content: space-between;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-sidebar {
    margin-top: 34px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .header-register {
    display: none;
  }

  .hero-card {
    min-height: 470px;
  }

  .hero-eyebrow {
    font-size: 13px;
  }

  .hero-origin {
    font-size: 14px;
  }

  .hero-meta .pill {
    padding: 6px 9px;
    font-size: 13px;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }

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

  .section-actions {
    justify-content: flex-start;
  }

  .rail-card {
    flex-basis: 158px;
  }

  .top10-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .sidebar-callout {
    padding: 22px 18px;
  }

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

  .footer-brand-block {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card.active {
    animation: none;
  }
}

/* Detail pages use the same large-panel rhythm as the home hero. */
.crumbs {
  margin-top: 0;
  padding: 0 4px 20px;
  color: #9da6b4;
  font-size: 14px;
}

.crumbs a {
  color: #d9dee6;
}

.review-hero {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 72px;
  margin: 0;
  padding: 54px 52px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(19, 25, 35, .96), rgba(8, 12, 18, .96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.review-poster-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.review-poster-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #131923;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .34);
}

.review-poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.review-poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.review-copy {
  min-width: 0;
  align-self: center;
}

.review-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #48dfaa;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-hero h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .98;
}

.review-hero .meta {
  margin: 0 0 30px;
}

.review-hero .meta .pill {
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  color: #d8dde5;
  font-weight: 800;
}

.review-hero .meta .pill.score {
  border-color: rgba(255, 178, 28, .55);
  color: var(--accent-hot);
}

.review-story {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.review-story .kicker {
  margin-bottom: 8px;
  color: var(--accent);
}

.review-story .synopsis {
  max-width: 820px;
  margin: 0;
  color: #aeb7c4;
  font-size: 16px;
  line-height: 1.75;
}

.video-block {
  scroll-margin-top: 140px;
}

.video-block > h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
}

.video-card {
  border-color: rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(19, 25, 35, .96), rgba(10, 14, 21, .94));
}

@media (max-width: 900px) {
  .review-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .review-poster-column {
    max-width: 280px;
  }

  .review-copy {
    align-self: start;
  }
}

@media (max-width: 560px) {
  .review-hero {
    padding: 22px 18px;
  }

  .review-hero h1 {
    font-size: 38px;
  }

  .review-story .synopsis {
    font-size: 15px;
  }
}

.section > .section-head h1,
.prose h1,
.prose h2 {
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
}

.grid .card {
  border-color: rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(19, 25, 35, .96), rgba(10, 14, 21, .94));
}

.grid .card > a > img {
  border-radius: 17px 17px 0 0;
}

html[data-theme="light"] .review-hero,
html[data-theme="light"] .video-card,
html[data-theme="light"] .grid .card,
html[data-theme="light"] .top10-panel,
html[data-theme="light"] .sidebar-callout {
  border-color: var(--border);
  background: linear-gradient(155deg, rgba(255, 250, 241, .98), rgba(242, 233, 218, .96));
  box-shadow: var(--shadow);
}

html[data-theme="light"] .review-metadata .meta .pill {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--text);
}

html[data-theme="light"] .review-story .synopsis,
html[data-theme="light"] .crumbs,
html[data-theme="light"] .credits {
  color: var(--muted);
}

html[data-theme="light"] .crumbs a {
  color: var(--accent-cool);
}

/* Keep light mode readable on panels that retain the cinematic dark defaults. */
html[data-theme="light"] .header-search {
  border-color: var(--border);
  background: rgba(255, 250, 241, .82);
}

html[data-theme="light"] .header-search input::placeholder,
html[data-theme="light"] .header-search kbd {
  color: var(--muted);
}

html[data-theme="light"] .brand-copy small {
  color: var(--muted);
}

html[data-theme="light"] .brand-copy strong span,
html[data-theme="light"] .footer-sovereignty {
  color: #7a4c0d;
}

html[data-theme="light"] .kicker,
html[data-theme="light"] .content-section .kicker,
html[data-theme="light"] .top10-heading .kicker,
html[data-theme="light"] .sidebar-callout .kicker,
html[data-theme="light"] .review-story .kicker {
  color: #7a4c0d;
}

html[data-theme="light"] .review-kicker {
  color: #16715d;
}

html[data-theme="light"] .review-metadata .meta .pill.score,
html[data-theme="light"] .card-score,
html[data-theme="light"] .top10-score {
  color: #8e3228;
}

html[data-theme="light"] .top10 .rank {
  color: #59656e;
}

html[data-theme="light"] .view-all {
  color: var(--accent-cool);
}

html[data-theme="light"] .faq details,
html[data-theme="light"] blockquote,
html[data-theme="light"] .empty {
  border-color: var(--border);
  background: rgba(255, 250, 241, .94);
  color: var(--text);
}

html[data-theme="light"] .faq details p,
html[data-theme="light"] blockquote cite,
html[data-theme="light"] .empty {
  color: var(--muted);
}

html[data-theme="light"] .notice,
html[data-theme="light"] .draft-banner {
  border-color: rgba(184, 120, 22, .42);
  background: rgba(184, 120, 22, .1);
}

html[data-theme="light"] .draft-banner strong {
  color: #8e3228;
}

html[data-theme="light"] .verdict {
  border-color: rgba(184, 120, 22, .42);
  background: linear-gradient(135deg, rgba(184, 120, 22, .1), var(--surface) 52%);
  color: var(--text);
}

html[data-theme="light"] .verdict .lede {
  color: #4d2f05;
}

html[data-theme="light"] .verdict h3 {
  color: #7a4c0d;
}

html[data-theme="light"] .btn-glass {
  border-color: var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
}

html[data-theme="light"] .btn-glass:hover {
  background: var(--surface-3);
  color: var(--text);
}

html[data-theme="light"] .nav-dropdown-panel {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(62, 42, 20, .16);
}

html[data-theme="light"] .nav-dropdown-panel a {
  color: var(--muted) !important;
}

html[data-theme="light"] .nav-dropdown-panel a:hover {
  background: rgba(184, 120, 22, .1) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .rail-nav button {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--text);
}

html[data-theme="light"] .rail-nav button:hover {
  background: var(--surface-3);
}

/* P10: keep the reading path explicit before optional media. */
.review-hero {
  display: block;
  padding: 42px 52px 38px;
}

.review-copy {
  max-width: 860px;
}

.review-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.review-facts div {
  min-width: min(100%, 190px);
}

.review-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-facts dd {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 15px;
}

.review-metadata,
.review-media {
  margin: 32px 0;
}

.review-metadata > h2,
.review-media > h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.03em;
}

.review-media-grid {
  display: grid;
  grid-template-columns: minmax(180px, 244px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.review-poster-column {
  min-width: 0;
}

.review-media-content {
  min-width: 0;
}

.review-media-content .video-block {
  margin: 0 0 24px;
}

.review-media-content .video-block:last-child {
  margin-bottom: 0;
}

.review-media-content .video-block > h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.media-note {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.video-source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  color: var(--accent-cool);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .review-hero {
    padding: 30px 22px 28px;
  }

  .review-media-grid {
    grid-template-columns: 1fr;
  }

  .review-poster-column {
    display: grid;
    max-width: 280px;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .review-hero {
    padding: 24px 18px;
  }

  .review-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .review-facts div {
    min-width: 0;
  }

  .review-facts dd {
    overflow-wrap: anywhere;
  }
}

html[data-theme="light"] .site-footer {
  border-top-color: var(--border);
  background: radial-gradient(circle at 82% 22%, rgba(184, 120, 22, .08), transparent 26rem), linear-gradient(150deg, var(--surface) 0%, var(--surface-2) 100%);
  color: #4f5c64;
}

html[data-theme="light"] .footer-sovereignty,
html[data-theme="light"] .footer-bottom {
  border-color: var(--border);
}

html[data-theme="light"] .footer-bottom {
  color: var(--muted);
}
