/* 黄豆魔改短剧 - 魔改脑洞短剧合集 */
:root {
  --navy: #0b1c33;
  --navy-2: #14294a;
  --yellow: #f5c518;
  --yellow-deep: #c99a06;
  --paper: #eef1f6;
  --white: #ffffff;
  --ink: #0b1c33;
  --mu: #5c6879;
  --line: #d5dce7;
  --head: 72px;
  --w: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul, ol, p, h1, h2, h3, h4, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid rgba(245, 197, 24, 0.6); outline-offset: 3px; }

.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; }

/* 顶栏 */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  height: var(--head);
  display: flex;
  align-items: center;
  gap: 28px;
}
.hd-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.hd-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.hd-brand b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hd-brand small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mu);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 900;
  box-shadow: 0 4px 0 var(--yellow-deep);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-deep); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  place-items: center;
}

/* 英雄区：藏青底 + 右侧三张竖版错落封面 + 今日更新浮卡 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 74px;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 197, 24, 0.12), transparent 42%),
    linear-gradient(160deg, #0b1c33 0%, #102547 62%, #0b1c33 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 46px;
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}
.kick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--yellow);
}
.kick::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--yellow);
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-sub {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 700;
  color: #ffd95e;
}
.hero-desc {
  margin-top: 14px;
  max-width: 31em;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.74);
}
.acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 5px 0 var(--yellow-deep);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--yellow-deep); }
.btn svg { width: 18px; height: 18px; }
.ghost {
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.55);
}
.ghost:hover { color: var(--yellow); border-color: var(--yellow); }
.hero-meta {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}
.hero-meta time { color: var(--yellow); font-weight: 700; }

.stage {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-bottom: 34px;
}
.poster {
  flex: 1 1 0;
  min-width: 0;
  max-width: 172px;
  padding: 4px;
  background: #10233f;
  border: 1px solid rgba(245, 197, 24, 0.42);
  border-radius: 6px;
  overflow: hidden;
  animation: drift 7s ease-in-out infinite;
}
.poster img { width: 100%; border-radius: 3px; }
.poster.p1 { margin-top: 34px; animation-delay: -1.4s; }
.poster.p2 { margin-top: 0; animation-delay: -3.1s; }
.poster.p3 { margin-top: 56px; animation-delay: -5s; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.today-card {
  position: absolute;
  left: -6px;
  bottom: 0;
  z-index: 3;
  width: 194px;
  padding: 12px 14px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 5px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}
.today-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.today-card b {
  display: inline-block;
  margin-top: 2px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}
.today-card small {
  font-size: 12px;
  font-weight: 700;
}

/* 数据带 */
.stats {
  background: var(--yellow);
  color: var(--navy);
}
.stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 18px;
  border-left: 1px solid rgba(11, 28, 51, 0.18);
}
.stats li:first-child { border-left: 0; }
.stats b {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.stats span { font-size: 12.5px; font-weight: 700; }

/* 入口下载：规格条 */
.entry { padding: 56px 0 8px; }
.entry-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 30px 34px;
  background: var(--white);
  border-left: 6px solid var(--yellow);
  box-shadow: 0 22px 40px -32px rgba(11, 28, 51, 0.6);
}
.entry-panel h2 {
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.entry-panel p {
  margin-top: 10px;
  max-width: 38em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mu);
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}
.spec dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mu);
}
.spec dd {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  border-top: 2px solid var(--yellow);
  padding-top: 6px;
}

/* 区块通用 */
.sec { padding: 74px 0; }
.sh { max-width: 42em; margin-bottom: 32px; }
.sh h2 {
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.sh p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mu);
}
.sh .lab {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* 核心特色：六格左侧编号栏 */
.feats { background: var(--white); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feat {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 0.18s ease;
}
.feat:hover { background: #f8fafd; }
.feat .no {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.feat .no::after {
  content: "";
  display: block;
  width: 22px;
  height: 4px;
  margin-top: 7px;
  background: var(--yellow);
}
.feat h4 {
  margin-bottom: 8px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.45;
}
.feat p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mu);
}

/* 功能与界面：深色放映厅 */
.cinema {
  background: var(--navy);
  color: #fff;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}
.cinema .sh h2 { color: #fff; }
.cinema .sh p { color: rgba(255, 255, 255, 0.66); }
.cinema .sh .lab { background: var(--yellow); color: var(--navy); }
.rail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}
.shot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 318px;
  padding: 6px;
  background: #10233f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--yellow);
  border-radius: 5px;
}
.shot img { width: 100%; border-radius: 2px; }
.shot figcaption {
  padding: 10px 8px 4px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.shot:nth-child(1) figcaption::before { content: "01 · "; color: var(--yellow); }
.shot:nth-child(2) figcaption::before { content: "02 · "; color: var(--yellow); }
.shot:nth-child(3) figcaption::before { content: "03 · "; color: var(--yellow); }
.guide {
  margin-top: 44px;
  padding: 26px 28px 30px;
  background: var(--navy-2);
  border: 1px solid rgba(245, 197, 24, 0.28);
}
.guide h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--yellow);
}
.guide-note {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
  counter-reset: st;
}
.steps li {
  counter-increment: st;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.8px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li::before {
  content: "0" counter(st);
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.2;
}
.steps b {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  color: #fff;
}

/* FAQ：手风琴，默认全部展开 */
.faq { background: var(--paper); }
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 940px;
}
.qa {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}
.qa summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
}
.qa summary i {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}
.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  background: var(--navy);
}
.qa summary i::before { left: 0; top: 8px; width: 18px; height: 2px; }
.qa summary i::after { left: 8px; top: 0; width: 2px; height: 18px; transition: transform 0.2s ease; }
.qa[open] summary i::after { transform: scaleY(0); }
.qa p {
  padding: 0 20px 18px 20px;
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--mu);
}

