@import url("https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap");

:root {
  --blackboard-dark: #0f1a0f;
  --blackboard: #1a2e1a;
  --blackboard-light: #2d4a2d;
  --chalk-white: #f5f5dc;
  --chalk-yellow: #fffacd;
  --chalk-blue: #add8e6;
  --chalk-green: #90ee90;
  --chalk-pink: #ffb6c1;
  --vintage-gold: #ffd700;
  --vintage-beige: #d4c5aa;
  --shadow-chalk: 0 2px 6px rgba(245, 245, 220, 0.28);
  --shadow-deep: 0 22px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 250, 205, 0.08), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(173, 216, 230, 0.07), transparent 34rem),
    linear-gradient(135deg, var(--blackboard-dark), var(--blackboard));
  color: var(--chalk-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mix-blend-mode: screen;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 26, 15, 0.94);
  border-bottom: 2px solid rgba(255, 250, 205, 0.28);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 250, 205, 0.7);
  border-radius: 50%;
  color: var(--blackboard-dark);
  background: var(--chalk-yellow);
  box-shadow: var(--shadow-chalk);
}

.brand-text {
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  font-weight: 700;
  color: var(--chalk-yellow);
  letter-spacing: 0.04em;
}

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

.desktop-nav a,
.mobile-nav a {
  color: rgba(245, 245, 220, 0.88);
  font-weight: 700;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--chalk-yellow);
  text-shadow: 0 0 10px rgba(255, 250, 205, 0.4);
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.toolbar input {
  width: 100%;
  border: 2px solid rgba(255, 250, 205, 0.24);
  border-radius: 999px;
  background: rgba(45, 74, 45, 0.86);
  color: var(--chalk-white);
  outline: none;
  padding: 10px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.toolbar input:focus {
  border-color: var(--chalk-yellow);
  box-shadow: 0 0 0 4px rgba(255, 250, 205, 0.10);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  background: var(--chalk-yellow);
  color: var(--blackboard-dark);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  border: 2px solid rgba(255, 250, 205, 0.4);
  border-radius: 12px;
  color: var(--chalk-yellow);
  background: rgba(45, 74, 45, 0.88);
  padding: 8px 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: var(--container);
  margin-inline: auto;
  padding: 0 0 18px;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
}

.hero-carousel {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 250, 205, 0.2);
}

.hero-board,
.hero-slide,
.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

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

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

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

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(15, 26, 15, 0.96), rgba(26, 46, 26, 0.76) 44%, rgba(15, 26, 15, 0.30)),
    linear-gradient(0deg, rgba(15, 26, 15, 0.86), rgba(15, 26, 15, 0.08) 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  min-height: clamp(560px, 72vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 780px;
  padding: 88px 0 116px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chalk-blue);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.95;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.5);
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(245, 245, 220, 0.9);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

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

.hero-tags {
  margin: 26px 0;
}

.hero-tags span,
.tag-row span,
.detail-meta a,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 205, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 205, 0.10);
  color: var(--chalk-yellow);
  padding: 5px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  color: var(--blackboard-dark);
  background: var(--chalk-yellow);
  box-shadow: var(--shadow-chalk);
}

.button-secondary {
  border: 2px solid rgba(255, 250, 205, 0.32);
  color: var(--chalk-yellow);
  background: rgba(45, 74, 45, 0.75);
}

.full-width {
  width: 100%;
}

.hero-control-panel {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 250, 205, 0.20);
  border-radius: 999px;
  background: rgba(15, 26, 15, 0.70);
  padding: 10px 14px;
  backdrop-filter: blur(12px);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--chalk-yellow);
  background: rgba(255, 250, 205, 0.12);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(245, 245, 220, 0.38);
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--chalk-yellow);
}

.stats-strip {
  border-block: 1px solid rgba(255, 250, 205, 0.16);
  background: rgba(15, 26, 15, 0.48);
}

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

