:root {
    --pink: #ff4d8d;
    --pink-soft: #ffd6e4;
    --yellow: #ffd23f;
    --yellow-soft: #fff3c4;
    --blue: #2b6dff;
    --blue-soft: #d6e4ff;
    --ink: #16121c;
    --paper: #fffaf3;
    --line: #16121c;
    --radius: 18px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  section { padding: 64px 20px; }
  .wrap { max-width: 1180px; margin: 0 auto; }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
  }
  .header-bar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: .5px;
    white-space: nowrap;
  }
  .brand img { height: 34px; width: auto; }
  .nav-scroll {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
  }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-scroll a {
    flex: 0 0 auto;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    transition: background .2s, color .2s, transform .2s;
  }
  .nav-scroll a:nth-child(3n+1):hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
  .nav-scroll a:nth-child(3n+2):hover { background: var(--yellow); transform: translateY(-2px); }
  .nav-scroll a:nth-child(3n):hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

  /* ---------- 首屏 ---------- */
  .hero {
    position: relative;
    padding: 56px 20px 72px;
    background:
      radial-gradient(circle at 12% 18%, var(--pink-soft) 0 22%, transparent 23%),
      radial-gradient(circle at 88% 12%, var(--yellow-soft) 0 18%, transparent 19%),
      radial-gradient(circle at 78% 82%, var(--blue-soft) 0 20%, transparent 21%),
      var(--paper);
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
  }
  .hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: clamp(28px, 6vw, 46px);
    line-height: 1.25;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
  }
  .hero-copy h1 mark {
    background: linear-gradient(transparent 58%, var(--yellow) 58%);
    color: inherit;
    padding: 0 4px;
  }
  .hero-copy p {
    font-size: 16px;
    margin: 0 0 12px;
    max-width: 30em;
  }
  .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 26px;
    padding: 0;
    list-style: none;
  }
  .hero-tags li {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 13px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #fff;
  }
  .hero-tags li:nth-child(1) { background: var(--pink); color: #fff; }
  .hero-tags li:nth-child(2) { background: var(--yellow); }
  .hero-tags li:nth-child(3) { background: var(--blue); color: #fff; }

  .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
  .btn {
    display: inline-flex;
    flex-direction: column;
    min-width: 156px;
    padding: 12px 22px;
    border: 3px solid var(--ink);
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
  }
  .btn small { font-size: 11.5px; font-weight: 600; opacity: .78; letter-spacing: .5px; }
  .btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
  .btn-android { background: var(--yellow); color: var(--ink); }
  .btn-ios { background: var(--blue); color: #fff; }

  .hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .hero-cards figure {
    margin: 0;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .hero-cards img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
  .hero-cards figure:nth-child(2) { transform: translateY(22px); }
  .hero-cards figure:nth-child(3) { transform: translateY(44px); }
  .hero-cards figcaption {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 6px 4px;
    border-top: 3px solid var(--ink);
    background: var(--yellow-soft);
  }

  /* ---------- 棋盘格条 ---------- */
  .checker-strip {
    height: 34px;
    background-image:
      linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
      linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
    background-size: 34px 34px;
    background-position: 0 0, 17px 17px;
    background-color: #fff;
  }

  /* ---------- 通用区块标题 ---------- */
  .sec-head { margin-bottom: 32px; }
  .sec-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 3px 10px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--pink);
    color: #fff;
    margin-bottom: 12px;
  }
  .sec-head h2 {
    font-size: clamp(23px, 4.4vw, 34px);
    margin: 0 0 10px;
    line-height: 1.3;
  }
  .sec-head p { margin: 0; max-width: 40em; font-size: 15.5px; }

  /* ---------- 剧集卡片墙 ---------- */
  .poster-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .poster {
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 6px 6px 0 var(--ink);
    display: flex;
    flex-direction: column;
  }
  .poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .poster-body { padding: 12px 14px 16px; border-top: 3px solid var(--ink); }
  .poster-body h3 { font-size: 16.5px; margin: 0 0 6px; }
  .poster-body p { font-size: 13.5px; margin: 0; color: #4a4453; }
  .poster-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    margin-bottom: 8px;
  }
  .tag-pink { background: var(--pink); color: #fff; }
  .tag-yellow { background: var(--yellow); }
  .tag-blue { background: var(--blue); color: #fff; }

  /* ---------- 热播区 ---------- */
  .hot-section { background: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
  .hot-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
  .hot-feature {
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--pink);
    background: #fff;
  }
  .hot-feature img { width: 100%; object-fit: cover; }
  .hot-feature figcaption { padding: 14px 18px; border-top: 3px solid var(--ink); font-size: 14px; }
  .hot-feature figcaption strong { display: block; font-size: 18px; margin-bottom: 4px; }

  .hot-list { display: flex; flex-direction: column; gap: 14px; }
  .hot-item {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 3px solid var(--ink);
    border-radius: 14px;
    padding: 10px 14px 10px 10px;
    background: var(--yellow-soft);
  }
  .hot-item:nth-child(even) { background: var(--blue-soft); }
  .hot-item img { width: 62px; height: 84px; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); flex: 0 0 auto; }
  .hot-item h3 { font-size: 15.5px; margin: 0 0 3px; }
  .hot-item p { font-size: 13px; margin: 0; color: #4a4453; }

  /* ---------- 分类三栏 ---------- */
  .cat-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .cat-card {
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .cat-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 3px solid var(--ink); }
  .cat-card-body { padding: 16px 18px 20px; }
  .cat-card-body h3 { margin: 0 0 8px; font-size: 19px; }
  .cat-card-body p { margin: 0 0 12px; font-size: 14px; }
  .cat-card-body ul { margin: 0; padding-left: 18px; font-size: 13.5px; }

  /* ---------- AI 短剧 / 横屏展示 ---------- */
  .ai-section { background: var(--blue-soft); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
  .ai-band { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
  .ai-band figure { margin: 0; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 7px 7px 0 var(--ink); background: #fff; }
  .ai-band figure img { width: 100%; }
  .ai-band figure figcaption { padding: 10px 14px; border-top: 3px solid var(--ink); font-size: 13px; font-weight: 600; }
  .ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
  .ai-point {
    border: 3px solid var(--ink);
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
  }
  .ai-point b { display: block; font-size: 15px; margin-bottom: 4px; }
  .ai-point span { font-size: 13px; color: #4a4453; }
  .ai-point:nth-child(1) { background: var(--pink-soft); }
  .ai-point:nth-child(4) { background: var(--yellow-soft); }

  /* ---------- 安装教程 ---------- */
  .steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
  .step {
    position: relative;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px 20px 18px 66px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
  }
  .step h3 { margin: 0 0 6px; font-size: 16.5px; }
  .step p { margin: 0; font-size: 14px; }

  /* ---------- 滚动评论 ---------- */
  .comment-section { background: var(--ink); color: #fff; border-top: 3px solid var(--ink); }
  .comment-section .sec-head p { color: #d8d2e0; }
  .comment-section .sec-kicker { background: var(--yellow); color: var(--ink); border-color: #fff; }
  .comment-track { display: flex; flex-direction: column; gap: 14px; }
  .comment-row { overflow: hidden; }
  .comment-line {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee 26s linear infinite;
  }
  .comment-row:nth-child(even) .comment-line { animation-direction: reverse; animation-duration: 32s; }
  .comment-track:hover .comment-line { animation-play-state: paused; }
  .bubble {
    flex: 0 0 auto;
    min-width: 230px;
    max-width: 300px;
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13.5px;
    border: 3px solid var(--pink);
  }
  .comment-row:nth-child(even) .bubble { border-color: var(--blue); }
  .bubble b { display: block; font-size: 13px; color: var(--pink); margin-bottom: 3px; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ---------- 排行榜 ---------- */
  .rank-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 14px;
  }
  .rank-table th {
    text-align: left;
    font-size: 12.5px;
    letter-spacing: 1px;
    padding: 0 12px 6px;
    color: #6a6377;
  }
  .rank-table td {
    background: #fff;
    padding: 12px;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
  }
  .rank-table tr td:first-child { border-left: 3px solid var(--ink); border-radius: 12px 0 0 12px; }
  .rank-table tr td:last-child { border-right: 3px solid var(--ink); border-radius: 0 12px 12px 0; }
  .rank-no {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    font-weight: 800;
    font-size: 13px;
    background: var(--yellow-soft);
  }
  .rank-table tr:nth-child(2) .rank-no { background: var(--pink); color: #fff; }
  .rank-table tr:nth-child(3) .rank-no { background: var(--yellow); }
  .rank-table tr:nth-child(4) .rank-no { background: var(--blue); color: #fff; }
  .rank-name { font-weight: 700; }
  .rank-thumb { width: 42px; height: 56px; object-fit: cover; border-radius: 6px; border: 2px solid var(--ink); }

  /* ---------- 双人图板块 ---------- */
  .duo-section { background: var(--yellow-soft); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
  .duo-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
  .duo-grid figure { margin: 0; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 8px 8px 0 var(--blue); background: #fff; }
  .duo-grid figure img { width: 100%; }
  .duo-grid figure figcaption { padding: 10px 14px; border-top: 3px solid var(--ink); font-size: 13px; }

  /* ---------- 问答 ---------- */
  .faq-section { background: #fff; border-top: 3px solid var(--ink); }
  .faq-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .faq-item {
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    padding: 16px 20px;
    background: var(--paper);
  }
  .faq-item:nth-child(odd) { background: var(--pink-soft); }
  .faq-item h3 { margin: 0 0 6px; font-size: 16px; }
  .faq-item p { margin: 0; font-size: 14px; }

  /* ---------- 截图墙 ---------- */
  .wall-section { background: var(--pink-soft); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
  .stills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stills figure { margin: 0; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; }
  .stills img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .stills figcaption { font-size: 12px; font-weight: 700; padding: 6px 8px; border-top: 2px solid var(--ink); text-align: center; }

  /* ---------- 底部下载 ---------- */
  .final-cta {
    background: linear-gradient(120deg, var(--pink) 0%, var(--yellow) 55%, var(--blue) 100%);
    border-top: 3px solid var(--ink);
    text-align: center;
  }
  .final-cta h2 { font-size: clamp(24px, 4.6vw, 36px); margin: 0 0 12px; }
  .final-cta p { margin: 0 auto 26px; max-width: 32em; font-size: 15.5px; }
  .final-cta .btn-row { justify-content: center; }

  /* ---------- 底部与页脚 ---------- */
  .site-footer {
    background: var(--ink);
    color: #b9b3c4;
    padding: 40px 20px 34px;
    font-size: 12.5px;
    line-height: 1.9;
  }
  .footer-inner { max-width: 1180px; margin: 0 auto; }
  .footer-title { color: #fff; font-weight: 800; font-size: 14px; margin: 0 0 10px; letter-spacing: .5px; }
  .footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
  }
  .footer-tags li {
    border: 1px solid #4a4453;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 12px;
    color: #cfc9d8;
  }
  .footer-meta { border-top: 1px solid #332e3c; padding-top: 16px; }
  .footer-meta a { color: #b9b3c4; text-decoration: underline; text-underline-offset: 3px; }
  .footer-meta p { margin: 4px 0; }
  .footer-meta time { font-variant-numeric: tabular-nums; }

  /* ---------- 复制弹窗 ---------- */
  .mask {
    position: fixed;
    inset: 0;
    background: rgba(22, 18, 28, .62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 200;
  }
  .mask.show { display: flex; }
  .dialog {
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--pink);
    padding: 24px 22px;
    max-width: 380px;
    width: 100%;
    text-align: center;
  }
  .dialog p { font-size: 14.5px; margin: 0 0 16px; font-weight: 700; }
  .dialog code {
    display: block;
    word-break: break-all;
    font-size: 12.5px;
    background: var(--yellow-soft);
    border: 2px dashed var(--ink);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 16px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
  }
  .dialog-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .dialog button {
    font: inherit;
    font-weight: 800;
    font-size: 14px;
    padding: 9px 20px;
    border: 3px solid var(--ink);
    border-radius: 12px;
    cursor: pointer;
    background: var(--yellow);
  }
  .dialog button.ghost { background: #fff; }

  /* ---------- 断点 ---------- */
  @media (min-width: 768px) {
    section { padding: 76px 28px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr 1fr; }
    .faq-list { grid-template-columns: 1fr 1fr; }
    .stills { grid-template-columns: repeat(3, 1fr); }
    .hot-layout { grid-template-columns: 1fr 1fr; align-items: start; }
    .duo-grid { grid-template-columns: 0.9fr 1.1fr; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; }
  }
  @media (min-width: 1024px) {
    .poster-wall { grid-template-columns: repeat(4, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .stills { grid-template-columns: repeat(4, 1fr); }
    .ai-band { grid-template-columns: 1.05fr .95fr; }
    .ai-points { grid-template-columns: 1fr 1fr; }
    .hero-grid { gap: 56px; }
    .hero-cards figure:nth-child(2) { transform: translateY(26px); }
    .hero-cards figure:nth-child(3) { transform: translateY(52px); }
  }