@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/unbounded-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --ink: #f4f4f8;
  --muted: #9c9cb4;
  --soft: #c9c8d6;
  --bg: #06060d;
  --panel: rgba(16, 15, 30, 0.9);
  --edge: rgba(255, 255, 255, 0.08);
  --violet: #8b5cf6;
  --violet-soft: #c4b5fd;
  --teal: #5eead4;
  --gold: #facc15;
  --coral: #ff9a80;
  --ring: conic-gradient(
    from 0deg,
    #7c3aed,
    #c026d3 40deg,
    #f472b6 70deg,
    #fb923c 100deg,
    #facc15 125deg,
    #f97316 145deg,
    #ec4899 175deg,
    #a855f7 205deg,
    #3b82f6 240deg,
    #22d3ee 270deg,
    #3b82f6 300deg,
    #6d28d9 340deg,
    #7c3aed
  );
  --cta: linear-gradient(90deg, #5b2eff 0%, #8b3bf0 55%, #f59e0b 100%);
  --display: 'Unbounded', Inter, system-ui, sans-serif;
  --text: Inter, system-ui, sans-serif;
  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --pressed: #2a2152;
  --pressed-edge: rgba(167, 139, 250, 0.55);
  --hover: rgba(139, 92, 246, 0.14);
  --focus: #a78bfa;
  --z-fx-deal: 30;
  --z-fx-win: 31;
  --z-fx-coin: 35;
  --z-fx-emote: 38;
  --z-hovercard: 39;
  --z-wizard: 40;
  --z-modal-back: 41;
  --z-modal: 42;
  --z-chat-guard: 45;
  --z-final-back: 60;
  --z-final: 61;
  --z-toast: 100;
  color-scheme: dark;
  scrollbar-color: rgba(196, 181, 253, 0.35) transparent;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
body {
  background: radial-gradient(90% 55% at 50% 35%, #1b1255 0%, #0b0920 60%, #06060d 100%) fixed;
}
button {
  font: inherit;
  color: inherit;
}
button:focus-visible,
input:focus-visible,
a:focus-visible,
[role='button']:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
* {
  scrollbar-width: thin;
}
::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #ffffff;
}
input {
  caret-color: var(--violet-soft);
}
input::placeholder {
  color: var(--muted);
}
.num {
  font-variant-numeric: tabular-nums;
}
.felt {
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  bottom: 64px;
}
.felt > span {
  position: absolute;
  border-radius: 999px;
}
.felt .glow {
  inset: 4px;
  background: var(--ring);
  filter: blur(20px);
  opacity: 0.45;
}
.felt .rim {
  inset: 0;
  background: var(--ring);
}
.felt .rail {
  inset: 3px;
  background: linear-gradient(180deg, #100c2c, #08071a);
}
.felt .cloth {
  inset: 14px;
  background: radial-gradient(ellipse at 50% 42%, #33229a 0%, #1c1462 42%, #0e0b2e 85%);
  box-shadow:
    inset 0 0 0 1px rgba(167, 139, 250, 0.22),
    inset 0 -30px 60px rgba(0, 0, 0, 0.5);
}
.felt .line {
  inset: 38px;
  border: 1px dashed rgba(167, 139, 250, 0.18);
}
.center {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.toprow {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pot small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--soft);
}
.pot strong {
  font: 800 28px/1 var(--display);
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
}
.pot em {
  font-style: normal;
  font-size: 11px;
  color: var(--soft);
}
.board {
  display: flex;
  gap: 5px;
}
.card {
  position: relative;
  width: 40px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(160deg, #ffffff, #ecebf4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  color: #111114;
  flex: none;
}
.card.face {
  --c1: #4a4a5a;
  --c2: #17171f;
  --gl: rgba(160, 160, 190, 0.35);
  --edge: rgba(255, 255, 255, 0.62);
  container-type: size;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(160deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow:
    0 0 10px 1px var(--gl),
    0 8px 18px rgba(0, 0, 0, 0.5);
}
.card.face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 max(1px, 3cqw) var(--edge),
    inset 0 0 max(2px, 6cqw) rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.card.face.s-h,
.card.face.s-d {
  --c1: #f0404b;
  --c2: #a80f1c;
  --gl: rgba(255, 72, 84, 0.55);
  --edge: rgba(255, 196, 200, 0.85);
}
.card.face::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.14) 28%, rgba(255, 255, 255, 0) 46%), linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}
.card.face.win::after {
  box-shadow:
    inset 0 0 0 max(2px, 5cqw) #fde047,
    inset 0 0 0 max(3px, 6.5cqw) rgba(250, 204, 21, 0.55),
    inset 0 0 max(4px, 16cqw) rgba(253, 224, 71, 0.75);
}
.card.face.win {
  filter: brightness(1.12) saturate(1.1);
}
.card.face b {
  position: absolute;
  top: 5cqh;
  left: 8cqw;
  font: 800 21cqh/1 var(--display);
  letter-spacing: -0.04em;
}
.card.face.r10 b {
  letter-spacing: -0.14em;
}
.card.face .pip {
  position: absolute;
  top: 29cqh;
  left: 8cqw;
  width: 17cqh;
  height: 17cqh;
  fill: currentColor;
}
.card.face em {
  position: absolute;
  right: 6cqw;
  bottom: 1cqh;
  font: 800 64cqh/0.82 var(--display);
  font-style: normal;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.card.face.r10 em {
  font-size: 50cqh;
  letter-spacing: -0.12em;
  bottom: 4cqh;
}
@container (max-width: 25px) {
  .card.face b {
    display: none;
  }
  .card.face .pip {
    top: 6cqh;
    left: 9cqw;
    width: 28cqh;
    height: 28cqh;
  }
  .card.face em {
    right: 50%;
    bottom: 5cqh;
    transform: translateX(50%);
    font-size: 56cqh;
  }
  .card.face.r10 em {
    font-size: 44cqh;
  }
}
.card.slot {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(196, 181, 253, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.card.back {
  background: repeating-linear-gradient(45deg, #3b2a9e 0 4px, #2a1c78 4px 8px);
  border: 1px solid rgba(167, 139, 250, 0.45);
}
.card.sm {
  width: 24px;
  height: 34px;
  border-radius: 4px;
}
.card.lg {
  width: 54px;
  height: 76px;
  border-radius: 9px;
}
.card.new {
  animation: flip 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.card.win {
  box-shadow:
    0 0 0 2px rgba(253, 224, 71, 0.9),
    0 0 14px 4px rgba(250, 204, 21, 0.95),
    0 0 34px 8px rgba(250, 204, 21, 0.6),
    0 0 64px 14px rgba(250, 204, 21, 0.3);
}
.avatar {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 11px var(--display);
  background: var(--av, #3b2a9e);
}
.avatar .timer {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--tc, #22d3ee) calc(var(--p, 0) * 1%), transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 18px, #000 19px);
  mask: radial-gradient(circle, transparent 18px, #000 19px);
}
.away {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 2px #0d0b1c;
}
.bet {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px 0 3px;
  border-radius: 999px;
  background: rgba(6, 5, 16, 0.75);
  border: 1px solid var(--edge);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
  white-space: nowrap;
}
.bet i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: repeating-conic-gradient(#8b5cf6 0 30deg, #ffffff 30deg 45deg);
  box-shadow: inset 0 0 0 4px #8b5cf6;
}
.panel {
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--edge);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.turnbar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.turnbar span {
  display: block;
  height: 100%;
  background: #22d3ee;
  width: calc(var(--p, 100) * 1%);
  transition: width 0.25s linear;
}
.turnbar.urgent span {
  background: #ff5a36;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.title {
  font: 600 14px/1.3 var(--display);
}
.hint {
  font-size: 12px;
  color: var(--muted);
}
.presets {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
}
.presets button {
  height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.slider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slider input {
  flex: 1;
  accent-color: #8b5cf6;
  height: 44px;
}
.slider output {
  min-width: 74px;
  text-align: right;
  font: 700 15px var(--display);
}
.actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.act {
  height: 60px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition:
    transform 0.12s,
    filter 0.12s;
}
.act small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}
.cta {
  height: 48px;
  border: 0;
  border-radius: var(--r-md);
  color: #ffffff;
  background: var(--cta);
  box-shadow: 0 10px 24px rgba(91, 46, 255, 0.35);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    filter 0.15s,
    transform 0.12s;
}
a.cta {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.act.fold {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 154, 128, 0.45);
  color: #ffb4a3;
  box-shadow: none;
}
.act.check,
.act.call {
  background: linear-gradient(180deg, #7c4dff 0%, #5b2ee0 100%);
  border-color: rgba(196, 181, 253, 0.45);
}
.act.raise {
  background: linear-gradient(180deg, #fde68a 0%, #facc15 48%, #d99a06 100%);
  border-color: rgba(255, 240, 180, 0.8);
  color: #1f1400;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 22px rgba(250, 204, 21, 0.22);
}
.act.raise small {
  opacity: 1;
  color: #4a3300;
}
.act.back {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--edge);
  color: var(--ink);
  box-shadow: none;
}
.act:active,
.cta:active {
  transform: translateY(1px) scale(0.99);
}
.act[disabled],
.cta[disabled] {
  opacity: 0.5;
  cursor: default;
}
.welcome {
  margin: 18vh auto 0;
  max-width: 360px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.welcome h1 {
  margin: 0;
  font: 800 22px/1.2 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.welcome p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}
.welcome label {
  font-size: 12px;
  font-weight: 600;
  color: var(--soft);
}
.welcome input {
  height: 48px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 5, 16, 0.6);
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
}
.welcome small {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.toast {
  position: fixed;
  z-index: var(--z-toast);
  left: 50%;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  transform: translate(-50%, -20px);
  opacity: 0;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(12, 10, 30, 0.95);
  border: 1px solid rgba(255, 154, 128, 0.5);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: min(520px, calc(100vw - 112px));
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.toast.soft {
  border-color: rgba(196, 181, 253, 0.45);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
@keyframes popc {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes flip {
  from {
    transform: rotateY(90deg) scale(1.15);
  }
  to {
    transform: none;
  }
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.sheet {
  animation: popc 0.25s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .sheet {
    animation: none;
  }
}
.table9 .bet {
  transform: translate(-50%, -50%);
}
.presets button {
  min-height: 44px;
}
.ghost {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px 0 3px;
  border-radius: 999px;
  background: rgba(6, 5, 16, 0.75);
  border: 1px solid var(--edge);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}
.ghost i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: repeating-conic-gradient(#8b5cf6 0 30deg, #ffffff 30deg 45deg);
  box-shadow: inset 0 0 0 4px #8b5cf6;
}
.podbtn {
  position: absolute;
  inset: -4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.podbtn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.statgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.stat-cell {
  min-height: 56px;
  border-radius: var(--r-md);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}
.stat-cell strong {
  font: 700 17px var(--display);
  letter-spacing: -0.01em;
}
.stat-cell small {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
}
.stable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.stable th,
.stable td {
  padding: 8px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--edge);
}
.stable th:first-child,
.stable th[scope='row'] {
  text-align: left;
}
.stable thead th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stable tr.me th {
  color: var(--teal);
}
.pos {
  color: #4ade80;
}
.neg {
  color: var(--coral);
}
.kgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.kcard {
  min-height: 56px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.kcard small {
  order: 2;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.kcard strong {
  font: 700 17px var(--display);
  letter-spacing: -0.01em;
}
.hcards,
.hboard {
  display: inline-flex;
  gap: 2px;
}
.rboard {
  display: flex;
  gap: 4px;
  justify-content: center;
}
[data-peek] {
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.shell {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(240px, 1fr) auto;
  gap: 8px;
}
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #111114;
  font: 800 11px var(--text);
}
.chip-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--edge);
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  container: stage / size;
}
.table9 {
  --r: 0.74;
  --rmin: 0.6;
  position: relative;
  container: tbl / size;
  width: min(100cqw, calc(100cqh * var(--r)), 1760px);
  height: min(100cqh, calc(100cqw / var(--rmin)), calc(1760px / var(--r)));
}
.table9.wide {
  --r: 1.95;
  --rmin: 1.45;
}
.table9 .felt {
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 7%;
}
.table9.wide .felt {
  top: 7%;
  left: 5%;
  right: 5%;
  bottom: 4.5%;
}
.table9 .center {
  top: 48%;
  transform: translateY(-50%);
  gap: 6px;
}
.table9.wide .center {
  top: 49%;
}
.table9 .toprow {
  height: 38px;
}
.table9 .board .card {
  width: 30px;
  height: 42px;
  border-radius: 5px;
}
.table9 .board {
  gap: 3px;
}
.table9 .pot strong {
  font-size: 22px;
}
.table9 .bet {
  height: 20px;
  gap: 3px;
  padding: 0 6px 0 2px;
  font-size: 11px;
  transform: translate(-50%, -50%);
}
.table9 .bet i {
  width: 14px;
  height: 14px;
  box-shadow: inset 0 0 0 3px #8b5cf6;
}
@container tbl (min-width: 300px) and (min-height: 300px) {
  .table9 .board .card {
    width: 36px;
    height: 50px;
  }
  .table9 .pot strong {
    font-size: 24px;
  }
}
@container tbl (min-width: 380px) and (min-height: 380px) {
  .table9 .board .card {
    width: 40px;
    height: 56px;
    border-radius: 6px;
  }
  .table9 .board {
    gap: 5px;
  }
  .table9 .center {
    gap: 10px;
  }
  .table9 .toprow {
    height: 48px;
  }
  .table9 .pot strong {
    font-size: 28px;
  }
  .table9 .bet {
    height: 24px;
    gap: 5px;
    padding: 0 9px 0 3px;
    font-size: 12px;
  }
  .table9 .bet i {
    width: 18px;
    height: 18px;
    box-shadow: inset 0 0 0 4px #8b5cf6;
  }
}
@container tbl (min-width: 500px) and (min-height: 500px) {
  .table9 .board .card {
    width: 52px;
    height: 72px;
    border-radius: 8px;
  }
  .table9 .pot strong {
    font-size: 32px;
  }
  .table9 .bet {
    height: 26px;
    font-size: 13px;
  }
}
@container tbl (min-width: 680px) and (min-height: 680px) {
  .table9 .board .card {
    width: 62px;
    height: 86px;
    border-radius: 9px;
  }
  .table9 .board {
    gap: 7px;
  }
  .table9 .toprow {
    height: 58px;
  }
  .table9 .pot small {
    font-size: 13px;
  }
  .table9 .pot strong {
    font-size: 40px;
  }
  .table9 .bet {
    height: 30px;
    font-size: 15px;
    padding: 0 11px 0 4px;
  }
  .table9 .bet i {
    width: 22px;
    height: 22px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) clamp(244px, 40vw, 360px);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: 'stage top' 'stage hud';
    column-gap: 12px;
  }
  .stage {
    grid-area: stage;
  }
}
.table9 .bet {
  z-index: 3;
}
.table9 .center {
  z-index: 1;
}
@media (orientation: portrait) and (max-height: 700px) {
  .shell {
    grid-template-rows: auto minmax(180px, 1fr) auto;
  }
}
.felt .fx {
  inset: -5px;
  padding: 9px;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.fx i,
.fx b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100cqw + 80cqh);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  rotate: var(--from, 0deg);
}
.fx.mode i {
  animation: fxSpin var(--per) linear infinite;
  animation-delay: var(--ph);
}
.fx.mode.turn {
  --per: 4s;
}
.fx.mode.turn i {
  background: conic-gradient(transparent 0 240deg, rgba(94, 234, 212, 0) 250deg, rgba(94, 234, 212, 0.85) 340deg, #e6fffb 357deg, transparent 360deg);
}
.fx.mode.turn.urgent {
  --per: 1.4s;
}
.fx.mode.turn.urgent i {
  background: conic-gradient(transparent 0 200deg, rgba(255, 90, 54, 0) 210deg, rgba(255, 90, 54, 0.9) 340deg, #ffe4dc 357deg, transparent 360deg);
}
.fx.mode.allin {
  --per: 1.3s;
}
.fx.mode.allin i {
  background: conic-gradient(transparent 0 70deg, rgba(251, 146, 60, 0.95) 165deg, #fff7ed 178deg, transparent 180deg 250deg, rgba(244, 63, 94, 0.95) 345deg, #ffe4e6 358deg, transparent 360deg);
}
.table9.fx-hot .felt .glow {
  animation: fxBeat 0.9s ease-in-out infinite;
}
.fx.shot.deal {
  animation: fxFlash 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--ph);
}
.fx.shot.deal i {
  background: conic-gradient(from 180deg, #c4b5fd, #ffffff, #5eead4, #ffffff, #c4b5fd);
}
.fx.shot.street i {
  background: conic-gradient(transparent 0 230deg, rgba(196, 181, 253, 0) 240deg, rgba(196, 181, 253, 0.9) 345deg, #ffffff 358deg, transparent 360deg);
  animation: fxSweep 0.8s cubic-bezier(0.45, 0.05, 0.25, 1) both;
  animation-delay: var(--ph);
}
.felt .fx-halo {
  inset: -6px;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 26px 6px rgba(250, 204, 21, 0.55),
    0 0 80px 18px rgba(250, 204, 21, 0.25),
    inset 0 0 30px rgba(250, 204, 21, 0.3);
  animation: fxHalo 3.4s ease-out both;
  animation-delay: var(--ph);
}
.table9.fx-mine .felt .fx-halo {
  box-shadow:
    0 0 30px 8px rgba(250, 204, 21, 0.7),
    0 0 110px 30px rgba(250, 204, 21, 0.35),
    inset 0 0 40px rgba(250, 204, 21, 0.4);
}
.coin {
  position: fixed;
  z-index: var(--z-fx-coin);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fffbe0 0 20%, #fde047 45%, #eab308 100%);
  box-shadow:
    inset 0 0 0 2px rgba(202, 138, 4, 0.7),
    0 0 10px rgba(253, 224, 71, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.3);
}
@keyframes fxSpin {
  from {
    rotate: var(--from, 0deg);
  }
  to {
    rotate: calc(var(--from, 0deg) + 1turn);
  }
}
@keyframes fxBeat {
  0%,
  100% {
    opacity: 0.45;
  }
  18% {
    opacity: 0.95;
  }
  36% {
    opacity: 0.55;
  }
  52% {
    opacity: 0.85;
  }
}
@keyframes fxFlash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fxSweep {
  0% {
    rotate: var(--from, 0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    rotate: calc(var(--from, 0deg) + 1turn);
    opacity: 0;
  }
}
@keyframes fxWinSweep {
  0% {
    rotate: var(--from, 0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    rotate: calc(var(--from, 0deg) + 1.5turn);
    opacity: 0;
  }
}
@keyframes fxHalo {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  26% {
    opacity: 0.45;
  }
  40% {
    opacity: 1;
  }
  54% {
    opacity: 0.45;
  }
  68% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fxRing {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx.shot.deal,
  .fx.shot.street,
  .fx.shot.win b,
  .coin,
  .glints {
    display: none;
  }
  .fx.shot.win::after {
    opacity: 0.85;
  }
  .fx.mode.turn i {
    background: rgba(94, 234, 212, 0.55);
  }
  .fx.mode.turn.urgent i {
    background: rgba(255, 90, 54, 0.75);
  }
  .fx.mode.allin i {
    background: rgba(251, 146, 60, 0.75);
  }
  .fx.shot.win i {
    background: rgba(250, 204, 21, 0.85);
  }
  .felt .fx-halo {
    opacity: 0.8;
  }
}
.pot.placeholder {
  height: 46px;
}
.presets button[aria-pressed='true'],
.stat-cell[aria-pressed='true'],
.iconbtn[aria-pressed='true'] {
  background: var(--pressed);
  border-color: var(--pressed-edge);
  color: #ffffff;
}
.fxlayer {
  position: fixed;
  inset: 0;
  z-index: var(--z-fx-emote);
  pointer-events: none;
  overflow: hidden;
}
.fxlayer > span {
  position: fixed;
  pointer-events: none;
  line-height: 1;
  will-change: transform, opacity;
}
.emopop {
  font-size: clamp(44px, 5.2vw, 72px);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}
.emospark {
  font-size: clamp(22px, 2.4vw, 30px);
}
.throwfx {
  font-size: clamp(32px, 3.6vw, 46px);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4));
}
.spark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff4c2;
  box-shadow: 0 0 12px 2px rgba(253, 224, 71, 0.85);
}
.shock {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(253, 224, 71, 0.85);
  box-shadow:
    0 0 18px rgba(253, 224, 71, 0.5),
    inset 0 0 18px rgba(253, 224, 71, 0.35);
}
.bubblefx {
  transform-origin: var(--tail, 50%) 100%;
  width: max-content;
  max-width: min(230px, calc(100vw - 16px));
  padding: 7px 11px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #111114;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.bubblefx span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.bubblefx.below {
  transform-origin: var(--tail, 50%) 0;
}
.bubblefx.below::after {
  top: -5px;
  bottom: auto;
}
.bubblefx::after {
  content: '';
  position: absolute;
  left: var(--tail, 50%);
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}
.card.xs {
  width: 20px;
  height: 28px;
  border-radius: 4px;
}
.modal-back {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal-back);
  background: rgba(4, 3, 12, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: mbIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--md, 0ms);
}
.modal-back.leaving {
  animation: mbOut 0.2s ease-in both;
  animation-delay: var(--md, 0ms);
}
.sheetm {
  --mw: 460px;
  position: fixed;
  z-index: var(--z-modal);
  left: 50%;
  top: 50%;
  width: min(calc(100vw - 32px), var(--mw));
  max-height: min(86dvh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: none;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(32, 27, 66, 0.98) 0%, rgba(15, 13, 34, 0.99) 38%, rgba(10, 9, 24, 0.99) 100%);
  border: 1px solid rgba(196, 181, 253, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 100px rgba(0, 0, 0, 0.65);
  transform: translate(-50%, -50%);
  animation: mIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--md, 0ms);
}
.sheetm.sm {
  --mw: 400px;
}
.sheetm.leaving {
  animation: mOut 0.2s ease-in both;
  animation-delay: var(--md, 0ms);
}
.sheetm[data-modal='chat'] {
  height: min(80dvh, 680px);
}
.grab {
  display: none;
}
.mhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mhead .iconbtn:first-child:not(:last-child) {
  margin-left: -8px;
}
.mtitles {
  flex: 1;
  min-width: 0;
}
.mtitles h2 {
  margin: 0;
  font: 700 18px/1.2 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtitles p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iconbtn {
  flex: none;
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.iconbtn svg {
  width: 20px;
  height: 20px;
}
.iconbtn.lg {
  width: 50px;
  height: 50px;
}
.iconbtn[disabled] {
  opacity: 0.35;
  cursor: default;
}
.mbody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mfoot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 8, 22, 0.7);
}
.mlist {
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}
.mlist > li,
.mlist > div {
  position: relative;
}
.mlist > li + li::before,
.mlist > div + div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}
.mrow {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.mrow > svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.mico {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #ede7ff;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.32), rgba(109, 40, 217, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.mico svg {
  width: 20px;
  height: 20px;
}
.mico .badge {
  top: -6px;
  right: -6px;
}
.mrow-t {
  flex: 1;
  min-width: 0;
}
.mrow-t b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.mrow-t small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.mrow.danger .mico {
  color: #ffb4a3;
  background: linear-gradient(180deg, rgba(255, 90, 54, 0.24), rgba(255, 90, 54, 0.1));
}
.mrow.danger b {
  color: #ffb4a3;
}
.mtiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.mtile {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.12s;
}
.mtile:active,
.mrow:active {
  transform: scale(0.98);
}
.mgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mlabel {
  margin: 0 4px;
  font: 600 12px var(--text);
  color: var(--muted);
}
.mnote {
  margin: 0 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.callout {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.24);
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
}
.callout b {
  margin-right: 4px;
  color: #ffffff;
}
.mempty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 34px 16px;
  text-align: center;
}
.mempty svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 50%;
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.14);
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.06);
}
.mempty p {
  margin: 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soft);
}
.mskel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mskel span {
  display: block;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 100%);
  background-size: 200% 100%;
  animation: skel 1.2s linear infinite;
}
.srow {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.srow > span:first-child {
  flex: 1;
}
.srow .track {
  flex: none;
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s;
}
.srow .track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.srow[aria-checked='true'] .track {
  background: linear-gradient(180deg, #7c4dff, #5b2ee0);
}
.srow[aria-checked='true'] .track::after {
  transform: translateX(18px);
}
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.seg button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.seg button[aria-pressed='true'] {
  color: #ffffff;
  background: linear-gradient(180deg, #7c4dff, #5b2ee0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(91, 46, 224, 0.35);
}
.chatbody {
  gap: 2px;
}
.quickrow {
  display: flex;
  gap: 6px;
  margin: 0 -14px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quickrow::-webkit-scrollbar {
  display: none;
}
.quickrow button {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.emotray {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 2px;
  max-height: 172px;
  overflow-y: auto;
}
.emotray button {
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.12s;
}
.emotray button:active {
  transform: scale(0.9);
}
.emotray.throws {
  max-height: none;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 5, 16, 0.7);
  color: var(--ink);
  font-size: 16px;
}
.phero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: radial-gradient(130% 150% at 0% 0%, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.avatar.xl {
  width: 60px;
  height: 60px;
  font-size: 18px;
  box-shadow:
    0 0 0 3px #0d0b1c,
    0 0 0 5px rgba(167, 139, 250, 0.35);
}
.avatar.sm {
  width: 32px;
  height: 32px;
  font-size: 10px;
}
.phero-t {
  flex: 1;
  min-width: 0;
}
.phero-t b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phero-t em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.phero-t small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.phero > strong {
  font: 700 20px var(--display);
  color: var(--gold);
}
.kgrid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mlist.kv > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
}
.mlist.kv dt {
  font-size: 13px;
  color: var(--soft);
}
.mlist.kv dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.mlist.kv code {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.prow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px;
  font-size: 14px;
}
.prow b {
  font-weight: 700;
  color: var(--gold);
}
.prow small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--muted);
}
.prow .grow b {
  color: var(--ink);
}
.prow.me {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.4);
}
.prow.now {
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.16);
}
.hrow {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.hrow > svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.hrow small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}
.chipo {
  font-style: normal;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.chipo.won {
  color: #86efac;
  background: rgba(74, 222, 128, 0.14);
}
.chipo.lost {
  color: #ffb4a3;
  background: rgba(255, 90, 54, 0.14);
}
.chipo.folded {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.08);
}
.rstage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 14px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 30%, #33229a 0%, #1c1462 45%, #0e0b2e 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
}
.rstatus {
  margin: 0;
  text-align: center;
  font: 600 14px/1.4 var(--display);
  text-wrap: balance;
}
.rprog {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.rprog span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 1%);
  background: linear-gradient(90deg, #8b5cf6, #facc15);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rctl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.rctl svg path {
  fill: currentColor;
}
.playbtn {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #1f1400;
  background: linear-gradient(180deg, #fde68a 0%, #facc15 48%, #d99a06 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px rgba(250, 204, 21, 0.3);
  cursor: pointer;
  transition:
    transform 0.12s,
    filter 0.15s;
}
.playbtn svg {
  width: 24px;
  height: 24px;
}
.playbtn:active {
  transform: scale(0.95);
}
.acc-h {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.acc-h span {
  flex: 1;
}
.acc-h svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-h[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.acc-b {
  padding: 0 14px 16px;
}
.acc-b p {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
  text-wrap: pretty;
}
.tl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-h {
  position: sticky;
  top: -18px;
  z-index: 1;
  margin: 0 -18px;
  padding: 12px 18px 10px;
  font: 600 13px var(--display);
  color: var(--violet-soft);
  background: linear-gradient(180deg, rgba(14, 12, 32, 0.97) 0%, rgba(14, 12, 32, 0.92) 70%, rgba(14, 12, 32, 0) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tl ol {
  list-style: none;
  margin: 0 0 0 5px;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(167, 139, 250, 0.2);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tl-i {
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  color: var(--soft);
}
.tl-i::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 0 3px #0f0d22;
}
.tl-i.ev-win {
  color: var(--gold);
  font-weight: 600;
}
.tl-i.ev-win::before {
  background: var(--gold);
}
@media (hover: hover) {
  .chip-btn:hover,
  .iconbtn:not([disabled]):not([aria-pressed='true']):hover,
  .mrow:hover,
  .hrow:hover,
  .mtile:hover,
  .srow:hover,
  .acc-h:hover,
  .emotray button:hover,
  .quickrow button:hover,
  .presets button:not([aria-pressed='true']):hover,
  .stat-cell:not([aria-pressed='true']):hover,
  .seg button:not([aria-pressed='true']):hover {
    background: var(--hover);
  }
  .act:not([disabled]):hover,
  .cta:not([disabled]):hover,
  .playbtn:hover {
    filter: brightness(1.12);
  }
}
.mrow:focus-visible,
.hrow:focus-visible,
.acc-h:focus-visible,
.srow:focus-visible {
  background: var(--hover);
}
@media (max-width: 640px) {
  .sheetm {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 90dvh;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    transform: none;
    animation-name: sIn;
  }
  .sheetm.leaving {
    animation-name: sOut;
  }
  .sheetm[data-modal='chat'] {
    height: 86dvh;
  }
  .grab {
    display: flex;
    justify-content: center;
    padding: 9px 0 0;
    touch-action: none;
  }
  .grab span {
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
  }
  .mhead {
    padding-top: 6px;
    touch-action: none;
  }
  .mbody:last-child {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .mfoot {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .mtiles {
    gap: 6px;
  }
  .mtile {
    min-height: 82px;
    border-radius: 18px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .sheetm {
    max-height: 94dvh;
  }
  .sheetm[data-modal='chat'] {
    height: 94dvh;
  }
}
@keyframes mbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mbOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px)) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes mOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px)) scale(0.98);
  }
}
@keyframes sIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
@keyframes sOut {
  from {
    transform: none;
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes skel {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.fx.mode.big {
  --per: 5.2s;
}
.fx.mode.big i {
  background: conic-gradient(transparent 0 200deg, rgba(250, 204, 21, 0) 210deg, rgba(250, 204, 21, 0.55) 300deg, rgba(255, 244, 194, 0.95) 352deg, rgba(250, 204, 21, 0.2) 358deg, transparent 360deg);
}
.fx.shot.win i,
.fx.shot.win b {
  animation: fxWinA 1.1s cubic-bezier(0.33, 1, 0.68, 1) both;
  animation-delay: var(--ph);
}
.fx.shot.win i {
  background: conic-gradient(transparent 0 250deg, rgba(250, 204, 21, 0) 255deg, rgba(250, 204, 21, 0.9) 345deg, #fffbeb 359deg, transparent 360deg);
}
.fx.shot.win b {
  background: conic-gradient(transparent 0 1deg, #fffbeb 1deg, rgba(250, 204, 21, 0.9) 15deg, rgba(250, 204, 21, 0) 105deg, transparent 110deg 360deg);
  animation-name: fxWinB;
}
.fx.shot.win::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #facc15 0%, #fff4c2 35%, #facc15 55%, #fde68a 80%, #eab308 100%);
  opacity: 0;
  animation: fxRingFlash 3.4s ease-out both;
  animation-delay: var(--ph);
}
.glints {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glints.win {
  animation: fxGlintsWin 3.4s linear both;
  animation-delay: var(--ph);
}
.glint {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  opacity: 0;
  animation: fxTwinkle 2.2s ease-in-out infinite;
  animation-delay: var(--gd);
}
.glint::before,
.glint::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  margin: -1.5px 0 0 -50%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0), #fffbeb 50%, rgba(255, 251, 235, 0));
  box-shadow: 0 0 8px 1px rgba(253, 224, 71, 0.9);
}
.glint::after {
  transform: rotate(90deg);
}
@keyframes fxWinA {
  0% {
    rotate: var(--from, 0deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    rotate: calc(var(--from, 0deg) + 0.5turn);
    opacity: 0;
  }
}
@keyframes fxWinB {
  0% {
    rotate: var(--from, 0deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    rotate: calc(var(--from, 0deg) - 0.5turn);
    opacity: 0;
  }
}
@keyframes fxRingFlash {
  0%,
  26% {
    opacity: 0;
  }
  33% {
    opacity: 0.95;
  }
  48% {
    opacity: 0.55;
  }
  62% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fxGlintsWin {
  0%,
  28% {
    opacity: 0;
  }
  38% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fxTwinkle {
  0%,
  55%,
  100% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }
  72% {
    opacity: 1;
    transform: scale(var(--gs, 1)) rotate(45deg);
  }
  86% {
    opacity: 0.5;
    transform: scale(calc(var(--gs, 1) * 0.6)) rotate(70deg);
  }
}
.cta.sm {
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}
.postbb .row {
  gap: 12px;
}
.postbb .hint {
  font-size: 13px;
  line-height: 1.35;
  color: var(--soft);
}
.sheetm {
  border-radius: 22px;
}
.mhead {
  gap: 8px;
  padding: 10px 10px 8px 16px;
}
.mtitles h2 {
  font-size: 16px;
}
.mtitles p {
  margin-top: 2px;
  font-size: 11px;
}
.iconbtn {
  width: 40px;
  height: 40px;
}
.iconbtn svg {
  width: 18px;
  height: 18px;
}
.iconbtn.lg {
  width: 44px;
  height: 44px;
}
.mbody {
  gap: 12px;
  padding: 12px 14px 14px;
}
.mfoot {
  gap: 8px;
  padding: 8px 10px 10px;
}
.mlist {
  padding: 2px;
  border-radius: 16px;
}
.mlist > li + li::before,
.mlist > div + div::before {
  left: 12px;
  right: 12px;
}
.mrow {
  min-height: 48px;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 13px;
}
.mico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.mico svg {
  width: 17px;
  height: 17px;
}
.mrow-t b {
  font-size: 14px;
}
.mrow-t small {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.3;
}
.mrow > svg {
  width: 16px;
  height: 16px;
}
.mtiles {
  gap: 6px;
}
.mtile {
  min-height: 64px;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 16px;
  font-size: 11.5px;
}
.mgroup {
  gap: 8px;
}
.mnote {
  font-size: 12px;
}
.callout {
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 12.5px;
  line-height: 1.45;
}
.mempty {
  gap: 10px;
  padding: 20px 12px;
}
.mempty svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.06);
}
.mempty p {
  font-size: 13px;
}
.mskel span {
  height: 44px;
  border-radius: 13px;
}
.srow {
  min-height: 46px;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 13px;
  font-size: 13.5px;
}
.srow .track {
  width: 40px;
  height: 24px;
}
.srow .track::after {
  width: 18px;
  height: 18px;
}
.srow[aria-checked='true'] .track::after {
  transform: translateX(16px);
}
.seg {
  gap: 3px;
  padding: 3px;
  border-radius: 13px;
}
.seg button {
  min-height: 38px;
  border-radius: 10px;
}
.phero {
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
}
.avatar.xl {
  width: 46px;
  height: 46px;
  font-size: 15px;
  box-shadow:
    0 0 0 2px #0d0b1c,
    0 0 0 4px rgba(167, 139, 250, 0.35);
}
.phero-t b {
  font-size: 15px;
}
.phero-t small {
  margin-top: 2px;
}
.phero > strong {
  font-size: 18px;
}
.statgrid {
  gap: 6px;
}
.stat-cell {
  min-height: 46px;
  gap: 1px;
  border-radius: 12px;
}
.stat-cell strong {
  font-size: 15px;
}
.emotray {
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  max-height: 148px;
}
.emotray button {
  height: 40px;
  border-radius: 10px;
  font-size: 22px;
}
.emotray.throws {
  padding: 4px;
  border-radius: 16px;
}
.kgrid {
  gap: 6px;
}
.kcard {
  min-height: 46px;
  padding: 6px 8px;
  border-radius: 12px;
}
.kcard strong {
  font-size: 15px;
}
.mlist.kv > div {
  min-height: 40px;
  padding: 7px 12px;
}
.prow {
  min-height: 44px;
  gap: 10px;
  padding: 6px 10px;
  font-size: 13.5px;
}
.hrow {
  min-height: 56px;
  gap: 10px;
  padding: 7px 10px;
}
.hrow small {
  margin-top: 5px;
}
.rstage {
  gap: 8px;
  padding: 14px 12px 10px;
  border-radius: 18px;
}
.rctl {
  gap: 16px;
}
.playbtn {
  width: 54px;
  height: 54px;
}
.acc-h {
  min-height: 46px;
  padding: 8px 12px;
  font-size: 14px;
}
.acc-b {
  padding: 0 12px 12px;
}
.acc-b p {
  font-size: 13.5px;
  line-height: 1.55;
}
.tl {
  gap: 6px;
}
.tl ol {
  gap: 6px;
}
.tl-h {
  padding: 8px 14px 6px;
  margin: 0 -14px;
  top: -12px;
}
.quickrow {
  gap: 5px;
  margin: 0 -10px;
  padding: 0 10px;
}
.quickrow button {
  min-height: 38px;
  padding: 0 14px;
}
.composer {
  gap: 6px;
}
.composer input {
  height: 42px;
  padding: 0 16px;
}
.panel {
  gap: 8px;
  padding: 10px;
}
.chip-btn {
  min-height: 40px;
}
@media (max-width: 640px) {
  .grab {
    padding-top: 6px;
  }
  .grab span {
    width: 36px;
    height: 4px;
  }
  .mhead {
    padding-top: 4px;
  }
  .mtile {
    min-height: 60px;
    border-radius: 14px;
  }
  .sheetm {
    border-radius: 22px 22px 0 0;
  }
}
.replybtn {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.15s,
    background 0.15s;
}
.replybtn svg {
  width: 16px;
  height: 16px;
}
@media (hover: none) {
  .replybtn {
    opacity: 0.75;
  }
}
.mention {
  font-weight: 700;
  color: #c4b5fd;
}
.mention.me {
  color: var(--gold);
}
@keyframes msgFlash {
  from {
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.8);
  }
  to {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
  }
}
.replybar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
}
.replybar span {
  flex: 1;
  min-width: 0;
}
.replybar b {
  display: block;
  font-size: 12px;
  color: var(--violet-soft);
}
.replybar small {
  display: block;
  font-size: 12px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.replybar .iconbtn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
}
.composer {
  position: relative;
}
.mentions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 5;
  max-height: 232px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(20, 17, 44, 0.98);
  border: 1px solid rgba(196, 181, 253, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.mopt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 4px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.mopt.on {
  background: var(--hover);
}
@media (hover: hover) {
  .mopt:hover,
  .replybtn:hover {
    background: var(--hover);
  }
}
.live {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.live.full {
  margin-top: auto;
  gap: 9px;
}
.lv {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.avatar.xs {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  font-size: 9px;
  box-shadow: none;
}
.avatar.spect {
  background: rgba(255, 255, 255, 0.14);
}
.lv-c {
  flex: 1;
  min-width: 0;
}
.lv p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.lv-n {
  margin-right: 3px;
  font-weight: 700;
  color: var(--nc, #c9c8d6);
}
.lv.me .lv-n {
  color: var(--teal);
}
.lv-av,
.lv-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.lv-av {
  flex: none;
  border-radius: 50%;
}
.lv-link {
  font-weight: 700;
  color: var(--nc, #c9c8d6);
  text-shadow: inherit;
}
.lv.me .lv-link {
  color: var(--teal);
}
.lv-link:hover,
.lv-link:focus-visible {
  text-decoration: underline;
}
.lv-av:focus-visible,
.lv-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.lv .emo {
  font-size: 17px;
  line-height: 1;
  vertical-align: -2px;
}
.lv .emo.big {
  font-size: 22px;
  vertical-align: -4px;
}
.lv.throw p {
  display: inline-block;
  padding: 3px 11px 3px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.42), rgba(139, 92, 246, 0.06));
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.25);
}
.lv.throw p b:not(.lv-n) {
  color: #ffffff;
}
.lv.tagged p {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.12);
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.5);
}
.lv.flash p {
  animation: msgFlash 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 10px;
}
.lv-rep {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
}
.lv-rep svg {
  flex: none;
  width: 12px;
  height: 12px;
}
.lv-rep b {
  flex: none;
  color: var(--soft);
}
.lv-rep span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lv .replybtn {
  width: 30px;
  height: 30px;
  margin-top: -3px;
}
.lv:hover .replybtn,
.replybtn:focus-visible {
  opacity: 1;
}
.composer.pill {
  gap: 2px;
  padding: 3px 3px 3px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.composer.pill:focus-within {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(255, 255, 255, 0.09);
}
.composer.pill input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.composer.pill input:focus-visible {
  outline: none;
}
.pill-ic {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.pill-ic svg {
  width: 19px;
  height: 19px;
}
.pill-ic[aria-pressed='true'] {
  color: #ffffff;
  background: var(--pressed);
}
.pill-ic.send {
  color: #ffffff;
  background: linear-gradient(180deg, #7c4dff, #5b2ee0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media (hover: hover) {
  .pill-ic:not(.send):hover {
    background: var(--hover);
  }
}
@keyframes dotPop {
  0% {
    transform: scale(0.3);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
.act {
  transition:
    transform 0.12s,
    filter 0.15s,
    box-shadow 0.2s;
}
.chip-btn,
.seg button,
.srow .track,
.stat-cell {
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s,
    transform 0.12s;
}
.act {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 56px;
  gap: 1px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font: 700 15px var(--text);
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.28),
    0 10px 22px -8px var(--glow, rgba(0, 0, 0, 0.6));
}
.act::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 52% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.act-l {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
}
.act-l svg {
  flex: none;
  width: 17px;
  height: 17px;
  stroke-width: 2.6;
}
.act-t {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.act small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}
.act.fold {
  --glow: rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, #2e2a3f 0%, #201c2e 60%, #19162a 100%);
  border-color: rgba(255, 154, 128, 0.3);
  color: #ffb4a3;
}
.act.check,
.act.call {
  --glow: rgba(91, 46, 224, 0.6);
  background: linear-gradient(180deg, #8a60ff 0%, #6538f0 55%, #4e24cc 100%);
  border-color: rgba(214, 200, 255, 0.4);
}
.act.raise {
  --glow: rgba(250, 204, 21, 0.5);
  background: linear-gradient(180deg, #ffe68a 0%, #facc15 55%, #dda406 100%);
  border-color: rgba(255, 248, 210, 0.75);
  color: #241800;
}
.act.raise small {
  color: #4a3300;
  opacity: 1;
}
.act.back {
  --glow: rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #2e2a3f 0%, #1b1828 100%);
  color: var(--ink);
}
.act:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 4px 10px -6px var(--glow, rgba(0, 0, 0, 0.6));
}
.act[disabled] {
  opacity: 0.5;
}
.pre-ic {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 181, 253, 0.55);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.pre-ic svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.2s,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.pre-t {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}
@container ctl (max-width: 460px) {
  .act {
    gap: 0;
    font-size: 14px;
  }
  .act-l {
    flex-direction: column;
    gap: 3px;
  }
  .act .act-l kbd {
    display: none;
  }
  .act-l svg {
    width: 16px;
    height: 16px;
  }
  .act small {
    font-size: 10.5px;
  }
}
.shell.with-chat {
  --sc: clamp(280px, 20vw, 360px);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) var(--sc);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: 'top top' 'stage side' 'hud side';
  column-gap: 16px;
}
.with-chat .stage {
  grid-area: stage;
}
.sidechat {
  grid-area: side;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 20, 50, 0.82), rgba(12, 10, 28, 0.88));
  border: 1px solid rgba(196, 181, 253, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sc-head h2 {
  margin: 0;
  font: 700 15px var(--display);
  letter-spacing: -0.01em;
}
.sc-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
}
.sc-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sc-foot .quickrow {
  margin: 0 -10px;
  padding: 0 10px;
}
.avatar.char {
  padding: 0;
  background: none;
  overflow: visible;
}
.avatar.char > svg,
.avatar.char > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.avatar.pic > img {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.stage {
  place-items: end center;
}
.stk {
  position: relative;
  flex: none;
  display: inline-block;
  overflow: visible;
  font-size: 18px;
}
.table9 .bet .stk {
  font-size: 17px;
}
@container tbl (min-width: 380px) and (min-height: 380px) {
  .table9 .bet .stk {
    font-size: 20px;
  }
}
@container tbl (min-width: 680px) and (min-height: 680px) {
  .table9 .bet .stk {
    font-size: 24px;
  }
}
.potrow {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}
.potrow .stk {
  font-size: 24px;
  margin-bottom: 2px;
}
.ghost .stk {
  font-size: 18px;
}
.table9 .board .card.win {
  box-shadow:
    0 0 0 2px rgba(253, 224, 71, 0.9),
    0 0 14px 4px rgba(250, 204, 21, 0.95),
    0 0 34px 8px rgba(250, 204, 21, 0.6),
    0 0 64px 14px rgba(250, 204, 21, 0.3);
  transform: translateY(-3px);
  transition: transform 0.3s;
}
.table9 .board .card.dim {
  opacity: 0.4;
  filter: saturate(0.6);
}
@media (prefers-reduced-motion: reduce) {
  .table9 .board .card.win {
    transform: none;
  }
}
.bet .stk,
.ghost .stk {
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.talk {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.talk svg {
  width: 18px;
  height: 18px;
}
.board.preflop .card.slot {
  visibility: hidden;
}
.quickrow {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  padding-right: 28px;
}
.sc-foot .quickrow {
  padding-right: 28px;
}
kbd {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .act kbd {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 4px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.18);
    font: 700 11px var(--text);
    line-height: 1;
    opacity: 0.8;
  }
  .act.raise kbd {
    border-color: rgba(36, 24, 0, 0.35);
    background: rgba(36, 24, 0, 0.1);
  }
}
.sc-tabs {
  display: flex;
  gap: 4px;
  min-width: 0;
}
.sc-tabs button {
  position: relative;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 600 13px var(--text);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
.sc-tabs button[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}
.sc-tabs button:hover {
  color: var(--ink);
}
.sc-tabs .badge {
  top: -4px;
  right: -4px;
}
.sc-body[data-tab='hist'],
.sc-body[data-tab='players'] {
  padding: 10px;
}
.sidechat .hrow {
  min-height: 60px;
  gap: 10px;
  padding: 8px 10px;
}
.prow {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.prow:hover {
  background: var(--hover);
}
.prow .grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.prow b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prow b em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}
.prow small {
  font-size: 12px;
  color: var(--muted);
}
.prow .avatar {
  width: 30px;
  height: 30px;
}
.hovercard {
  position: fixed;
  z-index: var(--z-hovercard);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16, 14, 34, 0.97);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  animation: hcIn 0.16s ease-out;
}
.hovercard b {
  font: 700 13px var(--text);
}
.hc-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 4px 14px;
}
.hc-grid > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hc-grid small {
  font-size: 11px;
  color: var(--muted);
}
.hc-grid strong,
.hc-grid .num {
  font: 700 13px var(--text);
}
.hovercard em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
@keyframes hcIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hovercard {
    animation: none;
  }
}
.panel.full .row {
  align-items: center;
  gap: 12px;
}
.panel.full .grow {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stage.tour {
  padding-top: 46px;
}
.tflag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet-soft);
}
.tflag.warn {
  background: rgba(250, 204, 21, 0.16);
  color: var(--gold);
}
.tflag.hot {
  background: rgba(255, 90, 54, 0.18);
  color: var(--coral);
}
.tflag.ok {
  background: rgba(94, 234, 212, 0.14);
  color: var(--teal);
}
.tflag.wait {
  background: rgba(250, 204, 21, 0.12);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.tchip {
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(94, 234, 212, 0.5);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.tchip:hover {
  background: rgba(94, 234, 212, 0.22);
}
.tchip:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.tchips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.panel.toffer {
  gap: 8px;
}
.panel.toffer .row {
  justify-content: flex-end;
  gap: 8px;
}
.panel.toffer .cta[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.stable tr.brk td {
  text-align: center;
  color: var(--gold);
  font-size: 12px;
}
.tlobby-page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}
.tnote {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--r-md);
  background: rgba(139, 92, 246, 0.12);
  color: var(--soft);
}
.tfinal-back {
  position: fixed;
  inset: 0;
  z-index: var(--z-final-back);
  background: rgba(4, 4, 10, 0.72);
}
.tfinal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: var(--z-final);
  width: min(92vw, 420px);
  padding: 28px 24px 22px;
  border: 1px solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--panel);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tfinal h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
}
.tfinal p {
  margin: 0;
  color: var(--soft);
}
.tfinal-pos {
  margin: 0 auto 4px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet-soft);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
}
.tfinal.won .tfinal-pos {
  background: rgba(250, 204, 21, 0.18);
  color: var(--gold);
}
.tfinal-pos svg {
  width: 40px;
  height: 40px;
}
.tfinal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.cta.alt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--edge);
  box-shadow: none;
}
.tfinal-actions.three {
  grid-template-columns: 1fr 1fr;
}
.tfinal-actions.three > a {
  grid-column: 1 / -1;
}
.welcome .welcome-back {
  align-self: center;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--violet-soft);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}
.lobby-top > .tool {
  flex: 0 0 auto;
}
.vbadge {
  display: inline-flex;
  flex: none;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.18em;
  vertical-align: -0.12em;
}
.vbadge svg {
  display: block;
  width: 100%;
  height: 100%;
}
.vbadge .vb-s {
  fill: #38bdf8;
  stroke: #38bdf8;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.vbadge .vb-c {
  fill: none;
  stroke: #0b1220;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vb-n {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  vertical-align: bottom;
}
.vb-t {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