.stats-grid div {
  border: 1px solid rgba(255, 250, 205, 0.16);
  border-radius: var(--radius-md);
  background: rgba(45, 74, 45, 0.52);
  padding: 20px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: 2.8rem;
  line-height: 1;
}

.stats-grid span {
  color: rgba(245, 245, 220, 0.76);
  font-weight: 800;
}

.content-section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-muted {
  background: rgba(15, 26, 15, 0.34);
  border-block: 1px solid rgba(255, 250, 205, 0.10);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 30px;
}

.section-heading h2,
.panel-heading h2,
.text-panel h2 {
  margin: 4px 0 0;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.section-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(245, 245, 220, 0.74);
}

.section-link {
  align-self: center;
  color: var(--chalk-blue);
  font-weight: 900;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(255, 250, 205, 0.18);
  border-radius: var(--radius-md);
  background: rgba(45, 74, 45, 0.70);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 250, 205, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), var(--shadow-chalk);
}

.poster-frame {
  position: relative;
  height: 318px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 205, 0.10), rgba(173, 216, 230, 0.08)),
    var(--blackboard-light);
}

.movie-card-compact .poster-frame {
  height: 210px;
}

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

.movie-card-link:hover .poster-frame img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1.08);
}

.poster-frame figcaption,
.rank-badge {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  color: var(--blackboard-dark);
  background: rgba(255, 250, 205, 0.92);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.poster-frame figcaption {
  left: 12px;
}

.rank-badge {
  right: 12px;
}

.movie-card-body {
  padding: 18px;
}

.movie-card-body h3 {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: var(--chalk-yellow);
  font-size: 1.15rem;
}

.movie-meta-line {
  margin: 6px 0 8px;
  color: rgba(245, 245, 220, 0.62);
  font-size: 0.9rem;
}

.movie-one-line {
  min-height: 3.2em;
  margin: 0 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(245, 245, 220, 0.82);
}

.tag-row span {
  color: var(--chalk-blue);
  border-color: rgba(173, 216, 230, 0.26);
  background: rgba(173, 216, 230, 0.08);
}

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

.rank-panel,
.text-panel,
.player-shell,
.index-card,
.toolbar,
.search-summary {
  border: 2px solid rgba(255, 250, 205, 0.18);
  border-radius: var(--radius-md);
  background: rgba(45, 74, 45, 0.72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.rank-panel {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.panel-heading span {
  color: var(--chalk-blue);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rank-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 40px 56px 1fr;
  gap: 12px;
  align-items: center;
}

.rank-number {
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: 1.7rem;
  font-weight: 900;
}

.rank-list img {
  width: 56px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--blackboard-light);
}

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

.rank-copy strong,
.rank-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  color: var(--chalk-white);
}

.rank-copy em {
  color: rgba(245, 245, 220, 0.58);
  font-style: normal;
  font-size: 0.86rem;
}

.category-chip-grid,
.index-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-chip-grid a,
.index-card {
  min-height: 96px;
  border: 2px solid rgba(255, 250, 205, 0.18);
  border-radius: var(--radius-md);
  background: rgba(45, 74, 45, 0.72);
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-chip-grid a:hover,
.index-card:hover {
  transform: translateY(-4px);
  border-color: var(--chalk-yellow);
}

.category-chip-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--chalk-yellow);
  font-weight: 900;
}

.category-chip-grid span,
.index-card em,
.index-card span {
  color: rgba(245, 245, 220, 0.64);
  font-style: normal;
  font-size: 0.9rem;
}

.index-card {
  display: grid;
  gap: 8px;
}

.index-card strong {
  color: var(--chalk-yellow);
  font-size: 1.22rem;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 250, 205, 0.14);
}

.small-page-hero {
  padding: clamp(68px, 12vw, 124px) 0;
  background:
    radial-gradient(circle at right, rgba(173, 216, 230, 0.12), transparent 35rem),
    linear-gradient(135deg, rgba(45, 74, 45, 0.80), rgba(15, 26, 15, 0.96));
}

