.gbm{--gbm-live:color-mix(in srgb, var(--text) 6%, var(--glass-bold));--gbm-hover:color-mix(in srgb, var(--text) 9%, var(--glass-bold));--gbm-press:color-mix(in srgb, var(--text) 13%, var(--glass-bold));--gbm-gem:color-mix(in srgb, var(--accent) 30%, var(--glass-bold));--gbm-mark:color-mix(in srgb, var(--accent) 12%, var(--gbm-live));--gbm-boom:color-mix(in srgb, var(--destructive) 62%, var(--glass-bold));--gbm-lo:color-mix(in srgb, var(--destructive) 70%, var(--text2));--gbm-on:color-mix(in srgb, var(--text) 7%, transparent);--gbm-on-press:color-mix(in srgb, var(--text) 11%, transparent);--gbm-off:color-mix(in srgb, var(--text) 4%, transparent);--gbm-ease:cubic-bezier(0.4, 0, 0.2, 1);--gbm-ease-out:cubic-bezier(0.05, 0.7, 0.1, 1);--gbm-gap:6px;box-sizing:border-box;flex:auto;display:flex;flex-direction:column;padding:10px;border-radius:var(--r-island);background:var(--glass);color:var(--text);-webkit-user-select:none;user-select:none}.gbm *,.gbm *::before,.gbm *::after{box-sizing:border-box}.gbm button{font-family:inherit;color:inherit;-webkit-tap-highlight-color:transparent}.gbm-stage{position:relative;flex:auto;min-height:364px;overflow:hidden;display:flex;flex-direction:column;padding:10px 12px 12px;background:var(--bg-tint);border-radius:var(--r-btn)}.gbm-head{position:relative;z-index:2;flex:none;display:flex;align-items:center;height:24px}.gbm-hist{flex:auto;min-width:0;height:24px;display:flex;gap:6px;align-items:center}.gbm-stage.clearable .gbm-head{margin-right:100px}.gbm-chip{flex:none;height:24px;padding:0 8px;display:inline-flex;align-items:center;border-radius:var(--r-pill);background:var(--glass);color:var(--text2);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.gbm-chip.hi{color:var(--success)}.gbm-chip.lo{color:var(--gbm-lo)}.gbm-chip.new{animation:gbmChipIn 260ms var(--gbm-ease-out)}@keyframes gbmChipIn{from{opacity:0;transform:translateX(-10px)}}.gbm-strip{flex:auto;min-width:0;height:24px;display:flex;gap:3px;align-items:center;touch-action:pan-y}.gbm-hist[hidden],.gbm-strip[hidden]{display:none}.gbm-strip button{position:relative;flex:1;min-width:0;height:8px;padding:0;border:none;cursor:pointer;border-radius:var(--r-pill);background:var(--glass);transition:height 140ms var(--gbm-ease),background 140ms var(--gbm-ease)}.gbm-strip button::before{content:'';position:absolute;inset:-10px -1px}.gbm-strip button.w{background:var(--success)}.gbm-strip button.l{background:var(--text3)}.gbm-strip button.sel{height:18px}.gbm-strip button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gbm-clear{position:absolute;right:8px;top:6px;z-index:3;height:32px;padding:0 13px;display:inline-flex;align-items:center;border:none;border-radius:var(--r-pill);background:var(--glass-bold);font-size:14px;font-weight:600;cursor:pointer;opacity:0;transform:scale(.92);pointer-events:none;transition:opacity 180ms var(--gbm-ease),transform 260ms var(--gbm-ease-out),background 130ms var(--gbm-ease)}.gbm-clear::before{content:'';position:absolute;inset:-6px -4px}.gbm-clear.show{opacity:1;transform:none;pointer-events:auto}.gbm-clear:not(.show){transition:none}.gbm-clear:active{transform:scale(.95);background:var(--gbm-press)}.gbm-clear:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(hover:hover){.gbm-clear.show:hover{background:var(--gbm-hover)}}.gbm-read{position:relative;z-index:2;flex:none;margin:12px 0 0 -1px;pointer-events:none}.gbm-big{font-size:56px;font-weight:800;letter-spacing:-1.6px;line-height:1;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;transition:color 150ms var(--gbm-ease)}.gbm-big.dim{color:var(--text3)}.gbm-big.win{color:var(--success)}.gbm-big.bust{color:var(--destructive)}.gbm-cap{margin-top:8px;min-height:20px;font-size:15px;font-weight:600;line-height:20px;color:var(--text2);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gbm-cap.win{color:var(--success)}.gbm-board{flex:auto;min-height:0;margin-top:8px;display:grid;place-items:center}.gbm-sq{position:relative;width:var(--gbm-sq,0px);height:var(--gbm-sq,0px)}.gbm-grid{position:absolute;inset:0;display:grid;gap:var(--gbm-gap);grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}.gbm-stage.compact .gbm-head{margin-top:-2px}.gbm-stage.compact .gbm-clear{top:4px}.gbm-stage.compact .gbm-read{margin-top:8px}.gbm-stage.compact .gbm-big{font-size:44px;letter-spacing:-1.1px}.gbm-stage.compact .gbm-cap{margin-top:4px}.gbm-stage.compact .gbm-board{margin-top:6px;margin-bottom:-2px}.gbm-stage.compact .gbm-grid{--gbm-gap:5px}.gbm-tile{position:relative;display:grid;place-items:center;padding:0;border:none;cursor:pointer;border-radius:var(--r-btn);background:var(--glass-bold);color:var(--accent-text);transition:transform 110ms var(--gbm-ease),background 140ms var(--gbm-ease),color 140ms var(--gbm-ease)}.gbm-tile .g{display:grid;place-items:center;width:44%;height:44%;font-size:var(--gbm-fs,17px);font-weight:700;font-variant-numeric:tabular-nums}.gbm-tile .g svg{display:block;width:100%;height:100%}.gbm-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gbm-tile[data-s=idle]:active,.gbm-tile[data-s=mark]:active{transform:scale(.92)}.gbm-tile[data-s=live]{background:var(--gbm-live)}.gbm-tile[data-s=live]:active{background:var(--gbm-press);transform:scale(.92)}@media(hover:hover){.gbm-tile[data-s=idle]:hover,.gbm-tile[data-s=live]:hover{background:var(--gbm-hover)}}.gbm-tile[data-s=pend]{background:var(--gbm-press);transform:scale(.92)}.gbm-tile[data-s=gem]{background:var(--gbm-gem);color:var(--accent-text)}.gbm-tile[data-s=boom]{background:var(--gbm-boom);color:var(--text)}.gbm-tile[data-s=mine]{background:var(--glass-bold);color:var(--text)}.gbm-tile[data-s=mine] .g{opacity:.4}.gbm-tile[data-s=rest]{background:var(--glass-bold)}.gbm-tile[data-s=mark]{background:var(--gbm-mark);color:var(--accent-text)}.gbm-tile.pop .g{animation:gbmPop 140ms var(--gbm-ease-out)}@keyframes gbmPop{from{transform:scale(.85);opacity:0}}.gbm-grid.arm .gbm-tile[data-s=live]{animation:gbmArm 160ms var(--gbm-ease-out)}@keyframes gbmArm{from{background:var(--glass-bold)}}.gbm-console{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 2px 2px}.gbm-params{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.gbm-param{flex:initial;min-width:0;display:flex;align-items:center;gap:4px}.gbm-param:first-child{padding-left:6px}.gbm-lbl{flex:none;font-size:15px;font-weight:500;line-height:19px;white-space:nowrap}.gbm-step{flex:none;display:flex;align-items:center;height:44px;border-radius:var(--r-pill);background:var(--gbm-on)}.gbm-step-b{position:relative;width:40px;height:100%;display:grid;place-items:center;padding:0;border:none;background:0 0;cursor:pointer;color:var(--text);transition:transform 130ms var(--gbm-ease),opacity 150ms var(--gbm-ease)}.gbm-step-b::before{content:'';position:absolute;inset:0 -2px}.gbm-step-b svg{width:18px;height:18px;opacity:.6}.gbm-step-b:active{transform:scale(.9)}.gbm-step-b:disabled{opacity:.25;pointer-events:none}.gbm-step-b:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:var(--r-pill)}@media(hover:hover){.gbm-step-b:hover svg{opacity:.9}}.gbm-step-v{min-width:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.gbm-step-cap{display:none}.gbm-param .gbm-step-v{min-width:20px}.gbm-step.ro{background:var(--gbm-off)}.gbm-step.ro .gbm-step-b{opacity:.25;pointer-events:none}.gbm-step.ro .gbm-step-v{color:var(--text2)}.gbm-console.narrow .gbm-param{flex:1;padding-left:0}.gbm-console.narrow .gbm-lbl{display:none}.gbm-console.narrow .gbm-param .gbm-step{flex:auto;justify-content:space-between}.gbm-console.narrow .gbm-param .gbm-step-v{flex:auto;min-width:0;line-height:16px}.gbm-console.narrow .gbm-step-cap{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;line-height:13px;color:var(--text2)}.gbm-bet{display:flex;gap:8px;align-items:center}.gbm-bet .gbm-step{height:48px}.gbm-cta{position:relative;flex:auto;min-width:0;height:48px;padding:0 16px;overflow:hidden;border:none;border-radius:var(--r-pill);background:var(--accent);color:#fff;cursor:pointer;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;transition:transform 130ms var(--gbm-ease),background 160ms var(--gbm-ease),color 160ms var(--gbm-ease)}.gbm-cta:active{transform:scale(.97)}.gbm-cta:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(hover:hover){.gbm-cta:not(.cash):not(.off):not(.alt):hover{background:color-mix(in srgb,var(--accent) 88%,#fff)}}.gbm-cta-l{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.gbm-cta.cash{background:var(--text);color:var(--bg)}.gbm-cta.alt{background:var(--gbm-on);color:var(--text)}.gbm-cta.alt:active{background:var(--gbm-on-press)}.gbm-cta.off{background:var(--gbm-on);color:var(--text2);pointer-events:none}.gbm-cta.pending{pointer-events:none}.gbm-cta.pending .gbm-cta-l{opacity:0}.gbm-cta.pending::after{content:'';position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:var(--r-pill);border:2px solid color-mix(in srgb,currentColor 35%,transparent);border-top-color:initial;animation:gbmSpin .6s linear infinite}@keyframes gbmSpin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.gbm-tile.pop .g,.gbm-grid.arm .gbm-tile,.gbm-chip.new{animation:none}.gbm-tile[data-s=pend]{animation:none}.gbm-cta.pending::after{animation-duration:1.6s}}