/* 站 22 · midnight-gold × m30 皮肤 · 覆盖 mother-shell 默认浅色 */
:root {
  --s-bg: #0a0e17;
  --s-surface: #042f2e;
  --s-surface-2: #111827;
  --s-accent: #ec4899;
  --s-accent-dim: rgba(236, 72, 153, 0.14);
  --s-gold: #d4a853;
  --s-gold-dim: rgba(212, 168, 83, 0.12);
  --s-blue: #38bdf8;
  --s-blue-dim: rgba(56, 189, 248, 0.1);
  --s-text: #e2e8f0;
  --s-muted: #94a3b8;
  --s-line: rgba(236, 72, 153, 0.16);
  --s-radius: 14px;
  --s-radius-lg: 18px;
  --s-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --s-container: min(1180px, calc(100% - 32px));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html { scroll-behavior: smooth; }

body.body-tpl-yygk,
body.body-tpl-portal.body-tpl-yygk {
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(236, 72, 153, 0.08), transparent 55%),
    linear-gradient(180deg, var(--s-bg) 0%, var(--s-surface-2) 48%, var(--s-bg) 100%) !important;
  color: var(--s-text) !important;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.container {
  width: var(--s-container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.page-main {
  flex: 1;
  min-width: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.page-main > .page-hero,
.page-main > .section-block {
  width: var(--s-container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* ── 顶栏 ── */
.yygk2-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--s-bg) 88%, var(--s-surface)) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--s-line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.yygk2-header__ribbon {
  overflow: hidden;
  background: linear-gradient(90deg, #042f2e, color-mix(in srgb, var(--s-accent) 35%, #042f2e), #042f2e);
  border-bottom: 1px solid var(--s-line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--s-muted);
}

.yygk2-header__ribbon-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 8px 16px;
  animation: s22-marquee 28s linear infinite;
}

@keyframes s22-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.yygk2-header__bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
  min-height: 64px;
  padding: 10px 0;
}

.yygk2-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.yygk2-header__mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--s-accent), color-mix(in srgb, var(--s-accent) 60%, #831843));
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

.yygk2-header__wordmark {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--s-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.yygk2-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.yygk2-nav__pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--s-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.yygk2-nav__pill:hover,
.yygk2-nav__pill.is-active,
.yygk2-nav__pill[aria-current="page"] {
  color: #fff;
  background: var(--s-accent-dim);
  border-color: color-mix(in srgb, var(--s-accent) 40%, transparent);
}

.yygk2-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yygk2-header__search {
  display: flex;
  align-items: stretch;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--s-line);
  background: var(--s-surface-2);
  overflow: hidden;
  min-width: 160px;
}

.yygk2-header__search:focus-within {
  border-color: color-mix(in srgb, var(--s-blue) 50%, transparent);
  box-shadow: 0 0 0 3px var(--s-blue-dim);
}

.yygk2-header__search-ico {
  flex-shrink: 0;
  margin: 0 0 0 12px;
  align-self: center;
  color: var(--s-muted);
}

.yygk2-header__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 10px;
  font-size: 0.875rem;
  color: var(--s-text);
  outline: none;
}

.yygk2-header__search input::placeholder { color: #64748b; }

.yygk2-header__search-go {
  border: none;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 9px 9px 0;
}

.yygk2-header__auth { display: none; }

.yygk2-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--s-line);
  border-radius: 10px;
  background: var(--s-surface);
  cursor: pointer;
}

.yygk2-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--s-text);
  border-radius: 2px;
}

.yygk2-drawer { display: none; }
.yygk2-drawer.is-open { display: block; }
.yygk2-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}
.yygk2-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: min(300px, 88vw);
  padding: 24px 20px;
  background: var(--s-surface-2);
  border-left: 1px solid var(--s-line);
  overflow-y: auto;
}
.yygk2-drawer__title {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s-muted);
}
.yygk2-drawer__a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--s-text);
  text-decoration: none;
  border-bottom: 1px solid var(--s-line);
}
.yygk2-drawer__search {
  display: flex;
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--s-line);
}
.yygk2-drawer__search input {
  flex: 1;
  border: none;
  background: var(--s-surface);
  padding: 10px 12px;
  color: var(--s-text);
}

/* ── Hero 首页 ── */
.yygk2-hero {
  position: relative;
  padding: 48px 0 44px;
  overflow: hidden;
  border-bottom: 1px solid var(--s-line);
}

