:root {
    --bg: #fff8f9;
    --card: #ffffff;
    --ink: #2b2023;
    --ink-soft: #7a6b70;
    --pink: #e8618f;
    --pink-deep: #c93f6e;
    --pink-soft: #fde3ec;
    --line: #f3dbe2;
    --gold: #e2a63d;
    --radius: 16px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  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 18px; }

  /* ---------- header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 248, 249, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand-name { font-size: 18px; font-weight: 700; color: var(--pink-deep); letter-spacing: .5px; }
  .nav-links { display: flex; gap: 22px; font-size: 15px; }
  .nav-links a { color: var(--ink-soft); padding: 4px 0; transition: color .2s; }
  .nav-links a:hover { color: var(--pink-deep); }
  .header-tools { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
  .tool-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: var(--pink-deep); cursor: pointer;
  }
  .tool-btn svg { width: 17px; height: 17px; }
  .menu-toggle { display: none; }

  /* ---------- hero ---------- */
  .hero {
    padding: 46px 0 40px;
    background: linear-gradient(165deg, #fff1f5 0%, #fff8f9 62%, #fdf3ee 100%);
    border-bottom: 1px solid var(--line);
  }
  .hero-inner {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 40px; align-items: center;
  }
  .hero-copy .kicker {
    display: inline-block; font-size: 13px; color: var(--pink-deep);
    background: var(--pink-soft); border-radius: 999px;
    padding: 4px 13px; margin-bottom: 16px;
  }
  h1 {
    font-size: 34px; line-height: 1.34; letter-spacing: -0.4px;
    font-weight: 800; color: #3a2430;
  }
  h1 em { font-style: normal; color: var(--pink-deep); }
  .hero-copy p { margin-top: 16px; font-size: 16px; color: var(--ink-soft); max-width: 480px; }
  .hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--pink); color: #fff; font-size: 16px; font-weight: 600;
    padding: 13px 26px; border-radius: 999px;
    box-shadow: 0 8px 20px rgba(232, 97, 143, .28);
    transition: transform .2s, box-shadow .2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232, 97, 143, .34); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 15px; color: var(--pink-deep);
    border: 1px solid var(--pink-soft); background: #fff;
    padding: 12px 20px; border-radius: 999px;
  }
  .hero-note { margin-top: 14px; font-size: 13px; color: #a2919a; }

  .hero-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-gallery figure {
    border-radius: 14px; overflow: hidden; background: var(--pink-soft);
    box-shadow: 0 10px 24px rgba(120, 60, 85, .12);
  }
  .hero-gallery figure:nth-child(1) { margin-top: 26px; }
  .hero-gallery figure:nth-child(3) { margin-top: -14px; }
  .hero-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

  /* ---------- section common ---------- */
  section { padding: 54px 0; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
  .sec-head h2 { font-size: 24px; font-weight: 800; color: #3a2430; letter-spacing: -0.2px; }
  .sec-head .sub { font-size: 14px; color: var(--ink-soft); margin-top: 5px; }
  .sec-head .badge {
    font-size: 13px; color: var(--pink-deep); background: var(--pink-soft);
    padding: 5px 13px; border-radius: 999px; white-space: nowrap;
  }

  /* ---------- manga cards ---------- */
  .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .manga-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .22s, box-shadow .22s;
  }
  .manga-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(150, 80, 110, .14); }
  .card-cover { position: relative; aspect-ratio: 3/4; background: var(--pink-soft); overflow: hidden; }
  .card-cover img { width: 100%; height: 100%; object-fit: cover; }
  .card-tag {
    position: absolute; left: 10px; top: 10px;
    font-size: 12px; color: #fff; background: rgba(201, 63, 110, .88);
    padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px);
  }
  .card-meta { padding: 13px 14px 15px; }
  .card-meta h3 { font-size: 16px; font-weight: 700; color: #3a2430; }
  .card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; font-size: 13px; color: var(--ink-soft); }
  .score { color: var(--gold); font-weight: 700; }

  /* ---------- rank ---------- */
  .rank-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .rank-list { display: flex; flex-direction: column; gap: 2px; }
  .rank-row {
    display: grid;
    grid-template-columns: 58px 1.6fr 1fr .8fr .8fr .8fr;
    align-items: center; gap: 12px;
    padding: 15px 16px; border-radius: 12px; font-size: 15px;
    transition: background .2s;
  }
  .rank-row:hover { background: #fff5f8; }
  .rank-no { font-size: 18px; font-weight: 800; color: #d7c3ca; font-style: italic; }
  .rank-row:nth-child(1) .rank-no,
  .rank-row:nth-child(2) .rank-no,
  .rank-row:nth-child(3) .rank-no { color: var(--pink); }
  .rank-title { font-weight: 600; color: #3a2430; }
  .rank-author { color: var(--ink-soft); font-size: 14px; }
  .rank-cell { color: var(--ink-soft); font-size: 14px; }
  .rank-cell strong { color: var(--pink-deep); font-weight: 600; }
  .rank-head { font-size: 13px; color: #ad9da4; padding: 0 16px 8px; }
  .rank-head span { display: inline-block; }

  /* ---------- reviews ---------- */
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; display: flex; flex-direction: column; gap: 11px;
  }
  .review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .review-user { display: flex; align-items: center; gap: 9px; }
  .avatar {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff; background: var(--pink);
    flex-shrink: 0;
  }
  .review-user b { font-size: 14px; font-weight: 600; }
  .stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
  .review-card p { font-size: 14px; color: #5c4a51; }
  .review-ref { font-size: 13px; color: var(--pink-deep); border-top: 1px dashed var(--line); padding-top: 10px; }

  /* ---------- features + app ---------- */
  .feature-sec { background: linear-gradient(180deg, #fff 0%, #fff6f8 100%); border-top: 1px solid var(--line); }
  .feature-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: 34px; align-items: start; }
  .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
  .feature-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 17px; }
  .feature-icon {
    width: 38px; height: 38px; border-radius: 11px;
    background: var(--pink-soft); color: var(--pink-deep);
    display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
  }
  .feature-icon svg { width: 19px; height: 19px; }
  .feature-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
  .feature-item p { font-size: 13.5px; color: var(--ink-soft); }

  .app-card {
    background: #3a2430; color: #f6e9ee; border-radius: 20px;
    padding: 26px 24px; position: sticky; top: 84px;
  }
  .app-card .app-icon {
    width: 46px; height: 46px; border-radius: 13px;
    background: var(--pink); color: #fff;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  }
  .app-card .app-icon svg { width: 22px; height: 22px; }
  .app-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
  .app-card p { font-size: 14px; color: #d8c3cc; }
  .app-card .app-btn {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 18px; font-size: 14px; font-weight: 600;
    background: var(--pink); color: #fff; padding: 10px 20px; border-radius: 999px;
  }
  .app-arrow { margin-top: 16px; color: #b99eaa; display: flex; align-items: center; gap: 6px; font-size: 13px; }

  /* ---------- faq ---------- */
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .faq-item h3 { font-size: 15.5px; font-weight: 700; color: #3a2430; display: flex; gap: 9px; }
  .faq-item h3 span { color: var(--pink); }
  .faq-item p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; padding-left: 24px; }

  /* ---------- gallery wall ---------- */
  .wall-sec { background: #fff; border-top: 1px solid var(--line); }
  .wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .wall figure {
    border-radius: 12px; overflow: hidden; background: var(--pink-soft);
    aspect-ratio: 3/4;
  }
  .wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
  .wall figure:hover img { transform: scale(1.05); }
  .wall figure:nth-child(odd) { transform: translateY(14px); }

  /* ---------- download ---------- */
  .download-sec {
    background: linear-gradient(150deg, #c93f6e 0%, #e8618f 55%, #f0a05f 100%);
    color: #fff; padding: 58px 0;
  }
  .download-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; }
  .download-layout h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.3px; }
  .download-layout .dl-desc { margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,.9); max-width: 520px; }
  .dl-buttons { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
  .dl-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45);
    color: #fff; font-size: 15px; font-weight: 600;
    padding: 12px 22px; border-radius: 999px;
    transition: background .2s, transform .2s;
  }
  .dl-btn:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
  .dl-btn svg { width: 18px; height: 18px; }
  .dl-art {
    display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 1/1; max-width: 300px; margin: 0 auto;
    border-radius: 50%; background: rgba(255,255,255,.14);
    border: 1px dashed rgba(255,255,255,.5);
  }
  .dl-art svg { width: 44%; height: 44%; color: rgba(255,255,255,.85); }

  /* ---------- footer ---------- */
  .site-footer { background: #2a1b22; color: #b9a5ae; padding: 30px 0 34px; font-size: 13px; }
  .footer-top { text-align: center; color: #e1c9d3; font-size: 14px; letter-spacing: .6px; }
  .footer-bottom {
    margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px 18px; color: #8d7a83; font-size: 12.5px; text-align: center;
  }
  .footer-bottom a { color: #8d7a83; }
  .footer-bottom a:hover { color: #c9aab6; }

  /* ---------- floating download ---------- */
  .float-dl {
    position: fixed; right: 18px; bottom: 22px; z-index: 80;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    width: 58px; padding: 9px 0 8px; border-radius: 16px;
    background: var(--pink); color: #fff;
    box-shadow: 0 10px 24px rgba(201, 63, 110, .4);
    font-size: 12px; transition: transform .2s;
  }
  .float-dl:hover { transform: translateY(-3px); }
  .float-dl svg { width: 20px; height: 20px; }

  /* ---------- responsive 1024 ---------- */
  @media (max-width: 1024px) {
    h1 { font-size: 29px; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-copy p { max-width: none; }
    .hero-gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .hero-gallery figure:nth-child(1),
    .hero-gallery figure:nth-child(3) { margin-top: 0; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-layout { grid-template-columns: 1fr; gap: 26px; }
    .app-card { position: static; }
    .wall { grid-template-columns: repeat(4, 1fr); }
    .rank-row { grid-template-columns: 48px 1.6fr 1fr .9fr; }
    .rank-cell.rank-hide { display: none; }
    .download-layout { grid-template-columns: 1fr; }
    .dl-art { max-width: 210px; }
  }

  /* ---------- responsive 768 ---------- */
  @media (max-width: 768px) {
    .header-inner { height: 58px; }
    .brand-name { font-size: 16px; }
    .brand img { height: 30px; }
    .menu-toggle { display: flex; }
    .nav-links {
      position: absolute; left: 0; right: 0; top: 58px;
      flex-direction: column; gap: 0;
      background: #fff; border-bottom: 1px solid var(--line);
      padding: 6px 0; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 11px 22px; font-size: 15px; }
    .site-header { position: sticky; }
    nav.nav-wrap { position: relative; }

    .hero { padding: 32px 0 30px; }
    h1 { font-size: 25px; line-height: 1.4; }
    .hero-copy p { font-size: 15px; }
    .hero-gallery { grid-template-columns: repeat(3, 1fr); }
    .hero-gallery figure:nth-child(4) { display: none; }

    section { padding: 38px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sec-head h2 { font-size: 20px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-meta { padding: 10px 11px 12px; }
    .card-meta h3 { font-size: 14px; }
    .card-foot { font-size: 12px; }
    .review-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-list { grid-template-columns: 1fr; gap: 12px; }
    .rank-row { grid-template-columns: 40px 1fr auto; gap: 8px; padding: 13px 10px; font-size: 14px; }
    .rank-author, .rank-cell.rank-hide, .rank-cell.rank-author { display: none; }
    .rank-head { display: none; }
    .wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .wall figure:nth-child(odd) { transform: none; }
    .download-layout h2 { font-size: 22px; }
    .dl-btn { padding: 11px 18px; font-size: 14px; }
    .float-dl { width: 52px; right: 14px; bottom: 16px; font-size: 11px; }
    .faq-item { padding: 15px 16px; }
    .faq-item p { padding-left: 0; }
  }
  @media (max-width: 420px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
    .dl-buttons { flex-direction: column; align-items: stretch; }
    .dl-btn { justify-content: center; }
  }