:root {
  --bg: #fffbeb;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #111827;
  --muted: #6b7280;
  --line: #f3e7d3;
  --brand: #f97316;
  --brand-dark: #ea580c;
  --brand-soft: #ffedd5;
  --red: #ef4444;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
  font-size: 14px;
}

.brand-text {
  color: #111827;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}

.nav-link {
  padding: 10px 2px;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  color: #374151;
  font-weight: 700;
}

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--brand);
  background: #ffedd5;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 45%, rgba(249, 115, 22, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62) 48%, rgba(17, 24, 39, 0.30)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  color: #ffffff;
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 18px;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero-copy h2 + h2 {
  margin-top: -8px;
  font-size: clamp(28px, 4vw, 48px);
  color: #ffedd5;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: clamp(17px, 2vw, 22px);
  color: #fef3c7;
}

.hero-tags,
.tag-row,
.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.side-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.tag-row span,
.side-tags span {
  background: #fff7ed;
  color: #9a3412;
}

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

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

.primary-button,
.search-form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.32);
}

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

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

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

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

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

.search-band {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2,
.section-heading h2,
.page-hero h1,
.content-card h2,
.side-card h2,
.category-preview h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.search-band h2,
.section-heading h2,
.content-card h2,
.side-card h2,
.category-preview h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.search-band p,
.section-heading p,
.page-hero p,
.category-preview p {
  margin: 8px 0 0;
  color: var(--muted);
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-form input,
.filter-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.search-form input:focus,
.filter-panel input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

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

.soft-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.section-heading,
.category-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading a,
.category-preview-head a {
  color: var(--brand-dark);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111827;
}

.movie-card.compact .movie-poster {
  aspect-ratio: 3 / 4;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.68));
  transition: opacity 0.25s ease;
}

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

.poster-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 18px);
  opacity: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 800;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.movie-info {
  padding: 16px;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info h3 a:hover {
  color: var(--brand);
}

.movie-info p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 11px;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

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

.category-tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.82));
}

.category-tile-content {
  position: absolute;
  inset: auto 18px 18px;
}

.category-tile-content strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile-content small {
  color: #ffedd5;
  font-size: 13px;
}

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

.wide-block {
  padding-top: 64px;
}

.rank-panel {
  position: sticky;
  top: 92px;
  margin-top: 64px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.small-heading {
  align-items: start;
  margin-bottom: 16px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mini-card:hover {
  background: #fff7ed;
  transform: translateX(3px);
}

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

.mini-card strong,
.mini-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card strong {
  color: #111827;
  font-size: 14px;
}

.mini-card small {
  color: var(--muted);
  font-size: 12px;
}

.mini-rank {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
  font-size: 12px;
}

.page-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 15%, rgba(254, 215, 170, 0.28), transparent 30%),
    linear-gradient(135deg, #f97316, #ef4444);
  padding: 76px 0;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(36px, 6vw, 64px);
}

.page-hero p {
  max-width: 760px;
  color: #ffedd5;
  font-size: 18px;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.slim-filter {
  display: block;
}

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

.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #7c2d12;
  background: #fff7ed;
  font-weight: 800;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
  color: #ffffff;
  background: var(--brand);
}

.empty-state {
  display: none;
  margin: 28px 0;
  padding: 34px;
  border-radius: 22px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

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

.category-preview-wrap {
  padding-bottom: 64px;
}

.category-preview {
  margin-bottom: 34px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.top-rank-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 84px minmax(0, 1fr) 120px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.rank-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  font-weight: 900;
}

.rank-row img {
  width: 84px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

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

.rank-title small {
  color: var(--muted);
}

.rank-type {
  justify-self: end;
  color: var(--brand-dark);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #ffffff;
  background: #111827;
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-bg-mask {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68) 54%, rgba(17, 24, 39, 0.30)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.18));
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 700;
}

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

.detail-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-heading > img {
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.32);
}

.detail-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-heading p {
  max-width: 760px;
  margin: 0 0 20px;
  color: #ffedd5;
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 58px 0 72px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.player-card,
.content-card,
.side-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
  font-size: 18px;
  font-weight: 900;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.42);
  font-size: 28px;
}

.content-card,
.side-card {
  padding: 28px;
}

.content-card h2,
.side-card h2 {
  margin-bottom: 16px;
}

.content-card p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.side-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.side-card dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.side-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: #111827;
  font-weight: 800;
}

.side-card dd a {
  color: var(--brand-dark);
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 54px 0 38px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-grid p {
  margin: 0;
  color: #9ca3af;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

.footer-bottom p {
  margin: 0;
}

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

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

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

  .hero-poster,
  .rank-panel {
    display: none;
  }

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

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

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

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

  .brand {
    font-size: 20px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding: 54px 0 80px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 38px;
  }

  .search-band {
    grid-template-columns: 1fr;
    margin-top: -34px;
    padding: 20px;
  }

  .search-form {
    flex-direction: column;
  }

  .section-heading,
  .category-preview-head {
    align-items: start;
    flex-direction: column;
  }

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

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    font-size: 15px;
  }

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

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

  .detail-heading > img {
    width: 160px;
  }

  .detail-layout {
    padding: 34px 0 46px;
  }

  .rank-row {
    grid-template-columns: 44px 68px minmax(0, 1fr);
  }

  .rank-row img {
    width: 68px;
    height: 54px;
  }

  .rank-type {
    display: none;
  }

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

@media (max-width: 460px) {
  .movie-grid,
  .catalog-grid,
  .compact-grid,
  .related-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }
}
