/* ================= Whack-A-Mole =================
   The theme's drawn scene sits behind. On top: the lobby (critter cards, who's in, the QR code), the play screen (the
   sign and legend, the field of nine holes, the clock and leaderboard), then the podium. Critters rise out of their
   hole's well (masked to the opening, so they come up from inside it); the mallet, stars and points sit in front. */
.mo { position: relative; flex: 1; margin: -1.5vh -3vw -2.5vh; min-height: 0; display: grid; overflow: hidden; font-family: var(--display); color: #fff; isolation: isolate; }
.mo i, .mo b, .mo em, .mop i, .mop b, .mop em { font-style: normal; }
.mo-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; contain: strict; }
.mo-scene .ce-svg { position: absolute; inset: 0; } .mo-scene svg { width: 100%; height: 100%; display: block; }
.mo-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 2, 12, .3), rgba(4, 2, 12, .55)); }
.mo-scene #arch { display: none; }
.mo[data-theme=snow] .mo-scene::after { background: linear-gradient(180deg, rgba(8, 18, 40, .45), rgba(8, 18, 40, .62)); }
.mo-pondbg .mo-ff circle { animation: mo-firefly 3.2s ease-in-out infinite alternate; } .mo-pondbg .mo-ff circle:nth-child(2n) { animation-delay: -1.4s; } .mo-pondbg .mo-ff circle:nth-child(3n) { animation-delay: -2.3s; }
@keyframes mo-firefly { 0% { opacity: .15; } 100% { opacity: 1; } }
.mo-layer { position: relative; z-index: 2; min-height: 0; min-width: 0; display: grid; padding: 2vh 2.2vw; }

