/* Reuse lana.poker's actual type, layout and generated glass materials. */
@import url("/theme/base-2a72db862ea1d974.css");
@import url("/theme/design-00006ed8df835282.css");
@import url("/theme/glass-b757db91782f0fc3.css");

:root {
  --sol-panel: url("/poker/glass-panel-v2.webp");
  --sol-dark: url("/poker/glass-button-dark-v2.webp");
  --sol-mint: url("/poker/glass-button-mint-v2.webp");
  /* Selected Open Props easing tokens (MIT), also in motion-presets.ts. */
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-turn: cubic-bezier(.455, .03, .515, .955);
}
html {
  scrollbar-gutter: stable;
}
body {
  font-optical-sizing: auto;
}
body[data-view="play"] {
  background: #090c16 url("/poker/lounge-scene-v1.webp") center top/cover fixed
    no-repeat;
}
button,
a {
  touch-action: manipulation;
}
button,
.button {
  font-weight: 700;
}
button:disabled {
  cursor: default;
}
button[aria-busy="true"] {
  position: relative;
  isolation: isolate;
  opacity: 1;
  cursor: wait;
}
button[aria-busy="true"]::before,
button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
button[aria-busy="true"]::before {
  z-index: 1;
  border-radius: inherit;
  background: #111427de;
}
button[aria-busy="true"]::after {
  z-index: 2;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  max-width: calc(100% - 6px);
  max-height: calc(100% - 6px);
  margin: auto;
  border: 2px solid #afffe94d;
  border-top-color: #b7ffeb;
  border-right-color: #b7ffeb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.error {
  color: #ffb5c5 !important;
}
.wide {
  width: 100%;
}
.text-button {
  border: 0;
  padding: 0;
  min-height: 24px;
  font-size: 12px;
  color: #c8b3db;
}
.brand {
  display: inline-flex;
  white-space: nowrap;
}
.brand > img {
  flex: none;
}
.brand-poker {
  margin: 0;
  font-weight: 550;
}
.beta {
  align-self: center;
  border: 1px solid #9563be66;
  border-radius: 5px;
  background: #b675ef15;
  color: #d7aeff;
  font-size: 8px;
  letter-spacing: 0.8px;
  padding: 3px 5px;
  text-transform: uppercase;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #49d2b14d;
  border-radius: 7px;
  background: #143a2d38;
  color: #94ecd3;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}
.site-header {
  justify-content: initial;
  height: 80px;
  min-height: 80px;
}
.site-header .main-nav {
  justify-content: flex-start;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.account button,
button.wallet-balance {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
}
.account button {
  font-size: 12px;
  background: var(--sol-dark) center/100% 100%;
  border-color: #81739e;
  color: #f6f3ff;
}
.account .header-settings {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #c8b6dc;
}
.account .header-settings:hover {
  color: #91ffda;
}
.header-settings .icon {
  width: 18px;
  height: 18px;
}
button.wallet-balance {
  display: flex;
  text-align: left;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid #498d7b99;
  border-radius: 11px;
  background: var(--sol-dark) center/100% 100%;
}
button.wallet-balance > span {
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 1px;
  color: #a3d6c7;
}
button.wallet-balance strong {
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 44px;
  padding: 0;
}
.hero {
  min-height: 475px;
}
.hero-copy {
  min-width: 0;
}
.hero .eyebrow {
  color: #c68cf4;
  margin: 0 0 22px;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-art {
  object-fit: contain;
}
.category-card .arrow {
  margin-left: auto;
  color: var(--green);
  font-size: 20px;
}
.home-stats {
  background: var(--sol-panel) center/100% 100%;
}
.home-table-row .table-thumbnail {
  width: 65px;
  height: 40px;
  object-fit: contain;
  flex: none;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.home-table-row > .cash-tag {
  justify-self: start;
}
.home-table-row > .button {
  font-size: 11px;
}
.home-table-row .home-table-players {
  white-space: nowrap;
}
.home-table-row .home-table-stakes {
  font-variant-numeric: tabular-nums;
}
.how-grid article > span {
  display: inline-flex;
}
.rewards-banner {
  background: var(--sol-panel) center/100% 100%;
}
.rewards-banner::after {
  display: none;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  margin: 35px auto 0;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}
.site-footer .brand {
  font-size: 19px;
  color: var(--cream);
}
.site-footer nav {
  flex: initial;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer .text-button {
  font-size: 10px;
}
.mobile-nav {
  display: none;
}
.network {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.network i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 10px;
  min-height: 61px;
}
.table-top p {
  margin: 2px 0 0;
  color: #b8accb;
  font-size: 10px;
}
.table-top p > span {
  padding: 0 7px;
  color: #80768e;
}
#arena {
  --card-tilt: 25deg;
  --card-perspective: 1200px;
  --chip-face-ratio: 0.9063;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  isolation: isolate;
  /* Upper-seat light rays extend into the space above the table arena. */
  overflow-x: clip;
  overflow-y: visible;
}
.table-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 540px;
  transform: translate(-50%, -50%) scale(var(--table-scale, 1));
  transform-origin: center;
}
.table-art {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: -1;
}
.table-art::before {
  content: "";
  position: absolute;
  inset: 30px -1% 18px;
  background: url("/poker/table-studio-wide-v1.webp") center/contain no-repeat;
  transform: perspective(1200px) rotateX(25deg) scale(0.98);
  transform-origin: center;
}
.table-center {
  position: absolute;
  left: 50%;
  top: calc(50% - 26.5px);
  width: 300px;
  height: 67px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.pot-line {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  translate: -50% 0;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-height: 26px;
  padding: 3px 13px;
  border: 1px solid #b6ffe224;
  border-radius: 20px;
  background: #031a18c7;
  box-shadow: inset 0 1px 0 #ffffff0d, 0 1px 3px #00120c66;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #e6f4e9;
}
.pot-line:hover:not(:disabled),
.pot-line[aria-expanded="true"] {
  border-color: #8ff7cd80;
  background: #12382e;
}
.pot-line::after,
#hand-number::after {
  content: "▾";
  color: #abceb9;
  font-size: 9px;
}
.pot-caption {
  font-weight: 650;
}
#pot {
  font-size: 13px;
  font-weight: 850;
  color: #f1ffef;
  line-height: inherit;
}
#pot.pot-extra-long {
  font-size: 12px;
}
.pot-currency {
  font-size: 8px;
  font-weight: 650;
  color: #afd3c0;
}
.table-paying #pot {
  color: #ffe3a1;
}
#board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 67px;
  margin: 0;
  transform: perspective(var(--card-perspective)) rotateX(var(--card-tilt));
  transform-origin: center;
  transform-style: preserve-3d;
}
#arena img.card,
#arena .community-card,
#arena .board-slot {
  display: block;
  width: 43px;
  height: 61px;
  border-radius: 5px;
  flex: none;
  box-shadow: 0 4px 12px #0005;
}
#arena .board-slot {
  display: grid;
  place-items: center;
  border: 1px solid #a1e2c827;
  background: #00271c33;
  color: #b1eac625;
  font:
    27px Georgia,
    serif;
  box-shadow: inset 0 0 12px #03231933;
}
/* Existing vector artwork sits on the felt; flights never change table layout. */
#arena #board .community-card {
  position: relative;
  box-shadow: none;
  transform-style: preserve-3d;
  transition: transform 180ms var(--ease-out);
}
#arena #board .community-card::before {
  content: "";
  position: absolute;
  inset: 2px 1px 0;
  transform: translateZ(-1px);
  border-radius: inherit;
  background: #00190c80;
  box-shadow: 0 3px 7px #00190c80;
}
#arena #board .community-card.winning-card {
  transform: translate3d(0, -6px, 6px);
  box-shadow: 0 0 0 2px #ffe3a1, 0 0 15px #ffd57599, 0 5px 9px #00190c99;
}
.community-turn {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
}
.community-turn img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: translateZ(.35px);
  box-shadow: 0 1px 0 #151624;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.community-turn img + img {
  transform: rotateY(180deg) translateZ(.35px);
}
.pot-stack {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  width: 142px;
  height: 24px;
  margin: 0;
  pointer-events: none;
}
.pot-stack > .chip-pile {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  grid-template-columns: repeat(var(--chip-columns-top, 4), var(--chip-size));
}
.table-notices {
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(100%, 260px);
  pointer-events: none;
  transition-property: none;
}
.table-notices:has(#card-step-result:not([hidden])) {
  top: calc(100% + 12px);
}
.table-notices > * {
  max-width: 100%;
  padding: 2px 8px;
  border: 1px solid #c1ffe129;
  border-radius: 10px;
  background: #071e18e6;
  color: #c0ded0;
  font-size: max(12px, calc(10px / var(--table-scale, 1)));
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
#next-hand-clock {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#card-step-result {
  color: #efd4ba;
}
.chip-pile {
  --chip-size: 20px;
  display: grid;
  grid-template-columns: repeat(var(--chip-columns-wide, 4), var(--chip-size));
  grid-auto-rows: 23px;
  gap: 1px 3px;
  width: max-content;
  min-height: 23px;
  align-items: end;
}
.chip-pile[data-amount="0"] {
  visibility: hidden;
}
.chip-group {
  position: relative;
  display: block;
  width: var(--chip-size);
  height: 23px;
}
.chip-group img {
  --chip-depth: clamp(1px, calc(var(--chip-size) * .08), 1.6px);
  position: absolute;
  left: 0;
  top: calc(4px - var(--chip-layer) * 2px);
  width: var(--chip-size);
  height: calc(var(--chip-size) * var(--chip-face-ratio));
  border-radius: 50%;
  box-shadow: 0 var(--chip-depth) 0 color-mix(in srgb, var(--chip-color), #10131d 30%);
  user-select: none;
}
.chip-count {
  position: absolute;
  z-index: 1;
  right: -3px;
  bottom: 0;
  padding: 0 2px;
  border-radius: 3px;
  background: #10131dec;
  color: #fff8e5;
  font-size: 8px;
  font-weight: 800;
  line-height: 10px;
}
.chip-fraction {
  grid-column: span 2;
  align-self: center;
  padding: 2px 1px;
  border: 1px solid #d9e7df70;
  border-radius: 4px;
  color: #f5fff7;
  background: #12372ae8;
  font-size: 7px;
  font-weight: 750;
  white-space: nowrap;
  text-align: center;
}
.table-bets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.table-center {
  z-index: 1;
}
.seat-bet {
  position: absolute;
  width: 94px;
  height: 60px;
  transform: translate(-50%, -50%);
  opacity: 0;
  text-align: center;
}
.seat-bet.has-bet {
  opacity: 1;
}
.bet-chips {
  position: absolute;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
}
.bet-amount {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  font-size: min(10px, calc(125px / var(--bet-length, 1)));
  font-weight: 800;
  line-height: 12px;
  color: #f5fff6;
  text-shadow: 0 1px 3px #00160d;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.seat-bet[data-position="0"] {
  left: 50%;
  top: 38%;
}
.seat-bet[data-position="1"] {
  left: 75%;
  top: 42%;
}
.seat-bet[data-position="2"] {
  left: 75%;
  top: 55%;
}
.seat-bet[data-position="3"] {
  left: 50%;
  top: 69%;
}
.seat-bet[data-position="4"] {
  left: 25%;
  top: 55%;
}
.seat-bet[data-position="5"] {
  left: 25%;
  top: 42%;
}
.dealer-deck {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 3;
  width: 29px;
  height: 41px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) perspective(var(--card-perspective))
    rotateX(var(--card-tilt)) rotate(-12deg);
  transition: opacity 180ms ease;
}
.dealer-deck img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 2px 2px #00140b99;
}
.dealer-deck img:nth-child(2) {
  translate: 1px -2px;
}
.dealer-deck img:nth-child(3) {
  translate: 2px -4px;
}
.table-dealing .dealer-deck {
  opacity: 1;
}
.shuffle-deck {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 3;
  width: 52px;
  height: 74px;
  pointer-events: none;
  transform: translate(-50%, -50%) perspective(var(--card-perspective))
    rotateX(var(--card-tilt)) rotate(-7deg);
}
.shuffle-deck[hidden],
body:not([data-view="play"]) .shuffle-deck {
  display: none;
}
.shuffle-cards {
  position: absolute;
  inset: 0;
}
.shuffle-cards img {
  --shuffle-side: -1;
  --shuffle-offset: 0px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #baf2e199;
  border-radius: 4px;
  box-shadow: 0 3px 6px #0007;
}
.shuffle-cards img:nth-child(even) {
  --shuffle-side: 1;
}
.shuffle-cards img:nth-child(n + 3) {
  --shuffle-offset: -3px;
  animation-delay: -65ms;
}
.shuffle-cards img:nth-child(n + 5) {
  --shuffle-offset: -6px;
  animation-delay: -130ms;
}
.shuffle-deck:not([hidden]) img {
  animation-name: table-shuffle;
  animation-duration: 1700ms;
  animation-timing-function: var(--ease-turn);
  animation-iteration-count: infinite;
}
@keyframes table-shuffle {
  /* Deck of Cards shuffle.js: split sideways, then square the deck. */
  0%, 12%, 72%, 100% {
    transform: translate3d(0, var(--shuffle-offset), 0) rotate(0deg);
  }
  38% {
    transform: translate3d(calc(var(--shuffle-side) * 42px),
      var(--shuffle-offset), 0) rotate(0deg);
  }
}
#arena.table-hands-pending .table-center {
  visibility: hidden;
}
#arena.table-hands-pending .seat .cards,
#arena.table-dealing [data-hole-card]:not([data-dealt="true"]) {
  opacity: 0;
}
.table-effects {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: clip;
}
.table-flight {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.table-flight--card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 8px #0006;
}
.table-flight--chips {
  width: max-content;
  height: auto;
}
@media (max-width: 760px) {
  .shuffle-deck {
    width: 44px;
    height: 62px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shuffle-deck:not([hidden]) img {
    animation: none;
    transform: translateX(calc(var(--shuffle-side) * 6px))
      translateY(var(--shuffle-offset)) rotate(calc(var(--shuffle-side) * 6deg));
  }
  .pot-stack,
  .dealer-deck {
    transition: none;
  }
}

.card-squeeze {
  position: absolute;
  left: 50%;
  top: 43%;
  translate: -50% -50%;
  z-index: 7;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(300px, calc(100% - 24px));
  padding: 14px 20px 18px;
  border: 1px solid #b29ac7;
  border-radius: 20px;
  background: var(--sol-dark) center / 100% 100%;
  color: #f5f3ec;
  box-shadow: 0 18px 48px #0009;
}
.squeeze-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.squeeze-close {
  min-width: 76px;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
}
.squeeze-caption {
  font-size: 9px;
  letter-spacing: 2px;
  color: #d9cbe9;
}
.squeeze-cards {
  display: flex;
  gap: 22px;
  padding: 4px 0;
}
.squeeze-card {
  position: relative;
  display: block;
  flex: 0 0 100px;
  width: 100px;
  height: 140px;
  aspect-ratio: 5 / 7;
  perspective: 600px;
  transform-style: preserve-3d;
  transform: rotate(-7deg);
}
.squeeze-card:last-child {
  transform: rotate(7deg);
}
.squeeze-shadow {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  box-shadow: 2px 7px 12px #0009;
  opacity: .65;
  transform: translateZ(-1px);
  pointer-events: none;
}
.squeeze-turn,
.squeeze-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.squeeze-turn {
  transform-style: preserve-3d;
  /* Scene/object/faces pattern: https://3dtransforms.desandro.com/card-flip */
  transition: none;
}
.squeeze-side {
  border-radius: 6px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.squeeze-front {
  background: #faf9f5;
  transform: rotateY(180deg);
}
.squeeze-front img,
.squeeze-back img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 6px;
  user-select: none;
}
.squeeze-front img,
.squeeze-back img {
  object-fit: contain;
}
.squeeze-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #ccc1da;
  text-align: center;
}
#arena .seat .empty {
  position: relative;
  width: 48px;
  min-height: 48px;
  height: 48px;
  margin-top: 48px;
  padding: 0;
  border-radius: 10px;
  font-size: 0;
  line-height: 1;
  border: 1px dashed #ba9ed075;
  background: #171525b0;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 12px #0006;
}
#arena .seat .empty::before {
  content: "+";
  font-size: 24px;
  font-weight: 500;
}
#arena .seat .empty::after {
  content: "Take a seat";
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  translate: -50% 0;
  width: 84px;
  color: #eee2ff;
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
  text-shadow: 0 1px 4px #000;
}
#arena .seat:has(.empty)::after {
  display: none;
}
#arena .seat[data-position="0"] .empty {
  margin-top: 48px;
}
#controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 44px;
}
#controls > button {
  flex: 1;
  min-width: 100px;
  font-size: 12px;
  background: var(--sol-dark) center/100% 100%;
  border-color: #a591c3;
  color: #fff;
}
#controls > .primary {
  background: var(--sol-mint) center/100% 100%;
  color: #03291f;
  border-color: #9effdf;
}
#controls > .fold-action {
  background-image: url("/poker/glass-button-ruby-v2.webp");
  border-color: #ed859e;
  color: #fff1f5;
}
#controls > input {
  width: 100px;
  min-width: 0;
  flex: 1;
  padding: 10px;
  margin: 0;
  font-size: 15px;
  height: 44px;
}
dialog {
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: 90svh;
  overflow-y: auto;
  border: 1px solid #8d739fa6;
  border-radius: 20px;
  padding: 28px;
  background: var(--sol-panel) center/100% 100%;
  box-shadow: 0 25px 100px #000b;
}
dialog::backdrop {
  background: #04050cc9;
  backdrop-filter: blur(8px);
}
dialog h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 18px 0;
}
dialog p {
  font-size: 12px;
}
.close {
  float: right;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  margin: -8px -8px 10px 10px;
  font-size: 21px;
  font-weight: 400;
}
#player-details {
  position: fixed;
  max-width: 344px;
  padding: 26px;
  text-align: center;
}
#player-details .close {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
}
#player-details-avatar {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border: 2px solid #c2a3e2;
  border-radius: 50%;
  box-shadow: 0 4px 16px #0008;
}
#player-details-name {
  margin: 12px 0 4px;
  font-size: 23px;
}
#player-details-balance {
  color: #a9ffe3;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
