@font-face{font-family:Bricolage;src:url('/assets/bricolage-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{--ink:#25213c;--purple:#7152ed;--paper:#f4f0ff;--mint:#a8edce;--peach:#ffbe9b;--yellow:#ffdf72;--line:#ded5f3;--body:Bricolage,'Trebuchet MS',sans-serif;font-family:var(--body);font-size:16px;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background-image:radial-gradient(#c9bfe04a .8px,transparent .8px);background-size:20px 20px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #5b32d4;outline-offset:5px}button:disabled{cursor:default}a{color:inherit;text-underline-offset:4px}h1,h2,p{margin:0}button{border:0}button[hidden],[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:20px;top:-80px;background:white;padding:15px;z-index:100}.skip-link:focus{top:10px}
.site-header{max-width:1240px;margin:auto;min-height:108px;padding:25px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{text-decoration:none;display:flex;gap:11px;align-items:center;font-size:15px;line-height:1.15;font-weight:650;letter-spacing:-.3px}.brand strong{font-size:20px;font-weight:800}.brand-mark{width:43px;height:47px;display:grid;place-items:center;background:var(--purple);color:#fff;border:2px solid var(--ink);border-radius:12px;box-shadow:0 4px 0 var(--ink);font-size:34px;font-weight:800;transform:rotate(-8deg)}.mode-switch{display:flex;gap:5px;background:#e8e1f8;padding:5px;border-radius:30px}.mode-switch button{padding:11px 25px;background:transparent;border-radius:24px;font-weight:700;font-size:15px;white-space:nowrap}.mode-switch button.selected{background:#fff;box-shadow:0 2px 6px #30234b12}.icon-button{width:43px;height:43px;display:grid;place-items:center;background:#fff;border:2px solid var(--ink);border-radius:50%;font-size:25px;position:relative}.sound-slash{position:absolute;width:24px;height:2px;background:var(--ink);transform:rotate(-45deg);box-shadow:0 2px white}.sound-button[aria-pressed=true] .sound-slash{display:none}
main{max-width:1100px;margin:0 auto;padding:0 44px}.intro{display:flex;justify-content:space-between;align-items:center;min-height:205px;position:relative;gap:20px}.intro-copy{padding-top:5px}.kicker{font-size:12px;font-weight:800;letter-spacing:2px;margin-bottom:14px;color:#76658e}h1{font-size:clamp(38px,4.7vw,64px);line-height:1.06;letter-spacing:-2.8px;font-weight:800}h1 span{color:var(--purple);position:relative}h1 span:after{content:'';position:absolute;height:5px;bottom:-3px;left:3px;right:0;border-radius:60%;background:var(--purple);transform:rotate(-3deg)}.intro-description{font-size:18px;color:#756b85;margin-top:21px}.mascot{width:230px;height:205px;object-fit:contain;transform:rotate(3deg);filter:drop-shadow(0 8px 6px #6e588c0a)}
.game-toolbar{display:flex;align-items:center;justify-content:space-between;margin:13px 0 26px;gap:15px}.scoreboard{display:flex;align-items:center;background:#fff;border:1px solid #e5dcef;border-radius:17px;padding:14px 0}.score{display:flex;align-items:baseline;gap:10px;padding:0 23px;border-right:1px solid #eee8f5}.score span{font-size:14px;color:#82758f;font-weight:650}.score strong{font-size:25px;font-weight:800;line-height:1}.lives{color:#ed6280;padding:0 22px;font-size:24px;letter-spacing:4px;line-height:1}.lost-heart{color:#e9dfef}.pace-switch{margin:0;padding:0;border:0;display:flex;gap:4px;background:#e8e1f8;border-radius:24px;padding:4px}.pace-switch input{position:absolute;opacity:0;width:1px;height:1px}.pace-switch label{cursor:pointer}.pace-switch span{display:block;padding:8px 15px;border-radius:20px;font-size:14px;font-weight:700}.pace-switch small{font-size:12px;opacity:.6;margin-left:4px}.pace-switch input:checked+span{background:var(--ink);color:white}.pace-switch input:focus-visible+span{outline:3px solid var(--purple);outline-offset:4px}.round-line{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;color:#84748f;margin:0 3px 10px}.round-line #streak-label{color:var(--purple)}.time-label{min-width:100px;text-align:right}.timer-track{height:6px;border-radius:5px;background:#e5ddf2;margin-bottom:25px;overflow:hidden}.timer-track span{display:block;height:100%;width:100%;background:var(--purple);border-radius:5px;transform-origin:left}.timer-track span.urgent{background:#ef5474}
.word-pair{display:grid;grid-template-columns:1fr 1fr;gap:30px;position:relative}.word-card{position:relative;min-height:225px;border:3px solid var(--ink);border-radius:27px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px 16px 30px;box-shadow:0 9px 0 var(--ink);transition:transform .14s,box-shadow .14s,filter .2s}.word-card.mint{background:var(--mint)}.word-card.peach{background:var(--peach)}.word-card:not(:disabled):hover{transform:translateY(-5px) rotate(-1deg);box-shadow:0 14px 0 var(--ink)}.word-card.peach:not(:disabled):hover{transform:translateY(-5px) rotate(1deg)}.word-card:not(:disabled):active{transform:translateY(6px);box-shadow:0 3px 0 var(--ink)}.word-card:disabled:not(.answered){opacity:.75}.word-card.answered{cursor:default}.word-card.correct{border-color:#1c7654;box-shadow:0 9px 0 #1c7654}.word-card.wrong{border-color:#b33c51;box-shadow:0 9px 0 #b33c51}.word-card.unpicked{filter:saturate(.4);opacity:.65}.word-card .word{font-size:clamp(26px,4.5vw,60px);font-weight:800;letter-spacing:-1.8px;line-height:1.1;max-width:100%;overflow-wrap:anywhere}.card-frequency{font-size:14px;font-weight:600;opacity:.65}.key-hint{position:absolute;top:16px;left:18px;width:27px;height:27px;border:1.5px solid #25213c38;border-radius:8px;display:grid;place-items:center;font-size:13px;color:#25213c80}.card-verdict{position:absolute;right:15px;top:12px;font-weight:800;font-size:28px}.versus{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-9deg);z-index:2;width:49px;height:49px;display:grid;place-items:center;border:3px solid var(--ink);background:var(--yellow);border-radius:50%;font-size:17px;font-weight:800;box-shadow:0 3px 0 var(--ink)}.feedback-area{min-height:114px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 3px 13px}.feedback-title{font-weight:750;font-size:19px;line-height:1.3}.feedback-detail{display:block;font-size:14px;color:#7c708b;line-height:1.5;margin-top:5px}.feedback-title.success{color:#27765a}.feedback-title.miss{color:#b7415a}.primary-button,.secondary-button{padding:14px 25px;font-weight:750;border-radius:15px;border:2px solid var(--ink);font-size:16px;box-shadow:0 4px var(--ink);transition:transform .12s,box-shadow .12s}.primary-button{background:var(--purple);color:white}.secondary-button{background:white}.primary-button:hover,.secondary-button:hover{transform:translateY(-2px);box-shadow:0 6px var(--ink)}.primary-button:active,.secondary-button:active{transform:translateY(3px);box-shadow:0 1px var(--ink)}.next-button{white-space:nowrap;flex-shrink:0}.next-button span{opacity:.65;margin-left:9px}.keyboard-note{font-size:12px;text-align:center;color:#8b7e9c;margin:10px 0 22px}kbd{font:inherit;padding:2px 5px;border:1px solid #d4c8e4;border-bottom-width:2px;border-radius:4px;background:#faf7ff}.game-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:21px 0 25px;font-size:13px;color:#8b7b9a}.text-button{padding:0;background:transparent;font-size:13px;font-weight:650;color:#6d5688;text-decoration:underline;text-underline-offset:4px}
.game-summary{min-height:360px;text-align:center;padding:30px 20px 32px;border:2px solid var(--ink);border-radius:27px;background:white;box-shadow:0 8px var(--ink);margin-bottom:28px}.summary-star{display:block;color:#f6bb30;text-shadow:2px 2px var(--ink);font-size:50px;line-height:1;margin-bottom:12px}.game-summary h2{font-size:32px;letter-spacing:-1px}.game-summary .kicker{margin-bottom:9px}.final-score{font-size:80px;font-weight:800;color:var(--purple);letter-spacing:-5px;line-height:1.2}.game-summary p:not(.kicker){font-size:15px;color:#82758f}.summary-actions{display:flex;gap:13px;justify-content:center;margin:22px 0 12px}.score-pop{animation:score-pop .3s ease}.shake{animation:shake .3s ease}.card-in{animation:card-in .22s ease-out}.confetto{position:fixed;left:50%;top:50%;width:9px;height:14px;pointer-events:none;z-index:100;border-radius:3px;animation:confetti .8s ease-out forwards;--dx:0px;--dy:0px}#confetti{pointer-events:none}
.compare-view{min-height:615px;padding-top:37px}.compare-intro{text-align:center}.compare-intro p:last-child{font-size:18px;color:#7c708b;margin-top:22px}.compare-form{max-width:770px;margin:35px auto 0;background:#fff;border:2px solid var(--ink);border-radius:24px;padding:28px;box-shadow:0 7px var(--ink);text-align:center}.compare-inputs{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;text-align:left}.compare-inputs>span{align-self:end;padding-bottom:20px;color:#9484a5;font-size:14px;font-weight:700}.compare-form label{font-size:14px;font-weight:700;display:block}.compare-form input{display:block;border:2px solid #d6c9e6;border-radius:13px;padding:15px;width:100%;margin-top:9px;font-size:22px;font-weight:650;color:var(--ink);background:#faf7ff}.compare-form input::placeholder{color:#b0a3bf;font-weight:500}.compare-form>.primary-button{margin-top:23px;min-width:190px}.compare-result{max-width:770px;margin:25px auto 0;background:#e1f6e9;border:1px solid #bedbca;border-radius:20px;padding:25px;text-align:center;line-height:1.5}.compare-result h2{font-size:26px;letter-spacing:-.5px}.compare-result p{font-size:15px;margin-top:8px;color:#536b5c}.result-values{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.result-values div{padding:15px;background:#ffffffa6;border-radius:12px}.result-values strong,.result-values span{display:block}.result-values span{font-size:13px;color:#637567;margin-top:5px}.compare-result.message{background:#fff4d5;border-color:#ead49c}.compare-result.error{background:#ffe7e9;border-color:#ebbec5}.example-pairs{margin:30px auto;max-width:800px;text-align:center}.example-pairs p{font-size:13px;font-weight:700;color:#8e7d9d;margin-bottom:12px}.example-pairs>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.example-pairs button{background:#ebe4f7;border:1px solid #dfd4ef;border-radius:20px;padding:9px 14px;font-size:13px;font-weight:650}.example-pairs button:hover{background:#e0d3f5}.data-note{font-size:13px;line-height:1.6;color:#8a7997;text-align:center;max-width:650px;margin:0 auto 35px}.data-note a{white-space:nowrap}
footer{max-width:1100px;padding:24px 44px 30px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#9788a5;margin:0 auto}footer div{display:flex;gap:19px}footer a{text-decoration:none}footer a:hover{text-decoration:underline}.footer-love span{color:var(--purple);font-size:16px;margin-left:4px}dialog{border:2px solid var(--ink);border-radius:26px;box-shadow:0 8px var(--ink);max-width:480px;width:calc(100% - 32px);padding:35px;color:var(--ink);background:#fff}dialog::backdrop{background:#251d4580;backdrop-filter:blur(5px)}dialog h2{font-size:30px;letter-spacing:-1px;max-width:310px}dialog p{line-height:1.5;font-size:15px;margin:15px 0}dialog ol{padding-left:22px;font-size:16px;line-height:1.5}dialog li{margin:13px 0}dialog .icon-button{position:absolute;top:15px;right:15px;width:32px;height:32px;font-size:23px;border-color:#ddd1ed}.dialog-close.primary-button{margin-top:8px;width:100%}.noscript{padding:30px;text-align:center}.reading-page{max-width:760px;margin:25px auto 70px;padding:0 25px}.reading-page h1{font-size:45px;margin:35px 0 30px}.reading-page h2{font-size:25px;margin:28px 0 12px}.reading-page p,.reading-page li{font-size:17px;line-height:1.7;margin-bottom:15px}.reading-page .back-link{font-weight:700;color:var(--purple)}
@keyframes score-pop{50%{transform:scale(1.3)}}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}@keyframes card-in{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes confetti{to{transform:translate(var(--dx),var(--dy)) rotate(420deg);opacity:0}}
@media(min-width:1500px){main{padding-top:17px}.intro{min-height:220px}.word-card{min-height:245px}.feedback-area{min-height:124px}}
@media(max-width:780px){.site-header{padding:20px 24px;min-height:90px;gap:15px}.brand-mark{width:36px;height:40px;font-size:28px}.brand{font-size:12px;gap:9px}.brand strong{font-size:17px}.mode-switch button{padding:10px 17px;font-size:14px}.icon-button{width:37px;height:37px;font-size:22px}main{padding:0 25px}.intro{min-height:180px}.mascot{width:170px;height:170px}.intro-description{max-width:350px;font-size:16px}.kicker{font-size:10px;letter-spacing:1.5px}h1{font-size:45px;letter-spacing:-2px}.score{padding:0 16px}.lives{padding:0 15px}.word-pair{gap:24px}.word-card{min-height:205px}.word-card .word{font-size:42px}.card-frequency{font-size:13px}.footer-love{display:none}footer{padding:22px 25px}.game-toolbar{margin-top:13px}.pace-switch small{display:none}.pace-switch span{padding:9px 13px}}
@media(max-width:540px){.site-header{padding:17px 18px;gap:8px;flex-wrap:wrap;min-height:130px}.brand{flex:1}.brand strong{font-size:18px}.mode-switch{order:3;flex-basis:100%;justify-content:center;margin-top:8px;padding:4px;background:#e9e1f7}.mode-switch button{flex:1;padding:9px 12px;font-size:14px}.sound-button{width:35px;height:35px}.intro{min-height:184px;padding-top:8px;align-items:flex-start;gap:0}.intro-copy{padding-top:13px;z-index:1;max-width:79%}.intro h1{font-size:39px;max-width:255px;line-height:1.07;letter-spacing:-1.8px}.intro-description{font-size:15px;line-height:1.45;max-width:240px;margin-top:17px}.intro .kicker{font-size:9px;letter-spacing:1px;margin-bottom:11px;max-width:245px}.mascot{position:absolute;right:-15px;top:21px;width:115px;height:122px;opacity:1;transform:rotate(5deg)}.intro h1{max-width:215px}.intro-copy{max-width:calc(100% - 75px)}main{padding:0 19px}.game-toolbar{margin:7px 0 20px;gap:7px}.scoreboard{padding:12px 0;border-radius:13px;flex:1}.score{padding:0 10px;gap:6px;align-items:center}.score span{font-size:12px}.score strong{font-size:20px}.lives{font-size:18px;padding:0 11px;letter-spacing:1px;white-space:nowrap}.pace-switch{padding:3px;gap:1px}.pace-switch span{font-size:12px;padding:9px 10px}.round-line{font-size:11px;margin-bottom:8px}.round-line #streak-label{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-label{min-width:70px}.timer-track{height:5px;margin-bottom:17px}.word-pair{gap:16px}.word-card{min-height:172px;border-radius:20px;gap:18px;padding:38px 9px 24px;box-shadow:0 6px var(--ink);border-width:2px}.word-card.correct{box-shadow:0 6px #1c7654}.word-card.wrong{box-shadow:0 6px #b33c51}.word-card .word{font-size:29px;letter-spacing:-1px}.card-frequency{font-size:10px;max-width:100%;line-height:1.35}.key-hint{top:10px;left:11px;width:21px;height:21px;font-size:11px;border-radius:6px}.card-verdict{font-size:22px;top:7px;right:10px}.versus{width:35px;height:35px;border-width:2px;font-size:13px;box-shadow:0 2px var(--ink)}.feedback-area{min-height:125px;gap:12px;flex-wrap:wrap;padding:23px 0 10px;justify-content:center;text-align:center}.feedback-title{font-size:17px}.feedback-detail{font-size:12px}.feedback-area #feedback{width:100%}.next-button{font-size:14px;padding:10px 24px}.keyboard-note{display:none}.game-bottom{margin-top:12px;font-size:11px;padding:18px 0}.text-button{font-size:12px}.game-bottom>span{font-size:10px}.game-summary{padding:26px 15px;min-height:360px;margin-bottom:22px}.game-summary h2{font-size:27px}.summary-actions{gap:10px}.summary-actions button{padding:12px 16px;font-size:14px}.compare-view{padding-top:25px;min-height:560px}.compare-intro h1{font-size:41px}.compare-intro p:last-child{font-size:16px;line-height:1.5;margin-top:20px}.compare-form{padding:21px 17px;margin-top:25px;border-radius:21px}.compare-inputs{gap:10px;grid-template-columns:1fr}.compare-inputs>span{display:none}.compare-form label{font-size:13px}.compare-form input{font-size:20px;padding:12px 14px;margin-top:6px}.compare-form button{width:100%;font-size:15px}.compare-result{padding:20px 16px}.compare-result h2{font-size:22px}.result-values{gap:9px}.result-values strong{overflow-wrap:anywhere}.result-values span{font-size:11px}.example-pairs{margin:26px 0}.example-pairs button{font-size:12px;padding:9px 12px}.data-note{font-size:12px}.reading-page{padding:0 21px;margin-top:15px}.reading-page h1{font-size:36px;letter-spacing:-1px}.reading-page p,.reading-page li{font-size:16px}footer{padding:17px 19px 26px;flex-wrap:wrap;justify-content:center;gap:12px;font-size:11px;text-align:center}footer div{gap:18px}dialog{padding:29px 24px}dialog h2{font-size:27px}}
body{overflow-x:clip}
@media(max-width:540px){.round-line{font-size:12px}.card-frequency{font-size:12px}.word-card{padding-left:7px;padding-right:7px}.scoreboard{padding:8px 0}.score{flex-direction:column;gap:3px;padding:0 11px}.score span{font-size:11px}.mascot{right:-12px}}
@media(max-width:360px){.game-toolbar{flex-wrap:wrap}.scoreboard{flex-basis:100%;justify-content:space-between}.score{flex:1}.pace-switch{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
