:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{color:#e8e8e8;background:#0f1419;margin:0}.app{min-height:100vh;padding:calc(12px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:12px;display:flex}.gate{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.gate-card{background:#14181ee6;border:1px solid #3a4250;border-radius:12px;flex-direction:column;gap:12px;width:100%;max-width:320px;padding:24px;display:flex}.gate-card h1{margin:0;font-size:1.3rem}.gate-note{color:#9aa5b1;margin:0;font-size:.85rem}.gate-input{color:#e8e8e8;background:#10141a;border:1px solid #3a4250;border-radius:8px;padding:10px 12px;font-size:1rem}.gate-error{color:#ff8a8a;font-size:.83rem}.app-loading{color:#9aa5b1;text-align:center;justify-content:center;align-items:center;padding:48px 24px;font-size:1.05rem;display:flex}.app-header{justify-content:space-between;align-items:baseline;width:100%;max-width:900px;display:flex}.app-header h1{margin:0;font-size:1.4rem}.hand-number{color:#9aa5b1}.tabs{gap:4px;display:flex}.tab{color:#9aa5b1;cursor:pointer;background:0 0;border:1px solid #3a4250;border-radius:6px;padding:6px 14px;font-size:.85rem;font-weight:600}.tab:hover{color:#e8e8e8}.tab-active{color:#fff;background:#2f6f4f;border-color:#2f6f4f}.stats-dashboard{flex-direction:column;gap:24px;width:100%;max-width:900px;padding-bottom:24px;display:flex}.stats-loading,.stats-empty,.history-empty{color:#9aa5b1;text-align:center;padding:24px}.summary-cards{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.summary-card{background:#14181ed9;border:1px solid #3a4250;border-radius:10px;flex-direction:column;gap:4px;padding:12px 16px;display:flex}.summary-label{color:#9aa5b1;font-size:.78rem}.summary-value{font-size:1.4rem}.positive{color:#7bf5a0}.negative{color:#ff8a8a}.stats-section h2{color:#cfd6de;margin:0 0 10px;font-size:1rem}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.section-head h2{margin:0}.subtabs{gap:4px;display:flex}.subtab{color:#9aa5b1;cursor:pointer;background:0 0;border:1px solid #3a4250;border-radius:6px;padding:4px 10px;font-size:.78rem;font-weight:600}.subtab:hover{color:#e8e8e8}.subtab-active{color:#e8e8e8;background:#2a3340;border-color:#6fb6ff}.style-block{flex-direction:column;gap:12px;display:flex}.style-verdict{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.style-badge{border:1px solid;border-radius:999px;padding:4px 12px;font-size:1.05rem;font-weight:700}.style-shark{color:#7bf5a0}.style-maniac{color:#ff8a8a}.style-rock{color:#9ad1ff}.style-calling_station{color:#f5b26b}.style-unknown{color:#9aa5b1}.style-axis,.style-nums{color:#9aa5b1;font-size:.8rem}.style-matrix-wrap{flex-direction:column;gap:4px;display:flex}.matrix-middle{align-items:center;gap:6px;display:flex}.axis-label{color:#9aa5b1;text-align:center;white-space:nowrap;font-size:.72rem}.axis-left,.axis-right{writing-mode:vertical-rl}.axis-left{transform:rotate(180deg)}.style-matrix{aspect-ratio:16/9;flex:1;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;gap:3px;min-height:220px;display:grid;position:relative}.quadrant{opacity:.5;background:#14181ed9;border:1px solid #3a4250;border-radius:6px;flex-direction:column;gap:2px;padding:10px 12px;transition:opacity .2s,border-color .2s;display:flex}.quadrant-active{opacity:1;border-width:2px}.quadrant-shark.quadrant-active{background:#7bf5a01a;border-color:#7bf5a0}.quadrant-maniac.quadrant-active{background:#ff8a8a1a;border-color:#ff8a8a}.quadrant-rock.quadrant-active{background:#9ad1ff1a;border-color:#9ad1ff}.quadrant-calling_station.quadrant-active{background:#f5b26b1a;border-color:#f5b26b}.quadrant-label{font-size:.92rem;font-weight:700}.quadrant-axis{color:#9aa5b1;font-size:.72rem}.quadrant-tagline{color:#7d8794;font-size:.72rem;line-height:1.35}.style-marker{pointer-events:none;flex-direction:column;align-items:center;gap:2px;display:flex;position:absolute;transform:translate(-50%,-50%)}.style-marker-dot{background:#fff;border:3px solid #1d1d1d;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 2px #fff,0 0 10px #fff9}.style-marker-text{color:#fff;background:#000000bf;border-radius:4px;padding:1px 6px;font-size:.68rem;font-weight:700}.style-summary{color:#cfd6de;background:#14181ed9;border:1px solid #3a4250;border-radius:8px;margin:0;padding:10px 14px;font-size:.88rem;line-height:1.55}.reset-row{justify-content:flex-end;display:flex}.btn-subtle{color:#b98a8a;background:0 0;border:1px solid #4a3235;padding:5px 12px;font-size:.8rem}.btn-subtle:hover{color:#ff8a8a;background:#3a2426}.btn-danger{color:#fff;background:#7a2626}.btn-danger:hover{background:#953030}.btn:disabled{opacity:.5;cursor:not-allowed}.danger-confirm{background:#4a1d1d80;border:1px solid #7a2626;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;display:flex}.danger-detail{color:#e0bcbc;max-width:560px;margin:4px 0 0;font-size:.83rem;line-height:1.45}.danger-actions{gap:8px;display:flex}.window-meta{color:#9aa5b1;margin-bottom:10px;font-size:.8rem}.trend-block{background:#14181ed9;border:1px solid #3a4250;border-radius:8px;flex-direction:column;gap:10px;margin-top:12px;padding:12px 14px;display:flex}.trend-pending{color:#9aa5b1;font-size:.85rem}.trend-head{color:#9aa5b1;font-size:.78rem}.trend-verdict{margin:0;font-size:.9rem;line-height:1.5}.trend-none{color:#9aa5b1;margin:0;font-size:.85rem}.change-group{flex-direction:column;gap:4px;display:flex}.change-group-title{text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:700}.change-improved{color:#7bf5a0}.change-worsened{color:#ff8a8a}.change-persistent{color:#f5b26b}.change-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.change-row{grid-template-columns:14px 130px 1fr;align-items:baseline;gap:8px;font-size:.83rem;display:grid}@media (width<=560px){.change-row{grid-template-columns:14px 1fr}.change-row .change-note{grid-column:2}}.change-icon{font-size:.7rem}.change-label{color:#e8e8e8;font-weight:600}.change-note{color:#cfd6de;line-height:1.45}.insights{flex-direction:column;gap:10px;display:flex}.insight{background:#14181ed9;border:1px solid #3a4250;border-left:4px solid #9aa5b1;border-radius:8px;padding:10px 14px}.insight-warning{border-left-color:#f5b26b}.insight-good{border-left-color:#7bf5a0}.insight-title{margin-bottom:4px;display:block}.insight-warning .insight-title{color:#f5b26b}.insight-good .insight-title{color:#7bf5a0}.insight-detail{color:#cfd6de;margin:0;font-size:.86rem;line-height:1.5}.metrics-list{flex-direction:column;gap:12px;display:flex}.metric-row{background:#14181ed9;border:1px solid #3a4250;border-radius:8px;padding:10px 14px}.metric-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.metric-label{margin-right:8px;font-weight:600}.metric-desc{color:#9aa5b1;font-size:.75rem}.metric-values{flex-direction:column;align-items:flex-end;display:flex}.metric-value{font-size:1.1rem}.metric-bench{color:#9aa5b1;font-size:.72rem}.metric-scale{background:#ffffff0f;border-radius:4px;height:8px;margin:10px 0 6px;position:relative}.metric-scale-band{background:#7bf5a047;border-radius:4px;position:absolute;top:0;bottom:0}.metric-scale-marker{background:#e8e8e8;border-radius:2px;width:3px;height:14px;position:absolute;top:-3px;transform:translate(-50%)}.metric-low .metric-scale-marker,.metric-high .metric-scale-marker{background:#f5b26b}.metric-foot{color:#9aa5b1;justify-content:space-between;font-size:.74rem;display:flex}.verdict-ok{color:#7bf5a0}.verdict-low,.verdict-high{color:#f5b26b}.history-count{color:#9aa5b1;margin-bottom:6px;font-size:.78rem}.history-table-wrap{border:1px solid #3a4250;border-radius:8px;overflow-x:auto}.history-table{border-collapse:collapse;background:#14181ed9;width:100%;font-size:.82rem}.history-table th,.history-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #2a303a;padding:8px 10px}.history-table th{color:#9aa5b1;font-weight:600}.history-table tbody tr:last-child td{border-bottom:none}.history-table .num{text-align:right}.muted{color:#6b7480;font-size:.76rem}.mini-cards{gap:3px;display:flex}.mini-cards .card{width:22px;height:30px;font-size:.62rem}.error-banner{color:#ff8a8a;background:#4a1d1d;border-radius:6px;width:100%;max-width:900px;padding:8px 12px;font-size:.9rem}.table-felt{aspect-ratio:16/10;background:radial-gradient(#1d5c3f 0%,#123c29 70%,#0d2c1e 100%);border:10px solid #3a2418;border-radius:50%/40%;width:auto;max-width:100%;height:min(52vh,470px);margin-top:26px;position:relative;box-shadow:inset 0 0 40px #00000080}.table-center{flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.board-cards{gap:6px;min-height:60px;display:flex}.pot-total{color:#f5d67b;font-size:.95rem;font-weight:600}.hand-result{color:#7bf5a0;text-align:center;max-width:260px;font-size:.85rem}.seat-wrapper{position:absolute;transform:translate(-50%,-50%)}.seat{background:#14181ed9;border:2px solid #3a4250;border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:108px;padding:8px 10px;display:flex;position:relative}.seat-active{border-color:#f5d67b;box-shadow:0 0 10px #f5d67b99}.seat-hero{border-color:#6fb6ff}.seat-folded{opacity:.45}.seat-name{white-space:nowrap;font-size:.8rem;font-weight:600}.seat-cards{gap:4px;display:flex}.seat-stack{color:#f5d67b;font-size:.85rem}.seat-bet{color:#9aa5b1;font-size:.75rem}.seat-status{color:#ff8a8a;font-size:.7rem;font-weight:700}.seat-last-action{color:#9ad1ff;white-space:nowrap;background:#6fb6ff1f;border-radius:4px;padding:2px 6px;font-size:.72rem;font-weight:600}.thinking-bar-track{background:#ffffff14;border-radius:7px;width:100%;height:14px;position:relative;overflow:hidden}.thinking-bar-fill{background:linear-gradient(90deg,#f5d67b,#e0a83f);width:0%;height:100%;transition-property:width;transition-timing-function:linear}.thinking-label{color:#fff;mix-blend-mode:difference;justify-content:center;align-items:center;font-size:.62rem;font-weight:600;display:flex;position:absolute;inset:0}.dealer-button{color:#1d1d1d;background:#f5d67b;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.7rem;font-weight:700;display:flex;position:absolute;top:-10px;right:-10px}.card{background:#f5f2e9;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;width:32px;height:44px;font-size:.85rem;font-weight:700;line-height:1;display:flex}.card-red{color:#c0392b}.card-black{color:#1d1d1d}.card-back{background:repeating-linear-gradient(45deg,#2a4a7a,#2a4a7a 4px,#1d3560 4px 8px);border:1px solid #142343}.action-bar{background:#14181ed9;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;max-width:900px;min-height:48px;padding:12px;display:flex}.action-bar-waiting{color:#9aa5b1;font-size:.9rem}.action-bar-note{color:#9aa5b1;font-size:.85rem}.btn{color:#e8e8e8;cursor:pointer;background:#2a2f3a;border:none;border-radius:6px;padding:8px 16px;font-weight:600}.btn:hover{background:#3a4250}.btn-primary{background:#2f6f4f}.btn-primary:hover{background:#38845f}.btn-fold{background:#5a2a2a}.btn-fold:hover{background:#6f3434}.btn-hint{color:#f5d67b;background:#3d3a1f}.btn-hint:hover{background:#4f4a26}.hint-panel{background:#14181ee6;border:1px solid #3a4250;border-left:4px solid #6fb6ff;border-radius:10px;flex-direction:column;gap:8px;width:100%;max-width:900px;padding:10px 14px;display:flex}@media (height<=780px){.table-felt{height:min(46vh,400px)}}@media (width<=560px){.app{gap:8px;padding-left:8px;padding-right:8px}.table-felt{aspect-ratio:3/4;border-width:6px;width:100%;height:auto}.seat{border-radius:8px;gap:2px;min-width:74px;padding:4px 6px}.seat-name{font-size:.62rem}.seat-stack{font-size:.68rem}.seat-bet,.seat-status,.seat-last-action{padding:1px 4px;font-size:.58rem}.hud{border-radius:4px;gap:3px;padding:1px 4px;font-size:.55rem}.card{width:22px;height:30px;font-size:.6rem}.board-cards{gap:3px;min-height:34px}.dealer-button{width:16px;height:16px;font-size:.55rem;top:-6px;right:-6px}.thinking-bar-track{height:10px}.thinking-label{font-size:.5rem}.action-bar{flex-wrap:wrap;gap:6px;padding:8px}.btn{padding:10px 14px;font-size:.9rem}.raise-controls{gap:6px;width:100%}.raise-controls input[type=range]{flex:1;min-width:0;height:28px}.app-header{flex-wrap:wrap;gap:6px}.app-header h1{font-size:1.1rem}.tabs{order:3;width:100%}.tab{flex:1;padding:8px 10px}.summary-cards{gap:6px}.summary-card{padding:8px 10px}.summary-value{font-size:1.1rem}.subtabs{flex-wrap:wrap}.style-matrix{aspect-ratio:1;min-height:260px}.quadrant{padding:6px 8px}.quadrant-label{font-size:.78rem}.quadrant-axis,.quadrant-tagline{font-size:.62rem}.danger-confirm{flex-direction:column;align-items:stretch}.danger-actions{justify-content:flex-end}}@media (width<=420px){.seat{min-width:66px}.card{width:19px;height:26px;font-size:.55rem}}.hint-panel-loading{color:#9aa5b1;border-left-color:#9aa5b1;font-size:.9rem}.hint-fold{border-left-color:#ff8a8a}.hint-check,.hint-call{border-left-color:#6fb6ff}.hint-bet,.hint-raise{border-left-color:#7bf5a0}.hint-header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.hint-verdict{font-size:1.05rem;font-weight:700}.hint-fold .hint-verdict{color:#ff8a8a}.hint-check .hint-verdict,.hint-call .hint-verdict{color:#6fb6ff}.hint-bet .hint-verdict,.hint-raise .hint-verdict{color:#7bf5a0}.hint-hand{color:#9aa5b1;font-size:.85rem}.hint-meters{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=560px){.hint-meters{grid-template-columns:1fr}}.hint-meter-head{color:#9aa5b1;justify-content:space-between;margin-bottom:4px;font-size:.78rem;display:flex}.hint-meter-head strong{color:#e8e8e8}.hint-meter-track{background:#ffffff14;border-radius:4px;height:8px;overflow:hidden}.hint-meter-fill{border-radius:4px;height:100%}.hint-meter-equity{background:#7bf5a0}.hint-meter-odds{background:#f5d67b}.hint-reason{margin:0;font-size:.88rem;line-height:1.45}.hint-meta{color:#9aa5b1;margin:0;font-size:.75rem}.raise-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.raise-amount{text-align:center;color:#f5d67b;min-width:32px;font-weight:600}.preset-buttons{gap:6px;display:flex}.btn-preset{background:#333c4d;padding:6px 10px;font-size:.85rem}.btn-preset:hover{background:#44506a}.hud{color:#c8d1dc;cursor:pointer;white-space:nowrap;background:#00000059;border:1px solid #3a4250;border-radius:5px;align-items:baseline;gap:5px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem;line-height:1.1;display:flex}.hud:hover{border-color:#6fb6ff}.hud-pair{font-weight:700}.hud-sep{color:#6b7684;margin:0 1px}.hud-af{color:#9aa5b1}.hud-ok{color:#7bf5a0}.hud-low,.hud-high{color:#f5b26b}.hud-unknown,.hud-waiting{color:#6b7684}.opponent-overlay{z-index:30;background:#0009;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.opponent-panel{background:#171b22;border:1px solid #3a4250;border-radius:12px;width:min(520px,100%);max-height:88vh;padding:16px 18px;overflow-y:auto}.opponent-head{justify-content:space-between;align-items:center;display:flex}.opponent-head h3{margin:0}.opponent-close{color:#9aa5b1;cursor:pointer;background:0 0;border:none;font-size:1.5rem;line-height:1}.opponent-sample{color:#9aa5b1;margin:4px 0 12px;font-size:.78rem}.opponent-metrics{flex-direction:column;gap:10px;display:flex}.opponent-answer-ask{border-top:1px solid #2a303a;margin-top:16px;padding-top:12px}.opponent-answer-ask p{color:#c8d1dc;margin:0 0 8px;font-size:.85rem}.opponent-answer-ask button{color:#e6ebf2;cursor:pointer;background:#2a3542;border:1px solid #46536a;border-radius:6px;padding:6px 14px}.opponent-answer-ask button:disabled{opacity:.6;cursor:default}.opponent-answer{background:#6fb6ff1a;border:1px solid #6fb6ff59;border-radius:8px;margin-top:16px;padding:12px 14px}.opponent-answer-label{color:#9ad1ff;margin-bottom:6px;font-weight:700}.opponent-answer p{margin:0;font-size:.88rem;line-height:1.5}.opponent-error{color:#ff8a8a;margin-top:8px;font-size:.8rem}
