:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14120f;--panel:#201b17eb;--line:#f4ecdf1a;--text:#f4ecdf;--muted:#b7a894;--gold:#e2b657;--good:#9dceb0;--danger:#e08b7a;--shadow:0 28px 70px #00000061;color:var(--text);background:var(--bg);font-family:Outfit,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(900px 480px at 0% -10%, #e2b65729, transparent 55%), radial-gradient(800px 420px at 100% 0%, #6d8f7338, transparent 50%), var(--bg);min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.page{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 48px}.topbar{justify-content:space-between;align-items:end;gap:32px;margin-bottom:28px;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.menu{gap:8px;display:flex}.menu button{color:var(--text);background:#f4ecdf14;border:0;border-radius:999px;padding:10px 16px}.menu button.primary{color:#23190d;background:var(--gold)}.menu button:not(.primary):hover{background:#f4ecdf29}.menu button.primary:hover{background:#efc56d}.eyebrow{color:var(--gold);letter-spacing:.14em;text-transform:uppercase;margin:0 0 6px;font-size:.78rem;font-weight:640}h1,h2,.san,.san-button{font-family:Fraunces,Georgia,serif;font-weight:560}h1{letter-spacing:-.04em;margin:0;font-size:clamp(2.4rem,5vw,4.2rem);line-height:.9}.lede{max-width:420px;color:var(--muted);margin:0;line-height:1.5}.layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:28px;display:grid}.page:has(.layout){flex-direction:column;height:100dvh;max-height:100dvh;padding:12px 0 8px;display:flex;overflow:hidden}.page:has(.layout) h1{font-size:clamp(1.7rem,2.2vw,2.25rem)}.page:has(.layout) .eyebrow{margin-bottom:2px}.page:has(.layout) .topbar{gap:16px;margin-bottom:10px}.page:has(.layout) .layout{flex:auto;align-items:stretch;gap:16px;min-height:0}.board-column{min-width:0;min-height:0;container-type:size}.board-stack{flex-direction:column;width:min(100cqw,100cqh - 72px);max-width:100%;display:flex}.board-frame{width:100%;box-shadow:var(--shadow);background:linear-gradient(145deg,#ffeccd2e,#0000 28%),linear-gradient(160deg,#8d5a34,#3a2618 48%,#6a4128);border-radius:22px;padding:12px;position:relative}.board-wrap{aspect-ratio:1;width:100%;position:relative}.board-frame.dropping{outline:3px solid var(--gold);outline-offset:3px}.edit-grid{grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);display:grid;position:absolute;inset:0}.edit-grid button{background:0 0;border:0;border-radius:0;padding:0}.edit-grid button:hover,.edit-grid button:focus-visible{background:#e2b65761}.capture-actions,.piece-palette{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.capture-actions button,.piece-palette button{color:var(--text);background:#f4ecdf14;border:0;border-radius:999px;padding:10px 16px}.capture-actions button:not(:disabled):hover,.piece-palette button:not([aria-pressed=true]):hover{background:#f4ecdf29}.capture-actions button.primary{color:#23190d;background:var(--gold)}.piece-palette button{border-radius:12px;width:42px;height:42px;padding:0;font-size:1.45rem;line-height:1}.piece-palette button.light{color:#1a1814;background:#efe6d2}.piece-palette button.dark{color:#efe6d2;background:#243028}.piece-palette button[aria-pressed=true]{outline:2px solid var(--gold);outline-offset:2px}.piece-palette button.palette-empty{width:auto;padding:0 12px;font-size:.95rem}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page:has(.layout) .panel{scrollbar-width:none;align-content:start;align-self:start;height:auto;min-height:0;max-height:100%;overflow:auto}.page:has(.layout) .panel::-webkit-scrollbar{width:0;height:0}.toolbar{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.toolbar button,.primary,.promotion button{color:var(--text);background:#f4ecdf14;border:0;border-radius:999px;padding:10px 16px}.toolbar button:not(:disabled):hover,.promotion button:hover,.text-button:not(:disabled):hover,.series-card:hover{background:#f4ecdf29}.toolbar button.primary{color:#23190d;background:var(--gold)}.toolbar button.primary:not(:disabled):hover{background:#efc56d}.finish{flex:auto}.starter-choices{gap:8px;display:flex}.starter-choices button{color:var(--text);background:#f4ecdf14;border:0;border-radius:999px;padding:10px 16px}.starter-choices button.primary{color:#23190d;background:var(--gold)}.starter-choices button:not(.primary):hover{background:#f4ecdf29}.panel{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:22px;gap:18px;padding:22px;display:grid}.turn{align-items:center;gap:12px;display:flex}.turn strong,.turn span{display:block}.turn span{color:var(--muted);margin-top:2px}.dot{border-radius:50%;width:18px;height:18px;box-shadow:inset 0 0 0 1px #00000059}.dot.light{background:#f4ecdf}.dot.dark{background:#1a1814}.suggestion{border-bottom:1px solid var(--line);padding-bottom:8px}.san{letter-spacing:-.04em;margin:0 0 14px;font-size:4rem;line-height:.9}.primary{color:#23190d;background:var(--gold);font-weight:640}.primary:not(:disabled):hover{background:#efc56d}.empty,.footnote,.notice,.error{margin:0;line-height:1.5}.empty,.footnote{color:var(--muted)}.notice{color:var(--good)}.error{color:var(--danger)}.section-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}h2{margin:0;font-size:1.35rem}.section-head span{color:var(--muted)}.moves{margin:12px 0 0;padding:0;list-style:none}.moves li{border-top:1px solid var(--line);grid-template-columns:auto auto 1fr;align-items:center;gap:8px;padding:8px 0;display:grid}.san-button,.text-button{color:var(--text);background:0 0;border:0}.san-button{padding:0;font-size:1.35rem}.san-button:not(:disabled):hover{color:var(--gold)}.badge{color:#23190d;background:var(--gold);border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:640}.row-actions{justify-content:flex-end;gap:8px;display:flex}.text-button{color:var(--muted);border-radius:999px;padding:4px 8px}.text-button.danger{color:var(--danger)}.icon-button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:999px;place-items:center;margin:0 4px 8px;padding:0;display:inline-grid}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.icon-button:not(:disabled):hover{color:var(--text);background:#f4ecdf1f}.icon-button.danger{color:var(--danger)}.icon-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.promotion{background:#14120fb8;border-radius:6px;align-content:center;justify-items:center;gap:14px;display:grid;position:absolute;inset:12px}.promotion p{margin:0;font-family:Fraunces,Georgia,serif;font-size:1.8rem}.promotion-choices{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.footnote{font-size:.85rem}.page.home{width:min(760px,100% - 32px)}.home-lede{max-width:38rem;margin-bottom:22px}.start{margin-bottom:28px;padding:16px 22px;font-size:1.05rem}.home-notice{margin:-8px 0 22px}.folder-create{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.folder-block{margin-top:28px}.folder-block .series-list{margin-top:8px}.folder-heading{flex-wrap:wrap;align-items:center;gap:2px 4px;min-width:0;display:flex}.folder-block .section-head{align-items:center}.folder-heading .rename-form{flex:220px;margin:0;padding:0}.folder-actions{flex-wrap:wrap;align-items:center;gap:4px;margin:0;display:flex}.folder-actions .icon-button{margin:0}.folder-assign{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;padding:0 12px 4px;display:flex}.folder-assign select{font:inherit;color:var(--text);border:1px solid var(--line);background:#14120f73;border-radius:999px;max-width:100%;padding:8px 12px}.folder-assign select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.series-icons{flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.series-icon{border:1px solid var(--line);max-width:100%;color:inherit;background:#f4ecdf0f;border-radius:999px;align-items:center;gap:8px;padding:6px 12px 6px 6px;display:inline-flex}.series-icon:hover{background:#f4ecdf24}.series-icon span:last-child{font-size:.92rem;line-height:1.2}.series-icon-mark{background:radial-gradient(circle at 35% 30%,#fff,#efe6d2 42%,#c8b89a);border-radius:50%;flex:none;width:22px;height:22px;box-shadow:inset 0 -2px #0000002e}.series-icon-mark.dark{background:radial-gradient(circle at 35% 30%,#6d8f73,#243028 55%,#121614)}.series-list{gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.series-list li{border:1px solid var(--line);background:var(--panel);border-radius:18px}.series-card{width:100%;color:inherit;text-align:left;background:0 0;border:0;gap:6px;padding:16px 18px 8px;display:grid}.series-card strong{font-family:Fraunces,Georgia,serif;font-size:1.35rem;font-weight:560}.series-list .text-button{margin:0 10px 10px}.series-list .icon-button{margin:0 4px 10px}.series-list .icon-button:first-of-type{margin-left:10px}.rename-form{flex-wrap:wrap;align-items:center;gap:8px;padding:0 12px 12px;display:flex}.review-rename{margin-top:8px;padding:0}.review-title{flex-wrap:wrap;align-items:baseline;gap:8px 16px;display:flex}.review-title .text-button{margin:0}.name-input{border:1px solid var(--line);min-width:0;color:var(--text);background:#14120f73;border-radius:999px;flex:180px;padding:8px 12px}.title-input{border-radius:16px;flex:280px;font-family:Fraunces,Georgia,serif;font-size:2rem}.name-dialog-backdrop{z-index:20;background:#0c0a08b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.name-dialog{border:1px solid var(--line);background:var(--panel);width:min(420px,100%);box-shadow:var(--shadow);border-radius:22px;gap:14px;padding:22px;display:grid}.name-dialog h2{margin:0;font-family:Fraunces,Georgia,serif;font-size:1.8rem;font-weight:560}.name-dialog .name-input{border-radius:16px;width:100%}.name-dialog-actions{justify-content:flex-end;gap:8px;display:flex}.name-dialog-actions button{color:var(--text);background:#f4ecdf14;border:0;border-radius:999px;padding:10px 16px}.name-dialog-actions button.primary{color:#23190d;background:var(--gold)}.name-dialog-actions button:not(:disabled):hover{background:#f4ecdf29}.name-dialog-actions button.primary:not(:disabled):hover{background:#efc56d}.name-input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.preview,.meta{color:var(--muted);line-height:1.45}.preview.large{color:var(--text);margin:0;font-family:Fraunces,Georgia,serif;font-size:1.55rem}.move-pairs{gap:8px;margin:0;padding:0;list-style:none;display:grid}.move-pair{grid-template-columns:2rem 1fr 1fr;align-items:center;gap:8px;display:grid}.move-number{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}.move-san{border-radius:999px;place-items:center;min-height:2.2rem;font-family:Fraunces,Georgia,serif;font-size:1.2rem;display:grid}.move-san.white{color:#23190d;background:#efe6d2}.move-san.black{color:#efe6d2;background:#243028}.move-san.pending{background:0 0}.count{margin:0;font-family:Fraunces,Georgia,serif;font-size:2.6rem;line-height:.95}.leave{justify-self:start;padding-left:0}.continuations{gap:10px;margin:14px 0 0;padding:0;list-style:none;display:grid}.continuation{border:1px solid var(--line);width:100%;color:inherit;text-align:left;background:0 0;border-radius:16px;grid-template-columns:14px 1fr;align-items:center;gap:2px 12px;padding:12px 14px;display:grid}.continuation:hover{background:#f4ecdf14}.swatch{border-radius:50%;grid-row:1/span 2;width:14px;height:14px}.continuation-san{font-family:Fraunces,Georgia,serif;font-size:2rem;line-height:1}.series-section{margin-top:28px}@media (width<=900px){.topbar,.layout{grid-template-columns:1fr;display:grid}.lede{max-width:none}.page:has(.layout){height:auto;max-height:none;display:block;overflow:visible}.board-column{container-type:normal}.board-stack,.board-wrap{width:100%}}
