:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #111827;
  --bg-card-strong: #1e293b;
  --line: rgba(148, 163, 184, 0.22);
  --text: #ffffff;
  --muted: #cbd5e1;
  --muted-dark: #94a3b8;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #dc2626;
  --yellow: #facc15;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(220, 38, 38, 0.14), transparent 34rem),
    var(--bg);
  color: var(--text);
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container,
.header-inner,
.footer-grid,
.footer-bottom,
.search-panel-inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.narrow-container {
  max-width: 920px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.25);
}

.brand-text,
.footer-brand {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  background: linear-gradient(90deg, #fb923c, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav a,
.mobile-nav a {
  color: #e2e8f0;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #fb923c;
}

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

.header-search input,
.mobile-nav input,
.filter-panel input,
.filter-panel select,
.home-search-panel input {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: var(--text);
  outline: none;
  padding: 0 14px;
}

.header-search input {
  width: 220px;
}

.header-search input:focus,
.mobile-nav input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.home-search-panel input:focus {
  border-color: rgba(249, 115, 22, 0.75);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.header-search button,
.mobile-nav button,
.home-search-panel button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 20px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-nav form {
  display: flex;
  gap: 8px;
}

.hero-carousel {
  position: relative;
  height: min(72vh, 660px);
  min-height: 560px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.22) 36%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--container);
}

.hero-content h1 {
  width: min(680px, 100%);
  margin: 18px 0 16px;
  font-size: clamp(2.55rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-content p {
  width: min(640px, 100%);
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-badges,
.hero-tags,
.detail-tags,
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span,
.hero-tags span,
.tag-chip,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-badges span:first-child,
.badge-hot {
  background: var(--orange);
  color: #fff;
}

.hero-badges span,
.hero-tags span,
.tag-chip {
  padding: 6px 12px;
  background: rgba(30, 41, 59, 0.82);
  color: #e2e8f0;
  font-size: 0.88rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 13px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.25);
}

.btn-secondary {
  color: #fff;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.26);
}

.full-width {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(14px);
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #64748b;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: var(--orange);
}

.home-search-panel {
  padding: 22px 0;
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.search-panel-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 20px;
  align-items: center;
}

.search-panel-inner span,
.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #fb923c;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel-inner h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.search-panel-inner form {
  display: flex;
  gap: 10px;
}

.search-panel-inner input {
  flex: 1;
}

.content-section {
  padding: clamp(48px, 7vw, 82px) 0;
}

.section-dark {
  background: linear-gradient(180deg, #020617, #0f172a);
}

.section-slate {
  background: #0f172a;
}

.section-gradient {
  background: linear-gradient(180deg, #0f172a, #020617 46%, #0f172a);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted-dark);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  color: #fb923c;
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: #111827;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card-link:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-6px) scale(1.01);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(249, 115, 22, 0.48), transparent 12rem),
    linear-gradient(135deg, #1e293b, #020617);
}

.image-frame::after {
  content: attr(data-title);
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.image-frame.is-missing::after {
  opacity: 1;
  transform: translateY(0);
}

.movie-poster {
  aspect-ratio: 16 / 10;
}

.movie-poster img,
.compact-thumb img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.movie-card-link:hover .movie-poster img {
  transform: scale(1.08);
}

.movie-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.badge-hot {
  right: 12px;
}

.badge-year {
  left: 12px;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card-link:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.movie-card-body h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.movie-card-desc,
.movie-meta {
  color: var(--muted-dark);
  line-height: 1.65;
}

.movie-card-desc {
  margin: 0 0 10px;
}

.movie-meta {
  margin: auto 0 12px;
  font-size: 0.9rem;
}

.tag-list {
  margin-top: auto;
}

.tag-list .tag-chip {
  padding: 4px 8px;
  font-size: 0.76rem;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(30, 41, 59, 0.74);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.88;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(220, 38, 38, 0.65));
  transition: opacity 0.22s ease;
}

.category-rihanju::before {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(236, 72, 153, 0.65));
}

.category-oumeiju::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(6, 182, 212, 0.65));
}

.category-yazhouju::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.82), rgba(16, 185, 129, 0.62));
}

