:root {
    --peach: #ff8a3d;
    --peach-deep: #e85d04;
    --ink: #241a14;
    --cream: #fff7ef;
    --mint: #e8f7f1;
    --night: #1b1230;
    --violet: #6c4bd4;
    --rose: #ffe4ea;
    --sky: #e6f0ff;
    --text: #3a2f28;
    --muted: #7d6e63;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(60, 35, 20, .10);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    padding-bottom: 90px;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 92%; max-width: 1160px; margin: 0 auto; }

  /* 头部导航 */
  header.site-head {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 247, 239, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(232, 93, 4, .12);
  }
  .head-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 0;
  }
  .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: var(--ink); }
  .brand img { height: 34px; width: 34px; border-radius: 9px; object-fit: cover; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    background: #fff; border: 1px solid #f0dcca; border-radius: 10px;
    padding: 8px 10px; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--peach-deep); border-radius: 2px; }
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 6px 0 12px; }
  nav.main-nav a {
    display: block; padding: 9px 12px; border-radius: 10px;
    font-size: 14px; color: #5a4a3f; transition: background .2s, color .2s, transform .2s;
  }
  nav.main-nav a:hover, nav.main-nav a:focus-visible {
    background: linear-gradient(90deg, #ffe1c9, #fff2e4);
    color: var(--peach-deep); transform: translateX(3px);
  }

  /* 首屏 */
  .hero {
    background:
      radial-gradient(900px 420px at 88% -6%, #ffd9a8 0%, rgba(255,217,168,0) 60%),
      radial-gradient(700px 400px at 6% 8%, #ffe9ef 0%, rgba(255,233,239,0) 65%),
      linear-gradient(180deg, #fffaf3 0%, #fff3e6 100%);
    padding: 26px 0 0;
    overflow: hidden;
  }
  .hero-top { display: grid; gap: 22px; }
  .hero-copy h1 {
    font-size: 26px; line-height: 1.35; color: var(--ink);
    letter-spacing: .5px; margin-bottom: 12px;
  }
  .hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(95deg, #ff5f2e, #ff9d3b 55%, #f0467f);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-copy p { color: #6a594c; font-size: 15px; margin-bottom: 14px; max-width: 560px; }
  .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .chip {
    font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #ffe0c4; color: #b8551b;
    box-shadow: 0 3px 10px rgba(232, 93, 4, .07);
  }
  .hero-visual {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 18px 44px rgba(120, 60, 20, .18);
    background: #2a1a24;
  }
  .hero-visual .scroll-x {
    display: flex; gap: 10px; overflow-x: auto; padding: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-visual .scroll-x::-webkit-scrollbar { display: none; }
  .hero-visual figure { flex: 0 0 40%; scroll-snap-align: center; }
  .hero-visual figure img { width: 100%; border-radius: 14px; aspect-ratio: 3/4; object-fit: cover; }
  .hero-visual figcaption {
    font-size: 12px; color: #ffe7cf; text-align: center; padding-top: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* 下载按钮组 */
  .dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dl-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 46px; padding: 10px 8px; border-radius: 13px;
    font-size: 14px; font-weight: 700; color: #fff;
    background: linear-gradient(120deg, var(--peach), var(--peach-deep));
    box-shadow: 0 8px 18px rgba(232, 93, 4, .24);
    transition: transform .18s, box-shadow .18s;
    text-align: center;
  }
  .dl-btn:nth-child(2) { background: linear-gradient(120deg, #2b2b3a, #4b4b63); box-shadow: 0 8px 18px rgba(40,40,60,.22); }
  .dl-btn:nth-child(3) { background: linear-gradient(120deg, #3aa17e, #23765a); box-shadow: 0 8px 18px rgba(35,118,90,.22); }
  .dl-btn:nth-child(4) { background: linear-gradient(120deg, #7a5bd6, #5238a8); box-shadow: 0 8px 18px rgba(82,56,168,.22); }
  .dl-btn:hover, .dl-btn:focus-visible { transform: translateY(-2px) scale(1.01); box-shadow: 0 12px 24px rgba(232, 93, 4, .28); }

  /* 跑马灯 */
  .marquee {
    margin-top: 22px; background: linear-gradient(90deg, #2a1533, #4a1f3d 50%, #2a1533);
    overflow: hidden; padding: 11px 0;
  }
  .marquee-track {
    display: flex; width: max-content; gap: 34px;
    animation: slide 26s linear infinite;
  }
  .marquee-track span {
    font-size: 14px; font-weight: 700; white-space: nowrap;
    background: linear-gradient(90deg, #ffd166, #ff7ab6, #7ce7ff, #ffd166);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hue 6s linear infinite;
  }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes hue { from { background-position: 0% 0; } to { background-position: 300% 0; } }

  /* 通用区块 */
  section { padding: 42px 0; }
  .sec-head { margin-bottom: 20px; }
  .sec-head h2 { font-size: 22px; color: var(--ink); line-height: 1.4; }
  .sec-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
  .kicker {
    display: inline-block; font-size: 12px; letter-spacing: 2px;
    color: var(--peach-deep); font-weight: 700; margin-bottom: 6px;
  }

  /* 经典剧场 - 卡片墙 */
  .classic { background: #fffdf9; }
  .card-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  }
  .card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid #f6e7d8; box-shadow: 0 6px 18px rgba(150, 95, 45, .07);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
  }
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(150, 95, 45, .14); }
  .card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .card .card-body { padding: 10px 11px 13px; }
  .card h3 { font-size: 14px; color: var(--ink); margin-bottom: 4px; }
  .card .tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
  .card .tags i {
    font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 6px;
    background: #fff2e4; color: #c26a24;
  }
  .card .meta { font-size: 11.5px; color: #9c8b7e; }
  .card .desc { font-size: 12.5px; color: #6d5c50; margin-top: 8px; }

  /* 深夜剧场 - 深色 */
  .night-section {
    background:
      radial-gradient(600px 300px at 90% 0%, rgba(124, 86, 220, .45), transparent 70%),
      linear-gradient(165deg, #1a1128, #241335 55%, #141022);
    color: #efe6ff;
  }
  .night-section .sec-head h2 { color: #fff; }
  .night-section .sec-head p { color: #c3b5e0; }
  .night-section .kicker { color: #b79bff; }
  .night-list { display: grid; gap: 10px; }
  .night-item {
    display: grid; grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px; align-items: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(183, 155, 255, .22);
    border-radius: 14px; padding: 9px;
  }
  .night-item img { width: 62px; aspect-ratio: 3/4; object-fit: cover; border-radius: 9px; }
  .night-item h3 { font-size: 14px; color: #fff; margin-bottom: 3px; }
  .night-item p { font-size: 12.5px; color: #bcacd8; }
  .night-item .time { font-size: 11.5px; color: #ffcf7a; font-weight: 700; }

  /* 原著联动 - 图文交错 */
  .origin { background: linear-gradient(180deg, #f4fbf7 0%, #e9f7f0 100%); }
  .origin-row {
    display: grid; gap: 14px; margin-bottom: 14px;
    background: #fff; border-radius: var(--radius); padding: 12px;
    border: 1px solid #d9efe4; box-shadow: 0 6px 16px rgba(35, 118, 90, .07);
  }
  .origin-row .pic { border-radius: 12px; overflow: hidden; }
  .origin-row .pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
  .origin-row h3 { font-size: 16px; color: #1f5042; margin-bottom: 6px; }
  .origin-row p { font-size: 13px; color: #516b62; }
  .origin-row ul { list-style: none; margin-top: 8px; display: grid; gap: 4px; }
  .origin-row li { font-size: 12.5px; color: #4b655c; padding-left: 14px; position: relative; }
  .origin-row li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
    border-radius: 50%; background: #3aa17e;
  }

  /* 全集短剧 - 横向滑墙 */
  .fullset { background: #fff8f0; }
  .wall {
    display: flex; gap: 11px; overflow-x: auto; padding: 4px 2px 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .wall::-webkit-scrollbar { height: 6px; }
  .wall::-webkit-scrollbar-thumb { background: #f1cbab; border-radius: 6px; }
  .wall figure { flex: 0 0 45%; scroll-snap-align: start; }
  .wall figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(150, 95, 45, .14); }
  .wall figcaption { font-size: 12.5px; color: #6b5a4d; padding-top: 7px; text-align: center; }

  /* 时间轴 */
  .timeline-sec { background: #f7f4ff; }
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, #8b6cf0, #c8b8ff);
  }
  .tl-item { position: relative; margin-bottom: 14px; }
  .tl-item::before {
    content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px;
    border-radius: 50%; background: #fff; border: 3px solid #7b5bd6;
  }
  .tl-item .tl-time { font-size: 13px; font-weight: 800; color: #5b3fb0; }
  .tl-item h3 { font-size: 14.5px; color: var(--ink); margin: 2px 0 3px; }
  .tl-item p { font-size: 12.5px; color: #6c5e7c; }

  /* AI 剧场 */
  .ai-sec {
    background:
      radial-gradient(600px 260px at 10% 100%, #d9ecff, transparent 70%),
      linear-gradient(180deg, #eef6ff, #e2efff);
  }
  .ai-grid { display: grid; gap: 10px; }
  .ai-item {
    background: rgba(255, 255, 255, .78);
    border: 1px solid #cfe3ff; border-radius: 14px; padding: 13px 14px;
    display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px;
  }
  .ai-item b {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, #4b8fe8, #7a5bd6); color: #fff; font-size: 13px;
  }
  .ai-item h3 { font-size: 14px; color: #1f3350; margin-bottom: 3px; }
  .ai-item p { font-size: 12.5px; color: #4c6280; }

  /* 用户神评墙 */
  .comments { background: #fff4f6; }
  .cm-grid { display: grid; gap: 10px; }
  .cm-item {
    background: #fff; border-radius: 14px; padding: 12px;
    border: 1px solid #ffdbe3; box-shadow: 0 5px 14px rgba(200, 80, 110, .06);
    display: flex; gap: 10px; align-items: flex-start;
  }
  .cm-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 36px; }
  .cm-item .name { font-size: 12px; font-weight: 700; color: #c14a6b; }
  .cm-item p { font-size: 13px; color: #5e4a52; }

  /* 未成年人保护 + 问答 */
  .qa-sec { background: #fdfaf3; }
  .qa-list { display: grid; gap: 9px; }
  .qa-item {
    background: #fff; border-left: 4px solid #ffc477; border-radius: 10px;
    padding: 11px 13px;
  }
  .qa-item h3 { font-size: 14px; color: #7a5a1f; margin-bottom: 4px; }
  .qa-item p { font-size: 13px; color: #6d5f4b; }

  /* 意见反馈 */
  .feedback { background: #f2faf7; }
  .fb-grid { display: grid; gap: 10px; }
  .fb-item {
    background: #fff; border-radius: 12px; padding: 12px 13px;
    border: 1px solid #d5ece2;
  }
  .fb-item h3 { font-size: 14px; color: #1e5546; margin-bottom: 4px; }
  .fb-item p { font-size: 12.5px; color: #4f6d63; }

  /* 下载专区 */
  .download { background: linear-gradient(180deg, #fff3e6, #ffe8d3); }
  .dl-panel {
    background: #fff; border-radius: 22px; padding: 20px 16px;
    box-shadow: 0 14px 34px rgba(160, 90, 30, .14);
    border: 1px solid #ffe2c6;
  }
  .dl-panel h2 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
  .dl-panel > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
  .steps { display: grid; gap: 10px; margin-bottom: 18px; }
  .step {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px;
    align-items: start;
  }
  .step b {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--peach), var(--peach-deep)); color: #fff; font-size: 13px;
  }
  .step h3 { font-size: 14px; color: var(--ink); margin-bottom: 2px; }
  .step p { font-size: 12.5px; color: #75655a; }

  /* 浮动下载 */
  .float-dl {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 90; display: flex; align-items: center; gap: 9px;
    background: #fff; padding: 8px 9px 8px 8px;
    border-radius: 999px; box-shadow: 0 12px 30px rgba(90, 45, 15, .26);
    border: 1px solid #ffe0c4; max-width: 94vw;
  }
  .float-dl img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
  .float-dl .fd-txt { font-size: 12px; color: #8a6a52; line-height: 1.25; }
  .float-dl .fd-txt strong { display: block; font-size: 13.5px; color: var(--ink); }
  .float-dl a.go {
    padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(120deg, var(--peach), var(--peach-deep));
    white-space: nowrap;
  }

  /* 复制弹窗 */
  .copy-mask {
    position: fixed; inset: 0; z-index: 120; display: none;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(30, 18, 10, .55);
  }
  .copy-mask.show { display: flex; }
  .copy-box {
    background: #fff; border-radius: 16px; padding: 18px 16px;
    width: 100%; max-width: 340px; text-align: center;
  }
  .copy-box p { font-size: 13.5px; color: #6b5a4d; margin-bottom: 10px; line-height: 1.6; }
  .copy-box code {
    display: block; font-size: 12px; word-break: break-all;
    background: #fff5ec; color: #b8551b; padding: 8px; border-radius: 8px; margin-bottom: 12px;
  }
  .copy-box .row { display: flex; gap: 8px; }
  .copy-box button {
    flex: 1; padding: 10px; border-radius: 10px; border: none; cursor: pointer;
    font-size: 13.5px; font-weight: 700;
  }
  .copy-box .ok { background: linear-gradient(120deg, var(--peach), var(--peach-deep)); color: #fff; }
  .copy-box .cancel { background: #f3ede7; color: #7a6a5e; }

  /* 页脚 */
  footer.site-foot {
    background: #21160f; color: #b6a79b; padding: 26px 0 30px; font-size: 12px;
  }
  .foot-grid { display: grid; gap: 18px; }
  .foot-brand { display: flex; align-items: center; gap: 8px; color: #f0e2d5; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
  .foot-brand img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
  .foot-nav a { color: #c9b8aa; font-size: 12px; }
  .foot-nav a:hover { color: #ffb877; }
  .foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 16px; padding-top: 14px; font-size: 11.5px; color: #8e7f74; line-height: 1.9; }
  .foot-bottom a { color: #9f9084; }
  .foot-bottom time { font-size: 11.5px; }

  /* 断点 */
  @media (min-width: 768px) {
    .brand { font-size: 18px; }
    .nav-toggle { display: none; }
    nav.main-nav { display: block; width: auto; }
    nav.main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 2px; padding: 0; }
    nav.main-nav a { font-size: 13.5px; padding: 8px 10px; }
    .hero-top { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 26px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-visual figure { flex: 0 0 40%; }
    .dl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .night-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .origin-row { grid-template-columns: .9fr 1.1fr; align-items: center; padding: 16px; }
    .origin-row.alt .pic { order: 2; }
    .wall figure { flex: 0 0 24%; }
    .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qa-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1.4fr 1fr; }
    section { padding: 54px 0; }
    .sec-head h2 { font-size: 26px; }
  }
  @media (min-width: 1024px) {
    .hero-copy h1 { font-size: 40px; }
    .hero-visual figure { flex: 0 0 32%; }
    .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .night-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .qa-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dl-panel { padding: 30px 28px; }
    .float-dl { left: auto; right: 22px; transform: none; bottom: 20px; }
  }