:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-primary:#f5f5f7;--bg-secondary:#fff;--bg-tertiary:#e8e8ed;--text-primary:#1d1d1f;--text-secondary:#86868b;--text-tertiary:#666;--border-color:#d2d2d6;--accent-color:#0071e3;--accent-hover:#0077ed;--accent-light:#0071e31f;--danger-color:#991b1b;--danger-light:#fee2e2;--success-color:#166534;--success-light:#dcfce7;--shadow-sm:0 1px 2px #00000014;--shadow-md:0 4px 12px #0000001f;--card-bg:#fff;--card-border:#d2d2d6;--header-bg:#fff;--header-border:#d2d2d6;--search-bg:#fff;--search-border:#d2d2d6;--search-result-bg:#fff;--search-result-border:#d2d2d6;--modal-bg:#fff;--modal-border:#d2d2d6;--season-bg:#f5f5f7;--season-hover:#e8e8ed;--button-bg:#0071e3;--button-text:#fff;--button-hover:#0077ed;--toast-bg:#fffbeb;--toast-border:#fcd34d;--toast-text:#92400e;--toast-border-hover:#f59e0b;--button-secondary-bg:#f5f5f7;--button-secondary-text:#1d1d1f;--button-secondary-hover:#e8e8ed;--theme-switch-bg:#d2d2d6;--theme-switch-knob:#fff;--rating-modal-bg:var(--bg-secondary);--rating-modal-border:var(--border-color);--rating-modal-title:var(--text-primary);--rating-modal-muted:var(--text-tertiary);--rating-modal-value:var(--text-primary);--rating-modal-secondary-bg:var(--bg-tertiary);--rating-modal-secondary-text:var(--text-primary);--rating-modal-accent:var(--accent-color);--my-rating-bg:var(--accent-light);--my-rating-border:var(--accent-color);--my-rating-text:var(--accent-color);--my-rating-hover-bg:#0071e333;--rating-personal-color:#0056b3}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-primary:#000;--bg-secondary:#1c1c1e;--bg-tertiary:#2c2c2e;--text-primary:#f5f5f7;--text-secondary:#a0a0a3;--text-tertiary:#86868b;--border-color:#3a3a3c;--accent-color:#0a84ff;--accent-hover:#0077ed;--accent-light:#0a84ff26;--danger-color:#ca5f5f;--danger-light:#3a1a1a;--success-color:#5fca5f;--success-light:#1a3a1a;--shadow-sm:0 1px 2px #0000004d;--shadow-md:0 4px 12px #0006;--card-bg:#1c1c1e;--card-border:#3a3a3c;--header-bg:#1c1c1e;--header-border:#3a3a3c;--search-bg:#1c1c1e;--search-border:#3a3a3c;--search-result-bg:#1c1c1e;--search-result-border:#3a3a3c;--modal-bg:#1c1c1e;--modal-border:#3a3a3c;--season-bg:#2c2c2e;--season-hover:#3a3a3c;--button-bg:#5a5af0;--button-text:#fff;--button-hover:#4949d0;--button-secondary-bg:#2c2c2e;--button-secondary-text:#f5f5f7;--button-secondary-hover:#3a3a3c;--theme-switch-bg:#3a3a3c;--theme-switch-knob:#fff;--toast-bg:#2a2a1a;--toast-border:#7a6a2a;--toast-text:#d4b84a;--toast-border-hover:#a08a3a;--rating-modal-bg:#1a1a24;--rating-modal-border:#3a3a5a;--rating-modal-title:#f0f0ff;--rating-modal-muted:#9aa0d6;--rating-modal-value:#fff;--rating-modal-secondary-bg:#2a2a3a;--rating-modal-secondary-text:#dfe6ff;--rating-modal-accent:#5a5af0;--my-rating-bg:#5a5af01f;--my-rating-border:#5a5af0;--my-rating-text:#dfe6ff;--my-rating-hover-bg:#5a5af033;--rating-personal-color:#7ab8ff}.theme-switch{background:var(--theme-switch-bg);cursor:pointer;border:0;border-radius:999px;flex:0 0 48px;width:48px;height:28px;padding:0;transition:background-color .2s;position:relative}.theme-switch:hover{background:var(--theme-switch-bg)}.theme-switch:focus-visible{outline:2px solid var(--accent-color);outline-offset:2px}.theme-switch-icon{color:#f59e0b;width:14px;height:14px;transition:left .2s,right .2s;position:absolute;top:7px;right:7px}.theme-switch-icon.moon{color:var(--text-primary);left:7px;right:auto}.theme-switch-icon svg{stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%;display:block}.theme-switch-icon svg circle,.theme-switch-icon svg path{fill:none}.theme-switch-knob{background:var(--theme-switch-knob);width:24px;height:24px;box-shadow:var(--shadow-sm);border-radius:50%;transition:transform .2s;position:absolute;top:2px;left:2px}.theme-switch[aria-checked=true]{background:var(--accent-color)}.theme-switch[aria-checked=true] .theme-switch-knob{transform:translate(20px)}@media (prefers-reduced-motion:reduce){.theme-switch,.theme-switch-icon,.theme-switch-knob{transition:none}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg-primary);color:var(--text-primary);min-height:100vh;font-family:system-ui,sans-serif;transition:background-color .2s,color .2s}.app-header{background:var(--header-bg);border-bottom:1px solid var(--header-border);justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex}.app-header h1{font-size:1.5rem}.header-nav{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.header-nav button{border:1px solid var(--border-color);background:var(--button-secondary-bg);color:var(--button-secondary-text);cursor:pointer;border-radius:6px;padding:.4rem 1rem;font-size:.9rem;transition:background-color .15s,border-color .15s}.header-nav button:hover{background:var(--button-secondary-hover)}.user-pill{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-primary);border-radius:999px;align-items:center;gap:.5rem;max-width:140px;padding:.2rem .6rem;font-size:.85rem;display:inline-flex;overflow:hidden}.user-name{text-overflow:ellipsis;white-space:nowrap;max-width:90px;display:inline-block;overflow:hidden}.avatar-initials{background:var(--bg-tertiary);width:28px;height:28px;color:var(--text-primary);border-radius:50%;justify-content:center;align-items:center;font-weight:600;display:inline-flex}@media (width<=700px){.user-name{display:none}}.user-avatar{object-fit:cover;border-radius:50%;width:24px;height:24px}.auth-gate{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:40vh;padding:2rem 1rem;display:flex}.auth-gate h2{margin-bottom:.25rem;font-size:1.8rem}.auth-gate p{color:var(--text-secondary);max-width:480px}.auth-button{background:var(--accent-color);color:#fff;cursor:pointer;border:none;border-radius:10px;padding:.8rem 1.5rem;font-size:1rem;transition:background-color .15s}.auth-button:hover{background:var(--accent-hover)}.dashboard{max-width:1400px;margin:0 auto;padding:1rem}@media (width>=768px){.dashboard{padding:1.5rem 2rem}}.search-bar{margin-bottom:1.5rem;position:relative}.search-input-row{z-index:91;gap:.5rem;display:flex;position:relative}.search-input-container{flex:1;min-width:0;position:relative}.search-input-container input{border:1px solid var(--search-border);background:var(--search-bg);width:100%;color:var(--text-primary);border-radius:8px;padding:.6rem 40px .6rem 1rem;font-size:1rem}.search-input-row>button{background:var(--accent-color);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.6rem 1.2rem;font-size:1rem;transition:background-color .15s}.search-input-row>button:hover{background:var(--accent-hover)}.search-clear-btn{width:24px;height:24px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:color .15s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.search-clear-btn:hover{color:var(--text-primary);background:0 0}.search-clear-btn svg{width:16px;height:16px}.search-tracked-label{color:var(--success-color);white-space:nowrap;align-self:center;font-size:.8rem;font-weight:600}.search-error{color:var(--danger-color);margin-top:.5rem;font-size:.85rem}.search-backdrop{z-index:90;background:#0003;position:fixed;inset:0}.search-results{background:var(--search-result-bg);border:1px solid var(--search-result-border);z-index:100;border-radius:8px;max-height:360px;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.search-empty{color:var(--text-secondary);text-align:center;margin:0;padding:1rem}.search-results li{border-bottom:1px solid var(--border-color);cursor:pointer;align-items:center;gap:.75rem;padding:.6rem 1rem;display:flex}.search-results li:hover{background:var(--season-hover)}.search-results li:last-child{border-bottom:none}.search-results img{object-fit:cover;border-radius:4px;width:40px;height:60px}.search-results li>div{flex:1}.search-results li p{color:var(--text-secondary);margin-top:2px;font-size:.8rem}.search-results li button{border:1px solid var(--accent-color);color:var(--accent-color);cursor:pointer;white-space:nowrap;background:0 0;border-radius:6px;padding:.3rem .7rem}.search-results li button:hover{background:var(--accent-light)}.search-results .search-result-preview{min-width:0;color:var(--text-primary);text-align:left;white-space:normal;background:0 0;border:0;flex:1;align-items:center;gap:.75rem;padding:0;display:flex}.search-results .search-result-preview:hover{background:0 0}.search-result-preview>span{flex-direction:column;min-width:0;display:flex}.search-result-year,.search-result-overview{color:var(--text-secondary)}.search-result-overview{margin-top:2px;font-size:.8rem}.tabs{border-bottom:2px solid var(--border-color);scrollbar-width:none;-ms-overflow-style:none;z-index:50;background:var(--bg-primary);gap:0;width:calc(100% + 2rem);margin-bottom:1.5rem;margin-left:-1rem;margin-right:-1rem;padding-bottom:0;padding-left:1rem;padding-right:1rem;display:flex;position:sticky;top:0;overflow-x:auto}@media (width>=768px){.tabs{width:calc(100% + 4rem);margin-left:-2rem;margin-right:-2rem;padding-left:2rem;padding-right:2rem}}.tabs::-webkit-scrollbar{display:none}.tab{color:var(--text-secondary);cursor:pointer;white-space:nowrap;border:none;border-bottom:3px solid #0000;border-right:1px solid var(--border-color);background:0 0;flex-shrink:0;margin-bottom:-2px;padding:.55rem 1.1rem;font-size:.85rem;transition:color .15s,border-color .15s}.tab:last-child{border-right:none}.tab:hover{color:var(--text-primary)}.tab.active{color:var(--accent-color);border-bottom-color:var(--accent-color);background:var(--accent-light)}.show-grid{grid-template-columns:repeat(3,1fr);align-items:start;gap:1rem;display:grid}@media (width>=540px){.show-grid{grid-template-columns:repeat(4,1fr)}}@media (width>=768px){.show-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}.empty{color:var(--text-secondary);text-align:center;grid-column:1/-1;padding:3rem}.show-card{background:var(--card-bg);cursor:pointer;border:1px solid var(--card-border);border-radius:10px;transition:transform .15s,border-color .15s;position:relative;overflow:hidden}.show-card:hover{border-color:var(--accent-color);transform:translateY(-3px)}.show-card img{aspect-ratio:2/3;object-fit:cover;width:100%;display:block}.poster-placeholder{aspect-ratio:2/3;background:var(--card-border);width:100%;color:var(--text-secondary);justify-content:center;align-items:center;font-size:3rem;display:flex}.card-info{flex-direction:column;gap:.3rem;padding:.6rem;display:flex}.card-info h3{font-size:.85rem;line-height:1.2}.seasons-count{color:var(--text-secondary);font-size:.75rem}.card-ratings{flex-wrap:wrap;gap:.4rem;margin-top:.1rem;display:flex}.delete-btn{color:#ccc;cursor:pointer;background:#0008;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:.75rem;display:none;position:absolute;top:6px;right:6px}.show-card:hover .delete-btn{display:flex}.delete-btn:hover{color:#fff;background:#c33}@media (hover:none){.show-card .delete-btn{display:flex}}.movie-card{padding-bottom:2.3rem}.movie-status-planned{color:#1e40af;background:#dbeafe}.movie-status-watched{color:#166534;background:#dcfce7}[data-theme=dark] .movie-status-planned{color:#8cbcff;background:#1a2a4a}[data-theme=dark] .movie-status-watched{color:#8fd7a0;background:#1a3a2a}.movie-seen-toggle{border:1px solid var(--border-color);background:var(--button-secondary-bg);color:var(--button-secondary-text);cursor:pointer;border-radius:6px;padding:.35rem .5rem;font-size:.72rem;position:absolute;bottom:.5rem;left:.5rem;right:.5rem}.movie-seen-toggle:hover{background:var(--button-secondary-hover)}.movie-library{flex-direction:column;gap:1rem;display:flex}.movie-library .section-heading{margin-top:.5rem}.movie-library .section-divider{margin:.5rem 0 1rem}.movie-detail{max-height:90vh;overflow:auto}.movie-detail .badges{margin-bottom:.75rem}.movie-meta-line{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:.65rem;margin:.5rem 0;font-size:.8rem;display:flex}.movie-detail .modal-poster{width:180px}.movie-detail .modal-header{margin-bottom:0}.movie-detail .modal-meta{min-width:0}.movie-error{color:var(--danger-color);margin-top:.75rem;font-size:.85rem}.untrack-btn{background:var(--danger-light);color:var(--danger-color);cursor:pointer;border:none;border-radius:6px;padding:.25rem .6rem;font-size:.75rem;transition:background-color .15s,color .15s}.untrack-btn:hover{filter:brightness(.95)}[data-theme=dark] .untrack-btn{color:#fff;background:#523737}[data-theme=dark] .untrack-btn:hover{color:#fff;filter:none;background:#6a3f3f}.untrack-btn:active{transform:translateY(1px)}.modal-action-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.my-rating-btn{border:1px solid var(--my-rating-border);background:var(--my-rating-bg);color:var(--my-rating-text);cursor:pointer;border-radius:6px;padding:.35rem .7rem;font-size:.75rem}.my-rating-btn:hover{background:var(--my-rating-hover-bg)}.refresh-card-btn{color:#ccc;cursor:pointer;background:#0008;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:.9rem;transition:color .15s;display:none;position:absolute;top:6px;left:6px}.show-card:hover .refresh-card-btn{display:flex}.refresh-card-btn:hover{color:#9090f0;background:#1a1a4a}.refresh-card-btn.spinning{cursor:default;animation:.8s linear infinite spin;display:flex}.badge{text-transform:uppercase;letter-spacing:.03em;border-radius:4px;padding:.15rem .5rem;font-size:.7rem;font-weight:600;display:inline-block}.production-ongoing{background:var(--success-light);color:var(--success-color)}.production-ended{background:var(--danger-light);color:var(--danger-color)}.status-watching_now{color:#1e40af;background:#dbeafe}.status-not_watched{color:#374151;background:#e5e7eb}.status-up_to_date{color:#3f6212;background:#ecfccb}.status-finished{color:#6b21a8;background:#f3e8ff}.status-dropped{color:#9a3412;background:#ffedd5}[data-theme=dark] .status-watching_now{color:#5f9fca;background:#1a2a4a}[data-theme=dark] .status-not_watched{color:#888;background:#2a2a2a}[data-theme=dark] .status-up_to_date{color:#9fca5f;background:#2a3a1a}[data-theme=dark] .status-finished{color:#9f5fca;background:#2a1a3a}[data-theme=dark] .status-dropped{color:#ca9f5f;background:#3a2a1a}.modal-overlay{z-index:200;background:#0009;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal{background:var(--modal-bg);border:1px solid var(--modal-border);border-radius:12px;width:100%;max-width:700px;max-height:90vh;padding:1.5rem;position:relative;overflow-y:auto}.modal-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;font-size:1.2rem;position:absolute;top:1rem;right:1rem}.modal-close:hover{color:var(--text-primary)}.modal-header{gap:1.5rem;margin-bottom:1.5rem;display:flex}.modal-poster-wrap{flex-shrink:0}.modal-poster{object-fit:cover;border-radius:8px;width:120px}@media (width<=540px){.modal-header{flex-direction:column;gap:0}.modal-poster{aspect-ratio:16/9;object-fit:cover;border-radius:8px 8px 0 0;width:100%;margin-bottom:1rem}.modal-poster-wrap{border-radius:8px 8px 0 0;width:100%;margin-bottom:1rem;position:relative;overflow:hidden}.modal-poster-wrap:after{content:"";pointer-events:none;background:linear-gradient(#00000059 0%,#0000 30% 70%,#00000073 100%);position:absolute;inset:0}.modal-poster-wrap .modal-poster{border-radius:0;width:100%;margin-bottom:0}.movie-detail .modal-poster{width:100%}.movie-detail .modal-meta{padding:0 .25rem}}.modal-meta h2{margin-bottom:.5rem;font-size:1.4rem}.overview{color:var(--text-secondary);margin-bottom:.75rem;font-size:.9rem;line-height:1.5}.cast-section{margin:.25rem 0 .85rem;overflow:hidden}.cast-row{scrollbar-width:thin;gap:.6rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.cast-card{text-align:center;color:inherit;flex-direction:column;flex:0 0 82px;align-items:center;gap:.35rem;text-decoration:none;display:flex}.cast-card:hover{opacity:.9}.cast-photo{object-fit:cover;border:1px solid var(--card-border);background:var(--card-border);border-radius:8px;width:72px;height:72px;display:block}.cast-placeholder{color:var(--text-primary);justify-content:center;align-items:center;font-size:1.1rem;font-weight:700;display:flex}.cast-name{color:var(--text-primary);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:72px;font-size:.68rem;line-height:1.2;display:-webkit-box;overflow:hidden}.badges{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.modal-ratings{flex-wrap:wrap;gap:.75rem;margin-top:.5rem;display:flex}.rating-imdb,.rating-rt{align-items:center;gap:.25rem;line-height:1.2;text-decoration:none;display:inline-flex}.rating-imdb{color:#f5c518;font-size:.8rem}.rating-rt{color:#fa320a;font-size:.8rem}.modal-ratings .rating-imdb{color:#f5c518;font-size:.85rem}.modal-ratings .rating-rt{color:#fa320a;font-size:.85rem}.rating-icon-svg{vertical-align:middle;flex-shrink:0;width:1em;height:1em;display:inline-block}.rating-personal{color:var(--rating-personal-color);align-items:center;gap:.25rem;font-size:.8rem;display:inline-flex}.rating-personal .rating-icon-svg{color:var(--rating-personal-color)}.rating-imdb-text{letter-spacing:.02em;font-weight:700}.rating-imdb{color:#f5c518;align-items:center;gap:.3rem;font-size:.8rem;text-decoration:none;display:inline-flex}.rating-modal-backdrop{z-index:250;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.rating-modal{background:var(--rating-modal-bg);border:1px solid var(--rating-modal-border);border-radius:12px;width:min(100%,360px);padding:1.25rem 1rem 1rem;position:relative}.rating-modal h3{color:var(--rating-modal-title);margin-bottom:1rem;font-size:1.05rem}.rating-editor{flex-direction:column;gap:.7rem;display:flex}.rating-editor input[type=range]{width:100%;accent-color:var(--rating-modal-accent)}.rating-scale-labels{color:var(--rating-modal-muted);justify-content:space-between;font-size:.72rem;display:flex}.rating-value-display{text-align:center;color:var(--rating-modal-value);font-size:1.3rem;font-weight:700}.rating-modal-actions{justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}.secondary-action,.primary-action{cursor:pointer;border:none;border-radius:8px;padding:.5rem .9rem;font-weight:600}.secondary-action{background:var(--rating-modal-secondary-bg);color:var(--rating-modal-secondary-text)}.primary-action{background:var(--button-bg);color:var(--button-text)}.primary-action:hover{background:var(--button-hover)}.seasons-list{flex-direction:column;gap:.5rem;display:flex}.mark-all-watched{color:var(--text-secondary);cursor:pointer;border-bottom:1px solid var(--border-color);-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.6rem 0;font-size:.85rem;display:flex}.mark-all-watched:hover{color:var(--text-primary)}.mark-dropped{color:var(--text-secondary);cursor:pointer;border-top:1px solid var(--border-color);-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;margin-top:.75rem;padding:.6rem 0;font-size:.85rem;display:flex}.mark-dropped:hover{color:#ca9f5f}.season-accordion{border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.season-header{background:var(--season-bg);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding:.6rem 1rem;display:flex}.season-header:hover{background:var(--season-hover)}.season-header label{cursor:pointer;align-items:center;gap:.4rem;font-size:.85rem;display:flex}.episode-list{flex-direction:column;gap:.3rem;padding:.5rem 1rem;list-style:none;display:flex}.episode-list li label{cursor:pointer;align-items:flex-start;gap:.5rem;padding:.2rem 0;font-size:.85rem;display:flex}.episode-list li label:hover{color:var(--text-primary)}.ep-label{flex-direction:column;gap:.1rem;display:flex}.ep-airdate{color:var(--text-primary);font-size:.75rem}.episode-unaired{opacity:.45}.episode-unaired label{cursor:default}.episode-unaired .ep-airdate{color:inherit}.season-progress{color:var(--text-secondary);margin-left:.5rem;font-size:.75rem;font-weight:400}.popular-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}@media (width>=540px){.popular-grid{grid-template-columns:repeat(4,1fr)}}@media (width>=768px){.popular-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}.popular-card{background:var(--card-bg);border:1px solid var(--card-border);cursor:pointer;border-radius:10px;overflow:hidden}.popular-card img{aspect-ratio:2/3;object-fit:cover;width:100%;display:block}.popular-title{color:var(--text-primary);padding:.6rem;font-size:.9rem}.hamburger{color:var(--text-primary);cursor:pointer;background:0 0;border:none;font-size:1.2rem;display:inline-flex}.mobile-menu{background:var(--bg-secondary);border:1px solid var(--border-color);z-index:500;border-radius:8px;min-width:160px;padding:.5rem;display:block;position:absolute;top:66px;right:1rem}.mobile-menu-backdrop{z-index:499;position:fixed;inset:0}.mobile-menu button{text-align:left;white-space:nowrap;width:100%;margin:.25rem 0;display:block}.mobile-menu .refresh-btn{border-radius:6px;height:auto;padding:.4rem 1rem}.mobile-menu-theme-switch{display:none}.header-nav{position:relative}@media (width<=700px){.header-nav>button:not(.hamburger):not(.theme-switch),.header-nav>.refresh-btn,.header-nav>input,.header-nav>.theme-switch{display:none}.header-nav>.user-pill{display:inline-flex}.mobile-menu-theme-switch{display:block}.mobile-menu-theme-switch .theme-switch{background:var(--theme-switch-bg);text-align:center;border:0;border-radius:999px;width:48px;height:28px;margin:.25rem 0;padding:0;display:block}}.tab-content.slide-left{animation:.22s ease-out slideInLeft}.tab-content.slide-right{animation:.22s ease-out slideInRight}.popular-grid.slide-left{animation:.22s ease-out slideInLeft}.popular-grid.slide-right{animation:.22s ease-out slideInRight}@keyframes slideInLeft{0%{opacity:0;transform:translate(32px)}to{opacity:1;transform:translate(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(-32px)}to{opacity:1;transform:translate(0)}}.section-divider{border:none;border-top:1px solid var(--border-color);margin:2rem 0 1.25rem}.section-heading{text-transform:uppercase;letter-spacing:.08em;color:var(--text-tertiary);margin-bottom:.75rem;font-size:.9rem;font-weight:600}.drag-wrapper{cursor:grab}.drag-wrapper:active{cursor:grabbing}.drag-wrapper[draggable]:hover .show-card{border-color:#5a5af088}.drag-wrapper.drag-over .show-card{border-color:#5a5af0;outline:2px dashed #5a5af066}.scroll-to-top{border:1px solid var(--border-color);background:var(--card-bg)ee;width:40px;height:40px;color:var(--text-secondary);cursor:pointer;z-index:150;border-radius:50%;justify-content:center;align-items:center;font-size:1.1rem;transition:color .15s,border-color .15s;display:flex;position:fixed;bottom:2rem;right:2rem}.scroll-to-top:hover{color:var(--text-primary);border-color:var(--accent-color)}.refresh-btn{border:1px solid var(--border-color);width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:1rem;transition:color .15s,border-color .15s;display:flex}.refresh-btn:hover:not(:disabled){color:var(--accent-color);border-color:var(--accent-color)}.refresh-btn:disabled{opacity:.5;cursor:default;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.import-toast{background:var(--toast-bg);border:1px solid var(--toast-border);color:var(--toast-text);text-align:center;z-index:400;cursor:pointer;border-radius:8px;max-width:600px;padding:.75rem 1.25rem;font-size:.875rem;line-height:1.5;position:fixed;bottom:2rem;left:50%;transform:translate(-50%)}.import-toast:hover{border-color:var(--toast-border-hover)}.modal button:not(.auth-button):not(.modal-close){border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;background:0 0;border-radius:8px;padding:.4rem .9rem}.modal button:not(.auth-button):not(.modal-close):hover{background:var(--bg-tertiary)}.import-overlay{z-index:300;background:#0009;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;display:flex;position:fixed;inset:0}.import-overlay p{color:var(--text-primary);font-size:1rem}.import-spinner{border:3px solid var(--border-color);border-top-color:var(--accent-color);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}
