/* Live quiz: player page (play.html, body.play) and the host stage in the
   dashboard (.live-stage). Answer colors and shapes follow the familiar quiz
   convention: A red triangle, B blue diamond, C amber circle, D green square. */
:root { --lq-a: #e5484d; --lq-b: #2f6fed; --lq-c: #d99a00; --lq-d: #1f9d55; }
.lq-shape { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.lq-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.lq-brand img { width: 24px; height: 24px; }
.lq-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 900; }
.c0 { --tile: var(--lq-a); } .c1 { --tile: var(--lq-b); } .c2 { --tile: var(--lq-c); } .c3 { --tile: var(--lq-d); }

/* ---------------- Player (phone) ---------------- */
body.play { min-height: 100dvh; background: radial-gradient(70% 50% at 50% 0%, rgba(124, 92, 255, 0.35), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(255, 77, 141, 0.25), transparent 70%), #0b0a1a; color: #fff; }
.pl { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: grid; padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0); }
.pl-screen { display: grid; grid-template-rows: auto 1fr; min-height: 100dvh; }
.pl-join, .pl-msg { grid-row: 1 / -1; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 32px 20px; text-align: center; }
.pl-screen > .pl-top + .pl-msg { grid-row: 2; }
.pl-join h1, .pl-msg h1 { font-family: var(--font-display); font-size: clamp(26px, 7vw, 36px); margin: 6px 0 0; }
.pl-msg p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.5; }
.pl-form { width: 100%; max-width: 360px; display: grid; gap: 14px; text-align: left; }
.pl-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.pl-form input { min-height: 56px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.95); color: #141526; font-size: 20px; font-weight: 800; text-align: center; padding: 10px 14px; letter-spacing: 0.02em; }
.pl-form input#jpin { font-size: 28px; letter-spacing: 0.18em; font-family: var(--font-display); }
.pl-form input:focus { outline: none; border-color: #c4b5fd; box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.35); }
.pl-btn { min-height: 58px; border: 0; border-radius: 16px; background: var(--grad, linear-gradient(115deg, #c2410c, #be185d, #6d28d9)); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(190, 24, 93, 0.7); }
.pl-btn:disabled { opacity: 0.6; }
.pl-err { margin: 0; color: #fecaca; font-weight: 700; font-size: 14px; }
.pl-hint { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.pl-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-weight: 800; font-size: 14px; }
.pl-nick { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-qn { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.pl-score { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-variant-numeric: tabular-nums; }
.pl-pulse { width: 64px; height: 64px; border-radius: 50%; background: var(--grad, #7c5cff); animation: pl-pulse 1.6s ease-in-out infinite; margin: 10px 0; }
@keyframes pl-pulse { 0%, 100% { transform: scale(0.85); opacity: 0.7; } 50% { transform: scale(1.05); opacity: 1; } }
.pl-q { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 14px; }
.pl-timer { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pl-timer i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd29d, #ff8fb8); transition: width 0.1s linear; }
.pl-double { justify-self: center; padding: 4px 12px; border-radius: 999px; background: #ffd29d; color: #3b1d00; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pl-qtext { margin: 2px 4px; font-family: var(--font-display); font-size: clamp(18px, 5vw, 24px); line-height: 1.3; text-align: center; }
.pl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: stretch; }
.pl-tiles.n2 { grid-template-columns: 1fr; }
.pl-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 14px 10px; border: 0; border-radius: 18px; background: var(--tile); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.3; text-align: center; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); cursor: pointer; transition: transform 0.12s, opacity 0.2s, box-shadow 0.12s; -webkit-tap-highlight-color: transparent; }
.pl-tile .lq-shape { font-size: 30px; }
.pl-tile:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.pl-tile.picked { outline: 4px solid #fff; outline-offset: -4px; }
.pl-tile.faded { opacity: 0.3; }
.pl-tile:disabled { cursor: default; }
.pl-locked { text-align: center; font-weight: 800; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); }
.pl-result { grid-row: 2; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 30px 20px; text-align: center; }
.pl-result.ok { background: radial-gradient(60% 50% at 50% 40%, rgba(34, 197, 94, 0.45), transparent 70%); }
.pl-result.bad { background: radial-gradient(60% 50% at 50% 40%, rgba(229, 72, 77, 0.45), transparent 70%); }
.pl-big { font-family: var(--font-display); font-size: clamp(36px, 11vw, 56px); font-weight: 800; }
.pl-points { font-size: 28px; font-weight: 800; padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); }
.pl-streak { font-weight: 800; color: #ffd29d; }
.pl-result p { margin: 0; font-size: 16px; }
.pl-rank { font-family: var(--font-display); font-size: clamp(64px, 20vw, 100px); font-weight: 800; line-height: 1; background: linear-gradient(115deg, #ffd29d, #ff8fb8 50%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-top3 { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; max-width: 320px; display: grid; gap: 6px; counter-reset: r; }
.pl-top3 li { counter-increment: r; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-weight: 700; }
.pl-top3 li span::before { content: counter(r) ".  "; color: rgba(255, 255, 255, 0.55); }

/* ---------------- Host stage (venue screen) ---------------- */
.live-stage { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-rows: auto 1fr auto; color: #fff; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 35%, rgba(124, 92, 255, 0.32), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(255, 77, 141, 0.25), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(255, 138, 61, 0.22), transparent 70%), #07070f; }
.ls-top, .ls-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(12px, 2vh, 24px) clamp(16px, 3vw, 40px); }
.ls-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.ls-tool { min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.07); color: #fff; font-weight: 700; font-size: 13px; }
.ls-tool:hover { background: rgba(255, 255, 255, 0.14); }
.ls-count { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-weight: 800; font-size: 14px; }
.ls-main { min-height: 0; display: grid; padding: 0 clamp(16px, 4vw, 60px); }
.ls-join { font-size: clamp(14px, 1.4vw, 20px); color: rgba(255, 255, 255, 0.75); }
.ls-join b { color: #fff; }
.ls-primary { min-height: 56px; padding: 0 30px; border: 0; border-radius: 16px; background: #fff; color: #141526; font-size: clamp(16px, 1.5vw, 20px); font-weight: 800; box-shadow: 0 14px 40px -12px rgba(255, 255, 255, 0.4); }
.ls-primary:disabled { opacity: 0.5; }
.ls-primary:focus-visible, .ls-tool:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; }
/* lobby */
.ls-lobby { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.ls-joinbox { display: grid; justify-items: center; gap: 14px; text-align: center; }
.ls-joinbox .ls-url { font-size: clamp(18px, 2vw, 30px); font-weight: 700; }
.ls-pin { font-family: var(--font-display); font-size: clamp(56px, 9vw, 140px); font-weight: 800; letter-spacing: 0.06em; line-height: 1; background: linear-gradient(115deg, #ffd29d, #ff8fb8 50%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-qr { padding: 12px; border-radius: 18px; background: #fff; }
.ls-qr svg { display: block; width: clamp(150px, 16vw, 240px); height: auto; }
.ls-players { align-self: stretch; display: grid; grid-template-rows: auto 1fr; gap: 12px; min-height: 0; padding: clamp(14px, 2vw, 24px); border-radius: 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.ls-players h3 { margin: 0; font-size: clamp(16px, 1.6vw, 22px); }
.ls-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; overflow-y: auto; }
.ls-chip { padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 800; font-size: clamp(13px, 1.3vw, 18px); animation: ls-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.ls-chip:hover { background: rgba(229, 72, 77, 0.6); text-decoration: line-through; }
@keyframes ls-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
/* question + reveal */
.ls-q { display: grid; grid-template-rows: auto auto 1fr; gap: clamp(12px, 2.4vh, 26px); padding-bottom: 8px; }
.ls-qhead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.ls-qmeta { font-weight: 800; font-size: clamp(14px, 1.4vw, 20px); color: rgba(255, 255, 255, 0.7); }
.ls-qmeta .ls-double { margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #ffd29d; color: #3b1d00; font-size: 0.75em; }
.ls-timer { position: relative; width: clamp(80px, 9vw, 130px); height: clamp(80px, 9vw, 130px); display: grid; place-items: center; }
.ls-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ls-timer b { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 52px); }
.ls-answered { justify-self: end; text-align: right; font-weight: 800; font-size: clamp(14px, 1.4vw, 20px); }
.ls-answered b { display: block; font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 56px); line-height: 1; }
.ls-qtext { margin: 0; text-align: center; font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 56px); line-height: 1.2; letter-spacing: -0.01em; padding: clamp(10px, 2vh, 22px) clamp(14px, 2vw, 30px); border-radius: 24px; background: rgba(255, 255, 255, 0.95); color: #141526; }
.ls-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); align-content: end; }
.ls-tile { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); min-height: clamp(70px, 11vh, 130px); padding: 0 clamp(16px, 2vw, 30px); border-radius: 18px; background: var(--tile); font-size: clamp(18px, 2.2vw, 34px); font-weight: 800; overflow: hidden; transition: opacity 0.3s, transform 0.3s; }
.ls-tile .lq-shape { font-size: 1.3em; }
.ls-tile .ls-n { margin-left: auto; font-family: var(--font-display); font-size: 1.1em; }
.ls-tile .ls-bar { position: absolute; left: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, 0.7); transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.live-stage[data-phase="reveal"] .ls-tile.wrong { opacity: 0.28; }
.live-stage[data-phase="reveal"] .ls-tile.right { transform: scale(1.02); box-shadow: 0 0 0 4px #fff, 0 20px 50px -20px rgba(255, 255, 255, 0.5); }
.ls-tile .ls-check { display: none; margin-left: 8px; }
.live-stage[data-phase="reveal"] .ls-tile.right .ls-check { display: inline; }
/* leaderboard */
.ls-board { display: grid; align-content: center; justify-items: center; gap: clamp(10px, 2vh, 20px); }
.ls-board h2, .ls-final h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 56px); }
.ls-rows { width: min(900px, 100%); display: grid; gap: clamp(8px, 1.2vh, 14px); }
.ls-row { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 16px; padding: clamp(10px, 1.6vh, 18px) clamp(14px, 2vw, 26px); border-radius: 18px; background: rgba(255, 255, 255, 0.1); font-size: clamp(18px, 2vw, 30px); font-weight: 800; animation: ls-row-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.ls-row:first-child { background: linear-gradient(115deg, rgba(255, 138, 61, 0.55), rgba(255, 77, 141, 0.5) 50%, rgba(124, 92, 255, 0.55)); }
.ls-row .ls-rk { font-family: var(--font-display); color: rgba(255, 255, 255, 0.75); }
.ls-row .ls-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-row .ls-gain { font-size: 0.6em; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, 0.3); color: #bbf7d0; }
.ls-row .ls-move { font-size: 0.55em; color: #bbf7d0; margin-left: 8px; }
.ls-row .ls-sc { font-variant-numeric: tabular-nums; font-family: var(--font-display); }
@keyframes ls-row-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* final podium */
.ls-final { display: grid; align-content: center; justify-items: center; gap: clamp(12px, 2vh, 24px); }
.ls-podium { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 1.6vw, 24px); width: min(900px, 100%); }
.ls-step { flex: 1; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ls-step .nm { font-size: clamp(16px, 2vw, 30px); font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-step .sc { font-size: clamp(13px, 1.3vw, 18px); color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.ls-step .blk { width: 100%; border-radius: 18px 18px 0 0; display: grid; place-items: start center; padding-top: 12px; font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 72px); font-weight: 800; background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)); }
.ls-step.p1 .blk { height: clamp(150px, 26vh, 300px); background: linear-gradient(180deg, #ffd29d, rgba(255, 138, 61, 0.35)); color: #3b1d00; }
.ls-step.p2 .blk { height: clamp(110px, 19vh, 220px); }
.ls-step.p3 .blk { height: clamp(80px, 14vh, 160px); }
@keyframes ls-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.ls-rest { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; font-size: clamp(13px, 1.2vw, 17px); color: rgba(255, 255, 255, 0.75); }
.ls-rest span { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 800px) { .ls-lobby { grid-template-columns: 1fr; } .ls-tiles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pl-pulse, .ls-chip, .ls-row, .ls-step { animation: none; }
  .ls-tile, .pl-tile, .ls-tile .ls-bar { transition: none; }
}

/* ---------------- Shared stage effects (hype.js) ---------------- */
.hype-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
body > .hype-canvas { position: fixed; z-index: 900; }
.hype-shake { animation: hype-shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes hype-shake { 10%, 90% { translate: -2px 0; } 20%, 80% { translate: 4px 0; } 30%, 50%, 70% { translate: -8px 2px; } 40%, 60% { translate: 8px -2px; } }
.hype-flash { position: absolute; inset: 0; background: #fff; pointer-events: none; z-index: 70; animation: hype-flash 0.6s ease-out both; }
body > .hype-flash { position: fixed; }
@keyframes hype-flash { from { opacity: 0.75; } to { opacity: 0; } }
.hype-emoji { position: absolute; bottom: 60px; z-index: 65; pointer-events: none; animation: hype-float 3s cubic-bezier(0.22, 0.61, 0.36, 1) both; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35)); }
@keyframes hype-float { 0% { transform: translate(0, 0) scale(0.4); opacity: 0; } 12% { transform: translate(0, -40px) scale(1.15); opacity: 1; } 100% { transform: translate(var(--drift, 0), -70vh) scale(0.9); opacity: 0; } }
.hype-picker { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px 0 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.07); color: #fff; font-weight: 700; font-size: 13px; }
.hype-picker select { border: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.hype-picker option { color: #141526; }
.beat-pulse { animation: beat-pulse 0.35s ease-out; }
@keyframes beat-pulse { from { scale: 1.035; } to { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .hype-shake, .hype-emoji, .beat-pulse, .hype-flash { animation: none; } .hype-emoji { display: none; } }

/* ---------------- Host show-flow (admin-live.js) ---------------- */
.hype-pop { animation: hype-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes hype-pop { 0% { scale: 1; } 35% { scale: 1.08; } 100% { scale: 1.02; } }
.ls-splash { position: absolute; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; background: radial-gradient(60% 60% at 50% 50%, rgba(124, 92, 255, 0.55), rgba(7, 7, 15, 0.92)); }
.ls-splash[hidden] { display: none; }
.ls-splash small { font-size: clamp(18px, 2.4vw, 34px); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.ls-splash b { font-family: var(--font-display, sans-serif); font-size: clamp(56px, 10vw, 160px); line-height: 1; background: linear-gradient(115deg, #ffd29d, #ff8fb8 50%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-splash b.gold { background: linear-gradient(115deg, #fff3c4, #ffd29d 40%, #f59e0b); -webkit-background-clip: text; background-clip: text; }
.ls-splash.show b, .ls-splash.show small { animation: ls-zoom 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.ls-splash.count b { font-size: clamp(120px, 22vw, 320px); }
.ls-splash.big.show { animation: ls-flashbg 1.7s ease both; }
@keyframes ls-zoom { from { opacity: 0; transform: scale(2.2); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ls-flashbg { 0%, 100% { filter: none; } 15% { filter: brightness(1.6) saturate(1.3); } }
.ls-tile.ls-in { animation: ls-tile-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
@keyframes ls-tile-in { from { opacity: 0; transform: translateY(60px) scale(0.8); } to { opacity: 1; transform: none; } }
.ls-qtext.ls-drop { animation: ls-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes ls-drop { from { opacity: 0; transform: translateY(-40px) scale(0.9); } to { opacity: 1; transform: none; } }
.ls-timer.hurry circle#ls-ring { stroke: #ff6b6b; }
.ls-timer.hurry b { color: #ff9b9b; animation: ls-hurry 0.5s ease-in-out infinite alternate; }
@keyframes ls-hurry { to { transform: scale(1.18); } }
.ls-answered.bump b { animation: hype-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ls-callouts { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; align-content: flex-start; gap: 10px; min-height: 0; }
.ls-chip-call { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 800; font-size: clamp(14px, 1.5vw, 22px); animation: ls-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.ls-chip-call:nth-child(2) { animation-delay: 0.25s; } .ls-chip-call:nth-child(3) { animation-delay: 0.5s; }
.ls-chip-call.gold { background: linear-gradient(115deg, #ffd29d, #f59e0b); color: #3b1d00; }
.live-stage[data-phase="reveal"] .ls-tile.wrong { opacity: 0.25; transform: scale(0.94) translateY(8px); filter: grayscale(0.6); }
.live-stage[data-phase="reveal"] .ls-tile.right { animation: ls-glow 1.6s ease-in-out infinite; }
@keyframes ls-glow { 0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 30px 4px rgba(255, 255, 255, 0.35); } 50% { box-shadow: 0 0 0 4px #fff, 0 0 60px 14px rgba(255, 255, 255, 0.55); } }
.ls-chip { background: hsla(var(--hue, 260), 80%, 60%, 0.35); }
.ls-tip { margin: 0; font-size: clamp(12px, 1.1vw, 15px); color: rgba(255, 255, 255, 0.55); }
.ls-row .ls-gain { opacity: 0; }
.ls-row.scored .ls-gain { animation: ls-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }
.ls-streak { margin-left: 10px; font-size: 0.65em; padding: 2px 8px; border-radius: 999px; background: rgba(255, 138, 61, 0.35); }
.ls-step.hidden { visibility: hidden; }
.ls-step:not(.hidden) { animation: ls-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0s; }
.ls-final.crowned .ls-step.p1 .blk { box-shadow: 0 0 80px 20px rgba(255, 210, 157, 0.45); }
.ls-final.crowned .ls-step.p1 .nm { font-size: clamp(22px, 2.8vw, 44px); background: linear-gradient(115deg, #fff3c4, #ffd29d 40%, #ff8fb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-final.crowned .ls-step.p1::before { content: "\1F451"; font-size: clamp(34px, 4vw, 64px); animation: ls-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .ls-splash.show b, .ls-splash.show small, .ls-tile.ls-in, .ls-qtext.ls-drop, .ls-chip-call, .ls-row.scored .ls-gain, .ls-step:not(.hidden) { animation: none; }
  .live-stage[data-phase="reveal"] .ls-tile.right, .ls-timer.hurry b { animation: none; }
}

/* Player extras: reactions, mute, urgent timer */
.pl-react { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.pl-react button { width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); font-size: 24px; line-height: 1; cursor: pointer; transition: transform 0.12s; -webkit-tap-highlight-color: transparent; }
.pl-react button:active { transform: scale(0.85); }
.pl-react button:disabled { opacity: 0.4; }
.pl-mute { border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
.pl-timer.hurry i { background: linear-gradient(90deg, #ff6b6b, #ff9b9b); animation: pl-hurry 0.5s ease-in-out infinite alternate; }
@keyframes pl-hurry { to { opacity: 0.55; } }
.pl-tile { animation: pl-tile-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.pl-tile:nth-child(2) { animation-delay: 60ms; } .pl-tile:nth-child(3) { animation-delay: 120ms; } .pl-tile:nth-child(4) { animation-delay: 180ms; }
@keyframes pl-tile-in { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
.pl-tile.faded { animation: none; }
.pl-result .pl-big { animation: ls-zoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
body.play .hype-emoji { position: fixed; bottom: 90px; }
@media (prefers-reduced-motion: reduce) { .pl-tile, .pl-result .pl-big, .pl-timer.hurry i { animation: none; } }
