@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#f6f5ef;--ink:#203c33;--green:#163e33;--muted:#677265;--line:#d9ddcf;--coral:#c96f63;--honey:#e3b456;--moss:#728a68;--serif:'Libre Caslon Display',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif;--clue-width:105px;--clue-height:112px;color-scheme:light}
*{box-sizing:border-box}html{background:var(--paper);touch-action:manipulation;scrollbar-color:#9ca990 var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 var(--sans);padding-top:env(safe-area-inset-top)}::selection{background:#e3b456;color:#163e33}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ba8331;outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:0;background:transparent}h1,h2,h3{font-family:var(--serif);font-weight:400;text-wrap:balance}p{margin:0 0 18px}button:hover:not(:disabled){filter:brightness(.94)}[hidden]{display:none!important}
.topbar{height:90px;max-width:1320px;padding:0 56px;margin:auto;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;font-size:29px;font-weight:700;letter-spacing:-1px}.brand svg{width:30px;height:30px;stroke:none}.brand>span{color:#899f80;margin-left:-9px}.header-actions{display:flex;align-items:center;gap:12px}.daily-label{font-size:10px;letter-spacing:1.7px;margin-right:14px;color:var(--muted)}.icon-button{height:36px;width:36px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:20px}.icon-button svg{width:19px;height:19px}main{max-width:1144px;margin:auto;padding:30px 0 0}.family{display:flex;align-items:center;gap:8px;margin-bottom:28px;flex-wrap:wrap}.family>span{font-size:9px;letter-spacing:1.5px;margin-right:10px;color:var(--muted)}.family a{border:1px solid var(--line);border-radius:20px;padding:6px 16px;font-size:12px;font-weight:600}.family a[aria-current]{color:var(--paper);background:var(--green);border-color:var(--green)}.family a:hover{border-color:#819374}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:24px}.intro h1{font-size:52px;line-height:1.03;letter-spacing:-1px;margin:0 0 17px}.intro p{color:var(--muted);font-size:14px;margin:0}.edition{display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:var(--muted);font-size:11px}.edition>span:first-child{font-size:9px;letter-spacing:1.5px}.edition strong{font:24px var(--serif);color:var(--ink)}.layout{display:grid;grid-template-columns:minmax(0,760px) 290px;gap:40px;align-items:start}.game{background:var(--green);border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 12px 34px #183d3212}.game-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 26px;color:#f5f0de}.game-heading>div{display:flex;align-items:center;gap:11px}.game-heading strong{font-weight:500;font-size:13px}.mini-mark{width:14px;height:14px;background:conic-gradient(var(--coral) 25%,var(--honey) 0 50%,var(--moss) 0 75%,#f0ebdb 0)}.difficulty{font-size:10px;border:1px solid #667c64;border-radius:4px;padding:1px 7px;color:#cfdbc1}.game-heading time{font-size:13px;font-variant-numeric:tabular-nums;color:#dce0c8}.canvas{padding:0 28px 16px;max-width:660px;margin:auto}.board-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#bdcbb4;font-size:9px;letter-spacing:1.3px;gap:12px}.board-meta button{color:#e6e9d5;border-bottom:1px solid #6d826c;font-size:10px;letter-spacing:0;padding:2px 0}.board-meta button[aria-pressed=true]{color:#edc57d}.board{display:grid;grid-template-columns:var(--clue-width) repeat(10,minmax(0,1fr));grid-template-rows:var(--clue-height) repeat(10,1fr);width:100%;aspect-ratio:1/1.02;user-select:none;-webkit-user-select:none;touch-action:none;position:relative;isolation:isolate}.corner{align-self:end;justify-self:end;padding:0 12px 12px 0;line-height:1.2;color:#c0cdb8}.corner strong{display:block;font:34px/1 var(--serif);color:#f3e9c9}.corner small{font-size:9px;letter-spacing:1px}.clues{display:flex;gap:3px;align-items:center;justify-content:flex-end;position:relative}.row-clue{padding-right:9px}.col-clue{flex-direction:column;justify-content:flex-end;padding-bottom:9px}.clue{display:inline-flex;align-items:center;justify-content:center;gap:1px;min-width:21px;height:22px;border-radius:3px;font-size:12px;font-weight:700;color:#1b3028;line-height:1}.clue small{font-size:7px;align-self:flex-end;margin-bottom:3px;font-weight:600}.c1{background:var(--coral)}.c2{background:var(--honey)}.c3{background:var(--moss);color:#fff}.clues.done{opacity:.4}.clues.done:after{content:'✓';color:#d7e4c6;position:absolute;font-size:10px}.row-clue.done:after{right:0}.col-clue.done:after{bottom:-3px}.empty-clue{color:#cbd5be;font-size:12px}.cell{border:0;border-right:1px solid #c4c8b5;border-bottom:1px solid #c4c8b5;background:#eeeee4;color:var(--green);border-radius:0;padding:0;min-width:0;min-height:0;position:relative;aspect-ratio:1;line-height:1;font-weight:600;font-size:14px;touch-action:none;cursor:crosshair}.cell[data-col="0"]{border-left:2px solid #91a18b}.cell[data-row="0"]{border-top:2px solid #91a18b}.cell[data-col="4"],.cell[data-col="9"]{border-right:2px solid #91a18b}.cell[data-row="4"],.cell[data-row="9"]{border-bottom:2px solid #91a18b}.cell.c1{background:var(--coral);color:#182d25}.cell.c2{background:var(--honey);color:#182d25}.cell.c3{background:var(--moss);color:#fff}.cell.cross{background:#e3e5d9;color:#7b8876;font-size:19px;font-weight:400}.cell.given:after{content:'';position:absolute;bottom:4px;right:4px;width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.8}.cell:focus-visible{outline:3px solid #fff;outline-offset:-3px;z-index:2}.cell:hover:not(:disabled){filter:brightness(1.06);box-shadow:inset 0 0 0 2px #203c3355}.cell.error{box-shadow:inset 0 0 0 3px #ab302a!important}.canvas-foot{display:flex;align-items:center;justify-content:space-between;color:#c9d3bd;font-size:10px;padding:14px 0 0 0;gap:8px}.canvas-foot>span:first-child{display:flex;align-items:center;gap:6px}.lock-dot{width:4px;height:4px;border-radius:50%;background:#c9d3bd}.studio{background:#f0f0e5;padding:19px 26px 15px}.palette-header{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:#5e6e5b;margin-bottom:10px}.palette-header>span:last-child{font-size:11px;letter-spacing:0}.palette{display:flex;align-items:center;justify-content:center;gap:9px}.swatch{display:flex;align-items:center;flex-direction:column;position:relative;padding:7px 10px 5px;min-width:65px;border:1px solid transparent;border-radius:8px;gap:3px}.swatch[aria-pressed=true]{border-color:#49634a;background:#e1e7d8}.swatch>i{display:grid;place-items:center;width:33px;height:33px;border-radius:5px;font-size:13px;font-style:normal;font-weight:600}.swatch>span{font-size:10px}.swatch kbd{position:absolute;right:3px;top:1px;font:8px var(--sans);color:#52634e}.tool>i{border:1px solid #abb6a0;color:#455e43;font-size:25px}.tool svg{width:20px;height:20px}.palette-divider{height:42px;width:1px;background:#cdd3c3;margin:0 3px}.toolbar{margin-top:17px;padding-top:14px;border-top:1px solid #d0d7c6;display:flex;align-items:center;justify-content:space-between;gap:6px}.toolbar button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:5px 7px;min-height:34px}.toolbar svg{width:17px;height:17px}.toolbar small{border-radius:50%;border:1px solid #b6c3aa;width:17px;height:17px;display:grid;place-items:center;font-size:9px}#status{margin:10px 0 0;color:#586c52;font-size:11px;line-height:1.6;min-height:18px;text-align:center}.result-again{display:block;margin:12px auto 0;border-bottom:1px solid #63785b;font-size:12px}.aside-heading{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.6px;color:#5b7053;margin-bottom:19px}.small-square{width:9px;height:9px;background:var(--coral)}.howto{padding-top:16px}.howto h2{font-size:37px;line-height:1.05;letter-spacing:-.5px;margin:0 0 21px}.howto p,.daily-note p{color:#5e6c58;font-size:12px;line-height:1.85}.clue-demo{border-top:1px solid var(--line);padding-top:16px}.demo-clues{display:flex;align-items:center;gap:5px;margin-bottom:10px}.demo-clues svg{width:17px;margin-left:5px}.demo-cells{display:flex;gap:3px}.demo-cells>i{width:32px;height:32px;display:grid;place-items:center;font-style:normal;border-radius:3px}.demo-cells>i:last-child{border:1px solid #c7d0bd;color:#7a8a6b}.howto .demo-note{font-size:10px;margin-top:9px}.howto ol{list-style:none;counter-reset:how;padding:0;margin:24px 0 18px}.howto li{counter-increment:how;position:relative;padding-left:29px;font-size:12px;line-height:1.7;margin-bottom:14px;color:#52644b}.howto li:before{content:counter(how);position:absolute;left:0;width:19px;height:19px;border:1px solid #c4ceba;border-radius:50%;text-align:center;font-size:10px;line-height:18px}.text-button{font-size:11px;border-bottom:1px solid #aab99c;padding:0 0 3px}.text-button span{margin-left:12px}.daily-note{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.daily-note h3{font-size:25px;margin:0 0 10px}.next{display:flex;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid var(--line);color:#627359;font-size:10px}.next strong{display:block;font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--ink);margin-top:2px}.next>span:last-child{text-align:right;font-size:8px;letter-spacing:1px}.family-footer{display:flex;align-items:center;gap:22px;margin:36px 0 0;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.family-footer>div{flex:1}.family-footer h3{font-size:25px;margin:0 0 2px}.family-footer p{font-size:11px;color:var(--muted);margin:0}.family-footer>a{font-size:11px;border:1px solid #c6cebc;padding:9px 14px;border-radius:6px}footer{padding:24px 0 30px;display:flex;align-items:center;gap:22px;font-size:10px;color:var(--muted)}.footer-brand{font-size:16px;font-weight:700;color:var(--ink)}footer>span{flex:1}dialog{width:min(500px,calc(100% - 30px));max-height:calc(100dvh - 40px);overflow:auto;background:var(--paper);color:var(--ink);border:0;border-radius:14px;padding:36px;box-shadow:0 16px 80px #092c2855}dialog::backdrop{background:#0b2926b8}dialog h2{font-size:40px;line-height:1.05;margin:8px 0 22px;letter-spacing:-.5px}dialog p{font-size:13px;line-height:1.8;color:#52644d}dialog .close{position:absolute;right:10px;top:8px;font-size:26px;line-height:1;width:32px;height:32px}.primary{display:block;width:100%;padding:13px 20px;border-radius:7px;color:#f6f3e5;background:var(--green);font-size:13px;font-weight:500}.secondary{padding:12px;border:1px solid var(--line);border-radius:7px;font-size:12px}.dialog-actions{display:grid;gap:10px}.help-example{display:flex;gap:4px;align-items:center;margin-bottom:18px}.help-example>i{width:27px;height:27px;display:grid;place-items:center;font-style:normal;font-size:12px}.example-arrow{padding:0 4px}.result-art{display:grid;grid-template-columns:repeat(10,1fr);width:180px;height:180px;margin:0 auto 22px;image-rendering:pixelated}.result-art i{display:block}.result-art .blank{background:transparent}#resultDialog{text-align:center}#resultDialog h2{font-size:38px;margin:8px 0 15px}.result-caption{font-size:9px!important;letter-spacing:2px;color:#667e58!important;margin:0!important}.result-details{display:flex;justify-content:center;gap:24px;padding:14px 0;margin:16px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.result-details strong{font-size:21px;display:block;font-weight:500}.result-details span{font-size:10px;color:#617357}#shareStatus{font-size:11px;min-height:20px;margin:10px 0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center;margin:24px 0}.stats-grid strong{display:block;font:36px var(--serif)}.stats-grid span{font-size:10px}.stats-recent{margin:0 0 20px;padding:0;list-style:none}.stats-recent li{display:flex;justify-content:space-between;gap:12px;font-size:12px;border-bottom:1px solid var(--line);padding:9px 0}.revealed .cell{border-color:transparent!important}.revealed .cross{color:transparent;background:#eeeee4}.revealed .cell.given:after{display:none}.revealed .cell{transition:border-color .7s cubic-bezier(.16,1,.3,1)}
@media(min-width:1500px){main{padding-top:40px}.intro{margin-bottom:36px}}
@media(max-width:1220px){main{margin:0 40px}.topbar{padding:0 40px}.layout{grid-template-columns:minmax(0,1fr) 260px;gap:30px}.intro h1{font-size:48px}.howto h2{font-size:34px}:root{--clue-width:100px;--clue-height:110px}.row-clue{padding-right:6px}.clue{min-width:18px;height:19px;font-size:11px}.clue small{font-size:6px}.canvas{padding-left:20px;padding-right:20px}}
@media(max-width:940px){.layout{grid-template-columns:minmax(0,1fr) 230px;gap:25px}main{margin:0 24px}.topbar{padding:0 24px}.canvas{padding-left:14px;padding-right:14px}.studio{padding:17px 15px 14px}.palette{gap:3px}.swatch{min-width:53px;padding-left:7px;padding-right:7px}.palette-divider{margin:0 2px}.howto h2{font-size:30px}.game-heading{padding:17px}.daily-label{display:none}:root{--clue-width:85px;--clue-height:100px}.clue{min-width:15px;height:17px;font-size:10px}.clue small{font-size:5px;margin-bottom:2px}.clues{gap:2px}.corner strong{font-size:28px}}
@media(max-width:740px){main{max-width:620px;margin:auto;padding:24px 20px 0}.topbar{height:74px}.layout{display:block}.intro{align-items:flex-start;margin-bottom:24px;gap:12px}.intro h1{font-size:41px}.intro p{font-size:12px;max-width:245px}.edition{padding-top:4px;font-size:9px;gap:4px;min-width:90px}.edition>span:first-child{font-size:8px;letter-spacing:.4px}.edition strong{font-size:19px}.edition>span:last-child{display:none}.family{margin-bottom:25px;gap:6px}.family>span{font-size:8px;margin-right:3px}.family a{font-size:11px;padding:5px 12px}.canvas{padding:0 20px 16px}.game-heading{padding:18px 20px}.studio{padding:17px 20px 13px}.palette{gap:9px}.swatch{min-width:58px}aside{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin-top:32px}.howto{padding:0}.howto h2{font-size:31px}.aside-heading{font-size:8px;margin-bottom:15px}.daily-note{margin-top:0;padding-top:0;border-top:0}.family-footer{flex-wrap:wrap;gap:12px}.family-footer>div{flex-basis:100%}.family-footer h3{font-size:24px}footer{gap:14px;flex-wrap:wrap}footer>span{font-size:9px}:root{--clue-width:100px;--clue-height:108px}.clue{min-width:19px;height:20px;font-size:11px}.clue small{font-size:6px}.clues{gap:3px}}
@media(max-width:470px){main{padding:20px 12px 0}.topbar{padding:0 18px;height:67px}.brand{font-size:26px}.brand svg{width:26px;height:26px}.header-actions{gap:8px}.icon-button{width:34px;height:34px}.family{gap:6px;margin-bottom:23px}.family a{padding:5px 11px}.intro{display:block;position:relative;padding-right:55px}.intro h1{font-size:38px;line-height:1.05}.intro p{font-size:11px;max-width:265px}.edition{position:absolute;right:0;top:3px;min-width:0;writing-mode:vertical-rl;align-items:flex-start;gap:6px}.edition>span:first-child{font-size:7px;letter-spacing:1px}.edition strong{font:11px var(--sans);color:#5a6d52}.canvas{padding:0 10px 12px}.game-heading{padding:15px 14px}.game-heading strong{font-size:12px}.game-heading>div{gap:8px}.board-meta{font-size:8px;letter-spacing:.8px;margin-bottom:10px}.board-meta button{font-size:9px}.studio{padding:16px 11px 13px}.palette{gap:4px}.swatch{min-width:50px;padding:7px 7px 4px}.swatch>i{width:31px;height:31px}.swatch>span{font-size:9px}.palette-divider{margin:0 2px}.toolbar{margin-top:13px;padding-top:10px}.toolbar button{font-size:10px;padding:3px 5px}.toolbar svg{width:15px;height:15px}#status{font-size:10px;min-height:30px;margin-top:6px}.canvas-foot{font-size:9px;padding-top:10px}.canvas-foot>span:first-child{max-width:195px}.board{aspect-ratio:1/.99}:root{--clue-width:81px;--clue-height:94px}.clue{min-width:15px;height:16px;font-size:9px;border-radius:2px}.clue small{font-size:5px;margin-bottom:2px}.clues{gap:2px}.row-clue{padding-right:5px}.col-clue{padding-bottom:6px}.corner{padding:0 10px 8px 0}.corner strong{font-size:25px}.corner small{font-size:7px}.cell{font-size:10px}.cell.cross{font-size:15px}.cell.given:after{width:3px;height:3px;bottom:3px;right:3px}aside{display:block;margin:29px 8px 0}.howto h2{font-size:34px}.howto h2 br{display:none}.howto p{font-size:12px}.howto .aside-heading{font-size:8px}.howto ol{margin-top:20px}.daily-note{border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.next{margin-top:17px}.family-footer{margin-top:27px;padding:22px 5px}.family-footer h3{font-size:24px}.family-footer>a{font-size:10px;padding:8px 12px}footer{padding:20px 5px 26px}footer>span{order:3;flex-basis:100%}footer>.text-button{margin-left:auto}dialog{padding:29px 23px}dialog h2{font-size:35px}.help-example{gap:3px}.help-example>i{width:24px;height:24px}.help-example .clue{min-width:22px;height:24px;font-size:12px}.help-example .clue small{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Clue gutters follow each motif, including dense seven-group lines. */
.board{aspect-ratio:auto;grid-template-rows:var(--clue-height) repeat(10,auto)}
:root{--clue-width:calc(var(--row-count,5)*23px + 12px);--clue-height:calc(var(--col-count,5)*25px + 9px)}
@media(max-width:1220px){:root{--clue-width:calc(var(--row-count,5)*21px + 9px);--clue-height:calc(var(--col-count,5)*22px + 9px)}}
@media(max-width:940px){:root{--clue-width:calc(var(--row-count,5)*17px + 7px);--clue-height:calc(var(--col-count,5)*19px + 7px)}}
@media(max-width:740px){:root{--clue-width:calc(var(--row-count,5)*22px + 9px);--clue-height:calc(var(--col-count,5)*23px + 9px)}}
@media(max-width:470px){:root{--clue-width:calc(var(--row-count,5)*15px + 6px);--clue-height:calc(var(--col-count,5)*18px + 6px)}.row-clue .clue{min-width:13px}.board{aspect-ratio:auto}}
/* Keep compact family typography readable and pigment labels high contrast. */
.clue,.cell.c1,.cell.c2,.cell.c3,.pigment{color:#102016}.c3{color:#102016}.demo-cells>i:last-child{color:#53664b}.result-caption{color:#52694a!important}
.daily-label,.family>span,.edition>span:first-child,.board-meta,.board-meta button,.canvas-foot,.palette-header,.palette-header>span:last-child,.swatch>span,.toolbar button,.aside-heading,.howto .demo-note,.next,.next>span:last-child,.family-footer>a,footer,footer>span,.result-caption{font-size:11px!important}
.clue{font-size:11px}.clue small{font-size:6px}.board-meta{letter-spacing:.6px}.palette-header{letter-spacing:.8px}.family>span{letter-spacing:.6px}.edition>span:first-child{letter-spacing:.6px}.canvas-foot{line-height:1.4}.cell.cross{color:#586b50}.cell{font-size:12px}
@media(max-width:470px){.family>span{display:none}.intro{padding-right:0}.edition{position:static;writing-mode:horizontal-tb;flex-direction:row;align-items:center;gap:8px;margin:14px 0 0}.edition>span:first-child{font-size:9px!important;letter-spacing:.3px}.edition strong{font-size:11px}.swatch kbd{display:none}.palette{gap:2px}.swatch{min-width:48px}.board-meta{font-size:10px!important;letter-spacing:0}.board-meta button{font-size:11px!important}.canvas-foot{font-size:10px!important}.canvas-foot>span:first-child{max-width:190px}.palette-header{font-size:10px!important}.toolbar{gap:1px}.toolbar button{font-size:11px;padding:4px 3px}.toolbar svg{width:14px;height:14px}.toolbar button:last-child{padding-right:0}.toolbar button:last-child>span{display:none}#status{font-size:11px}.clue small{font-size:5px}.col-clue .clue{font-size:11px}.row-clue .clue{font-size:11px}}
