/* Largo presentation layer. The PokerTH game engine and table mechanics stay intact. */
/* Keep upstream community branding out of the Largo game chrome. */
body .cl-links, body .cf-social.cf-web, body .cf-social.cf-github,
body #s-connect .connect-footer-line:last-child {display:none!important}
#s-connect {
  background: radial-gradient(ellipse at 50% 9%, rgba(29, 114, 128, .32), transparent 43%),
              radial-gradient(ellipse at 50% 110%, rgba(184, 117, 27, .18), transparent 55%),
              #101b23;
}

#s-connect .card {
  border-color: rgba(217, 165, 69, .45);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .48), 0 0 36px rgba(30, 200, 213, .10);
}

#s-connect .card-logo {
  border-color: rgba(217, 165, 69, .3);
}

.largo-poker-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .38em;
  color: #f8ecce;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  line-height: 1.1;
  text-shadow: 0 2px 1px #432309, 0 0 18px rgba(255, 190, 80, .35);
}

.largo-poker-mark span {
  font-weight: 700;
  font-style: italic;
  color: #f2c26a;
}

.largo-poker-mark strong {
  padding-left: .4em;
  border-left: 1px solid rgba(246, 204, 118, .5);
  font-family: system-ui, sans-serif;
  font-size: .55em;
  font-weight: 900;
  letter-spacing: .12em;
}

#s-connect .card-subtitle { color: #9bdddf; }
#s-connect .login-card:nth-child(2) {
  border-color: rgba(54, 208, 220, .65);
  box-shadow: inset 0 0 20px rgba(44, 194, 205, .08);
}

@media (max-width: 520px) {
  .largo-poker-mark { font-size: 1.65rem; }
}

/* The artwork contains an empty recess for the live self seat. */
#s-game {
  background: #0a0a0b !important;
}

#s-game #g-table-zone {
  background: #0a0a0b url('/poker/table/largo-poker-9-console-branded-4k.webp?v=317') center center / 100% 100% no-repeat !important;
}
body.largo-cash-playing[data-largo-table="plain"] #s-game #g-table-zone {
  background-image: url('/poker/table/largo-poker-9-console-plain-4k.webp?v=317') !important;
}

/* Give the shared artwork/seat/bet coordinate plane a little more depth into
   the empty space above the fixed controls. Its width and all overlays keep
   the same anchor; small screens retain their compact layout. */
@media (min-width: 1100px) and (min-height: 760px) {
  body.largo-cash-playing #s-game #g-table-zone { margin-bottom: -70px; }
}

#s-game .felt-oval {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#s-game .felt-oval::before { display: none; }

#s-game .pot-badge {
  background: rgba(28, 12, 10, .92);
  border-color: #e0b56f;
  color: #ffe6a7;
}

#s-game .my-zone .action-grid,
#s-game .my-zone .waiting-panel {
  background: linear-gradient(180deg, #39201d, #190e0d);
  border: 1px solid #be8a4e;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .7);
}

