:root {
    --cloud: #fffaf7;
    --peach-bg: #ffece6;
    --sakura: #ff8fab;
    --sakura-deep: #ff6f96;
    --peach: #ffb26b;
    --milk-brown: #5b4636;
    --milk-light: #8a7563;
    --card: #ffffff;
    --radius-xl: 32px;
    --radius-lg: 26px;
    --radius-md: 20px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--cloud);
    color: var(--milk-brown);
    line-height: 1.75;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; color: inherit; }
  .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* 导航 */
  header.nav-bar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 250, 247, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(255, 143, 171, 0.25);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 12px 20px; max-width: 1200px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--sakura-deep); }
  .brand img { height: 34px; width: auto; border-radius: 10px; }
  nav.links { display: flex; gap: 6px; flex-wrap: wrap; }
  nav.links a {
    padding: 7px 15px; border-radius: 999px; font-size: 14px;
    color: var(--milk-light); transition: all .25s;
  }
  nav.links a:hover { background: var(--peach-bg); color: var(--sakura-deep); }
  .nav-dl {
    padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, var(--sakura), var(--sakura-deep));
    color: #fff; box-shadow: 0 6px 16px rgba(255, 111, 150, .35);
    transition: transform .25s; white-space: nowrap;
  }
  .nav-dl:hover { transform: scale(1.06); }

  /* 波浪分割 */
  .wave { display: block; width: 100%; height: 60px; }

  /* Hero */
  .hero { padding: 34px 0 0; }
  .hero-card {
    background: linear-gradient(140deg, #fff1ec 0%, #ffe0e8 55%, #ffe8d6 100%);
    border-radius: var(--radius-xl);
    border: 2px solid #fff;
    box-shadow: 0 18px 44px rgba(255, 163, 184, .28);
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px;
    align-items: center; padding: 46px 44px; position: relative; overflow: hidden;
  }
  .hero-card::before, .hero-card::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, .5); pointer-events: none;
  }
  .hero-card::before { width: 180px; height: 180px; top: -60px; right: -40px; }
  .hero-card::after { width: 120px; height: 120px; bottom: -50px; left: 38%; background: rgba(255, 178, 107, .28); }
  .hero-txt { position: relative; z-index: 2; }
  .hero-slogan {
    display: inline-block; font-size: 13px; font-weight: 700; color: var(--sakura-deep);
    background: #fff; padding: 5px 16px; border-radius: 999px;
    border: 2px solid rgba(255, 143, 171, .4); margin-bottom: 16px;
  }
  h1 { font-size: 38px; line-height: 1.35; font-weight: 800; letter-spacing: .5px; }
  h1 .hl { color: var(--sakura-deep); }
  .hero-sub { margin: 18px 0 26px; color: var(--milk-light); font-size: 15px; max-width: 520px; }
  .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-block; padding: 13px 30px; border-radius: 999px;
    font-weight: 700; font-size: 15px; transition: transform .25s, box-shadow .25s;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--sakura), var(--sakura-deep));
    color: #fff; box-shadow: 0 10px 22px rgba(255, 111, 150, .38);
  }
  .btn-ghost {
    background: #fff; color: var(--peach); border: 2px solid var(--peach);
  }
  .btn:hover { transform: translateY(-3px) scale(1.04); }
  .hero-pic { position: relative; z-index: 2; }
  .hero-pic img {
    width: 100%; border-radius: var(--radius-lg);
    border: 3px solid #fff; box-shadow: 0 16px 34px rgba(180, 120, 130, .28);
    aspect-ratio: 3 / 4; object-fit: cover;
  }

  /* 通用区块 */
  section { padding: 26px 0; }
  .sec-head { text-align: center; margin-bottom: 30px; }
  .sec-head h2 { font-size: 26px; font-weight: 800; }
  .sec-head p { color: var(--milk-light); font-size: 14px; margin-top: 8px; }

  /* 每日投喂 */
  .feed-scroll {
    display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
  }
  .feed-scroll::-webkit-scrollbar { height: 8px; }
  .feed-scroll::-webkit-scrollbar-thumb { background: var(--peach); border-radius: 999px; }
  .feed-card {
    flex: 0 0 220px; scroll-snap-align: start;
    background: var(--card); border-radius: var(--radius-lg); border: 2px solid #fff;
    box-shadow: 0 10px 24px rgba(240, 180, 170, .22);
    padding: 12px; transition: transform .3s ease;
  }
  .feed-card:hover { transform: scale(1.05); }
  .feed-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
  .feed-card .day {
    display: inline-block; margin: 10px 0 6px; font-size: 12px; font-weight: 700;
    padding: 2px 12px; border-radius: 999px; background: var(--peach-bg); color: var(--sakura-deep);
  }
  .feed-card .day.today { background: var(--sakura); color: #fff; }
  .feed-card p { font-size: 13px; color: var(--milk-light); }

  /* 排行榜 */
  .rank-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
  .rank-top {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 3px solid #fff; box-shadow: 0 14px 32px rgba(240, 170, 170, .3);
  }
  .rank-top img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
  .crown {
    position: absolute; top: 12px; left: 12px; background: #fff; color: var(--peach);
    font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255, 178, 107, .5);
  }
  .rank-list { display: grid; gap: 14px; }
  .rank-item {
    display: flex; gap: 14px; align-items: center; background: #fff;
    border-radius: var(--radius-md); border: 2px solid #fff; padding: 10px 14px;
    box-shadow: 0 8px 18px rgba(240, 180, 170, .18); transition: transform .3s;
  }
  .rank-item:hover { transform: scale(1.04); }
  .rank-item img { width: 62px; height: 82px; object-fit: cover; border-radius: 12px; }
  .rank-item .no { font-weight: 800; color: var(--sakura-deep); font-size: 15px; }
  .rank-item .nm { font-weight: 700; font-size: 14px; }
  .rank-item .ds { font-size: 12px; color: var(--milk-light); }

  /* 时间轴 */
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px;
    background: linear-gradient(var(--sakura), var(--peach)); border-radius: 999px;
  }
  .tl-item { position: relative; background: #fff; border-radius: var(--radius-md);
    border: 2px solid #fff; box-shadow: 0 8px 20px rgba(240, 180, 170, .18);
    padding: 16px 20px; margin-bottom: 16px; transition: transform .3s; display: flex; gap: 16px; align-items: center; }
  .tl-item:hover { transform: scale(1.02); }
  .tl-item::before {
    content: ""; position: absolute; left: -24px; top: 24px; width: 13px; height: 13px;
    border-radius: 50%; background: var(--sakura); border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(255, 143, 171, .4);
  }
  .tl-item img { width: 74px; height: 100px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
  .tl-item h3 { font-size: 15px; margin-bottom: 4px; }
  .tl-item p { font-size: 13px; color: var(--milk-light); }

  /* 分类糖果标签 */
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .tag-cloud span {
    padding: 10px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
    border: 2px solid #fff; box-shadow: 0 6px 16px rgba(240, 180, 170, .2);
    transition: transform .3s;
  }
  .tag-cloud span:hover { transform: scale(1.08) rotate(-2deg); }
  .tag-a { background: #ffe3ea; color: #d9527a; }
  .tag-b { background: #ffe9d6; color: #d17a32; }
  .tag-c { background: #e5f2e0; color: #4e8a52; }
  .tag-d { background: #e3edfb; color: #4270b0; }
  .tag-e { background: #f3e6fb; color: #8a52b0; }

  /* 编辑推荐 */
  .editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .editor-card {
    background: #fff; border-radius: var(--radius-xl); border: 2px solid #fff;
    box-shadow: 0 14px 30px rgba(240, 180, 170, .2); overflow: hidden;
    transition: transform .3s;
  }
  .editor-card:hover { transform: scale(1.03); }
  .editor-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .editor-body { padding: 20px 22px 24px; }
  .editor-body h3 { font-size: 19px; margin-bottom: 10px; color: var(--sakura-deep); }
  .editor-body p { font-size: 14px; color: var(--milk-light); margin-bottom: 12px; }
  .editor-note {
    font-size: 13px; background: var(--peach-bg); color: #c25a3a;
    padding: 10px 14px; border-radius: 14px; border-left: 4px solid var(--peach);
  }

  /* 制作组 */
  .studio { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
  .studio img { width: 100%; border-radius: var(--radius-lg); border: 3px solid #fff;
    box-shadow: 0 14px 30px rgba(240, 180, 170, .25); object-fit: cover; aspect-ratio: 4 / 5; }
  .studio h2 { font-size: 24px; margin-bottom: 14px; }
  .studio p { font-size: 14px; color: var(--milk-light); margin-bottom: 12px; }

  /* 夸夸墙 */
  .praise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .praise {
    background: #fff; border-radius: var(--radius-lg); border: 2px solid #fff;
    padding: 18px; box-shadow: 0 10px 22px rgba(240, 180, 170, .18);
    font-size: 14px; color: var(--milk-brown); transition: transform .3s;
  }
  .praise:hover { transform: scale(1.05); }
  .praise small { display: block; margin-top: 10px; font-size: 12px; color: var(--sakura-deep); }

  /* 截图墙 */
  .shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .shot {
    background: #fff; border-radius: 20px; padding: 10px 10px 12px;
    border: 2px solid #fff; box-shadow: 0 10px 24px rgba(240, 180, 170, .2);
    transition: transform .3s;
  }
  .shot:hover { transform: scale(1.04) rotate(1deg); }
  .shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
  .shot p { font-size: 12px; color: var(--milk-light); margin-top: 8px; text-align: center; }

  /* 萌点标签 */
  .moé-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
  .moé-tags span { background: #fff; border: 2px solid var(--sakura); color: var(--sakura-deep);
    padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; }
  .char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .char { background: #fff; border-radius: var(--radius-md); border: 2px solid #fff;
    overflow: hidden; box-shadow: 0 10px 22px rgba(240, 180, 170, .18); transition: transform .3s; }
  .char:hover { transform: scale(1.05); }
  .char img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .char p { font-size: 12px; color: var(--milk-light); padding: 10px; }

  /* 弹幕茶话会 */
  .danmu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .danmu { background: #fff; border-radius: 999px 22px 22px 999px; padding: 14px 20px;
    font-size: 14px; border: 2px solid #fff; box-shadow: 0 8px 18px rgba(240, 180, 170, .18);
    transition: transform .3s; }
  .danmu:hover { transform: scale(1.04); }

  /* 放映室 */
  .theater { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: stretch; }
  .theater-img { border-radius: var(--radius-lg); overflow: hidden; border: 3px solid #fff;
    box-shadow: 0 16px 34px rgba(240, 180, 170, .28); }
  .theater-img img { width: 100%; height: 100%; object-fit: cover; }
  .danmu-box { background: #fff7f3; border-radius: var(--radius-lg); border: 2px solid #fff;
    box-shadow: 0 12px 26px rgba(240, 180, 170, .2); padding: 20px; display: flex;
    flex-direction: column; gap: 10px; }
  .danmu-box h3 { font-size: 17px; margin-bottom: 4px; }
  .danmu-line { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13px;
    color: var(--milk-light); border: 1px solid #ffe1d8; }
  .danmu-box .tip { font-size: 12px; color: var(--sakura-deep); margin-top: auto; }

  /* 年度神作 */
  .masterpiece {
    background: linear-gradient(140deg, #4a3a33, #5b4636); color: #fdf6f0;
    border-radius: var(--radius-xl); border: 2px solid rgba(255,255,255,.18);
    padding: 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px;
    align-items: center; box-shadow: 0 20px 44px rgba(90, 60, 50, .3);
  }
  .masterpiece img { width: 100%; border-radius: var(--radius-lg); border: 2px solid rgba(255,255,255,.25);
    object-fit: cover; aspect-ratio: 3 / 4; }
  .masterpiece h2 { font-size: 25px; margin-bottom: 16px; color: #ffd9c9; }
  .masterpiece p { font-size: 14px; color: #f0dfd4; margin-bottom: 12px; }

  /* 专栏 */
  .column-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .column-card { background: #fff; border-radius: var(--radius-lg); border: 2px solid #fff;
    box-shadow: 0 12px 26px rgba(240, 180, 170, .2); overflow: hidden; transition: transform .3s; }
  .column-card:hover { transform: scale(1.03); }
  .column-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .column-card div { padding: 18px 20px 22px; }
  .column-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--sakura-deep); }
  .column-card p { font-size: 13px; color: var(--milk-light); }

  /* 周历 */
  .week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .week-day { background: #fff; border-radius: var(--radius-md); border: 2px solid #fff;
    text-align: center; padding: 16px 6px; box-shadow: 0 8px 18px rgba(240, 180, 170, .18); }
  .week-day.today { background: linear-gradient(140deg, var(--sakura), var(--sakura-deep)); color: #fff; }
  .week-day strong { display: block; font-size: 15px; margin-bottom: 6px; }
  .week-day span { font-size: 12px; color: var(--milk-light); }
  .week-day.today span { color: #fff; }

  /* 下载区 */
  .download {
    background: linear-gradient(150deg, #6b5242, #4d3a2f 60%, #8a5c44);
    color: #fdf3ec; padding: 56px 0;
  }
  .dl-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; }
  .phone {
    width: 100%; max-width: 340px; margin: 0 auto; border-radius: 40px;
    border: 6px solid #2f241d; box-shadow: 0 26px 50px rgba(0, 0, 0, .4);
    overflow: hidden; transform: rotate(-4deg); background: #2f241d;
  }
  .phone img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; }
  .dl-txt h2 { font-size: 28px; margin-bottom: 16px; color: #ffd9c9; }
  .dl-txt > p { font-size: 15px; color: #f2e0d5; margin-bottom: 22px; }
  .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
  .feat div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px; padding: 10px 14px; font-size: 14px; }
  details { background: rgba(255,255,255,.09); border-radius: 14px; padding: 12px 16px;
    margin-bottom: 10px; border: 1px solid rgba(255,255,255,.16); }
  summary { cursor: pointer; font-weight: 700; font-size: 14px; color: #ffd9c9; }
  details p { font-size: 13px; margin-top: 8px; color: #f0dfd5; }
  .dl-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

  /* 悬浮按钮 */
  .float-btn {
    position: fixed; right: 22px; bottom: 26px; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #fff;
    background: linear-gradient(100deg, var(--sakura) 0%, var(--sakura) 48%, var(--peach) 52%, var(--peach) 100%);
    box-shadow: 0 12px 26px rgba(255, 120, 150, .4); cursor: pointer;
    border: 2px solid #fff; transhtmlForm-origin: center;
    transition: transform .3s;
  }
  .float-btn:hover { transform: scale(1.08); }
  .float-tip {
    position: fixed; right: 22px; bottom: 92px; z-index: 89;
    background: #fff; color: var(--milk-brown); font-size: 13px;
    padding: 10px 16px; border-radius: 16px; border: 2px solid var(--sakura);
    box-shadow: 0 8px 20px rgba(240, 180, 170, .3); max-width: 220px;
  }

  /* 页脚 */
  footer { background: var(--cloud); padding: 34px 0 40px; border-top: 2px dashed rgba(255, 143, 171, .3); }
  .foot-inner { text-align: center; font-size: 12px; color: #a99888; line-height: 2; }
  .foot-inner a { color: #a99888; }
  .foot-inner a:hover { color: var(--sakura-deep); }

  @media (max-width: 1024px) {
    h1 { font-size: 32px; }
    .hero-card { padding: 34px 30px; gap: 22px; }
    .editor-grid, .column-grid { grid-template-columns: 1fr; }
    .char-grid { grid-template-columns: repeat(3, 1fr); }
    .praise-grid, .danmu-grid { grid-template-columns: repeat(2, 1fr); }
    .week { grid-template-columns: repeat(4, 1fr); }
    .dl-inner { grid-template-columns: 1fr; text-align: center; }
    .feat { text-align: left; }
    .dl-btns { justify-content: center; }
    .masterpiece { grid-template-columns: 1fr; }
    .masterpiece img { max-width: 320px; margin: 0 auto; }
    .theater { grid-template-columns: 1fr; }
    .theater-img img { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 768px) {
    .nav-inner { flex-wrap: wrap; padding: 10px 16px; }
    nav.links { display: none; }
    h1 { font-size: 26px; }
    .hero-card { grid-template-columns: 1fr; padding: 26px 20px; }
    .hero-pic { order: -1; }
    .hero-pic img { aspect-ratio: 4 / 3; }
    .sec-head h2 { font-size: 21px; }
    .rank-grid { grid-template-columns: 1fr; }
    .studio { grid-template-columns: 1fr; }
    .studio img { aspect-ratio: 4 / 3; }
    .praise-grid, .danmu-grid, .shot-grid, .char-grid { grid-template-columns: 1fr 1fr; }
    .week { grid-template-columns: repeat(3, 1fr); }
    .masterpiece { padding: 24px 20px; }
    .float-btn { padding: 12px 18px; font-size: 13px; right: 14px; bottom: 18px; }
    .float-tip { right: 14px; bottom: 74px; max-width: 180px; font-size: 12px; }
    .dl-txt h2 { font-size: 22px; }
    .btn { padding: 11px 22px; font-size: 14px; }
  }