.small-page-hero h1 {
  margin: 14px 0 12px;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.small-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(245, 245, 220, 0.78);
  font-size: 1.08rem;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 18px;
}

.toolbar label {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
}

.toolbar span,
.result-counter {
  color: rgba(245, 245, 220, 0.75);
  font-weight: 800;
}

.detail-hero {
  min-height: 560px;
}

.detail-backdrop,
.detail-scrim {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.44) saturate(1.04);
  transform: scale(1.08);
}

.detail-scrim {
  background:
    linear-gradient(90deg, rgba(15, 26, 15, 0.96), rgba(26, 46, 26, 0.78), rgba(15, 26, 15, 0.56)),
    linear-gradient(0deg, var(--blackboard-dark), transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  padding: 64px 0;
}

.detail-poster {
  margin: 0;
  border: 3px solid rgba(255, 250, 205, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--blackboard-light);
}

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

.detail-copy h1 {
  margin: 14px 0 14px;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.95;
}

.detail-one-line {
  max-width: 820px;
  color: rgba(245, 245, 220, 0.88);
  font-size: 1.18rem;
}

.detail-meta,
.detail-tags {
  margin: 22px 0;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  background: #050805;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: var(--chalk-yellow);
  background:
    radial-gradient(circle, rgba(255, 250, 205, 0.15), rgba(0, 0, 0, 0.58)),
    linear-gradient(135deg, rgba(26, 46, 26, 0.35), rgba(0, 0, 0, 0.68));
  cursor: pointer;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--chalk-yellow);
  color: var(--blackboard-dark);
  font-size: 2rem;
  box-shadow: var(--shadow-chalk);
}

.player-start strong {
  font-size: 1.2rem;
}

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

.player-status {
  padding: 12px 18px;
  color: rgba(245, 245, 220, 0.78);
  border-top: 1px solid rgba(255, 250, 205, 0.14);
  background: rgba(15, 26, 15, 0.92);
}

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

.text-panel {
  padding: clamp(22px, 4vw, 34px);
}

.text-panel p {
  color: rgba(245, 245, 220, 0.82);
  font-size: 1.02rem;
}

.wide-panel {
  grid-column: 1 / -1;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  border-bottom: 1px dashed rgba(255, 250, 205, 0.18);
  padding-bottom: 12px;
}

.info-list dt {
  color: var(--chalk-blue);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: rgba(245, 245, 220, 0.86);
}

.info-list a {
  color: var(--chalk-yellow);
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin-top: 28px;
}

.search-page-form input {
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.search-summary {
  margin-bottom: 24px;
  padding: 18px;
  color: rgba(245, 245, 220, 0.78);
}

.site-footer {
  border-top: 2px solid rgba(255, 250, 205, 0.18);
  background: rgba(15, 26, 15, 0.94);
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--chalk-yellow);
  font-family: "Patrick Hand", "Microsoft YaHei", cursive;
  font-size: 1.8rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(245, 245, 220, 0.66);
}

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

.site-footer a:hover {
  color: var(--chalk-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 250, 205, 0.12);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.9rem;
}

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

  .compact-grid,
  .category-chip-grid,
  .index-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .rank-panel {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero-copy {
    align-items: stretch;
    padding-top: 96px;
  }

  .stats-grid,
  .movie-grid,
  .compact-grid,
  .category-chip-grid,
  .index-card-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .toolbar,
  .search-page-form,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 22px, 1180px);
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .hero-carousel,
  .hero-copy {
    min-height: 620px;
  }

  .hero-control-panel {
    bottom: 18px;
  }

  .stats-grid,
  .movie-grid,
  .compact-grid,
  .category-chip-grid,
  .index-card-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-frame {
    height: 360px;
  }

  .movie-card-compact .poster-frame {
    height: 300px;
  }

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