* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #0f766e;
  --primary-bright: #06b6d4;
  --primary-deep: #155e75;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, #f8fafc 0%, #eef6f8 45%, #f8fafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 55%, #2563eb 100%);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.28);
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 20px;
  background: linear-gradient(135deg, #0f766e, #0284c7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  padding: 10px 16px;
  border-radius: 14px;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  transition: 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: #ecfeff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #0f172a;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.5), transparent 32%), linear-gradient(135deg, #0f766e 0%, #0891b2 46%, #1d4ed8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255,255,255,0.34) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-slides {
  position: relative;
  min-height: 640px;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

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

.hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
  opacity: 0.18;
  pointer-events: none;
}

.hero-overlay,
.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.7), rgba(15, 118, 110, 0.32));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 76px 0 112px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-kicker {
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #ecfeff;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

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

.btn,
.quick-search button,
.player-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
  box-shadow: 0 16px 34px rgba(6, 182, 212, 0.24);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.quick-search button:hover,
.player-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(6, 182, 212, 0.34);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.btn.small {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  transform: rotate(2deg);
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.45);
}

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

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.hero-dot {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
}

.hero-dot span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
  font-weight: 700;
}

.hero-dot.active {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
}

.quick-search-panel,
.content-section,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  align-items: center;
  gap: 28px;
  margin-top: -58px;
  position: relative;
  z-index: 5;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-panel h2,
.section-heading h2,
.page-hero h1 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.quick-search-panel p,
.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
}

.quick-search {
  display: flex;
  gap: 10px;
}

.quick-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

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

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

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

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  color: #ffffff;
  isolation: isolate;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.62));
}

.category-tile img {
  position: absolute;
  right: -28px;
  bottom: -38px;
  z-index: -2;
  width: 150px;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  transform: rotate(8deg);
  opacity: 0.7;
}

.category-tile strong {
  display: block;
  margin-top: 54px;
  font-size: 22px;
}

.category-tile p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.category-count {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.category-tile.cyan { background: linear-gradient(135deg, #0891b2, #2563eb); }
.category-tile.blue { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.category-tile.emerald { background: linear-gradient(135deg, #059669, #14b8a6); }
.category-tile.violet { background: linear-gradient(135deg, #7c3aed, #0891b2); }
.category-tile.pink { background: linear-gradient(135deg, #db2777, #f43f5e); }
.category-tile.amber { background: linear-gradient(135deg, #d97706, #f97316); }
.category-tile.indigo { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.category-tile.orange { background: linear-gradient(135deg, #ea580c, #e11d48); }
.category-tile.rose { background: linear-gradient(135deg, #e11d48, #7c3aed); }

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

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

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

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.poster-badge {
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
}

.poster-play {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.22s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #cbd5e1;
}

.movie-info h3,
.rank-content h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.rank-content h3 a:hover {
  color: var(--primary);
}

.movie-info p,
.rank-content p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.hot-aside {
  position: sticky;
  top: 96px;
}

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

.compact-list .rank-card {
  grid-template-columns: auto 82px minmax(0, 1fr);
}

.rank-card {
  display: grid;
  grid-template-columns: auto 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
  font-weight: 900;
}

.rank-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

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

.rank-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.heat-score {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: 54px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ecfeff, #ffffff 54%, #eff6ff);
  box-shadow: var(--shadow);
}

.compact-hero {
  text-align: center;
}

.compact-hero .section-kicker {
  margin: 0 auto;
}

.category-hero,
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 32px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #06b6d4 55%, #2563eb);
}

.category-hero .section-kicker,
.category-hero p,
.category-hero h1 {
  color: #ffffff;
}

.category-hero .section-kicker {
  background: rgba(255, 255, 255, 0.16);
}

.page-hero-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.filter-bar.wide {
  grid-template-columns: minmax(0, 1fr) 180px 220px;
}

.result-count {
  margin: -10px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

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

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-links a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  font-weight: 700;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.category-image {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
}

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

.category-card-large h2 {
  margin: 10px 0 8px;
  font-size: 26px;
}

.category-card-large p {
  color: var(--muted);
}

.sample-line {
  font-size: 14px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #0f766e, #0891b2 48%, #1d4ed8);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: #e0f2fe;
  font-size: 14px;
  font-weight: 700;
}

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

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

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.45);
}

.detail-copy h1 {
  margin: 18px 0;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #e0f2fe;
  font-size: 20px;
}

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

.detail-meta-grid span {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #ccfbf1;
  font-size: 12px;
}

.tag-row.large span {
  min-height: 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.player-section {
  margin-top: -38px;
  position: relative;
  z-index: 4;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.32);
  aspect-ratio: 16 / 9;
}

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

.player-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  min-height: 58px;
  padding: 14px 22px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.player-trigger:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.player-shell.playing .player-trigger {
  opacity: 0;
  pointer-events: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-block {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.detail-block h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.detail-block p {
  margin: 0;
  color: #334155;
}

.site-footer {
  margin-top: 82px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #94a3b8;
}

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

.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
}

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

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

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

  .two-column-section {
    grid-template-columns: 1fr;
  }

  .hot-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 10px 0 0;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-link {
    width: 100%;
  }

  .hero,
  .hero-slides {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: start;
  }

  .hero-content {
    padding: 46px 0 0;
  }

  .hero-poster {
    width: min(270px, 70vw);
    margin: 0 auto 118px;
  }

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

  .hero-dot:not(.active) {
    display: none;
  }

  .quick-search-panel,
  .quick-search,
  .category-hero,
  .detail-layout,
  .detail-content,
  .footer-inner,
  .filter-bar,
  .filter-bar.wide {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    width: min(300px, 80vw);
  }

  .rank-card,
  .compact-list .rank-card {
    grid-template-columns: auto 92px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .page-hero {
    padding: 34px 22px;
    border-radius: 24px;
  }

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

  .category-card-large {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .rank-card,
  .compact-list .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-num {
    position: absolute;
    margin: 12px;
  }

  .rank-card {
    position: relative;
  }

  .rank-cover {
    width: 116px;
  }

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