/* Pokerando V28 - layout visivo, nessuna modifica alle regole. */
body.pkr28-layout #game #seats .seat.me,
body.pkr28-layout #game #seats .seat.pkr28-observer{display:none!important}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player{
  position:absolute!important;
  left:var(--pkr28-x)!important;top:var(--pkr28-y)!important;
  transform:translate(-50%,-50%)!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:36!important;
  box-sizing:border-box!important;
  text-align:center!important;
  width:clamp(142px,12.8vw,182px)!important;
  min-height:66px!important;
  padding:8px 9px 8px 34px!important;
  border:2px solid #b99458!important;
  background:linear-gradient(145deg,#081a21,#08120f)!important;
  border-radius:15px!important;
  box-shadow:0 5px 15px #000a!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .avatar{
  width:51px!important;height:51px!important;left:-13px!important;top:50%!important;
  right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;
  border:2px solid #f4d38c!important;z-index:50!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seatname,
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack{
  display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  overflow:hidden!important;max-width:100%!important;line-height:1.15!important;
  font-family:system-ui,-apple-system,sans-serif!important;
  text-align:center!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seatname{
  font-size:17px!important;font-weight:900!important;color:#fff!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack{
  font-size:16px!important;font-weight:800!important;color:#ffdf9f!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack small{font-size:10px!important}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-mini{
  position:absolute!important;
  width:max-content!important;max-width:none!important;display:flex!important;
  left:64%!important;right:auto!important;transform:translateX(-50%)!important;
  top:auto!important;bottom:calc(100% + 8px)!important;
  gap:5px!important;z-index:34!important;overflow:visible!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player.pkr28-upper .seat-mini{
  top:calc(100% + 7px)!important;bottom:auto!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-mini>.poker-card{
  box-sizing:border-box!important;flex:0 0 54px!important;
  width:54px!important;min-width:54px!important;max-width:54px!important;
  height:78px!important;min-height:78px!important;max-height:78px!important;border-radius:6px!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-bet{
  position:absolute!important;top:50%!important;bottom:auto!important;
  left:calc(100% + 7px)!important;right:auto!important;
  transform:translateY(-50%)!important;
  padding:5px 8px!important;min-width:65px!important;max-width:120px!important;min-height:35px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:4px!important;border:2px solid #eac47e!important;border-radius:18px!important;
  background:#071a18f2!important;z-index:50!important;
}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player:nth-child(n+5) .seat-bet{left:auto!important;right:calc(100% + 7px)!important}
body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-bet strong{font-size:15px!important;font-weight:900!important}
body.pkr28-layout #game .table-shell #community{
  position:absolute!important;left:50%!important;top:62%!important;
  transform:translate(-50%,-50%)!important;margin:0!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:max-content!important;max-width:85%!important;gap:8px!important;z-index:25!important;
}
body.pkr28-layout #game .table-shell #community>.poker-card{
  width:clamp(58px,6vw,80px)!important;height:clamp(83px,8.3vw,112px)!important;
  flex:0 0 clamp(58px,6vw,80px)!important;
}
body.pkr28-layout #game #myHand{position:relative!important;max-width:960px!important;margin:8px auto!important}
body.pkr28-layout #game #myHand .pkr28-self{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:13px!important;
  flex-wrap:wrap!important;width:100%!important;padding:5px 8px!important;
  margin:2px auto 8px!important;border-radius:12px!important;
  background:#071b1aec!important;border:1px solid #b18d56!important;
}
body.pkr28-layout #game #myHand .pkr28-self[hidden]{display:none!important}
body.pkr28-layout #game #myHand .pkr28-self strong{font-size:18px!important;font-weight:900!important;color:#fff!important}
body.pkr28-layout #game #myHand .pkr28-self span{font-size:17px!important;font-weight:900!important;color:#ffe1a5!important}
body.pkr28-layout #game #myHand .pkr28-self b{font-size:12px!important;padding:3px 8px!important;border-radius:9px!important;background:#b48b4e!important;color:#13241c!important}
body.pkr28-layout #game #myHand .pkr28-self .pkr28-self-turn{background:#57a86d!important}
body.pkr28-layout #game .pkr28-clock{
  position:absolute!important;left:5%!important;right:5%!important;top:calc(100% + 4px)!important;
  height:11px!important;overflow:visible!important;border-radius:8px!important;
  border:1px solid #ad9a70!important;background:#172d37!important;z-index:70!important;
}
body.pkr28-layout #game .pkr28-clock-progress{
  display:block!important;height:100%!important;background:linear-gradient(90deg,#32bf7a,#e9c85d,#d06852)!important;
  width:0%;border-radius:8px!important;transition:width .25s linear!important;
}
body.pkr28-layout #game .pkr28-clock small{
  position:absolute!important;right:0;bottom:calc(100% + 1px);font:800 10px/1 system-ui!important;
  white-space:nowrap;background:#08201ee0;padding:2px 4px;border-radius:5px;color:#fff!important;
}
@media screen and (min-width:761px) and (max-width:1090px){
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player{width:118px!important;min-height:59px!important;padding:6px 5px 6px 22px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .avatar{width:38px!important;height:38px!important;left:-6px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seatname{font-size:13px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack{font-size:12px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-mini>.poker-card{width:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;height:62px!important;min-height:62px!important;max-height:62px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-bet{min-width:50px!important;max-width:75px!important}
 body.pkr28-layout #game .table-shell #community{gap:5px!important;top:62%!important}
 body.pkr28-layout #game .table-shell #community>.poker-card{width:clamp(50px,6vw,65px)!important;height:clamp(75px,8vw,95px)!important;flex:0 0 clamp(50px,6vw,65px)!important}
}
@media screen and (max-width:760px){
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player{
   width:clamp(85px,25vw,105px)!important;min-height:39px!important;
   padding:3px 3px 3px 12px!important;border-radius:10px!important;
 }
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .avatar{
   width:30px!important;height:30px!important;left:-2px!important;top:50%!important;
 }
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seatname{font-size:11px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack{font-size:10px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .stack small{font-size:7px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-mini{left:67%!important;gap:2px!important;top:auto!important;bottom:calc(100% + 3px)!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player.pkr28-upper .seat-mini{top:calc(100% + 3px)!important;bottom:auto!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-mini>.poker-card{
   width:clamp(29px,8.8vw,38px)!important;min-width:clamp(29px,8.8vw,38px)!important;
   max-width:clamp(29px,8.8vw,38px)!important;flex:0 0 clamp(29px,8.8vw,38px)!important;
   height:clamp(43px,12.5vw,56px)!important;min-height:clamp(43px,12.5vw,56px)!important;max-height:clamp(43px,12.5vw,56px)!important;
 }
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-bet{
   top:calc(100% + 2px)!important;left:50%!important;right:auto!important;
   transform:translateX(-50%)!important;min-width:50px!important;max-width:78px!important;
   padding:1px 5px!important;min-height:18px!important;
 }
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player .seat-bet strong{font-size:10px!important}
 body.pkr28-layout #game .table-shell #seats .seat.pkr28-player:nth-child(n+5) .seat-bet{left:50%!important;right:auto!important}
 body.pkr28-layout #game .table-shell #community{top:65%!important;gap:3px!important;width:max-content!important;max-width:95%!important}
 body.pkr28-layout #game .table-shell #community>.poker-card{width:clamp(39px,11.5vw,59px)!important;height:clamp(57px,16vw,82px)!important;flex:0 0 clamp(39px,11.5vw,59px)!important}
 body.pkr28-layout #game #myHand .pkr28-self{gap:6px!important;padding:4px 5px!important}
 body.pkr28-layout #game #myHand .pkr28-self strong{font-size:13px!important}
 body.pkr28-layout #game #myHand .pkr28-self span{font-size:12px!important}
 body.pkr28-layout #game .pkr28-clock{height:7px!important}
 body.pkr28-layout #game .pkr28-clock small{font-size:8px!important}
}
