
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --red-600: #dc2626;
  --amber-50: #fffbeb;
  --blue-50: #eff6ff;
  --emerald-50: #ecfdf5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--slate-100);
  color: var(--slate-900);
  min-width: 320px;
}

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-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.site-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--red-600));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.35);
}

.site-logo__text {
  font-size: 24px;
  background: linear-gradient(135deg, var(--orange-500), #ef4444);
  -webkit-background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a,
.mobile-panel a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active {
  color: var(--orange-500);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 270px;
}

.site-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  outline: none;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.92);
  color: var(--white);
  padding: 11px 15px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.site-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px;
  background: var(--slate-900);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hero-section {
  position: relative;
  min-height: 610px;
  background: var(--slate-950);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 610px;
}

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

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

.hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.34), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.70) 48%, rgba(15, 23, 42, 0.22)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.10) 48%);
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
  padding-top: 36px;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.12;
}

.hero-copy p:not(.hero-eyebrow) {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-tags span,
.detail-meta span,
.detail-tags span,
.poster-card__badge,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

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

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

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
  box-shadow: 0 16px 32px rgba(234, 88, 12, 0.28);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.button--dark {
  color: var(--slate-900);
  background: var(--white);
  border-color: rgba(15, 23, 42, 0.10);
}

.hero-rail {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 9px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.74);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero-dot:hover,
.hero-dot.is-active {
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.hero-dot img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
}

.hero-dot span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.section {
  padding: 68px 0;
}

.section--soft {
  background: linear-gradient(180deg, var(--blue-50), var(--white));
}

.section--white {
  background: var(--white);
}

.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(249, 115, 22, 0.28), transparent 28%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.section--rank {
  background: linear-gradient(135deg, var(--amber-50), var(--white));
}

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

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

.section-heading p {
  margin: 0;
  color: var(--slate-600);
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.72);
}

.section-link {
  color: var(--orange-700);
  font-weight: 800;
}

.section-link--light {
  color: var(--orange-500);
}

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

.poster-card,
.wide-card,
.ranking-item a,
.category-overview-card a {
  display: block;
  height: 100%;
}

.poster-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--slate-800);
  box-shadow: var(--shadow-soft);
}

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

.poster-card:hover img,
.wide-card:hover img,
.ranking-item:hover img {
  transform: scale(1.08);
}

.poster-card__shade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.55;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.05));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-card:hover .poster-card__shade {
  opacity: 1;
}

.poster-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--white);
  background: var(--orange-600);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}

.poster-card__body {
  display: block;
  padding: 13px 2px 0;
}

.poster-card__body strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  transition: color 0.2s ease;
}

.poster-card__body small {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--slate-500);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.poster-card:hover strong,
.wide-card:hover h3,
.ranking-item:hover strong {
  color: var(--orange-600);
}

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

.category-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.95)),
    radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.28), transparent 35%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.category-tile strong {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
}

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

.wide-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--slate-900);
  box-shadow: var(--shadow-soft);
}

.wide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wide-card__body {
  padding: 20px;
}

.wide-card__body h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.wide-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--slate-600);
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.badge--warm {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
}

.meta-row {
  margin-bottom: 0;
  color: var(--slate-500);
  font-size: 13px;
}

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

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

.ranking-item a {
  display: grid;
  grid-template-columns: auto 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ranking-item__number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
  font-weight: 900;
}

.ranking-item img {
  width: 82px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.ranking-item__content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ranking-item__content strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
}

.ranking-item__content em {
  overflow: hidden;
  color: var(--slate-500);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-item__content span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.26), transparent 30%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero--compact,
.page-hero--category {
  padding: 78px 0;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.page-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.category-overview-card a {
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-overview-card__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  min-height: 150px;
  background: var(--slate-800);
}

.category-overview-card__images img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-overview-card__body {
  display: block;
  padding: 22px;
}

.category-overview-card__body strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--slate-900);
}

.category-overview-card__body em {
  display: block;
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-panel--rank {
  grid-template-columns: 2fr 1fr;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  background: var(--slate-100);
  color: var(--slate-900);
}

.empty-state {
  padding: 42px;
  border-radius: 24px;
  text-align: center;
  color: var(--slate-500);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-stage {
  padding: 28px 0 42px;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.25), transparent 30%),
    linear-gradient(180deg, var(--slate-950), var(--slate-900));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--orange-500);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.55);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.player-cover__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.30), transparent 22%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.22));
}

.player-cover__button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
  box-shadow: 0 24px 48px rgba(234, 88, 12, 0.34);
  font-size: 32px;
  text-indent: 5px;
}

.player-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.68);
}

.player-loading[hidden] {
  display: none;
}

.player-loading span {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--orange-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.detail-section {
  padding-top: 56px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.detail-main,
.detail-aside,
.aside-card {
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-main {
  padding: 34px;
}

.detail-main h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.detail-meta span {
  color: var(--slate-700);
  background: var(--slate-100);
}

.detail-lead {
  margin: 18px 0 28px;
  padding: 18px 22px;
  border-left: 5px solid var(--orange-600);
  border-radius: 16px;
  background: #fff7ed;
  color: var(--slate-800);
  font-weight: 700;
  line-height: 1.8;
}

.detail-main h2 {
  margin: 30px 0 12px;
  font-size: 24px;
}

.detail-main p {
  color: var(--slate-700);
  font-size: 17px;
  line-height: 2;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-tags span {
  color: var(--orange-700);
  background: #ffedd5;
}

.detail-aside {
  overflow: hidden;
  position: sticky;
  top: 96px;
}

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

.aside-card {
  padding: 22px;
  box-shadow: none;
}

.aside-card strong,
.aside-card span {
  display: block;
}

.aside-card strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.aside-card span {
  margin-bottom: 18px;
  color: var(--slate-600);
}

.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 28px;
}

.search-page-form input {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.search-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--slate-700);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-weight: 800;
}

.chip:hover {
  color: var(--white);
  background: var(--orange-600);
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--slate-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding: 54px 0 34px;
}

.footer-logo {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 22px;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

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

.footer-links a:hover {
  color: var(--orange-500);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 14px;
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .ranking-list,
  .ranking-list--home {
    grid-template-columns: 1fr;
  }

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

  .hero-dot:nth-child(n+4) {
    display: none;
  }

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

  .detail-aside {
    position: static;
    max-width: 360px;
  }
}

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

  .site-header__inner {
    min-height: 66px;
  }

  .site-logo__text {
    font-size: 20px;
  }

  .hero-section,
  .hero-slider {
    min-height: 660px;
    height: 660px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-copy p:not(.hero-eyebrow) {
    font-size: 16px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-dot:nth-child(n+2) {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 14px;
  }

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

  .category-grid,
  .wide-grid,
  .category-overview-grid,
  .filter-panel,
  .filter-panel--rank,
  .footer-grid,
  .search-page-form {
    grid-template-columns: 1fr;
  }

  .ranking-item a {
    grid-template-columns: auto 70px minmax(0, 1fr);
    padding: 12px;
  }

  .ranking-item img {
    width: 70px;
  }

  .detail-main {
    padding: 24px;
  }

  .player-cover__button {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }
}
