:root {
    --bg: #f4f5f6;
    --surface: #ffffff;
    --ink: #1a1c1e;
    --muted: #5f6670;
    --brand: #e6372d;
    --brand-deep: #b8231b;
    --melon: #22a06b;
    --line: #e2e5e8;
    --radius: 14px;
    --shadow: 0 6px 22px rgba(22, 26, 30, 0.08);
    --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { line-height: 1.35; margin: 0 0 0.6em; }
  p { margin: 0 0 0.9em; color: #3a4046; }
  .wrap { width: min(1200px, 92vw); margin: 0 auto; }

  /* ---------- 吸顶导航 ---------- */
  .topbar {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    display: flex; align-items: center; gap: 18px;
    padding: 10px 0;
  }
  .brandmark { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; }
  .brandmark img { height: 34px; width: 34px; object-fit: contain; border-radius: 8px; }
  .navlinks { display: none; gap: 18px; font-size: 14.5px; color: var(--muted); }
  .navlinks a:hover { color: var(--brand); }
  .download-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--brand); color: #fff; font-weight: 700;
    padding: 10px 18px; border-radius: 999px; font-size: 15px;
    box-shadow: 0 4px 14px rgba(230, 55, 45, 0.34);
    transition: background .2s, transform .2s;
  }
  .download-btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
  .download-btn svg { width: 16px; height: 16px; fill: currentColor; }
  .topbar .download-btn { margin-left: auto; }

  /* ---------- 首屏 ---------- */
  .hero {
    position: relative;
    padding: 26px 0 0;
    background: linear-gradient(180deg, #fff6f4 0%, #f4f5f6 100%);
    overflow: hidden;
  }
  .hero-head { margin-bottom: 18px; }
  .hero-head h1 {
    font-size: clamp(26px, 5.2vw, 42px);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .hero-head h1 em { font-style: normal; color: var(--brand); }
  .hero-lead { font-size: 16px; max-width: 620px; color: #454c54; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
  .hero-actions .download-btn { padding: 13px 26px; font-size: 16px; }
  .hero-note { font-size: 13px; color: var(--muted); }
  .tagline {
    display: inline-block; font-size: 12.5px; letter-spacing: 1px;
    color: var(--melon); background: #e6f6ee;
    padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
  }

  /* 封面墙 */
  .cover-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 420px;
    overflow: hidden;
    margin-top: 22px;
    padding-bottom: 8px;
  }
  .cover-col { display: flex; flex-direction: column; gap: 10px; will-change: transform; }
  .cover-col.slow { animation: driftUp 38s linear infinite; }
  .cover-col.mid { animation: driftDown 46s linear infinite; }
  .cover-col.fast { animation: driftUp 52s linear infinite; }
  .cover-wall.paused .cover-col { animation-play-state: paused; }
  @keyframes driftUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
  @keyframes driftDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
  .cover-item {
    position: relative; border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow); background: #d8dcdf;
  }
  .cover-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .cover-item span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 8px 6px; font-size: 12px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
    font-weight: 600;
  }
  .wall-toggle {
    display: block; margin: 10px auto 26px;
    border: 1px solid var(--line); background: #fff; color: var(--muted);
    border-radius: 999px; padding: 7px 18px; font-size: 13px; cursor: pointer;
    font-family: inherit;
  }
  .wall-toggle:hover { color: var(--brand); border-color: var(--brand); }

  /* ---------- 通用区块 ---------- */
  section { padding: 46px 0; }
  section:nth-of-type(even) { background: #fff; }
  .sec-title { font-size: clamp(21px, 3.4vw, 28px); }
  .sec-sub { color: var(--muted); font-size: 14.5px; max-width: 720px; margin-bottom: 24px; }
  .kicker { font-size: 12.5px; letter-spacing: 2px; color: var(--brand); font-weight: 700; margin-bottom: 8px; }

  .grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px;
  }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14.5px; margin-bottom: 0; }

  /* 剧集卡（横向） */
  .show-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .show {
    display: flex; gap: 10px; background: #fff;
    border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  }
  .show img { width: 74px; aspect-ratio: 3/4; object-fit: cover; border-radius: 7px; flex: none; }
  .show-body { min-width: 0; }
  .show-body h3 { font-size: 14.5px; margin-bottom: 3px; }
  .show-body .genre { font-size: 12px; color: var(--brand); font-weight: 600; }
  .show-body p { font-size: 12.5px; color: #58606a; margin: 4px 0 0; }

  /* 榜单 */
  .rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .rank-list li {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
    font-size: 14.5px;
  }
  .rank-no { font-weight: 800; color: var(--brand); width: 22px; flex: none; font-size: 16px; }
  .rank-list small { display: block; color: #6a727c; font-size: 12.5px; }

  /* 更新表 */
  table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; }
  th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
  th { background: #f7f8f9; font-size: 13px; color: #4b535c; }
  tr:last-child td { border-bottom: none; }
  .table-scroll { overflow-x: auto; }

  /* 按心情找剧 —— 标签 */
  .mood-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .mood-tags span {
    border: 1px solid #ead9d7; color: var(--brand-deep);
    background: #fff6f5; padding: 7px 15px; border-radius: 999px; font-size: 13.5px;
  }

  /* 吃瓜玩法 */
  .play-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .play {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; position: relative; overflow: hidden;
  }
  .play::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
    background: var(--melon);
  }
  .play h3 { font-size: 16.5px; }
  details { margin-top: 8px; }
  summary { cursor: pointer; font-size: 13.5px; color: var(--brand-deep); font-weight: 600; }
  details p { margin-top: 8px; font-size: 13.5px; color: #535b64; }
  .hook {
    border-left: 3px solid #ffd0cb; padding-left: 10px;
    font-size: 13.5px; color: #5a616a; margin-top: 6px;
  }

  /* 场景 */
  .scene { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .scene .card h3 span { font-size: 12px; color: var(--muted); font-weight: 400; }

  /* 评价 */
  .quotes { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .quote {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; font-size: 14px;
  }
  .quote b { color: var(--brand); font-size: 13px; display: block; margin-bottom: 6px; }

  /* 下载区 */
  .dl-box {
    background: linear-gradient(135deg, #fff4f2, #fff);
    border: 1px solid #f3dcd8; border-radius: 18px; padding: 24px;
  }
  .dl-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
  .dl-platform {
    background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--line);
  }
  .dl-platform h3 { font-size: 16px; }
  .dl-platform ol { padding-left: 20px; margin: 8px 0 0; font-size: 13.5px; color: #535b64; }
  .qr {
    width: 108px; height: 108px; border-radius: 10px; margin: 10px 0;
    background:
      repeating-linear-gradient(90deg, #1a1c1e 0 6px, transparent 6px 12px),
      repeating-linear-gradient(0deg, #1a1c1e 0 6px, transparent 6px 12px);
    background-blend-mode: multiply;
    opacity: .82;
  }
  .qr small { display: block; font-size: 10px; text-align: center; padding-top: 46px; color: #fff; }
  .qr-note { font-size: 12.5px; color: var(--muted); }

  /* FAQ */
  .faq { display: grid; gap: 10px; }
  .faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 13px 16px; margin: 0;
  }
  .faq summary { font-size: 15px; color: var(--ink); }
  .faq p { font-size: 14px; margin: 10px 0 0; color: #4d545c; }

  /* 页脚 */
  footer {
    background: #1c1f22; color: #9aa2ab; font-size: 12.5px;
    padding: 30px 0 26px; margin-top: 20px;
  }
  footer a { color: #c3cad2; }
  footer a:hover { color: #fff; }
  .foot-top { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 22px; }
  .foot-brand { display: flex; align-items: center; gap: 8px; color: #e8ecf0; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
  .foot-brand img { height: 26px; width: 26px; object-fit: contain; border-radius: 6px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .foot-bottom { border-top: 1px solid #2c3136; padding-top: 16px; display: grid; gap: 6px; font-size: 12px; color: #7d858e; }
  .foot-bottom a { color: #8f979f; }

  /* 手机底部下载条 */
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(20,25,30,.08);
  }
  .mobile-bar p { margin: 0; flex: 1; font-size: 13px; color: #3c434a; }
  .mobile-bar .download-btn { padding: 9px 15px; font-size: 14px; }
  .bar-close {
    border: none; background: none; font-size: 19px; color: #98a0a8;
    cursor: pointer; padding: 0 2px; line-height: 1; font-family: inherit;
  }
  .mobile-bar.hide { display: none; }

  @media (min-width: 768px) {
    .navlinks { display: flex; }
    .cover-wall { grid-template-columns: repeat(4, 1fr); height: 560px; gap: 12px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .show-grid { grid-template-columns: repeat(3, 1fr); }
    .play-grid { grid-template-columns: repeat(2, 1fr); }
    .scene { grid-template-columns: repeat(2, 1fr); }
    .quotes { grid-template-columns: repeat(2, 1fr); }
    .dl-grid { grid-template-columns: 1.1fr .9fr; }
    .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
    section { padding: 58px 0; }
    .mobile-bar { display: none; }
  }
  @media (min-width: 1024px) {
    .cover-wall { grid-template-columns: repeat(6, 1fr); height: 640px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .show-grid { grid-template-columns: repeat(3, 1fr); }
    .play-grid { grid-template-columns: repeat(3, 1fr); }
    .scene { grid-template-columns: repeat(3, 1fr); }
    .quotes { grid-template-columns: repeat(3, 1fr); }
    .hero { padding-top: 40px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cover-col { animation: none !important; }
    .cover-wall { height: auto; overflow: visible; }
  }