/* 大屏端样式(震撼版) */
body.screen {
  background: #4d0a10; color: #ffe9c9; overflow: hidden; perspective: 1400px;
  /* 主题变量(默认:中式红金) */
  --t-bg1: #b02331; --t-bg2: #7c1420; --t-bg3: #4d0a10;
  --t-accent: #e8c47a; --t-accent-deep: #c9973f;
  --t-cream: #ffe9c9; --t-cream2: #ffdf9e;
  --t-card1: #fff9ec; --t-card2: #ffeed2; --t-cardText: #7a3004;
  --t-panel: rgba(120, 16, 24, .78);
  --t-veil1: rgba(46, 5, 10, .55); --t-veil2: rgba(30, 3, 7, .86);
  --t-btn1: #ffd04d; --t-btn2: #d99a24;
  --t-shine1: #fff7dd; --t-shine2: #ffe2a0; --t-shine3: #f9c95c; --t-shine4: #ffeab5;
}
body.screen[data-theme="romance"] {
  --t-bg1: #f77fbe; --t-bg2: #e05a9c; --t-bg3: #93275f;
  --t-accent: #ffd9ec; --t-accent-deep: #ff9ec7;
  --t-cream: #fff0f7; --t-cream2: #ffd6ea;
  --t-card1: #fff5fa; --t-card2: #ffe2f0; --t-cardText: #a82862;
  --t-panel: rgba(158, 47, 107, .78);
  --t-veil1: rgba(80, 10, 46, .5); --t-veil2: rgba(48, 4, 26, .85);
  --t-btn1: #ff9ec7; --t-btn2: #e05a9c;
  --t-shine1: #fff7fb; --t-shine2: #ffd6ea; --t-shine3: #ffb2d8; --t-shine4: #ffe2f0;
}
body.screen[data-theme="galaxy"] {
  --t-bg1: #5b2bd0; --t-bg2: #3b1a8e; --t-bg3: #1c0c4e;
  --t-accent: #9df0ff; --t-accent-deep: #5ac8e0;
  --t-cream: #e9f6ff; --t-cream2: #bfe8ff;
  --t-card1: #f2f9ff; --t-card2: #d9ecff; --t-cardText: #1c3a7a;
  --t-panel: rgba(40, 20, 110, .72);
  --t-veil1: rgba(10, 5, 40, .55); --t-veil2: rgba(6, 2, 26, .86);
  --t-btn1: #8fd6ff; --t-btn2: #5b2bd0;
  --t-shine1: #f4fbff; --t-shine2: #bfe8ff; --t-shine3: #8fd6ff; --t-shine4: #e9f6ff;
}
body.screen[data-theme="champagne"] {
  --t-bg1: #c9a227; --t-bg2: #8a6d1b; --t-bg3: #4a3a0e;
  --t-accent: #fff3cf; --t-accent-deep: #e3c96b;
  --t-cream: #fffbe9; --t-cream2: #ffeec0;
  --t-card1: #fffbef; --t-card2: #ffedc2; --t-cardText: #6b4e08;
  --t-panel: rgba(90, 68, 14, .75);
  --t-veil1: rgba(40, 30, 4, .5); --t-veil2: rgba(24, 18, 3, .86);
  --t-btn1: #ffe89a; --t-btn2: #c9a227;
  --t-shine1: #fffdf2; --t-shine2: #fff3cf; --t-shine3: #ffe89a; --t-shine4: #fffbe9;
}
.screen .festive-bg { background: radial-gradient(1400px 700px at 50% -10%, var(--t-bg1), var(--t-bg2) 55%, var(--t-bg3)); }

