:root {
  --brand: #dc2626;
  --brand-dark: #991b1b;
  --brand-soft: #fee2e2;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f9fafb;
  --night: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.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.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.32);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.top-search,
.page-search,
.search-card form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search {
  width: min(360px, 34vw);
}

.top-search input,
.page-search input,
.search-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: 0.2s ease;
}

.top-search input:focus,
.page-search input:focus,
.search-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.top-search button,
.page-search button,
.search-card button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.25s ease;
}

.top-search button,
.page-search button,
.search-card button,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.26);
}

.top-search button:hover,
.page-search button:hover,
.search-card button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.34);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
  background: var(--night);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 29, 29, 0.76), rgba(17, 24, 39, 0.35));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(248, 113, 113, 0.42), transparent 36%), radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: 84px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 420px;
  align-items: center;
  gap: 56px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.detail-tags a,
.tag-row span {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transition: 0.35s ease;
}

.hero-poster:hover {
  transform: translateY(-8px) rotate(0deg);
}

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

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots .hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dots .hero-dot.is-active {
  width: 32px;
  border-radius: 999px;
  background: #fff;
}

.hero-category-strip {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-category-strip span,
.hero-category-strip a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.content-section {
  padding: 72px 0;
}

.alt-section {
  background: #fff;
}

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

.section-heading h2,
.search-card h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2 {
  margin: 10px 0 8px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.section-heading h2,
.search-card h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-heading p,
.search-card p,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}

.section-link {
  color: var(--brand);
  font-weight: 900;
}

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

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #991b1b);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

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

.movie-meta {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.movie-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  color: #7f1d1d;
  background: #fee2e2;
  padding: 4px 8px;
}

.movie-card-compact .movie-card-body {
  padding: 12px;
}

.movie-card-compact h3 {
  font-size: 15px;
}

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

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

.category-tile {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--night);
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.88));
}

.category-tile div {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 2;
}

.category-tile span {
  font-size: 12px;
  font-weight: 900;
  color: #fecaca;
}

.category-tile h3 {
  margin: 6px 0;
  font-size: 24px;
  font-weight: 950;
}

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

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

.rank-panel,
.info-card {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--night);
  color: #fff;
  box-shadow: var(--shadow);
}

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

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-title span {
  font-size: 20px;
  font-weight: 950;
}

.panel-title a {
  color: #fecaca;
  font-size: 13px;
  font-weight: 900;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-number {
  color: #fecaca;
  font-weight: 950;
}

.rank-row img {
  width: 54px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-title {
  min-width: 0;
}

.rank-title strong,
.rank-title em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-title strong {
  font-weight: 900;
}

.rank-title em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-style: normal;
}

.rank-arrow {
  color: #fecaca;
  font-size: 24px;
}

.search-banner {
  padding-top: 0;
}

.search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff, #fee2e2);
  box-shadow: var(--shadow);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.page-hero {
  padding: 86px 0 74px;
}

.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: blur(2px);
}

.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(127, 29, 29, 0.78));
}

.page-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.page-search {
  max-width: 720px;
  margin-top: 26px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #374151;
  background: #fff;
  font-weight: 900;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.empty-state {
  margin: 24px 0 0;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-radius: var(--radius-lg);
}

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

.ranking-list {
  border-radius: var(--radius-xl);
  padding: 10px 24px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.single-column {
  grid-template-columns: 1fr;
  gap: 14px;
}

.detail-hero {
  padding: 58px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a:hover {
  color: #fecaca;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.detail-copy .lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-tags a,
.detail-tags span {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.detail-facts span {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
}

.player-section {
  padding: 42px 0 0;
  background: #fff;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.main-video {
  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(15, 23, 42, 0.2), rgba(15, 23, 42, 0.76));
  font-weight: 950;
  font-size: 18px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  font-size: 34px;
  padding-left: 5px;
}

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

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

.detail-article,
.info-card {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.detail-article {
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-article h2 {
  font-size: 28px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.info-card {
  color: var(--ink);
  background: var(--soft);
}

.info-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.info-card dd {
  margin: 4px 0 14px;
  font-weight: 800;
}

.site-footer {
  color: #fff;
  background: #0b1120;
  padding: 48px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-brand p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  color: #fff;
  background: var(--brand);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-content {
    grid-template-columns: 1fr 320px;
  }

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

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

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

  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .top-search {
    flex: 1;
    width: auto;
  }

  .top-search button {
    display: none;
  }

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 120px 0 100px;
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(260px, 70vw);
    margin: 0 auto;
  }

  .hero-category-strip {
    top: 78px;
  }

  .section-heading,
  .search-card,
  .footer-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    display: grid;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .category-grid-large {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 70vw);
  }

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

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 520px) {
  .container,
  .footer-inner,
  .hero-content,
  .hero-category-strip {
    width: min(100% - 22px, 1180px);
  }

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

  .top-search input {
    padding: 10px 12px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-actions,
  .page-search,
  .search-card form {
    flex-direction: column;
    align-items: stretch;
  }

  .content-section {
    padding: 52px 0;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid {
    gap: 14px;
  }

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

  .movie-card p,
  .tag-row {
    display: none;
  }

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

  .rank-row img {
    width: 48px;
    height: 64px;
  }

  .detail-article,
  .info-card,
  .rank-panel,
  .search-card {
    padding: 20px;
  }
}
