@font-face{font-family:DM Sans;src:url('/assets/dm-sans.woff2')}@font-face{font-family:Instrument Serif;src:url('/assets/instrument-serif.woff2')} :root{font-family:DM Sans,Arial,sans-serif;color:#f8f5eb;background:#101b18;font-synthesis:none;--ink:#17221e;--cream:#f5f0e4;--gold:#d3b572;--felt:#1d5141;--line:#ffffff22}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 0,#253a31 0,transparent 52%),#101b18;color:var(--cream);font-size:16px}.top{height:76px;padding:0 max(26px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14}.brand{display:flex;align-items:center;color:var(--cream);text-decoration:none;font-size:15px;font-weight:700;letter-spacing:.14em}.brand-games{font-size:12px;color:#b9c4bc;letter-spacing:.12em;margin-left:5px}.brand-icon{width:25px;height:25px;position:relative;margin-right:12px}.brand-icon i{position:absolute;width:10px;height:10px;border-radius:50%;background:#e8d5a4;box-shadow:0 2px 3px #0007}.brand-icon i:nth-child(1){left:1px;top:2px}.brand-icon i:nth-child(2){right:1px;top:2px}.brand-icon i:nth-child(3){left:8px;bottom:1px;background:#9e604d}.top nav{display:flex;gap:8px}button{font:inherit;color:inherit;cursor:pointer}.utility{background:none;border:0;color:#c2c9c2;padding:10px 13px;border-radius:7px;font-size:14px}.utility:hover{background:#ffffff12;color:#fff}.welcome{max-width:560px;margin:48px auto 68px;text-align:center;padding:0 22px}.hero-board{width:112px;height:112px;margin:0 auto 20px;padding:14px;border:1px solid #d3b57255;border-radius:19px;background:linear-gradient(140deg,#653f32,#291e1a);box-shadow:0 16px 38px #0005, inset 0 1px #fff2;transform:rotate(-5deg)}.hero-checkers{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:7px;padding:5px;background:repeating-conic-gradient(#d9c9a5 0 25%,#315344 0 50%) 50%/50% 50%;border:3px solid #bd8b58;border-radius:4px}.hero-checkers i{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3dc,#ead8b4 52%,#b69c71);border:2px solid #fff9;box-shadow:0 2px 4px #0008;align-self:center;justify-self:center}.hero-checkers i:nth-child(2),.hero-checkers i:nth-child(4),.hero-checkers i:nth-child(6){background:radial-gradient(circle at 35% 30%,#d59576,#8e4c3d 55%,#512920)}.hero-checkers .crown{font-style:normal;color:#654b20;display:grid;place-items:center}.overline{color:var(--gold);font-weight:700;font-size:12px;letter-spacing:.2em;margin:0 0 6px}.welcome h1,.intro h1{font:400 clamp(48px,9vw,72px)/.98 Instrument Serif,Georgia,serif;letter-spacing:-.025em;margin:0}.welcome-copy{font:400 23px Instrument Serif,Georgia,serif;margin:13px 0 8px;color:#e8e5da}.welcome-sub{font-size:14px;color:#aebbb2;margin:0 0 27px}.welcome-actions{display:grid;gap:10px}.button{min-height:46px;border-radius:7px;padding:11px 16px;border:1px solid transparent;font-size:15px;font-weight:650;transition:transform .12s,background .12s}.button:hover{transform:translateY(-1px)}.primary{background:#d8bd81;color:#18251e;box-shadow:0 4px 15px #0002}.primary:hover{background:#e6ce97}.outline{background:#ffffff08;border-color:#ffffff35;color:var(--cream)}.outline:hover{background:#ffffff14}.welcome-actions .button{display:flex;justify-content:space-between;align-items:center;text-align:left;min-height:66px;padding:12px 17px}.welcome-actions strong,.welcome-actions small{display:block}.welcome-actions small{font-size:13px;font-weight:400;color:#d6d1c1;margin-top:3px}.welcome-actions .primary small{color:#51452c}.welcome-actions b{font-size:19px;color:#5a4a2b}.honesty{margin:20px auto 0;padding:12px 14px;max-width:420px;display:flex;gap:11px;text-align:left;border:1px solid #ffffff1c;background:#ffffff08;border-radius:9px}.honesty-mark{color:var(--gold);font-size:18px}.honesty strong,.honesty small{display:block}.honesty strong{font-size:13px}.honesty small{color:#b9c3bb;font-size:12px;line-height:1.5;margin-top:3px}main{max-width:1200px;margin:auto;padding:0 24px}.intro{display:flex;align-items:center;justify-content:space-between;margin:35px 0 22px}.intro h1{font-size:43px}.intro .overline{margin-bottom:4px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.felt{padding:clamp(14px,2vw,24px);background:linear-gradient(145deg,#245541,#17392e);border:1px solid #527c5f;border-radius:15px;box-shadow:0 15px 40px #0005,inset 0 1px #ffffff1c}.table-top{display:flex;justify-content:space-between;align-items:center;margin:0 auto 16px;max-width:740px}.seats{display:flex;gap:9px}.seat{display:flex;align-items:center;gap:8px;background:#0c241c78;border:1px solid #ffffff22;border-radius:999px;padding:7px 12px;font-size:13px;color:#d8e1d7}.seat.active{border-color:#e0c681;color:#fff3cd;box-shadow:0 0 0 2px #e0c68118}.piece-dot{width:14px;height:14px;border-radius:50%;background:#eadbb9;border:2px solid #fff9;box-shadow:0 2px 4px #0008}.piece-dot.red{background:#a65d49}.turn{font-size:13px;color:#dfddcf;display:flex;align-items:center;gap:8px}.turn i{width:8px;height:8px;border-radius:50%;background:#d4bc7c}.board-frame{max-width:740px;margin:auto;padding:clamp(7px,1.2vw,14px);border:1px solid #e0c38d;border-radius:9px;background:linear-gradient(140deg,#573a2b,#38251d);box-shadow:0 8px 16px #07160f99,inset 0 1px #ffffff35}.board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;overflow:hidden;border:1px solid #17251e;border-radius:3px}.square{position:relative;aspect-ratio:1;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:#d9c69e;color:#17251e}.square.dark{background:#24513e}.square:focus-visible{outline:3px solid #fff;outline-offset:-4px;z-index:2}.square.selected{box-shadow:inset 0 0 0 4px #e7c872}.square.target::after{content:'';position:absolute;width:27%;height:27%;border-radius:50%;background:#dfc77c;box-shadow:0 0 0 5px #dfc77c48}.square.target.capture::after{width:48%;height:48%;background:#d58b66;box-shadow:0 0 0 4px #eac3a36b}.checker{position:relative;width:72%;height:72%;border-radius:50%;background:radial-gradient(circle at 34% 26%,#fff3d7,#e8d7af 48%,#ad9061 78%,#715b3d);border:3px solid #fff9;box-shadow:0 4px 6px #06150f88,inset 0 -3px 4px #674d2526}.checker.red{background:radial-gradient(circle at 32% 25%,#e3aa8f,#ab604c 52%,#793c31 80%,#4f2b25)}.checker.king:after{content:'✦';position:absolute;inset:0;display:grid;place-items:center;color:#5e4828;font-size:clamp(15px,3vw,27px);text-shadow:0 1px 0 #fff9}.checker.red.king:after{color:#f0dba8}.status{min-height:24px;text-align:center;color:#e1e5d5;font-size:14px;margin-top:14px}.panel{border:1px solid #ffffff20;border-radius:11px;background:#f3efe4;color:#1c2b23;padding:16px;box-shadow:0 8px 20px #0002}.panel+.panel{margin-top:12px}.panel-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1d35241f;padding-bottom:11px;margin-bottom:10px}.panel-heading h2{font:400 23px Instrument Serif,Georgia,serif;margin:0}.panel-heading span{font-size:10px;letter-spacing:.1em;color:#647369}.score-row{display:flex;justify-content:space-between;align-items:center;padding:10px 3px;font-size:14px;border-bottom:1px solid #243a2614}.score-row:last-child{border-bottom:0}.score-left{display:flex;align-items:center;gap:9px}.score-row strong{font-size:17px}.panel-foot{display:flex;justify-content:space-between;border-top:1px solid #1d35241f;padding-top:10px;color:#6c796f;font-size:12px}.yard p{font-size:14px;line-height:1.6;color:#56635a;margin:10px 0 14px}.yard .button{width:100%;color:#1d3127;border-color:#758477}.table-tools{display:flex;justify-content:space-between;padding:13px 5px}.table-tools .utility{color:#ccd3cb}.intro>.button{min-width:130px}footer{margin:30px 0 18px;padding-top:14px;border-top:1px solid #ffffff19;color:#929e95;font-size:11px;display:flex;justify-content:space-between;gap:10px}footer a{color:#d0c39e;text-decoration:none;font-size:10px;letter-spacing:.08em}dialog{border:1px solid #51645a;border-radius:12px;max-width:min(520px,calc(100vw - 28px));width:100%;padding:23px;background:#f5f0e4;color:#1d2b24;box-shadow:0 24px 70px #0009}dialog::backdrop{background:#07110dcc;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-head h2{font:400 29px Instrument Serif,Georgia,serif;margin:0}.close{border:0;border-radius:6px;background:#1c342817;color:#1c3428;font-size:24px;line-height:1;width:36px;height:36px}.rules-list{padding-left:22px;line-height:1.65;color:#48564c}.rules-list li{padding:0 0 8px 4px}.rules-list strong{color:#21332a}.rules-list+p{font-size:14px;color:#687268;line-height:1.55}.option{display:flex;gap:12px;align-items:flex-start;border:1px solid #253c292b;border-radius:8px;padding:12px;margin:9px 0;cursor:pointer}.option:has(input:checked){border-color:#56745a;background:#e6eadc}.option input{margin-top:4px;accent-color:#315842}.option strong,.option small{display:block}.option strong{font-size:14px}.option small{font-size:13px;color:#687268;margin-top:3px}.dialog-head+form label,form#join-form label{display:block;font-size:14px;font-weight:650;margin:12px 0 5px}input[type=text],input:not([type]){width:100%;font:inherit;border:1px solid #b5bcb2;border-radius:6px;padding:11px;background:#fffdf7;color:#1a2a21}fieldset{border:0;padding:0;margin:0 0 15px}legend{font-weight:700;margin:0 0 8px}#setup>.primary,#join-form .primary{width:100%;margin-top:9px}.error{color:#a0332a;font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;background:#f5f0e4;color:#1a2a21;border-radius:7px;padding:10px 15px;box-shadow:0 7px 25px #0006;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:820px){.layout{grid-template-columns:1fr}.layout aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}.panel+.panel{margin-top:0}.table-tools{grid-column:1/-1}.intro{margin-top:25px}}@media(max-width:560px){.top{height:62px;padding:0 14px}.brand{font-size:13px}.brand-games{font-size:10px}.top nav{gap:0}.utility{font-size:12px;padding:9px}.welcome{margin:32px auto 42px}.hero-board{width:94px;height:94px;margin-bottom:16px}.welcome h1{font-size:58px}.welcome-copy{font-size:21px}.welcome-sub{font-size:13px}.intro{margin:23px 0 15px}.intro h1{font-size:37px}.intro>.button{min-width:0;font-size:13px;padding:9px 12px}.layout{gap:12px}.felt{padding:10px}.table-top{margin-bottom:10px}.board-frame{padding:6px}.checker{border-width:2px}.square.selected{box-shadow:inset 0 0 0 3px #e7c872}.square.target::after{box-shadow:0 0 0 3px #dfc77c48}.square.target.capture::after{box-shadow:0 0 0 3px #eac3a36b}.status{font-size:12px;margin-top:10px;min-height:18px}.seat{font-size:11px;padding:6px 9px}.turn{font-size:11px}.layout aside{grid-template-columns:1fr}.panel+.panel{margin-top:0}.table-tools{grid-column:auto;padding:4px 0}footer{flex-wrap:wrap;font-size:10px}footer span:nth-child(2){order:3;width:100%}}.victory-confetti{position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;pointer-events:none}
/* Turned wooden counters: flat recessed faces, concentric grooves and a ridged rim. */
.checker{box-sizing:border-box;width:76%;height:76%;border:0;background:repeating-conic-gradient(#b59460 0deg 5deg,#e2c897 5deg 10deg);box-shadow:0 5px 0 #8f7046,0 8px 8px #0007;touch-action:none;user-select:none;cursor:grab}
.checker:before{content:'';position:absolute;inset:9%;border-radius:50%;background:radial-gradient(ellipse at 35% 25%,#f4dfb6,#d4b47c);border:2px solid #a38250;box-shadow:inset 0 0 0 3px #ebce97,inset 0 0 0 5px #b2925f,inset 0 2px 5px #795b3544}
.checker.red{background:repeating-conic-gradient(#542a23 0deg 5deg,#a95b45 5deg 10deg);box-shadow:0 5px 0 #42231e,0 8px 8px #0007}
.checker.red:before{background:radial-gradient(ellipse at 35% 25%,#b96a51,#793c30);border-color:#542a23;box-shadow:inset 0 0 0 3px #b16b50,inset 0 0 0 5px #653126,inset 0 2px 5px #30150f66}
.checker.king{box-shadow:0 4px 0 #b59460,0 7px 0 #ead0a1,0 10px 0 #8f7046,0 13px 9px #0007;transform:translateY(-3px)}
.checker.red.king{box-shadow:0 4px 0 #542a23,0 7px 0 #a95b45,0 10px 0 #42231e,0 13px 9px #0007}
.checker.king:after{content:'♛';font-size:clamp(16px,3vw,28px)}
.square{touch-action:none}
