/* CASINOIR v0.53.21: shared wallet indicators for casino floor and poker lobby.
   UI-only: these labels are populated by app.js from CASINOIRWallet.balance. */
#floor .grand-floor-topbar {
  grid-template-columns: 38px minmax(0,1fr) auto auto auto !important;
  column-gap: clamp(5px,.85vw,12px) !important;
}
#floor .casinoir-surface-wallet, #pokerRoom .casinoir-surface-wallet {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  flex:none;min-width:0;max-width:100%;height:36px;gap:5px;
  padding:4px 10px;border:1px solid rgba(228,193,123,.6);border-radius:9px;
  background:linear-gradient(140deg,rgba(41,47,36,.96),rgba(15,34,29,.94));
  box-shadow:inset 0 1px rgba(255,231,183,.09),0 2px 10px #0007;
  color:#f8edca;white-space:nowrap;font-variant-numeric:tabular-nums;
}
#floor .casinoir-surface-wallet img, #pokerRoom .casinoir-surface-wallet img {
  display:block;flex:none;width:23px;height:27px;object-fit:contain;
}
#floor .casinoir-surface-wallet span, #pokerRoom .casinoir-surface-wallet span {
  font:800 10px/1 system-ui,sans-serif;letter-spacing:.035em;color:#f1cf8b;
}
#floor .casinoir-surface-wallet strong, #pokerRoom .casinoir-surface-wallet strong {
  font:800 14px/1.05 system-ui,sans-serif;letter-spacing:.01em;color:#fff2c6;
}
#pokerRoom .poker-room-heading {min-width:0;display:flex;align-items:center;gap:14px;}
#pokerRoom .poker-room-heading>p {display:none;}
#pokerRoom .poker-room-heading>h2 {min-width:0;flex:none;}
#pokerRoom .poker-room-header {grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(5px,.8vw,14px);}
#pokerRoom .poker-room-heading .casinoir-surface-wallet {height:34px;}
@media(min-width:1050px) {
  #pokerRoom .poker-room-heading>p {display:block;flex:none;font-size:9px;}
}
@media(max-width:900px) and (orientation:landscape) {
 #floor .grand-floor-topbar {grid-template-columns:35px minmax(0,1fr) auto auto !important;gap:5px!important;}
 #floor .grand-floor-topbar .gf-header-tag {display:none!important;}
 #floor .casinoir-surface-wallet, #pokerRoom .casinoir-surface-wallet {height:30px;padding:2px 6px;gap:3px;}
 #floor .casinoir-surface-wallet img, #pokerRoom .casinoir-surface-wallet img {width:17px;height:22px;}
 #floor .casinoir-surface-wallet span, #pokerRoom .casinoir-surface-wallet span {font-size:9px;}
 #floor .casinoir-surface-wallet strong, #pokerRoom .casinoir-surface-wallet strong {font-size:12px;}
 #pokerRoom .poker-room-heading {gap:6px;flex-direction:column;align-items:flex-start;justify-content:center;}
 #pokerRoom .poker-room-heading>h2 {font-size:clamp(12px,2.1vw,16px)!important;line-height:1.05;white-space:nowrap;}
 #pokerRoom .poker-room-heading .casinoir-surface-wallet {height:22px;padding:1px 5px;}
 #pokerRoom .poker-room-heading .casinoir-surface-wallet img {width:14px;height:19px;}
 #pokerRoom .poker-room-heading .casinoir-surface-wallet strong {font-size:11px;}
 #pokerRoom .poker-room-heading .casinoir-surface-wallet span {font-size:8px;}
 #pokerRoom .poker-room-header {grid-template-columns:30px minmax(0,1fr) auto;gap:5px;padding-inline:max(10px,var(--safe-inline))!important;}
 #pokerRoom .poker-mode-tabs button {min-width:72px!important;min-height:28px;padding-inline:6px!important;font-size:10px!important;}
}
@media(max-width:610px) and (orientation:landscape) {
 #pokerRoom .poker-mode-tabs button {min-width:68px!important;min-height:26px!important;font-size:9px!important;padding-inline:4px!important;}
 #pokerRoom .poker-room-heading>h2 {font-size:12px!important;}
 #pokerRoom .poker-room-header {gap:3px;}
 #floor .grand-floor-heading h2 {font-size:16px!important;}
 #floor .grand-floor-topbar .gf-room-link {font-size:10px!important;padding-inline:6px!important;}
}
@media(max-width:600px) and (orientation:portrait) {
 #floor .grand-floor-topbar {grid-template-columns:34px minmax(0,1fr) auto!important;gap:4px!important;}
 #floor .grand-floor-topbar .gf-header-tag {display:none!important;}
 #floor .grand-floor-topbar .gf-room-link {display:none;}
 #pokerRoom .poker-room-heading {flex-direction:column;align-items:flex-start;gap:3px;}
 #pokerRoom .poker-room-heading>h2 {font-size:12px!important;}
 #pokerRoom .poker-mode-tabs button {min-width:58px!important;padding-inline:4px!important;}
}
/* Match the high-specificity floor layout rules inherited from older releases.
   The floor has five header items on wide screens, four when the tag is hidden. */
#floor.screen:not(#home).screen--grand-floor .grand-floor-topbar {
 grid-template-columns:38px minmax(0,1fr) auto auto auto!important;
}
@media(max-width:900px) and (orientation:landscape){
 #floor.screen:not(#home).screen--grand-floor .grand-floor-topbar{
  grid-template-columns:36px minmax(0,1fr) auto auto!important;
 }
 #pokerRoom .poker-room-header {grid-template-columns:46px minmax(0,1fr) auto;}
}
@media(max-width:600px) and (orientation:portrait){
 #floor.screen:not(#home).screen--grand-floor .grand-floor-topbar{
  grid-template-columns:34px minmax(0,1fr) auto!important;
 }
}