#player-details-kick-status {
  margin: 14px 0 0;
  font-variant-numeric: tabular-nums;
}
#player-details-kick {
  margin-top: 12px;
  border-color: #b98b73;
  color: #ffe3ce;
}
.dialog-footnote {
  font-size: 11px !important;
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 0;
}
.game-setting {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #c4a5dc30;
  border-bottom: 1px solid #c4a5dc30;
}
.game-setting strong {
  display: block;
  color: #f5f2e8;
  font-size: 15px;
}
.game-setting small {
  display: block;
  margin-top: 8px;
  color: #c5b6d6;
  font-size: 12px;
  line-height: 1.6;
}
#game-settings input[type="checkbox"] {
  appearance: none;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid #a28bb8;
  border-radius: 20px;
  background: #272239;
  cursor: pointer;
}
#game-settings input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f6f3ec;
}
#game-settings input[type="checkbox"]:checked {
  background: #1a9d7e;
  border-color: #85ffda;
}
#game-settings input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}
#wallet-account #disconnect {
  min-height: 52px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}
#open-privy,
#privy-account .wide {
  margin-top: 10px;
}
#privy-account select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--cream);
  background: #102a25;
  border: 1px solid #346c5b;
  border-radius: 10px;
  font: inherit;
}
#seat-funds-required strong {
  color: var(--cream);
}
#seat-funds-deposit {
  min-height: 52px;
}
#bankroll [hidden],
#bankroll-backup [hidden] {
  display: none !important;
}
.bankroll-summary {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
.bankroll-summary .balance-readout {
  display: block;
  margin: 0;
}
.bankroll-summary .bankroll-address {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  text-align: left;
  font-weight: 500;
  line-height: 1.6;
  user-select: text;
}
.bankroll-summary .bankroll-address:hover:not(:disabled),
.bankroll-summary .bankroll-address:focus-visible {
  border-color: #83f8d8;
  transform: none;
}
.bankroll-summary .bankroll-address:focus-visible {
  outline: 2px solid #83f8d8;
  outline-offset: 3px;
}
.bankroll-copy-label {
  color: #94ecd3;
  font-size: 11px;
  font-weight: 650;
}
.bankroll-back {
  display: block;
  margin: 12px 0 0;
}
.bankroll-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bankroll-choice {
  min-height: 90px;
  padding: 18px 10px;
}
.bankroll-choice strong,
.bankroll-choice small {
  display: block;
}
.bankroll-choice strong {
  font-size: 17px;
}
.bankroll-choice small {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 550;
  opacity: 0.85;
}
#open-bankroll-backup {
  grid-column: 1 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 5px 6px;
  border: 1px solid #bba4d14d;
  border-radius: 8px;
  background: #17121b45;
  box-shadow: none;
  color: #decfeb;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}
#open-bankroll-backup .icon {
  flex: none;
  width: 12px;
  height: 12px;
}
#open-bankroll-backup:hover {
  border-color: #bba4d191;
  background: #bba4d11f;
  color: #fff;
  transform: none;
}
#bankroll-backup .dialog-footnote {
  margin: 0 0 16px;
}
#restore-bankroll {
  font-size: 16px;
  font-weight: 550;
}
.bankroll-progress:not(:empty) {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #58d8b861;
  border-radius: 12px;
  background: #113c363d;
  color: #b2ffe7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.bankroll-progress.error {
  border-color: #ff718f66;
  background: #6b1b282e;
}
#wallet-progress {
  min-block-size: 2lh;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
