:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#ecf4ef;background:#0d1917;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -25%,#25453a 0,#13241f 33%,#0d1917 72%)}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{height:72px;padding:0 clamp(20px,4vw,58px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff16;background:#0c1916aa}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:850;letter-spacing:.14em}.brand-mark{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#d1a66c;color:#182720;font-size:25px}.brand small{display:block;font-size:8px;letter-spacing:.27em;color:#afc3b6;margin-top:-2px}.topbar-right,.eyebrow,.section-label,.sidebar-heading,.street-label{font-size:11px;font-weight:800;letter-spacing:.15em;color:#b7cabe}.offline-dot{display:inline-block;width:7px;height:7px;background:#8bd6a9;border-radius:50%;box-shadow:0 0 9px #8bd6a9;margin-right:8px}.setup-screen{max-width:1090px;min-height:calc(100vh - 72px);margin:auto;padding:58px 25px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:68px}.setup-copy h1,.game-heading h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}.setup-copy h1{font-size:clamp(55px,6vw,89px);line-height:1;margin:18px 0 25px}.setup-copy p{max-width:470px;color:#b4c6bb;font-size:18px;line-height:1.7}.feature-list{display:flex;flex-wrap:wrap;gap:12px;margin-top:39px}.feature-list span{padding:10px 13px;border:1px solid #d9e6d21e;border-radius:100px;color:#d5e0d5;font-size:12px}.setup-card{padding:34px;background:#172a23;border:1px solid #58756165;border-radius:22px;box-shadow:0 24px 70px #0005}.section-label{color:#d6b37d;margin-bottom:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label{display:block;color:#f3f5ef;font-size:13px;font-weight:700}.form-grid label small{float:right;color:#91a99c;font-size:11px;font-weight:500}.form-grid label.wide{grid-column:1/-1}.form-grid input,.form-grid select{display:block;width:100%;margin-top:9px;padding:13px 14px;border:1px solid #597161;background:#102019;color:#f2f7f1;border-radius:9px;outline:none;min-height:46px}.form-grid input:focus,.form-grid select:focus{border-color:#d6b37d;box-shadow:0 0 0 2px #d6b37d33}.primary-button{width:100%;padding:15px 18px;margin-top:22px;border:0;border-radius:10px;background:#d1a66c;color:#18221d;font-weight:850;text-align:left;display:flex;justify-content:space-between}.primary-button:hover{background:#e0bc86}.setup-note{font-size:11px;color:#90a598;text-align:center;margin:15px 0 0}.form-error{color:#ffa9a1;font-size:12px;margin-top:14px;min-height:0}.game-screen{padding:29px clamp(14px,3vw,46px) 30px;max-width:1530px;margin:auto}.game-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.game-heading h1{font-size:38px;line-height:1;margin:5px 0}.game-heading p{color:#a7bdae;margin:8px 0 0;font-size:13px}.header-actions{display:flex;gap:8px}.text-button{padding:10px 13px;border:1px solid #65806f70;background:#ffffff09;color:#d8e5dc;border-radius:8px;font-size:12px}.text-button:hover{background:#ffffff16}.text-button.danger{color:#eab1a5}.text-button:disabled{opacity:.4;cursor:not-allowed}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:23px}.table-column{min-width:0}.table-wrap{padding:40px 50px;background:#12221e;border:1px solid #526f5b55;border-radius:19px}.poker-table{position:relative;width:100%;height:clamp(360px,33vw,440px);border-radius:50%;background:radial-gradient(ellipse at 50% 43%,#2c735b,#1c5a47 59%,#164634 100%);border:16px solid #3f3326;box-shadow:0 0 0 6px #a37548,0 0 0 12px #1b251d,inset 0 0 0 2px #98c5a347,inset 0 22px 40px #0004,0 25px 55px #0008}.table-inner{position:absolute;inset:18px;border:2px solid #dce5bb2b;border-radius:50%;display:grid;place-items:center}.table-center{text-align:center;width:75%;pointer-events:none}.street-label{color:#d8e8d1;margin-bottom:15px}.board{height:73px;display:flex;align-items:center;justify-content:center;gap:7px}.card{width:43px;height:61px;border-radius:5px;background:#f9f9f1;color:#182821;box-shadow:0 3px 7px #0005;display:flex;align-items:flex-start;justify-content:flex-start;padding:6px;font-size:20px;font-weight:800;line-height:1}.card.red{color:#cf4d47}.card.back{background:repeating-linear-gradient(45deg,#d3ad76 0 3px,#394c40 3px 7px);border:3px solid #f1e5cb}.card.empty{background:#174b3a99;border:1px dashed #b6d2b863;box-shadow:none}.pot-label{display:inline-block;margin-top:15px;padding:9px 16px;background:#102e24bb;border:1px solid #b7d4bd47;border-radius:100px;color:#f0e6c9;font-size:13px;font-weight:800}.seat{position:absolute;transform:translate(-50%,-50%);width:119px;min-height:81px;padding:7px 8px 8px;background:#12221df2;border:1px solid #8da9949a;border-radius:11px;box-shadow:0 8px 20px #0006;text-align:center;z-index:2}.seat.human{border-color:#dab87c;background:#2b3329}.seat.turn{box-shadow:0 0 0 3px #e1bd79,0 10px 30px #0007}.seat.folded{opacity:.54}.seat-name{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat-stack{color:#e7cc9b;font-size:13px;font-weight:800;margin-top:2px}.seat-meta{color:#9db4a3;font-size:10px;margin-top:2px}.seat-cards{display:flex;justify-content:center;gap:3px;margin-top:5px}.seat-cards .card{width:25px;height:34px;font-size:11px;padding:3px;border-radius:3px}.seat-cards .card.back{border-width:2px}.dealer-chip{position:absolute;top:-11px;right:-10px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#efdfba;color:#2e352b;border:2px solid #fff;font-size:10px;font-weight:900}.contribution{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);font-size:10px;font-weight:800;color:#f3e4b9;white-space:nowrap}.action-panel{background:#192d25;border:1px solid #5a725f66;border-radius:15px;margin-top:22px;padding:21px;min-height:109px}.action-title{font-size:12px;font-weight:850;letter-spacing:.1em;color:#c3d4c4;margin-bottom:15px}.action-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.action-button{border:1px solid #7a927e88;background:#294235;color:#fff;border-radius:8px;padding:11px 16px;font-size:13px;font-weight:800;min-height:42px}.action-button:hover{background:#385e48}.action-button.call{background:#d1a66c;color:#17241c;border-color:#d1a66c}.action-button.call:hover{background:#e0bb85}.action-button.fold{background:#3d302d;border-color:#78544f}.raise-control{display:flex;align-items:end;gap:8px}.raise-control label{font-size:10px;color:#aabfae;letter-spacing:.09em}.raise-control input{display:block;width:115px;margin-top:5px;padding:9px;border:1px solid #6f8876;background:#0d1f19;border-radius:7px;color:white}.status-line{color:#dce9dd;font-size:14px}.status-line strong{color:#e8c88d}.sidebar{background:#15271f;border:1px solid #526f5b55;border-radius:15px;display:flex;flex-direction:column;min-height:680px;max-height:820px}.sidebar-heading{padding:20px;border-bottom:1px solid #ffffff16;display:flex;justify-content:space-between;color:#d9e5d7}.hand-log{padding:12px 19px;overflow:auto;flex:1}.log-line{padding:9px 0;border-bottom:1px solid #ffffff12;color:#b6cabb;font-size:12px;line-height:1.5}.log-line:first-child{color:#f0dfb5}.sidebar-foot{padding:16px 19px;color:#82998b;font-size:11px;border-top:1px solid #ffffff16}.save-warning{margin:16px 0;color:#ffd2a3;font-size:12px}@media(max-width:1050px){.game-layout{grid-template-columns:1fr}.sidebar{min-height:180px;max-height:280px}.table-wrap{padding:49px 52px}.poker-table{height:410px}}@media(max-width:690px){.topbar{height:59px}.topbar-right{font-size:9px}.setup-screen{grid-template-columns:1fr;gap:27px;padding:45px 19px}.setup-copy h1{font-size:58px}.setup-copy p{font-size:15px}.feature-list{margin-top:20px}.setup-card{padding:24px}.game-screen{padding:21px 10px}.game-heading{align-items:flex-start}.game-heading h1{font-size:29px}.header-actions{flex-direction:column}.text-button{padding:7px;font-size:10px}.table-wrap{padding:48px 16px}.poker-table{height:370px;border-width:10px;box-shadow:0 0 0 4px #a37548,0 0 0 8px #1b251d,0 20px 30px #0008}.table-inner{inset:8px}.seat{width:83px;min-height:72px;padding:5px}.seat-name{font-size:10px}.seat-stack{font-size:11px}.seat-meta{font-size:9px}.seat-cards .card{width:20px;height:27px;font-size:9px}.card{width:33px;height:47px;font-size:15px}.board{height:51px;gap:4px}.pot-label{font-size:10px;padding:6px 8px}.street-label{font-size:9px;margin-bottom:6px}.action-panel{padding:14px}.action-button{padding:9px 11px;font-size:11px;min-height:37px}.raise-control input{width:94px;padding:7px}.sidebar{max-height:230px}}@media(max-width:410px){.seat{width:71px}.seat-meta{font-size:8px}.table-wrap{padding-left:8px;padding-right:8px}.poker-table{height:330px}}

