.swhr-seg{border:0;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .9rem;padding:0;display:flex}.swhr-seg legend{width:100%;margin-bottom:.35rem;font-weight:700}.swhr-check{align-items:center;gap:.5rem;min-height:44px;margin:.2rem 0 .8rem;display:flex}.swhr-help{color:var(--sw-muted);max-width:var(--sw-max);margin:.4rem 0}.swhr-h2{margin:0 0 .4rem;font-size:1.2rem}.swhr-h3{margin:.5rem 0 .25rem;font-weight:700}.swhr-status{min-height:1.4em;max-width:var(--sw-max);margin:.25rem 0 .6rem;font-size:1.05rem;font-weight:700}.swhr-code{word-break:break-all;font-family:ui-monospace,monospace}.swhr-in{border:1.5px solid var(--sw-muted);background:var(--sw-paper);min-height:44px;color:var(--sw-ink);font:inherit;border-radius:10px;flex:14rem;padding:.4rem .7rem}.swhr-board{grid-template-columns:repeat(var(--swhr-cols,10), 1fr);background:var(--sw-board-frame);box-sizing:border-box;border-radius:12px;gap:3px;width:min(100%,36rem);margin:.6rem 0;padding:8px;display:grid}.swhr-board .hr-cell{aspect-ratio:1;border:1px solid var(--sw-board-panel-line);background:var(--sw-board-cell);min-width:24px;min-height:24px;color:var(--sw-board-panel-ink);font:inherit;cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:clamp(.75rem,.55rem + 1.2vw,1.2rem);font-weight:800;display:flex;position:relative}@media (width<=22rem){.swhr-board{gap:2px;padding:4px}}.swhr-board .hr-cell:focus-visible{outline:3px solid var(--sw-focus);outline-offset:1px;z-index:2}.swhr-board .hr-cell[aria-disabled=true]{cursor:default}.swhr-board .hr-piece{box-shadow:0 1px #00000040}.swhr-board .hr-side-0.hr-piece{color:#1c1a2e;background:#f1dcab;border:2px solid #8a6212;border-radius:6px}.swhr-board .hr-side-1.hr-piece{color:#1c1a2e;background:#cfcbea;border:2px solid #2e2a4a;border-radius:50%}.swhr-board .hr-back{background:#fff6;border:2px dashed #0000004d;width:50%;height:50%}.swhr-board .hr-side-0 .hr-back{border-radius:3px}.swhr-board .hr-side-1 .hr-back{border-radius:50%}.swhr-lake{background:#8fb5cf!important}.swhr-pick{box-shadow:0 0 0 3px var(--sw-focus)!important}.swhr-target{outline:2px dashed var(--sw-focus);outline-offset:-3px}.swhr-chip{font-size:.6rem;line-height:1;position:absolute;bottom:0;right:1px}.swhr-ledger{max-width:var(--sw-max)}.swhr-fog{grid-template-columns:repeat(auto-fill,minmax(min(4.5rem,100%),1fr));gap:.5rem;max-width:30rem;margin:.5rem 0;display:grid}.swhr-fogpiece{min-height:56px}.swhr-end,.swhr-chips,.swhr-menu{max-width:42rem;margin:.8rem 0}@media (prefers-color-scheme:dark){.swhr-board .hr-side-0.hr-piece{color:#fff;background:#6b4f17;border-color:#f4c95d}.swhr-board .hr-side-1.hr-piece{color:#fff;background:#3d3768;border-color:#b9b2e6}.swhr-board .hr-back{background:#ffffff1a;border-color:#fff6}.swhr-lake{background:#2a4a63!important}}.swcr-code{border:1.5px solid var(--sw-muted);background:var(--sw-paper);min-height:44px;color:var(--sw-ink);font:inherit;letter-spacing:.08em;text-transform:uppercase;border-radius:10px;width:9rem;padding:.4rem .7rem}.swcr-code:focus-visible{outline:3px solid var(--sw-link);outline-offset:2px}.swhr-choices{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.swhr-choices .swl-btn{min-height:44px}.swhr-classic .swhr-board .hr-cell{cursor:default}.swhr-history dt{margin-top:.8rem;font-weight:700}.swhr-history dd{color:var(--sw-muted);margin:.2rem 0 0}.swgn-input{min-height:44px;font:inherit;border:2px solid var(--sw-muted);background-color:var(--sw-panel);color:inherit;border-radius:8px;padding:0 .6rem}.swgn-round{margin-top:1rem}.swgn-boards{gap:.6rem;padding-left:1.4rem;display:grid}.swgn-pair{font-weight:700}.swgn-table{border-collapse:collapse;width:100%;max-width:32rem}.swgn-table th,.swgn-table td{text-align:left;border-bottom:1px solid var(--sw-line);padding:.45rem .5rem}.swhr-preview{pointer-events:none;margin-top:0}.swhr-preview .hr-cell{cursor:default}.swhr-menu-sum{color:var(--sw-ink);margin:.4rem 0 .6rem;font-weight:600}.swhr-change{border-top:1px solid var(--sw-line);margin-top:1rem;padding-top:.5rem}.swhr-change>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.swhr-first:not(:only-child){display:none}html[data-board-large] .swhr-board{width:min(100%,48rem)}html[data-board-large] .swhr-board .hr-cell{font-size:clamp(.9rem,.6rem + 1.6vw,1.6rem)}html[data-board-contrast] .swhr-board{background:#000}html[data-board-contrast] .swhr-board .hr-cell{color:#000;background:#fff;border:2px solid #000}html[data-board-contrast] .swhr-board .hr-side-0.hr-piece{color:#000;background:#fff;border:3px solid #000;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 4px #000}html[data-board-contrast] .swhr-board .hr-side-1.hr-piece{color:#fff;box-shadow:none;background:#000;border:3px solid #fff}html[data-board-contrast] .swhr-lake{background:repeating-linear-gradient(45deg,#fff 0 4px,#000 4px 6px)!important}
