:root {
  --bg: #120d0a;
  --bg-soft: #1c130e;
  --bg-card: rgba(41, 27, 18, 0.82);
  --bg-glass: rgba(32, 21, 15, 0.72);
  --amber: #f8c56a;
  --amber-strong: #f59e0b;
  --orange: #ea580c;
  --text: #fff7ed;
  --text-soft: #fcd9a4;
  --text-muted: #c9a876;
  --line: rgba(248, 197, 106, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.2), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(234, 88, 12, 0.16), transparent 30rem),
    linear-gradient(135deg, #120d0a 0%, #1d120c 45%, #0c0907 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 42vh;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(248, 197, 106, 0.28);
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.95), rgba(154, 52, 18, 0.94), rgba(120, 53, 15, 0.95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #4a1d04;
  font-size: 22px;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.38);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  color: #fff7ed;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.brand-text em {
  color: #fde68a;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-nav-link {
  position: relative;
  padding: 10px 12px;
  color: #ffedd5;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #431407;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px;
  border: 1px solid rgba(253, 230, 138, 0.3);
  border-radius: 999px;
  background: rgba(67, 20, 7, 0.38);
}

.header-search input {
  width: 220px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(255, 237, 213, 0.66);
}

.header-search button,
.btn,
.hero-link,
.filter-panel button,
.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #421507;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.24);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.btn:hover,
.hero-link:hover,
.filter-panel button:hover,
.player-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.36);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 9px;
  border: 1px solid rgba(253, 230, 138, 0.32);
  border-radius: 14px;
  background: rgba(67, 20, 7, 0.38);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #ffedd5;
}

.mobile-menu {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: min(1360px, calc(100% - 32px));
  min-height: 650px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid rgba(248, 197, 106, 0.22);
  border-radius: 36px;
  background: #0c0907;
  box-shadow: var(--shadow);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
  padding: 82px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(10px) saturate(1.15);
  transform: scale(1.08);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 78% 42%, rgba(251, 146, 60, 0.18), transparent 28rem),
    linear-gradient(90deg, rgba(12, 9, 7, 0.95) 0%, rgba(18, 13, 10, 0.82) 46%, rgba(18, 13, 10, 0.45) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 58%);
}

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

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(253, 230, 138, 0.22);
  border-radius: 999px;
  background: rgba(67, 20, 7, 0.5);
}

.hero h1,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: #fff7ed;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.45);
}

.hero p,
.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #ffedd5;
  font-size: clamp(16px, 2.2vw, 21px);
}

.hero-meta,
.detail-meta,
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-meta span,
.detail-meta span,
.meta-pills span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(253, 230, 138, 0.24);
  border-radius: 999px;
  background: rgba(67, 20, 7, 0.42);
}

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

.hero-link.secondary,
.btn.secondary {
  color: #ffedd5;
  border: 1px solid rgba(253, 230, 138, 0.28);
  background: rgba(67, 20, 7, 0.56);
  box-shadow: none;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(253, 230, 138, 0.25);
  border-radius: 28px;
  background: rgba(67, 20, 7, 0.5);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(2.5deg);
}

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

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 52%);
}

