:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-panel: rgba(15, 23, 42, 0.72);
  --panel-border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --sky: #38bdf8;
  --blue: #2563eb;
  --gold: #fbbf24;
  --red: #f97316;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

img {
  max-width: 100%;
}

main {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 14px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #ffffff;
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 45%, rgba(2, 6, 23, 0.35) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.18) 42%, rgba(2, 6, 23, 0.4) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 64px;
  padding-top: 72px;
}

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

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

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

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.32);
}

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

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.42);
  box-shadow: var(--shadow);
}

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

.hero-poster span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.92);
  box-shadow: 0 18px 38px rgba(56, 189, 248, 0.35);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.52);
  backdrop-filter: blur(10px);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control:hover {
  background: rgba(2, 6, 23, 0.82);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

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

.hero-dot.active {
  width: 42px;
  background: #ffffff;
}

.home-intro,
.page-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 72px 0 28px;
}

.home-intro h2,
.page-hero h1 {
  margin: 0 0 14px;
}

.home-intro p,
.page-hero p,
.section-heading p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero {
  display: block;
  padding-top: 84px;
}

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

.dark-band,
.soft-band {
  background: rgba(15, 23, 42, 0.42);
  border-block: 1px solid rgba(148, 163, 184, 0.1);
}

.soft-band {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.18));
}

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

.section-heading span {
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  max-width: 460px;
  text-align: right;
}

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

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

.movie-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.72));
  box-shadow: 0 16px 50px rgba(2, 6, 23, 0.28);
  overflow: hidden;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.46);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.08;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.68));
}

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

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: auto;
  right: 10px;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.92);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta-line span + span::before {
  content: "·";
  margin-right: 7px;
  color: rgba(148, 163, 184, 0.7);
}

.movie-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.compact-card p {
  display: none;
}

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

.tag-row span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  font-size: 12px;
}

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

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

.rank-card {
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.66);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.36);
  background: rgba(30, 41, 59, 0.82);
}

.rank-card a {
  display: grid;
  grid-template-columns: 58px 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
}

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

.rank-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-size: 20px;
  font-weight: 900;
}

.rank-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
}

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

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

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

.category-tile {
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 14rem),
    rgba(15, 23, 42, 0.7);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.38);
}

.category-tile.large {
  min-height: 280px;
}

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

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

.category-covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.category-tile strong {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.category-tile span {
  color: var(--muted);
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.22);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
}

.search-box span {
  color: var(--sky);
  font-size: 20px;
}

.search-box input,
.filter-selects select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.search-box input::placeholder {
  color: rgba(203, 213, 225, 0.58);
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.filter-selects select {
  min-width: 118px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
}

.filter-selects option {
  color: #0f172a;
}

.filter-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.22);
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  color: var(--muted-strong);
  text-align: center;
  background: rgba(15, 23, 42, 0.7);
}

.empty-state.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.detail-bg,
.detail-bg-layer {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.08);
  transform: scale(1.04);
}

.detail-bg-layer {
  background:
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.82) 46%, rgba(2, 6, 23, 0.46) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.45) 72%, rgba(2, 6, 23, 0.75) 100%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 38px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  font-size: clamp(36px, 6vw, 66px);
}

.detail-one-line {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.8;
}

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

.player-section {
  padding-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.18), transparent 18rem),
    rgba(2, 6, 23, 0.52);
  backdrop-filter: blur(2px);
}

.player-overlay.hidden {
  display: none;
}

.big-play {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.42);
  font-size: 28px;
}

.player-overlay strong {
  max-width: min(620px, 80%);
  text-align: center;
  font-size: 20px;
}

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

.detail-content article {
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.66);
}

.detail-content h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.detail-content p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.95;
}

.site-footer {
  margin-top: 42px;
  padding: 42px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.82);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  color: var(--muted-strong);
}

.footer-links a:hover {
  color: #ffffff;
}

[data-card].is-hidden {
  display: none;
}

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
  }

  .rank-grid,
  .detail-content,
  .category-overview {
    grid-template-columns: 1fr;
  }
}

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

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

  .site-nav {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding-top: 54px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-poster {
    width: min(220px, 58vw);
    justify-self: start;
    order: 1;
  }

  .hero-control {
    display: none;
  }

  .home-intro,
  .section-heading,
  .footer-grid {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
    text-align: left;
  }

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

  .filter-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .filter-selects {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rank-card a {
    grid-template-columns: 46px 86px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-card img {
    width: 86px;
    height: 58px;
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-cover {
    max-width: 240px;
  }

  .detail-one-line {
    font-size: 17px;
  }

  .player-shell {
    border-radius: 18px;
  }
}

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

  .movie-grid,
  .small-grid,
  .all-grid {
    grid-template-columns: 1fr;
  }

  .movie-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .movie-card-link {
    display: contents;
  }

  .poster-wrap {
    aspect-ratio: 3 / 4;
  }

  .compact-card p {
    display: -webkit-box;
  }

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

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