/* Largo cash lobby — original game table remains the layout anchor. */
#largo-cash-menu { position:fixed;inset:0;z-index:9000;overflow:auto;color:#eef6f6;background:radial-gradient(ellipse at 22% 42%,#25404866,transparent 49%),radial-gradient(ellipse at 80% 15%,#68777733,transparent 30%),#171f24;font-family:Arial,system-ui,sans-serif; }
#largo-cash-menu[hidden],#largo-cash-bar[hidden]{display:none!important}
.lc-header{max-width:1400px;margin:auto;padding:26px 4%;display:flex;align-items:center;gap:30px;border-bottom:1px solid #73858a40}
.lc-mode-note{letter-spacing:.2em;font-size:11px;color:#92a5ab;flex:1}
.lc-header .largo-poker-mark{font-size:32px}
.lc-main{max-width:1300px;min-height:calc(100vh - 190px);margin:auto;padding:44px 5%;display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:7%}
.lc-eyebrow{font-size:11px;letter-spacing:.2em;font-weight:bold;color:#e4bf78}
.lc-intro h1{font-size:clamp(40px,4.5vw,68px);line-height:1.04;letter-spacing:-.04em;margin:20px 0;color:#f3f6f5;font-weight:800}
.lc-intro h1 em{font-style:normal;color:#8ce8ed;text-shadow:0 0 28px #00cbd033}
.lc-intro p{font-size:16px;line-height:1.6;color:#aab9bf}
.lc-table-preview{margin:8px -40px -8px;overflow:hidden;mix-blend-mode:lighten}
.lc-table-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}
.lc-features{display:flex;gap:18px;flex-wrap:wrap;color:#9cb7ba;font-size:11px}
.lc-features span::before{content:'•';color:#1ddde2;margin-right:7px}
.lc-setup{padding:29px;border:1px solid #82929644;border-radius:22px;background:linear-gradient(150deg,#303b42b3,#131b22e6);box-shadow:0 30px 80px #0005}
.lc-setup-head{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.1em;font-weight:700;color:#86e1e5}
.lc-dot{width:7px;height:7px;border-radius:100%;background:#00dbe3;box-shadow:0 0 12px #00dbe3}
.lc-test{margin-left:auto;color:#a0acb2;letter-spacing:0;font-weight:400;font-size:10px}
.lc-setup h2{font-size:27px;margin:23px 0 8px;color:#fff}
.lc-setup>p{font-size:12px;color:#9eafb7;line-height:1.6;margin:0 0 20px}
.lc-balance{border:1px solid #29aab256;background:#0b2429a6;padding:15px 17px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.lc-balance span{font-size:12px;color:#b3cacc}.lc-balance strong{font-size:25px;color:#d1fbff;font-variant-numeric:tabular-nums}
.lc-fields{display:grid;gap:15px}.lc-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lc-avatar-row{display:flex;align-items:center;gap:12px;color:#d9ece9}
.lc-avatar-preview{width:46px;height:46px;flex:none;display:grid;place-items:center;overflow:hidden;
  border:2px solid #d7ac59;border-radius:50%;background:radial-gradient(circle at 35% 30%,#164840,#072522 75%);
  box-shadow:inset 0 2px 5px #001b18,0 0 8px #b48c4633;font-size:25px}
.lc-avatar-preview img{display:block;width:100%;height:100%;object-fit:cover}
.lc-avatar-row button{border:1px solid #74a6a2;border-radius:8px;background:#173b3a;color:#e8f4ec;
  padding:10px 14px;font:700 12px Arial,sans-serif;cursor:pointer}
.lc-avatar-row button:hover{border-color:#d7ac59;color:#fff}
/* The painted recess is part of the table image, so the avatar uses the same
   percentage coordinate plane instead of following the cards' seat anchor. */
#lc-self-avatar-plane{display:none;position:absolute;left:38.2%;top:76.5%;z-index:6;
  width:5.45%;height:9.45%;box-sizing:border-box;place-items:center;overflow:hidden;
  border:0;border-radius:50%;background:#103b35;color:#f8e5b6;
  transform:translate(-50%,-50%) perspective(200px) rotateX(-11deg);
  transform-origin:50% 55%;box-shadow:inset 0 4px 8px #001b1880,0 2px 4px #00110f80;
  font-size:clamp(17px,3vw,42px);line-height:1;pointer-events:none}
body.largo-cash-playing #lc-self-avatar-plane.has-avatar{display:grid}
#lc-self-avatar-plane img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Nick and balance use the same painted-table coordinates as the avatar.
   The engine seat still supplies their values but no longer moves the text. */
#lc-self-info-plane{display:none;position:absolute;left:58.2%;top:72.5%;width:10.6%;z-index:6;
  flex-direction:column;align-items:flex-start;gap:1px;pointer-events:none;
  font-family:Arial,sans-serif;text-align:left;white-space:nowrap}
body.largo-cash-playing #lc-self-info-plane.has-self{display:flex}
#lc-self-info-plane .lc-self-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;
  color:#f7f3de;font-size:clamp(16px,1.4vw,27px);font-weight:700;line-height:1.2}
#lc-self-info-plane .lc-self-money{display:block;color:#f4ce58;font-weight:800;line-height:1.08;
  font-variant-numeric:tabular-nums;text-shadow:0 2px 3px rgba(0,0,0,.7)}
body.largo-cash-playing #s-game .seat.me .seat-info{visibility:hidden!important}
#largo-cash-menu label,#lc-topup-dialog label{display:grid;gap:8px;color:#b8c7cb;font-size:12px}
#lc-buyin-range{float:right;justify-self:end;margin-top:-22px;font-size:10px;color:#7f9ca4}
#largo-cash-menu input,#largo-cash-menu select,#lc-topup-dialog input{box-sizing:border-box;width:100%;min-height:43px;background:#121d24;border:1px solid #5c777c66;border-radius:8px;color:#f4f9f9;font-size:15px;padding:9px 13px;font-family:inherit}
#largo-cash-menu input:focus,#largo-cash-menu select:focus{outline:2px solid #00dce5;outline-offset:2px}
.lc-buyin-options{display:flex;gap:9px;margin-top:-7px}.lc-buyin-options button{flex:1;border:1px solid #496069;background:#24323a;border-radius:7px;padding:8px;color:#b3c6cd;cursor:pointer}.lc-buyin-options .selected{border-color:#38cbd1;color:#9bebee;background:#1b4a5066}
.lc-primary{display:flex;justify-content:center;align-items:center;gap:20px;width:100%;min-height:53px;border:1px solid #60f3fa;border-radius:30px;background:linear-gradient(180deg,#1b5f68,#102c34);color:#bcfbff;box-shadow:0 0 20px #08ced426,inset 0 0 20px #15c6d015;font-size:13px;font-weight:800;letter-spacing:.06em;cursor:pointer}
.lc-primary:hover{background:#22626a;box-shadow:0 0 24px #12cad74d}.lc-primary:disabled{opacity:.55;cursor:wait}
.lc-outline{border:1px solid #31c5d0;border-radius:24px;padding:10px 20px;background:#172a31;color:#a5ecf1;font-size:11px;font-weight:bold;cursor:pointer}.lc-outline:disabled{opacity:.45;cursor:default}
.lc-setup .lc-rule-note{font-size:11px;line-height:1.55;text-align:center;margin:15px 0 12px;color:#97a6ad}
.lc-text-link{display:block;margin:0 auto;color:#cdb483;border:0;background:none;cursor:pointer;font-size:11px;text-decoration:underline;text-underline-offset:4px}
.lc-footer{border-top:1px solid #73858a33;max-width:1300px;margin:0 auto;padding:20px 5%;display:flex;gap:14px;font-size:12px;color:#859a9f}.lc-footer>span:last-child{margin-left:auto}
#lc-error,#lc-topup-error{color:#ffae91;margin:10px 0;min-height:14px;font-size:12px}
#lc-topup-dialog{border:1px solid #738d8f;border-radius:18px;background:#1c292f;color:#edf7f8;max-width:430px;padding:28px;z-index:10000;font:14px Arial,sans-serif}
#lc-topup-dialog::backdrop{background:#000b}#lc-topup-dialog h2{font-size:26px}#lc-topup-dialog p{line-height:1.5;color:#a7bcc3}.lc-dialog-actions{display:flex;gap:12px;margin-top:20px}
@media(max-width:850px){.lc-main{gap:30px;padding:25px 5%;grid-template-columns:1fr 1fr}.lc-intro h1{font-size:43px}.lc-setup{padding:20px}.lc-mode-note{display:none}.lc-header{justify-content:space-between}.lc-table-preview{margin:0 -15px}.lc-features{gap:10px}#largo-cash-bar{gap:10px;padding:8px;font-size:10px}#largo-cash-bar button{padding:9px 12px;font-size:9px}}
@media(max-width:620px){.lc-main{grid-template-columns:1fr;min-height:0}.lc-intro h1{font-size:38px;margin:15px 0}.lc-intro p{font-size:13px}.lc-table-preview{display:none}.lc-features{margin-top:20px}.lc-setup{margin-top:0}.lc-header{padding:20px}.lc-footer{font-size:10px}.lc-header .largo-poker-mark{font-size:25px}#largo-cash-bar{flex-wrap:wrap;justify-content:center;gap:6px 14px}#lc-table-message{flex-basis:100%;text-align:center}body.largo-cash-playing #s-game{padding-bottom:100px!important}}

#adv-modal{z-index:10010!important}
@media(min-width:621px) and (max-height:850px){
.lc-header{padding:14px 4%}.lc-main{padding:20px 5%;min-height:0}.lc-setup{padding:20px 24px}.lc-setup h2{margin:13px 0 6px;font-size:24px}.lc-setup>p{margin-bottom:12px}.lc-balance{padding:10px 14px;margin-bottom:12px}.lc-fields{gap:10px}#largo-cash-menu label{gap:5px}#largo-cash-menu input,#largo-cash-menu select{min-height:35px;padding:6px 11px}.lc-primary{min-height:44px}.lc-setup .lc-rule-note{margin:10px 0}.lc-buyin-options button{padding:6px}.lc-footer{padding:12px 5%}.lc-intro h1{font-size:50px}.lc-table-preview{max-height:220px}
}

#lc-tournament[hidden]{display:none!important}

/* Approved opponent plate: real game avatars and cards remain independent of
   the artwork, so flips, actions and turn highlighting continue to work. */
html body.largo-cash-playing #s-game .seat:not(.me) {
  width:190px!important;min-width:0!important;max-width:none!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-plate {
  display:block!important;position:relative!important;width:190px!important;height:110px!important;
  box-sizing:border-box!important;padding:0!important;margin:0!important;overflow:visible!important;
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  opacity:1!important;isolation:isolate;
  --turn-glow-inset:31px 12px 3px 35px;--turn-glow-radius:8px;
  --winner-frame-inset:31px 12px 3px 35px;--winner-frame-radius:8px;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-plate::before {
  content:"";position:absolute;left:-60px;top:-40px;width:310px;height:230px;
  z-index:2;pointer-events:none;
  /* Padding is part of the SVG image, so Safari cannot clip the plaque's
     outer shadow when a nearby puck is composited into its own layer. */
  background:url('/poker/table/largo-seat-emerald-shadow.svg') center/310px 230px no-repeat;
  filter:none;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-avatar {
  position:absolute!important;left:5.5px!important;top:39.5px!important;right:auto!important;bottom:auto!important;
  width:61px!important;height:61px!important;max-width:none!important;max-height:none!important;
  box-sizing:border-box!important;transform:none!important;border:0!important;border-radius:50%!important;
  background:#12342e!important;box-shadow:none!important;z-index:3!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards {
  position:absolute!important;left:88px!important;top:-9px!important;right:auto!important;bottom:auto!important;
  width:auto!important;height:60.72px!important;display:flex!important;gap:1px!important;
  margin:0!important;transform:none!important;z-index:1!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards .pk {
  width:36.96px!important;height:60.72px!important;box-sizing:border-box!important;margin:0!important;flex:none!important;
  /* The card artwork supplies the edge; the generic 3-D card treatment
     creates a second pale strip above these small, tilted hole cards. */
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards .pk.back {
  clip-path:none!important;
  /* Rounded SVG corners should reveal the felt, not a green CSS backing. */
  background:var(--card-back) center / 100% 100% no-repeat transparent!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards .pk + .pk {margin-left:-14.3px!important}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards .pk:first-child {transform:rotate(-5deg)}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards .pk:nth-child(2) {transform:rotate(5deg)}
html body.largo-cash-playing #s-game .seat.folded .seat-holecards {display:none!important}
/* At showdown, both entire faces lie in front of the name and stack panel.
   The smaller backs stay tucked behind the plaque until then. */
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.revealed {
  left:56px!important;top:18px!important;right:auto!important;bottom:auto!important;
  width:138px!important;height:91px!important;gap:8px!important;
  overflow:visible!important;
  z-index:7!important;opacity:1!important;filter:none!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.revealed .pk {
  /* 15% taller than the previous reveal; 5:7 matches the actual 120x168
     artwork, so the larger face is never stretched to fit the old box. */
  width:65px!important;height:91px!important;aspect-ratio:5/7!important;margin:0!important;
  background-size:contain!important;opacity:1!important;filter:none!important;
  background-color:#fff!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.revealed .pk + .pk {margin-left:0!important}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.revealed .pk:first-child {
  --largo-card-angle:-5deg;transform:rotate(-5deg);transform-origin:50% 28%!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.revealed .pk:nth-child(2) {
  --largo-card-angle:5deg;transform:rotate(5deg);transform-origin:50% 28%!important;
}
html body.largo-cash-playing #s-game .seat.loser-fade .seat-holecards.revealed .pk {
  opacity:1!important;filter:none!important;
}
/* A gold edge identifies every winning hand without softening the face art. */
html body.largo-cash-playing #s-game .seat.winner .seat-holecards .pk {
  border-radius:5px!important;
  box-shadow:0 0 0 2px #ffe99e,0 0 9px 3px #f5c43a,0 0 19px 6px #bd7c1d99!important;
}
@keyframes largoWinnerCardPulse {
  0% {opacity:0;box-shadow:0 0 0 0 #ffe99e,0 0 0 0 #f5c43a}
  55% {opacity:1;box-shadow:0 0 0 3px #ffe99e,0 0 18px 8px #f5c43acc}
  100% {opacity:.8;box-shadow:0 0 0 2px #ffe99e,0 0 11px 4px #f5c43a99}
}
html body.largo-cash-playing #s-game .seat.winner .seat-holecards .pk::before {
  content:"";position:absolute;inset:-2px;border-radius:6px;pointer-events:none;
  animation:largoWinnerCardPulse 1.1s ease-out both;
}
/* The face remains in the same DOM position throughout the reveal. A full
   logo back covers it for one second, then swaps at the edge-on midpoint. */
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards:is(.reveal-wait,.reveal-turn) .pk::after {
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:5px;background:var(--card-back) center / 100% 100% no-repeat #202329;
}
@keyframes largoCardTurn {
  0% {transform:rotate(var(--largo-card-angle)) scaleX(1)}
  50% {transform:rotate(var(--largo-card-angle)) scaleX(0)}
  100% {transform:rotate(var(--largo-card-angle)) scaleX(1)}
}
@keyframes largoCardBackSwitch {
  0%,49.99% {opacity:1}
  50%,100% {opacity:0}
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.reveal-turn .pk {
  animation:largoCardTurn .42s ease-in-out both;
  animation-delay:var(--largo-turn-offset);
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-holecards.reveal-turn .pk::after {
  animation:largoCardBackSwitch .42s linear both;
  animation-delay:var(--largo-turn-offset);
}
/* The three position discs lie directly on the felt. Their placement is
   computed after each seat render; cast shadows from the SVG silhouettes. */
html body.largo-cash-playing #s-game .seat .seat-pucks {
  position:absolute!important;display:flex!important;align-items:center!important;
  gap:0!important;pointer-events:none!important;
}
html body.largo-cash-playing #s-game .seat .seat-pucks :is(.dealer-chip,.blind-chip) {
  width:32px!important;height:32px!important;
  filter:drop-shadow(0 2px 1px rgba(0,0,0,.8))
         drop-shadow(0 5px 4px rgba(0,0,0,.55))!important;
}
/* Live player data sits above the decorative plate. */
html body.largo-cash-playing #s-game .seat:not(.me) .seat-info {
  display:flex!important;position:absolute!important;left:73px!important;top:39px!important;
  width:98px!important;flex-direction:column!important;align-items:stretch!important;
  gap:2px!important;margin:0!important;padding:0!important;z-index:4!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-name {
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;
  font:700 13px/17px Arial,sans-serif!important;color:#fff5dc!important;
  text-align:center!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-money {
  display:block!important;margin:0!important;font:800 var(--largo-money-size, 26px)/28px Arial,sans-serif!important;
  color:#ffda78!important;text-align:center!important;white-space:nowrap;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-info-row2 {display:block!important}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-info .seat-flag {display:none!important}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-timer-badge {
  display:block!important;position:absolute!important;left:137px!important;top:88px!important;
  width:33px!important;min-width:0!important;height:13px!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
  font:700 11px/13px Arial,sans-serif!important;text-align:right!important;z-index:4!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-timeout-bar {
  display:block!important;position:absolute!important;left:74px!important;top:92px!important;
  width:59px!important;height:6px!important;transform:none!important;z-index:4!important;
  border:1px solid #b89c60!important;border-radius:4px!important;background:#092820!important;
}
html body.largo-cash-playing #s-game .seat:not(.me) .stb-fill {background:#f0ca73!important}
html body.largo-cash-playing #s-game .seat:not(.me) .seat-timer-rect,
html body.largo-cash-playing #s-game .seat:not(.me) .seat-timer {display:none!important}

/* Common cards and pot share the artwork's felt center. */
html body.largo-cash-playing #s-game .comm-row,
html body.largo-cash-playing #s-game .pot-badge {
  top:calc(50% + var(--largo-comm-offset, 0px))!important;
}
html body.largo-cash-playing #s-game .comm-row {
  transform:translate(-50%, -50%)!important;
  gap:calc(5.1px * var(--comm-scale, 1))!important;
}
/* Paint the SVG faces at their displayed size, including during a flip. */
html body.largo-cash-playing #s-game .comm-row .pk {
  width:calc(78.2px * var(--comm-scale, 1))!important;
  height:calc(108.8px * var(--comm-scale, 1))!important;
  font-size:calc(var(--standard-community-font-base) * var(--comm-scale, 1) * 1.7)!important;
  border-radius:calc(8.5px * var(--comm-scale, 1))!important;
  flex:none;
}
html body.largo-cash-playing #s-game .comm-row .pk:nth-child(3),
html body.largo-cash-playing #s-game .comm-row .pk:nth-child(4) {
  margin-right:calc(18.7px * var(--comm-scale, 1))!important;
}
html body.largo-cash-playing #s-game .pot-badge {
  --pot-badge-lift:calc(62.4px * var(--comm-scale, 1));
  font-size:max(20px, calc(26px * var(--comm-scale, 1)))!important;
  transform:translate(-50%, calc(-100% - var(--pot-badge-lift))) scale(1.15)!important;
  transform-origin:center bottom;
}

/* Keep the existing turn lift, card animations and fold/showdown effects.
   The active-turn text fade was making names and balances lose clarity. */
html body.largo-cash-playing #s-game .seat.active .seat-name,
html body.largo-cash-playing #s-game .seat.active .seat-money {
  opacity:1!important;
}
html body.largo-cash-playing #s-game .seat .seat-name,
html body.largo-cash-playing #s-game .seat .seat-money {text-align:center!important}
html body.largo-cash-playing #s-game .seat .seat-name.has-nv {justify-content:center!important}
/* Keep the engine's self-seat footprint, but place the live cards and data
   over the inset artwork. The avatar sits inside the painted gold recess. */
/* The bet layer is z=6. Keep the player's cards above it and above the rail;
   the fixed action controls retain their own higher layer. */
body.largo-cash-playing #s-game #g-seats { z-index:7!important; }
html body.largo-cash-playing #s-game .seat.me { z-index:20!important; }
html body.largo-cash-playing #s-game .seat.me .seat-plate {
  display:block!important;position:relative!important;width:146px!important;height:122px!important;
  box-sizing:border-box!important;margin:0!important;padding:0!important;
  background:none!important;border:0!important;box-shadow:none!important;opacity:1!important;
}
html body.largo-cash-playing #s-game .seat.me .seat-plate::before {display:none!important}
html body.largo-cash-playing #s-game .seat.me .seat-avatar {
  position:absolute!important;left:-19px!important;top:6px!important;
  width:40px!important;height:40px!important;max-width:none!important;max-height:none!important;
  border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;
  opacity:0!important;pointer-events:none!important;
}
html body.largo-cash-playing #s-game .seat.me .seat-holecards {
  position:absolute!important;left:30px!important;top:-2px!important;right:auto!important;bottom:auto!important;
  display:flex!important;gap:4px!important;width:auto!important;height:auto!important;
  margin:0!important;transform:none!important;z-index:30!important;
}
html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk {
  width:43.01px!important;height:60.72px!important;margin:0!important;flex:none!important;
  box-shadow:0 3px 3px rgba(0,0,0,.7),0 9px 10px 1px rgba(0,0,0,.65),0 15px 18px rgba(0,0,0,.4)!important;
  transform-origin:50% 90%;
}
html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk:first-child {transform:rotate(-4deg)!important}
html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk:nth-child(2) {transform:rotate(4deg)!important}
html body.largo-cash-playing #s-game .seat.me .seat-info {
  display:flex!important;position:absolute!important;left:128px!important;top:5px!important;
  width:85px!important;min-width:0!important;flex-direction:column!important;
  align-items:flex-start!important;gap:1px!important;margin:0!important;padding:0!important;
  background:none!important;z-index:3!important;
}
html body.largo-cash-playing #s-game .seat.me .seat-name {
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;
  font:700 11.5px/15px Arial,sans-serif!important;color:#f7f3de!important;
  text-align:left!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body.largo-cash-playing #s-game .seat.me .seat-info-row2 {display:block!important;width:100%!important}
html body.largo-cash-playing #s-game .seat.me .seat-info .seat-flag {display:none!important}
html body.largo-cash-playing #s-game .seat.me .seat-money {
  display:block!important;margin:0!important;font:800 var(--largo-self-money-size,21px)/25px Arial,sans-serif!important;
  color:#f4ce58!important;text-align:left!important;white-space:nowrap;
  font-variant-numeric:tabular-nums;text-shadow:0 2px 3px rgba(0,0,0,.7);
}
html body.largo-cash-playing #s-game .seat.me .seat-bet-socle {display:none!important}

/* A turn changes the glow, never the authored bounds of the player or cards. */
html body.largo-cash-playing #s-game .seat .seat-plate {
  transform:none!important;
  zoom:1!important;
  transition:none!important;
  isolation:isolate;
}

/* Only the decorative layer glows. Its alpha follows both the round
   avatar and the emerald plaque; no rectangle crosses the player data. */
html body.largo-cash-playing #s-game .seat:is(.active,.winner) .seat-plate::after {
  content:"";
  position:absolute;
  inset:0!important;
  border:0!important;
  border-radius:inherit!important;
  box-shadow:none!important;
  pointer-events:none;
  z-index:-1!important;
}
html body.largo-cash-playing #s-game .seat:not(.me):is(.active,.winner) .seat-plate::after {
  background:url('/poker/table/largo-seat-emerald.svg') center/190px 110px no-repeat;
  filter:drop-shadow(0 0 4px #ffd56a) drop-shadow(0 0 8px #eebd4c);
}
html body.largo-cash-playing #s-game .seat:not(.me).winner .seat-plate::after {
  filter:drop-shadow(0 0 3px #ffe7a0) drop-shadow(0 0 7px #ffd15a) drop-shadow(0 0 12px #d79b2b);
}
html body.largo-cash-playing #s-game .seat.me:is(.active,.winner) .seat-plate::after {display:none!important}
html body.largo-cash-playing #s-game .seat.me:is(.active,.winner) .seat-money {
  text-shadow:0 2px 3px rgba(0,0,0,.7),0 0 9px rgba(255,210,105,.65);
}

/* In portrait the table art stays tall while the engine keeps the self-seat
   anchor near the controls. Move only the live pieces into the inset. */
@media (max-width:600px) and (orientation:portrait) {
  html body.largo-cash-playing #s-game .seat.me .seat-holecards {
    left:31px!important;gap:0!important;transform:translateY(-115px)!important;
  }
  html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk {
    width:37.95px!important;height:53.13px!important;
  }
  html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk:nth-child(2) {margin-left:-6px!important}
  html body.largo-cash-playing #s-game .seat.me .seat-info {
    left:106px!important;width:60px!important;transform:translateY(-115px)!important;
  }
  html body.largo-cash-playing #s-game .seat.me .seat-name {font-size:14px!important}
  html body.largo-cash-playing #s-game .seat.me .seat-money {font-size:var(--largo-self-money-portrait-size,23px)!important}
  html body.largo-cash-playing #s-game .seat.me .seat-self-strip {
    transform:translateY(-15px)!important;
  }
}

.fold-fly-card {
  position:fixed;z-index:400;pointer-events:none;opacity:1;
  box-sizing:border-box;border:1px solid #e7cf9a;border-radius:4px;
  background-color:#16301a;background-position:center;background-size:100% 100%;background-repeat:no-repeat;
  box-shadow:0 3px 8px #0008;
  transition:left .48s cubic-bezier(.32,.75,.35,1),top .48s cubic-bezier(.32,.75,.35,1),
    width .48s ease,height .48s ease,transform .48s ease,opacity .15s ease .33s;
}

/* Same horizontal flip, duration and stagger, painted from the SVG on
   each frame instead of compressing a rasterized compositor layer. */
@keyframes largoCardFlip {
  0% {background-size:100% 100%;clip-path:inset(0);animation-timing-function:cubic-bezier(.11,0,.5,0)}
  36.17% {background-size:0% 100%;clip-path:inset(0 50%);animation-timing-function:cubic-bezier(.34,1.38,.64,1)}
  100% {background-size:100% 100%;clip-path:inset(0)}
}
html[data-deck] body.largo-cash-playing #s-game .pk:is(.pk-flip,.pk-river,.pk-showdown,.flip-reveal):not(.back) {
  animation-name:largoCardFlip!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  will-change:auto;
}

/* Each new board card appears at full size and waits face-down. At the
   narrow edge swap to the face. Never leave a clip mask on the card. */
@keyframes largoBoardClose {
  from {transform:scaleX(1)}
  to {transform:scaleX(.01)}
}
@keyframes largoBoardOpen {
  from {transform:scaleX(.01)}
  to {transform:scaleX(1)}
}
html body.largo-cash-playing #s-game .comm-row .pk.largo-board-closing {
  animation:largoBoardClose .13s ease-in forwards!important;
  background-position:center!important;background-repeat:no-repeat!important;
}
html body.largo-cash-playing #s-game .comm-row .pk.largo-board-opening {
  animation:largoBoardOpen .18s cubic-bezier(.3,1,.5,1) both!important;
  background-position:center!important;background-repeat:no-repeat!important;
}

/* A back already contains its gold rim. Generic card bevels paint a white
   inset line over it, especially while the board reveal clips to an edge. */
html body.largo-cash-playing #s-game .comm-row .pk.back {
  border:0!important;
  background:var(--card-back) center/100% 100% no-repeat transparent!important;
  box-shadow:2px 4px 8px #0006,4px 8px 20px #0003!important;
}
/* LARGO_POKER_MOBILE_DEPTH_V1: share the desktop table proportions on touch screens. */
@media (orientation:landscape) and (pointer:coarse) {
 html body.largo-cash-playing #s-game#s-game .game-area {
  min-height:0!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;
 }
 html body.largo-cash-playing #s-game#s-game #g-table-zone {
  /* A 20:11 coordinate plane matches the desktop 1440x792 table.
     Use only the scene's unused space below the rail for extra depth. Every native overlay
     still uses this same plane; the action dock keeps its measured reserve. */
  --largo-depth-height:min(calc(100dvh - 20px),55vw);
  flex:0 0 auto!important;width:calc(var(--largo-depth-height)*20/11)!important;max-width:100%!important;min-width:0!important;
  height:var(--largo-depth-height)!important;min-height:0!important;max-height:none!important;
  margin:0 auto -50px!important;
 }
 html body.largo-cash-playing #s-game#s-game #largo-game-controls#largo-game-controls {padding-bottom:16px!important}
 html body.largo-cash-playing #online-status {
  top:auto!important;bottom:0!important;height:16px;max-width:calc(100vw - 16px);
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 }
}
/* LARGO_POKER_MOBILE_WIDE_V1: fill the scene, preserve native game overlays. */
@media (orientation:landscape) and (pointer:coarse) {
 html body.largo-cash-playing #s-game#s-game {
  background:#193339 url('/poker/table/largo-mobile-room.v1.svg') center/cover no-repeat!important;
 }
 html body.largo-cash-playing #s-game#s-game .game-area {background:transparent!important}
 html body.largo-cash-playing #s-game#s-game #g-table-zone {
  --largo-mobile-table-art:url('/poker/table/largo-poker-9-console-branded-4k.webp?v=317');
  width:96%!important;background:none!important;
 }
 html body.largo-cash-playing[data-largo-table="plain"] #s-game#s-game #g-table-zone {
  --largo-mobile-table-art:url('/poker/table/largo-poker-9-console-plain-4k.webp?v=317');
 }
 /* Only the painted backdrop is masked; cards, seats and hit targets stay live. */
 html body.largo-cash-playing #s-game#s-game #g-table-zone::before {
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:var(--largo-mobile-table-art) center/100% 100% no-repeat;
  -webkit-mask:url('/poker/table/largo-mobile-table-mask.v1.svg') center/100% 100% no-repeat;
  mask:url('/poker/table/largo-mobile-table-mask.v1.svg') center/100% 100% no-repeat;
 }
}

/* LARGO_POKER_BLACK_RAISED_V1: black surround and half-size corner controls. */
html body.largo-cash-playing #s-game#s-game {background:#000!important}
html body.largo-cash-playing #s-game#s-game .game-area {background:transparent!important}
html body.largo-cash-playing #s-game#s-game #g-table-zone {
 --largo-table-lift:min(40px,5dvh);
 --largo-mobile-table-art:url('/poker/table/largo-poker-9-console-branded-4k.webp?v=317');
 background:none!important;
}
html body.largo-cash-playing[data-largo-table="plain"] #s-game#s-game #g-table-zone {
 --largo-mobile-table-art:url('/poker/table/largo-poker-9-console-plain-4k.webp?v=317');
}
html body.largo-cash-playing #s-game#s-game #g-table-zone::before {
 /* Lift the art without clipping native upper seat plates or their hit areas. */
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
 background:var(--largo-mobile-table-art) center/100% 100% no-repeat;
 -webkit-mask:url('/poker/table/largo-mobile-table-mask.v1.svg') center/100% 100% no-repeat;
 mask:url('/poker/table/largo-mobile-table-mask.v1.svg') center/100% 100% no-repeat;
 transform:translateY(calc(-1 * var(--largo-table-lift)));
}
html body.largo-cash-playing #s-game#s-game #online-join {
 translate:0 calc(-1 * var(--largo-table-lift));
}
html body.largo-cash-playing #s-game#s-game #lc-back {
 transform:scale(.5);transform-origin:top left;
}
html body.largo-cash-playing #s-game#s-game #lc-last-hand-button {
 transform:scale(.5);transform-origin:top right;
}