#wallets:has(button[aria-busy="true"]) #wallet-progress {
  color: #b2ffe7;
}
#transaction-notice {
  position: fixed;
  top: 76px;
  right: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid #ff718f80;
  border-radius: 14px;
  background: var(--sol-dark) center / 100% 100%;
  box-shadow: 0 8px 24px #0006;
  color: #ffced8;
  font-size: 15px;
  font-weight: 700;
}
#transaction-notice[hidden] {
  display: none;
}
#dismiss-transaction-notice {
  flex: none;
  width: 32px;
  min-height: 32px;
  margin-left: auto;
  padding: 0;
  font-size: 21px;
}
#low-bankroll-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
#low-bankroll .bankroll-choices button {
  min-height: 48px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 20px 0 9px;
  color: #ccc2da;
}
input {
  display: block;
  width: 100%;
  padding: 15px;
  color: #fff;
  background: #0b0b16;
  border: 1px solid #79638d99;
  border-radius: 10px;
  font-size: 20px;
  margin: 0 0 16px;
  font-weight: 750;
}
.balance-readout {
  padding: 13px 15px;
  border: 1px solid #42f5cd44;
  border-radius: 10px;
  font-size: 17px !important;
  font-weight: 800;
  color: #b9ffdf;
  background: #174d3b1c;
}
#wallet-options {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  clear: both;
}
#wallet-options .wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border: 1px solid #84709899;
  border-radius: 11px;
  background: var(--sol-dark) center/100% 100%;
  font-size: 13px;
  font-weight: 700;
  min-height: 50px;
  text-align: left;
}
.wallet-option-label {
  display: grid;
  gap: 2px;
}
.wallet-option-label small {
  font-size: 11px;
  font-weight: 500;
  color: #c3b4cf;
}
#wallet-options .wallet-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}
#wallet-options .wallet-arrow {
  margin-left: auto;
  color: #aa8bc6;
}
.wallet-address {
  word-break: break-all;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #070b1633;
  color: #c4acd7;
  font-size: 12px;
}
.menu-dialog {
  position: fixed;
  inset: 0 auto 0 0;
  max-width: 340px;
  width: min(90vw, 340px);
  height: 100svh;
  max-height: 100svh;
  margin: 0;
  padding: 30px 24px;
  border-radius: 0 20px 20px 0;
}
.menu-dialog > .brand {
  font-size: 23px;
}
.menu-dialog h2 {
  font-size: 23px;
  margin-top: 32px;
}
.menu-nav {
  display: grid;
  gap: 4px;
  margin: 0 0 28px;
  flex: initial;
}
.menu-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.menu-nav small {
  color: var(--muted);
  font-size: 9px;
}
.menu-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 30px;
}
.coming-view .eyebrow {
  font-size: 10px;
}
.coming-view .status-pill {
  font-size: 12px;
  padding: 7px 16px;
}
@media (min-width: 1500px) {
  #arena img.card,
  #arena .community-card,
  #arena .board-slot {
    width: 49px;
    height: 69px;
  }
}
@media (max-width: 1340px) {
  .site-header {
    gap: 22px;
    padding: 0 25px;
  }
  .main-nav {
    gap: 0;
  }
  .main-nav a {
    padding: 8px 11px;
  }
  .site-footer {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    padding: 0 20px;
    gap: 18px;
  }
  .brand {
    font-size: 22px;
  }
  .site-header .main-nav a {
    padding: 8px;
    font-size: 11px;
  }
  .account {
    gap: 8px;
  }
  .account button {
    padding: 10px 13px;
  }
  button.wallet-balance {
    padding: 5px 10px;
  }
}
@media (max-width: 760px) {
  html {
    scrollbar-gutter: auto;
  }
  .site-header {
    height: 72px;
    min-height: 72px;
    padding: 0 14px;
    gap: 10px;
  }
  .site-header .brand {
    font-size: 20px;
    gap: 7px;
    letter-spacing: -0.8px;
  }
  .site-header .brand > img {
    width: 28px;
    height: 28px;
  }
  .site-header .beta {
    font-size: 7px;
    padding: 2px 4px;
    letter-spacing: 0.5px;
    margin-left: -2px;
  }
  .site-header .main-nav {
    display: none;
  }
  .menu-trigger {
    display: inline-flex;
    width: 36px;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
  }
  .menu-trigger .icon {
    width: 19px;
    height: 19px;
  }
  .account {
    gap: 5px;
  }
  .account .header-settings {
    flex-basis: 28px;
    width: 28px;
    min-width: 28px;
  }
  .account button {
    height: 40px;
    min-height: 40px;
    padding: 9px 11px;
    font-size: 10px;
    border-radius: 10px;
  }
  button.wallet-balance {
    display: none;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    padding: 5px 8px;
  }
  .account.connected button.wallet-balance {
    display: flex;
  }
  button.wallet-balance > span {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  button.wallet-balance strong {
    font-size: 11px;
  }
  .hero {
    min-height: 374px;
    padding-top: 24px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    max-width: 240px;
    margin: 0 0 22px;
  }
  .hero-art {
    right: -15px;
    top: 32px;
    width: 245px;
    max-width: 70%;
    height: auto;
    opacity: 0.78;
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    min-width: 0;
    min-height: 46px;
    padding: 12px 15px;
    font-size: 12px;
  }
  .hero-actions .icon {
    width: 18px;
    height: 18px;
  }
  .hero-footnote {
    font-size: 9px;
    margin-top: 16px;
  }
  .home-stats strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .home-stats small {
    font-size: 7px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading > .muted {
    display: none;
  }
  .home-table-row .table-thumbnail {
    width: 52px;
    height: 32px;
  }
  .home-table-row {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
  .home-table-row > .cash-tag {
    display: none;
  }
  .home-table-row > .button {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 10px;
    padding: 9px 10px;
  }
  .home-table-row .home-table-stakes {
    padding-left: 62px;
  }
  .home-table-row .home-table-players {
    display: none;
  }
  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    margin: 26px 20px 0;
    padding: 26px 0 94px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 17px;
  }
  .mobile-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
    padding: 10px 8px max(11px, env(safe-area-inset-bottom));
    background: #0e0e1aef;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    color: #bfb4d2;
    font-size: 8px;
    font-weight: 600;
  }
  .mobile-nav a[aria-current="page"] {
    color: var(--green);
  }
  .mobile-nav .icon {
    width: 22px;
    height: 22px;
  }
  .table-top {
    padding: 0 2px;
    gap: 8px;
    min-height: 64px;
  }
  .table-top p {
    font-size: 9px;
  }
  #arena {
    --card-tilt: 47deg;
    --card-perspective: 1700px;
    --chip-face-ratio: 0.682;
    /* Keep the 640px viewport fit, including the 6px gutters on each side. */
    max-width: 628px;
    margin-inline: auto;
    overflow-x: clip;
  }
  .table-scene {
    width: 360px;
    height: 615px;
  }
  .table-art {
    overflow: visible;
  }
  .table-art::before {
    inset: 28px 2% 30px;
    background-image: url("/poker/table-studio-tall-v1.webp");
    /* A lower camera lets the full-size rail fill the width without stretching
       the artwork or increasing the table's projected height. */
    transform: perspective(var(--card-perspective)) rotateX(var(--card-tilt))
      scale(var(--table-art-scale, 1.32));
  }
  .table-center {
    top: calc(55% - 27.5px);
    width: 240px;
    height: 55px;
  }
  #arena img.card,
  #arena .community-card,
  #arena .board-slot {
    width: 36px;
    height: 51px;
  }
  #board {
    gap: 4px;
    min-height: 55px;
  }
  #pot {
    font-size: 12px;
  }
  .pot-line {
    font-size: 10px;
    padding-inline: 12px;
  }
  #arena .seat .empty {
    width: 91px;
    min-height: 39px;
    font-size: 9px;
    margin-top: 38px;
  }
  #arena .seat[data-position="1"] .empty {
    margin-top: 25px;
  }
  #arena .seat[data-position="0"] .empty {
    margin-top: 38px;
  }
  #controls {
    gap: 7px;
  }
  #controls > button {
    font-size: 11px;
    min-width: 90px;
    min-height: 43px;
    padding: 10px 12px;
  }
  #controls > input {
    height: 43px;
    font-size: 15px;
    padding: 10px;
    min-width: 95px;
    flex: 1;
  }
  dialog {
    padding: 26px;
    max-height: 86svh;
  }
  dialog h2 {
    font-size: 26px;
  }
  .menu-dialog {
    max-height: 100svh;
  }
  #buy-progress {
    font-size: 11px;
    line-height: 1.7;
  }
}
@media (max-width: 420px) {
  .site-header .beta {
    display: none;
  }
}
@media (max-width: 380px) {
  .site-header {
    padding: 0 8px;
    gap: 4px;
  }
  .account {
    gap: 3px;
  }
  .site-header .brand {
    gap: 5px;
    font-size: 18px;
  }
  .site-header .brand > img {
    width: 24px;
    height: 24px;
  }
  .site-header .beta {
    font-size: 6px;
    padding: 2px 3px;
  }
  .account button {
    padding: 9px;
    font-size: 9px;
  }
  button.wallet-balance {
    padding: 5px 6px;
  }
  button.wallet-balance strong {
    font-size: 10px;
  }
  button.wallet-balance > span {
    font-size: 5px;
  }
  .hero-art {
    width: 218px;
    right: -8px;
    top: 47px;
    opacity: 0.7;
  }
  .home-stats strong {
    font-size: 10px;
  }
  .home-stats small {
    font-size: 6px;
  }
  .table-top p {
    font-size: 8px;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  button[aria-busy="true"]::after {
    animation: none;
  }
}

/* Image thumbnails retain their transparency in every stakes row. */
.home-table-row:nth-child(n) .table-thumbnail {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
@media (max-width: 760px) {
  body[data-view="play"] .mobile-nav {
    display: none;
  }
  body[data-view="play"] {
    padding-bottom: 0;
  }
  .table-art::before {
    inset: 28px 0 30px;
    background-size: contain;
  }
}

@media (max-width: 760px) {
  .chip-pile {
    --chip-size: 16px;
    grid-template-columns: repeat(
      var(--chip-columns-phone, 4),
      var(--chip-size)
    );
    grid-auto-rows: 22px;
    min-height: 22px;
    column-gap: 1px;
  }
  .chip-group {
    height: 22px;
  }
  .chip-count {
    font-size: 7px;
    line-height: 9px;
    right: -1px;
  }
  .chip-fraction {
    font-size: 6px;
  }
  .bet-amount {
    font-size: min(9px, calc(108px / var(--bet-length, 1)));
  }
  .pot-stack {
    width: 70px;
  }
  .pot-stack > .chip-pile {
    --chip-size: 14px;
  }
}

@media (max-width: 760px) {
  #pot.pot-long {
    font-size: 12px;
  }
  #pot.pot-extra-long {
    font-size: 10.5px;
  }
}

