:root {
    --ink: #1c1a22;
    --ink-soft: #4b4759;
    --paper: #f6f2ec;
    --paper-2: #fff9f2;
    --rose: #c8385a;
    --rose-deep: #8e1f3c;
    --gold: #bf8a3c;
    --violet: #4a2c6b;
    --violet-soft: #efe6f2;
    --line: rgba(28, 26, 34, .12);
    --radius: 16px;
    --wrap: 1160px;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: var(--rose-deep); text-decoration: none; }
  h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: .01em; }
  p { margin: 0; }
  .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
  .eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: .18em;
    color: var(--rose-deep); font-weight: 700; margin-bottom: 10px;
  }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: clamp(22px, 3vw, 30px); }
  .sec-head p { color: var(--ink-soft); margin-top: 8px; max-width: 720px; }

  /* ---------- 顶部导航 ---------- */
  .site-head {
    position: sticky; top: 0; z-index: 60;
    background: rgba(246, 242, 236, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .head-inner {
    display: flex; align-items: center; gap: 16px;
    min-height: 62px; padding: 8px 0;
    flex-wrap: wrap;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand b { font-size: 17px; letter-spacing: .02em; }
  .nav-toggle {
    display: none; margin-left: auto;
    border: 1px solid var(--line); background: var(--paper-2);
    color: var(--ink); border-radius: 10px;
    padding: 7px 12px; font-size: 14px; cursor: pointer;
    font-family: inherit;
  }
  .main-nav { flex: 1 1 auto; }
  .main-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 4px 6px;
  }
  .main-nav a {
    display: block; padding: 6px 11px; border-radius: 999px;
    font-size: 14px; color: var(--ink-soft);
    transition: color .18s, background .18s;
  }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: #fff; background: var(--rose); outline: none;
  }

  /* ---------- 首屏 ---------- */
  .hero {
    position: relative;
    background:
      radial-gradient(120% 90% at 12% 0%, #fbeee2 0%, rgba(251,238,226,0) 60%),
      radial-gradient(90% 80% at 92% 8%, #efe6f2 0%, rgba(239,230,242,0) 65%),
      var(--paper);
    padding: 34px 0 0;
    overflow: hidden;
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 34px; align-items: center;
  }
  .hero-copy h1 {
    font-size: clamp(26px, 3.6vw, 40px);
    letter-spacing: .01em;
    margin-bottom: 14px;
  }
  .hero-copy h1 em {
    font-style: normal; color: var(--rose);
    background: linear-gradient(90deg, var(--rose), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-lead { color: var(--ink-soft); max-width: 540px; }
  .hero-points {
    list-style: none; margin: 18px 0 22px; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .hero-points li {
    font-size: 13px; padding: 5px 12px; border-radius: 999px;
    background: var(--paper-2); border: 1px solid var(--line);
    color: var(--ink-soft);
  }
  .dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .dl-btn {
    display: inline-flex; flex-direction: column; align-items: flex-start;
    padding: 9px 18px; border-radius: 12px; min-width: 118px;
    background: var(--ink); color: #fff;
    transition: transform .16s, background .16s;
  }
  .dl-btn small { font-size: 11px; opacity: .72; letter-spacing: .1em; }
  .dl-btn span { font-size: 15px; font-weight: 700; }
  .dl-btn:hover { transform: translateY(-2px); background: var(--rose); }
  .dl-btn.alt { background: var(--rose); }
  .dl-btn.alt:hover { background: var(--rose-deep); }
  .dl-btn.line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .dl-btn.line:hover { background: var(--paper-2); color: var(--rose-deep); }

  .hero-gallery {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-gallery figure {
    margin: 0; position: relative; overflow: hidden;
    border-radius: 14px; background: #ddd;
    box-shadow: 0 10px 24px rgba(28,26,34,.16);
  }
  .hero-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
  .hero-gallery figure:nth-child(1) { transform: translateY(-10px); }
  .hero-gallery figure:nth-child(2) { transform: translateY(14px); }
  .hero-gallery figure:nth-child(3) { transform: translateY(-4px); }
  .hero-gallery figure:nth-child(4) { transform: translateY(18px); }
  .hero-gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px 10px 8px; font-size: 12px; color: #fff;
    background: linear-gradient(to top, rgba(20,16,24,.86), rgba(20,16,24,0));
  }

  .marquee {
    margin-top: 30px; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #1b1622;
    overflow: hidden;
  }
  .marquee-track {
    display: flex; gap: 38px; white-space: nowrap;
    padding: 11px 0; width: max-content;
    animation: slide 38s linear infinite;
  }
  .marquee-track span {
    font-size: 14px; font-weight: 700; letter-spacing: .06em;
    background: linear-gradient(90deg, #ff7a9c, #ffd06b, #a98bff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
  }

  /* ---------- 通用区块 ---------- */
  .band { padding: 52px 0; }
  .band.tint-a { background: #fff9f2; }
  .band.tint-b { background: #f2eef7; }
  .band.tint-c { background: #f4f7f4; }
  .band.tint-d { background: #1d1824; color: #f3eef7; }
  .band.tint-d .sec-head p, .band.tint-d .muted { color: rgba(243,238,247,.72); }
  .band.tint-d .eyebrow { color: #ffb3c4; }

  /* 经典剧场 */
  .classic-layout {
    display: grid; grid-template-columns: .82fr 1.18fr; gap: 26px;
    align-items: start;
  }
  .classic-side {
    position: sticky; top: 84px;
    border-radius: var(--radius); overflow: hidden;
    background: #2a2130;
    box-shadow: 0 12px 28px rgba(28,26,34,.18);
  }
  .classic-side img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
  .classic-side .cap { padding: 14px 16px; color: #f1e9f4; font-size: 13px; }
  .classic-side .cap b { display: block; font-size: 16px; margin-bottom: 4px; }
  .classic-list { display: grid; gap: 12px; }
  .classic-item {
    display: grid; grid-template-columns: 76px 1fr; gap: 14px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 12px;
    transition: border-color .18s, transform .18s;
  }
  .classic-item:hover { border-color: rgba(200,56,90,.5); transform: translateX(3px); }
  .classic-item img { width: 76px; height: 100px; object-fit: cover; border-radius: 9px; }
  .classic-item h3 { font-size: 16px; margin-bottom: 4px; }
  .classic-item p { font-size: 13px; color: var(--ink-soft); }
  .tagline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
  .tagline i {
    font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px;
    background: var(--violet-soft); color: var(--violet);
  }
  .tagline i.date { background: #fdf0e4; color: var(--gold); }

  /* 深夜剧场：时间轴 */
  .night-grid {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px;
    align-items: start;
  }
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(#ff9ab0, #c8385a 45%, #4a2c6b);
  }
  .tl-row { position: relative; padding: 0 0 16px 0; }
  .tl-row::before {
    content: ""; position: absolute; left: -25px; top: 7px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 2px solid var(--rose);
  }
  .tl-time {
    font-size: 12px; font-weight: 700; letter-spacing: .1em;
    color: var(--rose-deep); margin-bottom: 2px;
  }
  .tl-row h3 { font-size: 15px; }
  .tl-row p { font-size: 13px; color: var(--ink-soft); }
  .night-side { display: grid; gap: 12px; }
  .night-card {
    background: #fff; border-radius: 14px; padding: 10px;
    display: grid; grid-template-columns: 62px 1fr; gap: 12px;
    border: 1px solid var(--line); align-items: center;
  }
  .night-card img { width: 62px; height: 82px; object-fit: cover; border-radius: 8px; }
  .night-card b { font-size: 14px; display: block; }
  .night-card span { font-size: 12px; color: var(--ink-soft); }

  /* 原著联动区 */
  .adapt-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .adapt-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); display: flex; flex-direction: column;
  }
  .adapt-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .adapt-card .body { padding: 13px 14px 15px; flex: 1; }
  .adapt-card h3 { font-size: 15px; margin-bottom: 5px; }
  .adapt-card p { font-size: 13px; color: var(--ink-soft); }
  .adapt-card .badge {
    display: inline-block; margin-top: 9px; font-size: 11px;
    padding: 2px 9px; border-radius: 999px;
    background: #f6e9ee; color: var(--rose-deep);
  }

  /* 全集短剧：横向滑动 */
  .rail {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 148px; gap: 14px;
    overflow-x: auto; padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .rail figure {
    margin: 0; scroll-snap-align: start;
    background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--line);
  }
  .rail img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .rail figcaption { padding: 8px 10px 12px; }
  .rail b { display: block; font-size: 13px; }
  .rail span { font-size: 11px; color: var(--ink-soft); }

  /* AI 剧场 */
  .ai-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  }
  .ai-panel {
    border-radius: var(--radius); padding: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
  }
  .ai-panel h3 { font-size: 17px; margin-bottom: 8px; color: #ffd9e2; }
  .ai-panel p { font-size: 14px; }
  .ai-list {
    list-style: none; margin: 12px 0 0; padding: 0;
    display: grid; gap: 8px;
  }
  .ai-list li {
    font-size: 13px; padding-left: 16px; position: relative;
    color: rgba(243,238,247,.82);
  }
  .ai-list li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; border-radius: 50%; background: #ff9ab0;
  }
  .ai-gallery {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-top: 20px;
  }
  .ai-gallery img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
  }

  /* 用户神评墙 */
  .wall {
    columns: 3 240px; column-gap: 16px;
  }
  .wall-note {
    break-inside: avoid; margin: 0 0 16px;
    background: #fff; border-radius: 14px; padding: 14px;
    border: 1px solid var(--line);
  }
  .wall-note .who { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
  .wall-note .who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
  .wall-note .who b { font-size: 13px; }
  .wall-note p { font-size: 13px; color: var(--ink-soft); }

  /* 未成年人保护 + 意见反馈 */
  .protect-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px;
    align-items: stretch;
  }
  .qa { background: #fff; border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
  .qa h3 { font-size: 17px; margin-bottom: 12px; }
  .qa details {
    border-top: 1px solid var(--line); padding: 10px 0;
  }
  .qa details:first-of-type { border-top: 0; }
  .qa summary {
    cursor: pointer; font-size: 14px; font-weight: 700;
    list-style: none; position: relative; padding-right: 20px;
  }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary::after {
    content: "+"; position: absolute; right: 0; top: -1px;
    color: var(--rose); font-weight: 700;
  }
  .qa details[open] summary::after { content: "–"; }
  .qa details p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
  .feedback {
    background: linear-gradient(160deg, #2a2130, #3b2547);
    color: #f3eef7; border-radius: var(--radius); padding: 20px;
  }
  .feedback h3 { font-size: 17px; margin-bottom: 8px; }
  .feedback p { font-size: 13px; color: rgba(243,238,247,.78); }
  .feedback ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
  .feedback li {
    font-size: 13px; padding: 8px 12px; border-radius: 10px;
    background: rgba(255,255,255,.08);
  }

  /* 下载专区 */
  .dl-zone {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px;
    align-items: start;
  }
  .steps { counter-reset: st; display: grid; gap: 12px; }
  .steps li {
    list-style: none; counter-increment: st;
    background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 12px 14px 12px 46px;
    position: relative; font-size: 14px;
  }
  .steps li::before {
    content: counter(st);
    position: absolute; left: 14px; top: 13px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--rose); color: #fff; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
  }
  .steps li small { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 3px; }
  .dl-box {
    background: var(--paper-2); border: 1px dashed rgba(200,56,90,.45);
    border-radius: var(--radius); padding: 20px;
  }
  .dl-box h3 { font-size: 17px; margin-bottom: 6px; }
  .dl-box p { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
  .dl-box .dl-row { gap: 9px; }

  /* 浮动下载 */
  .float-dl {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 80;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px 8px 9px;
    background: #1d1824; color: #fff;
    border-radius: 999px; box-shadow: 0 10px 26px rgba(20,16,24,.34);
    max-width: calc(100% - 24px);
  }
  .float-dl img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .float-dl span { font-size: 13px; font-weight: 700; white-space: nowrap; }
  .float-dl a {
    background: var(--rose); color: #fff; font-size: 13px; font-weight: 700;
    padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  }
  .float-dl a:hover { background: var(--rose-deep); }

  /* 复制弹窗 */
  .copy-modal {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(18,14,22,.6);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
  }
  .copy-modal.on { display: flex; }
  .copy-card {
    width: 100%; max-width: 340px;
    background: #fff; border-radius: 16px; padding: 20px;
    text-align: left;
  }
  .copy-card p { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
  .copy-card input {
    width: 100%; font-size: 13px; padding: 9px 10px;
    border: 1px solid var(--line); border-radius: 9px;
    background: var(--paper-2); color: var(--ink-soft);
    font-family: inherit;
  }
  .copy-card .acts { display: flex; gap: 8px; margin-top: 12px; }
  .copy-card button {
    flex: 1; font-family: inherit; font-size: 14px; cursor: pointer;
    padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line);
    background: #fff; color: var(--ink);
  }
  .copy-card button.primary { background: var(--rose); color: #fff; border-color: var(--rose); }

  /* 页脚 */
  .site-foot {
    background: #15121b; color: rgba(243,238,247,.62);
    padding: 30px 0 34px; font-size: 12.5px;
  }
  .foot-grid {
    display: flex; flex-wrap: wrap; gap: 20px 34px;
    justify-content: space-between; align-items: flex-start;
  }
  .foot-block { max-width: 420px; }
  .foot-block b { display: block; color: #f3eef7; font-size: 13px; margin-bottom: 6px; }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .foot-nav a { color: rgba(243,238,247,.72); }
  .foot-nav a:hover { color: #ffb3c4; }
  .foot-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
  .foot-meta p { margin-bottom: 4px; }
  .foot-meta a { color: rgba(243,238,247,.72); }
  .foot-meta time { font-variant-numeric: tabular-nums; }

  /* ---------- 响应式 ---------- */
  @media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy h1 { font-size: clamp(24px, 5vw, 34px); }
    .hero-gallery figure:nth-child(n) { transform: none; }
    .classic-layout, .night-grid, .dl-zone, .protect-grid {
      grid-template-columns: 1fr;
    }
    .classic-side { position: static; max-width: 340px; }
    .ai-grid { grid-template-columns: 1fr; }
    .wall { columns: 2 220px; }
  }
  @media (max-width: 767px) {
    .wrap { padding: 0 15px; }
    .band { padding: 38px 0; }
    .nav-toggle { display: inline-block; }
    .main-nav { display: none; flex-basis: 100%; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; padding: 6px 0 10px; }
    .main-nav a { padding: 9px 12px; border-radius: 10px; font-size: 15px; }
    .hero { padding-top: 24px; }
    .hero-copy h1 { font-size: 25px; }
    .dl-btn { flex: 1 1 42%; min-width: 0; }
    .hero-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hero-gallery figcaption { font-size: 11px; padding: 18px 8px 7px; }
    .classic-item { grid-template-columns: 64px 1fr; }
    .classic-item img { width: 64px; height: 86px; }
    .night-card { grid-template-columns: 54px 1fr; }
    .night-card img { width: 54px; height: 72px; }
    .ai-gallery { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .wall { columns: 1; }
    .float-dl { bottom: 12px; padding: 6px 10px 6px 7px; gap: 8px; }
    .float-dl span { font-size: 12px; }
    .float-dl a { padding: 5px 11px; font-size: 12px; }
    .rail { grid-auto-columns: 132px; }
    .foot-grid { flex-direction: column; gap: 18px; }
  }