:root {
    --ink: #0f1b24;
    --paper: #f5f1e8;
    --sea: #12495a;
    --sea-light: #1c6b7f;
    --sand: #e3d6bd;
    --coral: #d4694a;
    --muted: #6d7a7f;
    --line: #cfc5b0;
    --card: #fffaf0;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 241, 232, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 62px; gap: 14px;
  }
  .brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
  .brand img { height: 32px; width: auto; }
  .brand-name { font-size: 17px; font-weight: 800; letter-spacing: 1px; color: var(--sea); }
  .nav-links { display: none; gap: 22px; font-size: 14.5px; color: var(--muted); }
  .nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
  .nav-links a:hover { color: var(--sea); border-bottom-color: var(--coral); }
  .nav-actions { display: flex; align-items: center; gap: 10px; }

  .btn-download {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--coral); color: #fff;
    font-size: 14px; font-weight: 700;
    padding: 9px 18px; border-radius: 999px;
    border: 0; cursor: pointer;
    box-shadow: 0 3px 0 #a54c32;
    transition: transform .15s, box-shadow .15s, background .2s;
    white-space: nowrap;
  }
  .btn-download:hover { background: #c25a3b; }
  .btn-download:active { transform: translateY(3px); box-shadow: 0 0 0 #a54c32; }
  .btn-download--ghost {
    background: transparent; color: var(--sea);
    border: 1.5px solid var(--sea); box-shadow: none;
  }
  .btn-download--ghost:hover { background: var(--sea); color: #fff; }
  .btn-download--ghost:active { transform: translateY(2px); box-shadow: none; }

  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 0 9px;
    background: transparent; border: 1.5px solid var(--line); border-radius: 8px;
    cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--sea); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 16px; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a {
    display: block; padding: 11px 4px; font-size: 15px; color: var(--ink);
    border-bottom: 1px dashed var(--line);
  }
  .mobile-menu a:active { color: var(--coral); }

  /* ---------- 首屏 ---------- */
  .hero {
    position: relative;
    padding: 46px 0 54px;
    background:
      radial-gradient(circle at 82% 12%, rgba(28,107,127,.16), transparent 58%),
      radial-gradient(circle at 8% 88%, rgba(212,105,74,.13), transparent 55%);
    overflow: hidden;
  }
  .hero-grid { display: grid; gap: 34px; }
  .hero-route {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; letter-spacing: 2px; color: var(--sea-light);
    text-transform: uppercase; margin-bottom: 16px;
  }
  .hero-route::before { content: ""; width: 26px; height: 1.5px; background: var(--coral); display: block; }
  h1 {
    font-size: 32px; line-height: 1.32; letter-spacing: .5px;
    font-weight: 800; color: var(--ink);
  }
  h1 em { font-style: normal; color: var(--sea); position: relative; }
  h1 em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 8px;
    background: rgba(212,105,74,.24); border-radius: 4px; z-index: -1;
  }
  .hero-lead { margin-top: 18px; font-size: 15.5px; color: #3c4b52; max-width: 34em; }
  .hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .hero-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
  .hero-covers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-covers img {
    width: 100%; border-radius: 12px; object-fit: cover;
    aspect-ratio: 3 / 4; box-shadow: 0 10px 26px rgba(15,27,36,.18);
  }
  .hero-covers img:nth-child(2) { margin-top: 26px; }
  .hero-strip {
    margin-top: 30px; display: flex; gap: 10px; overflow-x: auto;
    padding-bottom: 8px; scrollbar-width: thin;
  }
  .hero-strip img {
    height: 118px; width: auto; border-radius: 9px; flex-shrink: 0;
    box-shadow: 0 5px 14px rgba(15,27,36,.14);
  }

  /* ---------- 区块通用 ---------- */
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-kicker {
    font-size: 12px; letter-spacing: 2.5px; color: var(--coral);
    font-weight: 700; margin-bottom: 8px;
  }
  h2 { font-size: 24px; line-height: 1.35; font-weight: 800; color: var(--sea); }
  .sec-desc { margin-top: 10px; font-size: 14.5px; color: #48575e; max-width: 44em; }
  h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }

  /* ---------- 热播片单 ---------- */
  .rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 47%;
    gap: 14px; overflow-x: auto; padding: 4px 4px 16px;
    scroll-snap-type: x mandatory;
  }
  .rail::-webkit-scrollbar { height: 6px; }
  .rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
  .drama-card {
    scroll-snap-align: start;
    background: var(--card); border-radius: 12px; overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .drama-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(15,27,36,.12); border-color: var(--sea-light); }
  .drama-card:active { transform: translateY(-1px); }
  .drama-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .drama-body { padding: 11px 12px 14px; }
  .drama-body h3 { font-size: 15px; }
  .drama-body p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .tag {
    font-size: 11px; color: var(--sea); background: rgba(28,107,127,.1);
    padding: 2px 8px; border-radius: 4px;
  }
  .tag--warm { color: #9c4a2f; background: rgba(212,105,74,.13); }

  /* ---------- 榜单 ---------- */
  .section--dark { background: var(--sea); color: #eef3f4; }
  .section--dark h2 { color: #fff; }
  .section--dark .sec-desc { color: #c3d5d9; }
  .section--dark .sec-kicker { color: #f0a689; }
  .rank-list { display: grid; gap: 10px; }
  .rank-item {
    display: grid; grid-template-columns: 34px 56px 1fr; gap: 12px; align-items: center;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px; padding: 10px 12px;
    transition: background .2s, transform .2s;
  }
  .rank-item:hover { background: rgba(255,255,255,.13); transform: translateX(3px); }
  .rank-item:active { background: rgba(255,255,255,.18); }
  .rank-num { font-size: 17px; font-weight: 800; color: #f0a689; font-style: italic; }
  .rank-item img { width: 56px; height: 74px; object-fit: cover; border-radius: 6px; }
  .rank-info h3 { font-size: 15px; color: #fff; }
  .rank-info p { font-size: 12.5px; color: #c3d5d9; line-height: 1.6; }

  /* ---------- 题材筛选 ---------- */
  .filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 16px; }
  .filter-bar::-webkit-scrollbar { height: 0; }
  .filter-btn {
    flex-shrink: 0; font-size: 13.5px; padding: 8px 17px; border-radius: 999px;
    background: transparent; border: 1.5px solid var(--line); color: var(--muted);
    cursor: pointer; transition: all .2s; font-family: inherit;
  }
  .filter-btn:hover { border-color: var(--sea-light); color: var(--sea); }
  .filter-btn:active { transform: scale(.96); }
  .filter-btn.is-active { background: var(--sea); border-color: var(--sea); color: #fff; font-weight: 700; }
  .genre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .genre-card {
    padding: 16px 15px; border-radius: 11px; background: var(--card);
    border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .genre-card:hover { border-color: var(--coral); box-shadow: 0 8px 18px rgba(15,27,36,.08); transform: translateY(-2px); }
  .genre-card h3 { font-size: 15.5px; }
  .genre-card p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
  .genre-count { font-size: 11px; color: var(--coral); font-weight: 700; margin-top: 6px; display: block; }

  /* ---------- 时间线 ---------- */
  .timeline { position: relative; padding-left: 24px; }
  .timeline::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(var(--coral), var(--sea-light));
  }
  .tl-item { position: relative; padding-bottom: 24px; }
  .tl-item::before {
    content: ""; position: absolute; left: -24px; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--paper); border: 3px solid var(--coral);
  }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-status {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 1px 8px; border-radius: 4px; margin-bottom: 6px;
  }
  .st-new { background: rgba(212,105,74,.15); color: #a84b2f; }
  .st-run { background: rgba(28,107,127,.13); color: var(--sea); }
  .st-end { background: rgba(109,122,127,.15); color: var(--muted); }
  .tl-item h3 { font-size: 15.5px; }
  .tl-item p { font-size: 13px; color: var(--muted); line-height: 1.7; }

  /* ---------- 重点推荐 ---------- */
  .spotlight {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; overflow: hidden;
  }
  .spotlight-grid { display: grid; gap: 0; }
  .spotlight-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
  .spotlight-body { padding: 22px 20px 26px; }
  .spotlight-body h2 { font-size: 22px; }
  .spotlight-body .spot-meta {
    display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 14px;
  }
  .spot-meta span {
    font-size: 11.5px; padding: 3px 10px; border-radius: 5px;
    background: rgba(18,73,90,.08); color: var(--sea); font-weight: 600;
  }
  .spotlight-body p { font-size: 14px; color: #3c4b52; margin-bottom: 10px; }
  .spot-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

  /* ---------- 情绪分组 ---------- */
  .mood-list { display: grid; gap: 14px; }
  .mood-item {
    display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center;
    padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    transition: border-color .2s, transform .2s;
  }
  .mood-item:hover { border-color: var(--sea-light); transform: translateX(3px); }
  .mood-item img { width: 86px; height: 108px; object-fit: cover; border-radius: 8px; }
  .mood-item h3 { font-size: 15.5px; }
  .mood-item p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

  /* ---------- 连看片单 ---------- */
  .binge-list { counter-reset: binge; display: grid; gap: 10px; }
  .binge-item {
    display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
    padding: 13px 14px; border-radius: 10px; background: rgba(227,214,189,.35);
    border-left: 3px solid var(--coral);
  }
  .binge-item::before {
    counter-increment: binge; content: counter(binge, decimal-leading-zero);
    font-size: 15px; font-weight: 800; color: var(--coral); font-style: italic;
  }
  .binge-item h3 { font-size: 15px; }
  .binge-item p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

  /* ---------- 体验说明 ---------- */
  .feature-grid { display: grid; gap: 16px; }
  .feature-card {
    padding: 18px 16px; border-radius: 12px; background: var(--card);
    border: 1px solid var(--line); transition: box-shadow .2s, transform .2s;
  }
  .feature-card:hover { box-shadow: 0 10px 22px rgba(15,27,36,.09); transform: translateY(-3px); }
  .feature-card h3 { font-size: 16px; color: var(--sea); }
  .feature-card p { font-size: 13.5px; color: #48575e; line-height: 1.8; }

  /* ---------- 下载区 ---------- */
  .download-zone {
    background: linear-gradient(150deg, var(--sea) 0%, #0d3a48 100%);
    color: #eef3f4; text-align: center; padding: 50px 0;
  }
  .download-zone h2 { color: #fff; }
  .download-zone .sec-desc { color: #c3d5d9; margin-left: auto; margin-right: auto; }
  .dl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 14px; }
  .btn-store {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
    background: #fff; color: var(--sea);
    transition: transform .15s, box-shadow .15s, background .2s;
    box-shadow: 0 4px 0 rgba(0,0,0,.22);
  }
  .btn-store:hover { background: #f0e9db; }
  .btn-store:active { transform: translateY(4px); box-shadow: 0 0 0 rgba(0,0,0,.22); }
  .btn-store--alt { background: var(--coral); color: #fff; box-shadow: 0 4px 0 #8f4029; }
  .btn-store--alt:hover { background: #c25a3b; }
  .dl-note { font-size: 12.5px; color: #a8c0c6; }

  /* ---------- 页脚 ---------- */
  .site-footer {
    background: #0b1c23; color: #8b9ca1; font-size: 12.5px;
    padding: 34px 0 26px; line-height: 1.9;
  }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
  .foot-nav a { color: #b8c8cc; transition: color .2s; }
  .foot-nav a:hover { color: #fff; }
  .foot-copy { color: #7b8d92; }
  .foot-copy a { color: #9db0b4; text-decoration: underline; text-underline-offset: 2px; }
  .foot-time { margin-top: 6px; color: #66787d; font-size: 11.5px; }

  /* ---------- 响应式 ---------- */
  @media (min-width: 768px) {
    h1 { font-size: 42px; }
    h2 { font-size: 28px; }
    .hero { padding: 64px 0 70px; }
    .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 44px; }
    .hero-covers { grid-template-columns: 1fr 1fr; }
    .hero-covers img { aspect-ratio: 3 / 4.2; }
    .hero-strip img { height: 140px; }
    .rail { grid-auto-columns: 30%; }
    .genre-grid { grid-template-columns: repeat(3, 1fr); }
    .spotlight-grid { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
    .spotlight-img { aspect-ratio: auto; height: 100%; object-position: center; }
    .mood-list { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .binge-list { grid-template-columns: 1fr 1fr; gap: 12px; }
    .rank-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  }
  @media (min-width: 1024px) {
    h1 { font-size: 50px; }
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
    .hero { padding: 84px 0 90px; }
    .rail { grid-auto-columns: 22.5%; overflow-x: visible; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
    .hero-strip img { height: 158px; }
    .genre-grid { grid-template-columns: repeat(6, 1fr); }
    .mood-list { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
    .binge-list { grid-template-columns: repeat(3, 1fr); }
    .rank-list { grid-template-columns: repeat(3, 1fr); }
    .spotlight-body { padding: 32px 30px; }
    section { padding: 60px 0; }
  }