:root{--bg: #0f1a17;--felt: #1d5a45;--felt-edge: #123b2e;--panel: #17241f;--panel-line: #2b3d36;--text: #edf3ef;--muted: #9bb2a8;--gold: #f1c24b;--turn: #5fd0ff;--fold: #8a5a55;--call: #2f7fd0;--raise: #d0812f;--allin: #c8372d;--font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:var(--font);overflow:hidden;-webkit-text-size-adjust:100%;-webkit-user-select:none;user-select:none}button{font-family:inherit}.num{font-variant-numeric:tabular-nums}.viewport{position:fixed;top:0;right:0;bottom:0;left:0}.stage{position:absolute;left:50%;top:50%;transform-origin:center center;overflow:hidden;background:radial-gradient(ellipse at 40% 40%,#18302a,var(--bg) 70%)}.stage>*{position:absolute}.portrait-hint{position:fixed;left:50%;top:12px;transform:translate(-50%);background:#000000bf;border:1px solid var(--gold);color:var(--gold);padding:6px 14px;border-radius:999px;font-size:14px;pointer-events:none}.topbar{left:0;top:0;width:1280px;height:46px;display:flex;align-items:center;padding:0 16px;gap:24px;background:#00000059;border-bottom:1px solid var(--panel-line)}.brand{font-weight:800;font-size:20px;letter-spacing:.08em;color:var(--gold);width:140px}.topbar-info{color:var(--muted);font-size:14px;width:200px}.topbar-buttons{margin-left:auto;display:flex;gap:8px}.topbar-buttons button{width:76px;height:30px;border-radius:6px;border:1px solid var(--panel-line);background:var(--panel);color:var(--text);font-size:14px;cursor:pointer}.felt{left:120px;top:105px;width:790px;height:370px;border-radius:50%;background:radial-gradient(ellipse at center,#26735a,var(--felt) 60%,#174a39);border:12px solid var(--felt-edge);box-shadow:inset 0 0 40px #00000073,0 10px 30px #00000080}.hand-no{left:135px;top:56px;width:140px;font-size:13px;color:var(--muted)}.seat{width:176px;height:132px;padding:6px 8px;border-radius:12px;background:#0a120fdb;border:2px solid var(--panel-line);display:grid;grid-template-rows:18px 74px 20px;justify-items:center;transition:border-color .2s,box-shadow .2s,opacity .2s}.seat-me{border-color:#3f6b5a}.seat-turn{border-color:var(--turn);box-shadow:0 0 0 2px #5fd0ff59,0 0 18px #5fd0ff73}.seat-folded .seat-name,.seat-folded .seat-stack{opacity:.55}.seat-out{opacity:.5}.seat-won{border-color:var(--gold);box-shadow:0 0 22px #f1c24b8c}.seat-name{width:100%;display:flex;justify-content:center;gap:4px;font-size:13px;line-height:18px;white-space:nowrap;overflow:hidden}.seat-name-text{overflow:hidden;text-overflow:ellipsis;max-width:110px}.seat-tag{font-size:10px;color:var(--muted);border:1px solid var(--panel-line);border-radius:4px;padding:0 3px;line-height:15px;margin-top:1px}.seat-cards{display:flex;gap:6px;padding-top:1px}.seat-stack{font-size:16px;font-weight:700;line-height:20px;color:var(--gold);width:100%;text-align:center}.seat-status{position:absolute;left:50%;bottom:-14px;width:150px;height:22px;margin-left:-75px;border-radius:11px;font-size:12px;line-height:22px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent;pointer-events:none}.seat-status:empty{visibility:hidden}.st-turn{background:var(--turn);color:#06212c;font-weight:700}.st-fold{background:#3a2b2a;color:#e0b9b4}.st-check{background:#2a3a35;color:#cfe4dc}.st-call,.st-sb,.st-bb{background:#1f3f63;color:#d4e7ff}.st-bet,.st-raise{background:#6b3f14;color:#ffe2c2;font-weight:700}.st-allin{background:var(--allin);color:#fff;font-weight:700}.st-hand{background:var(--gold);color:#2a1e00;font-weight:700}.st-out{background:#222;color:var(--muted)}.seat-win{position:absolute;right:-8px;top:-12px;width:84px;height:22px;line-height:22px;text-align:center;border-radius:11px;background:var(--gold);color:#2a1e00;font-weight:800;font-size:13px}.bet{width:80px;height:22px;line-height:22px;text-align:center;font-size:13px;font-weight:700;border-radius:11px;background:#0000008c;border:1px solid rgba(241,194,75,.6);color:var(--gold)}.dealer-btn{width:24px;height:24px;border-radius:50%;background:#f6f1e4;color:#222;font-weight:800;font-size:13px;line-height:24px;text-align:center;box-shadow:0 2px 4px #00000080}.board{left:339px;top:205px;width:352px;height:90px;display:flex;gap:8px}.pot{left:365px;top:300px;width:300px;height:22px;display:flex;justify-content:center;align-items:center;gap:10px;font-size:13px}.pot-label{color:#cfe4dc}.pot-amount{width:80px;font-size:17px;font-weight:800;color:var(--gold)}.message{left:265px;top:326px;width:500px;height:24px;line-height:24px;text-align:center;font-size:13px;color:#d8ebe3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-result{background:#0000008c;border-radius:12px;color:var(--gold);font-weight:700}.card{position:relative;flex:none;border-radius:6px;overflow:hidden}.card-sm{width:52px;height:72px}.card-md{width:64px;height:90px}.card-lg{width:92px;height:128px;border-radius:8px}.card-empty{border:2px dashed rgba(255,255,255,.18)}.card-back{background:repeating-linear-gradient(45deg,#2a3f6e 0,#2a3f6e 6px,#22355c 6px,#22355c 12px);border:2px solid #e9e3d3;display:grid;place-items:center;color:#f1c24bd9;font-weight:800}.card-sm.card-back span{font-size:18px}.card-lg.card-back span{font-size:32px}.card-face{background:linear-gradient(#fff,var(--st));color:#1a1a1a;border:1px solid rgba(0,0,0,.25);box-shadow:0 2px 5px #00000059}.card-corner{position:absolute;left:3px;top:1px;display:flex;flex-direction:column;align-items:center;color:var(--sc);line-height:1}.card-rank{font-weight:900;letter-spacing:-.06em}.card-sm .card-rank{font-size:20px}.card-md .card-rank{font-size:22px}.card-lg .card-rank{font-size:32px}.card-sm .card-suit{font-size:12px}.card-md .card-suit{font-size:13px}.card-lg .card-suit{font-size:18px}.card-logo{position:absolute;display:grid;place-items:center;border-radius:50%;background:var(--sc);color:#fff;font-weight:800}.card-logo img{width:100%;height:100%;object-fit:contain}.card-sm .card-logo{display:none}.card-md .card-logo{width:22px;height:22px;right:5px;top:14px;font-size:11px}.card-lg .card-logo{width:34px;height:34px;right:8px;top:22px;font-size:17px}.card-name{position:absolute;left:2px;right:2px;text-align:center;font-weight:700;line-height:1.15;word-break:break-all;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.card-sm .card-name{top:36px;font-size:9px;height:21px}.card-md .card-name{top:42px;font-size:10px;height:24px}.card-lg .card-name{top:62px;font-size:13px;height:31px;left:4px;right:4px}.card-band{position:absolute;left:0;right:0;bottom:0;background:var(--sc);color:#fff;text-align:center;font-weight:700;white-space:nowrap;overflow:hidden}.card-sm .card-band{height:12px;font-size:9px;line-height:12px}.card-md .card-band{height:16px;font-size:9px;line-height:16px}.card-lg .card-band{height:22px;font-size:12px;line-height:22px}.card-hl{outline:3px solid var(--gold);outline-offset:-1px;box-shadow:0 0 12px #f1c24bcc}.card-dim{filter:grayscale(.7) brightness(.6)}.log{left:1040px;top:56px;width:230px;height:462px;background:var(--panel);border:1px solid var(--panel-line);border-radius:10px;display:flex;flex-direction:column}.panel-title{height:28px;line-height:28px;padding:0 10px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--panel-line)}.log-body{flex:1;overflow-y:auto;padding:6px 10px;font-size:12px;line-height:1.55;-webkit-user-select:text;user-select:text}.log-head{color:var(--muted);margin-top:2px}.log-street{color:var(--gold);margin-top:4px}.hand-panel{left:10px;top:528px;width:490px;height:184px;background:var(--panel);border:1px solid var(--panel-line);border-radius:10px;display:flex;align-items:center;padding:0 14px;gap:14px}.hand-cards{display:flex;gap:8px;flex:none}.hand-info{width:270px;height:140px;display:grid;grid-template-rows:20px 56px 22px 22px;align-content:center}.hand-label{font-size:12px;color:var(--muted)}.hand-name{font-size:30px;font-weight:800;color:var(--gold);line-height:56px;white-space:nowrap;overflow:hidden}.hand-name-long{font-size:19px}.hand-poker{font-size:14px;color:#d8ebe3;white-space:nowrap}.hand-desc{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-panel{left:510px;top:528px;width:760px;height:184px;background:var(--panel);border:1px solid var(--panel-line);border-radius:10px;padding:8px 14px;display:grid;grid-template-rows:26px 48px 86px;gap:4px}.action-status{font-size:14px;line-height:26px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-status-turn{color:var(--turn);font-weight:700}.raise-row{display:flex;align-items:center;gap:12px}.raise-slider{width:250px;accent-color:var(--raise)}.raise-amount{width:92px;height:34px;line-height:34px;text-align:right;padding-right:10px;border-radius:6px;background:#0d1512;border:1px solid var(--panel-line);font-size:18px;font-weight:700;color:var(--gold)}.presets{display:flex;gap:6px}.presets button{width:66px;height:34px;border-radius:6px;border:1px solid var(--panel-line);background:#22332d;color:var(--text);font-size:13px;cursor:pointer}.presets button:disabled,.raise-slider:disabled{opacity:.35;cursor:default}.main-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.btn{height:78px;border-radius:10px;border:none;font-size:22px;font-weight:800;color:#fff;cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;white-space:nowrap;box-shadow:0 3px #00000059}.btn:disabled{opacity:.3;cursor:default}.btn:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #00000059}.btn-sub{font-size:12px;font-weight:500;opacity:.85}.btn-fold{background:var(--fold)}.btn-call{background:var(--call)}.btn-raise{background:var(--raise)}.btn-allin{background:var(--allin)}.btn-primary{background:#1f8a5b}.btn-ghost{background:transparent;box-shadow:none}.overlay{left:0;top:0;width:1280px;height:720px;background:#0009;display:grid;place-items:center;z-index:10}.dialog{width:560px;background:var(--panel);border:1px solid var(--panel-line);border-radius:14px;padding:20px 26px}.dialog h2{margin:0 0 14px;font-size:20px;color:var(--gold)}.dialog-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.dialog-buttons .btn{height:48px;width:160px;font-size:17px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--panel-line)}.seg{display:flex;gap:4px}.seg button{min-width:64px;height:34px;border-radius:6px;border:1px solid var(--panel-line);background:#0f1814;color:var(--muted);font-size:14px;cursor:pointer}.seg button.on{background:#1f8a5b;color:#fff;border-color:#1f8a5b}.standings-note{font-size:12px;color:var(--muted);margin:-6px 0 10px}.standings{width:100%;border-collapse:collapse;font-size:15px}.standings th,.standings td{padding:6px 8px;border-bottom:1px solid var(--panel-line);text-align:left}.standings th{font-size:12px;color:var(--muted);font-weight:500}.standings td.num{text-align:right}.standings tr.me td{color:var(--gold);font-weight:700}.plus{color:#6fe0a0}.minus{color:#ff8f84}.standings tr.me td.plus{color:#6fe0a0}.standings tr.me td.minus{color:#ff8f84}.setup{left:0;top:0;width:1280px;height:720px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.setup h1{margin:0;font-size:54px;letter-spacing:.12em;color:var(--gold);text-align:center}.setup h1 small{display:block;font-size:16px;letter-spacing:.05em;color:var(--muted);font-weight:500;margin-top:6px}.setup-card{width:600px;background:var(--panel);border:1px solid var(--panel-line);border-radius:14px;padding:22px 28px;display:flex;flex-direction:column;gap:14px}.setup-card label,.setup-row{display:flex;justify-content:space-between;align-items:center;font-size:15px}.setup-card input{width:260px;height:36px;border-radius:6px;border:1px solid var(--panel-line);background:#0d1512;color:var(--text);padding:0 10px;font-size:16px;font-family:inherit;-webkit-user-select:text;user-select:text}.setup-note{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.setup-start{height:56px}.setup-glossary{display:grid;grid-template-columns:repeat(3,190px);gap:6px 12px;font-size:13px;color:var(--muted);text-align:center}@keyframes react-pop{0%{transform:scale(.7);opacity:0}60%{transform:scale(1.12);opacity:1}to{transform:scale(1)}}@keyframes react-fade{0%{opacity:0}to{opacity:1}}@keyframes win-pulse{0%,to{box-shadow:0 0 10px #f1c24b66}50%{box-shadow:0 0 30px #f1c24be6}}.fx-normal .react{animation:react-pop .35s ease-out}.fx-normal .seat-won{animation:win-pulse 1.2s ease-in-out 3}.fx-normal .card-face{animation:react-fade .3s ease-out}.fx-weak .react{animation:react-fade .25s ease-out}.fx-off *,.fx-off .seat{animation:none!important;transition:none!important}
