:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--accent:var(--telegram-link-color,#78beff);--accent-strong:var(--telegram-button-color,#2c7df7);--accent-contrast:#f8fbff;--page-accent-rgb:120, 190, 255;--positive:#34d399;--negative:#fb7185;--warning:#fbbf24;--bg:#03070c;--bg-elevated:#08111a;--bg-surface:#08121de0;--bg-surface-strong:#091523f5;--bg-soft:#ffffff0d;--bg-soft-strong:#ffffff14;--text-strong:#f4f8ff;--text-body:#d7e0ec;--text-muted:#8fa0b5;--text-subtle:#6f8198;--border:#9db9d629;--border-strong:#9db9d63d;--shadow:0 28px 72px -40px #000000e6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}:root[data-telegram-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eef4fb;--bg-elevated:#f7fbff;--bg-surface:#ffffffe6;--bg-surface-strong:#fffffffa;--bg-soft:#0f172a0a;--bg-soft-strong:#0f172a14;--text-strong:#08111b;--text-body:#233245;--text-muted:#58697f;--text-subtle:#6d7c90;--border:#0f172a14;--border-strong:#0f172a24;--shadow:0 28px 80px -48px #0f172a3d}*{box-sizing:border-box}html{background:var(--bg)}body{min-width:320px;min-height:100svh;color:var(--text-body);overscroll-behavior-y:none;background:radial-gradient(circle at top,#34d3991f,#0000 30%),radial-gradient(circle at 18% 16%,#78beff1f,#0000 18%),radial-gradient(circle at bottom,#0d948824,#0000 24%),linear-gradient(#11261f 0%,#091510 48%,#040706 100%);margin:0}body,button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;appearance:none;border:0;margin:0}button:disabled,input:disabled{cursor:not-allowed}#root{min-height:100svh}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--text-strong);letter-spacing:-.02em}h1{font-size:clamp(2rem,6vw,2.75rem);line-height:1.02}h2{font-size:1.15rem;line-height:1.2}h3{font-size:1.05rem;line-height:1.2}code,.mono-value,.mono-inline{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.page{width:min(100%,620px);padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(28px + var(--safe-bottom)) calc(16px + var(--safe-left));gap:14px;margin:0 auto;display:grid}.page--app{width:min(100%,580px)}.page--theme-neutral{--page-accent-rgb:120, 190, 255}.page--theme-baccarat{--page-accent-rgb:96, 165, 250}.page--theme-blackjack{--page-accent-rgb:52, 211, 153}.page--table{padding-top:calc(12px + var(--safe-top));padding-bottom:calc(20px + var(--safe-bottom));gap:10px}.table-shell{gap:6px;padding:2px 2px 0;display:grid}.table-shell__bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.table-shell__copy{gap:4px;display:grid}.table-shell__badge{border:1px solid rgba(var(--page-accent-rgb), .18);background:rgba(var(--page-accent-rgb), .1);min-height:28px;color:var(--text-strong);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:.72rem;font-weight:700;display:inline-flex}.page--table .screen-tabs{background:#040a1057;border-radius:18px;padding:4px}.page--table .screen-tab{border-radius:14px;min-height:42px}.surface{border:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#ffffff09,#ffffff03),#07110ec7;border-radius:24px;padding:18px;box-shadow:0 24px 52px -38px #000000eb,inset 0 1px #ffffff0a}.shell-card{border-color:rgba(var(--page-accent-rgb), .2);background:radial-gradient(circle at top right, rgba(var(--page-accent-rgb), .18), transparent 34%), linear-gradient(180deg, #ffffff0a, #ffffff03), #07110edb;gap:14px;display:grid;position:relative;overflow:hidden}.shell-card:before{content:"";pointer-events:none;border:1px solid #ffffff0d;border-radius:18px;position:absolute;inset:10px}.shell-card--compact{gap:12px}.shell-card--table{gap:8px;padding:14px 16px}.shell-card--table .shell-copy{gap:4px}.shell-topline,.section-row,.history-item__top{justify-content:space-between;align-items:center;gap:12px;display:flex}.shell-copy,.section-copy{gap:6px;display:grid}.shell-badge-row{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.section-copy--tight{gap:4px}.shell-title--compact{font-size:clamp(1.65rem,5vw,2.15rem)}.shell-title--table{font-size:clamp(1.3rem,4.3vw,1.7rem);line-height:1.08}.shell-meta{font-size:.8rem}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:rgba(var(--page-accent-rgb), .96);font-size:.74rem}.subtle{color:var(--text-muted)}.chip-row,.preset-row,.metric-strip,.button-row,.button-stack{flex-wrap:wrap;gap:10px;display:flex}.button-stack{flex-direction:column}.chip,.metric-chip,.result-pill{letter-spacing:.01em;border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:7px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.chip{border:1px solid rgba(var(--page-accent-rgb), .18);background:rgba(var(--page-accent-rgb), .12);color:var(--text-strong)}.chip--soft,.metric-chip{border:1px solid var(--border);background:var(--bg-soft)}.chip--outline{border-color:var(--border-strong);background:0 0}.chip--rule{border-color:var(--border);background:var(--bg-soft);justify-content:flex-start}.pill{border:1px solid var(--border);background:var(--bg-soft);min-height:32px;color:var(--text-strong);border-radius:999px;justify-content:center;align-items:center;padding:7px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.pill--live{color:#d1fae5;background:#34d39924;border-color:#34d3993d}.pill--muted{color:var(--text-body)}.pill--warning{color:#fef3c7;background:#fbbf2424;border-color:#fbbf2447}.screen-tabs{border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#040a1080;border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px;display:grid}.screen-tab,.button-link,.action-button,.amount-step,.preset-button,.back-link,.step-chip{min-height:48px;color:var(--text-strong);text-align:center;white-space:normal;border:1px solid #0000;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:13px 14px;font-weight:700;line-height:1.1;transition:transform .12s,border-color .12s,background .12s,box-shadow .12s,opacity .12s;display:inline-flex}.screen-tab,.button-link,.amount-step,.preset-button,.back-link,.step-chip,.action-button--secondary,.action-button--ghost{background:var(--bg-soft);border-color:var(--border)}.screen-tab--active{background:rgba(var(--page-accent-rgb), .16);border-color:rgba(var(--page-accent-rgb), .24);box-shadow:inset 0 1px #ffffff0d}.button-link,.action-button{width:100%;font-weight:700}.button-link--primary,.action-button--primary{background:linear-gradient(180deg, rgba(var(--page-accent-rgb), .94) 0%, rgba(var(--page-accent-rgb), .72) 100%);border-color:rgba(var(--page-accent-rgb), .3);color:var(--accent-contrast);box-shadow:0 18px 38px -26px rgba(var(--page-accent-rgb), .8)}.button-link--secondary,.action-button--secondary{color:var(--text-strong)}.button-link--ghost,.action-button--ghost{background:0 0}.button-link--danger,.action-button--danger{color:#fecdd3;background:#fb71851f;border-color:#fb718538}.action-button--lg,.button-link--lg{min-height:56px}.action-button--stacked{flex-direction:column;gap:4px}.action-button__icon{justify-content:center;align-items:center;font-size:1rem;line-height:1;display:inline-flex}.action-button small,.button-link small{color:inherit;opacity:.75;font-size:.77rem}.button-grid{gap:10px;display:grid}.button-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.button-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.back-link{align-self:flex-start;font-weight:600}.action-button:hover:not(:disabled),.button-link:hover,.screen-tab:hover,.amount-step:hover:not(:disabled),.preset-button:hover:not(:disabled),.back-link:hover{transform:translateY(-1px);box-shadow:0 14px 26px -20px #000000d1}.action-button:disabled,.button-link[aria-disabled=true],.screen-tab[aria-disabled=true],.amount-step:disabled,.preset-button:disabled{opacity:.5}.profile-card,.game-card,.summary-card,.table-stage,.topbar-card,.stat-card,.history-item,.hand-panel,.seat-panel,.empty-state{border:1px solid var(--border);background:var(--bg-soft);border-radius:20px}.profile-card,.summary-card,.empty-state{padding:16px}.profile-card{gap:10px;display:grid}.profile-card--lobby{grid-template-columns:auto 1fr;align-items:center;gap:14px}.profile-card__badge,.session-banner__icon,.setup-panel__badge,.game-card__icon,.stat-card__icon{color:var(--text-strong);background:#ffffff0f;border:1px solid #ffffff0f;border-radius:16px;justify-content:center;align-items:center;display:inline-flex}.profile-card__badge{background:rgba(var(--page-accent-rgb), .16);border-color:rgba(var(--page-accent-rgb), .22);width:52px;height:52px;font-size:1.45rem}.profile-card__body,.profile-card__meta{gap:6px;display:grid}.profile-card__meta{grid-column:1/-1}.game-grid,.stats-grid,.hand-grid{gap:12px;display:grid}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card{background:radial-gradient(circle at 100% 0,#ffffff14,#0000 34%),linear-gradient(#ffffff0a,#ffffff04),#ffffff08;border-radius:24px;gap:14px;padding:18px;display:grid}.game-card--blackjack{background:radial-gradient(circle at 100% 0,#34d3992e,#0000 34%),linear-gradient(#ffffff0a,#ffffff04),#ffffff08}.game-card--baccarat{background:radial-gradient(circle at 100% 0,#60a5fa33,#0000 34%),linear-gradient(#ffffff0a,#ffffff04),#ffffff08}.game-card__copy,.game-card__header{gap:8px;display:grid}.game-card__header{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start}.game-card__crest{align-items:center;gap:12px;display:flex}.game-card__icon,.session-banner__icon,.setup-panel__badge{width:44px;height:44px;font-size:1.2rem}.game-card--baccarat .game-card__icon,.session-banner--baccarat .session-banner__icon,.setup-panel--baccarat .setup-panel__badge{background:#60a5fa2e;border-color:#60a5fa3d}.game-card--blackjack .game-card__icon,.session-banner--blackjack .session-banner__icon,.setup-panel--blackjack .setup-panel__badge{background:#34d3992e;border-color:#34d3993d}.game-card__actions{gap:10px;display:grid}.lobby-board,.setup-panel,.session-banner,.score-shell,.rules-card{gap:14px;display:grid}.session-banner{border-color:rgba(var(--page-accent-rgb), .18);background:radial-gradient(circle at top right, rgba(var(--page-accent-rgb), .14), transparent 32%), linear-gradient(180deg, #ffffff0a, #ffffff04), #ffffff08;position:relative;overflow:hidden}.session-banner__header,.setup-panel__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.session-banner__crest{align-items:center;gap:12px;display:flex}.setup-panel__header{align-items:center}.setup-panel__grid{gap:12px;display:grid}.setup-note{border:1px solid var(--border);background:#ffffff08;border-radius:20px;gap:10px;padding:16px;display:grid}.setup-note--warning{background:#fbbf2414;border-color:#fbbf2447}.topbar{gap:8px;display:grid}.topbar__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar-badge{min-height:26px;color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;background:#ffffff0d;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:.7rem;font-weight:700;display:inline-flex}.topbar-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.topbar-chip,.stat-card{gap:8px;padding:12px 10px;display:grid}.topbar-chip{background:linear-gradient(#ffffff0f,#ffffff05),#08121db8;border:1px solid #ffffff14;border-radius:18px;place-items:center;box-shadow:0 16px 28px -24px #000000e6}.topbar-chip--bankroll{border-color:#34d39929}.topbar-chip--bet{border-color:#78beff2e}.topbar-chip--fee{border-color:#fbbf242e}.topbar-chip__icon{background:#ffffff14;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.95rem;display:inline-flex}.topbar-chip__meta{text-align:center;justify-items:center;gap:2px;display:grid}.topbar-chip__meta span,.stat-card dt{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem}.topbar-chip__meta strong,.stat-card dd{color:var(--text-strong);font-size:1rem;font-weight:700}.stat-card{border-radius:20px}.stat-card dt{align-items:center;gap:10px;margin:0;display:flex}.stat-card dd{margin:0}.stat-card--highlight{background:#78beff1f;border-color:#78beff3d}.stat-card--positive{background:#34d3991f;border-color:#34d3993d}.stat-card--negative{background:#fb71851f;border-color:#fb71853d}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amount-control{border:1px solid var(--border);background:#ffffff08;border-radius:20px;gap:12px;padding:14px;display:grid}.amount-display{color:var(--text-strong);font-size:1.2rem}.amount-input-row{grid-template-columns:48px 1fr 48px;gap:10px;display:grid}.amount-step{background:var(--bg-soft);border-radius:18px;padding:0;font-size:1.35rem}.amount-input{border:1px solid var(--border);width:100%;min-height:48px;color:var(--text-strong);text-align:center;background:#ffffff08;border-radius:16px;outline:none;padding:0 14px}.amount-input:focus{border-color:#78beff57}.preset-button{border-radius:999px;min-height:40px;padding-inline:12px}.step-selector{flex-wrap:wrap;gap:8px;display:flex}.step-chip{border-radius:999px;min-height:36px;padding:8px 12px;font-size:.82rem;font-weight:700}.step-chip--active{background:rgba(var(--page-accent-rgb), .18);border-color:rgba(var(--page-accent-rgb), .28)}.preset-button--active{background:rgba(var(--page-accent-rgb), .16);border-color:rgba(var(--page-accent-rgb), .26)}.summary-card{gap:14px;display:grid}.summary-card--compact{padding-top:14px;padding-bottom:14px}.history-shell{gap:14px;display:grid}.history-shell--embedded{gap:12px}.table-stage{background:radial-gradient(circle at top,#34d3992e,#0000 34%),radial-gradient(circle,#ffffff08,#0000 58%),linear-gradient(#061a18f5,#051214fa);border-color:#569d8447;gap:12px;display:grid;position:relative;overflow:visible;box-shadow:0 26px 60px -40px #000000f2,inset 0 1px #ffffff0d}.table-stage:before{content:"";pointer-events:none;border:1px solid #ffffff0d;border-radius:22px;position:absolute;inset:10px}.table-stage>*{z-index:1;position:relative}.table-stage--baccarat{background:radial-gradient(circle at top,#60a5fa3d,#0000 34%),radial-gradient(circle,#ffffff08,#0000 58%),linear-gradient(#071222f5,#050d1cfa);border-color:#60a5fa47}.table-stage--blackjack{background:radial-gradient(circle at top,#34d3992e,#0000 38%),linear-gradient(#051b14f5,#051211fa)}.table-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.table-lane,.action-dock,.table-result-banner,.baccarat-result-banner{border:1px solid var(--border);background:#ffffff0a;border-radius:18px;gap:10px;padding:14px;display:grid}.action-dock{bottom:calc(8px + var(--safe-bottom));z-index:4;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff08;position:sticky;box-shadow:0 18px 40px -30px #000000e6}.action-dock--play{gap:12px}.table-primary-grid,.table-secondary-grid{gap:10px;display:grid}.table-primary-grid--2,.table-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-primary-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.hand-grid--table{grid-template-columns:repeat(2,minmax(0,1fr))}.table-pulse{margin-top:2px}.outcome-track,.card-row{flex-wrap:wrap;gap:10px;display:flex}.table-result-banner,.baccarat-result-banner{animation:.18s ease-out card-enter}.outcome-badge{border:1px solid var(--border);background:#ffffff0a;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;font-weight:800;display:inline-flex}.outcome-badge--banker{color:#dbeafe;background:#60a5fa2e}.outcome-badge--player{color:#d1fae5;background:#34d3992e}.outcome-badge--tie{color:#fef3c7;background:#fbbf242e}.seat-panel,.hand-panel{background:#ffffff0a;gap:10px;padding:14px;display:grid}.seat-panel--dealer{background:#ffffff0d}.hand-panel--active{border-color:#78beff47;animation:2.2s ease-in-out infinite live-pulse;box-shadow:inset 0 0 0 1px #78beff33}.hand-panel__meta{flex-wrap:wrap;gap:8px;display:flex}.playing-card{color:#0f172a;background:linear-gradient(#fff,#e8eef8);border:1px solid #0f172a14;border-radius:16px;justify-content:flex-start;align-items:flex-start;min-width:52px;min-height:72px;padding:9px 10px;font-weight:800;display:inline-flex;box-shadow:0 18px 30px -24px #0f172a73}.playing-card--back{color:#dbeafe;background:linear-gradient(135deg,#0e7490f2,#1e40afeb),#0f172a}.history-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.history-item{background:#ffffff08;gap:8px;padding:12px;display:grid}.history-amount{font-size:1rem;font-weight:800}.history-win{color:#a7f3d0}.history-loss{color:#fecdd3}.history-push,.history-info{color:#dbeafe}.result-card{border:1px solid var(--border);background:var(--bg-soft);border-radius:20px;gap:12px;padding:16px;display:grid}.result-win{background:#34d3991f;border-color:#34d39938}.result-loss{background:#fb71851f;border-color:#fb718538}.result-push,.result-info{background:#78beff1f;border-color:#78beff38}.empty-state{padding:16px}.loading-stack{gap:10px;display:grid}.loading-bar{background:linear-gradient(90deg,#ffffff0f,#78beff3d,#ffffff0f);border-radius:999px;height:12px}.loading-bar--short{width:68%}.wager-button--banker{background:linear-gradient(135deg,#3b82f62e,#2563eb47);border-color:#60a5fa3d}.wager-button--player{background:linear-gradient(135deg,#10b98129,#05966942);border-color:#34d3993d}.wager-button--tie{background:linear-gradient(135deg,#f59e0b29,#d977063d);border-color:#fbbf243d}.bet-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bet-target-button{border-width:2px;gap:6px;min-height:84px;padding:14px 10px;box-shadow:0 18px 34px -24px #000000d9}.bet-target-button__icon{font-size:1.35rem;line-height:1}.bet-target-button__badge{background:#ffffff24;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-weight:800;display:inline-flex}.details-panel{gap:12px;display:grid}.details-panel__summary{cursor:pointer;color:var(--text-strong);justify-content:space-between;align-items:center;gap:12px;font-weight:700;list-style:none;display:flex}.details-panel__summary::-webkit-details-marker{display:none}.details-panel__content{gap:12px;display:grid}@keyframes card-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes live-pulse{0%,to{box-shadow:inset 0 0 0 1px #78beff33}50%{box-shadow:inset 0 0 0 1px #78beff42,0 0 0 3px #78beff0f}}@media (width<=640px){.game-grid,.stats-grid,.button-grid--2,.hand-grid{grid-template-columns:1fr}.bet-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=520px){.page{padding-inline:calc(12px + var(--safe-left))}.page--table{padding-inline:calc(10px + var(--safe-left))}.surface{border-radius:22px;padding:14px}.topbar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar__header,.table-header{align-items:center}.topbar-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.table-shell__bar,.shell-badge-row,.session-banner__header,.setup-panel__header,.game-card__header,.game-card__crest,.shell-topline,.section-row,.history-item__top{flex-direction:column;align-items:flex-start}.profile-card--lobby{grid-template-columns:1fr}.amount-input-row{grid-template-columns:44px 1fr 44px}.bet-target-button{min-height:78px;padding:12px 8px}.table-primary-grid--2,.table-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bet-target-button small{display:none}.playing-card{min-width:48px;min-height:68px;padding:8px 10px}}
