:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #1e293b;
  --bg-card-light: #334155;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --emerald: #10b981;
  --cyan: #06b6d4;
  --rose: #fb7185;
  --line: rgba(245, 158, 11, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--amber-light);
}

.logo-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.4);
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd5e1;
  font-size: 15px;
}

.main-nav a,
.mobile-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--amber-light);
}

.header-search,
.mobile-search,
.wide-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.wide-search input,
.filter-controls input,
.filter-controls select {
  color: var(--text);
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.header-search button,
.mobile-search button,
.wide-search button {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  color: #0f172a;
  background: var(--amber-light);
  font-weight: 800;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 26px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: #0f172a;
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-search input {
  width: 100%;
  padding: 11px 14px;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 0.34;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(90deg, #020617 0%, rgba(15, 23, 42, 0.88) 42%, rgba(15, 23, 42, 0.38) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.4), #020617 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: var(--amber-light);
  line-height: 1.05;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 950;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.hero h2 {
  font-size: clamp(32px, 5vw, 58px);
}

.hero h3 {
  margin: 22px 0 10px;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 40px);
}

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

.hero-meta,
.movie-meta,
.detail-actions,
.page-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.hero-meta span,
.movie-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
}

.ghost-btn {
  color: var(--text);
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(245, 158, 11, 0.18);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: rgba(251, 191, 36, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  border-color: var(--amber-light);
  background: var(--amber-light);
}

.section-block {
  padding: 58px 0;
}

.search-panel-block {
  padding-top: 36px;
  padding-bottom: 18px;
}

.home-search-card,
.filter-panel,
.page-hero,
.detail-text article,
.rank-panel,
.category-overview-card {
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  box-shadow: var(--shadow);
}

.home-search-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.home-search-card h2,
.section-head h2,
.rank-panel h2,
.filter-panel h2,
.detail-text h2,
.category-overview-card h2 {
  margin: 0;
  color: var(--amber-light);
  font-size: 28px;
  font-weight: 900;
}

.wide-search {
  width: 100%;
}

.wide-search input {
  flex: 1;
  min-height: 52px;
  padding: 0 18px;
}

.wide-search button {
  min-height: 52px;
  padding: 0 24px;
}

.quick-links {
  grid-column: 2;
}

.quick-links a,
.text-link {
  min-height: 38px;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.section-head p {
  grid-column: 2;
  margin: 6px 0 0;
  color: var(--muted);
}

.section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #0f172a;
  background: var(--amber-light);
  font-weight: 900;
}

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

.movie-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.88);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38), 0 0 40px rgba(245, 158, 11, 0.12);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #0f172a;
  transition: transform 0.5s ease;
}

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

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 6px 11px;
  color: #0f172a;
  background: var(--amber-light);
  font-size: 12px;
  font-weight: 900;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.movie-card h2,
.compact-card h3,
.rank-card h2 {
  margin: 0;
  color: var(--amber-light);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card p,
.compact-card p,
.rank-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.movie-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 52px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  margin-top: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 5px 10px;
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.88);
  font-size: 12px;
}

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

.compact-list {
  display: grid;
  gap: 16px;
}

.compact-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 12px;
  background: rgba(30, 41, 59, 0.84);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
  transform: translateX(5px);
  border-color: rgba(245, 158, 11, 0.46);
}

.compact-card img {
  width: 136px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #0f172a;
}

.compact-card h3 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 13px;
}

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

.rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.rank-head a {
  color: var(--amber-light);
  font-weight: 800;
}

.rank-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-panel li a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.62);
}

.rank-panel li span,
.rank-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #0f172a;
  background: var(--amber-light);
  font-weight: 900;
}

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

.rank-panel em {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-style: normal;
  font-size: 12px;
}

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

.category-tile {
  display: grid;
  min-height: 160px;
  align-content: space-between;
  gap: 14px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.95));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
}

.category-tile span {
  color: var(--amber-light);
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  margin-top: 36px;
  padding: 46px;
  overflow: hidden;
  position: relative;
}

.page-hero::after,
.home-search-card::after,
.filter-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.13);
  filter: blur(6px);
  pointer-events: none;
}

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

.page-hero p {
  max-width: 860px;
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.page-actions {
  margin-top: 28px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-self: start;
}

.category-preview img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: #0f172a;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.75;
}

.filter-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
  padding: 24px;
  overflow: hidden;
}

.filter-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  gap: 10px;
}

.filter-controls input,
.filter-controls select {
  min-height: 46px;
  padding: 0 14px;
}

.filter-status {
  grid-column: 1 / -1;
  min-height: 20px;
  font-size: 14px;
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: 54px 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 14px;
  background: rgba(30, 41, 59, 0.84);
}

.rank-card img {
  width: 110px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  background: #0f172a;
}

.rank-card p {
  margin: 8px 0 12px;
  color: var(--muted);
}

.detail-main {
  background: linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 34px 0 64px;
}

.detail-bg-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), #020617 100%);
}

.detail-layout {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--amber-light);
}

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

.player-card {
  border-radius: 28px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: var(--shadow);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.18), rgba(2, 6, 23, 0.65));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-overlay span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: var(--amber-light);
  font-size: 34px;
  box-shadow: 0 16px 50px rgba(245, 158, 11, 0.28);
}

.play-overlay strong {
  font-size: 20px;
}

.detail-info {
  padding: 16px 0;
}

.detail-info h1 {
  font-size: clamp(34px, 5vw, 62px);
}

.detail-one-line {
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-meta-grid div {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(30, 41, 59, 0.76);
}

.detail-meta-grid span {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
}

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

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

.detail-text article {
  padding: 28px;
}

.detail-text p {
  color: #cbd5e1;
  line-height: 1.95;
  font-size: 17px;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 38px;
  padding: 46px 0;
}

.footer-grid p,
.footer-grid li,
.footer-bottom {
  color: var(--muted);
  line-height: 1.75;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--amber-light);
  font-size: 18px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

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

  .two-column-section,
  .detail-content-grid,
  .detail-text,
  .footer-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

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

  .mobile-menu-toggle {
    display: block;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 66px 0 92px;
  }

  .hero-poster {
    justify-self: start;
    width: 220px;
  }

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

  .quick-links {
    grid-column: auto;
  }

  .filter-panel,
  .filter-controls,
  .category-overview-card,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-card img {
    width: 100%;
    height: 220px;
  }
}

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

  .site-logo {
    font-size: 18px;
  }

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

  .compact-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .compact-card img {
    width: 110px;
    height: 86px;
  }

  .page-hero {
    padding: 30px 22px;
  }

  .detail-hero {
    min-height: 0;
  }

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

  .category-preview img {
    height: 128px;
  }
}