.hero-controls {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.2);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.home-search-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin: -56px auto 42px;
  padding: 24px;
  border: 1px solid rgba(253, 230, 138, 0.22);
  border-radius: 28px;
  background: rgba(32, 21, 15, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-card form {
  display: flex;
  gap: 10px;
}

.home-search-card input {
  flex: 1;
  min-height: 52px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(253, 230, 138, 0.22);
  border-radius: 999px;
  outline: 0;
  background: rgba(18, 13, 10, 0.72);
}

.home-search-card strong {
  display: block;
  margin-bottom: 4px;
  color: #fde68a;
  font-size: 18px;
}

.home-search-card p {
  margin: 0;
  color: var(--text-muted);
}

.section {
  margin: 64px 0;
}

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

.section-head h2,
.page-hero h1,
.category-card strong {
  margin: 0;
  color: #fff7ed;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.section-head p,
.category-card p,
.detail-copy p {
  color: var(--text-muted);
}

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

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

.movie-card-link {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(253, 230, 138, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(41, 27, 18, 0.92), rgba(24, 16, 11, 0.92));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 230, 138, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.35);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(67, 20, 7, 0.42);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 56%);
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.play-dot::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #431407;
  transform: translate(-50%, -50%);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  color: #431407;
  font-size: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.movie-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.movie-card-body strong {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.compact .movie-card-body strong {
  min-height: auto;
}

.movie-card-body small {
  color: var(--amber);
  font-weight: 700;
}

.movie-card-body em {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

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

.category-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(253, 230, 138, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(251, 146, 60, 0.18), transparent 16rem),
    linear-gradient(145deg, rgba(41, 27, 18, 0.92), rgba(18, 13, 10, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(253, 230, 138, 0.42);
}

.category-card span {
  color: var(--amber);
  font-weight: 900;
}

.page-hero {
  margin: 40px 0 28px;
  padding: 44px;
  border: 1px solid rgba(253, 230, 138, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 146, 60, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(41, 27, 18, 0.88), rgba(18, 13, 10, 0.88));
  box-shadow: var(--shadow);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 14px;
  margin: 24px 0 28px;
  padding: 18px;
  border: 1px solid rgba(253, 230, 138, 0.18);
  border-radius: 24px;
  background: rgba(32, 21, 15, 0.76);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.filter-search input,
.filter-selects select {
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: 14px;
  outline: 0;
  background: rgba(18, 13, 10, 0.82);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.filter-selects select {
  min-width: 150px;
}

.empty-state {
  display: none;
  padding: 36px;
  color: var(--text-muted);
  text-align: center;
  border: 1px dashed rgba(253, 230, 138, 0.24);
  border-radius: 24px;
}

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

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

.rank-item a {
  display: grid;
  grid-template-columns: 54px 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(253, 230, 138, 0.16);
  border-radius: 22px;
  background: rgba(32, 21, 15, 0.78);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rank-item a:hover {
  transform: translateX(5px);
  border-color: rgba(253, 230, 138, 0.38);
}

.rank-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #431407;
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.rank-item img {
  width: 110px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-item strong,
.rank-item small,
.rank-item em {
  display: block;
}

.rank-item strong {
  color: #fff7ed;
  font-size: 18px;
}

.rank-item small {
  color: var(--amber);
  font-weight: 800;
}

.rank-item em {
  color: var(--text-muted);
  font-style: normal;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber);
  font-weight: 800;
}

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

.detail-title h1 {
  font-size: clamp(34px, 6vw, 64px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(253, 230, 138, 0.22);
  border-radius: 30px;
  background: #030201;
  box-shadow: var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)),
    var(--poster-image) center / cover;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  min-width: 138px;
  min-height: 54px;
  font-size: 16px;
}

.detail-copy {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.detail-copy section {
  padding: 24px;
  border: 1px solid rgba(253, 230, 138, 0.16);
  border-radius: 24px;
  background: rgba(32, 21, 15, 0.72);
}

.detail-copy h2,
.sidebar h2 {
  margin: 0 0 12px;
  color: #fde68a;
  font-size: 24px;
}

.detail-copy p {
  margin: 0;
  font-size: 17px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.sidebar-panel {
  padding: 18px;
  border: 1px solid rgba(253, 230, 138, 0.16);
  border-radius: 24px;
  background: rgba(32, 21, 15, 0.72);
}

.side-poster {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(67, 20, 7, 0.42);
}

.side-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.side-info {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.side-info div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(253, 230, 138, 0.12);
}

.side-info strong {
  color: var(--text-soft);
}

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

.related-card a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-card img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
}

.related-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff7ed;
  font-size: 15px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-card small {
  color: var(--amber);
}

.site-footer {
  margin-top: 80px;
  padding: 52px 0 24px;
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  background: linear-gradient(90deg, rgba(28, 18, 12, 0.92), rgba(67, 20, 7, 0.88), rgba(28, 18, 12, 0.92));
}

.footer-grid,
.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  color: #fde68a;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--text-muted);
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 230, 138, 0.12);
}

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

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

  .mobile-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 56px;
  }

  .hero-poster {
    display: none;
  }

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

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

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

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .hero {
    min-height: 590px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 38px 24px 74px;
  }

  .home-search-card,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .home-search-card form,
  .filter-selects {
    display: grid;
  }

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

  .section-head,
  .footer-bottom {
    display: grid;
  }

  .rank-item a {
    grid-template-columns: 44px 82px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-item img {
    width: 82px;
    height: 64px;
  }

  .page-hero {
    padding: 28px;
  }
}
