  * { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --gold: #f5c86b;
    --gold-bright: #ffe3a3;
    --cream: #fff6e0;
  }
  html, body {
    height: 100%;
    overflow: hidden;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    background: radial-gradient(ellipse at 50% 30%, #8a1414 0%, #5a0a0a 45%, #2e0505 100%);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
  }
  /* ---------- 背景光晕：只动 opacity，走合成层 ---------- */
  .bg-glow {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 200, 100, 0.20), transparent 45%),
      radial-gradient(circle at 20% 80%, rgba(255, 120, 60, 0.10), transparent 40%),
      radial-gradient(circle at 80% 75%, rgba(255, 120, 60, 0.10), transparent 40%);
    pointer-events: none;
    opacity: 0.85;
    animation: glowBreathe 7s ease-in-out infinite;
    will-change: opacity;
  }
  @keyframes glowBreathe {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
  }
  /* ---------- 顶部灯笼：去掉 box-shadow 呼吸，仅保留摆动 ---------- */
  .lanterns {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 6vw;
    pointer-events: none;
    z-index: 3;
  }
  .lantern {
    position: relative;
    width: 46px;
    height: 62px;
    margin-top: -8px;
    animation: swing 3.6s ease-in-out infinite;
    transform-origin: top center;
    will-change: transform;
  }
  .lantern:nth-child(2) { animation-delay: 0.6s; }
  .lantern:nth-child(3) { animation-delay: 1.2s; }
  .lantern:nth-child(4) { animation-delay: 0.3s; }
  .lantern:nth-child(5) { animation-delay: 0.9s; }
  .lantern::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    width: 2px;
    height: 14px;
    background: var(--gold);
    transform: translateX(-50%);
  }
  .lantern-body {
    width: 100%;
    height: 100%;
    border-radius: 50% / 38%;
    background: radial-gradient(circle at 35% 30%, #ff6b4a, #c62828 55%, #8a1414 100%);
    box-shadow:
      0 0 18px rgba(255, 120, 60, 0.7),
      0 0 40px rgba(255, 80, 40, 0.35),
      inset -4px -6px 12px rgba(0,0,0,0.25);
    position: relative;
  }
  .lantern-body::before,
  .lantern-body::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.85;
  }
  .lantern-body::before { top: 6px; }
  .lantern-body::after { bottom: 6px; }
  .lantern-tassel {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 16px;
    background: linear-gradient(var(--gold), transparent);
    border-radius: 2px;
  }
  @keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
  }
  /* ---------- 舞台：overflow hidden 兜底，防止波纹撑出滚动条 ---------- */
  .stage {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    overflow: hidden;
  }
  .title {
    font-size: clamp(30px, 6vw, 58px);
    letter-spacing: 0.22em;
    color: var(--gold-bright);
    text-shadow:
      0 0 12px rgba(255, 210, 120, 0.9),
      0 0 36px rgba(255, 160, 60, 0.6),
      0 2px 0 #8a1414;
    margin-bottom: 10px;
  }
  .subtitle {
    font-size: clamp(13px, 2.2vw, 17px);
    letter-spacing: 0.28em;
    color: rgba(255, 240, 210, 0.75);
    margin-bottom: 46px;
  }
  /* ---------- 祈福主按钮：contain 隔离内部动画，避免影响外部布局 ---------- */
  .bless-btn {
    position: relative;
    width: clamp(160px, 34vw, 220px);
    height: clamp(160px, 34vw, 220px);
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease;
    will-change: transform;
    contain: layout;
  }
  .bless-btn:active { transform: scale(0.96); }
  .bless-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 38% 32%, #ffe9b8 0%, #f5c86b 22%, #d99a3a 55%, #a31515 100%);
    box-shadow:
      0 0 30px rgba(255, 200, 100, 0.75),
      0 0 80px rgba(255, 140, 50, 0.45),
      inset 0 0 30px rgba(255, 255, 255, 0.35),
      inset 0 -10px 24px rgba(120, 20, 20, 0.5);
  }
  /* 用伪元素做发光呼吸，只动 opacity，不重绘 box-shadow */
  .bless-btn::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 130, 0.55) 0%, rgba(255, 160, 60, 0.18) 45%, transparent 70%);
    opacity: 0.6;
    animation: discGlow 3s ease-in-out infinite;
    will-change: opacity;
    pointer-events: none;
    z-index: -1;
  }
  @keyframes discGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
  .bless-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 220, 150, 0.55);
    animation: ringSpin 26s linear infinite;
    will-change: transform;
  }
  @keyframes ringSpin {
    to { transform: rotate(360deg); }
  }
  .bless-char {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(64px, 15vw, 96px);
    color: #8a1414;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5), 0 -1px 2px rgba(120,20,20,0.4);
    font-weight: bold;
    user-select: none;
  }
  .bless-hint {
    margin-top: 34px;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: rgba(255, 235, 200, 0.7);
    animation: hintFade 2.8s ease-in-out infinite;
    will-change: opacity;
  }
  @keyframes hintFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
  /* 冷却抖动 */
  .bless-btn.cooldown {
    animation: cooldownShake 0.3s ease;
  }
  @keyframes cooldownShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
  }
  /* ---------- 祝福语弹出：只动 transform/opacity ---------- */
  .blessing-pop {
    position: fixed;
    left: 50%;
    top: 16%;
    transform: translate(-50%, -10px);
    font-size: clamp(22px, 4.5vw, 40px);
    letter-spacing: 0.2em;
    color: var(--gold-bright);
    text-shadow:
      0 0 14px rgba(255, 220, 140, 1),
      0 0 44px rgba(255, 160, 60, 0.8);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    will-change: transform, opacity;
  }
  .blessing-pop.show {
    animation: popUp 2s ease forwards;
  }
  @keyframes popUp {
    0% { opacity: 0; transform: translate(-50%, 10px) scale(0.85); }
    18% { opacity: 1; transform: translate(-50%, -10px) scale(1.05); }
    30% { transform: translate(-50%, -14px) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -46px) scale(1); }
  }
  /* ---------- 孔明灯层 ---------- */
  .lantern-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    contain: strict;
  }
  .sky-lantern {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 56px;
    animation: lanternRise linear forwards;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .sky-lantern .body {
    position: absolute;
    inset: 0;
    border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
    background:
      radial-gradient(ellipse at 50% 72%, #fff3c4 0%, #ffcf6b 28%, #ff9a3d 60%, #e2571f 100%);
    box-shadow:
      0 0 18px rgba(255, 170, 80, 0.9),
      0 0 40px rgba(255, 130, 50, 0.55),
      inset 0 -8px 14px rgba(160, 40, 10, 0.5);
  }
  .sky-lantern .body::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #fffbe0, #ffca5a 70%, transparent);
    box-shadow: 0 0 12px rgba(255, 220, 120, 1);
  }
  .sky-lantern .body::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 10px;
    height: 4px;
    background: #7a1a0a;
    border-radius: 2px;
    opacity: 0.7;
  }
  @keyframes lanternRise {
    0% {
      transform: translate3d(0, 0, 0) rotate(-2deg) scale(var(--s, 1));
      opacity: 0;
    }
    10% { opacity: 1; }
    30% {
      transform: translate3d(var(--sway1, 30px), -30vh, 0) rotate(2deg) scale(var(--s, 1));
    }
    55% {
      transform: translate3d(var(--sway2, -20px), -55vh, 0) rotate(-3deg) scale(var(--s, 1));
    }
    80% {
      transform: translate3d(var(--sway1, 30px), -80vh, 0) rotate(2deg) scale(var(--s, 1));
      opacity: 0.9;
    }
    100% {
      transform: translate3d(var(--sway2, -20px), -115vh, 0) rotate(-1deg) scale(var(--s, 1));
      opacity: 0;
    }
  }
  /* 点击光波 */
  .ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 230, 160, 0.9);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: rippleOut 0.9s ease-out forwards;
    will-change: width, height, opacity;
  }
  @keyframes rippleOut {
    0% { width: 20px; height: 20px; opacity: 1; }
    100% { width: 460px; height: 460px; opacity: 0; }
  }
  .footer-note {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 235, 200, 0.4);
    z-index: 5;
    pointer-events: none;
  }
  /* ---------- 左下角音乐开关 ---------- */
  .music-toggle {
    position: fixed;
    left: 22px;
    bottom: 60px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 220, 150, 0.55);
    background: radial-gradient(circle at 40% 35%, rgba(255, 210, 130, 0.28), rgba(120, 20, 20, 0.75));
    box-shadow:
      0 0 16px rgba(255, 180, 80, 0.35),
      inset 0 0 10px rgba(255, 220, 150, 0.2);
    color: var(--gold-bright);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.3s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
  }
  .music-toggle:hover { transform: scale(1.08); }
  .music-toggle:active { transform: scale(0.94); }
  .music-toggle .icon {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    font-size: 12px;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .music-toggle.playing .icon {
    color: #fff2c8;
    text-shadow: 0 0 8px rgba(255, 220, 140, 0.9);
  }
  .music-toggle.muted {
    opacity: 0.55;
    border-color: rgba(255, 220, 150, 0.3);
  }
  /* ---------- 右下角打赏按钮 ---------- */
  .reward-toggle {
    position: fixed;
    right: 22px;
    bottom: 60px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 220, 150, 0.55);
    background: radial-gradient(circle at 40% 35%, rgba(255, 210, 130, 0.32), rgba(120, 20, 20, 0.78));
    box-shadow:
      0 0 16px rgba(255, 180, 80, 0.4),
      inset 0 0 10px rgba(255, 220, 150, 0.2);
    color: var(--gold-bright);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.3s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
  }
  .reward-toggle:hover { transform: scale(1.08); }
  .reward-toggle:active { transform: scale(0.94); }
  .reward-toggle .icon {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    font-size: 12px;
    pointer-events: none;
    color: #fff2c8;
    text-shadow: 0 0 8px rgba(255, 220, 140, 0.9);
  }
  /* ---------- 打赏弹层 ---------- */
  .reward-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 4, 4, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  .reward-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  .reward-card {
    position: relative;
    width: min(320px, 82vw);
    padding: 26px 22px 22px;
    border-radius: 18px;
    background: linear-gradient(160deg, #8a1414, #5a0a0a 60%, #3a0606);
    border: 1.5px solid rgba(255, 220, 150, 0.55);
    box-shadow:
      0 0 40px rgba(255, 160, 60, 0.45),
      0 20px 50px rgba(0, 0, 0, 0.5),
      inset 0 0 30px rgba(255, 200, 100, 0.12);
    text-align: center;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.28s ease;
  }
  .reward-overlay.show .reward-card {
    transform: scale(1) translateY(0);
  }
  .reward-title {
    font-size: 20px;
    letter-spacing: 0.3em;
    color: var(--gold-bright);
    text-shadow: 0 0 12px rgba(255, 210, 120, 0.8);
    margin-bottom: 6px;
  }
  .reward-sub {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 235, 200, 0.6);
    margin-bottom: 18px;
  }
  .reward-qr {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 14px;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 0 20px rgba(255, 200, 110, 0.35);
  }
  .reward-tip {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: rgba(255, 235, 200, 0.55);
  }
  .reward-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 220, 150, 0.4);
    background: rgba(120, 20, 20, 0.5);
    color: var(--gold-bright);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .reward-close:hover {
    background: rgba(180, 40, 40, 0.7);
    transform: scale(1.08);
  }
  @media (max-width: 480px) {
    .lantern { width: 34px; height: 48px; }
    .subtitle { letter-spacing: 0.22em; margin-bottom: 36px; }
    .bless-hint { letter-spacing: 0.2em; margin-top: 26px; }
    .sky-lantern { width: 32px; height: 46px; }
    .music-toggle { width: 50px; height: 50px; left: 16px; bottom: 54px; font-size: 11px; }
    .music-toggle .icon { font-size: 11px; }
    .reward-toggle { width: 50px; height: 50px; right: 16px; bottom: 54px; font-size: 11px; }
    .reward-toggle .icon { font-size: 11px; }
    .lantern:nth-child(n+4) { display: none; }
  }
  /* 用户偏好减少动态：关闭所有装饰动画 */
  @media (prefers-reduced-motion: reduce) {
    .bg-glow, .lantern, .bless-btn::after, .bless-ring,
    .bless-hint, .sky-lantern, .sky-lantern .body,
    .blessing-pop.show, .ripple {
      animation: none !important;
    }
  }