/* POKERZIN PREMIUM SEATS V3
   Apenas celular horizontal. A geometria oval e os três botões existentes
   permanecem sob responsabilidade de poker-mobile-final.css.
   Não há seletores globais de Truco/assentos compartilhados. */
@media (max-width:900px) and (orientation:portrait), (max-height:600px) and (orientation:landscape) {
  html body #game[data-match-type="poker"] {
    --pk3-round:clamp(42px,13dvh,59px);
    --pk3-plate:clamp(80px,11.2vw,118px);
  }
  /* Círculo premium; a placa de nome é um elemento SEPARADO e compacto. */
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round {
    box-sizing:border-box!important;
    position:relative!important;inset:auto!important;transform:none!important;
    display:block!important;align-self:center!important;justify-self:center!important;
    width:var(--pk3-round)!important;min-width:var(--pk3-round)!important;max-width:var(--pk3-round)!important;
    height:var(--pk3-round)!important;min-height:var(--pk3-round)!important;max-height:var(--pk3-round)!important;
    padding:4px!important;margin:0!important;
    border:2px solid #efc46d!important;border-radius:50%!important;
    background:radial-gradient(circle at 42% 24%,#225743,#042419 72%)!important;
    box-shadow:0 2px 0 #724516,0 0 0 2px #1b1309,0 7px 13px #000b,inset 0 1px 5px #fdebb933!important;
    isolation:isolate;overflow:visible!important;z-index:6!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round::before,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round::before {
    content:''!important;position:absolute;inset:3px;border:1px solid #d8a958a8;border-radius:50%;
    background:radial-gradient(circle at 50% 30%,#144a37,#06261e 76%)!important;
    opacity:1;pointer-events:none;z-index:0;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .avatar,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round > .avatar {
    display:block!important;position:absolute!important;inset:5px!important;
    width:calc(100% - 10px)!important;height:calc(100% - 10px)!important;
    min-width:0!important;min-height:0!important;max-width:none!important;
    object-fit:cover!important;object-position:center!important;
    border:1px solid #e1ca84!important;border-radius:50%!important;
    grid-row:auto!important;z-index:1;
    background:#0a3729!important;box-shadow:none!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-seat-plate,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round > .poker-seat-plate {
    display:flex!important;position:absolute!important;
    top:calc(100% - 2px)!important;bottom:auto!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;
    width:var(--pk3-plate)!important;max-width:var(--pk3-plate)!important;min-width:0!important;
    height:31px!important;min-height:31px!important;box-sizing:border-box!important;
    padding:3px 5px!important;margin:0!important;gap:1px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    border:1px solid #c7a361!important;border-radius:8px!important;
    background:linear-gradient(160deg,#091811f5,#020b09fa)!important;
    box-shadow:0 3px 8px #000b!important;z-index:5!important;
    overflow:hidden!important;text-align:center!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-plate > strong,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round .poker-seat-plate > strong {
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    font-size:clamp(9px,1.2vw,12px)!important;line-height:1.06!important;
    font-weight:700!important;text-align:center!important;color:#fff9ec!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    flex:0 1 auto!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-plate > small,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round .poker-seat-plate > small {
    display:none!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-plate > .seat-balance,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round .poker-seat-plate > .seat-balance {
    display:flex!important;width:auto!important;max-width:100%!important;
    min-height:11px!important;align-items:center!important;justify-content:center!important;
    gap:3px!important;padding:0!important;margin:0!important;
    color:#ffda83!important;font-size:clamp(9px,1.2vw,12px)!important;
    font-weight:800!important;line-height:1!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  /* O pseudo-chip antigo duplicava/encobria o saldo (bug dos nomes). */
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .seat-balance::before,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round .seat-balance::before,
  html body #game[data-match-type="poker"] #me.poker-hero-round .seat-balance::before,
  html body #game[data-match-type="poker"][data-poker-premium="true"] #me.poker-hero-round .seat-balance::before {
    content:none!important;display:none!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .trucuzin-coin,
  html body #game[data-match-type="poker"] #me.poker-hero-round .trucuzin-coin {
    width:11px!important;height:11px!important;min-width:11px!important;
    flex:0 0 11px!important;vertical-align:middle!important;
  }
  /* Duas cartas seguem o círculo; não ficam por cima da placa de nome. */
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-card-backs,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round > .poker-card-backs {
    position:absolute!important;inset:8px auto auto calc(100% - 5px)!important;
    display:flex!important;flex-direction:row!important;align-items:flex-start!important;
    justify-content:center!important;gap:1px!important;
    width:max-content!important;max-width:none!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;grid-row:auto!important;grid-column:auto!important;
    background:transparent!important;box-shadow:none!important;transform:rotate(7deg)!important;
    overflow:visible!important;z-index:8!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="2"] > .poker-card-backs,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="4"] > .poker-card-backs,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="6"] > .poker-card-backs {
    inset:8px calc(100% - 5px) auto auto!important;transform:rotate(-7deg)!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-card-backs > i,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round .poker-card-backs > i {
    display:block!important;width:13px!important;height:19px!important;min-width:13px!important;
    margin:0!important;transform:none!important;opacity:1!important;
    border:1px solid #dec483!important;border-radius:3px!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-mini-hole.poker-card {
    width:17px!important;height:24px!important;min-width:17px!important;
    transform:none!important;font-size:9px!important;z-index:8!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .dealer-foot {
    position:absolute!important;top:-7px!important;left:-7px!important;z-index:10!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-clock {
    position:absolute!important;top:-8px!important;right:-15px!important;z-index:10!important;
  }
  /* Em mesas de oito lugares há duas cadeiras em cada lateral:
     afastá-las para que as placas não encubram o avatar vizinho. */
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="3"],
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="4"],
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round[data-position="3"],
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round[data-position="4"]{
    transform:translateY(-7px)!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="5"],
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="6"],
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round[data-position="5"],
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round[data-position="6"]{
    transform:translateY(8px)!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="0"] > .poker-seat-plate,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="1"] > .poker-seat-plate,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="2"] > .poker-seat-plate {
    height:27px!important;min-height:27px!important;padding:2px 5px!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="3"] > .poker-seat-plate,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="4"] > .poker-seat-plate,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="5"] > .poker-seat-plate,
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="6"] > .poker-seat-plate{
    height:27px!important;min-height:27px!important;padding:2px 5px!important;
  }
  html body #game[data-match-type="poker"] .poker-pot-panel {
    transform:translateY(5px)!important;
  }
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-round.poker-seat-winner,
  html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round.poker-seat-winner {
    box-shadow:0 0 0 3px #f6ce62,0 0 16px #f3bf4d,0 7px 13px #000b!important;
  }
  /* Assentos vazios mantêm seu '+' original, sem placas ou avatares falsos. */
  html body #game[data-match-type="poker"] .poker-seat.poker-seat-empty {border-radius:50%!important;}

  /* O herói é #me, compartilhado com Truco: regras SÓ quando classe poker-hero-round
     e data-match-type=poker; a classe é retirada assim que uma partida de Truco renderiza. */
  html body #game[data-match-type="poker"] #me.poker-hero-round,
  html body #game[data-match-type="poker"][data-poker-premium="true"] #me.poker-hero-round {
    display:block!important;position:relative!important;inset:auto!important;
    width:var(--pk3-round)!important;min-width:var(--pk3-round)!important;max-width:var(--pk3-round)!important;
    height:var(--pk3-round)!important;min-height:var(--pk3-round)!important;max-height:var(--pk3-round)!important;
    padding:4px!important;margin:0!important;
    background:radial-gradient(circle at 38% 24%,#1e6b47,#05261b 76%)!important;
    border:2px solid #f0cc78!important;border-radius:50%!important;
    box-shadow:0 0 0 2px #124431,0 8px 14px #000b!important;
    align-self:center!important;justify-self:end!important;
    transform:translateY(-7px)!important;overflow:visible!important;z-index:9!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round #my-avatar-image {
    display:block!important;position:absolute!important;inset:4px!important;
    width:calc(100% - 8px)!important;height:calc(100% - 8px)!important;
    min-width:0!important;min-height:0!important;max-width:none!important;
    object-fit:cover!important;border:1px solid #ebd89c!important;border-radius:50%!important;
    background:#0e3a2b!important;box-shadow:none!important;z-index:2!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round > div,
  html body #game[data-match-type="poker"][data-poker-premium="true"] #me.poker-hero-round > div {
    display:flex!important;position:absolute!important;
    top:calc(100% - 1px)!important;bottom:auto!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;box-sizing:border-box!important;
    width:var(--pk3-plate)!important;max-width:var(--pk3-plate)!important;
    min-width:0!important;height:31px!important;min-height:31px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:1px!important;margin:0!important;padding:3px 5px!important;
    border:1px solid #dfb86b!important;border-radius:8px!important;
    background:linear-gradient(160deg,#091911f9,#020b09fb)!important;
    box-shadow:0 4px 10px #000c!important;z-index:10!important;overflow:hidden!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round #my-name {
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    font-size:clamp(9px,1.2vw,12px)!important;line-height:1.05!important;
    color:#fff9e6!important;text-align:center!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round #turn-status {
    display:none!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round .seat-balance {
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:3px!important;white-space:nowrap!important;width:100%!important;
    margin:0!important;padding:0!important;color:#fbd578!important;
    font-size:clamp(9px,1.2vw,12px)!important;line-height:1!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round #poker-turn-clock {
    position:absolute!important;top:-12px!important;right:-14px!important;left:auto!important;
    grid-row:auto!important;grid-column:auto!important;
    width:max-content!important;max-width:76px!important;
    padding:1px 4px!important;background:#09271feb!important;
    border:1px solid #d6b566!important;border-radius:6px!important;
    font-size:8px!important;z-index:13!important;
  }
  html body #game[data-match-type="poker"] #me.poker-hero-round .dealer-foot {
    position:absolute!important;top:-8px!important;left:-8px!important;z-index:11!important;
  }
  /* Cartas visíveis na faixa reservada — inclusive após mudança de turno.
     O CSS antigo as escondia no estado de resultado. Não alterar o dado do servidor. */
  html body #game[data-match-type="poker"] #hand,
  html body #game[data-match-type="poker"][data-poker-premium="true"] #hand,
  html body #game[data-match-type="poker"][data-poker-result="true"] #hand {
    position:relative!important;transform:none!important;
    display:flex!important;visibility:visible!important;opacity:1!important;
    align-self:center!important;justify-self:start!important;
    width:max-content!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;
    margin:0 0 0 5px!important;overflow:visible!important;
    z-index:12!important;pointer-events:none!important;
  }
  html body #game[data-match-type="poker"] #hand.hidden{display:none!important;}
  html body #game[data-match-type="poker"] #hand > .poker-card-button,
  html body #game[data-match-type="poker"][data-poker-premium="true"] #hand > .poker-card-button {
    display:block!important;visibility:visible!important;opacity:1!important;
    position:relative!important;inset:auto!important;transform:none!important;
    flex:0 0 auto!important;overflow:visible!important;z-index:12!important;
    width:var(--pk-own)!important;height:calc(var(--pk-own)*1.4)!important;
    border:2px solid #faf7eb!important;background:#fffdf8!important;
    border-radius:6px!important;
  }
  html body #game[data-match-type="poker"] #hand > .poker-card-button .poker-card,
  html body #game[data-match-type="poker"] #hand > .poker-card-button .poker-card * {
    visibility:visible!important;opacity:1!important;
  }
  html body #game[data-match-type="poker"] #hand .poker-hand-strength {
    bottom:-10px!important;right:-5px!important;z-index:14!important;
    font-size:8px!important;line-height:1!important;
  }
  @media(max-height:355px) {
    html body #game[data-match-type="poker"] {
      --pk3-round:41px;--pk3-plate:clamp(72px,11vw,96px);
    }
    html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-seat-plate,
    html body #game[data-match-type="poker"] #me.poker-hero-round > div {
      height:27px!important;min-height:27px!important;padding:2px 4px!important;
    }
    html body #game[data-match-type="poker"] #me.poker-hero-round {
      transform:translateY(-10px)!important;
    }
  }
}

