/* 大電視「光影舞台」主題（覆蓋 display.css 嘅基本樣式）*/
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
body.display { background: #05040f; }

/* ---------- 背景：極光 + 射燈 + 透視地台 + 光塵 ---------- */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx .L { position: absolute; inset: 0; }
.bgbase { background: radial-gradient(120% 80% at 50% 115%, #22155e 0%, transparent 60%), radial-gradient(90% 70% at 50% -25%, #1c2c6e 0%, transparent 60%), #05040f; }
.aur { position: absolute; width: 70%; height: 80%; border-radius: 50%; mix-blend-mode: screen; opacity: .5; }
.aur.a1 { background: radial-gradient(circle, rgba(106,60,255,.9), transparent 62%); left: -18%; top: -30%; animation: aurA 16s ease-in-out infinite alternate; }
.aur.a2 { background: radial-gradient(circle, rgba(0,178,255,.8), transparent 62%); right: -22%; top: 5%; animation: aurB 19s ease-in-out infinite alternate; }
.aur.a3 { background: radial-gradient(circle, rgba(255,50,150,.55), transparent 62%); left: 20%; bottom: -55%; animation: aurA 23s ease-in-out infinite alternate-reverse; }
@keyframes aurA { to { transform: translate(18%, 12%) scale(1.15); } }
@keyframes aurB { to { transform: translate(-15%, 10%) scale(.9); } }
.beam { position: absolute; top: -12%; width: 16%; height: 135%; transform-origin: 50% 0; mix-blend-mode: screen;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); animation: sway 7s ease-in-out infinite alternate; opacity: .85; }
.beam.b1 { left: 4%;  background: linear-gradient(180deg, rgba(150,200,255,.30), transparent 72%); --r0: 22deg; --r1: -8deg; }
.beam.b2 { left: 28%; background: linear-gradient(180deg, rgba(200,150,255,.22), transparent 70%); --r0: 10deg; --r1: -14deg; animation-duration: 9s; }
.beam.b3 { right: 28%; background: linear-gradient(180deg, rgba(255,210,140,.22), transparent 70%); --r0: -10deg; --r1: 14deg; animation-duration: 8s; }
.beam.b4 { right: 4%; background: linear-gradient(180deg, rgba(150,230,255,.30), transparent 72%); --r0: -22deg; --r1: 8deg; animation-duration: 6.5s; }
@keyframes sway { from { transform: rotate(var(--r0)); } to { transform: rotate(var(--r1)); } }
.bgfx .floor { top: auto; height: 38%; overflow: hidden; }
.floor::before { content: ''; position: absolute; left: -60%; right: -60%; top: 0; bottom: -40%;
  background-image: linear-gradient(rgba(120,160,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.3) 1px, transparent 1px);
  background-size: 5vw 5vw; transform: perspective(18vw) rotateX(64deg); transform-origin: top; animation: gridMove 4s linear infinite;
  mask-image: linear-gradient(transparent, #000 45%); -webkit-mask-image: linear-gradient(transparent, #000 45%); }
.floor::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #9fd0ff, #fff, #c69bff, transparent); box-shadow: 0 0 1.5vw .3vw rgba(140,190,255,.7); }
@keyframes gridMove { to { background-position: 0 5vw; } }
.vig { background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.65) 100%); }
.bgfx .danger { opacity: 0; box-shadow: inset 0 0 10vw 2vw rgba(255,20,70,.9); }
body.hurry .bgfx .danger { animation: dpulse 1s ease-in-out infinite; }
@keyframes dpulse { 0%,100% { opacity: .15; } 50% { opacity: .75; } }
#dust { width: 100%; height: 100%; }

#stage, #scorebar { z-index: 2; }
#fxc { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }
#ov { position: fixed; inset: 0; z-index: 18; display: grid; place-items: center; pointer-events: none; }
#ov > * { grid-area: 1 / 1; }

/* ---------- 題號 + 倒數圓環 ---------- */
.sec { opacity: 1; display: inline-flex; align-items: center; gap: .6em; font-size: 1.35em; font-weight: 800; padding: .35em 1.1em; border-radius: 99px; letter-spacing: .05em;
  background: linear-gradient(90deg, rgba(106,60,255,.55), rgba(0,162,255,.35)); box-shadow: inset 0 0 0 .08em rgba(255,255,255,.35), 0 0 1.4em rgba(106,60,255,.55); }
.ring { position: relative; width: 6.6em; height: 6.6em; flex: none; }
.ring.idle { visibility: hidden; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 7; }
.ring .trk { stroke: rgba(255,255,255,.12); }
.ring .prog { stroke: url(#rg); stroke-linecap: round; filter: drop-shadow(0 0 4px #7fd4ff); }
.ring .head { fill: #fff; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #7fd4ff); }
.ring .big-timer { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5em; min-width: 0; text-shadow: 0 0 .4em rgba(127,212,255,.8); }
.ring .big-timer.urgent { color: #ff7b93; text-shadow: 0 0 .5em #ff2d55; }
body.hurry .ring { animation: beat 1s infinite; }
body.hurry .ring .prog { stroke: #ff2d55; filter: drop-shadow(0 0 6px #ff2d55); }
@keyframes beat { 0%,40%,100% { transform: scale(1); } 10% { transform: scale(1.18); } 25% { transform: scale(1.06); } }

/* ---------- 玻璃面板：題目、選項、狀態 ---------- */
.slot-q .q-text, .opt, .order-card, .tstat, .room-door, .moves .move, .banner:not([style]):not(.ok):not(.bad) {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: inset 0 0 0 .07em rgba(255,255,255,.22), inset 0 1.2em 2em -1.4em rgba(255,255,255,.35), 0 .8em 2.4em rgba(0,0,0,.45);
  border: none; }
.slot-q .q-text { position: relative; padding: .55em .7em; border-radius: .45em; text-shadow: 0 0 .45em rgba(140,190,255,.55), 0 .06em 0 rgba(0,0,0,.4); }
.slot-q .q-text::before { content: ''; position: absolute; inset: -.06em; border-radius: inherit; padding: .06em; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, #56b8ff 76%, #fff 82%, #b77bff 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 3.2s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }
.slot-q .q-img img { border-radius: 1vw; box-shadow: 0 0 0 .2vw rgba(255,255,255,.25), 0 1vh 3vh rgba(0,0,0,.5); }
.opts { perspective: 60em; }
.opt { position: relative; border-radius: .6em; font-weight: 800; transition: opacity .5s, filter .5s, transform .5s, background .4s, box-shadow .4s; }
.opt b { border-radius: .55em; background: linear-gradient(180deg, #fff, #cfd9ff); color: #2a1a8a; box-shadow: 0 .15em .5em rgba(0,0,0,.35); }
.opt.hidden { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 .07em rgba(255,255,255,.18); border: .12vw dashed rgba(255,255,255,.3); }
.opt.scan { background: rgba(160,200,255,.28); box-shadow: inset 0 0 0 .12em #fff, 0 0 1.6em rgba(160,200,255,.9); }
.opt.chosen { background: rgba(255,213,79,.35); box-shadow: inset 0 0 0 .12em #ffd54f, 0 0 1.6em rgba(255,213,79,.6); }
.opt.dim { opacity: .3; filter: grayscale(.8); transform: scale(.96); }
.opt.wrong { background: rgba(255,40,80,.35); box-shadow: inset 0 0 0 .12em #ff6b81; }
.opt.correct { background: linear-gradient(180deg, #37d67a, #13924a); box-shadow: 0 0 0 .12em #b9ffd6, 0 0 3em rgba(60,255,140,.75); transform: scale(1.04); z-index: 2; }
.opt.correct b { color: #13924a; }
.opt .rays { position: absolute; left: 50%; top: 50%; width: 30em; height: 30em; margin: -15em 0 0 -15em; border-radius: 50%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,255,255,.26) 0 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 65%);
  animation: raysIn .6s ease-out both, rot 12s linear infinite; }
@keyframes raysIn { from { transform: scale(0); opacity: 0; } }
@keyframes rot { to { rotate: 360deg; } }
.opt .who .chip { animation: chipPop .45s cubic-bezier(.2,1.6,.4,1) both; box-shadow: 0 0 0 .1em rgba(255,255,255,.6); }
.opt .who .chip:nth-child(2) { animation-delay: .1s; } .opt .who .chip:nth-child(3) { animation-delay: .2s; }
.opt .who .chip:nth-child(4) { animation-delay: .3s; } .opt .who .chip:nth-child(5) { animation-delay: .4s; } .opt .who .chip:nth-child(6) { animation-delay: .5s; }
@keyframes chipPop { from { transform: scale(0) rotate(-20deg); } }
.opt.pop-in { animation: flip .7s cubic-bezier(.2,1.3,.4,1) both; }

/* 新題目入場：題號衝埋嚟嗰陣先收埋內容，之後題目浮上嚟、選項逐個翻開 */
#stage.pre > * { opacity: 0; }
.enter .sec { animation: slideR .5s both; }
.enter .q-text { animation: rise .7s .15s both; }
.enter .opt, .enter .order-card, .enter .room-door, .enter .bet-card { animation: flip .7s cubic-bezier(.2,1.3,.4,1) both; transform-origin: 50% 0; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(1) { animation-delay: .5s; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(2) { animation-delay: .68s; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(3) { animation-delay: .86s; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(4) { animation-delay: 1.04s; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(5) { animation-delay: 1.22s; }
.enter :is(.opt, .order-card, .room-door, .bet-card):nth-child(6) { animation-delay: 1.4s; }
.enter .tstat { animation: rise .5s both; }
@keyframes slideR { from { transform: translateX(-2em); opacity: 0; } }
@keyframes rise { from { transform: translateY(1em); opacity: 0; filter: blur(6px); } }
@keyframes flip { from { opacity: 0; transform: rotateX(-100deg) translateY(-.4em); } to { opacity: 1; transform: none; } }

/* 各社狀態 */
.tstat { opacity: .75; border-radius: .7em; box-shadow: inset 0 .25em 0 var(--hc), inset 0 0 0 .07em rgba(255,255,255,.2), 0 .6em 1.6em rgba(0,0,0,.4); color: #fff; }
.tstat .nm { color: var(--hc); filter: brightness(1.25); text-shadow: 0 0 .5em var(--hc); }
.tstat.done { opacity: 1; background: linear-gradient(180deg, color-mix(in srgb, var(--hc) 45%, transparent), color-mix(in srgb, var(--hc) 15%, transparent)); }
.tstat.done .nm, .tstat.ok .nm { color: #fff; }
.tstat.ok { opacity: 1; background: linear-gradient(180deg, #37d67a, #13924a); box-shadow: 0 0 0 .1em #b9ffd6, 0 0 1.6em rgba(60,255,140,.6); }
.tstat.bad { opacity: .55; filter: grayscale(.6); }

/* 橫額（搶答中／答啱／答錯）*/
.banner { border-radius: .5em; }
.banner[style] { background: linear-gradient(135deg, color-mix(in srgb, var(--hc) 85%, #fff), var(--hc) 50%, color-mix(in srgb, var(--hc) 60%, #000)); box-shadow: 0 0 0 .08em rgba(255,255,255,.7), 0 0 2.5em var(--hc); }
.banner.ok { background: linear-gradient(180deg, #37d67a, #13924a); box-shadow: 0 0 0 .08em #b9ffd6, 0 0 2.5em rgba(60,255,140,.6); }
.banner.bad { background: linear-gradient(180deg, #ff4d6d, #b3123a); box-shadow: 0 0 2.5em rgba(255,40,80,.6); }

/* ---------- 底部分數欄：玻璃社色格 + 領先皇冠 ---------- */
#scorebar { left: 1.2vw; right: 1.2vw; bottom: 1.2vh; height: 7.8vh; gap: .7vw; }
#stage { bottom: 10vh; }
#scorebar .sb { position: relative; border-radius: .6em; background: linear-gradient(180deg, color-mix(in srgb, var(--hc) 88%, #fff), color-mix(in srgb, var(--hc) 72%, #000));
  box-shadow: inset 0 .12em 0 rgba(255,255,255,.45), inset 0 -.2em .4em rgba(0,0,0,.25), 0 0 1em color-mix(in srgb, var(--hc) 50%, transparent); }
#scorebar .sb.hit { animation: hit .7s; }
@keyframes hit { 25% { transform: translateY(-.35em) scale(1.08); filter: brightness(1.5); box-shadow: 0 0 2.5em var(--hc); } }
.crown { position: absolute; top: -1.05em; left: 50%; translate: -50% 0; font-size: 1em; filter: drop-shadow(0 0 .3em gold); animation: bob 1.6s ease-in-out infinite; z-index: 4; pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-.2em) rotate(-6deg); } }

/* ---------- 覆蓋層動畫 ---------- */
.qzoom { font-size: 11vw; font-weight: 900; letter-spacing: .05em; line-height: 1; text-align: center; background: linear-gradient(180deg, #fff, #9fc9ff 60%, #6a3cff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 .15em rgba(120,180,255,.8)); animation: qz 1.3s cubic-bezier(.2,.8,.2,1) forwards; }
.qzoom small { display: block; font-size: .2em; letter-spacing: .4em; margin-top: .3em; -webkit-text-fill-color: #cfe3ff; }
@keyframes qz { 0% { transform: scale(4); opacity: 0; filter: blur(20px); } 30% { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 0 .15em rgba(120,180,255,.8)); } 75% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(.3) translateY(-1.5em); opacity: 0; } }
.shock { width: 14vw; height: 14vw; border-radius: 50%; border: .7vw solid var(--hc); box-shadow: 0 0 3vw var(--hc), inset 0 0 3vw var(--hc); animation: shock 1s ease-out forwards; }
@keyframes shock { from { transform: scale(.2); opacity: 1; } to { transform: scale(7); opacity: 0; border-width: .05vw; } }
.hcard { position: relative; display: flex; align-items: center; gap: 1em; padding: .7em 2em .7em .8em; border-radius: 1.4em; font-size: 4.6vw; font-weight: 900;
  background: linear-gradient(135deg, color-mix(in srgb, var(--hc) 85%, #fff), var(--hc) 50%, color-mix(in srgb, var(--hc) 60%, #000)); color: var(--hf);
  box-shadow: 0 0 0 .08em rgba(255,255,255,.7), 0 0 3em var(--hc); animation: slamIn .6s cubic-bezier(.2,1.5,.4,1) both; }
.hcard .emb { width: 2em; height: 2em; border-radius: .5em; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--hc); font-size: 1.1em; box-shadow: inset 0 -.1em .2em rgba(0,0,0,.2); }
.hcard small { display: block; font-size: .42em; opacity: .9; letter-spacing: .2em; }
.hrays { width: 60vw; height: 60vw; border-radius: 50%; background: repeating-conic-gradient(color-mix(in srgb, var(--hc) 45%, transparent) 0 7deg, transparent 7deg 20deg);
  mask-image: radial-gradient(circle, #000 5%, transparent 60%); -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 60%); animation: raysIn .5s both, rot 10s linear infinite; }
@keyframes slamIn { 0% { transform: scale(2.6) rotate(-8deg); opacity: 0; } 60% { transform: scale(.95) rotate(1deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
#ov .out { animation: ovOut .4s forwards; }
@keyframes ovOut { to { opacity: 0; transform: scale(.9); } }
.xbig { font-size: 10vw; font-weight: 900; color: #ff3355; text-shadow: 0 0 .3em #ff0033, 0 0 .1em #fff; animation: slamIn .5s cubic-bezier(.2,1.5,.4,1) both; }
.fban { padding: .45em 1.6em; font-size: 5vw; font-weight: 900; border-radius: .3em; transform: skewX(-8deg); white-space: nowrap;
  background: linear-gradient(90deg, #ff3d00, #ff9800, #ffd54f, #ff9800, #ff3d00); background-size: 200% 100%; color: #fff; text-shadow: 0 .06em 0 rgba(0,0,0,.35);
  box-shadow: 0 0 3em rgba(255,120,0,.8); animation: slamIn .6s cubic-bezier(.2,1.5,.4,1) both, flame 1s linear infinite; }
@keyframes flame { to { background-position: 200% 0; } }
.coin { position: fixed; z-index: 19; font-size: 2.6vw; font-weight: 900; padding: .15em .55em; border-radius: 99px; background: #fff; color: var(--hc);
  box-shadow: 0 0 0 .12em var(--hc), 0 0 1.4em var(--hc); pointer-events: none; white-space: nowrap; }

/* ---------- 標題（開場）---------- */
.title-screen { position: relative; gap: 6vh; }
.title-screen .burst { position: absolute; left: 50%; top: 40%; width: 6vw; height: 6vw; margin: -3vw; border-radius: 50%; background: #fff;
  box-shadow: 0 0 9vw 4vw #9fd0ff, 0 0 18vw 9vw #6a3cff; animation: burst 1.4s ease-out forwards; }
@keyframes burst { 0% { transform: scale(0); opacity: 1; } 30% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(18); opacity: 0; } }
.title-screen h1.logo { position: relative; display: flex; font-size: 6.4em; letter-spacing: .1em; }
.logo span { display: inline-block; background: linear-gradient(180deg, #fff 20%, #ffe08a 55%, #c98a1b 80%, #fff3c4); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .04em 0 #7a4d00) drop-shadow(0 0 .25em rgba(255,200,80,.6)); animation: drop .8s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-1.2em) scale(1.6) rotate(-10deg); } to { opacity: 1; transform: none; } }
.logo::after { content: ''; position: absolute; inset: -10% -5%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%); mix-blend-mode: overlay;
  transform: translateX(-120%); animation: sweep 3.2s 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 55%,100% { transform: translateX(120%); } }
.houses { gap: 2vw; }
.houses .emb6 { width: 6.4vw; height: 6.4vw; border-radius: 1.4vw; display: grid; place-items: center; font-size: 3.2vw; font-weight: 900; color: var(--hf);
  background: linear-gradient(145deg, color-mix(in srgb, var(--hc) 70%, #fff), var(--hc) 55%, color-mix(in srgb, var(--hc) 65%, #000));
  box-shadow: 0 0 0 .12vw rgba(255,255,255,.6), 0 0 2.6vw color-mix(in srgb, var(--hc) 70%, transparent); animation: orbit 1.2s cubic-bezier(.2,1.2,.3,1) both, float 3s ease-in-out infinite; }
@keyframes orbit { from { opacity: 0; transform: translate(var(--ox), var(--oy)) scale(.2) rotate(-200deg); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { translate: 0 -.4vw; } }

/* ---------- 分數榜（固定 慕德信義仁愛 次序）---------- */
.board-wrap h2 { font-size: 3.4em; background: linear-gradient(180deg, #fff 20%, #ffe08a 60%, #c98a1b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 .2em rgba(255,200,80,.5)); }
.board { gap: 2.4vw; }
.bar-col { position: relative; }
.bar-col .bar { border-radius: 1vw 1vw .3vw .3vw; background: linear-gradient(180deg, color-mix(in srgb, var(--hc) 60%, #fff), var(--hc) 45%, color-mix(in srgb, var(--hc) 70%, #000));
  box-shadow: 0 0 2vw color-mix(in srgb, var(--hc) 55%, transparent), inset 0 .3vw 0 rgba(255,255,255,.35); transition: height 1.2s cubic-bezier(.2,.9,.3,1); animation: barUp 1.4s cubic-bezier(.2,.9,.3,1) both; transform-origin: bottom; }
.bar-col:nth-child(1) .bar { animation-delay: .1s; } .bar-col:nth-child(2) .bar { animation-delay: .25s; } .bar-col:nth-child(3) .bar { animation-delay: .4s; }
.bar-col:nth-child(4) .bar { animation-delay: .55s; } .bar-col:nth-child(5) .bar { animation-delay: .7s; } .bar-col:nth-child(6) .bar { animation-delay: .85s; }
@keyframes barUp { from { transform: scaleY(0); } }
.bar-col .val { text-shadow: 0 0 .4em rgba(255,255,255,.4); }
.bar-col .rank { font-weight: 800; }
.bar-col .nm { text-shadow: 0 0 .5em var(--hc); filter: brightness(1.2); }
.bar-col.lead .bar { box-shadow: 0 0 3.5vw var(--hc), inset 0 .3vw 0 rgba(255,255,255,.5); }
.bar-col .bcrown { font-size: 3.2em; filter: drop-shadow(0 0 .3em gold); animation: chipPop .6s 1.4s cubic-bezier(.2,1.6,.4,1) both, bob 1.6s 2s ease-in-out infinite; }

/* ---------- 其他題型 ---------- */
.room-door { border-radius: 1.2vw; }
.room-door.safe { background: linear-gradient(180deg, rgba(55,214,122,.55), rgba(19,146,74,.45)); box-shadow: 0 0 0 .15em #b9ffd6, 0 0 3em rgba(60,255,140,.5); }
.room-door.boom { background: linear-gradient(180deg, rgba(255,77,109,.55), rgba(179,18,58,.5)); box-shadow: 0 0 0 .15em #ff8a8a, 0 0 3em rgba(255,40,80,.5); }
.room-door.warn { box-shadow: inset 0 0 0 .15em #ffb74d, 0 0 2em rgba(255,152,0,.35); }
.room-door.okay { box-shadow: inset 0 0 0 .15em #7ce8a8, 0 0 2em rgba(60,255,140,.25); }
.order-card { border-radius: .6em; }
.order-grid.rev .order-card { background: linear-gradient(180deg, #37d67a, #13924a); box-shadow: 0 0 0 .1em #b9ffd6, 0 0 1.6em rgba(60,255,140,.5); }
.bet-card { box-shadow: inset 0 .12em 0 rgba(255,255,255,.4), 0 0 1.4em color-mix(in srgb, var(--hc) 50%, transparent); }
.bets.flip .bet-card { animation: cardFlip .8s cubic-bezier(.2,1.3,.4,1) both; }
.bets.flip .bet-card:nth-child(2) { animation-delay: .15s; } .bets.flip .bet-card:nth-child(3) { animation-delay: .3s; }
.bets.flip .bet-card:nth-child(4) { animation-delay: .45s; } .bets.flip .bet-card:nth-child(5) { animation-delay: .6s; } .bets.flip .bet-card:nth-child(6) { animation-delay: .75s; }
@keyframes cardFlip { from { transform: perspective(40vw) rotateY(180deg); opacity: .3; } to { transform: none; opacity: 1; } }
.wh-cat { background: linear-gradient(180deg, #fff 20%, #ffe08a 60%, #c98a1b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 .2em rgba(255,200,80,.6)); }
.reveal-box { box-shadow: 0 0 0 .2vw rgba(255,255,255,.25), 0 1vh 3vh rgba(0,0,0,.5); }
.dcell { box-shadow: 0 0 1.4vw color-mix(in srgb, var(--hc) 50%, transparent); }
.nl-axis { background: linear-gradient(90deg, #b77bff, #56d8ff); box-shadow: 0 0 1vw #56d8ff; }

/* ---------- 開聲掣 ---------- */
#sndBtn { position: fixed; right: 1vw; top: 1vh; z-index: 30; font-size: 14px; padding: .35em .7em; border-radius: 99px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35); color: #fff; opacity: .35; cursor: pointer; }
#sndBtn:hover { opacity: 1; }
#sndBtn.ask { opacity: .9; animation: pulseOpacity 1.4s infinite; }
