:root {
  color-scheme: dark;
  --bg: #0f172a;
  --bg-soft: #111c33;
  --panel: rgba(30, 41, 59, 0.72);
  --panel-solid: #1e293b;
  --panel-light: rgba(51, 65, 85, 0.7);
  --border: rgba(245, 158, 11, 0.14);
  --border-strong: rgba(245, 158, 11, 0.36);
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 32rem),
    linear-gradient(180deg, #0f172a 0%, #101827 42%, #0b1120 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 0.78rem;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.34);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.nav-link {
  padding: 0.55rem 0.82rem;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(245, 158, 11, 0.09);
}

.site-search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 280px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.site-search-form input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.65rem 0.95rem;
}

.site-search-form button {
  border: 0;
  color: #111827;
  background: var(--accent);
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.site-search-form button:hover {
  background: #fbbf24;
}

.mobile-menu-button {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.8rem;
  cursor: pointer;
}

.mobile-nav-panel {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-nav-panel nav {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 0.4rem;
  padding: 0.8rem 0;
}

.mobile-search {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: #0b1120;
}

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.52) 46%, rgba(15, 23, 42, 0.18)),
    linear-gradient(0deg, #0f172a 0%, rgba(15, 23, 42, 0.72) 26%, transparent 78%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: max(1rem, calc((100vw - var(--max-width)) / 2 + 1rem));
  top: 50%;
  transform: translateY(-50%);
  width: min(640px, calc(100vw - 2rem));
}

.hero-chip,
.hero-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  border-radius: 999px;
}

.hero-chip {
  padding: 0.45rem 0.85rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.hero p {
  max-width: 54rem;
  margin: 1.15rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.hero-meta span {
  padding: 0.35rem 0.75rem;
  color: #fcd34d;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.78rem 1.4rem;
  border-radius: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #111827;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.3);
}

.primary-button:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.42);
}

.ghost-button {
  color: var(--text);
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ghost-button:hover {
  background: rgba(30, 41, 59, 0.82);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  color: var(--text);
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.62);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

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

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

.hero-dot.active {
  width: 2.1rem;
  background: var(--accent);
}

.hero-category-strip {
  position: absolute;
  z-index: 3;
  right: max(1rem, calc((100vw - var(--max-width)) / 2 + 1rem));
  bottom: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 480px;
  gap: 0.55rem;
}

.hero-category-strip a {
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.5rem 0.82rem;
  transition: color 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.hero-category-strip a:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: rgba(245, 158, 11, 0.1);
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 3.3rem 1rem 4.5rem;
}

.page-heading {
  margin-bottom: 2rem;
  display: grid;
  gap: 1rem;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.page-heading p {
  max-width: 780px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-block {
  margin-top: 3.8rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.section-more {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 22px 56px rgba(245, 158, 11, 0.08);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1120;
}

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

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 55%);
  opacity: 0.72;
}

.card-play {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.94);
  color: #111827;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  color: #111827;
  background: rgba(251, 191, 36, 0.94);
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.card-body h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--accent);
}

.card-body p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.66;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem 0.65rem;
  margin-top: 0.8rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.tag-row span {
  padding: 0.24rem 0.56rem;
  font-size: 0.77rem;
}

.feature-panel {
  margin-top: 3.8rem;
  padding: 1.2rem;
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.08), rgba(30, 41, 59, 0.48));
}

.feature-panel .movie-card {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: stretch;
}

.feature-panel .card-cover {
  aspect-ratio: auto;
  min-height: 360px;
}

.feature-panel .card-body {
  justify-content: center;
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.feature-panel h3 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.12;
}

.feature-panel .card-body p {
  -webkit-line-clamp: 4;
  font-size: 1.04rem;
}

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

.category-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(30, 41, 59, 0.94);
}

.category-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.category-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.category-card-top span {
  color: var(--accent);
  font-weight: 800;
}

.category-card p {
  margin: 0.8rem 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.category-samples a {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-size: 0.82rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
  padding: 0.65rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(30, 41, 59, 0.96);
}

.compact-card img {
  width: 5rem;
  height: 4.8rem;
  object-fit: cover;
  border-radius: 0.78rem;
}

.compact-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-card p {
  margin: 0.28rem 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-card span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.rank-index {
  position: absolute;
  top: 0.52rem;
  left: 0.52rem;
  z-index: 2;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827 !important;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.82rem !important;
}

.filter-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  margin: 1rem 0 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-input {
  width: 100%;
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.9rem;
  outline: 0;
  padding: 0.8rem 0.95rem;
}

.filter-input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.08);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--accent);
}

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

.detail-main,
.detail-side,
.player-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.player-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

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

.player-shell video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #111827;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.32));
  cursor: pointer;
}

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

.play-circle {
  width: clamp(4rem, 10vw, 6.2rem);
  height: clamp(4rem, 10vw, 6.2rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 999px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 24px 50px rgba(245, 158, 11, 0.36);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-overlay:hover .play-circle {
  transform: scale(1.06);
  background: #fbbf24;
}

.detail-main {
  padding: clamp(1.1rem, 3vw, 2rem);
}

.detail-main h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.detail-meta span {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
}

.detail-main h2,
.detail-side h2 {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.38rem;
}

.detail-main p {
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0 0 1rem;
}

.detail-side {
  padding: 1rem;
  position: sticky;
  top: 5.8rem;
}

.related-grid {
  display: grid;
  gap: 0.75rem;
}

.related-grid .compact-card {
  grid-template-columns: 4.2rem 1fr;
}

.related-grid .compact-card img {
  width: 4.2rem;
  height: 3.9rem;
}

.search-main-form {
  width: min(100%, 640px);
  margin-left: 0;
}

.search-results {
  min-height: 300px;
}

.search-empty {
  padding: 2rem;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.7);
}

.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--text-muted);
}

.footer-inner strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.footer-inner p {
  margin: 0;
  max-width: 680px;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-content: flex-start;
  white-space: nowrap;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

.hidden-card {
  display: none !important;
}

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

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-inner > .site-search-form {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-category-strip {
    display: none;
  }

  .hero-control {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.55rem;
  }

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

  .feature-panel .movie-card {
    grid-template-columns: 1fr;
  }

  .feature-panel .card-cover {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 0.75rem 0.85rem;
  }

  .site-logo {
    font-size: 1rem;
  }

  .logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    top: 48%;
  }

  .hero p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-prev,
  .hero-next {
    display: none;
  }

  .page-shell {
    padding-top: 2.2rem;
  }

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

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

  .compact-card {
    grid-template-columns: 4.8rem 1fr;
  }

  .compact-card img {
    width: 4.8rem;
    height: 4.5rem;
  }
}