/* Keep board faces fully painted after the short flip, including WebKit resizes. */
html body.largo-cash-playing #s-game .comm-row .pk {
  clip-path:none!important;
  transform-origin:center;
}
/* A static clip needs no external SVG filter surface to repaint on every poll. */
html body.largo-cash-playing #s-game#s-game #g-table-zone::before {
  -webkit-mask:none;
  mask:none;
  clip-path:polygon(26.000% 11.200%,74.000% 11.200%,75.674% 11.268%,77.320% 11.472%,78.934% 11.809%,80.512% 12.278%,82.050% 12.875%,83.545% 13.600%,84.994% 14.450%,86.393% 15.422%,87.737% 16.516%,89.025% 17.728%,90.251% 19.057%,91.412% 20.500%,92.506% 22.056%,93.527% 23.722%,94.474% 25.497%,95.341% 27.378%,96.125% 29.363%,96.823% 31.450%,97.432% 33.637%,97.947% 35.922%,98.365% 38.303%,98.682% 40.778%,98.895% 43.344%,99.000% 46.000%,99.091% 48.422%,99.114% 50.763%,99.069% 53.024%,98.954% 55.205%,98.771% 57.307%,98.517% 59.330%,98.194% 61.274%,97.800% 63.141%,97.335% 64.930%,96.799% 66.642%,96.192% 68.278%,95.513% 69.838%,94.761% 71.322%,93.936% 72.731%,93.038% 74.065%,92.067% 75.326%,91.021% 76.513%,89.902% 77.627%,88.707% 78.668%,87.438% 79.637%,86.092% 80.534%,84.671% 81.360%,83.174% 82.115%,81.600% 82.800%,80.344% 83.255%,78.724% 83.671%,76.772% 84.047%,74.523% 84.383%,72.009% 84.680%,69.264% 84.938%,66.322% 85.155%,63.215% 85.333%,59.977% 85.472%,56.642% 85.571%,53.243% 85.630%,49.812% 85.650%,46.385% 85.630%,42.993% 85.571%,39.671% 85.472%,36.452% 85.333%,33.369% 85.155%,30.455% 84.938%,27.744% 84.680%,25.269% 84.383%,23.064% 84.047%,21.162% 83.671%,19.596% 83.255%,18.400% 82.800%,16.826% 82.115%,15.329% 81.360%,13.908% 80.534%,12.563% 79.637%,11.293% 78.668%,10.098% 77.627%,8.979% 76.513%,7.933% 75.326%,6.962% 74.065%,6.064% 72.731%,5.239% 71.322%,4.487% 69.838%,3.808% 68.278%,3.201% 66.642%,2.665% 64.930%,2.200% 63.141%,1.806% 61.274%,1.483% 59.330%,1.229% 57.307%,1.046% 55.205%,0.931% 53.024%,0.886% 50.763%,0.909% 48.422%,1.000% 46.000%,1.105% 43.344%,1.318% 40.778%,1.635% 38.303%,2.053% 35.922%,2.568% 33.637%,3.177% 31.450%,3.875% 29.363%,4.659% 27.378%,5.526% 25.497%,6.473% 23.722%,7.494% 22.056%,8.588% 20.500%,9.749% 19.057%,10.975% 17.728%,12.263% 16.516%,13.607% 15.422%,15.006% 14.450%,16.455% 13.600%,17.950% 12.875%,19.488% 12.278%,21.066% 11.809%,22.680% 11.472%,24.326% 11.268%,26.000% 11.200%);
}

