:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --orange-500: #f97316;
  --white: #ffffff;
  --shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
  --soft-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.26);
}

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

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

.brand-mark,
.footer-logo span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #fde68a, #fed7aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: #e2e8f0;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fcd34d;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search input,
.filter-bar input,
.filter-bar select,
.search-page-form input {
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--slate-800);
  padding: 12px 16px;
}

.desktop-search input,
.mobile-search input {
  width: 230px;
  color: var(--white);
  background: rgba(51, 65, 85, 0.95);
}

.site-search button,
.search-page-form button,
.btn,
.rank-action,
.overview-more {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search button:hover,
.search-page-form button:hover,
.btn:hover,
.rank-action:hover,
.overview-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.32);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--slate-900);
}

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

.mobile-nav {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  color: #e2e8f0;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.25), transparent 32%), linear-gradient(120deg, #0f172a 0%, #1e293b 48%, #78350f 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 640px;
  padding: 72px 0 34px;
}

.hero-track {
  position: relative;
  min-height: 472px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 52px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero-kicker,
.page-hero p,
.section-head p {
  margin: 0 0 12px;
  color: #fcd34d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #fde68a, #fed7aa, #fff7ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.hero-summary,
.page-lead {
  max-width: 680px;
  margin: 0;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.8;
}

.hero-tags,
.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tags span,
.tag-list span,
.detail-tags a {
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 700;
}

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

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
  transform: perspective(1100px) rotateY(-8deg) rotateX(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.45));
}

.hero-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 32px;
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
}

.hero-category-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-category-strip a {
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.11);
  padding: 10px 14px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.site-section {
  padding: 66px 0;
}

.alt-section {
  background: rgba(255, 255, 255, 0.42);
}

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

.section-head h2 {
  margin: 0;
  color: var(--slate-800);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

.section-more {
  color: var(--amber-500);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-800);
}

.movie-card.compact .card-poster {
  aspect-ratio: 3 / 4;
}

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

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

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.78));
  opacity: 0.95;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.25);
}

.card-chip {
  right: 12px;
}

.rank-badge {
  left: 12px;
}

.card-body {
  padding: 17px;
}

.card-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.3;
}

.card-body h2 a:hover,
.rank-info h2 a:hover,
.text-panel a:hover {
  color: var(--amber-500);
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 13px;
}

.card-meta span {
  border-radius: 999px;
  background: var(--slate-100);
  padding: 4px 8px;
}

.tag-list {
  margin-top: 13px;
}

.tag-list span {
  color: var(--slate-700);
  background: #fff7ed;
  border-color: #fed7aa;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 26px;
  color: var(--white);
  background: var(--category-gradient);
  box-shadow: var(--soft-shadow);
  padding: 26px;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.05));
}

.category-card strong,
.category-card small,
.category-icon {
  position: relative;
  z-index: 2;
}

.category-icon {
  display: block;
  margin-bottom: 18px;
  font-size: 34px;
}

.category-card strong {
  display: block;
  font-size: 24px;
}

.category-card small {
  display: block;
  max-width: 260px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.category-card img {
  position: absolute;
  right: -22px;
  bottom: -32px;
  width: 42%;
  max-width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.28);
  transform: rotate(8deg);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  padding: 12px 14px;
}