.yygk2-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(56, 189, 248, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(236, 72, 153, 0.1), transparent 55%);
}

.yygk2-hero__split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.yygk2-hero__kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-blue);
}

.yygk2-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--s-gold);
}

.yygk2-hero__copy p,
.yygk2-hero__lead {
  margin: 0 0 12px;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.7;
  color: var(--s-muted);
  max-width: 36rem;
}

.yygk2-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.yygk2-hero__chips li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--s-blue);
  background: var(--s-blue-dim);
  border: 1px solid color-mix(in srgb, var(--s-blue) 25%, transparent);
}

.yygk2-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yygk2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.yygk2-btn--solid { color: #fff; border: none; }
.yygk2-btn--solid:hover { filter: brightness(1.06); transform: translateY(-1px); }

.yygk2-btn--line {
  color: var(--s-text);
  background: transparent;
  border: 1px solid var(--s-line);
}

.yygk2-btn--line:hover {
  border-color: var(--s-accent);
  color: var(--s-accent);
}

.yygk2-hero__visual { position: relative; min-height: 200px; }

.yygk2-hero__orbit {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--s-accent) 30%, transparent);
  animation: s22-orbit 24s linear infinite;
}

@keyframes s22-orbit {
  to { transform: rotate(360deg); }
}

.yygk2-hero__card {
  position: relative;
  margin: 20% 8% 0 auto;
  max-width: 280px;
  padding: 20px 18px;
  border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 90%, var(--s-surface-2));
  box-shadow: var(--s-shadow);
}

.yygk2-hero__card-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--s-gold);
  background: var(--s-gold-dim);
}

.yygk2-hero__card-t {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--s-text);
}

.yygk2-hero__card-p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--s-muted);
}

/* ── 首页主体 ── */
.yygk2-home__body {
  padding: 32px 0 56px;
}

.yygk2-home__grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.yygk2-rail {
  position: sticky;
  top: 5.5rem;
  padding: 16px 14px;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 85%, var(--s-surface-2));
}

.yygk2-rail__label {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--s-muted);
}

.yygk2-rail__nav { display: flex; flex-direction: column; gap: 4px; }

.yygk2-rail__a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--s-muted);
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.yygk2-rail__a:hover,
.yygk2-rail__a.is-active {
  color: #fff;
  background: var(--s-accent-dim);
}

.yygk2-feed { display: flex; flex-direction: column; gap: 36px; }

.yygk2-block {
  padding: 22px 20px 24px;
  border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 80%, var(--s-surface-2));
}

.yygk2-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.yygk2-block__h {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--s-gold);
  padding-left: 11px;
  border-left: 3px solid var(--s-accent);
  line-height: 1.3;
}

.yygk2-block__sub {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--s-muted);
}

.yygk2-block__more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--s-blue);
  text-decoration: none;
  white-space: nowrap;
}

.yygk2-block__more:hover { color: var(--s-accent); }

/* ── 卡片网格 ── */
.yygk-card-grid,
.yygk-hot-grid,
.yygk-cat-grid,
.mother-cards {
  display: grid;
  gap: 18px;
}

.yygk-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yygk-card-grid--shuffle-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yygk-card-grid--featured,
.yygk-card-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yygk-hot-grid--dense { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yygk-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yygk-cat-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.yygk-vcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: var(--s-surface);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.yygk-vcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--s-accent) 35%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.yygk-vcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--s-surface-2);
}

.yygk-vcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.yygk-vcard:hover .yygk-vcard__img { transform: scale(1.05); }

.yygk-vcard__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 47, 46, 0.75), transparent 50%);
  pointer-events: none;
}

.yygk-vcard__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(0, 0, 0, 0.25);
}

.yygk-vcard:hover .yygk-vcard__overlay { opacity: 1; }

.yygk-vcard__new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--s-accent), #be185d);
}

.yygk-vcard__tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.yygk-vcard__cty,
.yygk-vcard__hq {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.yygk-vcard__dur {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
}

.yygk-vcard__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

.yygk-vcard__title {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--s-text);
}

.yygk-vcard__title a { color: inherit; text-decoration: none; }
.yygk-vcard__title a:hover { color: var(--s-gold); }

.yygk-vcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.yygk-vcard__pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--s-blue);
  background: var(--s-blue-dim);
  border: 1px solid color-mix(in srgb, var(--s-blue) 20%, transparent);
}