@media (min-width: 761px) {
  .seat-bet[data-position="0"] {
    top: 35%;
  }
  .seat-bet[data-position="0"] .chip-pile,
  .seat-bet[data-position="3"] .chip-pile {
    grid-template-columns: repeat(var(--chip-columns-top, 4), var(--chip-size));
  }
  .seat-bet[data-position="0"],
  .seat-bet[data-position="3"] {
    height: 38px;
  }
}

@media (min-width: 360px) and (max-width: 760px) {
  .chip-pile {
    --chip-size: 18px;
  }
  .pot-stack {
    width: 78px;
  }
}

/* Playing uses the viewport; lobby navigation and information stay in the lobby. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body[data-view="play"] .site-footer,
body[data-view="play"] .main-nav,
body[data-view="play"] .mobile-nav {
  display: none;
}
#play-view {
  display: block;
  box-sizing: border-box;
  height: calc(100svh - 80px);
  min-height: 516px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 24px;
  background: none;
}
#play-view .game {
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  container: poker-table / inline-size;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  overflow: visible;
}
.table-top > div:first-child {
  min-width: 0;
}
.table-picker {
  position: relative;
  width: 248px;
  max-width: 100%;
  flex: none;
  z-index: 5;
}
#table-select {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  height: 36px;
  padding: 5px 10px;
  border: 1px solid #9a87b9a6;
  border-radius: 9px;
  background: #171625 var(--sol-dark) center/100% 100%;
  box-shadow: inset 0 1px 0 #fff3, 0 3px 10px #0004;
  color: #f5f2e9;
  list-style: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
#table-select::-webkit-details-marker {
  display: none;
}
#table-select > .icon {
  width: 17px;
  height: 17px;
  color: #8affda;
  flex: none;
}
#table-select > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
#table-select strong {
  font-size: 13px;
  font-weight: 800;
}
#table-select small {
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  color: #cbc4dc;
}
.picker-chevron {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: #e1d9ee;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.table-picker[open] .picker-chevron {
  transform: rotate(180deg);
}
.table-picker[open] > summary {
  border-color: #91d9c8;
}
.table-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 330px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid #8c7ca9a3;
  border-radius: 13px;
  background: #141424 var(--sol-panel) center/100% 100%;
  box-shadow: inset 0 1px 0 #fff2, 0 12px 32px #0009;
}
.table-options .table-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 62px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #10111d66;
  color: #f4f1fc;
  text-align: left;
  cursor: pointer;
}
.table-option > span:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.table-option strong {
  font-size: 13px;
  font-weight: 800;
}
.table-option small {
  font-size: 9px;
  font-weight: 500;
  color: #bcb5cd;
  white-space: nowrap;
}
.table-option .option-blinds {
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.option-check {
  visibility: hidden;
  color: #8affda;
}
.table-option[aria-current="true"] {
  border-color: #6debc466;
  background: #173c323d;
}
.table-option[aria-current="true"] .option-check {
  visibility: visible;
}
.table-options .table-option:hover,
.table-options .table-option:focus-visible {
  background: #343044;
  border-color: #c3b1db;
}
.menu-tables {
  display: none;
}
#table-select:focus-visible {
  outline: 2px solid #86ffdb;
  outline-offset: 3px;
}
.table-top {
  min-height: 56px;
  padding: 0;
}
.table-top p {
  margin-top: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
button.wallet-balance > span {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (min-width: 761px) {
  #controls {
    flex-wrap: nowrap;
  }
}
@media (max-width: 760px) {
  #play-view {
    height: calc(100svh - 72px);
    min-height: 736px;
    padding: 8px;
  }
  #play-view .game {
    gap: 6px;
  }
  #controls {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-content: center;
    gap: 7px;
  }
  #controls > button {
    grid-column: span 3;
    min-width: 0;
  }
  #controls > input {
    grid-column: span 2;
    width: 100%;
    min-width: 0;
  }
  #controls > input + button {
    grid-column: span 4;
  }
}

/* Reclaim table space without changing the artwork's proportions. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
.account,
#controls {
  min-width: 0;
}
.site-header .main-nav {
  min-width: max-content;
}
button.wallet-balance {
  min-width: 0;
  max-width: 180px;
}
button.wallet-balance strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-address,
[role="status"],
#controls button {
  overflow-wrap: anywhere;
}
dialog input,
dialog button {
  max-width: 100%;
}
dialog {
  overflow-x: hidden;
}
body[data-view="play"] .site-header {
  height: 64px;
  min-height: 64px;
}
#play-view {
  height: calc(100svh - 64px);
  min-height: 480px;
  padding: 8px 12px;
}
#play-view .game {
  grid-template-rows: 40px minmax(280px, 1fr) auto;
  gap: 6px;
}
.table-top {
  min-height: 40px;
}
.table-top > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
#title {
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
}
#table-stakes {
  line-height: 12px;
}
.table-top p {
  margin: 0;
}
@media (min-width: 1000px) {
  #play-view #controls {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}
@media (max-width: 760px) {
  #play-view {
    min-height: 684px;
    padding: 6px;
  }
  #play-view .game {
    grid-template-rows: 52px minmax(420px, 1fr) auto;
    gap: 4px;
  }
  .table-top,
  .table-top > div:first-child {
    display: block;
  }
  .table-top {
    display: flex;
    min-height: 52px;
  }
  .table-top p {
    margin-top: 4px;
  }
  .menu-tables {
    display: block;
    margin: 24px 0;
  }
  .menu-tables h3 {
    margin: 0 0 12px;
    color: #c9c0db;
  }
  #mobile-table-slot .table-picker {
    width: 100%;
  }
  #mobile-table-slot #table-select {
    height: 48px;
  }
  #mobile-table-slot .table-options {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    padding: 5px;
    box-shadow: inset 0 1px 0 #fff2;
  }
  #mobile-table-slot .table-option {
    padding: 8px;
    gap: 6px;
  }
}

/* Phones keep the lower-right corner open; desktop retains all six rail seats. */
#play-view {
  min-height: 480px;
}
#play-view .game {
  grid-template-rows: 40px minmax(0, 1fr) 112px;
  gap: 4px;
}
#play-view .table-top {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 40px;
  align-items: center;
  gap: 4px 12px;
  min-height: 0;
  padding: 0;
}
.table-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
#hand-number {
  min-height: 19px;
  padding: 2px 6px;
  border: 1px solid #8e79ad55;
  border-radius: 5px;
  background: #191627c4;
  color: #d2c6df;
  font-size: 9px;
  line-height: 12px;
  letter-spacing: .45px;
  white-space: nowrap;
}
#hand-number::after {
  margin-left: 4px;
  color: inherit;
}
#hand-number[aria-expanded="true"] {
  border-color: #ad92cb;
  background: #302b45;
}
#hand-history {
  position: fixed;
  inset: var(--history-top, 120px) max(10px, env(safe-area-inset-right)) auto auto;
  box-sizing: border-box;
  width: min(344px, calc(100% - 20px));
  max-height: min(50dvh, calc(100dvh - var(--history-top, 120px) - 10px));
  margin: 0;
  padding: 14px 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #8971a7;
  border-radius: 12px;
  background: #111424 var(--sol-panel) center / 100% 100%;
  box-shadow: 0 8px 32px #000a;
  color: #f4effa;
}
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.history-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
#hand-history-close {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.history-note {
  margin: 5px 0 8px;
  color: #c3b6d0;
  font-size: 12px;
}
#hand-history-select {
  width: 100%;
  min-height: 38px;
  margin-block: 4px 8px;
  padding-inline: 9px;
  border: 1px solid #8a789e;
  border-radius: 7px;
  background: #1b182a;
  color: inherit;
  color-scheme: dark;
  font: inherit;
  font-size: 14px;
}
.history-board {
  display: flex;
  gap: 4px;
  margin-block: 8px;
}
#hand-history-detail h3 {
  margin: 12px 0 3px;
  color: #a2f6d6;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
