.burger-icon{z-index:1100;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:space-around;width:30px;height:25px;padding:0;transition:opacity .2s;display:flex;position:fixed;top:10px;left:15px}.burger-icon span{transform-origin:50%;background:#3b82f6;border-radius:10px;width:30px;height:3px;transition:all .3s;position:relative}.burger-icon.open{opacity:0;pointer-events:none}.sidebar-overlay{z-index:1040;opacity:0;background:#00000080;width:100%;height:100%;animation:.3s forwards fadeIn;position:fixed;top:0;left:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.sidebar{z-index:1050;box-sizing:border-box;background:#fff;flex-direction:column;width:280px;max-width:80vw;height:100vh;padding:20px;transition:left .3s;display:flex;position:fixed;top:0;left:-300px;overflow-y:auto;box-shadow:2px 0 10px #0000001a}.sidebar.open{left:0}.sidebar-header{border-bottom:1px solid #e2e8f0;flex-shrink:0;align-items:center;gap:15px;margin-bottom:2rem;padding-bottom:1rem;display:flex}.sidebar-logo{width:40px;height:40px}.sidebar-title{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:1.25rem;font-weight:700}.sidebar-nav{flex-direction:column;flex:1;gap:.5rem;min-height:0;display:flex;overflow-y:auto}.sidebar-link{color:#475569;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;flex-shrink:0;align-items:center;width:100%;padding:.75rem 1rem;font-family:inherit;font-size:1rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.sidebar-link:hover{color:#3b82f6;background-color:#f1f5f9}.theme-toggle-button{background:#f8fafc;border:1px solid #e2e8f0;margin-top:1rem}.logout-button{color:#ef4444}.logout-button:hover{color:#dc2626;background-color:#fef2f2}.disabled-link{color:#94a3b8;cursor:not-allowed;pointer-events:none;opacity:.6}.sidebar-divider{border:none;border-top:1px solid #e2e8f0;flex-shrink:0;margin:1rem 0}.sidebar-footer{text-align:center;border-top:1px solid #e2e8f0;flex-shrink:0;margin-top:auto;padding:1rem 0}.sidebar-username{color:#94a3b8;text-align:center;word-break:break-word;font-size:14px;font-weight:500}.sidebar-version{color:#94a3b8;letter-spacing:.025em;font-size:.75rem;font-weight:500}body.dark-theme .sidebar{background:#1e293b;box-shadow:2px 0 15px #0006}body.dark-theme .burger-icon span{background:#60a5fa}body.dark-theme .burger-icon.open span{background:#64748b}body.dark-theme .sidebar-header{border-bottom-color:#334155}body.dark-theme .sidebar-link{color:#cbd5e1}body.dark-theme .sidebar-link:hover{color:#93c5fd;background-color:#334155}body.dark-theme .theme-toggle-button{background:#0f172a;border-color:#334155}body.dark-theme .sidebar-divider,body.dark-theme .sidebar-footer{border-top-color:#334155}body.dark-theme .sidebar-version{color:#64748b}@media (width>=769px){.burger-icon{top:10px;left:15px}}.notification-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:3000;background:#0006;justify-content:center;align-items:center;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.notification-dialog{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:90%;max-width:420px;padding:1.5rem;animation:.15s slideUp;box-shadow:0 20px 40px #00000026}.notification-icon{margin-bottom:.75rem;font-size:2.5rem}.notification-title{color:#1e293b;margin:0 0 .5rem;font-size:1.125rem;font-weight:600}.notification-message{color:#475569;margin:0 0 1.5rem;font-size:.95rem;line-height:1.5}.notification-actions{justify-content:center;display:flex}.notification-btn{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:10px;padding:.625rem 2.5rem;font-size:.95rem;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #3b82f633}.notification-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}body.dark-theme .notification-overlay{background:#000000b3}body.dark-theme .notification-dialog{background:#1e293b;border-color:#334155;box-shadow:0 20px 25px -5px #0006}body.dark-theme .notification-title{color:#f1f5f9}body.dark-theme .notification-message{color:#94a3b8}body.dark-theme .notification-btn{background:#3b82f6}body.dark-theme .notification-btn:hover{background:#2563eb}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0006;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:20px;width:90%;max-width:70%;max-height:80vh;padding:2rem;animation:.2s slideUp;position:relative;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;line-height:1;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.modal-cover{text-align:center;justify-content:center;align-items:center;min-height:200px;margin-bottom:1.5rem;display:flex}.modal-cover-image{object-fit:contain;border-radius:12px;max-width:100%;max-height:350px;box-shadow:0 4px 6px -1px #0000001a}.modal-cover-loading,.modal-cover-error,.modal-cover-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:200px;display:flex}.cover-placeholder{color:#64748b;text-align:center;font-size:.875rem}.modal-cover-loading .cover-placeholder{color:#3b82f6}.modal-cover-error .cover-placeholder{color:#ef4444}.modal-details{margin-bottom:1.5rem}.modal-details p{color:#334155;margin-bottom:.75rem;font-size:1rem}.modal-details span{color:#64748b;min-width:120px;font-weight:500;display:inline-block}.modal-author a,.modal-link{color:#3b82f6;text-decoration:none;transition:color .2s}.modal-author a:hover,.modal-link:hover{color:#2563eb;text-decoration:underline}.modal-link{margin-top:1rem;font-weight:500;display:inline-block}.modal-description-container{border-top:1px solid #e2e8f0;align-items:flex-start;gap:.5rem;margin-top:1rem;padding-top:1rem;display:flex}.modal-description-container span{color:#64748b;flex-shrink:0;min-width:120px;font-weight:500}.modal-description-text{color:#334155;flex:1;margin:0;padding-right:.5rem;font-size:.95rem;line-height:1.6;overflow-y:auto}.modal-description-loading,.modal-description-empty{color:#94a3b8;flex:1;font-style:italic}.modal-actions{border-top:1px solid #e2e8f0;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;display:flex}.modal-add-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:12px;flex:1;padding:.75rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.modal-add-button:disabled{opacity:.6;cursor:not-allowed}.modal-download-section{border-top:1px solid #e2e8f0;margin-top:1.5rem;padding-top:1rem}.download-buttons{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.download-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:.25rem;min-width:80px;padding:.625rem .75rem;font-size:.85rem;font-weight:500;transition:all .2s;display:flex}.download-btn.epub{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.download-btn.fb2,.download-btn.mobi{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%)}.download-btn.dropbox{background:linear-gradient(135deg,#0061ff 0%,#0044b3 100%)}.download-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.download-btn.epub:hover:not(:disabled){background:linear-gradient(135deg,#059669 0%,#047857 100%)}.download-btn.fb2:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)}.download-btn.mobi:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9 0%,#5b21b6 100%)}.download-btn.dropbox:hover:not(:disabled){background:linear-gradient(135deg,#0044b3 0%,#039 100%)}.download-btn:disabled{opacity:.6;cursor:not-allowed}body.dark-theme .modal-author{color:#cbd5e1}body.dark-theme .modal-author span{color:#94a3b8}body.dark-theme .modal-author a{color:#60a5fa}body.dark-theme .modal-description-container span{color:#94a3b8}body.dark-theme .modal-description-loading,body.dark-theme .modal-description-empty{color:#64748b}body.dark-theme .modal-link{color:#60a5fa}body.dark-theme .modal-download-section,body.dark-theme .modal-actions{border-top-color:#334155}body.dark-theme .download-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .download-btn:hover:not(:disabled){background:#2a2279}body.dark-theme .modal-add-button{background:#3b82f6}body.dark-theme .modal-add-button:hover:not(:disabled){background:#2563eb}@media (width<=768px){.modal-content{width:95%;max-width:95%;padding:1.5rem}.modal-title{font-size:1.25rem}.modal-details span{min-width:100px}.download-buttons{flex-flow:wrap}.download-btn{flex:calc(50% - .25rem);min-width:120px}}.modal-content{scrollbar-gutter:stable;background:#fff;border:1px solid #e2e8f0;border-radius:20px;width:70%;max-width:70%;max-height:80vh;padding:1.5rem .5rem 1.5rem 1.5rem;animation:.2s slideUp;position:relative;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.modal-close:hover{color:#1e293b;background:#e2e8f0;transform:scale(1.05)}.modal-title{color:#1e293b;margin:0 0 1.5rem;padding-right:2rem;font-size:1.75rem;font-weight:700;line-height:1.3}.modal-loading{text-align:center;color:#64748b;padding:2rem}.modal-error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;padding:1rem}.modal-queries{border-top:1px solid #e2e8f0;margin-bottom:1.5rem;padding-top:1rem}.modal-queries span{color:#64748b;margin-bottom:.75rem;font-weight:500;display:block}.queries-list{flex-wrap:wrap;gap:.5rem;display:flex}.query-tag{color:#3b82f6;background:#eff6ff;border:1px solid #bfdbfe;border-radius:20px;padding:.375rem .75rem;font-size:.875rem}.modal-last-item{border-top:1px solid #e2e8f0;margin-bottom:1.5rem;padding-top:1rem}.modal-last-item span{color:#64748b;margin-bottom:.5rem;font-weight:500;display:block}.last-item-link{color:#1e293b;margin-bottom:.25rem;font-size:1.1rem;font-weight:600;text-decoration:none;display:inline-block}.last-item-link:hover{color:#3b82f6;text-decoration:underline}.last-item-description{color:#475569;margin-top:.75rem;font-size:.9rem;line-height:1.5}.modal-meta{border-top:1px solid #e2e8f0;margin-bottom:1rem;padding-top:1rem}.modal-meta p{color:#64748b;margin:0;font-size:.875rem}.modal-meta span{font-weight:500}.modal-link{color:#3b82f6;font-weight:500;text-decoration:none;transition:color .2s;display:inline-block}.modal-link:hover{color:#2563eb;text-decoration:underline}.modal-content::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track{background:0 0;margin:20px 0}.modal-content::-webkit-scrollbar-thumb{background:#cbd5e1 padding-box padding-box;border:2px solid #0000;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover{background:#94a3b8 padding-box padding-box;border:2px solid #0000}.modal-actions{border-top:1px solid #e2e8f0;margin-top:1.5rem;padding-top:1rem}.modal-add-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:10px;width:100%;padding:.75rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.modal-add-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.modal-add-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;background:#9ca3af;transform:none}body.dark-theme .modal-overlay{background:#000000b3}body.dark-theme .modal-content{background:#1e293b;border-color:#334155;box-shadow:0 20px 25px -5px #0006}body.dark-theme .modal-close{color:#64748b}body.dark-theme .modal-close:hover{color:#e2e8f0;background:#334155}body.dark-theme .modal-cover{background:#0f172a}body.dark-theme .cover-placeholder{color:#64748b}body.dark-theme .modal-title{color:#f1f5f9}body.dark-theme .modal-loading{color:#94a3b8}body.dark-theme .modal-error{color:#fca5a5}body.dark-theme .modal-description-container>span,body.dark-theme .modal-queries>span,body.dark-theme .modal-last-item>span{color:#94a3b8}body.dark-theme .modal-description-text{color:#cbd5e1}body.dark-theme .query-tag{color:#cbd5e1;background:#334155}body.dark-theme .modal-last-item{background:#0f172a;border-color:#334155}body.dark-theme .last-item-link,body.dark-theme .modal-link{color:#60a5fa}body.dark-theme .last-item-date{color:#64748b}body.dark-theme .last-item-description{color:#94a3b8}body.dark-theme .modal-meta p{color:#64748b}body.dark-theme .modal-meta span{color:#94a3b8}body.dark-theme .modal-actions{border-top-color:#334155}@media (width<=1024px){.modal-content{width:85%;max-width:85%}}@media (width<=768px){.modal-content{width:95%;max-width:95%;padding:1.5rem}.modal-title{font-size:1.5rem}.last-item-date{margin-top:.25rem;margin-left:0;display:block}}.sequence-modal-overlay{z-index:1300;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.sequence-modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:600px;max-height:80vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 20px 25px -5px #0003}.sequence-modal-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.sequence-modal-close:hover{color:#1e293b;background:#f1f5f9}.sequence-modal-title{color:#1e293b;margin-bottom:.5rem;font-size:1.25rem;font-weight:600}.sequence-modal-link{color:#3b82f6;margin-bottom:1.5rem;font-size:.9rem;font-weight:500;text-decoration:none;display:inline-block}.sequence-modal-link:hover{text-decoration:underline}.sequence-modal-details>span{color:#64748b;margin-bottom:.75rem;font-size:.9rem;font-weight:500;display:block}.sequence-books-list{flex-direction:column;gap:.5rem;display:flex}.sequence-book-item{border-radius:6px;align-items:baseline;gap:.5rem;padding:.5rem;transition:background-color .2s;display:flex}.sequence-book-item:hover{background:#f8fafc}.sequence-book-num{color:#94a3b8;min-width:2rem;font-size:.875rem}.sequence-book-title{color:#1e293b;font-size:.9rem;text-decoration:none;transition:color .2s}.sequence-book-title:hover{color:#3b82f6;text-decoration:underline}.sequence-modal-loading,.sequence-modal-error{text-align:center;color:#64748b;padding:2rem}.sequence-modal-error{color:#dc2626}body.dark-theme .sequence-modal-content{background:#1e293b;border-color:#334155}body.dark-theme .sequence-modal-close{color:#64748b}body.dark-theme .sequence-modal-close:hover{color:#e2e8f0;background:#334155}body.dark-theme .sequence-modal-title{color:#f1f5f9}body.dark-theme .sequence-modal-link{color:#60a5fa}body.dark-theme .sequence-modal-details>span{color:#94a3b8}body.dark-theme .sequence-book-item:hover{background:#334155}body.dark-theme .sequence-book-num{color:#64748b}body.dark-theme .sequence-book-title{color:#f1f5f9}body.dark-theme .sequence-book-title:hover{color:#60a5fa}.search-books{max-width:1200px;margin:0 auto}.search-books h2{color:#1e293b;border-left:4px solid #3b82f6;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.search-form{gap:1rem;margin-bottom:2rem;display:flex}.search-input{color:#1e293b;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex:1;padding:.875rem 1rem;font-size:1rem;transition:all .2s}.search-button{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:12px;padding:.875rem 2rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.search-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.search-button:disabled{color:#94a3b8;cursor:not-allowed;box-shadow:none;background:#cbd5e1}.error-message{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;margin-bottom:1.5rem;padding:1rem}.loading-spinner{text-align:center;color:#64748b;padding:2rem}.results-count{color:#64748b;margin-bottom:1rem;font-size:.875rem}.results-grid{grid-template-columns:none;gap:1.5rem;display:grid}.author-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.25rem;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden;box-shadow:0 1px 2px #00000005}.author-card:hover{border-color:#cbd5e1;transform:translate(4px);box-shadow:0 4px 8px #0000000a}.author-cover{object-fit:cover;cursor:pointer;background:#f1f5f9;width:100%;height:300px}.author-info{flex-direction:column;flex:1;padding:0;display:flex}.book-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:row;align-items:flex-start;gap:1.5rem;padding:1.25rem;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 1px 2px #00000005}.book-card:hover{border-color:#cbd5e1;transform:translate(4px);box-shadow:0 4px 8px #0000000a}.book-cover{object-fit:cover;cursor:pointer;background:#f1f5f9;width:100%;height:300px}.book-title-link{color:#1e293b;cursor:pointer;text-decoration:none;transition:color .2s}.book-title-link:hover{color:#3b82f6;text-decoration:underline}.book-info{flex-direction:column;flex:1;padding:0;display:flex}.book-info h4{color:#1e293b;margin:0 0 .75rem;font-size:1rem;font-weight:600;line-height:1.4}.book-info h4 a{color:#1e293b;text-decoration:none;transition:color .2s}.book-info h4 a:hover{color:#3b82f6;text-decoration:underline}.book-author{color:#64748b;margin-bottom:1rem;font-size:.875rem}.book-author a{color:#64748b;text-decoration:none;transition:color .2s}.book-author a:hover{color:#3b82f6;text-decoration:underline}.results-info{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.results-count{color:#64748b;font-size:.875rem}.add-query-button{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:10px;padding:.625rem 1.25rem;font-size:.95rem;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #10b98133}.add-query-button:hover:not(:disabled){background:linear-gradient(135deg,#059669 0%,#047857 100%);transform:translateY(-1px);box-shadow:0 4px 8px #10b9814d}.add-query-button:disabled{opacity:.6;cursor:not-allowed;background:#9ca3af}.success-message{color:#059669;background:#ecfdf5;border-left:3px solid #059669;border-radius:10px;margin-bottom:1rem;padding:1rem}.no-results-hint{text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:2rem}.no-results-hint p{margin-bottom:.5rem}.no-results-hint p:last-child{margin-bottom:0}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem;margin:1.5rem 0;display:flex}.pagination-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;min-width:36px;height:36px;padding:0 .5rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.pagination-btn:hover:not(:disabled){color:#3b82f6;background:#f1f5f9;border-color:#3b82f6}.pagination-btn.active{color:#fff;background:#3b82f6;border-color:#3b82f6;font-weight:600}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-dots{text-align:center;color:#94a3b8;width:36px;font-size:.875rem}.pagination-info{color:#94a3b8;white-space:nowrap;margin-left:1rem;font-size:.8rem}.search-checkboxes{flex-wrap:wrap;gap:1.5rem;margin-bottom:1rem;display:flex}.search-checkbox-label{cursor:pointer;color:#475569;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;font-size:.95rem;font-weight:500;display:flex}.search-checkbox-label input[type=checkbox]{cursor:pointer;accent-color:#3b82f6;width:18px;height:18px}.search-checkbox-label:hover{color:#1e293b}.search-section{margin-bottom:2rem}.section-title{color:#1e293b;border-bottom:1px solid #e2e8f0;margin-bottom:1rem;padding-bottom:.5rem;font-size:1.1rem;font-weight:600}body.dark-theme .search-checkbox-label{color:#cbd5e1}body.dark-theme .search-checkbox-label:hover{color:#f1f5f9}body.dark-theme .section-title{color:#f1f5f9;border-bottom-color:#334155}body.dark-theme .book-card{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .book-card:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .book-card::placeholder{color:#64748b}body.dark-theme .author-card{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .author-card:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .author-card::placeholder{color:#64748b}body.dark-theme .sequence-card{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .sequence-card:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .sequence-card::placeholder{color:#64748b}@media (width<=768px){.search-form{flex-direction:column}.search-button{width:100%}.results-grid{flex-direction:column;gap:1rem;display:flex}.pagination{gap:.125rem}.pagination-btn{min-width:32px;height:32px;font-size:.8rem}.pagination-info{text-align:center;width:100%;margin-top:.5rem;margin-left:0}}.confirm-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2000;background:#0006;justify-content:center;align-items:center;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.confirm-dialog{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:90%;max-width:400px;padding:1.5rem;animation:.15s slideUp;box-shadow:0 20px 40px #00000026}.confirm-title{color:#1e293b;margin:0 0 .75rem;font-size:1.125rem;font-weight:600}.confirm-message{color:#475569;margin:0 0 1.5rem;font-size:.95rem;line-height:1.5}.confirm-message strong{color:#1e293b;background:#f1f5f9;border-radius:4px;padding:.125rem .375rem}.confirm-actions{justify-content:flex-end;gap:.75rem;display:flex}.confirm-btn{cursor:pointer;border:none;border-radius:10px;padding:.625rem 1.5rem;font-size:.95rem;font-weight:500;transition:all .2s}.confirm-btn:disabled{opacity:.5;cursor:not-allowed}.confirm-btn-cancel{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.confirm-btn-cancel:hover:not(:disabled){background:#e2e8f0}.confirm-btn-delete{color:#fff;background:#ef4444;box-shadow:0 2px 4px #ef444433}.confirm-btn-delete:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 8px #ef44444d}body.dark-theme .confirm-overlay{background:#000000b3}body.dark-theme .confirm-dialog{background:#1e293b;border-color:#334155;box-shadow:0 20px 25px -5px #0006}body.dark-theme .confirm-title{color:#f1f5f9}body.dark-theme .confirm-message{color:#94a3b8}body.dark-theme .confirm-btn-cancel{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .confirm-btn-cancel:hover:not(:disabled){background:#334155}body.dark-theme .confirm-btn-delete{background:#dc2626;border-color:#dc2626}body.dark-theme .confirm-btn-delete:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.watchlist{max-width:900px;margin:0 auto}.watchlist h4{color:#1e293b;margin-bottom:1rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.watchlist-header{flex-direction:column;gap:.5rem;margin-bottom:1.5rem;display:flex}.watchlist-header-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.watchlist-header h4{margin-bottom:0}.watchlist-header-actions{flex-wrap:wrap;gap:.5rem;display:flex}.watchlist-filter-container{margin-bottom:.75rem;position:relative}.watchlist-filter-input{color:#475569;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:.625rem 2.5rem .625rem .875rem;font-family:inherit;font-size:.9rem;transition:all .2s}.watchlist-filter-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.watchlist-filter-input::placeholder{color:#94a3b8}.watchlist-filter-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px 8px;font-size:1rem;transition:all .2s;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.watchlist-filter-clear:hover{color:#475569;background:#f1f5f9}.watchlist-sort-header{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:.5rem;margin-bottom:1rem;padding:.5rem;display:flex}.sort-header-btn{color:#64748b;cursor:pointer;text-align:center;white-space:nowrap;background:0 0;border:none;border-radius:6px;flex:1;padding:.5rem .75rem;font-family:inherit;font-size:.85rem;font-weight:500;transition:all .2s}.sort-header-btn:hover{color:#1e293b;background:#e2e8f0}.sort-header-btn.active{color:#3b82f6;background:#eff6ff}.sort-header-btn:hover .sort-icon,.sort-header-btn.active .sort-icon{opacity:1}.backup-button,.import-button,.notification-button{color:#475569;cursor:pointer;white-space:nowrap;text-align:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;gap:.35rem;padding:.4rem .75rem;font-family:inherit;font-size:.8rem;font-weight:500;transition:all .2s;display:flex}.backup-button:hover:not(:disabled),.import-button:hover:not(:disabled){color:#fbbf24;background:#334155;border-color:#334155;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.backup-button:disabled,.import-button:disabled{opacity:.5;cursor:not-allowed;color:#94a3b8;background:#e2e8f0;border-color:#cbd5e1}.notification-button.subscribed{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.notification-button:hover:not(:disabled){color:#fbbf24;background:#334155;border-color:#334155;transform:translateY(-1px)}.notification-button.subscribed:hover:not(:disabled){color:#fbbf24;background:#065f46;border-color:#065f46}.watchlist-last-sent{color:#64748b;background:#f1f5f9;border-radius:6px;align-self:flex-start;padding:.5rem 1rem;font-size:.8rem;display:inline-block}.watchlist-loading,.watchlist-error,.watchlist-empty,.watchlist-section-empty{text-align:center;color:#64748b;background:#f8fafc;border-radius:12px;padding:3rem;font-size:1rem}.watchlist-error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626}.watchlist-tabs{border-bottom:1px solid #e2e8f0;gap:.5rem;margin-bottom:1.5rem;padding-bottom:.5rem;display:flex}.watchlist-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px 8px 0 0;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;transition:all .2s}.watchlist-tab:hover{color:#1e293b;background:#f1f5f9}.watchlist-tab.active{color:#3b82f6;border-bottom:2px solid #3b82f6}.watchlist-book-query{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1.25rem}.watchlist-book-header{justify-content:space-between;align-items:flex-start;margin-bottom:1rem;display:flex}.watchlist-book-query-info{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.watchlist-books-count{color:#64748b;margin-bottom:.5rem;font-size:.875rem;font-weight:500}.watchlist-query-label{color:#64748b;font-size:.875rem}.watchlist-query-text{color:#1e293b;background:#f1f5f9;border-radius:20px;padding:.25rem .75rem;font-weight:600}.watchlist-updated{color:#94a3b8;margin-left:.25rem;font-size:.75rem}.watchlist-updated.recently{color:#f87171;margin-left:.25rem;font-weight:500}.watchlist-expand-btn{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:.5rem 0;font-size:.875rem;font-weight:500}.watchlist-books-list{margin-top:.75rem;padding-left:1.5rem}.watchlist-book-item{border-bottom:1px solid #f1f5f9;align-items:baseline;gap:.5rem;padding:.5rem 0;display:flex}.book-num{color:#94a3b8;min-width:2rem;font-size:.875rem}.book-title{color:#1e293b;font-weight:500;text-decoration:none}.book-title:hover{color:#3b82f6;text-decoration:underline}.book-author{color:#64748b;margin-left:auto;font-size:.875rem;text-decoration:none}.book-author:hover{color:#3b82f6;text-decoration:underline}.links-label{color:#64748b;margin-right:.5rem;font-size:.875rem}.watchlist-link{color:#3b82f6;margin-right:1rem;font-size:.875rem;text-decoration:none}.watchlist-link:hover{text-decoration:underline}.watchlist-author-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1.25rem}.watchlist-author-header{justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;display:flex}.watchlist-author-info{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.author-name{color:#1e293b;font-size:1.125rem;font-weight:600;text-decoration:none}.author-name:hover{color:#3b82f6;text-decoration:underline}.author-updated{color:#94a3b8;font-size:.75rem}.author-bio{color:#475569;margin:.75rem 0;font-size:.875rem;line-height:1.5}.author-last-item{border-top:1px solid #f1f5f9;margin-top:.75rem;padding-top:.75rem}.last-item-label{color:#64748b;margin-right:.5rem;font-size:.875rem}.last-item-title{color:#1e293b;text-decoration:none}.last-item-date{color:#94a3b8;margin-left:1rem;font-size:.75rem}.author-books-section{border-top:1px solid #e2e8f0;margin-top:1rem;padding-top:.75rem}.author-books-expand-btn{color:#3b82f6;cursor:pointer;background:0 0;border:none;align-items:center;gap:.5rem;padding:.375rem 0;font-size:.875rem;font-weight:500;transition:color .2s;display:flex}.author-books-expand-btn:hover{color:#2563eb}.author-books-list{flex-direction:column;gap:.5rem;max-height:300px;margin-top:.75rem;padding-left:1.5rem;display:flex;overflow-y:auto}.author-book-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:baseline;padding:.5rem 0;display:flex}.author-book-item:last-child{border-bottom:none}.author-book-title{flex:1;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .2s}.author-book-title:hover{color:#3b82f6;text-decoration:underline}.author-book-date{color:#94a3b8;white-space:nowrap;margin-left:1rem;font-size:.75rem}.author-book-date.recent{color:#ef4444;font-weight:500}.author-books-list::-webkit-scrollbar{width:4px}.author-books-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:2px}.author-books-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.history-top-controls{align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.history-top-controls .history-filter{flex:1;margin-bottom:0}.history-top-controls .history-toggle-label{white-space:nowrap;flex-shrink:0}.download-history-button{color:#475569;cursor:pointer;white-space:nowrap;text-align:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:.35rem;padding:.4rem .75rem;font-family:inherit;font-size:.8rem;font-weight:500;transition:all .2s;display:flex}.download-history-button:hover{color:#fbbf24;background:#334155;border-color:#334155;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.download-history-button:disabled{opacity:.5;cursor:not-allowed;color:#94a3b8;background:#e2e8f0;border-color:#cbd5e1}.history-toggle-label{cursor:pointer;color:#475569;align-items:center;gap:.5rem;font-size:.85rem;font-weight:500;display:flex}.toggle-slider{cursor:pointer;background:#cbd5e1;border:none;border-radius:13px;width:48px;height:26px;padding:0;transition:background .2s;position:relative}.toggle-slider.active{background:#3b82f6}.toggle-slider-knob{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.toggle-slider.active .toggle-slider-knob{transform:translate(22px)}.watchlist-history-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:1rem;display:flex}.history-book-info{flex-direction:column;flex:1;gap:.25rem;display:flex}.history-book-title{color:#1e293b;flex-wrap:wrap;align-items:center;gap:.5rem;font-weight:500;text-decoration:none;display:flex}.read-badge{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:20px;padding:.125rem .5rem;font-size:.7rem;font-weight:600;display:inline-block}.history-book-title:hover{color:#3b82f6;text-decoration:underline}.history-book-author{color:#64748b;font-size:.875rem;text-decoration:none}.history-book-author:hover{color:#3b82f6;text-decoration:underline}.history-read-date{color:#94a3b8;font-size:.875rem}.history-actions{flex-shrink:0;align-items:center;gap:.75rem;margin-left:1rem;display:flex}.history-read-date{color:#94a3b8;white-space:nowrap;font-size:.8rem}.history-read-btn{cursor:pointer;border:1px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.125rem;font-weight:700;transition:all .2s;display:flex}.mark-read{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.mark-read:hover:not(:disabled){color:#fff;background:#059669;border-color:#059669}.mark-unread{color:#dc2626;background:#fef2f2;border-color:#fecaca}.mark-unread:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#dc2626}.history-read-btn:disabled{opacity:.5;cursor:not-allowed}.watchlist-remove{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.125rem;transition:all .2s;display:flex}.watchlist-remove:hover:not(:disabled){color:#dc2626;background:#fef2f2;border-color:#fecaca}.watchlist-remove:disabled{opacity:.5;cursor:not-allowed}.history-remove-btn{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.125rem;font-weight:700;transition:all .2s;display:flex}.history-remove-btn:hover:not(:disabled){color:#dc2626;background:#fef2f2;border-color:#fecaca}.history-remove-btn:disabled{opacity:.5;cursor:not-allowed}body.dark-theme .watchlist h4{color:#f1f5f9}body.dark-theme .backup-button,body.dark-theme .import-button,body.dark-theme .notification-button{color:#cbd5e1;background:#334155;border-color:#475569}body.dark-theme .backup-button:hover:not(:disabled),body.dark-theme .import-button:hover:not(:disabled){color:#fbbf24;background:#475569}body.dark-theme .watchlist-last-sent{color:#94a3b8;background:#1e293b}body.dark-theme .watchlist-tabs{border-bottom-color:#334155}body.dark-theme .watchlist-tab{color:#94a3b8}body.dark-theme .watchlist-tab:hover{color:#f1f5f9;background:#334155}body.dark-theme .watchlist-tab.active{color:#60a5fa;border-bottom-color:#60a5fa}body.dark-theme .watchlist-book-query,body.dark-theme .watchlist-author-item,body.dark-theme .watchlist-history-item{background:#1e293b;border-color:#334155}body.dark-theme .watchlist-query-text{color:#f1f5f9;background:#334155}body.dark-theme .watchlist-query-label,body.dark-theme .watchlist-updated,body.dark-theme .author-updated,body.dark-theme .history-read-date{color:#94a3b8}body.dark-theme .book-title,body.dark-theme .author-name,body.dark-theme .author-book-title,body.dark-theme .history-book-title{color:#f1f5f9}body.dark-theme .book-title:hover,body.dark-theme .author-name:hover,body.dark-theme .author-book-title:hover,body.dark-theme .history-book-title:hover{color:#60a5fa}body.dark-theme .book-author,body.dark-theme .history-book-author{color:#94a3b8}body.dark-theme .book-author:hover,body.dark-theme .history-book-author:hover{color:#60a5fa}body.dark-theme .toggle-slider{background:#475569}body.dark-theme .author-books-section,body.dark-theme .author-last-item{border-top-color:#334155}body.dark-theme .watchlist-updated.recently,body.dark-theme .author-book-date.recent{color:#fca5a5}body.dark-theme .watchlist-remove{color:#94a3b8;background:#1e293b;border-color:#334155}body.dark-theme .watchlist-remove:hover:not(:disabled){color:#fca5a5;background:#450a0a}body.dark-theme .watchlist-filter-input{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .watchlist-filter-input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .watchlist-filter-input::placeholder,body.dark-theme .watchlist-filter-clear{color:#64748b}body.dark-theme .watchlist-filter-clear:hover{color:#cbd5e1;background:#334155}body.dark-theme .history-toggle-label{color:#cbd5e1}body.dark-theme .watchlist-sort-header{background:#0f172a;border-color:#334155}body.dark-theme .sort-header-btn{color:#94a3b8}body.dark-theme .sort-header-btn:hover{color:#e2e8f0;background:#334155}body.dark-theme .sort-header-btn.active{color:#60a5fa;background:#1e3a5f}body.dark-theme .history-remove-btn{color:#94a3b8;background:#1e293b;border-color:#334155}body.dark-theme .history-remove-btn:hover:not(:disabled){color:#fca5a5;background:#450a0a;border-color:#7f1d1d}body.dark-theme .download-history-button{color:#cbd5e1;background:#334155;border-color:#475569}body.dark-theme .download-history-button:hover{color:#fbbf24;background:#475569}@media (width<=768px){.watchlist-header-top{flex-direction:column;align-items:flex-start}.watchlist-header-actions{width:100%}.backup-button,.import-button,.notification-button{flex:1;justify-content:center;padding:.35rem .5rem;font-size:.75rem}.watchlist h4{font-size:1.5rem}.watchlist-tabs{flex-wrap:wrap}.watchlist-header{flex-direction:column;align-items:flex-start;gap:1rem}.watchlist-actions{flex-direction:column;width:100%}.backup-button,.import-button,.backup-button{justify-content:center;width:100%}.watchlist-tab{flex:1;padding:.5rem;font-size:.875rem}.history-top-controls{flex-direction:column;align-items:stretch;gap:.5rem}.history-top-controls .history-toggle-label{justify-content:flex-end}.download-history-button{justify-content:center;width:100%}.watchlist-book-header,.watchlist-author-header{flex-direction:column;gap:.75rem}.watchlist-remove{align-self:flex-end}.watchlist-history-item{flex-direction:column;align-items:flex-start;gap:.75rem}.history-actions{justify-content:flex-end;width:100%;margin-left:0}}.game-modal-overlay{z-index:1300;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.game-modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:800px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 20px 25px -5px #0003}.game-modal-close{cursor:pointer;color:#94a3b8;z-index:1;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.game-modal-close:hover{color:#1e293b;background:#f1f5f9}.game-modal-image-container{background:#f1f5f9;border-radius:12px;justify-content:center;align-items:center;width:100%;max-height:400px;margin-bottom:1.5rem;display:flex;overflow:hidden}.game-modal-image{object-fit:contain;width:100%;height:auto;max-height:400px}.game-modal-title{color:#1e293b;margin-bottom:1rem;font-size:1.5rem;font-weight:600}.game-modal-details{flex-direction:column;gap:1.5rem;display:flex}.game-modal-link{color:#3b82f6;font-size:.95rem;font-weight:500;text-decoration:none}.game-modal-link:hover{text-decoration:underline}.game-modal-description-container span{color:#64748b;margin-bottom:.5rem;font-weight:500;display:block}.game-modal-description{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;max-height:400px;padding:1rem;font-size:.95rem;line-height:1.8;overflow-y:auto}.game-modal-description .sp-wrap{border:1px solid #e2e8f0;border-radius:8px;margin:.75rem 0;overflow:hidden}.game-modal-description .sp-head{color:#475569;-webkit-user-select:none;user-select:none;background:#f1f5f9;align-items:center;gap:.25rem;padding:.625rem 1rem;font-size:.9rem;font-weight:600;transition:background-color .2s;display:flex}.game-modal-description .sp-head:hover{background:#e2e8f0}.game-modal-description .sp-head span{pointer-events:none}.game-modal-description .sp-body{color:#475569;background:#fff;padding:.75rem 1rem;font-size:.9rem;line-height:1.7}.game-modal-description .sp-body br{content:"";margin-top:.25rem;display:block}.description-line{margin:0;padding:.125rem 0;line-height:1.7}.description-line:empty{height:.5rem}.game-modal-screenshots-container span{color:#64748b;margin-bottom:.5rem;font-weight:500;display:block}.game-modal-screenshots-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.screenshot-thumbnail{cursor:pointer;aspect-ratio:16/9;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s;overflow:hidden}.screenshot-thumbnail:hover{border-color:#3b82f6;transform:scale(1.02)}.screenshot-thumbnail-image{object-fit:cover;width:100%;height:100%}.game-modal-loading,.game-modal-error{text-align:center;color:#64748b;padding:2rem}.game-modal-error{color:#dc2626}.screenshot-overlay{z-index:1400;background:#000000e6;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.screenshot-full-container{max-width:90vw;max-height:90vh;position:relative}.screenshot-close{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:-40px;right:0}.screenshot-close:hover{background:#ffffff4d}.screenshot-full-image{object-fit:contain;border-radius:8px;max-width:90vw;max-height:85vh}.game-modal-actions{border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;display:flex}.game-action-btn{cursor:pointer;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:.5rem;min-width:150px;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.game-action-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.game-action-btn:disabled{opacity:.5;cursor:not-allowed}.favorite-btn:hover:not(:disabled){color:#ca8a04;background:#fefce8;border-color:#eab308}.favorite-btn.favorited{color:#ca8a04;background:#fefce8;border-color:#eab308;font-weight:600}body.dark-theme .game-modal-overlay{background:#000c}body.dark-theme .game-modal-content{background:#1e293b;border-color:#334155}body.dark-theme .game-modal-close{color:#64748b}body.dark-theme .game-modal-close:hover{color:#e2e8f0;background:#334155}body.dark-theme .game-modal-image-container{background:#0f172a}body.dark-theme .game-modal-title{color:#f1f5f9}body.dark-theme .game-modal-link{color:#60a5fa}body.dark-theme .game-modal-description-container span,body.dark-theme .game-modal-screenshots-container span{color:#94a3b8}body.dark-theme .game-modal-description{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .game-modal-description .sp-wrap{border-color:#334155}body.dark-theme .game-modal-description .sp-head{color:#cbd5e1;background:#1e293b}body.dark-theme .game-modal-description .sp-head:hover{background:#334155}body.dark-theme .game-modal-description .sp-body{color:#cbd5e1;background:#0f172a}body.dark-theme .screenshot-thumbnail{border-color:#334155}body.dark-theme .screenshot-thumbnail:hover{border-color:#60a5fa}body.dark-theme .game-modal-actions{border-top-color:#334155}body.dark-theme .game-action-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .favorite-btn:hover:not(:disabled),body.dark-theme .favorite-btn.favorited{color:#fbbf24;background:#422006;border-color:#fbbf24}@media (width<=768px){.game-modal-content{max-height:85vh;padding:1.25rem}.game-modal-image-container,.game-modal-image{max-height:250px}.game-modal-screenshots-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.game-modal-actions{flex-direction:column}.game-action-btn{min-width:100%}.screenshot-overlay{padding:1rem}}.search-input{color:#475569;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:.625rem 2.5rem .625rem .875rem;font-family:inherit;font-size:.9rem;transition:all .2s}.search-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.search-input::placeholder{color:#94a3b8}.forum-select-container{margin-bottom:1rem}.forum-select-label{color:#475569;margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:block}.forum-select{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;max-width:500px;padding:.5rem;font-family:inherit;font-size:.85rem}.forum-select:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.forum-select optgroup{color:#1e293b;font-weight:600}.forum-select option{padding:2px 8px}.indented-option{color:#64748b;padding-left:16px!important}.forum-select-hint{color:#94a3b8;margin-top:.25rem;font-size:.75rem}.search-rutracker{max-width:1200px;margin:0 auto}.search-rutracker h3{color:#1e293b;margin-bottom:1.5rem;font-size:1.5rem;font-weight:600}.rutracker-results-table{margin-top:1rem;overflow-x:auto}.rutracker-table{border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;font-size:.85rem;overflow:hidden}.rutracker-table thead th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:.625rem .5rem;font-size:.8rem;font-weight:600}.rutracker-table tbody td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:.5rem}.rutracker-row:hover{background:#f8fafc}.status-cell{text-align:center;color:#059669;width:30px}.forum-cell{color:#64748b;max-width:200px;font-size:.8rem}.title-cell a{color:#1e293b;font-weight:500;text-decoration:none}.title-cell a:hover{color:#3b82f6;text-decoration:underline}.author-cell{color:#64748b;font-size:.8rem}.size-cell{white-space:nowrap;color:#475569;font-size:.8rem}.seeds-cell{color:#059669;text-align:center;font-weight:600}.leeches-cell{color:#dc2626;text-align:center;font-weight:600}.downloads-cell{color:#64748b;text-align:center}.date-cell{white-space:nowrap;color:#94a3b8;font-size:.75rem}body.dark-theme .search-input{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .search-input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .search-input::placeholder{color:#64748b}body.dark-theme .forum-select-label{color:#cbd5e1}body.dark-theme .forum-select{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .forum-select optgroup{color:#f1f5f9}body.dark-theme .indented-option{color:#94a3b8}body.dark-theme .forum-select-hint{color:#64748b}body.dark-theme .rutracker-table{background:#1e293b;border-color:#334155}body.dark-theme .rutracker-table thead th{color:#cbd5e1;background:#0f172a;border-bottom-color:#334155}body.dark-theme .rutracker-table tbody td{border-bottom-color:#334155}body.dark-theme .rutracker-row:hover{background:#334155}body.dark-theme .title-cell a{color:#f1f5f9}body.dark-theme .title-cell a:hover{color:#60a5fa}@media (width<=768px){.rutracker-table{font-size:.75rem}.rutracker-table thead th,.rutracker-table tbody td{padding:.375rem .25rem}}.fav-game-modal-overlay{z-index:1300;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.fav-game-modal-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:800px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 20px 25px -5px #0003}.fav-game-modal-close{cursor:pointer;color:#94a3b8;z-index:1;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.fav-game-modal-close:hover{color:#1e293b;background:#f1f5f9}.fav-game-modal-title{color:#1e293b;margin-bottom:1rem;padding-right:2rem;font-size:1.5rem;font-weight:600}.fav-game-update-text-container{background:#fefce8;border:1px solid #fde68a;border-radius:10px;margin-bottom:1.25rem;padding:1rem}.fav-game-update-text-container span{color:#92400e;margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.fav-game-update-text{color:#78350f;font-size:.95rem;line-height:1.6}.fav-game-events-container{margin-bottom:1.25rem}.fav-game-events-container>span{color:#64748b;margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.fav-game-events-list{flex-direction:column;gap:.5rem;max-height:300px;display:flex;overflow-y:auto}.fav-game-event-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.75rem;display:flex}.fav-game-event-text{color:#475569;flex:1;font-size:.9rem;line-height:1.5}.fav-game-event-date{color:#94a3b8;white-space:nowrap;font-size:.8rem}.fav-game-modal-image-container{background:#f1f5f9;border-radius:12px;justify-content:center;align-items:center;width:100%;max-height:400px;margin-bottom:1.5rem;display:flex;overflow:hidden}.fav-game-modal-image{object-fit:contain;width:100%;height:auto;max-height:400px}.fav-game-modal-details{flex-direction:column;gap:1.5rem;display:flex}.fav-game-modal-link{color:#3b82f6;font-size:.95rem;font-weight:500;text-decoration:none}.fav-game-modal-link:hover{text-decoration:underline}.fav-game-modal-description-container span{color:#64748b;margin-bottom:.5rem;font-weight:500;display:block}.fav-game-modal-description{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;max-height:300px;padding:1rem;font-size:.95rem;line-height:1.6;overflow-y:auto}.fav-game-modal-screenshots-container span{color:#64748b;margin-bottom:.5rem;font-weight:500;display:block}.fav-game-modal-screenshots-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.fav-screenshot-thumbnail{cursor:pointer;aspect-ratio:16/9;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s;overflow:hidden}.fav-screenshot-thumbnail:hover{border-color:#3b82f6;transform:scale(1.02)}.fav-screenshot-thumbnail-image{object-fit:cover;width:100%;height:100%}.fav-game-modal-loading,.fav-game-modal-error{text-align:center;color:#64748b;padding:2rem}.fav-game-modal-error{color:#dc2626}.fav-game-modal-meta{border-top:1px solid #e2e8f0;margin-top:1.5rem;padding-top:1rem}.fav-game-modal-meta p{color:#94a3b8;font-size:.875rem}.fav-game-modal-meta span{color:#64748b;font-weight:500}.fav-game-modal-actions{border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;display:flex}.fav-game-action-btn{cursor:pointer;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:.5rem;min-width:150px;padding:.75rem 1rem;font-family:inherit;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.fav-game-action-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.fav-game-action-btn:disabled{opacity:.5;cursor:not-allowed}.download-btn:hover:not(:disabled){color:#3b82f6;background:#eff6ff;border-color:#3b82f6}.upload-btn:hover:not(:disabled){color:#22c55e;background:#f0fdf4;border-color:#22c55e}.load-details-btn:hover:not(:disabled){color:#7c3aed;background:#f5f3ff;border-color:#8b5cf6}.fav-screenshot-overlay{z-index:1400;background:#000000e6;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.fav-screenshot-full-container{max-width:90vw;max-height:90vh;position:relative}.fav-screenshot-close{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:-40px;right:0}.fav-screenshot-close:hover{background:#ffffff4d}.fav-screenshot-full-image{object-fit:contain;border-radius:8px;max-width:90vw;max-height:85vh}body.dark-theme .fav-game-modal-overlay{background:#000c}body.dark-theme .fav-game-modal-content{background:#1e293b;border-color:#334155}body.dark-theme .fav-game-modal-close{color:#64748b}body.dark-theme .fav-game-modal-close:hover{color:#e2e8f0;background:#334155}body.dark-theme .fav-game-modal-title{color:#f1f5f9}body.dark-theme .fav-game-update-text-container{background:#422006;border-color:#78350f}body.dark-theme .fav-game-update-text-container span{color:#fbbf24}body.dark-theme .fav-game-update-text{color:#fde68a}body.dark-theme .fav-game-events-container>span{color:#94a3b8}body.dark-theme .fav-game-event-item{background:#0f172a;border-color:#334155}body.dark-theme .fav-game-event-text{color:#cbd5e1}body.dark-theme .fav-game-event-date{color:#64748b}body.dark-theme .fav-game-modal-image-container{background:#0f172a}body.dark-theme .fav-game-modal-link{color:#60a5fa}body.dark-theme .fav-game-modal-description-container span,body.dark-theme .fav-game-modal-screenshots-container span{color:#94a3b8}body.dark-theme .fav-game-modal-description{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .fav-screenshot-thumbnail{border-color:#334155}body.dark-theme .fav-screenshot-thumbnail:hover{border-color:#60a5fa}body.dark-theme .fav-game-modal-meta{border-top-color:#334155}body.dark-theme .fav-game-modal-meta p{color:#64748b}body.dark-theme .fav-game-modal-meta span{color:#94a3b8}body.dark-theme .fav-game-modal-actions{border-top-color:#334155}body.dark-theme .fav-game-action-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .download-btn:hover:not(:disabled){color:#60a5fa;background:#1e3a5f;border-color:#60a5fa}body.dark-theme .upload-btn:hover:not(:disabled){color:#34d399;background:#064e3b;border-color:#34d399}body.dark-theme .load-details-btn:hover:not(:disabled){color:#c4b5fd;background:#2e1065;border-color:#a78bfa}@media (width<=768px){.fav-game-modal-content{max-height:85vh;padding:1.25rem}.fav-game-modal-image-container,.fav-game-modal-image{max-height:250px}.fav-game-modal-screenshots-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.fav-game-modal-actions{flex-direction:column}.fav-game-action-btn{min-width:100%}.fav-game-event-item{flex-direction:column;gap:.25rem}}.games{max-width:1200px;margin:0 auto}.games-title{color:#1e293b;margin-bottom:1.5rem;font-size:1.8rem;font-weight:600}.games-last-sent{color:#64748b;background:#f1f5f9;border-radius:8px;margin-bottom:1.5rem;padding:.5rem 1rem;font-size:.875rem;display:inline-block}.games-loading,.games-error,.games-empty{text-align:center;color:#64748b;background:#f8fafc;border-radius:12px;padding:3rem;font-size:1rem}.games-error{color:#dc2626;background:#fef2f2}.games-tabs{border-bottom:1px solid #e2e8f0;gap:.5rem;margin-bottom:1.5rem;padding-bottom:.5rem;display:flex}.games-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px 8px 0 0;padding:.75rem 1.5rem;font-family:inherit;font-size:1rem;font-weight:500;transition:all .2s}.games-tab:hover{color:#1e293b;background:#f1f5f9}.games-tab.active{color:#3b82f6;border-bottom:2px solid #3b82f6}.game-actions-cell{text-align:center;vertical-align:middle;width:50px}.game-actions-cell .watchlist-remove{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:1.125rem;transition:all .2s;display:inline-flex}.game-actions-cell .watchlist-remove:hover{color:#dc2626;background:#fef2f2;border-color:#fecaca}.favorite-game-row{cursor:pointer}.favorite-game-link{color:#1e293b;text-decoration:none}.favorite-game-row:hover .favorite-game-link{color:#3b82f6}.favorite-game-update-badge{margin-left:.5rem;font-size:.8rem}.games-filter-container{margin-bottom:1rem;position:relative}.games-filter-input{color:#475569;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:.625rem 2.5rem .625rem .875rem;font-family:inherit;font-size:.9rem;transition:all .2s}.games-filter-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.games-filter-input::placeholder{color:#94a3b8}.games-filter-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px 8px;font-size:1rem;transition:all .2s;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.games-filter-clear:hover{color:#475569;background:#f1f5f9}.games-table-container{overflow-x:auto}.games-table{border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;overflow:hidden}.games-table thead th{color:#475569;text-align:left;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:1rem;font-size:.95rem;font-weight:600}.games-table tbody td{vertical-align:top;border-bottom:1px solid #f1f5f9;padding:1rem}.games-table tbody tr:last-child td{border-bottom:none}.games-table tbody tr:hover{background:#f8fafc}.game-title-cell{color:#1e293b;min-width:200px;font-weight:500}.game-links-cell{min-width:250px}.game-links-list{flex-wrap:wrap;gap:.5rem;display:flex}.game-link-button{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:.375rem .75rem;font-family:inherit;font-size:.875rem;transition:all .2s}.game-link-button:hover{color:#3b82f6;background:#eff6ff;border-color:#3b82f6}.game-updated-cell{color:#94a3b8;white-space:nowrap;font-size:.875rem}.sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:background-color .2s}.sortable-header:hover{background-color:#e2e8f0}.sort-icon{opacity:.5;margin-left:.25rem;font-size:.8rem}.sortable-header:hover .sort-icon{opacity:1}.games-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.games-header .games-title{margin-bottom:0}.games-actions{flex-wrap:wrap;gap:.75rem;display:flex}.backup-button,.restore-button{color:#475569;cursor:pointer;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;padding:.625rem 1.25rem;font-family:inherit;font-size:.95rem;font-weight:500;transition:all .2s}.backup-button:hover:not(:disabled),.restore-button:hover:not(:disabled){color:#fbbf24;background:#334155;border-color:#334155;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.backup-button:disabled,.restore-button:disabled{opacity:.5;cursor:not-allowed;color:#94a3b8;background:#e2e8f0;border-color:#cbd5e1}.games-top-controls{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.games-top-controls .games-filter-container{flex:1;margin-bottom:0}.add-game-button{color:#fff;cursor:pointer;white-space:nowrap;background:#3b82f6;border:none;border-radius:10px;flex-shrink:0;padding:.5rem 1rem;font-family:inherit;font-size:.875rem;font-weight:500;transition:all .2s}.add-game-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.add-game-overlay{z-index:1500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.add-game-dialog{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:450px;padding:2rem;position:relative;box-shadow:0 20px 25px -5px #0003}.add-game-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.5rem;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.add-game-close:hover{color:#1e293b;background:#f1f5f9}.add-game-title{color:#1e293b;margin-bottom:.5rem;font-size:1.25rem;font-weight:600}.add-game-hint{color:#64748b;margin-bottom:1rem;font-size:.875rem}.add-game-input{color:#1e293b;box-sizing:border-box;border:1.5px solid #e2e8f0;border-radius:10px;width:100%;margin-bottom:1.5rem;padding:.75rem 1rem;font-family:inherit;font-size:1rem;transition:all .2s}.add-game-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.add-game-input::placeholder{color:#94a3b8}.add-game-actions{justify-content:flex-end;gap:.75rem;display:flex}.add-game-btn{cursor:pointer;border:1px solid #e2e8f0;border-radius:10px;padding:.625rem 1.5rem;font-family:inherit;font-size:.95rem;font-weight:500;transition:all .2s}.add-game-cancel{color:#475569;background:#fff}.add-game-cancel:hover:not(:disabled){background:#f1f5f9}.add-game-submit{color:#fff;background:#3b82f6;border-color:#3b82f6}.add-game-submit:hover:not(:disabled){background:#2563eb}.add-game-submit:disabled,.add-game-cancel:disabled{opacity:.5;cursor:not-allowed}body.dark-theme .games-title{color:#f1f5f9}body.dark-theme .games-last-sent{color:#94a3b8;background:#1e293b}body.dark-theme .games-tabs{border-bottom-color:#334155}body.dark-theme .games-tab{color:#94a3b8}body.dark-theme .games-tab:hover{color:#f1f5f9;background:#334155}body.dark-theme .games-tab.active{color:#60a5fa;border-bottom-color:#60a5fa}body.dark-theme .game-actions-cell .watchlist-remove{color:#64748b;background:#1e293b;border-color:#334155}body.dark-theme .game-actions-cell .watchlist-remove:hover{color:#fca5a5;background:#450a0a;border-color:#7f1d1d}body.dark-theme .favorite-game-link{color:#f1f5f9}body.dark-theme .favorite-game-row:hover .favorite-game-link{color:#60a5fa}body.dark-theme .games-filter-input{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .games-filter-input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .games-filter-input::placeholder,body.dark-theme .games-filter-clear{color:#64748b}body.dark-theme .games-filter-clear:hover{color:#cbd5e1;background:#334155}body.dark-theme .games-table{background:#1e293b;border-color:#334155}body.dark-theme .games-table thead th{color:#cbd5e1;background:#0f172a;border-bottom-color:#334155}body.dark-theme .games-table tbody td{border-bottom-color:#334155}body.dark-theme .games-table tbody tr:hover{background:#334155}body.dark-theme .game-title-cell{color:#f1f5f9}body.dark-theme .game-link-button{color:#cbd5e1;background:#334155;border-color:#475569}body.dark-theme .game-link-button:hover{color:#60a5fa;background:#1e3a5f;border-color:#60a5fa}body.dark-theme .game-updated-cell{color:#64748b}body.dark-theme .sortable-header:hover{background-color:#475569}body.dark-theme .sort-icon{color:#94a3b8}body.dark-theme .backup-button,body.dark-theme .restore-button{color:#cbd5e1;background:#334155;border-color:#475569}body.dark-theme .backup-button:hover:not(:disabled),body.dark-theme .restore-button:hover:not(:disabled){color:#fbbf24;background:#475569}body.dark-theme .backup-button:disabled,body.dark-theme .restore-button:disabled{color:#64748b;background:#1e293b;border-color:#334155}body.dark-theme .add-game-button{background:#2563eb}body.dark-theme .add-game-button:hover{background:#1d4ed8}body.dark-theme .add-game-dialog{background:#1e293b;border-color:#334155}body.dark-theme .add-game-close{color:#64748b}body.dark-theme .add-game-close:hover{color:#e2e8f0;background:#334155}body.dark-theme .add-game-title{color:#f1f5f9}body.dark-theme .add-game-hint{color:#94a3b8}body.dark-theme .add-game-input{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .add-game-input:focus{border-color:#60a5fa}body.dark-theme .add-game-cancel{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .add-game-cancel:hover:not(:disabled){background:#334155}@media (width<=768px){.games-title{font-size:1.5rem}.games-tab{text-align:center;flex:1;padding:.5rem;font-size:.875rem}.games-table thead th,.games-table tbody td{padding:.75rem}.game-links-list{flex-direction:column}.games-header{flex-direction:column;align-items:flex-start}.games-actions{width:100%}.backup-button,.restore-button{text-align:center;flex:1}.games-top-controls{flex-direction:column;align-items:stretch}.add-game-button{text-align:center}}.add-game-button:disabled{opacity:.7;cursor:progress;box-shadow:none;transform:none}.fav-refresh-message{color:#475569;margin:-.25rem 0 1rem;font-size:.875rem}body.dark-theme .fav-refresh-message{color:#94a3b8}.settings-container{max-width:700px;margin:0 auto}.settings-container h2{color:#1e293b;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.settings-user-select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding:1rem;display:flex}.settings-user-select label{color:#475569;white-space:nowrap;font-weight:500}.username-input{color:#1e293b;border:1.5px solid #e2e8f0;border-radius:8px;flex:1;padding:.625rem .75rem;font-size:.95rem;transition:border-color .2s}.username-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.load-button{color:#475569;cursor:pointer;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:.625rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s}.load-button:hover:not(:disabled){background:#e2e8f0}.load-button:disabled{opacity:.5;cursor:not-allowed}.settings-error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;margin-bottom:1rem;padding:.875rem 1rem}.settings-success{color:#059669;background:#ecfdf5;border-left:3px solid #059669;border-radius:10px;margin-bottom:1rem;padding:.875rem 1rem}.settings-loading{text-align:center;color:#64748b;padding:2rem}.settings-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.settings-section-header h3{margin-bottom:0}.permission-actions{gap:.5rem;display:flex}.perm-action-btn{cursor:pointer;color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.35rem .85rem;font-family:inherit;font-size:.8rem;font-weight:500;transition:all .2s}.perm-action-btn:hover{background:#e2e8f0;transform:translateY(-1px)}.perm-action-btn.grant-all{color:#059669;background:#f0fdf4;border-color:#a7f3d0}.perm-action-btn.grant-all:hover{background:#d1fae5;border-color:#6ee7b7}.perm-action-btn.revoke-all{color:#dc2626;background:#fef2f2;border-color:#fecaca}.perm-action-btn.revoke-all:hover{background:#fee2e2;border-color:#fca5a5}.permission-group{margin-bottom:.5rem}.permission-group-title{color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;margin-bottom:.5rem;padding-bottom:.35rem;font-size:.8rem;font-weight:600}.permission-row{padding:.3rem 0}.permission-row .setting-label{font-size:.9rem}.settings-form{flex-direction:column;gap:.5rem;display:flex}.settings-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:.5rem;padding:1.25rem}.settings-section h3{color:#334155;border-bottom:1px solid #f1f5f9;margin:0 0 1rem;padding-bottom:.75rem;font-size:1.1rem;font-weight:600}.setting-row{border-bottom:1px solid #f8fafc;justify-content:space-between;align-items:center;padding:.75rem 0;display:flex}.setting-row:last-child{border-bottom:none}.setting-label{flex-direction:column;gap:.125rem;display:flex}.setting-label span:first-child{color:#1e293b;font-size:.95rem;font-weight:500}.setting-hint{color:#94a3b8;font-size:.8rem}.toggle-btn{cursor:pointer;color:#64748b;text-align:center;background:#f1f5f9;border:1.5px solid #e2e8f0;border-radius:20px;min-width:80px;padding:.5rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s}.toggle-btn.active{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.toggle-btn:hover{opacity:.8}.setting-input,.setting-input-number{color:#1e293b;border:1.5px solid #e2e8f0;border-radius:8px;width:250px;padding:.5rem .75rem;font-size:.9rem;transition:border-color .2s}.setting-input-number{width:120px}.setting-input:focus,.setting-input-number:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.setting-input-masked{-webkit-text-security:disc;text-security:disc;font-family:text-security-disc}.setting-select{color:#1e293b;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;min-width:150px;padding:.5rem .75rem;font-size:.9rem}.setting-select:focus{border-color:#3b82f6;outline:none}.settings-actions{justify-content:flex-end;margin-top:1rem;display:flex}.save-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:10px;padding:.75rem 2rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.save-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.save-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;background:#cbd5e1}.settings-placeholder{text-align:center;color:#94a3b8;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:3rem;font-size:1rem}.promocode-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:1rem;padding:.75rem 1rem}.promocode-header{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.promocode-label{color:#64748b;font-size:.9rem;font-weight:500}.promocode-value{color:#3b82f6;letter-spacing:.05em;background:#eff6ff;border-radius:6px;padding:.25rem .75rem;font-family:Courier New,monospace;font-size:.5rem;font-weight:600}.promocode-loading{color:#94a3b8;font-size:.85rem;font-style:italic}.change-password-section{text-align:center;margin:1.5rem 0}.change-password-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);border:none;border-radius:10px;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #8b5cf633}.change-password-btn:hover{background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #8b5cf64d}.password-change-modal{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.password-change-content{background:#fff;border-radius:12px;width:100%;max-width:450px;padding:1.5rem;box-shadow:0 20px 25px -5px #0000001a}.password-change-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.password-change-header h3{color:#1e293b;margin:0;font-size:1.5rem;font-weight:600}.close-btn{cursor:pointer;color:#64748b;background:0 0;border:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:1.5rem;transition:color .2s;display:flex}.close-btn:hover{color:#1e293b}.password-form{flex-direction:column;gap:1rem;display:flex}.password-form-group{flex-direction:column;display:flex}.password-form-group label{color:#475569;margin-bottom:.5rem;font-size:.9rem;font-weight:500}.password-form-group input{color:#1e293b;box-sizing:border-box;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;padding:.75rem 1rem;font-size:1rem;transition:all .2s}.password-form-group input:focus{border-color:#8b5cf6;outline:none;box-shadow:0 0 0 3px #8b5cf61a}.password-form-group input::placeholder{color:#94a3b8}.password-error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;margin-bottom:1rem;padding:.875rem 1rem;font-size:.9rem}.password-success{color:#059669;background:#ecfdf5;border-left:3px solid #059669;border-radius:10px;margin-bottom:1rem;padding:.875rem 1rem;font-size:.9rem}.password-form-actions{gap:1rem;margin-top:1.5rem;display:flex}.password-save-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);border:none;border-radius:10px;flex:1;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #8b5cf633}.password-save-btn:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #8b5cf64d}.password-save-btn:disabled{color:#94a3b8;cursor:not-allowed;box-shadow:none;background:#cbd5e1;transform:none}.password-cancel-btn{color:#475569;cursor:pointer;background:#e2e8f0;border:none;border-radius:10px;flex:1;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.password-cancel-btn:hover{background:#cbd5e1}body.dark-theme .settings-container h2,body.dark-theme .settings-section h3{color:#f1f5f9}body.dark-theme .setting-label span:first-child{color:#cbd5e1}body.dark-theme .setting-hint{color:#64748b}body.dark-theme .setting-input,body.dark-theme .setting-input-number,body.dark-theme .setting-select,body.dark-theme .username-input{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .settings-search-section,body.dark-theme .settings-section{background:#1e293b;border-color:#334155}body.dark-theme .toggle-btn{color:#cbd5e1;background:#334155}body.dark-theme .toggle-btn.active{color:#a7f3d0;background:#065f46}body.dark-theme .perm-action-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}body.dark-theme .perm-action-btn:hover{background:#334155}body.dark-theme .perm-action-btn.grant-all{color:#6ee7b7;background:#064e3b;border-color:#065f46}body.dark-theme .perm-action-btn.grant-all:hover{background:#065f46;border-color:#047857}body.dark-theme .perm-action-btn.revoke-all{color:#fca5a5;background:#450a0a;border-color:#7f1d1d}body.dark-theme .perm-action-btn.revoke-all:hover{background:#7f1d1d;border-color:#991b1b}body.dark-theme .permission-group-title{color:#94a3b8;border-bottom-color:#334155}body.dark-theme .promocode-section{background:#1e293b;border-color:#334155}body.dark-theme .promocode-label{color:#94a3b8}body.dark-theme .promocode-value{color:#60a5fa;background:#1e3a5f}body.dark-theme .promocode-loading{color:#64748b}body.dark-theme .password-change-content{color:#e2e8f0;background:#1e293b}body.dark-theme .password-change-header h3{color:#f1f5f9}body.dark-theme .password-form-group label{color:#94a3b8}body.dark-theme .password-form-group input{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .password-form-group input:focus{border-color:#a78bfa;box-shadow:0 0 0 3px #a78bfa1a}body.dark-theme .password-error{color:#fca5a5;background:#450a0a;border-color:#7f1d1d}body.dark-theme .password-success{color:#a7f3d0;background:#064e3b;border-color:#059669}body.dark-theme .password-cancel-btn{color:#cbd5e1;background:#334155}body.dark-theme .password-cancel-btn:hover{background:#475569}body.dark-theme .close-btn{color:#94a3b8}body.dark-theme .close-btn:hover{color:#e2e8f0}@media (width<=768px){.setting-row{flex-direction:column;align-items:flex-start;gap:.5rem}.setting-input,.setting-input-number{width:100%}.settings-user-select{flex-direction:column;align-items:stretch}.load-button{width:100%}.settings-section-header{flex-direction:column;align-items:flex-start}.permission-actions{width:100%}.perm-action-btn{text-align:center;flex:1}.promocode-header{flex-direction:column;align-items:flex-start;gap:.25rem}.password-change-content{border-radius:8px;padding:1rem}.password-form-actions{flex-direction:column}}.rutracker-session{flex-wrap:wrap;gap:.75rem}.rutracker-session-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.rutracker-session-actions .setting-input{width:140px}.rutracker-captcha-image{background:#fff;border:1px solid #e2e8f0;border-radius:6px;height:72px}.rutracker-session .settings-error{flex-basis:100%;margin-bottom:0}.logs-container{max-width:1200px;margin:0 auto}.logs-container h2{color:#1e293b;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.logs-controls{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding:1.25rem;display:flex}.logs-input-group{flex-wrap:wrap;align-items:flex-start;gap:1rem;display:flex}.logs-label{color:#475569;white-space:nowrap;align-items:center;font-size:.95rem;font-weight:500;display:flex}.logs-input-wrapper{align-items:center;gap:.5rem;display:flex}.logs-input-number{color:#1e293b;border:1.5px solid #e2e8f0;border-radius:8px;width:120px;padding:.625rem .75rem;font-family:inherit;font-size:.95rem;transition:border-color .2s}.logs-input-number:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.logs-input-hint{color:#94a3b8;white-space:nowrap;font-size:.85rem}.logs-buttons{flex-wrap:wrap;gap:.75rem;display:flex}.logs-button{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;padding:.625rem 1rem;font-family:inherit;font-size:.9rem;font-weight:500;transition:all .2s}.logs-button-apply{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);box-shadow:0 4px 6px -1px #3b82f633}.logs-button-apply:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.logs-button-refresh{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.logs-button-refresh:hover:not(:disabled){color:#1e293b;background:#e2e8f0}.logs-button-copy{color:#059669;background:#f0fdf4;border:1px solid #a7f3d0}.logs-button-copy:hover:not(:disabled){background:#dcfce7;border-color:#6ee7b7}.logs-button-download{color:#d97706;background:#fef3c7;border:1px solid #fcd34d}.logs-button-download:hover:not(:disabled){background:#fde68a;border-color:#fbbf24}.logs-button:disabled{opacity:.5;cursor:not-allowed}.logs-error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;margin-bottom:1rem;padding:.875rem 1rem}.logs-loading{text-align:center;color:#64748b;background:#f8fafc;border-radius:12px;padding:3rem;font-size:1rem}.logs-empty{text-align:center;color:#94a3b8;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:3rem;font-size:1rem}.logs-info{color:#64748b;background:#f1f5f9;border-left:3px solid #3b82f6;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.logs-content{background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-height:600px;overflow:hidden auto;box-shadow:0 1px 3px #0000001a}.logs-text{color:#1e293b;white-space:pre-wrap;word-wrap:break-word;background:#fff;margin:0;padding:1.25rem;font-family:Courier New,Courier,monospace;font-size:.85rem;line-height:1.5}.logs-content::-webkit-scrollbar{width:8px}.logs-content::-webkit-scrollbar-track{background:#f1f5f9}.logs-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.logs-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}body.dark-theme .logs-container h2{color:#f1f5f9}body.dark-theme .logs-controls{background:#1e293b;border-color:#334155}body.dark-theme .logs-label{color:#cbd5e1}body.dark-theme .logs-input-number{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .logs-input-number:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa1a}body.dark-theme .logs-input-hint{color:#94a3b8}body.dark-theme .logs-button-refresh{color:#cbd5e1;background:#334155;border-color:#475569}body.dark-theme .logs-button-refresh:hover:not(:disabled){color:#f1f5f9;background:#475569}body.dark-theme .logs-button-copy{color:#a7f3d0;background:#064e3b;border-color:#059669}body.dark-theme .logs-button-copy:hover:not(:disabled){background:#065f46;border-color:#10b981}body.dark-theme .logs-button-download{color:#fbbf24;background:#78350f;border-color:#d97706}body.dark-theme .logs-button-download:hover:not(:disabled){background:#92400e;border-color:#f59e0b}body.dark-theme .logs-error{color:#fca5a5;background:#450a0a;border-left-color:#dc2626}body.dark-theme .logs-loading,body.dark-theme .logs-empty{color:#cbd5e1;background:#0f172a;border-color:#334155}body.dark-theme .logs-info{color:#93c5fd;background:#1e3a5f;border-left-color:#60a5fa}body.dark-theme .logs-content{background:#0f172a;border-color:#334155}body.dark-theme .logs-text{color:#e2e8f0;background:#0f172a}body.dark-theme .logs-content::-webkit-scrollbar-track{background:#1e293b}body.dark-theme .logs-content::-webkit-scrollbar-thumb{background:#475569}body.dark-theme .logs-content::-webkit-scrollbar-thumb:hover{background:#64748b}@media (width<=768px){.logs-container{padding:0 1rem}.logs-controls{flex-direction:column}.logs-input-group{flex-direction:column;gap:.5rem}.logs-input-wrapper{flex-direction:column;width:100%}.logs-input-number{width:100%}.logs-buttons{flex-direction:column;gap:.5rem}.logs-button{text-align:center;width:100%}.logs-content{max-height:400px}.logs-text{padding:.75rem;font-size:.8rem}}.login-container{max-width:420px;margin:0 auto}.login-container h2{color:#1e293b;border-left:4px solid #3b82f6;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.login-container form div{margin-bottom:1.25rem}.login-container label{color:#475569;margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:block}.login-container input{color:#1e293b;box-sizing:border-box;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;width:100%;padding:.75rem 1rem;font-size:1rem;transition:all .2s}.login-container input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.login-container input::placeholder{color:#94a3b8}.login-container button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:10px;width:100%;margin-top:.5rem;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.login-container button:hover{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.login-container button:disabled{color:#94a3b8;cursor:not-allowed;box-shadow:none;background:#cbd5e1;transform:none}.forgot-password-link{text-align:center;color:#64748b;margin-top:1rem;font-size:.95rem}.forgot-password-btn{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:0;font-size:.95rem;font-weight:500;text-decoration:none;transition:color .2s}.forgot-password-btn:hover{color:#2563eb;text-decoration:underline}.forgot-password-back{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:0;font-size:.95rem;font-weight:500;text-decoration:none;transition:color .2s}.forgot-password-back:hover{color:#2563eb;text-decoration:underline}.register-link{text-align:center;color:#64748b;margin-top:1.5rem;font-size:.95rem}.register-link a{color:#3b82f6;font-weight:500;text-decoration:none;transition:color .2s}.register-link a:hover{color:#2563eb;text-decoration:underline}.error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.875rem 1rem;font-size:.9rem;display:flex}body.dark-theme .login-container{color:#e2e8f0;background:#1e293b;border-color:#334155}body.dark-theme .login-container h2{color:#f1f5f9}body.dark-theme .login-container label{color:#94a3b8}body.dark-theme .login-container input{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .login-container input:focus{background:#1e293b;border-color:#60a5fa}body.dark-theme .login-container button{background:#2563eb}body.dark-theme .login-container button:hover{background:#1d4ed8}body.dark-theme .forgot-password-btn,body.dark-theme .forgot-password-back{color:#60a5fa}body.dark-theme .forgot-password-btn:hover,body.dark-theme .forgot-password-back:hover{color:#3b82f6}body.dark-theme .register-link a{color:#60a5fa}@media (width<=768px){.login-container{padding:0}.login-container h2{font-size:1.5rem}}.register-container{max-width:420px;margin:0 auto}.register-container h2{color:#1e293b;border-left:4px solid #3b82f6;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.register-container form div{margin-bottom:1.25rem}.register-container label{color:#475569;margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:block}.register-container input{color:#1e293b;box-sizing:border-box;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;width:100%;padding:.75rem 1rem;font-size:1rem;transition:all .2s}.register-container input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.register-container input::placeholder{color:#94a3b8}.register-container button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:10px;width:100%;margin-top:.5rem;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.register-container button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.register-container button:disabled{color:#94a3b8;cursor:not-allowed;box-shadow:none;background:#cbd5e1;transform:none}.login-link{text-align:center;color:#64748b;margin-top:1.5rem;font-size:.95rem}.login-link a{color:#3b82f6;font-weight:500;text-decoration:none;transition:color .2s}.login-link a:hover{color:#2563eb;text-decoration:underline}.password-hint{color:#64748b;margin-top:.25rem;font-size:.8rem}.password-requirements{color:#64748b;background:#f8fafc;border-radius:8px;margin-top:.5rem;padding:.75rem;font-size:.8rem}.password-requirements ul{margin:.25rem 0 0 1.25rem;padding:0}.password-requirements li{margin-bottom:.125rem}.password-requirements .valid{color:#059669}.password-requirements .invalid{color:#dc2626}@media (width<=768px){.register-container{padding:0}.register-container h2{font-size:1.5rem}}.reset-password-container{max-width:420px;margin:0 auto}.reset-password-container h2{color:#1e293b;border-left:4px solid #3b82f6;margin-bottom:1.5rem;padding-left:1rem;font-size:1.75rem;font-weight:600}.reset-password-container form div{margin-bottom:1.25rem}.reset-password-container label{color:#475569;margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:block}.reset-password-container input{color:#1e293b;box-sizing:border-box;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;width:100%;padding:.75rem 1rem;font-size:1rem;transition:all .2s}.reset-password-container input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.reset-password-container input::placeholder{color:#94a3b8}.reset-password-container button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:10px;width:100%;margin-top:.5rem;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f633}.reset-password-container button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 10px 15px -3px #3b82f64d}.reset-password-container button:disabled{color:#94a3b8;cursor:not-allowed;box-shadow:none;background:#cbd5e1;transform:none}.error{color:#dc2626;background:#fef2f2;border-left:3px solid #dc2626;border-radius:10px;margin-bottom:1.5rem;padding:.875rem 1rem;font-size:.9rem}.success{color:#059669;background:#ecfdf5;border-left:3px solid #059669;border-radius:10px;margin-bottom:1.5rem;padding:.875rem 1rem;font-size:.9rem}.reset-error-message{color:#64748b;margin-bottom:1.5rem;font-size:.95rem}.reset-back-link-container{text-align:center;margin-top:1.5rem}.reset-back-link{color:#3b82f6;padding:.5rem 0;font-weight:500;text-decoration:none;transition:color .2s;display:inline-block}.reset-back-link:hover{color:#2563eb;text-decoration:underline}.loading{text-align:center;color:#64748b;padding:2rem}body.dark-theme .reset-password-container{color:#e2e8f0;background:#1e293b;border-color:#334155}body.dark-theme .reset-password-container h2{color:#f1f5f9}body.dark-theme .reset-password-container label{color:#94a3b8}body.dark-theme .reset-password-container input{color:#e2e8f0;background:#0f172a;border-color:#334155}body.dark-theme .reset-password-container input:focus{background:#1e293b;border-color:#60a5fa}body.dark-theme .reset-password-container button{background:#2563eb}body.dark-theme .reset-password-container button:hover:not(:disabled){background:#1d4ed8}body.dark-theme .reset-back-link{color:#60a5fa}body.dark-theme .reset-back-link:hover{color:#3b82f6}body.dark-theme .reset-error-message{color:#cbd5e1}body.dark-theme .error{color:#fca5a5;background:#450a0a;border-color:#7f1d1d}body.dark-theme .success{color:#a7f3d0;background:#064e3b;border-color:#059669}@media (width<=768px){.reset-password-container{padding:0}.reset-password-container h2{font-size:1.5rem}}.top-bar{z-index:100;background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:.75rem;height:50px;padding:0 20px 0 60px;display:flex;position:sticky;top:0;box-shadow:0 1px 3px #0000000d}.top-bar-logo{object-fit:contain;flex-shrink:0;width:auto;height:28px}.top-bar-title{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);-webkit-text-fill-color:transparent;white-space:nowrap;-webkit-background-clip:text;background-clip:text;flex-shrink:0;margin-right:1rem;font-size:.95rem;font-weight:600}.top-bar-nav{align-items:center;gap:.25rem;margin-left:auto;display:flex}.top-bar-nav-link{color:#64748b;white-space:nowrap;border-radius:8px;padding:.375rem .75rem;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s}.top-bar-nav-link:hover{color:#3b82f6;background-color:#f1f5f9}.top-bar-nav-link.active{color:#3b82f6;background-color:#eff6ff;font-weight:600}body.dark-theme .top-bar{background:#1e293b;border-bottom-color:#334155}body.dark-theme .top-bar-nav-link{color:#94a3b8}body.dark-theme .top-bar-nav-link:hover{color:#60a5fa;background-color:#334155}body.dark-theme .top-bar-nav-link.active{color:#60a5fa;background-color:#1e3a5f}.main-area{background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 100%);flex:1;min-height:calc(100vh - 50px);padding:2rem}.page-content{background:#fff;border:1px solid #e2e8f0;border-radius:16px;max-width:1200px;margin:0 auto;padding:2rem;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008}.page-content h2{color:#1e293b;margin-bottom:1.5rem;padding-left:1rem;font-size:1.8rem;font-weight:600}.page-content h3{color:#334155;margin-bottom:1rem;font-size:1.4rem;font-weight:500}.page-content p{color:#64748b;margin-bottom:1rem}.placeholder{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;margin-top:2rem;padding:1.5rem}.placeholder p{color:#94a3b8;margin:0;font-style:italic}.update-button{color:#fff;cursor:pointer;z-index:1000;background:#3b82f6;border:none;border-radius:12px;padding:12px 24px;font-weight:600;transition:all .3s;position:fixed;bottom:20px;right:20px;box-shadow:0 10px 15px -3px #3b82f633}.update-button:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 15px 20px -5px #3b82f64d}body.dark-theme{color:#e2e8f0;background-color:#0f172a}body.dark-theme .main-area{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%)}body.dark-theme .page-content{background:#1e293b;border-color:#334155;box-shadow:0 4px 6px -1px #0000004d}body.dark-theme .page-content h2{color:#f1f5f9}body.dark-theme .page-content h3{color:#cbd5e1}body.dark-theme .page-content p{color:#94a3b8}body.dark-theme .placeholder{background:#0f172a;border-color:#334155}body.dark-theme .placeholder p{color:#64748b}body.dark-theme .update-button{background:#2563eb}body.dark-theme .update-button:hover{background:#1d4ed8}@media (width<=768px){.top-bar{padding-left:55px;padding-right:10px}.top-bar-title{display:none}.top-bar-nav-link{padding:.3rem .5rem;font-size:.8rem}.main-area{padding:1rem}.page-content{padding:1.25rem}.page-content h2{font-size:1.5rem}.update-button{padding:10px 20px;font-size:.9rem;bottom:15px;right:15px}}@media (width<=480px){.top-bar-nav{gap:0}.top-bar-nav-link{padding:.25rem .4rem;font-size:.75rem}}*{box-sizing:border-box;margin:0;padding:0}body{color:#1e293b;background-color:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6}#root,.app-container{flex-direction:column;min-height:100vh;display:flex}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}
