:root {
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --panel-card: #1e293b;
  --line: #243044;
  --text: #ffffff;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --faint: #64748b;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.18);
  --amber-strong: #d97706;
  --danger: #f87171;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}

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

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 12px;
}

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

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(310px, 30vw);
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

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

.header-search button {
  border: 0;
  color: #111827;
  background: var(--amber);
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--muted);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: var(--panel);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.04);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient-bottom {
  background: linear-gradient(to top, var(--bg) 3%, rgba(2, 6, 23, 0.78) 35%, rgba(2, 6, 23, 0.1) 100%);
}

.hero-gradient-side {
  background: linear-gradient(to right, var(--bg) 0%, rgba(2, 6, 23, 0.82) 28%, rgba(2, 6, 23, 0.15) 70%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 360px;
  align-items: center;
  gap: 40px;
  padding: 86px 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.9);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1,
.page-hero h1 {
  margin: 24px 0 20px;
  max-width: 860px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-summary,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
}

.button-primary {
  background: var(--amber);
  color: #111827;
}

.button-primary:hover {
  background: var(--amber-strong);
  color: #fff;
}

.button-ghost,
.button-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.button-ghost:hover,
.button-secondary:hover {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--amber);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-quick-links a:hover {
  color: var(--amber);
  background: var(--amber-soft);
}

.hero-focus-card {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-focus-card span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.hero-focus-card a {
  display: block;
  margin: 10px 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 850;
  line-height: 1.25;
}

.hero-focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.18), transparent 30%),
    linear-gradient(135deg, #020617 0%, #0f172a 45%, #1e293b 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.slim-hero {
  padding: 64px 0 56px;
}

.category-page-hero {
  padding: 58px 0 54px;
}

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

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

.breadcrumb strong {
  color: var(--text);
  font-weight: 700;
}

.section {
  padding: 66px 0;
}

.compact-section {
  padding-top: 36px;
}

.tinted-section,
.rail-section {
  background: rgba(15, 23, 42, 0.48);
}

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

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--subtle);
  line-height: 1.65;
}

.section-kicker {
  padding: 6px 12px;
  font-size: 12px;
}

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  background: #263449;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.movie-cover-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.movie-cover-link img,
.horizontal-cover img,
.related-mini img,
.rank-card-cover img,
.category-card img,
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.category-card:hover img,
.related-mini:hover img,
.rank-card:hover img {
  transform: scale(1.08);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 58%);
}

.movie-pill {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.movie-cover-text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.movie-cover-text strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.movie-cover-text em {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body {
  padding: 16px;
}

.movie-title-link {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-title-link:hover {
  color: var(--amber);
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.movie-tags span,
.detail-tags a {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-large {
  position: relative;
}

.movie-card-large .movie-cover-link {
  aspect-ratio: 16 / 10;
}

.horizontal-list {
  display: grid;
  gap: 16px;
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
}

.horizontal-cover {
  overflow: hidden;
  background: #111827;
}

.horizontal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-body p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--subtle);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-showcase .movie-card:nth-child(1),
.category-showcase .movie-card:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

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

.category-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel-card);
}

.category-card img {
  position: absolute;
  inset: 0;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.1));
}

.category-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.category-content strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.category-content em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.ranking-section {
  background: linear-gradient(180deg, rgba(2, 6, 23, 1), rgba(15, 23, 42, 0.82));
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  gap: 34px;
  align-items: start;
}

.rank-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.rank-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: rgba(245, 158, 11, 0.14);
  transform: translateX(4px);
}

.rank-number {
  color: var(--amber);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.rank-meta {
  color: var(--subtle);
  font-size: 13px;
}

.ranking-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel-card);
  box-shadow: var(--shadow);
}

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

.ranking-poster div {
  padding: 22px;
}

.ranking-poster span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.ranking-poster strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.ranking-poster p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.movie-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
  display: none;
}

.rail-item {
  flex: 0 0 320px;
}

.filter-panel,
.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.76);
}

.search-page-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: 0;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.62);
}

.filter-panel select option {
  color: #111827;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--subtle);
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.rank-card-cover {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  background: #111827;
}

.rank-card-cover span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #111827;
  font-weight: 900;
}

.rank-card-body {
  padding: 18px 20px;
}

.rank-card-body p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--subtle);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow);
}

.player-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 70px;
  height: 70px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #111827;
  font-size: 28px;
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.28);
}

.play-overlay span:last-child {
  font-size: 16px;
  font-weight: 900;
}

.detail-content-card,
.sidebar-card {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-content-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--subtle);
  font-size: 14px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.detail-block {
  margin-top: 24px;
}

.detail-block h2,
.sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.detail-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  white-space: pre-line;
}

.sidebar-card {
  position: sticky;
  top: 94px;
  margin-top: 0;
}

.related-list {
  display: grid;
  gap: 14px;
}

.related-mini {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.56);
  transition: background 0.2s ease;
}

.related-mini:hover {
  background: rgba(245, 158, 11, 0.12);
}

.related-mini img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.related-mini strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-mini em {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
}

.related-grid-section {
  padding-top: 46px;
}

.site-footer {
  margin-top: 40px;
  background: var(--panel);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 240px 240px;
  gap: 34px;
  padding: 46px 0;
}

.footer-description {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--subtle);
  line-height: 1.75;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--subtle);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding: 18px 0;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

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

  .mobile-menu-button {
    display: inline-block;
  }

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

  .hero-focus-card,
  .ranking-poster,
  .detail-sidebar {
    max-width: 720px;
  }

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

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

  .category-showcase .movie-card:nth-child(1),
  .category-showcase .movie-card:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 64px;
  }

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

  .brand-subtitle {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0 54px;
  }

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

  .hero-summary,
  .page-hero p {
    font-size: 16px;
  }

  .section,
  .page-hero {
    padding: 44px 0;
  }

  .section-head {
    display: block;
  }

  .movie-grid-three,
  .movie-grid-four,
  .category-grid,
  .category-showcase {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .horizontal-cover,
  .rank-card-cover {
    aspect-ratio: 16 / 9;
  }

  .filter-panel,
  .search-page-form {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .rank-meta {
    grid-column: 2;
  }

  .related-mini {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .footer-grid {
    gap: 24px;
  }
}
