/* CASINOIR 0.50.12: on-screen chip value keypad without focusable text/number input.
   Full viewport does not change when setting a denomination (Safari/PWA friendly). */
#roulette #rouletteChipValue.rt-chip-value-button{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 47px;
  box-sizing:border-box;min-width:44px!important;width:47px!important;max-width:47px;
  height:26px!important;min-height:26px;padding:0 1px;
  color:#f8e8bf;background:#061a13;border:1px solid #bda064;border-radius:4px;
  font:800 16px/1 system-ui!important;touch-action:manipulation;cursor:pointer;
}
#roulette #rouletteChipValue.rt-chip-value-button:disabled{opacity:.55;cursor:not-allowed}
#roulette #rouletteChipValue.rt-chip-value-button:focus-visible{outline:2px solid #ffe5a8;outline-offset:1px}
#roulette .rt-value-panel[hidden]{display:none!important}
#roulette .rt-value-panel{position:absolute!important;inset:0!important;z-index:98!important;box-sizing:border-box;
 display:flex;align-items:center;justify-content:center;padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left));
 background:#030b09d9;overscroll-behavior:contain;}
#roulette .rt-value-dialog{box-sizing:border-box;display:flex;flex-direction:column;gap:5px;
 width:min(342px,100%);max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
 padding:9px 11px;background:linear-gradient(160deg,#1a3b2c,#071712);color:#f5e3b4;
 border:2px solid #d3b371;border-radius:10px;box-shadow:0 12px 35px #000b;}
#roulette .rt-value-dialog header{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:24px;font:800 13px/1.2 system-ui}
#roulette .rt-value-dialog header button{min-width:28px;min-height:24px;color:#f5e3b4;background:#173728;border:1px solid #b89a5f;border-radius:4px;font:700 18px/1 system-ui}
#roulette .rt-value-current{display:flex;align-items:center;gap:8px;min-height:29px;font:700 12px system-ui;white-space:nowrap}
#roulette .rt-value-current strong{font:800 23px/1 system-ui;color:#ffe1a0;min-width:74px}
#roulette .rt-value-current #rouletteValueHint{font:700 9px/1.2 system-ui;color:#cbbd93;white-space:normal}
#roulette .rt-value-presets{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
#roulette .rt-value-presets button{min-width:0;height:27px;padding:1px 0;background:#273a30;border:1px solid #997c52;border-radius:4px;color:#f3dfa8;font:800 11px system-ui;touch-action:manipulation}
#roulette .rt-value-presets button.is-active{background:#856432;border-color:#ffe3a0}
#roulette .rt-value-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,27px);gap:3px}
#roulette .rt-value-keys button{height:27px;min-height:27px;padding:0;background:#102e22;border:1px solid #55785f;border-radius:4px;color:#f0e4c6;font:800 15px/1 system-ui;touch-action:manipulation}
#roulette .rt-value-keys button[data-rt-value-key="clear"],#roulette .rt-value-keys button[data-rt-value-key="back"]{background:#3a3024;color:#ffe0ad;font-size:12px}
#roulette .rt-value-actions{display:grid;grid-template-columns:1fr 2fr;gap:5px;min-height:30px}
#roulette .rt-value-actions button{min-width:0;min-height:29px;padding:3px 5px;border-radius:4px;border:1px solid #bda06d;color:#ffedc3;background:#27372b;font:800 12px system-ui;touch-action:manipulation}
#roulette #rouletteValueApply{background:linear-gradient(#eed8a6,#b88e4c);color:#16231b}
#roulette #rouletteValueApply:disabled{opacity:.45}
#roulette .rt-value-dialog button:focus-visible{outline:2px solid #fff4c2;outline-offset:1px}
@media (max-height:300px){#roulette .rt-value-dialog{gap:3px;padding:5px 8px}#roulette .rt-value-keys{grid-template-rows:repeat(4,23px)}#roulette .rt-value-keys button{height:23px;min-height:23px}#roulette .rt-value-presets button{height:23px}}
