*{box-sizing:border-box}:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;font-weight:400;color:#333;background-color:#f8f9fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;min-width:320px;min-height:100vh;background:#f8f9fa}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.3}p{margin:0}button{border-radius:6px;border:none;padding:.75em 1.5em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:all .3s ease;background-color:#4caf50;color:#fff}button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0003}button:focus,button:focus-visible{outline:2px solid #4CAF50;outline-offset:2px}button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}input,textarea,select{font-family:inherit;font-size:inherit}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.word-form-container{background:#fff;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a}.word-form-container h2{margin:0 0 20px;color:#333;font-size:1.5rem;border-bottom:2px solid #4CAF50;padding-bottom:8px}.word-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:6px;font-weight:600;color:#555;font-size:.95rem}.required{color:#e74c3c;font-weight:700}.form-group input,.form-group textarea{padding:12px;border:2px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .3s ease;font-family:inherit}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:12px;margin-top:8px}.submit-btn,.reset-btn{padding:12px 24px;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.submit-btn{background-color:#4caf50;color:#fff;flex:1}.submit-btn:hover:not(:disabled){background-color:#45a049;transform:translateY(-1px)}.submit-btn:disabled{background-color:#ccc;cursor:not-allowed;transform:none}.reset-btn{background-color:#f8f9fa;color:#666;border:2px solid #ddd;flex:0 0 auto}.reset-btn:hover:not(:disabled){background-color:#e9ecef;border-color:#adb5bd}.reset-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.word-form-container{padding:16px;margin-bottom:16px}.form-actions{flex-direction:column}.reset-btn{flex:1}}.word-search{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.search-title{margin:0 0 16px;color:#495057;font-size:1.2rem;font-weight:600}.search-container{width:100%}.search-input-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.search-input{flex:1;min-width:200px;padding:12px 16px;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:all .3s ease;background:#f8f9fa}.search-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.search-input::placeholder{color:#6c757d}.search-buttons{display:flex;gap:8px}.search-btn{background:#667eea;color:#fff;border:none;padding:12px 20px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.search-btn:hover:not(:disabled){background:#5a6fd8;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.search-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.clear-search-btn{background:#6c757d;color:#fff;border:none;padding:12px 16px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.clear-search-btn:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.clear-search-btn:disabled{background:#adb5bd;cursor:not-allowed;transform:none}@media (max-width: 768px){.word-search{padding:16px;margin-bottom:20px}.search-title{font-size:1.1rem;margin-bottom:12px}.search-input-group{flex-direction:column;align-items:stretch}.search-input{min-width:unset;margin-bottom:8px}.search-buttons{justify-content:stretch}.search-btn,.clear-search-btn{flex:1;padding:10px 16px;font-size:.9rem}}.word-list-container{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 8px #0000001a}.word-list-header{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #4CAF50;text-align:center}.word-list-header h2{margin:0;color:#2e7d32;font-size:1.8rem;font-weight:700}.search-info{margin-top:8px;display:flex;align-items:center;gap:12px;font-size:.9rem}.search-term{background:#e9ecef;color:#495057;padding:4px 8px;border-radius:4px;font-weight:600}.search-count{color:#6c757d;font-style:italic}.empty-state{text-align:center;padding:40px 20px;color:#666}.empty-state p{margin:8px 0;font-size:1.1rem}.word-table-container{overflow-x:auto;border-radius:8px;border:2px solid #e9ecef;background:#fff}.word-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff}.word-table thead{background:#f8f9fa;border-bottom:2px solid #dee2e6}.word-table th{padding:12px 8px;text-align:left;font-weight:600;color:#495057;border-right:1px solid #dee2e6;white-space:nowrap}.word-table th:last-child{border-right:none}.word-table tbody tr{border-bottom:1px solid #dee2e6;transition:background-color .2s ease}.word-table tbody tr:hover{background-color:#f8f9fa}.word-table tbody tr:last-child{border-bottom:none}.word-table td{padding:10px 8px;border-right:1px solid #dee2e6;vertical-align:middle}.word-table td:last-child{border-right:none}.col-original{width:20%;min-width:120px}.col-pronunciation{width:15%;min-width:100px}.col-translation{width:20%;min-width:120px}.col-example{width:30%;min-width:150px}.col-created{width:10%;min-width:80px}.col-actions{width:5%;min-width:50px;text-align:center}.original-text{font-weight:700;color:#2c3e50;font-size:1rem}.pronunciation{color:#7f8c8d;font-style:italic;font-size:.9rem}.translation{color:#27ae60;font-weight:600;font-size:1rem}.example{color:#495057;font-size:.85rem;line-height:1.4;cursor:help}.created-date{color:#6c757d;font-size:.8rem;white-space:nowrap}.action-buttons{display:flex;gap:4px;justify-content:center}.favorite-btn{background:transparent;color:#ffc107;border:none;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.8rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px}.favorite-btn:hover{background:#ffc1071a;transform:scale(1.1)}.favorite-btn.favorited{color:#ffc107;text-shadow:0 0 4px rgba(255,193,7,.5)}.word-row.favorited{background:linear-gradient(90deg,rgba(255,193,7,.05) 0%,transparent 100%);border-left:3px solid #ffc107}.word-row.favorited:hover{background:linear-gradient(90deg,#ffc1071a,#ffc10705)}.word-row.favorited .original-text{font-weight:600;color:#b45309}.favorite-section-title{background:linear-gradient(135deg,#ffc107,#ff8f00);color:#fff;padding:8px 16px;margin:16px 0 8px;border-radius:6px;font-size:.9rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);display:flex;align-items:center;gap:8px}.favorite-section-title .icon{font-size:1.1rem}.edit-btn{background:#007bff;color:#fff;border:none;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.7rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px}.edit-btn:hover{background:#0056b3;transform:scale(1.05)}.delete-btn{background:#dc3545;color:#fff;border:none;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.7rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px}.delete-btn:hover{background:#c82333;transform:scale(1.05)}.edit-actions{display:flex;gap:4px;justify-content:center}.save-btn{background:#28a745;color:#fff;border:none;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.7rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px}.save-btn:hover{background:#1e7e34;transform:scale(1.05)}.cancel-btn{background:#6c757d;color:#fff;border:none;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.7rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px}.cancel-btn:hover{background:#545b62;transform:scale(1.05)}.edit-input{width:100%;padding:2px 4px;border:1px solid #ccc;border-radius:3px;font-size:.85rem;font-family:inherit}.edit-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}@media (max-width: 768px){.word-list-container{padding:16px}.word-list-header h2{font-size:1.5rem}.word-table-container{border-radius:4px}.word-table{font-size:.8rem}.word-table th,.word-table td{padding:8px 4px}.col-example{display:none}.original-text{font-size:.9rem}.pronunciation{font-size:.8rem}.translation{font-size:.9rem}.created-date{font-size:.7rem}.delete-btn{min-width:28px;height:24px;font-size:.7rem}}.word-stats{background:#fff;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a;border:2px solid #e8f5e8}.word-stats h2{margin:0 0 20px;color:#2e7d32;font-size:1.5rem;text-align:center;border-bottom:2px solid #4CAF50;padding-bottom:8px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:32px}.stat-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;padding:20px;text-align:center;border:2px solid #dee2e6;transition:all .3s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-card.total{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-color:#4caf50}.stat-card.today{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-color:#2196f3}.stat-card.week{background:linear-gradient(135deg,#fff3e0,#ffcc80);border-color:#ff9800}.stat-card.month{background:linear-gradient(135deg,#fce4ec,#f8bbd9);border-color:#e91e63}.stat-number{font-size:2.5rem;font-weight:700;color:#2c3e50;margin-bottom:8px;line-height:1}.stat-label{font-size:.9rem;color:#666;font-weight:600}.monthly-stats{margin-top:32px}.monthly-stats h3{margin:0 0 20px;color:#2e7d32;font-size:1.2rem;text-align:center}.monthly-chart{display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6;overflow-x:auto;min-height:200px}.month-bar{display:flex;flex-direction:column;align-items:center;min-width:60px;flex-shrink:0}.bar-container{height:120px;display:flex;align-items:flex-end;margin-bottom:8px}.bar{width:24px;background:linear-gradient(to top,#4caf50,#81c784);border-radius:4px 4px 0 0;transition:all .3s ease;box-shadow:0 2px 4px #4caf504d}.bar:hover{background:linear-gradient(to top,#388e3c,#66bb6a);transform:scaleY(1.1)}.month-label{font-size:.75rem;color:#666;text-align:center;margin-bottom:4px;font-weight:500}.month-count{font-size:.8rem;color:#4caf50;font-weight:700;text-align:center}@media (max-width: 768px){.word-stats{padding:16px;margin-bottom:16px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px}.stat-card{padding:16px}.stat-number{font-size:2rem}.stat-label{font-size:.8rem}.monthly-chart{gap:8px;padding:16px;min-height:160px}.month-bar{min-width:50px}.bar-container{height:80px}.bar{width:20px}.month-label{font-size:.7rem}.month-count{font-size:.75rem}}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}.monthly-chart{gap:6px;padding:12px}.month-bar{min-width:40px}.bar{width:16px}}.language-selector{position:relative;display:inline-block}.language-button{display:flex;align-items:center;gap:8px;background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);padding:8px 12px;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-width:100px}.language-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.language-flag{font-size:1rem;line-height:1}.language-name{flex:1;text-align:left}.language-arrow{font-size:.7rem;transition:transform .3s ease;opacity:.8}.language-arrow.open{transform:rotate(180deg)}.language-dropdown{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;border:2px solid #e9ecef;border-radius:8px;box-shadow:0 8px 24px #00000026;overflow:hidden;z-index:1000;min-width:140px;animation:dropdownFadeIn .2s ease-out}.language-option{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;background:none;border:none;color:#333;font-size:.9rem;font-weight:500;cursor:pointer;transition:background-color .2s ease;text-align:left}.language-option:hover{background-color:#f8f9fa}.language-option.active{background-color:#e8f5e9;color:#2e7d32}.language-option .language-flag{font-size:1rem}.language-option .language-name{flex:1}.language-check{color:#4caf50;font-weight:700;font-size:.8rem}@media (max-width: 768px){.language-button{padding:6px 10px;font-size:.8rem;min-width:80px}.language-button .language-name{display:none}.language-dropdown{min-width:120px}.language-option{padding:10px 12px;font-size:.85rem}}@media (max-width: 480px){.language-button{padding:6px 8px;min-width:60px}.language-arrow{display:none}}.theme-selector{position:relative;display:inline-block}.theme-button{display:flex;align-items:center;gap:8px;background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);padding:8px 12px;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-width:120px}.theme-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.theme-icon{font-size:1rem;line-height:1}.theme-name{flex:1;text-align:left}.theme-arrow{font-size:.7rem;transition:transform .3s ease;opacity:.8}.theme-arrow.open{transform:rotate(180deg)}.theme-dropdown{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;border:2px solid #e9ecef;border-radius:8px;box-shadow:0 8px 24px #00000026;overflow:hidden;z-index:1000;min-width:200px;animation:dropdownFadeIn .2s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.theme-option{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background:none;border:none;color:#333;font-size:.9rem;cursor:pointer;transition:background-color .2s ease;text-align:left}.theme-option:hover{background-color:#f8f9fa}.theme-option.active{background-color:#e8f5e9;color:#2e7d32}.theme-option .theme-flag{font-size:1.1rem;min-width:20px}.theme-info{flex:1;display:flex;flex-direction:column;gap:2px}.theme-info .theme-name{font-weight:600;font-size:.9rem}.theme-description{font-size:.75rem;color:#666;opacity:.8}.theme-check{color:#4caf50;font-weight:700;font-size:.9rem}body.theme-retro .theme-button{background:silver;color:#000;border:2px outset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;-webkit-backdrop-filter:none;backdrop-filter:none}body.theme-retro .theme-button:hover{background:#d0d0d0;border:2px outset #d0d0d0;transform:none}body.theme-retro .theme-button:active{border:2px inset #c0c0c0}body.theme-retro .theme-dropdown{background:silver;border:2px outset #c0c0c0;border-radius:0;box-shadow:2px 2px 4px #0000004d}body.theme-retro .theme-option{color:#000;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:4px 8px}body.theme-retro .theme-option:hover{background-color:#00f;color:#fff}body.theme-retro .theme-option.active{background-color:navy;color:#fff}body.theme-retro .theme-description{color:inherit;opacity:.7}@media (max-width: 768px){.theme-button{padding:6px 10px;font-size:.8rem;min-width:100px}.theme-dropdown{min-width:180px}.theme-option{padding:10px 12px;font-size:.85rem}}@media (max-width: 480px){.theme-button{padding:6px 8px;min-width:80px}.theme-button .theme-name,.theme-arrow{display:none}}.account-menu{position:relative;display:inline-block}.account-trigger{display:flex;align-items:center;gap:8px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:8px 12px;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}.account-trigger:hover{background:#fff3;border-color:#ffffff4d;transform:translateY(-1px)}.account-trigger:active{transform:translateY(0)}.user-avatar{width:32px;height:32px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.3)}.avatar-icon{font-size:16px;opacity:.9}.user-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.welcome-text{font-size:.9rem;font-weight:500;line-height:1.2}.menu-arrow{font-size:.7rem;opacity:.7;transition:transform .3s ease}.account-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e9ecef;border-radius:12px;box-shadow:0 8px 32px #00000026;min-width:280px;z-index:1000;overflow:hidden;animation:dropdownFadeIn .2s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{padding:16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.user-details{display:flex;align-items:center;gap:12px}.user-avatar-large{width:48px;height:48px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.3)}.avatar-icon-large{font-size:24px;opacity:.9}.user-text{flex:1}.username{font-size:1.1rem;font-weight:600;margin-bottom:2px}.user-email{font-size:.85rem;opacity:.8;word-break:break-all}.dropdown-divider{height:1px;background:#e9ecef;margin:0}.dropdown-menu{padding:8px 0}.menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border:none;background:none;cursor:pointer;transition:all .2s ease;font-size:.9rem;color:#495057;text-align:left}.menu-item:hover{background:#f8f9fa;color:#212529}.menu-icon{font-size:1rem;width:20px;text-align:center}.menu-text{flex:1;font-weight:500}.logout-item:hover{background:#fff3cd;color:#856404}.delete-account-item:hover{background:#f8d7da;color:#721c24}@media (max-width: 768px){.account-dropdown{min-width:260px;right:-20px}.welcome-text{font-size:.8rem}.user-avatar{width:28px;height:28px}.avatar-icon{font-size:14px}.dropdown-header{padding:12px}.user-avatar-large{width:40px;height:40px}.avatar-icon-large{font-size:20px}.username{font-size:1rem}.user-email{font-size:.8rem}.menu-item{padding:10px 12px;font-size:.85rem}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000001a;padding:40px;width:100%;max-width:400px;animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{text-align:center;margin-bottom:32px}.auth-header h2{color:#2c3e50;font-size:2rem;font-weight:700;margin:0 0 8px}.auth-header p{color:#7f8c8d;font-size:.95rem;margin:0;line-height:1.5}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:600;color:#34495e;font-size:.9rem}.form-group input{padding:12px 16px;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:all .3s ease;background:#f8f9fa}.form-group input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background:#e9ecef;cursor:not-allowed;opacity:.7}.error-message{background:#ffebee;color:#c62828;padding:12px 16px;border-radius:8px;border-left:4px solid #f44336;font-size:.9rem;font-weight:500}.success-message{background:#e8f5e9;color:#2e7d32;padding:12px 16px;border-radius:8px;border-left:4px solid #4caf50;font-size:.9rem;font-weight:500}.auth-submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:8px}.auth-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.auth-submit-btn:active:not(:disabled){transform:translateY(0)}.auth-submit-btn:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}.auth-footer{text-align:center;margin-top:24px;padding-top:24px;border-top:1px solid #e9ecef}.auth-footer p{color:#7f8c8d;font-size:.9rem;margin:0}.link-btn{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;text-decoration:underline;font-size:inherit;padding:0;transition:color .3s ease}.link-btn:hover:not(:disabled){color:#764ba2}.link-btn:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 480px){.auth-container{padding:16px}.auth-card{padding:24px}.auth-header h2{font-size:1.5rem}.form-group input{padding:10px 14px}.auth-submit-btn{padding:12px 20px}}#root{max-width:1200px;margin:0 auto;padding:0;min-height:100vh;display:flex;flex-direction:column}.app{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.app-header{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;padding:32px 24px;box-shadow:0 4px 12px #00000026}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto}.header-text{text-align:left}.app-header h1{margin:0 0 8px;font-size:2.5rem;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.3)}.app-header p{margin:0;font-size:1.1rem;opacity:.9;font-weight:300}.header-actions{display:flex;gap:12px}.setup-btn,.debug-btn,.migration-btn{background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);padding:12px 20px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.setup-btn:hover,.debug-btn:hover,.migration-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.setup-btn.configured{background:#4caf504d;border-color:#4caf5080}.debug-btn{background:#ffc10733;border-color:#ffc1074d}.debug-btn:hover{background:#ffc1074d;border-color:#ffc10780}.migration-btn{background:#ff572233;border-color:#ff57224d}.migration-btn:hover{background:#ff57224d;border-color:#ff572280}.app-main{flex:1;padding:24px;display:flex;flex-direction:column;gap:24px}.app-footer{background:#2c3e50;color:#fff;text-align:center;padding:16px 24px;margin-top:auto}.app-footer p{margin:0 0 4px;font-size:.9rem;opacity:.8}.storage-info{font-size:.8rem!important;opacity:.6!important}.setup-instructions{background:#e3f2fd;border:2px solid #2196F3;border-radius:8px;padding:20px;margin-bottom:24px}.setup-instructions h3{margin:0 0 12px;color:#1976d2;font-size:1.1rem}.setup-instructions p{margin:0 0 16px;color:#555;line-height:1.5}.setup-instructions details{margin-top:12px}.setup-instructions summary{cursor:pointer;font-weight:600;color:#1976d2;padding:8px 0}.sql-code{background:#f5f5f5;border:1px solid #ddd;border-radius:4px;padding:16px;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;overflow-x:auto;white-space:pre-wrap;color:#333;margin-top:8px}@media (max-width: 768px){.app-header{padding:24px 16px}.header-content{flex-direction:column;gap:16px;text-align:center}.header-text{text-align:center}.app-header h1{font-size:2rem}.app-header p{font-size:1rem}.setup-btn{padding:10px 16px;font-size:.85rem}.app-main{padding:16px;gap:16px}.app-footer{padding:12px 16px}.setup-instructions{padding:16px;margin-bottom:16px}.sql-code{font-size:.75rem;padding:12px}.user-info{flex-direction:column;gap:8px;text-align:center}.welcome-text{font-size:.8rem}}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.loading-spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.user-info{display:flex;align-items:center;gap:12px;background:#ffffff1a;padding:8px 16px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.welcome-text{color:#fff;font-size:.9rem;font-weight:500}.user-actions{display:flex;gap:8px;align-items:center}.logout-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:6px 12px;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .3s ease}.logout-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.delete-account-btn{background:#dc3545cc;color:#fff;border:1px solid rgba(220,53,69,.5);padding:6px 12px;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .3s ease}.delete-account-btn:hover{background:#dc3545;border-color:#dc3545cc;transform:translateY(-1px)}body.theme-retro{background:teal!important;font-family:"MS Sans Serif",Tahoma,sans-serif!important;font-size:11px!important}body.theme-retro .app{background:teal;min-height:100vh}body.theme-retro .app-header{background:silver;border-bottom:2px solid #808080;padding:8px}body.theme-retro .header-content{background:none}body.theme-retro .header-text h1{color:#000;font-size:16px;font-weight:700;text-shadow:none;margin:0}body.theme-retro .header-text p{color:#000;font-size:11px;margin:2px 0 0}body.theme-retro button{background:silver;color:#000;border:2px outset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:4px 8px;cursor:pointer}body.theme-retro button:hover{background:#d0d0d0;border:2px outset #d0d0d0}body.theme-retro button:active{border:2px inset #c0c0c0}body.theme-retro button:disabled{background:silver;color:gray;border:2px outset #c0c0c0}body.theme-retro input,body.theme-retro textarea{background:#fff;color:#000;border:2px inset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:2px 4px}body.theme-retro input:focus,body.theme-retro textarea:focus{outline:1px dotted #000;outline-offset:-2px}body.theme-retro .word-form-container,body.theme-retro .word-list-container,body.theme-retro .word-stats{background:silver;border:2px outset #c0c0c0;border-radius:0;box-shadow:none;margin:8px;padding:8px}body.theme-retro h2,body.theme-retro h3{color:#000;font-size:12px;font-weight:700;margin:0 0 8px;text-shadow:none}body.theme-retro .form-group label{color:#000;font-size:11px;font-weight:400}body.theme-retro .form-actions{gap:4px}body.theme-retro .word-table-container{border:2px inset #c0c0c0;border-radius:0;background:#fff}body.theme-retro .word-table{font-family:"MS Sans Serif",sans-serif;font-size:11px;border-collapse:separate;border-spacing:0}body.theme-retro .word-table thead{background:silver;border-bottom:1px solid #808080}body.theme-retro .word-table th{background:silver;color:#000;border:1px outset #c0c0c0;padding:4px 6px;font-weight:400;font-size:11px}body.theme-retro .word-table td{background:#fff;color:#000;border:1px solid #c0c0c0;padding:4px 6px;font-size:11px}body.theme-retro .word-table tbody tr:hover,body.theme-retro .word-table tbody tr:hover td{background-color:#e0e0e0}body.theme-retro .original-text{color:#000;font-size:11px;font-weight:700}body.theme-retro .pronunciation{color:navy;font-size:10px;font-style:normal}body.theme-retro .translation{color:green;font-size:11px;font-weight:400}body.theme-retro .example{color:#000;font-size:10px;font-style:italic}body.theme-retro .created-date{color:#000;font-size:10px}body.theme-retro .edit-btn{background:#00f;color:#fff;border:2px outset #0000ff;font-size:10px;padding:2px 4px}body.theme-retro .edit-btn:hover{background:#44f;border:2px outset #4444ff}body.theme-retro .save-btn{background:green;color:#fff;border:2px outset #008000;font-size:10px;padding:2px 4px}body.theme-retro .save-btn:hover{background:#0a0;border:2px outset #00aa00}body.theme-retro .cancel-btn{background:gray;color:#fff;border:2px outset #808080;font-size:10px;padding:2px 4px}body.theme-retro .cancel-btn:hover{background:#a0a0a0;border:2px outset #a0a0a0}body.theme-retro .edit-input{background:#fff;color:#000;border:2px inset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:10px;padding:1px 2px}body.theme-retro .edit-input:focus{outline:1px dotted #000;outline-offset:-2px;box-shadow:none;border-color:silver}body.theme-retro .word-search{background:silver;border:2px inset #c0c0c0;border-radius:0;box-shadow:none}body.theme-retro .search-title{font-family:"MS Sans Serif",sans-serif;font-size:11px;font-weight:700;color:#000}body.theme-retro .search-input{background:#fff;border:2px inset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:4px 6px}body.theme-retro .search-input:focus{outline:1px dotted #000;outline-offset:-2px;box-shadow:none;border-color:silver}body.theme-retro .search-btn{background:silver;color:#000;border:2px outset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:4px 8px}body.theme-retro .search-btn:hover:not(:disabled){background:#d0d0d0;border:2px outset #d0d0d0;transform:none;box-shadow:none}body.theme-retro .search-btn:disabled{background:gray;color:silver;border:2px inset #808080}body.theme-retro .clear-search-btn{background:silver;color:#000;border:2px outset #c0c0c0;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;padding:4px 8px}body.theme-retro .clear-search-btn:hover:not(:disabled){background:#d0d0d0;border:2px outset #d0d0d0;transform:none}body.theme-retro .clear-search-btn:disabled{background:gray;color:silver;border:2px inset #808080}body.theme-retro .search-term{background:#ff0;color:#000;border:1px solid #000;font-family:"MS Sans Serif",sans-serif;font-size:10px}body.theme-retro .search-count{color:#000;font-family:"MS Sans Serif",sans-serif;font-size:10px}body.theme-retro .word-row.favorited{background:#ff0;border-left:3px solid #ff0000}body.theme-retro .word-row.favorited:hover{background:#ffff80}body.theme-retro .word-row.favorited .original-text{font-weight:700;color:navy}body.theme-retro .favorite-section-title{background:teal;color:#fff;border:2px outset #008080;border-radius:0;font-family:"MS Sans Serif",sans-serif;font-size:11px;text-shadow:none}body.theme-retro .stat-card{background:#fff;border:2px inset #c0c0c0;border-radius:0;padding:8px;text-align:center}body.theme-retro .stat-number{color:navy;font-size:18px;font-weight:700}body.theme-retro .stat-label{color:#000;font-size:10px}body.theme-retro .delete-btn{background:red;color:#fff;border:2px outset #ff0000;font-size:10px;padding:2px 4px}body.theme-retro .delete-btn:hover{background:#f44;border:2px outset #ff4444}body.theme-retro .app-footer{background:silver;border-top:2px solid #808080;color:#000;font-size:10px;padding:4px 8px}body.theme-retro .auth-container{background:teal}body.theme-retro .auth-card{background:silver;border:2px outset #c0c0c0;border-radius:0;box-shadow:4px 4px 8px #0000004d}body.theme-retro .auth-header h2{color:#000;font-size:14px}body.theme-retro .auth-header p{color:#000;font-size:11px}body.theme-retro .auth-submit-btn{background:#00f;color:#fff;border:2px outset #0000ff;font-size:11px;padding:6px 12px}body.theme-retro .auth-submit-btn:hover{background:#44f;border:2px outset #4444ff}body.theme-retro .link-btn{color:#00f;text-decoration:underline;background:none;border:none;font-size:11px}body.theme-retro .link-btn:hover{color:#00a}body.theme-retro .error-message{background:#fcc;color:maroon;border:1px solid #ff0000;border-radius:0;font-size:11px}body.theme-retro .success-message{background:#cfc;color:green;border:1px solid #00ff00;border-radius:0;font-size:11px}body.theme-retro ::-webkit-scrollbar{width:16px;height:16px}body.theme-retro ::-webkit-scrollbar-track{background:silver;border:1px inset #c0c0c0}body.theme-retro ::-webkit-scrollbar-thumb{background:silver;border:2px outset #c0c0c0}body.theme-retro ::-webkit-scrollbar-thumb:hover{background:#d0d0d0}body.theme-retro ::-webkit-scrollbar-corner{background:silver}body.theme-retro .loading-spinner{border:4px solid #c0c0c0;border-top:4px solid #000;border-radius:0}body.theme-retro .logout-btn{background:silver;color:#000;border:2px outset #c0c0c0;font-size:11px;padding:4px 8px}body.theme-retro .logout-btn:hover{background:#d0d0d0;border:2px outset #d0d0d0}body.theme-retro .delete-account-btn{background:red;color:#fff;border:2px outset #ff0000;font-size:11px;padding:4px 8px}body.theme-retro .delete-account-btn:hover{background:#f44;border:2px outset #ff4444}body.theme-retro .favorite-btn{background:silver;color:#000;border:2px outset #c0c0c0;font-size:10px;padding:2px 4px}body.theme-retro .favorite-btn:hover{background:#d0d0d0;border:2px outset #d0d0d0;transform:none}body.theme-retro .favorite-btn.favorited{background:#ff0;color:#000;border:2px inset #ffff00;text-shadow:none}body.theme-retro .account-trigger{background:silver;border:2px outset #c0c0c0;color:#000;border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none}body.theme-retro .account-trigger:hover{background:#d0d0d0;border:2px outset #d0d0d0;transform:none}body.theme-retro .user-avatar{background:gray;border:1px inset #c0c0c0;border-radius:0}body.theme-retro .welcome-text{font-family:"MS Sans Serif",sans-serif;font-size:11px}body.theme-retro .account-dropdown{background:silver;border:2px outset #c0c0c0;border-radius:0;box-shadow:2px 2px 4px #00000080}body.theme-retro .dropdown-header{background:navy;color:#fff}body.theme-retro .user-avatar-large{background:gray;border:1px inset #c0c0c0;border-radius:0}body.theme-retro .username,body.theme-retro .user-email{font-family:"MS Sans Serif",sans-serif}body.theme-retro .username{font-size:11px;font-weight:700}body.theme-retro .user-email{font-size:10px}body.theme-retro .dropdown-divider{background:gray;height:1px}body.theme-retro .menu-item{font-family:"MS Sans Serif",sans-serif;font-size:11px;color:#000;padding:4px 8px}body.theme-retro .menu-item:hover{background:#00f;color:#fff}body.theme-retro .logout-item:hover{background:#ff0;color:#000}body.theme-retro .delete-account-item:hover{background:red;color:#fff}@media (max-width: 768px){body.theme-retro{font-size:10px!important}body.theme-retro h1{font-size:14px!important}body.theme-retro h2{font-size:11px!important}body.theme-retro .user-actions{flex-direction:column;gap:4px}}
