/* ========== 手写字体（喵闪 · 鸿雷小纸条青春体，免费商用） ========== */
    @font-face {
      font-family: "HongLei";
      src: url("../assets/font/HongLeiXiaoZhiTiao.ttf") format("truetype");
      font-display: swap;
    }

    /* ========== 设计令牌（手绘蜡笔） ========== */
    :root {
      --bg: #F7F0E1;
      --surface: #FFFDF7;
      --ink: #3E3226;
      --muted: #8B7355;
      --accent: #E0705E;
      --accent-deep: #C45545;
      --gold: #E0A93C;
      --line: #C9B28F;
      --rose-soft: #F8E2D8;
      --sage: #7FA07A;
      --error: #C44B3B;
      --paper-line: #3E3226;
      --sketch-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
      --sketch-radius-alt: 15px 255px 15px 225px / 225px 15px 255px 15px;

      --s-0: 0px;
      --s-25: 2px;
      --s-50: 4px;
      --s-75: 8px;
      --s-100: 12px;
      --s-200: 16px;
      --s-300: 24px;
      --s-400: 32px;
      --s-500: 40px;
      --s-600: 48px;
      --s-700: 64px;
      --s-800: 80px;
      --s-900: 96px;

      --r-lg: 8px;
      --r-xl: 12px;
      --r-2xl: 16px;
      --r-full: 9999px;

      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --shadow-soft: 0 8px 32px rgba(74, 55, 40, 0.08);
      --nav-h: 56px;

      /* Liquid Glass */
      --glass-bg: rgba(255, 255, 255, 0.36);
      --glass-bg-strong: rgba(255, 255, 255, 0.52);
      --glass-bg-deep: rgba(255, 255, 255, 0.2);
      --glass-stroke: rgba(255, 255, 255, 0.72);
      --glass-stroke-soft: rgba(255, 255, 255, 0.42);
      --glass-blur: blur(28px) saturate(180%);
      --glass-blur-soft: blur(18px) saturate(160%);
      --glass-inner: inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.35),
        inset 1px 0 0 rgba(255, 255, 255, 0.28),
        inset -1px 0 0 rgba(255, 255, 255, 0.28);
      --glass-shadow: 0 14px 42px rgba(74, 55, 40, 0.1),
        0 2px 8px rgba(74, 55, 40, 0.05),
        0 0 0 0.5px rgba(255, 255, 255, 0.2);
    }

    /* ========== 基础 ========== */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      margin: 0;
      font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
      background-color: var(--bg);
      background-image:
        radial-gradient(rgba(62, 50, 38, 0.035) 1px, transparent 1px),
        radial-gradient(rgba(62, 50, 38, 0.025) 1px, transparent 1px);
      background-size: 3px 3px, 7px 7px;
      background-position: 0 0, 2px 3px;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: clip;
      padding-bottom: 170px;
    }
    /* 去掉移动端点击蓝色高光 */
    a, button, input, textarea, select, label {
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
    }
    button, .btn, .nav a, .choice span, .count-picker button {
      user-select: none;
      -webkit-user-select: none;
    }
    html { overflow-x: clip; }

    img { max-width: 100%; display: block; height: auto; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; color: inherit; }
    h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
    ul, ol { margin: 0; padding: 0; list-style: none; }

    .wrap {
      width: min(680px, calc(100% - var(--s-600)));
      margin-inline: auto;
    }

    /* ========== 手绘纸片表面 ========== */
    .glass, .glass-strong, .glass-deep {
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      box-shadow: 4px 4px 0 rgba(62, 50, 38, 0.12);
    }
    @media (max-width: 480px) {
      .wrap { width: calc(100% - var(--s-400)); }
    }

    /* ========== 文字样式 ========== */
    .font-hand,
    .hero-names,
    .tagline-text,
    .section-head .heading-3,
    .section-head .caption-4,
    .footer .heading-4,
    .footer-sign .title-2,
    .hero-eyebrow,
    .countdown-num {
      font-family: "HongLei", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
    }
    .heading-1 {
      font-size: 48px;
      line-height: 1.1;
      font-weight: 600;
      text-wrap: balance;
    }
    .heading-2 {
      font-size: 36px;
      line-height: 40px;
      font-weight: 600;
      text-wrap: balance;
    }
    .heading-3 {
      font-size: 30px;
      line-height: 36px;
      font-weight: 600;
      text-wrap: balance;
    }
    .heading-4 {
      font-size: 24px;
      line-height: 32px;
      font-weight: 600;
      text-wrap: balance;
    }
    .title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
    .title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
    .title-3 { font-size: 17px; line-height: 26px; font-weight: 500; }
    .body-3 { font-size: 17px; line-height: 28px; font-weight: 400; text-wrap: pretty; }
    .body-5 { font-size: 16px; line-height: 24px; font-weight: 500; }
    .body-6 { font-size: 15px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
    .button-md { font-size: 17px; line-height: 24px; font-weight: 600; }
    .caption-2 { font-size: 15px; line-height: 22px; font-weight: 400; }
    .caption-4 {
      font-size: 14px;
      line-height: 20px;
      font-weight: 500;
      letter-spacing: 0.06em;
    }

    @media (min-width: 768px) {
      .heading-1 { font-size: 60px; line-height: 60px; }
    }

    /* ========== 跳转链接 ========== */
    .skip-link {
      position: absolute;
      left: var(--s-200);
      top: -100px;
      z-index: 100;
      background: var(--ink);
      color: var(--surface);
      padding: var(--s-75) var(--s-200);
      border-radius: var(--r-lg);
      transition: top 300ms var(--ease);
    }
    .skip-link:focus { top: var(--s-200); }

    /* ========== 底部 Tab 栏（Liquid Glass Dock） ========== */
    .nav {
      position: fixed;
      bottom: max(var(--s-200), env(safe-area-inset-bottom, 0px));
      left: 50%;
      transform: translateX(-50%) translateY(140%);
      z-index: 50;
      display: flex;
      align-items: stretch;
      gap: var(--s-25);
      padding: 6px;
      width: min(440px, calc(100% - var(--s-300)));
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      box-shadow: 4px 4px 0 rgba(62, 50, 38, 0.18);
      opacity: 0;
      transition: transform 500ms var(--ease), opacity 500ms var(--ease);
    }
    .nav.is-visible {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
    .nav a {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      padding: var(--s-50) var(--s-50);
      border-radius: 22px;
      color: var(--muted);
      transition: color 300ms var(--ease), background 300ms var(--ease), box-shadow 300ms var(--ease);
      white-space: nowrap;
      min-width: 0;
    }
    .nav a .icon {
      width: 20px;
      height: 20px;
    }
    .nav a .label {
      font-size: 13px;
      line-height: 16px;
      font-weight: 500;
    }
    .nav a:hover { color: var(--ink); background: var(--rose-soft); }
    .nav a:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .nav a.is-active {
      color: var(--accent-deep);
      background: var(--rose-soft);
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.14);
    }
    .nav .nav-cta {
      background: transparent;
      color: var(--muted);
    }
    .nav .nav-cta:hover { background: rgba(255, 255, 255, 0.35); color: var(--ink); }

    @media (max-width: 380px) {
      .nav { width: calc(100% - var(--s-200)); gap: 0; }
      .nav a { padding: var(--s-50) 2px; }
      .nav a .label { font-size: 12px; }
    }

    /* ========== 按钮（Liquid） ========== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--s-75);
      padding: var(--s-75) var(--s-300);
      border: 1px solid transparent;
      border-radius: var(--r-full);
      cursor: pointer;
      transition: transform 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
      will-change: transform;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn:active {
      transform: scale(0.96) translateY(1px);
      transition-duration: 80ms;
    }
    .btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
    .btn-primary {
      background: var(--accent);
      color: #FFF8EE;
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.22);
    }
    .btn-primary:hover {
      background: var(--accent-deep);
      color: #FFF8EE;
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.22);
    }
    .btn-ghost {
      background: var(--surface);
      color: var(--ink);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius-alt);
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.14);
    }
    .btn-ghost:hover {
      background: var(--rose-soft);
      border-color: var(--paper-line);
    }
    .btn-gold {
      background: rgba(201, 169, 110, 0.92);
      color: #fff;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 10px 28px rgba(201, 169, 110, 0.3);
    }
    .btn-gold:hover { background: #B8975C; color: #fff; }
    .btn-block { width: 100%; }
    .btn-lg { padding: var(--s-100) var(--s-400); }


    /* ========== 涂鸦图标（Oreo Doodle Icons / CC MIT） ========== */
    .icon {
      display: inline-block;
      width: 20px;
      height: 20px;
      background-color: currentColor;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: contain;
      mask-size: contain;
      flex-shrink: 0;
    }
    .icon-heart     { -webkit-mask-image: url("../assets/doodle/icon-heart.svg");     mask-image: url("../assets/doodle/icon-heart.svg"); }
    .icon-home      { -webkit-mask-image: url("../assets/doodle/icon-home.svg");      mask-image: url("../assets/doodle/icon-home.svg"); }
    .icon-calendar  { -webkit-mask-image: url("../assets/doodle/icon-calendar.svg");  mask-image: url("../assets/doodle/icon-calendar.svg"); }
    .icon-camera    { -webkit-mask-image: url("../assets/doodle/icon-camera.svg");    mask-image: url("../assets/doodle/icon-camera.svg"); }
    .icon-chat      { -webkit-mask-image: url("../assets/doodle/icon-chat.svg");      mask-image: url("../assets/doodle/icon-chat.svg"); }
    .icon-users     { -webkit-mask-image: url("../assets/doodle/icon-users.svg");     mask-image: url("../assets/doodle/icon-users.svg"); }
    .icon-star      { -webkit-mask-image: url("../assets/doodle/icon-star.svg");      mask-image: url("../assets/doodle/icon-star.svg"); }
    .icon-sun       { -webkit-mask-image: url("../assets/doodle/icon-sun.svg");       mask-image: url("../assets/doodle/icon-sun.svg"); }
    .icon-leaf      { -webkit-mask-image: url("../assets/doodle/icon-leaf.svg");      mask-image: url("../assets/doodle/icon-leaf.svg"); }
    .icon-flower    { -webkit-mask-image: url("../assets/doodle/icon-flower.svg");    mask-image: url("../assets/doodle/icon-flower.svg"); }
    .icon-confetti  { -webkit-mask-image: url("../assets/doodle/icon-confetti.svg");  mask-image: url("../assets/doodle/icon-confetti.svg"); }
    .icon-map-pin   { -webkit-mask-image: url("../assets/doodle/icon-map-pin.svg");   mask-image: url("../assets/doodle/icon-map-pin.svg"); }
    .icon-bell      { -webkit-mask-image: url("../assets/doodle/icon-bell.svg");      mask-image: url("../assets/doodle/icon-bell.svg"); }
    .icon-ring      { -webkit-mask-image: url("../assets/doodle/icon-ring.svg");      mask-image: url("../assets/doodle/icon-ring.svg"); }
    .icon-diamond   { -webkit-mask-image: url("../assets/doodle/icon-diamond.svg");   mask-image: url("../assets/doodle/icon-diamond.svg"); }
    .icon-pen       { -webkit-mask-image: url("../assets/doodle/icon-pen.svg");       mask-image: url("../assets/doodle/icon-pen.svg"); }
    .icon-pencil    { -webkit-mask-image: url("../assets/doodle/icon-pencil.svg");    mask-image: url("../assets/doodle/icon-pencil.svg"); }
    .icon-book      { -webkit-mask-image: url("../assets/doodle/icon-book.svg");      mask-image: url("../assets/doodle/icon-book.svg"); }
    .icon-phone     { -webkit-mask-image: url("../assets/doodle/icon-phone.svg");     mask-image: url("../assets/doodle/icon-phone.svg"); }
    .icon-pin       { -webkit-mask-image: url("../assets/doodle/icon-pin.svg");       mask-image: url("../assets/doodle/icon-pin.svg"); }
    .icon-moon      { -webkit-mask-image: url("../assets/doodle/icon-moon.svg");      mask-image: url("../assets/doodle/icon-moon.svg"); }
    .icon-car       { -webkit-mask-image: url("../assets/doodle/icon-car.svg");       mask-image: url("../assets/doodle/icon-car.svg"); }
    .icon-bird      { -webkit-mask-image: url("../assets/doodle/icon-bird.svg");      mask-image: url("../assets/doodle/icon-bird.svg"); }
    .icon-cat       { -webkit-mask-image: url("../assets/doodle/icon-cat.svg");       mask-image: url("../assets/doodle/icon-cat.svg"); }
    .icon-clock     { -webkit-mask-image: url("../assets/doodle/pp-clock.svg");       mask-image: url("../assets/doodle/pp-clock.svg"); }
    .icon-gift      { -webkit-mask-image: url("../assets/doodle/pp-gift.svg");        mask-image: url("../assets/doodle/pp-gift.svg"); }
    .icon-map       { -webkit-mask-image: url("../assets/doodle/pp-map.svg");         mask-image: url("../assets/doodle/pp-map.svg"); }

    /* 内联 SVG 图标（不用 mask 的那些） */
    .icon-svg {
      display: inline-block;
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      color: var(--gold);
    }
    .icon-svg svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* 手绘插画 */
    .doodle-art {
      display: block;
      margin: var(--s-400) auto var(--s-300);
      width: min(220px, 58%);
      height: auto;
      pointer-events: none;
    }
    .doodle-art.float-left { margin-left: 0; }
    .doodle-art.float-right { margin-right: 0; }

    /* 马克笔高亮 */
    .marker {
      background: linear-gradient(180deg, transparent 52%, rgba(255, 214, 102, 0.55) 52%, rgba(255, 214, 102, 0.55) 92%, transparent 92%);
      padding: 0 6px;
    }

    /* ========== 装饰 ========== */
    .ornament {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--s-200);
      color: var(--gold);
    }
    .ornament::before,
    .ornament::after {
      content: "";
      height: 1px;
      width: 48px;
      background: var(--gold);
      opacity: 0.55;
    }
    .ornament svg { flex-shrink: 0; }

    .section {
      padding-block: var(--s-800);
      position: relative;
    }
    @media (max-width: 480px) {
      .section { padding-block: var(--s-700); }
    }
    .section-head {
      text-align: center;
      margin-bottom: var(--s-500);
    }
    .section-head .caption-4 {
      color: var(--gold);
      display: block;
      margin-bottom: var(--s-200);
      font-size: 15px;
      letter-spacing: 0.14em;
    }
    .section-head .heading-3 {
      margin-bottom: var(--s-200);
      font-size: 32px;
      line-height: 42px;
    }
    .section-head .body-3 {
      color: var(--muted);
      max-width: 420px;
      margin-inline: auto;
      font-size: 16px;
      line-height: 26px;
    }

    /* ========== 滚动显现 ========== */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    }
    .reveal.is-in {
      opacity: 1;
      transform: translateY(0);
    }

    /* 卡片网格：子卡片错峰入场（容器只淡入，运动交给子元素） */
    .info-grid.reveal,
    .tips-grid.reveal,
    .photo-duo.reveal {
      transform: none;
    }
    .info-grid.is-in > .info-card,
    .tips-grid.is-in > .tip-card {
      opacity: 0;
      animation: stagger-rise 550ms var(--ease) forwards;
    }
    .info-grid.is-in > .info-card:nth-child(1),
    .tips-grid.is-in > .tip-card:nth-child(1) { animation-delay: 0ms; }
    .info-grid.is-in > .info-card:nth-child(2),
    .tips-grid.is-in > .tip-card:nth-child(2) { animation-delay: 120ms; }
    .info-grid.is-in > .info-card:nth-child(3),
    .tips-grid.is-in > .tip-card:nth-child(3) { animation-delay: 240ms; }
    .tips-grid.is-in > .tip-card:nth-child(4) { animation-delay: 360ms; }
    @keyframes stagger-rise {
      from { opacity: 0; transform: translateY(18px) rotate(0deg); }
      to   { opacity: 1; transform: var(--rest-transform, translateY(0)); }
    }
    /* 保持卡片各自的旋转角 */
    .info-grid.is-in > .info-card:nth-child(1) { --rest-transform: translateY(0) rotate(-0.4deg); }
    .info-grid.is-in > .info-card:nth-child(2) { --rest-transform: translateY(0) rotate(0.5deg); }
    .info-grid.is-in > .info-card:nth-child(3) { --rest-transform: translateY(0) rotate(-0.3deg); }
    .tips-grid.is-in > .tip-card:nth-child(odd) { --rest-transform: translateY(0) rotate(0.35deg); }
    .tips-grid.is-in > .tip-card:nth-child(even) { --rest-transform: translateY(0) rotate(-0.45deg); }

    /* 照片对：左右错峰 */
    .photo-duo.is-in > .photo-frame:nth-child(1) {
      opacity: 0;
      animation: photo-settle 650ms var(--ease) 0ms forwards;
    }
    .photo-duo.is-in > .photo-frame:nth-child(2) {
      opacity: 0;
      animation: photo-settle 650ms var(--ease) 180ms forwards;
    }
    @keyframes photo-settle {
      from { opacity: 0; transform: rotate(-3deg) scale(0.93); }
      to   { opacity: 1; transform: rotate(-1.5deg) scale(1); }
    }

    /* ========== 时间线渐进绘制 ========== */
    .timeline::before {
      transform-origin: top;
      transform: scaleY(0);
      transition: transform 1200ms var(--ease);
    }
    .timeline.is-in::before {
      transform: scaleY(1);
    }
    .timeline li {
      opacity: 0;
      transform: translateX(-12px);
    }
    .timeline.is-in li {
      animation: tl-item 500ms var(--ease) forwards;
    }
    .timeline.is-in li:nth-child(1) { animation-delay: 150ms; }
    .timeline.is-in li:nth-child(2) { animation-delay: 400ms; }
    .timeline.is-in li:nth-child(3) { animation-delay: 650ms; }
    .timeline.is-in li:nth-child(4) { animation-delay: 900ms; }
    @keyframes tl-item {
      from { opacity: 0; transform: translateX(-12px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    /* 照片入场（缩放+旋转沉降） */
    .photo-frame.reveal-photo {
      opacity: 0;
      transform: rotate(-3deg) scale(0.94);
      transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    }
    .photo-frame.reveal-photo.is-in {
      opacity: 1;
      transform: rotate(-1.5deg) scale(1);
    }

    /* ========== 樱花雨（WebGL） ========== */
    .sakura-canvas {
      pointer-events: none;
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
    }
    @media (prefers-reduced-motion: reduce) {
      .sakura-canvas { display: none; }
    }

    /* ========== Mini 音乐条（播放/暂停 + 歌词） ========== */
    .mini-bar {
      position: fixed;
      bottom: calc(var(--nav-h) + 32px);
      right: var(--s-200);
      transform: translateY(12px);
      z-index: 45;
      display: flex;
      align-items: center;
      gap: var(--s-100);
      padding: var(--s-50) var(--s-75) var(--s-50) var(--s-50);
      background: rgba(255, 253, 247, 0.85);
      backdrop-filter: blur(14px) saturate(160%);
      -webkit-backdrop-filter: blur(14px) saturate(160%);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.12);
      opacity: 0;
      pointer-events: none;
      transition: opacity 500ms var(--ease), transform 500ms var(--ease),
                  width 450ms var(--ease), right 450ms var(--ease);
      /* 收起：贴右下角；播放展开：滑到 Tab 栏正上方居中 */
      width: 56px;
      overflow: hidden;
    }
    .mini-bar.is-visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .mini-bar.is-playing {
      width: min(420px, calc(100% - var(--s-400)));
      right: 50%;
    }
    .mini-bar.is-visible.is-playing {
      transform: translateX(50%);
    }

    /* 播放/暂停按钮 */
    .mini-btn {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      background: var(--rose-soft);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius-alt);
      cursor: pointer;
      color: var(--accent-deep);
      transition: transform 250ms var(--ease), background 250ms var(--ease);
    }
    .mini-btn:active { transform: scale(0.92); }
    .mini-btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .mini-btn.is-on {
      background: var(--rose-soft);
      color: var(--accent-deep);
    }
    .mini-btn .note {
      width: 20px;
      height: 20px;
    }
    .mini-btn.is-on .note-main {
      animation: note-bounce 1.2s var(--ease) infinite;
    }
    @keyframes note-bounce {
      0%, 100% { transform: translateY(0) rotate(-6deg); }
      50% { transform: translateY(-3px) rotate(8deg); }
    }
    .mini-btn .slash {
      display: none;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      padding: 10px;
    }
    .mini-btn:not(.is-on) .slash { display: block; }
    .mini-btn:not(.is-on) .note-main { opacity: 0.35; }

    /* 歌词文字 */
    .mini-lyric-wrap {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      opacity: 1;
      text-align: center;
      transition: opacity 350ms var(--ease);
    }
    .mini-bar:not(.is-playing) .mini-lyric-wrap {
      opacity: 0;
    }
    .mini-lyric {
      display: block;
      font-family: "HongLei", "Noto Serif SC", serif;
      font-size: 15px;
      line-height: 22px;
      color: var(--ink);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 1;
      transform: translateY(0);
      transition: opacity 400ms var(--ease), transform 400ms var(--ease);
    }
    .mini-lyric.is-leaving {
      opacity: 0;
      transform: translateY(-6px);
    }
    .mini-lyric.is-entering {
      opacity: 0;
      transform: translateY(6px);
    }

    @media (prefers-reduced-motion: reduce) {
      .mini-bar { display: none; }
      .mini-btn.is-on .note-main { animation: none; }
    }

    /* ========== 封面 Hero（视差封面头图） ========== */
    .hero {
      position: relative;
      z-index: 0;
      /* 铺满可视区：dvh 跟随地址栏收放，svh/vh 做兼容 */
      min-height: 100vh;
      min-height: 100svh;
      min-height: 100dvh;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      display: flex;
      align-items: center;
      padding: var(--s-800) 0 var(--s-900);
      text-align: center;
      overflow: hidden;
    }
    .page-body {
      position: relative;
      z-index: 1;
      background: var(--bg);
      border-radius: 28px 28px 0 0;
      box-shadow: 0 -8px 28px rgba(40, 26, 18, 0.08);
    }
    .hero-bg {
      position: absolute;
      left: 0;
      right: 0;
      top: -18%;
      height: 136%;
      background-image: url("../assets/photo-hero.jpg");
      background-size: cover;
      background-position: center;
      will-change: transform;
      transform: translate3d(0, 0, 0) scale(1.02);
    }
    .hero-scrim {
      position: absolute;
      inset: 0;
      background: rgba(58, 40, 30, 0.46);
    }
    .hero-scrim-soft {
      position: absolute;
      inset: 0;
      background: rgba(251, 247, 242, 0.12);
    }
    .hero-fade {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 46%;
      background: linear-gradient(
        to bottom,
        rgba(251, 247, 242, 0) 0%,
        rgba(251, 247, 242, 0.18) 35%,
        rgba(251, 247, 242, 0.62) 68%,
        var(--bg) 100%
      );
      z-index: 3;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      color: #FBF7F2;
      will-change: transform, opacity;
    }
    .hero-eyebrow {
      color: #F0D9A8;
      display: inline-flex;
      align-items: center;
      gap: var(--s-100);
      margin-bottom: var(--s-400);
      font-size: 17px;
      line-height: 24px;
      letter-spacing: 0.12em;
    }
    .hero-eyebrow::before,
    .hero-eyebrow::after {
      content: "";
      width: 24px;
      height: 1px;
      background: #F0D9A8;
    }
    .hero-names {
      font-size: 42px;
      line-height: 1.2;
      font-weight: 600;
      color: #FFFFFF;
      margin-bottom: var(--s-300);
      overflow-wrap: anywhere;
      text-shadow: 0 2px 18px rgba(40, 24, 16, 0.28);
    }
    .hero-names .amp {
      display: inline-block;
      margin-inline: var(--s-75);
      color: #F0D9A8;
      font-weight: 500;
    }
    @media (min-width: 480px) {
      .hero-names { font-size: 52px; line-height: 1.15; }
      .hero-names .amp { margin-inline: var(--s-100); }
    }
    @media (min-width: 768px) {
      .hero-names { font-size: 64px; line-height: 1.1; }
    }
    .hero-date {
      color: rgba(251, 247, 242, 0.92);
      margin-bottom: var(--s-500);
    }
    .hero-date strong {
      color: #FFFFFF;
      font-weight: 500;
    }

    /* 倒计时：四张 Liquid Glass 卡片 */
    .countdown {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--s-100);
      max-width: 520px;
      margin: 0 auto var(--s-500);
    }
    .countdown-item {
      background: #FFF6E6;
      border: 2px solid var(--ink);
      border-radius: var(--sketch-radius);
      padding: var(--s-200) var(--s-75);
      text-align: center;
      min-width: 0;
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.28);
      transform: rotate(-0.6deg);
    }
    .countdown-item:nth-child(2) { transform: rotate(0.5deg); border-radius: var(--sketch-radius-alt); }
    .countdown-item:nth-child(3) { transform: rotate(-0.4deg); }
    .countdown-item:nth-child(4) { transform: rotate(0.7deg); border-radius: var(--sketch-radius-alt); }
    .countdown-num {
      font-family: "HongLei", "Noto Serif SC", serif;
      font-size: 32px;
      line-height: 40px;
      font-weight: 600;
      color: var(--accent-deep);
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.08em;
      word-spacing: 0.06em;
    }
    .countdown-label {
      margin-top: 2px;
      color: rgba(74, 55, 40, 0.72);
      font-size: 15px;
      line-height: 20px;
    }
    @media (min-width: 480px) {
      .countdown { gap: var(--s-200); }
      .countdown-item { padding: var(--s-300) var(--s-100); border-radius: 24px; }
      .countdown-num { font-size: 40px; line-height: 48px; }
    }
    .countdown.is-wedding .countdown-num { color: var(--gold); }
    .countdown.is-wedding .countdown-item {
      background: rgba(255, 252, 244, 0.38);
    }

    /* 倒计时数字翻转 */
    .countdown-num {
      display: inline-block;
      position: relative;
    }
    .countdown-num.is-rolling {
      animation: digit-roll 380ms var(--ease);
    }
    @keyframes digit-roll {
      0%   { transform: translateY(0); opacity: 1; }
      35%  { transform: translateY(-14px); opacity: 0; }
      36%  { transform: translateY(14px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }

    .hero-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-100);
      max-width: 420px;
      margin: 0 auto var(--s-500);
    }
    @media (min-width: 480px) {
      .hero-actions { gap: var(--s-200); max-width: 460px; }
    }
    .hero-actions .btn {
      width: 100%;
      min-width: 0;
    }
    .hero-actions .btn-ghost {
      color: var(--ink);
      border: 2px solid var(--ink);
      background: #FFF6E6;
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.35);
    }
    .hero-actions .btn-ghost:hover {
      background: var(--rose-soft);
      color: var(--ink);
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--s-75);
      background: rgba(251, 247, 242, 0.18);
      border: 1px solid rgba(251, 247, 242, 0.35);
      color: #FBF7F2;
      padding: var(--s-50) var(--s-200);
      border-radius: var(--r-full);
    }

    /* ========== Hero 入场编排（分拍渐入） ========== */
    .hero-enter {
      opacity: 0;
      transform: translateY(28px);
    }
    .hero-enter.is-in {
      animation: hero-rise 800ms var(--ease) forwards;
    }
    .hero-enter.fade-only {
      transform: none;
    }
    .hero-enter.fade-only.is-in {
      animation: hero-fade 700ms var(--ease) forwards;
    }
    @keyframes hero-rise {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes hero-fade {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    /* 倒计时卡片：逐张弹入（保持各自旋转角） */
    .countdown-item.hero-enter {
      opacity: 0;
      transform: translateY(22px) rotate(-2deg) scale(0.92);
    }
    .countdown-item.hero-enter.is-in {
      animation: card-pop 650ms var(--ease) forwards;
    }
    @keyframes card-pop {
      from { opacity: 0; transform: translateY(22px) rotate(-2deg) scale(0.92); }
      to   { opacity: 1; transform: var(--card-rest, translateY(0) rotate(-0.6deg) scale(1)); }
    }
    .countdown-item:nth-child(2).hero-enter.is-in {
      --card-rest: translateY(0) rotate(0.5deg) scale(1);
    }
    .countdown-item:nth-child(3).hero-enter.is-in {
      --card-rest: translateY(0) rotate(-0.4deg) scale(1);
    }
    .countdown-item:nth-child(4).hero-enter.is-in {
      --card-rest: translateY(0) rotate(0.7deg) scale(1);
    }
    .hero-scroll {
      position: absolute;
      left: 50%;
      bottom: 96px;
      transform: translateX(-50%);
      z-index: 2;
      color: rgba(251, 247, 242, 0.8);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--s-50);
      opacity: 0;
      transition: opacity 800ms var(--ease);
    }
    .hero-scroll.is-shown { opacity: 1; }
    .hero-scroll .line {
      width: 1px;
      height: 28px;
      background: rgba(251, 247, 242, 0.55);
      animation: scroll-hint 1.8s var(--ease) infinite;
    }
    @keyframes scroll-hint {
      0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.2; }
      50% { transform: scaleY(1); opacity: 1; }
      100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.2; }
    }
    @media (max-width: 480px) {
      .hero { padding-top: var(--s-700); padding-bottom: var(--s-800); }
    }

    /* ========== 寄语（逐字点亮） ========== */
    .tagline {
      position: relative;
      z-index: 1;
      padding-block: var(--s-900);
      text-align: center;
      background: var(--rose-soft);
    }
    .tagline-text {
      font-size: 30px;
      line-height: 1.6;
      font-weight: 500;
      max-width: 560px;
      margin-inline: auto;
    }
    @media (min-width: 768px) {
      .tagline-text { font-size: 36px; line-height: 48px; }
    }
    .cw {
      color: inherit;
      opacity: 0.22;
      transition: opacity 600ms var(--ease);
    }
    .cw.is-on { opacity: 1; }
    .tagline-text .w {
      color: var(--ink);
      opacity: 0.28;
      transition: opacity 600ms var(--ease), color 600ms var(--ease);
    }
    .tagline-text .w.is-on {
      opacity: 1;
    }
    .tagline-attr {
      margin-top: var(--s-400);
      color: var(--muted);
    }
    /* 寄语：手机上下堆叠，桌面左文右图 */
    .tagline-row {
      display: grid;
      gap: var(--s-400);
      align-items: center;
    }
    .tagline-art {
      display: flex;
      justify-content: center;
    }
    .tagline-art img {
      width: min(280px, 78%);
      height: auto;
      transform: rotate(1.8deg);
      filter: drop-shadow(4px 5px 0 rgba(62, 50, 38, 0.12));
    }
    @media (min-width: 720px) {
      .tagline-row {
        grid-template-columns: 1.15fr 1fr;
        gap: var(--s-600);
        text-align: left;
      }
      .tagline-text {
        margin-inline: 0;
        max-width: none;
      }
      .tagline-art {
        justify-content: flex-end;
      }
      .tagline-art img {
        width: min(340px, 100%);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .cw {
      color: inherit;
      opacity: 0.22;
      transition: opacity 600ms var(--ease);
    }
    .cw.is-on { opacity: 1; }
    .tagline-text .w { opacity: 1; }
    }

    /* ========== 照片排版（穿插各板块） ========== */
    .photo-frame {
      position: relative;
      border-radius: var(--sketch-radius);
      overflow: hidden;
      border: 8px solid var(--surface);
      background: var(--surface);
      box-shadow:
        0 0 0 2px var(--paper-line),
        4px 4px 0 rgba(62, 50, 38, 0.14);
      transform: rotate(-1.5deg);
      transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
    }
    .photo-frame:hover {
      transform: rotate(-0.8deg) translateY(-4px);
      box-shadow:
        0 0 0 2px var(--paper-line),
        6px 10px 0 rgba(62, 50, 38, 0.18);
    }
    /* 照片软边：与白边框同形，向内羽化 */
    .photo-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: var(--sketch-radius);
      box-shadow: inset 0 0 22px 10px var(--surface);
      pointer-events: none;
    }
    .photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: var(--sketch-radius);
    }
    .photo-frame figcaption {
      position: absolute;
      left: var(--s-200);
      bottom: var(--s-200);
      background: #FFF6E6;
      border: 2px solid var(--paper-line);
      padding: var(--s-50) var(--s-200);
      border-radius: var(--sketch-radius-alt);
      color: var(--ink);
      font-family: "HongLei", "Noto Serif SC", serif;
      font-size: 15px;
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.18);
    }
    .photo-band {
      margin: var(--s-600) 0;
    }
    .photo-band.photo-frame {
      aspect-ratio: 16 / 10;
      max-height: 420px;
    }
    .photo-split {
      display: grid;
      gap: var(--s-400);
      align-items: center;
    }
    @media (min-width: 720px) {
      .photo-split {
        grid-template-columns: 1.05fr 1fr;
        gap: var(--s-600);
      }
      .photo-split.is-reverse > .photo-frame { order: 2; }
    }
    .photo-split .photo-frame {
      aspect-ratio: 4 / 5;
    }
    .photo-split .split-copy .caption-4 {
      color: var(--gold);
      display: block;
      margin-bottom: var(--s-100);
    }
    .photo-split .split-copy .heading-4 {
      margin-bottom: var(--s-200);
    }
    .photo-split .split-copy .body-3 {
      color: var(--muted);
    }
    .photo-duo {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-200);
      margin: var(--s-500) 0;
    }
    .moments-note {
      text-align: center;
      max-width: 480px;
      margin: 0 auto var(--s-400);
    }
    .moments-note .caption-4 {
      color: var(--gold);
      display: block;
      margin-bottom: var(--s-100);
    }
    .moments-note .heading-4 {
      margin-bottom: var(--s-200);
    }
    .moments-note .body-3 {
      color: var(--muted);
    }
    .photo-duo .photo-frame {
      aspect-ratio: 4 / 5;
    }
    @media (max-width: 480px) {
      .photo-duo { gap: var(--s-100); }
      .photo-band.photo-frame { aspect-ratio: 5 / 4; max-height: 340px; }
    }

    /* ========== 婚礼信息 / 时间线 ========== */
    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--s-100);
      margin-bottom: var(--s-600);
    }
    .info-card {
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      padding: var(--s-200) var(--s-100);
      text-align: center;
      min-width: 0;
      box-shadow: 4px 4px 0 rgba(62, 50, 38, 0.12);
      transform: rotate(-0.4deg);
      transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
    }
    .info-card:hover {
      transform: rotate(-0.4deg) translateY(-4px);
      box-shadow: 6px 8px 0 rgba(62, 50, 38, 0.16);
    }
    .info-card:nth-child(2) { transform: rotate(0.5deg); border-radius: var(--sketch-radius-alt); }
    .info-card:nth-child(2):hover { transform: rotate(0.5deg) translateY(-4px); }
    .info-card:nth-child(3) { transform: rotate(-0.3deg); }
    .info-card:nth-child(3):hover { transform: rotate(-0.3deg) translateY(-4px); }
    .info-card .icon {
      width: 32px;
      height: 32px;
      margin: 0 auto var(--s-100);
      color: var(--gold);
    }
    .info-card .title-3 {
      margin-bottom: var(--s-50);
      font-size: 15px;
      line-height: 22px;
    }
    .info-card .body-6 {
      color: var(--muted);
      font-size: 13px;
      line-height: 19px;
    }
    @media (min-width: 480px) {
      .info-grid { gap: var(--s-200); }
      .info-card { padding: var(--s-300); }
      .info-card .icon { width: 40px; height: 40px; margin-bottom: var(--s-200); }
      .info-card .title-3 { font-size: 17px; line-height: 26px; }
      .info-card .body-6 { font-size: 15px; line-height: 24px; }
    }

    .timeline {
      position: relative;
      max-width: 420px;
      margin-inline: auto;
      padding-left: var(--s-500);
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 11px;
      top: 8px;
      bottom: 8px;
      width: 1px;
      background: var(--line);
    }
    .timeline li {
      position: relative;
      padding-bottom: var(--s-400);
    }
    .timeline li:last-child { padding-bottom: 0; }
    .timeline li::before {
      content: "";
      position: absolute;
      left: calc(var(--s-500) * -1 + 4px);
      top: 6px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--surface);
      border: 2px solid var(--accent);
      box-shadow: 0 0 0 3px var(--bg);
    }
    .timeline li.is-key::before {
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(201, 123, 109, 0.18);
    }
    .timeline .time {
      color: var(--accent);
      margin-bottom: var(--s-25);
    }
    .timeline .body-3 { margin-bottom: var(--s-25); }
    .timeline .body-6 { color: var(--muted); }

    /* ========== 相册 ========== */
    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--s-200);
    }
    @media (min-width: 640px) {
      .gallery { grid-template-columns: repeat(3, 1fr); }
    }
    .gallery figure {
      position: relative;
      overflow: hidden;
      border-radius: var(--r-xl);
      border: 1px solid var(--line);
      background: var(--surface);
      aspect-ratio: 4 / 3;
    }
    .gallery figure:first-child {
      grid-column: 1 / -1;
      aspect-ratio: 16 / 10;
    }
    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 600ms var(--ease);
    }
    .gallery figure:hover img { transform: scale(1.04); }
    .gallery figcaption {
      position: absolute;
      left: var(--s-200);
      bottom: var(--s-200);
      background: rgba(251, 247, 242, 0.9);
      padding: var(--s-50) var(--s-100);
      border-radius: var(--r-full);
      color: var(--muted);
    }

    /* ========== 地点 ========== */
    .venue-card {
      display: grid;
      gap: var(--s-400);
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      padding: var(--s-400);
      box-shadow: 5px 5px 0 rgba(62, 50, 38, 0.14);
    }
    @media (min-width: 720px) {
      .venue-card { padding: var(--s-500); }
    }
    .venue-card .heading-4 { margin-bottom: var(--s-200); }
    .venue-address {
      color: var(--muted);
      margin-bottom: var(--s-300);
    }
    .venue-meta {
      display: grid;
      gap: var(--s-200);
      margin-bottom: var(--s-400);
    }
    .venue-meta li {
      display: flex;
      gap: var(--s-200);
      align-items: flex-start;
    }
    .venue-meta .icon-svg {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      color: var(--gold);
      margin-top: 2px;
    }
    .venue-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-100);
    }
    .venue-actions .btn:first-child {
      grid-column: 1 / -1;
    }
    @media (min-width: 720px) {
      .venue-actions {
        grid-template-columns: repeat(3, 1fr);
      }
      .venue-actions .btn:first-child {
        grid-column: auto;
      }
    }
    .map-preview {
      position: relative;
      border-radius: var(--sketch-radius);
      overflow: hidden;
      border: 2px solid var(--paper-line);
      width: 100%;
      aspect-ratio: 16 / 9;
      background: var(--surface);
      box-shadow: 4px 4px 0 rgba(62, 50, 38, 0.12);
    }
    .map-preview img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .map-pin {
      position: absolute;
      left: 50%;
      top: 46%;
      transform: translate(-50%, -100%);
      text-align: center;
    }
    .map-pin .pin-dot {
      width: 18px;
      height: 18px;
      border-radius: var(--r-full);
      background: var(--accent);
      margin: 0 auto var(--s-50);
      box-shadow: 0 0 0 6px rgba(201, 123, 109, 0.22);
    }
    .map-pin .caption-2 {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-full);
      padding: var(--s-50) var(--s-100);
      white-space: nowrap;
    }

    /* ========== 回执表单 ========== */
    .rsvp-band {
      background: var(--surface);
      border-block: 1px solid var(--line);
    }
    .rsvp-form {
      display: grid;
      gap: var(--s-100);
      max-width: 420px;
      margin-inline: auto;
    }
    .field { display: grid; gap: 6px; }
    .field label, .field .field-label {
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      gap: var(--s-75);
    }
    .field .icon {
      width: 18px;
      height: 18px;
      color: var(--gold);
    }
    .field .hint { color: var(--muted); }
    .field input,
    .field select,
    .field textarea {
      width: 100%;
      max-width: 100%;
      padding: 9px var(--s-200);
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius-alt);
      transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
      appearance: none;
      font-size: 16px;
      line-height: 24px;
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.1);
    }
    .field textarea { min-height: 88px; resize: vertical; }
    .field input::placeholder,
    .field textarea::placeholder {
      color: rgba(156, 134, 114, 0.72);
    }
    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: none;
      border-color: var(--accent);
      background: #FFFCF5;
      box-shadow: 3px 3px 0 rgba(224, 112, 94, 0.35);
    }
    .field.is-error input,
    .field.is-error select,
    .field.is-error textarea {
      border-color: var(--error);
      box-shadow: 0 0 0 4px rgba(194, 80, 63, 0.12);
    }
    .field .error {
      color: var(--error);
      min-height: 16px;
      display: none;
    }
    .field.is-error .error { display: block; }

    .choice-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-100);
      align-items: stretch;
      justify-items: stretch;
      max-width: 380px;
      margin-inline: auto;
    }
    .choice {
      position: relative;
    }
    .choice input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .choice:nth-child(2) > span {
      border-radius: var(--sketch-radius-alt);
    }
    .choice > span {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      min-height: 68px;
      padding: var(--s-200);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      background: var(--surface);
      cursor: pointer;
      transition: all 300ms var(--ease);
      text-align: center;
      box-shadow: 3px 3px 0 rgba(62, 50, 38, 0.12);
    }
    .choice > span .big {
      display: block;
      font-size: 18px;
      line-height: 26px;
      font-weight: 600;
    }
    .choice > span .small {
      display: block;
      font-size: 13px;
      line-height: 18px;
      color: var(--muted);
    }
    .choice input:focus-visible + span {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .choice input:checked + span {
      border-color: var(--accent-deep);
      background: var(--rose-soft);
      box-shadow: 3px 3px 0 rgba(196, 85, 69, 0.3);
      animation: choice-snap 350ms var(--ease);
    }
    @keyframes choice-snap {
      0%   { transform: scale(1); }
      40%  { transform: scale(1.04); }
      100% { transform: scale(1); }
    }
    .choice input:checked + span .big,
    .choice input:checked + span .small {
      color: var(--accent-deep);
    }

    .form-note {
      color: var(--muted);
      text-align: center;
    }

    /* 人数选择 */
    .count-chips {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--s-75);
    }
    .count-chips .chip {
      min-height: 48px;
      padding: var(--s-75) var(--s-50);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius-alt);
      background: var(--surface);
      cursor: pointer;
      font-size: 15px;
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.12);
      transition: all 300ms var(--ease);
    }
    .count-chips .chip:hover {
      transform: translateY(-1px);
      border-color: var(--gold);
    }
    .count-chips .chip:active { transform: scale(0.98); }
    .count-chips .chip:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .count-chips .chip.is-on {
      border-color: var(--accent-deep);
      background: var(--rose-soft);
      color: var(--accent-deep);
      font-weight: 600;
      box-shadow: 2px 2px 0 rgba(196, 85, 69, 0.3);
      transform: rotate(-1deg) scale(1.05);
      transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .count-custom {
      margin-top: var(--s-75);
    }
    #guests-field.is-dim {
      opacity: 0.45;
      pointer-events: none;
    }

    .rsvp-success {
      display: none;
      text-align: center;
      max-width: 480px;
      margin-inline: auto;
      padding: var(--s-500) var(--s-300);
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      box-shadow: 5px 5px 0 rgba(62, 50, 38, 0.14);
      transform: rotate(0.4deg);
    }
    .rsvp-success.is-show { display: block; }
    .rsvp-success .icon-svg {
      width: 56px;
      height: 56px;
      margin: 0 auto var(--s-300);
      color: var(--accent);
    }
    .rsvp-success .heading-4 { margin-bottom: var(--s-200); }
    .rsvp-success .body-3 {
      color: var(--muted);
      margin-bottom: var(--s-400);
    }
    .rsvp-form.is-hidden { display: none; }

    /* ========== 温馨提示 ========== */
    .tips-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--s-100);
    }
    .tip-card {
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      padding: var(--s-200);
      min-width: 0;
      box-shadow: 4px 4px 0 rgba(62, 50, 38, 0.12);
      transform: rotate(0.35deg);
      transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
    }
    .tip-card:hover {
      transform: rotate(0.35deg) translateY(-3px);
      box-shadow: 5px 7px 0 rgba(62, 50, 38, 0.15);
    }
    .tip-card:nth-child(even) {
      transform: rotate(-0.45deg);
      border-radius: var(--sketch-radius-alt);
    }
    .tip-card:nth-child(even):hover {
      transform: rotate(-0.45deg) translateY(-3px);
    }
    .tip-card .title-3 {
      display: flex;
      align-items: center;
      gap: var(--s-75);
      margin-bottom: var(--s-75);
      font-size: 15px;
      line-height: 22px;
    }
    .tip-card .icon {
      width: 18px;
      height: 18px;
      color: var(--gold);
      flex-shrink: 0;
    }
    .tip-card .body-6 {
      color: var(--muted);
      font-size: 13px;
      line-height: 19px;
    }
    @media (min-width: 480px) {
      .tips-grid { gap: var(--s-200); }
      .tip-card { padding: var(--s-300); }
      .tip-card .title-3 { font-size: 17px; line-height: 26px; gap: var(--s-100); }
      .tip-card .icon { width: 20px; height: 20px; }
      .tip-card .body-6 { font-size: 15px; line-height: 24px; }
    }

    /* ========== 出席人数按钮（保留空占位，字段已移除） ========== */

    /* ========== 祝福弹幕 ========== */
    .danmaku-wrap {
      position: relative;
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      overflow: hidden;
      min-height: 280px;
      box-shadow: 5px 5px 0 rgba(62, 50, 38, 0.14);
    }
    .danmaku-stage {
      position: relative;
      height: 280px;
      overflow: hidden;
    }
    .danmaku-lane {
      position: relative;
      height: 25%;
      overflow: hidden;
    }
    .danmaku-track {
      position: absolute;
      top: 50%;
      left: 0;
      display: flex;
      gap: var(--s-200);
      white-space: nowrap;
      transform: translateY(-50%);
      will-change: transform;
    }
    .danmaku-item {
      display: inline-flex;
      align-items: center;
      gap: var(--s-75);
      padding: var(--s-50) var(--s-200);
      background: var(--rose-soft);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      color: var(--ink);
      flex-shrink: 0;
      box-shadow: 2px 2px 0 rgba(62, 50, 38, 0.14);
    }
    .danmaku-item .who { color: var(--accent-deep); font-weight: 500; }
    .danmaku-item .msg { color: var(--muted); }
    .danmaku-item.gold { background: #FBEFCF; }
    .danmaku-item.sage { background: #E4EEDC; }
    .danmaku-item.rose { background: var(--rose-soft); }
    .danmaku-item.is-new {
      background: #FBEFCF;
      border-color: var(--gold);
      box-shadow: 2px 2px 0 rgba(224, 169, 60, 0.45);
    }
    .danmaku-static {
      display: none;
      flex-wrap: wrap;
      gap: var(--s-100);
      padding: var(--s-300);
    }
    @media (prefers-reduced-motion: reduce) {
      .danmaku-stage { display: none; }
      .danmaku-static { display: flex; }
    }
    .danmaku-wrap.is-static .danmaku-stage { display: none; }
    .danmaku-wrap.is-static .danmaku-static { display: flex; }
    .danmaku-empty {
      display: none;
      place-items: center;
      height: 100%;
      color: var(--muted);
      text-align: center;
      padding: var(--s-300);
    }
    .danmaku-stage.is-empty .danmaku-lane { display: none; }
    .danmaku-stage.is-empty .danmaku-empty { display: grid; }

    /* ========== Toast ========== */
    .toast {
      position: fixed;
      left: 50%;
      bottom: 112px;
      transform: translateX(-50%) translateY(16px);
      z-index: 90;
      background: var(--ink);
      color: var(--surface);
      padding: var(--s-100) var(--s-300);
      border-radius: var(--r-full);
      opacity: 0;
      pointer-events: none;
      transition: opacity 300ms var(--ease), transform 300ms var(--ease);
      max-width: calc(100% - var(--s-600));
      text-align: center;
    }
    .toast.is-show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ========== 祝福弹窗与纸条 ========== */
    .wish-cta {
      display: flex;
      justify-content: center;
      margin-top: var(--s-400);
    }
    .wish-modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      place-items: center;
      padding: var(--s-300);
      background: rgba(62, 50, 38, 0.42);
    }
    .wish-modal.is-open { display: grid; }
    .wish-modal-card {
      position: relative;
      width: min(480px, 100%);
      max-height: min(86vh, 640px);
      overflow: auto;
      background: var(--surface);
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      padding: var(--s-400) var(--s-300) var(--s-300);
      box-shadow: 6px 6px 0 rgba(62, 50, 38, 0.2);
    }
    .wish-modal-close {
      position: absolute;
      top: var(--s-100);
      right: var(--s-100);
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      background: #FFF6E6;
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      cursor: pointer;
      color: var(--ink);
    }
    .wish-note {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 5;
      width: min(300px, 82%);
      transform: translate(-50%, -50%) scale(0.9) rotate(1deg);
      opacity: 0;
      pointer-events: none;
    }
    .wish-note.is-show {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotate(-1.5deg);
      transition: opacity 420ms var(--ease), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .wish-note.is-away {
      opacity: 0;
      transform: translate(-50%, -78%) scale(0.82) rotate(3deg);
      transition: opacity 620ms var(--ease), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .wish-note-inner {
      background: #FFF6E6;
      border: 2px solid var(--paper-line);
      border-radius: var(--sketch-radius);
      padding: var(--s-300) var(--s-400);
      box-shadow: 5px 5px 0 rgba(62, 50, 38, 0.16);
    }
    .wish-note-msg {
      font-family: "HongLei", "Noto Serif SC", serif;
      font-size: 18px;
      line-height: 1.6;
      color: var(--accent-deep);
      text-align: center;
    }
    .wish-form {
      max-width: none;
      margin: 0;
      display: grid;
      gap: var(--s-200);
    }
    .wish-form .title-2 {
      text-align: center;
      color: var(--accent-deep);
      font-size: 19px;
    }
    .wish-form .btn { justify-self: center; min-width: 150px; }

    /* ========== 页脚 ========== */
    .footer {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: var(--s-800) 0 var(--s-600);
    }
    .footer .body-3 {
      color: var(--muted);
      max-width: 420px;
      margin: 0 auto var(--s-500);
    }
    .footer-sign {
      display: flex;
      flex-direction: column;
      gap: var(--s-50);
      margin-bottom: var(--s-500);
    }
    .footer .caption-2 { color: var(--muted); }
    .phone-link {
      color: var(--accent-deep);
      border-bottom: 1px dashed var(--accent);
      cursor: pointer;
    }
    .phone-link:hover { color: var(--accent); }
