.filter-panel{position:fixed;bottom:30px;right:30px;z-index:1000}.filter-toggle{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,var(--primary-cyan),var(--secondary-cyan));border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px #00bfff4d;transition:all .3s ease}.filter-toggle:hover{transform:scale(1.05);box-shadow:0 6px 25px #00bfff66}.filter-toggle:active{transform:scale(.95)}.filter-dropdown{position:absolute;bottom:75px;right:0;background:rgba(255,255,255,.98);border-radius:16px;padding:20px;min-width:280px;box-shadow:0 10px 40px #00000026;animation:slideUp .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,191,255,.1)}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.filter-section{margin-bottom:20px}.filter-section:last-child{margin-bottom:0}.filter-section h3{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px}.filter-options{display:flex;flex-wrap:wrap;gap:8px}.filter-option{padding:8px 16px;border-radius:20px;background:rgba(0,191,255,.1);border:2px solid transparent;color:var(--primary-cyan);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.filter-option:hover{background:rgba(0,191,255,.15);transform:translateY(-1px)}.filter-option.active{background:linear-gradient(135deg,var(--primary-cyan),var(--secondary-cyan));color:#fff;border-color:var(--primary-cyan)}.filter-option:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.2)}@media (max-width: 768px){.filter-panel{bottom:20px;right:20px}.filter-toggle{width:50px;height:50px}.filter-toggle svg{width:20px;height:20px}.filter-dropdown{bottom:65px;min-width:250px;padding:16px}.filter-section h3{font-size:13px}.filter-option{padding:6px 12px;font-size:13px}}.feedback-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.feedback-modal{background:var(--white);border-radius:16px;box-shadow:0 20px 60px #00bfff26,0 8px 32px #00bfff14;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.feedback-header{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 16px;border-bottom:1px solid var(--light-gray)}.feedback-header h3{margin:0;color:var(--dark-gray);font-size:20px;font-weight:700}.close-button{background:none;border:none;font-size:24px;color:var(--dark-gray);cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background-color .2s ease}.close-button:hover{background:var(--light-gray)}.feedback-form{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:6px;color:var(--dark-gray);font-weight:600;font-size:14px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 16px;border:2px solid var(--light-gray);border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease;box-sizing:border-box}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-cyan);box-shadow:0 0 0 3px #00bfff1a}.form-group textarea{resize:vertical;min-height:100px}.form-group input::placeholder,.form-group textarea::placeholder{color:#999}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid var(--light-gray)}.cancel-button,.submit-button{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:100px}.cancel-button{background:var(--light-gray);color:var(--dark-gray)}.cancel-button:hover{background:#e0e0e0}.submit-button{background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--secondary-cyan) 100%);color:var(--white);box-shadow:0 4px 12px #00bfff4d}.submit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #00bfff66}.submit-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.feedback-success{padding:40px 24px;text-align:center}.success-icon{font-size:48px;margin-bottom:16px}.feedback-success h4{margin:0 0 12px;color:var(--dark-gray);font-size:20px;font-weight:700}.feedback-success p{margin:0;color:#666;line-height:1.5}@media (max-width: 768px){.feedback-overlay{padding:16px}.feedback-modal{max-height:95vh}.feedback-header{padding:20px 20px 16px}.feedback-form{padding:20px}.form-row{grid-template-columns:1fr;gap:20px}.form-actions{flex-direction:column-reverse}.cancel-button,.submit-button{width:100%}.feedback-success{padding:32px 20px}}.word-manager-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.word-manager{background:white;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.word-manager-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e1e5e9;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:12px 12px 0 0}.word-manager-header h2{margin:0;font-size:24px;font-weight:600}.word-manager-tabs{display:flex;background-color:#f8f9fa;border-bottom:1px solid #e1e5e9}.word-manager-tabs button{flex:1;padding:16px 20px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:500;color:#6c757d;transition:all .2s ease;border-bottom:3px solid transparent}.word-manager-tabs button:hover{background-color:#e9ecef;color:#495057}.word-manager-tabs button.active{background-color:#fff;color:#667eea;border-bottom-color:#667eea}.word-manager-content{padding:24px}.add-word-form h3{margin:0 0 20px;color:#343a40;font-size:20px;font-weight:600}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#495057;font-size:14px}.form-group input,.form-group select{width:100%;padding:12px 16px;border:2px solid #e1e5e9;border-radius:8px;font-size:16px;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group input.error{border-color:#dc3545}.error-message{color:#dc3545;font-size:12px;margin-top:4px;display:block}.info-text{margin:16px 0;padding:12px;background:#e3f2fd;border-radius:6px;border-left:4px solid #667eea}.info-text p{margin:0;font-size:14px;color:#1976d2}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{margin-top:24px;display:flex;gap:12px}.form-actions button{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.form-actions button.primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.form-actions button.primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.form-actions button.primary:disabled{background:#6c757d;transform:none;box-shadow:none;cursor:not-allowed}.form-actions button.secondary{background:#6c757d;color:#fff}.form-actions button.secondary:hover{background:#5a6268}.word-list h3{margin:0 0 20px;color:#343a40;font-size:20px;font-weight:600}.empty-message{text-align:center;color:#6c757d;font-style:italic;margin:40px 0}.word-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e1e5e9}.word-table th{background:#f8f9fa;color:#495057;padding:12px 16px;text-align:left;font-weight:600;font-size:14px;border-bottom:1px solid #dee2e6}.edit-button,.delete-button{padding:6px 12px;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;margin-right:8px;transition:all .2s ease}.edit-button{background:#28a745;color:#fff}.edit-button:hover{background:#218838}.delete-button{background:#dc3545;color:#fff}.delete-button:hover{background:#c82333}.csv-import h3{margin:0 0 20px;color:#343a40;font-size:20px;font-weight:600}.import-instructions{background:#f8f9fa;padding:16px;border-radius:8px;margin-bottom:20px;border-left:4px solid #667eea}.import-instructions h4{margin:0 0 12px;color:#495057;font-size:16px}.import-instructions ol{margin:0 0 16px;padding-left:20px}.import-instructions li{margin-bottom:8px;color:#6c757d;font-size:14px}.file-upload{margin-bottom:20px;text-align:center}.file-upload input[type=file]{width:100%;padding:12px 16px;border:2px dashed #e1e5e9;border-radius:8px;background:#f8f9fa;cursor:pointer;transition:border-color .2s ease}.file-upload input[type=file]:hover{border-color:#667eea}.file-upload label{cursor:pointer}.import-status{padding:16px;border-radius:8px;margin-top:16px}.import-status.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.import-status.error{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.import-status details{margin-top:12px}.import-status summary{cursor:pointer;font-weight:500}.import-status ul{margin:8px 0 0 20px;font-size:14px}.csv-export h3{margin:0 0 20px;color:#343a40;font-size:20px;font-weight:600}.export-options{display:grid;gap:20px}.export-option{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e1e5e9}.export-option h4{margin:0 0 8px;color:#495057;font-size:16px;font-weight:600}.export-option p{margin:0 0 16px;color:#6c757d;font-size:14px}.export-option button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.export-option button.primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.export-option button.primary:hover{transform:translateY(-1px);box-shadow:0 2px 8px #667eea66}.export-option button.secondary{background:#6c757d;color:#fff}.export-option button.secondary:hover{background:#5a6268}.export-option button:disabled{background:#dee2e6;color:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.export-option-button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-block;text-decoration:none;text-align:center}.export-option-button.primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.export-option-button.primary:hover{transform:translateY(-1px);box-shadow:0 2px 8px #667eea66}.export-option-button.secondary{background:#6c757d;color:#fff}.export-option-button.secondary:hover{background:#5a6268}.export-option-button:disabled{background:#dee2e6;color:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 768px){.word-manager-overlay{padding:10px}.word-manager{max-height:95vh}.word-manager-content{padding:16px}.form-row{grid-template-columns:1fr}.word-manager-tabs button{padding:12px 8px;font-size:12px}.word-table{font-size:12px}.word-table th,.word-table td{padding:8px 12px}}.word-list-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.word-list-modal{background:white;border-radius:12px;width:100%;max-width:700px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.word-list-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e1e5e9;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:12px 12px 0 0}.word-list-modal-header h2{margin:0;font-size:22px;font-weight:600}.close-button{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:5px;border-radius:4px;transition:background-color .2s ease}.close-button:hover{background-color:#fff3}.word-list-modal-content{padding:24px;min-height:200px}.empty-message{text-align:center;color:#6c757d;font-style:italic;margin:40px 0;font-size:16px}.word-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e1e5e9;max-height:400px;overflow-y:auto}.word-table{width:100%;border-collapse:collapse;background:white}.word-table th{background:#f8f9fa;color:#495057;padding:12px 16px;text-align:left;font-weight:600;font-size:14px;border-bottom:1px solid #dee2e6;position:sticky;top:0;z-index:1}.word-table td{padding:12px 16px;border-bottom:1px solid #e1e5e9;font-size:14px}.word-table tr:hover{background-color:#f8f9fa}.word-table tr:last-child td{border-bottom:none}.word-table .bookmark-toggle{position:static;padding:4px}.word-table .bookmark-icon{width:20px;height:22px}.word-table .bookmark-icon path{stroke:#495057}.word-table .bookmark-toggle.active .bookmark-icon path{fill:#495057;stroke:#495057}.word-list-modal-footer{padding:16px 24px;border-top:1px solid #e1e5e9;background:#f8f9fa;border-radius:0 0 12px 12px;text-align:center}.word-list-modal-footer p{margin:0;color:#6c757d;font-size:14px;font-weight:500}@media (max-width: 768px){.word-list-modal-overlay{padding:10px}.word-list-modal{max-height:90vh}.word-list-modal-content{padding:16px}.word-table{font-size:12px}.word-table th,.word-table td{padding:8px 12px}.word-list-modal-header h2{font-size:18px}}:root{--primary-cyan: #00BFFF;--secondary-cyan: #87CEEB;--accent-cyan: #5DADE2;--light-blue: #E3F2FD;--white: #FFFFFF;--light-gray: #F8F9FA;--dark-gray: #2C3E50;--success: #28A745;--warning: #FFC107;--danger: #DC3545;--shadow: rgba(0, 191, 255, .15)}.app{display:flex;flex-direction:column;min-height:100vh;background:linear-gradient(135deg,var(--light-blue) 0%,var(--light-gray) 100%)}.app-main{flex:1;display:flex;align-items:center;justify-content:center;padding:20px 32px;min-height:auto}.loading-container,.error-container{text-align:center;padding:40px 20px;max-width:400px;margin:0 auto}.loading-spinner{width:60px;height:60px;border:6px solid var(--light-gray);border-top-color:var(--primary-cyan);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}.loading-container p{color:var(--dark-gray);font-size:1.1rem;margin:0}.error-container{background:white;border-radius:16px;padding:40px;box-shadow:0 4px 12px var(--shadow)}.error-icon{font-size:4rem;margin-bottom:20px}.error-container h2{color:var(--danger);margin:0 0 12px;font-size:1.5rem}.error-container p{color:var(--dark-gray);margin:0 0 24px;line-height:1.6}.retry-button{background:var(--primary-cyan);color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.retry-button:hover{background:var(--accent-cyan);transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow)}.retry-button:active{transform:translateY(0)}.vocabulary-card-container{position:relative;perspective:1200px;width:100%;max-width:600px;margin:0 auto;padding:0}.bookmark-toggle{position:absolute;top:10px;right:10px;padding:6px;border:none;background:transparent;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease;backface-visibility:hidden;-webkit-backface-visibility:hidden}.bookmark-toggle:hover{transform:translateY(-1px)}.bookmark-icon{width:22px;height:26px}.bookmark-icon path{fill:transparent;stroke:#fff;stroke-width:2;transition:fill .2s ease,stroke .2s ease}.bookmark-toggle.active .bookmark-icon path{fill:#fff;stroke:#fff}.flip-language-toggle{position:absolute;top:10px;left:10px;padding:6px;border:none;background:transparent;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease;backface-visibility:hidden;-webkit-backface-visibility:hidden}.flip-language-toggle:hover{transform:rotate(180deg) scale(1.1)}.flip-icon{width:24px;height:24px}.flip-icon path{fill:#fff;transition:fill .2s ease}.flip-language-toggle:active{transform:rotate(180deg) scale(.95)}.vocabulary-card .card-front .bookmark-toggle,.vocabulary-card .card-front .flip-language-toggle{opacity:1;pointer-events:auto}.vocabulary-card.show-meaning .card-front .bookmark-toggle,.vocabulary-card.show-meaning .card-front .flip-language-toggle,.vocabulary-card .card-back .bookmark-toggle,.vocabulary-card .card-back .flip-language-toggle{opacity:0;pointer-events:none}.vocabulary-card.show-meaning .card-back .bookmark-toggle,.vocabulary-card.show-meaning .card-back .flip-language-toggle{opacity:1;pointer-events:auto}@media (max-width: 480px){.bookmark-toggle{top:8px;right:8px;padding:4px}.bookmark-icon{width:20px;height:24px}.flip-language-toggle{top:8px;left:8px;padding:4px}.flip-icon{width:22px;height:22px}}.vocabulary-card{position:relative;width:100%;height:220px;transition:transform .6s cubic-bezier(.4,0,.2,1);transform-style:preserve-3d;-webkit-transform-style:preserve-3d;cursor:pointer;border-radius:16px;box-shadow:0 8px 32px var(--shadow),0 4px 16px #00bfff14}@media (hover: hover) and (pointer: fine){.vocabulary-card{transition:transform .6s cubic-bezier(.4,0,.2,1),box-shadow .3s ease}.vocabulary-card:active:not(.flipping):not(.exiting){transform:scale(.98)}.vocabulary-card.show-meaning:active:not(.flipping):not(.exiting){transform:rotateX(180deg) scale(.98)}.vocabulary-card:hover:not(.flipping):not(.exiting){box-shadow:0 12px 48px #00bfff33,0 6px 24px #00bfff1f;transform:translateY(-2px)}.vocabulary-card.show-meaning:hover:not(.flipping):not(.exiting){transform:rotateX(180deg) translateY(-2px)}}.vocabulary-card:focus{outline:2px solid var(--primary-cyan);outline-offset:4px}.vocabulary-card:not(.flipping):not(.exiting):not(.show-meaning){transform:rotateX(0)}.vocabulary-card.resetting{transition:none!important;animation:none!important;transform:rotateX(0)!important;opacity:0!important;pointer-events:none!important}.vocabulary-card.flipping{animation:flipToMeaning .6s ease-in-out forwards;pointer-events:none;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}@keyframes flipToMeaning{0%{transform:rotateX(0)}to{transform:rotateX(180deg)}}.vocabulary-card.show-meaning:not(.flipping):not(.exiting){transform:rotateX(180deg)!important;animation:none!important}.vocabulary-card.exiting{animation:exitToNext .8s cubic-bezier(.4,0,.2,1) forwards;pointer-events:none;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}@keyframes exitToNext{0%{transform:rotateX(180deg) rotate(0) scale(1) translate(0);opacity:1}to{transform:rotateX(180deg) rotate(-25deg) scale(.3) translate(-150px,-150px);opacity:0}}.card-front,.card-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:16px;padding:32px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.card-front{background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--secondary-cyan) 100%);color:var(--white);transform:rotateX(0)}.card-back{background:linear-gradient(135deg,var(--accent-cyan) 0%,var(--primary-cyan) 100%);color:var(--white);transform:rotateX(180deg)}.card-content{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%}.word-display{flex:1}.word-text{font-size:42px;font-weight:700;margin:0 0 8px;line-height:1;letter-spacing:-.5px;text-shadow:0 2px 8px rgba(0,0,0,.2)}.word-meta{display:flex;gap:12px;margin-top:8px}.category,.difficulty{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.meaning-display{flex:1}.meaning-text{font-size:32px;font-weight:700;margin:0 0 8px;line-height:1.1;text-shadow:0 2px 8px rgba(0,0,0,.2)}.word-reference{font-size:16px;opacity:.8;margin:0;font-style:italic}.card-back .word-text{color:var(--white)}.meaning-text{font-size:2.5rem;font-weight:var(--font-weight-bold);margin-bottom:var(--spacing-md);color:var(--white)}.word-text-small{font-size:1.5rem;font-weight:var(--font-weight-medium);margin-bottom:var(--spacing-lg);opacity:.9;color:var(--white)}.card-meta{display:flex;gap:var(--spacing-md);margin-bottom:var(--spacing-lg)}.category,.difficulty{padding:var(--spacing-xs) var(--spacing-md);background:rgba(255,255,255,.2);border-radius:var(--border-radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.card-front .category,.card-front .difficulty{background:var(--secondary-cyan);color:var(--white)}.instruction{font-size:var(--font-size-sm);opacity:.8;margin-top:auto}.card-actions{margin-top:var(--spacing-lg);text-align:center}.action-hint{color:var(--medium-gray);font-size:var(--font-size-sm)}.vocabulary-card.loading{height:400px;background:var(--white);border:2px solid var(--light-blue);border-radius:var(--border-radius-xl);box-shadow:0 10px 30px var(--shadow);cursor:default}.vocabulary-card.loading .card-content{justify-content:center}.loading-spinner{width:60px;height:60px;border:4px solid var(--light-blue);border-top:4px solid var(--primary-cyan);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:var(--spacing-lg)}@media (max-width: 768px){.vocabulary-card{height:350px}.word-text{font-size:2.5rem}.meaning-text{font-size:2rem}.word-text-small{font-size:1.25rem}}@media (max-width: 480px){.vocabulary-card{height:300px}.word-text{font-size:2rem}.meaning-text{font-size:1.75rem}.card-content{padding:var(--spacing-lg)}@keyframes exitToNext{0%{transform:rotateX(180deg) rotate(0) scale(1) translate(0);opacity:1}to{transform:rotateX(180deg) rotate(-20deg) scale(.4) translate(-100px,-100px);opacity:0}}}.app-header nav{max-width:1200px;margin:0 auto}.app-header h1{background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--accent-cyan) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.app-header .badge{font-size:var(--font-size-xs);padding:4px 8px}@media (max-width: 768px){.app-main{padding:var(--spacing-md);align-items:stretch}.app-header nav{flex-direction:column;gap:var(--spacing-sm);text-align:center}.app-header .d-flex{flex-direction:column;align-items:center}.app-header .badge{font-size:var(--font-size-xs);margin:0 var(--spacing-xs)}}@media (max-width: 480px){.app-header h1{font-size:var(--font-size-lg)}.app-main{padding:var(--spacing-sm)}}.screen-transition{animation:fadeIn var(--transition-normal)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.screen-container{width:100%;max-width:700px;margin:0 auto;animation:fadeIn var(--transition-normal)}.error-message{background:var(--danger-light);border:1px solid var(--danger);color:#721c24;padding:var(--spacing-md);border-radius:var(--border-radius-md);margin-bottom:var(--spacing-lg);text-align:center}.success-message{background:var(--success-light);border:1px solid var(--success);color:#155724;padding:var(--spacing-md);border-radius:var(--border-radius-md);margin-bottom:var(--spacing-lg);text-align:center}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--spacing-xxl);text-align:center}.loading-spinner{margin-bottom:var(--spacing-lg)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app *:focus-visible{outline:2px solid var(--primary-cyan);outline-offset:2px;border-radius:var(--border-radius-sm)}@media (prefers-contrast: high){.app-header{border-bottom-width:3px}.app-footer{border-top-width:2px}.badge{border:1px solid currentColor}}.tap-hint{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;border:2px solid rgba(255,255,255,.3)}.tap-hint span{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase}@media (max-width: 768px){.header-content{padding:0 20px}.app-title{font-size:24px}.stat-number{font-size:16px}.vocabulary-card-container{max-width:100%}.vocabulary-card{height:180px}.card-front,.card-back{padding:24px}.word-text{font-size:32px}.meaning-text{font-size:24px}.tap-hint{width:50px;height:50px}.tap-hint span{font-size:10px}.app-main{padding:32px 20px}}@media (max-width: 480px){.header-content{flex-direction:column;gap:12px}.vocabulary-card{height:160px}.word-text{font-size:28px}.meaning-text{font-size:20px}.category,.difficulty{font-size:10px;padding:3px 8px}}.app-header{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.1);padding:24px 0;position:sticky;top:0;z-index:100}.header-content{max-width:600px;margin:0 auto;padding:0 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.header-actions{display:flex;align-items:center;gap:12px}.app-title{font-size:28px;font-weight:700;margin:0;background:linear-gradient(135deg,var(--primary-cyan),var(--accent-cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stats{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;white-space:nowrap}.stat-item{display:flex;flex-direction:column;align-items:center;gap:2px}.stat-number{font-size:18px;font-weight:700;color:var(--dark-gray)}.stat-label{font-size:11px;font-weight:500;color:#666;text-transform:uppercase;letter-spacing:.5px}.stat-divider{color:#ddd;font-weight:300}.manage-button{background:#ffffff!important;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:8px 12px;cursor:pointer;transition:all .2s ease;min-width:80px;box-shadow:0 2px 8px #0000001a}.manage-button:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026;border-color:#00000026}.manage-button:active{transform:translateY(0);box-shadow:0 2px 8px #00000026}.feedback-button{position:fixed;bottom:30px;left:30px;width:56px;height:56px;background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--secondary-cyan) 100%);border:none;border-radius:50%;cursor:pointer;font-size:24px;color:var(--white);box-shadow:0 8px 32px #00bfff4d,0 4px 16px #00bfff26;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:100;display:flex;align-items:center;justify-content:center}.feedback-button:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 12px 48px #00bfff66,0 6px 24px #00bfff33}.feedback-button:active{transform:translateY(-1px) scale(1.02)}@media (max-width: 768px){.feedback-button{bottom:20px;left:20px;width:50px;height:50px;font-size:20px}}@media (max-width: 480px){.header-content{padding:0 16px}.stats{gap:8px;flex-wrap:nowrap}.stat-number{font-size:16px}.stat-label{font-size:10px}}@media (max-width: 480px){.feedback-button{bottom:20px}}.manage-button{width:44px;height:44px;border:none;border-radius:12px;background:linear-gradient(135deg,var(--primary-cyan),var(--accent-cyan));color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 4px 16px #00bfff4d}.manage-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00bfff66}.manage-button:active{transform:translateY(-1px)}.recommended-sites{padding:16px 32px;background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid rgba(0,191,255,.1)}.recommended-cards{display:flex;justify-content:center;align-items:center;gap:20px;max-width:600px;margin:0 auto}.recommended-image-link{display:block;transition:all .3s ease;border-radius:8px;overflow:hidden;flex-shrink:0}.recommended-image-link:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 6px 20px #00bfff40}.recommended-image-link img{display:block;width:300px;height:auto;border-radius:8px}@media (max-width: 768px){.recommended-cards{gap:12px}.recommended-sites{padding:12px 16px}.recommended-image-link img{width:210px}}@media (max-width: 480px){.recommended-sites{padding:10px 12px}.recommended-image-link img{width:180px}}@media (max-height: 700px){.app-main{padding:12px 32px}.recommended-sites{padding:10px 32px}}@media (max-height: 600px){.app-main,.recommended-sites{padding:8px 32px}.recommended-image-link img{width:160px}}.app-footer{text-align:center;padding:24px 32px;background:rgba(248,249,250,.8);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);margin-top:auto}.app-footer p{margin:0;color:#666;font-size:14px;font-weight:500}:root{--primary-cyan: #00BFFF;--secondary-cyan: #87CEEB;--accent-cyan: #5DADE2;--light-blue: #E3F2FD;--white: #FFFFFF;--light-gray: #F8F9FA;--medium-gray: #6C757D;--dark-gray: #2C3E50;--black: #212529;--success: #28A745;--success-light: #D4EDDA;--warning: #FFC107;--warning-light: #FFF3CD;--danger: #DC3545;--danger-light: #F8D7DA;--info: #17A2B8;--info-light: #D1ECF1;--shadow: rgba(0, 191, 255, .15);--shadow-hover: rgba(0, 191, 255, .25);--shadow-dark: rgba(44, 62, 80, .1);--border-radius-sm: 4px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--border-radius-full: 50%;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-xxl: 48px;--font-size-xs: .75rem;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-size-3xl: 1.875rem;--font-size-4xl: 2.25rem;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--line-height-tight: 1.25;--line-height-normal: 1.5;--line-height-relaxed: 1.75;--transition-fast: .15s ease;--transition-normal: .3s ease;--transition-slow: .5s ease;--z-dropdown: 1000;--z-sticky: 1020;--z-fixed: 1030;--z-modal-backdrop: 1040;--z-modal: 1050;--z-popover: 1060;--z-tooltip: 1070}@media (prefers-color-scheme: dark){:root{--white: #1A1A1A;--light-gray: #2D2D30;--dark-gray: #CCCCCC;--black: #FFFFFF;--shadow: rgba(0, 0, 0, .3);--shadow-hover: rgba(0, 0, 0, .4)}}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:var(--line-height-normal);color:var(--dark-gray);background:linear-gradient(135deg,var(--light-blue) 0%,var(--white) 100%);min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh;display:flex;flex-direction:column}.container{max-width:700px;margin:0 auto;background:var(--white);padding:var(--spacing-xxl);border-radius:var(--border-radius-xl);box-shadow:0 10px 30px var(--shadow);border:2px solid var(--secondary-cyan);position:relative}.container-fluid{width:100%;padding:var(--spacing-lg)}.container-sm{max-width:500px;padding:var(--spacing-lg)}.container-lg{max-width:900px;padding:var(--spacing-xxl)}.d-flex{display:flex}.flex-column{flex-direction:column}.flex-row{flex-direction:row}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.align-center{align-items:center}.align-stretch{align-items:stretch}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.m-0{margin:0}.m-1{margin:var(--spacing-xs)}.m-2{margin:var(--spacing-sm)}.m-3{margin:var(--spacing-md)}.m-4{margin:var(--spacing-lg)}.m-5{margin:var(--spacing-xl)}.mt-0{margin-top:0}.mt-1{margin-top:var(--spacing-xs)}.mt-2{margin-top:var(--spacing-sm)}.mt-3{margin-top:var(--spacing-md)}.mt-4{margin-top:var(--spacing-lg)}.mt-5{margin-top:var(--spacing-xl)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing-xs)}.mb-2{margin-bottom:var(--spacing-sm)}.mb-3{margin-bottom:var(--spacing-md)}.mb-4{margin-bottom:var(--spacing-lg)}.mb-5{margin-bottom:var(--spacing-xl)}.p-0{padding:0}.p-1{padding:var(--spacing-xs)}.p-2{padding:var(--spacing-sm)}.p-3{padding:var(--spacing-md)}.p-4{padding:var(--spacing-lg)}.p-5{padding:var(--spacing-xl)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-primary{color:var(--primary-cyan)}.text-secondary{color:var(--secondary-cyan)}.text-success{color:var(--success)}.text-danger{color:var(--danger)}.text-warning{color:var(--warning)}.text-muted{color:var(--medium-gray)}.fw-normal{font-weight:var(--font-weight-normal)}.fw-medium{font-weight:var(--font-weight-medium)}.fw-semibold{font-weight:var(--font-weight-semibold)}.fw-bold{font-weight:var(--font-weight-bold)}.fs-sm{font-size:var(--font-size-sm)}.fs-base{font-size:var(--font-size-base)}.fs-lg{font-size:var(--font-size-lg)}.fs-xl{font-size:var(--font-size-xl)}.fs-2xl{font-size:var(--font-size-2xl)}.fs-3xl{font-size:var(--font-size-3xl)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 30px;font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);border:none;border-radius:var(--border-radius-md);cursor:pointer;transition:all var(--transition-normal);text-decoration:none;min-height:48px;gap:var(--spacing-sm);-webkit-user-select:none;user-select:none}.btn:focus{outline:2px solid var(--primary-cyan);outline-offset:2px}.btn:disabled{opacity:.6;cursor:not-allowed;pointer-events:none}.btn-primary{background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--accent-cyan) 100%);color:var(--white)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px var(--shadow-hover)}.btn-secondary{background:var(--light-gray);color:var(--dark-gray);border:1px solid var(--secondary-cyan)}.btn-secondary:hover{background:var(--secondary-cyan);color:var(--white);transform:translateY(-1px)}.btn-success{background:var(--success);color:var(--white)}.btn-success:hover{background:#218838;transform:translateY(-1px)}.btn-danger{background:var(--danger);color:var(--white)}.btn-danger:hover{background:#c82333;transform:translateY(-1px)}.btn-sm{padding:8px 16px;font-size:var(--font-size-sm);min-height:36px}.btn-lg{padding:20px 40px;font-size:var(--font-size-xl);min-height:56px}.card{background:var(--white);border-radius:var(--border-radius-lg);box-shadow:0 4px 12px var(--shadow);border:1px solid var(--light-blue);overflow:hidden;transition:all var(--transition-normal)}.card:hover{box-shadow:0 8px 24px var(--shadow-hover);transform:translateY(-2px)}.card-header{padding:var(--spacing-lg);background:var(--light-blue);border-bottom:1px solid var(--secondary-cyan)}.card-body{padding:var(--spacing-lg)}.card-footer{padding:var(--spacing-lg);background:var(--light-gray);border-top:1px solid var(--light-blue)}.form-group{margin-bottom:var(--spacing-lg)}.form-label{display:block;margin-bottom:var(--spacing-sm);font-weight:var(--font-weight-medium);color:var(--dark-gray)}.form-control{width:100%;padding:12px 16px;font-size:var(--font-size-base);border:2px solid var(--light-blue);border-radius:var(--border-radius-md);background:var(--white);transition:all var(--transition-fast)}.form-control:focus{outline:none;border-color:var(--primary-cyan);box-shadow:0 0 0 3px #00bfff1a}.form-control:invalid{border-color:var(--danger)}.form-control::placeholder{color:var(--medium-gray)}.alert{padding:var(--spacing-md);border-radius:var(--border-radius-md);margin-bottom:var(--spacing-lg);border:1px solid transparent}.alert-success{background:var(--success-light);border-color:var(--success);color:#155724}.alert-danger{background:var(--danger-light);border-color:var(--danger);color:#721c24}.alert-warning{background:var(--warning-light);border-color:var(--warning);color:#856404}.alert-info{background:var(--info-light);border-color:var(--info);color:#0c5460}.badge{display:inline-block;padding:4px 8px;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);border-radius:var(--border-radius-sm);text-transform:uppercase;letter-spacing:.5px}.badge-primary{background:var(--primary-cyan);color:var(--white)}.badge-success{background:var(--success);color:var(--white)}.badge-danger{background:var(--danger);color:var(--white)}.badge-secondary{background:var(--medium-gray);color:var(--white)}.progress{width:100%;height:20px;background:var(--light-gray);border-radius:var(--border-radius-full);overflow:hidden;box-shadow:inset 0 2px 4px #0000001a}.progress-bar{height:100%;background:linear-gradient(135deg,var(--primary-cyan) 0%,var(--accent-cyan) 100%);transition:width var(--transition-normal);border-radius:var(--border-radius-full)}.spinner{width:40px;height:40px;border:4px solid var(--light-blue);border-top:4px solid var(--primary-cyan);border-radius:var(--border-radius-full);animation:spin 1s linear infinite;margin:var(--spacing-lg) auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-fallback{text-align:center;padding:var(--spacing-xxl);background:var(--white);border-radius:var(--border-radius-lg);box-shadow:0 4px 12px var(--shadow);max-width:500px;margin:var(--spacing-xxl) auto}.error-fallback h2{color:var(--danger);margin-bottom:var(--spacing-lg);font-size:var(--font-size-2xl)}.error-fallback p{color:var(--medium-gray);margin-bottom:var(--spacing-xl);line-height:var(--line-height-relaxed)}.container{padding:var(--spacing-lg);margin:var(--spacing-md);border-radius:var(--border-radius-md)}.btn{padding:12px 24px;font-size:var(--font-size-base);min-height:44px}h1{font-size:var(--font-size-2xl);margin-bottom:var(--spacing-md)}h2{font-size:var(--font-size-xl);margin-bottom:var(--spacing-md)}h3{font-size:var(--font-size-lg);margin-bottom:var(--spacing-sm)}.row{display:flex;flex-wrap:wrap;margin:0 -8px}.col{flex:1;padding:0 var(--spacing-sm);margin-bottom:var(--spacing-md)}.col-12{width:100%}.col-6{width:50%}.col-4{width:33.333%}.col-3{width:25%}@media (min-width: 480px){.container{padding:var(--spacing-xl);margin:var(--spacing-lg);border-radius:var(--border-radius-lg)}.btn{padding:14px 28px;font-size:var(--font-size-lg)}h1{font-size:var(--font-size-3xl)}h2{font-size:var(--font-size-2xl)}}@media (min-width: 768px){.container{padding:var(--spacing-xl);margin:var(--spacing-lg) auto;border-radius:var(--border-radius-xl)}.btn{padding:15px 30px;font-size:var(--font-size-lg);min-height:48px}.btn-lg{padding:18px 36px;font-size:var(--font-size-xl);min-height:52px}.col-md-12{width:100%}.col-md-6{width:50%}.col-md-4{width:33.333%}.col-md-3{width:25%}.col-md-2{width:16.666%}.sidebar-layout{display:grid;grid-template-columns:250px 1fr;gap:var(--spacing-xl)}h1{font-size:var(--font-size-4xl)}h2{font-size:var(--font-size-3xl)}h3{font-size:var(--font-size-2xl)}}@media (min-width: 1024px){.container{padding:var(--spacing-xxl);max-width:700px;border-radius:var(--border-radius-xl)}.container-lg{max-width:900px;padding:var(--spacing-xxl)}.btn-lg{padding:20px 40px;font-size:var(--font-size-xl);min-height:56px}.col-lg-12{width:100%}.col-lg-6{width:50%}.col-lg-4{width:33.333%}.col-lg-3{width:25%}.col-lg-2{width:16.666%}.col-lg-1{width:8.333%}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--spacing-lg)}.btn:hover{transform:translateY(-2px);box-shadow:0 5px 15px var(--shadow-hover)}.card:hover{box-shadow:0 8px 24px var(--shadow-hover);transform:translateY(-2px)}}@media (min-width: 1200px){.container-xl{max-width:1140px;padding:var(--spacing-xxl)}.sidebar-layout{grid-template-columns:300px 1fr;gap:var(--spacing-xxl)}}@media (min-width: 1400px){.container-xxl{max-width:1320px}h1{font-size:3rem}h2{font-size:2.5rem}}@media (orientation: portrait){.landscape-only{display:none}}@media (orientation: landscape){.portrait-only{display:none}.landscape-flex{display:flex;align-items:center;min-height:100vh}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.btn:hover,.card:hover{transform:none}}@media (prefers-color-scheme: dark){.container{border-color:#404040;box-shadow:0 10px 30px #0000004d}.card{border-color:#404040;box-shadow:0 4px 12px #0003}}@media print{*{background:white!important;color:#000!important;box-shadow:none!important}.btn{border:1px solid black;background:white!important;color:#000!important;text-decoration:none}.no-print{display:none!important}.container{box-shadow:none;border:1px solid #ccc;padding:20px;margin:0;max-width:none}}@media (prefers-reduced-motion: no-preference){*:focus-visible{outline:2px solid var(--primary-cyan);outline-offset:2px;transition:outline var(--transition-fast)}}@media (pointer: coarse){.btn{min-height:48px;padding:14px 28px}.form-control{padding:14px 16px;font-size:16px}.touch-target{min-width:44px;min-height:44px}}
