:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.header{background:linear-gradient(135deg,#f5a623,#e09615);box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:100}.header-container{max-width:min(1920px,98vw);margin:0 auto;padding:clamp(.75rem,2vw,1rem) clamp(1rem,3vw,2rem);display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:#1b2a4a;font-weight:700;font-size:1.5rem;transition:transform .2s}.logo:hover{transform:scale(1.05)}.bee-icon{font-size:2rem}.logo-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.nav{display:flex;align-items:center;gap:clamp(.5rem,2vw,1.5rem);flex-wrap:wrap}.nav-link{color:#1b2a4a;text-decoration:none;font-weight:600;padding:.5rem clamp(.5rem,2vw,1rem);border-radius:8px;transition:all .2s;font-size:clamp(.875rem,1.5vw,1rem);min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(255,255,255,.3)}.nav-link:hover{background:#ffffff4d}.stats{display:flex;gap:1rem}.stat{display:flex;align-items:center;gap:.25rem;background:#fff3;padding:.5rem 1rem;border-radius:2rem;font-weight:600;color:#1b2a4a;font-size:.9rem}.fire-icon,.trophy-icon{font-size:1.2rem}@media(max-width:480px){.header-container{padding:.75rem;gap:.5rem}.logo{font-size:1.25rem}.bee-icon{font-size:1.5rem}.logo-text{display:none}.nav{gap:.25rem}.nav-link{padding:.5rem;font-size:.75rem}.stats{gap:.5rem}.stat{padding:.4rem .6rem;font-size:.75rem}.fire-icon,.trophy-icon{font-size:1rem}}@media(max-width:768px){.header-container{padding:.875rem 1rem}.logo-text{display:none}.nav-link{padding:.5rem .75rem;font-size:.875rem}.stat span:last-child{font-size:.85rem}}@media(max-height:600px)and (orientation:landscape){.header-container{padding:.5rem 1rem}.logo{font-size:1.25rem}.bee-icon{font-size:1.5rem}}.home{max-width:min(1920px,98vw);margin:0 auto;padding:clamp(1rem,4vw,2rem);width:100%}.hero{text-align:center;padding:clamp(2rem,6vw,4rem) clamp(1rem,4vw,2rem);background:linear-gradient(135deg,#fff8e7,#ffe4a3);border-radius:clamp(16px,3vw,24px);margin-bottom:clamp(2rem,5vw,4rem)}.hero-title{font-size:clamp(2rem,5vw + 1rem,3.5rem);font-weight:800;color:#1b2a4a;margin:0 0 1rem;display:flex;align-items:center;justify-content:center;gap:clamp(.5rem,2vw,1rem);flex-wrap:wrap}.bee-large{font-size:clamp(2.5rem,6vw,4rem)}.hero-subtitle{font-size:clamp(1rem,2vw + .5rem,1.3rem);color:#2c3e5a;line-height:1.8;margin:0}.grade-selector{margin-bottom:4rem}.grade-selector h2{text-align:center;font-size:2rem;color:#1b2a4a;margin-bottom:2rem}.grade-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:clamp(1rem,3vw,1.5rem)}.grade-card{background:#fff;border:3px solid #F5A623;border-radius:clamp(12px,2vw,16px);padding:clamp(1.5rem,4vw,2rem);text-decoration:none;color:inherit;transition:all .3s;cursor:pointer;min-height:44px;-webkit-tap-highlight-color:rgba(245,166,35,.1)}.grade-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #f5a6234d;border-color:#e09615}.grade-number{font-size:1.8rem;font-weight:700;color:#1b2a4a;margin-bottom:1rem}.grade-stats{display:flex;gap:1rem;margin-bottom:1rem}.stat-item{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:1.5rem;font-weight:700;color:#f5a623}.grade-action{margin-top:1rem;color:#f5a623;font-weight:600;font-size:1.1rem}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:4rem}.feature{text-align:center;padding:2rem}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature h3{font-size:1.3rem;color:#1b2a4a;margin-bottom:.5rem}.feature p{color:#666;line-height:1.6}.home-footer{text-align:center;padding:3rem 2rem;border-top:2px solid #F5A623;color:#666}.home-footer strong{color:#1b2a4a}.footer-links{margin-top:1rem}.footer-links a{color:#f5a623;text-decoration:none;font-weight:600}.footer-links a:hover{text-decoration:underline}@media(max-width:480px){.home{padding:1rem}.hero{padding:2rem 1rem;border-radius:12px;margin-bottom:2rem}.grade-card{padding:1.25rem}.grade-number{font-size:1.5rem}.stat-value{font-size:1.25rem}}@media(max-width:768px){.grade-grid{grid-template-columns:1fr}.features{grid-template-columns:1fr;gap:1.5rem}.feature{padding:1.5rem}.home-footer{padding:2rem 1rem}}@media(min-width:769px)and (max-width:1024px){.grade-grid,.features{grid-template-columns:repeat(2,1fr)}}@media(max-height:600px)and (orientation:landscape){.hero{padding:1.5rem 2rem;margin-bottom:2rem}.hero-title{font-size:2rem}.bee-large{font-size:2.5rem}.grade-selector,.features{margin-bottom:2rem}}.grade-view{max-width:min(1920px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);width:100%}.grade-header{text-align:center;margin-bottom:clamp(2rem,5vw,3rem)}.grade-header h1{font-size:clamp(2rem,5vw + .5rem,3rem);color:#1b2a4a;margin:0 0 .5rem}.word-count{font-size:clamp(1rem,2vw + .5rem,1.2rem);color:#666;margin:0}.practice-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:clamp(1.25rem,3vw,2rem);margin-bottom:clamp(2rem,5vw,4rem)}.practice-card{background:#fff;border:3px solid #ddd;border-radius:clamp(12px,2vw,16px);padding:clamp(1.5rem,4vw,2rem);text-decoration:none;color:inherit;transition:all .3s;cursor:pointer;text-align:center;min-height:48px;-webkit-tap-highlight-color:rgba(245,166,35,.1)}.practice-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #0000001a}.practice-card.featured{border-color:#f5a623;background:linear-gradient(135deg,#fff8e7,#ffe4a3)}.practice-card.featured:hover{box-shadow:0 12px 24px #f5a6234d}.practice-icon{font-size:3rem;margin-bottom:1rem}.practice-card h3{font-size:1.5rem;color:#1b2a4a;margin:0 0 .5rem}.practice-card p{color:#666;margin:0 0 1rem}.practice-action{color:#f5a623;font-weight:600;font-size:1.1rem}.word-list-section{margin-top:4rem}.word-list-section h2{font-size:2rem;color:#1b2a4a;margin-bottom:2rem}.word-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.word-card{background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:1.5rem 1rem;text-align:center;transition:all .2s}.word-card:hover{border-color:#f5a623;transform:translateY(-2px)}.word-text{font-size:1.3rem;font-weight:600;color:#1b2a4a;margin-bottom:.5rem}.word-pattern{font-size:.85rem;color:#666;text-transform:lowercase}.word-card.more{background:#f7fafc;border-style:dashed;display:flex;align-items:center;justify-content:center}.more-count{font-size:1.1rem;font-weight:600;color:#666}.no-words{text-align:center;padding:4rem 2rem}.no-words h2{color:#666;margin-bottom:2rem}@media(max-width:768px){.grade-header h1{font-size:2rem}.practice-options{grid-template-columns:1fr}.word-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.spelling-input-form{display:flex;gap:clamp(.75rem,2vw,1rem);max-width:600px;margin:clamp(1.5rem,4vw,2rem) auto}.spelling-input{flex:1;padding:clamp(1rem,3vw,1.25rem) clamp(1rem,3vw,1.5rem);font-size:clamp(1.125rem,3vw,1.5rem);border:3px solid #ddd;border-radius:12px;font-family:inherit;transition:all .2s;text-align:center;letter-spacing:.05em;-webkit-appearance:none;appearance:none;min-height:48px}.spelling-input:focus{outline:none;border-color:#f5a623;box-shadow:0 0 0 4px #f5a6231a}.spelling-input:disabled{background:#f5f5f5;cursor:not-allowed}.spelling-input.shake{animation:shake .5s;border-color:#e74c3c}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-8px)}20%,40%,60%,80%{transform:translate(8px)}}.submit-button{padding:1.25rem 2.5rem;font-size:1.2rem;font-weight:600;background:linear-gradient(135deg,#f5a623,#e09615);color:#1b2a4a;border:none;border-radius:12px;cursor:pointer;transition:all .2s;font-family:inherit;white-space:nowrap}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #f5a62366}.submit-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.submit-button:active:not(:disabled){transform:translateY(0)}@media(max-width:480px){.spelling-input-form{flex-direction:column;gap:.75rem;margin:1.25rem auto}.spelling-input{font-size:1.125rem;padding:.875rem 1rem;font-size:16px}.submit-button{width:100%;padding:1rem 2rem;font-size:1.125rem;min-height:52px}}@media(min-width:481px)and (max-width:768px){.spelling-input-form{flex-direction:row}.spelling-input{font-size:1.25rem;padding:1rem 1.25rem}.submit-button{padding:1rem 2rem;white-space:nowrap}}@media(max-width:360px){.spelling-input{padding:.75rem;font-size:16px}.submit-button{padding:.875rem 1.5rem;font-size:1rem}}@media(max-height:600px)and (orientation:landscape){.spelling-input-form{margin:1rem auto}.spelling-input{padding:.75rem 1rem}.submit-button{padding:.75rem 1.5rem}}.practice{max-width:min(1200px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.practice.loading{display:flex;align-items:center;justify-content:center;font-size:clamp(1.25rem,3vw,1.5rem);color:#666}.practice-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014}.progress-bar{width:100%;height:12px;background:#e0e0e0;border-radius:6px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:linear-gradient(90deg,#f5a623,#e09615);transition:width .5s ease}.word-counter{text-align:center;font-size:1.1rem;color:#666;font-weight:600;margin-bottom:2rem}.speech-warning,.speech-error{background:#fff3cd;border:2px solid #FFC107;border-radius:8px;padding:1rem;margin-bottom:1.5rem;text-align:center;font-size:.95rem;color:#856404;font-weight:500}.speech-error{background:#f8d7da;border-color:#f5c2c7;color:#842029}.word-display{text-align:center;margin-bottom:2rem}.listen-prompt{font-size:2rem;color:#1b2a4a;margin-bottom:2rem}.audio-controls{display:flex;gap:1rem;justify-content:center;margin-bottom:2rem}.audio-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:all .2s;font-family:inherit}.audio-button.primary{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;box-shadow:0 4px 12px #4a90e24d}.audio-button.primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #4a90e266}.audio-button.secondary{background:#fff;color:#1b2a4a;border:2px solid #4A90E2}.audio-button.secondary:hover{background:#ebf5ff;transform:translateY(-2px)}.word-info{background:#f7fafc;border-left:4px solid #F5A623;padding:1.5rem;border-radius:8px;text-align:left;margin-top:2rem}.definition{margin:0 0 1rem;font-size:1.1rem;color:#2c3e5a}.sentence{margin:0;font-size:1.1rem;color:#2c3e5a;font-style:italic}.error-message{background:#fee;border:3px solid #e74c3c;border-radius:12px;padding:2rem;margin-top:2rem;animation:errorPulse .5s}@keyframes errorPulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.error-icon{font-size:3rem;margin-bottom:1rem}.error-text{font-size:1.2rem;color:#c0392b;margin-bottom:1rem;font-weight:600}.correct-word{font-size:2.5rem;font-weight:700;color:#1b2a4a;margin:1rem 0;letter-spacing:.1em}.retry-prompt{font-size:1.1rem;color:#666;margin-top:1rem}.etymology{text-align:center;font-size:.95rem;color:#666;margin-top:2rem;font-style:italic}@media(max-width:480px){.practice{padding:.75rem}.practice-container{padding:1.5rem 1rem;border-radius:12px}.listen-prompt{font-size:1.25rem}.audio-controls{flex-direction:column;gap:.75rem}.audio-button{width:100%;padding:.875rem 1.5rem;font-size:1rem;min-height:48px}.word-info{padding:1.25rem}.definition,.sentence{font-size:1rem}.error-message{padding:1.5rem}.correct-word{font-size:2rem}}@media(max-width:768px){.practice{padding:1rem}.practice-container{padding:2rem 1.5rem}.listen-prompt{font-size:1.5rem}.audio-controls{flex-direction:column}.audio-button{width:100%}.word-counter{font-size:1rem}}@media(max-height:600px)and (orientation:landscape){.practice-container{padding:1.5rem 2rem}.listen-prompt{font-size:1.25rem;margin-bottom:1rem}.audio-controls{margin-bottom:1rem}.word-info{margin-top:1rem;padding:1rem}}.share-buttons{display:flex;gap:clamp(.75rem,2vw,1rem);flex-wrap:wrap;justify-content:center;margin-top:clamp(1.5rem,3vw,2rem)}.share-button{padding:clamp(.875rem,2vw,1rem) clamp(1.5rem,3vw,2rem);font-size:clamp(1rem,2vw,1.1rem);font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .2s;font-family:inherit;min-height:48px;min-width:48px;-webkit-tap-highlight-color:rgba(245,166,35,.1)}.share-button.primary{background:linear-gradient(135deg,#f5a623,#e09615);color:#1b2a4a;box-shadow:0 4px 12px #f5a6234d}.share-button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #f5a62366}.share-button.secondary{background:#fff;color:#1b2a4a;border:2px solid #F5A623}.share-button.secondary:hover{background:#fff8e7;transform:translateY(-2px)}.share-button:disabled{opacity:.6;cursor:not-allowed}.share-modal{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s}.share-modal-content{background:#1b2a4a;color:#fff;padding:2rem 3rem;border-radius:12px;font-size:1.2rem;font-weight:600;box-shadow:0 8px 32px #0000004d;animation:slideUp .3s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:768px){.share-buttons{flex-direction:column}.share-button{width:100%}}.result{max-width:min(1200px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.result-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014;text-align:center}.result-header{margin-bottom:2rem}.result-header.perfect{animation:celebrate 1s ease-out}@keyframes celebrate{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.result-icon{font-size:clamp(3rem,8vw,5rem);margin-bottom:1rem;animation:iconBounce .6s ease-out}@keyframes iconBounce{0%,to{transform:translateY(0)}50%{transform:translateY(clamp(-10px,-3vw,-20px))}}.result-title{font-size:clamp(1.75rem,4vw + .5rem,2.5rem);color:#1b2a4a;margin:0}.score-display{display:flex;align-items:center;justify-content:center;gap:1rem;margin:2rem 0}.score-big{font-size:6rem;font-weight:800;color:#f5a623;line-height:1}.score-divider{font-size:4rem;color:#ccc;font-weight:300}.score-total{font-size:4rem;font-weight:600;color:#666;line-height:1}.percentage{font-size:2rem;color:#1b2a4a;font-weight:600;margin-bottom:2rem}.result-message{font-size:1.3rem;color:#2c3e5a;margin-bottom:2rem;line-height:1.6}.achievement-badge{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,gold,orange);color:#1b2a4a;padding:1rem 2rem;border-radius:50px;font-weight:700;font-size:1.2rem;margin:1rem 0 2rem;box-shadow:0 4px 12px #ffd70066}.badge-icon{font-size:1.5rem}.challenge-section{background:#f7fafc;border-radius:16px;padding:2rem;margin:3rem 0}.challenge-section h3{color:#1b2a4a;margin-top:0;margin-bottom:.5rem}.challenge-section p{color:#666;margin-bottom:1rem}.challenge-url-box{display:flex;gap:.5rem}.challenge-url{flex:1;padding:.75rem 1rem;border:2px solid #ddd;border-radius:8px;font-family:monospace;font-size:.9rem;background:#fff}.challenge-url:focus{outline:none;border-color:#f5a623}.copy-button{padding:.75rem 1.5rem;background:#f5a623;color:#1b2a4a;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.copy-button:hover{background:#e09615;transform:translateY(-2px)}.result-actions{display:flex;flex-direction:column;gap:1rem;margin-top:3rem}.action-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:12px;text-decoration:none;transition:all .2s;display:inline-block}@media(max-width:768px){.result{padding:1rem}.result-container{padding:2rem 1.5rem}.result-title{font-size:2rem}.score-big{font-size:4rem}.score-total{font-size:3rem}.challenge-url-box{flex-direction:column}.copy-button{width:100%}}.patterns-page{max-width:min(1920px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);width:100%}.patterns-header{text-align:center;margin-bottom:clamp(2rem,5vw,3rem)}.patterns-header h1{font-size:clamp(2rem,5vw + .5rem,3rem);color:#1b2a4a;margin:0 0 .5rem}.patterns-header p{font-size:clamp(1rem,2vw + .5rem,1.2rem);color:#666;margin:0}.pattern-category{margin-bottom:3rem}.pattern-category h2{font-size:1.8rem;color:#1b2a4a;margin-bottom:1.5rem;border-bottom:3px solid #F5A623;padding-bottom:.5rem}.pattern-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:clamp(1rem,3vw,1.5rem)}.pattern-card{background:#fff;border:2px solid #e0e0e0;border-radius:clamp(10px,2vw,12px);padding:clamp(1.25rem,3vw,1.5rem);text-decoration:none;color:inherit;transition:all .2s;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:44px;-webkit-tap-highlight-color:rgba(245,166,35,.1)}.pattern-card:hover{border-color:#f5a623;transform:translateY(-4px);box-shadow:0 8px 16px #f5a62333}.pattern-name{font-size:1.2rem;font-weight:600;color:#1b2a4a;margin-bottom:.5rem}.pattern-count{font-size:.9rem;color:#666;margin-bottom:1rem}.pattern-action{color:#f5a623;font-weight:600;font-size:1rem}.no-patterns{text-align:center;padding:4rem 2rem}.no-patterns p{font-size:1.2rem;color:#666;margin-bottom:2rem}.back-button{display:inline-block;padding:1rem 2rem;background:#f5a623;color:#1b2a4a;text-decoration:none;border-radius:8px;font-weight:600;transition:all .2s}.back-button:hover{background:#e09615;transform:translateY(-2px)}@media(max-width:768px){.patterns-header h1{font-size:2rem}.pattern-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.review-page{max-width:min(1200px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.review-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014}.review-header{text-align:center;margin-bottom:clamp(1.5rem,3vw,2rem)}.review-header h1{font-size:clamp(1.75rem,4vw + .5rem,2.5rem);color:#1b2a4a;margin:0 0 1rem}.review-header p{font-size:clamp(1rem,2vw + .5rem,1.2rem);color:#666;margin:0}.review-header strong{color:#f5a623;font-size:1.5rem}.review-info{background:#fff8e7;border-left:4px solid #F5A623;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.review-info p{margin:.5rem 0;color:#2c3e5a;line-height:1.6}.review-words-list{max-height:400px;overflow-y:auto;border:2px solid #e0e0e0;border-radius:12px;padding:1rem;margin-bottom:2rem}.review-word-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #f0f0f0}.review-word-item:last-child{border-bottom:none}.word-text{font-size:1.2rem;font-weight:600;color:#1b2a4a}.word-grade{font-size:.9rem;color:#666;background:#f5f5f5;padding:.25rem .75rem;border-radius:12px}.more-words{text-align:center;padding:1rem;color:#666;font-style:italic}.review-actions{display:flex;flex-direction:column;gap:1rem}.action-button.primary.large{font-size:1.3rem;padding:1.25rem 2.5rem}.no-review{text-align:center;padding:4rem 2rem}.no-review-icon{font-size:5rem;margin-bottom:1rem}.no-review h2{font-size:2rem;color:#1b2a4a;margin:0 0 1rem}.no-review p{font-size:1.2rem;color:#666;margin:.5rem 0}.no-review .hint{font-style:italic;color:#999;margin-top:1rem;margin-bottom:2rem}@media(max-width:768px){.review-page{padding:1rem}.review-container{padding:2rem 1.5rem}.review-header h1{font-size:2rem}}.bee-mode-page{max-width:min(1000px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.bee-mode-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014}.bee-mode-header{text-align:center;margin-bottom:clamp(2rem,5vw,3rem)}.bee-icon-large{font-size:clamp(3.5rem,8vw,5rem);margin-bottom:clamp(.75rem,2vw,1rem);animation:buzz 2s ease-in-out infinite}@keyframes buzz{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.bee-mode-header h1{font-size:2.5rem;color:#1b2a4a;margin:0 0 .5rem}.bee-mode-header p{font-size:1.2rem;color:#666;margin:0}.settings-section{background:#f7fafc;border-radius:12px;padding:2rem;margin-bottom:2rem}.setting{margin-bottom:1.5rem}.setting:last-child{margin-bottom:0}.setting label{display:block;font-weight:600;color:#1b2a4a;margin-bottom:.5rem;font-size:1.1rem}.setting select{width:100%;padding:.75rem;font-size:1rem;border:2px solid #ddd;border-radius:8px;background:#fff;font-family:inherit;cursor:pointer}.setting select:focus{outline:none;border-color:#f5a623}.bee-rules{background:#fff8e7;border-left:4px solid #F5A623;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.bee-rules h3{color:#1b2a4a;margin-top:0;margin-bottom:1rem}.bee-rules ul{margin:0;padding-left:1.5rem}.bee-rules li{font-size:1.1rem;color:#2c3e5a;margin-bottom:.5rem;line-height:1.6}.bee-actions{display:flex;flex-direction:column;gap:1rem;align-items:center}.start-button{width:100%;padding:1.5rem 2rem;font-size:1.3rem;font-weight:700;background:linear-gradient(135deg,#f5a623,#e09615);color:#1b2a4a;border:none;border-radius:12px;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #f5a6234d;font-family:inherit}.start-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #f5a62366}.back-link{color:#f5a623;text-decoration:none;font-weight:600;font-size:1rem}@media(max-width:768px){.bee-mode-page{padding:1rem}.bee-mode-container{padding:2rem 1.5rem}.bee-mode-header h1{font-size:2rem}}.word-detail-page{max-width:min(1200px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.word-detail-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014}.word-header{text-align:center;margin-bottom:clamp(1.5rem,3vw,2rem);display:flex;flex-direction:column;align-items:center;gap:clamp(.75rem,2vw,1rem)}.word-title{font-size:clamp(2.5rem,6vw + .5rem,3.5rem);color:#1b2a4a;margin:0;letter-spacing:.05em}.mastery-badge{background:#f7fafc;padding:.5rem 1.5rem;border-radius:50px;font-weight:600;color:#666;font-size:1rem;text-transform:capitalize}.audio-section{display:flex;gap:1rem;justify-content:center;margin-bottom:3rem}.speak-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:all .2s;font-family:inherit}.speak-button.primary{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;box-shadow:0 4px 12px #4a90e24d}.speak-button.primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #4a90e266}.speak-button.secondary{background:#fff;color:#1b2a4a;border:2px solid #4A90E2}.speak-button.secondary:hover{background:#ebf5ff;transform:translateY(-2px)}.word-info-section{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:3rem}.info-card{background:#f7fafc;border-left:4px solid #F5A623;padding:1.5rem;border-radius:8px}.info-card.warning{background:#fff8e7;border-left-color:#e74c3c}.info-card h3{margin-top:0;margin-bottom:1rem;color:#1b2a4a;font-size:1.2rem}.info-card p{margin:0;color:#2c3e5a;font-size:1.1rem;line-height:1.6}.sentence-display{font-style:italic}.detail-list{list-style:none;padding:0;margin:0}.detail-list li{padding:.5rem 0;color:#2c3e5a;font-size:1.05rem}.confused-words{display:flex;flex-wrap:wrap;gap:.75rem}.confused-word{background:#ffe4e4;color:#c0392b;padding:.5rem 1rem;border-radius:8px;font-family:monospace;font-size:1.1rem;text-decoration:line-through}.action-section{display:flex;flex-direction:column;gap:1rem}.action-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:12px;text-decoration:none;transition:all .2s;display:inline-block;text-align:center}.action-button.primary{background:linear-gradient(135deg,#f5a623,#e09615);color:#1b2a4a;box-shadow:0 4px 12px #f5a6234d}.action-button.primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #f5a62366}.action-button.secondary{background:#fff;color:#1b2a4a;border:2px solid #F5A623}.action-button.secondary:hover{background:#fff8e7;transform:translateY(-2px)}@media(max-width:768px){.word-detail-page{padding:1rem}.word-detail-container{padding:2rem 1.5rem}.word-title{font-size:2.5rem}.audio-section{flex-direction:column}}.settings-page{max-width:min(1200px,98vw);margin:0 auto;padding:clamp(1rem,3vw,2rem);min-height:80vh;width:100%}.settings-container{background:#fff;border-radius:clamp(16px,3vw,24px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 4px 24px #00000014}.settings-container h1{font-size:clamp(1.75rem,4vw + .5rem,2.5rem);color:#1b2a4a;margin-top:0;margin-bottom:clamp(1.5rem,3vw,2rem)}.settings-section{margin-bottom:3rem;padding-bottom:2rem;border-bottom:2px solid #f0f0f0}.settings-section:last-of-type{border-bottom:none}.settings-section h2{font-size:clamp(1.25rem,3vw,1.5rem);color:#1b2a4a;margin-bottom:clamp(1rem,2vw,1.5rem)}.setting-item{margin-bottom:1.5rem}.setting-item label{display:block;font-weight:600;color:#1b2a4a;margin-bottom:.5rem;font-size:1.05rem}.setting-item select{width:100%;padding:.75rem;font-size:1rem;border:2px solid #ddd;border-radius:8px;background:#fff;font-family:inherit}.setting-item select:focus{outline:none;border-color:#f5a623}.setting-item input[type=range]{width:calc(100% - 60px);margin-right:1rem}.range-value{font-weight:600;color:#f5a623;min-width:50px;display:inline-block}.setting-item.checkbox label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:400}.setting-item.checkbox input[type=checkbox]{width:24px;height:24px;cursor:pointer}.data-actions{display:flex;gap:1rem;margin-bottom:1rem}.action-button{flex:1;padding:1rem;font-size:1rem;font-weight:600;background:linear-gradient(135deg,#f5a623,#e09615);color:#1b2a4a;border:none;border-radius:12px;cursor:pointer;transition:all .2s;font-family:inherit;text-align:center}.action-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f5a6234d}.file-upload{display:inline-block}.success-message{background:#d4edda;color:#155724;padding:1rem;border-radius:8px;margin-top:1rem;font-weight:600}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:8px;margin-top:1rem;font-weight:600}.data-note{font-size:.95rem;color:#666;font-style:italic;margin-top:1rem}.settings-footer{text-align:center;margin-top:2rem}.back-link{color:#f5a623;text-decoration:none;font-weight:600;font-size:1.1rem}.back-link:hover{text-decoration:underline}@media(max-width:480px){.settings-page{padding:.75rem}.settings-container{padding:1.5rem 1rem;border-radius:12px}.settings-container h1{font-size:1.5rem;margin-bottom:1.5rem}.settings-section{margin-bottom:2rem;padding-bottom:1.5rem}.settings-section h2{font-size:1.125rem}.data-actions{flex-direction:column;gap:.75rem}.action-button{width:100%;font-size:.95rem;padding:.875rem 1.25rem}.setting-item label{font-size:.95rem}}@media(max-width:768px){.settings-page{padding:1rem}.settings-container{padding:2rem 1.5rem}.data-actions{flex-direction:column}.action-button{width:100%}}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fa;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}.app{width:100%;min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;width:100%}.skip-link{position:absolute;top:-100px;left:8px;padding:12px 16px;background:#1b2a4a;color:#fff;font-weight:600;border-radius:8px;z-index:10000;transition:top .2s}.skip-link:focus{top:8px;outline:4px solid #F5A623;outline-offset:2px}.app button,.app .nav-link,.app .action-button,.app .submit-button,.app .share-button{min-height:44px;min-width:44px;padding:.5rem 1rem}.app.dyslexia-font,.app.dyslexia-font body{font-family:OpenDyslexicRegular,sans-serif}.app.high-contrast{--a11y-bg: #fff;--a11y-text: #1a1a1a;--a11y-border: #1a1a1a}.app.high-contrast body,.app.high-contrast .main-content{background:var(--a11y-bg);color:var(--a11y-text)}.app.high-contrast a{color:#00e}.app.high-contrast button,.app.high-contrast .action-button{background:var(--a11y-text);color:var(--a11y-bg);border:2px solid var(--a11y-border)}.app.high-contrast .practice-container,.app.high-contrast .word-info,.app.high-contrast .info-card{background:var(--a11y-bg);color:var(--a11y-text);border:2px solid var(--a11y-border)}.app.high-contrast .header{background:var(--a11y-text);color:var(--a11y-bg);box-shadow:none;border-bottom:2px solid var(--a11y-border)}.app.high-contrast .header .logo,.app.high-contrast .header .nav-link,.app.high-contrast .header .stat{color:var(--a11y-bg)}.app.high-contrast .header .nav-link:hover,.app.high-contrast .header .stat{background:#ffffff26}.app.high-contrast .hero{background:var(--a11y-bg);color:var(--a11y-text);border:2px solid var(--a11y-border)}.app.high-contrast .hero-title,.app.high-contrast .hero-subtitle,.app.high-contrast .grade-selector h2,.app.high-contrast .grade-number,.app.high-contrast .stat-label,.app.high-contrast .stat-value,.app.high-contrast .grade-action,.app.high-contrast .feature h3,.app.high-contrast .feature p{color:var(--a11y-text)}.app.high-contrast .grade-card{background:var(--a11y-bg);color:var(--a11y-text);border:2px solid var(--a11y-border)}.app.high-contrast .grade-card:hover{background:var(--a11y-bg);border-color:var(--a11y-border);box-shadow:0 0 0 2px var(--a11y-border)}.app.high-contrast .settings-container,.app.high-contrast .settings-section,.app.high-contrast .setting-item label{background:var(--a11y-bg);color:var(--a11y-text)}.app.high-contrast .settings-section{border:2px solid var(--a11y-border)}.app.high-contrast .back-link{color:#00e}.app.reduced-motion *,.app.reduced-motion *:before,.app.reduced-motion *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}@media(prefers-contrast:high){body{background:#fff}}@media(prefers-reduced-motion:reduce){.app:not(.reduced-motion) *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
