:root{color-scheme:dark;--bg:#101411;--panel:#191e19;--line:#30372f;--ink:#eef1e9;--muted:#a1ac9c;--accent:#c7ef88;--raise:#b6d87f;--call:#647969;--fold:#303931}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{border:1px solid var(--line);background:var(--panel);border-radius:9px;padding:11px 17px;transition:background .15s}button:hover{background:#293225}button:disabled{opacity:.4;cursor:default}a{color:var(--accent)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(34px,5vw,56px);line-height:1.08;font-weight:550;letter-spacing:-2px;margin-bottom:20px}h2{font-weight:550;letter-spacing:-.6px;font-size:28px}h3{font-size:17px;font-weight:550}small,.muted{color:var(--muted)}.wrap{max-width:1160px;padding:0 36px;margin:auto}.top{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.brand{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;font-weight:650;font-size:17px;letter-spacing:-.3px}.logo{color:var(--accent);font-size:32px}.nav{display:flex;gap:6px}.nav button{border:0;background:none;color:var(--muted);font-size:13px;padding:9px 12px}.nav button.active{color:var(--accent);background:#242e20}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:var(--accent);font-weight:650;margin-bottom:20px}.hero{display:grid;grid-template-columns:1.5fr 1fr;gap:80px;padding:60px 0 38px;align-items:center}.hero p{color:var(--muted);max-width:470px;font-size:16px}.tag{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:30px;padding:4px 10px;font-size:11px;color:var(--muted);gap:6px}.dot{width:6px;height:6px;background:var(--accent);border-radius:50%}.metrics{display:grid;grid-template-columns:repeat(3,1fr);background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px 16px}.metric{text-align:center;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric strong{display:block;font-size:28px;font-weight:500;color:var(--accent)}.metric span{font-size:11px;color:var(--muted)}.section-title{display:flex;align-items:center;justify-content:space-between;margin:20px 0 16px}.section-title h2{font-size:20px;margin:0}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.mode{display:block;text-align:left;min-height:176px;padding:24px;border-radius:13px;background:var(--panel);position:relative}.mode:hover{border-color:#677d50}.mode .num{font-size:11px;color:var(--muted);font-family:monospace;margin-bottom:24px;display:block}.mode .arrow{position:absolute;right:23px;top:23px;color:var(--accent)}.mode h3{margin-bottom:7px}.mode p{font-size:13px;color:var(--muted);margin:0;max-width:250px}.mode.first{border-color:#668146;background:#20291a}.footer{display:flex;justify-content:space-between;gap:15px;padding:30px 0;color:var(--muted);font-size:11px}.footer button{background:none;border:0;padding:0;font-size:11px;color:var(--muted)}.primary{background:var(--accent);color:#18200f;border-color:var(--accent);font-weight:600}.primary:hover{background:#d5f7a5}.page{padding:40px 0;max-width:900px;margin:auto}.back{border:0;background:none;padding:0;color:var(--muted);margin-bottom:26px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:24px;margin:15px 0}.choices{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.choices button.selected{border-color:var(--accent);color:var(--accent);background:#27311f}.start{min-width:200px;min-height:56px}.help{font-size:10px;padding:0;width:18px;height:18px;border-radius:50%;margin-left:5px}.definition{padding:10px;background:#293225;color:var(--ink);border-radius:6px;font-size:13px}.session{height:100dvh;min-height:580px;max-width:920px;margin:auto;display:flex;flex-direction:column;padding:15px 24px 12px;overflow:hidden}.session-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.session-head button{border:0;background:none;padding:6px;color:var(--muted)}.progress-track{height:3px;background:var(--line);margin:12px 0 16px;flex-shrink:0}.progress-track i{height:100%;display:block;background:var(--accent)}.session-title{text-align:center;margin:0 0 8px;font-size:17px}.session-label{text-align:center;font-size:11px;color:var(--muted);margin-bottom:10px}.table-space{position:relative;height:204px;flex-shrink:1;min-height:150px;max-width:600px;width:100%;margin:0 auto}.felt{position:absolute;inset:25px 40px 26px;border:6px solid #303a2c;outline:1px solid #45503b;border-radius:50%;background:#1d2b21;display:flex;align-items:center;justify-content:center;flex-direction:column}.pot{font-size:13px;color:var(--accent)}.board{display:flex;gap:4px;margin-top:7px}.seat{position:absolute;text-align:center;min-width:75px;font-size:10px;transform:translate(-50%,-50%);color:var(--muted);padding:5px 7px;background:var(--bg);border-radius:8px;border:1px solid var(--line);line-height:1.35}.seat strong{font-size:11px}.seat.hero-seat{border-color:var(--accent);color:var(--accent);background:#26331d}.seat.folded{opacity:.5}.seat:nth-of-type(2){left:16%;top:19%}.seat:nth-of-type(3){left:50%;top:9%}.seat:nth-of-type(4){left:84%;top:19%}.seat:nth-of-type(5){left:88%;top:78%}.seat:nth-of-type(6){left:50%;top:91%}.seat:nth-of-type(7){left:12%;top:78%}.hero-hand{display:flex;gap:8px;justify-content:center;margin:8px 0 4px}.card{width:62px;height:82px;background:#e7eadf;border:1px solid #b6bfb0;border-radius:7px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:Georgia,serif;line-height:1.05;box-shadow:0 3px 0 #0004;font-size:27px;font-weight:bold}.card .suit{font-size:25px}.board .card{width:30px;height:43px;font-size:16px;border-radius:4px}.board .card .suit{font-size:13px}.spades{color:#18211d}.hearts{color:#bb303d}.diamonds{color:#2460ac}.clubs{color:#237449}.two-color .diamonds{color:#bb303d}.two-color .clubs{color:#18211d}.line{text-align:center;color:var(--muted);font-size:12px;margin:6px 0 8px;min-height:18px}.feedback{flex:1;min-height:116px;overflow:auto;max-height:240px;padding:10px 0}.waiting{text-align:center;color:#788371;font-size:12px;padding-top:20px}.verdict{display:flex;align-items:center;justify-content:space-between;font-size:16px;color:var(--accent);margin-bottom:7px}.verdict.bad{color:#efad99}.grade{border:1px solid var(--line);border-radius:20px;font-size:10px;padding:3px 9px}.freq{display:flex;width:100%;height:26px;overflow:hidden;border-radius:5px;margin-bottom:6px}.freq span{font-size:10px;display:flex;align-items:center;justify-content:center;white-space:nowrap;min-width:0;color:#f0f4ea}.freq .picked{box-shadow:inset 0 0 0 2px #f0f4ea}.freq span[style*="--raise"]{color:#14200e}.feedback p{font-size:12px;margin:4px 0}.source{font-size:10px;color:var(--muted)}.action-zone{padding-top:8px;flex-shrink:0}.actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.actions button{height:56px;font-size:15px;font-weight:600}.actions .aggressive{background:var(--accent);color:#1a2414;border-color:var(--accent)}.actions small{display:block;font-size:10px;font-weight:400}.sizes{display:flex;gap:6px;margin-bottom:9px;height:38px}.sizes button{flex:1;padding:6px 4px;font-size:12px}.sizes button.selected{border-color:var(--accent);color:var(--accent)}.after{display:grid;grid-template-columns:1fr 1.7fr;gap:8px}.after button{min-height:56px}.keyhint{text-align:center;font-size:10px;color:#77836e;margin-top:7px}.quiz{padding:24px 0;flex:1;overflow:auto}.quiz h2{font-size:24px;line-height:1.3}.quiz-options{display:grid;gap:9px}.quiz-options button{min-height:56px;text-align:left}.quiz-options .picked{border-color:var(--accent)}.math-strip{display:flex;gap:8px;justify-content:center;font-size:11px;margin:5px 0;flex-wrap:wrap}.math-strip span{background:var(--panel);padding:4px 8px;border-radius:5px}.grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px;width:100%;margin:15px 0}.cell{padding:0;border:0;aspect-ratio:1;border-radius:3px;font-size:clamp(8px,1.6vw,13px);color:#f3f6ed;position:relative;min-width:0}.cell.highlight{outline:3px solid #eef4e5;outline-offset:-3px;font-weight:bold}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.legend i{width:9px;height:9px;display:inline-block;border-radius:2px;margin-right:5px}.grid-info{font-size:13px;padding:12px;background:#252f22;border-radius:7px}.checks{font-size:12px;display:grid;gap:5px}.check-good{color:var(--accent)}.check-bad{color:#efad99}select{max-width:100%;background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:12px;border-radius:7px}.chart-pickers{display:flex;gap:8px;flex-wrap:wrap}.reading{font-size:16px;line-height:1.8;white-space:pre-wrap}.study-list{display:grid;gap:9px}.study-list button{text-align:left;display:flex;justify-content:space-between;padding:18px}.stats-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 0;font-size:13px}.stats-row:last-child{border:0}.statbar{width:100%;height:4px;background:#30382c}.statbar i{display:block;height:100%;background:var(--accent)}.setting{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.notice{background:#252e20;border:1px solid #495d35;border-radius:8px;padding:14px;font-size:13px}.modal{position:fixed;inset:0;background:#080c09ee;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.modal-content{width:100%;max-width:700px;max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.modal-content .grid{gap:2px}.close{float:right}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--accent);color:#17210e;border-radius:8px;z-index:30;max-width:90vw;font-size:13px}.loading{padding:50px;text-align:center;color:var(--muted)}@media(min-width:800px){.session{padding-top:24px}.table-space{height:245px}.card{height:88px;width:66px}.hero-hand{margin-top:14px}.feedback{padding-top:14px}.session-title{font-size:22px}.actions button{height:60px}}@media(max-width:700px){.wrap{padding:0 20px}.top{height:70px}.nav{gap:0}.nav button{font-size:11px;padding:8px}.nav .optional{display:none}.brand{font-size:14px;gap:7px}.logo{font-size:26px}.hero{grid-template-columns:1fr;gap:20px;padding:34px 0 20px}.hero h1{font-size:38px}.hero p{font-size:14px}.eyebrow{margin-bottom:13px}.metrics{padding:15px 8px}.metric strong{font-size:24px}.modes{grid-template-columns:1fr 1fr;gap:10px}.mode{padding:17px;min-height:174px}.mode h3{font-size:15px}.mode p{font-size:12px}.mode .num{margin-bottom:20px}.mode .arrow{right:16px;top:15px}.footer{flex-wrap:wrap}.session{padding:10px 12px 10px;min-height:560px}.session-head{font-size:10px}.session-title{font-size:16px}.table-space{height:177px}.felt{inset:25px 26px}.seat{min-width:63px;font-size:8px;padding:4px}.seat strong{font-size:10px}.card{width:51px;height:67px;font-size:24px}.card .suit{font-size:22px}.board .card{width:26px;height:37px;font-size:14px}.feedback{min-height:113px}.panel{padding:18px}.page{padding:28px 0}.page h1{font-size:33px}.actions button{padding:7px;font-size:14px}.keyhint{display:none}.freq span{font-size:9px}.session-label{font-size:10px;margin-bottom:3px}.progress-track{margin:8px 0 10px}.cell{font-size:8px}.grid{gap:2px}.reading{font-size:14px}}@media(max-height:700px){.table-space{height:150px;min-height:132px}.session-title{margin-bottom:1px}.hero-hand .card{width:44px;height:57px;font-size:21px}.hero-hand .suit{font-size:19px}.hero-hand{margin:3px 0}.line{margin:3px 0}.feedback{min-height:96px;padding:3px 0}.session-label{margin-bottom:0}.math-strip{margin:2px 0;font-size:10px}.keyhint{display:none}.sizes{height:31px;margin-bottom:6px}.session .progress-track{margin:7px 0}.feedback p{font-size:11px}.source{font-size:9px}.session{min-height:560px}.verdict{font-size:14px;margin-bottom:3px}.freq{height:22px}}
@font-face{font-family:TableBook;src:url('display.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}h1,.mode h3,.brand,.card,.notebook-divider{font-family:TableBook,Georgia,serif}h1{letter-spacing:-1.6px}.mode h3{font-size:20px;letter-spacing:-.6px}.brand{letter-spacing:-.7px}.metric strong,.stats-row,.freq,.grid-info,.checks,.cell,.pot,.session-head{font-variant-numeric:tabular-nums}.top{position:sticky;top:0;z-index:10;background:var(--bg)}.logo{display:flex;width:27px;height:31px}.logo svg{width:100%;height:100%}.ui-icon{width:18px;height:18px;vertical-align:middle;flex-shrink:0}.help{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;width:24px;height:24px;border:1px solid var(--muted);padding:2px}.help .ui-icon{width:19px;height:19px}.mode .num{font-family:inherit;font-variant-numeric:tabular-nums;font-size:12px;color:var(--accent);letter-spacing:1px}.mode{min-height:190px}.choices{max-width:100%;flex-wrap:wrap}.choices button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.notebook{border:0;border-radius:0;padding:14px 0;background:transparent}.notebook-divider{display:flex;align-items:center;gap:16px;font-size:22px}.notebook-divider:after{content:'';height:1px;background:var(--line);flex:1}.notebook .study-list button{background:var(--panel)}.exploit{border-left:2px solid #d4a25c;padding-left:16px}.exploit .notebook-divider,.exploit .eyebrow,.exploit-label{color:#e0b473;border-color:#a77d43}.exploit .notebook-divider:after{background:#705734}.exploit .study-list button{border-color:#705734}.home-game{margin-left:12px;color:#e0b473;border-color:#705734;white-space:nowrap}.byline{font-family:TableBook,Georgia,serif;margin:-7px 0 18px;color:var(--muted)}select{appearance:none;padding-right:38px;background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a1ac9c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m4 7 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center}.setting input[type=checkbox]{appearance:none;width:24px;height:24px;border:1px solid var(--line);border-radius:5px;background:var(--bg);flex-shrink:0}.setting input:checked{background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2318200f' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m5 11 4 4 8-9'/%3E%3C/svg%3E") center;border-color:var(--accent)}.setting input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.felt{border:7px solid #263025;outline:2px solid #151c16;box-shadow:inset 0 0 0 1px #607052,inset 0 8px 18px #0007,0 0 0 1px #46523d;background-color:#1d2b21;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.045' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E")}.pot{display:flex;align-items:center;gap:7px}.chips{display:inline-block;position:relative;width:22px;height:25px}.chips i{position:absolute;bottom:0;left:0;width:22px;height:13px;border:2px dashed #b6d87f;border-radius:50%;background:#33462c;box-shadow:inset 0 0 0 2px #1d2b21}.chips i:nth-child(2){bottom:5px}.chips i:nth-child(3){bottom:10px}.you-marker{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:25px;height:25px;background:var(--accent);color:#17210e;font:700 8px/1 system-ui;margin-left:3px}.card-back{background-color:#26331f;background-image:repeating-linear-gradient(45deg,transparent 0 5px,#c7ef8830 5px 6px),repeating-linear-gradient(-45deg,transparent 0 5px,#c7ef8830 5px 6px);border:3px double #c7ef88}.seat .card-back{display:inline-block;width:12px;height:16px;margin:3px 1px -3px;border-width:1px;border-radius:2px}.deal .hero-hand .card,.deal .board .card{animation:deal-in .2s ease-out both}.deal .hero-hand .card:nth-child(2){animation-delay:60ms}.deal .board .card:nth-child(2){animation-delay:60ms}.deal .board .card:nth-child(3){animation-delay:120ms}.deal .board .card:nth-child(4){animation-delay:180ms}.deal .board .card:nth-child(5){animation-delay:240ms}.feedback.revealed{animation:feedback-in .15s ease-out both}button{transition:none}@keyframes deal-in{from{opacity:0;transform:translate(-10px,-16px) rotate(-6deg)}to{opacity:1;transform:none}}@keyframes feedback-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:700px){.mode h3{font-size:18px}.setting select{max-width:60%}.notebook-divider{font-size:20px}.study-list button{gap:10px}.home-game{margin-left:5px}.byline{font-size:11px}}
