.ws{--ws-board-w:min(100%, calc(var(--size,12) * 2.75rem), max(17rem, calc(100svh - 17rem)));--ws-h0:oklch(82% .11 268);--ws-h1:oklch(86% .14 150);--ws-h2:oklch(88% .13 85);--ws-h3:oklch(83% .12 340);--ws-h4:oklch(86% .1 205);--ws-h5:oklch(82% .13 35);--ws-h6:oklch(80% .12 300);--ws-h7:oklch(88% .14 120)}@media (orientation:landscape) and (height<=32rem){.ws{--ws-board-w:min(100%, calc(var(--size,12) * 2.75rem), max(12rem, calc(100svh - 7rem)))}}.dark .ws{--ws-h0:oklch(50% .13 268);--ws-h1:oklch(50% .12 150);--ws-h2:oklch(52% .11 80);--ws-h3:oklch(50% .13 340);--ws-h4:oklch(50% .09 205);--ws-h5:oklch(50% .13 35);--ws-h6:oklch(48% .13 300);--ws-h7:oklch(52% .12 125)}.ws-seg{min-height:2.5rem;color:var(--color-ink-2);transition:background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);border-radius:.4rem;padding-inline:.5rem;font-size:.875rem;font-weight:600}.ws-seg:hover{color:var(--color-ink)}.ws-seg[aria-pressed=true]{background:var(--color-accent);color:var(--color-accent-ink)}@media (pointer:coarse){.ws-seg{min-height:2.75rem}}.ws-select{border:1px solid var(--color-field-edge);border-radius:var(--radius-input);background-color:var(--color-paper);min-width:0;min-height:2.75rem;color:var(--color-ink);padding-inline:.6rem .4rem;font-size:.9375rem}.ws-select-plain{min-height:2.75rem}@media (pointer:coarse){.ws-select{font-size:1rem}.ws-select,.ws-select-plain{padding-right:2.25rem}}.ws-c-words{text-transform:uppercase}.ws-c-words::placeholder{text-transform:none}.ws-play{grid-template-columns:minmax(0,1fr);grid-template-areas:"hud""board""words""status""result""tools";display:grid}.ws-main,.ws-side{display:contents}.ws-hud{grid-area:hud}.ws-board{grid-area:board}.ws-status{grid-area:status}.ws-result{grid-area:result}.ws-wordbox{grid-area:words;margin-top:.5rem}.ws-tools{grid-area:tools}@media (width>=64rem){.ws-play{align-items:flex-start;gap:2rem;display:flex}.ws-main{flex:1;min-width:0;display:block}.ws-side{flex-shrink:0;width:16rem;margin-top:1.75rem;display:block}.ws-wordbox{margin-top:0}}@media (orientation:landscape) and (height<=32rem) and (width>=33rem) and (width<=63.99rem){.ws-play{grid-template-columns:var(--ws-board-w) minmax(0, 1fr);grid-template-rows:auto auto 1fr auto auto;grid-template-areas:"hud words""board words""board tools""status tools""result tools";align-items:start;column-gap:1.25rem}.ws-wordbox{margin-top:0}.ws-wordbox,.ws-tools{max-width:none}.ws-wordbox .ws-words{justify-content:flex-start}}.ws-board{width:var(--ws-board-w);aspect-ratio:1;border:1px solid var(--color-rule-2);border-radius:var(--radius-card);background:var(--color-paper-raised);box-shadow:var(--shadow-card);touch-action:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;margin-inline:auto;position:relative;overflow:hidden;container-type:inline-size}.ws-hud{width:var(--ws-board-w)}.ws-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.ws-grid{flex-direction:column;display:flex;position:absolute;inset:0}.ws-row{flex:1 1 0;min-height:0;display:flex}.ws-cell{min-width:0;color:var(--color-ink);font:600 1rem/1 var(--font-display);font-size:calc(100cqw / var(--size,12) * .56);cursor:pointer;flex:1 1 0;justify-content:center;align-items:center;display:flex}.ws-cell:focus{outline:none}.ws-cell:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px;border-radius:4px}.ws-cell[aria-selected=true]{color:var(--color-accent-ink)}@media (hover:hover){.ws[data-state=ready] .ws-cell:hover,.ws[data-state=running] .ws-cell:hover{background:color-mix(in oklab, var(--color-accent) 10%, transparent);border-radius:999px}}.ws-board[data-paused="1"] .ws-grid,.ws-board[data-paused="1"] .ws-svg{visibility:hidden}.ws-cover{z-index:2;text-align:center;background:var(--color-paper-raised);flex-direction:column;justify-content:center;align-items:center;padding:1rem;display:flex;position:absolute;inset:0}.ws-cover[hidden]{display:none}.ws-hl{stroke-width:.76px;stroke-linecap:round;fill:none}.ws-c0{stroke:var(--ws-h0)}.ws-c1{stroke:var(--ws-h1)}.ws-c2{stroke:var(--ws-h2)}.ws-c3{stroke:var(--ws-h3)}.ws-c4{stroke:var(--ws-h4)}.ws-c5{stroke:var(--ws-h5)}.ws-c6{stroke:var(--ws-h6)}.ws-c7{stroke:var(--ws-h7)}.ws-hl.ws-shown{stroke:var(--color-rule-2);stroke-dasharray:.12 .12;stroke-width:.66px}.ws-selline{stroke:var(--color-accent);stroke-opacity:.45;stroke-width:.76px;stroke-linecap:round}.ws-anchor{fill:var(--color-accent);fill-opacity:.85}.ws-missline{stroke:var(--color-error);stroke-opacity:.4;stroke-width:.76px;stroke-linecap:round;animation:.45s ease-out forwards ws-fade}.ws-hintring{fill:none;stroke:var(--color-accent);stroke-width:.09px;animation:1.4s ease-in-out infinite ws-pulse}@keyframes ws-fade{to{stroke-opacity:0}}@keyframes ws-pulse{50%{stroke-opacity:.35}}.ws-words{font:600 .875rem/1.25 var(--font-display);letter-spacing:.02em;color:var(--color-ink);grid-template-columns:repeat(auto-fill,minmax(7.25rem,1fr));gap:.25rem .75rem;display:grid}@media (width>=64rem){.ws-words{grid-template-columns:1fr 1fr}}.ws-word{overflow-wrap:anywhere;align-items:center;gap:.4rem;min-height:1.75rem;display:flex}@media (width<=63.99rem){.ws-words{flex-wrap:wrap;place-content:flex-start center;gap:.125rem .9rem;min-height:4.75rem;display:flex}.ws-word{min-height:1.5rem}}.ws-swatch{border:1.5px solid var(--color-rule-2);border-radius:999px;flex:none;width:.6rem;height:.6rem}.ws-word[data-found="1"] .ws-wtext,.ws-word[data-found=shown] .ws-wtext{color:var(--color-muted);text-decoration:line-through 2px}.ws-word[data-color="0"] .ws-swatch{background:var(--ws-h0);border-color:var(--ws-h0)}.ws-word[data-color="1"] .ws-swatch{background:var(--ws-h1);border-color:var(--ws-h1)}.ws-word[data-color="2"] .ws-swatch{background:var(--ws-h2);border-color:var(--ws-h2)}.ws-word[data-color="3"] .ws-swatch{background:var(--ws-h3);border-color:var(--ws-h3)}.ws-word[data-color="4"] .ws-swatch{background:var(--ws-h4);border-color:var(--ws-h4)}.ws-word[data-color="5"] .ws-swatch{background:var(--ws-h5);border-color:var(--ws-h5)}.ws-word[data-color="6"] .ws-swatch{background:var(--ws-h6);border-color:var(--ws-h6)}.ws-word[data-color="7"] .ws-swatch{background:var(--ws-h7);border-color:var(--ws-h7)}.ws-word[data-found=shown] .ws-swatch{background:0 0;border-style:dashed}.ws-act{border:1px solid var(--color-rule);border-radius:var(--radius-input);background:var(--color-paper-raised);min-height:3.25rem;color:var(--color-ink);transition:border-color var(--dur-micro) var(--ease-out);flex-direction:column;justify-content:center;align-items:center;gap:.15rem;font-size:.75rem;font-weight:600;display:flex}.ws-act:hover:not(:disabled){border-color:var(--color-accent)}.ws-act:disabled{opacity:.5;cursor:not-allowed}.ws-act[aria-pressed=true]{background:var(--color-accent-wash);border-color:var(--color-accent)}.ws-stat{border-radius:var(--radius-input);background:var(--color-paper-2);flex-direction:column;align-items:center;gap:.1rem;padding:.45rem .25rem;display:flex}.dark .ws-stat,.dark .ws-week li{background:var(--color-paper-3)}.ws-stat-v{font:600 1.05rem/1.1 var(--font-display);color:var(--color-ink);font-variant-numeric:tabular-nums}.ws-stat-k{color:var(--color-muted);font-size:.6875rem}.ws-dialog{border:1px solid var(--color-rule);border-radius:var(--radius-card);background:var(--color-paper-raised);width:min(28rem,100% - 2rem);max-height:min(88vh,44rem);color:var(--color-ink-2);box-shadow:var(--shadow-panel);overscroll-behavior:contain;margin:auto;padding:0;overflow:auto}.ws-dialog::backdrop{background:oklch(21% .024 262/.45)}.ws-table{border-collapse:collapse;width:100%;font-size:.875rem}.ws-table th{text-align:left;color:var(--color-muted);border-bottom:1px solid var(--color-rule);padding:.35rem .25rem;font-size:.75rem;font-weight:600}.ws-table td{border-bottom:1px solid var(--color-rule);color:var(--color-ink);font-variant-numeric:tabular-nums;padding:.4rem .25rem}.ws-week{grid-template-columns:repeat(7,1fr);gap:.25rem;margin-top:.5rem;display:grid}.ws-week li{border-radius:var(--radius-input);background:var(--color-paper-2);color:var(--color-muted);font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:.1rem;padding:.35rem 0;font-size:.6875rem;display:flex}.ws-week li[data-done="1"]{background:var(--color-accent-wash);color:var(--color-ink)}.ws-example{grid-template-columns:repeat(6,2.25rem);gap:2px;display:grid}.ws-ex-cell{background:var(--color-paper-raised);border:1px solid var(--color-rule);width:2.25rem;height:2.25rem;font:600 1rem/1 var(--font-display);color:var(--color-ink);border-radius:6px;justify-content:center;align-items:center;display:flex}.ws-ex-cell[data-on="0"],.ws-ex-cell[data-on="1"],.ws-ex-cell[data-on="2"]{background:var(--ws-h1);border-color:#0000}.ws-ex-cell[data-on="3"]{background:var(--ws-h0);border-color:#0000}.ws-example{--ws-h0:oklch(82% .11 268);--ws-h1:oklch(90% .08 150)}.dark .ws-example{--ws-h0:oklch(50% .13 268);--ws-h1:oklch(42% .08 150)}#ws-print-sheet{display:none}@media print{@page{margin:12mm}body:has(>#ws-print-sheet)>:not(#ws-print-sheet){display:none!important}body:has(>#ws-print-sheet){background:#fff!important;min-height:0!important;display:block!important}#ws-print-sheet{color:#000;font-family:var(--font-sans);background:#fff;display:block}.ws-p-page{break-after:page;page-break-after:always}.ws-p-page:last-child{break-after:auto;page-break-after:auto}.ws-p-head{border-bottom:.4mm solid #000;justify-content:space-between;align-items:baseline;gap:6mm;padding-bottom:2mm;display:flex}.ws-p-title{font:700 16pt/1.2 var(--font-display);margin:0}.ws-p-meta{color:#333;margin:0;font-size:9pt}.ws-p-name{color:#222;white-space:pre;margin:4mm 0 5mm;font-size:10pt}.ws-p-board{width:calc(var(--cell) * var(--n));margin:0 auto;position:relative}.ws-p-head+.ws-p-board{margin-top:6mm}.ws-p-grid{grid-template-columns:repeat(var(--n), var(--cell));border:.35mm solid #000;display:grid}.ws-p-grid span{width:var(--cell);height:var(--cell);font:600 calc(var(--cell) * .56) / 1 var(--font-display);color:#000;justify-content:center;align-items:center;display:flex}.ws-p-grid span.ws-p-on{font-weight:800}.ws-p-lines{width:calc(100% - .7mm);height:calc(100% - .7mm);position:absolute;inset:.35mm}.ws-p-lines line{stroke:#000;stroke-opacity:.18;stroke-width:.7px;stroke-linecap:round}.ws-p-words{columns:4;font:600 var(--wpt,10.5pt)/1.7 var(--font-display);letter-spacing:.03em;column-gap:6mm;margin:6mm 0 0;padding:0;list-style:none}.ws-p-words li{break-inside:avoid;overflow-wrap:anywhere}.ws-p-words li:before{content:"";vertical-align:-.3mm;border:.3mm solid #000;width:3mm;height:3mm;margin-right:2mm;display:inline-block}.ws-p-foot{color:#555;margin-top:6mm;font-size:8pt}}
