:root{font-family:Georgia,serif;color:#243d35;background:#eee9db;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 10% 0,#fffdf2,transparent 55%),#eee9db}main{max-width:1180px;margin:auto;padding:42px 38px 24px}header{display:flex;justify-content:space-between;align-items:center;gap:24px}.eyebrow,footer,.tablehead,.tablelabel,.asidehead{font:11px/1.5 ui-monospace,monospace;letter-spacing:2px}.eyebrow{color:#667367}h1{font-size:58px;font-weight:400;margin:12px 0;line-height:1}h1 span{display:block;font-size:19px;font-style:italic;color:#65756a;letter-spacing:1px;margin:12px 0}.intro{line-height:1.65;font-size:15px}.topnav{display:flex;gap:8px;align-self:flex-start;margin-top:20px}button,a{touch-action:manipulation}button{font:13px system-ui;cursor:pointer;padding:12px 17px;color:#28483a;border:1px solid #a5b09d;background:#f9f7ee;border-radius:6px}button:hover:not(:disabled){background:#e1e9d7}button:focus-visible,a:focus-visible{outline:3px solid #e4a446;outline-offset:4px}button:disabled{opacity:.4;cursor:default}.primary{background:#275843;color:#fff;border-color:#275843}.primary:hover:not(:disabled){background:#326c50}.scores{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #b7bba9;border-bottom:1px solid #b7bba9;margin:24px 0 22px}.score{padding:15px 20px;border-left:1px solid #c8c9b9;display:flex;flex-direction:column;gap:6px}.score:first-child{border:0}.score.human{background:#dce5d4}.score span{font:12px system-ui}.score strong{font-size:30px;font-weight:400}.score strong small{font:12px system-ui;color:#607362}.score em{font:11px system-ui;color:#667363}.tablehead{display:flex;justify-content:space-between;letter-spacing:1px;margin-bottom:12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px}.felt{background:repeating-linear-gradient(105deg,#254d3f,#254d3f 2px,#274f41 3px,#274f41 5px);border:9px solid #a48157;box-shadow:0 8px 22px #172d1e18,inset 0 0 50px #102e2670;border-radius:13px;padding:22px 22px 14px;color:#f3f2dc}.tablelabel{display:flex;justify-content:space-between;font-size:10px;color:#c3d3b5;margin:0 0 14px;letter-spacing:1px}.row{display:flex;gap:12px;align-items:center;padding:8px 0}.rowname{width:38px;flex-shrink:0;display:flex;flex-direction:column;gap:5px}.rowname b{font-weight:400;font-size:21px}.rowname small{font:10px system-ui;color:#cad7c3}.slots{display:flex;gap:8px;flex:1;min-width:0}.card,.slot{width:64px;height:87px;flex-shrink:0;border-radius:5px}.card{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;background:#fffbed;color:#254c40;border:1px solid #c5c0a8;padding:7px 3px 6px;box-shadow:0 3px 0 #142d2625;font-family:Georgia}.card b{font-size:30px;font-weight:400;line-height:1.1}.card small{font:8px system-ui;letter-spacing:1px;text-align:center}.card i{display:block;font:9px system-ui;font-style:normal;letter-spacing:0;margin-top:3px}.p2{color:#7e5426;background:#fff5d9}.p3{color:#925126;background:#ffebd2}.p5{color:#854940;background:#fbe2d6}.p7{color:#8b3260;background:#f4ddeb}.slot{border:1px dashed #8ba58e50;display:grid;place-items:center;color:#c4d1b955}.take{font-size:12px;padding:10px 8px;width:65px;border-color:#cfdfaf;background:#dfebc6}.take span{display:block;font-size:10px}.take:disabled{opacity:.32;background:transparent;color:#d1e2c2}.tabletip{font:11px/1.8 system-ui;color:#d5dfce;text-align:center;margin:12px 0 0}aside{padding:18px;background:#e4e3d4;border:1px solid #c6cab8;border-radius:6px}.asidehead{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#5f7264}#reveal{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}#reveal>div{display:flex;flex-direction:column;align-items:center;gap:7px}#reveal>div>small{font:11px system-ui}#reveal>p{grid-column:span 2;line-height:1.8;text-align:center;color:#697868}#history{padding-left:16px;font:11px/1.9 system-ui;color:#526755}.rivalnote{font:11px/1.8 system-ui;border-top:1px solid #c8cbba;padding-top:12px;color:#617263}.handarea{margin-top:25px}.handhead{display:flex;justify-content:space-between;align-items:center}.handhead h2{font-size:24px;font-weight:400;margin:0}.handhead span{font:11px system-ui;color:#617364}#status{font:13px/1.5 system-ui;margin:12px 0 17px;min-height:20px}.hand{display:flex;gap:11px;flex-wrap:wrap;min-height:97px}.hand button.card{transition:transform .15s,border .15s}.hand button.card:hover{transform:translateY(-6px);background:#fff9df}.hand .chosen{transform:translateY(-7px);outline:3px solid #ba8d3e;outline-offset:2px}.actions{display:flex;gap:10px;margin-top:15px}footer{border-top:1px solid #c8c9b8;display:flex;justify-content:space-between;margin-top:36px;padding-top:18px;font-size:9px;letter-spacing:1px}a{color:#3d6450}dialog{max-width:560px;width:calc(100% - 32px);background:#faf7e9;color:#274334;border:1px solid #b7b998;border-radius:10px;padding:28px;box-shadow:0 15px 100px #122e3250;font:14px/1.8 system-ui}dialog::backdrop{background:#162d2799}dialog h2{font:30px Georgia;margin:10px 0}dialog li{margin-bottom:9px}dialog button{margin:6px 6px 0 0}#result{padding:24px;background:#d7e5cd;border:1px solid #9cb28f;border-radius:8px;margin-top:20px;text-align:center}#result>span{font:10px ui-monospace;letter-spacing:2px}#result h2{font:28px Georgia}[hidden]{display:none!important}@media(max-width:1000px){main{padding:28px 20px}.layout{grid-template-columns:minmax(0,1fr)}aside{display:grid;grid-template-columns:150px 1fr;gap:12px}.asidehead{grid-column:span 2}#reveal{display:flex;margin:0;gap:14px;grid-column:span 2}#reveal .card{width:48px;height:62px}#reveal .card b{font-size:22px}.rivalnote{margin:0}#history{margin:0}.slots{gap:7px}.row{gap:10px}.card,.slot{width:62px}}@media(max-width:560px){main{padding:22px 12px}header{display:block}h1{font-size:45px}.topnav{margin:16px 0}.scores{margin:20px 0 17px}.score{padding:12px 8px}.score span{font-size:10px}.score strong{font-size:26px}.score strong small{font-size:10px}.tablehead{font-size:9px;letter-spacing:0}.felt{border-width:6px;padding:15px 8px 10px}.row{gap:5px}.rowname{width:23px}.rowname b{font-size:17px}.rowname small{font-size:8px}.slots{gap:4px}.slots .card,.slot{width:39px;height:61px}.slots .card b{font-size:22px}.slots .card small{font-size:5px;letter-spacing:0}.slots .card i{font-size:7px}.take{width:47px;padding:8px 2px;font-size:10px}.take span{font-size:8px}.tablelabel{font-size:8px;letter-spacing:0}.hand{gap:8px}.hand .card{width:57px;height:80px}.handhead span{font-size:9px}.tabletip{font-size:10px}footer{gap:12px;line-height:1.7}aside{padding:12px}.rivalnote{font-size:10px}}
@media(min-width:1001px){main{padding-top:24px}h1{font-size:46px;margin:8px 0}h1 span{font-size:17px;margin:8px 0}.intro{margin:8px 0;font-size:13px}.scores{margin:18px 0 16px}.score{padding:10px 20px;gap:4px}.score strong{font-size:26px}.felt{padding:15px 22px 10px}.slots .card,.slot{height:68px}.slots .card b{font-size:26px}.row{padding:6px 0}.tabletip{margin-top:8px}.handarea{margin-top:18px}.hand .card{height:75px}.hand{min-height:80px}#status{margin:10px 0 13px}.actions{margin-top:12px}footer{margin-top:24px}}
