:root {
    --warm-bg: #fdfaf6;
    --warm-card: #ffffff;
    --ink: #2b2622;
    --ink-soft: #6b625a;
    --accent: #e05a3a;
    --accent-soft: #f6d9cf;
    --line: #efe6dc;
    --radius: 18px;
    --shadow: 0 8px 26px rgba(120, 90, 70, 0.09);
  }
  * { 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(--warm-bg);
    color: var(--ink);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

  /* 顶部导航 */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253, 250, 246, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 12px 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; border-radius: 9px; }
  .brand-name { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
  .nav-toggle {
    display: none;
    background: var(--accent-soft); border: none; border-radius: 10px;
    padding: 7px 13px; font-size: 14px; color: var(--accent); font-weight: 600;
    cursor: pointer; font-family: inherit;
  }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
  .main-nav a {
    display: block; padding: 6px 11px; font-size: 14px; color: var(--ink-soft);
    border-radius: 9px; transition: background .2s, color .2s; white-space: nowrap;
  }
  .main-nav a:hover { background: var(--accent-soft); color: var(--accent); }

  /* 首屏 */
  .hero { padding: 54px 0 30px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
  .hero-kicker {
    display: inline-block; font-size: 13px; color: var(--accent);
    background: #fbeae3; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 40px; line-height: 1.3; font-weight: 800; letter-spacing: 0.5px;
    margin-bottom: 16px;
  }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero p.lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 26px; max-width: 30em; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
    transition: transform .18s, box-shadow .18s, background .18s;
    cursor: pointer; font-family: inherit; border: none;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(224, 90, 58, 0.28); }
  .btn-primary:hover { box-shadow: 0 12px 26px rgba(224, 90, 58, 0.34); }
  .btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
  .btn-ghost:hover { border-color: var(--accent-soft); background: #fffaf6; }

  .hero-art { position: relative; }
  .hero-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-phones img {
    width: 100%; border-radius: 16px; box-shadow: var(--shadow);
    border: 4px solid #fff;
  }
  .hero-phones img:first-child { transform: translateY(18px) rotate(-2deg); }
  .hero-phones img:last-child { transform: rotate(2deg); }
  .hero-note {
    margin-top: 26px; font-size: 13px; color: var(--ink-soft);
  }
  .hero-note strong { color: var(--accent); }

  /* 通用区块 */
  section { padding: 52px 0; }
  .section-head { margin-bottom: 30px; max-width: 44em; }
  .section-head h2 { font-size: 27px; font-weight: 800; letter-spacing: 0.4px; margin-bottom: 8px; }
  .section-head h2 span { color: var(--accent); }
  .section-head p { color: var(--ink-soft); font-size: 15px; }

  /* 剧集网格 */
  .poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .poster-card {
    background: var(--warm-card); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
  }
  .poster-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(120, 90, 70, 0.14); }
  .poster-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
  .poster-card .card-body { padding: 12px 14px 16px; }
  .poster-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .poster-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
  .tag {
    display: inline-block; font-size: 12px; color: var(--accent);
    background: #fbeae3; border-radius: 999px; padding: 1px 9px; margin-bottom: 6px;
  }

  /* 抢先看 - 横向滑动 */
  .scroll-strip {
    display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .scroll-strip::-webkit-scrollbar { height: 6px; }
  .scroll-strip::-webkit-scrollbar-thumb { background: var(--accent-soft); border-radius: 99px; }
  .strip-item {
    flex: 0 0 190px; scroll-snap-align: start;
    background: var(--warm-card); border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  }
  .strip-item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
  .strip-item .card-body { padding: 10px 12px 14px; }
  .strip-item h3 { font-size: 14px; font-weight: 700; }
  .strip-item p { font-size: 12px; color: var(--ink-soft); }

  /* 双列图文 */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
  .split.reverse .split-media { order: 2; }
  .split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .split-media img {
    width: 100%; border-radius: 15px; box-shadow: var(--shadow); border: 3px solid #fff;
  }
  .split-media img:nth-child(2) { margin-top: 26px; }
  .split-text h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
  .split-text h3 span { color: var(--accent); }
  .split-text p { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
  .mini-list { list-style: none; }
  .mini-list li {
    position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-soft);
    margin-bottom: 7px;
  }
  .mini-list li::before {
    content: ""; position: absolute; left: 4px; top: 10px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  }

  /* 安装教程 */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step-card {
    background: var(--warm-card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow);
  }
  .step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    font-weight: 800; font-size: 16px; margin-bottom: 12px;
  }
  .step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .step-card p { font-size: 14px; color: var(--ink-soft); }

  /* 滚动评论特效 */
  .review-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .review-track {
    display: flex; gap: 18px; width: max-content;
    animation: marquee 38s linear infinite;
  }
  .review-marquee:hover .review-track { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .review-card {
    flex: 0 0 300px; background: var(--warm-card);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow);
  }
  .review-stars { color: #e9a33a; font-size: 14px; letter-spacing: 2px; margin-bottom: 6px; }
  .review-card p { font-size: 14px; color: var(--ink); line-height: 1.7; margin-bottom: 10px; }
  .review-user { font-size: 12px; color: var(--ink-soft); }

  /* 排行榜 */
  .rank-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
  .rank-list { list-style: none; counter-reset: rank; }
  .rank-list li {
    display: flex; align-items: center; gap: 16px;
    background: var(--warm-card); border: 1px solid var(--line);
    border-radius: 14px; padding: 11px 16px; margin-bottom: 11px;
    box-shadow: var(--shadow);
  }
  .rank-list li img {
    width: 44px; height: 62px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
  }
  .rank-no {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    background: #f3ece4; color: var(--ink-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
  }
  .rank-list li:nth-child(1) .rank-no { background: var(--accent); color: #fff; }
  .rank-list li:nth-child(2) .rank-no { background: #f0a65a; color: #fff; }
  .rank-list li:nth-child(3) .rank-no { background: #e0b878; color: #fff; }
  .rank-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
  .rank-info p { font-size: 13px; color: var(--ink-soft); }

  /* 问答 */
  .faq-list { display: grid; gap: 12px; max-width: 52em; }
  .faq-item {
    background: var(--warm-card); border: 1px solid var(--line);
    border-radius: 14px; padding: 0 18px; box-shadow: var(--shadow);
  }
  .faq-item summary {
    list-style: none; cursor: pointer; padding: 15px 0;
    font-size: 15px; font-weight: 700; position: relative; padding-right: 28px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+"; position: absolute; right: 0; top: 13px;
    font-size: 20px; color: var(--accent); font-weight: 400;
  }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item p { font-size: 14px; color: var(--ink-soft); padding-bottom: 16px; }

  /* 新增四块 */
  /* 1. 按场景找剧 */
  .scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .scene-card {
    background: var(--warm-card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow);
    transition: transform .2s;
  }
  .scene-card:hover { transform: translateY(-4px); }
  .scene-icon {
    width: 40px; height: 40px; border-radius: 12px; background: #fbeae3;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; margin-bottom: 12px;
  }
  .scene-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
  .scene-card p { font-size: 13px; color: var(--ink-soft); }

  /* 2. 刷剧节奏 */
  .rhythm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .rhythm-card {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
    overflow: hidden; box-shadow: var(--shadow);
  }
  .rhythm-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .rhythm-card .card-body { padding: 14px 16px 18px; }
  .rhythm-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .rhythm-card p { font-size: 13px; color: var(--ink-soft); }

  /* 3. 观看界面 */
  .ui-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
  .ui-strip figure { text-align: center; }
  .ui-strip img {
    width: 100%; border-radius: 18px; border: 4px solid #fff;
    box-shadow: var(--shadow);
  }
  .ui-strip figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

  /* 4. 支付说明 */
  .notice-box {
    background: #fff7f3; border: 1px solid var(--accent-soft);
    border-radius: var(--radius); padding: 28px 30px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
  }
  .notice-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
  .notice-box p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
  .notice-box img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }

  /* 下载区 */
  .download-band {
    background: #2b2622; color: #fdfaf6; border-radius: 26px;
    padding: 46px 36px; text-align: center; margin: 10px auto 0;
  }
  .download-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
  .download-band p { font-size: 15px; color: #d6cbc2; margin-bottom: 24px; }
  .download-band .btn-row { justify-content: center; }
  .download-band .btn-primary { background: var(--accent); }
  .download-band .btn-ghost { background: transparent; color: #fdfaf6; border-color: #5c524b; }
  .download-band .btn-ghost:hover { background: rgba(255,255,255,0.08); }

  /* 底部 */
  .site-footer {
    margin-top: 50px; padding: 30px 0 40px;
    border-top: 1px solid var(--line);
    font-size: 12px; color: #9a918a;
  }
  .footer-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
  .site-footer a { color: #9a918a; }
  .site-footer a:hover { color: var(--accent); text-decoration: underline; }
  .footer-search { margin-top: 16px; font-size: 12px; color: #a89f97; line-height: 1.9; }
  .footer-search span { margin-right: 12px; }

  /* 弹窗 */
  .modal-mask {
    display: none; position: fixed; inset: 0; z-index: 99;
    background: rgba(43, 38, 34, 0.52); padding: 20px;
    align-items: center; justify-content: center;
  }
  .modal-mask.is-open { display: flex; }
  .modal-box {
    background: #fff; border-radius: 20px; padding: 26px 24px;
    max-width: 380px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    position: relative;
  }
  .modal-box h3 { font-size: 16px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; }
  .modal-link {
    display: block; background: #fdf4f0; border: 1px dashed var(--accent-soft);
    border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--accent);
    word-break: break-all; margin-bottom: 16px; line-height: 1.6;
  }
  .modal-actions { display: flex; gap: 10px; }
  .modal-actions .btn { flex: 1; justify-content: center; padding: 10px 0; font-size: 14px; }
  .modal-close {
    position: absolute; top: 12px; right: 14px; border: none; background: none;
    font-size: 20px; color: #b3a89f; cursor: pointer; line-height: 1;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 34px; }
    .poster-grid { grid-template-columns: repeat(3, 1fr); }
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-layout { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .hero { padding: 30px 0 16px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 28px; }
    .hero p.lead { font-size: 15px; }
    .nav-toggle { display: inline-block; }
    .main-nav {
      display: none; position: absolute; left: 0; right: 0; top: 100%;
      background: #fdfaf6; border-bottom: 1px solid var(--line);
      padding: 10px 20px 16px; box-shadow: 0 12px 24px rgba(120,90,70,0.1);
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { padding: 9px 10px; font-size: 14px; }
    .header-inner { position: relative; }
    section { padding: 36px 0; }
    .section-head h2 { font-size: 22px; }
    .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split.reverse .split-media { order: 0; }
    .steps { grid-template-columns: 1fr; }
    .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .rhythm { grid-template-columns: 1fr; }
    .ui-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .notice-box { grid-template-columns: 1fr; padding: 22px 20px; }
    .download-band { padding: 34px 20px; border-radius: 20px; }
    .download-band h2 { font-size: 22px; }
    .review-card { flex: 0 0 250px; }
    .strip-item { flex: 0 0 150px; }
  }