.yygk-vcard__desc {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--s-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.yygk-vcard__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.75rem;
  color: var(--s-muted);
  margin-top: auto;
}

.yygk-vcard__stat--score,
.yygk-vcard__ico--star { color: var(--s-gold); }

/* ── 分类页 ── */
.yygk-catpage__inner { padding: 24px 0 52px; }

.yygk-breadcrumb,
.yygk2-cinema-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--s-muted);
}

.yygk-breadcrumb a { color: var(--s-blue); text-decoration: none; }
.yygk-breadcrumb a:hover { color: var(--s-accent); }
.yygk-breadcrumb__sep { opacity: 0.5; }

.yygk-catpage__head {
  margin-bottom: 16px;
  padding: 22px 20px;
  border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 75%, var(--s-surface-2));
}

.yygk-catpage__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.yygk-catpage__h1 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 900;
  color: var(--s-gold);
}

.yygk-catpage__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--s-muted);
  max-width: 42rem;
}

.yygk-catpage__sort {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.yygk-catpage__sort button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--s-line);
  background: var(--s-surface-2);
  color: var(--s-muted);
  cursor: pointer;
}

.yygk-catpage__sort button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--s-accent), #be185d);
}

.yygk-catpage__meta {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: var(--s-muted);
}

.mother-cards--channel { margin-top: 8px; }

/* ── 播放/详情页 ── */
.yygk2-detail-shell { padding: 24px 0 52px; }

.detail-hero,
.yygk2-detail-hero {
  position: relative;
  border-radius: var(--s-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--s-line);
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--detail-poster);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.35);
  transform: scale(1.08);
}

.yygk2-detail-hero__inner,
.detail-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(4, 47, 46, 0.92), rgba(17, 24, 39, 0.88));
}

.yygk2-detail-cover img,
.detail-hero__cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--s-line);
}

.yygk2-detail-title {
  margin: 8px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--s-gold);
  line-height: 1.25;
}

.yygk2-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

.yygk2-detail-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--s-accent), #be185d);
}

.yygk2-detail-badge--muted {
  color: var(--s-blue);
  background: var(--s-blue-dim);
  border: 1px solid color-mix(in srgb, var(--s-blue) 25%, transparent);
}

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

.detail-tags span,
.yygk2-detail-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--s-muted);
  border: 1px solid var(--s-line);
  background: var(--s-surface);
}

.yygk2-detail-score { color: var(--s-gold) !important; font-weight: 700; }

.yygk2-detail-desc,
.detail-hero__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--s-muted);
}

.yygk2-detail-cta,
.detail-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.yygk2-detail-play {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--s-accent), #be185d);
}

.yygk2-detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--s-text);
  text-decoration: none;
  border: 1px solid var(--s-line);
}

.mirror-player-slot {
  max-width: var(--s-container);
  margin: 0 auto 24px;
  padding: 0 16px;
}

.mirror-local-player,
.player-box video,
.video-frame video {
  width: 100%;
  border-radius: var(--s-radius);
  background: #000;
  aspect-ratio: 16 / 9;
}

.page-panel,
.yygk2-detail-facts,
.yygk2-detail-related {
  padding: 20px;
  margin-bottom: 16px;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 80%, var(--s-surface-2));
}

.yygk2-detail-facts__h,
.yygk2-detail-related__head h2,
.mother-related h2 {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--s-gold);
  padding-left: 10px;
  border-left: 3px solid var(--s-accent);
}

.detail-info-grid,
.yygk2-detail-info {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.detail-info-grid div,
.yygk2-detail-info div {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--s-line);
  background: var(--s-surface-2);
}

.detail-info-grid span,
.yygk2-detail-info span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--s-muted);
  margin-bottom: 4px;
}

.detail-info-grid strong,
.yygk2-detail-info strong {
  font-size: 0.875rem;
  color: var(--s-text);
}

.mother-related { max-width: var(--s-container); margin: 0 auto 40px; padding: 0 16px; }

/* ── 子页 hero / 搜索 / 榜单 / 分类总览 ── */
.page-hero,
.compact-hero {
  position: relative;
  margin-bottom: 28px;
  padding: 40px 28px;
  border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-line);
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(145deg, var(--s-surface), var(--s-surface-2));
  overflow: hidden;
}

.page-hero .eyebrow,
.compact-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--s-blue);
  background: var(--s-blue-dim);
}

