:root{color-scheme:dark;--bg:#09110f;--panel:#111b17;--line:#29382d;--gold:#d8bb7c;--muted:#869389;--white:#f2eee2;--green:#4cba86}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 40% 28%,#1b2b20 0,#0b1511 45%,#090e0c 100%);color:var(--white);font:14px system-ui,-apple-system,sans-serif;min-height:100svh}button,input,select{font:inherit}button,select{cursor:pointer}button{color:var(--white);background:#1a2821;border:1px solid #354438;border-radius:8px;padding:11px 16px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#2a3c30;transform:translateY(-1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.35;cursor:not-allowed}button[hidden],[hidden]{display:none!important}header{height:70px;margin:0 30px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px}.brand{font:bold 23px Georgia,serif;color:var(--white);text-decoration:none;white-space:nowrap}.brand span{color:var(--gold)}.version{font-size:10px;color:var(--gold);border:1px solid #635333;padding:5px 8px;border-radius:4px;letter-spacing:1px}.head-note{font-size:10px;letter-spacing:1.4px;color:var(--muted);margin-left:12px}.head-note b{font-weight:400;color:#bdc5b9}header button{margin-left:auto}.quiet{background:transparent;color:#bdc6b9;border-color:var(--line);font-size:11px;padding:8px 11px}main{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:18px;max-width:1440px;margin:18px auto 0;padding:0 30px}.arena{border:1px solid var(--line);border-radius:18px;position:relative;min-width:0;height:654px;background:linear-gradient(130deg,#17221b88,#0a120e88);overflow:hidden;display:flex;flex-direction:column}.arena-top{display:flex;justify-content:space-between;align-items:start;padding:21px 24px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--gold);font-weight:600}h1{font:27px Georgia,serif;margin:7px 0 0;letter-spacing:-.5px}.round{text-align:right;font-size:10px;letter-spacing:1px;color:#c5cdbf}.round small{display:block;margin-top:7px;font-size:10px;letter-spacing:0;color:var(--muted)}.seat{position:absolute;z-index:3;display:flex;align-items:center;gap:12px;left:50%;transform:translateX(-50%)}.opponent{top:95px;background:linear-gradient(110deg,#17251e,#0b1712);border:1px solid #4f583e;border-radius:12px;padding:10px 15px;box-shadow:0 7px 25px #0008;min-width:310px}.avatar{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;color:var(--gold);font:30px Georgia;border:1px solid #8a7545;border-radius:50%;background:radial-gradient(#384530,#16241a)}.identity{min-width:145px}.identity .eyebrow{font-size:8px;letter-spacing:1px}.identity strong{display:block;font:25px Georgia;margin:3px 0}.identity small{display:block;font-size:9px;color:var(--muted)}.dealer{background:#e1d6b4;border:2px solid #a29471;color:#25281b;display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;width:23px;height:23px;font-size:11px;font-weight:bold;box-shadow:0 2px 4px #0008}.hole{display:flex;gap:7px}.bot-hole{gap:4px}.card{width:65px;height:91px;background:linear-gradient(115deg,#fffdf5,#e9e5d8);color:#17231b;border:1px solid #e5dbbd;border-radius:8px;box-shadow:0 5px 10px #0005;position:relative;padding:6px 8px;display:flex;flex-direction:column;justify-content:space-between;font:24px Georgia;flex-shrink:0;animation:deal .25s ease-out}.card.red{color:#ae2639}.card .suit{font-size:35px;align-self:center;line-height:1}.card .corner{font-size:14px;align-self:end;transform:rotate(180deg);line-height:1}.card.back{background:repeating-linear-gradient(45deg,#1e4936,#1e4936 3px,#19412f 3px,#19412f 6px);border:2px solid #9e8d58;justify-content:center;align-items:center;color:#cbb77a;font-size:28px;box-shadow:inset 0 0 0 4px #123c2b,0 4px 7px #0006}.bot-hole .card{width:37px;height:52px;border-radius:5px;font-size:18px}.bot-hole .card .suit{font-size:18px}.bot-hole .card .corner{display:none}.bot-hole .card:not(.back){font-size:15px;padding:3px}.felt{position:absolute;top:165px;left:4%;width:92%;height:285px;background:radial-gradient(ellipse at 50% 45%,#176046,#0b3a2b 57%,#07251b 85%);border:9px solid #292b1d;border-radius:48%;box-shadow:0 0 0 2px #6a5c37,0 0 0 8px #141d14,0 25px 55px #0007,inset 0 0 45px #001b13;display:flex;align-items:center;flex-direction:column}.felt-line{position:absolute;inset:11px;border:1px solid #69916b35;border-radius:48%;pointer-events:none}.table-watermark{position:absolute;top:24px;font-size:8px;letter-spacing:4px;color:#b3d2b733}.table-watermark i{display:block;font:italic 8px Georgia;text-align:center;letter-spacing:2px;margin-top:4px}.pot{margin-top:52px;text-align:center}.pot .eyebrow{color:#b2c5ae;font-size:8px}.pot strong{display:block;font:35px Georgia;line-height:1.15;color:#f1e2bc}.pot small{font-size:8px;color:#a3b9a3}.board{display:flex;gap:7px;margin-top:13px;height:79px}.board .card{width:54px;height:76px;font-size:20px;padding:5px 6px}.board .suit{font-size:27px}.board .corner{font-size:11px}.empty{width:54px;height:76px;border:1px solid #92b29a25;border-radius:7px;background:#092e231a;display:grid;place-items:center;color:#a1c2a12a;font:24px Georgia}.street{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:8px;letter-spacing:3px;color:#a7bea7}.street span{display:block;height:1px;width:24px;background:#789c784a}.street b{font-weight:500}.bet-marker{position:absolute;color:#e2d5b1;font-size:10px;background:#0b2119e8;padding:5px 9px;border:1px solid #61724a;border-radius:15px;z-index:2}.bet-marker:empty{display:none}.bot-bet{right:15%;top:35px}.human-bet{right:18%;bottom:27px}.player{top:365px;flex-direction:column;gap:8px}.player .hole .card:first-child{transform:rotate(-6deg)}.player .hole .card:last-child{transform:rotate(6deg)}.player-info{display:flex;align-items:center;gap:14px;padding:8px 21px;background:#131b12;border:1px solid #6c5b35;border-radius:9px;min-width:206px;box-shadow:0 5px 25px #0008}.player-info .eyebrow{font-size:8px;letter-spacing:1.5px}.player-info strong{font:23px Georgia;display:block;margin-top:2px}.online-dot{width:6px;height:6px;background:#7dc496;border-radius:50%;display:inline-block;box-shadow:0 0 8px #7dc49655}.seat.active .player-info,.seat.active.opponent{border-color:#d9bd7b;box-shadow:0 0 24px #c3a86823}.message{position:absolute;bottom:149px;text-align:center;left:15px;right:15px;font-size:11px;color:#e4d1a5;min-height:16px}.controls{margin-top:auto;padding:15px 20px 10px;border-top:1px solid #334431;background:linear-gradient(110deg,#172219,#101a14);position:relative;z-index:4}.sizing{display:grid;grid-template-columns:120px 1fr 245px;gap:12px;align-items:center}.size-label{font-size:9px;color:var(--muted)}.size-label input{display:block;width:110px;background:none;border:0;color:var(--gold);font-size:17px;font-weight:600;padding:3px 0}.presets{display:flex;gap:4px}.presets button{font-size:9px;padding:5px 7px;white-space:nowrap;background:transparent;color:#b7c1af;border-color:#3a4937}.sizing input[type=range]{width:100%;accent-color:var(--gold);height:4px}.actions{display:flex;gap:8px;margin-top:10px}.actions button{flex:1;text-transform:uppercase;font-size:11px;letter-spacing:1px;font-weight:600;padding:14px 8px}.actions .gold{flex:1.5}.gold{background:linear-gradient(#efd59b,#b58c44);color:#252013;border-color:#e6c982;box-shadow:0 3px 15px #caac5c1f}.gold:hover:not(:disabled){background:linear-gradient(#ffe6b5,#c69b4e)}.fold{background:#281817;border-color:#54302c;color:#d7a7a0}.action-hint{display:block;font-size:9px;color:var(--muted);margin-top:8px;text-align:center}aside{display:flex;flex-direction:column;gap:14px;min-height:0}.panel{padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#18211988,#10171288)}.profile{display:flex;gap:10px;align-items:center;margin:16px 0}.profile .avatar{width:40px;height:40px;font-size:26px}h2{font:23px Georgia;margin:0}.profile p{font-size:9px;color:var(--muted);margin:5px 0 0}label{display:block;font-size:10px;color:var(--muted);margin:12px 0 7px}select{width:100%;background:#111d16;color:#d5d9cc;border:1px solid #3b4936;border-radius:7px;padding:9px;font-size:11px}.ai-note{font-size:10px;color:#ccd3c3;margin-top:17px}.ai-note .online-dot{margin-right:5px}.ai-note p{font-size:10px;color:var(--muted);line-height:1.65;margin-bottom:0}.history-panel{flex:1;min-height:180px;display:flex;flex-direction:column;overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:center}.live{font-size:7px;letter-spacing:1px;color:#75b38d}ol{list-style:none;padding:0;margin:12px 0;overflow:auto;max-height:159px;flex:1;scrollbar-width:thin;scrollbar-color:#3a4e3a transparent}li{font-size:10px;color:#a8b6a4;line-height:1.5;padding:6px 0;border-bottom:1px solid #29372c80}li:last-child{color:#e0d4b6}#archive{font-size:10px;line-height:1.6;color:var(--muted);max-height:95px;overflow:auto;margin-top:8px;white-space:pre-line}.responsible{display:flex;gap:10px;align-items:center;padding:0 10px;color:#6f8274;font-size:10px}.responsible span{font:25px Georgia}.responsible p{line-height:1.6;margin:0}footer{display:flex;justify-content:space-between;max-width:1440px;margin:14px auto 0;padding:0 31px 10px;font-size:8px;letter-spacing:1.5px;color:#6b7b6d}@keyframes deal{from{opacity:0;translate:0 -7px}to{opacity:1;translate:0 0}}@media(min-width:1400px){main{grid-template-columns:minmax(0,1fr) 290px}.arena{height:680px}.felt{height:305px}.player{top:385px}.message{bottom:149px}}@media(max-width:1000px) and (min-width:701px){main{padding:0 15px;gap:12px;grid-template-columns:minmax(0,1fr) 220px}.head-note{display:none}.sizing{grid-template-columns:90px 1fr}.presets{grid-column:1/-1;justify-content:flex-end}.sizing{gap:4px}.controls{padding:9px 12px}.message{bottom:164px}.opponent{min-width:290px}.identity{min-width:125px}.felt{width:92%;left:4%}.board{gap:5px}header{margin:0 15px}.profile p{font-size:8px}}
@media(max-width:700px){body{min-height:100svh}header{height:54px;margin:0 13px;gap:8px}.brand{font-size:18px}.version{font-size:8px;padding:4px;letter-spacing:.5px}.head-note{display:none}header .quiet{font-size:9px;padding:7px;margin-left:auto}main{display:flex;flex-direction:column;padding:0 10px;margin-top:10px;gap:10px}.arena{height:638px;flex-shrink:0;border-radius:13px}.arena-top{padding:16px 14px}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:25px}.round{font-size:8px}.round small{font-size:9px}.opponent{top:93px;min-width:280px;padding:9px 11px;gap:9px}.identity{min-width:125px}.identity strong{font-size:23px}.avatar{width:36px;height:36px;font-size:25px}.identity .eyebrow{font-size:7px}.identity small{font-size:8px}.bot-hole .card{width:30px;height:43px}.opponent .dealer{width:20px;height:20px;font-size:9px}.felt{top:157px;left:3%;width:94%;height:274px;border-width:7px;border-radius:40%;box-shadow:0 0 0 1px #6a5c37,0 0 0 5px #141d14,0 20px 30px #0005,inset 0 0 35px #001b13}.felt-line{border-radius:40%}.pot{margin-top:56px}.pot strong{font-size:32px}.board{gap:5px;margin-top:13px}.board .card,.empty{width:49px;height:69px}.board .card{font-size:19px;padding:4px 5px}.board .suit{font-size:24px}.board .corner{font-size:10px}.table-watermark{font-size:7px;top:28px;letter-spacing:3px}.player{top:365px;gap:7px}.player .card{width:58px;height:81px;font-size:23px}.player-info{min-width:185px;padding:7px 16px;gap:12px}.player-info strong{font-size:22px}.player-info .eyebrow{font-size:7px}.bot-bet{right:7%;top:43px;font-size:8px}.human-bet{right:5%;bottom:18px;font-size:8px}.message{bottom:151px;font-size:10px;left:10px;right:10px}.controls{padding:10px 11px 9px}.sizing{grid-template-columns:98px 1fr;gap:4px 10px}.size-label input{font-size:17px}.presets{grid-column:1/-1;justify-content:flex-end}.presets button{font-size:9px;padding:4px 8px}.actions{gap:5px;margin-top:9px}.actions button{font-size:9px;padding:13px 4px;letter-spacing:.6px}.action-hint{font-size:8px;margin-top:7px}aside{display:grid;grid-template-columns:1fr 1fr;gap:9px}.panel{padding:12px;border-radius:10px}.opponent-panel .profile{margin:10px 0}.profile .avatar{width:27px;height:27px;font-size:20px}h2{font-size:19px}.profile p{display:none}label{font-size:9px;margin-top:9px}select{font-size:10px;padding:7px 4px}.ai-note{font-size:8px;margin-top:12px}.ai-note p{font-size:9px;line-height:1.5}.history-panel{min-height:275px}.history-panel ol{max-height:205px}.history-panel li{font-size:9px}.history-panel .quiet{font-size:9px;padding:7px 2px}.section-heading .eyebrow{font-size:7px;letter-spacing:1px}.responsible{grid-column:1/-1;justify-content:center;font-size:9px;padding:3px}.responsible br{display:none}footer{padding:0 14px 14px;margin-top:8px;font-size:6px;letter-spacing:.6px}.arena{height:638px}#archive{font-size:9px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Fit the entire decision surface inside the desktop viewport. */
@media(min-width:701px){.pot{margin-top:35px}.player{top:355px}.player .card{height:80px;width:59px}.player-info{padding-top:6px;padding-bottom:6px}.player-info strong{font-size:21px}.message{bottom:132px}}
@media(min-width:1400px){.player{top:375px}}
@media(max-width:1000px) and (min-width:701px){.player{top:337px}.message{bottom:156px}}
@media(max-width:700px){.pot{margin-top:40px}.player{top:343px}.player .card{height:72px;width:53px}.player .card .suit{font-size:28px}.player-info{padding-top:5px;padding-bottom:5px}.player-info strong{font-size:20px}.message{bottom:143px}.controls{padding-top:8px}.sizing{gap:3px 10px}.actions{margin-top:7px}.action-hint{margin-top:6px}}

@media(min-width:701px){.pot{margin-top:25px}}
@media(max-width:700px){.player{top:351px}}
