/* POKERANDO V25 — dimensioni premium e posizioni visive dinamiche.
   Caricato DOPO la V24. Nessun valore di gioco alterato. */
body.pkr25-layout #game .table-column {
  display:flex!important;flex-direction:column!important;align-items:center!important;
  width:100%!important;max-width:1220px!important;margin:0 auto!important;
}
body.pkr25-layout #game .game-meta,
body.pkr25-layout #game .pkr24-hud,
body.pkr25-layout #game .table-outer,
body.pkr25-layout #game #myHand,
body.pkr25-layout #game .notice,
body.pkr25-layout #game .actions {
  align-self:center!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;
}
body.pkr25-layout #game .game-meta{width:min(100%,1120px)!important;margin-bottom:3px!important}
body.pkr25-layout #game .pkr24-hud{width:min(100%,1120px)!important;margin-top:2px!important;margin-bottom:9px!important;
 background:linear-gradient(110deg,#0f1012,#1a211c,#0a0c0f)!important;border-color:#d9ad63!important}
body.pkr25-layout #game .table-column .table-outer{
 width:min(100%,1090px)!important;max-width:1090px!important;
 margin:0 auto 10px!important; padding:10px!important;
 border:2px solid #b99150!important;border-radius:47% / 42%!important;
 background:linear-gradient(180deg,#110b08 0%,#e2bb76 7%,#53321c 30%,#1e1710 65%,#e9bc79 94%,#100b07 100%)!important;
 box-shadow:0 7px 0 #231609,0 12px 0 #61462b,0 26px 45px #000d,0 0 22px #ddac6440!important;
}
body.pkr25-layout #game .table-column .table-outer .table-shell{
 width:100%!important;height:clamp(485px,59vh,670px)!important;min-height:485px!important;max-height:none!important;
 border:5px solid #1d211b!important;border-radius:46% / 42%!important;overflow:hidden!important;
 box-shadow:inset 0 0 0 2px #f0d798,inset 0 0 0 8px #143e30,inset 0 0 50px #00130bab!important;
}
body.pkr25-layout.pkr-theme-green #game .table-shell{
 background:radial-gradient(ellipse at 50% 46%,#138b60,#066842 63%,#063b2d)!important;
}
body.pkr25-layout #game .table-shell .felt-logo{opacity:.10!important}
body.pkr25-layout #game .table-shell .deal-deck{display:none!important}
body.pkr25-layout #game .table-shell #seats .seat.empty{display:none!important}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated,
body.pkr25-layout.pkr24-premium #game .table-shell #seats .seat.pkr25-seated{
 left:var(--pkr25-left)!important;top:var(--pkr25-top)!important;
 min-width:0!important;max-width:none!important;width:clamp(92px,10vw,136px)!important;
 height:auto!important;min-height:45px!important;padding:6px 5px 5px!important;
 border-radius:13px!important;border:1px solid #d5ad6f!important;
 background:linear-gradient(#1a1a1cf5,#060a0f)!important;
 box-shadow:0 5px 13px #000b,inset 0 1px 0 #ffffff2a!important;
 z-index:36!important;text-align:center!important;transform:translate(-50%,-50%)!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-own{
 border:2px solid #ffdc8e!important;box-shadow:0 0 0 2px #fed57790,0 0 22px #ffc76e85,0 6px 12px #000b!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .avatar,
body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .avatar{
 position:absolute!important;top:-44px!important;left:50%!important;right:auto!important;
 width:43px!important;height:43px!important;border:2px solid #f8d991!important;
 border-radius:50%!important;transform:translateX(-50%)!important;
 background:#172b25!important;box-shadow:0 3px 10px #0009!important;z-index:30!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seatname,
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .stack{
 padding-left:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important;
 text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 font-size:clamp(11px,1.22vw,15px)!important;line-height:1.15!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seat-mini,
body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .seat-mini{
 left:50%!important;right:auto!important;bottom:calc(100% + 5px)!important;top:auto!important;
 transform:translateX(-50%)!important;gap:4px!important;width:max-content!important;max-width:none!important;
 overflow:visible!important;filter:drop-shadow(0 3px 8px #000a)!important;z-index:27!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-top .seat-mini{
 /* Al tavolo semivuoto le carte restano vicine alla propria scheda, sopra la zona piatto. */
 top:calc(100% + 5px)!important;bottom:auto!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seat-mini>.poker-card,
body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .seat-mini>.poker-card{
 width:clamp(37px,4.5vw,52px)!important;min-width:clamp(37px,4.5vw,52px)!important;
 height:clamp(53px,6.4vw,73px)!important;min-height:clamp(53px,6.4vw,73px)!important;
 flex:0 0 clamp(37px,4.5vw,52px)!important;border-radius:5px!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seat-bet{
 top:calc(100% + 6px)!important;bottom:auto!important;
 border:1px solid #ac8d5b!important;background:#0b1618ed!important;
 border-radius:20px!important;padding:3px 7px!important;
}
body.pkr25-layout #game .table-shell #seats .seat.pkr25-top .seat-bet{
 top:calc(100% + 86px)!important;
}
body.pkr25-layout #game .table-shell #seats .seat .dealer-mark{right:-9px!important;top:-21px!important;z-index:40!important}
body.pkr25-layout #game .table-shell #seats .seat .pkr24-active::after{z-index:45!important}
body.pkr25-layout #game .table-shell .pot-panel{
 left:50%!important;top:40%!important;transform:translate(-50%,-50%)!important;
 min-width:155px!important;padding:9px 16px!important;border-radius:20px!important;
 border:2px solid #efc777!important;
 background:linear-gradient(#342719,#080c0b)!important;
 box-shadow:0 5px 0 #73522d,0 14px 25px #000b,0 0 22px #f6c86a44!important;
 z-index:19!important;
}
body.pkr25-layout #game .table-shell .pot-panel strong{font-size:clamp(21px,2.3vw,32px)!important}
body.pkr25-layout #game .table-shell .pot-chips{top:46%!important;transform:translateX(-50%) scale(.60)!important;z-index:18!important}
body.pkr25-layout #game .table-shell .phase-label{top:54%!important;font-size:10px!important}
body.pkr25-layout #game .table-shell #community{
 top:64%!important;left:50%!important;width:auto!important;max-width:85%!important;
 transform:translate(-50%,-50%)!important;gap:5px!important;z-index:17!important;
}
body.pkr25-layout #game .table-shell #community>.poker-card{
 width:clamp(49px,5.9vw,76px)!important;height:clamp(70px,8.4vw,108px)!important;
 flex:0 0 clamp(49px,5.9vw,76px)!important;
}
body.pkr25-layout #game #myHand,
body.pkr25-layout #game .notice,
body.pkr25-layout #game .actions{width:min(100%,960px)!important}
body.pkr25-layout #game #myHand{
 margin-top:10px!important;padding:12px 16px!important;min-height:100px!important;
 border:2px solid #c8a46e!important;border-radius:21px!important;
 background:linear-gradient(105deg,#04121e,#061927)!important;
 box-shadow:0 6px 17px #000b,inset 0 0 0 2px #072a42!important;
}
body.pkr25-layout #game #myHand .hero-cards .poker-card{
 width:clamp(64px,7.5vw,89px)!important;height:clamp(91px,10.7vw,124px)!important;
 flex:0 0 clamp(64px,7.5vw,89px)!important;
}
body.pkr25-layout #game .actions{display:flex!important;justify-content:center!important;gap:7px!important;flex-wrap:wrap!important;margin:6px auto 24px!important}
body.pkr25-layout #game .actions button:not(.hidden){border-radius:12px!important;min-height:48px!important}
/* La visualizzazione su iPhone usa il tavolo verticale, con scorrimento sicuro. */
@media screen and (max-width:760px){
 html:has(body.pkr25-layout),body.pkr25-layout{height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important}
 body.pkr25-layout .wrap{max-height:none!important;height:auto!important;min-height:100dvh!important;overflow:visible!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
 body.pkr25-layout #game,body.pkr25-layout #game .layout,body.pkr25-layout #game .table-column{height:auto!important;min-height:0!important;overflow:visible!important;flex:0 0 auto!important}
 body.pkr25-layout #game .pkr24-hud{gap:2px!important;flex-wrap:wrap!important;font-size:10px!important}
 body.pkr25-layout #game .table-column .table-outer,
 body.pkr25-layout.pkr-red-v10 #game .table-column .table-outer{
  width:calc(100% - 2px)!important;max-width:455px!important;height:clamp(690px,178vw,825px)!important;
  min-height:690px!important;max-height:none!important;padding:6px!important;border-radius:43% / 14%!important;
  margin:3px auto 6px!important;overflow:hidden!important;
 }
 body.pkr25-layout #game .table-column .table-outer .table-shell,
 body.pkr25-layout.pkr-red-v10 #game .table-column .table-outer .table-shell{
  width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
  border-radius:43% / 14%!important;border:4px solid #17362b!important;
 }
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated,
 body.pkr25-layout.pkr24-premium #game .table-shell #seats .seat.pkr25-seated{
  width:clamp(73px,21.5vw,92px)!important;min-height:37px!important;
  padding:4px 4px!important;border-radius:10px!important;
 }
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .avatar,
 body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .avatar{
  width:32px!important;height:32px!important;top:-32px!important;left:50%!important;transform:translateX(-50%)!important;
 }
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seatname,
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .stack{
  font-size:10px!important;line-height:1.12!important;padding-left:0!important;
 }
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated .seat-mini>.poker-card,
 body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-seated .seat-mini>.poker-card{
  width:clamp(28px,8.4vw,35px)!important;min-width:clamp(28px,8.4vw,35px)!important;
  height:clamp(40px,11.8vw,49px)!important;min-height:clamp(40px,11.8vw,49px)!important;
  flex:0 0 clamp(28px,8.4vw,35px)!important;
 }
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-top .seat-bet{top:calc(100% + 58px)!important}
 body.pkr25-layout #game .table-shell .pot-panel{top:43%!important;min-width:130px!important;padding:7px 12px!important}
 body.pkr25-layout #game .table-shell .pot-panel strong{font-size:24px!important}
 body.pkr25-layout #game .table-shell .pot-chips{top:48%!important;transform:translateX(-50%) scale(.48)!important}
 body.pkr25-layout #game .table-shell .phase-label{top:57%!important}
 body.pkr25-layout #game .table-shell #community{top:66%!important;width:calc(100% - 26px)!important;max-width:calc(100% - 26px)!important;gap:3px!important}
 body.pkr25-layout #game .table-shell #community>.poker-card{
  width:clamp(39px,11.5vw,58px)!important;height:clamp(57px,16vw,81px)!important;
  min-width:0!important;flex:0 1 clamp(39px,11.5vw,58px)!important;
 }
 body.pkr25-layout #game #myHand{max-width:100%!important;min-height:103px!important;padding:9px!important;margin-top:7px!important}
 body.pkr25-layout #game #myHand .hero-cards .poker-card{width:clamp(57px,17vw,69px)!important;height:clamp(82px,24vw,98px)!important;flex:0 0 clamp(57px,17vw,69px)!important}
 body.pkr25-layout #game .notice{min-height:30px!important;height:auto!important;white-space:normal!important;text-align:center!important}
 body.pkr25-layout #game .actions{max-width:100%!important;min-height:88px!important;max-height:none!important;overflow:visible!important;flex-wrap:wrap!important;justify-content:center!important}
 body.pkr25-layout #game .actions button:not(.hidden){flex:1 1 27%!important;min-height:43px!important;height:auto!important;font-size:clamp(11px,3.1vw,14px)!important}
}
@media screen and (max-width:350px){
 body.pkr25-layout #game .table-column .table-outer{height:705px!important;min-height:705px!important}
 body.pkr25-layout #game .table-shell #seats .seat.pkr25-seated{width:68px!important}
 body.pkr25-layout #game .table-shell .pot-panel{min-width:115px!important}
}

/* Le postazioni basse del tavolo completo tengono le carte SOPRA il box. */
body.pkr25-layout #game .table-shell #seats .seat.pkr25-lower .seat-mini,
body.pkr25-layout.pkr-red-v10 #game .table-shell #seats .seat.pkr25-lower .seat-mini{
 top:auto!important;bottom:calc(100% + 5px)!important;
}
/* Delimitazione più sicura tra carte comuni e postazioni, anche su desktop. */
body.pkr25-layout #game .table-shell #community{top:60%!important}
@media(max-width:760px){body.pkr25-layout #game .table-shell #community{top:62%!important}}
@media screen and (max-width:350px){
 body.pkr25-layout #game .table-shell .pot-panel{
  min-width:0!important;max-width:136px!important;padding:6px 7px!important;
 }
 body.pkr25-layout #game .table-shell .pot-panel strong{font-size:19px!important;letter-spacing:0!important}
 body.pkr25-layout #game .table-shell .pot-panel strong small{font-size:8px!important;letter-spacing:0!important}
}
