/* mother-diversity · site-7 · midnight-gold 深夜影厅 */
:root {
  --mg-gold: #f59e0b;
  --mg-gold-light: #fbbf24;
  --mg-cta: #ea580c;
  --mg-blue: #3b82f6;
  --mg-bg: #0a0a0f;
  --mg-surface: #12121a;
  --mg-surface-2: #1a1a24;
  --mg-text: #f5f5f4;
  --mg-muted: #a1a1aa;
  --mg-line: rgba(245, 158, 11, 0.22);
  --mg-glow-gold: rgba(245, 158, 11, 0.28);
  --mg-glow-blue: rgba(59, 130, 246, 0.2);
  color-scheme: dark;
}

/* ── Base ── */
.mg-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(800px 360px at 8% -6%, var(--mg-glow-gold), transparent 55%),
    radial-gradient(600px 280px at 92% 2%, var(--mg-glow-blue), transparent 50%),
    var(--mg-bg);
  color: var(--mg-text);
  font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

.mg-body a { text-decoration: none; color: var(--mg-gold); transition: color 0.2s ease; }
.mg-body a:hover { color: var(--mg-gold-light); }
.mg-body img { display: block; max-width: 100%; height: auto; }
.mg-body img.image-off { opacity: 0; }

/* ── Header: 单行顶栏 + 药丸导航 ── */
.mg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mg-line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.mg-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
}

.mg-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--mg-text) !important;
}

.mg-header__logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mg-gold), var(--mg-cta));
  color: #0a0a0f;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 16px var(--mg-glow-gold);
}

.mg-header__name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mg-header__search {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 420px;
  margin-left: auto;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  overflow: hidden;
}

.mg-header__search-ico {
  width: 16px;
  height: 16px;
  margin-left: 14px;
  flex-shrink: 0;
  color: var(--mg-muted);
}

.mg-header__search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 9px 12px;
  font-size: 14px;
  background: transparent;
  color: var(--mg-text);
  min-width: 0;
}

.mg-header__search .mg-btn--cta {
  border-radius: 0 999px 999px 0;
  padding: 9px 18px;
  font-size: 13px;
}

.mg-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--mg-line);
  border-radius: 8px;
  background: var(--mg-surface);
  cursor: pointer;
  flex-shrink: 0;
}

.mg-header__burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--mg-gold);
  border-radius: 1px;
}

.mg-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.mg-header__nav a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mg-muted) !important;
  background: var(--mg-surface);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mg-header__nav a:hover,
.mg-header__nav a[aria-current="page"] {
  color: #0a0a0f !important;
  background: var(--mg-gold);
  border-color: var(--mg-gold-light);
}

.mg-header__nav.open { display: flex; }

.mg-header__quick {
  display: flex;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 12px;
}

.mg-header__quick a {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mg-blue) !important;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
}

.mg-header__quick a:hover {
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd !important;
}

/* ── Buttons ── */
.mg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mg-btn--cta {
  background: linear-gradient(135deg, var(--mg-cta), var(--mg-gold));
  color: #0a0a0f !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}

.mg-btn--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  color: #0a0a0f !important;
}

/* ── Main ── */
.mg-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

/* ── Hero carousel: 单海报焦点 ── */
.mg-hero {
  position: relative;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
  min-height: 380px;
}

.mg-hero__stage {
  position: relative;
  min-height: 380px;
}

.mg-hero .hero-slide {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  min-height: 380px;
}

.mg-hero .hero-slide.active { display: grid; }

.mg-hero .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  background: linear-gradient(135deg, var(--mg-surface) 0%, rgba(245, 158, 11, 0.08) 100%);
}

.mg-hero .hero-copy .eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mg-hero .hero-copy .eyebrow span {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.15);
  color: var(--mg-blue);
}

.mg-hero .hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 950;
  line-height: 1.15;
  color: var(--mg-text);
}

.mg-hero .hero-copy p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mg-hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.mg-hero .hero-tags span,
.mg-hero .hero-tags a {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.12);
  color: var(--mg-gold);
}

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

.mg-hero .primary-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  background: linear-gradient(135deg, var(--mg-cta), var(--mg-gold));
  color: #0a0a0f !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.mg-hero .ghost-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--mg-text) !important;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: transparent;
}

.mg-hero .ghost-btn:hover { border-color: var(--mg-gold); color: var(--mg-gold) !important; }

.mg-hero .hero-visual {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit !important;
}

.mg-hero .hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
}

.mg-hero .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--mg-surface) 0%, transparent 35%);
  pointer-events: none;
}

.mg-hero .hero-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(10, 10, 15, 0.85);
  border-left: 3px solid var(--mg-gold);
}

.mg-hero .hero-caption strong {
  display: block;
  font-size: 14px;
  color: var(--mg-text);
}

