/* POKERANDO V37: GENUINE replacement of table-top art. Not a background-only recolor.
   The art contains the full padded leather rim, brass inlay and textured felt;
   all gameplay elements still render above it and derive from server state. */
body.pkr37-table #game .table-outer,
body.pkr37-table.pkr36-vip #game .table-column .table-outer,
body.pkr37-table.pkr36-vip:not(.pkr35-landscape) #game .table-column .table-outer{
  background-color:transparent!important;
  background-image:url('pokerando-tabletop-v37-wide.webp')!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  background-position:center!important;
  box-shadow:none!important;
  border:0!important;
  padding:clamp(18px,2.7vw,45px)!important;
  border-radius:0!important;
  overflow:visible!important;
  filter:drop-shadow(0 15px 12px #0009)!important;
}
body.pkr37-table #game .table-outer .table-shell,
body.pkr37-table.pkr36-vip #game .table-column .table-outer .table-shell,
body.pkr37-table.pkr36-vip:not(.pkr35-landscape) #game .table-column .table-outer .table-shell{
  border:none!important;
  background:none!important;
  background-color:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
/* Disable inherited faux felt drawn over the new asset. */
body.pkr37-table #game .table-shell::before,
body.pkr37-table #game .table-shell::after{
  background:none!important;box-shadow:none!important;border:0!important;
  pointer-events:none!important;
}
body.pkr37-table #game .table-shell .felt-logo{opacity:.08!important}
body.pkr37-table #game #pkr36OnTable{opacity:.48!important}
/* Stronger 3D separation of player nameplates and cards on the new rim. */
body.pkr37-table #game .table-shell #seats .seat:not(.empty):not(.me){
  border:1px solid #e6b86a!important;
  background:linear-gradient(165deg,#28251eed 0%,#05080bf9 58%,#040708fc 100%)!important;
  box-shadow:inset 0 1px 0 #ffe8b761,0 4px 0 #5c3820,0 7px 12px #000c!important;
}
body.pkr37-table #game .table-shell #seats .seat .seat-bet{
  box-shadow:inset 0 1px 0 #ffdda777,0 2px 0 #5d3c19,0 6px 10px #000b!important;
}
body.pkr37-table #game .table-shell #community .poker-card:not(.empty){
  box-shadow:0 3px 0 #a2a69a,0 8px 11px #000a!important;
}
/* The user's chosen PWA full-screen portrait already works; replace only the art and
   preserve all established responsive sizes/positions/actions. */
@media screen and (max-width:760px) and (orientation:portrait){
 body.pkr37-table #game .table-outer,
 body.pkr37-table.pkr36-vip #game .table-column .table-outer,
 body.pkr37-table.pkr36-vip:not(.pkr35-landscape) #game .table-column .table-outer{
  background-image:url('pokerando-tabletop-v37-tall.webp')!important;
  background-size:100% 100%!important;
  border:0!important;
  padding:clamp(10px,3.3vw,15px)!important;
  box-shadow:none!important;
  filter:none!important;
 }
}
/* iPhone horizontal is set up by V35, which uses the landscape class and may
   exceed 760 CSS px. Override only the table art, not the 2-column arrangement. */
body.pkr37-table.pkr35-landscape #game .table-column .table-outer{
 background-image:url('pokerando-tabletop-v37-wide.webp')!important;
 background-size:100% 100%!important;
 border:0!important;
 padding:clamp(8px,1.3vw,13px)!important;
 box-shadow:none!important;
 filter:none!important;
}
body.pkr37-table.pkr35-landscape #game .table-column .table-outer .table-shell{
 background:none!important;border:0!important;box-shadow:none!important;
}
/* A verifiable version indicator to diagnose stale Aruba/browser caches. */
body.pkr37-table #pkr36Tag{border-color:#f6ce8a!important;background:linear-gradient(130deg,#332217,#0b1312)!important;color:#ffdf98!important}

/* Hide old straight rectangular outline behind the new physical table artwork. */
body.pkr37-table #game .table-column .table-outer::before,
body.pkr37-table #game .table-column .table-outer::after{
  content:none!important;display:none!important;box-shadow:none!important;outline:none!important;
}
