/* SYNGA POKER Club Spectrum — shared colors for every non-table screen.
   Filename retained for existing clients. Table geometry and player-selected felt are independent.
   Body scope also covers React portals; semantic profit/loss and variant colors stay distinct. */
body.poker-theme:has(.pt-theme) {
 --club-accent:#ffd27a;--club-action:#f6a84e;--club-ink:#f6f4ff;--club-line:#58649c;
 --pt-bg:#1c2155;--pt-card:#293463;--pt-raised:#354982;
 --pt-gold:#ffd27a;--pt-gold-deep:#f6a84e;--pt-line:#58649c;
 --pt-text:#f6f4ff;--pt-text-2:#c6d0ee;--pt-text-3:#aebfe5;
 --text-2:#c6d0ee;--text-3:#aebfe5;--pt-shadow:0 10px 28px #10154145;
 background:#1c2155;color:#f6f4ff;accent-color:#ffd27a;
}
body.poker-theme:has(.pt-theme) :is(.pt-theme,.club-surface,.club-lobby,.club-admin,.aurora-bg) {
 --club-accent:#ffd27a;--club-action:#f6a84e;--club-line:#58649c;
 --pt-gold:#ffd27a;--pt-gold-deep:#f6a84e;--pt-card:#293463;--pt-raised:#354982;
 background:radial-gradient(ellipse at 0 0,#514caa80,transparent 55%),radial-gradient(ellipse at 100% 80%,#225a9366,transparent 60%),linear-gradient(140deg,#2b275f,#172d57 65%,#28275c)!important;
 color:#f6f4ff!important;
}
body.poker-theme:has(.pt-theme) :is(.glass-panel,.grad-card,.club-card,.club-player-card,.club-account-card,.club-report-details,.club-empty) {
 background:linear-gradient(125deg,#34467b,#2c3269)!important;border-color:#657bb2!important;
 color:#f6f4ff!important;box-shadow:0 8px 24px #11153c33,inset 0 1px #dcdfff12!important;
}
body.poker-theme:has(.pt-theme) :is(.grad-card-inner,.club-lobby-facts>div,.club-profile-facts>div,.club-account-result) {background:#283a69!important;border-color:#657bb2!important;color:#f6f4ff!important}
body.poker-theme:has(.pt-theme) :is([class~="bg-slate-900"],[class~="bg-slate-800"],[class~="bg-slate-700"],[class~="bg-slate-800/80"],[class~="bg-slate-800/60"],[class~="bg-slate-900/50"]) {background-color:#293766!important;border-color:#6576a7!important}
body.poker-theme:has(.pt-theme) :is(.club-admin,.club-account-dialog) :is(h1,h2,h3,h4,.text-white,.text-slate-100,.text-slate-200,.text-slate-300) {color:#f6f4ff!important}
body.poker-theme:has(.pt-theme) :is(.text-slate-400,.text-slate-500,.text-slate-600,.club-explainer,.club-account-identity small,.club-account-result small,.club-account-numbers small,.club-account-agent,.club-report-details>summary,.club-profile-facts dt,.club-game-entry small) {color:#c6d0ee!important}
body.poker-theme:has(.pt-theme) :is(.text-gold-400,.text-gold-500,.text-amber-300,.text-amber-400,.text-amber-500,.club-eyebrow) {color:#ffdb91!important}
body.poker-theme:has(.pt-theme) :is(.text-purple-300,.text-purple-400,.text-violet-300,.text-violet-400) {color:#e3d3ff!important}
body.poker-theme:has(.pt-theme) :is(.text-fuchsia-300,.text-fuchsia-400) {color:#ffb7f1!important}
body.poker-theme:has(.pt-theme) :is(.text-blue-300,.text-blue-400,.text-sky-300,.text-sky-400) {color:#acd9ff!important}
body.poker-theme:has(.pt-theme) :is(.club-positive,.text-emerald-300,.text-emerald-400,.text-emerald-500,.text-green-300,.text-green-400) {color:#b5ffe0!important}
body.poker-theme:has(.pt-theme) :is(.club-negative,.text-rose-300,.text-rose-400,.text-red-300,.text-red-400) {color:#ffd0d8!important}
body.poker-theme:has(.pt-theme) :is(.btn-gold,.club-primary,.cl-cta,.cl-search-go,button[class~="bg-gold-400"],button[class~="bg-gold-500"]) {
 background:linear-gradient(120deg,#ffe096,#ffb05f)!important;border:1px solid #ffe5ae!important;color:#3b2445!important;box-shadow:0 4px 14px #e69a382d!important;
}
body.poker-theme:has(.pt-theme) :is(.btn-outline,.club-dialog-close,.club-pagination button) {background:#3d4381!important;border-color:#848bc8!important;color:#eeebff!important}
body.poker-theme:has(.pt-theme) .cl-cta-wait {background:#484b83!important;color:#deddf7!important;border-color:#7c83b1!important}
body.poker-theme:has(.pt-theme) :is(input:not([type="checkbox"]):not([type="range"]):not([type="file"]),select,textarea) {background:#1c2c53!important;border-color:#7a8cbe!important;color:#f6f4ff!important}
body.poker-theme:has(.pt-theme) input::placeholder {color:#aebfe0!important}
body.poker-theme:has(.pt-theme) :is(button,a,input,select,textarea):focus-visible {outline:3px solid #ffe098!important;outline-offset:3px}
body.poker-theme:has(.pt-theme) :is(.club-account-result,.club-account-agent,.club-game-entry,td) {border-color:#6274a4!important}
body.poker-theme:has(.pt-theme) th {background:#414777!important;color:#f3e4bd!important}
body.poker-theme:has(.pt-theme) tbody tr:nth-child(even) {background:#788bd10d}
body.poker-theme:has(.pt-theme) :is(.admin-shortcuts,.admin-quick-nav,.club-admin-nav) {background:#292c64!important;border-color:#7076b2!important}
body.poker-theme:has(.pt-theme) :is(.admin-shortcuts,.admin-quick-nav,.club-admin-nav) a {background:#3b528f!important;color:#e9f2ff!important;border-color:#829ce0!important}
body.poker-theme:has(.pt-theme) .admin-shortcuts a:nth-child(3n+2) {background:#634482!important;border-color:#aa84c9!important;color:#f5e3ff!important}
body.poker-theme:has(.pt-theme) .admin-shortcuts a:nth-child(3n) {background:#246579!important;border-color:#69acb3!important;color:#ddfff7!important}
body.poker-theme:has(.pt-theme) .accounting-entry {background:linear-gradient(115deg,#326478,#3d548f 58%,#74447b)!important;border:1px solid #93b4dc!important}
body.poker-theme:has(.pt-theme) .accounting-entry small {color:#e5ebff!important}
body.poker-theme:has(.pt-theme) .club-account-dialog {background:linear-gradient(140deg,#34396f,#233e66)!important;color:#f6f4ff!important}
body.poker-theme:has(.pt-theme) .club-account-backdrop {background:#13163acd}
body.poker-theme:has(.pt-theme) .club-avatar {background:linear-gradient(140deg,#7a61b5,#2c8196)!important;color:#ffe3a5!important}
/* Full color surfaces, with stable roles instead of one accent everywhere. */
body.poker-theme:has(.pt-theme) .stat-tile {background:linear-gradient(135deg,#325e97,#354677)!important;border:1px solid #7b9bdb!important;box-shadow:0 6px 20px #10133c26!important}
body.poker-theme:has(.pt-theme) .stat-tile:nth-child(4n+2) {background:linear-gradient(135deg,#65529e,#4c3d7e)!important;border-color:#a18acf!important}
body.poker-theme:has(.pt-theme) .stat-tile:nth-child(4n+3) {background:linear-gradient(135deg,#287575,#235567)!important;border-color:#6aada8!important}
body.poker-theme:has(.pt-theme) .stat-tile:nth-child(4n) {background:linear-gradient(135deg,#856037,#614662)!important;border-color:#c49b77!important}
body.poker-theme:has(.pt-theme) .stat-tile :is(.text-slate-400,.text-slate-500,.text-slate-600) {color:#eee9ff!important}
body.poker-theme:has(.pt-theme) .club-welcome {background:linear-gradient(115deg,#414b9e,#584087 57%,#386d90)!important;border-color:#9694d9!important;box-shadow:0 12px 30px #14163c33!important}
body.poker-theme:has(.pt-theme) .club-welcome p {color:#e0e0f8!important}
body.poker-theme:has(.pt-theme) .club-lobby-facts>div:nth-child(2) {background:#564b86!important}
body.poker-theme:has(.pt-theme) .club-lobby-facts>div:nth-child(3) {background:#2d6379!important}
body.poker-theme:has(.pt-theme) .glass-panel[class*="border-emerald-"] {background:linear-gradient(130deg,#255f6b,#2c466c)!important;border-color:#6dacb5!important}
body.poker-theme:has(.pt-theme) .glass-panel[class*="border-amber-"] {background:linear-gradient(130deg,#624d69,#393b73)!important;border-color:#b18e94!important}
body.poker-theme:has(.pt-theme) .glass-panel[class*="border-purple-"],body.poker-theme:has(.pt-theme) .glass-panel[class*="border-violet-"] {background:linear-gradient(130deg,#5d478b,#393c77)!important;border-color:#9b85ca!important}

/* Navigation preserves room for the club name on narrow phones. */
body.poker-theme:has(.pt-theme) .pt-theme>nav {background:linear-gradient(105deg,#34497b,#493879 65%,#633e77)!important;border-bottom:1px solid #8d7bbe;gap:12px;box-shadow:0 5px 20px #16164440}
body.poker-theme:has(.pt-theme) .logo-shine {background-image:linear-gradient(110deg,#ffeab1,#ffc16e 60%,#ffa19d)!important;color:transparent!important}
body.poker-theme:has(.pt-theme) .pt-theme>nav>div {min-width:0}
body.poker-theme:has(.pt-theme) .pt-theme>nav>div:last-child {flex-shrink:0;max-width:42%}
body.poker-theme:has(.pt-theme) .pt-theme>nav>div:last-child>p {max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#e5d9f5!important}
body.poker-theme:has(.pt-theme) .pt-theme>nav button[title="Clubs"] {background:#305e92!important;color:#d4ebff!important;border-color:#769ccc!important}
body.poker-theme:has(.pt-theme) .pt-theme>nav button[title="Manage"],body.poker-theme:has(.pt-theme) .pt-theme>nav button[title="Manager"] {background:#71568f!important;color:#f2ddff!important;border-color:#b197d0!important}
body.poker-theme:has(.pt-theme) .pt-theme>nav button[title="Ranks"] {background:#7b583f!important;color:#ffe3a5!important;border-color:#bc9368!important}
body.poker-theme:has(.pt-theme) .pt-theme>nav button[title="Install"] {background:#2f6a77!important;color:#d6fff4!important;border-color:#75acb6!important}
@media(max-width:639px) {
  body.poker-theme:has(.pt-theme) .pt-theme>nav {padding:10px 12px;gap:8px}
  body.poker-theme:has(.pt-theme) .pt-theme>nav>div:first-child {gap:4px}
  body.poker-theme:has(.pt-theme) .pt-theme>nav button {width:40px;height:40px;flex:0 0 40px;border-radius:11px}
  body.poker-theme:has(.pt-theme) .pt-theme>nav h1 {font-size:18px;letter-spacing:.025em}
}
@media(max-width:370px) {
  body.poker-theme:has(.pt-theme) .pt-theme>nav {flex-wrap:wrap;justify-content:center}
  body.poker-theme:has(.pt-theme) .pt-theme>nav>div:last-child {order:-1;max-width:100%;width:100%;flex-direction:row;justify-content:space-between;align-items:center}
}


/* Entry, splash and banners: retain the original artwork's full color. */
body.poker-theme #orizis-intro {background:radial-gradient(ellipse at 20% 20%,#594ab3,transparent 65%),linear-gradient(140deg,#203e79,#502b69)!important}
body.poker-theme #orizis-intro .oi-mark {background-image:linear-gradient(100deg,#8bdfff,#e8ceff 28%,#ffcc77 50%,#ffb0bd 72%,#8bdfff)!important}
body.poker-theme #orizis-intro :is(.oi-sub,.oi-load) {color:#d3d5f6!important}
body.poker-theme:has(.pt-theme) .auth-screen {isolation:isolate;background:radial-gradient(ellipse at 12% 20%,#5e4daf,transparent 55%),radial-gradient(ellipse at 100% 70%,#265f93,transparent 65%),linear-gradient(150deg,#293873,#532e6c)!important}
body.poker-theme:has(.pt-theme) .auth-screen::before {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('../login-bg.jpg') center/cover;opacity:.35;mix-blend-mode:screen}
body.poker-theme:has(.pt-theme) .auth-card {background:linear-gradient(145deg,#494586f5,#2d4275f5)!important;border-color:#a399d5!important;box-shadow:0 24px 70px #19113d55,inset 0 1px #ffffff24!important}
body.poker-theme:has(.pt-theme) .auth-mark {background:linear-gradient(145deg,#ffd888,#f5a66f)!important;border-color:#ffe5ac!important;box-shadow:0 6px 20px #e59d342a!important}
body.poker-theme:has(.pt-theme) .auth-mark svg,body.poker-theme:has(.pt-theme) .auth-mark svg path {color:#56326d!important;fill:#56326d!important;filter:none!important}
body.poker-theme:has(.pt-theme) .auth-footer svg path {stroke:#ffd991!important}
body.poker-theme:has(.pt-theme) .auth-wordmark {color:#ffe0a0!important}
body.poker-theme:has(.pt-theme) .auth-title {color:#fff1d7!important}
body.poker-theme:has(.pt-theme) :is(.auth-kicker,.auth-intro) {color:#e1def6!important}
body.poker-theme:has(.pt-theme) .auth-footer {color:#d0d5f0!important}
body.poker-theme:has(.pt-theme) :is(.personal-code,.personal-code-id,.personal-code-verify) {background:#313d76!important;border-color:#9689c8!important}
body.poker-theme:has(.pt-theme) .personal-code h2 {color:#ffe0a0!important}
body.poker-theme:has(.pt-theme) .personal-code-tabs button[aria-pressed=true] {background:#664d94!important;border-color:#c1a0f2!important;color:#f2e6ff!important}
body.poker-theme:has(.pt-theme) .personal-code-submit {background:linear-gradient(120deg,#ffe096,#ffb05f)!important;color:#3b2445!important}
body.poker-theme:has(.pt-theme) .auth-card>button.bg-white {background:#fff7e8!important;color:#343058!important;border:1px solid #ffe5ae}
body.poker-theme:has(.pt-theme) .auth-card>.btn-outline {background:linear-gradient(105deg,#6a4b9c,#4b5da3)!important;border-color:#b6a1e4!important;color:#fff3e4!important}
body.poker-theme:has(.pt-theme) .cl-banner {background-image:linear-gradient(115deg,#5149ab45,#d5588c24,#ffa42b15),url('../club-banner@2x.webp')!important;background-color:#433777!important;background-blend-mode:screen,normal;border-color:#a18bcc!important;box-shadow:0 8px 24px #16174340!important}
body.poker-theme:has(.pt-theme) .pt-hero {background-color:#494479!important;background-blend-mode:screen;border-color:#9e8bd2!important}
body.poker-theme:has(.pt-theme) :is(.game-cube,.game-seg) {--game-accent:#a7dcff;background:linear-gradient(145deg,#30547f,#334176)!important;border-color:#6997cd!important;color:#e6f1ff!important;box-shadow:0 4px 12px #17204924!important}
body.poker-theme:has(.pt-theme) :is(.game-cube,.game-seg):nth-child(3n+2) {--game-accent:#ffc0d1;background:linear-gradient(145deg,#855377,#5e406e)!important;border-color:#bb83a2!important}
body.poker-theme:has(.pt-theme) :is(.game-cube,.game-seg):nth-child(3n) {--game-accent:#e0c2ff;background:linear-gradient(145deg,#69549c,#484575)!important;border-color:#a58aca!important}
body.poker-theme:has(.pt-theme) :is(.cube-active,.game-seg.active) {border-color:#ffdc91!important;box-shadow:0 0 0 1px #ffdc9177,0 4px 15px #1522513b!important}
body.poker-theme:has(.pt-theme) :is(.cube-icon,.game-seg .gs-ico) {background:#131f493d!important;border-color:#ddd7ff45!important;color:var(--game-accent)!important;box-shadow:none!important}
body.poker-theme:has(.pt-theme) .game-seg.active .gs-ico {background:linear-gradient(145deg,#ffe4a4,#ffb966)!important;color:#392d57!important;border-color:#ffe7b4!important}
body.poker-theme:has(.pt-theme) :is(.cube-count,.cube-active .cube-count) {color:#e1def4!important}
body.poker-theme:has(.pt-theme) .game-seg.active .gs-count {background:#ffe3a3!important;color:#392d57!important}
body.poker-theme:has(.pt-theme) .lobby-wallet {background:linear-gradient(115deg,#365b87,#514379)!important;border-color:#8e9ccb!important}
body.poker-theme:has(.pt-theme) .lobby-wallet .lw-coin {background:radial-gradient(circle at 35% 30%,#fff0b5,#ffc24e 55%,#c48135)!important;filter:none!important;color:#62421e!important}
body.poker-theme:has(.pt-theme) .lobby-wallet .lw-label {color:#e2dbf6!important}
body.poker-theme:has(.pt-theme) .lobby-wallet .lw-val {color:#ffe4a4!important}
body.poker-theme:has(.pt-theme) .vtab {color:#c8d0eb!important}
body.poker-theme:has(.pt-theme) .vtab-active {color:#ffe09a!important;border-bottom-color:#ffd27a!important}
body.poker-theme:has(.pt-theme) .vtab::after {background:#ffd27a!important}
body.poker-theme:has(.pt-theme) .club-badge {background:#604e85!important;border-color:#a890c9!important;color:#ffdfa0!important}
body.poker-theme:has(.pt-theme) .club-sec-label::before {background:linear-gradient(#ffcf79,#ed85b4)!important}
body.poker-theme:has(.pt-theme) .lobby-install {background:#415a90!important;border-color:#8ba4d1!important;color:#e6ecff!important}
body.poker-theme:has(.pt-theme) .pill-tab {color:#d3d9ee!important}
body.poker-theme:has(.pt-theme) .pill-tab.active {background:linear-gradient(120deg,#7961ac,#486caf)!important;border-color:#b5a1e0!important;color:#fff1d8!important}
/* One responsive carousel, with matching width and centering calculations. */
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-deck {
  --club-card-width:clamp(200px,56vw,220px); display:flex;flex-wrap:nowrap;gap:14px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  padding:12px max(12px,calc((100% - var(--club-card-width))/2)) 18px;
  scroll-padding-inline:max(12px,calc((100% - var(--club-card-width))/2));
  overscroll-behavior-x:contain;position:relative;
}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-card {flex:0 0 var(--club-card-width);min-width:0;scroll-snap-align:center;box-sizing:border-box;border-radius:18px;padding:10px}
/* Compact logos leave the club name, balance and entry action in proportion. */
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck)>.max-w-2xl {min-height:100%}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck)>.max-w-2xl>div:has(>.cl-deck) {flex:1 0 auto;justify-content:center}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-art {width:100%;height:112px;aspect-ratio:auto;flex:none}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-art img {width:100%;height:100%;object-fit:contain}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-stats {grid-template-columns:38px minmax(0,1fr);gap:6px}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-balance-amount {font-size:14px;line-height:19px;white-space:nowrap;font-variant-numeric:tabular-nums}
body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-banner {margin-top:8px;margin-bottom:0;align-self:center;max-height:none;height:auto;aspect-ratio:3392 / 1248;background-size:contain}
@media(max-width:360px),(max-height:700px) {
  body.poker-theme:has(.pt-theme) .cl-page:has(.cl-deck) .cl-art {height:96px}
}

body.poker-theme:has(.pt-theme) .cl-card {--card-a:#355c99;--card-b:#3a4788;--card-line:#85a5e4;background:linear-gradient(145deg,var(--card-a),var(--card-b))!important;border-color:var(--card-line)!important;color:#f6f4ff!important;box-shadow:0 9px 24px #14133d40!important}
body.poker-theme:has(.pt-theme) .cl-card:nth-child(4n+2) {--card-a:#745295;--card-b:#523e7d;--card-line:#b591d7}
body.poker-theme:has(.pt-theme) .cl-card:nth-child(4n+3) {--card-a:#2a747b;--card-b:#354d83;--card-line:#7cc4c0}
body.poker-theme:has(.pt-theme) .cl-card:nth-child(4n) {--card-a:#8f586e;--card-b:#674875;--card-line:#d49aac}
body.poker-theme:has(.pt-theme) .cl-card-active {border-color:#ffda8e!important;box-shadow:0 0 0 1px #ffda8e80,0 12px 28px #16123d50!important}
body.poker-theme:has(.pt-theme) .cl-art {background:radial-gradient(ellipse at top,#ffffff18,transparent),#20265755!important;border-color:var(--card-line,#929cce)!important}
body.poker-theme:has(.pt-theme) :is(.cl-art-letter,.cl-art-create svg) {color:#ffe2a5!important;fill:#ffe2a5!important}
body.poker-theme:has(.pt-theme) .cl-stat {background:#18264b66!important;border-color:#abb5ec55!important;color:#ebeaff!important}
body.poker-theme:has(.pt-theme) .cl-balance-amount {color:#ffe4a9!important}
body.poker-theme:has(.pt-theme) .cl-balance-label {color:#d3dcf5!important}
body.poker-theme:has(.pt-theme) :is(.cl-owner,.cl-dot-on) {background:#ffd27a!important;color:#3a2e50!important}
body.poker-theme:has(.pt-theme) .cl-dot-plus {border-color:#a58fc9;color:#d3b7ff}
body.poker-theme:has(.pt-theme) .cl-dots {display:flex!important}
body.poker-theme:has(.pt-theme) :is(.cl-code-wrap,.cl-search) {background:#2f3e71!important;border-color:#8e9dc9!important}
body.poker-theme:has(.pt-theme) :is(.cl-box-on,.cl-box-filled) {border-color:#ffd27a!important;box-shadow:0 0 0 3px #ffd27a22!important}
/* Stable table data columns. Optional management controls occupy a footer.
   Fixed action positions do not move the stakes or buy-in when bots fill up. */
body.poker-theme:has(.pt-theme) .tbl-row {
  display:grid;grid-template-columns:20px 42px minmax(0,1fr) 96px;
  gap:10px;align-items:center;min-height:96px;padding:14px 12px 14px 0;
  border:1px solid #596ba5!important;border-radius:17px;
  background:linear-gradient(120deg,var(--row-start,#204e72),var(--row-end,#243159))!important;
}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-spine {grid-column:1;grid-row:1;width:20px;border-right-color:var(--spineC);color:var(--spineC);align-self:stretch}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-seats {grid-column:2;grid-row:1;width:42px;height:42px}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-main {grid-column:3;grid-row:1;min-width:0;width:100%}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-buyin {grid-column:4;grid-row:1;min-width:0;width:100%;margin:0;align-items:flex-end;text-align:right}
body.poker-theme:has(.pt-theme) .tbl-stakes {font-size:19px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.poker-theme:has(.pt-theme) .tbl-buyin-val {font-size:18px;line-height:1.35;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;color:#ffe1a1!important}
body.poker-theme:has(.pt-theme) .tbl-buyin-val[data-long="true"] {font-size:12px;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
body.poker-theme:has(.pt-theme) .tbl-name {font-size:11px;line-height:1.4;color:#e0e6fb;max-width:100%}
body.poker-theme:has(.pt-theme) .tbl-sub {font-size:10px;line-height:1.45;overflow-wrap:anywhere;color:#d3def6}
body.poker-theme:has(.pt-theme) .tbl-buyin-label {font-size:9px;color:#d3def6;line-height:1.5}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-del) {padding-bottom:58px;min-height:142px}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-del)::before {content:"";position:absolute;bottom:50px;left:20px;right:12px;height:1px;background:#596ba577}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del {position:absolute;bottom:6px;right:10px;width:40px;height:38px;min-height:38px;background:#273566!important;border:1px solid #6276b1;border-radius:10px;color:#d0dcff!important}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del[aria-label="Edit table settings"] {right:56px;color:#ffcf78!important}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del[aria-label="Fill table with bots"] {right:102px;color:#ffcf78!important}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del:hover {border-color:#72e8d8;color:#d1fff5!important}
body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del[aria-label="Delete table"]:hover {color:#ff96a5!important;border-color:#ae586b}
body.poker-theme:has(.pt-theme) .tbl-ring {filter:drop-shadow(0 0 3px #53e2d326)}
body.poker-theme:has(.pt-theme) .tbl-spin::after {display:none}
body.poker-theme:has(.pt-theme) .tbl-live {color:#7fddba}
@media(min-width:700px) {
  body.poker-theme:has(.pt-theme) .tbl-row {grid-template-columns:26px 46px minmax(0,1fr) 130px;gap:16px;padding-right:16px;min-height:94px}
  body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-del) {padding-bottom:14px;padding-right:170px;min-height:94px}
  body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-del)::before {display:none}
  body.poker-theme:has(.pt-theme) .tbl-row>.tbl-del {bottom:calc(50% - 19px)}
}
@media(max-width:350px) {
  body.poker-theme:has(.pt-theme) .tbl-row {grid-template-columns:15px 34px minmax(0,1fr) 86px;gap:7px;padding-right:9px}
  body.poker-theme:has(.pt-theme) .tbl-row>.tbl-seats {width:34px;height:34px}
  body.poker-theme:has(.pt-theme) .tbl-stakes {font-size:17px}
  body.poker-theme:has(.pt-theme) .tbl-buyin-val {font-size:16px}
  body.poker-theme:has(.pt-theme) .tbl-buyin-val[data-long="true"] {font-size:11px}
}


/* Game identity stays visible across the whole row as well as its label. */
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-spine[style*="#10b981"]) {--row-start:#24616a;--row-end:#263e67;border-color:#578f9b!important}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-spine[style*="#38bdf8"]) {--row-start:#275f8b;--row-end:#2d4277;border-color:#668ac1!important}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-spine[style*="#a78bfa"]) {--row-start:#56488c;--row-end:#3b3b75;border-color:#917ac0!important}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-spine[style*="#e879f9"]) {--row-start:#71467e;--row-end:#44396e;border-color:#a378ae!important}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.tbl-spine[style*="#fbbf24"]) {--row-start:#785b42;--row-end:#554365;border-color:#b2926c!important}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.spine-ofc) {--row-start:#276c7b;--row-end:#304872}
body.poker-theme:has(.pt-theme) .tbl-row:has(>.spine-durak) {--row-start:#864b62;--row-end:#563e68}
body.poker-theme:has(.pt-theme) .tbl-row.tbl-spin {--row-start:#875b45;--row-end:#743f7d;border-color:#d29b68!important}
body.poker-theme:has(.pt-theme) .tbl-waitlist {display:inline-flex;align-items:center;gap:4px;max-width:100%;margin-top:4px;padding:3px 6px;border:1px solid #bb9fdf80;border-radius:6px;background:#40265966;color:#ebd5ff;font-size:10px;line-height:1.4;white-space:normal}
body.poker-theme:has(.pt-theme) .tbl-waitlist.is-queued {background:#514227;color:#ffe7ac;border-color:#e2bc75}
body.poker-theme:has(.pt-theme) .club-player-card:nth-child(3n+2),body.poker-theme:has(.pt-theme) .club-account-card:nth-child(3n+2) {background:linear-gradient(125deg,#52417d,#333d72)!important}
body.poker-theme:has(.pt-theme) .club-player-card:nth-child(3n),body.poker-theme:has(.pt-theme) .club-account-card:nth-child(3n) {background:linear-gradient(125deg,#2e6078,#334577)!important}
body.poker-theme:has(.pt-theme) .club-profile-facts>div:nth-child(2n) {background:#514479!important}
body.poker-theme:has(.pt-theme) .spin-cash-scene {background:radial-gradient(ellipse at 50% 25%,#69489a,#283a70 65%);color:#f6f4ff}
body.poker-theme:has(.pt-theme) :is(.spin-cash-heading h1,.spin-cash-pointer,.spin-cash-result>strong) {color:#ffda84}
body.poker-theme:has(.pt-theme) .spin-cash-result {background:#62447d;border-color:#c19bd5}
body.poker-theme:has(.pt-theme) :is(.spin-cash-heading>span,.spin-cash-result>span) {color:#e4d5fa}
body.poker-theme:has(.pt-theme) .spin-cash-rotor>img {filter:none}
@media(prefers-reduced-motion:reduce) {body.poker-theme:has(.pt-theme) .cl-deck {scroll-behavior:auto}}
/* Queue status sits in normal flow, above the stage, without covering cards. */
body.poker-theme .poker-waitlist-status {flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;padding:6px 12px;background:linear-gradient(110deg,#303c68,#4a3564);border-bottom:1px solid #8268a5;color:#e9e2f7;font-size:11px;line-height:1.4}
body.poker-theme .poker-waitlist-summary {display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0}
body.poker-theme .poker-waitlist-status button {min-height:32px;padding:5px 10px;border-radius:8px;border:1px solid #d6b87b;background:#ffdc96;color:#342449;font-size:11px;font-weight:700}
body.poker-theme .waitlist-bots {color:#d3c9e8}
body.poker-theme .waitlist-position {color:#ffe09a;font-weight:800}
body.poker-theme:has(.pt-theme) .bot-lobby-control {padding:18px;border:1px solid #9b8ec9;border-radius:16px;background:linear-gradient(125deg,#434b85,#4f3a76)}
body.poker-theme:has(.pt-theme) .fixed>.glass-panel {max-height:calc(100dvh - 32px);overflow-y:auto;min-width:0}
/* Game chrome carries the club colors; felt, cards and action meanings stay player-controlled. */
body.poker-theme .poker-room .poker-table-heading {background:linear-gradient(110deg,#283f70,#48346d)!important;border-bottom-color:#8b78b6!important}
body.poker-theme .poker-room .poker-heading-brand {color:#ffe09b!important}
body.poker-theme .poker-room .poker-table-heading button {background:#455082!important;border-color:#8e94c2!important;color:#f5edff!important}
/* The action dock overlays the felt: keep the approved transparent background
   so the local stack and private cards remain visible beneath its empty rows. */
body.poker-theme .poker-info-dialog {background:linear-gradient(140deg,#3c3c70,#263e66)!important;border-color:#9991c6!important;color:#f6f4ff!important}
