/* LUNA Signature Poker 0.6.2 — reference-proportioned scene.
   Only applies to Hold'em scenes. All game state, identity, timing and accounting
   continue to originate from the original server. No JS writes to wallets. */
@media (min-width:761px){
 body:has(.poker-stage .luna-ref-community) .main.main-game{
   box-sizing:border-box!important;width:min(1450px,calc(100vw - 150px))!important;
   max-width:none!important;margin:0 auto!important;padding:17px 18px 38px!important;
 }
 body:has(.poker-stage .luna-ref-community) .game-layout{
   display:grid!important;grid-template-columns:minmax(0,1fr) 266px!important;
   gap:17px!important;align-items:start!important;
 }
 body:has(.poker-stage .luna-ref-community) .game-heading{min-height:60px!important;margin-bottom:7px!important}
 body:has(.poker-stage .luna-ref-community) .table-topline{margin-bottom:13px!important}
 body:has(.poker-stage .luna-ref-community) .game-heading h1{font-size:clamp(35px,2.55vw,45px)!important}
 body:has(.poker-stage .luna-ref-community) .game-aside{padding:20px 20px!important;min-width:0!important;border:1.5px solid #b99153!important;
    background:linear-gradient(145deg,#05241a,#041810)!important;box-shadow:0 16px 50px #000a,inset 0 1px #e8c47c36!important}
 body:has(.poker-stage .luna-ref-community) .aside-summary{padding:19px!important;margin-top:20px!important;
   background:radial-gradient(ellipse 120% 120% at 30% 15%,#16543b,#0a2d21 65%,#061d16)!important;}
 body:has(.poker-stage .luna-ref-community) .aside-summary>strong{font-size:39px!important}
 body:has(.poker-stage .luna-ref-community) .vip050-action-dock{margin-top:14px!important;padding:16px 22px!important;min-height:74px!important;border:1.5px solid #ca9f53!important}
 body:has(.poker-stage .luna-ref-community) .dock-status b{font-size:16px!important}
}
/* Designed for a 1120 x 610 stage. Geometry is proportional, rather than
   turning the felt into a gigantic, flat letterbox on ultrawide displays. */
.vip050-stage.poker-stage:has(.luna-ref-community){
 height:clamp(545px,68vh,610px)!important;min-height:545px!important;
 border-radius:15px!important;border:1.5px solid #e0b36a!important;
 background:
  radial-gradient(ellipse 50% 45% at 50% 18%,#c9ac6a35,transparent 77%),
  radial-gradient(ellipse 80% 60% at 50% 90%,#0c352760,transparent 90%),
  linear-gradient(180deg,#04130f 0%,#04110b 70%,#020b08 100%)!important;
 box-shadow:inset 0 1px #f1ce8966,0 26px 55px #000a!important;
}
.vip050-stage.poker-stage .felt{
 box-sizing:border-box!important;left:5.5%!important;top:21%!important;
 width:89%!important;height:69%!important;border:15px solid #301b11!important;
 background:repeating-linear-gradient(35deg,#ffffff02 0 1px,transparent 1px 4px),
  radial-gradient(ellipse at 49% 31%,#107151 0%,#096448 43%,#07513b 72%,#06412e 100%)!important;
 box-shadow:0 0 0 2px #f2d18a,0 3px 0 5px #b27731,0 10px 0 8px #452318,
  0 17px 0 11px #d49d50,0 21px 0 14px #432314,0 30px 24px 12px #000b,
  inset 0 0 0 2px #d8b16b,inset 0 0 0 10px #053b2b99,inset 0 0 60px #001b11dd!important;
}
.vip050-stage.poker-stage .felt:after{inset:11px!important;border-color:#d6ad635a!important}
.vip050-stage.poker-stage .seat{width:170px!important;z-index:22!important}
.vip050-stage.poker-stage .seat-0{left:50%!important;bottom:1.6%!important;width:210px!important;transform:translateX(-50%)!important;z-index:27!important}
.vip050-stage.poker-stage .seat-1{left:3.6%!important;bottom:17%!important}
.vip050-stage.poker-stage .seat-2{left:3.6%!important;top:23%!important}
.vip050-stage.poker-stage .seat-3{left:50%!important;top:1%!important;transform:translateX(-50%)!important}
.vip050-stage.poker-stage .seat-4{right:3.6%!important;top:23%!important}
.vip050-stage.poker-stage .seat-5{right:3.6%!important;bottom:17%!important}
.vip050-stage.poker-stage .seat-info,.vip050-stage.poker-stage .seat.you .seat-info{
 min-height:52px!important;border:1.7px solid #e0b169!important;border-radius:26px!important;
 padding:6px 11px!important;background:linear-gradient(125deg,#0e4432f5,#05251bf7 72%,#061710)!important;
 box-shadow:inset 0 1px #fce5ab65,0 7px 18px #000c!important;
}
.vip050-stage.poker-stage .seat.acting .seat-info{box-shadow:inset 0 1px #ffe3a4,0 0 0 1px #e6c16e,0 0 25px #ffdf8d99!important}
.vip050-stage.poker-stage .seat-info .avatar{width:35px!important;height:35px!important;font-size:12px!important}
.vip050-stage.poker-stage .seat-details b{font-size:13px!important}
.vip050-stage.poker-stage .seat-details>span{font-size:15px!important}
.vip050-stage.poker-stage .seat:not(.you) .card.small{width:44px!important;height:61px!important}
.vip050-stage.poker-stage .seat.you .card.small{width:57px!important;height:79px!important}
.vip050-stage.poker-stage .seat>.cards{margin-bottom:7px!important}
.vip050-stage.poker-stage .seat-action{font-size:10px!important}
.vip050-stage.poker-stage .luna-ref-community{top:27%!important;height:310px!important}
.vip050-stage.poker-stage .luna-ref-pot{height:122px!important;width:230px!important}
.vip050-stage.poker-stage .luna-ref-pot .pot-label{font-size:11px!important;letter-spacing:2.5px!important;margin-bottom:5px!important}
.vip050-stage.poker-stage .luna-ref-pot .pot-number{font-size:43px!important;color:#ffda92!important;margin-bottom:6px!important}
.vip050-stage.poker-stage .luna-ref-pot-stack{height:33px!important}
.vip050-stage.poker-stage .luna-ref-pot-stack i{width:36px!important;height:27px!important}
.vip050-stage.poker-stage .luna-ref-board{top:127px!important;gap:8px!important}
.vip050-stage.poker-stage .luna-ref-board .card,.vip050-stage.poker-stage .luna-ref-board .card-slot{width:clamp(57px,5vw,76px)!important;height:clamp(80px,7vw,105px)!important}
.vip050-stage.poker-stage .luna-ref-board .card>.corner{font-size:19px!important}
.vip050-stage.poker-stage .luna-ref-board .card>b{font-size:39px!important}
.vip050-stage.poker-stage .luna-ref-street{top:242px!important;letter-spacing:3px!important}
.vip050-stage.poker-stage .table-deck{left:80.5%!important;top:30%!important;width:47px!important;height:68px!important}
/* v0.6.2.1: permanent deck anchor on felt, not against the right-hand seat.
   Only the visual deck moves; no gameplay or card animation logic is modified. */
@media (min-width:761px){
 .vip050-stage.poker-stage .table-deck{
   left:66%!important;top:25%!important;
   width:47px!important;height:68px!important;
   pointer-events:none!important;
 }
}
.vip050-stage.poker-stage .stage-label{font-size:11px!important;top:19px!important}
@media (min-width:761px) and (max-width:1250px){
 body:has(.poker-stage .luna-ref-community) .main.main-game{width:calc(100vw - 88px)!important;padding:15px!important}
 body:has(.poker-stage .luna-ref-community) .game-layout{grid-template-columns:minmax(0,1fr) 228px!important;gap:12px!important}
 .vip050-stage.poker-stage .seat{width:138px!important}
 .vip050-stage.poker-stage .seat-0{width:180px!important}
 .vip050-stage.poker-stage .seat-details b{font-size:11px!important}
 .vip050-stage.poker-stage .seat-details>span{font-size:12px!important}
 .vip050-stage.poker-stage .seat:not(.you) .card.small{width:34px!important;height:47px!important}
 .vip050-stage.poker-stage .seat.you .card.small{width:45px!important;height:63px!important}
 .vip050-stage.poker-stage .luna-ref-board .card,.vip050-stage.poker-stage .luna-ref-board .card-slot{width:52px!important;height:74px!important}
}
@media (min-width:761px) and (max-width:1040px){
 body:has(.poker-stage .luna-ref-community) .game-layout{grid-template-columns:minmax(0,1fr)!important}
 body:has(.poker-stage .luna-ref-community) .game-aside{margin-top:18px!important}
}
@media (max-width:760px){ /* Original v0.6.0 mobile style remains untouched. */ }
@media (prefers-reduced-motion:reduce){.vip050-stage.poker-stage .luna-ref-pot-stack i{animation:none!important}}
