
:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --rose: #f43f5e;
  --purple: #9333ea;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow-sm: 0 10px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 25px 70px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 45%, #ecfeff 100%);
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

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

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

.brand-text,
.footer-brand span:last-child {
  font-size: 22px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 15px;
  color: var(--slate-700);
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 55%, #14b8a6 100%);
}

.hero-section {
  min-height: 640px;
}

.hero-section::before,
.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.22);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 24px 24px, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px), radial-gradient(circle at 48px 48px, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px);
  background-size: 72px 72px;
  z-index: 0;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 640px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.6fr);
  align-items: center;
  gap: 56px;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-shadow: 0 18px 60px rgba(2, 6, 23, 0.24);
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  color: white;
  font-weight: 800;
}

.hero-tags,
.tag-cloud,
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-cloud span,
.meta-pills span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span,
.meta-pills span {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-cloud span,
.chip {
  color: var(--slate-700);
  background: var(--slate-100);
}

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

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-light {
  color: var(--blue);
  background: white;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 470px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  isolation: isolate;
}

.hero-poster::before,
.wide-card::before,
.category-card::before,
.detail-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.82));
  z-index: 1;
}

.hero-poster img,
.category-card img,
.wide-card img,
.poster-img img,
.detail-poster img,
.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.hero-poster span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.hero-poster strong,
.hero-poster em {
  display: block;
}

.hero-poster strong {
  font-size: 24px;
  font-weight: 900;
}

.hero-poster em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 42px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

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

.hero-dot.active {
  width: 34px;
  background: white;
}

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

.white-section {
  background: white;
}

.tint-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.rose-section {
  background: linear-gradient(135deg, #faf5ff, #fff1f2);
}

.section-title {
  margin-bottom: 32px;
}

.section-title.center {
  text-align: center;
}

.section-title h2,
.search-panel h2,
.text-card h2,
.side-card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--slate-900);
}

.section-title p,
.search-panel p,
.text-card p,
.side-card,
.category-detail-card p {
  color: var(--slate-600);
  line-height: 1.8;
}

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

.wide-card {
  position: relative;
  display: grid;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.wide-card:hover,
.poster-card:hover,
.category-card:hover,
.category-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.wide-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

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

.wide-card > div {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 26px;
  color: white;
}

.wide-card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.wide-card p,
.wide-card .meta-row,
.poster-overlay small,
.poster-overlay em {
  color: rgba(255, 255, 255, 0.82);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.search-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.large-search {
  display: block;
}

.search-panel input,
.filter-row select {
  width: min(440px, 100%);
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  color: var(--slate-900);
  background: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.large-search input {
  width: 100%;
}

.search-panel input:focus,
.filter-row select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.filter-row {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 12px;
}

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

.poster-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dbeafe;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-img {
  display: block;
  height: 100%;
  aspect-ratio: 2 / 3;
}

.poster-img img {
  transition: transform 0.5s ease;
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.92));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.poster-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 18px;
  color: white;
  transform: translateY(44%);
  transition: transform 0.28s ease;
}

.poster-card:hover .poster-overlay {
  transform: translateY(0);
}

.poster-overlay strong {
  font-size: 16px;
  line-height: 1.3;
}

.poster-overlay em,
.poster-overlay small {
  font-style: normal;
  line-height: 1.5;
}

.poster-overlay small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: 58px 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 20px;
  font-weight: 900;
}

.rank-card img {
  width: 76px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  background: #dbeafe;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  margin-bottom: 8px;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  color: var(--slate-500);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.center-action {
  margin-top: 34px;
  text-align: center;
}

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.category-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
}

.category-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: white;
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-card em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.6;
}

.page-hero.slim-hero {
  padding: 84px 0 74px;
}

.page-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.category-detail-grid {
  display: grid;
  gap: 24px;
}

.category-detail-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 26px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-cover {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
}

.category-cover img {
  transition: transform 0.6s ease;
}

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

.category-detail-card h2 {
  margin: 14px 0 8px;
  font-size: 30px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.mini-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.detail-hero {
  min-height: 620px;
  padding: 78px 0;
  background: var(--slate-950);
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(24px) saturate(1.08);
  transform: scale(1.08);
}

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

.detail-hero-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.detail-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}

.detail-poster img {
  aspect-ratio: 2 / 3;
  transition: transform 0.5s ease;
}

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

.breadcrumb a:hover {
  color: white;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.player-section {
  background: #020617;
  padding: 64px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-round {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  color: var(--blue);
  background: white;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
  font-size: 34px;
}

.player-overlay span:last-child {
  font-size: 20px;
  font-weight: 900;
}

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

.text-card,
.side-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
}

.text-card p {
  margin: 0 0 18px;
  font-size: 16px;
}

.lead-text {
  color: var(--slate-800) !important;
  font-size: 18px !important;
  font-weight: 800;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.side-card dt {
  color: var(--slate-500);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--slate-800);
  line-height: 1.6;
}

.side-card a {
  color: var(--blue);
  font-weight: 800;
}

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

.site-footer {
  color: white;
  background: linear-gradient(135deg, #020617, #1e293b 55%, #020617);
}

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

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1100px) {
  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 840px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-section,
  .hero-stage {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px 0 96px;
  }

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

  .hero-dots {
    bottom: 34px;
  }

  .search-panel,
  .filter-row {
    display: grid;
    justify-content: stretch;
  }

  .search-panel input,
  .filter-row select {
    width: 100%;
  }

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

  .wide-grid,
  .rank-grid,
  .rank-list,
  .category-grid,
  .text-grid,
  .footer-grid,
  .detail-layout,
  .detail-hero-grid,
  .category-detail-card {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-wrap,
  .hero-stage,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 19px;
  }

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

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

  .poster-card {
    min-height: 250px;
  }

  .poster-overlay {
    transform: translateY(0);
    padding: 14px;
  }

  .poster-card::after {
    opacity: 1;
  }

  .rank-card {
    grid-template-columns: 46px 64px minmax(0, 1fr);
  }

  .rank-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .rank-card img {
    width: 64px;
    height: 84px;
  }

  .text-card,
  .side-card,
  .search-panel {
    padding: 20px;
  }

  .player-shell {
    border-radius: 18px;
  }
}