#hand-history-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
}
#hand-history-detail li {
  padding: 4px 0;
  border-bottom: 1px solid #ffffff13;
  overflow-wrap: anywhere;
}
.seat-controls {
  position: relative;
}
.seat-actions {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: 182px;
  padding: 6px;
  border: 1px solid #8a789e;
  border-radius: 10px;
  background: #21182a;
  box-shadow: 0 8px 24px #0009;
}
.seat-menu-toggle[aria-expanded="false"] + .seat-actions {
  display: none;
}
.seat-actions button,
.seat-menu-toggle {
  position: relative;
  padding: 3px 10px;
  border: 1px solid #8a789e;
  border-radius: 8px;
  background: var(--sol-dark) center / 100% 100%;
  color: #f1e9f6;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.seat-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
}
.seat-actions button {
  min-height: 44px;
  text-align: left;
}
.seat-actions button:disabled {
  color: #c7b8d3;
  border-color: #695971;
}
#seat-leave[aria-describedby] {
  opacity: 1;
  background: #21182a;
}
#seat-leave-hint:not([hidden]) {
  display: block;
  margin-top: 2px;
  color: #c7b8d3;
  font-size: 10px;
  line-height: 11px;
}
.table-actions {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 292px;
  z-index: 6;
}
.table-actions[hidden],
#table-actions [hidden] {
  display: none;
}
#table-actions #controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  align-items: end;
  gap: 18px;
  min-height: 0;
}
#table-actions #controls > button {
  min-width: 90px;
  min-height: 36px;
  height: auto;
  padding: 7px 12px;
  background: var(--sol-dark) center / 100% 100%;
  border: 1px solid #8a789e;
  color: #e5deef;
  font-size: 11px;
  line-height: 16px;
}
#table-actions #controls > button {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 44px;
}
#table-actions .betting-controls,
#table-actions .raise-sizing {
  min-inline-size: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
