/* 2026-10-29: same small, flat premium player badge in all three lobbies.
   Only the lobby header is styled, never the card games, stakes or modals. */
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top {
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  min-height:62px;box-sizing:border-box;
}
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .pool-brand {
  order:1!important;flex:1 1 auto!important;min-width:0!important;
  max-width:none!important;margin-right:0!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .pool-menu{order:0!important;flex:0 0 auto!important}
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .pg-language{order:2!important;flex:0 0 auto!important}
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .pool-settings{order:3!important;flex:0 0 auto!important}
/* No separate name underneath the game name, even before the JS moves it. */
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .signed-user{display:none!important}
body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .okp-profile-badge.lbd-account-box{
  order:4!important;display:grid!important;grid-template-columns:clamp(31px,9vw,38px) minmax(0,1fr)!important;
  grid-template-rows:auto!important;align-items:center!important;gap:5px!important;
  width:clamp(118px,36vw,148px)!important;max-width:148px!important;min-width:0!important;
  flex:0 0 auto!important;box-sizing:border-box!important;
  margin:0 0 0 auto!important;padding:3px 7px 3px 3px!important;
  background:linear-gradient(145deg,#08291f,#041b16)!important;
  border:1px solid #ae965d!important;border-radius:999px!important;
  box-shadow:inset 0 1px 0 #f0dba014!important;color:#f6eacc!important;
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .lbd-player-avatar{
  all:unset!important;box-sizing:border-box!important;display:block!important;position:static!important;
  width:clamp(31px,9vw,38px)!important;height:clamp(31px,9vw,38px)!important;
  min-width:0!important;min-height:0!important;flex:none!important;padding:0!important;
  border:1px solid #b89e63!important;border-radius:50%!important;
  box-shadow:none!important;background:#07261e!important;overflow:hidden!important;cursor:pointer!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .lbd-player-avatar img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  border-radius:50%!important;box-shadow:none!important;background:#07261e!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .lbd-player-avatar:focus-visible,
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet:focus-visible{outline:2px solid #f6d58c!important;outline-offset:2px!important}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .okp-profile-details{
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;
  min-width:0!important;max-width:100%!important;gap:1px!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .signed-user{
  display:block!important;position:static!important;flex:none!important;order:unset!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
  white-space:nowrap!important;text-align:left!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font:600 clamp(10px,2.7vw,12px)/1.15 system-ui,sans-serif!important;color:#f4ecdc!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet{
  display:block!important;position:static!important;box-sizing:border-box!important;
  flex:none!important;order:unset!important;margin:0!important;padding:0!important;
  width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;color:#e8c778!important;text-align:left!important;cursor:pointer!important;
}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet .icon{display:none!important}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet strong{
  display:block!important;margin:0!important;padding:0!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font:700 clamp(12px,3.5vw,16px)/1.12 Georgia,serif!important;color:#e8c778!important;
}
/* Main Okey SPA still stores units under the old P. text; render euros only. */
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet strong small{display:none!important}
body.pool-lobby-mode .fixed-lobby.pool-premium .okp-profile-badge .pool-wallet strong:has(small)::after{
  content:" €";font-size:.86em;color:#e8c778;
}
@media(max-width:355px){
 body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top{column-gap:4px!important}
 body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .pg-language button{min-width:23px!important;padding:3px!important}
 body.pool-lobby-mode .fixed-lobby.pool-premium > .pool-lobby-top > .okp-profile-badge.lbd-account-box{width:118px!important}
}
