:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#e9f0e9;--bg:#f1f5ef;--surface:#fbfcf8;--surface-soft:#e9f0e9;--surface-hover:#e4ebe2;--text:#20352d;--text-muted:#566a5d;--text-subtle:#718077;--accent:#3f6b54;--accent-dark:#2f5440;--accent-soft:#dce8de;--on-accent:#fff;--coral:#e76d53;--coral-strong:#b55b45;--coral-soft:#f3dcd1;--yellow:#efd276;--yellow-ink:#655322;--success:#70a984;--tile-yellow:#f3d477;--tile-coral:#ef9478;--tile-blue:#a3c4d9;--tile-mint:#a9cfb2;--tile-white:#f4f3e8;--tile-ink:#20352d;--border:#dce5dc;--border-strong:#c8d7ca;--line-strong:#2a4937;--grid:#d3ddd3;--grid-line:#2a493709;--focus-ring:#729785;--focus:#3f6b5466;--danger:#8a2a2a;--danger-bg:#fbecec;--danger-line:#f2cece;--inverse-bg:#20352d;--inverse-text:#f6f7ec;--inverse-muted:#c0cfc4;--footer-bg:var(--inverse-bg);--footer-text:var(--inverse-text);--footer-muted:var(--inverse-muted);--sun-a:#f8ffda;--sun-b:#bed1a1;--shadow-color:#1c2e24;--shadow:0 10px 24px #20352d14;--shadow-soft:0 4px 10px #20352d14;--project-accent:var(--accent);--font-body:"Onest Variable", "Onest", "Segoe UI", Roboto, Arial, sans-serif;--font-display:"Literata Variable", "Literata", Georgia, serif;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.5rem;--text-2xl:2rem;--text-3xl:3rem;--radius-xs:.5rem;--radius-sm:.8rem;--radius-md:1rem;--radius-lg:1.5rem;--space-1:.4rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;--space-6:3rem}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#101d16;--bg:#17271e;--surface:#24372d;--surface-soft:#2a4033;--surface-hover:#354b3d;--text:#eef2e8;--text-muted:#b0bdb0;--text-subtle:#91a096;--accent:#8fc2a3;--accent-dark:#a9d3b9;--accent-soft:#34503f;--on-accent:#12211a;--coral:#ef896e;--coral-strong:#f5a88d;--coral-soft:#4d3b34;--yellow:#d7b85f;--yellow-ink:#352e18;--success:#70a984;--border:#405548;--border-strong:#506b56;--line-strong:#8fa896;--grid:#3a5042;--grid-line:#e4efe109;--focus-ring:#8fc2a3;--focus:#8fc2a380;--danger:#f2b0b0;--danger-bg:#4a2a2a;--danger-line:#6e3c3c;--inverse-bg:#0f1c15;--inverse-text:#eef2e8;--inverse-muted:#9fb0a3;--sun-a:#f3dcd1;--sun-b:#ef896e;--shadow-color:#000;--shadow:0 10px 24px #00000059;--shadow-soft:0 4px 10px #0000004d}:root[data-project=letterwell]{--project-accent:var(--coral)}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/letterwell/assets/onest-cyrillic-wght-normal-DayYxulF.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/letterwell/assets/onest-latin-ext-wght-normal-QAhDxQuo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/letterwell/assets/onest-latin-wght-normal-Dun_Rd-l.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/letterwell/assets/literata-cyrillic-opsz-normal-DgmypKXX.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/letterwell/assets/literata-latin-ext-opsz-normal-STiTPs0F.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/letterwell/assets/literata-latin-opsz-normal-BHZsWIlc.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.zy-skip{left:var(--space-3);z-index:1000;padding:var(--space-1) var(--space-2);color:var(--bg);background:var(--text);border-radius:var(--radius-xs);font:600 var(--text-sm) / 1.4 var(--font-body);text-decoration:none;position:absolute;top:-4rem}.zy-skip:focus{top:var(--space-3)}.zy-bar{z-index:40;color:var(--text);background:var(--surface);border-bottom:1px solid var(--border);font-family:var(--font-body);font-size:var(--text-sm);line-height:1.4;position:relative}.zy-bar__inner{align-items:center;gap:var(--space-4);width:min(100%,1240px);min-height:52px;margin-inline:auto;padding-inline:clamp(16px,4vw,40px);display:flex}.zy-bar a{color:inherit;text-decoration:none}.zy-bar__brand{letter-spacing:-.3px;flex-shrink:0;align-items:center;gap:8px;font-size:15px;font-weight:700;display:inline-flex}.zy-mark{flex:0 0 30px;width:30px;height:24px}.zy-mark path{fill:none;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.zy-mark__main{stroke:currentColor}.zy-mark__accent{stroke:var(--coral)}.zy-bar__nav{align-items:center;gap:var(--space-1);scrollbar-width:none;min-width:0;margin-left:auto;display:flex;overflow-x:auto}.zy-bar .zy-bar__link{color:var(--text-muted);white-space:nowrap;border-radius:999px;padding:6px 10px;font-weight:600;transition:color .15s,background .15s}.zy-bar .zy-bar__link:hover{color:var(--text);background:var(--surface-hover)}.zy-bar .zy-bar__link[aria-current=page]{color:var(--text);background:var(--surface-soft);box-shadow:inset 0 -2px 0 var(--project-accent)}.zy-bar .zy-bar__lang{color:var(--text-muted);border:1px solid var(--border);font-size:var(--text-xs);letter-spacing:.5px;border-radius:999px;flex-shrink:0;padding:6px 10px;font-weight:700}.zy-bar .zy-bar__lang:hover{color:var(--text);background:var(--surface-hover)}.zy-bar__theme{width:36px;height:36px;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:50%;flex:0 0 36px;place-items:center;padding:0;transition:color .15s,background .15s;display:grid}.zy-bar__theme:hover{color:var(--text);background:var(--surface-hover)}.zy-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.zy-icon--sun,:root[data-theme=dark] .zy-icon--moon{display:none}:root[data-theme=dark] .zy-icon--sun{color:var(--yellow);display:block}.zy-bar a:focus-visible,.zy-bar__theme:focus-visible,.zy-footer a:focus-visible,.zy-footer__button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.zy-footer{color:var(--footer-text);background:var(--footer-bg);font-family:var(--font-body);font-size:var(--text-sm);line-height:1.6}.zy-footer a{color:var(--footer-text);text-decoration:none}.zy-footer__button{color:var(--footer-text);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.zy-footer a:hover,.zy-footer__button:hover{text-underline-offset:3px;text-decoration:underline}.zy-footer__inner{width:min(100%,1240px);padding:var(--space-6) clamp(16px, 4vw, 40px) var(--space-5);gap:var(--space-5);grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));margin-inline:auto;display:grid}.zy-footer__home{align-items:center;gap:8px;font-size:16px;font-weight:700;display:inline-flex}.zy-mark--footer .zy-mark__main{stroke:var(--footer-text)}.zy-footer__brand p{max-width:300px;margin:var(--space-2) 0 0;color:var(--footer-muted)}.zy-footer__col h2{margin:0 0 var(--space-2);font-family:var(--font-body);color:var(--footer-muted);line-height:1.4;font-size:var(--text-xs);letter-spacing:1px;text-transform:uppercase;font-weight:700}.zy-footer li,.zy-footer p{color:inherit;font-size:inherit;line-height:inherit}.zy-footer__col ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.zy-footer__col span{color:var(--footer-muted);font-size:var(--text-xs);display:block}.zy-footer__bottom{width:min(100%,1240px);padding:var(--space-3) clamp(16px, 4vw, 40px) var(--space-4);justify-content:space-between;gap:var(--space-2);color:var(--footer-muted);border-top:1px solid color-mix(in srgb, var(--footer-text) 14%, transparent);font-size:var(--text-xs);flex-wrap:wrap;margin-inline:auto;display:flex}.zy-ad-slot{min-height:280px;margin:var(--space-5) auto;text-align:center;display:block}@media (width<=760px){.zy-footer__inner{grid-template-columns:repeat(2,minmax(0,1fr))}.zy-footer__brand{grid-column:1/-1}}@media (width<=640px){.zy-bar .zy-bar__link--secondary{display:none}.zy-bar__inner{gap:var(--space-2)}}@media (width<=400px){.zy-bar__brand span{display:none}}@media (prefers-reduced-motion:reduce){.zy-bar__link,.zy-bar__theme{transition:none}}:root{color:var(--text);background:var(--bg);font-family:var(--font-body);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px;min-height:100%}body{background-color:var(--canvas);background-image:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);background-size:32px 32px;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}::selection{color:var(--on-accent);background:var(--accent)}#root{min-height:100vh}.app-shell{background:var(--bg);border-inline:1px solid color-mix(in srgb, var(--grid) 80%, transparent);width:min(100%,1240px);min-height:100vh;margin:0 auto;padding:0 clamp(24px,5.3vw,70px)}:root[data-theme=dark] .app-shell{border-inline-color:var(--surface-hover)}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:78px;display:flex}.brand{color:var(--text);align-items:center;gap:10px;font-size:20px;font-weight:700;text-decoration:none;display:inline-flex}.brand-mark{background:var(--coral);color:#fff;border-radius:10px 10px 10px 3px;place-items:center;width:32px;height:32px;display:grid;transform:rotate(-5deg)}.brand-mark svg{transform:rotate(5deg)}.topbar-note{color:var(--text-muted);align-items:center;gap:9px;font-size:13px;display:flex}.topbar-actions{align-items:center;gap:13px;display:flex}.language-picker select{min-height:32px;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;font:700 11px var(--font-body);background:0 0;border-radius:4px;padding:0 7px}.language-picker select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.status-dot{background:var(--success);width:8px;height:8px;box-shadow:0 0 0 3px color-mix(in srgb, var(--success) 14%, transparent);border-radius:50%}.intro{text-align:center;grid-template-columns:repeat(2,minmax(0,1fr));place-items:center;gap:24px 42px;padding:28px 0 30px;display:grid}.intro-copy{grid-column:1;width:100%}.hero-entry{grid-area:2/1/auto/-1;justify-self:center}.letter-art{grid-area:1/2}.eyebrow,.field-label,.preview-label,.examples>span,.length-settings legend,.result-meta{color:var(--text-muted);letter-spacing:1.25px;font-size:10px;font-weight:700}.eyebrow{justify-content:center;align-items:center;gap:11px;margin:0 0 10px;display:flex}.eyebrow-line{background:var(--coral);width:32px;height:1px}.intro h1{max-width:640px;color:var(--text);font-family:var(--font-display);margin:0;font-size:31px;font-weight:500;line-height:1.06}.intro h1 em{color:var(--coral);font-weight:500}.intro-description{max-width:450px;color:var(--text-muted);margin:8px auto 0;font-size:13px;line-height:1.5}.tool-guide{border-top:1px solid var(--border);max-width:760px;color:var(--text-muted);margin:24px auto 48px;padding:20px 24px}.tool-guide h2{color:var(--text);font-family:var(--font-display);margin:0 0 10px;font-size:24px;font-weight:500}.tool-guide p{margin:0 0 10px;font-size:13px;line-height:1.75}.tool-guide p:last-child{margin-bottom:0}.hero-entry{background:color-mix(in srgb, var(--surface-hover) 72%, transparent);border:1px solid var(--border);width:100%;box-shadow:0 8px 20px color-mix(in srgb, var(--accent-dark) 6%, transparent);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:10px;padding:15px 18px 18px;display:grid}.hero-entry .field-label{grid-column:1/-1;margin:0 0 8px}.hero-entry .letters-input{border:2px solid var(--focus-ring);height:54px;box-shadow:0 5px 18px color-mix(in srgb, var(--accent-dark) 10%, transparent);text-align:center;padding-inline:20px;font-size:21px}.hero-entry .letters-input:focus{box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-ring) 18%, transparent), 0 5px 18px color-mix(in srgb, var(--accent-dark) 10%, transparent)}.hero-search-button{width:150px;min-height:54px;color:var(--surface);background:var(--coral);cursor:pointer;font:700 14px var(--font-body);border:0;border-radius:4px;margin-top:0;padding:0 22px;transition:background .15s,transform .15s}.hero-search-button:hover:not(:disabled){background:var(--coral);transform:translateY(-1px)}.hero-search-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.hero-search-button:disabled{cursor:not-allowed;opacity:.55}.letter-art{background:var(--inverse-bg);width:100%;min-height:148px;color:var(--inverse-text);isolation:isolate;background:var(--inverse-bg);isolation:isolate;flex-direction:column;justify-content:space-between;padding:17px 22px 14px;display:flex;position:relative;overflow:hidden}.letter-art:after{content:"";border:1px solid color-mix(in srgb, var(--inverse-text) 18%, transparent);width:180px;height:180px;box-shadow:0 0 0 18px color-mix(in srgb, var(--inverse-text) 4.5%, transparent), 0 0 0 36px color-mix(in srgb, var(--inverse-text) 3.5%, transparent);z-index:-1;border-radius:50%;position:absolute;top:-92px;right:-52px}.art-caption,.art-footnote{color:var(--inverse-muted);letter-spacing:1.5px;font-size:9px;font-weight:700}.art-tiles{justify-content:center;align-items:center;gap:clamp(5px,1.2vw,10px);margin:10px 0 9px;display:flex}.art-tile{aspect-ratio:.88;width:clamp(34px,4.1vw,48px);color:var(--tile-ink);font-family:var(--font-display);box-shadow:0 3px 0 color-mix(in srgb, var(--shadow-color) 18%, transparent);border-radius:3px;place-items:center;font-size:clamp(21px,2.6vw,29px);animation:.5s both tile-arrive;display:grid}.art-tile:nth-child(2){animation-delay:60ms}.art-tile:nth-child(3){animation-delay:.12s}.art-tile:nth-child(4){animation-delay:.18s}.art-tile:nth-child(5){animation-delay:.24s}.art-tile:nth-child(6){animation-delay:.3s}.tile-coral{background:var(--tile-coral)}.tile-yellow{background:var(--tile-yellow)}.tile-blue{background:var(--tile-blue)}.tile-white{background:var(--tile-white)}.tile-mint{background:var(--tile-mint)}.art-footnote{letter-spacing:1.2px;justify-content:space-between;font-weight:500;display:flex}.art-footnote span{color:var(--yellow)}.workspace{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);display:grid}.controls{border-right:1px solid var(--border);padding:20px 30px 24px 0}.results{min-width:0;padding:20px 0 24px 30px}.control-heading,.settings-title{align-items:flex-start;gap:13px;display:flex}.step-number{width:27px;height:27px;color:var(--coral-strong);background:var(--coral-soft);border-radius:50%;flex:0 0 27px;place-items:center;margin-top:1px;font-size:10px;font-weight:700;display:grid}.control-heading h2,.settings-title h2{color:var(--text);margin:0;font-size:18px;font-weight:700;line-height:1.3}.control-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px;line-height:1.5}.field-label{margin:26px 0 8px;display:block}.letters-input{width:100%;height:53px;color:var(--text);background:var(--surface);border:1px solid var(--grid);font-family:var(--font-display);border-radius:4px;outline:none;padding:0 15px;font-size:19px;transition:border-color .16s,box-shadow .16s}.letters-input::placeholder{color:var(--text-subtle);font-family:var(--font-body);font-size:14px}.letters-input:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus-ring) 14%, transparent)}.letter-preview{min-height:52px;padding:12px 0 8px}.preview-label{margin-bottom:8px;font-size:9px;display:block}.preview-tiles{flex-wrap:wrap;gap:5px;display:flex}.preview-tile{width:25px;height:27px;color:var(--text);background:var(--surface-hover);border-bottom:2px solid var(--border-strong);font-family:var(--font-display);border-radius:2px;place-items:center;font-size:14px;display:grid}.preview-hint{color:var(--text-subtle);padding-top:15px;font-size:12px;display:inline-block}.random-letter-picker{align-items:end;gap:9px;margin-top:3px;display:flex}.random-letter-picker label{color:var(--text-muted);letter-spacing:1px;align-items:center;gap:7px;font-size:9px;font-weight:700;display:flex}.random-letter-picker select{width:47px;height:31px;color:var(--text);background:var(--surface);border:1px solid var(--grid);font:600 12px var(--font-body);border-radius:3px;padding:0 5px}.random-letter-picker button{min-height:31px;color:var(--text-muted);background:var(--canvas);border:1px solid var(--border-strong);cursor:pointer;font:600 11px var(--font-body);border-radius:3px;align-items:center;gap:5px;padding:5px 9px;transition:color .15s,background .15s,border-color .15s;display:inline-flex}.random-letter-picker button:hover{color:var(--text);background:var(--surface-hover);border-color:var(--border-strong)}.random-letter-picker select:focus-visible,.random-letter-picker button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.examples{flex-wrap:wrap;align-items:center;gap:5px 12px;margin-top:4px;display:flex}.examples>span{margin-right:2px;font-size:9px}.example-button{color:var(--text-muted);border:0;border-bottom:1px solid var(--border-strong);cursor:pointer;background:0 0;padding:3px 0;font-size:12px;transition:color .15s,border-color .15s}.example-button:hover{color:var(--coral);border-color:var(--coral)}.search-history{margin-top:17px}.history-heading{color:var(--text-muted);letter-spacing:1.1px;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:9px;font-weight:700;display:flex}.history-heading button{color:var(--text-subtle);cursor:pointer;letter-spacing:0;background:0 0;border:0;border-bottom:1px solid #0000;padding:3px 0;font-size:10px}.history-heading button:hover{color:var(--coral);border-bottom-color:var(--coral)}.history-list{flex-wrap:wrap;gap:6px;display:flex}.history-button{min-height:30px;color:var(--text-muted);background:var(--canvas);cursor:pointer;font:600 11px var(--font-body);border:1px solid #0000;border-radius:3px;align-items:center;gap:7px;padding:4px 8px;transition:border-color .14s,background .14s;display:inline-flex}.history-button:hover{background:var(--surface-hover);border-color:var(--border-strong)}.history-button small{color:var(--text-subtle);font-size:9px}.settings-divider{background:var(--border);height:1px;margin:20px 0 16px}.settings-title{align-items:center;margin-bottom:18px}.settings-title h2{font-size:15px}.settings-title .step-number{flex-basis:24px;width:24px;height:24px;font-size:9px}.length-settings{border:0;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.length-settings legend{margin-bottom:9px;padding:0;font-size:9px}.length-settings:disabled{opacity:.45}.number-control{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:flex}.number-control input{width:48px;height:34px;color:var(--text);background:var(--surface);border:1px solid var(--grid);font:600 13px var(--font-body);text-align:center;border-radius:3px;padding:0 6px}.number-control input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.range-dash{color:var(--text-subtle);padding:0 1px}.letter-match-settings{border:0;min-width:0;margin:20px 0 0;padding:0}.letter-match-settings legend{color:var(--text-muted);letter-spacing:1.25px;margin-bottom:9px;padding:0;font-size:9px;font-weight:700}.letter-filter-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.letter-select-control{color:var(--text-muted);flex-direction:column;align-items:flex-start;gap:5px;font-size:11px;display:flex}.letter-select-control select{width:100%;height:34px;color:var(--text);background:var(--surface);border:1px solid var(--grid);font:600 12px var(--font-body);border-radius:3px;padding:0 7px}.letter-select-control select:disabled{cursor:not-allowed;opacity:.55}.letter-select-control select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.setting-toggle{cursor:pointer;align-items:center;gap:11px;margin-top:17px;display:flex}.scores-toggle{white-space:nowrap;gap:7px;margin-top:0}.scores-toggle .custom-check{flex-basis:17px;width:17px;height:17px}.scores-toggle .toggle-copy strong{font-size:11px}.score-note{color:var(--text-muted);font-size:10px}.setting-toggle input{opacity:0;width:1px;height:1px;position:absolute}.custom-check{color:#0000;background:var(--surface);border:1px solid var(--border-strong);border-radius:3px;flex:0 0 19px;place-items:center;width:19px;height:19px;transition:background .15s,border-color .15s;display:grid}.setting-toggle input:checked+.custom-check{color:#fff;background:var(--accent);border-color:var(--accent)}.setting-toggle input:focus-visible+.custom-check{outline:2px solid var(--focus-ring);outline-offset:2px}.toggle-copy{flex-direction:column;gap:2px;display:flex}.toggle-copy strong{color:var(--text);font-size:12px;font-weight:600}.toggle-copy small{color:var(--text-muted);font-size:11px}.search-button{width:100%;min-height:49px;color:var(--surface);background:var(--coral);cursor:pointer;font:700 14px var(--font-body);border:0;border-radius:4px;justify-content:center;align-items:center;gap:9px;margin-top:23px;transition:background .15s,transform .15s;display:flex}.search-button:hover:not(:disabled){background:var(--coral);transform:translateY(-1px)}.search-button:focus-visible,.sort-control button:focus-visible,.copy-button:focus-visible,.show-more-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.search-button:disabled{cursor:not-allowed;opacity:.55}.spinner{border:2px solid color-mix(in srgb, var(--surface) 45%, transparent);border-top-color:#fff;border-radius:50%;width:17px;height:17px;animation:.65s linear infinite spin}.dictionary-note{color:var(--text-subtle);text-align:center;margin:10px 0 0;font-size:10px}.results-header{justify-content:space-between;align-items:flex-start;gap:12px;min-height:43px;display:flex}.results-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.results-heading{min-width:0}.sort-control{gap:4px;margin-top:2px;display:flex}.sort-control button,.copy-button{width:33px;height:33px;color:var(--text-subtle);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:0 0 33px;place-items:center;transition:color .14s,background .14s,border-color .14s;display:grid}.sort-control button:hover,.copy-button:hover{color:var(--text);background:var(--canvas)}.sort-control button[aria-pressed=true]{color:var(--accent-dark);background:var(--surface-hover);border-color:var(--grid)}.length-filters{flex-wrap:wrap;gap:6px;margin:19px 0 0;display:flex}.length-filter-button{min-height:32px;color:var(--text-muted);background:var(--canvas);cursor:pointer;border:1px solid #0000;border-radius:3px;align-items:center;gap:7px;padding:4px 9px;font-size:11px;transition:color .14s,background .14s,border-color .14s;display:inline-flex}.length-filter-button:hover{color:var(--text);border-color:var(--border-strong)}.length-filter-button[aria-pressed=true]{color:#fff;background:var(--accent);border-color:var(--accent)}.length-filter-button small{min-width:17px;height:17px;color:var(--text-muted);background:var(--accent-soft);border-radius:9px;place-items:center;padding-inline:4px;font-size:9px;font-weight:700;display:grid}.length-filter-button[aria-pressed=true] small{color:var(--accent-dark);background:var(--bg)}.result-meta{letter-spacing:1px;justify-content:space-between;gap:10px;margin:24px 0 9px;font-size:9px;display:flex}.result-meta span:last-child{color:var(--text-subtle);letter-spacing:0;flex-shrink:0}.word-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--result-rows), minmax(0, auto));border-top:1px solid var(--border);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.word-row{border-bottom:1px solid var(--border);min-width:0;min-height:47px;animation:.3s both row-arrive;animation-delay:calc(min(var(--row-index,0), 12) * 20ms);align-items:center;gap:9px;padding:4px 7px 4px 2px;display:flex}.word-index{min-width:30px;color:var(--surface);background:var(--coral);border-radius:50%;flex:0 0 30px;place-items:center;font-size:10px;font-weight:700;display:grid}.word-text{min-width:0;color:var(--text);font-family:var(--font-display);text-overflow:ellipsis;flex:auto;font-size:16px;overflow:hidden}.word-scores{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:3px;display:flex}.score-badge{color:var(--yellow-ink);background:var(--yellow);white-space:nowrap;border-radius:3px;padding:3px 4px;font-size:10px;font-weight:700}.copy-button{opacity:0;flex-basis:27px;width:27px;height:27px;margin-left:auto}.word-row:hover .copy-button,.copy-button:focus-visible{opacity:1}.show-more-button{color:var(--accent);border:0;border-bottom:1px solid var(--border-strong);cursor:pointer;font:600 12px var(--font-body);background:0 0;margin-top:17px;padding:9px 0}.empty-state{text-align:center;border:1px dashed var(--border-strong);background:color-mix(in srgb, var(--surface) 48%, transparent);flex-direction:column;justify-content:center;align-items:center;min-height:260px;margin-top:15px;padding:35px 24px;animation:.4s both fade-up;display:flex}.empty-spark{width:43px;height:43px;color:var(--coral-strong);background:var(--coral-soft);font-family:var(--font-display);border-radius:50%;place-items:center;font-size:22px;display:grid}.empty-state h3{color:var(--text);font-family:var(--font-display);margin:15px 0 5px;font-size:19px;font-weight:500}.empty-state p{max-width:330px;color:var(--text-muted);margin:0;font-size:12px;line-height:1.65}.error-state .empty-spark{color:var(--surface);background:var(--coral)}.loading-orbit{border:1px solid var(--grid);border-radius:50%;place-items:center;width:38px;height:38px;animation:2s linear infinite spin;display:grid}.loading-orbit span{background:var(--coral);border-radius:50%;width:11px;height:11px}:root[data-theme=dark] .brand-mark{color:var(--text);background:var(--coral)}:root[data-theme=dark] .hero-entry{background:color-mix(in srgb, var(--bg) 85%, transparent)}:root[data-theme=dark] .sort-control button:hover,:root[data-theme=dark] .copy-button:hover{background:var(--surface-hover)}:root[data-theme=dark] .letters-input,:root[data-theme=dark] .number-control input,:root[data-theme=dark] .letter-select-control select,:root[data-theme=dark] .random-letter-picker select{color:var(--text);background:var(--bg);border-color:var(--border-strong)}:root[data-theme=dark] .letters-input::placeholder{color:var(--text-subtle)}:root[data-theme=dark] .preview-tile{color:var(--text);background:var(--surface-hover);border-bottom-color:var(--border-strong)}:root[data-theme=dark] .preview-hint,:root[data-theme=dark] .dictionary-note{color:var(--text-subtle)}:root[data-theme=dark] .example-button{color:var(--accent-dark);border-bottom-color:var(--border-strong)}:root[data-theme=dark] .random-letter-picker button{color:var(--text);background:var(--surface-soft);border-color:var(--border-strong)}:root[data-theme=dark] .random-letter-picker button:hover{background:var(--accent-soft);border-color:var(--border-strong)}:root[data-theme=dark] .history-button{color:var(--text);background:var(--surface-soft)}:root[data-theme=dark] .history-button:hover{background:var(--accent-soft);border-color:var(--border-strong)}:root[data-theme=dark] .history-button small,:root[data-theme=dark] .history-heading button{color:var(--text-muted)}:root[data-theme=dark] .step-number{color:var(--coral-strong);background:var(--coral-soft)}:root[data-theme=dark] .custom-check{background:var(--bg);border-color:var(--border-strong)}:root[data-theme=dark] .setting-toggle input:checked+.custom-check{background:var(--border-strong);border-color:var(--border-strong)}:root[data-theme=dark] .sort-control button[aria-pressed=true]{color:var(--text);background:var(--surface-hover);border-color:var(--border-strong)}:root[data-theme=dark] .length-filter-button{color:var(--text-muted);background:var(--surface-soft)}:root[data-theme=dark] .length-filter-button:hover{border-color:var(--border-strong)}:root[data-theme=dark] .length-filter-button[aria-pressed=true]{color:#fff;background:var(--border-strong);border-color:var(--success)}:root[data-theme=dark] .length-filter-button small{color:var(--text);background:var(--border-strong)}:root[data-theme=dark] .length-filter-button[aria-pressed=true] small{color:var(--surface-hover);background:var(--text)}:root[data-theme=dark] .word-index{color:var(--text);background:var(--coral)}:root[data-theme=dark] .score-badge{color:var(--yellow-ink);background:var(--yellow)}:root[data-theme=dark] .empty-state{background:color-mix(in srgb, var(--bg) 42%, transparent);border-color:var(--border-strong)}:root[data-theme=dark] .empty-spark{color:var(--coral-strong);background:var(--coral-soft)}:root[data-theme=dark] .error-state .empty-spark{color:#fff;background:var(--coral)}:root[data-theme=dark] .show-more-button{color:var(--accent-dark);border-bottom-color:var(--border-strong)}:root[data-theme=dark] .result-meta span:last-child{color:var(--text-subtle)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes tile-arrive{0%{opacity:0;transform:translateY(8px)rotate(3deg)}to{opacity:1;transform:translateY(0)rotate(0)}}@keyframes row-arrive{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width<=780px){.app-shell{padding-inline:28px}.intro{grid-template-columns:1fr minmax(230px,.75fr);gap:18px;padding:18px 0 22px}.intro-copy{grid-column:1}.letter-art{grid-area:1/2;min-height:132px;padding-inline:17px}.hero-entry{grid-area:2/1/auto/-1}.intro h1{font-size:29px}.workspace{grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr)}.controls{padding:20px 23px 24px 0}.results{padding:20px 0 24px 23px}}@media (width<=600px){.app-shell{padding-inline:20px}.topbar{min-height:68px}.topbar-note{max-width:150px;font-size:10px}.topbar-actions{gap:8px}.intro{grid-template-columns:1fr;gap:16px;padding:16px 0 20px}.intro h1{font-size:27px}.intro-copy,.hero-entry,.letter-art{grid-column:1}.intro-copy{grid-row:1}.letter-art{grid-row:2}.hero-entry{grid-row:3}.intro-description{max-width:360px;margin-top:12px;font-size:14px}.hero-entry .letters-input{height:54px;font-size:20px}.hero-entry{padding:13px 13px 14px}.hero-search-button{width:100%;min-height:44px;margin-top:9px}.workspace{grid-template-columns:minmax(0,1fr)}.controls{border-right:0;border-bottom:1px solid var(--border);padding:18px 0 21px}.results{padding:20px 0 25px}.results-header{flex-direction:column;min-height:0}.results-actions{justify-content:space-between;width:100%}.word-list{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-auto-columns:auto;grid-auto-flow:row}.copy-button{opacity:1}.empty-state{min-height:220px}}@media (width<=360px){.app-shell{padding-inline:15px}.intro h1{font-size:35px}.number-control{gap:4px;font-size:11px}.number-control input{width:42px}.length-settings{gap:6px}.art-tile{width:34px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
