:root{--ink:#214b3e;--forest:#174a3c;--muted:#738078;--paper:#f7f7f1;--lime:#d7eba7;--line:#e3e8dd;--clay:#d58464;--error:#a33b32;--sans:'Trebuchet MS','Avenir Next',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #cc9864;outline-offset:4px}button:disabled{cursor:default;opacity:.55}svg{width:22px;height:22px;vertical-align:middle;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center}button{border:0}a{color:inherit;text-decoration:none}.page-shell{width:calc(100% - 88px);max-width:1100px;margin:auto}.site-header{height:128px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:32px}.brand{display:flex;align-items:center;gap:19px}.brand-mark{width:57px;height:56px;position:relative}.brand-mark span{display:grid;place-items:center;position:absolute;width:35px;height:38px;border-radius:9px;font-size:20px;font-weight:700;border:2px solid var(--paper)}.brand-mark span:first-child{background:var(--lime);left:0;top:0;transform:rotate(-10deg);z-index:1}.brand-mark span:last-child{background:var(--forest);color:white;right:0;bottom:0;transform:rotate(10deg)}.brand-name{display:flex;flex-direction:column;gap:3px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.3px}.title{font-size:34px;line-height:1.05;font-weight:800;letter-spacing:-1.4px}.title-dot{color:var(--clay)}.help-button{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;background:transparent;padding:11px 13px;border-radius:12px}.help-button:hover{background:#ecf0e5}.help-button svg{width:19px;height:19px}.layout{display:grid;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:48px}.settings{padding-top:15px}.intro .mini-label{font-size:9px;letter-spacing:1.6px}.mini-label{display:block;font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.intro h1{font-size:37px;font-weight:800;letter-spacing:-1.4px;line-height:1.15;margin:16px 0}.intro p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 27px}.settings-card{border:1px solid #e2e7da;background:#fdfdf8;border-radius:20px;padding:23px 21px}.length-control{border:0;padding:0;margin:0;min-width:0}.length-control legend{font-size:13px;font-weight:700;margin-bottom:15px}.length-options{display:flex;gap:8px}.length-option{border:1px solid var(--line);border-radius:12px;background:white;min-width:0;flex:1;padding:10px 0 9px;display:flex;align-items:center;flex-direction:column;gap:2px;transition:background .15s,transform .15s}.length-option:hover{transform:translateY(-2px)}.length-option strong{font-size:24px;font-weight:700;line-height:1.2}.length-option span{font-size:10px;color:var(--muted)}.length-option.selected{background:var(--lime);border-color:#bdd38e}.length-option.selected span{color:#4c603c}.setting-divider{height:1px;background:var(--line);margin:23px 0}.picture-setting{display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer}.setting-label{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:700}.setting-label svg{width:20px;height:20px;color:#688373}.setting-label small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px;white-space:nowrap}.switch{position:relative;display:inline-block;width:39px;height:24px;flex-shrink:0}.switch input{position:absolute;inset:0;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;z-index:1;margin:0;cursor:pointer}.switch-track{position:absolute;inset:0;top:0;right:0;bottom:0;left:0;border-radius:20px;background:#dce3d5;transition:background .2s}.switch-track:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;background:white;border-radius:50%;box-shadow:0 1px 3px #1d3d321c;transition:transform .2s}.switch input:checked+.switch-track{background:var(--forest)}.switch input:checked+.switch-track:after{transform:translateX(15px)}.switch:has(input:focus-visible){outline:3px solid #cc9864;outline-offset:4px;border-radius:20px}.new-button{width:100%;background:var(--forest);color:white;display:flex;justify-content:center;align-items:center;gap:9px;font-weight:700;font-size:13px;padding:14px;border-radius:12px;margin-top:26px;min-height:46px}.new-button:hover{background:#24604c}.new-button svg{width:17px;height:17px}.example{padding:27px 18px;text-align:center}.example-words{display:flex;align-items:center;justify-content:center;gap:17px;font-size:24px;letter-spacing:4px;font-weight:700}.example-words>span{display:inline-flex;align-items:center;gap:1px}.example-words [data-icon]{color:#8b9b8b}.example-words svg{width:23px}.old-letter,.new-letter{padding:4px 4px 4px 6px;border-radius:5px}.old-letter{background:#e8ebe0;color:#83917c}.new-letter{background:#efd6bf;color:#935c39}.example p{font-size:11px;color:var(--muted);margin-top:13px}.game-card{background:#fffefa;border:1px solid #e2e6d9;border-radius:24px;box-shadow:0 9px 30px #25463204;padding:24px 30px 16px;min-width:0;position:relative;overflow:hidden}.board-header{display:flex;align-items:center;justify-content:space-between;padding:0 1px 17px;border-bottom:1px solid #edf0e6}.board-header .mini-label{font-size:9px;letter-spacing:1.7px}.board-header h2{display:flex;gap:14px;align-items:center;font-size:21px;letter-spacing:2px;margin:7px 0 0;font-weight:800}.board-header h2 svg{width:21px;height:21px;color:#9aa88c}.progress{background:#f1f5e9;border-radius:20px;display:flex;gap:6px;align-items:center;padding:9px 12px;font-size:12px;font-variant-numeric:tabular-nums}.progress-symbol{color:#728b5b}.progress svg{width:14px;height:14px}.progress-total{color:#89947c;font-size:11px}.board{--tile:51px;--gap:7px;padding:16px 0 4px;display:flex;flex-direction:column;align-items:center;gap:11px;position:relative}.chain-row{display:grid;grid-template-columns:47px auto 90px;align-items:center;gap:12px;position:relative;min-height:51px}.chain-row:after{content:'';height:11px;border-left:2px dotted #d9e2cc;position:absolute;top:100%;left:calc(47px + 12px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2);z-index:0}.chain-row:last-child:after{display:none}.row-label{color:#8c9988;text-transform:uppercase;font-size:8px;font-weight:700;letter-spacing:1.4px;text-align:right}.row-number{width:21px;height:21px;border:1px solid #e0e6d8;border-radius:50%;display:grid;place-items:center;margin-left:auto;color:#a0aa98;font-size:9px;letter-spacing:0;background:#fffefa}.word-slot{position:relative;min-width:0;display:flex;justify-content:center}.letter-tiles{display:grid;grid-template-columns:repeat(var(--length),var(--tile));gap:var(--gap)}.letter-tile{display:grid;place-items:center;width:var(--tile);height:var(--tile);border:1.5px solid #dde3d3;background:#fffefa;border-radius:10px;font-size:26px;line-height:1;font-weight:700;color:#204b3c;transition:background .18s,border-color .18s;box-shadow:0 2px 0 #e9eddf80}.letter-tile.empty:after{content:'';width:14px;height:2px;border-radius:2px;background:#ccd6c0;margin-top:16px}.word-input{position:absolute;inset:0;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;border:0;background:transparent;color:transparent!important;caret-color:transparent;text-transform:uppercase;letter-spacing:10px;font-size:26px;outline:none!important;border-radius:10px;padding:0;cursor:text;opacity:1}.word-input::selection{background:#bcd28b55}.word-slot:focus-within .letter-tile{border-color:#78976d;box-shadow:0 0 0 2px #d7eba770}.word-slot:focus-within .letter-tile.empty:first-child{background:#f5f9ed}.endpoint .letter-tile{background:#e6efd7;border-color:#dce7cd;box-shadow:0 2px 0 #d5e0c6}.finish .letter-tile{background:var(--forest);color:#f4f7e7;border-color:var(--forest);box-shadow:0 2px 0 #0a3025}.endpoint .row-label{color:#697c5f}.finish .row-label{color:#36634a}.row-trailing{display:flex;align-items:center;justify-content:center;gap:6px;min-height:47px;position:relative}.clue{width:65px;height:50px;padding:0 5px;background:#f6f7ee;border:1px solid #e9eddf;border-radius:12px;display:flex;align-items:center;justify-content:center;transition:transform .15s,background .15s;position:relative}.clue:hover{transform:scale(1.06);background:#eef2e2}.clue .emoji{font-size:32px;line-height:1;white-space:nowrap}.clue .pictogram{width:44px;height:44px}.clue-hint{font-size:8px;position:absolute;right:3px;bottom:2px;color:#8d9a7f}.status-mark{width:18px;height:18px;position:absolute;right:-2px;top:15px}.status-mark svg{width:16px;height:16px}.row-number.checked{background:#e9f2dc;color:#476e3d;border-color:#d0dfbc}.chain-row.valid .letter-tile{border-color:#bad19d;background:#f3f8e9}.chain-row.valid .letter-tile.changed{background:#dceeb9;border-color:#a8c486}.chain-row.valid .status-mark{color:#6b944d}.chain-row.invalid .letter-tile{border-color:#dd9d8b;background:#fcf1e9}.chain-row.invalid .row-number{border-color:#e0a28e;color:#a15640;background:#fff1e9}.chain-row.invalid .status-mark{color:#b15c45}.chain-row.revealed .letter-tile{background:#f5f0df;border-color:#e4d6ae}.feedback{margin:10px 0 11px;min-height:40px;border-radius:10px;display:flex;justify-content:center;align-items:center;gap:7px;text-align:center;font-size:11px;line-height:1.5;color:#798873;padding:6px 10px}.feedback svg{width:15px;height:15px;flex-shrink:0}.feedback.error{background:#fff1e9;color:#94513e}.feedback.success{background:#eaf3da;color:#416633;font-weight:700}.feedback.info{background:#f5f2e4;color:#7c7253}.board-actions{display:flex;gap:9px}.clear-button{width:47px;flex-shrink:0;background:#f2f4e9;border:1px solid #e6eada;border-radius:11px;display:grid;place-items:center}.clear-button svg{width:20px;height:20px}.clear-button:hover{background:#e6edd8}.check-button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;background:var(--lime);color:#2c4b2b;font-size:13px;font-weight:700;border-radius:11px;min-height:47px;border:1px solid #c9dfa0}.check-button:hover{background:#cae38f}.check-button.complete{background:var(--forest);color:white;border-color:var(--forest)}.check-button svg{width:18px;height:18px}.board-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;min-height:28px}.solution-button{display:flex;align-items:center;gap:6px;background:none;padding:4px 2px;color:#7a8773;font-size:10px;min-height:30px}.solution-button svg{width:14px;height:14px}.solution-button:hover{color:var(--forest)}.route-note{font-size:9px;color:#98a18f;text-align:right;max-width:200px;line-height:1.4}.site-footer{display:flex;justify-content:space-between;padding:25px 2px 22px;font-size:9px;color:#a1aa99;letter-spacing:.3px}.celebration{pointer-events:none;position:fixed;inset:0;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:30}.confetti{position:absolute;top:-15px;width:9px;height:13px;border-radius:2px;animation:float-down 2.5s ease-in forwards}.confetti:nth-child(3n){border-radius:50%;width:10px;height:10px}@keyframes float-down{to{transform:translate(var(--drift),105vh) rotate(550deg);opacity:0}}dialog{max-width:450px;width:calc(100% - 36px);border:1px solid #e0e6d5;border-radius:23px;background:#fffef8;color:var(--ink);padding:34px 32px;box-shadow:0 25px 100px #173c3433}dialog::backdrop{background:#173c3466;backdrop-filter:blur(3px)}dialog h2{font-size:28px;letter-spacing:-.8px;margin:11px 0 20px}dialog ol{padding-left:20px;font-size:13px;line-height:1.6}dialog li{padding:0 0 12px 6px}dialog p{font-size:12px;line-height:1.7;color:#71806a}.dialog-close{position:absolute;top:16px;right:16px;background:#f1f4e8;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.dialog-close svg{width:17px;height:17px}.help-example{display:flex;gap:12px;align-items:center;justify-content:center;background:#f0f4e7;border-radius:12px;padding:18px 10px;font-size:19px;letter-spacing:3px;font-weight:700}.help-example b{color:#b5784c}.help-example svg{width:20px;height:20px;color:#85987b}
@media(min-width:1450px){.page-shell{width:calc(100% - 100px);max-width:1190px}.layout{gap:65px;grid-template-columns:300px minmax(0,1fr)}.site-header{height:142px;margin-bottom:36px}.board{--tile:56px;gap:13px;padding-top:19px}.chain-row{min-height:56px}.chain-row:after{height:13px}.game-card{padding:28px 38px 20px}.feedback{margin-top:14px}.intro h1{font-size:42px}.intro p{font-size:15px}.settings-card{padding:26px}.site-footer{padding-top:30px}}
@media(max-width:1000px){.page-shell{width:calc(100% - 44px)}.layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.intro h1{font-size:32px}.settings-card{padding:20px 16px}.game-card{padding:22px 20px 14px}.board{--tile:46px;--gap:6px}.chain-row{grid-template-columns:39px auto 69px;gap:8px;min-height:46px}.chain-row:after{left:calc(39px + 8px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2)}.letter-tile{font-size:24px}.clue{width:53px;height:46px}.clue .emoji{font-size:29px}.clue .pictogram{width:39px;height:39px}.status-mark{right:-7px}.row-label{font-size:7px;letter-spacing:1px}.route-note{max-width:140px;font-size:8px}}
@media(max-width:760px){.page-shell{width:calc(100% - 32px);max-width:560px}.site-header{height:101px;margin-bottom:20px}.brand{gap:13px}.brand-mark{width:45px;height:46px}.brand-mark span{width:29px;height:32px;font-size:16px;border-radius:8px}.title{font-size:28px;letter-spacing:-1px}.eyebrow{font-size:9px;letter-spacing:1.8px}.help-button{padding:8px}.help-button>span:last-child{display:none}.help-button svg{width:23px;height:23px}.layout{display:flex;flex-direction:column;gap:18px}.settings{width:100%;padding:0}.intro{display:none}.settings-card{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px;padding:17px 18px;border-radius:17px}.length-control{grid-row:span 2}.length-control legend{font-size:11px;margin-bottom:9px}.length-options{gap:6px}.length-option{padding:7px 0}.length-option strong{font-size:21px}.length-option span{font-size:8px}.setting-divider{display:none}.picture-setting{align-self:center;gap:8px}.setting-label{font-size:11px;gap:6px}.setting-label svg{width:17px;height:17px}.setting-label small{font-size:8px;margin-top:3px}.switch{width:34px;height:22px}.switch-track:after{width:16px;height:16px}.switch input:checked+.switch-track:after{transform:translateX(12px)}.new-button{margin:0;padding:9px;min-height:37px;border-radius:9px;font-size:11px}.new-button svg{width:15px;height:15px}.example{display:none}.game-card{width:100%;padding:22px 22px 14px;border-radius:20px}.board{--tile:49px;--gap:7px;gap:12px;padding-top:16px}.chain-row{grid-template-columns:40px auto 68px;gap:10px;min-height:49px}.chain-row:after{left:calc(40px + 10px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2);height:12px}.chain-row .row-label{font-size:7px}.row-trailing{min-height:47px}.board-header{padding-bottom:15px}.board-header h2{font-size:19px}.clue{width:54px;height:47px}.status-mark{right:-6px}.feedback{font-size:10px;margin:10px 0}.site-footer{font-size:8px;padding:20px 2px}.site-footer>span:last-child{display:none}.route-note{max-width:175px}}
@media(max-width:440px){.page-shell{width:calc(100% - 24px)}.game-card{padding:20px 13px 12px}.board{--tile:43px;--gap:5px}.chain-row{grid-template-columns:33px auto 58px;gap:8px;min-height:43px}.chain-row:after{left:calc(33px + 8px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2)}.board.length-5{--tile:37px;--gap:5px}.board.length-5 .letter-tile{font-size:22px;border-radius:8px}.board.length-5 .chain-row{grid-template-columns:30px auto 47px;gap:7px}.board.length-5 .chain-row:after{left:calc(30px + 7px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2)}.board.length-5 .clue{width:42px;height:41px;border-radius:9px}.board.length-5 .clue .emoji{font-size:27px}.board.length-5 .clue .pictogram{width:36px;height:36px}.board.length-5 .status-mark{right:-12px;top:2px}.clue{width:45px;height:43px}.clue .emoji{font-size:28px}.clue .pictogram{width:37px;height:37px}.settings-card{padding:15px 13px;gap:11px 15px}.title{font-size:25px}.brand-mark{width:40px;height:42px}.brand{gap:10px}.site-header{height:90px}.setting-label small{font-size:7px}.setting-label{font-size:10px}.setting-label svg{display:none}.route-note{max-width:130px}.board-header .mini-label{font-size:8px}.board-header h2{font-size:18px;gap:10px}.progress{padding:8px 10px}.letter-tile{font-size:24px}.row-label{letter-spacing:.5px!important}.board-footer{gap:5px}.solution-button{font-size:9px}.help-button{padding:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:441px) and (max-width:560px){.board.length-5{--tile:42px;--gap:5px}.board.length-5 .chain-row{grid-template-columns:33px auto 55px;gap:8px}.board.length-5 .chain-row:after{left:calc(33px + 8px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2)}}
@media(max-width:360px){.board.length-4{--tile:33px;--gap:4px}.board.length-5{--tile:32px;--gap:4px}.board.length-5 .chain-row{grid-template-columns:23px auto 40px;gap:6px}.board.length-5 .chain-row:after{left:calc(23px + 6px + (var(--length)*var(--tile) + (var(--length) - 1)*var(--gap))/2)}.board.length-5 .clue{width:37px;height:37px}.board.length-5 .clue .pictogram{width:31px;height:31px}.board.length-5 .clue .emoji{font-size:24px}}

.clue-hint{font-size:10px;right:3px;bottom:2px}
.clue-dialog{text-align:center}
.clue-dialog h2{margin-bottom:18px}
.clue-art{display:grid;place-items:center;background:#f1f5e7;border:1px solid #e2e9d6;border-radius:20px;width:230px;max-width:100%;height:230px;margin:0 auto 20px}
.clue-art .pictogram{width:190px;height:190px}
.clue-art .emoji{font-size:155px;line-height:1}
.clue-dialog #clue-description{color:#526a4c;font-size:15px;line-height:1.6;max-width:320px;margin:0 auto 24px}
.clue-dialog .new-button{margin-top:0}
@media(max-width:440px){.clue-dialog{padding:30px 24px}.clue-art{height:210px}.clue-art .pictogram{width:175px;height:175px}}

/* Dialog and keyboard-focus fallbacks for older managed browsers. */
dialog:not([open]){display:none}
dialog{max-height:calc(100vh - 36px);overflow:auto}
.dialog-backdrop{position:fixed;inset:0;top:0;right:0;bottom:0;left:0;background:#173c3466;z-index:100}
.dialog-backdrop[hidden]{display:none}
dialog.dialog-fallback[open]{display:block;position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);z-index:101}
.switch input:focus+.switch-track{outline:3px solid #cc9864;outline-offset:4px}
button:focus,a:focus{outline:3px solid #cc9864;outline-offset:4px}