.mg-hero .hero-caption em {
  font-style: normal;
  font-size: 11px;
  color: var(--mg-muted);
}

.mg-hero__controls {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.mg-hero__arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--mg-line);
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.8);
  color: var(--mg-gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mg-hero__dots {
  display: flex;
  gap: 6px;
}

.mg-hero__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.3);
  cursor: pointer;
  padding: 0;
}

.mg-hero__dots button.active { background: var(--mg-gold); }

/* ── Category dock ── */
.mg-dock { margin-bottom: 32px; }

.mg-dock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mg-dock__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mg-dock__icon { color: var(--mg-blue); font-size: 16px; }

.mg-dock__all {
  font-size: 13px;
  font-weight: 700;
  color: var(--mg-gold) !important;
}

.mg-dock__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.mg-dock__tiles .category-tile,
.mg-dock__tiles .overview-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 8px;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
  color: var(--mg-text) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mg-dock__tiles .category-tile:hover,
.mg-dock__tiles .overview-card:hover {
  border-color: var(--mg-gold);
  background: rgba(245, 158, 11, 0.06);
}

.mg-dock__tiles .category-tile strong,
.mg-dock__tiles .overview-main strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--mg-gold);
}

.mg-dock__tiles .category-tile span,
.mg-dock__tiles .overview-main span {
  font-size: 11px;
  color: var(--mg-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mg-dock__tiles .overview-links {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--mg-blue);
}

/* ── Content blocks ── */
.mg-block { margin-bottom: 32px; }

.mg-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mg-line);
}

.mg-block__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mg-block__gold {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--mg-gold), var(--mg-cta));
  border-radius: 2px;
}

.mg-block__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--mg-gold) !important;
}

/* HOME_SECTIONS from build */
.section-block {
  margin-bottom: 32px;
}

.section-block .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mg-line);
}

.section-block .section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--mg-text);
}

.section-block .section-head .section-icon { color: var(--mg-gold); margin-right: 6px; }

.section-block .section-head a {
  font-size: 13px;
  font-weight: 700;
  color: var(--mg-gold) !important;
}

.section-block .movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}

/* ── Poster grid ── */
.mg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}

.mg-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.mg-grid--cat {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* ── Poster cards: 左金边 · 播放图标 · 左上徽章 ── */
.mg-poster {
  background: var(--mg-surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--mg-gold);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mg-poster:hover {
  border-left-color: var(--mg-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.15);
}

.mg-poster__link { display: block; color: inherit !important; }

.mg-poster__frame {
  position: relative;
  margin: 0;
}

.mg-poster__frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #111;
}

.mg-poster__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--mg-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.45);
}

.mg-poster__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--mg-gold);
  background: rgba(10, 10, 15, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mg-poster:hover .mg-poster__play { opacity: 1; }

.mg-poster__body { padding: 10px 10px 12px; }

.mg-poster__type {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 7px;
  border-radius: 3px;
  background: rgba(234, 88, 12, 0.18);
  color: var(--mg-cta);
  font-size: 10px;
  font-weight: 800;
}

.mg-poster__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--mg-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mg-poster__meta {
  margin: 0;
  font-size: 11px;
  color: var(--mg-muted);
  display: flex;
  gap: 6px;
}

.mg-poster__meta span:first-child { color: var(--mg-gold); }

.mg-poster--mini .mg-poster__title {
  padding: 8px 10px 10px;
  font-size: 12px;
  -webkit-line-clamp: 1;
}

.mg-poster--mini { border-left-width: 2px; }

/* ── Category page: 侧栏筛选 + 主网格 ── */
.mg-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mg-gold);
}

.mg-cat__banner {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mg-line);
}

.mg-cat__banner h1 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 950;
}

.mg-cat__banner p {
  margin: 0;
  color: var(--mg-muted);
  max-width: 640px;
}

.mg-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--mg-muted);
}

.mg-crumb a { color: var(--mg-gold) !important; }

.mg-cat__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.mg-cat__side {
  position: sticky;
  top: 120px;
  padding: 16px;
  border-radius: 8px;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
}

.mg-cat__side-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 900;
  color: var(--mg-gold);
}

.mg-cat__field {
  margin-bottom: 12px;
}

.mg-cat__field label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mg-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mg-cat__field input,
.mg-cat__field select,
.mg-cat__toolbar input,
.mg-cat__toolbar select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--mg-surface-2);
  color: var(--mg-text);
  font-size: 13px;
}

.mg-cat__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
}

.mg-cat__field--inline {
  flex: 1;
  min-width: 140px;
  margin-bottom: 0;
}

.mg-cat__field--inline label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mg-blue);
}

.mg-empty {
  margin-top: 24px;
  padding: 24px;
  text-align: center;
  color: var(--mg-muted);
  background: var(--mg-surface);
  border-radius: 8px;
  border: 1px dashed var(--mg-line);
}

