:root {
    --ink: #1b1b24;
    --ink-soft: #4a4a5c;
    --muted: #7a7a8c;
    --line: rgba(27,27,36,.12);
    --brand: #f2a12b;
    --brand-deep: #d97706;
    --plum: #4a2a5e;
    --radius: 18px;
    --maxw: 1180px;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--ink);
    background: #fffaef;
    line-height: 1.75;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; }
  h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  p { margin: 0 0 1em; }
  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--brand); color: #23180a;
    font-weight: 700; font-size: 15px;
    border: 0; cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    box-shadow: 0 6px 18px rgba(217,119,6,.22);
  }
  .btn:hover { transform: translateY(-2px); background: #ffb843; }
  .btn-ghost {
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--ink);
    box-shadow: none;
  }
  .btn-ghost:hover { background: rgba(27,27,36,.06); }
  .tag {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600;
    background: rgba(242,161,43,.18); color: #8a4b00;
  }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,250,239,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 34px; width: 34px; object-fit: cover; border-radius: 9px; }
  .brand-name { font-weight: 800; font-size: 18px; letter-spacing: .5px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
    font-size: 20px; color: var(--ink);
  }
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 64px;
    background: #fffdf7; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    max-height: 70vh; overflow-y: auto;
  }
  .main-nav ul { list-style: none; margin: 0; padding: 0; }
  .main-nav a {
    display: block; padding: 10px 4px; font-size: 15px;
    border-bottom: 1px dashed var(--line);
  }
  .main-nav a:last-child { border-bottom: 0; }

  /* ---------- Hero ---------- */
  .hero {
    padding: 44px 0 36px;
    background:
      radial-gradient(900px 420px at 85% -10%, rgba(242,161,43,.30), transparent 62%),
      radial-gradient(700px 400px at 0% 10%, rgba(122,74,158,.18), transparent 60%),
      #fffaef;
  }
  .hero-grid { display: grid; gap: 28px; }
  .hero h1 {
    font-size: 32px; font-weight: 900; letter-spacing: .2px; margin-bottom: 14px;
  }
  .hero h1 .hl {
    background: linear-gradient(transparent 62%, rgba(242,161,43,.55) 62%);
    padding: 0 2px;
  }
  .hero-lead { font-size: 16px; color: var(--ink-soft); max-width: 36em; }
  .hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
  .device-btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .device-btns .btn { font-size: 14px; padding: 11px 18px; }
  .device-btns .btn-primary { background: var(--ink); color: #ffe9c4; box-shadow: 0 8px 20px rgba(27,27,36,.22); }
  .device-btns .btn-primary:hover { background: #2c2c3a; }

  .marquee {
    margin-top: 30px; overflow: hidden; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line); padding: 10px 0;
    background: rgba(255,255,255,.5);
  }
  .marquee-track {
    display: flex; gap: 28px; width: max-content;
    animation: slide 26s linear infinite;
    font-size: 13px; color: var(--muted); white-space: nowrap;
  }
  .marquee-track span::before { content: "◆ "; color: var(--brand-deep); }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
  }

  .hero-poster {
    position: relative; border-radius: 24px; overflow: hidden;
    background: var(--plum);
    box-shadow: 0 22px 50px rgba(74,42,94,.28);
  }
  .hero-poster img { width: 100%; height: 100%; object-fit: cover; }
  .hero-poster .poster-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(18,10,26,.86), transparent);
    color: #fff;
  }
  .poster-cap strong { display: block; font-size: 17px; }
  .poster-cap span { font-size: 12px; color: rgba(255,255,255,.78); }

  /* ---------- Section base ---------- */
  section { padding: 52px 0; }
  .sec-head { max-width: 44em; margin-bottom: 26px; }
  .sec-head p { color: var(--ink-soft); }
  .kicker {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; color: var(--brand-deep); margin-bottom: 6px;
  }

  /* ---------- 漫改热剧社 ---------- */
  .top-zone { background: #f4efe6; }
  .top-layout { display: grid; gap: 26px; align-items: start; }
  .top-poster {
    border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.16);
    background: #ddd;
  }
  .hot-list { list-style: none; margin: 0; padding: 0; }
  .hot-list li {
    display: grid; grid-template-columns: 30px 1fr; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed rgba(27,27,36,.16);
  }
  .hot-list li:last-child { border-bottom: 0; }
  .hot-no {
    font-weight: 900; font-size: 16px; color: var(--brand-deep);
    font-style: italic;
  }
  .hot-list strong { display: block; font-size: 15px; }
  .hot-list em {
    display: block; font-style: normal; font-size: 13px; color: var(--muted);
  }

  /* ---------- 新漫速递 ---------- */
  .new-zone { background: #e9f1f7; }
  .new-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .new-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(30,60,90,.10);
    display: flex; flex-direction: column;
  }
  .new-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .new-card .body { padding: 12px 13px 15px; flex: 1; }
  .new-card h3 { font-size: 15px; margin-bottom: 4px; }
  .new-card p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
  .new-card .date { font-size: 12px; color: #3d6b8e; font-weight: 600; }

  /* ---------- 漫剧盲盒 ---------- */
  .box-zone { background: #2c1d38; color: #f6eefc; }
  .box-zone .kicker { color: #f2b45c; }
  .box-zone .sec-head p { color: rgba(246,238,252,.72); }
  .box-layout { display: grid; gap: 22px; }
  .blind-card {
    background: linear-gradient(160deg, #452b56, #241730);
    border: 1px solid rgba(242,180,92,.28);
    border-radius: 20px; padding: 22px;
  }
  .blind-card h3 { color: #f2b45c; }
  .blind-card p { color: rgba(246,238,252,.8); font-size: 14px; }
  .blind-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .blind-tags span {
    font-size: 12px; padding: 5px 12px; border-radius: 999px;
    background: rgba(242,180,92,.14); color: #ffd79b;
    border: 1px solid rgba(242,180,92,.32);
  }
  .blind-notes { list-style: none; margin: 0; padding: 0; }
  .blind-notes li {
    padding: 11px 0 11px 22px; position: relative;
    font-size: 14px; color: rgba(246,238,252,.82);
    border-bottom: 1px solid rgba(246,238,252,.10);
  }
  .blind-notes li::before {
    content: "?"; position: absolute; left: 0; top: 9px;
    width: 16px; height: 16px; line-height: 16px; text-align: center;
    font-size: 11px; font-weight: 800; border-radius: 50%;
    background: rgba(242,180,92,.2); color: #f2b45c;
  }
  .blind-notes li:last-child { border-bottom: 0; }

  /* ---------- 完结漫剧库 (timeline) ---------- */
  .done-zone { background: #f6f3ea; }
  .timeline {
    list-style: none; margin: 0; padding: 0 0 0 26px; position: relative;
  }
  .timeline::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(#d97706, #c9c1ae);
    border-radius: 2px;
  }
  .timeline li { position: relative; padding: 0 0 20px 0; }
  .timeline li::before {
    content: ""; position: absolute; left: -26px; top: 7px;
    width: 11px; height: 11px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand-deep);
  }
  .timeline time {
    display: inline-block; font-weight: 800; font-size: 14px;
    color: var(--brand-deep); margin-right: 10px;
  }
  .timeline strong { font-size: 15px; }
  .timeline p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }

  /* ---------- 吐槽墙 ---------- */
  .wall-zone { background: #fdeef0; }
  .wall-grid { display: grid; gap: 14px; }
  .wall-item {
    background: #fff; border-radius: 14px; padding: 16px 16px 14px;
    border: 1px solid rgba(180,60,90,.14);
  }
  .wall-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .wall-user img {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
    border: 1.5px solid #fff; box-shadow: 0 0 0 1.5px rgba(180,60,90,.22);
  }
  .wall-user strong { font-size: 14px; }
  .wall-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }
  .wall-item .quote { color: #b4465f; font-weight: 700; }

  /* ---------- 二创社 ---------- */
  .rewrite-zone { background: #eef3ec; }
  .rewrite-layout { display: grid; gap: 24px; align-items: center; }
  .rewrite-img {
    border-radius: 20px; overflow: hidden; box-shadow: 0 16px 34px rgba(40,70,50,.18);
  }
  .rewrite-cols {
    display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px;
  }
  .rewrite-cols article {
    background: #fff; border-radius: 12px; padding: 13px 15px;
    border-left: 3px solid #6f9a72;
  }
  .rewrite-cols h3 { font-size: 15px; margin-bottom: 3px; }
  .rewrite-cols p { font-size: 13px; color: var(--muted); margin: 0; }

  /* ---------- 隐私安全 ---------- */
  .privacy-zone { background: #e6eef0; }
  .privacy-grid { display: grid; gap: 14px; }
  .privacy-grid article {
    background: #fff; border-radius: 16px; padding: 18px;
  }
  .privacy-grid h3 { font-size: 15px; margin-bottom: 4px; }
  .privacy-grid p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
  .privacy-num {
    display: inline-block; font-weight: 900; font-size: 13px;
    color: #3d7b86; margin-bottom: 6px;
  }

  /* ---------- FAQ ---------- */
  .faq-zone { background: #faf6ea; }
  .faq-list { display: grid; gap: 10px; }
  .faq-list details {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 0 16px;
  }
  .faq-list summary {
    cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 15px;
    list-style: none; position: relative; padding-right: 26px;
  }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after {
    content: "+"; position: absolute; right: 0; top: 12px;
    font-size: 18px; color: var(--brand-deep); font-weight: 700;
  }
  .faq-list details[open] summary::after { content: "−"; }
  .faq-list details p {
    font-size: 14px; color: var(--ink-soft); margin: 0 0 14px;
  }

  /* ---------- Download ---------- */
  .dl-zone { background: #fff8ec; }
  .steps { display: grid; gap: 12px; margin-bottom: 26px; }
  .step {
    display: grid; grid-template-columns: 34px 1fr; gap: 12px;
    background: #fff; border-radius: 14px; padding: 15px 16px;
    border: 1px solid var(--line);
  }
  .step-no {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand); color: #23180a;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px;
  }
  .step strong { display: block; font-size: 15px; }
  .step p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
  .dl-panel {
    background: linear-gradient(135deg, #2a1f14, #3d2a17);
    color: #ffeccd; border-radius: 22px; padding: 26px 22px;
  }
  .dl-panel h2 { color: #ffd79b; }
  .dl-panel p { color: rgba(255,236,205,.78); font-size: 14px; }
  .dl-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
  .dl-links .btn {
    background: #ffd79b; color: #2a1f14; box-shadow: none;
    font-size: 14px; padding: 11px 20px;
  }
  .dl-links .btn:hover { background: #ffe9bf; }
  .dl-note { font-size: 12px; color: rgba(255,236,205,.6); margin-top: 14px; }

  /* ---------- Footer ---------- */
  .site-footer {
    background: #211a12; color: rgba(255,236,205,.62);
    padding: 34px 0 26px; font-size: 13px;
  }
  .footer-grid { display: grid; gap: 22px; }
  .footer-brand strong { color: #ffd79b; display: block; font-size: 15px; margin-bottom: 6px; }
  .footer-brand p { margin: 0; font-size: 12.5px; line-height: 1.8; }
  .footer-nav h3 { color: #ffd79b; font-size: 13px; margin-bottom: 10px; }
  .footer-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px 16px;
  }
  .footer-nav a:hover { color: #ffd79b; }
  .footer-bottom {
    margin-top: 24px; padding-top: 16px;
    border-top: 1px solid rgba(255,236,205,.14);
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    font-size: 12px; align-items: center;
  }
  .footer-bottom a { color: rgba(255,236,205,.72); }
  .footer-bottom a:hover { color: #ffd79b; }
  .footer-bottom time { color: rgba(255,236,205,.5); }

  /* ---------- Floating download ---------- */
  .float-dl {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
    z-index: 80;
    display: flex; align-items: center; gap: 9px;
    padding: 9px 18px 9px 10px; border-radius: 999px;
    background: #2a1f14; color: #ffeccd;
    box-shadow: 0 10px 26px rgba(0,0,0,.26);
    font-size: 14px; font-weight: 700;
    transition: transform .18s ease;
  }
  .float-dl:hover { transform: translateX(-50%) translateY(-2px); }
  .float-dl img {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
    border: 1.5px solid rgba(255,215,155,.6);
  }

  /* ---------- Copy modal ---------- */
  .copy-mask {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(20,14,6,.55);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
  }
  .copy-mask[hidden] { display: none; }
  .copy-box {
    background: #fffaef; color: var(--ink);
    border-radius: 18px; padding: 22px; width: 100%; max-width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
  }
  .copy-box p { font-size: 14px; margin: 0 0 12px; font-weight: 600; }
  .copy-box .url {
    display: block; word-break: break-all; font-size: 12.5px;
    background: #fff; border: 1px dashed rgba(27,27,36,.24);
    border-radius: 10px; padding: 10px 12px; color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .copy-box .close-btn {
    width: 100%; justify-content: center; background: #2a1f14; color: #ffeccd;
    box-shadow: none;
  }

  /* ---------- Breakpoints ---------- */
  @media (min-width: 768px) {
    .hero { padding: 60px 0 44px; }
    .hero h1 { font-size: 40px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
    .hero-poster { aspect-ratio: 3 / 4; }
    .sec-head h2 { font-size: 30px; }
    .new-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rewrite-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr; }
    .top-layout { grid-template-columns: .8fr 1.2fr; gap: 34px; }
    .box-layout { grid-template-columns: .9fr 1.1fr; gap: 30px; }
    .rewrite-layout { grid-template-columns: .85fr 1.15fr; }
    section { padding: 68px 0; }
  }
  @media (min-width: 1024px) {
    .site-header .header-inner { height: 72px; }
    .nav-toggle { display: none; }
    .main-nav {
      display: block !important; position: static !important;
      background: transparent !important; border: 0 !important;
      padding: 0 !important; max-height: none !important;
    }
    .main-nav ul { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
    .main-nav a {
      padding: 8px 11px; border-bottom: 0; border-radius: 8px;
      font-size: 14px; color: var(--ink-soft);
    }
    .main-nav a:hover { background: rgba(242,161,43,.16); color: var(--ink); }
    .brand img { height: 36px; width: 36px; }
    .hero h1 { font-size: 46px; }
    .new-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-poster { max-height: 560px; }
  }