:root{color:#26382f;font-synthesis:none;--accent:#246c57;--muted:#687264;--line:#d4d8cb;--radius:12px;--space:24px;--shadow:0 14px 40px #4338220e;--motion:.18s;background:#f5f2e9;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);color:inherit;transition:background var(--motion);background:#fcfbf6;border-radius:7px;padding:12px 16px}button:hover:not(:disabled){background:#e9eee3}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #55a98e}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover:not(:disabled){background:#194d3e}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;max-width:1192px;margin:auto;padding:30px 32px;display:flex}.brand{letter-spacing:.08em;font-family:serif;font-size:28px;font-weight:700}.brand small{letter-spacing:.12em;color:var(--muted);margin-left:18px;font:12px system-ui}.header-note{color:var(--muted);font-size:12px}main{max-width:1192px;margin:auto;padding:38px 32px 50px}.intro{justify-content:space-between;align-items:baseline;margin-bottom:26px;display:flex}h1{letter-spacing:-.05em;margin:0 0 7px;font-family:serif;font-size:30px;font-weight:500}p{line-height:1.65}.intro p{color:var(--muted);margin:0;font-size:14px}.eyebrow{letter-spacing:.16em;color:var(--accent);font-size:11px;font-weight:700}.layout{grid-template-columns:minmax(0,704px) minmax(260px,1fr);align-items:start;gap:38px;display:grid}.board-wrap{min-width:0}.board{width:100%;box-shadow:var(--shadow);touch-action:manipulation;border-radius:8px;outline:none;display:block}.board:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.keyboard-marker{visibility:hidden}.board:focus-visible .keyboard-marker{visibility:visible}.coordinate{fill:#736247;font-size:12px}.board-caption{color:var(--muted);justify-content:space-between;padding:15px 0;font-size:12px;display:flex}.panel{padding:5px 0}.status{border-bottom:1px solid var(--line);margin-bottom:24px;padding:22px 0 26px}.status h2{letter-spacing:-.04em;margin:14px 0 7px;font-size:23px;font-weight:550}.status p{color:var(--muted);margin:0;font-size:13px}.stone-dot{vertical-align:-1px;background:#25322b;border-radius:50%;width:13px;height:13px;margin-right:7px;display:inline-block}.stone-dot.white{background:#fff;border:1px solid #b3b8ad}label{margin-bottom:20px;font-size:13px;display:block}select{border:1px solid var(--line);width:100%;color:inherit;background:#fcfbf6;border-radius:7px;margin-top:8px;padding:12px;display:block}.actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.actions>.primary{grid-column:1/-1}.options{border-top:1px solid var(--line);flex-wrap:wrap;gap:16px;margin-top:26px;padding-top:22px;display:flex}.options label{color:var(--muted);align-items:center;gap:5px;margin:0;font-size:12px;display:flex}input{accent-color:var(--accent)}.help{color:var(--muted);margin-top:24px;font-size:12px;line-height:1.9}.notice{background:#e7ede1;border-radius:7px;margin-bottom:18px;padding:12px;font-size:13px}.review{border-top:1px solid var(--line);margin-top:18px;padding:18px 0}.review nav{gap:6px;margin:12px 0;display:flex}.review button{padding:9px 12px}.resume{border:1px solid var(--line);border-radius:var(--radius);background:#e9eee1;margin-bottom:24px;padding:20px}.resume button{margin-right:8px}.touch-confirm{width:100%;margin-top:4px}footer{border-top:1px solid var(--line);max-width:1128px;color:var(--muted);justify-content:space-between;margin:10px auto 30px;padding-top:20px;font-size:11px;display:flex}dialog{border:1px solid var(--line);background:#f5f2e9;border-radius:12px;max-width:calc(100% - 32px);padding:28px}dialog::backdrop{background:#18271d66}dialog button{margin-right:8px}.reduce *{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media (width<=800px){header{padding:20px}.brand small{margin-left:10px}.header-note{display:none}main{padding:26px 18px}.layout{grid-template-columns:1fr;gap:12px}.intro{margin-bottom:20px}.intro .eyebrow{display:none}.panel{flex-direction:column;display:flex}.status{margin-bottom:18px;padding:12px 0 18px}.status h2{font-size:21px}h1{font-size:26px}.options{margin-top:20px}footer{margin:10px 18px 24px}.help{margin-bottom:0}.actions{margin-top:6px}}.victory-dialog{color:#292e28;overscroll-behavior:contain;background:#fffefb;border:1px solid #e3e5dc;border-radius:26px;width:600px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:28px 34px 24px;animation:.22s ease-out victory-enter;box-shadow:0 24px 100px #18271d33}.victory-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#28362b66}.victory-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.victory-header h2{letter-spacing:-.05em;margin:0;font-size:23px}.victory-dialog button{margin:0}.victory-close{color:#72796c;background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:6px;display:grid}.victory-dialog svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:24px;height:24px}.victory-content{text-align:center;padding-top:28px}.victory-emblem{color:#697161;background:#edf2e7;border-radius:50%;place-items:center;width:108px;height:108px;margin:0 auto 30px;display:grid}.victory-emblem svg{stroke-width:3.5px;width:52px;height:52px}.victory-eyebrow{letter-spacing:.23em;color:#72776e;margin:0 0 15px;font-size:11px;font-weight:700}.victory-content h3{letter-spacing:-.055em;word-break:keep-all;margin:0 0 14px;font-size:clamp(23px,4.3vw,31px);line-height:1.4}.victory-summary{color:#75796f;word-break:keep-all;margin:0 0 15px;font-size:16px}.victory-badge{color:#717969;background:#f2f4eb;border-radius:9px;margin:0;padding:9px 17px;font-size:14px;display:inline-block}.victory-swap{color:#747a6f;cursor:pointer;justify-content:center;align-items:center;gap:12px;margin:38px 0;font-size:15px;display:flex}.victory-swap input{cursor:pointer;width:22px;height:22px;margin:0}.victory-swap input:focus-visible{outline-offset:3px;outline:3px solid #55a98e}.victory-actions{gap:13px;display:grid}.victory-actions button{color:#65735d;background:#fffefb;border-color:#dfe2d7;border-radius:14px;justify-content:center;align-items:center;gap:14px;width:100%;min-height:64px;padding:16px;font-size:18px;font-weight:650;display:flex}.victory-actions .primary{color:#fff;background:#204e3f;border-color:#204e3f}.victory-footnote{color:#83877c;word-break:keep-all;border-top:1px solid #e9eae3;margin:26px 0 0;padding-top:18px;font-size:12px}@keyframes victory-enter{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (height<=780px) and (width>=481px){.victory-dialog{padding:20px 34px}.victory-content{padding-top:18px}.victory-emblem{width:84px;height:84px;margin-bottom:20px}.victory-emblem svg{width:44px;height:44px}.victory-swap{margin:26px 0}.victory-footnote{margin-top:20px;padding-top:16px}}@media (width<=480px){.victory-dialog{border-radius:22px;padding:20px}.victory-header h2{font-size:20px}.victory-content{padding-top:18px}.victory-emblem{width:84px;height:84px;margin-bottom:24px}.victory-emblem svg{width:44px;height:44px}.victory-eyebrow{letter-spacing:.18em;font-size:9px}.victory-summary{font-size:14px}.victory-swap{margin:28px 0;font-size:14px}.victory-actions button{min-height:56px;font-size:16px}.victory-footnote{margin-top:22px;font-size:11px}}@media (prefers-reduced-motion:reduce){.victory-dialog{animation:none}}
