
:root {
  color-scheme: light;
  --page-bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --amber: #f59e0b;
  --orange: #ea580c;
  --deep: #431407;
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 32rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffbeb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 25px rgba(120, 53, 15, 0.08);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(90deg, #b45309, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > button {
  color: #374151;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown:hover > button {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 180px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(251, 146, 60, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 650;
}

.dropdown-panel a:hover {
  color: var(--orange);
  background: #fff7ed;
}

.header-search {
  position: relative;
  width: 260px;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 16px;
  border: 1px solid #fdba74;
  border-radius: 999px;
  outline: 0;
  background: #ffffff;
}

.header-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.2);
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 32px;
  height: 32px;
  border: 0;
  color: #ffffff;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  color: #ffffff;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  font-weight: 700;
}

.mobile-nav form {
  display: flex;
  gap: 10px;
}

.mobile-nav input {
  min-width: 0;
  flex: 1;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 10px 12px;
}

.mobile-nav button {
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

main {
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(135deg, #431407, #9a3412 50%, #f59e0b);
  box-shadow: 0 30px 70px rgba(67, 20, 7, 0.3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(36px, 7vw, 96px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease, transform 0.75s ease;
  transform: scale(1.02);
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(251, 191, 36, 0.3), transparent 30%), linear-gradient(90deg, rgba(67, 20, 7, 0.92), rgba(67, 20, 7, 0.6) 45%, rgba(67, 20, 7, 0.08));
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(67, 20, 7, 0.88), transparent);
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: #ffffff;
}

.hero-kicker,
.detail-kicker,
.sub-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  color: #fcd34d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 18px 0;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-content p {
  max-width: 650px;
  margin: 0 0 22px;
  color: #ffedd5;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 32px rgba(234, 88, 12, 0.32);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover {
  transform: translateY(-4px);
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: clamp(36px, 7vw, 96px);
  bottom: 34px;
  display: flex;
  gap: 10px;
}

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

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

.quick-search-section,
.content-section,
.split-section,
.filter-bar,
.search-page-panel,
.ranking-page,
.player-section,
.detail-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-section {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(251, 146, 60, 0.2);
}

.quick-search,
.search-large {
  display: flex;
  gap: 12px;
}

.quick-search input,
.search-large input,
.filter-bar input,
.filter-bar select,
.search-filters select {
  min-height: 48px;
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #ffffff;
  outline: 0;
  padding: 0 18px;
}

.quick-search input,
.search-large input,
.filter-bar input {
  flex: 1;
  min-width: 0;
}

.quick-search button,
.search-large button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  padding: 0 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.category-chips a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 14px;
  font-weight: 800;
}

.category-chips a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.content-section {
  padding: 72px 0 0;
}

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

.section-heading h2 {
  margin: 6px 0 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--orange);
  font-weight: 900;
}

