/* Fonts are served from this site (see fonts/): DM Sans and Fredoka, SIL Open Font License 1.1. No request goes to a font CDN. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url('./fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:400 700;font-display:swap;src:url('./fonts/fredoka-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{color-scheme:light;--ink:#29214d;--ink2:#594f79;--muted:#766c90;--gold:#f7b943;--gold2:#ffdc7c;--lav:#eee8ff;--cream:#fffaf0;--white:#fff;--line:#e8e1f2;--soft:#f6f2ff;--success:#26785c;--danger:#a4495f;--shadow:0 15px 40px rgba(46,30,84,.09);font-family:'DM Sans',system-ui,-apple-system,sans-serif;font-size:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-bottom:120px}body{margin:0;background:linear-gradient(175deg,#fffdf8 0,#f7f3ff 55%,#fffaf2 100%);color:var(--ink);min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8a6bd9;outline-offset:3px}.site-frame{max-width:1230px;margin:0 auto;min-height:100dvh;padding:0 26px}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 4px 25px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);min-width:max-content}.brand-mark{display:grid;place-items:center;background:#fff1c4;border:2px solid #ffe19a;width:52px;height:52px;border-radius:18px;font-size:29px;transform:rotate(-6deg)}.brand strong{font:700 27px/1 'Fredoka',sans-serif;letter-spacing:-.7px;display:block}.brand small{font-size:12px;color:var(--muted);font-weight:700;letter-spacing:.03em;display:block;margin-top:4px}.nav{display:flex;gap:6px;background:#fff;border:1px solid var(--line);padding:5px;border-radius:18px;box-shadow:0 4px 22px rgba(33,20,76,.04)}.nav-button{border:0;background:transparent;border-radius:13px;padding:12px 16px;font-weight:800;color:var(--ink2);white-space:nowrap;min-height:44px}.nav-button.active{background:var(--ink);color:#fff}.tab-panel{display:none}.tab-panel.active{display:block;animation:softIn .25s ease-out}.hero{background:var(--ink);color:#fff;border-radius:35px;display:grid;grid-template-columns:1.18fr .82fr;overflow:hidden;min-height:346px;box-shadow:var(--shadow)}.hero-copy{padding:48px 50px}.eyebrow,.mini-kicker{font-weight:800;letter-spacing:.11em;font-size:12px;color:#6a52b3}.eyebrow{color:#ffe49f}.hero h1{font:600 clamp(39px,5.4vw,68px)/1 'Fredoka',sans-serif;letter-spacing:-1.5px;margin:17px 0}.hero h1 em{font-style:normal;color:var(--gold2)}.hero p{line-height:1.6;max-width:450px;color:#eae3ff;margin:0 0 28px;font-size:17px}.statbar{display:flex;gap:25px;flex-wrap:wrap}.statbar span{font-size:13px;color:#dfd8ee}.statbar b{font:600 22px 'Fredoka',sans-serif;color:#fff;margin-right:5px}.hero-art{position:relative;display:grid;place-items:center;background:radial-gradient(circle at 60% 52%,#7457b7 0,#543e8b 42%,transparent 70%)}.bee-friend{font-size:128px;transform:rotate(-11deg);filter:drop-shadow(0 12px 12px #281b55)}.bee-orbit{position:absolute;inset:28px;border:2px dashed #ffffff55;border-radius:50%;font-size:34px;text-align:center;color:#ffd669;transform:rotate(13deg)}.star{position:absolute;color:#fff0af;font-size:37px}.star-a{top:40px;left:20%}.star-b{bottom:50px;right:20%}.star-c{right:12%;top:25%}.hero-speech{position:absolute;bottom:38px;left:12%;font:600 20px 'Fredoka',sans-serif;background:#fff;color:var(--ink);border-radius:20px;padding:9px 14px;transform:rotate(-8deg)}.content-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:22px;margin:24px 0}.panel{background:var(--white);border:1px solid var(--line);border-radius:27px;box-shadow:0 8px 35px rgba(68,35,94,.04);padding:28px;margin-bottom:24px}.content-grid .panel{margin-bottom:0}.section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:20px}.section-title h2,.panel h2{font:600 28px/1.1 'Fredoka',sans-serif;margin:8px 0 0}.section-title p{color:var(--muted);margin:8px 0 0}.pill{background:#f6ecff;color:#7754a7;border-radius:22px;padding:8px 12px;font-size:12px;font-weight:800;white-space:nowrap}.count-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.24fr;gap:9px;margin-bottom:19px}.count-option{position:relative;background:var(--soft);border:2px solid transparent;padding:10px 0;border-radius:15px;font:600 26px 'Fredoka',sans-serif;color:var(--ink)}.count-option small{display:block;color:var(--ink2);font:700 12px 'DM Sans',sans-serif;margin-top:2px}.count-option.active{border-color:var(--ink2);box-shadow:inset 0 0 0 1px var(--ink2);background:#fffae9;font-weight:700}.count-option.active::before,.voice-card.active::before{content:"\2713";content:"\2713" / "";position:absolute;top:5px;right:8px;font:800 14px/1 'DM Sans',sans-serif;color:var(--ink2)}.custom-count{display:grid;align-content:center;justify-items:center;font-size:12px;font-weight:800;color:var(--ink2);background:#f9f7ff;border-radius:15px;padding:8px}.custom-count input{background:transparent;border:0;border-bottom:2px solid #8a80a8;width:65px;text-align:center;font:600 23px 'Fredoka',sans-serif;color:var(--ink);margin-top:4px}.form-row{display:flex;gap:14px;align-items:flex-end;margin-bottom:17px}.field{display:grid;gap:7px;flex:1;min-width:0;font-size:13px;color:var(--ink2);font-weight:800}.field input,.field select{width:100%;padding:13px 14px;background:#fcfbff;border:1px solid #8a80a8;border-radius:13px;color:var(--ink);min-height:47px;outline-offset:2px}.primary-btn,.soft-btn,.listen-btn,.correct-btn,.review-btn{border:0;border-radius:14px;padding:14px 22px;font-weight:800;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn{background:var(--gold);color:var(--ink);box-shadow:0 4px 0 #dca03a}.primary-btn:hover{background:#ffd06e}.big-btn{width:100%;font-size:16px;justify-content:space-between;padding-left:24px;padding-right:23px}.soft-btn{background:var(--soft);border:1px solid #e3d7f1;color:var(--ink)}.soft-btn:hover{background:#eae0ff}.helper{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 0}.side-note{background:linear-gradient(160deg,#fff4c7,#fffaf0);border-color:#f3dda4;display:flex;flex-direction:column;align-items:flex-start}.note-icon{font-size:34px;border-radius:18px;background:#fff;padding:13px}.side-note h3{font:600 25px 'Fredoka',sans-serif;margin:16px 0 8px}.side-note p{margin:0 0 14px;color:var(--ink2);line-height:1.5}.note-divider{height:1px;width:100%;background:#e5ce94;margin:18px 0}.side-note .small-note{font-size:12px;margin:0}.hidden{display:none!important}.section-intro{padding:28px 4px 15px}.section-intro h1{font:600 clamp(36px,5vw,57px) 'Fredoka',sans-serif;letter-spacing:-1px;margin:9px 0}.section-intro p{max-width:675px;color:var(--ink2);line-height:1.7}.round-panel{margin:25px 0 55px}.round-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.round-meter{text-align:right;color:var(--ink2);font-size:12px;font-weight:800}.meter-track{width:180px;height:9px;border-radius:20px;background:#e7deef;margin-top:7px;overflow:hidden}.meter-track>span{display:block;height:100%;width:0;background:#ffc244;transition:width .3s ease}.active-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:38px;box-shadow:var(--shadow);text-align:center}.bee-bubble{margin:0 auto;width:70px;height:70px;background:#ffedaf;border-radius:24px;display:grid;place-items:center;font-size:35px}.active-card h2{font:600 36px 'Fredoka',sans-serif;margin:20px 0 9px}.subtle{color:var(--muted);line-height:1.6}.listen-btn{background:#f4e8ff;color:var(--ink);margin:16px 0 20px;font-size:18px;padding:16px 28px}.clue-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.clue-actions button{border:1px solid #dfd4ee;background:#fff;border-radius:100px;padding:9px 13px;color:var(--ink2);font-size:13px;font-weight:800}.clue-actions button:hover{background:#faf6ff}.clue-result{max-width:640px;margin:22px auto 0;background:#fff9e8;border:1px solid #f2dc9d;border-radius:17px;padding:15px 19px;text-align:left;line-height:1.65}.clue-result strong{display:block;margin-bottom:5px}#answerForm{max-width:540px;margin:25px auto 0;text-align:left}#answerForm label{font-weight:800;font-size:14px}.answer-row{display:flex;gap:10px;margin-top:8px}.answer-row input{flex:1;min-width:0;border:2px solid #8a80a8;border-radius:14px;padding:14px;font-size:19px;letter-spacing:.02em}.answer-row button{min-width:146px}.feedback{padding:18px;border-radius:17px;margin:22px auto 0;max-width:580px;text-align:left;font-weight:700}.feedback.good{background:#e1f5ec;color:#125a42}.feedback.missed{background:#fff1e6;color:#975b27}.feedback .correct-word{display:block;margin-top:7px;font:600 27px 'Fredoka'}.active-card #nextWord{margin-top:20px}.oral-buttons{margin-top:25px}.oral-grade{display:flex;justify-content:center;gap:12px;margin-top:15px}.correct-btn{background:#d9f2e5;color:#176448}.review-btn{background:#ffe8e5;color:#8d4253}.round-summary{background:#fff;border-radius:25px;padding:32px;text-align:center}.round-summary h2{font:600 38px 'Fredoka',sans-serif}.summary-score{font:600 72px 'Fredoka',sans-serif;color:#6b4aab}.summary-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.results-head{display:flex;justify-content:space-between;gap:15px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:16px}.results-head strong{font:600 19px 'Fredoka';color:var(--ink)}.word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.word-card{background:#fcfaff;border:1px solid #eee7f8;border-radius:17px;padding:17px}.word-card h3{font:600 22px 'Fredoka';margin:0 0 7px;word-break:break-word}.word-card p{margin:8px 0;line-height:1.5;font-size:14px;color:var(--ink2)}.word-meta{font-size:12px;font-weight:800;color:var(--ink2)}.word-card a{font-size:12px;font-weight:800;color:#6152a5}.word-card-actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.mini-btn{border:1px solid #e1d4ef;background:#fff;border-radius:10px;color:var(--ink);padding:7px 11px;font-weight:800;font-size:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.block-btn{display:block;margin:22px auto 0}.voice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.voice-card{position:relative;border:2px solid #e8dff6;background:#fbf9ff;border-radius:19px;padding:20px 9px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:var(--ink)}.voice-card.active{background:#fff9e7;border-color:var(--ink2);box-shadow:inset 0 0 0 1px var(--ink2)}.avatar{height:60px;width:60px;border-radius:21px;display:grid;place-items:center;font-size:34px;background:#ece2ff}.voice-card:nth-child(2) .avatar{background:#fbe5f3}.voice-card:nth-child(3) .avatar{background:#e4ecff}.voice-card:nth-child(4) .avatar{background:#e4f5ef}.voice-card strong{font:600 23px 'Fredoka';line-height:1.1}.voice-card small{font-size:12px;color:var(--ink2)}.voice-card em{font-size:12px;font-style:normal;font-weight:800;color:#6e5490}.settings-heading{font:600 20px 'Fredoka';margin:28px 0 11px}.segmented{display:flex;flex-wrap:wrap;gap:10px}.speed-option{padding:12px 20px;border-radius:13px;border:2px solid #e7ddf6;background:#fff;font-weight:800;color:var(--ink)}.speed-option.active{background:#fff4cf;border-color:var(--ink2);box-shadow:inset 0 0 0 1px var(--ink2);font-weight:900}.speed-option.active::before{content:"\2713 ";content:"\2713 " / ""}.audio-mode{display:flex;flex-direction:column;gap:10px}.audio-mode label{border:1px solid #e5deed;border-radius:15px;padding:14px 18px;font-weight:800;display:block;background:#fdfcff}.audio-mode input{accent-color:#7754b7;margin-right:10px}.audio-mode small{display:block;font-weight:500;color:var(--muted);margin:5px 0 0 25px}.voice-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:25px}.text-btn{background:transparent;border:0;color:#6551a6;font-weight:800;padding:11px}.status-message{border:1px solid #e8e0f1;background:#faf7ff;border-radius:15px;padding:13px 17px;margin-top:18px;font-size:14px;color:var(--ink2);line-height:1.5}.routine{padding-left:25px;line-height:1.9;color:var(--ink2)}.routine li{padding-left:5px;margin-bottom:7px}.downloads{display:grid;gap:9px;margin-top:20px}.downloads a{display:flex;justify-content:space-between;gap:10px;text-decoration:none;border-radius:13px;padding:13px 14px;background:#f8f3ff;font-weight:800;color:var(--ink)}.downloads span{font-size:12px;color:#6c579b}.foot-note{line-height:1.7;color:var(--ink2)}.footer{padding:30px 3px 48px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#6f6585;font-size:12px}.voice-download{position:fixed;z-index:90;bottom:calc(20px + env(safe-area-inset-bottom));right:20px;width:min(410px,calc(100vw - 28px));border:1px solid #d9c6f3;background:#fff;border-radius:20px;box-shadow:0 25px 85px #29145338;padding:18px 18px 15px}.download-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.download-head strong{font:600 18px 'Fredoka'}.icon-btn{border:0;background:#f5f0fa;border-radius:9px;width:44px;height:44px;font-size:24px;color:var(--ink)}.voice-download p{margin:7px 0 12px;color:var(--ink2);font-size:13px;line-height:1.4;overflow-wrap:anywhere}.progress-track{width:100%;height:11px;border-radius:20px;background:#eae4f3;overflow:hidden}.progress-track>div{width:0;height:100%;background:linear-gradient(90deg,#ffbf4e,#a479d5);border-radius:20px;transition:width .2s ease}.progress-track.indeterminate>div{width:40%;animation:slide 1.7s linear infinite}.progress-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#665583;font-weight:800;font-size:12px}.download-buttons{display:flex;justify-content:space-between;gap:8px;margin-top:5px}.download-buttons .text-btn{font-size:12px;padding:4px 0}.toast{background:#fff8df;border:1px solid #e7d6ab;border-radius:15px;padding:14px}.smaller{font-size:13px}.round-notes{list-style:none;padding:0;max-width:480px;margin:20px auto;text-align:left}.round-notes li{display:flex;justify-content:space-between;border-bottom:1px solid #eee7f6;padding:7px;gap:10px;font-weight:700}.round-notes li span{color:var(--muted)}@keyframes softIn{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes slide{0%{transform:translateX(-110%)}100%{transform:translateX(350%)}}@media(max-width:840px){.site-frame{padding:0 16px}.header{flex-direction:column;align-items:stretch;gap:16px}.brand{align-self:center}.nav{overflow:auto;justify-content:center}.nav-button{padding:11px 13px}.hero-copy{padding:35px}.hero{grid-template-columns:1.2fr .8fr}.bee-friend{font-size:93px}.hero-speech{font-size:16px;bottom:22px}.content-grid{grid-template-columns:1fr}.side-note{display:grid;grid-template-columns:auto 1fr;column-gap:16px}.side-note .note-icon{grid-row:span 3}.side-note h3{margin:0}.side-note .note-divider,.side-note .small-note{display:none}.side-note .soft-btn{justify-self:start}.voice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.site-frame{padding:0 12px}.header{padding:15px 0}.brand strong{font-size:23px}.brand-mark{width:44px;height:44px}.nav{border-radius:14px;padding:4px;justify-content:space-between}.nav-button{padding:11px 9px;font-size:12px}.hero{grid-template-columns:1fr;border-radius:24px}.hero-copy{padding:30px 24px}.hero h1{font-size:46px}.hero p{font-size:14px}.hero-art{height:135px}.bee-orbit{inset:5px 20%;}.bee-friend{font-size:75px}.hero-speech{left:15%;bottom:12px}.star{font-size:27px}.panel{padding:19px;border-radius:21px}.section-title h2,.panel h2{font-size:25px}.section-title{align-items:center}.pill{font-size:12px;white-space:normal}.count-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.count-option{font-size:23px}.custom-count{grid-column:1/-1;display:flex;justify-content:space-between;padding:10px 16px}.custom-count input{margin:0;width:90px}.form-row{flex-direction:column;align-items:stretch}.hero-copy .statbar{gap:12px}.statbar span{font-size:12px}.statbar b{font-size:19px}.side-note{display:block}.side-note .note-icon{margin-bottom:14px}.side-note h3{margin-bottom:8px}.side-note .soft-btn{margin-top:10px}.active-card{padding:23px 15px}.active-card h2{font-size:31px}.answer-row{flex-direction:column}.answer-row input,.answer-row button{width:100%}.clue-actions button{font-size:12px}.word-grid{grid-template-columns:1fr}.round-head{align-items:flex-start}.meter-track{width:120px}.voice-grid{gap:8px}.voice-card{padding:15px 6px}.voice-actions{flex-direction:column;align-items:stretch}.voice-actions>*{width:100%}.voice-download{bottom:calc(8px + env(safe-area-inset-bottom));right:14px;padding:16px}.footer{padding-bottom:38px}.oral-grade{flex-direction:column}.round-summary h2{font-size:31px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
.card-btns{display:flex;align-items:center;gap:8px}.star-btn{min-width:44px;min-height:44px;border:1px solid #e1d4ef;background:#fff;border-radius:12px;color:var(--ink);font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px}.star-btn:hover{background:#faf6ff}.star-btn[aria-pressed=true]{background:#fff4cf;border-color:var(--gold);color:#7a4d00}.hear-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:16px 0 20px}.hear-row .listen-btn{margin:0}.star-btn.round-star{min-height:52px;padding:0 20px;border-radius:14px;font-size:16px;font-weight:800}.star-btn.round-star span{font-size:22px}.clear-actions{display:flex;flex-wrap:wrap;gap:6px 18px}
.details-btn{display:block;min-width:44px;min-height:44px;margin-top:10px;padding:0 14px;border:1px solid #cdbce6;background:#fff;border-radius:12px;color:var(--ink);font-weight:800;font-size:14px}.details-btn:hover{background:#faf6ff}.details-btn[aria-expanded=true]{background:var(--soft);border-color:#8a6bd9}.word-details{margin-top:10px;padding-top:10px;border-top:1px dashed #d9cdee}.details-list{margin:0}.details-row{margin:0 0 10px}.details-row dt{font-size:13px;font-weight:800;color:#6152a5}.details-row dd{margin:2px 0 0;font-size:14px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}.details-note{display:block;margin-top:2px;font-size:12px;color:var(--ink2)}.details-audio{display:flex;flex-wrap:wrap;gap:8px}.details-audio .mini-btn{min-width:44px;min-height:44px;font-size:13px}.word-card{min-width:0}
.details-btn .chev{display:inline-block;transition:transform .15s}.details-btn[aria-expanded=true] .chev{transform:rotate(90deg)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.clear-status{align-self:center;font-size:14px;font-weight:700;color:var(--success)}.active-card h1:focus,h2:focus,.round-summary h2:focus{outline:3px solid #8a6bd9;outline-offset:4px}
/* Phone fixes: 16px fields stop iOS Safari zooming on focus; native selects ignore min-height, so style them. */
input,select,textarea{font-size:16px}
.field select{-webkit-appearance:none;appearance:none;height:48px;min-height:48px;padding:0 42px 0 14px;background:#fcfbff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%23594f79' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center}
.custom-count input{min-height:44px}
.text-btn,.soft-btn{min-height:44px}
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:360px){nav{gap:2px}.nav-button{padding:11px 5px}}
.clue-actions button{min-height:44px;padding:9px 16px}
@media(max-width:340px){.nav-emoji{display:none}}

.practice-speed{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0 4px}.practice-speed-label{font-weight:800;color:var(--ink2);font-size:14px}.practice-speed .speed-option{min-height:44px;padding:8px 16px}