/* Enlarge only the painted rail; the restored seat coordinate plane stays fixed.
   Leave a clear strip above the dock for the live table message. */
@media (min-width:900px) and (min-height:600px) and (orientation:landscape) and (pointer:fine) {
  html body.largo-cash-playing #s-game#s-game #g-table-zone::before {
    transform:translateY(calc(-1 * var(--largo-table-lift))) scaleY(1.06);
    transform-origin:50% 11.2%;
  }
}

/* Use the same measured artwork plane for the rail, board and own inset. */
html body.largo-cash-playing #s-game#s-game #g-table-zone[data-largo-rail]::before {
  top:var(--largo-rail-art-top);bottom:auto;height:var(--largo-rail-art-height);
  transform:none;
}
html body.largo-cash-playing #s-game #g-table-zone[data-largo-rail] #lc-self-avatar-plane {
  top:var(--largo-rail-avatar-top);height:var(--largo-rail-avatar-height);
}
html body.largo-cash-playing #s-game #g-table-zone[data-largo-rail] #lc-self-info-plane {top:var(--largo-rail-info-top)}
/* Community faces no longer inherit the native felt's changing autofit scale. */
html body.largo-cash-playing #s-game [data-largo-board-plane] #g-comm,
html body.largo-cash-playing #s-game [data-largo-board-plane] #g-potbar {
  position:absolute!important;left:50%!important;top:var(--largo-rail-board-top,41.5%)!important;z-index:6;
}
html body.largo-cash-playing #s-game [data-largo-board-plane] #g-comm {
  overflow:visible;isolation:isolate;
}