.section-heading.compact h2 {
  font-size: 30px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 14px 36px rgba(120, 53, 15, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  box-shadow: 0 24px 52px rgba(120, 53, 15, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #7c2d12, #f97316 55%, #fcd34d);
}

.movie-card-small .movie-cover {
  height: 190px;
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(67, 20, 7, 0.72));
}

.movie-year {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 800;
}

.movie-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  opacity: 0;
  background: rgba(234, 88, 12, 0.92);
  transform: translate(-50%, -50%) scale(0.8);
  transition: 0.22s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-title {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card:hover .movie-title {
  color: var(--orange);
}

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

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #92400e;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
}

.tag-row span {
  color: #c2410c;
  background: #fff7ed;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding-top: 72px;
}

.ranking-panel,
.category-panel,
.search-page-panel,
.detail-meta-card {
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: var(--shadow);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 18px;
  background: #fff7ed;
}

.rank-item span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.rank-item strong,
.rank-item em {
  grid-column: 2;
  min-width: 0;
}

.rank-item strong {
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-item em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.category-card,
.overview-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(251, 146, 60, 0.2);
  transition: 0.22s ease;
}

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

.category-card span,
.overview-card span {
  color: #9a3412;
  font-size: 20px;
  font-weight: 900;
}

.category-card p,
.overview-card p {
  color: #7c2d12;
  line-height: 1.7;
}

.overview-card em {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.sub-hero,
.detail-head {
  width: min(1200px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 72% 18%, rgba(251, 191, 36, 0.28), transparent 24rem),
    linear-gradient(135deg, #431407, #9a3412 58%, #ea580c);
  box-shadow: 0 26px 62px rgba(67, 20, 7, 0.24);
}

.sub-hero h1 {
  margin: 10px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sub-hero p {
  max-width: 760px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(251, 146, 60, 0.2);
  box-shadow: var(--shadow);
}

.filter-bar select,
.search-filters select {
  min-width: 180px;
  cursor: pointer;
}

.more-links {
  padding-top: 36px;
}

.more-links h2 {
  margin: 0;
  font-size: 26px;
}

.ranking-page {
  display: grid;
  gap: 16px;
  padding-top: 44px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 108px 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.16);
  box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
}

.ranking-cover {
  width: 108px;
  height: 78px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c2d12, #f59e0b);
}

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

.ranking-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.ranking-body a {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.ranking-body p {
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0;
}

.ranking-body div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ranking-body span {
  color: #c2410c;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7ed;
  font-size: 12px;
  font-weight: 800;
}

.search-page-panel {
  margin-top: 28px;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.empty-result {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  color: #92400e;
  border-radius: 28px;
  background: #fff7ed;
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #ffedd5;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 34px;
  align-items: end;
}

.detail-poster {
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #7c2d12, #f59e0b);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

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

.detail-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 820px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.35);
}

.site-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.56));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 20px 44px rgba(234, 88, 12, 0.36);
  font-size: 34px;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 22px;
  padding-top: 34px;
}

.detail-content article,
.detail-meta-card {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 14px 38px rgba(120, 53, 15, 0.09);
}

.detail-content h2,
.detail-meta-card h2 {
  margin: 0 0 12px;
  color: #111827;
}

.detail-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 14px;
  margin: 0;
}

dt {
  color: #92400e;
  font-weight: 900;
}

dd {
  margin: 0;
  color: #4b5563;
}

.site-footer {
  margin-top: 86px;
  color: #ffedd5;
  background: linear-gradient(180deg, #7c2d12, #431407);
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

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

.site-footer p {
  max-width: 520px;
  color: #fed7aa;
  line-height: 1.8;
}

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

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

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(254, 215, 170, 0.2);
  color: #fed7aa;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .header-search,
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

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

  .detail-meta-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-carousel {
    min-height: 560px;
    border-radius: 28px;
  }

  .hero-slide {
    padding: 34px;
    align-items: end;
  }

  .quick-search,
  .search-large,
  .filter-bar {
    flex-direction: column;
  }

  .movie-grid,
  .small-grid,
  .overview-grid,
  .category-grid,
  .split-section,
  .detail-layout,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 100%);
  }

  .ranking-row {
    grid-template-columns: 82px 44px 1fr;
    gap: 12px;
  }

  .ranking-cover {
    width: 82px;
    height: 68px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 22px, 1200px);
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-carousel,
  .quick-search-section,
  .content-section,
  .split-section,
  .filter-bar,
  .sub-hero,
  .detail-head,
  .ranking-page,
  .player-section,
  .detail-content,
  .search-page-panel {
    width: min(100% - 22px, 1200px);
  }

  .hero-content h1,
  .detail-copy h1,
  .sub-hero h1 {
    font-size: 38px;
  }

  .movie-cover {
    height: 220px;
  }

  .ranking-row {
    grid-template-columns: 1fr;
  }

  .ranking-index {
    position: absolute;
    margin: 12px;
  }

  .ranking-cover {
    width: 100%;
    height: 180px;
  }
}
