:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --ink: #1d2129;
    --ink-2: #4e5969;
    --ink-3: #86909c;
    --line: #e5e6eb;
    --brand: #ff6a2b;
    --brand-2: #ff8f5c;
    --brand-soft: #fff1ea;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(29, 33, 41, .06);
    --max: 1200px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 15px;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-bar {
    display: flex; align-items: center; gap: 20px;
    height: 62px;
  }
  .brand { display: flex; align-items: center; gap: 9px; flex: none; }
  .brand img { height: 32px; width: auto; border-radius: 6px; }
  .brand b { font-size: 18px; letter-spacing: .5px; }
  .nav-links {
    display: flex; align-items: center; gap: 22px;
    margin-left: auto;
    font-size: 14px; color: var(--ink-2);
  }
  .nav-links a:hover { color: var(--brand); }
  .nav-cta {
    flex: none;
    background: var(--brand); color: #fff;
    padding: 8px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
    transition: background .2s;
  }
  .nav-cta:hover { background: #e65a1f; }
  .menu-toggle {
    display: none;
    margin-left: auto;
    background: none; border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    width: 40px; height: 36px; cursor: pointer;
    color: var(--ink); font-size: 18px;
  }

  /* ---------- 首屏 ---------- */
  .hero { padding: 56px 0 64px; background: linear-gradient(160deg, #fff7f2 0%, #f5f6f8 60%); overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
  .eyebrow { color: var(--brand); font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; }
  .hero h1 { font-size: 40px; line-height: 1.2; letter-spacing: 1px; }
  .hero h1 .accent { color: var(--brand); font-weight: 800; }
  .hero-slogan { font-size: 19px; color: var(--ink-2); margin-top: 16px; }
  .hero-intro { margin-top: 18px; max-width: 520px; color: var(--ink-2); }
  .hero-intro p + p { margin-top: 6px; }
  .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .btn-download {
    display: inline-block; background: var(--brand); color: #fff;
    padding: 13px 34px; border-radius: 999px;
    font-size: 16px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(255,106,43,.28);
    transition: transform .2s, background .2s;
  }
  .btn-download:hover { background: #e65a1f; transform: translateY(-2px); }
  .hero-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; }
  .hero-visual { position: relative; min-height: 320px; }
  .device-pad {
    width: 82%; margin-left: auto;
    background: #fff; border-radius: 16px;
    padding: 10px; box-shadow: 0 14px 36px rgba(29,33,41,.14);
    transform: rotate(-2deg);
  }
  .device-pad img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .device-phone {
    position: absolute; right: 6%; bottom: -26px;
    width: 42%; max-width: 190px;
    background: #fff; border-radius: 22px;
    padding: 8px; box-shadow: 0 16px 34px rgba(29,33,41,.2);
    transform: rotate(3deg);
  }
  .device-phone img { border-radius: 16px; aspect-ratio: 3/4.4; object-fit: cover; width: 100%; }

  /* ---------- 区块通用 ---------- */
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; margin-bottom: 8px; }
  .sec-head h2 { font-size: 26px; letter-spacing: .5px; }
  .sec-head p { margin-top: 8px; color: var(--ink-2); font-size: 14px; max-width: 720px; }

  /* ---------- 每日更新 ---------- */
  .cards-grid {
    display: grid; grid-template-columns: 1fr; gap: 18px;
  }
  .manga-card {
    background: var(--surface); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
  }
  .manga-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(29,33,41,.1); }
  .card-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #eceef1; }
  .card-cover img { width: 100%; height: 100%; object-fit: cover; }
  .cover-tag {
    position: absolute; left: 8px; top: 8px;
    background: rgba(29,33,41,.78); color: #fff;
    font-size: 11px; padding: 3px 8px; border-radius: 6px;
  }
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: 15px; margin-bottom: 6px; }
  .card-body p { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
  .card-tags span { font-size: 11px; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; }

  /* ---------- 全部作品索引 ---------- */
  .index-list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  .index-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    align-items: center;
  }
  .index-row:last-child { border-bottom: none; }
  .index-row:hover { background: #fafbfc; }
  .idx-num { font-size: 15px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .idx-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .idx-cover { width: 44px; height: 58px; border-radius: 6px; object-fit: cover; background: #eceef1; flex: none; }
  .idx-text { min-width: 0; flex: 1; }
  .idx-title { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
  .idx-cat { font-size: 12px; color: var(--ink-3); font-weight: 400; }
  .idx-desc { font-size: 13px; color: var(--ink-2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .idx-heat { font-size: 14px; font-weight: 700; color: var(--brand); text-align: right; flex: none; }
  .idx-heat small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }

  /* ---------- 汉化与下载 ---------- */
  .split { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .points li { padding: 16px 0; border-bottom: 1px dashed var(--line); }
  .points li:last-child { border-bottom: none; }
  .points h3 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
  .points h3::before { content: attr(data-idx); color: var(--brand); font-size: 13px; font-weight: 800; }
  .points p { color: var(--ink-2); font-size: 14px; }

  .rank-board { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
  .rank-board header { margin-bottom: 18px; }
  .rank-board header h3 { font-size: 18px; }
  .rank-board header small { color: var(--ink-3); font-size: 12px; }
  .rank-item { margin-bottom: 16px; }
  .rank-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
  .rank-top .rk-name { color: var(--ink); }
  .rank-top .rk-val { color: var(--brand); font-weight: 700; }
  .rank-bar { height: 8px; border-radius: 999px; background: #f0f1f3; overflow: hidden; }
  .rank-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
  .rank-foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
  .rank-foot b { color: var(--ink); display: block; margin-bottom: 10px; }
  .rank-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .rank-tags span { font-size: 12px; background: var(--brand-soft); color: var(--brand); padding: 4px 10px; border-radius: 999px; }

  /* ---------- 使用说明 / FAQ 手风琴 ---------- */
  .acc { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  .acc-item + .acc-item { border-top: 1px solid var(--line); }
  .acc-btn {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--ink);
    display: flex; justify-content: space-between; gap: 12px;
    font-family: inherit;
  }
  .acc-btn::after { content: "+"; color: var(--ink-3); font-size: 18px; line-height: 1; }
  .acc-item.open .acc-btn::after { content: "−"; color: var(--brand); }
  .acc-panel { display: none; padding: 0 18px 18px; color: var(--ink-2); font-size: 14px; }
  .acc-item.open .acc-panel { display: block; }

  /* ---------- 内容说明 ---------- */
  .notice-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .notice-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
  .notice-card h3 { font-size: 16px; margin-bottom: 8px; }
  .notice-card p { font-size: 14px; color: var(--ink-2); }
  .notice-wide { grid-column: 1 / -1; }

  /* ---------- 热播内容图墙 ---------- */
  .wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wall figure { position: relative; margin: 0; }
  .wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #eceef1; }
  .wall figcaption {
    font-size: 12px; color: var(--ink-2); margin-top: 6px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .wall .rk-badge {
    position: absolute; left: 6px; top: 6px;
    background: rgba(29,33,41,.72); color: #fff;
    font-size: 11px; padding: 1px 7px; border-radius: 5px;
  }

  /* ---------- 做事方式 ---------- */
  .do-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .do-card { background: var(--surface); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); }
  .do-card h3 { font-size: 16px; margin-bottom: 6px; }
  .do-card p { font-size: 14px; color: var(--ink-2); }

  /* ---------- 联系我们 ---------- */
  .contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .contact-card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
  .contact-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--brand); }
  .contact-card p { font-size: 14px; color: var(--ink-2); }

  /* ---------- 下载 CTA ---------- */
  .cta { padding: 56px 0; }
  .cta-inner {
    background: linear-gradient(135deg, #ff7a3d 0%, #ff9a63 100%);
    border-radius: 22px; padding: 44px 28px; text-align: center; color: #fff;
  }
  .cta-inner h2 { font-size: 26px; letter-spacing: 1px; }
  .cta-inner p { margin-top: 10px; font-size: 15px; opacity: .92; }
  .cta-btns { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .btn-white {
    background: #fff; color: var(--brand); font-weight: 700;
    padding: 12px 28px; border-radius: 999px; font-size: 15px;
    transition: transform .2s;
  }
  .btn-ghost {
    border: 1px solid rgba(255,255,255,.85); color: #fff;
    padding: 12px 28px; border-radius: 999px; font-size: 15px;
    transition: background .2s;
  }
  .btn-white:hover, .btn-ghost:hover { transform: translateY(-2px); }
  .btn-ghost:hover { background: rgba(255,255,255,.14); }

  /* ---------- 页脚 ---------- */
  .site-footer { background: #1d2129; color: #a9b0bb; padding: 44px 0 28px; font-size: 13px; }
  .foot-top { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .foot-brand b { color: #fff; font-size: 16px; }
  .foot-brand p { margin-top: 10px; max-width: 320px; line-height: 1.7; }
  .foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .foot-cols h4 { color: #fff; font-size: 13px; margin-bottom: 10px; font-weight: 600; }
  .foot-cols li { margin-bottom: 7px; }
  .foot-cols a:hover { color: var(--brand-2); }
  .foot-bottom {
    margin-top: 32px; padding-top: 18px;
    border-top: 1px solid #2b3038;
    display: flex; flex-wrap: wrap; gap: 10px 18px;
    justify-content: space-between; font-size: 12px; color: #7b828d;
  }
  .foot-bottom a { color: #7b828d; }
  .foot-bottom a:hover { color: #fff; }
  .update-time { color: #6d747f; }

  /* ---------- 断点 768px ---------- */
  @media (min-width: 768px) {
    .hero h1 { font-size: 50px; }
    .hero-slogan { font-size: 22px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr 1fr; }
    .notice-grid { grid-template-columns: repeat(2, 1fr); }
    .wall { grid-template-columns: repeat(3, 1fr); }
    .do-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1.1fr 1.9fr; }
    .foot-cols { grid-template-columns: repeat(3, 1fr); }
    .index-row { grid-template-columns: 42px 1fr 130px; padding: 14px 20px; }
    .idx-desc { white-space: normal; }
    .cta-inner { padding: 56px 48px; }
  }

  /* ---------- 断点 1024px ---------- */
  @media (min-width: 1024px) {
    .section { padding: 72px 0; }
    .hero { padding: 76px 0 88px; }
    .hero h1 { font-size: 58px; }
    .cards-grid { grid-template-columns: repeat(4, 1fr); }
    .wall { grid-template-columns: repeat(4, 1fr); }
    .do-grid { grid-template-columns: repeat(3, 1fr); }
    .notice-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-cols { gap: 34px; }
    .index-list { display: block; }
  }

  /* ---------- 窄屏导航 ---------- */
  @media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-links {
      display: none;
      position: absolute; left: 0; right: 0; top: 62px;
      background: #fff; flex-direction: column; align-items: flex-start;
      gap: 0; padding: 8px 20px 16px;
      border-bottom: 1px solid var(--line);
      box-shadow: 0 10px 20px rgba(29,33,41,.06);
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 10px 0; border-bottom: 1px solid #f2f3f5; }
    .nav-cta { display: none; }
  }
  @media (max-width: 420px) {
    .hero h1 { font-size: 34px; }
    .idx-heat { text-align: left; }
    .idx-heat small { display: inline; margin-left: 4px; }
  }