#table-actions .betting-controls {
  grid-column: 2;
  display: grid;
  gap: 8px;
  width: 100%;
}
#table-actions .raise-sizing {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 10px;
}
#table-actions .raise-sizing[hidden] {
  display: none;
}
#table-actions .bet-presets,
#table-actions .primary-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
#table-actions .primary-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#table-actions .bet-preset,
#table-actions .bet-step {
  min-width: 0;
  min-height: 36px;
  padding: 3px;
  border: 1px solid #8a789e;
  border-radius: 6px;
  background: var(--sol-dark) center / 100% 100%;
  color: #eae5f1;
  font-size: 12px;
  font-weight: 750;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
}
#table-actions .bet-preset[aria-pressed=true] {
  border-color: #99ffe0;
  background-image: var(--sol-mint);
  color: #03291f;
}
#table-actions .raise-entry {
  display: grid;
  grid-template-columns: minmax(64px, 84px) 28px minmax(30px, 1fr) 28px;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
#table-actions .raise-value {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid #9885ae;
  border-radius: 6px;
  background: #0c101ee8;
  color: #e9fff7;
  font-size: 13px;
  font-weight: 800;
}
#table-actions .raise-value:focus-within {
  border-color: #8affd5;
  outline: 1px solid #8affd566;
}
#table-actions .raise-value:has(input:invalid) {
  border-color: #ff8fa9;
}
#table-actions #raise-amount {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: none;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
#table-actions #raise-slider {
  appearance: none;
  width: 100%;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
  touch-action: pan-y;
}
#raise-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: #756a88;
}
#raise-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: #756a88;
}
#raise-slider::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  margin-top: -6.5px;
  border: 2px solid #d3fff1;
  border-radius: 50%;
  background: #51d6b0;
  box-shadow: 0 1px 4px #0008;
}
#raise-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #d3fff1;
  border-radius: 50%;
  background: #51d6b0;
  box-shadow: 0 1px 4px #0008;
}
#table-actions .bet-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 56px;
  padding: 5px;
  border: 1px solid #a591c3;
  border-radius: 9px;
  background: var(--sol-dark) center / 100% 100%;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: 0 4px 12px #0006;
}
#table-actions .bet-action.fold-action {
  border-color: #ed859e;
  background-image: url("/poker/glass-button-ruby-v2.webp");
  color: #fff1f5;
}
#table-actions .bet-action.primary {
  border-color: #9effdf;
  background-image: var(--sol-mint);
  color: #03291f;
}
#table-actions .action-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}
#table-actions .action-amount {
  max-width: 100%;
  font-size: 17px;
  font-weight: 850;
  line-height: 20px;
  white-space: nowrap;
}
#table-actions .action-amount:empty {
  display: none;
}
#table-actions .bet-action:has(.action-amount:empty) .action-label {
  font-size: 15px;
  font-weight: 800;
}
@media (min-width: 761px) {
  #desktop-actions-slot {
    display: flex;
    align-items: end;
    min-width: 0;
  }
  #desktop-actions-slot .table-actions {
    position: static;
    width: min(100%, 1080px);
    margin: 0 auto;
  }
}
@media (max-width: 760px) {
  #desktop-actions-slot {
    display: none;
  }
  #play-view {
    min-height: 520px;
  }
  #play-view .game {
    grid-template-rows: 40px minmax(0, 1fr);
  }
  .table-header-controls {
    gap: 8px;
  }
  .table-actions {
    right: 4px;
    bottom: 12px;
    width: 228px;
  }
  #table-actions #controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  #table-actions .betting-controls {
    order: 0;
  }
  #table-actions .raise-sizing {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  #table-actions .primary-actions {
    gap: 5px;
  }
  #table-actions .bet-action {
    min-height: max(52px, calc(44px / var(--table-scale, 1)));
    padding: 4px 2px;
  }
  #table-actions .bet-preset,
  #table-actions .bet-step {
    min-height: max(32px, calc(32px / var(--table-scale, 1)));
    font-size: max(11px, calc(10px / var(--table-scale, 1)));
  }
  #table-actions .raise-value,
  #table-actions #raise-slider {
    height: max(32px, calc(32px / var(--table-scale, 1)));
  }
  #table-actions #raise-amount {
    font-size: max(16px, calc(16px / var(--table-scale, 1)));
  }
  #table-actions .action-label {
    font-size: max(11px, calc(10px / var(--table-scale, 1)));
    line-height: 15px;
  }
  #table-actions .action-amount {
    font-size: max(12px, calc(11px / var(--table-scale, 1)));
    line-height: 17px;
  }
  #table-actions .bet-action:has(.action-amount:empty) .action-label {
    font-size: max(12px, calc(11px / var(--table-scale, 1)));
  }
  #arena #pot {
    font-size: 12px;
  }
  #arena #pot.pot-long {
    font-size: 12px;
  }
  #arena #pot.pot-extra-long {
    font-size: 10.5px;
  }
  #arena .seat-bet {
    left: var(--bet-x, 50%);
    top: var(--bet-y, 50%);
    width: 70px;
    height: 38px;
  }
  #arena .seat-bet .chip-pile {
    --chip-size: 13px;
  }
  #arena .seat-bet .chip-fraction {
    font-size: 6px;
  }
  #arena .seat[data-position] .empty {
    width: 44px;
    min-height: 44px;
    height: 44px;
    margin-top: 49px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    translate: var(--empty-seat-offset-x, 0px) var(--empty-seat-offset-y, 0px);
  }
  #arena .seat .empty::before {
    font-size: 22px;
  }
  #arena .seat .empty::after {
    top: calc(100% + 5px);
    width: 68px;
    font-size: 8px;
  }
  #arena .seat[data-position="0"] .empty::after,
  #arena .seat[data-position="5"] .empty::after {
    left: 0;
    translate: none;
    text-align: left;
  }
  #arena .seat[data-position="2"] .empty::after,
  #arena .seat[data-position="3"] .empty::after {
    left: auto;
    right: 0;
    translate: none;
    text-align: right;
  }
  .table-effects {
    left: calc((360px - var(--table-viewport-width, 360px)) / 2);
    right: auto;
    width: var(--table-viewport-width, 360px);
  }
}