.category-tile:hover,
.category-overview-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-6px) scale(1.01);
}

.category-icon,
.category-tile strong,
.category-tile em,
.category-tile p,
.category-overview-card strong,
.category-overview-card em,
.category-overview-card p {
  position: relative;
  z-index: 2;
}

.category-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
}

.category-tile strong,
.category-overview-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.category-tile em,
.category-overview-card em {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 800;
}

.category-tile p,
.category-overview-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.ranking-home {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: auto 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.compact-card:hover {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(30, 41, 59, 0.92);
  transform: translateX(4px);
}

.rank-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.compact-thumb {
  width: 84px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.compact-card strong {
  display: block;
  margin-bottom: 5px;
  line-height: 1.35;
}

.compact-card span:last-child {
  color: var(--muted-dark);
  font-size: 0.88rem;
}

.page-hero {
  padding: clamp(54px, 9vw, 110px) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.25), transparent 26rem),
    linear-gradient(135deg, #020617, #0f172a 68%, #1e293b);
  border-bottom: 1px solid var(--line);
}

.compact-hero h1 {
  max-width: 880px;
  margin: 10px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.compact-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #fb923c;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
}

.search-filter-panel {
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)) auto;
}

.filter-panel label {
  display: grid;
  gap: 7px;
}

.filter-panel label span {
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-count {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

.filter-count span {
  color: #fb923c;
  font-weight: 900;
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.genre-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.genre-cloud a:hover {
  border-color: rgba(249, 115, 22, 0.55);
  color: #fb923c;
}

.genre-cloud span {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.detail-page {
  padding: 34px 0 80px;
  background: linear-gradient(180deg, #020617, #0f172a 55%, #020617);
}

.detail-breadcrumb {
  margin-bottom: 24px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.player-card,
.detail-info-card,
.sidebar-card,
.prose-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.player-card {
  overflow: hidden;
  margin-bottom: 22px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  align-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-overlay span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 16px 45px rgba(249, 115, 22, 0.3);
  font-size: 1.8rem;
}

.player-overlay strong {
  font-size: 1.05rem;
}

.player-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #fef3c7;
  font-size: 0.9rem;
  pointer-events: none;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  background: #0f172a;
}

.source-button {
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.82);
}

.source-button.is-active,
.source-button:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.detail-info-card,
.sidebar-card,
.prose-card {
  padding: 24px;
}

.detail-info-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
}

.detail-meta-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.8);
}

.detail-tags {
  margin-bottom: 22px;
}

.detail-info-card h2,
.prose-card h2 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
}

.detail-info-card p,
.prose-card p {
  color: var(--muted);
  line-height: 1.85;
}

.detail-info-card p + p {
  margin-top: 10px;
}

.prev-next-links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.prev-next-links a {
  color: #fb923c;
  font-weight: 800;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.poster-card {
  display: grid;
  gap: 16px;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.sidebar-card h3 {
  margin: 0 0 16px;
}

.sidebar-related .compact-card {
  grid-template-columns: 74px 1fr;
}

.sidebar-related .rank-number {
  display: none;
}

.sidebar-related .compact-thumb {
  width: 74px;
}

.detail-more-section {
  padding-bottom: 0;
}

.container-inner {
  width: 100%;
}

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

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 44px 0;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted-dark);
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding: 18px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.filter-item.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .three-columns,
  .four-columns,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-home,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .hero-carousel {
    height: 620px;
    min-height: 620px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 88px;
  }

  .hero-arrow {
    display: none;
  }

  .search-panel-inner,
  .search-panel-inner form,
  .two-columns,
  .three-columns,
  .four-columns,
  .category-grid,
  .category-overview-grid,
  .large-ranking-list,
  .filter-panel,
  .search-filter-panel {
    grid-template-columns: 1fr;
  }

  .mobile-nav form {
    flex-direction: column;
  }

  .section-heading {
    display: grid;
  }

  .compact-card {
    grid-template-columns: 74px 1fr;
  }

  .compact-card .rank-number {
    display: none;
  }

  .compact-thumb {
    width: 74px;
  }

  .detail-info-card,
  .sidebar-card,
  .prose-card {
    padding: 18px;
  }
}
