* {
  box-sizing: border-box;
}

:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --neutral-50: #fafaf9;
  --neutral-100: #f5f5f4;
  --neutral-200: #e7e5e4;
  --neutral-300: #d6d3d1;
  --neutral-500: #78716c;
  --neutral-600: #57534e;
  --neutral-700: #44403c;
  --neutral-800: #292524;
  --neutral-900: #1c1917;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.16), 0 8px 10px -6px rgb(0 0 0 / 0.12);
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary-600);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  width: min(100% - 32px, 1280px);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo__mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-500);
  color: #ffffff;
  box-shadow: 0 10px 20px rgb(245 158 11 / 0.25);
}

.site-logo__text {
  font-size: 1.18rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 650;
}

.site-nav__link {
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--accent-400);
  opacity: 1;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.1);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  background: var(--primary-800);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  padding: 10px 16px 16px;
}

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

.mobile-nav__link {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: rgb(255 255 255 / 0.1);
  color: var(--accent-400);
}

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--neutral-900);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.52), transparent);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  right: 24px;
  bottom: 58px;
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.9);
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgb(255 255 255 / 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.52);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dots button[aria-current="true"] {
  background: var(--accent-500);
  transform: scale(1.15);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--accent {
  background: var(--accent-500);
  color: #ffffff;
  box-shadow: 0 12px 24px rgb(245 158 11 / 0.26);
}

.button--accent:hover {
  background: var(--accent-600);
}

.button--primary {
  background: var(--primary-600);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--primary-700);
}

.button--ghost {
  background: rgb(255 255 255 / 0.14);
  color: #ffffff;
  border: 1px solid rgb(255 255 255 / 0.28);
  backdrop-filter: blur(10px);
}

.page-stack {
  display: grid;
  gap: 48px;
  padding: 48px 0 16px;
}

.section-block {
  min-width: 0;
}

.section-block--soft {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-50), #fffbeb);
}

.section-block--ranking {
  padding: 28px;
  border-radius: 24px;
  background: var(--neutral-100);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  color: var(--neutral-900);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.section-heading a {
  color: var(--primary-700);
  font-weight: 750;
}

.section-heading--line h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 26px;
  margin-right: 10px;
  vertical-align: -6px;
  border-radius: 999px;
  background: var(--primary-500);
}

.section-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-700);
}

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

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

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

.movie-card {
  display: block;
  min-width: 0;
}

.movie-card__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--neutral-200);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.movie-card:hover .movie-card__poster img {
  transform: scale(1.05);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.84), rgb(0 0 0 / 0.18), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.year-badge {
  right: 10px;
  background: var(--accent-500);
}

.rank-badge {
  left: 10px;
  background: var(--primary-600);
}

.poster-hover-text {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-hover-text {
  opacity: 1;
}

.movie-card__body {
  display: block;
  padding-top: 10px;
}

.movie-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--neutral-900);
  font-size: 0.98rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-card__title {
  color: var(--primary-600);
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
  color: var(--neutral-600);
  font-size: 0.78rem;
}

.genre-pill {
  display: inline-flex;
  max-width: 100%;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card__excerpt {
  margin: 8px 0 0;
  color: var(--neutral-600);
  font-size: 0.85rem;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.horizontal-rail {
  display: flex;
  gap: 18px;
  margin-inline: -8px;
  padding: 4px 8px 18px;
  overflow-x: auto;
}

.rail-item {
  width: 192px;
  flex: 0 0 192px;
}

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

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

.category-card {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--neutral-900);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-card__image,
.category-card__image img,
.category-card__image span {
  position: absolute;
  inset: 0;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease;
}

.category-card:hover .category-card__image img {
  transform: scale(1.06);
}

.category-card__image span {
  background: linear-gradient(to top, rgb(0 0 0 / 0.86), rgb(0 0 0 / 0.34), rgb(2 132 199 / 0.2));
}

.category-card__content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 20px;
  color: #ffffff;
}

.category-card__content strong {
  font-size: 1.25rem;
}

.category-card__content em {
  font-style: normal;
  color: var(--accent-400);
  font-weight: 800;
}

.category-card__content span,
.category-card__content small {
  color: rgb(255 255 255 / 0.82);
  line-height: 1.55;
}

.category-card__content small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 56px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.ranking-row span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 900;
}

.ranking-row strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-row em {
  color: var(--neutral-600);
  font-size: 0.88rem;
  font-style: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-row b {
  color: var(--accent-600);
  text-align: right;
}

.ranking-row--wide {
  grid-template-columns: 52px minmax(160px, 0.9fr) minmax(180px, 1.2fr) 70px;
}

.page-hero {
  padding: 48px 0;
  color: #ffffff;
}

.page-hero--blue {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
}

.page-hero h1 {
  max-width: 860px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: rgb(255 255 255 / 0.84);
  font-size: 1.08rem;
}

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-hero__stats span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  color: rgb(255 255 255 / 0.88);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 0.78);
  font-weight: 650;
}

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

