/* games-fill: the three game views. Uses the room's own tokens. */
.gf-off{display:none!important}

/* ---- games switcher: one compact line on the three game views ---- */
.gf-row{display:flex;align-items:center;gap:4px;max-width:820px;margin:-2px auto var(--sp-2)}
.gf-row-in{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;padding:2px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;overscroll-behavior-x:contain}
.gf-row-in::-webkit-scrollbar{display:none}
/* what is cut off fades out, and the arrow says there is more (classes set by games-fill.js) */
.gf-more .gf-row-in{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}
.gf-back .gf-row-in{-webkit-mask-image:linear-gradient(90deg,#0000,#000 28px);mask-image:linear-gradient(90deg,#0000,#000 28px)}
.gf-more.gf-back .gf-row-in{-webkit-mask-image:linear-gradient(90deg,#0000,#000 28px,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#0000,#000 28px,#000 calc(100% - 28px),#0000)}
.gf-row-more{display:none;flex:none;width:34px;height:34px;padding:0 0 3px;border-radius:var(--r-round);border:1px solid var(--line-strong);background:var(--surface-1);color:var(--text);font:600 20px/1 var(--font-display);cursor:pointer}
.gf-more .gf-row-more{display:block}
.gf-row-more:hover{border-color:var(--accent-line)}
.gf-row-more:focus-visible{outline:2px solid var(--accent-text);outline-offset:1px}
.gf-row-s .gf-thumb{display:none}.gf-row-s .gf-card{padding:0 12px}
.gf-row-xs .gf-card{padding:0 9px;font-size:12px}
.gf-row-falls,.gf-row-strike,.gf-row-spin{max-width:1100px}
/* the free-spin view takes the same outer width as the two playfields */
.gf-card{display:inline-flex;align-items:center;gap:6px;flex:none;height:34px;padding:0 12px 0 6px;border-radius:var(--r-round);border:1px solid var(--line-strong);background:var(--surface-1);color:var(--text);font:500 13px var(--font-display)}
button.gf-card{cursor:pointer;transition:border-color var(--motion-fast)}
button.gf-card:hover{border-color:var(--accent-line)}
button.gf-card.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-wash)}
button.gf-card:focus-visible{outline:2px solid var(--accent-text);outline-offset:1px}
.gf-thumb{flex:none;width:22px;height:22px;border-radius:50%;object-fit:cover;display:block;background:var(--surface-2)}
.gf-glyph{display:grid;place-items:center;font:700 13px/1 var(--font-display);color:var(--gold);border:1px solid var(--gold-line)}
.gf-name{line-height:1}
.gf-soon-l{flex:none;margin-left:auto;padding-left:var(--sp-3);font:500 10px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--gold)}
.gf-card.soon{height:26px;padding:0 9px;border-style:dashed;color:#b3b3b3;font-size:12px;font-weight:400;cursor:default}

/* ---- game panel ---- */
.gf-game{position:relative;max-width:820px;margin:0 auto var(--sp-4);padding:var(--sp-3);background:var(--surface-1);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;outline:none}
.gf-game:focus-visible{box-shadow:0 0 0 2px var(--accent)}
.gf-head{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap;margin-bottom:var(--sp-3)}
.gf-head h2{margin:0;font-family:var(--font-display);font-size:var(--fs-section);font-weight:500;margin-right:auto}
.gf-sw{display:flex;gap:6px}
.gf-tg{min-height:32px;padding:0 10px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:#0a0a0acc;color:#e6e6e6;font:500 12px var(--font-display);cursor:pointer}
.gf-tg[aria-pressed=true]{border-color:var(--accent-line);color:#fff}
.gf-tg:hover{border-color:var(--accent)}
.gf-fxc{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:6}
.gf-demo-pill{align-self:center;padding:2px 8px;border-radius:var(--r-round);background:var(--gold-wash);border:1px solid var(--gold-line);color:var(--gold);font-family:var(--font-mono);font-size:var(--fs-label);letter-spacing:.5px;text-transform:uppercase}

/* shared control bar */
.gf-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--sp-2) var(--sp-3);margin-top:var(--sp-3)}
.gf-form>*{order:2}.gf-form>.gf-demo-pill,.gf-form>.gf-bal-n,.gf-form>.gf-ghost{order:1}.gf-form>.gf-go{order:3}
.gf-bal-n{display:flex;flex-direction:column;gap:1px;font-size:var(--fs-label);color:var(--text-muted);min-width:84px}
.gf-bal-n strong{font-family:var(--font-mono);font-weight:500;font-size:var(--fs-section);line-height:1.2;color:var(--text)}
.gf-field{display:grid;gap:2px;font-size:var(--fs-label);color:var(--text-muted);position:relative}
.gf-stakerow input,.gf-field>input,.gf-field select{width:104px;min-height:40px;padding:6px 10px;border-radius:var(--r-sm);border:1px solid var(--accent-line);background:var(--surface-2);color:var(--text);font-family:var(--font-mono);font-weight:500;font-size:var(--fs-body)}
.gf-field select{width:72px}
.gf-field input:focus,.gf-field select:focus{outline:none;border-color:var(--accent)}
.gf-field input:disabled,.gf-field select:disabled{opacity:.7}
.gf-return strong{min-height:40px;display:flex;align-items:center;font-family:var(--font-mono);font-weight:500;font-size:var(--fs-body);color:var(--text)}
.gf-go,.gf-login,.gf-ghost{min-height:40px;border-radius:var(--r-sm);font-family:var(--font-display);font-weight:500;font-size:var(--fs-small);padding:0 var(--sp-4);cursor:pointer}
.gf-go{background:var(--accent-fill);border:1px solid var(--accent-fill);color:var(--on-accent);padding:0 var(--sp-5);white-space:nowrap}
.gf-go:hover{background:var(--accent-fill-hover);border-color:var(--accent-fill-hover)}
.gf-go[disabled]{background:#17408f;border-color:#17408f;color:#fff;cursor:progress}
.gf-ghost{background:transparent;border:1px solid var(--line-strong);color:var(--text-muted);padding:0 var(--sp-3);font-size:var(--fs-label)}
.gf-ghost:hover{border-color:var(--gold-line);color:var(--gold)}
.gf-login{background:transparent;border:1px solid var(--accent-line);color:var(--accent-text)}
.gf-login:hover{background:var(--accent-wash);border-color:var(--accent)}
.gf-msg{min-height:22px;margin:var(--sp-2) 0 0;font-size:var(--fs-body);font-weight:500}
.gf-msg.win{color:var(--success)}.gf-msg.lose{color:var(--danger)}
.gf-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap;margin-top:var(--sp-3);padding:var(--sp-2) var(--sp-3);border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}
.gf-foot p{margin:0;font-size:var(--fs-small);color:var(--text-muted)}
.gf-foot .gf-ghost{margin-left:auto}

/* quick stake chips live under the stake field */
.gf-stakerow{display:flex;align-items:center;gap:4px}
.gf-chips{display:flex;gap:4px}
.gf-chip{min-height:26px;min-width:34px;padding:0 6px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:var(--surface-2);color:#d6d6d6;font:500 12px var(--font-mono);cursor:pointer}
.gf-chip:hover{border-color:var(--accent-line);color:#fff}
.gf-chip[disabled]{opacity:.5;cursor:default}

/* ---- free spin machine ---- */
.gf-cabinet{position:relative;padding:12px 12px 14px;border-radius:14px;background:linear-gradient(#17120a,#0d0b08);border:2px solid #8a6a2a;box-shadow:inset 0 0 24px #000,0 0 0 1px #000;--cell:64px;overflow:hidden;transition:box-shadow .3s}
.gf-lamps{display:flex;justify-content:space-between;margin:0 6px 10px}
.gf-lamps i{width:9px;height:9px;border-radius:50%;background:#4a3a14;box-shadow:0 0 0 1px #000}
.gf-cabinet.spinning .gf-lamps i{animation:gflamp .5s infinite}
.gf-cabinet.spinning .gf-lamps i:nth-child(odd){animation-delay:.25s}
.gf-cabinet.anticipate .gf-lamps i,.gf-cabinet.anticipate2 .gf-lamps i{animation:gflamp .14s infinite}
.gf-cabinet.win .gf-lamps i{animation:gflamp .22s infinite;background:#ffd36a}
@keyframes gflamp{0%,49%{background:#4a3a14;box-shadow:0 0 0 1px #000}50%,100%{background:#ffd36a;box-shadow:0 0 8px #ffd36a,0 0 0 1px #000}}
.gf-reels{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gf-reel{position:relative;height:calc(var(--cell) * 3);overflow:hidden;border-radius:8px;background:linear-gradient(#0b0d12,#10141b 50%,#0b0d12);border:1px solid #2a2f3a}
.gf-reel::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(#000d,#0000 30%,#0000 70%,#000d)}
.gf-track{position:absolute;left:0;right:0;top:0;will-change:transform}
.gf-reel.spinning .gf-track{filter:blur(2.4px)}
.gf-reel.bump{animation:gfbump .25s ease-out}
@keyframes gfbump{40%{transform:translateY(3px)}}
.gf-cell,.gf-sym{display:grid;place-items:center;font-family:var(--font-display);font-weight:700;color:#cfe1ff}
.gf-cell{height:var(--cell);font-size:calc(var(--cell) * .46)}
.gf-cell[data-t="1"],.gf-sym[data-t="1"]{color:#7ee3f5}
.gf-cell[data-t="2"],.gf-sym[data-t="2"]{color:#c9a7ff}
.gf-cell[data-t="3"],.gf-sym[data-t="3"]{color:#ffd36a}
.gf-cell[data-t="4"],.gf-sym[data-t="4"]{color:#ffb066}
.gf-cell[data-t="5"],.gf-sym[data-t="5"]{color:#ff9a9a}
.gf-cell[data-t="6"],.gf-sym[data-t="6"]{color:#ffe28a}
.gf-cell[data-t="7"],.gf-sym[data-t="7"]{color:#ffe28a}
.gf-cell[data-t="8"],.gf-sym[data-t="8"]{color:#7dffb0}
.gf-cell.pulse{animation:gfcell .45s ease-in-out infinite alternate;text-shadow:0 0 14px currentColor}
@keyframes gfcell{to{transform:scale(1.22)}}
.gf-winline{position:absolute;left:-4px;right:-4px;top:var(--cell);height:var(--cell);border-top:2px solid #d9a441aa;border-bottom:2px solid #d9a441aa;pointer-events:none;z-index:3;transition:box-shadow .2s}
.gf-cabinet.anticipate .gf-winline,.gf-cabinet.anticipate2 .gf-winline{border-color:#ffe28a;animation:gfwin .3s ease-in-out infinite alternate}
.gf-cabinet.anticipate2 .gf-winline{animation-duration:.16s}
.gf-cabinet.win .gf-winline{border-color:#fff;box-shadow:0 0 18px #ffd36a,inset 0 0 18px #ffd36a66;animation:gfwin .2s ease-in-out infinite alternate}
@keyframes gfwin{from{box-shadow:0 0 6px #ffd36a,inset 0 0 6px #ffd36a44}to{box-shadow:0 0 22px #ffd36a,inset 0 0 22px #ffd36a88}}
.gf-cabinet.win{box-shadow:inset 0 0 24px #000,0 0 28px #d9a44188}
.gf-payout{position:absolute;left:50%;bottom:16px;transform:translate(-50%,0) scale(.6);z-index:5;opacity:0;pointer-events:none;padding:6px 16px;border-radius:10px;background:#000000d9;border:2px solid #ffd36a;color:#ffe28a;font:700 calc(var(--cell) * .4) var(--font-mono);white-space:nowrap;transition:opacity .15s,transform .25s cubic-bezier(.2,1.6,.4,1)}
.gf-payout.on{opacity:1;transform:translate(-50%,0) scale(1)}
.gf-prize{position:absolute;left:8px;right:8px;top:8px;z-index:5;padding:8px 10px;border-radius:8px;text-align:center;background:linear-gradient(#ffe28a,#d9a441);color:#1a1100;font:700 15px var(--font-display);animation:gfprize .5s ease-in-out infinite alternate}
.gf-prize[hidden]{display:none}
@keyframes gfprize{to{transform:scale(1.04)}}
.gf-spinbtn{position:relative;width:min(100%,300px);min-height:64px;border-radius:var(--r-round);border:3px solid #d9a441;background:linear-gradient(#4a8bff,#1f69f2 60%,#1553c7);color:#fff;font:700 22px var(--font-display);letter-spacing:4px;cursor:pointer;box-shadow:0 6px 0 #0d2a6b,0 12px 22px #0009;transition:transform .08s,box-shadow .08s}
.gf-spinbtn:hover{filter:brightness(1.1)}
.gf-spinbtn:active:not([disabled]){transform:translateY(5px);box-shadow:0 1px 0 #0d2a6b,0 3px 8px #0009}
.gf-spinbtn[disabled]{background:#17408f;border-color:#8a6a2a;color:#fff;cursor:progress;transform:translateY(3px);box-shadow:0 3px 0 #0d2a6b}
.gf-spinbtn:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ---- Bolt Strike: the arena takes the stage, a bar pinned to the bottom; games-fill.js places the art and everything on it ---- */
.gf-game.gf-strike{max-width:1100px;margin:0 auto calc(var(--pb,16px) * -1);padding:0;border:0;border-radius:0;background:none;overflow:visible}
.gf-strike.gf-game:focus-visible{box-shadow:none}
.gf-strike:focus-visible .gf-arena{box-shadow:0 0 0 2px var(--accent)}
.gf-strike .sm{display:none}
.gf-arena{position:relative;height:var(--fh,420px);border-radius:var(--r-md);overflow:hidden;border:1px solid #8a6a2a;background:#04100c url(../img/games/bolt-strike-arena.webp) no-repeat;background-size:var(--bsz,cover);background-position:var(--bpos,50% 50%)}
.gf-arena.tall{background-image:url(../img/games/bolt-strike-arena-tall.webp)}
.gf-arena::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#02060866,#0000 28%,#0000 62%,#02060873);box-shadow:inset 0 0 80px #000a}
.gf-sky{position:absolute;inset:0;background:#02040c;opacity:0;transition:opacity 1.3s ease-in;z-index:1}
.gf-arena.charging .gf-sky{opacity:.62}
.gf-logo{position:absolute;top:6px;left:50%;transform:translateX(-50%);height:var(--logo,92px);width:auto;max-width:none;object-fit:contain;filter:drop-shadow(0 3px 8px #000);pointer-events:none;z-index:2}
.gf-arena>.gf-sw{position:absolute;left:8px;right:8px;top:8px;justify-content:space-between;z-index:4;pointer-events:none}
.gf-arena>.gf-sw .gf-tg{pointer-events:auto}
/* the towers' orbs: dim at rest, a little brighter on the picked side, blazing while it charges, gold once struck */
.gf-rod{position:absolute;top:var(--oy,34%);width:var(--ro,46px);height:var(--ro,46px);margin:calc(var(--ro,46px) / -2) 0 0 calc(var(--ro,46px) / -2);border-radius:50%;z-index:2;pointer-events:none;background:radial-gradient(circle,#bcd3ff 0,#5b96ff 28%,#2170ff00 68%);mix-blend-mode:screen;opacity:.2;transform:scale(.8);transition:opacity .4s,transform .4s}
.gf-rod.left{left:var(--lx,25%)}.gf-rod.right{left:var(--rx,75%)}
.gf-rod.sel{opacity:.65;transform:scale(1)}
.gf-arena.charging .gf-rod{opacity:1;animation:gfrod .28s ease-in-out infinite alternate;transition:opacity 1.5s,transform 1.5s;transform:scale(1.55)}
.gf-rod.struck{opacity:1;transform:scale(1.35);background:radial-gradient(circle,#fff6c4 0,#ffc94d 28%,#ffb30000 68%)}
@keyframes gfrod{to{filter:brightness(1.7) blur(1px)}}
/* this round */
.gf-now{position:absolute;left:50%;top:var(--nt,100px);width:var(--nw,360px);transform:translateX(-50%);z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px 4px;padding:5px 8px 6px;border-radius:8px;background:#050a08d9;border:1px solid #ffffff26;text-align:center;pointer-events:none}
.gf-now .gf-hud-l{grid-column:1/-1}
.gf-nc{display:grid;min-width:0}
.gf-nc i{font-style:normal;font-size:10px;color:#aab5ae;white-space:nowrap}
.gf-nc b{font:500 15px/1.25 var(--font-mono);color:#fff;white-space:nowrap}
.gf-nc b.win,.gf-slast b.win{color:#5fe07f}.gf-nc b.lose,.gf-slast b.lose{color:#ff9a9a}
.gf-nonow .gf-now{display:none}
/* last strikes: between the two plates on a wide arena, a row of dots under "this round" on a narrow one */
.gf-slast .gf-last-h{display:block;font:500 10px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#b9c4bd}
.gf-slast ol{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:3px}
.gf-slast li{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:7px;font:500 11px var(--font-mono);color:#dfe6e1;white-space:nowrap}
.gf-slast li .b{color:#bcc6c0;overflow:hidden;text-overflow:ellipsis}
.gf-slast li b{font-weight:500;text-align:right}
.gf-slast li.empty{display:block;font:400 12px var(--font-body);color:#aab5ae}
.gf-slast .gf-dot{width:16px;height:16px;font-size:9px}
.gf-slast.corner{position:absolute;left:50%;bottom:calc(var(--lg,32px) + 8px);width:var(--lw,220px);max-height:var(--listh,130px);transform:translateX(-50%);z-index:3;overflow:hidden;padding:7px 10px 8px;border-radius:8px;background:#050a08e0;border:1px solid #ffffff26}
/* a narrow list between the plates drops the word "picked" so the stake is never cut off */
.gf-strike:not(.gf-compact) .gf-slast.corner{container-type:inline-size}
.gf-slast li .gf-pk{font-style:normal}
@container (max-width:204px){.gf-slast.corner li .gf-pk{display:none}}
.gf-slast.full{display:none;padding:10px 12px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}
.gf-nolast .gf-slast.corner{display:none}
.gf-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font:700 11px var(--font-mono);font-style:normal;color:#fff}
.gf-dot.w{background:#0a4d1d;border:1px solid var(--success)}.gf-dot.l{background:#4d1313;border:1px solid var(--danger)}
.gf-streak{color:var(--gold);font-weight:500}
/* the two pads: each is the whole side from the tower's tip down, with its plate at the foot */
.gf-pads{position:absolute;inset:0;z-index:3;pointer-events:none}
.gf-pad{position:absolute;top:var(--pt,40%);bottom:calc(var(--lg,32px) + 8px);width:var(--pw,40%);display:flex;flex-direction:column;justify-content:flex-end;padding:0;border:0;border-radius:14px;background:none;color:#fff;font:inherit;cursor:pointer;pointer-events:auto}
.gf-pad.left{left:var(--pe,10px)}.gf-pad.right{right:var(--pe,10px)}
.gf-pad:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}
.gf-pad[disabled]{cursor:default}
.gf-plate{position:relative;display:grid;align-content:center;justify-items:center;gap:1px;height:var(--plate,92px);width:100%;border-radius:var(--r-md);border:1px solid #ffffff4d;background:#0a0a0ad1;transition:border-color .12s,opacity .3s,box-shadow .2s,transform .12s}
.gf-pad:hover:not([disabled]) .gf-plate{border-color:var(--accent-line);transform:translateY(-2px)}
.gf-plate b{font:600 var(--pf,22px)/1.1 var(--font-display);letter-spacing:2px}
.gf-plate small{font-family:var(--font-mono);font-size:var(--fs-label);color:#d2d2d2;white-space:nowrap}
.gf-pad-ico{font:700 calc(var(--pf,22px) * 1.15)/1 var(--font-display);color:#8fb8ff;filter:drop-shadow(0 0 6px #2170ff)}
.gf-tag{position:absolute;left:8px;top:6px;font:700 10px var(--font-mono);font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:#9cc0ff}
.gf-pad.on .gf-tag::before{content:"Your pick"}
.gf-pad.hit .gf-tag::before{content:"Struck";color:#ffe28a}
.gf-pad.hit.on .gf-tag::before{content:"Struck · your pick"}
.gf-tight .gf-pad.hit.on .gf-tag::before{content:"Struck · yours"}
.gf-pad.on .gf-plate{background:#0a1a3ae0;border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 0 26px #2170ff66}
.gf-pad.on .gf-pad-ico{color:#fff}
.gf-pad.miss.on .gf-plate{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}
.gf-pad.miss.on .gf-tag::before{color:#ff9a9a}
.gf-pad.hit .gf-plate{border-color:#ffd36a;box-shadow:0 0 0 2px #ffd36a,0 0 34px #ffd36a99;background:#1d1604e6}
.gf-pad.hit.won .gf-plate{border-color:var(--success);box-shadow:0 0 0 2px var(--success),0 0 34px #00ac26cc;background:#06240fe6}
.gf-pad.dim:not(.on) .gf-plate{opacity:.5}
.gf-arena.charging .gf-pad.on .gf-plate{animation:gfpadc .3s ease-in-out infinite alternate}
@keyframes gfpadc{to{box-shadow:0 0 0 1px var(--accent),0 0 38px #2170ff}}
/* the strike itself */
.gf-impact{position:absolute;left:var(--ix,50%);top:var(--iy,30%);width:70%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fff 0,#9cc2ffb3 14%,#2170ff40 36%,#2170ff00 66%);mix-blend-mode:screen;opacity:0;pointer-events:none;z-index:5}
.gf-impact.go{animation:gfimpact .9s ease-out}
@keyframes gfimpact{0%{opacity:1;transform:translate(-50%,-50%) scale(.45)}25%{opacity:.5}35%{opacity:.95}100%{opacity:0;transform:translate(-50%,-50%) scale(1.15)}}
.gf-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:5}
.gf-flash.go{animation:gfflash .6s ease-out}
@keyframes gfflash{0%{opacity:.85}100%{opacity:0}}
.gf-arena::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;z-index:2}
.gf-arena.wash-win::after{background:radial-gradient(ellipse at 50% 0,#5fe07f59,#5fe07f00 70%);animation:gfwash 1.4s ease-out}
.gf-arena.wash-lose::after{background:radial-gradient(ellipse at 50% 0,#ef6c6347,#ef6c6300 70%);animation:gfwash 1.4s ease-out}
@keyframes gfwash{from{opacity:1}to{opacity:0}}
.gf-arena.shake{animation:gfshake .45s linear}
@keyframes gfshake{10%{transform:translate(-5px,3px)}30%{transform:translate(5px,-3px)}50%{transform:translate(-3px,2px)}70%{transform:translate(3px,-2px)}90%{transform:translate(-1px,1px)}}
@media (prefers-reduced-motion:reduce){.gf-arena.charging .gf-rod,.gf-arena.charging .gf-pad.on .gf-plate{animation:none}.gf-arena.wash-win::after,.gf-arena.wash-lose::after{animation:none}}
/* ledge: the result line, on the arena's foot */
.gf-sledge{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:center;gap:4px 10px;min-height:32px;padding:3px 10px;background:#030806eb;border-top:1px solid #8a6a2a99}
.gf-sledge .gf-msg{order:1;flex:0 1 auto;min-width:0;min-height:0;margin:0;font-size:13px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gf-sledge .gf-hint{order:1;display:none;font-size:13px;line-height:18px;color:#b9c4bd}
.gf-sledge .gf-msg:empty+.gf-hint{display:inline}
.gf-sledge .gf-streak{order:2;flex:none;margin-left:auto;font-size:12px}
.gf-sledge .gf-demo-pill{order:0;flex:none;font-size:10px;padding:1px 7px}
/* under the arena */
.gf-strike .gf-under .gf-foot{margin-top:0}
/* ---- Satoshi Falls: a full-stage board, corner panels on the board, a bar pinned to the bottom of the stage ---- */
.gf-falls{max-width:1100px;margin:0 auto calc(var(--pb,16px) * -1);padding:0;border:0;border-radius:0;background:none;overflow:visible}
.gf-falls:focus-visible{box-shadow:none}
.gf-falls:focus-visible .gf-fboard{box-shadow:0 0 0 2px var(--accent)}
.gf-falls .sm{display:none}
.gf-fboard{position:relative;height:var(--fh,420px);border-radius:var(--r-md);overflow:hidden;border:1px solid #8a6a2a;background:#04120a url(../img/games/satoshi-falls-backdrop.webp) center bottom/cover}
.gf-fboard::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#020a06a6,#020a0680 45%,#020a06a6);box-shadow:inset 0 0 70px #000c}
.gf-spot{position:absolute;left:50%;top:0;width:min(60%,440px);height:46%;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 0,#ffe9a04d 0,#ffe9a000 70%);pointer-events:none;z-index:1}
.gf-fcanvas{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2;pointer-events:none}
.gf-fplaque{position:absolute;left:50%;top:5px;height:var(--ph,40px);width:auto;max-width:none;transform:translateX(-50%);z-index:3;pointer-events:none;filter:drop-shadow(0 3px 8px #000)}
/* corner panels: sound + this round on the left, risk + last drops on the right */
.gf-fc{position:absolute;top:8px;z-index:4;width:var(--cw,180px);max-height:var(--ch,200px);overflow:hidden;display:flex;flex-direction:column;gap:6px}
.gf-fc.l{left:8px}.gf-fc.r{right:8px}
.gf-fc .gf-sw{display:grid;grid-template-columns:1fr 1fr;gap:4px;flex:none}
.gf-fc .gf-tg{padding:0 4px;white-space:nowrap;background:#0a0a0ad9}
.gf-tg b{font-weight:inherit}.gf-tg i{font-style:normal}
.gf-risk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:none}
.gf-riskb{min-height:32px;padding:0 4px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:#0a0a0ad9;color:#e6e6e6;font:500 12px var(--font-display);cursor:pointer}
.gf-riskb:hover:not([disabled]){border-color:var(--accent-line)}
.gf-riskb.on{border-color:var(--accent);background:#0a1a3af2;color:#fff}
.gf-riskb[disabled]{opacity:.6;cursor:default}
.gf-hud,.gf-last.corner{flex:0 1 auto;min-height:0;overflow:hidden;padding:8px 10px;border-radius:8px;background:#050a08e0;border:1px solid #ffffff24}
.gf-hud{display:grid;gap:1px}
.gf-hud-l,.gf-last-h{display:block;font:500 10px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#b9c4bd}
.gf-hud-n{font:500 28px/1.1 var(--font-mono);color:#ffe28a;font-variant-numeric:tabular-nums}
.gf-hud-s{font-size:11px;color:#cfd6d1}
.gf-hud-net{font:500 12px var(--font-mono);min-height:16px}
.gf-hud-net.win,.gf-last b.win,.gf-coins td.win,.gf-sess.win{color:#5fe07f}
.gf-hud-net.lose,.gf-last b.lose,.gf-coins td.lose,.gf-sess.lose{color:#ff9a9a}
.gf-last ol{list-style:none;margin:5px 0 0;padding:0;display:grid;gap:3px}
.gf-last li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;font:500 11px var(--font-mono);color:#dfe6e1;white-space:nowrap}
.gf-last li .b{color:#aab5ae;overflow:hidden;text-overflow:ellipsis}
.gf-last li b{font-weight:500;text-align:right}
.gf-last li.empty{display:block;white-space:normal;font:400 12px var(--font-body);color:#aab5ae}
/* slots, landing marks, pops */
.gf-fslots{position:absolute;left:var(--sx,8px);right:var(--sx,8px);bottom:var(--lh,28px);height:var(--sh,38px);display:grid;grid-template-columns:repeat(var(--n,17),minmax(0,1fr));z-index:3}
.gf-fslot{position:relative;display:grid;place-items:center;margin:0 1.5px;border-radius:4px 4px 7px 7px;border-top:3px solid #ffffff73;font:700 var(--sf,12px) var(--font-mono);color:#0a0a0a;white-space:nowrap;box-shadow:inset 0 -9px 10px #00000059,inset 0 4px 5px #00000066,0 0 0 1px #000}
.gf-fslot b{display:inline-block;font-weight:700;letter-spacing:-.03em;transform:scaleX(var(--kx,1))}
.gf-fslot.hot{background:linear-gradient(#ff9a9a,#e04848)}.gf-fslot.warm{background:linear-gradient(#f2c566,#c4902c)}.gf-fslot.even{background:linear-gradient(#37e05a,#06a826)}.gf-fslot.cold{background:linear-gradient(#4a4a4a,#262626);color:#fff;border-top-color:#ffffff40}
.gf-fslot.mark{z-index:1;box-shadow:inset 0 -9px 10px #00000040,0 0 0 2px #fff,0 0 14px #ffd36a}
.gf-fcnt{position:absolute;left:50%;bottom:calc(100% + 4px);transform:translateX(-50%);display:none;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#fff;color:#0a0a0a;font:700 10px/16px var(--font-mono);text-align:center;box-shadow:0 1px 4px #000}
.gf-fslot.mark .gf-fcnt{display:block}
.gf-fslot.hit{animation:gfslot .5s ease-out}
@keyframes gfslot{0%{transform:translateY(0)}30%{transform:translateY(-6px) scale(1.16);filter:brightness(1.5)}100%{transform:translateY(0)}}
.gf-pop{position:absolute;left:var(--x);bottom:calc(var(--lh,28px) + var(--sh,38px) + 24px);z-index:5;padding:2px 7px;border-radius:6px;background:#000d;color:#fff;font:700 12px var(--font-mono);white-space:nowrap;pointer-events:none;animation:gfpop 1.2s ease-out forwards}
.gf-pop.warm{color:#ffd36a}.gf-pop.hot{color:#ff9a9a;font-size:14px}
@keyframes gfpop{0%{opacity:0;transform:translate(-50%,6px) scale(.7)}15%{opacity:1;transform:translate(-50%,-6px) scale(1.15)}100%{opacity:0;transform:translate(-50%,-48px) scale(1)}}
/* ledge: the result line, on the board under the slots */
.gf-ledge{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:center;gap:4px 10px;min-height:28px;padding:3px 10px;background:#030806f0;border-top:1px solid #8a6a2a99}
.gf-ledge .gf-msg{flex:1 1 auto;min-width:0;min-height:0;margin:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gf-msg.idle{color:#b9c4bd;font-weight:400}
.gf-ledge .gf-demo-pill{flex:none;font-size:10px;padding:1px 7px}
.gf-ledge .gf-streak{flex:none;font-size:12px}
.gf-sess{font:500 11px var(--font-mono);color:var(--text-muted);white-space:nowrap}
.gf-pbar .gf-sess{white-space:normal;line-height:13px}
.gf-rtag{display:none;order:3;flex:none;font:500 10px var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--gold)}
/* under the board */
.gf-under{display:grid;gap:var(--sp-2);margin-top:var(--sp-2)}
.gf-last.full{display:none;padding:10px 12px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}
.gf-coins{padding:0 12px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}
.gf-coins summary{padding:11px 0;cursor:pointer;font:500 13px var(--font-display);color:var(--text)}
.gf-coins-note,.gf-coins-empty{margin:0 0 10px;font-size:var(--fs-small);color:var(--text-muted)}
.gf-coins-scroll{max-height:260px;overflow:auto;margin-bottom:10px}
.gf-coins-scroll[hidden],.gf-coins-empty[hidden]{display:none}
.gf-coins table{width:100%;border-collapse:collapse;font:400 12px var(--font-mono)}
.gf-coins th{position:sticky;top:0;background:var(--surface-2);text-align:left;font-weight:500;color:var(--text-muted);padding:4px 6px}
.gf-coins td{padding:4px 6px;border-top:1px solid var(--line);color:var(--text);white-space:nowrap}
.gf-coins .num{text-align:right}
.gf-under .gf-foot{margin-top:0}
.gf-go b{font-weight:inherit}
.gf-go small{font-size:inherit}.gf-go small i{font-style:normal}

/* ---- ONE bar for the two playfields (games-fill.js sizePlayfield): same height, same columns, so Strike stands exactly where Drop does ---- */
.gf-pbar{position:sticky;bottom:calc(var(--pb,16px) * -1);z-index:8;box-sizing:border-box;height:78px;display:grid;grid-template-columns:120px auto 256px 136px minmax(0,1fr);grid-template-areas:"bal ref stake mid go";grid-template-rows:auto;align-items:end;align-content:end;gap:0 var(--sp-3);margin:var(--sp-2) calc(var(--px,0px) * -1) 0;padding:8px var(--px,0px) 10px;background:var(--surface-1);border-top:1px solid var(--line-strong);box-shadow:0 -8px 16px #0006}
.gf-pbar>*{min-width:0}
.gf-pbar>.gf-bal-n{grid-area:bal;white-space:nowrap;overflow:hidden}
.gf-pbar>.gf-ghost{grid-area:ref}
.gf-pbar>.gf-fstake{grid-area:stake}
.gf-pbar>.gf-mid{grid-area:mid}
.gf-pbar>.gf-go{grid-area:go;box-sizing:border-box;height:48px;min-height:48px;padding:0 var(--sp-3);font-size:15px;white-space:nowrap;overflow:hidden}
.gf-pbar .gf-stakerow{flex-wrap:nowrap}.gf-pbar .gf-stakerow input{flex:none;width:104px}.gf-pbar .gf-chips,.gf-pbar .gf-chip{flex:none}
.gf-pbar select{width:104px}
.gf-pbar .gf-return strong{flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.15;white-space:nowrap;overflow:hidden;font-style:normal}
.gf-pbar .gf-return strong b{font-weight:inherit}
.gf-pbar .gf-return strong span{font-size:10.5px;color:var(--text-muted)}
.gf-pbar .gf-return i{display:none}
.gf-pbar .gf-return em{font-style:normal}
.gf-tight .gf-pbar{grid-template-columns:100px auto 228px 116px minmax(0,1fr);column-gap:10px}
.gf-tight .gf-pbar .gf-stakerow input{width:92px}
.gf-tight .gf-pbar select{width:96px}
.gf-tight .gf-pbar .gf-chip{min-width:30px;padding:0 4px}
.gf-tight .gf-pbar>.gf-ghost{padding:0 8px}
.gf-tight .gf-pbar .gf-return em{display:none}
.gf-tight .gf-pbar>.gf-go{padding:0 8px;display:grid;place-content:center;justify-items:center;gap:1px;line-height:1.15}
.gf-tight .gf-go small{font-size:12px}.gf-tight .gf-go small i{font-size:0}

/* ---- phone ---- */
@media (max-width:760px){
  .gf-pane{min-width:0}
  .gf-row{margin-top:-8px;margin-bottom:4px;max-width:100%}
  .gf-card,.gf-row-more{height:40px}.gf-row-more{width:36px}
  .gf-card.soon{height:32px}
  .gf-soon-l{padding-left:var(--sp-1)}
  .gf-game{padding:var(--sp-2)}
  .gf-tg,.gf-riskb{min-height:40px}
  .gf-form{align-items:flex-start}
  .gf-form{gap:var(--sp-2)}
  .gf-field{flex:1 1 120px;min-width:0}
  .gf-field input,.gf-field select{width:100%}
  .gf-form>.gf-go{flex:1 1 100%}
  .gf-bal-n{flex:1 1 40%}
  .gf-chip{min-height:36px;flex:1}
  .gf-stakerow{flex-wrap:wrap}.gf-stakerow input{flex:1 1 90px}
  .gf-chips{flex:1 1 100%}
  .gf-foot .gf-login{width:100%}
  /* Satoshi Falls on the phone: the board runs edge to edge */
  .gf-falls{margin-left:calc(var(--pp,12px) * -1);margin-right:calc(var(--pp,12px) * -1);padding:0}
  .gf-fboard{border-radius:0;border-left:0;border-right:0}
  .gf-under{padding:0 var(--pp,12px)}
}
/* Satoshi Falls in a narrow stage (a phone, or a desktop window whose stage is under 660px; class set by games-fill.js):
   controls stack in the board's corners, the balance sits on the ledge, the bar is one row of 44px controls */
.gf-narrow .sm{display:inline}.gf-narrow .lg{display:none}
.gf-narrow .gf-fc{top:4px;gap:3px}.gf-narrow .gf-fc.l{left:4px}.gf-narrow .gf-fc.r{right:4px}
.gf-narrow .gf-fc .gf-sw,.gf-narrow .gf-risk{grid-template-columns:1fr;gap:3px}
.gf-narrow .gf-fc .gf-tg,.gf-narrow .gf-riskb{min-height:40px;padding:0 2px;font-size:11px}
.gf-narrow .gf-fc .gf-tg i{font-size:0}
.gf-narrow .gf-fc .gf-tg[aria-pressed=false]{color:#a8b0ab;text-decoration:line-through}
.gf-narrow .gf-hud,.gf-narrow .gf-last.corner{padding:4px 6px;border-radius:6px}
.gf-narrow .gf-hud-l,.gf-narrow .gf-last-h{font-size:9px}
.gf-narrow .gf-hud-n{font-size:15px}
.gf-narrow .gf-hud-s{font-size:10px}
.gf-narrow .gf-hud-net{display:none}
.gf-narrow .gf-last.corner ol{margin-top:2px;gap:1px}
.gf-narrow .gf-last.corner li{grid-template-columns:1fr;font-size:10px}
.gf-narrow .gf-last.corner li span,.gf-narrow .gf-last.corner.none,.gf-narrow .gf-last.corner.cut,.gf-narrow .gf-hud.cut .gf-hud-s{display:none}
.gf-narrow .gf-last.full{display:block}
.gf-narrow .gf-fslot{margin:0 .5px;border-top-width:2px;border-radius:3px 3px 5px 5px}
.gf-narrow .gf-fcnt{min-width:13px;height:13px;padding:0 2px;font-size:9px;line-height:13px;bottom:calc(100% + 2px)}
.gf-narrow .gf-ledge{flex-wrap:wrap;padding:3px 8px 4px}
.gf-narrow .gf-ledge .gf-msg{order:1;flex:1 1 100%;min-height:17px;font-size:12px;line-height:17px}
.gf-narrow .gf-ledge .gf-streak{order:4;font-size:11px}
.gf-narrow .gf-ledge .gf-bal-n{order:3;flex:1 1 0;flex-direction:row;align-items:baseline;gap:6px;min-width:0;white-space:nowrap;overflow:hidden}
.gf-narrow .gf-ledge .gf-bal-n strong{font-size:14px}
.gf-narrow .gf-ledge .gf-bal-n .gf-sess{overflow:hidden;text-overflow:ellipsis}
.gf-narrow .gf-ledge .gf-demo-pill{order:5}
.gf-narrow .gf-pbar{grid-template-columns:auto 70px minmax(0,1fr);grid-template-areas:"stake mid go";align-items:stretch;gap:0 6px;height:calc(61px + env(safe-area-inset-bottom));margin-top:0;padding:6px max(8px,var(--px,0px)) calc(6px + env(safe-area-inset-bottom))}
.gf-narrow .gf-pbar>.gf-ghost{display:none}
.gf-narrow .gf-pbar .gf-field{position:relative}
.gf-narrow .gf-pbar .gf-field>span{position:absolute;left:9px;top:4px;z-index:1;font-size:9px;line-height:1;pointer-events:none;white-space:nowrap}
.gf-narrow .gf-pbar .gf-stakerow{gap:4px}
.gf-narrow .gf-pbar .gf-stakerow input{width:84px;height:48px;min-height:48px;padding:15px 4px 2px 8px}
.gf-narrow .gf-pbar select{width:70px;height:48px;min-height:48px;padding:15px 2px 2px 6px}
.gf-narrow .gf-pbar .gf-return strong{display:block;box-sizing:border-box;width:70px;height:48px;min-height:48px;padding:18px 3px 0 8px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface-2);font-size:13px}
.gf-narrow .gf-pbar .gf-return strong span{display:none}
.gf-narrow .gf-pbar .gf-chips{gap:4px}
.gf-narrow .gf-pbar .gf-chip{min-width:40px;min-height:48px}
.gf-narrow .gf-pbar .gf-chip.edge{display:none}
.gf-narrow .gf-pbar>.gf-go{padding:0 4px;display:grid;place-content:center;justify-items:center;gap:2px;font-size:13px;line-height:1.1;white-space:normal}
.gf-narrow .gf-go small{font-size:10px}.gf-narrow .gf-go small i{font-size:0}
.gf-narrow.gf-broke .gf-pbar{grid-template-columns:auto auto 70px minmax(0,1fr);grid-template-areas:"ref stake mid go"}
.gf-narrow.gf-broke .gf-pbar>.gf-ghost{display:block;min-height:48px;padding:0 8px}
.gf-narrow.gf-broke .gf-pbar .gf-chips{display:none}
.gf-narrow.gf-broke .gf-pbar .gf-stakerow input{width:74px}
.gf-narrow.gf-broke .gf-pbar>.gf-go{font-size:12px}
.gf-xnarrow .gf-pbar .gf-chips{display:none}
.gf-xnarrow .gf-pbar .gf-stakerow input{width:92px}
.gf-xnarrow .gf-ledge .gf-msg{font-size:11px}

/* ---- phones, all three games ---- */
/* a double tap never zooms the page; the main button of each game is at least 48px tall; fields are 16px so iOS does not zoom on focus */
.gf-game,.gf-game button,.gf-game input,.gf-game select,.gf-game summary,.gf-row,.gf-row-in,.gf-card,.gf-row-more{touch-action:manipulation}
.gf-go{min-height:48px}
.gf-narrow input,.gf-narrow select,.gf-compact input,.gf-compact select{font-size:16px}
@media (max-width:760px),(pointer:coarse){.gf-game input,.gf-game select{font-size:16px}}
@media (pointer:coarse){.gf-card,.gf-row-more{height:40px}.gf-tg,.gf-riskb{min-height:40px}}

/* Bolt Strike in a narrow stage (class gf-compact, set from the stage's width): arena edge to edge, balance on the ledge,
   the bar is one row of 48px controls */
@media (max-width:760px){
  .gf-game.gf-strike{margin-left:calc(var(--pp,12px) * -1);margin-right:calc(var(--pp,12px) * -1);padding:0}
  .gf-strike .gf-arena{border-radius:0;border-left:0;border-right:0}
}
.gf-compact .gf-arena>.gf-sw{left:6px;right:6px;top:6px}
.gf-compact .gf-arena>.gf-sw .gf-tg{min-height:40px;padding:0 8px;font-size:11px}
.gf-compact .gf-arena>.gf-sw .gf-tg i{font-size:0}
.gf-compact .gf-arena>.gf-sw .gf-tg[aria-pressed=false]{color:#a8b0ab;text-decoration:line-through}
.gf-compact .gf-now{padding:3px 6px 4px}
.gf-compact .gf-now .gf-hud-l{font-size:9px}
.gf-compact .gf-nc i{font-size:9px}
.gf-compact .gf-nc b{font-size:13px}
.gf-compact .gf-now2 .gf-now{grid-template-columns:1fr 1fr;padding:2px 4px 3px}
.gf-compact .gf-now2 .gf-nc b{font-size:12px;line-height:15px}
.gf-compact .gf-now2 .gf-nc i{line-height:11px}
.gf-compact .gf-now2 .gf-hud-l{font-size:8px;letter-spacing:.02em;white-space:nowrap}
.gf-now2 .gf-pad-ico{display:none}
.gf-compact .gf-slast.corner{top:var(--lt,110px);bottom:auto;width:auto;max-width:calc(100% - 16px);max-height:none;display:flex;align-items:center;gap:8px;padding:4px 8px;white-space:nowrap}
.gf-compact.gf-strike .gf-nolast .gf-slast.corner{display:none}
.gf-compact .gf-slast.corner ol{display:flex;gap:4px;margin:0}
.gf-compact .gf-slast.corner li{display:block}
.gf-compact .gf-slast.corner li .b,.gf-compact .gf-slast.corner li b{display:none}
.gf-compact .gf-slast.corner li.empty{font-size:11px}
.gf-compact .gf-slast.full{display:block}
.gf-compact .gf-tag{left:6px;top:4px;font-size:9px;letter-spacing:0}
.gf-compact .gf-pad.hit.on .gf-tag::before{content:"Struck · yours"}
/* the narrowest pads: the long tag ran into the bolt icon */
.gf-compact.gf-xnarrow .gf-pad.hit.on .gf-tag::before{content:"You won"}
.gf-compact .gf-sledge{flex-wrap:wrap;gap:0 8px;padding:3px 8px 4px}
.gf-compact .gf-sledge .gf-msg{flex:1 1 100%;font-size:12px;line-height:17px;min-height:17px}
.gf-compact .gf-sledge .gf-msg:empty{flex:0 0 0;min-height:0}
.gf-compact .gf-sledge .gf-hint{flex:1 1 100%;font-size:12px;line-height:17px}
.gf-xnarrow .gf-sledge .gf-msg{white-space:normal;min-height:32px;line-height:16px;font-size:11px}
.gf-xnarrow .gf-sledge .gf-msg:empty{min-height:0}
.gf-xnarrow .gf-sledge .gf-hint{min-height:32px;line-height:32px}
.gf-compact .gf-sledge .gf-bal-n{order:3;flex:1 1 0;flex-direction:row;align-items:baseline;gap:6px;min-width:0;white-space:nowrap;overflow:hidden}
.gf-compact .gf-sledge .gf-bal-n strong{font-size:14px}
.gf-compact .gf-sledge .gf-bal-n .gf-sess{overflow:hidden;text-overflow:ellipsis}
.gf-compact .gf-sledge .gf-streak{order:4;margin-left:0;font-size:11px}
.gf-compact .gf-sledge .gf-demo-pill{order:5}



/* ---- a low stage (class gf-short, set by games-fill.js: under 330px high, or under 440px for Satoshi Falls in a narrow stage) ----
   the switcher sits under the game, and each game shows its board and its main button together */
.gf-row.gf-short{margin:var(--sp-2) auto}
.gf-short.gf-game{margin-bottom:var(--sp-2)}
/* Satoshi Falls: the board is the playfield only; sound and risk sit under it, one scroll away */
.gf-short .gf-fplaque,.gf-short .gf-hud,.gf-short .gf-last.corner,.gf-short .gf-spot{display:none}
.gf-short .gf-under{margin-top:var(--sp-2)}
.gf-short .gf-under>.gf-fc{position:static;width:auto;max-height:none;overflow:visible;margin-bottom:6px}
.gf-short .gf-under .gf-fc .gf-sw{grid-template-columns:1fr 1fr}
.gf-short .gf-under .gf-risk{grid-template-columns:repeat(3,minmax(0,1fr))}
.gf-short .gf-under .gf-fc .gf-tg,.gf-short .gf-under .gf-riskb{min-height:40px;font-size:12px;text-decoration:none}
.gf-short .gf-under .gf-fc .gf-tg i{font-size:inherit}
.gf-short .gf-ledge{flex-wrap:nowrap;min-height:20px;padding:1px 8px}
.gf-short .gf-ledge .gf-msg{order:1;flex:1 1 0;min-height:0;font-size:11px;line-height:16px}
.gf-short .gf-ledge .gf-bal-n{order:2;flex:none}
.gf-short .gf-ledge .gf-bal-n strong{font-size:12px}
.gf-short .gf-ledge .gf-sess,.gf-short .gf-ledge .gf-streak,.gf-short .gf-ledge .gf-demo-pill{display:none}
.gf-short .gf-fcnt{display:none}
.gf-short.gf-narrow .gf-rtag{display:inline}
.gf-short.gf-narrow .gf-pbar{height:calc(59px + env(safe-area-inset-bottom));padding-top:4px}
/* while a result is on the ledge it gets the room: the risk tag and the balance's label step aside */
.gf-short .gf-ledge:has(.gf-msg.win,.gf-msg.lose) .gf-rtag,.gf-short .gf-ledge:has(.gf-msg.win,.gf-msg.lose) .gf-bal-n>span:first-child{display:none}
/* Bolt Strike on a very low arena (class gf-tiny, from the arena's own height): the playfield and the two pads only, one line for the result */
.gf-tiny .gf-now,.gf-tiny .gf-logo,.gf-tiny .gf-slast.corner,.gf-tiny .gf-pad-ico,.gf-tiny .gf-tag,.gf-tiny .gf-pad-pays{display:none}
.gf-tiny .gf-arena>.gf-sw .gf-tg{min-height:30px}
.gf-tiny .gf-plate{border-radius:var(--r-sm)}
.gf-tiny .gf-plate b{letter-spacing:1px}
.gf-tiny .gf-sledge{flex-wrap:nowrap;min-height:22px;padding:1px 8px}
.gf-tiny .gf-sledge .gf-msg,.gf-tiny .gf-sledge .gf-hint{order:1;flex:1 1 0;min-height:0;font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gf-tiny .gf-sledge .gf-msg:empty{flex:0 0 0}
.gf-tiny .gf-sledge .gf-bal-n{order:2;flex:none}
.gf-tiny .gf-sledge .gf-bal-n strong{font-size:12px}
.gf-tiny .gf-sledge .gf-sess,.gf-tiny .gf-sledge .gf-streak,.gf-tiny .gf-sledge .gf-demo-pill{display:none}
.gf-tiny .gf-sledge:has(.gf-msg.win,.gf-msg.lose) .gf-bal-n>span:first-child{display:none}

/* ---- Free spin: the cabinet is the playfield, the same size as Satoshi Falls and Bolt Strike (sizePlayfield), and the
   same bar under it. The reels fill the cabinet (--cell, --rw set by games-fill.js). No pay table. ---- */
.gf-game.gf-spin{max-width:1100px;margin:0 auto calc(var(--pb,16px) * -1);padding:0;border:0;border-radius:0;background:none;overflow:visible}
.gf-spin.gf-game:focus-visible{box-shadow:none}
.gf-spin:focus-visible .gf-cabinet{border-color:var(--accent)}
.gf-spin .gf-cabinet{box-sizing:border-box;height:var(--fh,420px);display:flex;flex-direction:column;padding:8px 14px 0;border-radius:var(--r-md);--rw:90px}
.gf-spin .gf-cabinet>.gf-sw{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.gf-ctitle{min-width:0;margin:0;overflow:hidden;white-space:nowrap;font:700 clamp(18px,2.6vw,32px) var(--font-display);letter-spacing:3px;text-transform:uppercase;color:#ffd36a;text-shadow:0 2px 0 #4a3200,0 0 18px #d9a44166}
.gf-spin .gf-lamps{flex:none;margin:0 6px 8px}
.gf-reelbox{display:flex;flex:1 1 0;flex-direction:column;justify-content:center;min-height:0;overflow:hidden}
.gf-spin .gf-reels{gap:clamp(6px,1.2vw,14px)}
.gf-spin .gf-cell{font-size:min(calc(var(--cell) * .5),calc(var(--rw) * .62))}
.gf-spin .gf-cell.wide{font-size:min(calc(var(--cell) * .42),calc(var(--rw) * .3))}
.gf-spin .gf-sledge{position:static;flex:none;flex-wrap:wrap;margin:8px -14px 0}
.gf-spin .gf-sledge .gf-msg{flex:1 1 0;overflow:visible;white-space:normal}
.gf-spin.gf-xnarrow .gf-sledge{flex-wrap:nowrap}
.gf-spin.gf-xnarrow .gf-sledge .gf-bal-n{flex:none;flex-direction:column;align-items:flex-end;gap:0;overflow:visible}
.gf-spin .gf-payout{bottom:calc(var(--lg,32px) + 10px);white-space:nowrap;font-size:clamp(16px,min(calc(var(--cell) * .3),calc(var(--rw) * .34)),52px)}
.gf-spin .gf-prize{top:50px}
.gf-spin.gf-tiny .gf-prize{top:2px;left:104px;right:104px;padding:4px 6px;font-size:11px;line-height:14px}
.gf-spin.gf-tiny .gf-payout{padding-top:0;padding-bottom:0;font-size:14px}
.gf-pbar>.gf-sp-spins{grid-area:stake}
.gf-pbar>.gf-sp-next{grid-area:mid}
.gf-sp-spins,.gf-sp-next{display:flex;flex-direction:column;align-self:center;gap:2px;overflow:hidden;white-space:nowrap;font-size:var(--fs-label);color:var(--text-muted)}
.gf-sp-spins strong,.gf-sp-next strong{font-family:var(--font-mono);font-weight:500;font-size:var(--fs-body);color:var(--text)}
.gf-pbar>.gf-spinbtn{grid-area:go;box-sizing:border-box;width:100%;height:60px;min-height:60px}
.gf-narrow.gf-spin .gf-pbar{grid-template-columns:auto auto minmax(0,1fr);column-gap:10px}
.gf-narrow .gf-pbar>.gf-spinbtn{height:48px;min-height:48px;border-width:2px;font-size:18px;letter-spacing:3px;box-shadow:0 3px 0 #0d2a6b,0 6px 12px #0009}
.gf-short.gf-spin .gf-lamps,.gf-short .gf-ctitle{display:none}
.gf-short.gf-spin .gf-cabinet{padding:4px 8px 0}
.gf-short.gf-spin .gf-cabinet>.gf-sw{margin-bottom:2px}
.gf-short.gf-spin .gf-cabinet>.gf-sw .gf-tg{min-height:28px}
.gf-short.gf-spin .gf-sledge{margin:2px -8px 0;min-height:22px;padding:1px 8px}
/* the machine itself: centred, chrome side posts with chasing bulbs, a pull lever, and the Spin bar as its base */
.gf-game.gf-spin{display:block;margin:0 auto var(--sp-3);--mw:min(540px,calc(100% - 96px))}
.gf-slotm{position:relative;width:var(--mw);margin:0 auto}
.gf-spin .gf-cabinet{padding:8px 36px 0;border:3px solid #c9a24a;border-bottom:0;border-radius:34px 34px 0 0}
.gf-rail{position:absolute;top:0;bottom:0;width:24px;z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 13px,#fff6cf 0 3px,#ffc93d 4.5px,#0000 6.5px) 0 0/100% 52px repeat-y,radial-gradient(circle at 50% 39px,#7a5c17 0 3.5px,#1d1405 4.5px,#0000 5.5px) 0 0/100% 52px repeat-y,linear-gradient(90deg,#3c2b0a,#e8c565 22%,#8d6b22 50%,#e8c565 78%,#3c2b0a);animation:gfrail 3.2s linear infinite}
.gf-rail.l{left:0}
.gf-rail.r{right:0}
.gf-cabinet.spinning .gf-rail{animation-duration:.55s}
.gf-cabinet.win .gf-rail{animation-duration:.25s}
@keyframes gfrail{to{background-position:0 52px,0 52px,0 0}}
.gf-spin .gf-sledge{margin:8px -8px 0;border-radius:6px 6px 0 0}
.gf-spin .gf-prize{left:36px;right:36px}
.gf-lever{position:absolute;left:100%;top:20%;width:42px;height:52%;margin:0;padding:0;border:0;background:none;cursor:pointer}
.gf-lever:disabled{cursor:default}
.gf-lever.out{filter:saturate(.45) brightness(.65)}
.gf-lever i{position:absolute;display:block;pointer-events:none}
.gf-lever-base{left:0;bottom:0;width:18px;height:46px;border-radius:0 14px 14px 0;background:linear-gradient(90deg,#6d6d72,#f2f2f5 45%,#5d5d63);box-shadow:0 2px 6px #000a}
.gf-lever-arm{left:15px;bottom:24px;width:9px;height:calc(100% - 38px);border-radius:5px;background:linear-gradient(90deg,#77777d,#fff 45%,#6a6a70)}
.gf-lever-knob{left:3px;top:0;width:33px;height:33px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#ffb0b0,#e5252f 42%,#74080e);box-shadow:0 3px 8px #000b}
.gf-lever:not(:disabled):hover .gf-lever-knob{filter:brightness(1.18)}
.gf-cabinet.spinning~.gf-lever .gf-lever-knob{animation:gfpullknob .75s cubic-bezier(.45,0,.3,1)}
.gf-cabinet.spinning~.gf-lever .gf-lever-arm{animation:gfpullarm .75s cubic-bezier(.45,0,.3,1)}
@keyframes gfpullknob{45%{top:62%}}
@keyframes gfpullarm{45%{height:12%}}
.gf-game.gf-spin .gf-pbar{width:var(--mw);height:auto;margin:0 auto;padding:8px 14px 10px;grid-template-columns:auto auto auto auto minmax(140px,1fr);column-gap:12px;border:3px solid #c9a24a;border-top:1px solid #8a6a2a;border-radius:0 0 22px 22px;background:linear-gradient(#1b1509,#0d0b08)}
.gf-short.gf-spin .gf-cabinet{padding:4px 36px 0}
.gf-short.gf-spin .gf-sledge{margin:2px -8px 0}
.gf-game.gf-spin.gf-short .gf-pbar{padding-top:4px;padding-bottom:5px}
/* phones: same machine, thinner posts, no lever (no room beside it) */
.gf-game.gf-spin.gf-narrow{--mw:min(420px,100%)}
.gf-narrow.gf-spin .gf-cabinet{padding:6px 19px 0;border-radius:24px 24px 0 0}
.gf-narrow .gf-rail{width:13px;background-size:100% 36px,100% 36px,100% 100%;background-image:radial-gradient(circle at 50% 9px,#fff6cf 0 2px,#ffc93d 3px,#0000 4.5px),radial-gradient(circle at 50% 27px,#7a5c17 0 2px,#1d1405 3px,#0000 4px),linear-gradient(90deg,#3c2b0a,#e8c565 30%,#8d6b22 65%,#3c2b0a);animation-name:gfrailn}
@keyframes gfrailn{to{background-position:0 36px,0 36px,0 0}}
.gf-narrow.gf-spin .gf-sledge{margin:6px -3px 0}
.gf-narrow.gf-spin .gf-prize{left:19px;right:19px}
.gf-narrow .gf-lever{display:none}
.gf-game.gf-spin.gf-narrow .gf-pbar{grid-template-columns:auto auto minmax(0,1fr);column-gap:10px;padding:6px 10px 8px}
.gf-spin.gf-tiny .gf-prize{left:104px;right:104px}
@media (prefers-reduced-motion:reduce){.gf-rail,.gf-cabinet.spinning~.gf-lever i{animation:none!important}}
