/* Static movie site styles inspired by the uploaded emerald / teal film template. */
:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --teal-700: #0f766e;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.20);
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: var(--stone-50);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--emerald-800), var(--teal-700));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emerald-800);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateZ(0);
}

.brand:hover .brand-icon {
  transform: scale(1.08);
}

.brand-text {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a,
.mobile-panel a {
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.mobile-panel a:hover {
  color: var(--emerald-100);
  opacity: 1;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
}

.header-search input {
  width: 100%;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  outline: none;
  backdrop-filter: blur(10px);
}

.header-search input::placeholder {
  color: var(--emerald-100);
}

.header-search input:focus {
  border-color: var(--emerald-100);
  background: rgba(255, 255, 255, 0.28);
}

.header-search button,
.primary-button,
.secondary-button,
.player-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.primary-button,
.player-button {
  color: var(--white);
  background: var(--emerald-600);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.28);
}

.header-search button {
  padding: 10px 16px;
}

.header-search button:hover,
.primary-button:hover,
.player-button:hover {
  background: var(--emerald-700);
  transform: translateY(-1px) scale(1.02);
}

.secondary-button {
  color: var(--emerald-700);
  background: var(--emerald-100);
  padding: 12px 20px;
}

.secondary-button:hover {
  background: var(--emerald-200);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: var(--white);
  background: #000;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.16));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 56px;
  width: min(100% - 48px, var(--container));
  transform: translateX(-50%);
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--emerald-600);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.hero p {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-meta,
.card-meta,
.detail-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta {
  margin-bottom: 24px;
}

.hero-meta span,
.detail-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-meta span {
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section,
.page-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 48px 0;
}

.section.tint {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, var(--stone-100), #eef2f7);
}

.section.tint > .section-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section.green-tint {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa);
}

.section.green-tint > .section-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section-heading,
.page-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.heading-bar {
  width: 8px;
  height: 34px;
  border-radius: 999px;
  background: var(--emerald-600);
}

.heading-bar.teal {
  background: #0d9488;
}

.heading-bar.amber {
  background: #d97706;
}

.heading-bar.rose {
  background: #e11d48;
}

.heading-bar.sky {
  background: #0284c7;
}

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 22px;
  overflow-x: auto;
  padding: 6px 0 20px;
  scrollbar-width: thin;
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-800), var(--teal-700));
}

.card-cover.wide-cover,
.movie-card-wide .card-cover {
  aspect-ratio: 16 / 9;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.year-badge,
.rank-number {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 7px;
  color: var(--white);
  background: var(--emerald-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.play-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.0);
  font-size: 2.2rem;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.movie-card:hover .play-mask,
.related-card:hover .play-mask {
  opacity: 1;
  transform: scale(1);
  background: rgba(0, 0, 0, 0.28);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.card-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  margin-top: auto;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.card-meta span,
.rank-meta span {
  max-width: 100%;
}

.movie-card-wide {
  flex-direction: row;
  min-height: 150px;
  padding: 12px;
  gap: 16px;
}

.movie-card-wide .card-cover {
  width: 220px;
  flex: 0 0 220px;
  border-radius: 0.8rem;
}

.movie-card-wide .card-body {
  padding: 4px 0;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(90deg, var(--emerald-800), var(--teal-700));
}

.page-hero-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 50px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--emerald-100);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-card,
.category-card,
.info-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 22px;
  color: var(--gray-800);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--emerald-700);
}

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

.category-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(16, 185, 129, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-strong);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.category-card span {
  color: var(--gray-500);
}

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

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 148px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-700));
  font-size: 1.25rem;
  font-weight: 900;
}

.rank-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--emerald-800), var(--teal-700));
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rank-content h2,
.rank-content h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.rank-content p {
  margin: 0 0 10px;
  color: var(--gray-600);
}

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

.breadcrumbs {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.breadcrumbs a:hover {
  color: var(--emerald-600);
}

.detail-card,
.related-panel,
.player-panel {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.18;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.detail-pill {
  display: block;
  padding: 12px;
  color: var(--gray-700);
  background: var(--stone-100);
}

.detail-pill small {
  display: block;
  color: var(--gray-500);
  font-size: 0.75rem;
}

.detail-pill strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.lead-line {
  margin: 0 0 12px;
  color: var(--emerald-700);
  font-weight: 700;
  font-style: italic;
}

.detail-section p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  padding: 8px 13px;
  color: var(--emerald-700);
  background: var(--emerald-100);
}

.review-box {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--stone-50);
}

.related-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.related-panel h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

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

.related-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}

.related-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--emerald-800), var(--teal-700));
}

.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-card strong {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 4px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-card span {
  color: var(--gray-500);
  font-size: 0.86rem;
}

.player-panel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-panel video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.player-button {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 2rem;
}

.player-status {
  max-width: min(90%, 620px);
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filters input,
.filters select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  outline: none;
  background: var(--white);
}

.filters input:focus,
.filters select:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.filters button {
  min-width: 112px;
}

.result-summary {
  margin: 0 0 16px;
  color: var(--gray-600);
}

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

.page-link {
  min-width: 42px;
  padding: 9px 13px;
  border-radius: 12px;
  text-align: center;
  color: var(--gray-700);
  background: var(--white);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.page-link:hover,
.page-link.active {
  color: var(--white);
  background: var(--emerald-600);
}

.site-footer {
  margin-top: 48px;
  color: #d1d5db;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 44px 0 28px;
}

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

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid ul {
  margin: 0;
  padding: 0;
}

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

.footer-grid a:hover {
  color: var(--emerald-200);
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.empty-state {
  padding: 36px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
    font-size: 0.92rem;
  }

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

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

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

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

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

  .related-panel {
    position: static;
  }

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    bottom: 54px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .movie-card-wide {
    flex-direction: column;
  }

  .movie-card-wide .card-cover {
    width: 100%;
    flex-basis: auto;
  }

  .rank-card {
    grid-template-columns: 52px 120px 1fr;
    gap: 12px;
  }

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

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

@media (max-width: 560px) {
  .header-inner,
  .section,
  .page-section,
  .section.tint > .section-inner,
  .section.green-tint > .section-inner,
  .page-hero-inner,
  .breadcrumbs,
  .footer-inner {
    width: min(100% - 24px, var(--container));
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .category-grid,
  .stat-row,
  .footer-grid,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: 46px 1fr;
  }

  .rank-cover {
    display: none;
  }

  .related-card {
    grid-template-columns: 100px 1fr;
  }

  .detail-card {
    padding: 20px;
  }
}
