:root {
  --rose: #fb7185;
  --rose-strong: #e11d48;
  --orange: #fb923c;
  --amber: #f59e0b;
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #22c55e;
  --slate: #334155;
  --ink: #111827;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, 0.1);
  --paper: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  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(--ink);
  background:
    radial-gradient(circle at top left, rgba(251, 113, 133, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.16), transparent 32rem),
    linear-gradient(135deg, #fff7ed 0%, #fff1f2 48%, #fdf2f8 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--rose-strong), var(--orange));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
}

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

.nav-link,
.mobile-link {
  padding: 10px 16px;
  color: #374151;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--rose-strong);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose), var(--orange), var(--amber));
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.52) 44%, rgba(15, 23, 42, 0.14)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.75), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  max-width: 760px;
}

.hero-kicker,
.panel-kicker,
.section-heading span,
.page-hero span,
.detail-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 690px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tag {
  display: inline-flex;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button,
.secondary-button,
.ghost-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;
}

.primary-button {
  color: var(--rose-strong);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.secondary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  box-shadow: 0 16px 34px rgba(225, 29, 72, 0.22);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 2.3rem;
  line-height: 1;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.search-panel,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.panel-kicker {
  color: var(--rose-strong);
  background: #fff1f2;
  border-color: #ffe4e6;
  backdrop-filter: none;
}

.search-box,
.select-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.search-box input,
.select-box select {
  width: min(360px, 72vw);
  height: 48px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  outline: none;
}

.search-box input:focus,
.select-box select:focus {
  border-color: rgba(225, 29, 72, 0.5);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.inline-search input {
  width: min(420px, 70vw);
}

.wide-search input {
  width: min(620px, 72vw);
}

.content-section,
.page-main {
  padding-top: 56px;
}

.section-heading {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.section-heading span {
  color: var(--rose-strong);
  background: #fff1f2;
  border-color: #ffe4e6;
  backdrop-filter: none;
}

.section-heading h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

.movie-card.is-hidden,
.horizontal-card.is-hidden {
  display: none;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 58%);
  opacity: 0.88;
}

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.poster-badge {
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  font-size: 0.76rem;
}

.poster-play {
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  font-size: 0.82rem;
  background: rgba(225, 29, 72, 0.88);
}

.card-body {
  padding: 15px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.card-title:hover,
.horizontal-title:hover {
  color: var(--rose-strong);
}

.card-meta,
.card-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card .card-desc {
  display: none;
}

.compact-card .card-body {
  padding: 12px;
}

.compact-card .card-title {
  font-size: 0.92rem;
}

.ranking-band {
  margin: 64px 0 0;
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(59, 130, 246, 0.12));
}

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

.ranking-page-list {
  padding-bottom: 48px;
}

.horizontal-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 142px;
  padding: 14px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
}

.rank-number {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-strong), var(--orange));
  font-weight: 900;
  box-shadow: 0 12px 20px rgba(225, 29, 72, 0.25);
}

.horizontal-poster {
  width: 92px;
  height: 116px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

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

.horizontal-body {
  min-width: 0;
}

.horizontal-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-weight: 850;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.horizontal-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.horizontal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.category-tile,
.category-overview-card {
  min-height: 190px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-tile:before,
.category-overview-card:before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile span,
.category-card-head span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 900;
}

.category-tile h3,
.category-card-head h2 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 650;
}

.category-samples,
.category-preview-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.86rem;
}

.category-samples a,
.category-preview-links a {
  color: rgba(255, 255, 255, 0.88);
}

.accent-rose {
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.accent-pink {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.accent-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.accent-orange {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
}

.accent-amber,
.accent-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.accent-violet {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.accent-green {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.accent-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.accent-slate {
  background: linear-gradient(135deg, #334155, #111827);
}

.page-main {
  min-height: 62vh;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumb a:hover {
  color: var(--rose-strong);
}

.page-hero {
  margin-bottom: 30px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.page-hero span {
  color: var(--rose-strong);
  background: #fff1f2;
  border-color: #ffe4e6;
  backdrop-filter: none;
}

.page-hero h1 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.category-hero,
.ranking-hero,
.search-hero {
  color: #ffffff;
}

.category-hero h1,
.category-hero p,
.ranking-hero h1,
.ranking-hero p,
.search-hero h1,
.search-hero p {
  color: #ffffff;
}

.category-hero span,
.ranking-hero span,
.search-hero span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
}

.ranking-hero {
  background: linear-gradient(135deg, #111827, #fb7185, #fb923c);
}

.search-hero {
  background: linear-gradient(135deg, #0f172a, #06b6d4, #3b82f6);
}

.soft-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 242, 0.82));
}

.toolbar {
  margin-top: 0;
  margin-bottom: 28px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.sticky-toolbar {
  position: sticky;
  top: 84px;
  z-index: 20;
}

.player-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 26px;
  align-items: stretch;
}

.player-box {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius-xl);
  background: #000000;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.24);
}

.video-player {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.42));
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 16px 34px rgba(225, 29, 72, 0.28);
  font-size: 1.7rem;
}

.player-overlay strong {
  max-width: min(640px, 82%);
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.player-side,
.detail-main-card,
.detail-side-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.player-side h1 {
  margin: 16px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.player-side p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-kicker {
  color: var(--rose-strong);
  background: #fff1f2;
  border-color: #ffe4e6;
  backdrop-filter: none;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 7px 11px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 0;
}

.detail-tag {
  color: var(--rose-strong);
  background: #fff1f2;
  border-color: #ffe4e6;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  margin-top: 26px;
}

.detail-main-card h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.detail-main-card h2:not(:first-child) {
  margin-top: 26px;
}

.detail-main-card p {
  margin: 0;
  color: #374151;
  line-height: 1.95;
  font-size: 1rem;
}

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

.side-recommend-list .horizontal-card {
  min-height: 112px;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.side-recommend-list .horizontal-poster {
  width: 78px;
  height: 96px;
}

.side-recommend-list .horizontal-body p {
  display: none;
}

.related-section {
  padding-bottom: 36px;
}

.site-footer {
  margin-top: 68px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fb7185;
  font-size: 1rem;
}

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

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.88rem;
}

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

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

  .player-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-side-card {
    order: 2;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero {
    min-height: 620px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 84px;
  }

  .hero-arrow {
    display: none;
  }

  .search-panel,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box input,
  .select-box select,
  .inline-search input,
  .wide-search input {
    width: 100%;
  }

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

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

@media (max-width: 620px) {
  .nav-shell {
    height: 64px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text em {
    display: none;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

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

  .page-hero,
  .player-side,
  .detail-main-card,
  .detail-side-card {
    padding: 20px;
    border-radius: 22px;
  }

  .player-box,
  .video-player {
    min-height: 240px;
  }

  .horizontal-card {
    align-items: flex-start;
  }

  .horizontal-poster {
    width: 78px;
    height: 104px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
}
