:root {
  --bg: #f3f4f6;
  --paper: #ffffff;
  --paper-soft: #f8fafc;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --orange: #f97316;
  --red: #dc2626;
  --shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(14px);
}

.nav-shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #dc2626);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.logo-text {
  font-size: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #374151;
  font-weight: 650;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #1f2937;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 76px 0 150px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section-kicker {
  background: #eff6ff;
  color: var(--blue);
}

.hero-content h1,
.hero-content h2 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-tags span,
.detail-meta span,
.movie-meta span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.32);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.hero-search-panel {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-search,
.search-large {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: min(420px, 100%);
}

.hero-search input,
.search-large input,
.local-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: 0;
  background: #fff;
  color: var(--text);
}

.hero-search button,
.search-large button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hero-quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.content-section,
.hot-section,
.rank-section {
  padding: 64px 0;
}

.content-section.white {
  background: #fff;
}

.content-section.muted {
  background: #f3f4f6;
}

.hot-section {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

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

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

.section-head.light,
.section-head.light .section-kicker {
  color: #fff;
}

.section-head.light .section-kicker {
  background: rgba(255, 255, 255, 0.2);
}

.section-head h2,
.rank-copy h2,
.detail-main h1,
.page-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.scroller-actions {
  display: flex;
  gap: 8px;
}

.scroller-actions button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 28px;
  line-height: 1;
}

.horizontal-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.horizontal-scroller::-webkit-scrollbar {
  display: none;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card.wide {
  flex: 0 0 288px;
  scroll-snap-align: start;
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.movie-cover img,
.compact-card img,
.ranking-cover img,
.detail-side img,
.category-tile img,
.category-poster-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-cover img,
.category-tile img,
.compact-card img {
  transition: transform 0.5s ease;
}

.movie-card:hover .movie-cover img,
.category-tile:hover img,
.compact-card:hover img {
  transform: scale(1.08);
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.movie-info {
  padding: 16px;
}

.movie-info h2 {
  margin: 8px 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 1.3;
}

.movie-info h2 a:hover {
  color: var(--blue);
}

.movie-info p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.movie-meta span {
  background: #f3f4f6;
}

.tag-row span,
.detail-tags a {
  color: var(--blue);
  background: #eff6ff;
}

.rank-section {
  color: #fff;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), transparent 32%), linear-gradient(135deg, #111827, #1e3a8a);
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
}

.rank-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  margin: 18px 0 26px;
}

.rank-list,
.compact-grid {
  display: grid;
  gap: 12px;
}

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

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.rank-section .compact-card {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.compact-card img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #111827;
}

.compact-card h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.compact-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.rank-section .compact-card p {
  color: rgba(255, 255, 255, 0.68);
}

.compact-rank {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1));
}

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

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 24px;
  font-weight: 900;
}

.category-tile p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0f172a);
}

.page-hero.blue { background: linear-gradient(135deg, #2563eb, #1e40af); }
.page-hero.cyan { background: linear-gradient(135deg, #0891b2, #1d4ed8); }
.page-hero.purple { background: linear-gradient(135deg, #7c3aed, #1e1b4b); }
.page-hero.red { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.page-hero.pink { background: linear-gradient(135deg, #db2777, #831843); }
.page-hero.indigo { background: linear-gradient(135deg, #4f46e5, #1e1b4b); }
.page-hero.green { background: linear-gradient(135deg, #059669, #064e3b); }
.page-hero.orange { background: linear-gradient(135deg, #f97316, #9a3412); }
.page-hero.dark { background: linear-gradient(135deg, #111827, #1e3a8a); }

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.category-poster-stack {
  position: relative;
  min-height: 180px;
}

.category-poster-stack img {
  position: absolute;
  width: 72%;
  height: 140px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.category-poster-stack img:nth-child(1) { left: 0; top: 26px; z-index: 3; }
.category-poster-stack img:nth-child(2) { left: 36px; top: 0; z-index: 2; opacity: 0.86; }
.category-poster-stack img:nth-child(3) { left: 70px; top: 48px; z-index: 1; opacity: 0.74; }

.filter-panel,
.search-page-box,
.local-search {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-panel input {
  flex: 1.2;
}

.filter-panel select {
  flex: 0.4;
}

.filter-panel.slim input {
  max-width: 520px;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #374151;
  background: #fff;
  font-weight: 750;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.empty-state {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  background: #f9fafb;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 128px 56px minmax(0, 1fr) 70px;
  gap: 18px;
  align-items: center;
  padding: 12px;
}

.ranking-cover {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #111827;
}

.ranking-number,
.score-pill {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.ranking-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  font-size: 18px;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.score-pill {
  height: 44px;
  border-radius: 999px;
  color: var(--blue);
  background: #eff6ff;
}

.search-large {
  max-width: 760px;
  margin: 0 auto;
}

.detail-hero {
  padding: 34px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.42), transparent 34%),
    linear-gradient(135deg, #0f172a, #111827 60%, #1e3a8a);
}

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

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.32));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--blue);
}

.detail-side {
  display: grid;
  gap: 16px;
}

.detail-side img {
  height: 100%;
  min-height: 260px;
  border-radius: 24px;
  background: #111827;
  box-shadow: var(--shadow);
}

.score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.score-card strong {
  font-size: 30px;
  color: #fbbf24;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.detail-main,
.detail-aside {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-main h1 {
  margin-bottom: 14px;
}

.detail-main .lead {
  margin: 24px 0;
  padding: 20px;
  border-radius: 18px;
  color: #1f2937;
  background: #eff6ff;
  font-size: 18px;
  font-weight: 650;
}

.detail-main h2,
.detail-aside h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.detail-main p {
  color: #374151;
  font-size: 17px;
}

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

.detail-aside {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 92px;
}

.detail-aside .compact-card {
  box-shadow: none;
  border: 1px solid var(--border);
}

.related-grid .movie-card.related .movie-info p {
  min-height: 0;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-logo {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  max-width: 520px;
  color: #9ca3af;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-overview-grid,
  .rank-layout,
  .detail-content,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: 220px 1fr;
  }

  .detail-side img {
    min-height: 220px;
  }

  .hero-search-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-quick-links {
    justify-content: flex-start;
  }
}

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

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

  .nav-list {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: grid;
  }

  .nav-link {
    border-radius: 12px;
  }

  .hero-carousel {
    min-height: 680px;
  }

  .hero-content {
    padding: 58px 0 260px;
  }

  .hero-search,
  .search-large,
  .filter-panel,
  .local-search {
    flex-direction: column;
    min-width: 0;
  }

  .filter-panel select,
  .filter-panel input {
    flex: 1;
  }

  .hero-dots {
    right: 18px;
    bottom: 204px;
  }

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

  .movie-grid,
  .category-grid,
  .compact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 92px minmax(0, 1fr) 54px;
    gap: 12px;
  }

  .ranking-row .ranking-number {
    position: absolute;
    left: 18px;
    top: 18px;
  }

  .ranking-cover {
    grid-row: span 2;
  }

  .score-pill {
    height: 38px;
  }

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

  .detail-side img {
    max-height: 360px;
  }

  .detail-main,
  .detail-aside {
    padding: 20px;
  }
}