/* ── Theater play page ── */
.mg-theater { margin-bottom: 32px; }

.mg-theater__screen {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--mg-gold);
  box-shadow: 0 0 48px var(--mg-glow-gold), 0 0 80px var(--mg-glow-blue);
  background: #000;
}

.mg-theater__screen video,
#movie-player {
  width: 100%;
  max-height: 72vh;
  display: block;
  background: #000;
}

.mg-theater__error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  color: var(--mg-gold);
  font-weight: 700;
  z-index: 3;
}
.mg-theater__error[hidden] {
  display: none !important;
}

.mg-theater__panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--mg-surface);
  border: 1px solid var(--mg-line);
  border-radius: 8px;
}

.mg-theater__cover img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 2px solid var(--mg-gold);
}

.mg-theater__info h1 {
  margin: 8px 0 12px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
}

.mg-theater__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.mg-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mg-muted);
}

.mg-tag--hot {
  background: rgba(245, 158, 11, 0.18) !important;
  color: var(--mg-gold) !important;
}

.mg-tag--blue {
  background: rgba(59, 130, 246, 0.18) !important;
  color: var(--mg-blue) !important;
}

.mg-theater__brief {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mg-theater__synopsis {
  padding: 20px 22px;
  background: var(--mg-surface);
  border-radius: 8px;
  border-left: 4px solid var(--mg-blue);
}

.mg-theater__synopsis h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  color: var(--mg-gold);
}

.mg-theater__synopsis p {
  margin: 0;
  line-height: 1.75;
  color: var(--mg-muted);
}

/* ── Related rail ── */
.mg-rail { margin-top: 8px; }

.mg-rail__head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mg-line);
}

.mg-rail__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mg-rail__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mg-blue);
  box-shadow: 0 0 8px var(--mg-blue);
}

.mg-rail__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.mg-rail__track::-webkit-scrollbar { height: 5px; }
.mg-rail__track::-webkit-scrollbar-thumb { background: var(--mg-gold); border-radius: 3px; }

.mg-rail__track .mg-poster {
  flex: 0 0 130px;
  scroll-snap-align: start;
}

.mg-rail__track .mg-poster--mini { flex: 0 0 110px; }

/* ── Footer: 双列信息 + 金条 ── */
.mg-footer {
  margin-top: 48px;
  background: #06060a;
  border-top: 1px solid var(--mg-line);
}

.mg-footer__stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--mg-gold), var(--mg-cta), var(--mg-blue));
}

.mg-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.mg-footer__brand a {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--mg-gold) !important;
}

.mg-footer__brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mg-muted);
}

.mg-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mg-footer__col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  color: var(--mg-gold);
}

.mg-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mg-footer__col a {
  font-size: 13px;
  color: var(--mg-muted) !important;
}

.mg-footer__col a:hover { color: var(--mg-gold) !important; }

.mg-footer__col--wide p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mg-muted);
}

.mg-footer__copy {
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--mg-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .mg-header__search { display: none; }

  .mg-header__burger { display: flex; }

  .mg-header__nav {
    display: none;
    flex-direction: column;
    padding: 8px 16px 12px;
    border-top: 1px solid var(--mg-line);
  }

  .mg-header__nav.open { display: flex; }

  .mg-header__quick { padding-bottom: 10px; }

  .mg-hero .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mg-hero .hero-copy { padding: 24px 20px; order: 2; }

  .mg-hero .hero-visual { order: 1; min-height: 220px; }

  .mg-hero .hero-visual img { min-height: 220px; }

  .mg-hero .hero-visual::after {
    background: linear-gradient(180deg, transparent 50%, var(--mg-surface) 100%);
  }

  .mg-hero { min-height: auto; }

  .mg-hero__stage { min-height: auto; }

  .mg-cat__layout { grid-template-columns: 1fr; }

  .mg-cat__side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mg-cat__side-title { grid-column: 1 / -1; }

  .mg-theater__panel { grid-template-columns: 1fr; }

  .mg-theater__cover { max-width: 120px; }

  .mg-footer__inner { grid-template-columns: 1fr; }

  .mg-footer__links { grid-template-columns: 1fr 1fr; }

  .mg-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}

@media (max-width: 520px) {
  .mg-dock__tiles { grid-template-columns: repeat(2, 1fr); }

  .mg-cat__side { grid-template-columns: 1fr; }

  .mg-cat__toolbar { flex-direction: column; }

  .mg-footer__links { grid-template-columns: 1fr; }

  .mg-header__quick a { font-size: 11px; padding: 3px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-poster:hover { transform: none; }
  .mg-btn--cta:hover { transform: none; }
  .mg-rail__track { scroll-behavior: auto; }
}
