*{margin:0;padding:0;box-sizing:border-box}body{font-family:Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.auth-card{background:#fff;border-radius:20px;padding:3rem;box-shadow:0 20px 60px #0000004d;width:100%;max-width:450px}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h1{color:#2d3748;margin-bottom:.5rem;font-size:2rem}.auth-header p{color:#718096}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:600;color:#4a5568;margin-bottom:.5rem}.form-group input{padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#4caf50}.submit-btn{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s}.submit-btn:hover:not(:disabled){transform:translateY(-2px)}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fed7d7;color:#c53030;padding:1rem;border-radius:8px;margin-bottom:1rem}.auth-footer{text-align:center;margin-top:1.5rem;color:#718096}.auth-footer a{color:#4caf50;text-decoration:none;font-weight:600}.auth-footer a:hover{text-decoration:underline}.forgot-password-link{text-align:right;margin-top:-.5rem}.forgot-password-link a{color:#667eea;text-decoration:none;font-size:.9rem}.forgot-password-link a:hover{text-decoration:underline}.success-message{background:#c6f6d5;color:#276749;padding:1rem;border-radius:8px;margin-bottom:1rem;text-align:center}:root{--header-h: 8vh;--bottom-h: 8vh;*/ */}.vocab-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.header{position:fixed;top:0;left:0;right:0;height:var(--header-h);z-index:1000;background:#fffffffc;padding:0rem .5rem;display:flex;justify-content:space-between;align-items:center}.logo{font-size:1rem;font-weight:700;color:#3f6183}.user-menu{display:flex;align-items:center;gap:1rem}.guest-menu{display:flex;align-items:center;gap:.5rem}.login-btn,.signup-btn{padding:.5rem 1.2rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.login-btn{background:#fff;color:#3f6183;border:2px solid #3f6183}.login-btn:hover{background:#58cc021a}.signup-btn{background:#3f6183;color:#fff;border:2px solid #3f6183}.signup-btn:hover{background:#0254a7;border-color:#0254a7}.user-email{color:#333;font-size:.9rem}.logout-btn{color:#fff;background:#58cc02cc;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;cursor:pointer;transition:background .3s}.logout-btn:hover{background:#58cc02}.tab-navigation{position:fixed;bottom:0;left:0;right:0;height:var(--bottom-h);z-index:1000;background:#fffffffc;display:flex;justify-content:center;align-items:center;border-top:1px solid #dcdcdc;padding:0 2rem}.tab-btn{padding:1rem 2rem;background:none;border:none;color:#666;font-weight:600;border-bottom:3px solid transparent;transition:all .3s ease;margin:0 .5rem;cursor:pointer;font-size:1rem}.tab-btn:hover{color:#58cc02;background:#58cc020d}.tab-btn.active{color:#58cc02;border-bottom-color:#58cc02;background:#58cc020d}.container{position:relative;height:calc(100vh - var(--header-h) - var(--bottom-h));margin-top:var(--header-h);margin-bottom:var(--bottom-h);flex:1;display:flex;justify-content:center;align-items:top;padding:.5rem}.home-card{background:#fff;border-radius:20px;padding:1rem;box-shadow:0 10px 30px #00000026;max-width:500px;width:99%;overflow:hidden;flex-direction:column;animation:slideIn .5s ease-out}.app-title{text-align:center;margin-bottom:1.5rem;flex-shrink:0}.app-title h1{color:#2c5530;font-size:1.2rem;margin-bottom:.5rem}.app-subtitle{color:#666;font-size:.8rem}.modules-path{display:flex;flex-direction:column;align-items:center;max-width:450px;max-width:95%;margin:0 auto;overflow-y:auto;flex:1;scrollbar-width:none;-ms-overflow-style:none}.modules-path::-webkit-scrollbar{width:0;height:0;display:none}.module-item{position:relative;width:100%;display:flex;align-items:center;justify-content:center;min-height:120px;flex-shrink:0}.module-circle{width:80px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;cursor:pointer;transition:all .3s ease;position:relative;z-index:2;color:#fff;border:5px solid transparent}.module-circle.unlocked{background:linear-gradient(135deg,#ffc107,#e6a800);border-color:#d39e00}.module-circle.unlocked:hover{transform:scale(1.1);box-shadow:0 10px 30px #58cc0280}.module-circle.completed{background:linear-gradient(135deg,#58cc02,#4b9c02);box-shadow:0 8px 25px #58cc0266;border-color:#45a502}.module-circle.completed:before{content:"✓";font-size:2rem;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.module-circle.locked{background:#ccc;border-color:#999;cursor:not-allowed;color:#666}.module-circle.locked:before{content:"🔒";font-size:1.5rem}.module-info-side{position:absolute;left:100px;background:#fffffff2;padding:.75rem 1rem;border-radius:15px;box-shadow:0 4px 15px #0000001a;min-width:200px;border-left:4px solid #ca022a}.module-info-side.locked{border-left-color:#ccc;background:#f0f0f0e6}.module-title{font-size:1.2rem;font-weight:700;color:#2c5530;margin-bottom:.25rem}.module-title.locked{color:#888}.module-description{font-size:.8rem;color:#666;margin-bottom:.25rem}.module-word-count{font-size:.8rem;color:#999}.loading{display:flex;justify-content:center;align-items:center;min-height:100vh;font-size:1.2rem;color:#666}.lesson-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.lesson-card{background:#fff;border-radius:10px;padding:2rem;box-shadow:0 10px 30px #00000026;margin:1rem;width:100%;text-align:center;animation:slideIn .5s ease-out}.progress-bar{width:100%;height:12px;background:#e5e5e5;border-radius:10px;margin-bottom:.5rem;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#58cc02,#7dd944);border-radius:10px;transition:width .3s ease}.word-counter{font-size:.5rem;color:#666;margin-bottom:.5rem;font-weight:600}.word-display{font-size:2rem;font-weight:700;color:#2c5530;margin-bottom:1rem;text-shadow:2px 2px 4px rgba(0,0,0,.1);position:relative}.bookmark-container{position:absolute;top:-10px;right:-10px}.bookmark-btn{background:#ffffffe6;border:2px solid #e9ecef;border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 10px #0000001a}.bookmark-btn:hover{background:#fff;border-color:#58cc02;transform:scale(1.1);box-shadow:0 4px 15px #58cc0233}.bookmark-btn.bookmarked{background:linear-gradient(135deg,#58cc02,#4aa802);border-color:#58cc02}.bookmark-btn.bookmarked:hover{background:linear-gradient(135deg,#4aa802,#3d8802);transform:scale(1.1)}.bookmark-icon{font-size:1.5rem;transition:transform .2s ease}.bookmark-btn:hover .bookmark-icon{transform:rotate(10deg)}.deleteword-container{position:absolute;top:-10px;left:-10px}.deleteword-btn{background:#d1a8aee6;border:2px solid #ddc0cd;border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 10px #0000001a}.deleteword-btn:hover{background:#fff;border-color:#ca0202;transform:scale(1.1);box-shadow:0 4px 15px #ca026d33}.deleteword-btn.deleted{background:linear-gradient(135deg,#ca0202,#a7020a);border-color:#ca0252}.deleteword-btn.bookmarked:hover{background:linear-gradient(135deg,#a70244,#88021d);transform:scale(1.1)}.deleteword-icon{font-size:1.5rem;transition:transform .2s ease}.deleteword-btn:hover .deleteword-icon{transform:rotate(10deg)}.definition{font-size:1rem;text-align:left;color:#555;margin-bottom:.5rem;line-height:1.5;background:#f8f9fa;padding:1rem;border-radius:10px;border-left:4px solid #58cc02}.definition strong{color:#2c5530}.example{font-size:1rem;text-align:left;color:#666;font-style:italic;margin-bottom:.5rem;line-height:1.5;background:#fff8e1;padding:1rem;border-radius:10px;border-left:4px solid #ffc107}.example strong{color:#d39e00;font-style:normal}.button-container{display:flex;flex-direction:row;gap:.5rem;align-items:center;justify-content:center;margin-top:2rem}.next-btn{background:linear-gradient(135deg,#58cc02,#4b9c02);width:100%;color:#fff;border:none;padding:1rem 2rem;font-size:.8rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #58cc024d}.next-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}.quit-btn{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff;width:100%;border:none;padding:1rem 2rem;font-size:.8rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #6c757d4d}.quit-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6c757d66}@media(max-width:768px){.lesson-card{padding:1rem;margin:.1rem}.word-counter{font-size:.5rem}.word-display{font-size:1.2rem}.definition,.example{font-size:.8rem;height:7rem}.button-container{flex-direction:column}.next-btn,.quit-btn{width:100%;height:2rem;display:flex;align-items:center;justify-content:center}}.congratulations-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.congrats-container{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 10px 30px #00000026;max-width:500px;width:95%;text-align:center;animation:slideIn .5s ease-out}.congrats-icon{font-size:5rem;margin-bottom:1rem;animation:wiggle .5s ease 5}.congrats-title{font-size:2.5rem;color:#3f6183;margin-bottom:1rem}.congrats-message{font-size:1.2rem;color:#666;margin-bottom:2rem}.stats-container{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.stat{background:#f8f9fa;padding:1.5rem;border-radius:15px;border:2px solid #e9ecef}.stat-value{font-size:2.5rem;font-weight:700;color:#3f6183;margin-bottom:.5rem;animation:bounce 1s ease 3}.stat-label{font-size:.9rem;color:#666;text-transform:uppercase;letter-spacing:.5px}.action-buttons{display:flex;flex-direction:column;gap:.5rem}.next-module-btn,.back-home-btn{padding:1rem;border:none;border-radius:50px;font-size:.8rem;font-weight:700;cursor:pointer;transition:all .3s ease}.next-module-btn{background:linear-gradient(135deg,#3f6183,#3f6183);color:#fff;box-shadow:0 4px 15px #58cc024d}.next-module-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}.back-home-btn{background:#fff;color:#3f6183;border:2px solid #3f6183}.back-home-btn:hover{background:#58cc020d}@keyframes slideIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(10deg)}75%{transform:rotate(-10deg)}}@media(max-width:768px){.next-module-btn,.back-home-btn{width:100%;height:2rem;display:flex;align-items:center;justify-content:center}}.test-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.test-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 10px 30px #00000026;max-width:700px;width:100%;animation:slideIn .5s ease-out}.test-title{text-align:center;color:#2c5530;margin-bottom:1rem;font-size:1.2rem}.test-subtitle{text-align:center;color:#666;font-size:.8rem;margin-bottom:2rem}.test-progress{text-align:center;font-weight:600;color:#666;margin-bottom:2rem;font-size:.8rem}.question-text{font-size:1.2rem;font-weight:700;color:#2c5530;text-align:center;margin-bottom:2rem;padding:1.5rem;background:#f8f9fa;border-radius:15px}.choices-container{display:flex;flex-direction:column;gap:1rem}.choice-btn{padding:1.25rem;border:2px solid #e9ecef;border-radius:12px;background:#fff;font-size:1.2rem;cursor:pointer;transition:all .3s ease;text-align:left}.choice-btn:hover{border-color:#58cc02;background:#58cc020d}.choice-btn.selected{border-color:#58cc02;background:#58cc021a}.submit-answer-btn{margin-top:1rem;background:linear-gradient(135deg,#58cc02,#4b9c02);color:#fff;border:none;padding:1rem 2.5rem;font-size:.8rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #58cc024d}.submit-answer-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}.submit-answer-btn:disabled{opacity:.5;cursor:not-allowed}.result-container{text-align:center}.result-message{font-size:.8rem;font-weight:700;padding:1.5rem;border-radius:15px;margin-bottom:1.5rem}.result-message.correct{background:#28a7451a;color:#28a745;border:2px solid #28a745}.result-message.incorrect{background:#dc35451a;color:#dc3545;border:2px solid #dc3545}.correct-answer-display{font-size:.8rem;padding:1rem;background:#fff8e1;border-radius:10px;margin-bottom:1.2rem}.module-list-test{display:flex;flex-direction:column;gap:1rem}.module-item-test{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.5rem;background:#f8f9fa;border-radius:12px;border:1px solid #e9ecef;transition:all .3s ease}.module-item-test:hover{border-color:#58cc02;box-shadow:0 4px 15px #58cc021a}.module-info-test h3{margin:0 0 .5rem;color:#333;font-size:1.25rem}.badge{display:inline-block;padding:.2rem .5rem;border-radius:8px;font-size:.7rem;font-weight:600;margin-left:1rem}.badge.mastered{background:#d4af37;color:#fff}.module-stats{font-size:.8rem;color:#666;margin-top:.2rem}.start-test-btn{background:linear-gradient(135deg,#228b22,#228b22);color:#fff;border:none;padding:.5rem;border-radius:8px;font-weight:600;cursor:pointer;min-width:150px;max-width:100%;text-align:center;transition:all .1s ease}.start-completedtest-btn{background:linear-gradient(135deg,#d4af37,#d4af37);color:#fff;border:none;padding:.5rem;border-radius:8px;font-weight:600;cursor:pointer;min-width:150px;max-width:100%;text-align:center;transition:all .1s ease}.start-test-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #58cc024d}.start-test-btn:disabled{background:#e5e5e5;color:#999;cursor:not-allowed}.final-score{text-align:center;padding:2rem}.score-big{font-size:4rem;font-weight:700;color:#58cc02;margin-bottom:1rem}.no-modules{text-align:center;padding:2rem}.quiz-icon{font-size:1.2rem;margin-bottom:1rem}.next-btn,.start-btn{background:linear-gradient(135deg,#58cc02,#4b9c02);color:#fff;border:none;padding:1rem 2.5rem;font-size:.8rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #58cc024d}.next-btn:hover,.start-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}.return-btn{background:linear-gradient(135deg,#c8c8c8,#c8c8c8);color:#000;border:none;padding:1rem 2.5rem;font-size:1.1rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease}@media(max-width:768px){.module-item-test{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.start-test-btn,.start-completedtest-btn{align-self:stretch;text-align:center}.question-text{font-size:1.2rem;text-align:left;margin-bottom:.8rem;padding:.8rem;border-radius:10px}.choice-btn{padding:.5rem;border:1px solid #e9ecef;border-radius:10px;font-size:.8rem;transition:all .1s ease}.result-message{font-size:1.2rem;font-weight:700;padding:1rem;border-radius:10px;margin-bottom:1rem}.next-bin,.start-btn,.submit-answer-btn,.return-btn{height:2rem;padding:1rem;font-size:.8rem;width:100%;display:flex;align-items:center;justify-content:center}}.account-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.profile-card{background:#fff;border-radius:12px;box-shadow:0 10px 30px #00000026;width:100%;max-width:500px;padding:2rem 1.5rem;animation:slideIn .5s ease-out;overflow-y:auto;height:80vh;max-height:700px}.msg_create_account_card{background:#fff;border-radius:12px;box-shadow:0 10px 30px #00000026;width:90%;padding:1rem;align-items:center}.guest-prompt{text-align:center;padding:1rem 0}.guest-prompt h2{color:#2c5530;margin-bottom:1rem;font-size:1.2rem}.guest-prompt>p{color:#666;font-size:.8rem;margin-bottom:1rem}.feature-list{list-style:none;padding:0;margin:2rem 0;text-align:left}.feature-list li{padding:.75rem 1rem;margin:.5rem 0;background:#f8f9fa;border-radius:12px;font-size:1rem;color:#333;border-left:4px solid #58cc02}.auth-buttons{display:flex;flex-direction:column;gap:1rem;margin-top:2rem}.signup-btn-large,.login-btn-large{padding:1rem 2rem;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.signup-btn-large{background:#3f6183;color:#fff;border:2px solid #3f6183}.signup-btn-large:hover{background:#3f6183;border-color:#3f6183;transform:translateY(-2px);box-shadow:0 5px 15px #58cc024d}.login-btn-large{background:#fff;color:#3f6183;border:2px solid #3f6183}.login-btn-large:hover{background:#58cc021a;transform:translateY(-2px)}.profile-header{display:flex;align-items:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #f0f0f0}.profile-avatar{margin-right:1.5rem}.avatar-circle{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#3f6183,#3f6183);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#fff;box-shadow:0 4px 15px #58cc024d}.profile-info{flex:1}.profile-username{font-size:2rem;color:#3f6183;margin:0 0 .5rem;font-weight:700}.profile-join-date{color:#666;font-size:.8rem;margin:0}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.stat-item{text-align:center;padding:1.5rem 1rem;background:#f8f9fa;border-radius:12px;border:2px solid #e9ecef;transition:all .3s ease}.stat-item:hover{border-color:#3f6183;transform:translateY(-2px);box-shadow:0 5px 15px #58cc021a}.stat-number{font-size:2rem;font-weight:700;color:#2c5530;margin-bottom:.5rem}.stat-label{font-size:.9rem;color:#666;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.progress-section{background:#e8f5e8;padding:1.5rem;border-radius:12px;border:2px solid #3f6183;margin-bottom:1.5rem}.progress-section h3{color:#2c5530;margin-bottom:1rem;text-align:center}.progress-details{display:flex;flex-direction:column;gap:.75rem}.progress-item{display:flex;justify-content:space-between;font-size:1rem;color:#2c5530;font-weight:600}.progress-bar-container{display:flex;align-items:center;gap:1rem}.progress-bar{flex:1;height:12px;background:#ddd;border-radius:12px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3f6183,#3f6183);border-radius:12px;transition:width .5s ease}.progress-percentage{font-weight:700;color:#3f6183;min-width:45px;text-align:right}.bookmarks-section{margin-top:1rem}.bookmarks-link{border:none;background:none;width:100%;padding:0;cursor:pointer}.bookmarks-card{background:linear-gradient(135deg,#3f6183,#3f6183);padding:1.5rem;border-radius:12px;box-shadow:0 4px 15px #58cc024d;transition:all .3s ease;text-align:center}.bookmarks-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}.bookmarks-icon{font-size:3rem;margin-bottom:.5rem}.bookmarks-title{font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:.25rem}.bookmarks-count{font-size:1rem;color:#ffffffe6}.logout_main_btn{width:100%;padding:1rem;border:none;border-radius:50px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;color:#2c5530}.logout_main_btn:hover{transform:translateY(-2px);background:#58cc020d}@media(max-width:768px){.signup-btn-large,.login-btn-large{font-size:.8rem;width:100%;height:2rem;display:flex;align-items:center;justify-content:center}}.story-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.story-container{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 10px 30px #00000026;max-width:900px;width:100%;animation:slideIn .5s ease-out}.story-title{text-align:center;color:#2c5530;margin-bottom:.5rem;font-size:1.2rem}.story-subtitle{text-align:center;color:#666;margin-bottom:.5rem}.story-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1rem;background:#f8f9fa;border-radius:12px;flex-wrap:wrap;gap:1rem}.filter-section{display:flex;align-items:center;gap:.5rem}.filter-select{padding:.5rem;border:2px solid #e9ecef;border-radius:6px;background:#fff;font-size:.8rem;cursor:pointer}.selection-info{font-weight:600;color:#333}.selected-count{color:#3f6183;font-size:.8rem}.random-btn{background:linear-gradient(135deg,#3f6183,#3f6183);color:#fff;border:none;padding:.7rem 1.5rem;border-radius:6px;font-weight:600;font-size:.8rem;cursor:pointer;transition:transform .1s}.random-btn:hover{transform:translateY(-2px)}.clear-btn{background:#d3a39f;color:#fff;border:none;padding:.7rem 1.5rem;border-radius:6px;cursor:pointer;transition:transform .1s;font-weight:600;font-size:.9rem}.clear-btn:hover{background:#d3a39f;transform:translateY(-2px)}.clear-btn:disabled{opacity:.4;cursor:not-allowed}.word-list{display:grid;gap:1rem;max-height:60vh;overflow-y:auto;padding-right:.5rem}.word-item{display:flex;width:95%;align-items:flex-start;padding:.5rem;border:2px solid #e9ecef;border-radius:12px;background:#fff;transition:all .5s ease}.word-item.selected{border-color:#58cc02;background:#f8fff8;transform:translateY(-2px);box-shadow:0 4px 12px #58cc0233}.word-checkbox{margin-right:1rem;margin-top:.25rem;width:20px;height:20px;cursor:pointer}.word-checkbox:disabled{cursor:not-allowed;opacity:.5}.word-content{flex:1}.word-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.word-name{font-size:1.2rem;color:#3f6183}.word-module{font-size:.9rem;color:#666}.bookmark-toggle{background:none;border:none;font-size:1.2rem;cursor:pointer;margin-left:auto;opacity:.3;transition:all .1s ease}.bookmark-toggle:hover,.bookmark-toggle.bookmarked{opacity:1;transform:scale(1.2)}.word-definition{font-size:1rem;color:#555;margin-bottom:.5rem;line-height:1.5}.word-example{font-size:.9rem;color:#666;font-style:italic;line-height:1.4}@media(max-width:768px){.story-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:1rem;gap:.5rem}.random-btn,.clear-btn{height:1rem;padding:1rem;font-size:.8rem;width:100%;display:flex;align-items:center;justify-content:center}}.bookmarks-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#3f6183 50%,#d3a39f 50%)}.bookmarks-container{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 10px 30px #00000026;max-width:800px;width:100%;animation:slideIn .5s ease-out}.bookmarks-title{color:#2c5530;text-align:center;margin-bottom:.5rem;font-size:2rem}.bookmarks-subtitle{text-align:center;color:#666;margin-bottom:2rem;font-size:1rem}.bookmarks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.bookmark-card{background:#f8f9fa;border:2px solid #e9ecef;border-radius:15px;padding:1.5rem;position:relative;transition:all .3s ease}.bookmark-card:hover{border-color:#58cc02;transform:translateY(-2px);box-shadow:0 5px 15px #58cc021a}.remove-bookmark{position:absolute;top:.5rem;right:.5rem;background:#dc3545;color:#fff;border:none;border-radius:50%;width:25px;height:25px;font-size:1.2rem;line-height:1;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.remove-bookmark:hover{background:#c82333;transform:scale(1.1)}.bookmark-word{font-size:1.1rem;font-weight:700;color:#2c5530;margin-bottom:.5rem}.bookmark-definition{font-size:.9rem;color:#555;margin-bottom:.5rem;line-height:1.2}.bookmark-example{font-size:.9rem;color:#666;font-style:italic;line-height:1.2}.no-bookmarks{text-align:center;padding:3rem 2rem}.no-bookmarks-icon{font-size:4rem;margin-bottom:1rem}.no-bookmarks p{font-size:1.2rem;color:#666;margin-bottom:2rem}.start-learning-btn{background:linear-gradient(135deg,#58cc02,#4b9c02);color:#fff;border:none;padding:1rem 2.5rem;font-size:1.1rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #58cc024d}.start-learning-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #58cc0266}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
