:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber: #f59e0b;
  --orange: #ea580c;
  --blue: #2563eb;
  --text: #0f172a;
  --muted: #64748b;
  --paper: #ffffff;
  --ring: rgba(245, 158, 11, 0.32);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 45%, #e2e8f0 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, #0f172a, #1e293b 50%, #0f172a);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px) scale(1.01);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.32);
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

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

.brand-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 5px;
  font-size: 12px;
  color: #cbd5e1;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
  color: #cbd5e1;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.24);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 12px 16px 18px;
}

.mobile-link {
  padding: 12px 14px;
  color: #cbd5e1;
}

.mobile-link.active,
.mobile-link:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.18);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(245, 158, 11, 0.34), transparent 25%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.64) 48%, rgba(2, 6, 23, 0.26)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 58%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  color: #fff;
}

.hero-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.25);
}

.eyebrow {
  color: #b45309;
  background: #fffbeb;
  box-shadow: none;
}

.hero-title {
  max-width: 840px;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.hero-movie-name {
  margin-top: 12px;
  color: #fde68a;
  font-size: 24px;
  font-weight: 800;
}

.hero-summary {
  max-width: 720px;
  margin-top: 18px;
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.75;
}

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

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

.hero-tags span,
.detail-meta span,
.movie-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.detail-meta span,
.movie-meta span {
  color: #475569;
  background: #f1f5f9;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.inline-actions {
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.28);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn.ghost.dark {
  color: var(--slate-900);
  background: #fff;
  border: 1px solid #e2e8f0;
}

.btn.text {
  color: #fde68a;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 6, 23, 0.55);
  font-size: 34px;
  line-height: 1;
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.8);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: all 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.hero-search {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 150px));
  display: none;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.hero-search input,
.list-tools input,
.list-tools select {
  min-height: 44px;
  border-radius: 13px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-search input:focus,
.list-tools input:focus,
.list-tools select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--ring);
}

.hero-search input {
  flex: 1;
}

.hero-search button {
  min-height: 44px;
  border-radius: 13px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

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

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

.section-heading h1,
.section-heading h2,
.page-hero h1 {
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.site-footer p {
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.heading-link {
  color: #d97706;
  font-weight: 900;
}

.heading-link:hover {
  color: #b45309;
}

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

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--slate-800);
  box-shadow: var(--shadow);
}

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

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

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.86));
}

.category-copy {
  position: absolute;
  inset-inline: 20px;
  bottom: 20px;
  color: #fff;
  display: grid;
  gap: 8px;
}

.category-copy strong {
  font-size: 22px;
  font-weight: 950;
}

.category-copy em {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  font-style: normal;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.09);
  transition: all 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.movie-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cbd5e1;
}

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

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

.poster-badge,
.poster-score {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.poster-badge {
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.poster-score {
  right: 10px;
  bottom: 10px;
  background: rgba(2, 6, 23, 0.72);
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  min-height: 48px;
  color: var(--slate-900);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.compact .movie-info h3 {
  min-height: 44px;
  font-size: 15px;
}

.movie-card:hover .movie-info h3 {
  color: #d97706;
}

.movie-info p {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  margin-top: 12px;
  gap: 6px;
}

.movie-meta span {
  padding: 4px 8px;
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}

.panel-block,
.detail-card,
.player-card,
.side-panel,
.page-hero,
.category-index {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.panel-block,
.detail-card,
.side-panel,
.category-index {
  padding: 24px;
}

.highlight-panel {
  background: linear-gradient(135deg, #fff, #f8fafc);
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-list.full {
  margin-top: 24px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 48px 92px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.13);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-weight: 950;
}

.ranking-item img {
  width: 92px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-body strong {
  color: var(--slate-900);
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-body em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-score,
.detail-score {
  border-radius: 999px;
  padding: 7px 10px;
  color: #d97706;
  background: #fffbeb;
  font-weight: 950;
}

.page-shell {
  padding: 40px 0 80px;
}

.page-hero {
  padding: 42px;
  background:
    radial-gradient(circle at 85% 12%, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(135deg, #fff, #f8fafc);
}

.small-hero {
  margin-bottom: 24px;
}

.category-hero {
  margin-bottom: 10px;
}

.with-tools {
  align-items: start;
}

.list-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  width: min(640px, 100%);
}

.list-tools input {
  flex: 1 1 240px;
}

.list-tools select {
  flex: 0 0 150px;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 32px;
  border-radius: 22px;
  text-align: center;
  color: #64748b;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

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

.category-index a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.category-index a:hover {
  background: #fff7ed;
  transform: translateY(-2px);
}

.category-index a span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.side-panel h2 {
  margin-bottom: 16px;
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 950;
}

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

.side-grid .movie-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.side-grid .movie-poster {
  height: 100%;
  min-height: 116px;
  aspect-ratio: auto;
}

.side-grid .movie-info h3 {
  min-height: auto;
  font-size: 14px;
}

.side-grid .movie-info p,
.side-grid .tag-row {
  display: none;
}

.breadcrumb {
  margin-bottom: 18px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb a {
  color: #d97706;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 26px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  padding: 12px;
  background: var(--slate-950);
}

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

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

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.video-cover.is-hidden {
  display: none;
}

.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.18));
}

.play-badge {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 32px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 48px rgba(234, 88, 12, 0.45);
  padding-left: 5px;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  display: none;
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  text-align: center;
}

.player-message.is-visible {
  display: block;
}

.detail-card h1 {
  color: var(--slate-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.detail-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: start;
}

.detail-meta {
  margin-top: 18px;
}

.detail-tags {
  margin: 18px 0 24px;
}

.detail-card h2 {
  margin: 26px 0 12px;
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 950;
}

.detail-card p {
  color: #475569;
  line-height: 1.95;
  margin-top: 12px;
}

.related-inline {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-inline a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #b45309;
  background: #fffbeb;
  font-size: 13px;
  font-weight: 900;
}

.detail-side {
  display: grid;
  gap: 20px;
}

.side-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #cbd5e1;
}

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

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

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-grid {
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

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

.footer-links a {
  border-radius: 999px;
  padding: 8px 11px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.24);
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

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

  .detail-side {
    grid-template-columns: 320px 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

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

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

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

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

  .brand-subtitle {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    bottom: 78px;
  }

  .hero-summary {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 8px;
  }

  .btn {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 13px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-grid.large,
  .category-index,
  .footer-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .movie-grid {
    gap: 16px;
  }

  .movie-card:not(.compact) {
    display: grid;
    grid-template-columns: 128px 1fr;
  }

  .movie-card:not(.compact) .movie-poster {
    height: 100%;
    min-height: 154px;
    aspect-ratio: auto;
  }

  .movie-info h3 {
    min-height: auto;
    font-size: 16px;
  }

  .ranking-item {
    grid-template-columns: 42px 74px 1fr;
  }

  .ranking-item img {
    width: 74px;
    height: 54px;
  }

  .rank-score {
    display: none;
  }

  .page-hero,
  .panel-block,
  .detail-card,
  .side-panel,
  .category-index {
    padding: 20px;
    border-radius: 20px;
  }

  .detail-heading {
    display: grid;
  }

  .play-badge {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .movie-card:not(.compact),
  .side-grid .movie-card {
    grid-template-columns: 108px 1fr;
  }

  .movie-card:not(.compact) .movie-poster {
    min-height: 142px;
  }

  .movie-info {
    padding: 12px;
  }

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

  .hero-tags span:nth-child(n+3) {
    display: none;
  }
}
