:root {
    --pearl: #f7f9fb;
    --ice-blue: #eef3f8;
    --sakura: #f6a6b8;
    --sakura-deep: #e8809a;
    --haze-blue: #8ca8c4;
    --haze-deep: #5e7f9f;
    --ink: #3b4049;
    --ink-soft: #6b7280;
    --card: #ffffff;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 12px 32px rgba(140, 168, 196, 0.14);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--pearl);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; width: 100%; height: 100%; object-fit: cover; }
  a { text-decoration: none; color: inherit; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 249, 251, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(140, 168, 196, 0.18);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto; padding: 14px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; object-fit: contain; }
  .nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-soft); }
  .nav-links a { transition: color .2s; }
  .nav-links a:hover { color: var(--sakura-deep); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: 2px solid transparent;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-sakura { background: var(--sakura); color: #fff; box-shadow: 0 8px 20px rgba(246,166,184,.4); }
  .btn-sakura:hover { background: var(--sakura-deep); }
  .btn-haze-line { border-color: var(--haze-blue); color: var(--haze-deep); background: transparent; }
  .btn-haze-line:hover { background: var(--ice-blue); }
  .btn-haze { background: var(--haze-blue); color: #fff; box-shadow: 0 8px 20px rgba(140,168,196,.4); }
  .btn-haze:hover { background: var(--haze-deep); }
  .header-dl { display: none; }

  /* ---------- Hero ---------- */
  .hero { padding: 40px 0 10px; }
  .hero-card {
    background: linear-gradient(135deg, #fdf1f4 0%, #eef4fa 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    display: grid; grid-template-columns: 1fr; gap: 32px;
    align-items: center; box-shadow: var(--shadow);
    overflow: hidden;
  }
  .hero-card h1 { font-size: 30px; line-height: 1.35; margin-bottom: 16px; letter-spacing: .5px; }
  .hero-card h1 span { color: var(--sakura-deep); }
  .hero-sub { color: var(--ink-soft); font-size: 15px; max-width: 480px; margin-bottom: 26px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-visual { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 16px 40px rgba(94,127,159,.22); }
  .hero-visual img { border-radius: var(--radius-md); }

  /* ---------- Section basics ---------- */
  section { padding: 54px 0; }
  .sec-head { text-align: center; margin-bottom: 34px; }
  .sec-head h2 { font-size: 24px; letter-spacing: .5px; }
  .sec-head p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
  .tag-pill {
    display: inline-block; background: var(--sakura); color: #fff;
    font-size: 12px; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; font-weight: 600;
  }

  /* ---------- Capsule schedule ---------- */
  .schedule-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: thin; }
  .schedule-scroll::-webkit-scrollbar { height: 6px; }
  .schedule-scroll::-webkit-scrollbar-thumb { background: var(--haze-blue); border-radius: 4px; }
  .day-pill {
    flex: 0 0 auto; padding: 12px 26px; border-radius: 999px; background: #fff;
    border: 1px solid rgba(140,168,196,.35); font-size: 14px; color: var(--ink-soft);
    white-space: nowrap; box-shadow: 0 4px 12px rgba(140,168,196,.08);
  }
  .day-pill.today { background: var(--sakura); color: #fff; border-color: var(--sakura); font-weight: 700; box-shadow: 0 8px 18px rgba(246,166,184,.4); }

  /* ---------- Ranking grid ---------- */
  .rank-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .rank-card { background: var(--card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
  .rank-card:hover { transform: translateY(-4px); }
  .rank-thumb { aspect-ratio: 3 / 4; overflow: hidden; }
  .rank-body { padding: 16px 18px 20px; }
  .rank-body h3 { font-size: 16px; margin-bottom: 6px; }
  .rank-body p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
  .rank-no { display: inline-block; font-size: 12px; font-weight: 700; color: var(--haze-deep); background: var(--ice-blue); border-radius: 6px; padding: 1px 8px; margin-bottom: 8px; }

  /* ---------- New anime strip ---------- */
  .new-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .new-card { display: flex; gap: 16px; background: #fff; border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow); }
  .new-card .thumb { flex: 0 0 100px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; }
  .new-card .info h3 { font-size: 15px; margin-bottom: 6px; }
  .new-card .info p { font-size: 13px; color: var(--ink-soft); }

  /* ---------- Category ---------- */
  .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-item {
    background: #fff; border-radius: var(--radius-md); padding: 20px 14px; text-align: center;
    font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(140,168,196,.1);
    border: 1px solid rgba(140,168,196,.15); transition: transform .2s, border-color .2s;
  }
  .cat-item:hover { transform: translateY(-3px); border-color: var(--sakura); }
  .cat-item span { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }

  /* ---------- Editor pick ---------- */
  .pick-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .pick-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
  .pick-card .cover { aspect-ratio: 16 / 9; overflow: hidden; }
  .pick-content { padding: 22px 24px 26px; }
  .pick-content h3 { font-size: 18px; margin-bottom: 10px; }
  .pick-content p { font-size: 14px; color: var(--ink-soft); }
  .owner-note {
    margin-top: 14px; background: #fdf1f4; border-left: 4px solid var(--sakura);
    padding: 12px 16px; border-radius: 8px; font-size: 13px; color: var(--sakura-deep);
  }

  /* ---------- Studio ---------- */
  .studio-row { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
  .studio-row .pic { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; }
  .studio-row h3 { font-size: 19px; margin-bottom: 12px; }
  .studio-row p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }

  /* ---------- Screenshot wall ---------- */
  .wall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wall-item { background: #fff; border-radius: var(--radius-md); padding: 10px; box-shadow: var(--shadow); }
  .wall-item .shot { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; }
  .wall-item p { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 8px; }

  /* ---------- Tags ---------- */
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 30px; }
  .tag-cloud span {
    padding: 8px 20px; border-radius: 999px; background: var(--ice-blue); color: var(--haze-deep);
    font-size: 14px; font-weight: 600; border: 1px solid rgba(140,168,196,.2);
  }
  .char-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .char-grid .shot { aspect-ratio: 3 / 4; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }

  /* ---------- Theater ---------- */
  .theater { display: grid; grid-template-columns: 1fr; gap: 20px; background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
  .theater .stage { aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; }
  .danmaku-box { background: var(--ice-blue); border-radius: var(--radius-md); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .danmaku-box h3 { font-size: 16px; }
  .danmaku-line { background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--ink-soft); box-shadow: 0 2px 8px rgba(140,168,196,.12); }

  /* ---------- Reviews ---------- */
  .review-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .review-card { background: #fff; border-radius: var(--radius-md); padding: 16px 18px; box-shadow: 0 6px 18px rgba(140,168,196,.1); font-size: 13px; color: var(--ink-soft); }
  .review-card strong { color: var(--ink); font-size: 13px; display: block; margin-bottom: 4px; }

  /* ---------- Classic dark ---------- */
  .classic { background: #2f3640; color: #e8edf3; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr; }
  .classic .pic { aspect-ratio: 16 / 9; }
  .classic .text { padding: 30px 28px; }
  .classic h2 { color: #fff; font-size: 22px; margin-bottom: 14px; }
  .classic p { color: #b9c4d1; font-size: 14px; line-height: 1.8; }

  /* ---------- Column ---------- */
  .column-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .column-card { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
  .column-card .pic { aspect-ratio: 16 / 9; }
  .column-card .text { padding: 20px 22px; }
  .column-card h3 { font-size: 16px; margin-bottom: 8px; }
  .column-card p { font-size: 13px; color: var(--ink-soft); }

  /* ---------- Weekly ---------- */
  .weekly { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .weekly-cell { border-radius: 12px; padding: 14px; background: var(--ice-blue); font-size: 13px; color: var(--ink-soft); }
  .weekly-cell.today { background: var(--sakura); color: #fff; font-weight: 700; }
  .weekly-cell b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
  .weekly-cell.today b { color: #fff; }

  /* ---------- Download ---------- */
  .download { background: #333c48; color: #eef3f8; padding: 70px 0; }
  .download .wrap { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
  .phone-wrap { display: flex; justify-content: center; }
  .phone {
    width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; overflow: hidden;
    border: 8px solid #1f262f; box-shadow: 0 30px 60px rgba(0,0,0,.5);
    transform: perspective(1100px) rotateY(-12deg) rotateX(4deg);
    background: #0f141a;
  }
  .dl-text h2 { color: #fff; font-size: 26px; margin-bottom: 16px; }
  .dl-text p { color: #b9c4d1; font-size: 14px; margin-bottom: 24px; }
  .feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
  .feat-list div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #dfe6ee; }
  .dl-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  details { background: rgba(255,255,255,.06); border-radius: 10px; margin-bottom: 10px; padding: 12px 16px; }
  details summary { cursor: pointer; font-size: 14px; color: #e8edf3; font-weight: 600; }
  details p { font-size: 13px; color: #b9c4d1; margin-top: 8px; }

  /* ---------- Footer ---------- */
  .site-footer { background: #fbfcfe; border-top: 1px solid rgba(140,168,196,.18); padding: 34px 0 26px; }
  .footer-inner { text-align: center; font-size: 12px; color: #9aa5b1; line-height: 1.9; }
  .footer-inner a { color: #9aa5b1; }
  .footer-inner a:hover { color: var(--haze-deep); }
  .footer-links { margin-bottom: 8px; }
  .footer-links a { margin: 0 8px; }

  /* ---------- Floating btn ---------- */
  .float-dl {
    position: fixed; right: 18px; bottom: 22px; z-index: 60;
    background: linear-gradient(135deg, var(--sakura) 0%, var(--sakura) 50%, var(--haze-blue) 50%, var(--haze-blue) 100%);
    color: #fff; font-size: 14px; font-weight: 700;
    padding: 13px 22px; border-radius: 999px; box-shadow: 0 10px 24px rgba(94,127,159,.35);
    border: none; cursor: pointer; display: inline-block;
  }
  .float-bubble {
    position: fixed; right: 18px; bottom: 78px; z-index: 60;
    background: #fff; color: var(--ink); font-size: 12px;
    padding: 8px 14px; border-radius: 12px; box-shadow: 0 8px 22px rgba(140,168,196,.28);
    display: none;
  }
  .float-bubble.show { display: block; }
  .dl-panel {
    position: fixed; right: 18px; bottom: 78px; z-index: 61;
    background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(94,127,159,.28);
    padding: 18px; width: 210px; display: none;
  }
  .dl-panel.show { display: block; }
  .dl-panel h4 { font-size: 14px; margin-bottom: 12px; color: var(--ink); }
  .dl-panel .btn { width: 100%; margin-bottom: 8px; font-size: 13px; padding: 9px 0; }
  .dl-panel small { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 4px; text-align: center; }

  /* ---------- Responsive ---------- */
  @media (min-width: 768px) {
    .header-dl { display: inline-flex; }
    .nav-links { display: flex; }
    .hero-card { grid-template-columns: 1.1fr 0.9fr; padding: 56px 48px; }
    .hero-card h1 { font-size: 38px; }
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .new-grid { grid-template-columns: repeat(3, 1fr); }
    .new-card { flex-direction: column; }
    .new-card .thumb { flex: none; width: 100%; }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .pick-grid { grid-template-columns: repeat(2, 1fr); }
    .studio-row { grid-template-columns: 1fr 1fr; padding: 36px; }
    .wall-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .classic { grid-template-columns: 1fr 1.2fr; }
    .classic .pic { aspect-ratio: auto; height: 100%; }
    .column-grid { grid-template-columns: repeat(2, 1fr); }
    .column-card { grid-template-columns: 0.9fr 1.1fr; }
    .column-card .pic { aspect-ratio: auto; height: 100%; }
    .weekly { grid-template-columns: repeat(4, 1fr); }
    .download .wrap { grid-template-columns: 0.9fr 1.1fr; }
  }
  @media (min-width: 1024px) {
    .hero-card h1 { font-size: 42px; }
    .rank-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(4, 1fr); }
    .weekly { grid-template-columns: repeat(7, 1fr); }
    .char-grid { grid-template-columns: repeat(4, 1fr); }
    .theater { grid-template-columns: 1.5fr 1fr; }
    section { padding: 64px 0; }
  }