.rank-row.top-rank {
  background: linear-gradient(90deg, #fff7ed, #ffffff);
}

.rank-num {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  border-radius: 16px;
  font-weight: 900;
}

.top-rank .rank-num {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-cover {
  overflow: hidden;
  border-radius: 16px;
}

.rank-cover img {
  height: 104px;
  object-fit: cover;
}

.rank-info h2 {
  margin: 0 0 7px;
  color: var(--slate-900);
  font-size: 19px;
}

.rank-info p {
  margin: 0 0 8px;
  color: var(--slate-600);
  line-height: 1.65;
}

.index-search-card,
.side-panel,
.next-panel,
.text-panel,
.player-panel,
.category-overview-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.index-search-card {
  position: sticky;
  top: 92px;
  padding: 28px;
}

.index-search-card h2,
.side-panel h2,
.next-panel h2,
.text-panel h2,
.player-panel h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 24px;
}

.index-search-card p {
  color: var(--slate-600);
  line-height: 1.7;
}

.large-search {
  align-items: stretch;
  margin: 22px 0;
}

.large-search input {
  width: 100%;
  color: var(--slate-900);
  background: var(--slate-100);
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-links a {
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  padding: 8px 12px;
  font-weight: 800;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 15% 10%, rgba(251, 191, 36, 0.24), transparent 30%), linear-gradient(120deg, var(--slate-900), var(--slate-800));
  padding: 82px 0;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #cbd5e1;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 10px;
  color: #94a3b8;
}

.category-page-hero {
  background: var(--category-gradient);
}

.category-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-collage img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.hero-collage img:nth-child(2),
.hero-collage img:nth-child(5) {
  transform: translateY(26px);
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-bar input {
  flex: 1;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-bar select {
  min-width: 170px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.categories-overview {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  padding: 24px;
}

.category-overview-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  border-radius: 20px;
  color: var(--white);
  background: var(--category-gradient);
  padding: 20px;
}

.category-overview-head span {
  font-size: 34px;
}

.category-overview-head h2 {
  margin: 0 0 4px;
  font-size: 26px;
}

.category-overview-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.overview-more {
  display: inline-flex;
  margin-top: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(10px);
  transform: scale(1.06);
}

.detail-backdrop img {
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0 58px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 22px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.42);
}

.detail-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-main-title h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
}

.detail-main-title p {
  max-width: 820px;
  margin: 0;
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  font-weight: 800;
}

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

.player-panel,
.side-panel,
.text-panel,
.next-panel {
  padding: 24px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 28px 65px rgba(2, 6, 23, 0.28);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.55));
  cursor: pointer;
}

.player-overlay span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.36);
  font-size: 34px;
}

.player-overlay.is-hidden {
  display: none;
}

.side-panel dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.side-panel dt {
  color: var(--slate-500);
  font-weight: 800;
}

.side-panel dd {
  margin: 0;
  color: var(--slate-800);
  line-height: 1.6;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.text-panel h2 + p {
  margin-top: 0;
}

.text-panel p {
  color: var(--slate-700);
  font-size: 18px;
  line-height: 2;
}

.next-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.next-panel a {
  border-radius: 16px;
  background: var(--slate-100);
  padding: 13px 14px;
  color: var(--slate-800);
  font-weight: 800;
}

.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-page-form input {
  flex: 1;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.search-status {
  margin-bottom: 20px;
  color: var(--slate-600);
  font-weight: 700;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 19px;
}

.site-footer p,
.site-footer li {
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a:hover {
  color: #fcd34d;
}

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

@media (max-width: 1080px) {
  .desktop-search {
    display: none;
  }

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

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

  .two-column-section,
  .detail-grid,
  .content-layout,
  .category-hero-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .index-search-card,
  .next-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-shell {
    min-height: auto;
    padding: 44px 0 28px;
  }

  .hero-track {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-poster {
    max-width: 330px;
    margin: 0 auto;
    transform: none;
  }

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

  .detail-cover {
    max-width: 280px;
  }

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

  .rank-action {
    grid-column: 2 / -1;
    width: max-content;
  }
}

@media (max-width: 640px) {
  .site-container {
    width: min(100% - 22px, 1180px);
  }

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

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

  .hero-track {
    min-height: 710px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy h2 {
    font-size: 28px;
  }

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

  .site-section {
    padding: 44px 0;
  }

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

  .filter-bar,
  .search-page-form,
  .large-search {
    flex-direction: column;
  }

  .rank-row {
    grid-template-columns: 40px 70px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .rank-info p {
    display: none;
  }

  .rank-cover img {
    height: 88px;
  }

  .card-body {
    padding: 13px;
  }

  .card-body h2 {
    font-size: 16px;
  }

  .card-body p,
  .tag-list {
    display: none;
  }

  .page-hero {
    padding: 56px 0;
  }

  .hero-collage {
    grid-template-columns: repeat(6, 1fr);
    overflow: hidden;
  }

  .hero-collage img:nth-child(2),
  .hero-collage img:nth-child(5) {
    transform: none;
  }

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