/* A failed face download still leaves a readable full card on the board. */
html[data-deck] body.largo-cash-playing #s-game .comm-row .pk.largo-board-text-face {background-image:none!important}
html[data-deck] body.largo-cash-playing #s-game .comm-row .pk.largo-board-text-face :is(.c-rank,.c-suit) {display:block!important}

html body.largo-cash-playing #s-game #g-table-zone[data-largo-rail] #online-join {
  top:var(--largo-rail-join-top);translate:none;
}

/* The spectator's empty local seat stays reserved without a floating plaque. */
body[data-largo-online] #s-game #g-seats .seat.lc-self-placeholder {
  visibility:hidden!important;pointer-events:none!important;
}

/* Every revealed face has a white card body, including text-only fallback. */
html body.largo-cash-playing #s-game #g-comm .pk[data-c]:not(.back):not(.comm-slot) {
  background-color:#fff!important;
}

/* Built-in faces are vector children, not asynchronously painted CSS images.
   Keep the white card body on the same element as its rank and suit. */
html[data-deck] .pk[data-largo-inline-face],
html[data-deck] body.largo-cash-playing #s-game .pk[data-largo-inline-face] {
  background-image:none!important;background-color:#fff!important;
}
html[data-deck] .pk[data-largo-inline-face] > .largo-card-face,
html[data-deck] body.largo-cash-playing #s-game .pk[data-largo-inline-face] > .largo-card-face {
  position:absolute;inset:0;width:100%;height:100%;display:block;
  border-radius:inherit;pointer-events:none;
}
html[data-deck] .pk[data-largo-inline-face] > :is(.c-rank,.c-suit),
html[data-deck] body.largo-cash-playing #s-game .pk[data-largo-inline-face] > :is(.c-rank,.c-suit) {
  display:none!important;
}