/* ---------- a hole: glow, mound and opening, the critter's well, the front lip, effects ---------- */
.mo-hole { position: relative; aspect-ratio: 1; container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.mo-back, .mo-front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mo-front { z-index: 2; }
.mo-well { position: absolute; left: 15%; right: 15%; top: 0; bottom: 11%; z-index: 1; pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) top / 100% 87.64% no-repeat, radial-gradient(50% 12.36% at 50% 87.64%, #000 97%, transparent 100%);
    mask: linear-gradient(#000 0 0) top / 100% 87.64% no-repeat, radial-gradient(50% 12.36% at 50% 87.64%, #000 97%, transparent 100%); }
.mo-cr { position: absolute; left: 10%; width: 80%; bottom: 0; aspect-ratio: 120 / 130; transform: translateY(100%); }
.mo-cr svg { width: 100%; height: 100%; display: block; overflow: visible; transform-origin: 50% 100%; }
.mo-field .mo-hole.up .mo-cr svg { animation: mo-wiggle 1.1s ease-in-out infinite; }
@keyframes mo-wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scaleY(1.03); } }
.mo-hole.hit .mo-cr svg, .mo-field .mo-hole.hit .mo-cr svg { animation: mo-squash .26s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes mo-squash { 0% { transform: none; } 45% { transform: scale(1.3, .5); } 100% { transform: scale(1.18, .62); } }
/* a glow under the opening says "bonus" (gold) or "leave it" (red) */
.mo-glow { position: absolute; left: -4%; right: -4%; top: 22%; bottom: 0; opacity: 0; transition: opacity .15s; pointer-events: none; mix-blend-mode: screen; }
.mo-hole[data-kind=ghost] .mo-glow, .mo-loop.k-ghost .mo-glow { opacity: 1; background: radial-gradient(ellipse 50% 46% at 50% 74%, rgba(255, 216, 74, .95), rgba(255, 160, 30, .45) 45%, transparent 75%); }
.mo-hole[data-kind=demon] .mo-glow, .mo-loop.k-demon .mo-glow { opacity: 1; background: radial-gradient(ellipse 50% 46% at 50% 74%, rgba(255, 50, 70, .95), rgba(210, 10, 40, .45) 45%, transparent 75%); }
.mo-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mo-pts { position: absolute; left: 50%; top: 14%; z-index: 2; font-family: var(--display); font-weight: 900; font-size: 4vh; font-size: 21cqw; line-height: 1; white-space: nowrap; color: #7dff9b;
    -webkit-text-stroke: .045em #06200f; paint-order: stroke fill; text-shadow: 0 .1em 0 #06200f, 0 0 .4em rgba(0, 0, 0, .7); animation: mo-pts .95s ease-out both; }
.mo-pts.gold { color: #ffd84a; -webkit-text-stroke-color: #4a2600; text-shadow: 0 .1em 0 #4a2600, 0 0 .5em rgba(255, 200, 40, .7); }
.mo-pts.bad { color: #ff5d6c; -webkit-text-stroke-color: #3a000c; text-shadow: 0 .1em 0 #3a000c, 0 0 .4em rgba(0, 0, 0, .7); }
.mo-pts.miss { top: 40%; font-size: 3vh; font-size: 16cqw; color: #e7e2f2; -webkit-text-stroke-color: #000; text-shadow: 0 .1em 0 #000; animation-duration: .7s; }
@keyframes mo-pts { 0% { transform: translate(-50%, 30%) scale(.5); opacity: 0; } 18% { transform: translate(-50%, 0) scale(1.15); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1); opacity: 0; } }
.mo-mallet { position: absolute; right: -8%; top: 4%; width: 52%; aspect-ratio: 1; transform-origin: 54% 96%; animation: mo-swing .55s cubic-bezier(.3, 0, .3, 1) both; filter: drop-shadow(0 .5vh .6vh rgba(0, 0, 0, .5)); }
.mo-mallet svg { width: 100%; height: 100%; display: block; }
@keyframes mo-swing { 0% { transform: rotate(35deg); opacity: 0; } 12% { opacity: 1; } 40% { transform: rotate(-60deg); } 55% { transform: rotate(-50deg); } 80% { opacity: 1; } 100% { transform: rotate(-54deg); opacity: 0; } }
.mo-stars { position: absolute; left: 50%; top: 32%; width: 0; height: 0; }
.mo-stars b { position: absolute; width: 11cqw; height: 11cqw; margin: -5.5cqw; background: #ffd84a; clip-path: polygon(50% 0, 62% 38%, 100% 38%, 69% 60%, 80% 100%, 50% 75%, 20% 100%, 31% 60%, 0 38%, 38% 38%); animation: mo-star .6s ease-out .12s both; }
.mo-stars b:nth-child(1) { --dx: -38cqw; --dy: -22cqw; } .mo-stars b:nth-child(2) { --dx: 34cqw; --dy: -30cqw; background: #fff; } .mo-stars b:nth-child(3) { --dx: -30cqw; --dy: 14cqw; } .mo-stars b:nth-child(4) { --dx: 38cqw; --dy: 10cqw; } .mo-stars b:nth-child(5) { --dx: 2cqw; --dy: -40cqw; background: #ff9a3a; }
@keyframes mo-star { 0% { transform: scale(.3); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(160deg); opacity: 0; } }
.mo-hole.miss .mo-back { animation: mo-nudge .3s ease-in-out; }
@keyframes mo-nudge { 25% { transform: translateX(-4%); } 75% { transform: translateX(4%); } }

/* ---------- the field: a framed patch of ground the holes sit in, one look per theme ---------- */
.mo-field { position: relative; display: grid; border-radius: 3vh; padding: 2.4vh; isolation: isolate;
    box-shadow: inset 0 0 0 .45vh rgba(232, 194, 74, .45), inset 0 0 6vh rgba(0, 0, 0, .55), 0 0 0 1vh #3b2650, 0 0 0 1.35vh #120a1c, 0 2.4vh 5vh rgba(0, 0, 0, .65); }
.mo-field[data-theme=snow] { box-shadow: inset 0 0 0 .45vh rgba(255, 255, 255, .8), inset 0 0 5vh rgba(60, 100, 150, .35), 0 0 0 1vh #3d6ea6, 0 0 0 1.35vh #142a44, 0 2.4vh 5vh rgba(0, 0, 0, .55); }
.mo-field[data-theme=garden] { box-shadow: inset 0 0 0 .45vh rgba(232, 194, 74, .45), inset 0 0 5vh rgba(0, 0, 0, .35), 0 0 0 1vh #6b3f1d, 0 0 0 1.35vh #2a1608, 0 2.4vh 5vh rgba(0, 0, 0, .6); }
.mo-field[data-theme=pond] { box-shadow: inset 0 0 0 .45vh rgba(190, 240, 255, .5), inset 0 0 6vh rgba(0, 20, 40, .5), 0 0 0 1vh #2f6b34, 0 0 0 1.35vh #0f2a12, 0 2.4vh 5vh rgba(0, 0, 0, .6); }
/* the ground, shared by the field and the lobby's critter cards */
.mo-field, .mo-card .mo-loop { background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .05) 0 .5vh, transparent .6vh) 0 0 / 7vh 7vh, radial-gradient(ellipse at 50% 0%, #34452a, #1c2816 60%, #111a0d); }
.mo-field[data-theme=snow], .mo[data-theme=snow] .mo-card .mo-loop { background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .9) 0 .4vh, transparent .5vh) 0 0 / 8vh 8vh, radial-gradient(ellipse at 50% 0%, #e6f0fa, #bcd3ec 55%, #8fb0d6); }
.mo-field[data-theme=garden], .mo[data-theme=garden] .mo-card .mo-loop { background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(0, 30, 0, .35)), repeating-linear-gradient(90deg, #4f9b3c 0 7vh, #468f35 7vh 14vh); }
.mo-field[data-theme=pond], .mo[data-theme=pond] .mo-card .mo-loop { background: radial-gradient(ellipse at 30% 30%, rgba(160, 225, 255, .18) 0 8%, transparent 9% 14%, rgba(160, 225, 255, .12) 15% 16%, transparent 17%), radial-gradient(ellipse at 50% 20%, #2e8fc7, #17608f 60%, #0d3f63); }
.mo-grid { display: grid; grid-template-columns: repeat(3, var(--H, 22vh)); gap: .4vh 1.6vh; }
.mo-over { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; pointer-events: none; }
.mo-over b { font-family: var(--display); font-weight: 900; line-height: 1; white-space: nowrap; color: #fff; text-shadow: 0 .08em 0 #2a0c00, 0 0 .3em rgba(255, 140, 26, .8), 0 0 1em rgba(0, 0, 0, .7); -webkit-text-stroke: .02em #2a0c00; }
.mo-over .mo-cd { font-size: calc(var(--H, 22vh) * 1.1); animation: mo-cd .95s cubic-bezier(.2, 1.6, .4, 1) both; }
.mo-over .mo-go { font-size: calc(var(--H, 22vh) * .6); color: #ffd84a; animation: mo-cd .9s cubic-bezier(.2, 1.6, .4, 1) both; }
.mo-over .mo-tu { font-size: calc(var(--H, 22vh) * .46); padding: .15em .5em; border-radius: .3em; color: #fff; background: linear-gradient(180deg, #e0263c, #8a0a1a); box-shadow: 0 0 0 .08em #fff, 0 .2em .6em rgba(0, 0, 0, .6); text-shadow: 0 .06em 0 #4a0010; -webkit-text-stroke: 0; animation: mo-stamp .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.mo-over .mo-cb { font-size: calc(var(--H, 22vh) * .4); color: #ff9a3a; animation: mo-cd .9s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes mo-cd { 0% { transform: scale(2.4); opacity: 0; } 30% { transform: scale(.92); opacity: 1; } 45% { transform: scale(1.04); } 80% { opacity: 1; } 100% { transform: scale(1); opacity: .9; } }
@keyframes mo-stamp { 0% { transform: scale(2.6) rotate(-14deg); opacity: 0; } 100% { transform: scale(1) rotate(-6deg); opacity: 1; } }
.mo-field.shake { animation: mo-shake .4s ease-in-out; }
@keyframes mo-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px) rotate(-1deg); } 40% { transform: translateX(8px) rotate(1deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }

/* ---------- the sign ---------- */
.mo-sign { display: flex; align-items: center; justify-content: center; gap: 1.4vh; min-width: 0; max-width: 100%; }
.mo-signmallet { flex: none; width: 10vh; height: 10vh; transform-origin: 54% 96%; animation: mo-signswing 1.8s ease-in-out infinite; }
.mo-signmallet svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 .6vh .6vh rgba(0, 0, 0, .5)); }
@keyframes mo-signswing { 0%, 100% { transform: rotate(18deg); } 45% { transform: rotate(-30deg); } 52% { transform: rotate(-24deg); } }
.mo-title { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 900; font-size: 8.4vh; line-height: 1.12; padding: 0 .06em .14em; }
.mo-title b { font: inherit; background: linear-gradient(180deg, #fff8d2, #ffc23a 55%, #e0701a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .07em 0 #4a1d00); }
.mo-sign.mo-sm { justify-content: flex-start; } .mo-sign.mo-sm .mo-signmallet { width: 7vh; height: 7vh; } .mo-sign.mo-sm .mo-title { font-size: 5.4vh; }

/* ---------- lobby ---------- */
.mo-lobby { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.6vw; align-items: center; min-height: 0; }
.mo-lobby .wt-qr { z-index: 50; }
.mo-lmain { display: grid; justify-items: center; align-content: center; gap: 2.4vh; min-width: 0; }
.mo-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 23vh)); justify-content: center; gap: 2vh; width: 100%; }
.mo-card { position: relative; display: grid; justify-items: center; gap: .4vh; padding: 1.2vh 1.2vh 1.6vh; border-radius: 2.4vh; min-width: 0; background: linear-gradient(180deg, rgba(26, 16, 46, .92), rgba(10, 6, 24, .94)); box-shadow: inset 0 0 0 .25vh rgba(255, 255, 255, .1), 0 1.2vh 3vh rgba(0, 0, 0, .5); }
.mo-card .mo-loop { width: 100%; padding: 1vh 7% 0; border-radius: 1.8vh; box-shadow: inset 0 0 0 .2vh rgba(255, 255, 255, .12), inset 0 -2vh 3vh rgba(0, 0, 0, .3); }
.mo-cname { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; font-weight: 900; font-size: 3.2vh; line-height: 1.15; }
.mo-cpts { font-weight: 900; font-size: 3.6vh; line-height: 1; color: #7dff9b; text-shadow: 0 .3vh 0 rgba(0, 0, 0, .5); }
.k-ghost .mo-cpts { color: #ffd84a; } .k-demon .mo-cpts { color: #ff5d6c; }
.mo-ctag { position: absolute; z-index: 4; top: -1.4vh; right: -1.2vh; padding: .6vh 1.3vh; border-radius: 99px; font-family: var(--body); font-weight: 900; font-size: 1.9vh; white-space: nowrap; color: #2a1800; background: linear-gradient(180deg, #fff3b0, #ffc23a); box-shadow: 0 .6vh 1.4vh rgba(0, 0, 0, .5); transform: rotate(6deg); }
.mo-ctag.bad { color: #fff; background: linear-gradient(180deg, #ff5d6c, #b0101f); }
.mo-tip { padding: .8vh 2vh; border-radius: 99px; font-family: var(--body); font-weight: 800; font-size: 2.3vh; color: #f2ecff; background: rgba(10, 6, 24, .78); box-shadow: inset 0 0 0 .2vh rgba(255, 255, 255, .12); }
.mo-roster { display: grid; justify-items: center; gap: 1.4vh; max-width: 100%; }
.mo-count { display: flex; align-items: baseline; gap: 1.2vh; padding: .6vh 2.6vh; border-radius: 99px; background: rgba(10, 6, 24, .8); }
.mo-count b { font-weight: 900; font-size: 6vh; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; } .mo-count span { font-weight: 900; font-size: 3.4vh; }
.mo-count.soon span { font-size: 3.6vh; color: #e8e0ff; }
.mo-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 1vh; max-width: 100%; }
.mo-names span { max-width: 100%; padding: .7vh 1.7vh; border-radius: 99px; font-family: var(--body); font-weight: 800; font-size: 2.4vh; overflow-wrap: anywhere; background: rgba(46, 158, 107, .85); box-shadow: inset 0 0 0 .2vh rgba(255, 255, 255, .2); }
.mo-names span.new { animation: mo-namein .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.mo-names span.more { background: rgba(10, 6, 24, .85); color: #e8e0ff; }
@keyframes mo-namein { 0% { transform: scale(.3); opacity: 0; } 100% { transform: none; opacity: 1; } }
.mo-prize { padding: .9vh 2.6vh; border-radius: 99px; font-family: var(--body); font-weight: 900; font-size: 2.7vh; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 0 3vh rgba(232, 194, 74, .35); }
/* the critter loop (lobby cards, phone preshow): up, bonked, down; the bad one just glares */
.mo-loop .mo-hole { width: 100%; }
.mo-loop .mo-cr { animation: mo-loopcr 3.6s calc(var(--i, 0) * .9s) infinite both; }
.mo-loop .mo-cr svg { animation: mo-loopsq 3.6s calc(var(--i, 0) * .9s) infinite both; }
.mo-loop .mo-mallet { animation: mo-loopsw 3.6s calc(var(--i, 0) * .9s) infinite both; }
.mo-loop .mo-pts { animation: mo-looppt 3.6s calc(var(--i, 0) * .9s) infinite both; }
.mo-loop .mo-stars { display: none; }
.mo-loop.k-demon .mo-cr { animation-name: mo-loopcr2; } .mo-loop.k-demon .mo-cr svg { animation: mo-glare .5s ease-in-out infinite alternate; }
@keyframes mo-loopcr { 0% { transform: translateY(100%); } 5% { transform: translateY(-7%); } 9%, 84% { transform: translateY(0); } 92%, 100% { transform: translateY(100%); } }
@keyframes mo-loopcr2 { 0% { transform: translateY(100%); } 5% { transform: translateY(-7%); } 9%, 84% { transform: translateY(0); } 92%, 100% { transform: translateY(100%); } }
@keyframes mo-loopsq { 0%, 39% { transform: none; } 43% { transform: scale(1.3, .5); } 52% { transform: scale(1.18, .62); } 62% { transform: scale(.95, 1.06); } 68%, 100% { transform: none; } }
@keyframes mo-loopsw { 0%, 28% { transform: rotate(35deg); opacity: 0; } 33% { transform: rotate(35deg); opacity: 1; } 41% { transform: rotate(-60deg); } 47% { transform: rotate(-50deg); opacity: 1; } 55%, 100% { transform: rotate(-54deg); opacity: 0; } }
@keyframes mo-looppt { 0%, 40% { transform: translate(-50%, 30%) scale(.5); opacity: 0; } 45% { transform: translate(-50%, 0) scale(1.15); opacity: 1; } 60% { opacity: 1; } 68%, 100% { transform: translate(-50%, -60%); opacity: 0; } }
@keyframes mo-glare { 0% { transform: rotate(-4deg); } 100% { transform: rotate(4deg) scale(1.04); } }

/* ---------- playing: the sign and legend, the field, the clock and the leaderboard ---------- */
.mo-play { --H: min(25vh, calc((91.6vw - 80vh) / 3)); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2vw; align-items: stretch; min-height: 0; }
.mo-play .mo-field { align-self: center; }
.mo-left, .mo-right { min-width: 0; min-height: 0; display: grid; align-content: start; gap: 2vh; }
.mo-left { grid-template-rows: auto auto minmax(0, 1fr); }
.mo-right { grid-template-rows: auto minmax(0, 1fr); justify-items: stretch; }
.mo-status { justify-self: start; max-width: 100%; padding: 1vh 2vh; border-radius: 99px; font-family: var(--body); font-weight: 900; font-size: 2.6vh; line-height: 1.2; background: rgba(10, 6, 24, .86); box-shadow: inset 0 0 0 .25vh rgba(67, 201, 138, .6); }
.mo-play.final .mo-status { color: #fff; background: linear-gradient(180deg, #e0263c, #8a0a1a); box-shadow: 0 0 3vh rgba(255, 40, 60, .6); animation: mo-throb .5s ease-in-out infinite alternate; }
.mo-legend { align-self: end; display: grid; gap: 1vh; padding: 1.6vh; border-radius: 2.4vh; background: rgba(10, 6, 24, .84); box-shadow: inset 0 0 0 .25vh rgba(255, 255, 255, .08), 0 1.4vh 3vh rgba(0, 0, 0, .45); }
.mo-leg { display: grid; grid-template-columns: 7vh minmax(0, 1fr) auto; align-items: center; gap: 1.4vh; padding: .4vh .8vh; border-radius: 1.4vh; }
.mo-leg i { width: 7vh; height: 7.6vh; } .mo-leg i svg { width: 100%; height: 100%; display: block; }
.mo-leg b { min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 900; font-size: 3vh; }
.mo-leg em { font-weight: 900; font-size: 3.2vh; color: #7dff9b; font-variant-numeric: tabular-nums; }
.mo-leg.k-ghost { background: rgba(255, 216, 74, .12); } .mo-leg.k-ghost em { color: #ffd84a; }
.mo-leg.k-demon { background: rgba(255, 40, 60, .14); } .mo-leg.k-demon em { color: #ff5d6c; }
.mo-clock { position: relative; justify-self: center; width: 17vh; height: 17vh; display: grid; place-items: center; align-content: center; border-radius: 50%; background: radial-gradient(circle, rgba(26, 16, 46, .96), rgba(10, 6, 24, .96)); box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, .55); }
.mo-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.mo-clock .trk { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 7; }
.mo-clock .arc { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100 100; transition: stroke .3s; }
.mo-clock b { position: relative; font-weight: 900; font-size: 7vh; line-height: 1; font-variant-numeric: tabular-nums; }
.mo-clock small { position: relative; font-family: var(--body); font-weight: 800; font-size: 1.7vh; color: var(--gold); }
.mo-play.final .mo-clock .arc { stroke: #ff4d5d; } .mo-play.final .mo-clock b { color: #ff8a95; } .mo-play.final .mo-clock { animation: mo-throb .5s ease-in-out infinite alternate; }
@keyframes mo-throb { 0% { transform: scale(1); } 100% { transform: scale(1.06); } }
.mo-play.final .mo-field { box-shadow: inset 0 0 0 .45vh rgba(255, 90, 90, .7), inset 0 0 6vh rgba(0, 0, 0, .5), 0 0 0 1vh #8a1020, 0 0 0 1.35vh #2a0408, 0 0 6vh rgba(255, 40, 60, .55); }
.mo-lb { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); align-self: start; padding: 1.6vh 1.4vh; border-radius: 2.4vh; background: rgba(10, 6, 24, .86); box-shadow: inset 0 0 0 .25vh rgba(232, 194, 74, .4), 0 1.4vh 3vh rgba(0, 0, 0, .5); }
.mo-lb h4 { margin: 0 0 1.2vh; text-align: center; font-weight: 900; font-size: 3.2vh; line-height: 1.1; color: var(--gold); }
.mo-lb ol { position: relative; margin: 0; padding: 0; list-style: none; height: calc(var(--n, 1) * 6.6vh - .6vh); }
.mo-lb ol.empty::before { content: "No Whacks Yet"; display: block; padding: 1.4vh 0; text-align: center; font-family: var(--body); font-weight: 800; font-size: 2.4vh; color: #c9c0e0; }
.mo-lb li { position: absolute; left: 0; right: 0; top: 0; height: 6vh; display: grid; grid-template-columns: 4.2vh minmax(0, 1fr) auto; align-items: center; gap: 1.1vh; padding: 0 1.3vh 0 .9vh; border-radius: 1.3vh; background: rgba(255, 255, 255, .07);
    transform: translateY(calc(var(--r, 0) * 6.6vh)); transition: transform .55s cubic-bezier(.3, 1.3, .5, 1), background .3s; }
.mo-lb li.new { animation: mo-rowin .5s ease-out both; }
@keyframes mo-rowin { from { opacity: 0; } }
.mo-lb .rk { width: 4.2vh; height: 4.2vh; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 2.3vh; color: #fff; background: #3a3150; }
.mo-lb .r1 { background: rgba(232, 194, 74, .2); } .mo-lb .r1 .rk { color: #2a1800; background: linear-gradient(180deg, #ffe58a, #c8941a); }
.mo-lb .r2 .rk { color: #1a1a22; background: linear-gradient(180deg, #f4f6f8, #9aa2ae); } .mo-lb .r3 .rk { color: #2a1200; background: linear-gradient(180deg, #f0b27a, #a5612a); }
.mo-lb .nm { min-width: 0; max-height: 2.24em; overflow: hidden; font-weight: 800; font-size: 2.6vh; line-height: 1.12; }
.mo-lb .sc { font-weight: 900; font-size: 3vh; color: var(--gold); font-variant-numeric: tabular-nums; }
.mo-lb li.hot .sc::before { content: "🔥 "; font-size: .85em; }
.mo-lb .dl { position: absolute; right: .8vh; top: -1.2vh; padding: .2vh .9vh; border-radius: 99px; font-weight: 900; font-size: 1.9vh; color: #0a3a1a; background: #7dff9b; animation: mo-dl 1.2s ease-out both; pointer-events: none; }
.mo-lb .dl.bad { color: #fff; background: #e0263c; }
@keyframes mo-dl { 0% { transform: translateY(1vh) scale(.6); opacity: 0; } 15% { transform: none; opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(-2vh); opacity: 0; } }
/* names of whoever hit a critter float up from its hole */
.mo-who { position: absolute; left: 50%; bottom: calc(76% + var(--k, 0) * 2.9vh); z-index: 5; padding: .35vh 1vh; border-radius: 99px; font-family: var(--body); font-weight: 900; font-size: 2vh; white-space: nowrap; color: #140a00; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 .4vh 1vh rgba(0, 0, 0, .5); animation: mo-who 1.5s ease-out both; }
.mo-who.bad { color: #fff; background: linear-gradient(180deg, #ff6b81, #c1121f); }
@keyframes mo-who { 0% { transform: translate(-50%, 1.6vh) scale(.6); opacity: 0; } 14% { transform: translate(-50%, 0) scale(1.05); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -2.4vh); opacity: 0; } }

/* ---------- results: the champion, the podium, the runners-up ---------- */
.mo-results { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.2vh; justify-items: center; min-height: 0; min-width: 0; }
.mo-rhead { display: flex; align-items: center; justify-content: center; gap: 2vh; max-width: 100%; min-width: 0; animation: mo-headin .7s cubic-bezier(.2, 1.5, .4, 1) both; }
.mo-cup { flex: none; font-size: 8vh; line-height: 1; filter: drop-shadow(0 0 2vh rgba(255, 216, 74, .7)); }
.mo-champ { min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 900; font-size: 8vh; line-height: 1.15; padding-bottom: .1em; background: linear-gradient(180deg, #fff8d2, #ffc23a 55%, #e0701a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .07em 0 #4a1d00); }
@keyframes mo-headin { from { transform: scale(.4); opacity: 0; } }
.mo-rmain { display: grid; grid-template-columns: auto; justify-content: center; align-items: end; gap: 4vw; min-height: 0; width: 100%; }
.has-rest .mo-rmain { grid-template-columns: auto minmax(0, 46vh); }
.mo-podium { display: flex; align-items: flex-end; justify-content: center; gap: 2vh; min-height: 0; padding: 4vh 3vh 0; border-radius: 4vh 4vh 0 0; background: radial-gradient(ellipse 54% 100% at 50% 100%, rgba(10, 6, 24, .9), rgba(10, 6, 24, .7) 60%, transparent 100%); }
.mo-step { width: 29vh; display: grid; justify-items: center; align-content: end; gap: .6vh; min-width: 0; animation: mo-rise .8s cubic-bezier(.2, 1.3, .4, 1) calc(.3s + var(--d, 0) * .45s) both; }
@keyframes mo-rise { from { transform: translateY(12vh); opacity: 0; } }
.mo-av { position: relative; width: 11vh; height: 11vh; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 6vh; background: radial-gradient(circle at 35% 30%, #8a5cc8, #34165e); box-shadow: 0 0 0 .5vh rgba(255, 255, 255, .25), 0 1vh 2vh rgba(0, 0, 0, .5); }
.mo-av i { position: absolute; right: -1.6vh; bottom: -1vh; font-size: 5vh; line-height: 1; }
.p1 .mo-av { width: 14vh; height: 14vh; font-size: 8vh; background: radial-gradient(circle at 35% 30%, #ffb347, #b4500e); box-shadow: 0 0 0 .6vh var(--gold), 0 0 5vh rgba(255, 216, 74, .6); }
.p1 .mo-av::before { content: "👑"; position: absolute; top: -6vh; font-size: 6vh; animation: mo-crown 2s ease-in-out infinite; }
@keyframes mo-crown { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-.6vh); } }
.mo-pname, .mo-step em, .mo-step small { text-shadow: 0 .3vh .8vh rgba(0, 0, 0, .75); }
.mo-pname { display: block; width: 100%; max-height: 2.24em; overflow: hidden; text-align: center; font-weight: 900; font-size: 3.6vh; line-height: 1.12; text-wrap: balance; }
.p1 .mo-pname { font-size: 4.4vh; color: var(--gold); }
.mo-step em { font-weight: 900; font-size: 4.6vh; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; } .p1 em { font-size: 5.6vh; }
.mo-step small { font-family: var(--body); font-weight: 800; font-size: 2vh; color: #e2daf5; text-align: center; }
.mo-block { width: 100%; height: 12vh; display: grid; place-items: start center; padding-top: 1vh; border-radius: 1.6vh 1.6vh 0 0; background: linear-gradient(180deg, #e4e8ee, #8b93a1); box-shadow: inset 0 .4vh 0 rgba(255, 255, 255, .6); }
.p1 .mo-block { height: 19vh; background: linear-gradient(180deg, #ffe58a, #a8741a); } .p3 .mo-block { height: 8vh; background: linear-gradient(180deg, #e8a36a, #8a4f24); }
.mo-block span { font-weight: 900; font-size: 6vh; line-height: 1; color: rgba(0, 0, 0, .35); }
.mo-none { align-self: center; padding: 2vh 4vh; border-radius: 2vh; font-weight: 900; font-size: 4vh; background: rgba(10, 6, 24, .85); }
.mo-rest { align-self: center; display: grid; gap: .9vh; padding: 1.8vh; border-radius: 2.4vh; min-width: 0; background: rgba(10, 6, 24, .86); box-shadow: inset 0 0 0 .25vh rgba(232, 194, 74, .35), 0 1.4vh 3vh rgba(0, 0, 0, .5); animation: mo-rise .8s ease-out 1.6s both; }
.mo-rest h4 { margin: 0 0 .4vh; text-align: center; font-weight: 900; font-size: 3vh; color: var(--gold); }
.mo-rest div { display: grid; grid-template-columns: 4vh minmax(0, 1fr) auto; align-items: center; gap: 1.2vh; padding: .8vh 1.3vh; border-radius: 1.3vh; background: rgba(255, 255, 255, .07); }
.mo-rest i { width: 4vh; height: 4vh; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 2.2vh; background: #3a3150; }
.mo-rest span { min-width: 0; max-height: 2.24em; overflow: hidden; font-weight: 800; font-size: 2.6vh; line-height: 1.12; }
.mo-rest em { font-weight: 900; font-size: 2.8vh; color: var(--gold); font-variant-numeric: tabular-nums; }
.mo-rfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4vh 2vh; animation: mo-rise .8s ease-out 1.9s both; }
.mo-win { padding: 1vh 2.8vh; border-radius: 99px; font-family: var(--body); font-weight: 900; font-size: 2.8vh; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 0 3vh rgba(232, 194, 74, .45); }
.mo-stat { padding: 1vh 2.4vh; border-radius: 99px; font-family: var(--body); font-weight: 800; font-size: 2.4vh; background: rgba(10, 6, 24, .8); }
@media (prefers-reduced-motion: reduce) { .mo *, .mop * { animation: none !important; transition: none !important; } .mo-loop .mo-cr { transform: none; } .mo-loop .mo-mallet, .mo-loop .mo-pts { display: none; } }

/* ================= phone ================= */
.mop { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.mop > * { min-width: 0; }
.mop-head { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 1.35rem; line-height: 1.1; }
.mop-head .ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a3a8a, #22123e); box-shadow: inset 0 0 0 2px rgba(232, 194, 74, .55); }
.mop-head .ic svg { width: 32px; height: 32px; transform: rotate(-20deg); }
.mop-head small { display: block; margin-top: 2px; font-family: var(--body); font-weight: 800; font-size: .85rem; color: var(--muted, #a7a2b0); }
.mop-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mop-legend .lg { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 10px 8px 8px; border-radius: 14px; background: var(--panel, #1c1c21); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mop-legend .lg i svg { width: 50px; height: 54px; display: block; }
.mop-legend b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.05rem; line-height: 1.15; overflow-wrap: anywhere; }
.mop-legend em { font-weight: 900; font-size: .95rem; color: #7dff9b; }
.mop-legend s { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 99px; text-decoration: none; vertical-align: 1px; font-weight: 900; font-size: .7rem; color: #2a1800; background: #ffc23a; } .mop-legend .k-demon s { color: #fff; background: #d7263d; }
.mop-legend .k-ghost { box-shadow: inset 0 0 0 2px rgba(255, 216, 74, .55); } .mop-legend .k-ghost em { color: #ffd84a; }
.mop-legend .k-demon { box-shadow: inset 0 0 0 2px rgba(255, 70, 90, .6); } .mop-legend .k-demon em { color: #ff6b7a; }
.mop-join { padding: 16px; font-size: 1.25rem; font-weight: 900; }
.mop-note { margin: 0; text-align: center; font-weight: 800; color: var(--gold); }
.mop-in { display: grid; justify-items: center; gap: 4px; padding: 16px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, rgba(46, 158, 107, .3), rgba(46, 158, 107, .08)); box-shadow: inset 0 0 0 2px rgba(67, 201, 138, .65); }
.mop-in b { font-family: var(--display); font-weight: 900; font-size: 1.8rem; line-height: 1.1; }
.mop-in span { font-weight: 800; color: #d9f5e6; }
.mop-card { display: grid; justify-items: center; gap: 4px; padding: 18px; border-radius: 16px; text-align: center; background: var(--panel, #1c1c21); }
.mop-big { font-family: var(--display); font-weight: 900; font-size: 1.6rem; overflow-wrap: anywhere; }
.mop-card span { font-weight: 800; color: var(--gold); }
.pp-mole { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 100%, #2a3a20, transparent 70%); }
.pp-mole .mo-loop { width: 120px; }
/* playing */
.mop-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.mop-hud b { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mop-hud small { display: block; margin-top: 2px; font-weight: 800; font-size: .75rem; color: var(--muted, #a7a2b0); }
.mop-sc b { color: var(--gold); }
.mop-time { text-align: right; }
.mop-combo { min-width: 78px; padding: 6px 10px; border-radius: 14px; text-align: center; background: var(--panel, #1c1c21); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mop-combo b { font-size: 1.5rem; }
.mop-combo.hot { background: linear-gradient(180deg, #ff9a3a, #c2410c); box-shadow: 0 0 18px rgba(255, 120, 30, .55); } .mop-combo.hot small { color: #ffe7cf; }
.mop-combo.hot b::before { content: "🔥"; font-size: .8em; margin-right: 2px; }
.mop-combo.pop { animation: mop-pop .3s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes mop-pop { 0% { transform: scale(1.25); } 100% { transform: none; } }
.mop-bar { height: 8px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.mop-bar i { display: block; height: 100%; transform-origin: left center; border-radius: 99px; background: linear-gradient(90deg, #43c98a, #e8c24a); }
.mop.final .mop-bar i { background: #ff4d5d; } .mop.final .mop-time b { color: #ff7480; animation: mo-throb .5s ease-in-out infinite alternate; }
.mop .mo-field { padding: 10px 8px 6px; border-radius: 18px; }
.mop .mo-field { box-shadow: inset 0 0 0 3px rgba(232, 194, 74, .45), inset 0 0 30px rgba(0, 0, 0, .5), 0 0 0 5px #3b2650, 0 0 0 7px #120a1c; }
.mop .mo-field[data-theme=snow] { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .8), inset 0 0 26px rgba(60, 100, 150, .35), 0 0 0 5px #3d6ea6, 0 0 0 7px #142a44; }
.mop .mo-field[data-theme=garden] { box-shadow: inset 0 0 0 3px rgba(232, 194, 74, .45), inset 0 0 26px rgba(0, 0, 0, .35), 0 0 0 5px #6b3f1d, 0 0 0 7px #2a1608; }
.mop .mo-field[data-theme=pond] { box-shadow: inset 0 0 0 3px rgba(190, 240, 255, .5), inset 0 0 30px rgba(0, 20, 40, .5), 0 0 0 5px #2f6b34, 0 0 0 7px #0f2a12; }
.mop.final .mo-field { box-shadow: inset 0 0 0 3px rgba(255, 90, 90, .7), inset 0 0 30px rgba(0, 0, 0, .5), 0 0 0 5px #8a1020, 0 0 0 7px #2a0408, 0 0 24px rgba(255, 40, 60, .5); }
.mop .mo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; }
.mop .mo-hole { cursor: pointer; touch-action: manipulation; }
.mop .mo-over b.mo-cd { font-size: 150px; } .mop .mo-over b.mo-go { font-size: 74px; } .mop .mo-over b.mo-tu { font-size: 48px; } .mop .mo-over b.mo-cb { font-size: 46px; }
.mop-foot { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; color: var(--muted, #a7a2b0); }
.mop-foot span:first-child { color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.mop-foot span:last-child { color: var(--gold); text-align: right; }
.mop-live { display: grid; gap: 5px; } .mop-live:empty { display: none; }
.mop-live div { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--panel, #1c1c21); font-weight: 800; }
.mop-live div.me { box-shadow: inset 0 0 0 2px var(--ecto-hi, #43c98a); background: rgba(67, 201, 138, .14); }
.mop-live i { font-weight: 900; color: var(--gold); text-align: center; } .mop-live span { min-width: 0; overflow-wrap: break-word; line-height: 1.2; } .mop-live em { font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
/* results */
.mop-res { display: grid; justify-items: center; gap: 8px; padding: 18px 14px; border-radius: 18px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(232, 194, 74, .28), transparent 65%), linear-gradient(180deg, #1c1030, #0c0716); box-shadow: inset 0 0 0 2px rgba(232, 194, 74, .55); }
.mop-res.won { background: radial-gradient(ellipse at 50% 0%, rgba(255, 216, 74, .55), transparent 70%), linear-gradient(180deg, #3a2410, #120a04); box-shadow: inset 0 0 0 3px var(--gold), 0 0 30px rgba(255, 216, 74, .35); }
.mop-rtop { font-family: var(--display); font-weight: 900; font-size: 1.1rem; color: #e2daf5; }
.mop-place { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--gold); text-shadow: 0 4px 0 rgba(0, 0, 0, .5); animation: mop-pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.mop-of { margin-top: -4px; font-weight: 800; color: #e2daf5; }
.mop-chips { padding: 6px 16px; border-radius: 99px; font-weight: 900; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); }
.mop-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 4px; }
.mop-stats div { padding: 8px 2px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.mop-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1.1; }
.mop-stats small { display: block; font-weight: 800; font-size: .7rem; color: var(--muted, #a7a2b0); }
.mop-top { display: grid; gap: 6px; padding: 12px; border-radius: 16px; background: var(--panel, #1c1c21); }
.mop-top h4 { margin: 0 0 2px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 1.05rem; color: var(--gold); }
.mop-top div { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.mop-top div.me { box-shadow: inset 0 0 0 2px var(--ecto-hi, #43c98a); background: rgba(67, 201, 138, .14); }
.mop-top i { text-align: center; font-weight: 900; font-size: 1.1rem; } .mop-top span { min-width: 0; overflow-wrap: anywhere; font-weight: 800; } .mop-top em { font-weight: 900; color: var(--gold); }

/* readability pass (Oct 28): the small projector text one size up so it reads from the back of the room */
.mo-tip { font-size: 2.6vh; }
