:root {
    --ink: #1b1520;
    --ink-soft: #4a3f52;
    --paper: #fdf8f2;
    --wine: #6b1f3a;
    --rose: #d94b6b;
    --amber: #f0a13a;
    --mint: #16a08a;
    --night: #171225;
  }
  * { 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;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    padding-bottom: 86px;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* ===== 头部 ===== */
  .site-head {
    position: sticky; top: 0; z-index: 60;
    background: rgba(253, 248, 242, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 31, 58, .12);
  }
  .head-in { display: flex; align-items: center; gap: 14px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: .5px; white-space: nowrap; }
  .brand img { width: auto; height: 32px; border-radius: 8px; object-fit: cover; }
  .nav-desk { display: none; margin-left: auto; gap: 4px; flex-wrap: wrap; }
  .nav-desk a {
    font-size: 14px; padding: 6px 10px; border-radius: 999px;
    color: var(--ink-soft); transition: color .2s, background .2s;
  }
  .nav-desk a:hover, .nav-desk a:focus-visible { color: #fff; background: var(--wine); }
  .burger {
    margin-left: auto; width: 42px; height: 38px; border-radius: 10px;
    border: 1px solid rgba(107, 31, 58, .25); background: transparent;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 2px; background: var(--wine); border-radius: 2px; }
  .nav-mob { display: none; border-top: 1px dashed rgba(107, 31, 58, .18); padding: 8px 0 14px; }
  .nav-mob.open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .nav-mob a { font-size: 14px; padding: 9px 12px; border-radius: 8px; background: #fff; color: var(--ink-soft); }

  /* ===== 首屏 ===== */
  .hero {
    background:
      radial-gradient(circle at 12% 18%, rgba(240, 161, 58, .28), transparent 46%),
      radial-gradient(circle at 88% 8%, rgba(107, 31, 58, .32), transparent 50%),
      linear-gradient(160deg, #221527 0%, #3a1c31 52%, #5a2438 100%);
    color: #fff;
    padding: 34px 0 0;
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
  }
  .hero-grid { display: grid; gap: 26px; position: relative; z-index: 2; }
  .hero-copy { min-width: 0; }
  .kicker {
    display: inline-block; font-size: 12px; letter-spacing: 2px;
    padding: 5px 13px; border-radius: 999px;
    background: rgba(240, 161, 58, .18); color: #ffd79a;
    border: 1px solid rgba(240, 161, 58, .45);
  }
  .hero h1 {
    font-size: clamp(26px, 6.4vw, 44px);
    line-height: 1.28; margin: 14px 0 12px; font-weight: 800;
    word-break: break-word;
  }
  .hero h1 em { font-style: normal; color: #ffc46b; }
  .hero-lead { font-size: 15px; color: #e6d8e2; max-width: 34em; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
  .hero-tags span {
    font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    color: #f6ecf1;
  }
  .dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .dl-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
    color: #fff; transition: transform .18s, background .18s, border-color .18s;
    max-width: 100%;
  }
  .dl-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .2); }
  .dl-btn main, .dl-btn strong { font-weight: 700; }
  .dl-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: #ffc46b; flex: none; }
  .dl-btn.primary {
    background: linear-gradient(135deg, #f0a13a, #d94b6b);
    border-color: transparent; color: #2a0f1c;
  }
  .dl-btn.primary:hover { background: linear-gradient(135deg, #ffb54f, #e85b7c); }

  /* 首屏三图轮播 */
  .hero-stage { position: relative; min-height: 300px; }
  .slides { position: relative; height: 100%; min-height: 300px; }
  .slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    transform: translateX(24px) scale(.97); opacity: 0; pointer-events: none;
    transition: opacity .55s ease, transform .55s ease;
  }
  .slide.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
  .slide figure {
    width: min(100%, 320px); border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .2);
    background: #241a2c;
  }
  .slide figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .slide figcaption {
    font-size: 12.5px; padding: 9px 12px; color: #f0e4ea;
    background: rgba(20, 12, 24, .85); display: flex; justify-content: space-between; gap: 8px;
  }
  .stage-side { display: none; }
  .stage-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
  .stage-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, .32); transition: width .2s, background .2s;
  }
  .stage-dots button.on { width: 24px; border-radius: 999px; background: #ffc46b; }

  /* 跑马灯 */
  .marquee {
    margin-top: 32px; background: rgba(0, 0, 0, .4);
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden; position: relative; z-index: 2;
  }
  .marquee-track { display: flex; width: max-content; animation: slide-x 30s linear infinite; }
  .marquee-track span {
    padding: 10px 26px; font-size: 13.5px; font-weight: 700; white-space: nowrap;
    background: linear-gradient(90deg, #ffd166, #ff5f7e, #8f6bff, #33d2b0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  @keyframes slide-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ===== 通用区块 ===== */
  section { padding: 54px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 {
    font-size: clamp(21px, 4.6vw, 30px); line-height: 1.32; font-weight: 800;
    word-break: break-word;
  }
  .sec-head p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); max-width: 44em; }
  .sec-num {
    display: inline-block; font-size: 12px; letter-spacing: 1.5px; font-weight: 700;
    padding: 3px 10px; border-radius: 6px; margin-bottom: 8px;
  }

  /* AI魔改 —— 深色 + 编号条 */
  .ai-sec { background: #171225; color: #eee6f2; }
  .ai-sec .sec-num { background: rgba(240, 161, 58, .16); color: #ffc46b; }
  .ai-sec .sec-head p { color: #bcb0c8; }
  .ai-list { display: grid; gap: 12px; }
  .ai-item {
    display: grid; grid-template-columns: 38px 1fr; gap: 12px;
    background: #221b33; border: 1px solid #332a48; border-radius: 12px;
    padding: 14px 16px;
  }
  .ai-item b {
    font-size: 15px; color: #ffc46b; align-self: start;
    border-right: 1px solid #3d3352; padding-right: 8px; text-align: center;
  }
  .ai-item h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
  .ai-item p { font-size: 13.5px; color: #bcb0c8; }

  /* 魔改短剧 —— 海报瀑布 */
  .drama-sec { background: #fdf8f2; }
  .drama-sec .sec-num { background: rgba(107, 31, 58, .1); color: var(--wine); }
  .poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .poster {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(107, 31, 58, .12);
    box-shadow: 0 6px 18px rgba(60, 20, 40, .07);
    display: flex; flex-direction: column;
  }
  .poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .poster-body { padding: 10px 11px 12px; }
  .poster-body h3 { font-size: 14.5px; line-height: 1.4; }
  .poster-body p { font-size: 12.5px; color: var(--ink-soft); margin-top: 5px; }
  .poster-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .poster-meta span {
    font-size: 11px; padding: 2px 7px; border-radius: 5px;
    background: #f6ebf0; color: var(--wine);
  }
  .poster-meta .date { background: #eef6f4; color: #0f7f70; }

  /* 热播魔改剧 —— 左竖图右清单 */
  .hot-sec { background: linear-gradient(180deg, #fbf1f4, #fdf8f2); }
  .hot-sec .sec-num { background: rgba(217, 75, 107, .14); color: #b1304e; }
  .hot-layout { display: grid; gap: 22px; }
  .hot-visual { position: relative; }
  .hot-visual img {
    width: 100%; border-radius: 16px; object-fit: cover;
    box-shadow: 0 16px 34px rgba(90, 25, 55, .18);
  }
  .hot-visual .badge {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(23, 18, 37, .82); color: #ffe0a3;
    font-size: 12px; padding: 5px 12px; border-radius: 999px;
  }
  .hot-list { display: grid; gap: 9px; }
  .hot-list li {
    list-style: none; display: flex; gap: 10px; align-items: baseline;
    background: #fff; border-left: 3px solid var(--rose); border-radius: 0 10px 10px 0;
    padding: 9px 13px; font-size: 13.5px; color: var(--ink-soft);
  }
  .hot-list li b { color: var(--wine); flex: none; font-size: 12.5px; }

  /* 今日热播榜 —— 榜单 + 时间轴 */
  .rank-sec { background: #10222a; color: #e2f3ef; }
  .rank-sec .sec-num { background: rgba(22, 160, 138, .18); color: #6fe3cd; }
  .rank-sec .sec-head p { color: #9fc0ba; }
  .rank-layout { display: grid; gap: 28px; }
  .rank-board { background: #16303a; border-radius: 14px; padding: 6px 8px; border: 1px solid #234650; }
  .rank-row {
    display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center;
    padding: 10px 8px; border-bottom: 1px dashed rgba(159, 192, 186, .22);
  }
  .rank-row:last-child { border-bottom: none; }
  .rank-row i { font-style: normal; font-size: 13px; color: #6fe3cd; font-weight: 700; text-align: center; }
  .rank-row p { font-size: 13.5px; color: #e8f6f2; }
  .rank-row p small { display: block; font-size: 12px; color: #8fb3ad; margin-top: 2px; }
  .rank-row span { font-size: 12px; color: #ffd166; white-space: nowrap; }

  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px;
    background: linear-gradient(#6fe3cd, #234650);
  }
  .tl-item { position: relative; padding: 0 0 16px 0; }
  .tl-item::before {
    content: ""; position: absolute; left: -24px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #10222a; border: 2px solid #6fe3cd;
  }
  .tl-item time { font-size: 13px; font-weight: 700; color: #6fe3cd; letter-spacing: .5px; }
  .tl-item p { font-size: 13px; color: #c8ded9; margin-top: 2px; }

  /* 会员权益 */
  .vip-sec { background: #fdf3e4; }
  .vip-sec .sec-num { background: rgba(240, 161, 58, .22); color: #9c5d0b; }
  .vip-grid { display: grid; gap: 12px; }
  .vip-card {
    background: #fff; border-radius: 12px; padding: 14px 16px;
    border: 1px solid #f0dcbe; border-top: 3px solid var(--amber);
  }
  .vip-card h3 { font-size: 15px; margin-bottom: 4px; color: #7a4708; }
  .vip-card p { font-size: 13px; color: var(--ink-soft); }

  /* 隐私安全 */
  .safe-sec { background: #eef5f1; }
  .safe-sec .sec-num { background: rgba(22, 160, 138, .16); color: #0c7a68; }
  .safe-q { display: grid; gap: 10px; }
  .safe-q details {
    background: #fff; border-radius: 10px; padding: 12px 15px;
    border: 1px solid #d6e7e0;
  }
  .safe-q summary {
    cursor: pointer; font-size: 14.5px; font-weight: 600; color: #0d5f52;
    list-style: none;
  }
  .safe-q summary::-webkit-details-marker { display: none; }
  .safe-q summary::before { content: "＋ "; color: var(--mint); font-weight: 800; }
  .safe-q details[open] summary::before { content: "－ "; }
  .safe-q p { font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; }

  /* 意见反馈 */
  .fb-sec { background: #2b1a33; color: #f0e6f4; }
  .fb-sec .sec-num { background: rgba(217, 75, 107, .22); color: #ff9bb2; }
  .fb-sec .sec-head p { color: #c3b0cd; }
  .fb-layout { display: grid; gap: 22px; }
  .fb-note { background: #3a2444; border-radius: 14px; padding: 18px; border: 1px solid #503260; }
  .fb-note h3 { font-size: 16px; color: #ffc46b; margin-bottom: 8px; }
  .fb-note p { font-size: 13.5px; color: #d5c6de; }
  .fb-list { display: grid; gap: 9px; }
  .fb-list li {
    list-style: none; font-size: 13.5px; color: #e3d5ea;
    background: #35203f; border-radius: 9px; padding: 10px 13px;
    border-left: 3px solid #d94b6b;
  }

  /* 常见问题 */
  .faq-sec { background: #fbf7f0; }
  .faq-sec .sec-num { background: rgba(107, 31, 58, .1); color: var(--wine); }
  .faq-grid { display: grid; gap: 12px; }
  .faq-card { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid #eee0d3; }
  .faq-card h3 { font-size: 14.5px; color: var(--wine); margin-bottom: 5px; }
  .faq-card p { font-size: 13.5px; color: var(--ink-soft); }

  /* 评论 */
  .cmt-sec { background: linear-gradient(180deg, #fdf8f2, #f6ecf2); }
  .cmt-sec .sec-num { background: rgba(217, 75, 107, .14); color: #b1304e; }
  .cmt-grid { display: grid; gap: 12px; }
  .cmt {
    display: grid; grid-template-columns: 40px 1fr; gap: 12px;
    background: #fff; border-radius: 12px; padding: 13px 15px;
    border: 1px solid rgba(107, 31, 58, .1);
  }
  .cmt img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .cmt b { font-size: 13px; color: var(--wine); }
  .cmt p { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }

  /* 下载专区 */
  .dl-sec {
    background:
      radial-gradient(circle at 80% 10%, rgba(240, 161, 58, .3), transparent 45%),
      linear-gradient(150deg, #33193c, #591f33 70%, #7a2a3d);
    color: #fff;
  }
  .dl-sec .sec-num { background: rgba(255, 255, 255, .16); color: #ffd79a; }
  .dl-sec .sec-head p { color: #ecd9e2; }
  .dl-layout { display: grid; gap: 26px; }
  .steps { display: grid; gap: 10px; }
  .step {
    display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px; padding: 12px 14px;
  }
  .step b {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #f0a13a, #d94b6b); color: #2a0f1c; font-size: 13px;
  }
  .step h3 { font-size: 14.5px; margin-bottom: 3px; }
  .step p { font-size: 13px; color: #ecd9e2; }
  .dl-panel {
    background: rgba(14, 8, 18, .42); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px; padding: 20px;
  }
  .dl-panel h3 { font-size: 16px; margin-bottom: 6px; color: #ffd79a; }
  .dl-panel > p { font-size: 13px; color: #e6d3dd; margin-bottom: 16px; }
  .dl-panel .dl-row { gap: 9px; }
  .dl-panel .dl-btn { font-size: 13.5px; padding: 10px 16px; }

  /* 尾部备案/页脚 */
  .site-foot {
    background: #140f1c; color: #9d93a8; font-size: 12.5px;
    padding: 30px 0 26px; line-height: 1.9;
  }
  .foot-grid { display: grid; gap: 20px; }
  .site-foot h3 { font-size: 13px; color: #d6cddf; margin-bottom: 6px; }
  .site-foot a { color: #b9aec5; }
  .site-foot a:hover { color: #ffc46b; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; }
  .foot-bottom {
    margin-top: 20px; padding-top: 14px; border-top: 1px solid #2a2136;
    display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: #8a8095;
  }
  .foot-bottom time { color: #8a8095; }

  /* 浮动下载 */
  .float-dl {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 80; width: calc(100% - 24px); max-width: 430px;
    display: flex; align-items: center; gap: 10px;
    background: rgba(23, 18, 37, .95);
    border: 1px solid rgba(255, 196, 107, .45);
    border-radius: 14px; padding: 9px 11px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);
  }
  .float-dl img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: none; }
  .float-txt { min-width: 0; flex: 1; }
  .float-txt b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-txt span { display: block; font-size: 11.5px; color: #bdb0c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-dl .go {
    flex: none; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px;
    background: linear-gradient(135deg, #f0a13a, #d94b6b); color: #2a0f1c;
  }

  /* 复制提示框 */
  .copy-mask {
    position: fixed; inset: 0; z-index: 120; display: none;
    background: rgba(12, 8, 16, .62); align-items: center; justify-content: center; padding: 20px;
  }
  .copy-mask.on { display: flex; }
  .copy-box {
    width: 100%; max-width: 340px; background: #fff; color: var(--ink);
    border-radius: 16px; padding: 20px; text-align: center;
  }
  .copy-box p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
  .copy-box .url {
    font-size: 12.5px; word-break: break-all; background: #f6eef3; color: var(--wine);
    border-radius: 8px; padding: 9px 10px; margin-bottom: 14px;
  }
  .copy-box button {
    width: 100%; border: none; cursor: pointer; font-size: 14px; font-weight: 700;
    padding: 11px; border-radius: 10px; color: #2a0f1c;
    background: linear-gradient(135deg, #f0a13a, #d94b6b);
  }
  .copy-box .close { margin-top: 9px; font-size: 12.5px; color: #8a7f92; background: none; }

  @media (min-width: 768px) {
    body { padding-bottom: 0; }
    .hero { padding-top: 44px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
    .poster-grid { grid-template-columns: repeat(3, 1fr); }
    .ai-list { grid-template-columns: 1fr 1fr; }
    .vip-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr 1fr; }
    .cmt-grid { grid-template-columns: 1fr 1fr; }
    .hot-layout { grid-template-columns: .82fr 1.18fr; align-items: start; }
    .rank-layout { grid-template-columns: 1.1fr .9fr; }
    .fb-layout { grid-template-columns: .9fr 1.1fr; }
    .dl-layout { grid-template-columns: 1fr 1fr; align-items: start; }
    .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .float-dl { display: none; }
  }

  @media (min-width: 1024px) {
    section { padding: 68px 0; }
    .nav-desk { display: flex; }
    .burger { display: none; }
    .poster-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .ai-list { grid-template-columns: repeat(3, 1fr); }
    .vip-grid { grid-template-columns: repeat(4, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .cmt-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stage { min-height: 420px; }
    .stage-side {
      display: block; position: absolute; right: -6px; top: 0; width: 148px;
      border-radius: 12px; overflow: hidden; opacity: .5;
      box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
    }
    .stage-side img { aspect-ratio: 3 / 4; object-fit: cover; }
    .hero h1 { font-size: 46px; }
    .float-dl { display: flex; }
  }