.breadcrumb > * + *::before {
  content: "/";
  margin-right: 8px;
  color: currentColor;
  opacity: 0.7;
}

.breadcrumb--light {
  color: rgb(255 255 255 / 0.78);
  margin-bottom: 20px;
}

.filter-panel,
.search-panel,
.detail-info-card,
.prose-block {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.filter-panel__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.filter-panel__title span,
.search-summary {
  color: var(--neutral-600);
  font-size: 0.92rem;
}

.filter-grid,
.search-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.search-form {
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  align-items: end;
}

.filter-grid label,
.search-form label {
  display: grid;
  gap: 7px;
  color: var(--neutral-700);
  font-size: 0.88rem;
  font-weight: 750;
}

.filter-grid input,
.search-form input,
.search-form select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  background: #ffffff;
  color: var(--neutral-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-grid input:focus,
.search-form input:focus,
.search-form select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgb(14 165 233 / 0.14);
}

.search-summary {
  margin: 18px 0;
}

.detail-hero {
  padding: 32px 0 42px;
  background: radial-gradient(circle at top left, rgb(245 158 11 / 0.22), transparent 36%), linear-gradient(135deg, var(--primary-900), var(--neutral-900));
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.86fr);
  gap: 28px;
  align-items: stretch;
}

.movie-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  box-shadow: var(--shadow-xl);
}

.movie-player video,
.player-cover,
.player-cover img,
.player-cover__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player video {
  object-fit: contain;
  z-index: 1;
}

.player-cover {
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.player-cover img {
  object-fit: cover;
}

.player-cover__shade {
  background: linear-gradient(to top, rgb(0 0 0 / 0.76), rgb(0 0 0 / 0.28));
}

.player-button {
  position: relative;
  z-index: 4;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-500);
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 20px 50px rgb(245 158 11 / 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-cover:hover .player-button {
  transform: scale(1.08);
  background: var(--accent-600);
}

.movie-player.is-playing .player-cover {
  display: none;
}

.detail-side {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.16);
}

.detail-poster {
  width: 132px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.detail-side__content {
  min-width: 0;
  align-self: center;
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-400);
  font-weight: 800;
}

.detail-side h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.14;
}

.detail-side p {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 0.82);
  line-height: 1.65;
}

.detail-content {
  padding-top: 42px;
}

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

.detail-meta-grid span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 14px;
  background: var(--neutral-50);
  color: var(--neutral-700);
}

.detail-meta-grid b {
  color: var(--neutral-900);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tag-list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.88rem;
  font-weight: 700;
}

.prose-block h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.prose-block p {
  margin: 0;
  color: var(--neutral-700);
  font-size: 1.02rem;
  line-height: 1.9;
}

.site-footer {
  margin-top: 64px;
  padding: 48px 0 28px;
  background: var(--neutral-900);
  color: var(--neutral-300);
}

.site-footer__inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 32px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  margin: 12px 0 0;
  color: var(--neutral-300);
  line-height: 1.75;
}

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

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

.footer-logo {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--neutral-800);
  color: var(--neutral-500);
  font-size: 0.92rem;
}

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

@media (max-width: 1120px) {
  .site-nav {
    gap: 12px;
    font-size: 0.92rem;
  }

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

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

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

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

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

  .hero {
    height: 560px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 74px;
  }

  .hero-dots {
    left: 18px;
    right: auto;
  }

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

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

  .filter-grid,
  .search-form,
  .detail-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-form .button {
    grid-column: 1 / -1;
  }

  .ranking-row,
  .ranking-row--wide {
    grid-template-columns: 42px minmax(0, 1fr) 52px;
  }

  .ranking-row em {
    grid-column: 2 / -1;
  }
}

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

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

  .hero {
    height: 520px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .page-stack {
    gap: 34px;
    padding-top: 34px;
  }

  .section-block--soft,
  .section-block--ranking,
  .filter-panel,
  .search-panel,
  .detail-info-card,
  .prose-block {
    padding: 18px;
    border-radius: 18px;
  }

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

  .movie-grid,
  .movie-grid--compact,
  .movie-grid--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid,
  .category-grid--large,
  .filter-grid,
  .search-form,
  .detail-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .detail-poster {
    width: 100px;
  }

  .player-button {
    width: 66px;
    height: 66px;
    font-size: 1.55rem;
  }

  .ranking-row,
  .ranking-row--wide {
    gap: 10px;
    padding: 12px;
  }

  .footer-bottom {
    display: grid;
  }
}
