:root {
    --bg: #FDFBF7;
    --blue: #2B6CB0;
    --blue-light: #EBF8FF;
    --pink: #FBB6CE;
    --ink: #2D3748;
    --ink-soft: #6B7280;
    --white: #FFFFFF;
    --radius: 18px;
    --shadow: 0 6px 20px rgba(43, 108, 176, 0.06);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background-color: var(--bg);
    background-image:
      radial-gradient(circle at 12% 18%, rgba(43,108,176,0.035) 0 2px, transparent 3px),
      radial-gradient(circle at 78% 62%, rgba(251,182,206,0.06) 0 2px, transparent 3px);
    background-size: 46px 46px, 62px 62px;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: var(--blue); text-decoration: none; }
  img { display: block; max-width: 100%; }
  ul { list-style: none; }

  .wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253, 251, 247, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(43,108,176,0.09);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 12px 20px; max-width: 1140px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img {
    height: 36px; width: 36px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--blue-light);
  }
  .brand-name {
    font-size: 19px; font-weight: 700; color: var(--blue); letter-spacing: 0.5px;
  }
  .nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
  .nav-links a {
    font-size: 15px; color: var(--blue); padding: 6px 12px;
    border-radius: 10px; position: relative; transition: background 0.2s;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
    height: 2px; background: var(--pink); border-radius: 2px;
    transform: scaleX(0); transition: transform 0.22s ease;
  }
  .nav-links a:hover { background: var(--blue-light); }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    padding: 54px 0 60px;
  }
  .hero-deco {
    position: absolute; right: -60px; top: 30px; width: 420px;
    pointer-events: none; opacity: 0.55;
  }
  .hero-inner {
    display: grid; grid-template-columns: 1.25fr 0.75fr;
    gap: 40px; align-items: center; position: relative;
  }
  .pill {
    display: inline-block; background: var(--blue-light); color: var(--blue);
    font-size: 13px; padding: 5px 14px; border-radius: 30px; margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 40px; line-height: 1.35; color: var(--blue);
    font-weight: 800; margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 16px; color: var(--ink-soft); max-width: 520px; margin-bottom: 26px;
  }
  .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-block; font-size: 15px; padding: 12px 26px;
    border-radius: 30px; font-weight: 600; transition: transform 0.18s, box-shadow 0.18s;
  }
  .btn-solid { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(43,108,176,0.25); }
  .btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43,108,176,0.3); }
  .btn-ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
  .btn-ghost:hover { background: var(--blue-light); transform: translateY(-2px); }

  .hero-visual { position: relative; text-align: center; }
  .hero-visual .hero-img {
    width: 100%; border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(43,108,176,0.16);
    border: 6px solid #fff;
  }
  .float-tag {
    position: absolute; background: rgba(235,248,255,0.92);
    border: 1px solid rgba(43,108,176,0.2);
    color: var(--blue); font-size: 12px; padding: 4px 10px; border-radius: 20px;
  }
  .float-tag.t1 { top: 8%; left: -6%; }
  .float-tag.t2 { bottom: 14%; right: -4%; }

  /* ---------- 通用区块 ---------- */
  section.block { padding: 52px 0; }
  .sec-head { text-align: center; margin-bottom: 32px; }
  .sec-head h2 {
    font-size: 27px; color: var(--blue); font-weight: 800; margin-bottom: 8px;
  }
  .sec-head p { font-size: 15px; color: var(--ink-soft); }

  /* ---------- 日历 + 成就 ---------- */
  .calendar-layout {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px;
  }
  .card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 22px; border: 1px solid rgba(43,108,176,0.06);
  }
  .week-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  }
  .day-cell {
    border-radius: 12px; background: var(--bg); padding: 10px 6px;
    text-align: center; font-size: 12px; transition: background 0.2s;
  }
  .day-cell:hover { background: var(--blue-light); }
  .day-cell .day-name { display: block; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
  .day-cell .show { display: block; color: var(--ink-soft); line-height: 1.5; margin-bottom: 3px; }
  .day-cell.today { background: var(--blue); }
  .day-cell.today .day-name,
  .day-cell.today .show { color: #fff; }
  .day-cell.today:hover { background: #245a94; }

  .achievements h3 { font-size: 16px; color: var(--blue); margin-bottom: 14px; }
  .badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .badge {
    font-size: 12px; padding: 4px 12px; border-radius: 20px;
    background: var(--blue-light); color: var(--blue);
  }
  .badge.pinkish { background: #FFF1F6; color: #B83280; }
  .progress-label {
    display: flex; justify-content: space-between; font-size: 13px;
    color: var(--ink-soft); margin-bottom: 6px;
  }
  .bar { height: 10px; background: var(--blue-light); border-radius: 8px; overflow: hidden; }
  .bar > span { display: block; height: 100%; width: 80%; background: linear-gradient(90deg, #63B3ED, var(--blue)); border-radius: 8px; }
  .note { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

  /* ---------- 漫库 ---------- */
  .lib-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
  .lib-tabs a {
    font-size: 14px; padding: 7px 18px; border-radius: 20px;
    background: #fff; border: 1px solid rgba(43,108,176,0.18); color: var(--blue);
  }
  .lib-tabs a:hover { background: var(--blue-light); }
  .grid-4 {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .anime-card {
    position: relative; background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s;
  }
  .anime-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(43,108,176,0.14); }
  .anime-card .thumb { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--blue-light); }
  .anime-card .tag {
    position: absolute; top: 8px; left: 8px; font-size: 11px;
    background: rgba(43,108,176,0.82); color: #fff;
    padding: 3px 9px; border-radius: 10px;
  }
  .anime-card .score {
    position: absolute; top: 8px; right: 8px; font-size: 12px; font-weight: 700;
    color: #B83280; background: #FFF1F6; padding: 2px 8px; border-radius: 10px;
  }
  .anime-card .meta { padding: 10px 12px 13px; }
  .anime-card .meta strong { display: block; font-size: 14px; color: var(--ink); }
  .anime-card .meta span { font-size: 12px; color: var(--ink-soft); }

  .lib-group-title {
    font-size: 18px; color: var(--blue); margin: 34px 0 16px; font-weight: 700;
  }
  .lib-group-title:first-of-type { margin-top: 0; }

  /* ---------- 盲盒 ---------- */
  .boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .box-card {
    background: #fff; border-radius: 14px; padding: 14px;
    box-shadow: var(--shadow); text-align: center;
    transition: transform 0.25s;
  }
  .box-card:hover { transform: scale(1.03); }
  .box-card img { width: 100%; border-radius: 10px; aspect-ratio: 3 / 4; object-fit: cover; }
  .box-card p { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

  /* ---------- 弹幕气泡 ---------- */
  .bubble-stage { display: flex; flex-direction: column; gap: 14px; }
  .bubble {
    max-width: 420px; background: #fff; border-radius: 16px;
    padding: 12px 18px; font-size: 14px; box-shadow: var(--shadow);
    border: 1px solid rgba(43,108,176,0.07); transition: transform 0.2s;
  }
  .bubble:hover { transform: scale(1.04); }
  .bubble .likes { display: block; font-size: 12px; color: #B83280; margin-top: 4px; }
  .bubble:nth-child(even) { align-self: flex-end; background: var(--blue-light); }

  /* ---------- 时间表 ---------- */
  .schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .sched-col {
    background: #fff; border-radius: 12px; padding: 12px 8px;
    box-shadow: var(--shadow); font-size: 12px;
  }
  .sched-col h3 { font-size: 13px; color: var(--blue); text-align: center; margin-bottom: 8px; }
  .sched-col li { color: var(--ink-soft); margin-bottom: 6px; line-height: 1.5; }
  .sched-col li .plus { color: var(--blue); font-weight: 700; margin-left: 2px; }
  .sched-col.today { background: var(--blue); }
  .sched-col.today h3, .sched-col.today li { color: #fff; }
  .sched-col.today li .plus { color: #FBB6CE; }

  /* ---------- 动态 & 排行 ---------- */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .feed li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; color: var(--ink-soft); padding: 9px 0;
    border-bottom: 1px dashed rgba(43,108,176,0.12);
  }
  .feed li:last-child { border-bottom: 0; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 8px; flex: 0 0 8px; }
  .rank li {
    display: flex; align-items: center; gap: 12px; font-size: 14px;
    padding: 9px 0; border-bottom: 1px dashed rgba(43,108,176,0.12);
  }
  .rank li:last-child { border-bottom: 0; }
  .rank-num {
    width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
  }
  .rank-num.top { background: var(--pink); color: #8B2A52; }
  .rank-score { margin-left: auto; color: #B83280; font-weight: 700; font-size: 13px; }

  /* ---------- 下载 & FAQ ---------- */
  .download-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start; }
  .dl-title { font-size: 26px; color: var(--blue); font-weight: 800; margin-bottom: 12px; }
  .dl-desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; }
  .dl-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .dl-phase { font-size: 12px; color: var(--ink-soft); }
  .faq details {
    background: #fff; border-radius: 12px; padding: 12px 16px;
    margin-bottom: 10px; box-shadow: var(--shadow);
    border: 1px solid rgba(43,108,176,0.07);
  }
  .faq summary {
    cursor: pointer; font-size: 14px; font-weight: 600; color: var(--blue);
    list-style: none;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq details p { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

  /* ---------- 图片墙 ---------- */
  .gallery-strip {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  }
  .gallery-strip img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 10px; box-shadow: var(--shadow);
  }
  .gallery-caption {
    font-size: 14px; color: var(--ink-soft); text-align: center;
    max-width: 760px; margin: 18px auto 0;
  }

  /* ---------- 悬浮下载 ---------- */
  .float-dl {
    position: fixed; right: 22px; bottom: 24px; z-index: 60;
    width: 60px; height: 60px; border-radius: 50%;
    background: #fff; border: 3px solid var(--blue);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(43,108,176,0.25);
    animation: breathe 2.8s ease-in-out infinite;
  }
  .float-dl svg { width: 24px; height: 24px; }
  .float-dl .tip {
    position: absolute; right: 70px; white-space: nowrap;
    background: var(--blue); color: #fff; font-size: 12px;
    padding: 4px 10px; border-radius: 8px;
  }
  @keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
  }

  /* ---------- 页脚 ---------- */
  .site-footer {
    background: #F6F4EE; border-top: 1px solid rgba(43,108,176,0.1);
    padding: 32px 0 26px; margin-top: 40px;
    font-size: 12px; color: #9AA3AE;
  }
  .footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
  .footer-top { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; }
  .footer-brand { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 13px; }
  .footer-brand img { height: 24px; width: 24px; border-radius: 50%; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 620px; }
  .footer-links a { color: #8B94A0; font-size: 12px; }
  .footer-links a:hover { color: var(--blue); }
  .footer-about { margin-top: 18px; }
  .footer-about summary {
    cursor: pointer; font-size: 12px; color: #8B94A0; list-style: none;
  }
  .footer-about summary::-webkit-details-marker { display: none; }
  .footer-about[open] summary { color: var(--blue); }
  .footer-about p { font-size: 12px; color: #9AA3AE; margin-top: 8px; line-height: 1.8; }
  .footer-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
  .footer-meta time { font-size: 12px; color: #A8B0BA; }

  @media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .calendar-layout { grid-template-columns: 1fr; }
    .download-layout { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 768px) {
    .hero h1 { font-size: 29px; }
    .nav-links { gap: 0; width: 100%; justify-content: flex-start; overflow-x: auto; }
    .nav-inner { flex-wrap: wrap; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .week-grid { grid-template-columns: repeat(4, 1fr); }
    .boxes { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .sec-head h2 { font-size: 22px; }
    .float-dl { width: 52px; height: 52px; right: 14px; bottom: 16px; }
    .float-dl .tip { display: none; }
  }