/* LARGO_POKER_PORTRAIT_V2: one measured image plane for 6/9 seats and live UI. */
@media(max-width:600px) and (orientation:portrait){
 html body.largo-cash-playing #s-game#s-game .game-area{min-height:0!important;box-sizing:border-box!important;padding-top:44px!important;align-items:center!important;justify-content:flex-start!important;overflow:visible!important}
 html body.largo-cash-playing #s-game#s-game #g-table-zone{flex:0 0 auto!important;width:var(--largo-portrait-w,100%)!important;height:var(--largo-portrait-h,calc(100dvh - 210px))!important;min-height:0!important;max-width:100%!important;margin:0 auto!important;overflow:visible!important;--largo-mobile-table-art:url('/poker/table/largo-poker-portrait-v2-lossless.webp');background:none!important}
 html body.largo-cash-playing[data-largo-table="plain"] #s-game#s-game #g-table-zone{--largo-mobile-table-art:url('/poker/table/largo-poker-portrait-v2-lossless.webp')}
 html body.largo-cash-playing #s-game#s-game #g-table-zone::before{top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100%!important;transform:none!important;clip-path:none!important;mask:none!important;-webkit-mask:none!important;background:var(--largo-mobile-table-art) center/100% 100% no-repeat}
 html body.largo-cash-playing #s-game #lc-self-avatar-plane{left:28.5%!important;top:80.3%!important;width:calc(var(--largo-portrait-w)*.097)!important;height:calc(var(--largo-portrait-w)*.097)!important;transform:translate(-50%,-50%)!important;box-shadow:none!important;font-size:calc(var(--largo-portrait-w)*.063)}
 html body.largo-cash-playing #s-game #lc-self-avatar-plane.mobile-placeholder{display:grid!important}
 html body.largo-cash-playing #s-game #lc-self-info-plane{left:39%!important;top:79.3%!important;width:21%!important;transform:none!important;gap:2px!important}
 html body.largo-cash-playing #s-game #lc-self-info-plane .lc-self-name{font-size:calc(var(--largo-portrait-w)*.034)!important;line-height:1.1!important}
 html body.largo-cash-playing #s-game #g-seats .seat.me{width:calc(var(--largo-self-card-w)*2 + 4px)!important;height:calc(var(--largo-self-card-w)*1.4)!important;min-width:0!important;max-width:none!important;overflow:visible!important}
 html body.largo-cash-playing #s-game .seat.me .seat-plate{width:100%!important;height:100%!important;min-height:0!important}
 html body.largo-cash-playing #s-game .seat.me .seat-holecards{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;gap:4px!important}
 html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk{width:var(--largo-self-card-w)!important;height:calc(var(--largo-self-card-w)*1.4)!important;margin:0!important;box-shadow:0 3px 6px #0008!important}
 html body.largo-cash-playing #s-game .seat.me .seat-holecards .pk:nth-child(2){margin-left:0!important}
 html body.largo-cash-playing #s-game .seat.me .seat-self-strip{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;transform:none!important}
 html body.largo-cash-playing #s-game .seat.me .seat-timeout-bar{position:absolute!important;left:calc(var(--largo-portrait-w)*-.36)!important;top:calc(var(--largo-portrait-h)*.085)!important;transform:none!important;width:calc(var(--largo-portrait-w)*.55)!important;height:3px!important;bottom:auto!important}
 html body.largo-cash-playing #s-game .seat.me .seat-timer-badge{position:absolute!important;top:-22px!important;left:20px!important;font-size:12px!important}
 html body.largo-cash-playing #s-game [data-largo-board-plane] #g-comm{top:42%!important;transform:translate(-50%,-50%)!important;gap:4px!important;white-space:nowrap}
 html body.largo-cash-playing #s-game [data-largo-board-plane] #g-comm .pk{width:calc(var(--largo-portrait-w)*.10)!important;height:calc(var(--largo-portrait-w)*.14)!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;flex:none!important;margin:0!important}
 html body.largo-cash-playing #s-game [data-largo-board-plane] #g-potbar{top:34%!important;transform:translate(-50%,-50%)!important;font-size:14px!important;white-space:nowrap}
 html body.largo-cash-playing #s-game #g-table-zone #online-join{left:50%!important;top:56%!important;transform:translate(-50%,-50%)!important;translate:none!important;max-width:80%;font-size:14px!important;min-height:44px!important}
 html body.largo-cash-playing #s-game#s-game #lc-back{top:5px!important;left:6px!important;transform:none!important;width:80px!important;height:32px!important;font-size:12px!important;border-width:1px!important;border-radius:8px!important}
 html body.largo-cash-playing #s-game#s-game #lc-last-hand-button{top:5px!important;right:6px!important;transform:none!important;height:32px!important;font-size:10px!important;border-width:1px!important;border-radius:8px!important}
 html body.largo-cash-playing #online-status{position:fixed!important;top:35px!important;bottom:auto!important;left:6px!important;right:6px!important;transform:none!important;width:auto!important;max-width:none!important;max-height:18px!important;font-size:10px!important;line-height:1.3!important;padding:0!important;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none!important;border:0!important}
 html body.largo-cash-playing #s-game .lc-table-bet .lc-bet-amount{font-size:23px}
}

/* The plate and its highlight share the SVG's native 190x110 plane.
   An authored seat height must not flex-shrink the plate when flags appear. */
html body.largo-cash-playing #s-game .seat:not(.me) .seat-plate {
  flex:0 0 auto!important;
}
html body.largo-cash-playing #s-game .seat:not(.me):is(.active,.winner) .seat-plate::after {
  inset:auto!important;left:0!important;top:0!important;
  width:190px!important;height:110px!important;
  background-position:0 0!important;
}

/* The account wallet stays visible outside the compact utility menu. */
html body.largo-cash-playing #s-game #online-wallet {
 position:absolute;left:12px;top:52px;z-index:510;margin:0;
 display:block;box-sizing:border-box;white-space:nowrap;font-size:13px;
 color:#dce9de;line-height:1.3;
}
@media(max-width:600px) and (orientation:portrait) {
 html body.largo-cash-playing #s-game #online-wallet{left:92px;top:12px;font-size:10px}
}
/* Authored action labels share the exact editable border box. */
html body.largo-cash-playing #s-game .seat-action-badge[data-largo-layout-fixed] {
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:0 2px!important;line-height:1!important;white-space:nowrap!important;
 text-align:center!important;overflow:hidden;
}