/* Whole-dollar controls, session stats, and browseable completed hands. */
.setup-notice{margin-top:14px;padding:11px 13px;border:1px solid #d1a66c66;border-radius:8px;color:#e7ce9f;background:#d1a66c12;font-size:12px;line-height:1.5}
.sidebar{min-height:420px;max-height:750px}
.history-hint{margin:0;padding:18px 20px;color:#a7bdae;font-size:12px;line-height:1.55}
.history-content{overflow:auto;padding:0 15px 15px;flex:1}
.history-disclosure{border-top:1px solid #ffffff17;border-bottom:1px solid #ffffff17}
.history-disclosure>summary,.history-actions>summary{padding:13px 5px;color:#e4d1a8;font-size:12px;font-weight:800;cursor:pointer;list-style-position:inside}
.history-select-label{display:block;margin:4px 0 12px;color:#98b09f;font-size:9px;font-weight:800;letter-spacing:.12em}
.history-select-label select{display:block;width:100%;margin-top:6px;padding:9px 10px;border:1px solid #597161;background:#102019;color:#f2f7f1;border-radius:7px}
.history-record{padding:4px 2px 14px}
.history-board{display:flex;align-items:center;justify-content:center;gap:4px;min-height:62px;margin:9px 0 12px}
.history-board .card{width:32px;height:45px;font-size:15px;padding:4px}
.history-no-board{color:#82998b;font-size:11px}
.history-award{padding:7px 0;border-bottom:1px solid #ffffff12;color:#b6cabb;font-size:11px}
.history-award strong{color:#e8c88d}
.history-players{margin-top:9px}
.history-player{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #ffffff0d}
.history-player>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:70px}
.history-player strong{font-size:11px;color:#e2ebe1}
.history-player small{font-size:9px;color:#98b09f}
.history-cards{display:flex;align-items:center;gap:3px;min-height:35px}
.history-cards .card{width:23px;height:32px;padding:3px;font-size:10px}
.history-actions{margin-top:8px}
.history-actions>summary{font-size:11px}
.history-actions .log-line{font-size:10px;padding:7px 2px}
.chip-tools{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.chip-row{display:flex;flex-wrap:wrap;gap:6px}
.chip-button{width:39px;height:39px;padding:0;border-radius:50%;border:2px dashed #f4e9c8;background:#a94e45;color:#fff5db;font-size:9px;font-weight:900;box-shadow:0 2px 5px #0006}
.chip-button:nth-child(2){background:#536c9b}.chip-button:nth-child(3){background:#477a5b}.chip-button:nth-child(4){background:#9a8746}.chip-button:nth-child(5){background:#755486}.chip-button:nth-child(6){background:#465058}
.chip-button:hover{transform:translateY(-2px);filter:brightness(1.15)}
.reset-amount{padding:7px 9px;border:1px solid #70877977;border-radius:7px;background:#ffffff08;color:#b9cbbd;font-size:10px;white-space:nowrap}
.bet-error{color:#ffb6aa;font-size:11px;margin-top:9px;min-height:0}
.stats-dialog{width:min(900px,calc(100vw - 28px));max-height:min(82vh,760px);padding:26px;background:#172a23;color:#ecf4ef;border:1px solid #66806b;border-radius:17px;box-shadow:0 24px 90px #000a}
.stats-dialog::backdrop{background:#06100dcc;backdrop-filter:blur(3px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.dialog-header h2{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:6px 0 0}
.icon-button{width:36px;height:36px;border:1px solid #70877977;border-radius:50%;background:#ffffff08;color:#e4eee5;font-size:24px;line-height:1}
.dialog-copy{color:#a7bdae;font-size:12px;line-height:1.6;margin:14px 0 20px}
.stats-table-wrap{overflow:auto}
.stats-table{width:100%;border-collapse:collapse;white-space:nowrap}
.stats-table th,.stats-table td{padding:12px 13px;text-align:right;border-bottom:1px solid #ffffff16;font-size:12px}
.stats-table th{color:#9db5a5;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.stats-table th:first-child,.stats-table td:first-child{text-align:left}
.stats-table td:first-child{font-weight:800;color:#e5eee4}
.stats-table td small{display:block;color:#82998b;font-size:9px;margin-top:3px}
.profit-positive{color:#9be0af;font-weight:800}.profit-negative{color:#f2a59a;font-weight:800}
@media(max-width:690px){.chip-tools{align-items:flex-start;flex-direction:column}.chip-button{width:35px;height:35px;font-size:8px}.stats-dialog{padding:19px}.stats-table th,.stats-table td{padding:10px 8px;font-size:10px}.history-content{max-height:320px}}
@media(max-width:1050px){.sidebar{min-height:180px;max-height:750px}}
@media(max-width:690px){.sidebar{min-height:150px;max-height:480px}.history-content{max-height:350px}}
.arcade-back{color:inherit;text-decoration:none}
.arcade-back:hover{color:#e9c997}
