.ows-game{--ows-ink:#24453a;--ows-muted:#5a6f60;--ows-green:#3f6a49;--ows-gold:#d49a2a;max-width:540px;margin:auto;padding:12px 8px;color:var(--ows-ink);font-family:inherit;font-variant-numeric:tabular-nums}
.ows-game,.ows-game *{box-sizing:border-box}.ows-game button,.ows-game select{font:inherit;color:inherit}.ows-game button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ows-game button:disabled{opacity:.44;cursor:default}.ows-game button:focus-visible,.ows-game select:focus-visible,.ows-game summary:focus-visible{outline:3px solid #ba8436;outline-offset:2px}
.ows-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.ows-kicker{display:block;font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--ows-muted);margin-bottom:2px}.ows-heading p{margin:0;font-size:23px;font-weight:700;letter-spacing:-.5px}.ows-heading strong{letter-spacing:.08em;color:#204d3b}.ows-badge{padding:6px 10px;border:1px solid #c9d6ba;border-radius:999px;background:#edf1e4;font-size:12px;font-weight:650;white-space:nowrap}
.ows-toolbar{display:flex;align-items:flex-end;gap:8px}.ows-toolbar label{flex:1;min-width:0;font-size:11px;font-weight:650;letter-spacing:.03em}.ows-toolbar select{display:block;width:100%;min-height:44px;margin-top:4px;padding:8px;border:1px solid #c5d1c1;border-radius:8px;background:#fffdf7;font-size:13px}.ows-toolbar>button{min-height:44px;flex-shrink:0;border:1px solid #cdd8c6;border-radius:8px;background:#f7f9f2;font-size:12px;font-weight:650;padding:8px 10px}
.ows-meta{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:11.5px;color:var(--ows-muted);margin:14px 0 12px}.ows-meta strong{color:var(--ows-ink)}.ows-readout{padding:3px 8px;border-radius:6px;background:#eef3e8;color:#2d5240;font-weight:700;letter-spacing:.05em}.ows-assisted{background:#f7e9c8;color:#73552c;padding:3px 6px;border-radius:5px;font-size:10px}.ows-assisted[hidden]{display:none}
.ows-board-wrap{max-width:430px;margin:0 auto;padding:6px;border:1px solid #bdcbb6;border-radius:12px;background:#fffdf7;box-shadow:0 3px 0 #afc1a7}
.ows-board{display:grid;grid-template-columns:repeat(var(--ows-size),minmax(0,1fr));gap:3px;width:100%;aspect-ratio:1;padding:3px;border-radius:8px;background:#dce4d5;touch-action:none;user-select:none}
.ows-game .ows-cell{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;padding:0;border:1px solid #cad4c2;border-radius:6px;background:#fffdf9;color:#26463b;font-weight:750;font-size:clamp(13px,3.6vw,19px);letter-spacing:0;transition:background-color .1s ease,transform .08s ease}
.ows-cell:hover{background:#f1f6ec}
.ows-cell[data-hint="true"]{background:#fdf1d2;border-color:#d8a33a;box-shadow:inset 0 0 0 2px #d8a33a}
.ows-cell[data-anchor="true"]{background:#dcebd9;border-color:#3f6a49;box-shadow:inset 0 0 0 2px #3f6a49}
.ows-cell[data-preview="true"]{background:#487451;border-color:#35593d;color:#fff}
.ows-cell[data-solved="true"]{background:#2f6846;border-color:#235035;color:#fff;box-shadow:inset 0 0 0 1px #8bc39b}
.ows-cell[data-miss="true"]{background:#f9e6df;border-color:#d99b88;color:#8c3d2b}
.ows-input-help{margin:12px 0 14px;text-align:center;font-size:11px;color:var(--ows-muted);line-height:1.55}
.ows-actions{display:grid;grid-template-columns:1fr .8fr 1.15fr 1.05fr;gap:6px}.ows-actions button{min-height:44px;padding:8px 6px;border:1px solid #c5d1bc;border-radius:8px;background:#fffdf5;font-size:12px;font-weight:600}.ows-actions .ows-primary{background:var(--ows-green);border-color:var(--ows-green);color:#fff}.ows-actions button:hover:not(:disabled){box-shadow:inset 0 0 0 1px #8aa17a}
.ows-status{min-height:52px;padding:11px 12px;border:1px solid #dce3cc;border-radius:9px;background:#f0f3e7;font-size:12.5px;line-height:1.55;margin:14px 0 12px}.ows-status[data-tone="success"]{background:#e5efda;border-color:#b8cba3;color:#2f5930;font-weight:600}.ows-status[data-tone="error"]{background:#fbede6;border-color:#e5bfb0;color:#934330}
.ows-help{font-size:12px;line-height:1.75;margin-top:14px;color:var(--ows-muted)}.ows-help summary{cursor:pointer;font-weight:650;color:var(--ows-ink)}.ows-help ol{padding-left:20px;margin:10px 0}.ows-help li{margin:5px 0}.ows-footnote{font-size:10.5px;line-height:1.5;text-align:center;color:#61725a;margin:14px 0 0}
@media(max-width:680px){.ows-game{padding:0 0 8px}.ows-heading p{font-size:20px}.ows-toolbar{gap:5px}.ows-toolbar select{font-size:12px}.ows-toolbar>button{padding:8px 7px;font-size:11px}.ows-actions{grid-template-columns:1fr 1fr;gap:6px}.ows-board{gap:2px;padding:2px}.ows-game .ows-cell{border-radius:4px;font-size:clamp(12px,3.8vw,16px)}}
