/* POKERANDO V26 DESKTOP — prestazioni solo visuali; non cambia PHP e non cambia regole.
   Mobile <=760px resta invariato salvo eliminazione di posti con zero fiches, senza mano attiva. */
body.pkr26-layout #game .table-shell #seats .seat.pkr26-observer{display:none!important;visibility:hidden!important;pointer-events:none!important}
@media screen and (min-width:761px){
 body.pkr26-layout #game .layout{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0 auto!important}
 body.pkr26-layout #game .table-column{max-width:1280px!important;min-width:0!important;width:100%!important;margin:0 auto!important;align-items:center!important}
 body.pkr26-layout #game .game-meta,body.pkr26-layout #game .pkr24-hud{width:min(100%,1160px)!important;max-width:none!important;align-self:center!important}
 body.pkr26-layout #game .table-column .table-outer{
  display:block!important;position:relative!important;flex:0 0 auto!important;
  width:min(100%,1160px)!important;max-width:1160px!important;min-width:0!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:8px auto 13px!important;padding:10px!important;
  border-radius:47% / 43%!important;box-sizing:border-box!important;
 }
 body.pkr26-layout #game .table-column .table-outer .table-shell{
  position:relative!important;box-sizing:border-box!important;
  width:100%!important;max-width:none!important;
  height:clamp(550px,74vh,740px)!important;min-height:550px!important;max-height:none!important;
  border-radius:46% / 43%!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated,
 body.pkr26-layout.pkr24-premium #game .table-shell #seats .seat.pkr26-seated{
  left:var(--pkr26-left)!important;top:var(--pkr26-top)!important;
  width:clamp(115px,10vw,144px)!important;min-height:54px!important;height:auto!important;
  padding:7px 8px 7px 24px!important;box-sizing:border-box!important;
  transform:translate(-50%,-50%)!important;
  z-index:35!important;
 }
 /* L'avatar e' all'esterno a SINISTRA del box. Non copre mai i dorsi. */
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .avatar,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-seated .avatar{
  position:absolute!important;left:-5px!important;right:auto!important;top:50%!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;width:47px!important;height:47px!important;
  border:2px solid #ffdd99!important;z-index:38!important;opacity:1!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seatname,
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .stack{
  text-align:center!important;display:block!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font:800 14px/1.12 system-ui,-apple-system,sans-serif!important;
  color:#ffefcb!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seatname{font-size:14px!important;color:#fff!important}
 /* Carte del giocatore piu grandi, senza sovrapporle all'avatar. */
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-mini,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-seated .seat-mini{
  position:absolute!important;left:55%!important;right:auto!important;
  top:auto!important;bottom:calc(100% + 10px)!important;
  transform:translateX(-50%)!important;
  width:max-content!important;max-width:none!important;overflow:visible!important;
  display:flex!important;gap:5px!important;z-index:34!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-high .seat-mini,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-high .seat-mini{
  top:calc(100% + 7px)!important;bottom:auto!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-mini>.poker-card,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-seated .seat-mini>.poker-card,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.showdown-seat.pkr26-seated:not(.me) .seat-mini>.poker-card:not(.empty){
  box-sizing:border-box!important;flex:0 0 49px!important;
  width:49px!important;min-width:49px!important;max-width:49px!important;
  height:71px!important;min-height:71px!important;max-height:71px!important;
  border-radius:6px!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-mini .readable-corner{
  font-size:12px!important;line-height:1.05!important;
 }
 /* Puntata ingrandita, sempre ai lati del nome, mai sopra le carte. */
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-bet,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-seated .seat-bet{
  position:absolute!important;top:50%!important;bottom:auto!important;
  right:auto!important;left:calc(100% + 10px)!important;
  transform:translateY(-50%)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:70px!important;max-width:130px!important;min-height:34px!important;
  box-sizing:border-box!important;padding:5px 9px!important;gap:4px!important;
  background:#07130fef!important;border:2px solid #e0b567!important;border-radius:20px!important;
  box-shadow:0 4px 11px #000b,0 0 7px #d8ac5440!important;z-index:39!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-bet-left .seat-bet,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-bet-left .seat-bet{
  left:auto!important;right:calc(100% + 10px)!important;
  transform:translateY(-50%)!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-bet strong{
  font:900 16px/1.12 system-ui,-apple-system,sans-serif!important;
  min-width:0!important;letter-spacing:.2px!important;color:#fff4d5!important;
  padding:0!important;margin:0!important;background:none!important;border:0!important;
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-bet .chips3d{
  flex:0 0 23px!important;width:23px!important;height:22px!important;
  transform:scale(.67)!important;transform-origin:center!important;
 }
 body.pkr26-layout #game .table-shell .pot-panel{top:45%!important;min-width:180px!important}
 body.pkr26-layout #game .table-shell .pot-panel strong{font-size:30px!important}
 body.pkr26-layout #game .table-shell .pot-chips{top:49%!important;transform:translateX(-50%) scale(.55)!important}
 body.pkr26-layout #game .table-shell .phase-label{top:57%!important}
 body.pkr26-layout #game .table-shell #community{top:67%!important;gap:7px!important;max-width:77%!important}
 body.pkr26-layout #game .table-shell #community>.poker-card{
  width:clamp(55px,6vw,78px)!important;height:clamp(78px,8.3vw,110px)!important;
  flex:0 0 clamp(55px,6vw,78px)!important;
 }
 body.pkr26-layout #game #myHand{width:min(100%,900px)!important;min-height:110px!important;margin-top:8px!important}
 body.pkr26-layout #game .notice,body.pkr26-layout #game .actions{width:min(100%,990px)!important;margin-left:auto!important;margin-right:auto!important}
 body.pkr26-layout #game .actions{padding:8px 5px 24px!important;gap:8px!important}
 body.pkr26-layout #game .actions button:not(.hidden){min-height:50px!important;font-size:14px!important}
}
/* Anche su iPhone l'avatar non deve coprire i dorsi: lo mettiamo lateralmente,
   conservando tutte le dimensioni V25 del tavolo e dei comandi. */
@media screen and (max-width:760px){
 body.pkr26-layout #game .table-shell #seats .seat.pkr25-seated .avatar,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .avatar{
  left:0!important;right:auto!important;top:50%!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;width:29px!important;height:29px!important;z-index:38!important;
 }
}
/* Tablet e Mac con finestra stretta: puntate compatte accanto al proprio nome. */
@media screen and (min-width:761px) and (max-width:1050px){
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated,
 body.pkr26-layout.pkr24-premium #game .table-shell #seats .seat.pkr26-seated{width:104px!important;padding-left:20px!important}
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .avatar{width:40px!important;height:40px!important}
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-mini>.poker-card,
 body.pkr26-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr26-seated .seat-mini>.poker-card{width:43px!important;min-width:43px!important;max-width:43px!important;flex:0 0 43px!important;height:62px!important;min-height:62px!important;max-height:62px!important}
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-bet{
  min-width:55px!important;min-height:30px!important;padding:3px 5px!important
 }
 body.pkr26-layout #game .table-shell #seats .seat.pkr26-seated .seat-bet strong{font-size:13px!important}
}