.screen-header {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent); font-size: 14px;
}
.screen-header .brand { font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.screen-header .couple { font-size: 18px; font-weight: 700; color: var(--t-cream2); letter-spacing: 1px; text-shadow: 0 0 18px rgba(255,190,90,.6); }
.screen-header .right { display: flex; align-items: center; gap: 12px; color: #f3c98a; }
#hd-mode { background: rgba(232,196,122,.16); border: 1px solid rgba(232,196,122,.4); padding: 3px 14px; border-radius: 999px; color: var(--gold); }

.mode-layer { position: fixed; inset: 64px 0 56px 0; display: none; transform-style: preserve-3d; }
.mode-layer.active { display: block; animation: layerIn .6s cubic-bezier(.2,1.1,.4,1); }
@keyframes layerIn {
  from { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.mode-title { text-align: center; font-size: 30px; color: var(--t-accent); letter-spacing: 4px; margin: 18px 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.4), 0 0 30px rgba(255,190,90,.35); }
.mode-title .cnt { font-size: 18px; color: #ffd98f; opacity: .85; letter-spacing: 0; }

/* ===== 欢迎页(3D 震撼版) ===== */
.welcome-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; overflow: hidden; perspective: 1200px; transform-style: preserve-3d; }
#w-orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* 旋转光芒 */
.w-rays {
  position: absolute; top: 50%; left: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: conic-gradient(from 0deg,
    rgba(255, 208, 100, .10) 0 6deg, transparent 6deg 22deg,
    rgba(255, 208, 100, .10) 22deg 28deg, transparent 28deg 44deg,
    rgba(255, 208, 100, .10) 44deg 50deg, transparent 50deg 66deg,
    rgba(255, 208, 100, .10) 66deg 72deg, transparent 72deg 88deg,
    rgba(255, 208, 100, .10) 88deg 94deg, transparent 94deg 110deg,
    rgba(255, 208, 100, .10) 110deg 116deg, transparent 116deg 132deg,
    rgba(255, 208, 100, .10) 132deg 138deg, transparent 138deg 154deg,
    rgba(255, 208, 100, .10) 154deg 160deg, transparent 160deg 176deg,
    rgba(255, 208, 100, .10) 176deg 182deg, transparent 182deg 198deg,
    rgba(255, 208, 100, .10) 198deg 204deg, transparent 204deg 220deg,
    rgba(255, 208, 100, .10) 220deg 226deg, transparent 226deg 242deg,
    rgba(255, 208, 100, .10) 242deg 248deg, transparent 248deg 264deg,
    rgba(255, 208, 100, .10) 264deg 270deg, transparent 270deg 286deg,
    rgba(255, 208, 100, .10) 286deg 292deg, transparent 292deg 308deg,
    rgba(255, 208, 100, .10) 308deg 314deg, transparent 314deg 330deg,
    rgba(255, 208, 100, .10) 330deg 336deg, transparent 336deg 352deg,
    rgba(255, 208, 100, .10) 352deg 360deg);
  border-radius: 50%;
  animation: raysSpin 24s linear infinite;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 68%);
  mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 68%);
  z-index: 0; pointer-events: none;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
/* 囍 印章(3D 旋转) */
.w-seal {
  position: absolute; top: 8%; right: 10%; width: 110px; height: 110px; border-radius: 18px;
  border: 3px solid rgba(255, 90, 99, .8); display: flex; align-items: center; justify-content: center;
  font-size: 62px; color: #ff5a63; font-weight: 900;
  box-shadow: 0 0 40px rgba(255, 90, 99, .35), inset 0 0 24px rgba(255,90,99,.2);
  animation: sealSpin 6s linear infinite; z-index: 1;
}
@keyframes sealSpin { from { transform: rotateX(12deg) rotateY(0deg); } to { transform: rotateX(12deg) rotateY(360deg); } }

.w-kicker { font-size: 21px; letter-spacing: 14px; color: var(--t-accent); opacity: .95; position: relative; z-index: 2; animation: fadeDown .8s .05s backwards; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-24px); } }
.w-names { position: relative; z-index: 2; font-size: 96px; font-weight: 900; letter-spacing: 6px; line-height: 1.15; animation: namesIn 1.15s cubic-bezier(.2,1.25,.4,1) .15s backwards; }
@keyframes namesIn {
  from { transform: translateZ(-700px) rotateX(38deg) scale(.5); opacity: 0; filter: blur(6px); }
  to { transform: none; opacity: 1; filter: none; }
}
.w-names span {
  background: linear-gradient(180deg, var(--t-shine1) 20%, var(--t-shine2) 45%, var(--t-shine3) 60%, var(--t-shine4) 80%);
  background-size: 100% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldFlow 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 24px rgba(255, 190, 90, .35));
}
@keyframes goldFlow { 0%,100% { background-position: 0 0; } 50% { background-position: 0 -60px; } }
.w-names .heart { color: #ff5a63 !important; background: none; -webkit-background-clip: initial; background-clip: initial; animation: beat 1.2s infinite; display: inline-block; margin: 0 20px; font-size: 80px; filter: drop-shadow(0 0 24px rgba(255,90,99,.6)); }
@keyframes beat { 0%,100% { transform: scale(1); } 25% { transform: scale(1.28); } 40% { transform: scale(1.06); } }
.w-sub { font-size: 20px; color: var(--t-cream2); letter-spacing: 2px; position: relative; z-index: 2; animation: fadeDown .8s .35s backwards; }
.w-qr { position: relative; z-index: 2; margin-top: 6px; background: rgba(255, 240, 214, .12); border: 1px solid var(--t-accent); border-radius: 20px; padding: 18px 28px 14px; backdrop-filter: blur(3px); box-shadow: 0 10px 50px rgba(0,0,0,.35), 0 0 60px rgba(232,196,122,.12) inset; animation: riseIn .9s cubic-bezier(.2,1.2,.4,1) .5s backwards; }
@keyframes riseIn { from { opacity: 0; transform: translateY(44px) scale(.88); } }
.w-qr svg, .w-qr img { width: 180px; height: 180px; display: block; background: #fff5df; border-radius: 12px; padding: 6px; }
.w-qr p { margin-top: 10px; font-size: 15px; color: var(--t-cream); letter-spacing: 2px; }
.w-count { font-size: 14px; color: #e9b57c; }
.w-count b { color: #ffd04d; }

/* ===== 签到星球(3D 头像球面) ===== */
#ck-sphere-stage { position: relative; height: calc(100% - 86px); perspective: 1300px; overflow: hidden; }
#ck-sphere { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ck-slot { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.ck-card {
  position: absolute; left: 0; top: 0; width: 132px; margin: -76px 0 0 -66px;
  background: linear-gradient(160deg, var(--t-card1), var(--t-card2)); color: var(--t-cardText);
  border-radius: 12px; padding: 12px 6px 9px; text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.35); border: 1px solid rgba(255,220,160,.55);
  backface-visibility: hidden; will-change: transform, opacity;
  animation: ckFly .8s cubic-bezier(.2,1.2,.4,1) backwards;
}
.ck-card::before { content: ""; position: absolute; inset: -2px; border-radius: 12px; background: linear-gradient(120deg, rgba(255,255,255,.25), transparent 45%); pointer-events: none; }
.ck-card .avatar { width: 64px; height: 64px; font-size: 26px; margin: 0 auto 8px; border-radius: 50%; background: hsl(var(--h),70%,86%); color: hsl(var(--h),60%,34%); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ck-card .nm { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes ckFly {
  from { transform: translateZ(-900px) rotateY(160deg) scale(.3); opacity: 0; filter: blur(4px); }
  70% { transform: translateZ(120px) rotateY(-8deg) scale(1.06); opacity: 1; filter: none; }
  to { transform: none; opacity: 1; filter: none; }
}

/* ===== 弹幕 ===== */
#bm-lanes { position: relative; height: 100%; overflow: hidden; }
.bm-item {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--t-panel);
  border: 1px solid var(--t-accent);
  padding: 10px 22px; border-radius: 999px; font-size: 22px; color: var(--t-cream);
  white-space: nowrap; will-change: transform; animation: fly linear;
  box-shadow: 0 8px 26px rgba(0,0,0,.4), 0 0 22px rgba(232,196,122,.18);
  backdrop-filter: blur(2px);
}
.bm-item .avatar { width: 34px; height: 34px; font-size: 15px; }
@keyframes fly { from { transform: translateX(100vw); } to { transform: translateX(-110%); } }

/* ===== 红包雨(3D 翻滚) ===== */
#rain-field { position: absolute; inset: 0; overflow: hidden; perspective: 1000px; }
.pkt { position: relative; width: 74px; height: 104px; border-radius: 12px; background: linear-gradient(165deg, #ff5a50, #d92a30 55%, #a4161f); box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.3), 0 0 24px rgba(255,120,90,.35); }
.pkt::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(120deg, rgba(255,255,255,.26), transparent 40%, rgba(255,255,255,.1) 70%); }
.pkt .flap { position: absolute; top: 0; left: 0; right: 0; height: 44%; background: linear-gradient(180deg, #d02a31, #a81822); border-radius: 10px 10px 50% 50% / 10px 10px 26px 26px; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.pkt .seal { position: absolute; top: 30%; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffd04d 55%, #e8a423); color: #a35600; font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.4), 0 0 0 3px rgba(255,224,150,.55), 0 0 20px rgba(255,200,90,.6); }
.pkt .fu { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #ffe2a0; font-size: 15px; font-weight: 800; letter-spacing: 2px; opacity: .95; }
.rain-packet { position: absolute; top: -120px; animation: fall linear forwards; will-change: transform, filter; z-index: 2; }
.rain-packet .swayer { animation: sway var(--t, 2.2s) ease-in-out infinite alternate; transform-style: preserve-3d; }
/* 景深:远层小而暗、中层清晰、近层大而虚化(电影感) */
.rain-packet.far { filter: brightness(.7) saturate(.85) blur(1px); }
.rain-packet.mid { filter: brightness(.92); }
.rain-packet.near { filter: brightness(1.08) blur(2.5px); z-index: 3; }
@keyframes fall { to { transform: translateY(118vh); } }
@keyframes sway {
  from { transform: rotate(-8deg) rotateY(-30deg) scale(.96); }
  to { transform: rotate(8deg) rotateY(30deg) scale(1.04); }
}

.rain-top { position: absolute; top: 0; left: 0; right: 0; padding: 14px 30px; display: flex; align-items: center; justify-content: space-between; z-index: 5; }
.rain-greet { font-size: 28px; color: var(--t-accent); font-weight: 800; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 0 30px rgba(232,196,122,.4); }
.rain-stats { font-size: 16px; color: var(--t-cream); background: var(--t-panel); padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(232,196,122,.4); backdrop-filter: blur(3px); }
.rain-stats b { color: var(--t-btn1); font-size: 20px; }
.rain-timer { position: absolute; top: 66px; left: 50%; transform: translateX(-50%) translateZ(0); z-index: 6; width: 64px; height: 64px; display: none; transform-style: flat; }
.rain-timer.show { display: block; }
.rain-timer svg { display: block; }
.rain-timer .rt-bg { fill: rgba(60,6,10,.7); stroke: rgba(232,196,122,.3); stroke-width: 4; }
.rain-timer .rt-fg { fill: none; stroke: #ffd04d; stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 6px rgba(255,208,77,.8)); }
.rain-timer .rt-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--t-cream); font-size: 23px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

/* ===== 科技感手气榜(HUD)+ 抢中弹卡 ===== */
#rain-board { position: absolute; left: 26px; top: 70px; bottom: 24px; width: 300px; z-index: 5; }
.rb-frame {
  position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(160deg, rgba(9, 24, 58, .66), rgba(5, 13, 34, .52));
  border: 1px solid rgba(90, 180, 255, .38);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .4), 0 0 34px rgba(60, 150, 255, .18) inset;
  backdrop-filter: blur(6px);
}
.rb-corner { position: absolute; width: 26px; height: 26px; border: 3px solid #57c7ff; filter: drop-shadow(0 0 8px rgba(87, 199, 255, .9)); }
.rb-corner.tl { top: -3px; left: -3px; border-right: none; border-bottom: none; border-radius: 20px 0 0 0; }
.rb-corner.tr { top: -3px; right: -3px; border-left: none; border-bottom: none; border-radius: 0 20px 0 0; }
.rb-corner.bl { bottom: -3px; left: -3px; border-right: none; border-top: none; border-radius: 0 0 0 20px; }
.rb-corner.br { bottom: -3px; right: -3px; border-left: none; border-top: none; border-radius: 0 0 20px 0; }
.rb-head { position: relative; text-align: center; padding: 16px 0 10px; font-size: 22px; font-weight: 900; color: #cfeaff; letter-spacing: 6px; text-shadow: 0 0 16px rgba(90, 200, 255, .85); }
.rb-head small { display: block; font-size: 10px; letter-spacing: 5px; color: rgba(140, 210, 255, .8); margin-top: 3px; font-weight: 700; }
#rb-rows { position: relative; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100% - 76px); overflow: hidden; }
.rb-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(70, 160, 255, .30), rgba(70, 160, 255, .05));
  border: 1px solid rgba(120, 210, 255, .32);
  animation: rbIn .45s cubic-bezier(.2, 1.2, .4, 1);
}
.rb-row.top1 {
  background: linear-gradient(90deg, rgba(255, 190, 80, .36), rgba(255, 190, 80, .08));
  border-color: rgba(255, 214, 130, .55);
  box-shadow: 0 0 20px rgba(255, 190, 90, .25);
}
.rb-rank { width: 24px; height: 24px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #0a1e3c; background: linear-gradient(135deg, #9fd8ff, #57b2f0); }
.rb-row.top1 .rb-rank { background: linear-gradient(135deg, #ffe28a, #ffb52e); }
.rb-row .avatar { width: 30px; height: 30px; font-size: 13px; }
.rb-row .rb-nm { flex: 1; min-width: 0; font-size: 14px; color: #eaf6ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rb-row .rb-amt { font-size: 15px; font-weight: 900; color: #8fe0ff; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(90, 200, 255, .7); }
.rb-row.top1 .rb-amt { color: #ffd88a; text-shadow: 0 0 10px rgba(255, 190, 90, .8); }
.rb-row.empty { background: rgba(70, 160, 255, .08); border-style: dashed; opacity: .55; }
@keyframes rbIn { from { transform: translateX(-26px); opacity: 0; } }

/* 抢中弹卡(竖版红包样式:头像在上,名字+大金额居中) */
#rain-pops { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.rain-pop {
  position: absolute; width: 118px; border-radius: 16px; padding: 22px 8px 14px; text-align: center;
  background: linear-gradient(180deg, #ff5a50 0%, #e8413c 34%, #c01d26 68%, #9d1520 100%);
  border: 2px solid rgba(255, 214, 140, .85);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5), 0 0 36px rgba(255, 120, 80, .5);
  animation: popIn .5s cubic-bezier(.2, 1.5, .4, 1), popOut .5s 2.2s forwards;
}
.rain-pop::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 32%; border-radius: 15px 15px 70% 70% / 15px 15px 26px 26px; background: linear-gradient(180deg, #d02a31, rgba(168, 24, 34, .0)); pointer-events: none; }
.rain-pop::after { content: ""; position: absolute; inset: 4px; border-radius: 12px; border: 1px solid rgba(255, 214, 140, .35); pointer-events: none; }
.rain-pop .rp-ava { width: 54px; height: 54px; margin: 0 auto 8px; position: relative; z-index: 2; }
.rain-pop .rp-ava .avatar { width: 54px; height: 54px; font-size: 23px; border: 3px solid #ffe2a0; box-shadow: 0 4px 14px rgba(0, 0, 0, .35), 0 0 16px rgba(255, 200, 100, .6); }
.rain-pop .rp-nm { font-size: 13px; color: #ffe2a0; font-weight: 700; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rain-pop .rp-amt { font-size: 26px; font-weight: 900; color: #ffd04d; margin-top: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); position: relative; }
.rain-pop .rp-tip { font-size: 10px; color: rgba(255, 230, 180, .85); margin-top: 5px; position: relative; letter-spacing: 1px; }
@keyframes popIn { 0% { transform: perspective(700px) rotateY(75deg) scale(.5) translateY(24px); opacity: 0; } 60% { transform: perspective(700px) rotateY(-8deg) scale(1.1); opacity: 1; } 100% { transform: perspective(700px) rotateY(0) scale(1); opacity: 1; } }
@keyframes popOut { to { transform: translateY(-30px) scale(.9); opacity: 0; } }

#rain-summary { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 8; background: linear-gradient(165deg, var(--t-veil2), var(--t-veil1)); border: 2px solid var(--gold); border-radius: 26px; padding: 36px 64px; text-align: center; display: none; box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 80px rgba(232,196,122,.25); }
#rain-summary.show { display: block; animation: summaryIn .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes summaryIn { from { transform: translate(-50%,-50%) scale(.7); opacity: 0; } to { transform: translate(-50%,-50%) scale(1); opacity: 1; } }
#rain-summary h3 { color: var(--t-accent); font-size: 28px; margin-bottom: 16px; letter-spacing: 3px; }
#rain-summary .line { font-size: 18px; color: #ffe4b5; margin: 7px 0; }
#rain-summary .line b { color: #ffd04d; font-size: 24px; }
#rain-summary .best-badge { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(255,208,77,.2), rgba(255,208,77,.06)); border: 1px solid rgba(255,208,77,.5); border-radius: 999px; padding: 8px 24px; margin-top: 10px; font-size: 18px; color: #ffdf8e; }

/* ===== 抽奖 ===== */
#lt-wrap { height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 8px; position: relative; }
#lt-prize { font-size: 44px; color: var(--t-cream2); font-weight: 900; letter-spacing: 3px; text-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 40px rgba(232,196,122,.35); margin: 6px 0 4px; z-index: 2; }
#lt-sub { font-size: 16px; color: #e9b57c; margin-bottom: 22px; z-index: 2; }
/* 3D 巨幕抽奖:旋转名单立方体 + 环形名单带 */
#lt-cube-wrap { flex: 1; position: relative; width: min(56vw, 640px); perspective: 1300px; display: flex; align-items: center; justify-content: center; z-index: 2; transform-style: preserve-3d; }
#lt-cube { position: relative; width: 220px; height: 220px; transform-style: preserve-3d; animation: cubeSpin 10s linear infinite; will-change: transform; }
.cf {
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,236,200,.18), rgba(255,236,200,.06));
  border: 1.5px solid var(--t-accent); box-shadow: 0 0 34px rgba(232,196,122,.22) inset;
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px;
}
.cf.f1 { transform: rotateY(0deg) translateZ(110px); }
.cf.f2 { transform: rotateY(90deg) translateZ(110px); }
.cf.f3 { transform: rotateY(180deg) translateZ(110px); }
.cf.f4 { transform: rotateY(-90deg) translateZ(110px); }
.cf.f5 { transform: rotateX(90deg) translateZ(110px); }
.cf.f6 { transform: rotateX(-90deg) translateZ(110px); }
.cf-nm { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--t-cream); white-space: nowrap; overflow: hidden; }
.cf-nm .avatar { width: 30px; height: 30px; font-size: 13px; }
.cf-nm span { overflow: hidden; text-overflow: ellipsis; }
@keyframes cubeSpin { from { transform: rotateX(-18deg) rotateY(0deg); } to { transform: rotateX(-18deg) rotateY(360deg); } }
#lt-orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: orbitSpin 16s linear infinite; }
@keyframes orbitSpin { from { transform: rotateX(68deg) rotateZ(0deg); } to { transform: rotateX(68deg) rotateZ(360deg); } }
.lt-orbit-chip {
  position: absolute; left: 0; top: 0; width: 150px; margin: -19px 0 0 -75px;
  display: flex; align-items: center; gap: 8px; padding: 5px 12px;
  background: var(--t-veil2); border: 1px solid var(--t-accent); border-radius: 999px;
  color: var(--t-cream); font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.lt-orbit-chip .avatar { width: 26px; height: 26px; font-size: 12px; }
.lt-orbit-chip span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
/* 开奖:立方体炸散 + 名单带散开 */
#lt-cube-wrap.burst #lt-cube { animation: cubeBurst 1s cubic-bezier(.4,1.2,.4,1) forwards; }
@keyframes cubeBurst {
  0% { transform: rotateX(-18deg) rotateY(0deg) scale(1); opacity: 1; }
  45% { transform: rotateX(-30deg) rotateY(220deg) scale(1.22); opacity: 1; }
  100% { transform: rotateX(-30deg) rotateY(420deg) scale(.06); opacity: 0; }
}
#lt-cube-wrap.burst #lt-orbit { animation: orbitBurst 1.1s ease-in forwards; }
@keyframes orbitBurst { to { transform: rotateX(68deg) rotateZ(480deg) scale(1.9); opacity: 0; } }
#lt-winners { position: relative; display: none; flex-wrap: wrap; gap: 26px; justify-content: center; align-content: center; max-width: 90vw; flex: 1; z-index: 2; perspective: 1200px; }
#lt-winners.show { display: flex; }
.winner-card { position: relative; background: linear-gradient(160deg, var(--t-card1), var(--t-card2)); color: var(--t-cardText); border-radius: 18px; padding: 24px 34px; text-align: center; min-width: 170px; box-shadow: 0 14px 44px rgba(0,0,0,.45); border: 2px solid #fff; animation: winnerIn .75s cubic-bezier(.2,1.4,.4,1) backwards; }
.winner-card .avatar { width: 66px; height: 66px; font-size: 28px; margin: 0 auto 8px; }
.winner-card .nm { font-size: 24px; font-weight: 800; }
.winner-card .pz { font-size: 13px; color: var(--t-cardText); opacity: .75; margin-top: 4px; }
.winner-card::before { content: "🏆"; position: absolute; top: -18px; right: -14px; font-size: 32px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
@keyframes winnerIn {
  from { transform: translateZ(-700px) rotateY(180deg) scale(.35); opacity: 0; filter: blur(5px); }
  to { transform: none; opacity: 1; filter: none; }
}
/* 中奖光轮 */
.winner-card::after {
  content: ""; position: absolute; inset: -42px; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,208,77,.5) 0 10deg, transparent 10deg 30deg, rgba(255,208,77,.35) 30deg 40deg, transparent 40deg 60deg, rgba(255,208,77,.5) 60deg 70deg, transparent 70deg 90deg, rgba(255,208,77,.35) 90deg 100deg, transparent 100deg 120deg, rgba(255,208,77,.5) 120deg 130deg, transparent 130deg 150deg, rgba(255,208,77,.35) 150deg 160deg, transparent 160deg 180deg, rgba(255,208,77,.5) 180deg 190deg, transparent 190deg 210deg, rgba(255,208,77,.35) 210deg 220deg, transparent 220deg 240deg, rgba(255,208,77,.5) 240deg 250deg, transparent 250deg 270deg, rgba(255,208,77,.35) 270deg 280deg, transparent 280deg 300deg, rgba(255,208,77,.5) 300deg 310deg, transparent 310deg 330deg, rgba(255,208,77,.35) 330deg 340deg, transparent 340deg 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 54%, #000 58% 78%, transparent 82%);
  mask-image: radial-gradient(circle, transparent 0 54%, #000 58% 78%, transparent 82%);
  animation: raysSpin 6s linear infinite;
}

.confetti { position: absolute; width: 10px; height: 16px; top: -20px; z-index: 6; animation: cfall linear forwards; opacity: .95; }
@keyframes cfall { to { transform: translateY(110vh) rotate(720deg); } }

/* ===== 疯狂摇一摇 ===== */
.gm-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.gm-sub { font-size: 17px; color: #f3c98a; margin-bottom: 10px; z-index: 2; }
.gm-timer { position: absolute; top: 10px; right: 40px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,220,140,.35), rgba(90,8,14,.85)); border: 3px solid var(--t-accent); color: var(--t-btn1); font-size: 30px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(255,208,77,.4); z-index: 6; }
.gm-timer.warn { animation: gmPulse .8s infinite; color: #ff8a8a; border-color: #ff6b6b; }
@keyframes gmPulse { 50% { transform: scale(1.15); box-shadow: 0 0 44px rgba(255,90,90,.7); } }
#gm-bars { flex: 1; width: min(86vw, 1000px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 12px; z-index: 2; perspective: 900px; }
.gm-row { display: flex; align-items: center; gap: 12px; animation: rowIn .5s cubic-bezier(.2,1.2,.4,1); }
.gm-row .avatar { width: 44px; height: 44px; font-size: 18px; }
.gm-row .gm-rank { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; background: linear-gradient(160deg, rgba(0,0,0,.5), rgba(0,0,0,.35)); border: 2px solid var(--t-accent); color: var(--t-accent); }
.gm-row.r1 .gm-rank { background: linear-gradient(160deg, #ffd04d, #d99a24); color: #6b3204; border-color: #fff2c8; }
.gm-row.r2 .gm-rank { background: linear-gradient(160deg, #e8e8e8, #9aa0a6); color: #333; border-color: #fff; }
.gm-row.r3 .gm-rank { background: linear-gradient(160deg, #f0b27a, #b96f31); color: #4a2404; border-color: #ffe2b8; }
.gm-bar-box { flex: 1; height: 40px; border-radius: 999px; background: rgba(255, 236, 200, .1); border: 1px solid rgba(232,196,122,.35); overflow: hidden; position: relative; }
.gm-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #d02a31, #ff7a45); box-shadow: 0 0 18px rgba(255,140,60,.55); transition: width .4s ease-out; min-width: 6px; }
.gm-bar.gold { background: linear-gradient(90deg, #d99a24, #ffd04d); }
.gm-row .gm-score { width: 110px; flex: none; text-align: right; font-size: 22px; font-weight: 900; color: var(--t-btn1); font-variant-numeric: tabular-nums; }
.gm-row .gm-name { width: 110px; flex: none; font-size: 17px; color: var(--t-cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gm-summary { display: none; background: linear-gradient(165deg, rgba(80,8,13,.95), rgba(50,4,8,.95)); border: 2px solid var(--gold); border-radius: 24px; padding: 30px 56px; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 80px rgba(232,196,122,.25); margin: 20px auto; z-index: 8; }
#gm-summary.show { display: block; animation: summaryPop .45s cubic-bezier(.2,1.4,.4,1); margin: auto; }
#gm-summary h3 { color: var(--t-accent); font-size: 26px; letter-spacing: 2px; margin-bottom: 14px; }
#gm-summary .g-line { font-size: 18px; color: #ffe4b5; margin: 8px 0; display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
#gm-summary .g-line b { color: #ffd04d; font-size: 22px; }

/* ===== 照片墙(Coverflow 3D 轮播) ===== */
#photo-stage { position: relative; height: calc(100% - 20px); margin: 10px auto; width: min(86vw, 900px); perspective: 1300px; transform-style: preserve-3d; }
.photo-frame {
  position: absolute; top: 50%; left: 50%; width: 62%; height: 78%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform-style: preserve-3d; opacity: 0; pointer-events: none;
  transition: transform .95s cubic-bezier(.3,1.15,.4,1), opacity .95s;
  will-change: transform, opacity;
}
.photo-frame img { max-width: 100%; max-height: calc(100% - 44px); border-radius: 14px; border: 6px solid var(--t-card1); box-shadow: 0 16px 50px rgba(0,0,0,.5); object-fit: cover; background: #2a0508; }
.photo-frame.on img { animation: kenburns 9s ease-in-out infinite alternate; }
.photo-frame .who { margin-top: 12px; font-size: 18px; color: var(--t-accent); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-10px, -8px); } }

/* ===== 扫光束(AI 感氛围) ===== */
.scan-beam { position: fixed; top: 0; bottom: 0; left: 0; width: 260px; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,220,150,.05) 30%, rgba(255,228,170,.13) 50%, rgba(255,220,150,.05) 70%, transparent 100%);
  transform: translateX(-300px) skewX(-16deg); animation: scan 8s linear infinite; }
@keyframes scan { from { transform: translateX(-320px) skewX(-16deg); } to { transform: translateX(115vw) skewX(-16deg); } }

/* ===== 常驻扫码角标 ===== */
.mini-qr { position: fixed; left: 22px; bottom: 66px; z-index: 60; background: var(--t-veil2); border: 1px solid var(--t-accent); border-radius: 14px; padding: 10px 12px 8px; text-align: center; backdrop-filter: blur(4px); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.mini-qr svg, .mini-qr img { width: 88px; height: 88px; display: block; background: #fff5df; border-radius: 8px; padding: 3px; }
.mini-qr p { font-size: 11px; color: var(--t-cream2); margin-top: 6px; letter-spacing: 1px; }

/* ===== 底部祝福走马灯 ===== */
#ticker { position: fixed; bottom: 0; left: 0; right: 0; height: 56px; z-index: 50; overflow: hidden; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); border-top: 1px solid rgba(232,196,122,.3); display: flex; align-items: center; }
#ticker .t-label { flex: none; height: 100%; display: flex; align-items: center; padding: 0 18px; background: linear-gradient(135deg, var(--t-btn1), var(--t-btn2)); color: #4a2a02; font-weight: 800; letter-spacing: 2px; }
#ticker-inner { position: relative; white-space: nowrap; will-change: transform; }
#ticker-inner .tk-item { display: inline-flex; align-items: center; gap: 8px; margin-right: 46px; font-size: 18px; color: var(--t-cream); }
#ticker-inner.animate { animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ===== 粒子拼字大秀 ===== */
.morph-stage { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(1100px 640px at 50% 46%, var(--t-veil1), var(--t-veil2)); }
.morph-stage.show { opacity: 1; }

.center-notice { position: fixed; left: 50%; top: 40%; transform: translate(-50%,-50%); z-index: 90; background: var(--t-veil2); color: var(--t-cream); font-size: 22px; padding: 18px 44px; border-radius: 16px; border: 1px solid var(--t-accent); animation: pop .3s; }

/* ===== 宾客送礼(抖音直播间式) ===== */
#gift-floats { position: fixed; right: 24px; bottom: 70px; z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.gift-float {
  display: flex; align-items: center; gap: 10px;
  background: var(--t-veil2); border: 1px solid var(--t-accent);
  border-radius: 999px; padding: 5px 16px 5px 6px; color: var(--t-cream);
  backdrop-filter: blur(4px); box-shadow: 0 6px 20px rgba(0,0,0,.3);
  animation: giftIn .35s cubic-bezier(.2,1.3,.4,1), giftOut .5s 5.4s forwards;
}
.gift-float .gf-icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, var(--t-btn1), var(--t-btn2));
  box-shadow: 0 0 14px rgba(255,200,100,.5);
}
.gift-float .gf-name { font-size: 14px; font-weight: 700; }
.gift-float .gf-text { font-size: 13px; opacity: .9; }
.gift-float .gf-icon-big { font-size: 26px; margin-left: 2px; }
.gift-float .gf-combo { font-size: 16px; font-weight: 900; color: var(--t-btn1); margin-left: 4px; text-shadow: 0 0 10px rgba(255,200,100,.6); }
.gift-float .gf-combo.bump { animation: comboBump .3s cubic-bezier(.2,1.6,.4,1); }
@keyframes comboBump { 40% { transform: scale(1.6); } }
@keyframes giftIn { from { transform: translateX(70px); opacity: 0; } }
@keyframes giftOut { to { opacity: 0; transform: translateY(-16px); } }

/* 大礼物全屏动画 */
#gift-big { position: fixed; inset: 0; z-index: 80; display: none; pointer-events: none; overflow: hidden; }
#gift-big.show { display: block; }
#gift-big .gb-veil { position: absolute; inset: 0; background: radial-gradient(900px 520px at 50% 42%, transparent 30%, rgba(0,0,0,.45)); animation: veilIn .4s; }
@keyframes veilIn { from { opacity: 0; } }
#gift-big .gb-icon { position: absolute; left: 50%; top: 40%; font-size: 150px; transform: translate(-50%,-50%); filter: drop-shadow(0 0 40px rgba(255,200,100,.8)); }
#gift-big.fly .gb-icon { animation: rocketFly 3s ease-in forwards; left: auto; right: -220px; transform: translateY(-50%) rotate(-45deg); }
@keyframes rocketFly {
  0% { right: -220px; top: 42%; }
  30% { right: 30%; top: 30%; }
  60% { right: 55%; top: 38%; }
  100% { right: 130%; top: 22%; }
}
#gift-big.sail .gb-icon { animation: shipSail 3.6s ease-in-out forwards; left: auto; top: 52%; transform: translateY(-50%); }
@keyframes shipSail {
  0% { left: -260px; }
  45% { left: 38%; }
  70% { left: 44%; }
  100% { left: 130%; }
}
#gift-big.spin .gb-icon { animation: crownSpin 3.4s cubic-bezier(.2,1.2,.4,1); }
@keyframes crownSpin { 0% { transform: translate(-50%,-50%) scale(.2) rotate(-540deg); opacity: 0; } 45% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1); } }
#gift-big.zoom .gb-icon { animation: fireworkZoom 3s cubic-bezier(.2,1.3,.4,1); }
@keyframes fireworkZoom { 0% { transform: translate(-50%,-50%) scale(0); opacity: 0; } 35% { transform: translate(-50%,-50%) scale(1.25); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1); } }
#gift-big .gb-banner {
  position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%);
  background: var(--t-veil2); border: 2px solid var(--t-accent); border-radius: 999px;
  padding: 14px 44px; text-align: center; color: var(--t-cream); font-size: 20px;
  box-shadow: 0 14px 44px rgba(0,0,0,.5), 0 0 44px var(--t-accent);
  animation: bannerUp .5s cubic-bezier(.2,1.4,.4,1) backwards;
}
@keyframes bannerUp { from { transform: translateX(-50%) translateY(40px); opacity: 0; } }
#gift-big .gb-banner b { color: var(--t-btn1); font-size: 24px; }

/* ===== 追新娘赛道 ===== */
#gm-track { position: relative; flex: 1; width: min(86vw, 1080px); margin: 6px auto 16px; z-index: 2; display: flex; flex-direction: column; }
.track-head { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 6px 6px; font-size: 30px; }
.track-head .th-finish { margin-right: 6px; filter: drop-shadow(0 0 8px rgba(255,208,77,.8)); }
#track-lanes { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 8px; }
.trk-lane { position: relative; height: 54px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,236,200,.14), rgba(255,236,200,.04) 70%, rgba(255,208,77,.2)); border: 1px solid rgba(232,196,122,.35); box-shadow: inset 0 2px 10px rgba(0,0,0,.25); }
.trk-lane::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 26px; background: repeating-linear-gradient(45deg, rgba(255,208,77,.5) 0 8px, rgba(120,16,24,.3) 8px 16px); border-radius: 0 999px 999px 0; }
.trk-runner { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 5px; border-radius: 999px; background: var(--t-veil2); border: 1px solid var(--t-accent); transition: left .45s cubic-bezier(.3,1.1,.4,1); will-change: left; white-space: nowrap; }
.trk-runner.lead { box-shadow: 0 0 22px rgba(255,208,77,.55); border-color: #ffd04d; }
.trk-runner .avatar { width: 34px; height: 34px; font-size: 15px; }
.trk-runner .trk-nm { font-size: 15px; font-weight: 700; color: var(--t-cream); max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.trk-runner .trk-steps { font-size: 13px; color: var(--t-btn1); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ===== 趣味竞猜(emoji 猜电影) ===== */
.qz-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.qz-round { font-size: 16px; color: #f3c98a; letter-spacing: 2px; z-index: 2; }
.qz-title { font-size: 30px; font-weight: 900; color: var(--t-accent); letter-spacing: 6px; margin: 4px 0 2px; text-shadow: 0 2px 12px rgba(0,0,0,.4), 0 0 30px rgba(255,190,90,.35); z-index: 2; }
.qz-timer { position: absolute; top: 8px; right: 40px; width: 56px; height: 56px; z-index: 6; }
.qz-timer svg { display: block; width: 56px; height: 56px; }
.qz-timer .rt-bg { fill: rgba(60,6,10,.7); stroke: rgba(232,196,122,.3); stroke-width: 4; }
.qz-timer .rt-fg { fill: none; stroke: #ffd04d; stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset .3s linear; filter: drop-shadow(0 0 6px rgba(255,208,77,.8)); }
.qz-timer .rt-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--t-cream); font-size: 20px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.qz-emoji { flex: 1; display: flex; align-items: center; font-size: clamp(72px, 14vw, 170px); letter-spacing: 14px; color: var(--t-cream); text-shadow: 0 10px 44px rgba(0,0,0,.5), 0 0 60px rgba(255,190,90,.3); animation: qzEmojiIn .6s cubic-bezier(.2,1.4,.4,1); z-index: 2; }
@keyframes qzEmojiIn { from { transform: scale(.3) rotate(-14deg); opacity: 0; } }
.qz-options { display: grid; grid-template-columns: repeat(2, minmax(300px, 420px)); gap: 14px; margin: 0 auto 10px; z-index: 2; }
@media (min-width: 1100px) {
  .qz-options { margin-left: 340px; margin-right: auto; } /* 避让左侧答题榜 */
}
.qz-opt { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; background: var(--t-panel); border: 2px solid rgba(232,196,122,.4); font-size: 22px; color: var(--t-cream); transition: transform .25s, border-color .25s, background .25s, opacity .3s; position: relative; }
.qz-opt .qz-key { width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--t-btn1), var(--t-btn2)); color: #4a2a02; font-weight: 900; font-size: 16px; }
.qz-opt .qz-txt { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-opt .qz-cnt { font-size: 15px; color: var(--t-cream2); opacity: .9; font-variant-numeric: tabular-nums; }
.qz-opt.correct { border-color: #7ce08a; background: linear-gradient(120deg, rgba(60,160,80,.4), rgba(60,160,80,.12)); box-shadow: 0 0 30px rgba(110,230,130,.4); animation: qzRight .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes qzRight { 40% { transform: scale(1.06); } }
.qz-opt.dim { opacity: .38; filter: saturate(.5); }
.qz-meta { font-size: 17px; color: #f3c98a; margin-bottom: 14px; z-index: 2; }
.qz-side { position: absolute; left: 26px; top: 40px; bottom: 20px; width: 280px; z-index: 5; }
#qz-top { position: relative; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100% - 60px); overflow: hidden; }
.qz-row { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(70,160,255,.30), rgba(70,160,255,.05)); border: 1px solid rgba(120,210,255,.32); animation: rbIn .45s cubic-bezier(.2,1.2,.4,1); }
.qz-row.top1 { background: linear-gradient(90deg, rgba(255,190,80,.36), rgba(255,190,80,.08)); border-color: rgba(255,214,130,.55); }
.qz-row .rb-nm { flex: 1; min-width: 0; font-size: 14px; color: #eaf6ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.qz-row .rb-amt { font-size: 15px; font-weight: 900; color: #ffd88a; font-variant-numeric: tabular-nums; }
.qz-row.empty { background: rgba(70,160,255,.08); border-style: dashed; opacity: .55; }
#qz-summary { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 8; background: linear-gradient(165deg, var(--t-veil2), var(--t-veil1)); border: 2px solid var(--gold); border-radius: 26px; padding: 32px 60px; text-align: center; display: none; box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 80px rgba(232,196,122,.25); }
#qz-summary.show { display: block; animation: summaryIn .45s cubic-bezier(.2,1.4,.4,1); }
#qz-summary h3 { color: var(--t-accent); font-size: 26px; margin-bottom: 14px; letter-spacing: 2px; }
#qz-summary .g-line { font-size: 18px; color: #ffe4b5; margin: 8px 0; display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
#qz-summary .g-line b { color: #ffd04d; font-size: 22px; }

/* ===== 节目投票 ===== */
.vt-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.vt-sub { font-size: 17px; color: #f3c98a; margin-bottom: 6px; z-index: 2; }
.vt-total { font-size: 16px; color: var(--t-cream); background: var(--t-panel); padding: 6px 22px; border-radius: 999px; border: 1px solid rgba(232,196,122,.4); margin-bottom: 14px; z-index: 2; }
.vt-total b { color: var(--t-btn1); font-size: 20px; }
#vt-bars { flex: 1; width: min(84vw, 1000px); display: flex; flex-direction: column; justify-content: center; gap: 14px; z-index: 2; margin-bottom: 16px; }
.vt-row { display: flex; align-items: center; gap: 14px; }
.vt-row .vt-name { width: 220px; flex: none; font-size: 20px; color: var(--t-cream); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.vt-row .vt-idx { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0,0,0,.5), rgba(0,0,0,.3)); border: 2px solid var(--t-accent); color: var(--t-accent); font-size: 14px; font-weight: 900; margin-right: 8px; }
.vt-row .vt-crown { font-size: 20px; }
.vt-row .vt-bar-box { flex: 1; height: 42px; border-radius: 999px; background: rgba(255,236,200,.1); border: 1px solid rgba(232,196,122,.35); overflow: hidden; position: relative; }
.vt-row .vt-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #d02a31, #ff7a45); box-shadow: 0 0 18px rgba(255,140,60,.5); transition: width .5s cubic-bezier(.3,1.2,.4,1); min-width: 0; }
.vt-row:nth-child(2) .vt-bar { background: linear-gradient(90deg, #c2500e, #ffb13d); }
.vt-row:nth-child(3) .vt-bar { background: linear-gradient(90deg, #8f2bd0, #d68fff); }
.vt-row:nth-child(4) .vt-bar { background: linear-gradient(90deg, #0e7ac2, #5ad0ff); }
.vt-row:nth-child(5) .vt-bar { background: linear-gradient(90deg, #1a9c5c, #7ce08a); }
.vt-row:nth-child(6) .vt-bar { background: linear-gradient(90deg, #c20e5a, #ff7ab2); }
.vt-row:nth-child(7) .vt-bar { background: linear-gradient(90deg, #b39216, #ffe89a); }
.vt-row:nth-child(8) .vt-bar { background: linear-gradient(90deg, #555f8f, #a9b4ff); }
.vt-row .vt-cnt { width: 130px; flex: none; font-size: 18px; font-weight: 800; color: var(--t-btn1); font-variant-numeric: tabular-nums; }
.vt-row.win .vt-name { color: #ffd04d; }
.vt-row.win .vt-bar { box-shadow: 0 0 28px rgba(255,208,77,.75); }
#vt-summary { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 8; background: linear-gradient(165deg, var(--t-veil2), var(--t-veil1)); border: 2px solid var(--gold); border-radius: 26px; padding: 34px 62px; text-align: center; display: none; box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 80px rgba(232,196,122,.25); }
#vt-summary.show { display: block; animation: summaryIn .45s cubic-bezier(.2,1.4,.4,1); }
#vt-summary h3 { color: var(--t-accent); font-size: 26px; margin-bottom: 14px; letter-spacing: 2px; }

/* ===== 欢迎页星域(视差漂移双层星空) ===== */
.w-stars { position: absolute; inset: -60px; z-index: 0; pointer-events: none; opacity: .55; }
.w-stars.s1 { background-image: radial-gradient(1.6px 1.6px at 12% 22%, rgba(255,240,200,.9), transparent 55%), radial-gradient(1.2px 1.2px at 34% 68%, rgba(255,240,200,.7), transparent 55%), radial-gradient(1.8px 1.8px at 56% 14%, rgba(255,240,200,.85), transparent 55%), radial-gradient(1.2px 1.2px at 74% 52%, rgba(255,240,200,.65), transparent 55%), radial-gradient(1.6px 1.6px at 88% 82%, rgba(255,240,200,.8), transparent 55%), radial-gradient(1.1px 1.1px at 22% 88%, rgba(255,240,200,.6), transparent 55%), radial-gradient(1.5px 1.5px at 64% 34%, rgba(255,240,200,.75), transparent 55%), radial-gradient(1.3px 1.3px at 44% 6%, rgba(255,240,200,.7), transparent 55%); animation: starDrift1 70s linear infinite; }
.w-stars.s2 { background-image: radial-gradient(2.4px 2.4px at 18% 42%, rgba(255,214,140,.85), transparent 55%), radial-gradient(2px 2px at 62% 74%, rgba(255,214,140,.7), transparent 55%), radial-gradient(2.6px 2.6px at 82% 28%, rgba(255,214,140,.8), transparent 55%), radial-gradient(2px 2px at 40% 90%, rgba(255,214,140,.65), transparent 55%), radial-gradient(2.4px 2.4px at 6% 8%, rgba(255,214,140,.75), transparent 55%); animation: starDrift2 46s linear infinite; opacity: .4; }
@keyframes starDrift1 { to { transform: translate3d(-140px, 60px, 0); } }
@keyframes starDrift2 { to { transform: translate3d(120px, -80px, 0); } }

/* ===== 签到星球:行星核心 + 双光环 + 流星 ===== */
.ck-core { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, rgba(255,224,150,.5), rgba(232,196,122,.14) 46%, rgba(90,10,16,0) 72%); box-shadow: 0 0 120px rgba(255,208,120,.35), 0 0 40px rgba(255,208,120,.4) inset; animation: corePulse 5s ease-in-out infinite; z-index: 0; }
@keyframes corePulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }
.ck-ring { position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; border: 2px solid rgba(232,196,122,.4); box-shadow: 0 0 24px rgba(232,196,122,.25); transform: rotateX(74deg); animation: ringSpin 14s linear infinite; z-index: 0; }
.ck-ring::before { content: ''; position: absolute; inset: 26px; border-radius: 50%; border: 1px dashed rgba(232,196,122,.35); }
.ck-ring.r2 { width: 760px; height: 760px; margin: -380px 0 0 -380px; border-color: rgba(232,196,122,.24); animation: ringSpin 22s linear infinite reverse; }
.ck-ring.r2::before { inset: 40px; }
@keyframes ringSpin { to { transform: rotateX(74deg) rotateZ(360deg); } }
.ck-ring::after { content: '⭐'; position: absolute; top: -12px; left: 50%; font-size: 18px; filter: drop-shadow(0 0 10px rgba(255,208,120,.9)); }
.ck-meteor { position: absolute; top: 6%; left: 110%; width: 180px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,240,200,.95)); border-radius: 999px; filter: drop-shadow(0 0 8px rgba(255,240,200,.9)); opacity: 0; transform: rotate(-18deg); animation: meteor 7s ease-in infinite; z-index: 1; }
@keyframes meteor { 0%, 84% { transform: rotate(-18deg) translateX(0); opacity: 0; } 86% { opacity: 1; } 100% { transform: rotate(-18deg) translateX(-160vw); opacity: 0; } }

/* ===== 追新娘赛道 3D 透视 ===== */
#gm-track { perspective: 900px; }
#track-lanes { transform: rotateX(16deg); transform-style: preserve-3d; }
.trk-lane { transform: translateZ(0); }
.trk-runner { animation: runBob .5s ease-in-out infinite alternate; }
.trk-runner.lead { animation: runBob .34s ease-in-out infinite alternate; }
@keyframes runBob { from { margin-top: -3px; } to { margin-top: 3px; } }
.track-head .th-bride { animation: brideWave 1.6s ease-in-out infinite; display: inline-block; }
@keyframes brideWave { 0%,100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.14); } }

/* ===== 拔河大战 ===== */
#gm-tug { flex: 1; width: min(88vw, 1120px); margin: 4px auto 14px; display: flex; align-items: center; gap: 20px; z-index: 2; perspective: 1100px; }
.tg-side { flex: none; width: 200px; border-radius: 18px; padding: 14px 16px; text-align: center; backdrop-filter: blur(3px); }
.tg-side.red { background: linear-gradient(160deg, rgba(220,50,44,.32), rgba(120,16,24,.16)); border: 1.5px solid rgba(255,120,110,.6); }
.tg-side.blue { background: linear-gradient(160deg, rgba(50,110,220,.32), rgba(16,40,120,.16)); border: 1.5px solid rgba(120,170,255,.6); }
.tg-total { font-size: 46px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.tg-side.red .tg-total { color: #ff9a90; text-shadow: 0 0 18px rgba(255,110,100,.7); }
.tg-side.blue .tg-total { color: #9ecbff; text-shadow: 0 0 18px rgba(110,160,255,.7); }
.tg-team { font-size: 18px; font-weight: 800; color: var(--t-cream); margin-top: 6px; letter-spacing: 2px; }
.tg-top { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.tg-p { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--t-cream); background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px 10px 4px 5px; }
.tg-p .avatar { width: 24px; height: 24px; font-size: 11px; }
.tg-p b { margin-left: auto; color: var(--t-btn1); font-variant-numeric: tabular-nums; }
.tg-rope-zone { flex: 1; position: relative; height: 220px; transform-style: preserve-3d; }
#tg-rope { position: absolute; left: 0; right: 0; top: 50%; height: 26px; margin-top: -13px; border-radius: 999px; background: repeating-linear-gradient(55deg, #d99a24 0 22px, #b9781a 22px 44px); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 26px rgba(232,196,122,.3); transform: rotateX(24deg); }
.tg-knot { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffd04d 55%, #d99a24); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; color: #7a3800; transition: left .5s cubic-bezier(.3,1.2,.4,1); box-shadow: 0 8px 26px rgba(0,0,0,.5), 0 0 0 5px rgba(255,224,150,.5), 0 0 34px rgba(255,208,90,.8); }
.tg-knot::after { content: '🎀'; }
.tg-pole { position: absolute; top: 8%; bottom: 8%; width: 16px; border-radius: 8px; background: linear-gradient(180deg, #ffe2a0, #8a5a18); box-shadow: 0 0 18px rgba(232,196,122,.5); }
.tg-pole.l { left: 0; }
.tg-pole.r { right: 0; }
.tg-vs { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); font-size: 26px; font-weight: 900; color: var(--t-accent); letter-spacing: 4px; text-shadow: 0 0 20px rgba(255,208,120,.7); }
.tg-result { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(255,208,77,.22), rgba(255,208,77,.06)); border: 1px solid rgba(255,208,77,.55); border-radius: 999px; padding: 9px 26px; margin-top: 8px; font-size: 19px; color: #ffdf8e; font-weight: 800; }

/* ===== 3D 领奖台(游戏/竞猜结算) ===== */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 18px; margin: 18px 0 10px; perspective: 800px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 5px; animation: podIn .6s cubic-bezier(.2,1.3,.4,1) backwards; }
.pod.p0 { animation-delay: .12s; }
.pod.p1 { animation-delay: 0s; }
.pod.p2 { animation-delay: .24s; }
@keyframes podIn { from { transform: translateY(36px) scale(.8); opacity: 0; } }
.pod .avatar { width: 52px; height: 52px; font-size: 22px; border: 3px solid rgba(255,224,150,.8); box-shadow: 0 0 22px rgba(255,208,120,.55); }
.pod.p1 .avatar { width: 64px; height: 64px; }
.pod .pod-nm { font-size: 15px; font-weight: 800; color: var(--t-cream); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .pod-medal { font-size: 24px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.pod-pillar { width: 92px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(255,236,200,.24), rgba(255,236,200,.08)); border: 1.5px solid var(--t-accent); border-bottom: none; box-shadow: 0 0 26px rgba(232,196,122,.3) inset; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; font-size: 20px; font-weight: 900; color: var(--t-accent); }
.pod.p1 .pod-pillar { background: linear-gradient(180deg, rgba(255,208,77,.4), rgba(255,208,77,.14)); box-shadow: 0 0 34px rgba(255,208,90,.5) inset; color: #fff2c8; }
.pod.empty .pod-pillar { opacity: .35; }

/* ===== 竞猜揭晓 3D 翻牌 ===== */
.qz-opt.correct { animation: qzFlip .6s cubic-bezier(.3,1.2,.4,1); }
@keyframes qzFlip { 0% { transform: rotateY(0deg); } 50% { transform: rotateY(92deg) scale(1.05); } 100% { transform: rotateY(0deg); } }

@keyframes summaryPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== 谢幕 ===== */
.end-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; overflow: hidden; }
.end-stars { position: absolute; inset: -60px; pointer-events: none; opacity: .5; background-image: radial-gradient(1.6px 1.6px at 14% 26%, rgba(255,240,200,.9), transparent 55%), radial-gradient(1.2px 1.2px at 36% 70%, rgba(255,240,200,.7), transparent 55%), radial-gradient(1.8px 1.8px at 58% 16%, rgba(255,240,200,.85), transparent 55%), radial-gradient(1.2px 1.2px at 76% 54%, rgba(255,240,200,.65), transparent 55%), radial-gradient(1.6px 1.6px at 90% 84%, rgba(255,240,200,.8), transparent 55%), radial-gradient(1.4px 1.4px at 26% 90%, rgba(255,240,200,.6), transparent 55%); animation: starDrift1 60s linear infinite; }
.end-seal { position: absolute; top: 7%; left: 8%; width: 100px; height: 100px; border-radius: 16px; border: 3px solid rgba(255, 90, 99, .8); display: flex; align-items: center; justify-content: center; font-size: 56px; color: #ff5a63; font-weight: 900; box-shadow: 0 0 40px rgba(255, 90, 99, .35); animation: sealSpin 6s linear infinite; }
.end-kicker { font-size: 15px; letter-spacing: 8px; color: var(--t-accent); opacity: .85; animation: fadeDown .8s .05s backwards; }
.end-title { font-size: 120px; font-weight: 900; letter-spacing: 30px; text-indent: 30px; line-height: 1.1; background: linear-gradient(180deg, var(--t-shine1) 20%, var(--t-shine2) 45%, var(--t-shine3) 60%, var(--t-shine4) 80%); background-size: 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: namesIn 1.1s cubic-bezier(.2,1.25,.4,1) .1s backwards; filter: drop-shadow(0 6px 24px rgba(255, 190, 90, .35)); }
.end-names { font-size: 44px; font-weight: 800; color: var(--t-cream); animation: fadeDown .9s .3s backwards; }
.end-names .heart { color: #ff5a63; margin: 0 16px; animation: beat 1.2s infinite; display: inline-block; }
.end-sub { font-size: 19px; color: var(--t-cream2); letter-spacing: 3px; animation: fadeDown .9s .5s backwards; }
.end-bless { margin-top: 8px; font-size: 26px; color: var(--t-accent); letter-spacing: 10px; text-shadow: 0 0 30px rgba(232,196,122,.4); animation: fadeDown .9s .7s backwards; }

/* ===== 画面定格(遥控器触发) ===== */
body.frozen * { animation-play-state: paused !important; }

/* ===== 等待页(遥控器准备阶段) ===== */
.lb-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.lb-icon { width: 110px; height: 110px; border-radius: 26px; background: linear-gradient(160deg, rgba(255,236,200,.24), rgba(255,236,200,.08)); border: 2px solid var(--t-accent); display: flex; align-items: center; justify-content: center; font-size: 58px; box-shadow: 0 0 44px rgba(232,196,122,.4); animation: lbFloat 3s ease-in-out infinite; }
@keyframes lbFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.lb-sub { font-size: 19px; color: #f3c98a; margin-top: -4px; }
.lb-qr-box { background: rgba(255, 240, 214, .12); border: 1.5px solid var(--t-accent); border-radius: 22px; padding: 16px 22px 12px; backdrop-filter: blur(3px); box-shadow: 0 14px 50px rgba(0,0,0,.4), 0 0 60px rgba(232,196,122,.15) inset; animation: riseIn .8s cubic-bezier(.2,1.2,.4,1) .2s backwards; }
.lb-qr-box #lb-qr { width: 240px; height: 240px; }
.lb-qr-box p { margin-top: 8px; font-size: 15px; color: var(--t-cream); letter-spacing: 2px; }
.lb-count { font-size: 17px; color: var(--t-cream); background: var(--t-panel); padding: 8px 24px; border-radius: 999px; border: 1px solid rgba(232,196,122,.4); }
.lb-count b { color: var(--t-btn1); font-size: 21px; }
.lb-wait { font-size: 16px; color: var(--t-accent); letter-spacing: 2px; }
.lb-dots i { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: var(--t-accent); animation: lbDot 1.2s ease-in-out infinite; }
.lb-dots i:nth-child(2) { animation-delay: .2s; }
.lb-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes lbDot { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }

/* ===== 开场倒计时 ===== */
.cd-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.cd-num { font-size: clamp(180px, 30vw, 380px); font-weight: 900; line-height: 1; background: linear-gradient(180deg, var(--t-shine1) 15%, var(--t-shine2) 45%, var(--t-shine3) 65%, var(--t-shine4) 85%); background-size: 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgba(255,190,90,.45)); }
.cd-num.pop { animation: cdPop .5s cubic-bezier(.2,1.5,.4,1); }
@keyframes cdPop { 0% { transform: scale(1.9); opacity: .3; } 55% { transform: scale(.95); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.cd-ring { position: absolute; left: 50%; top: 46%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; border: 3px solid rgba(232,196,122,.35); animation: cdRing 1.1s cubic-bezier(.2,1.2,.4,1) infinite; pointer-events: none; }
@keyframes cdRing { 0% { transform: scale(1.15); opacity: .9; } 100% { transform: scale(.82); opacity: .1; } }
.cd-label { font-size: 26px; color: var(--t-cream2); letter-spacing: 8px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }

/* ===== 重要通知横幅 ===== */
.notice-banner { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 65; min-width: 40vw; max-width: 86vw; background: linear-gradient(135deg, rgba(255,208,77,.96), rgba(217,154,36,.94)); color: #4a2a02; font-size: 20px; font-weight: 800; letter-spacing: 1px; padding: 10px 34px; border-radius: 999px; box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 30px rgba(255,208,90,.5); align-items: center; justify-content: center; animation: bannerIn .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes bannerIn { from { transform: translateX(-50%) translateY(-40px); opacity: 0; } }
.notice-banner.run #notice-text { animation: noticePulse 1.6s ease-in-out infinite; }
@keyframes noticePulse { 50% { opacity: .75; } }

/* ===== 新人照片 3D 相框(欢迎页) ===== */
.w-photo { position: absolute; left: 8%; top: 16%; width: 190px; padding: 9px; background: linear-gradient(160deg, var(--t-card1), var(--t-card2)); border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 40px rgba(232,196,122,.25); transform-style: preserve-3d; animation: photoSway 6s ease-in-out infinite; z-index: 1; }
.w-photo img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; display: block; }
.w-photo::after { content: "囍"; position: absolute; top: -16px; right: -12px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffd04d 55%, #e8a423); color: #a35600; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
@keyframes photoSway { 0%,100% { transform: rotateY(12deg) rotateZ(-2deg); } 50% { transform: rotateY(-12deg) rotateZ(2deg); } }

/* ===== 抽奖 3-2-1 引爆 ===== */
#lt-countdown { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 9; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,243,196,.98), rgba(255,208,77,.94) 55%, rgba(232,164,35,.9)); display: none; align-items: center; justify-content: center; font-size: 120px; font-weight: 900; color: #a35600; box-shadow: 0 20px 70px rgba(0,0,0,.55), 0 0 0 10px rgba(255,224,150,.55), 0 0 90px rgba(255,200,90,.85); }
#lt-countdown.pop { animation: cdPop .75s cubic-bezier(.2,1.5,.4,1); }

/* ===== 赛道动感条纹 ===== */
.trk-lane::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 26px, transparent 26px 52px); animation: laneRun .55s linear infinite; pointer-events: none; }
@keyframes laneRun { to { background-position: -52px 0; } }

/* ===== 红包雨抢中全屏震动 ===== */
@keyframes bodyShake { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-7px,4px); } 50% { transform: translate(6px,-5px); } 75% { transform: translate(-4px,3px); } }
body.shake { animation: bodyShake .3s; }

/* ===== 3D/动感加强包 ===== */
/* 层切换 3D 入场(所有模式) */
@keyframes layerIn {
  from { opacity: 0; transform: translateY(30px) rotateX(14deg) scale(.94); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* 弹幕 3D 翻飞(随机 Y 轴倾角,像卡片在空中翻转) */
.bm-inner { display: flex; align-items: center; gap: 10px; transform: perspective(600px) rotateY(var(--ry, 8deg)); will-change: transform; }

/* 欢迎页漂浮 3D 立方体(囍/❤/福 三个景深) */
.w-cube { position: absolute; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: linear-gradient(150deg, rgba(255,208,77,.88), rgba(217,106,26,.78)); box-shadow: 0 12px 34px rgba(0,0,0,.4), inset 0 0 22px rgba(255,255,255,.28); animation: cubeFloat 7s ease-in-out infinite; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.w-cube.c1 { left: 11%; top: 20%; width: 76px; height: 76px; font-size: 36px; animation-duration: 6s; }
.w-cube.c2 { right: 13%; top: 15%; width: 60px; height: 60px; font-size: 27px; background: linear-gradient(150deg, rgba(255,120,120,.88), rgba(200,30,50,.82)); animation-duration: 8s; animation-delay: .8s; }
.w-cube.c3 { right: 9%; bottom: 24%; width: 66px; height: 66px; font-size: 31px; background: linear-gradient(150deg, rgba(140,200,255,.85), rgba(60,110,200,.78)); animation-duration: 9s; animation-delay: 1.6s; }
@keyframes cubeFloat { 0%,100% { transform: rotateY(-20deg) rotateZ(-4deg) translateY(0); } 50% { transform: rotateY(20deg) rotateZ(4deg) translateY(-18px); } }

/* 投票:进度条流光 + 票数跳动 */
.vt-bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: barShine 2.4s linear infinite; }
@keyframes barShine { from { left: -56px; } to { left: 100%; } }
.vt-row { animation: rowFlip .5s cubic-bezier(.2,1.2,.4,1) backwards; }
.vt-cnt { animation: cntBump .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes cntBump { 40% { transform: scale(1.3); color: #fff3c4; } }
@keyframes rowFlip { from { transform: perspective(700px) rotateX(70deg) translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 游戏/竞猜榜单行 3D 翻牌入场 */
.gm-row { animation: gmRowIn .55s cubic-bezier(.2,1.2,.4,1); }
@keyframes gmRowIn { from { transform: perspective(700px) rotateX(75deg) translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 等待页图标 3D 摇摆旋转 */
.lb-icon { animation: lbIcon3d 6s ease-in-out infinite; }
@keyframes lbIcon3d { 0%,100% { transform: rotateY(-18deg) rotateZ(-3deg) translateY(0); } 50% { transform: rotateY(18deg) rotateZ(3deg) translateY(-12px); } }

/* 竞猜 emoji 每题 3D 翻入 */
.qz-emoji.pop { animation: qzEmojiIn3d .6s cubic-bezier(.2,1.4,.4,1); }
@keyframes qzEmojiIn3d { from { transform: perspective(800px) rotateY(80deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== 自定义大屏背景 ===== */
#screen-bg { position: fixed; inset: 0; z-index: 0; display: none; }
#screen-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
#screen-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,3,6,.62), rgba(20,3,6,.5) 50%, rgba(20,3,6,.72)); backdrop-filter: blur(2px); }

/* ===== 霸屏全屏动画 ===== */
#baping-layer { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; overflow: hidden; }
#baping-layer .bp-veil { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 50% 45%, rgba(120,10,20,.82), rgba(20,2,6,.94)); animation: veilIn .4s; }
.bp-content { position: relative; text-align: center; animation: bpIn .6s cubic-bezier(.2,1.4,.4,1); }
.bp-name { font-size: 30px; color: #ffd04d; font-weight: 800; letter-spacing: 3px; text-shadow: 0 0 24px rgba(255,208,90,.7); margin-bottom: 22px; }
.bp-text { font-size: clamp(44px, 7vw, 96px); font-weight: 900; color: #fff; letter-spacing: 4px; line-height: 1.35; text-shadow: 0 6px 30px rgba(0,0,0,.6), 0 0 60px rgba(255,140,60,.55); animation: bpTextPulse 1.6s ease-in-out infinite; padding: 0 40px; max-width: 92vw; }
@keyframes bpTextPulse { 50% { transform: scale(1.05); text-shadow: 0 6px 30px rgba(0,0,0,.6), 0 0 90px rgba(255,160,70,.9); } }
.bp-tag { margin-top: 26px; display: inline-flex; background: rgba(255,224,150,.16); border: 1px solid rgba(255,208,90,.5); border-radius: 999px; padding: 8px 26px; font-size: 15px; color: #ffdf8e; letter-spacing: 3px; }
@keyframes bpIn { from { transform: scale(.6); opacity: 0; } }

/* ===== 视频上墙 ===== */
#video-layer { position: fixed; inset: 0; z-index: 96; display: none; align-items: center; justify-content: center; background: rgba(8,2,4,.96); }
#video-layer video { max-width: 92vw; max-height: 84vh; border-radius: 14px; border: 2px solid rgba(232,196,122,.5); box-shadow: 0 24px 80px rgba(0,0,0,.7); }
#video-layer .vl-name { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); color: var(--t-cream); font-size: 18px; letter-spacing: 2px; }

/* ===== 签到卡片亲戚标签 ===== */
.ck-card .rl { margin-top: 4px; font-size: 11px; color: #fff; background: linear-gradient(135deg, #e8413c, #b02331); border-radius: 999px; padding: 2px 10px; display: inline-block; }