/* Portrait-led seats: held cards share the portrait; only wagers sit on felt. */
#arena .seat {
  --portrait-size: 84px;
  --hole-width: 50px;
  --hole-height: 70px;
  position: absolute;
  width: 112px;
  height: 126px;
  min-height: 126px;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
#arena .seat::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -10px;
  height: 50px;
  background: url(/poker/player-contact-shadow-v1.webp) center / 100% 100% no-repeat;
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}
#arena .seat .panel {
  position: relative;
  width: 100%;
  height: 126px;
  min-height: 126px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
#arena .seat .portrait {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--portrait-size);
  height: var(--portrait-size);
  translate: -50% 0;
  isolation: isolate;
}
#arena .seat .avatar {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #c2a3e2;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #12101b, 0 6px 16px #0009;
  z-index: 1;
}
#arena .seat .player-avatar-button {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
#arena .seat .nameplate {
  position: absolute;
  top: calc(var(--portrait-size) - 6px);
  left: 0;
  width: 100%;
  min-height: 44px;
  padding: 3px 7px 7px;
  border: 1px solid #9173b6a6;
  border-radius: 8px 8px 12px 12px;
  background: var(--sol-dark) center / 100% 100%;
  box-shadow: 0 5px 12px #0008;
  z-index: 5;
}
#arena .seat .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  color: #f0eaf8;
}
#arena .seat .name.pot-share {
  color: #ffe5a0;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