/* Redmi 15C / UX4. O brasão de Aura fica fora da plaqueta de saldo,
   tanto no herói quanto nos adversários; Truco não recebe estas regras. */
@media (max-width:900px) and (orientation:portrait), (max-height:600px) and (orientation:landscape) {
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .aura-v5-badge,
 html body #game[data-match-type="poker"] #me.poker-hero-round > .aura-v5-badge {
   display:flex!important;position:absolute!important;
   top:calc(50% - 10px)!important;bottom:auto!important;
   left:-16px!important;right:auto!important;
   width:20px!important;height:20px!important;
   min-width:20px!important;min-height:20px!important;
   max-width:20px!important;max-height:20px!important;
   margin:0!important;padding:1px!important;
   z-index:16!important;overflow:visible!important;
   border-radius:7px!important;transform:none!important;
   box-sizing:border-box!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .aura-v5-badge .aura-v62-insignia,
 html body #game[data-match-type="poker"] #me.poker-hero-round > .aura-v5-badge .aura-v62-insignia {
   width:16px!important;height:16px!important;
   min-width:0!important;min-height:0!important;
 }
 /* Os textos possuem largura própria, independente dos emblemas. */
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-seat-plate,
 html body #game[data-match-type="poker"] #me.poker-hero-round > div {
   contain:layout!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .seat-balance .trucuzin-coin,
 html body #game[data-match-type="poker"] #me.poker-hero-round .seat-balance .trucuzin-coin {
   position:static!important;inset:auto!important;transform:none!important;
   vertical-align:middle!important;
 }
 /* Nome e saldo continuam visíveis independentemente de alterações de turno. */
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-seat-plate > strong,
 html body #game[data-match-type="poker"] #me.poker-hero-round #my-name {
   text-shadow:0 1px 2px #000!important;
 }
 /* A mensagem de vitória continua no jogo, sem ocultar a mesa inteira. */
 body:has(#game[data-match-type="poker"]:not(.hidden)) .aura-match-message {
   display:grid!important;grid-template-columns:16px minmax(0,1fr) auto!important;
   gap:5px!important;align-items:center!important;
   top:calc(42px + env(safe-area-inset-top,0px))!important;
   width:min(290px,calc(100vw - 24px))!important;
   max-width:min(290px,calc(100vw - 24px))!important;
   min-height:0!important;max-height:64px!important;
   padding:5px 8px!important;border-radius:9px!important;
   box-shadow:0 5px 13px #0009!important;
   box-sizing:border-box!important;
 }
 body:has(#game[data-match-type="poker"]:not(.hidden)) .aura-match-message .aura-rune{
   font-size:16px!important;line-height:1!important;
 }
 body:has(#game[data-match-type="poker"]:not(.hidden)) .aura-match-message > span:nth-child(2){
   min-width:0!important;overflow:hidden!important;
 }
 body:has(#game[data-match-type="poker"]:not(.hidden)) .aura-match-message b{
   font-size:10px!important;line-height:1.1!important;
   letter-spacing:.02em!important;text-overflow:ellipsis!important;
   white-space:nowrap!important;overflow:hidden!important;
 }
 body:has(#game[data-match-type="poker"]:not(.hidden)) .aura-match-message small{
   font-size:9px!important;line-height:1.1!important;
   margin-top:2px!important;white-space:nowrap!important;
   overflow:hidden!important;text-overflow:ellipsis!important;
 }
 body:has(#game[data-match-type="poker"]:not(.hidden)) #aura-notice-listen:not([hidden]){
   grid-column:3!important;grid-row:1!important;
   min-width:0!important;min-height:26px!important;
   max-width:62px!important;padding:3px 5px!important;
   font-size:9px!important;line-height:1!important;
   white-space:normal!important;
 }
}
/* Correção vertical: não aproveitar geometria de assentos horizontal em uma mesa estreita. */
@media (max-width:900px) and (orientation:portrait) {
 html body #game[data-match-type="poker"] {
   --pk3-round:clamp(38px,10vw,45px);
   --pk3-plate:clamp(83px,23vw,105px);
   --pk-dock:calc(clamp(66px,11dvh,80px) + var(--pk-bottom));
 }
 html body #game[data-match-type="poker"][data-poker-dock-panel="showdown"]{
   --pk-dock:calc(90px + var(--pk-bottom));
 }
 html body #game[data-match-type="poker"] .table-wrap::before,
 html body #game[data-match-type="poker"][data-poker-premium="true"] .table-wrap::before {
   background-size:contain!important;background-position:center!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round,
 html body #game[data-match-type="poker"][data-poker-premium="true"] .poker-seat.poker-seat-round {
   transform:none!important;align-self:center!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-seat-plate,
 html body #game[data-match-type="poker"] #me.poker-hero-round > div {
   height:27px!important;min-height:27px!important;max-height:27px!important;
   padding:2px 4px!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-plate > strong,
 html body #game[data-match-type="poker"] #me.poker-hero-round #my-name {
   font-size:9px!important;line-height:10px!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round .poker-seat-plate > .seat-balance,
 html body #game[data-match-type="poker"] #me.poker-hero-round .seat-balance {
   font-size:9px!important;line-height:10px!important;
   min-height:10px!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round > .poker-card-backs {
   left:calc(100% - 6px)!important;right:auto!important;top:3px!important;
   transform:none!important;
 }
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="2"] > .poker-card-backs,
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="4"] > .poker-card-backs,
 html body #game[data-match-type="poker"] .poker-seat.poker-seat-round[data-position="6"] > .poker-card-backs {
   right:calc(100% - 6px)!important;left:auto!important;transform:none!important;
 }
 html body #game[data-match-type="poker"] #me.poker-hero-round,
 html body #game[data-match-type="poker"][data-poker-premium="true"] #me.poker-hero-round {
   justify-self:center!important;align-self:start!important;
   transform:translateY(-4px)!important;
 }
 html body #game[data-match-type="poker"] #hand,
 html body #game[data-match-type="poker"][data-poker-premium="true"] #hand {
   justify-self:center!important;align-self:center!important;
   margin:0!important;gap:5px!important;
 }
 html body #game[data-match-type="poker"] #hand .poker-hand-strength {
   right:0!important;bottom:-8px!important;
 }
 html body #game[data-match-type="poker"] .poker-pot-panel {
   transform:none!important;
 }
 /* Três controles contextuais como no modo horizontal; slider abre apenas sob demanda. */
 html body #game[data-match-type="poker"] #poker-action-dock{overflow:visible!important;}
 html body #game[data-match-type="poker"] #poker-action-dock #poker-actions,
 html body #game[data-match-type="poker"][data-poker-premium="true"] #poker-action-dock #poker-actions {
   display:grid!important;position:relative!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   grid-template-rows:1fr!important;gap:5px!important;
   overflow:visible!important;
 }
 html body #game[data-match-type="poker"] #poker-actions > #poker-fold,
 html body #game[data-match-type="poker"] #poker-actions > #poker-check-call,
 html body #game[data-match-type="poker"] #poker-actions > #poker-bet-trigger {
   display:block!important;grid-column:auto!important;grid-row:1!important;
   min-height:40px!important;height:100%!important;width:100%!important;
   padding:4px!important;border:1px solid #ffffff66!important;
   border-radius:9px!important;font-size:clamp(11px,3.4vw,16px)!important;
   color:white!important;font-weight:900!important;
   text-shadow:0 1px 3px #0009!important;
 }
 html body #game[data-match-type="poker"] #poker-fold{background:linear-gradient(#30b9ff,#0866cf)!important;}
 html body #game[data-match-type="poker"] #poker-check-call{background:linear-gradient(#d66eff,#8016c9)!important;}
 html body #game[data-match-type="poker"] #poker-bet-trigger{background:linear-gradient(#ffdb54,#e88c08)!important;}
 html body #game[data-match-type="poker"] .poker-bet-box,
 html body #game[data-match-type="poker"] #poker-action-dock .poker-bet-box{
   display:none!important;position:absolute!important;
   inset:auto 3px calc(100% + 7px) auto!important;
   width:min(340px,88vw)!important;max-width:min(340px,88vw)!important;
   height:auto!important;max-height:min(75dvh,430px)!important;
   overflow-y:auto!important;box-sizing:border-box!important;
   padding:10px!important;gap:7px!important;
   grid-column:auto!important;grid-row:auto!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto auto auto auto!important;
   border:1px solid #d5b062!important;border-radius:12px!important;
   background:#05291ff8!important;z-index:65!important;
   box-shadow:0 15px 30px #000b!important;
 }
 html body #game[data-match-type="poker"] .poker-bet-box.open,
 html body #game[data-match-type="poker"] #poker-action-dock .poker-bet-box.open{
   display:grid!important;
 }
 html body #game[data-match-type="poker"] .poker-bet-heading{
   display:flex!important;justify-content:space-between;align-items:center;
   grid-area:auto!important;color:#ffda79;font-size:12px;font-weight:800;
 }
 html body #game[data-match-type="poker"] .poker-bet-box label,
 html body #game[data-match-type="poker"] #poker-bet-range,
 html body #game[data-match-type="poker"] .poker-bet-buttons {
   grid-row:auto!important;grid-column:1!important;grid-area:auto!important;
 }
 html body #game[data-match-type="poker"] .poker-bet-buttons {
   display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;
 }
 html body #game[data-match-type="poker"] #poker-bet-close{
   height:32px!important;min-height:32px!important;
   width:32px!important;min-width:32px!important;
 }
}
@media (max-height:600px) and (orientation:landscape) {
 html body #game[data-match-type="poker"] #me.poker-hero-round,
 html body #game[data-match-type="poker"][data-poker-premium="true"] #me.poker-hero-round {
   transform:translateY(-23px)!important;
 }
 html body #game[data-match-type="poker"] #hand,
 html body #game[data-match-type="poker"][data-poker-premium="true"] #hand{
   transform:translateY(-11px)!important;
 }
 html body #game[data-match-type="poker"] .poker-pot-panel{
   transform:translateY(13px)!important;
 }
}
