:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f7f5ec;--ink:#243d32;--muted:#536258;--rule:#d8d9ca;--accent:#f4e675;--light:#fffdf4;color:var(--ink);background:var(--paper);font:16px/1.4 system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.47}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline-offset:3px;outline:3px solid #906400}.wrap{width:min(100% - 32px,590px);margin-inline:auto}.site-header{border-bottom:1px solid var(--rule);justify-content:space-between;align-items:center;padding:20px 0;display:flex}.brand{letter-spacing:-.075em;align-items:center;gap:8px;font-size:25px;font-weight:850;text-decoration:none;display:flex}.brand span{color:#a95235;margin-left:-7px}.intro{justify-content:space-between;align-items:end;gap:10px;margin:25px 0 17px;display:flex}.intro h1{letter-spacing:-.06em;margin:0;font-family:Georgia,serif;font-size:clamp(2rem,7vw,3.65rem);font-weight:700;line-height:.98}.intro h1 span{color:#a95235}.intro p{color:var(--muted);margin:7px 0 0;font-size:.96rem}.subtle,.primary,.editor button,.directions button,.zoom button{background:var(--light);border:1px solid #b8c0af;border-radius:7px;min-height:40px;padding:6px 12px;font-weight:700}.subtle:hover,.editor button:hover,.directions button:hover,.zoom button:hover{background:#e9eddf}.shuffle{white-space:nowrap}.game{background:var(--light);border:1px solid var(--rule);border-radius:14px;padding:12px;box-shadow:0 4px #e7e6d9}.game-top,.board-bottom,.play-tools{justify-content:space-between;align-items:center;gap:10px;display:flex}.game-top{margin-bottom:10px}.meta{letter-spacing:.025em;font-size:.86rem;font-weight:750}.mode{background:#eceee2;border-radius:8px;gap:2px;padding:3px;display:flex}.mode button{background:0 0;border:0;border-radius:6px;min-width:56px;min-height:32px;font-weight:700}.mode button[aria-pressed=true]{background:var(--ink);color:#fff}.board-scroll{aspect-ratio:1;overscroll-behavior:contain;background:#eeead5;border-radius:5px;width:min(100%,470px);margin-inline:auto;overflow:auto}.board-scroll canvas{touch-action:none;width:100%;height:auto;image-rendering:pixelated;display:block}.board-bottom{color:var(--muted);min-height:25px;margin-top:8px;font-size:.84rem}.zoom{gap:4px;display:flex}.zoom button{min-height:32px;padding:0 10px}.editor{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;display:flex}.editor label{font-size:.9rem;font-weight:700}.editor select{background:var(--light);border:1px solid var(--rule);border-radius:5px;padding:5px}.editor button{min-height:34px;padding:3px 8px;font-size:.86rem}.editor button[aria-pressed=true]{background:var(--ink);color:#fff}.notice,.feedback{overflow-wrap:anywhere;background:#edf0e2;border-radius:7px;margin-bottom:10px;padding:9px 11px;font-size:.9rem}.notice.error,.feedback.error{color:#672c21;background:#f7e3d8}.play-tools{margin:14px 0 10px}.play-tools p{color:var(--muted);margin:3px 0;font-size:.87rem}.directions{gap:5px;display:flex}.directions button{width:42px;min-height:43px;padding:0;font-size:1.15rem}.actions{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.primary{background:var(--accent);border-color:#87791e}.primary:hover{background:#faef9a}footer{border-top:1px solid var(--rule);color:var(--muted);flex-wrap:wrap;gap:15px;margin:17px 0 24px;padding-top:12px;font-size:.87rem;display:flex}.link{background:0 0;border:0;padding:0;text-decoration:underline}dialog{border:1px solid var(--rule);width:min(100% - 32px,440px);color:var(--ink);background:var(--light);border-radius:13px;padding:18px 23px 23px}dialog::backdrop{background:#17291cb0}.dialog-head{float:right}.close{background:0 0;border:0;font-size:1.7rem;line-height:1}.dialog-head+h2{margin:0 0 14px;font-family:Georgia,serif;font-size:1.9rem}dialog p{margin:8px 0 12px}dialog label{margin:10px 0;display:block}dialog input:not([type=file]),dialog select{border:1px solid var(--rule);background:#fff;border-radius:5px;width:100%;padding:8px}dialog input[type=file]{max-width:100%}dialog .subtle{margin:4px 5px 4px 0}dialog ul{padding-left:20px}dialog li{overflow-wrap:anywhere;margin:6px 0}@media (max-width:440px){.site-header{padding:12px 0}.intro{margin-top:19px}.intro p,.play-tools p{font-size:.84rem}.game{padding:8px}.directions button{width:37px}.subtle,.primary{padding-inline:9px}.actions button{font-size:.9rem}}