#arena .seat .name.pot-share[data-receives=no] {
  color: #c6c2dc;
}
#arena .seat .stack {
  white-space: nowrap;
  font-size: 17px;
  line-height: 20px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: #a9ffe3;
  letter-spacing: -.4px;
}
#arena .seat .cards {
  position: absolute;
  inset: 4px -12px 0;
  z-index: 3;
  pointer-events: none;
}
#arena .seat .hole-card {
  --hole-scale: .64;
  --hole-offset: 7px;
  --hole-angle: -8deg;
  --hole-x: -72%;
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: var(--hole-width);
  height: var(--hole-height);
  transform-origin: center bottom;
  transform: translateX(var(--hole-x)) translateY(var(--hole-offset)) rotate(var(--hole-angle)) scale(var(--hole-scale));
  transition: transform 260ms var(--ease-out);
}
#arena .seat .hole-card + .hole-card {
  --hole-angle: 8deg;
  --hole-x: -28%;
}
#arena .seat .cards[data-revealed=true] .hole-card {
  --hole-scale: 1;
  --hole-offset: 0px;
  --hole-angle: -6deg;
  --hole-x: -94%;
}
#arena .seat .cards[data-revealed=true] .hole-card + .hole-card {
  --hole-angle: 6deg;
  --hole-x: -6%;
}
#arena .seat .hole-card .card {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 5px;
  box-shadow: 0 2px 6px #0008;
}
#arena.table-paying .seat .hole-card {
  transition-duration: 180ms;
}
#arena .seat .cards[data-revealed=true] .hole-card.winning-card {
  --hole-offset: -7px;
  z-index: 2;
}
#arena .seat .hole-card.winning-card .card-face {
  box-shadow: 0 0 0 2px #ffe3a1, 0 0 15px #ffd57599, 0 5px 9px #0009;
}
#arena .seat .card-face,
#arena .seat .cards[data-revealed=true] .card-back {
  display: none;
}
#arena .seat .cards[data-revealed=true] .card-face {
  display: block;
}
#arena.table-squeezing .seat.self .cards .hole-card {
  --hole-scale: .64;
  --hole-offset: 7px;
  --hole-angle: -8deg;
  --hole-x: -72%;
}
#arena.table-squeezing .seat.self .cards .hole-card + .hole-card {
  --hole-angle: 8deg;
  --hole-x: -28%;
}
#arena.table-squeezing .seat.self .cards .card-face {
  display: none;
}
#arena.table-squeezing .seat.self .cards .card-back {
  display: block;
}
#arena .seat.active .avatar,
#arena .seat.self .avatar {
  border-color: #74ffda;
}
#arena .seat.active .nameplate {
  border-color: #74ffda;
}
#arena .seat .turn-highlight {
  position: absolute;
  inset: -5px;
  border: 3px solid #72ffe0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ad79ffb3, 0 0 18px #64ffd299, inset 0 0 8px #64ffd24d;
  pointer-events: none;
  z-index: 2;
}
#arena .seat.winner .avatar,
#arena .seat.winner .nameplate {
  border-color: #ffe3a1;
}
#arena .seat.winner .stack {
  color: #ffe3a1;
}
#arena .seat .winner-halo,
#arena .seat .winner-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid #ffde87;
  border-radius: 50%;
  pointer-events: none;
}
#arena .seat .winner-halo {
  border-color: #fff0ba;
  box-shadow: 0 0 0 1px #fff4d58c, 0 0 22px #ffd56899, inset 0 0 10px #ffd56855;
  z-index: 2;
}
#arena .seat .winner-rays {
  position: absolute;
  inset: -65%;
  border-radius: 50%;
  /* Authored CC0 light sprite, baked to alpha once; no live blur/shader. */
  background: radial-gradient(circle, #fff9df 28%, #ffdd86 58%, #d99b39 88%);
  -webkit-mask: url("/poker/winner-rays-cc0-v1.webp") center / contain no-repeat;
  mask: url("/poker/winner-rays-cc0-v1.webp") center / contain no-repeat;
  opacity: .88;
  pointer-events: none;
  z-index: 0;
}
body[data-view=play] #arena:not(.table-effects-paused) .seat.winner .winner-rays {
  animation: winner-rays-spin 14s linear infinite;
}
@keyframes winner-rays-spin {
  to { transform: rotate(360deg); }
}
#arena .seat .winner-ring {
  inset: -14px;
  border: none;
  background: #ffdf8a;
  -webkit-mask: url("/poker/light-ring-kenney-v1.webp") center / contain no-repeat;
  mask: url("/poker/light-ring-kenney-v1.webp") center / contain no-repeat;
  opacity: 0;
}
#arena .seat .winner-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  z-index: 7;
  min-width: 58px;
  padding: 4px 10px;
  border: 1px solid #ffe8a9;
  border-radius: 7px;
  background: linear-gradient(160deg, #fff0ba, #e9b342);
  box-shadow: 0 3px 10px #0008;
  color: #33210a;
  font-size: 11px;
  font-weight: 950;
  line-height: 14px;
  letter-spacing: .12em;
  pointer-events: none;
}
#arena .seat:not(.winner) .winner-halo,
#arena .seat:not(.winner) .winner-rays,
#arena .seat:not(.winner) .winner-badge {
  display: none;
}
#arena .seat.folded {
  opacity: 1;
}
#arena .seat:is(.folded, .sitting-out) .portrait,
#arena .seat:is(.folded, .sitting-out) .nameplate,
#arena .seat:is(.folded, .sitting-out) .seat-marker {
  opacity: .45;
}
#arena .seat .player-action {
  --action-color: #83ffdb;
  --action-tint: #14372f;
  position: absolute;
  top: calc(var(--portrait-size) * .27);
  left: 50%;
  translate: -50% 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: max-content;
  min-width: 70px;
  max-width: calc(100% - 8px);
  padding: 6px 9px;
  border: 1px solid var(--action-color);
  border-radius: 8px;
  background: linear-gradient(165deg, var(--action-tint), #12101fee);
  box-shadow: inset 0 1px 0 #ffffff26, 0 3px 10px #0009;
  color: var(--action-color);
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
}
#arena .seat .player-action strong {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
#arena .seat .player-action > span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
#arena .seat .player-action[data-action=fold] {
  --action-color: #ff91ad;
  --action-tint: #481f34;
}
#arena .seat .player-action[data-action=call] {
  --action-color: #88dbff;
  --action-tint: #17384f;
}
#arena .seat .player-action[data-action=bet] {
  --action-color: #c9a3ff;
  --action-tint: #35234e;
}
#arena .seat .player-action[data-action=raise] {
  --action-color: #ffd291;
  --action-tint: #49351f;
}
#arena .seat .player-action[data-action=all-in] {
  --action-color: #ff9ee4;
  --action-tint: #4a214b;
}
#arena .seat .seat-status {
  position: absolute;
  left: calc((100% - var(--portrait-size)) / 2 - 7px);
  bottom: calc(100% - var(--portrait-size) + 9px);
  z-index: 6;
  pointer-events: none;
}
#arena .seat .seat-marker {
  display: block;
  min-width: 22px;
  padding: 3px 5px;
  border: 1px solid #b7a3cf66;
  border-radius: 9px;
  background: #0e1524;
  font-size: 11px;
  line-height: 14px;
  font-weight: 850;
  color: #e7ddf1;
  pointer-events: auto;
}
#arena .seat .seat-card-clock {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  border: 1px solid #ff718680;
  border-radius: 9px;
  background: #2e1520f2;
  color: #ff9bad;
  font-size: max(11px, calc(10px / var(--table-scale, 1)));
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
#arena .seat .seat-card-clock:not([hidden]) + .seat-marker {
  display: none;
}
.seat-card-clock .icon {
  width: 12px;
  height: 12px;
}
.turn-clock {
  position: absolute;
  left: 8px;
  bottom: 1px;
  width: calc(100% - 16px);
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  color: #79ffe0;
  box-shadow: 0 0 0 1px #0008;
  pointer-events: none;
  z-index: 1;
}
.turn-clock[data-urgency=warning] {
  color: #ffd16f;
}
.turn-clock[data-urgency=urgent] {
  color: #ff718f;
}
.turn-clock-track,
.turn-clock-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.turn-clock-track {
  background: #272c39;
}
.turn-clock-fill {
  background: currentColor;
  transform-origin: left center;
}
@media (min-width: 761px) {
  #arena .seat[data-position="0"] {
    scale: .94;
  }
}
@media (max-width: 760px) {
  #arena .seat[data-position] {
    --portrait-size: 64px;
    --hole-width: 38px;
    --hole-height: 54px;
    --seat-depth-scale: 1;
    width: 94px;
    height: 110px;
    min-height: 110px;
    scale: none;
    transform: translate(-50%, -50%) scale(var(--seat-depth-scale));
  }
  #arena .seat[data-position="1"] {
    --seat-depth-scale: .92;
  }
  #arena .seat[data-position="4"] {
    --seat-depth-scale: 1.04;
    --portrait-size: 76px;
    --hole-width: 44px;
    --hole-height: 62px;
    width: 104px;
  }
  #arena .seat .panel {
    height: 110px;
    min-height: 110px;
  }
  #arena .seat .nameplate {
    min-height: 36px;
    padding: 2px 5px 6px;
  }
  #arena .seat .name {
    font-size: max(10px, calc(8px / var(--table-scale, 1)));
    line-height: 1.3;
  }
  #arena .seat .stack {
    font-size: max(14px, calc(11px / var(--table-scale, 1)));
    line-height: 1.2;
  }
  #arena .seat[data-position] .empty {
    margin-top: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-view=play] #arena:not(.table-effects-paused) .seat.winner .winner-rays {
    animation: none;
  }
  #arena #board .community-card,
  #arena .seat .hole-card,
  #arena.table-paying .seat .hole-card {
    transition: none;
  }
}