/* 用户评价：双列卡片 */
.rev { background: var(--white); }
.rev-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rv {
  padding: 20px 22px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.rv blockquote {
  font-size: 14px;
  line-height: 1.85;
  color: #26374f;
}
.rv footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--mu);
}
.rv footer b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}
.rv footer em {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}
.rv time { margin-left: auto; }

/* 下载区：票券式 */
.download { padding: 20px 0 82px; background: var(--yellow); }
.ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 16px 0 rgba(201, 154, 6, 0.35);
}
.ticket-main { display: flex; align-items: center; gap: 20px; }
.ticket-main img {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 14px;
}
.ticket h2 {
  font-size: clamp(23px, 2.9vw, 31px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ticket p {
  margin-top: 8px;
  max-width: 40em;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mu);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.chips li {
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  background: #f8fafd;
}
.ticket-side {
  padding-left: 34px;
  border-left: 2px dashed var(--line);
  text-align: center;
}
.ticket-side .btn { width: 100%; }
.dl-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--mu);
}

/* 页脚 */
.ft {
  padding: 42px 0 30px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}
.ft-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.ft-brand img { width: 30px; height: 30px; border-radius: 7px; }
.ft p {
  max-width: 40em;
  font-size: 12.6px;
  line-height: 1.85;
}
.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: start;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 600;
}
.ft-nav a:hover { color: var(--yellow); }
.ft-c {
  padding-top: 18px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.56);
}
.ft-c a:hover { color: var(--yellow); }
.ft-c .icp { display: block; color: rgba(255, 255, 255, 0.7); }
.ft-c .dc { display: block; margin-top: 6px; }

/* 返回顶部 */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 160px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 3px 0 var(--yellow-deep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.backtop.on { opacity: 1; pointer-events: auto; }
#interaction-complaint-button { color: #0b1c33 !important; font-weight: 700; }

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

@media (max-width: 1024px) {
  .hero-in { gap: 36px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .ticket { grid-template-columns: 1fr; gap: 22px; }
  .ticket-side { padding-left: 0; border-left: 0; border-top: 2px dashed var(--line); padding-top: 20px; }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: var(--head);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(11, 28, 51, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .cta { display: none; }
  .entry-panel { grid-template-columns: 1fr; gap: 22px; }
  .rail { gap: 12px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ft-top { grid-template-columns: 1fr; }
  .ft-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .sec { padding: 56px 0; }
  .rev-list { grid-template-columns: 1fr; }
  .guide { padding: 22px 18px 26px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--w), calc(100% - 32px)); }
  [id] { scroll-margin-top: 72px; }
  .hero { padding: 32px 0 46px; }
  .hero h1 { font-size: 39px; }
  .hero-sub { font-size: 18.5px; }
  .hero-in { gap: 26px; }
  .stage {
    gap: 7px;
    padding-bottom: 0;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  .poster {
    flex: 0 0 calc((100% - 14px) / 3);
    max-width: none;
    margin-top: 0 !important;
    padding: 3px;
    animation: none;
  }
  .today-card {
    position: static;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
  }
  .today-card b { font-size: 22px; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 14px 12px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats b { font-size: 25px; }
  .entry { padding: 40px 0 4px; }
  .entry-panel { padding: 22px 18px; border-left-width: 5px; }
  .spec { gap: 12px 16px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { padding: 22px 18px 24px; }
  .rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .shot {
    flex: 0 0 62%;
    max-width: 220px;
    scroll-snap-align: start;
  }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li,
  .steps li:nth-child(3) { padding: 0 0 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
  .qa summary { padding: 14px 14px; gap: 10px; }
  .qa p { padding: 0 14px 16px; }
  .rv { padding: 18px 16px 16px; }
  .download { padding: 12px 0 54px; }
  .ticket { padding: 22px 18px 24px; box-shadow: 0 10px 0 rgba(201, 154, 6, 0.35); }
  .ticket-main { gap: 14px; align-items: flex-start; }
  .ticket-main img { width: 52px; height: 52px; border-radius: 11px; }
  .ft { padding: 34px 0 24px; }
  .backtop { right: 16px; bottom: 150px; }
}
