@charset "UTF-8";*{box-sizing:border-box;margin:0;padding:0}html{overflow-y:scroll}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang TC,Microsoft JhengHei,sans-serif;color:#333;background-color:#f5f5f5;line-height:1.6;-webkit-font-smoothing:antialiased;scrollbar-gutter:stable}.app{min-height:100vh}h1,h2,h3,h4,h5,h6{margin-bottom:1rem;font-weight:600;line-height:1.2}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}p{margin-bottom:1rem}.page-header{text-align:center;margin-bottom:2rem}.page-header h1{font-size:2rem;color:#333;margin-bottom:.5rem}.page-header .page-description{color:#666;font-size:1rem;margin-bottom:0}.page-header.page-header-with-action{display:flex;justify-content:space-between;align-items:flex-start;text-align:left;gap:1rem}.page-header.page-header-with-action .page-header-content{flex:1}.page-header.page-header-with-action .page-header-action{flex-shrink:0}@media(max-width:768px){.page-header{margin-bottom:1.5rem}.page-header h1{font-size:1.5rem}.page-header .page-description{font-size:.9rem}.page-header.page-header-with-action{flex-direction:column;align-items:stretch;text-align:center}.page-header.page-header-with-action .page-header-action{align-self:center}}.btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;display:inline-block;text-align:center;text-decoration:none}.btn:hover{transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.btn:active{transform:translateY(0)}.btn-primary{background-color:#4a90e2;color:#fff}.btn-primary:hover{background-color:#3483de}.btn-secondary{background-color:#f5f5f5;color:#333;border:1px solid #d9d9d9}.btn-secondary:hover{background-color:#ededed}.btn-warning{background-color:#faad14;color:#fff}.btn-warning:hover{background-color:#efa105}.btn-large{padding:1rem 2rem;font-size:1.125rem}.btn-back{background:transparent;color:#666;padding:.5rem 1rem}.btn-back:hover{background-color:#f5f5f5;transform:translate(-2px)}@media(max-width:768px){.btn{min-height:44px;padding:.75rem 1.25rem;display:inline-flex;align-items:center;justify-content:center}.btn-large{min-height:48px;padding:.875rem 1.5rem}.btn-back{min-height:44px;padding:.5rem .875rem}}.favorite-button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.favorite-button{display:flex;align-items:center;gap:.25rem;padding:.5rem 1rem;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.favorite-button svg{flex-shrink:0}.favorite-button:hover{background:#e8e8e8;color:#333}.favorite-button.favorited{background:#fff8e1;color:#f59e0b;border-color:#fcd34d}.favorite-button.favorited:hover{background:#fff4d2}.skip-button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.skip-button{background:#faad14;color:#fff;padding:.5rem 1rem;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.skip-button:hover{background:#d69005}.home-view{max-width:900px;margin:0 auto;padding:2rem}@media(max-width:768px){.home-view{padding:1rem}}.home-content{text-align:center}.app-title{font-size:2.5rem;text-align:center;color:#4a90e2;margin-bottom:.5rem}@media(max-width:768px){.app-title{font-size:2rem}}.app-subtitle{text-align:center;color:#666;font-size:1.1rem;margin-bottom:2.5rem}@media(max-width:768px){.app-subtitle{font-size:1rem;margin-bottom:2rem}}.home-cta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2.5rem}@media(max-width:600px){.home-cta-grid{grid-template-columns:1fr}}.cta-card{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:#fff;border:2px solid #d9d9d9;border-radius:12px;text-decoration:none;color:inherit;transition:all .2s ease;text-align:left}.cta-card:hover{border-color:#4a90e2;transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.cta-card.cta-primary{background:#4a90e214;border-color:#4a90e24d}.cta-card.cta-primary:hover{border-color:#4a90e2;background:#4a90e21f}.cta-card .cta-icon{font-size:2rem;flex-shrink:0}.cta-card .cta-content{flex:1;min-width:0}.cta-card .cta-content h2{font-size:1.1rem;font-weight:600;color:#333;margin:0 0 .25rem}.cta-card .cta-content .cta-detail{font-size:.9rem;color:#666;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-stats{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}@media(max-width:480px){.home-stats{gap:.75rem}}.stat-item{text-align:center;padding:1rem 1.5rem;background:#f5f5f5;border-radius:8px;min-width:100px}@media(max-width:480px){.stat-item{padding:.75rem 1rem;min-width:80px}}.stat-item .stat-value{font-size:1.5rem;font-weight:600;color:#4a90e2;margin-bottom:.25rem}@media(max-width:480px){.stat-item .stat-value{font-size:1.25rem}}.stat-item .stat-label{color:#666;font-size:.8rem}.loading-screen,.error-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;text-align:center}.loading-screen h2,.error-screen h2{color:#333;margin-bottom:1rem}.loading-screen p,.error-screen p{color:#666;max-width:600px}@media(max-width:375px){.home-view{padding:.75rem}.app-title{font-size:1.75rem}.app-subtitle{font-size:.9rem;margin-bottom:1.5rem}.cta-card{padding:1rem;gap:.75rem}.cta-card .cta-icon{font-size:1.5rem}.cta-card .cta-content h2{font-size:1rem}.cta-card .cta-detail{font-size:.8rem}.stat-item{padding:.625rem .75rem;min-width:70px}.stat-item .stat-value{font-size:1.125rem}.stat-item .stat-label{font-size:.7rem}}.dictionary-view{max-width:1200px;margin:0 auto;padding:2rem}@media(max-width:768px){.dictionary-view{padding:1rem}}.dictionary-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.dictionary-content{padding:1rem}}.search-controls{margin-bottom:2rem}.search-mode-selector{display:flex;gap:1rem;margin-bottom:1.5rem}.search-mode-selector button{flex:1;max-width:200px}.search-mode-selector button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.search-input-group{display:flex;gap:1rem;margin-bottom:1rem}@media(max-width:768px){.search-input-group{flex-direction:column}}.search-input-group .search-input{flex:1;padding:.75rem 1rem;border:2px solid #d9d9d9;border-radius:6px;font-size:1rem}.search-input-group .search-input:focus{outline:none;border-color:#4a90e2}.search-input-group .search-input:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.search-hint{color:#666;font-size:.9rem}.search-option{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;color:#666;font-size:.9rem;cursor:pointer}.search-option input[type=checkbox]{cursor:pointer}.search-results{min-height:300px}.search-idle{text-align:center;padding:3rem 1rem}.search-idle h3{color:#333;margin-bottom:.75rem}.search-idle p{color:#666;margin-bottom:2rem}.search-idle .quick-examples{text-align:left;max-width:800px;margin:0 auto}.search-idle .quick-examples h4{color:#333;margin-bottom:1rem}.radicals-reference{display:flex;flex-wrap:wrap;gap:1rem}.radicals-reference .radical-ref{padding:.5rem 1rem;background:#f5f5f5;border-radius:6px;font-size:.9rem}.search-loading,.search-no-results,.search-error{text-align:center;padding:3rem 1rem}.search-loading h3,.search-no-results h3,.search-error h3{color:#333;margin-bottom:.75rem}.search-loading p,.search-no-results p,.search-error p{color:#666}.search-results-list .results-header{font-weight:600;margin-bottom:1.5rem;color:#333}.results-grid{display:grid;gap:1rem}.results-grid .result-item{padding:1.5rem;background:#f5f5f5;border-radius:8px;border:1px solid #d9d9d9}.results-grid .result-item .result-character{font-size:3rem;text-align:center;margin-bottom:.75rem}.results-grid .result-item .result-code{text-align:center;margin-bottom:.75rem}.results-grid .result-item .result-code .code-label{color:#666;font-size:.9rem;margin-right:.5rem}.results-grid .result-item .result-code .code-value{color:#4a90e2;font-weight:600;font-size:1.25rem;font-family:Courier New,monospace}.results-grid .result-item .result-breakdown{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.results-grid .result-item .result-breakdown .code-part{font-size:.85rem;color:#666;padding:.25rem .5rem;background:#fdfdfd;border-radius:4px}.results-truncated{text-align:center;margin-top:1.5rem;color:#666;font-size:.9rem}.sentence-results .results-header{font-weight:600;margin-bottom:1.5rem;color:#333;text-align:center}.sentence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:1rem}@media(max-width:768px){.sentence-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}}.sentence-grid .sentence-char-item{padding:1rem;background:#f5f5f5;border-radius:8px;border:2px solid #d9d9d9;text-align:center;transition:all .2s ease;position:relative}.sentence-grid .sentence-char-item:hover{border-color:#4a90e2;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.sentence-grid .sentence-char-item:hover .dict-favorite-btn{opacity:1}.sentence-grid .sentence-char-item .dict-favorite-btn{position:absolute;top:.25rem;right:.25rem;padding:.25rem;border:none;border-radius:4px;background:transparent;color:#666;cursor:pointer;opacity:.3;transition:all .2s ease}.sentence-grid .sentence-char-item .dict-favorite-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px;opacity:1}.sentence-grid .sentence-char-item .dict-favorite-btn:hover{background:#4a90e21a}.sentence-grid .sentence-char-item .dict-favorite-btn.favorited{opacity:1;color:#ffc107}.sentence-grid .sentence-char-item .char-display{font-size:2.5rem;font-weight:600;margin-bottom:.5rem;color:#333;line-height:1}.sentence-grid .sentence-char-item .char-code .code-value{color:#4a90e2;font-weight:600;font-size:1rem;font-family:Courier New,monospace;display:block;letter-spacing:.05em}.sentence-grid .sentence-char-item .char-code .code-not-found{color:#999;font-size:.85rem;font-style:italic}@media(max-width:768px){.search-input{min-height:44px;padding:.75rem 1rem;font-size:1rem}.search-mode-selector button{min-height:44px}.search-option{min-height:44px;padding:.5rem 0}.search-option input[type=checkbox]{width:20px;height:20px}.dict-favorite-btn{min-width:44px;min-height:44px;padding:.5rem;top:0;right:0}.sentence-char-item{padding:.75rem}.sentence-char-item .char-display{font-size:2rem}}.lesson-generator-view{max-width:1200px;margin:0 auto;padding:2rem}@media(max-width:768px){.lesson-generator-view{padding:1rem}}.generator-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.generator-header h1{margin:0}.generator-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.generator-content{padding:1rem}}.generator-mode-selector{display:flex;gap:1rem;margin-bottom:2rem}.generator-mode-selector button{flex:1;max-width:250px}.generator-options{margin-bottom:2rem}.generator-options h3{color:#4a90e2;margin-bottom:1rem}.generator-options .option-description{color:#666;margin-bottom:1.5rem}.custom-text-input{width:100%;padding:1rem;border:2px solid #d9d9d9;border-radius:6px;font-size:1rem;font-family:inherit;resize:vertical;margin-bottom:.75rem}.custom-text-input:focus{outline:none;border-color:#4a90e2}.text-info{color:#666;font-size:.9rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;color:#333;font-weight:500;margin-bottom:.5rem}.form-group .form-select{width:100%;max-width:300px;padding:.75rem;border:2px solid #d9d9d9;border-radius:6px;font-size:1rem;background:#fff;cursor:pointer}.form-group .form-select:focus{outline:none;border-color:#4a90e2}.difficulty-info{margin-top:1.5rem;padding:1rem;background:#fff;border-radius:8px}.difficulty-info h4{color:#4a90e2;margin-bottom:.75rem}.difficulty-info ul{list-style:none;padding:0;margin:0}.difficulty-info ul li{padding:.5rem 0;color:#666;line-height:1.6}.difficulty-info ul li:before{content:"•";color:#4a90e2;font-weight:700;margin-right:.5rem}.lesson-type-selector{margin-top:2rem;padding:1.5rem;background:#f5f5f5;border-radius:8px}.lesson-type-selector h3{color:#333;margin-bottom:1rem}.lesson-type-selector .radio-group{display:flex;flex-direction:column;gap:.75rem}.lesson-type-selector .radio-label{display:flex;align-items:center;color:#333;cursor:pointer}.lesson-type-selector .radio-label input[type=radio]{margin-right:.5rem;cursor:pointer}.generator-actions{text-align:center;margin-top:2rem}@media(max-width:768px){.generator-header{flex-direction:column;align-items:flex-start;gap:.5rem}.generator-mode-selector{flex-direction:column;gap:.75rem}.generator-mode-selector button{max-width:none;min-height:44px}.custom-text-input{min-height:44px;padding:.75rem;font-size:1rem}.form-group .form-select{max-width:100%;min-height:44px;padding:.75rem}.lesson-type-selector{padding:1rem}.lesson-type-selector .radio-label{min-height:44px;padding:.5rem 0}.lesson-type-selector .radio-label input[type=radio]{width:20px;height:20px;margin-right:.75rem}}@media(max-width:375px){.lesson-generator-view,.generator-content{padding:.75rem}.generator-options h3{font-size:1.1rem}.difficulty-info{padding:.75rem}.difficulty-info h4{font-size:.95rem}.difficulty-info li{font-size:.875rem}}.lesson-list-view{max-width:1400px;margin:0 auto;padding:2rem}@media(max-width:768px){.lesson-list-view{padding:1rem}}.lessons-areas{display:flex;flex-direction:column;gap:3rem;max-width:1200px;width:100%}.lesson-area{background:#f5f5f5;border-radius:16px;padding:1.5rem;border:2px solid #d9d9d9}.lesson-area .area-header-row{display:flex;align-items:center;gap:.75rem}.lesson-area .area-header{display:flex;align-items:center;gap:1rem;padding:.5rem;background:transparent;border:none;cursor:pointer;flex:1;text-align:left;transition:background-color .2s ease;border-radius:8px}.lesson-area .area-header:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.lesson-area .area-header:hover{background:#ededed}.lesson-area .area-header .area-collapse-icon{font-size:1.25rem;color:#4a90e2;width:1.5rem;flex-shrink:0}.lesson-area .area-header .area-title-group{flex:1}.lesson-area .area-header .area-title-group .area-title{font-size:1.75rem;font-weight:700;color:#333;margin:0}.lesson-area .area-header .area-title-group .area-description{font-size:1rem;color:#666;margin:.25rem 0 0}.lesson-area .area-header .area-lesson-count{font-size:1rem;color:#999;font-weight:600;padding:.375rem 1rem;background:#4a90e2;color:#fff;border-radius:1rem;flex-shrink:0}.lesson-area .area-sections{display:flex;flex-direction:column;gap:2rem;margin-top:1.5rem;padding-left:1rem}.lesson-area.collapsed .area-header{margin-bottom:0}@media(max-width:768px){.lesson-area{padding:1rem}.lesson-area .area-header-row{flex-wrap:wrap;gap:.5rem}.lesson-area .area-header{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.5rem;min-width:0;position:relative}.lesson-area .area-header .area-collapse-icon{position:absolute;right:.5rem;top:.5rem;font-size:1rem}.lesson-area .area-header .area-title-group{padding-right:2rem}.lesson-area .area-header .area-title-group .area-title{font-size:1.25rem}.lesson-area .area-header .area-title-group .area-description{font-size:.875rem}.lesson-area .area-header .area-lesson-count{font-size:.875rem;padding:.25rem .75rem}}.lessons-sections{display:flex;flex-direction:column;gap:2rem}.lesson-section .section-header-row{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.lesson-section .section-header{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:transparent;border:none;border-bottom:2px solid rgba(74,144,226,.3);cursor:pointer;flex:1;text-align:left;transition:background-color .2s ease;border-radius:4px 4px 0 0}.lesson-section .section-header:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.lesson-section .section-header:hover{background:#f0f0f0}.lesson-section .section-header .section-collapse-icon{font-size:.875rem;color:#666;width:1rem;flex-shrink:0}.lesson-section .section-header .section-title{font-size:1.25rem;font-weight:600;color:#666;margin:0;flex:1}.lesson-section .section-header .section-lesson-count{font-size:.875rem;color:#999;font-weight:500;padding:.2rem .6rem;background:#fff;border-radius:1rem;flex-shrink:0}.lesson-section.collapsed{margin-bottom:-1rem}.lesson-section.collapsed .section-header-row{margin-bottom:0}.lesson-section.collapsed .section-header{border-bottom-color:transparent}@media(max-width:768px){.lesson-section .section-header-row{flex-wrap:wrap;gap:.375rem}.lesson-section .section-header{flex-wrap:wrap;gap:.375rem;padding:.5rem;position:relative}.lesson-section .section-header .section-collapse-icon{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);font-size:.75rem}.lesson-section .section-header .section-title{font-size:1rem;padding-right:1.5rem;flex-basis:100%}.lesson-section .section-header .section-lesson-count{font-size:.75rem;padding:.15rem .5rem}}.bulk-complete-checkbox{width:28px;height:28px;padding:0;background:#fff;border:2px solid #d9d9d9;border-radius:6px;color:#666;cursor:pointer;transition:all .2s ease;flex-shrink:0;display:flex;align-items:center;justify-content:center}.bulk-complete-checkbox svg{width:16px;height:16px}.bulk-complete-checkbox:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.bulk-complete-checkbox:hover{background:#52c41a;border-color:#52c41a;color:#fff}@media(max-width:768px){.bulk-complete-checkbox{width:32px;height:32px;min-width:32px;min-height:32px}.bulk-complete-checkbox svg{width:18px;height:18px}}.lessons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem;max-width:1200px}@media(max-width:768px){.lessons-grid{grid-template-columns:repeat(5,1fr);gap:.5rem}}@media(max-width:680px){.lessons-grid{grid-template-columns:repeat(4,1fr);gap:.5rem}}@media(max-width:480px){.lessons-grid{grid-template-columns:repeat(4,1fr);gap:.375rem}}@media(max-width:414px){.lessons-grid{grid-template-columns:repeat(3,1fr);gap:.25rem}}.lesson-tile{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.75rem;background:#fff;border:3px solid #d9d9d9;border-radius:12px;cursor:pointer;transition:all .2s ease;position:relative;box-shadow:0 2px 8px #0000001a;gap:.25rem;text-decoration:none;color:inherit;min-width:0;overflow:hidden}.lesson-tile:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.lesson-tile:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 4px 16px #00000026;border-color:#4a90e2}.lesson-tile:active{transform:translateY(-2px) scale(1.02)}@media(max-width:768px){.lesson-tile{padding:.5rem;border-width:2px;border-radius:10px;gap:.125rem}}@media(max-width:680px){.lesson-tile{padding:.375rem;border-radius:8px;gap:.0625rem}}@media(max-width:414px){.lesson-tile{padding:.25rem;border-radius:6px}}.lesson-tile.completed{background:#daf8cb;border-color:#52c41a}.lesson-tile.completed .lesson-tile-number{color:#2c6a0e}.lesson-tile.introduction{background:#fff;border-color:#4a90e2}.lesson-tile.introduction.completed{background:#d0f6be}.lesson-tile.locked{background:#e8e8e8;border-color:#d9d9d9;cursor:not-allowed;opacity:.7}.lesson-tile.locked:hover{transform:none;box-shadow:0 2px 8px #0000001a;border-color:#d9d9d9}.lesson-tile.locked .lesson-tile-title,.lesson-tile.locked .lesson-tile-icon,.lesson-tile.locked .lesson-tile-number{opacity:.6}.lesson-tile-lock{position:absolute;top:4px;right:4px;font-size:14px;opacity:.8}@media(max-width:768px){.lesson-tile-lock{font-size:12px;top:3px;right:3px}}@media(max-width:680px){.lesson-tile-lock{font-size:10px;top:2px;right:2px}}.lesson-tile-check{position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:4px;border:2px solid #d9d9d9;background:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;cursor:pointer}.lesson-tile-check svg{width:12px;height:12px;color:#fff}.lesson-tile-check:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.lesson-tile-check.checked{background:#52c41a;border-color:#52c41a}.lesson-tile-check:not(.checked):hover{border-color:#52c41a;background:#caf5b5}@media(max-width:768px){.lesson-tile-check{width:16px;height:16px;top:3px;right:3px;border-width:1.5px}.lesson-tile-check svg{width:10px;height:10px}}@media(max-width:680px){.lesson-tile-check{width:14px;height:14px;top:2px;right:2px;border-radius:3px}.lesson-tile-check svg{width:9px;height:9px}}@media(max-width:414px){.lesson-tile-check{width:12px;height:12px;border-width:1px}.lesson-tile-check svg{width:8px;height:8px}}.lesson-tile-number{font-size:1.75rem;font-weight:700;color:#4a90e2;line-height:1}@media(max-width:768px){.lesson-tile-number{font-size:1.5rem}}@media(max-width:680px){.lesson-tile-number{font-size:1.25rem}}@media(max-width:414px){.lesson-tile-number{font-size:1.125rem}}.lesson-tile{justify-content:flex-start;padding-top:9px}@media(max-width:768px){.lesson-tile{padding-top:7px}}@media(max-width:680px){.lesson-tile{padding-top:6px}}@media(max-width:414px){.lesson-tile{padding-top:5px}}.lesson-tile-keys{display:flex;flex-wrap:wrap;justify-content:center;font-size:.75rem;line-height:1.2;margin-top:.25rem;max-width:100%}@media(max-width:680px){.lesson-tile-keys{font-size:.65rem;margin-top:.125rem;flex-wrap:nowrap;overflow:hidden}}@media(max-width:414px){.lesson-tile-keys{font-size:.6rem}}.key-indicator{color:#666;font-weight:600}.lesson-tile-title{font-size:.8rem;color:#666;text-align:center;line-height:1.2;margin-top:.25rem;max-width:100%;word-break:break-word}@media(max-width:680px){.lesson-tile-title{margin-top:.125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.lesson-tile-stars{display:flex;gap:.1rem;font-size:.8rem;line-height:1}@media(max-width:680px){.lesson-tile-stars{font-size:.75rem}}@media(max-width:414px){.lesson-tile-stars{font-size:.65rem}}.lesson-tile-status{font-size:.7rem;color:#666;font-weight:600;margin-top:.25rem}@media(max-width:680px){.lesson-tile-status{font-size:.6rem}}@media(max-width:414px){.lesson-area{padding:.75rem}.lesson-area .area-header .area-title-group .area-title{font-size:1.1rem}.lesson-area .area-header .area-title-group .area-description{font-size:.8rem}.lesson-section .section-header .section-title{font-size:.9rem}}.lesson-view{max-width:1200px;margin:0 auto;padding:2rem;min-height:100vh}@media(max-width:768px){.lesson-view{padding:1rem}}.lesson-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.lesson-header .lesson-title{margin:0}.introduction-mode{background:#fff;border-radius:8px;padding:1rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.introduction-mode{padding:.75rem}}.intro-content h2{color:#4a90e2;text-align:center;margin-bottom:.75rem;font-size:1.25rem}.intro-content h3{text-align:center;color:#333;margin-bottom:.5rem;font-size:1rem;font-weight:600}.intro-content .intro-description{text-align:center;color:#666;margin-bottom:1.5rem;font-size:1rem;line-height:1.6}.intro-keyboard-section{margin-bottom:1.25rem;padding:.75rem;background:#fff;border-radius:8px;border:2px solid #4a90e2}.intro-keyboard-section h3{text-align:center;color:#4a90e2;margin-bottom:.5rem;font-size:.95rem;font-weight:600}.intro-keyboard-wrapper{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.intro-key-highlight{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.75rem;background:#fff;border:2px solid #4a90e2;border-radius:6px;box-shadow:0 2px 6px #4a90e233;min-width:80px;transition:all .2s ease}.intro-key-highlight:hover{transform:scale(1.05);box-shadow:0 3px 8px #4a90e24d}.intro-key-highlight .intro-key-letter{font-size:1.5rem;font-weight:700;color:#4a90e2;margin-bottom:.25rem;font-family:Courier New,monospace;line-height:1}.intro-key-highlight .intro-key-radical{font-size:1.5rem;color:#333;font-weight:500;line-height:1;margin-bottom:.25rem}.radicals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;margin-bottom:1.5rem}@media(max-width:768px){.radicals-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.75rem}}.radical-card{background:#f5f5f5;border-radius:8px;padding:1rem;text-align:center;transition:all .3s ease}.radical-card:hover{transform:scale(1.05);box-shadow:0 2px 8px #0000001a}.radical-card .radical-key{font-size:1.5rem;font-weight:600;color:#4a90e2;margin-bottom:.25rem}.radical-card .radical-char{font-size:2.25rem;margin-bottom:.25rem}.radical-card .radical-description{font-size:.85rem;color:#666}.example-characters{margin-top:2rem}.example-characters h3{text-align:center;margin-bottom:1rem;font-size:1rem;font-weight:600}.intro-actions-top,.ready-actions-top{text-align:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #d9d9d9}.lesson-action-buttons{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}@media(max-width:480px){.lesson-action-buttons{flex-direction:column;gap:.75rem}}.completion-toggle{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background:#f5f5f5;border:2px solid #d9d9d9;border-radius:8px;color:#666;font-size:.95rem;cursor:pointer;transition:all .2s ease;min-height:44px}.completion-toggle:hover{border-color:#52c41a;background:#daf8cb}.completion-toggle.completed{border-color:#52c41a;background:#d0f6be;color:#2c6a0e}.completion-toggle.completed .completion-checkbox{background:#52c41a;border-color:#52c41a}.completion-toggle .completion-checkbox{width:20px;height:20px;border:2px solid #d9d9d9;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.completion-toggle .completion-checkbox svg{width:14px;height:14px;color:#fff}.completion-toggle .completion-label{font-weight:500}.completion-toggle .completion-stars{display:flex;gap:.125rem;margin-left:.25rem}.completion-toggle .completion-stars .star{font-size:.9rem;line-height:1}.characters-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}@media(max-width:768px){.characters-list{grid-template-columns:1fr}}.character-example{background:#f5f5f5;border-radius:8px;padding:.75rem;text-align:center;position:relative}.character-example .intro-favorite-btn{position:absolute;top:4px;right:4px;background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;opacity:.5;transition:opacity .2s,transform .2s;display:flex;align-items:center;justify-content:center}.character-example .intro-favorite-btn:hover{opacity:1;transform:scale(1.1)}.character-example .intro-favorite-btn.favorited{opacity:1}.character-example .character-display{font-size:2.5rem;margin-bottom:.4rem}.character-example .character-code{font-size:1.25rem;color:#4a90e2;font-weight:600;margin-bottom:.5rem}.character-example .character-breakdown{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.character-example .character-breakdown .code-part{font-size:.85rem;color:#666}.intro-actions{text-align:center;margin-top:3rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.intro-actions .practice-hint{color:#666;font-size:.9rem;padding:1rem;background:#fff;border-radius:8px;display:inline-block}.intro-actions .btn-mark-complete{background:transparent;border:1px solid #d9d9d9;color:#666;padding:.625rem 1.25rem;font-size:.95rem;border-radius:8px;cursor:pointer;transition:all .2s ease}.intro-actions .btn-mark-complete:hover{background:#52c41a;border-color:#52c41a;color:#fff}.multi-char-practice{margin-top:2rem;padding:1.5rem;background:#fafafa;border-radius:8px;border:2px solid #d9d9d9}.multi-char-practice h3{text-align:center;margin-bottom:.5rem;color:#4a90e2}.multi-char-practice .practice-instruction{text-align:center;color:#666;font-size:.9rem;margin-bottom:1.5rem}.multi-char-practice-container{display:flex;gap:3rem;align-items:center;justify-content:center;max-width:800px;margin:0 auto}@media(max-width:768px){.multi-char-practice-container{flex-direction:column;gap:1.5rem}}.practice-left{display:flex;flex-direction:column;align-items:center;gap:.75rem}.practice-left .practice-character{font-size:6rem;font-weight:400;color:#333;line-height:1}@media(max-width:768px){.practice-left .practice-character{font-size:4rem}}.practice-left .practice-code-display{font-size:1.5rem;font-weight:600;color:#4a90e2;letter-spacing:.25rem;font-family:monospace}.practice-left .practice-progress{font-size:.9rem;color:#666;margin-top:.5rem}.practice-right{display:flex;flex-direction:column;gap:.75rem;min-width:300px}@media(max-width:768px){.practice-right{min-width:100%}}.practice-row{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:6px;background:#fff;border:2px solid transparent;transition:all .2s ease}.practice-row.current-row{background:#fff;border-color:#4a90e2}.practice-row.completed-row{opacity:.6;background:#caf5b5}.practice-row .row-number{font-size:1.2rem;font-weight:600;color:#666;min-width:1.5rem;text-align:center}.practice-row .char-input-boxes{display:flex;gap:.25rem}.ready-screen{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.ready-screen{padding:1rem}}.ready-content{max-width:600px;margin:0 auto}.ready-content h2{text-align:center;color:#4a90e2;margin-bottom:1rem}.ready-content .ready-description{text-align:center;color:#666;margin-bottom:2rem}.ready-characters-preview{margin-bottom:2rem}.ready-characters-preview h3{color:#4a90e2;margin-bottom:1rem;text-align:center}.ready-characters-preview .characters-preview-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}.ready-characters-preview .characters-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:.75rem;max-width:600px;margin:0 auto}.ready-characters-preview .character-preview-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:.5rem;background:#f5f5f5;border-radius:8px}.ready-characters-preview .character-preview-card .ready-favorite-btn{position:absolute;top:2px;right:2px;background:none;border:none;cursor:pointer;padding:2px;border-radius:4px;opacity:.4;transition:opacity .2s,transform .2s;display:flex;align-items:center;justify-content:center}.ready-characters-preview .character-preview-card .ready-favorite-btn:hover{opacity:1;transform:scale(1.1)}.ready-characters-preview .character-preview-card .ready-favorite-btn.favorited{opacity:1}.ready-characters-preview .character-preview-card .character-preview-char{font-size:1.75rem;line-height:1.2;color:#333}.ready-characters-preview .character-preview-card .character-preview-code{font-size:.8rem;color:#4a90e2;font-weight:500}.ready-characters-preview .character-preview-item{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;font-size:1.5rem;background:#f5f5f5;border-radius:6px;color:#333}.ready-characters-preview .character-preview-more{display:inline-flex;align-items:center;justify-content:center;padding:0 .75rem;height:2.5rem;font-size:.9rem;background:#fafcfe;border-radius:6px;color:#4a90e2;font-weight:500}.ready-instructions{background:#fff;border-left:4px solid #4a90e2;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.ready-instructions h3{color:#4a90e2;margin-bottom:.75rem}.ready-instructions ul{list-style:none;padding-left:0}.ready-instructions ul li{padding:.5rem 0 .5rem 1.5rem;position:relative}.ready-instructions ul li:before{content:"•";position:absolute;left:0;color:#4a90e2;font-weight:700}.ready-actions{text-align:center}.ready-actions .ready-action-buttons{display:flex;flex-direction:column;align-items:center;gap:1rem}.ready-actions .btn-mark-complete{background:transparent;border:1px solid #d9d9d9;color:#666;padding:.625rem 1.25rem;font-size:.95rem;border-radius:8px;cursor:pointer;transition:all .2s ease}.ready-actions .btn-mark-complete:hover{background:#52c41a;border-color:#52c41a;color:#fff}.character-display-wrapper,.character-preview-wrapper{position:relative;display:inline-block;cursor:pointer}.character-display-wrapper .character-tooltip,.character-preview-wrapper .character-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);background:#f5f5f5;border:1px solid #d9d9d9;padding:.4rem .6rem;border-radius:6px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;z-index:100;pointer-events:none;margin-top:.5rem;box-shadow:0 2px 8px #00000026;text-align:center}.character-display-wrapper .character-tooltip:after,.character-preview-wrapper .character-tooltip:after{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#f5f5f5}.character-display-wrapper .character-tooltip:before,.character-preview-wrapper .character-tooltip:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:7px solid transparent;border-bottom-color:#d9d9d9}.character-display-wrapper .character-tooltip .tooltip-radicals,.character-preview-wrapper .character-tooltip .tooltip-radicals{font-size:1.1rem;color:#333;font-weight:500}.character-display-wrapper .character-tooltip .tooltip-code,.character-preview-wrapper .character-tooltip .tooltip-code{font-size:.8rem;font-weight:600;color:#4a90e2;letter-spacing:.05em;margin-top:.1rem}.character-display-wrapper:hover .character-tooltip,.character-preview-wrapper:hover .character-tooltip{opacity:1;visibility:visible}.character-display-wrapper:active .character-tooltip,.character-display-wrapper:focus-within .character-tooltip,.character-preview-wrapper:active .character-tooltip,.character-preview-wrapper:focus-within .character-tooltip{opacity:1;visibility:visible}.character-display-wrapper:focus,.character-preview-wrapper:focus{outline:none}.practice-mode,.test-mode{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.practice-mode,.test-mode{padding:.875rem}}.keyboard-spacer{display:none}@media(max-width:768px){.keyboard-spacer{display:block;height:260px}}.practice-header,.test-header{margin-bottom:2rem}.progress-bar-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.progress-bar{flex:1;height:8px;background:#f5f5f5;border-radius:4px;overflow:hidden}.progress-bar .progress-fill{height:100%;background:linear-gradient(90deg,#4a90e2,#7b68ee);transition:width .3s ease}.progress-count{font-size:.85rem;color:#666;white-space:nowrap;min-width:3.5rem;text-align:right}.practice-stats,.test-stats{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.practice-stats .stat,.test-stats .stat{color:#666;font-size:.95rem}.practice-stats .stat.timer-warning,.test-stats .stat.timer-warning{color:#f5222d;font-weight:600;animation:pulse 1s infinite}.practice-area,.test-area{display:flex;justify-content:center;align-items:flex-start;padding:0 .75rem .75rem}@media(max-width:768px){.practice-area,.test-area{padding:0 .5rem .5rem}}.first-time-multi-practice{display:flex;gap:4rem;align-items:center;justify-content:center;max-width:900px;margin:0 auto;padding:2rem}@media(max-width:768px){.first-time-multi-practice{flex-direction:column;gap:1rem;padding:.5rem}}.first-time-left{display:flex;flex-direction:column;align-items:center;gap:1rem}.first-time-left .first-time-character{font-size:8rem;font-weight:400;color:#333;line-height:1}@media(max-width:768px){.first-time-left .first-time-character{font-size:5rem}}.first-time-left .first-time-code-display{font-size:2rem;font-weight:600;color:#4a90e2;letter-spacing:.5rem;font-family:monospace}@media(max-width:768px){.first-time-left .first-time-code-display{font-size:1.5rem;letter-spacing:.3rem}}.first-time-left .first-time-progress{font-size:1rem;color:#666;margin-top:.5rem}.first-time-mobile{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:.5rem}.first-time-mobile-header{display:flex;align-items:center;gap:1rem;width:100%;justify-content:center}.first-time-mobile-char{font-size:3.5rem;font-weight:400;color:#333;line-height:1}.first-time-mobile-info{display:flex;flex-direction:column;gap:.5rem}.first-time-mobile-code{font-size:1.25rem;font-weight:600;color:#4a90e2;letter-spacing:.2rem;font-family:monospace}.first-time-mobile-progress{display:flex;gap:.5rem}.first-time-mobile-progress .progress-dot{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:50%;font-size:.75rem;font-weight:600;background:#f5f5f5;color:#999;border:2px solid #d9d9d9}.first-time-mobile-progress .progress-dot.completed{background:#52c41a;color:#fff;border-color:#52c41a}.first-time-mobile-progress .progress-dot.completed-error{background:#f5222d;color:#fff;border-color:#f5222d}.first-time-mobile-progress .progress-dot.current{background:#4a90e2;color:#fff;border-color:#4a90e2}.first-time-mobile-input{width:100%;display:flex;justify-content:center}.first-time-mobile-input .char-input-boxes{display:flex;gap:.375rem}.first-time-mobile-input .input-box{width:2.5rem;height:2.5rem;font-size:1.25rem}.first-time-right{display:flex;flex-direction:column;gap:1rem;min-width:350px}@media(max-width:768px){.first-time-right{min-width:100%;max-width:400px}}.first-time-row{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-radius:8px;background:#fff;border:2px solid transparent;transition:all .2s ease}.first-time-row.current-row{background:#fff;border-color:#4a90e2;box-shadow:0 0 0 3px #fafcfe}.first-time-row.completed-row{opacity:.7;background:#d0f6be;border-color:#52c41a}.first-time-row.completed-row .row-number{color:#52c41a}.first-time-row .row-number{font-size:1.5rem;font-weight:700;color:#666;min-width:2rem;text-align:center}.first-time-row .char-input-boxes{display:flex;gap:.375rem;flex:1}.characters-row{display:flex;gap:1rem;align-items:flex-start;align-content:flex-start;flex-wrap:wrap;justify-content:center;max-width:100%}@media(max-width:768px){.characters-row{gap:.5rem;flex-wrap:nowrap;justify-content:center;padding:0 .5rem}}.char-wrapper{position:relative;display:flex;flex-direction:column;align-items:center;min-height:150px}@media(max-width:768px){.char-wrapper{min-height:120px;flex-shrink:0}}.char-checkmark-above{position:absolute;top:-2.5rem;font-size:1.5rem;color:#52c41a;font-weight:700;z-index:10}.char-x-above{position:absolute;top:-2.5rem;font-size:1.5rem;color:#f5222d;font-weight:700;z-index:10}.char-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.75rem;border-radius:8px;background:#fff;border:2px solid #d9d9d9;transition:all .3s ease;width:80px;height:80px;position:relative;flex-shrink:0;overflow:visible}@media(max-width:768px){.char-item{padding:.4rem;width:55px;height:55px}}.char-item .char-main{font-size:2.5rem;font-weight:300;color:#333;line-height:1}@media(max-width:768px){.char-item .char-main{font-size:1.5rem}}.char-item.current-char{border-color:transparent}.char-item.current-char .char-main{color:#333;font-weight:400}.char-item.current-char:after{content:"";position:absolute;bottom:-8px;left:50%;transform:translate(-50%);width:100%;height:4px;background:#4a90e2;border-radius:2px}.char-item.completed-char{background:#fff;border:2px solid #52c41a}.char-item.completed-char .char-main{color:#52c41a}.char-item.error-char{background:#fee5e6;border:2px solid #f5222d}.char-item.error-char .char-main{color:#f5222d}.char-item.error-char.current-char{animation:shake .3s ease}.char-item .char-code-hint{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:.65rem;white-space:nowrap;font-size:1rem;color:#4a90e2;background:#fff;padding:.25rem .5rem;border-radius:4px;font-weight:500;border:1px solid #4a90e2}@media(max-width:768px){.char-item .char-code-hint{font-size:.9rem;padding:.2rem .4rem}}.char-item.has-hover-hint{cursor:pointer}.char-item.has-hover-hint .char-hover-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:.5rem;padding:.4rem .6rem;background:#f5f5f5;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 2px 8px #00000026;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;z-index:10;white-space:nowrap;text-align:center}.char-item.has-hover-hint .char-hover-tooltip .tooltip-radicals{font-size:1.1rem;color:#333;font-weight:500}.char-item.has-hover-hint .char-hover-tooltip .tooltip-code{font-size:.8rem;font-weight:600;color:#4a90e2;letter-spacing:.05em;margin-top:.1rem}.char-item.has-hover-hint .char-hover-tooltip:after{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#f5f5f5}.char-item.has-hover-hint .char-hover-tooltip:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:7px solid transparent;border-bottom-color:#d9d9d9}.char-item.has-hover-hint:hover .char-hover-tooltip{opacity:1;visibility:visible}.char-input-boxes{display:flex;gap:.25rem;justify-content:center}.char-input-boxes.fade-out{animation:fadeOut .6s ease forwards}.char-input-boxes .input-box{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border:2px solid #4a90e2;border-radius:4px;background:#fff;font-size:1.2rem;font-weight:400;color:#333}@media(max-width:768px){.char-input-boxes .input-box{width:1.5rem;height:1.5rem;font-size:.9rem;border-width:1.5px}}.char-input-boxes .input-box.input-box-error{background:#fee5e6;border-color:#f5222d;animation:shake .3s ease}.char-item .char-input-boxes{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:3rem}@media(max-width:768px){.char-item .char-input-boxes{margin-top:2rem}}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1rem;margin:1rem 0 .5rem}@media(max-width:768px){.pagination-controls{gap:.5rem;margin:.5rem 0 .25rem}}.pagination-controls .pagination-btn{padding:.5rem 1rem;border:2px solid #4a90e2;border-radius:6px;background:#fff;color:#4a90e2;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.pagination-controls .pagination-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}@media(max-width:768px){.pagination-controls .pagination-btn{min-height:44px;min-width:44px;padding:.5rem .875rem;font-size:.9rem}}.pagination-controls .pagination-btn:hover:not(:disabled){background:#4a90e2;color:#fff;transform:translateY(-1px)}.pagination-controls .pagination-btn:active:not(:disabled){transform:translateY(0)}.pagination-controls .pagination-btn:disabled{opacity:.3;cursor:not-allowed}.pagination-controls .pagination-info{font-size:.95rem;color:#666;font-weight:500;min-width:60px;text-align:center}@media(max-width:768px){.pagination-controls .pagination-info{font-size:.85rem;min-width:50px}}.practice-controls{display:flex;justify-content:center;gap:1rem;margin:1rem 0;flex-wrap:wrap}.practice-controls button{padding:.5rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}@media(max-width:768px){.practice-controls button{padding:.4rem 1.2rem;font-size:.9rem}}.practice-controls button:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.practice-controls button:active{transform:translateY(0)}.practice-controls .hint-button{background:#4a90e2;color:#fff}.practice-controls .hint-button:hover{background:#2275d7}.practice-controls .give-up-button{background:#d9d9d9;color:#333}.practice-controls .give-up-button:hover{background:silver}.practice-controls .keyboard-toggle-button{background:#7b68ee;color:#fff}.practice-controls .keyboard-toggle-button:hover{background:#533ae9}.practice-controls .practice-settings-wrapper{position:relative}.practice-controls .settings-menu-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;transition:all .2s ease}.practice-controls .settings-menu-button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.practice-controls .settings-menu-button:hover{background:#e8e8e8;color:#333;transform:translateY(-1px)}.practice-controls .settings-menu-button.open{background:#4a90e2;color:#fff;border-color:#4a90e2}.practice-controls .settings-menu-button.open:hover{background:#2275d7}@media(max-width:768px){.practice-controls .settings-menu-button{width:44px;height:44px}}.practice-controls .practice-settings-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border:1px solid #d9d9d9;border-radius:8px;box-shadow:0 4px 12px #00000026;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .2s ease;z-index:150;min-width:140px}.practice-controls .practice-settings-menu.open{opacity:1;visibility:visible;transform:translateY(0)}.practice-controls .settings-menu-item{display:block;width:100%;padding:.75rem 1rem;text-align:left;border:none;background:transparent;color:#333;cursor:pointer;transition:background-color .15s ease;font-size:.95rem;white-space:nowrap}.practice-controls .settings-menu-item:focus-visible{outline:2px solid #4a90e2;outline-offset:-2px}.practice-controls .settings-menu-item:hover{background:#f5f5f5}.practice-controls .settings-menu-item:not(:last-child){border-bottom:1px solid #d9d9d9}.practice-input-area,.test-input-area{margin-top:1rem;display:flex;flex-direction:column;align-items:center;gap:.75rem}.cangjie-display{font-size:1.5rem;font-weight:500;color:#4a90e2;text-align:center;padding:.4rem .75rem;background:#fff;border-radius:6px;min-height:2rem;display:flex;align-items:center;justify-content:center;letter-spacing:.2em;border:2px solid rgb(205.8714285714,224.8714285714,247.1285714286)}@media(max-width:768px){.cangjie-display{font-size:1.25rem;padding:.35rem .6rem;min-height:1.75rem}}.input-container{display:flex;gap:.75rem;align-items:center;width:100%;max-width:500px}@media(max-width:768px){.input-container{flex-direction:column;gap:.5rem}}.cangjie-input{flex:1;padding:1rem;font-size:1.5rem;text-align:center;border:2px solid #d9d9d9;border-radius:8px;background:#fff;color:#333;letter-spacing:.3em;text-transform:uppercase;transition:all .2s ease}.cangjie-input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a}.cangjie-input::placeholder{color:#666;opacity:.5;letter-spacing:normal;text-transform:none}@media(max-width:768px){.cangjie-input{width:100%;font-size:1.25rem;padding:.875rem}}.submit-button{padding:1rem 2rem;font-size:1.1rem;background:#4a90e2;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;font-weight:600;white-space:nowrap}.submit-button:hover:not(:disabled){background:#277adc;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.submit-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px #0000001a}.submit-button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:768px){.submit-button{width:100%;padding:.875rem 1.5rem}}.practice-instructions,.test-instructions{text-align:center;color:#666;font-size:.85rem}.practice-instructions p,.test-instructions p{margin:0}.hidden-input{position:absolute;opacity:0;pointer-events:none}@media(max-width:414px){.char-item{width:48px;height:48px;padding:.3rem}.char-item .char-main{font-size:1.25rem}.char-input-boxes .input-box{width:1.25rem;height:1.25rem;font-size:.75rem}.first-time-mobile-char{font-size:2.75rem}.first-time-mobile-code{font-size:1rem}.first-time-mobile-input .input-box{width:2rem;height:2rem;font-size:1rem}.practice-stats .stat,.test-stats .stat{font-size:.8rem}.keyboard-spacer{height:240px}}.character-display-container{position:relative;text-align:center}.character-main .character-char{font-size:4rem;font-weight:300;margin-bottom:.5rem;-webkit-user-select:none;user-select:none}@media(max-width:768px){.character-main .character-char{font-size:3.5rem}}.character-main .character-input-display{font-size:2rem;font-family:Courier New,monospace;min-height:3rem;display:flex;justify-content:center;align-items:center;gap:.25rem}@media(max-width:768px){.character-main .character-input-display{font-size:1.5rem}}.character-main .character-input-display .input-char{padding:.25rem .5rem;border-radius:4px}.character-main .character-input-display .input-char.correct{background:#caf5b5;color:#3f9714}.character-main .character-input-display .input-char.incorrect{background:#fdcdcf;color:#da0a15}.character-main .character-input-display .input-cursor{animation:blink 1s infinite;color:#4a90e2}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.cangjie-keyboard{max-width:800px;margin:1rem auto 0;padding:1rem;background:#f5f5f5;border-radius:12px;box-shadow:0 2px 8px #0000001a}@media(max-width:768px){.cangjie-keyboard{padding:.75rem;margin-top:.75rem}}.keyboard-row{display:flex;justify-content:center;gap:.5rem;margin-bottom:.5rem;position:relative}.keyboard-row:last-child{margin-bottom:0}@media(max-width:768px){.keyboard-row{gap:5px;margin-bottom:10px}}.keyboard-key{min-width:50px;height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:2px solid #d9d9d9;border-radius:8px;padding:.4rem;cursor:default;transition:all .2s ease;position:relative;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}@media(max-width:768px){.keyboard-key{min-width:42px;height:50px;padding:.25rem;border-radius:6px}}.keyboard-key .key-letter{font-size:1.1rem;font-weight:600;color:#666;font-family:Courier New,monospace;margin-bottom:.25rem}@media(max-width:768px){.keyboard-key .key-letter{font-size:.9rem;margin-bottom:.15rem}}.keyboard-key .key-radical{font-size:1.3rem;color:#333;font-weight:500}@media(max-width:768px){.keyboard-key .key-radical{font-size:1.1rem}}.keyboard-key.clickable{cursor:pointer}.keyboard-key.clickable:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.keyboard-key.clickable:hover{background:#f7f7f7;border-color:#b3b3b3;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.keyboard-key.clickable:active{transform:translateY(0) scale(.95);background:#f2f2f2;box-shadow:0 1px 3px #0000001a inset}@media(max-width:768px){.keyboard-key.clickable:active{background:#cee1f7;border-color:#4a90e2}}.keyboard-key.keyboard-key-highlight{background:#4a90e2;border-color:#2275d7;box-shadow:0 0 0 3px #4a90e24d,0 4px 12px #4a90e266;transform:scale(1.1);z-index:10}.keyboard-key.keyboard-key-highlight .key-letter{color:#fff;font-weight:700}.keyboard-key.keyboard-key-highlight .key-radical{color:#fff;font-weight:600}.keyboard-key.keyboard-key-highlight.clickable:hover{background:#3483de;transform:scale(1.15) translateY(-2px)}.keyboard-key.keyboard-key-highlight.clickable:active{transform:scale(1.05);box-shadow:0 0 0 3px #4a90e280,0 2px 6px #4a90e299}.keyboard-row-1,.keyboard-row-2,.keyboard-row-3,.keyboard-row-4{justify-content:center;padding-left:0}.key-special{background:#e4eefb;border-color:#4a90e2}.key-special:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.key-special:hover{background:#cee1f7;transform:translateY(-2px)}.key-special:active{transform:translateY(0)}.animated-key.key-special{cursor:pointer}.key-backspace .key-letter{display:none!important}.key-backspace .backspace-icon{display:block;width:22px;height:17px}@media(max-width:768px){.key-backspace{flex:0 0 auto!important;width:44px!important;max-width:44px!important}}@media(max-width:414px){.key-backspace{width:38px!important;max-width:38px!important}.key-backspace .backspace-icon{width:18px;height:14px}}.key-space{width:302px!important}@media(max-width:768px){.key-space{flex:0 0 auto!important;width:200px!important;max-width:200px!important}.key-space .key-radical{font-size:.95rem;color:#333}}@media(max-width:414px){.key-space{width:160px!important;max-width:160px!important}.key-space .key-radical{font-size:.85rem}}@media(max-width:768px){.key-period{flex:0 0 auto!important;width:44px!important;max-width:44px!important}.key-period .key-letter{font-size:1.4rem;display:block!important;color:#333;margin:0}}@media(max-width:414px){.key-period{width:38px!important;max-width:38px!important}.key-period .key-letter{font-size:1.2rem}}.character-hint{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:1rem;background:#fff;border:2px solid #4a90e2;border-radius:12px;padding:1rem;box-shadow:0 8px 24px #0003;z-index:100;min-width:300px;max-width:90vw}@media(max-width:768px){.character-hint{min-width:250px;padding:.75rem}}.character-hint .hint-title{text-align:center;color:#4a90e2;font-weight:600;margin-bottom:1rem}.character-hint .hint-code{display:flex;justify-content:center;gap:.75rem;margin-bottom:1rem}.character-hint .hint-code .hint-code-part{display:flex;flex-direction:column;align-items:center;padding:.75rem;background:#f5f5f5;border-radius:8px}.character-hint .hint-code .hint-code-part .hint-key{font-size:1.5rem;font-weight:600;color:#4a90e2;margin-bottom:.25rem}.character-hint .hint-code .hint-code-part .hint-radical{font-size:1.25rem}.character-hint .hint-full-code{text-align:center;color:#666;font-size:.9rem;margin-bottom:1rem}.character-hint .hint-radicals{border-top:1px solid #d9d9d9;padding-top:1rem}.character-hint .hint-radicals .hint-radicals-title{font-weight:600;margin-bottom:.5rem;color:#666}.character-hint .hint-radicals .hint-radicals-list{display:flex;gap:.5rem;flex-wrap:wrap}.character-hint .hint-radicals .hint-radicals-list .hint-radical-item{font-size:1.25rem;padding:.25rem .5rem;background:#f5f5f5;border-radius:6px}.completion-screen{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.completion-screen{padding:.75rem}}.completion-content{max-width:800px;margin:0 auto}.completion-status{text-align:center;padding:1rem;margin-bottom:1rem}.completion-status .status-icon{font-size:2.5rem;margin-bottom:.5rem}.completion-status h2{margin:0;font-size:1.5rem}.completion-status.passed .status-icon,.completion-status.passed h2{color:#52c41a}.completion-status.failed .status-icon,.completion-status.failed h2{color:#faad14}.completion-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem}@media(max-width:768px){.completion-stats{grid-template-columns:repeat(2,1fr);gap:.5rem}}.stat-card{background:#f5f5f5;border-radius:8px;padding:.75rem .5rem;text-align:center}.stat-card .stat-label{font-size:.75rem;color:#666;margin-bottom:.3rem}.stat-card .stat-value{font-size:1.5rem;font-weight:600;color:#4a90e2}.stat-card .stat-value.good{color:#52c41a}.stat-card .stat-value.needs-improvement{color:#faad14}.stat-card .stat-unit{font-size:.7rem;color:#666}.stat-card .stat-target{font-size:.7rem;color:#999;margin-top:.2rem}.completion-errors{background:#fef3dc;border-radius:8px;padding:.75rem;margin-bottom:1rem}.completion-errors h3{color:#a56f04;margin-bottom:.5rem;font-size:1rem}.completion-errors .errors-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto;padding-right:.5rem}.completion-errors .errors-list::-webkit-scrollbar{width:8px}.completion-errors .errors-list::-webkit-scrollbar-track{background:#f5f5f5;border-radius:4px}.completion-errors .errors-list::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:4px}.completion-errors .errors-list::-webkit-scrollbar-thumb:hover{background:silver}.completion-errors .errors-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.completion-errors .errors-header h3{margin:0}.completion-errors .favorite-all-errors-btn{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#666;font-size:.8125rem;cursor:pointer;transition:all .2s ease}.completion-errors .favorite-all-errors-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.completion-errors .favorite-all-errors-btn:hover,.completion-errors .favorite-all-errors-btn.all-favorited{background:#fff8e1;border-color:#fcd34d;color:#f59e0b}.completion-errors .favorite-all-errors-btn.all-favorited:hover{background:#fff;border-color:#d9d9d9;color:#666}.completion-errors .error-item{background:#fff;padding:.5rem .75rem;border-radius:6px;display:flex;gap:.75rem;align-items:center}@media(max-width:768px){.completion-errors .error-item{gap:.5rem}}.completion-errors .error-item .error-favorite-btn{padding:.25rem;border:none;border-radius:4px;background:transparent;color:#666;cursor:pointer;transition:all .2s ease;flex-shrink:0}.completion-errors .error-item .error-favorite-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.completion-errors .error-item .error-favorite-btn:hover{background:#4a90e21a}.completion-errors .error-item .error-favorite-btn.favorited{color:#ffc107}.completion-errors .error-item .error-char{font-size:1.5rem;font-weight:600;min-width:2rem}.completion-errors .error-item .error-correct{flex:1;font-size:.95rem;color:#4a90e2;font-weight:500;font-family:monospace}.completion-errors .error-item .error-count{font-size:.85rem;color:#f5222d;font-weight:600;background:#fffefe;padding:.15rem .5rem;border-radius:4px}.completion-errors .errors-more{text-align:center;margin-top:.5rem;color:#666;font-size:.8rem}.completion-actions{display:flex;justify-content:center;gap:.75rem;margin-top:1rem}@media(max-width:768px){.completion-actions{flex-direction:column;gap:.5rem}}.error-message{text-align:center;padding:2rem;color:#f5222d;font-size:1.25rem}.animated-keyboard{max-width:800px;margin:1rem auto 0;padding:1rem;background:#f5f5f5;border-radius:12px;box-shadow:0 2px 8px #0000001a}@media(max-width:768px){.animated-keyboard{position:fixed;bottom:0;left:0;right:0;z-index:100;padding:10px 0;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));margin:0;width:100%;max-width:none;border-radius:12px 12px 0 0;box-shadow:0 -2px 10px #0000001a;background:#f5f5f5}}.keyboard-hands-container{position:relative}.keyboard-visual{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center}@media(max-width:768px){.keyboard-visual{align-items:stretch}.keyboard-visual .keyboard-row{gap:4px}.keyboard-visual .keyboard-row-1{padding:0 4px}.keyboard-visual .keyboard-row-2{padding:0 calc(5% + 4px)}.keyboard-visual .keyboard-row-3{padding-left:calc(10% + 4px);padding-right:4px}.keyboard-visual .keyboard-row-4{padding:0 4px;justify-content:center}}@media(max-width:414px){.keyboard-visual .keyboard-row{gap:3px;margin-bottom:6px}.keyboard-visual .keyboard-row-1{padding:0 3px}.keyboard-visual .keyboard-row-2{padding:0 calc(5% + 3px)}.keyboard-visual .keyboard-row-3{padding-left:calc(10% + 3px);padding-right:3px}.keyboard-visual .keyboard-row-4{padding:0 3px}}.animated-key{width:60px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:2px solid #d9d9d9;border-radius:6px;padding:.3rem;cursor:default;transition:background .15s ease,border-color .15s ease,transform .15s ease;position:relative;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}@media(max-width:768px){.animated-key{flex:1;min-width:0;height:46px;padding:.15rem;border-radius:5px;background:#fff;border:1px solid #d9d9d9}}@media(max-width:414px){.animated-key{height:44px;border-radius:4px}}.animated-key .key-letter{font-size:.85rem;font-weight:600;color:#666;font-family:Courier New,monospace;margin-bottom:.2rem}@media(max-width:768px){.animated-key .key-letter{display:none}}.animated-key .key-radical{font-size:1.2rem;color:#333;font-weight:500}@media(max-width:768px){.animated-key .key-radical{font-size:1.1rem;color:#333}}.animated-key.clickable{cursor:pointer}.animated-key.clickable:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.animated-key.clickable:hover{background:#f7f7f7;border-color:#b3b3b3;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.animated-key.clickable:active{transform:translateY(0) scale(.95);background:#f2f2f2;box-shadow:0 1px 3px #0000001a inset}@media(max-width:768px){.animated-key.clickable:active{background:#cee1f7;border-color:#4a90e2}}.animated-key.key-next{background:#4a90e2;border-color:#4a90e2;z-index:10}.animated-key.key-next:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;border-radius:50%;background:radial-gradient(circle,rgba(74,144,226,.3),transparent 70%);animation:pulseCircle 1.5s ease-in-out infinite;z-index:-1;pointer-events:none}@media(max-width:768px){.animated-key.key-next:before{width:70px;height:70px}}.animated-key.key-next .key-letter{color:#fff;font-weight:700}.animated-key.key-next .key-radical{color:#fff;font-weight:600}.animated-key.key-next.clickable:hover{background:#3483de;transform:translateY(-2px) scale(1.05)}.animated-key.key-next.clickable:active{transform:translateY(0) scale(1);box-shadow:0 0 12px #4a90e299}.animated-key.key-pressed-correct{animation:keyPress .15s ease-out;background:#caf5b5;border-color:#52c41a}.animated-key.key-pressed-correct .key-letter,.animated-key.key-pressed-correct .key-radical{color:#52c41a}.animated-key.key-pressed-incorrect{animation:keyPress .15s ease-out;background:#fee5e6;border-color:#f5222d}.animated-key.key-pressed-incorrect .key-letter,.animated-key.key-pressed-incorrect .key-radical{color:#f5222d}.animated-key.key-pressed-neutral{animation:keyPress .15s ease-out;background:#e4f2ff;border-color:#1890ff}.animated-key.key-pressed-neutral .key-letter,.animated-key.key-pressed-neutral .key-radical{color:#1890ff}.key-symbol .key-letter{font-size:1.1rem;font-family:-apple-system,BlinkMacSystemFont,sans-serif;margin:0}@media(max-width:768px){.key-symbol .key-letter{display:block!important;font-size:1.2rem;color:#333}}@media(max-width:414px){.key-symbol .key-letter{font-size:1rem}}.key-disabled{opacity:.4;cursor:not-allowed!important}.key-disabled:hover{transform:none!important;box-shadow:none!important;background:#fff!important;border-color:#d9d9d9!important}.key-disabled:active{transform:none!important;background:#fff!important}.key-mode-toggle{width:60px!important;flex:0 0 auto!important}.key-mode-toggle .key-letter{font-size:.85rem;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;margin:0}@media(max-width:768px){.key-mode-toggle .key-letter{display:block!important;font-size:.8rem;color:#333}}@media(max-width:414px){.key-mode-toggle .key-letter{font-size:.7rem}}@media(max-width:768px){.key-mode-toggle{width:44px!important;max-width:44px!important}}@media(max-width:414px){.key-mode-toggle{width:38px!important;max-width:38px!important}}@media(max-width:768px){.keyboard-row-symbols{padding:0 3px;justify-content:center;gap:5px}.keyboard-row-symbols .animated-key{flex:0 0 auto;width:40px;max-width:40px}.keyboard-row-symbols .key-backspace{width:44px!important;max-width:44px!important}}@media(max-width:414px){.keyboard-row-symbols{gap:4px}.keyboard-row-symbols .animated-key{width:34px;max-width:34px}.keyboard-row-symbols .key-backspace{width:38px!important;max-width:38px!important}}@media(max-width:414px){.animated-keyboard{padding:6px 0;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.keyboard-visual .keyboard-row{gap:2px;margin-bottom:4px}.keyboard-visual .keyboard-row-1{padding:0 2px}.keyboard-visual .keyboard-row-2{padding:0 calc(5% + 2px)}.keyboard-visual .keyboard-row-3{padding-left:calc(10% + 2px);padding-right:2px}.keyboard-visual .keyboard-row-4{padding:0 2px}.animated-key{height:42px;border-radius:3px}.animated-key .key-radical{font-size:1.1rem}.key-space{flex:3!important}.key-space .key-radical{font-size:.8rem}.key-backspace{flex:0 0 auto!important;width:38px!important}.key-backspace .backspace-icon{width:18px;height:14px}.key-period{flex:0 0 auto!important;width:38px!important}.key-period .key-letter{font-size:1.1rem}.key-mode-toggle{flex:0 0 auto!important;width:40px!important}.key-mode-toggle .key-letter{font-size:.65rem}.keyboard-row-symbols .animated-key{flex:1}.completion-stats{grid-template-columns:repeat(2,1fr);gap:.375rem}.stat-card{padding:.5rem .375rem}.stat-card .stat-value{font-size:1.25rem}.stat-card .stat-label{font-size:.7rem}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes keyPress{0%{transform:scale(1) translateY(0)}50%{transform:scale(.95) translateY(3px)}to{transform:scale(1) translateY(0)}}@keyframes pulseCircle{0%,to{transform:translate(-50%,-50%) scale(1);opacity:.4}50%{transform:translate(-50%,-50%) scale(1.2);opacity:.6}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes currentCharPulse{0%,to{box-shadow:0 0 #4a90e266}50%{box-shadow:0 0 0 8px #4a90e200}}.settings-view{max-width:800px;margin:0 auto;padding:3rem 2rem;min-height:100vh}.settings-content{background:#f5f5f5;border-radius:16px;padding:2rem;box-shadow:0 4px 24px #4a90e21f}@media(max-width:768px){.settings-content{padding:1.5rem}}.settings-section{margin-bottom:3rem}.settings-section:last-child{margin-bottom:0}.settings-section-title{font-size:1.5rem;color:#333;margin:0 0 .75rem;font-weight:600}.settings-section-description{font-size:1rem;color:#666;margin:0 0 1.5rem;line-height:1.6}.settings-subsections{background:#fff;border-radius:12px;padding:1.25rem;border-left:3px solid #4a90e2}.settings-subsection{margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid rgba(153,153,153,.3)}.settings-subsection:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.settings-subsection-title{font-size:.9375rem;color:#333;margin:0 0 .25rem;font-weight:600}.settings-subsection-description{font-size:.8125rem;color:#666;margin:0 0 .75rem;line-height:1.4}.settings-options{display:flex;flex-direction:column;gap:.75rem}.settings-options-inline{display:flex;flex-direction:row;gap:.75rem;flex-wrap:wrap}.settings-options-inline .settings-option{flex:1;min-width:120px;padding:.75rem 1rem}.settings-options-inline .settings-option .settings-option-content{display:none}.settings-options-inline .settings-option .settings-option-radio{margin-top:0}.settings-options-inline .settings-option .settings-option-label{font-size:.9375rem;font-weight:500;color:#333;white-space:nowrap}.settings-option{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#fff;border:2px solid transparent;border-radius:10px;cursor:pointer;transition:all .2s ease}.settings-option:hover{background:#fff;border-color:#4a90e2}.settings-option.settings-option-active{background:#061527;border-color:#4a90e2}.settings-option.settings-option-active .settings-option-title{color:#4a90e2}.settings-option-radio{width:20px;height:20px;border:2px solid #999;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:1px;transition:all .2s ease}.settings-option:hover .settings-option-radio,.settings-option-active .settings-option-radio{border-color:#4a90e2}.settings-option-radio-dot{width:10px;height:10px;background:#4a90e2;border-radius:50%;animation:radioDotAppear .2s ease-out}@keyframes radioDotAppear{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.settings-option-content{flex:1}.settings-option-title{font-size:.9375rem;font-weight:600;color:#333;margin:0 0 .25rem;display:flex;align-items:center;gap:.5rem}.settings-option-badge{font-size:.7rem;font-weight:600;padding:.2rem .4rem;background:#4a90e233;color:#4a90e2;border-radius:4px}.settings-option-description{font-size:.8125rem;color:#666;margin:0;line-height:1.4}.settings-actions{margin-top:2.5rem;display:flex;justify-content:center;gap:1rem}@media(max-width:768px){.settings-view{padding:1.5rem 1rem}.settings-option{min-height:44px;padding:.875rem;gap:.5rem}.settings-options-inline .settings-option{padding:.75rem;min-width:100px}.settings-option-radio{width:24px;height:24px}.settings-option-radio-dot{width:12px;height:12px}.settings-section-title{font-size:1.25rem}.settings-subsection-title{font-size:.9375rem}.settings-option-title{font-size:1rem}.settings-option-description{font-size:.875rem}}@media(max-width:768px){.settings-view{padding:2rem 1rem}.settings-content{padding:2rem 1.5rem}.settings-title{font-size:2rem}.settings-section-title{font-size:1.25rem}.settings-option{padding:1rem}.settings-option-radio{width:20px;height:20px}.settings-option-radio-dot{width:10px;height:10px}.settings-option-title{font-size:1rem}.settings-option-description{font-size:.875rem}}.favorites-view{max-width:1200px;margin:0 auto;padding:2rem;min-height:100vh}.favorites-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.favorites-content{padding:1rem}}.favorites-empty{text-align:center;padding:3rem 1rem}.favorites-empty .favorites-empty-icon{color:#666;margin-bottom:1rem;opacity:.5}.favorites-empty .favorites-empty-title{font-size:1.25rem;color:#333;margin:0 0 .5rem;font-weight:600}.favorites-empty .favorites-empty-description{font-size:.9375rem;color:#666;margin:0}.favorites-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #d9d9d9;flex-wrap:wrap;gap:.75rem}.favorites-actions{display:flex;gap:.5rem;align-items:center}.favorites-sort{display:flex;align-items:center;gap:.5rem}.sort-label{font-size:.875rem;color:#666}.sort-select{padding:.375rem .75rem;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#333;font-size:.875rem;cursor:pointer}.sort-select:focus{outline:none;border-color:#4a90e2}.sort-select:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.sort-order-btn{padding:.375rem .75rem;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#333;font-size:1rem;cursor:pointer;transition:all .2s ease}.sort-order-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.sort-order-btn:hover{background:#f5f5f5;border-color:#4a90e2}.export-btn,.import-btn{padding:.375rem .75rem;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#333;font-size:.875rem;cursor:pointer;transition:all .2s ease}.export-btn:focus-visible,.import-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.export-btn:hover,.import-btn:hover{background:#f5f5f5;border-color:#4a90e2;color:#4a90e2}.import-btn{display:inline-flex;align-items:center}.import-btn-large{margin-top:1.5rem;padding:.75rem 1.5rem;font-size:1rem;background:#4a90e2;color:#fff;border:none}.import-btn-large:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.import-btn-large:hover{background:#2275d7;color:#fff}.clear-all-btn{padding:.375rem .75rem;border:1px solid #f5222d;border-radius:6px;background:transparent;color:#f5222d;font-size:.875rem;cursor:pointer;transition:all .2s ease}.clear-all-btn:focus-visible{outline:2px solid #f5222d;outline-offset:2px}.clear-all-btn:hover{background:#f5222d;color:#fff}.favorites-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:1rem}@media(max-width:768px){.favorites-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}}.favorites-char-item{padding:1rem;background:#f5f5f5;border-radius:8px;border:2px solid #d9d9d9;text-align:center;transition:all .2s ease;position:relative}.favorites-char-item:hover{border-color:#4a90e2;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.favorites-char-item:hover .favorites-star-btn{opacity:1}.favorites-char-item .favorites-star-btn{position:absolute;top:.25rem;right:.25rem;padding:.25rem;border:none;border-radius:4px;background:transparent;color:#666;cursor:pointer;opacity:.6;transition:all .2s ease}.favorites-char-item .favorites-star-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px;opacity:1}.favorites-char-item .favorites-star-btn:hover{background:#4a90e21a;opacity:1}.favorites-char-item .favorites-star-btn.favorited{opacity:1;color:#ffc107}.favorites-char-item .char-display{font-size:2.5rem;font-weight:600;margin-bottom:.5rem;color:#333;line-height:1}.favorites-char-item .char-code .code-value{color:#4a90e2;font-weight:600;font-size:1rem;font-family:Courier New,monospace;display:block;letter-spacing:.05em}.favorites-char-item .char-code .code-not-found{color:#999;font-size:.85rem;font-style:italic}.favorites-char-item .char-date{margin-top:.5rem;font-size:.75rem;color:#666}.favorites-char-item.toggled-off{opacity:.5}.favorites-char-item.toggled-off .favorites-star-btn{opacity:1}@media(max-width:768px){.favorites-view{padding:1rem}.favorites-toolbar{flex-direction:column;gap:1rem;align-items:stretch}.favorites-sort{justify-content:center}.sort-select{min-height:44px;padding:.5rem 1rem;font-size:1rem}.sort-order-btn{min-height:44px;min-width:44px;padding:.5rem}.export-btn,.import-btn{min-height:44px;padding:.5rem 1rem;font-size:1rem}.clear-all-btn{width:100%;min-height:44px;padding:.75rem 1rem;font-size:1rem}.favorites-actions{flex-wrap:wrap;justify-content:center}.favorites-star-btn{min-width:44px;min-height:44px;padding:.5rem}.favorites-char-item{padding:.75rem}.favorites-char-item .char-display{font-size:2rem}}.favorites-practice-select{max-width:800px;margin:0 auto;padding:2rem}.practice-mode-info{text-align:center;margin-bottom:2rem}.practice-mode-info p{font-size:1.125rem;color:#666}.practice-mode-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.practice-mode-card{display:flex;flex-direction:column;align-items:center;padding:2rem 1.5rem;background:#fff;border:2px solid #d9d9d9;border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:center}.practice-mode-card:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.practice-mode-card:hover{border-color:#4a90e2;box-shadow:0 4px 16px #00000026;transform:translateY(-2px)}.practice-mode-card.timed-mode-card{cursor:default}.practice-mode-card.timed-mode-card:hover{transform:none;box-shadow:none;border-color:#d9d9d9}.practice-mode-card .mode-icon{font-size:2.5rem;margin-bottom:1rem}.practice-mode-card h3{font-size:1.25rem;color:#333;margin-bottom:.5rem}.practice-mode-card p{font-size:.875rem;color:#666;line-height:1.5;margin:0}.timed-options{display:flex;gap:.75rem;margin-top:1rem}.time-option-btn{padding:.5rem 1rem;background:#4a90e2;color:#fff;border:none;border-radius:6px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease}.time-option-btn:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.time-option-btn:hover{background:#2275d7;transform:translateY(-1px)}.timed-practice{display:flex;flex-direction:column;align-items:center;padding:2rem;gap:2rem}.timed-header{width:100%;max-width:600px}.timed-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:1.5rem}.timed-stats .stat{font-size:1rem;color:#666}.timed-stats .stat.timer{font-size:1.5rem;font-weight:700;color:#4a90e2}.timed-stats .stat.timer-warning{color:#f5222d;animation:pulse 1s infinite}.timed-character-area{display:flex;justify-content:center;align-items:center;min-height:200px}.timed-character{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 4px 16px #00000026;transition:all .2s ease}.timed-character.error-flash{animation:errorFlash .3s ease}@keyframes errorFlash{0%,to{background:#fff}50%{background:#fed7d7}}.timed-char-main{font-size:5rem;font-weight:500;color:#333;line-height:1}.timed-input-boxes{display:flex;gap:.5rem}.timed-input-boxes .input-box{width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;border:2px solid #d9d9d9;border-radius:8px;font-size:1.5rem;background:#f5f5f5}.timed-controls{display:flex;justify-content:center}.favorites-characters-preview{margin-top:2rem;padding-top:2rem;border-top:1px solid #d9d9d9}.favorites-characters-preview h3{font-size:1rem;color:#666;margin-bottom:1rem;text-align:center}.characters-preview-grid{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.character-preview-chip{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#fff;border:1px solid #d9d9d9;border-radius:8px;font-size:1.25rem;color:#333}.timer-stat{font-weight:600;color:#4a90e2}.timer-stat.timer-warning{color:#f5222d;animation:pulse 1s infinite}@media(max-width:768px){.favorites-practice-select{padding:1rem}.practice-mode-options{grid-template-columns:1fr}.practice-mode-card{padding:1.5rem 1rem}}.auxiliary-chars-inline{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;padding:.25rem;background:#4a90e20d;border-radius:4px}.auxiliary-chars-block{margin-top:.75rem;padding:.75rem;background:#4a90e20d;border-radius:6px}.auxiliary-chars-label{font-size:.75rem;color:#666;font-weight:500;white-space:nowrap}.auxiliary-chars-grid{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.auxiliary-char-item{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:.15rem;transition:all .2s}.auxiliary-char-item:hover{border-color:#4a90e2;box-shadow:0 1px 4px #4a90e233;transform:scale(1.05)}.auxiliary-char-svg{width:32px;height:32px;display:block;object-fit:contain}.auxiliary-chars-inline .auxiliary-char-svg{width:24px;height:24px}.auxiliary-chars-inline .auxiliary-chars-label{font-size:.7rem}.auxiliary-chars-block .auxiliary-char-svg{width:40px;height:40px}.auxiliary-chars-block .auxiliary-chars-grid{margin-top:.5rem;gap:.5rem}.hint-code-part{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}@media(max-width:768px){.auxiliary-char-svg{width:28px;height:28px}.auxiliary-chars-inline .auxiliary-char-svg{width:20px;height:20px}.auxiliary-chars-block .auxiliary-char-svg{width:32px;height:32px}.auxiliary-chars-grid{gap:.25rem}}.lesson-tile-auxiliary-forms{display:flex;flex-wrap:wrap;gap:.15rem;align-items:baseline;justify-content:center;margin-top:.25rem}.lesson-tile-auxiliary-svg{width:1.2em;height:1.2em;display:inline-block;object-fit:contain;vertical-align:text-bottom;filter:brightness(0) saturate(100%);opacity:.85}.lesson-title-wrapper{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;justify-content:center}.lesson-title-auxiliary-forms{display:inline-flex;flex-wrap:wrap;gap:.3rem;align-items:baseline;padding:.25rem .5rem;background:#4a90e20d;border-radius:4px}.lesson-title-auxiliary-svg{width:1.5em;height:1.5em;display:inline-block;object-fit:contain;vertical-align:text-bottom;filter:brightness(0) saturate(100%) opacity(.7);transition:all .2s}.lesson-title-auxiliary-svg:hover{filter:brightness(0) saturate(100%) opacity(1);transform:scale(1.1)}@media(max-width:768px){.lesson-tile-auxiliary-svg{width:1.1em;height:1.1em}.lesson-title-auxiliary-svg{width:1.3em;height:1.3em}}.intro-auxiliary-section{margin-bottom:2rem}.intro-auxiliary-section h3{color:#4a90e2;margin-bottom:1rem;text-align:center}.intro-auxiliary-description{text-align:center;color:#666;font-size:.9rem;margin-bottom:1rem;margin-top:-.5rem}.intro-auxiliary-forms-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}.intro-auxiliary-form-item{display:flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px;padding:.5rem}.intro-auxiliary-form-svg{width:2.5rem;height:2.5rem;object-fit:contain;display:block}.navigation-bar{background-color:#fff;border-bottom:1px solid #d9d9d9;box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:100}.navigation-bar .nav-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}.navigation-bar .nav-brand{cursor:pointer;display:flex;align-items:center;transition:opacity .2s;text-decoration:none}.navigation-bar .nav-brand:hover{opacity:.8}.navigation-bar .nav-brand .nav-brand-text{font-size:1.25rem;font-weight:600;color:#4a90e2}.navigation-bar .nav-links{display:flex;gap:.5rem}.navigation-bar .nav-link{background:none;border:none;padding:.5rem 1rem;font-size:1rem;color:#666;cursor:pointer;border-radius:6px;transition:all .2s;font-weight:500;display:flex;align-items:center;gap:.375rem;text-decoration:none}.navigation-bar .nav-link:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.navigation-bar .nav-link:hover{background-color:#e8f4ff;color:#4a90e2}.navigation-bar .nav-link.nav-link-active{background-color:#4a90e2;color:#fff}.navigation-bar .nav-link.nav-link-active:hover{background-color:#2275d7}.navigation-bar .nav-link.nav-link-active .nav-badge{background:#ffffff40;color:#fff}.navigation-bar .nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .35rem;font-size:.75rem;font-weight:600;background:#4a90e2;color:#fff;border-radius:10px}.navigation-bar .nav-hamburger{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;padding:8px;background:none;border:none;cursor:pointer;border-radius:6px;transition:background-color .2s}.navigation-bar .nav-hamburger:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.navigation-bar .nav-hamburger:hover{background-color:#e8f4ff}.navigation-bar .nav-hamburger .hamburger-line{display:block;width:22px;height:2px;background-color:#333;border-radius:1px;transition:transform .3s ease,opacity .3s ease}.navigation-bar .nav-hamburger.nav-hamburger-open .hamburger-line:nth-child(1){transform:translateY(7px) rotate(45deg)}.navigation-bar .nav-hamburger.nav-hamburger-open .hamburger-line:nth-child(2){opacity:0}.navigation-bar .nav-hamburger.nav-hamburger-open .hamburger-line:nth-child(3){transform:translateY(-7px) rotate(-45deg)}@media(max-width:768px){.navigation-bar .nav-content{padding:.5rem 1rem;flex-wrap:wrap}.navigation-bar .nav-brand-text{font-size:1.1rem}.navigation-bar .nav-hamburger{display:flex}.navigation-bar .nav-links{display:none;flex-direction:column;width:100%;gap:.25rem;padding-top:.75rem;border-top:1px solid #d9d9d9;margin-top:.75rem}.navigation-bar .nav-links.nav-links-open{display:flex}.navigation-bar .nav-link{min-height:44px;padding:.75rem 1rem;font-size:1rem;justify-content:flex-start;border-radius:8px}.navigation-bar .nav-link:hover{background-color:#e8f4ff}}.paragraph-mode{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 4px 16px #00000026}@media(max-width:768px){.paragraph-mode{padding:.875rem}}.paragraph-header{margin-bottom:.5rem}@media(max-width:768px){.paragraph-header{margin-bottom:.25rem}}.paragraph-stats{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}@media(max-width:768px){.paragraph-stats{gap:.75rem}}.paragraph-stats .stat{color:#666;font-size:.85rem;font-weight:500}@media(max-width:768px){.paragraph-stats .stat{font-size:.75rem}}.paragraph-viewport{position:relative;height:300px;overflow:hidden;background:#f5f5f5;border-radius:8px;padding:2rem;margin-bottom:1.5rem;border:2px solid #d9d9d9}@media(max-width:768px){.paragraph-viewport{height:250px;padding:1rem;margin-bottom:1rem}}@media(max-height:800px){.paragraph-viewport{height:200px;padding:1rem}}@media(max-height:700px){.paragraph-viewport{height:150px;padding:.75rem;margin-bottom:.75rem}}@media(max-height:600px){.paragraph-viewport{height:80px;padding:.5rem .75rem;margin-bottom:.5rem}}.paragraph-content{font-size:2rem;line-height:2;color:#333;font-family:PingFang TC,Microsoft JhengHei,sans-serif;text-align:justify}@media(max-width:768px){.paragraph-content{font-size:1.5rem;line-height:1.8}}.paragraph-char{display:inline;transition:color .3s ease,opacity .3s ease}.paragraph-char.completed-char{color:#3f9714;opacity:.5}.paragraph-char.skipped-char{color:#999;opacity:.4;text-decoration:line-through}.paragraph-char.current-char{color:#4a90e2;font-weight:600;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:4px}.paragraph-char.error-char{color:#f5222d;text-decoration:underline wavy;text-decoration-thickness:2px;text-underline-offset:4px}.paragraph-char.completed-with-error-char{color:#da0a15;opacity:.5}.paragraph-char.has-hint-tooltip{cursor:pointer}.paragraph-char.has-hint-tooltip:hover{background:#4a90e21a;border-radius:2px}.paragraph-char.has-hint-tooltip:focus{outline:none;background:#4a90e21a;border-radius:2px}.paragraph-fixed-tooltip{z-index:1000;background:#f5f5f5;border:1px solid #d9d9d9;padding:.4rem .6rem;border-radius:6px;box-shadow:0 2px 8px #00000026;text-align:center;display:flex;flex-direction:column;align-items:center;pointer-events:none}.paragraph-fixed-tooltip:after{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#f5f5f5}.paragraph-fixed-tooltip:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:7px solid transparent;border-bottom-color:#d9d9d9}.paragraph-fixed-tooltip .tooltip-radicals{font-size:1.1rem;color:#333;font-weight:500}.paragraph-fixed-tooltip .tooltip-code{font-size:.8rem;font-weight:600;color:#4a90e2;letter-spacing:.05em;margin-top:.1rem}.paragraph-input-area{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-bottom:1rem}.paragraph-code-display{font-size:1.75rem;font-weight:500;color:#4a90e2;text-align:center;padding:.5rem 1rem;background:#fff;border-radius:6px;min-height:2.5rem;display:flex;align-items:center;justify-content:center;letter-spacing:.3em;border:2px solid #4a90e2;min-width:150px}@media(max-width:768px){.paragraph-code-display{font-size:1.5rem;padding:.4rem .75rem;min-height:2rem}}.paragraph-code-display.empty{background:transparent;border-color:#d9d9d9}.paragraph-controls{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.paragraph-controls button{padding:.5rem 1.5rem;border:none;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}@media(max-width:768px){.paragraph-controls button{padding:.4rem 1.2rem;font-size:.85rem}}.paragraph-controls button:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.paragraph-controls button:active{transform:translateY(0)}.paragraph-controls .keyboard-toggle-button{background:#7b68ee;color:#fff}.paragraph-controls .keyboard-toggle-button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.paragraph-controls .keyboard-toggle-button:hover{background:#533ae9}.paragraph-controls .paragraph-settings-wrapper{position:relative}.paragraph-controls .settings-menu-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;transition:all .2s ease}.paragraph-controls .settings-menu-button:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.paragraph-controls .settings-menu-button:hover{background:#e8e8e8;color:#333;transform:translateY(-1px)}.paragraph-controls .settings-menu-button.open{background:#4a90e2;color:#fff;border-color:#4a90e2}.paragraph-controls .settings-menu-button.open:hover{background:#2275d7}@media(max-width:768px){.paragraph-controls .settings-menu-button{width:44px;height:44px}}.paragraph-controls .paragraph-settings-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border:1px solid #d9d9d9;border-radius:8px;box-shadow:0 4px 12px #00000026;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .2s ease;z-index:150;min-width:140px}.paragraph-controls .paragraph-settings-menu.open{opacity:1;visibility:visible;transform:translateY(0)}.paragraph-controls .settings-menu-item{display:block;width:100%;padding:.75rem 1rem;text-align:left;border:none;background:transparent;color:#333;cursor:pointer;transition:background-color .15s ease;font-size:.95rem;white-space:nowrap}.paragraph-controls .settings-menu-item:focus-visible{outline:2px solid #4a90e2;outline-offset:-2px}.paragraph-controls .settings-menu-item:hover{background:#f5f5f5}.paragraph-controls .settings-menu-item:not(:last-child){border-bottom:1px solid #d9d9d9}.punctuation-keyboard{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;padding:1rem;background:#f5f5f5;border-radius:8px;margin-top:.5rem}.punctuation-keyboard .punctuation-key{width:3rem;height:3rem;border:2px solid #d9d9d9;border-radius:6px;background:#fff;font-size:1.25rem;cursor:pointer;transition:all .2s ease}.punctuation-keyboard .punctuation-key:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.punctuation-keyboard .punctuation-key:hover{background:#e8e8e8;transform:translateY(-2px)}.punctuation-keyboard .punctuation-key:active{transform:translateY(0)}.punctuation-keyboard .punctuation-key.expected{background:#fafcfe;border-color:#4a90e2;animation:currentCharPulse 1.5s ease-in-out infinite}@media(max-width:768px){.punctuation-keyboard .punctuation-key{width:2.5rem;height:2.5rem;font-size:1rem}}.article-practice-view{max-width:1400px;margin:0 auto;padding:2rem}@media(max-width:768px){.article-practice-view{padding:1rem}}.article-practice-view .article-sections{display:flex;flex-direction:column;gap:2rem;max-width:1200px;width:100%}.article-practice-view .article-section{background:#f5f5f5;border-radius:16px;padding:1.5rem;border:2px solid #d9d9d9}.article-practice-view .article-section .article-section-header{display:flex;align-items:center;gap:1rem;padding:.5rem;background:transparent;border:none;cursor:pointer;width:100%;text-align:left;transition:background-color .2s ease;border-radius:8px}.article-practice-view .article-section .article-section-header:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.article-practice-view .article-section .article-section-header:hover{background:#ededed}.article-practice-view .article-section .article-section-header .section-collapse-icon{font-size:1.25rem;color:#4a90e2;width:1.5rem;flex-shrink:0}.article-practice-view .article-section .article-section-header .section-title-group{flex:1}.article-practice-view .article-section .article-section-header .section-title-group .section-title{font-size:1.75rem;font-weight:700;color:#333;margin:0}.article-practice-view .article-section .article-section-header .section-title-group .section-description{font-size:1rem;color:#666;margin:.25rem 0 0}.article-practice-view .article-section .article-section-header .section-count{font-size:1rem;color:#999;font-weight:600;padding:.375rem 1rem;background:#4a90e2;color:#fff;border-radius:1rem;flex-shrink:0}.article-practice-view .article-section .article-grid{margin-top:1.5rem;padding-left:1rem}.article-practice-view .article-section.collapsed .article-section-header{margin-bottom:0}.article-practice-view .article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.article-practice-view .article-card{display:flex;flex-direction:column;padding:1.25rem;background:#fff;border:1px solid #d9d9d9;border-radius:12px;text-decoration:none;color:inherit;transition:all .2s ease;position:relative}.article-practice-view .article-card:focus-visible{outline:2px solid #4a90e2;outline-offset:2px}.article-practice-view .article-card:hover{border-color:#4a90e2;box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.article-practice-view .article-card.completed{border-color:#52c41a;background:#52c41a0d}.article-practice-view .article-card.locked{background:#ededed;border-color:#d9d9d9;cursor:not-allowed;opacity:.7}.article-practice-view .article-card.locked:hover{transform:none;box-shadow:none;border-color:#d9d9d9}.article-practice-view .article-card.locked .article-card-title,.article-practice-view .article-card.locked .article-card-description{opacity:.6}.article-practice-view .article-card .article-card-lock{position:absolute;top:8px;right:8px;font-size:16px;opacity:.8}.article-practice-view .article-card .article-card-check{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:6px;border:2px solid #d9d9d9;background:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;cursor:pointer}.article-practice-view .article-card .article-card-check svg{width:14px;height:14px;color:#fff}.article-practice-view .article-card .article-card-check.checked{background:#52c41a;border-color:#52c41a}.article-practice-view .article-card .article-card-check:not(.checked):hover{border-color:#52c41a;background:#caf5b5}.article-practice-view .article-card .article-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;padding-right:2rem}.article-practice-view .article-card .article-card-title{font-size:1.25rem;font-weight:600;color:#333}.article-practice-view .article-card .article-card-stars{display:flex;gap:.125rem;flex-shrink:0}.article-practice-view .article-card .article-card-stars .star{font-size:.875rem}.article-practice-view .article-card .article-card-description{font-size:.9rem;color:#666;flex:1;margin-bottom:.75rem}.article-practice-view .article-card .article-card-meta{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.article-practice-view .article-card .article-card-meta .char-count{font-size:.8rem;color:#999;background:#f5f5f5;padding:.25rem .5rem;border-radius:4px}.article-practice-view .article-card .article-card-meta .best-score{font-size:.8rem;color:#52c41a;font-weight:500}@media(max-width:768px){.article-practice-view{padding:1rem}.article-practice-view .article-grid{grid-template-columns:1fr}}
