/* Plinko and Slots: projector and phones. */
#sc-plinko, #sc-slots { padding: 0.5vh 2vw 1.5vh; }
/* plinko: starfield shows through */

.ig { display: grid; grid-template-rows: auto 1fr; gap: 1.2vh; height: 100%; position: relative; }
.ig-head { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.ig-sub { font-weight: 800; font-size: 2.6vh; color: #7af0ff; animation: bg-pulse 1.6s ease-in-out infinite; }
.ig-jack { display: grid; justify-items: end; gap: .4vh; }
.ig-jack em { font-style: normal; font-weight: 900; font-size: 2vh; letter-spacing: .2em; text-transform: uppercase; color: #ffd84a; }
.ig-body { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, .9fr); gap: 2vw; min-height: 0; align-items: center; }
.ig-board-tag { position: absolute; top: 1.2vh; left: 50%; transform: translateX(-50%); z-index: 2; padding: .5vh 1.6vw; border-radius: 999px; background: rgba(0,0,0,.55); font-family: var(--display); font-weight: 900; font-size: 2.4vh; letter-spacing: .1em; color: #7af0ff; box-shadow: 0 0 2vh rgba(122,240,255,.4); }
.ig-board { position: relative; min-height: 0; padding: 1.5vh 1vw; border-radius: 2vh;
    background: linear-gradient(180deg, rgba(20, 12, 40, .82), rgba(10, 7, 22, .88));
    box-shadow: inset 0 0 0 .25vh rgba(255, 255, 255, .1), inset 0 0 8vh rgba(122, 63, 196, .25), 0 1.5vh 4vh rgba(0, 0, 0, .5); }
.ig-board canvas, .ip-board canvas { width: 100%; height: 100%; display: block; }
.ig-pops, .ip-pops { position: absolute; inset: 0; pointer-events: none; }
.ig-pop { position: absolute; transform: translate(-50%, -100%); font-family: var(--display); font-weight: 900; font-size: 3.4vh; text-shadow: 0 .3vh .6vh #000; animation: ig-pop 1.8s ease-out forwards; white-space: nowrap; text-align: center; }
.ig-pop small { display: block; font-family: Inter, system-ui, sans-serif; font-size: 1.7vh; color: #fff; }
@keyframes ig-pop { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -110%) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, -260%) scale(1); } }
.ig-side { display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 1vh; min-height: 0;
    padding: 2vh 1.6vw; border-radius: 2vh; background: linear-gradient(180deg, rgba(30, 20, 55, .78), rgba(14, 9, 26, .82)); box-shadow: inset 0 0 0 .2vh rgba(255, 255, 255, .08), 0 1.5vh 4vh rgba(0, 0, 0, .5); }
.ig-side h3 { margin: 1vh 0 .2vh; font-size: 2.2vh; padding: .5vh 0 .6vh; border-bottom: .2vh solid rgba(255,255,255,.12); letter-spacing: .04em; }
.ig-stats { font-weight: 800; font-size: 2.4vh; padding: 1.2vh 1.2vw; border-radius: 1.2vh; background: linear-gradient(180deg, rgba(255,180,46,.16), rgba(255,180,46,.04)); box-shadow: inset 0 0 0 .15vh rgba(255,216,74,.25); text-align: center; } .ig-stats b { color: var(--gold); font-size: 3.4vh; }
.ig-rank { display: flex; gap: .8vw; align-items: center; padding: .8vh 1.2vw; border-radius: 1vh; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .12vh rgba(255,255,255,.08); font-size: 2.1vh; margin-bottom: .5vh; }
.ig-rank i { font-style: normal; } .ig-rank span { margin-left: auto; color: #2fd683; font-weight: 900; }
.ig-feed { display: grid; gap: .6vh; align-content: start; overflow: hidden; }
.ig-feed > * { padding: .7vh 1vw; border-radius: .9vh; background: rgba(0,0,0,.28); border-left: .35vh solid var(--gold); font-size: 2vh; }
.ig-stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 2vh; overflow: visible; min-height: 0; padding-top: 8vh; }
/* pulsing glow ring behind the machine */
.sm-glow { position: absolute; left: 50%; top: 46%; width: 60vh; height: 60vh; transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(255,180,46,.28), rgba(200,16,46,.12) 45%, transparent 68%); animation: sm-glowpulse 3s ease-in-out infinite; }
@keyframes sm-glowpulse { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .75; } }
.ig-stage.win .sm-glow { animation: sm-glowpulse .5s ease-in-out infinite; background: radial-gradient(circle, rgba(255,216,74,.5), rgba(255,120,60,.2) 45%, transparent 68%); }
/* ambient coins/symbols drifting up behind the machine */
.ig-stage .sm-rig { position: relative; z-index: 1; }
.sm-erupt { position: absolute; left: 50%; top: 58%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.sm-erupt i { position: absolute; left: 0; top: 0; font-size: 3.2vh; will-change: transform, opacity; }
@keyframes sm-coin { 0% { transform: translate(0,0) rotate(0); opacity: 0; } 8% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); opacity: 0; } }
.ig-who { font-weight: 800; font-size: 3vh; min-height: 4vh; }
.ig-who em { font-style: normal; font-weight: 900; } .ig-who em.win { color: #2fd683; } .ig-who em.lose { color: var(--muted); }
.ig-over { position: absolute; inset: -.5vh -2vw -1.5vh; display: none; place-items: center; z-index: 5; background: radial-gradient(ellipse closest-side at 50% 50%, rgba(36, 10, 22, .92), rgba(6, 3, 12, .86) 62%, rgba(6, 3, 12, 0) 100%); }
.ig-over.on { display: grid; animation: bonus-in .3s both; }
.ig-banner { display: grid; justify-items: center; gap: 1vh; text-align: center; }
.ig-banner b { font-family: var(--display); font-weight: 900; font-size: 16vh; line-height: 1; background: linear-gradient(180deg, #fff6c8, #ffc23a 55%, #d8791a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1vh 0 #5a2a06) drop-shadow(0 0 4vh rgba(255, 176, 46, .8)); animation: bg-slam .6s cubic-bezier(.2, 1.6, .4, 1) both, lt-throb 1s .8s ease-in-out infinite; }
.ig-banner span { font-family: var(--display); font-weight: 900; font-size: 7vh; }
.ig-banner em { font-style: normal; font-weight: 900; font-size: 6vh; color: #2fd683; }

/* ---------- the slot machine ---------- */
.ig-stage .sm-rig { transform: scale(2.5); transform-origin: center; }
.ig-stage .sm-rig:has(.sm.grid) { transform: scale(1.62); }
.ig-stage .ig-who { position: relative; z-index: 4; padding: .6vh 1.6vw; border-radius: 999px; background: rgba(8, 5, 18, .8); box-shadow: 0 .6vh 2vh rgba(0, 0, 0, .5); }
.ig-stage .ig-who:empty { display: none; }
.sm-rig { position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: start; }
.sm-rig .sm { grid-column: 1; grid-row: 1; }
/* pull lever on the right */
.sm-lever { grid-column: 2; grid-row: 1; align-self: center; width: 1.4rem; height: 8rem; margin-left: .5rem; position: relative; }
.sm-lever::before { content: ""; position: absolute; left: 50%; top: 40%; bottom: 0; width: .5rem; transform: translateX(-50%); border-radius: .3rem; background: linear-gradient(90deg, #6b4a1c, #d9b35a, #6b4a1c); }
.sm-lever-arm { position: absolute; left: 50%; top: -1rem; width: .55rem; height: 70%; transform-origin: 50% 100%; transform: translateX(-50%); border-radius: .3rem; background: linear-gradient(90deg, #8a5a1c, #f3d27a, #8a5a1c); transition: transform .25s; }
.sm-rig.pull .sm-lever-arm { transform: translateX(-50%) rotate(28deg); }
.sm-lever-knob { position: absolute; left: 50%; top: -.9rem; width: 1.7rem; height: 1.7rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a9a, #c8102e 65%, #7a0a1a); box-shadow: 0 .25rem .5rem rgba(0,0,0,.6); }
/* coin slot + payline readout */
.sm-pay { position: relative; z-index: 1; display: flex; align-items: center; gap: .5rem; padding: .25rem .8rem; border-radius: .5rem; background: rgba(0,0,0,.4); font-weight: 800; font-size: .8rem; }
.sm-paylbl { color: #ffd84a; letter-spacing: .12em; font-size: .65rem; }
.sm-payval { color: #fff; }
.sm-coin { position: relative; z-index: 1; width: 3rem; height: .6rem; border-radius: .3rem; background: #1a0508; box-shadow: inset 0 .15rem .3rem rgba(0,0,0,.9); }
.sm-coin i { position: absolute; inset: .12rem; border-radius: .2rem; background: linear-gradient(90deg, transparent, rgba(255,224,138,.5), transparent); }
/* legs / base */
.sm-legs { grid-column: 1; grid-row: 2; display: flex; justify-content: space-between; padding: 0 1.5rem; }
.sm-legs i { width: .9rem; height: 2.6rem; border-radius: 0 0 .3rem .3rem; background: linear-gradient(180deg, #6b4a1c, #3d2a0e); }
.sm { position: relative; display: grid; justify-items: center; gap: .6rem; padding: 1rem 1rem 1.2rem; border-radius: 1.4rem 1.4rem 1rem 1rem;
    background: linear-gradient(180deg, #b3122f, #6a0a1d 60%, #3d0610); box-shadow: inset 0 0 0 .35rem #d9b35a, inset 0 0 0 .55rem #6b4a1c, 0 1.2rem 2.4rem rgba(0, 0, 0, .6); }
.sm-bulbs { position: absolute; inset: .3rem; border-radius: 1.1rem; padding: .42rem; pointer-events: none; filter: drop-shadow(0 0 .4rem #ffd24a); animation: sm-chase 1.2s linear infinite;
    background:
        radial-gradient(circle at .42rem .42rem, #ffe08a 42%, transparent 46%) 0 0 / 1.15rem 1.15rem repeat-x,
        radial-gradient(circle at .42rem .42rem, #ffe08a 42%, transparent 46%) 0 100% / 1.15rem 1.15rem repeat-x,
        radial-gradient(circle at .42rem .42rem, #ffe08a 42%, transparent 46%) 0 0 / 1.15rem 1.15rem repeat-y,
        radial-gradient(circle at .42rem .42rem, #ffe08a 42%, transparent 46%) 100% 0 / 1.15rem 1.15rem repeat-y;
    -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@keyframes sm-chase { to { background-position: 3.45rem 0, -3.45rem 100%, 0 -3.45rem, 100% 3.45rem; } }
.sm.won .sm-bulbs { animation-duration: .4s; }
.sm.won { animation: sm-won .25s ease-in-out 4; }
@keyframes sm-won { 50% { box-shadow: inset 0 0 0 .35rem #fff, inset 0 0 0 .55rem #ffd84a, 0 0 3rem #ffd84a; } }
.sm-top { position: relative; z-index: 1; padding: .2rem .9rem; border-radius: 99px; background: linear-gradient(180deg, #ffe08a, #d9b35a); color: #5a0a18; font-family: var(--display); font-weight: 900; font-size: .95rem; letter-spacing: .12em; }
.sm-window { position: relative; z-index: 1; display: flex; gap: .5rem; padding: .55rem; border-radius: .8rem; background: #1a0508; box-shadow: inset 0 .4rem .8rem rgba(0, 0, 0, .8); }
.sm-reel { position: relative; width: 6rem; height: 5.6rem; overflow: hidden; border-radius: .5rem; background: linear-gradient(180deg, #cfc8b6, #fffaf0 30%, #fffaf0 70%, #cfc8b6); }
.sm-strip span { display: grid; place-items: center; height: 5.6rem; font-size: 3.6rem; }
.sm-reel.spinning .sm-strip { filter: blur(2px); }
.sm-reel.stop { animation: sm-stop .3s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes sm-stop { 40% { transform: translateY(.25rem); } }
.sm-line { position: absolute; left: .2rem; right: .2rem; top: 50%; height: 3px; background: rgba(255, 60, 90, .75); box-shadow: 0 0 .6rem #ff3b5c; pointer-events: none; }
.sm.big { }
/* Mega Grid: three symbols per reel, paylines drawn over the window */
.sm.grid .sm-reel { height: 12.9rem; width: 5.4rem; }
.sm.grid .sm-strip span { height: 4.3rem; font-size: 3rem; }
.sm.grid .sm-strip span.hit { animation: sm-hit .5s ease-in-out 4 alternate; background: radial-gradient(circle, rgba(255, 216, 74, .55), transparent 70%); }
.sm.grid .sm-strip span.scat { animation: sm-scat .6s ease-in-out 5 alternate; }
@keyframes sm-hit { to { transform: scale(1.18); filter: drop-shadow(0 0 .6rem #ffd84a); } }
@keyframes sm-scat { to { transform: rotate(-12deg) scale(1.22); filter: drop-shadow(0 0 .7rem #ff7a1a); } }
.sm-lines { position: absolute; inset: .55rem; width: calc(100% - 1.1rem); height: calc(100% - 1.1rem); z-index: 3; pointer-events: none; overflow: visible; }
.sm-lines line { stroke-width: .09; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 .08px #fff); animation: sm-draw .45s ease-out var(--d, 0s) forwards, sm-linepulse .5s ease-in-out calc(var(--d, 0s) + .45s) 6 alternate; }
@keyframes sm-draw { to { stroke-dashoffset: 0; } }
@keyframes sm-linepulse { to { stroke-width: .15; opacity: .7; } }
/* the paytable readout rolls through its lines */
.sm-payval { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: middle; }
.sm-paytrack { display: flex; flex-direction: column; animation: sm-payroll calc(var(--n) * 2.4s) steps(1) infinite; }
.sm-paytrack span { height: 1.2em; line-height: 1.2em; white-space: nowrap; }
.sm-paytrack[style*="--n:5"] { animation-name: sm-roll5; } .sm-paytrack[style*="--n:3"] { animation-name: sm-roll3; }
@keyframes sm-roll5 { 0% { transform: translateY(0); } 20% { transform: translateY(-1.2em); } 40% { transform: translateY(-2.4em); } 60% { transform: translateY(-3.6em); } 80% { transform: translateY(-4.8em); } }
@keyframes sm-roll3 { 0% { transform: translateY(0); } 33.3% { transform: translateY(-1.2em); } 66.6% { transform: translateY(-2.4em); } }

/* ---------- phones ---------- */
.ip { display: grid; gap: .7rem; text-align: center; }
.ip-head { display: flex; justify-content: space-between; align-items: center; }
.ip-board { position: relative; height: 19rem; border-radius: 1rem; background: radial-gradient(ellipse at 50% 30%, #2a1650, #0b0718 75%); }
.ip-board .ig-pop { font-size: 1.3rem; }
.ip-go { width: 100%; font-size: 1.4rem; }
.ip-jack { font-weight: 900; font-size: 1rem; color: #ffd84a; }
.ip-jack b { font-family: var(--display); font-size: 1.5rem; margin-left: .3rem; }
.ip-machine { position: relative; display: flex; justify-content: center; align-items: center; gap: .3rem; }
.ip-lever { position: relative; width: 2.8rem; height: 7rem; margin: 0 -.6rem; border: 0; background: none; cursor: pointer; }  /* 44px wide to tap; the margins keep its spot */
.ip-lever::before { content: ""; position: absolute; left: 50%; top: 1.2rem; bottom: 0; width: .35rem; transform: translateX(-50%); border-radius: 99px; background: linear-gradient(90deg, #aaa, #eee, #999); transform-origin: bottom center; transition: transform .25s; }
.ip-lever i { position: absolute; left: 50%; top: 0; width: 1.5rem; height: 1.5rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9aa8, #d0142f 60%, #6a0a1d); box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .5); transition: transform .25s; }
.ip-lever.pull::before { transform: translateX(-50%) scaleY(-.4); }
.ip-lever.pull i { transform: translate(-50%, 4.8rem); }
.ip-result { min-height: 2.4rem; }
.ip-pay { border-radius: .8rem; background: rgba(0, 0, 0, .3); padding: .5rem; display: grid; gap: .2rem; text-align: left; font-size: .9rem; }
.ip-pay summary { font-weight: 800; cursor: pointer; }
.ip-pay b { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .sm-bulbs, .ig-sub { animation: none; } }

/* ---------- scratch-offs ---------- */
#sc-scratch { padding: 0.5vh 2vw 1.5vh; }
.sc-zone { min-height: 20rem; display: grid; place-items: center; }
.sc-empty { font-weight: 800; color: var(--muted); }
.sc-ticket { position: relative; width: 100%; max-width: 21rem; display: grid; gap: .5rem; padding: .8rem; border-radius: 1rem; color: #fff;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 8px, transparent 8px 16px), linear-gradient(160deg, #7a2fd0, #3b0f6e 60%, #1f0840); box-shadow: 0 0 0 .3rem #ffd84a, 0 1rem 2rem rgba(0, 0, 0, .6);
    animation: sc-in .6s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes sc-in { from { transform: translateY(-4rem) rotate(-12deg) scale(.6); opacity: 0; } }
.sc-top { display: flex; justify-content: space-between; align-items: center; }
.sc-top b { font-family: var(--display); font-weight: 900; font-size: 1.4rem; background: linear-gradient(180deg, #fff6c8, #ffb02e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-top span { font-weight: 800; font-size: .8rem; padding: .15rem .5rem; border-radius: 99px; background: rgba(0, 0, 0, .35); }
.sc-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .5rem; font-size: .9rem; }
.sc-legend em { width: 100%; font-style: normal; font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd84a; }
.sc-legend b { font-size: .75rem; margin-left: .1rem; }
.sc-play { position: relative; border-radius: .7rem; overflow: hidden; background: #fffaf0; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sc-grid span { display: grid; place-items: center; height: 5.4rem; font-size: 2.8rem; border: 1px dashed rgba(0, 0, 0, .12); transition: transform .3s; }
.sc-grid span.win { background: radial-gradient(circle, rgba(255, 216, 74, .9), rgba(255, 176, 46, .3)); animation: sc-win .6s ease-in-out infinite alternate; }
@keyframes sc-win { to { transform: scale(1.12) rotate(-4deg); } }
.sc-foil { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .55s, transform .55s; }
.sc-foil.gone { opacity: 0; transform: scale(1.05); pointer-events: none; }
.sc-flake { position: absolute; width: 5px; height: 5px; border-radius: 1px; background: #c9ced6; pointer-events: none; animation: sc-flake .9s ease-in forwards; }
@keyframes sc-flake { to { transform: translate(var(--dx), 60px) rotate(200deg); opacity: 0; } }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 800; font-size: .85rem; }
.sc-won { color: #7dffb0; font-size: 1.1rem; }
.sc-ticket.won { box-shadow: 0 0 0 .3rem #fff, 0 0 2rem #ffd84a; }
.sc-ticket, .sc-play, .sc-grid { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* phones: the Mega Grid machine and its lever must fit a 360-390px screen */
.ip { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ip > * { min-width: 0; }
@media (max-width: 440px) { .ip-machine .sm-rig { zoom: .86; } }
.ip-machine { max-width: 100%; }
.ip-machine .sm.grid .sm-reel { width: 4.3rem; height: 10.2rem; }
.ip-machine .sm.grid .sm-strip span { height: 3.4rem; font-size: 2.3rem; }
.ip-machine .sm.grid .sm-top { font-size: .8rem; }
.ip-machine .sm-lever { display: none; } /* phones use their own tappable lever */
/* ultrawide: the side panel sizes from height, the board takes the rest */
@media (min-aspect-ratio: 2/1) { .ig-body { grid-template-columns: minmax(0, 1fr) 54vh; } }

/* ---------- scratch tickets: eight real-looking designs, sized in em so one ticket scales anywhere ---------- */
.tkx { --tw: 22vh; position: relative; width: var(--tw); aspect-ratio: 5 / 8; font-size: calc(var(--tw) * .1); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .35em; padding: .55em .5em .4em;
    border-radius: .6em; color: var(--ink); background: linear-gradient(165deg, var(--b1), var(--b2)); box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .55), inset 0 0 0 .14em color-mix(in srgb, var(--ac) 70%, transparent), inset 0 0 0 .32em rgba(0, 0, 0, .25); font-family: var(--display, Rubik), Inter, sans-serif; }
/* the sheen slides across on the compositor (a transform, no repaint), so a screen full of tickets stays smooth */
.tkx::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .28) 50%, transparent 75%); animation: tkx-sheen 4.5s ease-in-out infinite; pointer-events: none; z-index: 3; }
@keyframes tkx-sheen { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(270%); } }
.tkx-pat { position: absolute; inset: -20%; font-size: 1.05em; line-height: 1.6; letter-spacing: .5em; word-break: break-all; opacity: .13; transform: rotate(-18deg); pointer-events: none; }
.tkx > :not(.tkx-pat) { position: relative; z-index: 1; }
.tkx-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .2em; }
.tkx-icon { font-size: 1.3em; line-height: 1; filter: drop-shadow(0 .08em 0 rgba(0, 0, 0, .4)); }
.tkx-name { flex: 1; text-align: center; font-weight: 900; font-size: .92em; line-height: .95; text-transform: uppercase; letter-spacing: .02em; color: var(--ac); text-shadow: 0 .08em 0 rgba(0, 0, 0, .5), 0 0 .5em color-mix(in srgb, var(--ac) 50%, transparent); }
.tkx-price { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; font-size: .8em; background: radial-gradient(circle at 35% 30%, #fff6c8, #e8b92a 60%, #8a5a08); box-shadow: 0 0 0 .1em rgba(0, 0, 0, .35); }
.tkx-win { font-weight: 800; font-size: .52em; letter-spacing: .1em; padding: .2em .6em; border-radius: 99px; background: rgba(0, 0, 0, .3); white-space: nowrap; }
.tkx-win b { font-size: 1.5em; color: var(--ac); letter-spacing: 0; }
.tkx-who { font-weight: 900; font-size: .62em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkx-foil { align-self: stretch; flex: 1 1 0; border-radius: .35em; background: rgba(0, 0, 0, .28); padding: .3em; display: grid; gap: .25em; min-height: 0; }
.tkx-foil i, .tkx-foil.bar span { background: linear-gradient(120deg, #8e959f 20%, #f1f3f7 42%, #b9bec6 55%, #7c838d 80%); box-shadow: inset 0 0 0 .06em rgba(255, 255, 255, .4); }
.tkx-foil.dots { grid-template-columns: repeat(3, 1fr); align-content: center; justify-items: center; }
.tkx-foil.dots i { width: 100%; max-height: 100%; }
.tkx-foil.dots i { aspect-ratio: 1; border-radius: 50%; }
.tkx-foil.grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.tkx-foil.grid i { border-radius: .2em; }
.tkx-foil.bar { grid-template-rows: 1fr; }
.tkx-foil.bar span { display: grid; place-items: center; border-radius: .25em; color: rgba(50, 54, 62, .7); font-weight: 900; font-size: .55em; letter-spacing: .12em; }
.tkx-note { font-weight: 800; font-size: .55em; opacity: .85; }
.tkx-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .3em; }
.tkx-bar { flex: 1; height: .9em; background: repeating-linear-gradient(90deg, var(--ink) 0 .06em, transparent .06em .12em, var(--ink) .12em .15em, transparent .15em .26em); opacity: .7; }
.tkx-foot small { font-size: .38em; font-weight: 700; opacity: .75; white-space: nowrap; }
/* per design flourishes */
.tkx-sevens .tkx-name { font-style: italic; font-size: 1.05em; color: #ff4040; text-shadow: 0 0 .4em #ff2020, 0 .08em 0 #000; }
.tkx-sevens .tkx-icon { color: #ffd84a; font-weight: 900; font-style: italic; }
.tkx-sevens { box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .55), inset 0 0 0 .14em #ffd84a, inset 0 0 0 .3em #7a0a0a; }
.tkx-vampire { box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .55), inset 0 0 0 .12em #e8c24a, inset 0 0 0 .22em #34040f, inset 0 0 0 .3em #e8c24a; }
.tkx-bones .tkx-pat { opacity: .2; }
.tkx-candy { background: repeating-linear-gradient(135deg, var(--b1) 0 1.1em, #ff9fd0 1.1em 2.2em), var(--b2); }
.tkx-zombie { background: linear-gradient(165deg, var(--b1), var(--b2)), var(--b2); }
.tkx-zombie .tkx-name { color: #ff4fd8; }
.tkx-cash .tkx-win { background: rgba(0, 40, 10, .45); border: .06em dashed #ffd84a; }

/* ticket text that reads like print: caps on the art only */
.tkx-win { font-size: .44em; max-width: 100%; letter-spacing: .06em; text-transform: uppercase; }
.tkx-foil.bar span { text-transform: uppercase; }
.tkx-who { white-space: normal; text-overflow: clip; text-align: center; line-height: 1.05; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
/* a scratched ticket: the nine symbols on cream, the matching three lit */
.tkx-foil.tkx-cells { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: .14em; padding: .22em; background: #fffaf0; box-shadow: inset 0 0 0 .08em rgba(0, 0, 0, .15); }
.tkx-cells i { display: grid; place-items: center; min-height: 0; font-style: normal; font-size: 1.2em; line-height: 1; border-radius: .2em; }
.tkx-cells i.hit { background: radial-gradient(circle, #fff3b0, #ffc23a); box-shadow: 0 0 .5em rgba(255, 216, 74, .9); animation: tkx-hit .6s ease-in-out infinite alternate; }
@keyframes tkx-hit { to { transform: scale(1.1); } }
.tkx-pay { font-weight: 900; font-size: .72em; line-height: 1.1; padding: .14em .7em; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; white-space: nowrap; }
.tkx-pay.win { color: #1a1206; background: linear-gradient(180deg, #fff3b0, #ffc23a); box-shadow: 0 0 .8em rgba(255, 216, 74, .75); }

/* ---------- scratch-offs on the projector: the live ticket wall ---------- */
.sw-wall { position: relative; align-self: stretch; min-width: 0; min-height: 0; display: grid; place-items: center; --cw: 27vh; --cols: 3; --gx: 2.4vh; --gy: 2.4vh; }
.sw-wall[data-n="m"] { --cw: 20.5vh; --cols: 4; --gx: 2vh; --gy: 2vh; }
.sw-wall[data-n="l"] { --cw: 14.6vh; --cols: 6; --gx: 1.4vh; --gy: 1.8vh; }
/* the cards wrap at a set count per row and the last row stays centered */
.sw-cards { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: var(--gy) var(--gx); max-width: calc(var(--cols) * var(--cw) + (var(--cols) - 1) * var(--gx) + 1px); }
.sw-cards:empty { display: none; }
.sw-card { position: relative; z-index: 1; width: var(--cw); aspect-ratio: 5 / 8; perspective: 90vh; animation: sw-in .6s cubic-bezier(.2, 1.3, .4, 1) both; transition: opacity .6s, transform .6s; }
@keyframes sw-in { from { transform: translateY(-8vh) rotate(-10deg) scale(.6); opacity: 0; } }
.sw-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.sw-card.flip .sw-in { transform: rotateY(180deg); }
.sw-front, .sw-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sw-back { transform: rotateY(180deg); }
.sw-front .tkx, .sw-back .tkx { --tw: var(--cw); }
.sw-card.won.flip .sw-back .tkx { box-shadow: 0 0 0 .35vh #ffd84a, 0 0 4vh rgba(255, 216, 74, .75), 0 1.4vh 3vh rgba(0, 0, 0, .55); }
.sw-card.lost.flip .sw-back .tkx { filter: saturate(.55) brightness(.85); }
.sw-wall.rest .sw-card { opacity: 0; transform: scale(.9); }

/* ---------- the waiting show: five routines on the full stage, a gold caption pill under them ---------- */
.sw-idle { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); transition: opacity .5s; }
.sw-wall.has-cards .sw-idle { opacity: 0; pointer-events: none; }
.sw-wall.rest .sw-idle { opacity: 1; }
.sw-wall.has-cards:not(.rest) .sw-idle * { animation-play-state: paused; } /* hidden behind the wall: no work for the laptop */
.sw-idle > * { transition: opacity .4s; }
.sw-idle.tks-leaving > * { opacity: 0; }
.tks { position: relative; grid-row: 1; grid-column: 1; min-width: 0; min-height: 0; }
.tks .tks-t { position: absolute; }
.tks-cap { grid-row: 2; grid-column: 1; position: relative; z-index: 20; justify-self: center; align-self: end; width: max-content; max-width: 92%; box-sizing: border-box; margin: 1.4vh 0 .4vh; padding: 1vh 2.6vw; border-radius: 99px;
    font-family: var(--display, Rubik), Inter, sans-serif; font-weight: 900; font-size: 4vh; line-height: 1.15; text-align: center; color: #1a1206; background: linear-gradient(180deg, #fff3b0, #ffc23a);
    box-shadow: 0 0 3vh rgba(255, 194, 58, .5), 0 .8vh 2vh rgba(0, 0, 0, .45); animation: tks-cap .6s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes tks-cap { from { transform: translateY(2vh) scale(.6); opacity: 0; } }
/* fan: a hand of five tickets opens, one card is picked and slides up, the hand closes */
.tks-fan .tks-t { left: 50%; bottom: calc(50% - 22vh); --lift: 0vh; transform-origin: 50% 110%; transform: translateX(-50%) rotate(0deg); transition: transform .9s cubic-bezier(.3, 1.35, .5, 1) calc((var(--i) + 2) * 80ms); }
.tks-fan.open .tks-t { transform: translateX(calc(-50% + var(--i) * 7vh)) rotate(calc(var(--i) * 12deg)) translateY(calc(var(--i) * var(--i) * .7vh + var(--lift))); }
.tks-fan .tks-t .tkx { --tw: 26vh; transition: box-shadow .4s; }
.tks-fan .tks-t.pick { --lift: -7vh; z-index: 2; transition-delay: 0s; }
.tks-fan .tks-t.pick .tkx { box-shadow: 0 0 0 .4vh #ffd84a, 0 0 5vh rgba(255, 216, 74, .8), 0 2vh 4vh rgba(0, 0, 0, .6); }
/* dispenser: a lit slot, tickets roll down out of it one by one and hang there swaying */
.tks-disp { display: grid; place-items: center; }
.tks-box { width: min(94vh, 100%); display: grid; justify-items: center; }
.tks-mouth { position: relative; z-index: 2; width: 100%; height: 7vh; border-radius: 1.4vh; display: grid; place-items: center; background: linear-gradient(180deg, #4a505c, #1b1e25 70%, #0b0c10);
    box-shadow: inset 0 .3vh 0 rgba(255, 255, 255, .18), inset 0 -1.6vh 0 #000, 0 0 0 .3vh rgba(255, 216, 74, .35), 0 1vh 2.4vh rgba(0, 0, 0, .55); }
.tks-mouth span { margin-bottom: 1.4vh; font-family: var(--display, Rubik), Inter, sans-serif; font-weight: 900; font-size: 2.6vh; letter-spacing: .14em; text-transform: uppercase; color: #ffd84a; text-shadow: 0 0 1.2vh rgba(255, 216, 74, .7); animation: tks-blink 1.2s steps(1) infinite; }
@keyframes tks-blink { 50% { opacity: .5; } }
.tks-roll { position: relative; z-index: 1; display: flex; justify-content: center; gap: 2.4vh; margin-top: 0; clip-path: inset(0 -30vh -60vh -30vh); }
.tks-disp .tks-t { position: relative; animation: tks-out 1.2s cubic-bezier(.25, 1, .4, 1) calc(var(--i) * .85s + .2s) both; }
.tks-disp .tks-t .tkx { --tw: 21vh; transform-origin: 50% 0; animation: tks-hang 2.2s ease-in-out calc(var(--i) * .85s + 1.4s) infinite alternate; }
@keyframes tks-out { from { transform: translateY(-104%); } }
@keyframes tks-hang { to { transform: rotate(calc((var(--i) - 1.5) * 2deg)); } }
/* coin scratch: one big ticket, a coin rubs off the foil */
.tks-scr { display: grid; place-items: center; }
.tks-big { position: relative; }
.tks-big .tkx { --tw: 33vh; }
.tks-cv { position: absolute; z-index: 4; border-radius: 1vh; pointer-events: none; }
.tks-coin { position: absolute; left: 0; top: 0; z-index: 5; font-size: 6vh; opacity: 0; filter: drop-shadow(0 .6vh .6vh rgba(0, 0, 0, .6)); }
.tks-coin.on { opacity: 1; } .tks-coin.gone { opacity: 0; transition: opacity .4s; }
.tks-stamp { position: absolute; left: 50%; top: 80%; z-index: 6; padding: 1vh 2vw; border: .6vh solid #ff3b5c; border-radius: 1.2vh; color: #ff3b5c; background: rgba(255, 255, 255, .92); font-family: var(--display, Rubik), Inter, sans-serif; font-weight: 900; font-size: 6vh; line-height: 1; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%) rotate(-14deg) scale(3); opacity: 0; }
.tks-big.won .tks-stamp { animation: tks-stamp .45s cubic-bezier(.3, 1.6, .5, 1) .5s both; }
@keyframes tks-stamp { to { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
.tks-big.won .tkx { animation: tks-won .5s ease-in-out 3; }
@keyframes tks-won { 50% { transform: scale(1.04); box-shadow: 0 0 6vh #ffd84a; } }
.tkx-foil.tks-under { display: flex; align-items: center; justify-content: space-around; background: #fffaf0; }
.tkx-foil.tks-under b { font-size: 2.3em; line-height: 1; color: #c8102e; font-family: var(--display, Rubik), Inter, sans-serif; font-weight: 900; }
.tks-big.won .tkx-foil.tks-under b { animation: tks-sym .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.tks-big.won .tkx-foil.tks-under b:nth-child(2) { animation-delay: .12s; } .tks-big.won .tkx-foil.tks-under b:nth-child(3) { animation-delay: .24s; }
@keyframes tks-sym { 50% { transform: scale(1.5); } }
/* carousel: six tickets turning in 3D */
.tks-car { display: grid; place-items: center; perspective: 140vh; }
.tks-ring { position: relative; width: 22vh; height: 35.2vh; transform-style: preserve-3d; animation: tks-ring 10s linear infinite; }
.tks-car .tks-t { left: 0; top: 0; transform: rotateY(calc(var(--i) * 60deg)) translateZ(34vh); backface-visibility: hidden; }
.tks-car .tks-t .tkx { --tw: 22vh; }
@keyframes tks-ring { to { transform: rotateY(-360deg); } }
/* It's Raining Tickets: the layer runs from the header to the bottom of the screen (offsets set in JS),
   tickets fall in lanes across it, sway and flip, and stay clear of the side panel */
.tks.tks-flut { position: absolute; grid-row: auto; grid-column: auto; right: 0; z-index: 0; overflow: hidden; perspective: 120vh; }
.tks-flut .tks-t { animation: tks-fall var(--dur, 6s) linear var(--d, 0s) infinite; will-change: transform; }
.tks-sway { animation: tks-sway var(--sd, 2s) ease-in-out infinite alternate; }
@keyframes tks-fall { to { transform: translateY(var(--fall)); } }
@keyframes tks-sway { from { transform: translateX(calc(var(--sw) * -1)) rotate(calc(var(--r) * -.6)) rotateY(-45deg); } to { transform: translateX(var(--sw)) rotate(var(--r)) rotateY(45deg); } }
@media (prefers-reduced-motion: reduce) { .tkx::before, .tks-ring, .tks-flut .tks-t, .tks-sway, .tks-disp .tks-t .tkx { animation: none; } .tks-flut .tks-t { transform: translateY(calc(var(--fall) * var(--p, .5))); } }

/* modern LED chase around the reel window: rainbow on Mega Grid, red and gold on the classic machine */
.sm-led { position: absolute; inset: -.6rem; z-index: 3; border-radius: 1.2rem; padding: .48rem; overflow: hidden; pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.sm-led::before { content: ""; position: absolute; inset: -150%; background: conic-gradient(#ff4fd8, #ffd84a, #2fd683, #31c6ff, #b14fe0, #ff4fd8); animation: sm-led 3.2s linear infinite; }
.sm-led::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 40%, rgba(10, 2, 6, .75) 62%) 0 0 / .48rem .48rem; }
.sm:not(.grid) .sm-led::before { background: conic-gradient(#ff2a3a, #ffd84a 12%, #ff2a3a 25%, #ffd84a 37%, #ff2a3a 50%, #ffd84a 62%, #ff2a3a 75%, #ffd84a 87%, #ff2a3a); animation-duration: 5s; }
.sm-window { box-shadow: inset 0 .4rem .8rem rgba(0, 0, 0, .8), 0 0 1.2rem rgba(255, 79, 216, .35); }
.sm:not(.grid) .sm-window { box-shadow: inset 0 .4rem .8rem rgba(0, 0, 0, .8), 0 0 1.2rem rgba(255, 60, 60, .35); }
@keyframes sm-led { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sm-led::before { animation: none; } }

/* phone tickets wear the same design the projector wall shows */
.sc-ticket.tkd { overflow: hidden; color: var(--ink); background: linear-gradient(165deg, var(--b1), var(--b2)); box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .5), inset 0 0 0 .18rem color-mix(in srgb, var(--ac) 70%, transparent), inset 0 0 0 .4rem rgba(0, 0, 0, .25); }
.sc-ticket.tkd.tkx-candy { background: repeating-linear-gradient(135deg, var(--b1) 0 1.4rem, #ff9fd0 1.4rem 2.8rem); }
.sc-ticket.tkd > :not(.tkx-pat) { position: relative; z-index: 1; }
.sc-ticket.tkd .tkx-pat { font-size: 1.1rem; }
.sc-ticket.tkd .sc-top b { background: none; color: var(--ac); -webkit-text-fill-color: currentColor; text-shadow: 0 .1rem 0 rgba(0, 0, 0, .5); font-size: 1.25rem; }
.sc-ticket.tkd .sc-legend { padding: .3rem; border-radius: .6rem; background: rgba(0, 0, 0, .3); color: #fff; }
.sc-ticket.tkd .sc-legend em { color: var(--ac); }
.sc-ticket.tkd .sc-foot { color: var(--ink); }
.sc-ticket.tkd .tkx-foot { font-size: 1rem; }
.sc-ticket.tkd.won { box-shadow: 0 0 0 .3rem #fff, 0 0 2rem #ffd84a; }
.sc-empty { display: grid; justify-items: center; gap: .8rem; }
.sc-hand { position: relative; height: 11rem; width: 100%; }
.sc-hand > div { position: absolute; left: 50%; bottom: 0; transform-origin: 50% 120%; transform: translateX(-50%) rotate(calc(var(--i) * 14deg)) translateX(calc(var(--i) * 1.6rem)); animation: sc-sway 3s ease-in-out calc(var(--i) * .3s) infinite alternate; }
.sc-hand .tkx { --tw: 6.2rem; }
@keyframes sc-sway { to { transform: translateX(-50%) rotate(calc(var(--i) * 17deg)) translateX(calc(var(--i) * 2rem)) translateY(-.3rem); } }

/* slots near-miss: the last reel glows and the machine trembles while it holds out */
.sm-reel.tease { box-shadow: 0 0 0 .5vh #ffd84a, 0 0 4vh #ffd84a, inset 0 0 3vh rgba(255, 216, 74, .5); animation: sm-tease .35s ease-in-out infinite alternate; }
@keyframes sm-tease { to { box-shadow: 0 0 0 .8vh #fff3b0, 0 0 7vh #ffd84a, inset 0 0 4vh rgba(255, 216, 74, .7); } }
.sm-teasing { animation: sm-tremble .12s linear infinite; }
@keyframes sm-tremble { 25% { transform: translate(.15vh, -.1vh); } 75% { transform: translate(-.15vh, .1vh); } }
@media (prefers-reduced-motion: reduce) { .sm-reel.tease, .sm-teasing { animation: none; } }

/* plinko waiting caption */
.pk-cap { position: absolute; left: 50%; top: 1vh; z-index: 3; padding: 1vh 2.4vw; border-radius: 99px; font-family: var(--display); font-weight: 900; font-size: 3.6vh; white-space: nowrap; color: #1a1206; background: linear-gradient(180deg, #fff3b0, #ffc23a); box-shadow: 0 0 3vh rgba(255, 194, 58, .5); transform: translate(-50%, -2vh) scale(.6); opacity: 0; transition: opacity .4s, transform .4s; pointer-events: none; }
.pk-cap.in { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity .4s, transform .55s cubic-bezier(.2, 1.5, .4, 1); }
.ig-gold { display: block; font-style: normal; font-size: .55em; color: #ffd84a; text-shadow: 0 0 1.2vh #ffb02e; }

/* plinko: the payout math on each pop, and chips flying into the paid-out counter */
.ig-pop .ig-eq { display: block; font-size: .42em; font-weight: 800; color: #fff; opacity: .9; margin-bottom: .2vh; }
.ig-paid { color: var(--gold); }
.ig-paid.bump b { display: inline-block; animation: race-bump .5s cubic-bezier(.2, 1.6, .4, 1); }
.ig-chipfly { position: fixed; z-index: 50; font-size: 3.4vh; pointer-events: none; transform: translate(-50%, 0); animation: ig-chipfly .8s cubic-bezier(.5, 0, .5, 1) forwards; }
@keyframes ig-chipfly { 50% { transform: translate(calc(-50% + var(--dx) * .5), calc(var(--dy) * .5 - 8vh)) scale(1.3); } to { transform: translate(calc(-50% + var(--dx)), var(--dy)) scale(.6); opacity: .4; } }
.ig-stats:has(.ig-paid) { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw; text-align: center; }
.ig-stats:has(.ig-paid) > span { display: grid; gap: .3vh; font-size: 1.9vh; }
.ig-stats:has(.ig-paid) > span b { display: block; font-size: 3.6vh; line-height: 1; }

/* ---------- title in the right column; the game takes the full height ---------- */
.ig.headside { grid-template-rows: minmax(0, 1fr); }
.ig.headside .ig-body { height: 100%; }
.ig-side .ig-head { display: grid; justify-items: stretch; gap: 1vh; }
.ig-side .ig-head .wg-title { justify-content: center; }
.ig-side .ig-head .wg-title b { font-size: 4.2vh; }
.ig-side .ig-head .ig-sub { font-size: 2vh; text-align: center; }
.ig-side .ig-head .ig-jack { justify-items: center; }
.ig-side .ig-head .ig-jack em { text-align: center; line-height: 1.3; }
.ig.headside .ig-side { grid-template-rows: auto auto auto auto auto minmax(0, 1fr); align-self: stretch; }
.ig.headside .ig-stage { padding-top: 1vh; }
.ig.headside.is-slots .ig-stage { align-self: stretch; }
.ig.headside.is-slots .ig-stage .sm-rig { transform: scale(var(--smk, 2.3)); } /* --smk and the matching margin are set by fitRig() */
.ig.headside.is-slots .ig-stage .ig-who:empty { display: block; visibility: hidden; }
.ig.headside.is-plinko .ig-board { align-self: stretch; }
.ig.is-scratch .ig-side { position: relative; z-index: 3; }
/* the side column may shrink; long titles size down to fit it */
.ig.headside .ig-side { min-width: 0; }
.ig-side .ig-head .wg-title { max-width: 100%; min-width: 0; }
.ig-side .ig-head .wg-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig.is-scratch .ig-side .ig-head .wg-title b { font-size: 3vh; }
.ig-side .ig-head .ig-sub { white-space: normal; }
.ig.is-scratch .ig-side .ig-head .wg-title b { white-space: normal; text-align: center; line-height: 1.05; font-size: 3.6vh; overflow: visible; }

/* side panel: quiet empty states that match each other */
.ig-empty { padding: 1.2vh 1vw; border-radius: 1vh; border: .2vh dashed rgba(255, 255, 255, .18); color: var(--muted); font-weight: 700; font-size: 2vh; text-align: center; }
.ig-feed > .ig-empty { padding: 1.2vh 1vw; border: .2vh dashed rgba(255, 255, 255, .18); background: none; font-size: 2vh; }
/* the live feed: rows stay still, only a new play slides in */
.ig-feed .wg-bet { animation: none; }
.ig-feed .wg-bet.new { animation: ct-toast .4s both; }
.ig-feed .wg-bet { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2vh .6vw; }
.ig-feed .wg-bet b { min-width: 0; overflow-wrap: anywhere; }
.ig-feed .wg-bet span { white-space: nowrap; color: rgba(255, 255, 255, .78); }
.ig-feed .wg-bet em { margin-left: auto; white-space: nowrap; }

/* readability pass (Oct 28): the small projector text one size up so it reads from the back of the room */
.ig-stats:has(.ig-paid) > span { font-size: 2.2vh; }
.ig-side .ig-head .ig-sub { font-size: 2.3vh; }
.ig-empty { font-size: 2.4vh; }
.ig-feed > .ig-empty { font-size: 2.4vh; }
.ig-jack em { font-size: 2.3vh; }
.ig-side h3 { font-size: 2.6vh; }