.page-hero h1,
.compact-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--s-gold);
}

.page-hero p,
.compact-hero p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--s-muted);
  max-width: 36rem;
}

.section-block { margin-bottom: 40px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--s-gold);
}

.section-head a { font-weight: 700; color: var(--s-blue); text-decoration: none; }

.section-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--s-gold);
  background: var(--s-gold-dim);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 75%, var(--s-surface-2));
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--s-line);
  background: var(--s-surface-2);
  color: var(--s-text);
  font-size: 0.875rem;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: color-mix(in srgb, var(--s-blue) 45%, transparent);
}

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

.movie-card {
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: var(--s-surface);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.movie-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s-shadow);
}

.poster-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--s-surface-2);
}

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

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--s-text);
}

.movie-card h3 a { color: inherit; text-decoration: none; }
.movie-card h3 a:hover { color: var(--s-gold); }

.movie-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--s-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-line {
  font-size: 0.75rem;
  color: var(--s-muted);
  margin-bottom: 8px;
}

.card-actions a {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--s-accent), #be185d);
}

.rank-badge {
  background: linear-gradient(135deg, var(--s-gold), #b8860b) !important;
}

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

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

.category-tile,
.overview-card {
  display: block;
  padding: 22px 20px;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-line);
  background: var(--s-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.category-tile:hover,
.overview-card:hover {
  border-color: color-mix(in srgb, var(--s-accent) 35%, transparent);
  transform: translateY(-2px);
}

.category-tile strong,
.overview-main strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--s-gold);
}

.category-tile span,
.overview-main span {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--s-muted);
}

.rank-panel {
  padding: 22px;
  border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-surface) 80%, var(--s-surface-2));
}

.empty-state {
  padding: 32px;
  text-align: center;
  border-radius: var(--s-radius);
  color: var(--s-muted);
  font-weight: 600;
  border: 1px dashed var(--s-line);
}

/* ── 页脚 ── */
.yygk2-footer {
  margin-top: auto;
  border-top: 1px solid var(--s-line);
  background: color-mix(in srgb, var(--s-bg) 96%, #000) !important;
}

.yygk2-footer__curve { display: none; }

.yygk2-footer__card {
  padding: 32px 0 24px;
}

.yygk2-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yygk2-footer__brand-block {
  display: flex;
  gap: 14px;
  max-width: 28rem;
}

.yygk2-footer__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--s-accent), #be185d);
}

.yygk2-footer__name {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--s-gold);
}

.yygk2-footer__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--s-muted);
}

.yygk2-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.yygk2-footer__links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--s-muted);
  text-decoration: none;
}

.yygk2-footer__links a:hover { color: var(--s-accent); }

.yygk2-footer__legal {
  border-top: 1px solid var(--s-line);
  padding: 14px 0;
}

.yygk2-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--s-muted);
}

.image-off { opacity: 0.35; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .yygk-card-grid--shuffle-rows,
  .yygk-hot-grid--dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .yygk2-header__bar-inner {
    grid-template-columns: 1fr auto;
  }
  .yygk2-header__nav { display: none; }
  .yygk2-header__burger { display: flex; }
  .yygk2-header__search { display: none; }
  .yygk2-hero__split { grid-template-columns: 1fr; }
  .yygk2-hero__visual { order: -1; min-height: 160px; }
  .yygk2-hero__card { margin: 0 auto; }
  .yygk2-home__grid { grid-template-columns: 1fr; }
  .yygk2-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
  }
  .yygk2-rail__label { width: 100%; margin-bottom: 4px; }
  .yygk2-rail__nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .yygk2-rail__a { padding: 7px 12px; }
  .yygk-card-grid,
  .yygk-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .yygk2-detail-hero__inner,
  .detail-hero__inner { grid-template-columns: 1fr; }
  .yygk2-detail-cover { max-width: 200px; }
}

@media (max-width: 640px) {
  .yygk2-header__wordmark { max-width: 10rem; font-size: 0.9375rem; }
  .yygk-card-grid,
  .yygk-card-grid--featured,
  .yygk-card-grid--bento,
  .yygk-hot-grid--dense,
  .yygk-cat-grid,
  .yygk-cat-grid--related,
  .movie-grid,
  .category-grid,
  .category-grid.large { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .page-hero,
  .compact-hero { padding: 28px 18px; }
  .yygk2-block { padding: 16px 14px; }
}
