:root{--bg-primary:#fff;--bg-secondary:#f9fafb;--bg-tertiary:#fafafa;--text-primary:#1a1a1a;--text-secondary:#4b5563;--text-tertiary:#6b7280;--border-primary:#e5e7eb;--border-secondary:#d1d5db;--sidebar-bg:linear-gradient(180deg,#1f2937,#111827);--sidebar-text:#9ca3af;--sidebar-text-active:#f9fafb;--sidebar-border:hsla(0,0%,100%,.08);--header-bg:linear-gradient(90deg,#fff,#fafafa);--card-bg:#fff;--shadow-sm:rgba(0,0,0,.04);--shadow-md:rgba(0,0,0,.12);--hover-bg:#f9fafb;--hover-border:#d1d5db}[data-theme=dark]{--bg-primary:#0d1117;--bg-secondary:#161b22;--bg-tertiary:#1c2128;--bg-elevated:#21262d;--text-primary:#e6edf3;--text-secondary:#b1bac4;--text-tertiary:#8b949e;--border-primary:#30363d;--border-secondary:#484f58;--sidebar-bg:linear-gradient(180deg,#0d1117,#010409);--sidebar-text:#7d8590;--sidebar-text-active:#f0f6fc;--sidebar-border:rgba(240,246,252,.06);--header-bg:linear-gradient(90deg,#0d1117,#161b22);--card-bg:#161b22;--shadow-sm:rgba(0,0,0,.4);--shadow-md:rgba(0,0,0,.6);--hover-bg:#21262d;--hover-border:#484f58;--accent-primary:#58a6ff;--accent-secondary:#bc8cff;--accent-danger:#f85149;--accent-success:#3fb950;--accent-warning:#d29922;color-scheme:dark}[data-theme=dark] .dashboard-header-bar{background:linear-gradient(90deg,#0d1117,#161b22);border-bottom-color:#30363d}[data-theme=dark] .header-title{color:#e6edf3}[data-theme=dark] .header-pill{background:#21262d;border-color:#30363d;color:#b1bac4}[data-theme=dark] .header-pill:hover{background:#30363d;border-color:#484f58;color:#e6edf3}[data-theme=dark] .header-lang-btn{background:#21262d;border-color:#30363d;color:#8b949e}[data-theme=dark] .header-lang-btn:hover{background:#30363d;color:#b1bac4}[data-theme=dark] .header-lang-btn.active{background:#58a6ff;border-color:#58a6ff;color:#0d1117}[data-theme=dark] .header-icon-btn:hover{background:#30363d}[data-theme=dark] .profile-dropdown{background:#1c2128;border-color:#30363d;box-shadow:0 16px 48px rgba(0,0,0,.6)}[data-theme=dark] .profile-dropdown-title{color:#e6edf3}[data-theme=dark] .profile-dropdown-upgrade{background:#58a6ff;color:#0d1117}[data-theme=dark] .profile-dropdown-upgrade:hover{background:#79c0ff}[data-theme=dark] .profile-dropdown-balance-row{color:#8b949e}[data-theme=dark] .profile-dropdown-value{color:#e6edf3}[data-theme=dark] .profile-dropdown-divider{background:#30363d}[data-theme=dark] .profile-dropdown-workspace{color:#e6edf3}[data-theme=dark] .profile-dropdown-sub{color:#8b949e}[data-theme=dark] .profile-dropdown-signout{color:#8b949e;border-color:#30363d}[data-theme=dark] .profile-dropdown-signout:hover{background:#21262d;color:#e6edf3}[data-theme=dark] .profile-dropdown-packages-note,[data-theme=dark] .profile-dropdown-packages-title{color:#8b949e}[data-theme=dark] .dashboard-main{background:#0d1117;box-shadow:-4px 0 24px rgba(0,0,0,.5)}[data-theme=dark] .tts-editor-bottom{border-top-color:#30363d;background:#0d1117}[data-theme=dark] .tts-card{background:#161b22;border-color:#30363d;box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .tts-card-head{border-bottom-color:#21262d;background:linear-gradient(180deg,#1c2128,#161b22)}[data-theme=dark] .tts-card-title{color:#e6edf3}[data-theme=dark] .tts-btn-primary{background:#58a6ff;color:#0d1117;border-color:#58a6ff}[data-theme=dark] .tts-btn-primary:hover:not(:disabled){background:#79c0ff;border-color:#79c0ff}[data-theme=dark] .tts-btn-secondary{background:#21262d;color:#b1bac4;border-color:#30363d}[data-theme=dark] .tts-btn-secondary:hover:not(:disabled){background:#30363d;color:#e6edf3}[data-theme=dark] .tts-btn-danger{background:rgba(248,81,73,.1);color:#f85149;border-color:rgba(248,81,73,.3)}[data-theme=dark] .tts-btn-danger:hover:not(:disabled){background:rgba(248,81,73,.2)}[data-theme=dark] .tts-label{color:#8b949e}[data-theme=dark] .tts-input-num{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .tts-input-hint{color:#6e7681}[data-theme=dark] .tts-imported-badge{background:rgba(63,185,80,.1);border-color:rgba(63,185,80,.3);color:#3fb950}[data-theme=dark] .tts-pill-total{background:#21262d;color:#b1bac4}[data-theme=dark] .tts-pill-queue{background:rgba(210,153,34,.15);color:#d29922}[data-theme=dark] .tts-pill-success{background:rgba(63,185,80,.15);color:#3fb950}[data-theme=dark] .tts-pill-fail{background:rgba(248,81,73,.15);color:#f85149}[data-theme=dark] .tts-badge-queue{background:#21262d;color:#8b949e}[data-theme=dark] .tts-badge-pending{background:rgba(210,153,34,.15);color:#d29922}[data-theme=dark] .tts-badge-success{background:rgba(63,185,80,.15);color:#3fb950}[data-theme=dark] .tts-badge-fail{background:rgba(248,81,73,.15);color:#f85149}[data-theme=dark] .tts-filter-tabs{background:#0d1117}[data-theme=dark] .tts-filter-tab{color:#8b949e}[data-theme=dark] .tts-filter-tab:hover{color:#b1bac4}[data-theme=dark] .tts-filter-tab.active{background:#21262d;color:#e6edf3;box-shadow:0 1px 3px rgba(0,0,0,.3)}[data-theme=dark] .tts-btn-link{color:#58a6ff}[data-theme=dark] .tts-btn-link-danger{color:#f85149}[data-theme=dark] .tts-toolbar-sep{color:#30363d}[data-theme=dark] .tts-input-text{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .tts-input-text:focus{border-color:#58a6ff;box-shadow:0 0 0 2px rgba(88,166,255,.15)}[data-theme=dark] .tts-add-chunk-row .tts-btn-secondary{background:#21262d;border-color:#30363d;color:#b1bac4}[data-theme=dark] .tts-table-wrap{border-color:#30363d}[data-theme=dark] .tts-table thead{background:#161b22}[data-theme=dark] .tts-table th{color:#b1bac4;border-bottom-color:#30363d;background:#161b22}[data-theme=dark] .tts-table td{border-bottom-color:#21262d;color:#b1bac4}[data-theme=dark] .tts-table tbody tr:hover{background:#1c2128}[data-theme=dark] .tts-td-content{color:#e6edf3}[data-theme=dark] .tts-btn-icon{color:#6e7681}[data-theme=dark] .tts-btn-icon:hover{background:rgba(248,81,73,.15);color:#f85149}[data-theme=dark] .tts-btn-icon-edit{color:#58a6ff}[data-theme=dark] .tts-btn-icon-edit:hover{background:rgba(88,166,255,.15);color:#79c0ff}[data-theme=dark] .tts-btn-icon-save{color:#3fb950}[data-theme=dark] .tts-btn-icon-save:hover{background:rgba(63,185,80,.15);color:#56d364}[data-theme=dark] .tts-chunk-edit-textarea{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .tts-chunk-edit-textarea:focus{border-color:#58a6ff;box-shadow:0 0 0 2px rgba(88,166,255,.15)}[data-theme=dark] .tts-empty-state{color:#6e7681}[data-theme=dark] .tts-progress-bar-bg{background:#21262d}[data-theme=dark] .tts-progress-bar-fill{background:linear-gradient(90deg,#3fb950,#2ea043)}[data-theme=dark] .tts-progress-text{color:#b1bac4}[data-theme=dark] .tts-btn-generate{background:linear-gradient(135deg,#58a6ff,#388bfd);color:#0d1117}[data-theme=dark] .tts-btn-generate:hover:not(:disabled){background:linear-gradient(135deg,#79c0ff,#58a6ff)}[data-theme=dark] .tts-btn-stop{background:rgba(248,81,73,.1);color:#f85149;border-color:rgba(248,81,73,.3)}[data-theme=dark] .tts-btn-stop:hover:not(:disabled){background:rgba(248,81,73,.2)}[data-theme=dark] .tts-btn-merge{background:rgba(63,185,80,.1);color:#3fb950;border-color:rgba(63,185,80,.3)}[data-theme=dark] .tts-btn-merge:hover:not(:disabled){background:rgba(63,185,80,.2)}[data-theme=dark] .tts-btn-download{background:rgba(88,166,255,.1);color:#58a6ff;border-color:rgba(88,166,255,.3)}[data-theme=dark] .tts-btn-download:hover{background:rgba(88,166,255,.2)}[data-theme=dark] .btn-generate-gradient{background:linear-gradient(135deg,#58a6ff,#388bfd 50%,#1f6feb);color:#0d1117;box-shadow:0 4px 14px rgba(56,139,253,.35)}[data-theme=dark] .btn-generate-gradient:hover:not(:disabled){background:linear-gradient(135deg,#79c0ff,#58a6ff 50%,#388bfd);box-shadow:0 6px 20px rgba(88,166,255,.4)}[data-theme=dark] .btn-generate-gradient:disabled{background:linear-gradient(135deg,#21262d,#30363d);color:#484f58}[data-theme=dark] .btn-download-gradient{background:rgba(63,185,80,.1);border-color:rgba(63,185,80,.3);color:#3fb950}[data-theme=dark] .btn-download-gradient:hover{background:rgba(63,185,80,.2);box-shadow:0 2px 8px rgba(63,185,80,.2)}[data-theme=dark] .tts-error{color:#f85149}[data-theme=dark] .tts-promo-banner{background:linear-gradient(90deg,#0d1f0d,#0a3622 30%,#0d4026 60%,#16522f);border-color:rgba(63,185,80,.2);box-shadow:0 4px 14px rgba(63,185,80,.15)}[data-theme=dark] .tts-settings-panel{background:linear-gradient(180deg,#161b22,#0d1117)!important;border-color:#30363d!important;box-shadow:0 4px 20px rgba(0,0,0,.4)!important}[data-theme=dark] .settings-tabs{border-bottom-color:#30363d}[data-theme=dark] .settings-tabs .tab{color:#e6edf3}[data-theme=dark] .settings-tabs .tab.active{color:#bc8cff;border-bottom-color:#bc8cff}[data-theme=dark] .settings-label{color:#8b949e}[data-theme=dark] .settings-select{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .settings-field-wrap{background:linear-gradient(180deg,#1c2128,#161b22);border-color:#30363d;box-shadow:0 1px 3px rgba(0,0,0,.3)}[data-theme=dark] .settings-field-select{color:#e6edf3;background-color:#161b22}[data-theme=dark] .settings-field-select option{background:#1c2128;color:#e6edf3;padding:8px}[data-theme=dark] .field-arrow{color:#6e7681}[data-theme=dark] .model-badge{background:#21262d;color:#8b949e}[data-theme=dark] .slider-title{color:#e6edf3}[data-theme=dark] .slider-label-left,[data-theme=dark] .slider-label-right{color:#6e7681}[data-theme=dark] .slider-value-bubble{background:#58a6ff;border-color:#58a6ff;color:#0d1117}[data-theme=dark] .slider-value-bubble:after{border-top-color:#58a6ff}[data-theme=dark] .slider-custom{background:linear-gradient(to right,#58a6ff var(--percent),#30363d var(--percent))}[data-theme=dark] .slider-custom::-webkit-slider-thumb{background:#58a6ff;border-color:#0d1117;box-shadow:0 1px 6px rgba(88,166,255,.5)}[data-theme=dark] .slider-custom::-moz-range-track{background:linear-gradient(to right,#58a6ff var(--percent),#30363d var(--percent))}[data-theme=dark] .slider-custom::-moz-range-thumb{background:#58a6ff;border-color:#0d1117;box-shadow:0 1px 6px rgba(88,166,255,.5)}[data-theme=dark] .settings-section .toggle.off{background:linear-gradient(90deg,#30363d,#21262d)}[data-theme=dark] .settings-section .toggle.on{background:linear-gradient(90deg,#58a6ff,#388bfd);box-shadow:0 2px 8px rgba(88,166,255,.3)}[data-theme=dark] .toggle-thumb{background:#e6edf3}[data-theme=dark] .settings-reset{border-top-color:#30363d}[data-theme=dark] .reset-values-btn{color:#8b949e;background:rgba(88,166,255,.05)}[data-theme=dark] .reset-values-btn:hover{color:#58a6ff;background:rgba(88,166,255,.1)}[data-theme=dark] .voice-modal-backdrop{background:rgba(0,0,0,.65)}[data-theme=dark] .voice-modal.voice-panel{background:#161b22;box-shadow:-4px 0 32px rgba(0,0,0,.6)}[data-theme=dark] .voice-modal-header{border-bottom-color:#30363d}[data-theme=dark] .voice-modal-back{color:#8b949e}[data-theme=dark] .voice-modal-back:hover,[data-theme=dark] .voice-modal-title{color:#e6edf3}[data-theme=dark] .voice-modal-tabs{border-bottom-color:#30363d}[data-theme=dark] .voice-modal-tab{color:#8b949e}[data-theme=dark] .voice-modal-tab.active{color:#e6edf3;border-bottom-color:#58a6ff}[data-theme=dark] .voice-modal-search-wrap{background:#0d1117;border-color:#30363d}[data-theme=dark] .voice-modal-search-wrap:focus-within{border-color:#58a6ff;box-shadow:0 0 0 2px rgba(88,166,255,.15)}[data-theme=dark] .voice-modal-search{color:#e6edf3}[data-theme=dark] .voice-modal-search::placeholder{color:#6e7681}[data-theme=dark] .voice-modal-item:hover{background:#1c2128}[data-theme=dark] .voice-modal-item.selected{background:#21262d}[data-theme=dark] .voice-item-name{color:#e6edf3}[data-theme=dark] .voice-item-tags{color:#b1bac4}[data-theme=dark] .voice-item-desc{color:#6e7681}[data-theme=dark] .voice-item-play{background:#58a6ff;color:#0d1117}[data-theme=dark] .voice-item-play:hover:not(:disabled){background:#79c0ff}[data-theme=dark] .voice-item-play:disabled{background:#30363d}[data-theme=dark] .voice-item-menu{color:#8b949e}[data-theme=dark] .voice-item-menu:hover{background:#30363d}[data-theme=dark] .voice-modal-empty{color:#6e7681}[data-theme=dark] .voice-modal-error{color:#f85149}[data-theme=dark] .voice-modal-error-hint{color:#6e7681}[data-theme=dark] .voice-modal-search-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236e7681'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E")}[data-theme=dark] .tts-history-item{background:#1c2128;border-color:#30363d}[data-theme=dark] .tts-history-date{color:#b1bac4}[data-theme=dark] .history-title{color:#e6edf3}[data-theme=dark] .history-subtitle{color:#8b949e}[data-theme=dark] .tts-text-muted{color:#6e7681}[data-theme=dark] .admin-page-header{background:linear-gradient(90deg,#0d1117,#161b22);border-bottom-color:#30363d}[data-theme=dark] .admin-page-header h1{color:#e6edf3}[data-theme=dark] .admin-page-header p{color:#8b949e}[data-theme=dark] .admin-stat-card{background:#161b22;border-color:#30363d;box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .admin-stat-card:hover{border-color:#484f58;box-shadow:0 4px 16px rgba(0,0,0,.4)}[data-theme=dark] .admin-stat-label{color:#8b949e}[data-theme=dark] .admin-stat-value{color:#e6edf3}[data-theme=dark] .admin-card{background:#161b22;border-color:#30363d;box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .admin-card h2{color:#e6edf3;border-bottom-color:#21262d}[data-theme=dark] .admin-table-wrap{border-color:#30363d}[data-theme=dark] .admin-table th{background:#1c2128;color:#b1bac4;border-bottom-color:#30363d}[data-theme=dark] .admin-table td{border-bottom-color:#21262d;color:#b1bac4}[data-theme=dark] .admin-table tbody tr:hover{background:#1c2128}[data-theme=dark] .admin-btn-primary{background:#58a6ff;color:#0d1117;border-color:#58a6ff}[data-theme=dark] .admin-btn-primary:hover:not(:disabled){background:#79c0ff;border-color:#79c0ff}[data-theme=dark] .admin-btn-secondary{background:#21262d;color:#b1bac4;border-color:#30363d}[data-theme=dark] .admin-btn-secondary:hover:not(:disabled){background:#30363d;color:#e6edf3}[data-theme=dark] .admin-form-row input,[data-theme=dark] .admin-form-row select{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .admin-form-row input:focus,[data-theme=dark] .admin-form-row select:focus{border-color:#58a6ff;box-shadow:0 0 0 2px rgba(88,166,255,.15)}[data-theme=dark] .admin-badge-success{background:rgba(63,185,80,.15);color:#3fb950}[data-theme=dark] .admin-badge-warning{background:rgba(210,153,34,.15);color:#d29922}[data-theme=dark] .admin-badge-danger{background:rgba(248,81,73,.15);color:#f85149}[data-theme=dark] .admin-badge-neutral{background:#21262d;color:#8b949e}[data-theme=dark] .packages-hero-title{color:#e2e8f0}[data-theme=dark] .package-card-new{background:#161b26;border-color:hsla(0,0%,100%,.08)}[data-theme=dark] .package-card-new:hover{border-color:rgba(124,58,237,.3)}[data-theme=dark] .package-price-big{color:#f1f5f9}[data-theme=dark] .package-feature-item{color:#94a3b8}[data-theme=dark] .package-features{border-top-color:hsla(0,0%,100%,.06)}[data-theme=dark] .package-buy-new{border-color:hsla(0,0%,100%,.12);color:#e2e8f0}[data-theme=dark] .package-buy-new:hover:not(:disabled){background:rgba(124,58,237,.1);color:#c4b5fd}[data-theme=dark] .package-buy-new:disabled{background:rgba(30,35,50,.5);color:#475569;border-color:hsla(0,0%,100%,.04)}[data-theme=dark] .packages-desc{color:#8b949e}[data-theme=dark] .purchase-modal{background:#1c2128;box-shadow:0 20px 60px rgba(0,0,0,.6)}[data-theme=dark] .purchase-modal-header{border-bottom-color:#30363d;background:linear-gradient(135deg,#21262d,#1c2128)}[data-theme=dark] .purchase-modal-header h3{color:#e6edf3}[data-theme=dark] .purchase-modal-close{color:#8b949e}[data-theme=dark] .purchase-modal-close:hover{background:#30363d;color:#e6edf3}[data-theme=dark] .purchase-modal-details{background:#0d1117;border-color:#30363d}[data-theme=dark] .purchase-modal-row:not(:last-child){border-bottom-color:#21262d}[data-theme=dark] .purchase-modal-note,[data-theme=dark] .purchase-modal-row span:first-child{color:#8b949e}[data-theme=dark] .purchase-modal-footer{border-top-color:#30363d;background:#161b22}[data-theme=dark] .purchase-modal-btn-cancel{background:#21262d;color:#b1bac4;border-color:#30363d}[data-theme=dark] .purchase-modal-btn-cancel:hover{background:#30363d;border-color:#484f58;color:#e6edf3}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:#0d1117}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#30363d;border-radius:4px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#484f58}[data-theme=dark] ::selection{background:rgba(88,166,255,.3);color:#e6edf3}[data-theme=dark] .auth-card,[data-theme=dark] .signin-card{background:#161b22;border-color:#30363d}[data-theme=dark] .sidebar-link-dark.active{background:linear-gradient(90deg,rgba(88,166,255,.12),rgba(56,139,253,.06))}*{box-sizing:border-box;padding:0;margin:0}body,html{max-width:100vw;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background-color:var(--bg-secondary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}a{color:inherit;text-decoration:none}.dashboard-layout{display:flex;min-height:100vh;background:var(--bg-secondary)}.dashboard-sidebar-dark{width:260px;min-width:260px;background:var(--sidebar-bg);display:flex;flex-direction:column;padding:16px 0}.sidebar-brand-dark{padding:0 20px 20px;margin-bottom:12px;border-bottom:1px solid var(--sidebar-border)}.brand-logo-gradient{display:inline-block;font-weight:800;font-size:1.5rem;background:linear-gradient(135deg,#f43f5e,#c5322c 50%,#b91c1c);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.brand-text-light{margin-left:4px;font-weight:600;color:#f9fafb;font-size:1.05rem}.sidebar-section-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sidebar-text);padding:0 20px 8px}.sidebar-nav-dark{display:flex;flex-direction:column;gap:2px;flex:1 1;padding:0 12px}.sidebar-link-dark{display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--sidebar-text);font-size:.9rem;border-radius:8px;transition:all .2s}.sidebar-link-dark:hover{background:hsla(0,0%,100%,.06);color:#f3f4f6}.sidebar-link-dark.active{background:linear-gradient(90deg,rgba(244,63,94,.15),rgba(196,58,44,.08));color:var(--sidebar-text-active);font-weight:500}.sidebar-nav-dark .nav-icon{font-size:1rem;opacity:.9}.sidebar-footer-dark{padding:16px 12px 0;border-top:1px solid var(--sidebar-border);display:flex;flex-direction:column;gap:6px}.sidebar-footer-dark .sidebar-link-dark{color:var(--sidebar-text)}.credit-ring-wrap{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;text-decoration:none;cursor:pointer;transition:background .2s ease;margin-top:4px}.credit-ring-wrap:hover{background:hsla(0,0%,100%,.06)}.credit-ring-circle{position:relative;width:44px;height:44px;flex-shrink:0}.credit-ring-circle svg{display:block}.credit-ring-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1rem}.credit-ring-info{display:flex;flex-direction:column;gap:1px}.credit-ring-label{font-size:.7rem;color:hsla(0,0%,100%,.4);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.credit-ring-value{font-size:.85rem;color:#e2e8f0;font-weight:700}.dashboard-main{flex:1 1;display:flex;flex-direction:column;min-width:0;background:var(--bg-primary);box-shadow:-4px 0 24px var(--shadow-sm)}.dashboard-header-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:var(--header-bg);border-bottom:1px solid var(--border-primary)}.header-left{display:flex;align-items:center;gap:10px}.header-doc-icon{font-size:1.2rem;opacity:.8}.header-title{font-size:1.1rem;font-weight:600;color:var(--text-primary)}.header-actions-bar{display:flex;align-items:center;gap:8px}.header-pill{padding:6px 14px;font-size:.8rem;border:1px solid var(--border-primary);border-radius:999px;background:var(--card-bg);color:var(--text-secondary);cursor:pointer;transition:all .2s}.header-pill:hover{background:var(--hover-bg);border-color:var(--hover-border)}.header-lang-switch{display:flex;align-items:center;margin-left:4px}.header-lang-btn{padding:4px 10px;font-size:.75rem;font-weight:600;border:1px solid var(--border-primary);background:var(--card-bg);color:var(--text-tertiary);cursor:pointer;border-radius:6px}.header-lang-btn:first-child{border-radius:6px 0 0 6px;margin-right:-1px}.header-lang-btn:last-child{border-radius:0 6px 6px 0}.header-lang-btn:hover{background:var(--hover-bg);color:var(--text-secondary)}.header-lang-btn.active{background:#111827;border-color:#111827;color:#fff}.header-icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:transparent;cursor:pointer;font-size:1rem}.header-icon-btn:hover{background:var(--hover-bg)}.theme-toggle-btn{font-size:1.2rem;transition:transform .3s ease,background .2s ease}.theme-toggle-btn:hover{transform:rotate(20deg) scale(1.1)}.header-avatar-form{display:inline}.header-avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-weight:600;font-size:.9rem;cursor:pointer;transition:transform .2s,box-shadow .2s}.header-avatar:hover{box-shadow:0 4px 12px rgba(99,102,241,.4);transform:scale(1.05)}.header-avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}.profile-dropdown-wrap{position:relative}.profile-dropdown-wrap .header-avatar{cursor:pointer}.profile-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:280px;background:var(--card-bg);border:1px solid var(--border-primary);border-radius:12px;box-shadow:0 10px 40px var(--shadow-md);padding:16px 0;z-index:100}.profile-dropdown-section{padding:0 16px}.profile-dropdown-balance-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.profile-dropdown-title{font-size:.85rem;font-weight:600;color:var(--text-primary)}.profile-dropdown-upgrade{padding:6px 14px;font-size:.8rem;font-weight:600;color:#fff;background:#111827;border:none;border-radius:8px;cursor:pointer}.profile-dropdown-upgrade:hover{background:#374151}.profile-dropdown-balance-row{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--text-tertiary);padding:4px 0}.profile-dropdown-packages{margin-top:10px}.profile-dropdown-packages-title{font-size:.8rem;color:#6b7280;margin-bottom:6px}.profile-dropdown-packages-list{display:flex;flex-direction:column;gap:6px}.profile-dropdown-packages-note{font-size:.8rem;color:#6b7280}.profile-dropdown-value{font-weight:600;color:#111827}.profile-dropdown-divider{height:1px;background:#e5e7eb;margin:12px 0}.profile-dropdown-workspace{font-size:.9rem;font-weight:600;color:#111827;margin-bottom:2px}.profile-dropdown-sub{font-size:.75rem;color:#6b7280}.profile-dropdown-signout-form{padding:0 16px;margin-top:8px}.profile-dropdown-signout{width:100%;padding:8px 12px;font-size:.85rem;color:#6b7280;background:transparent;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;text-align:center}.profile-dropdown-signout:hover{background:#f9fafb;color:#111827}.dashboard-content-simple{padding:32px 24px;max-width:640px}.dashboard-content-full{padding:12px 20px;max-width:none;width:100%}.packages-page{min-height:calc(100vh - 100px);max-height:calc(100vh - 100px);overflow:auto}.dashboard-content-simple h1{font-size:1.5rem;margin-bottom:8px}.dashboard-content-simple a{color:#0d6efd}.packages-header{margin-bottom:16px}.packages-hero{text-align:center;margin-bottom:8px}.packages-hero-title{font-size:1.4rem;font-weight:700;color:#0f172a;margin:0 0 8px;letter-spacing:-.02em}.packages-hero-subtitle{font-size:.9rem;color:#64748b;max-width:480px;margin:0 auto;line-height:1.5;font-weight:400}.packages-benefits{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;margin-top:32px;max-width:800px;margin-left:auto;margin-right:auto}.packages-benefit{display:flex;align-items:center;gap:8px;padding:12px 20px;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:12px;border:1px solid rgba(226,232,240,.8);font-weight:500;color:#4b5563;transition:all .3s ease}.packages-benefit:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.1);border-color:rgba(99,102,241,.2)}.packages-benefit-icon{font-size:1.2rem}.packages-main-card{background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid rgba(226,232,240,.6);border-radius:20px;padding:24px;box-shadow:0 8px 32px rgba(15,23,42,.08),0 4px 16px rgba(99,102,241,.05);width:100%;max-width:none;position:relative;overflow:hidden}.packages-main-card:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(99,102,241,.03) 0,transparent 50%);animation:rotate 20s linear infinite}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.packages-hero-title{font-size:2rem;flex-direction:column;gap:8px}.packages-hero-subtitle{font-size:1rem}.packages-benefits{gap:12px}.packages-benefit{padding:10px 16px;font-size:.9rem}.packages-main-card{padding:24px;border-radius:16px}}.packages-wrap{margin-top:4px;max-width:none;width:100%}.packages-desc{color:#6b7280;margin-top:8px;font-size:1rem;text-align:center;margin-bottom:32px}.packages-stats-section{margin-bottom:20px}.packages-stats-grid{margin-bottom:8px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;max-width:none}.packages-stat-card{cursor:default;position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,#f8fafc);border-radius:16px;border:1px solid rgba(226,232,240,.8);box-shadow:0 4px 16px rgba(0,0,0,.04);transition:all .3s cubic-bezier(.4,0,.2,1)}.packages-stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(0,0,0,.1);border-color:rgba(99,102,241,.2)}.packages-stat-content{display:flex;align-items:center;gap:12px;padding:16px;position:relative;z-index:2}.packages-stat-icon{font-size:1.5rem;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:10px;box-shadow:0 2px 8px rgba(99,102,241,.2)}.packages-stat-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(135deg,#6366f1,#8b5cf6);opacity:.9}.packages-stat-card:after{content:"";position:absolute;right:-80px;top:-80px;width:200px;height:200px;border-radius:999px;background:radial-gradient(circle at 30% 30%,rgba(99,102,241,.12),rgba(139,92,246,0));pointer-events:none}.packages-usage-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe)}.packages-usage-bar{width:100%;height:6px;background:rgba(226,232,240,.6);border-radius:3px;overflow:hidden;margin:6px 0 3px}.packages-usage-progress{height:100%;background:linear-gradient(90deg,#06b6d4,#0891b2);border-radius:4px;transition:width .5s ease-in-out}.packages-usage-text{font-size:.85rem;color:#0891b2;font-weight:600}.packages-period{margin-top:6px;font-size:.85rem;color:#6b7280;font-weight:500}.packages-error,.packages-success{margin:8px 0 24px;text-align:center}.packages-success{animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.purchase-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease-out}.purchase-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.3);max-width:480px;width:90%;max-height:90vh;overflow-y:auto;animation:modalSlideUp .3s cubic-bezier(.34,1.56,.64,1)}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.purchase-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f9fafb,#fff)}.purchase-modal-header h3{margin:0;font-size:1.25rem;font-weight:700;color:#111827}.purchase-modal-close{background:none;border:none;font-size:1.75rem;line-height:1;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.purchase-modal-close:hover{background:#f3f4f6;color:#111827}.purchase-modal-body{padding:32px 24px;text-align:center}.purchase-modal-icon{font-size:3.5rem;margin-bottom:16px;animation:bounce .5s ease-out}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.purchase-modal-package{margin:0 0 24px;font-size:1.5rem;font-weight:700;color:#111827;background:linear-gradient(135deg,#8b5cf6,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.purchase-modal-details{background:#f9fafb;border-radius:12px;padding:20px;margin-bottom:20px;border:1px solid #e5e7eb}.purchase-modal-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:.95rem}.purchase-modal-row:not(:last-child){border-bottom:1px solid #e5e7eb}.purchase-modal-row.purchase-modal-after{margin-top:8px;padding-top:18px;border-top:2px dashed #d1d5db;border-bottom:none;font-weight:600}.purchase-modal-row span:first-child{color:#6b7280}.purchase-modal-price{font-size:1.1rem;font-weight:700;color:#8b5cf6}.purchase-modal-balance{font-size:1rem;font-weight:600;color:#059669}.purchase-modal-balance-positive{font-size:1.1rem;font-weight:700;color:#059669}.purchase-modal-balance-negative{font-size:1.1rem;font-weight:700;color:#dc2626}.purchase-modal-note{margin:0;color:#6b7280;font-size:.95rem;line-height:1.6}.purchase-modal-footer{display:flex;gap:12px;padding:20px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.purchase-modal-btn{flex:1 1;padding:12px 24px;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border:none;outline:none}.purchase-modal-btn-cancel{background:#fff;color:#6b7280;border:2px solid #e5e7eb}.purchase-modal-btn-cancel:hover{background:#f3f4f6;border-color:#d1d5db;color:#111827}.purchase-modal-btn-confirm{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;box-shadow:0 4px 12px rgba(139,92,246,.3)}.purchase-modal-btn-confirm:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 6px 20px rgba(139,92,246,.4);transform:translateY(-1px)}.purchase-modal-btn-confirm:disabled{opacity:.6;cursor:not-allowed}@media (max-width:640px){.purchase-modal{max-width:95%}.purchase-modal-header{padding:16px 20px}.purchase-modal-body{padding:24px 20px}.purchase-modal-footer{padding:16px 20px}.purchase-modal-package{font-size:1.25rem}}.packages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px;margin-top:20px;width:100%;max-width:1000px;margin-left:auto;margin-right:auto;position:relative;z-index:1}.package-card-new{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:36px 28px 28px;position:relative;transition:border-color .3s ease,box-shadow .3s ease;display:flex;flex-direction:column;min-height:420px}.package-card-new:hover{border-color:rgba(124,58,237,.3);box-shadow:0 8px 32px rgba(124,58,237,.08)}.package-popular{border-color:#7c3aed;box-shadow:0 0 24px rgba(124,58,237,.15)}.package-disabled{opacity:.6;cursor:not-allowed}.package-disabled:hover{transform:none;box-shadow:0 4px 16px rgba(0,0,0,.04)}.package-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;padding:6px 20px;border-radius:20px;font-size:.75rem;font-weight:700;box-shadow:0 4px 16px rgba(124,58,237,.4);z-index:10;white-space:nowrap}@keyframes badgeShine{0%,to{background-position:0 50%}50%{background-position:100% 50%}}@keyframes badgePulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.package-discount{position:absolute;top:16px;left:-8px;background:linear-gradient(135deg,#ef4444,#dc2626 50%,#ef4444);background-size:200% auto;color:#fff;padding:6px 16px 6px 20px;border-radius:0 12px 12px 0;font-size:.8rem;font-weight:900;box-shadow:0 4px 16px rgba(239,68,68,.4),0 2px 8px rgba(220,38,38,.3);text-shadow:0 1px 3px rgba(0,0,0,.3);animation:discountGlow 2s ease-in-out infinite;z-index:10}@keyframes discountGlow{0%,to{background-position:0 50%;box-shadow:0 4px 16px rgba(239,68,68,.4),0 2px 8px rgba(220,38,38,.3)}50%{background-position:100% 50%;box-shadow:0 6px 20px rgba(239,68,68,.5),0 3px 10px rgba(220,38,38,.4)}}.package-discount:before{content:"";position:absolute;left:0;bottom:-8px;width:0;height:0;border-left:8px solid #991b1b;border-bottom:8px solid transparent}.package-discount:after{content:"";position:absolute;top:50%;left:50%;width:100%;height:100%;background:hsla(0,0%,100%,.2);transform:translate(-50%,-50%) scale(0);border-radius:0 12px 12px 0;animation:discountPulse 2s ease-in-out infinite}@keyframes discountPulse{0%,to{transform:translate(-50%,-50%) scale(0);opacity:.5}50%{transform:translate(-50%,-50%) scale(1.2);opacity:0}}.package-header{text-align:center;margin-bottom:20px}.package-icon{width:80px;height:80px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-radius:50%;box-shadow:0 8px 24px rgba(15,23,42,.1),inset 0 2px 4px hsla(0,0%,100%,.5);border:2px solid rgba(148,163,184,.3);transition:all .5s cubic-bezier(.4,0,.2,1);animation:float 3s ease-in-out infinite}.package-icon svg{width:100%;height:100%;filter:drop-shadow(0 2px 8px rgba(0,0,0,.15));transition:filter .3s ease}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.package-card-new:hover .package-icon{transform:scale(1.1) rotate(5deg);box-shadow:0 12px 32px rgba(99,102,241,.2),inset 0 2px 4px hsla(0,0%,100%,.7)}.package-card-new:hover .package-icon svg{filter:drop-shadow(0 4px 12px rgba(0,0,0,.25)) brightness(1.1)}.package-title-new{font-size:1rem;font-weight:700;color:#a78bfa;margin:0;letter-spacing:.02em;font-style:italic}.package-price-block{text-align:center;margin-bottom:6px}.package-price-big{font-size:3rem;font-weight:900;color:#0f172a;line-height:1;letter-spacing:-.04em}.package-price-sub{text-align:center;font-size:.8rem;color:#64748b;margin-bottom:24px;font-weight:500}.package-credits{text-align:center;margin-bottom:12px}.package-credits-number{font-size:2rem;font-weight:900;background:linear-gradient(135deg,#4338ca,#7c3aed 25%,#ec4899 50%,#f59e0b 75%,#4338ca);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:block;line-height:1.2;letter-spacing:-.05em;animation:gradientText 4s linear infinite}@keyframes gradientText{0%{background-position:0 50%}to{background-position:200% 50%}}.package-credits-unit{font-size:.85rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.1em}.package-price{text-align:center;margin-bottom:14px}.package-original-price{font-size:1rem;color:#94a3b8;text-decoration:line-through;display:block;margin-bottom:4px;font-weight:500}.package-current-price{font-size:1.6rem;font-weight:900;background:linear-gradient(135deg,#059669,#10b981 50%,#059669);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:block;animation:priceShine 3s ease-in-out infinite;text-shadow:0 2px 8px rgba(5,150,105,.2);filter:drop-shadow(0 0 8px rgba(16,185,129,.3))}@keyframes priceShine{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.package-features{margin-bottom:24px;flex:1 1;padding-top:20px;border-top:1px solid #e2e8f0}.package-feature-item{display:flex;align-items:center;gap:10px;padding:5px 0;font-size:.85rem;color:#475569;font-weight:400}.package-feature-check{color:#22c55e;font-weight:700;font-size:.85rem;flex-shrink:0;width:16px;text-align:center}.package-buy-new{width:100%;padding:12px 24px;border:1px solid #e2e8f0;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .25s ease;background:transparent;color:#334155;margin-top:auto;letter-spacing:.02em}.package-buy-new:hover:not(:disabled){background:rgba(124,58,237,.05);border-color:#7c3aed;color:#7c3aed}.package-buy-popular{background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff;border-color:transparent;box-shadow:0 4px 16px rgba(124,58,237,.3)}.package-buy-popular:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#7c3aed);box-shadow:0 8px 24px rgba(124,58,237,.4);color:#fff;border-color:transparent}.package-buy-new:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed;border-color:#e2e8f0}.package-loading-spinner{width:16px;height:16px;border:2px solid transparent;border-top-color:currentcolor;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin-right:8px}@keyframes spin{to{transform:rotate(1turn)}}.packages-empty-new{grid-column:1/-1;text-align:center;padding:64px 32px;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:20px;border:2px dashed #cbd5e1}.packages-empty-icon{font-size:4rem;margin-bottom:24px;opacity:.6}.packages-empty-new h3{font-size:1.5rem;font-weight:600;color:#374151;margin:0 0 12px}.packages-empty-new p{color:#6b7280;font-size:1rem;max-width:400px;margin:0 auto}@media (min-width:1400px){.packages-grid{grid-template-columns:repeat(4,1fr);max-width:1200px;margin:16px auto 0;gap:20px}.packages-stats-grid{max-width:1200px;margin-left:auto;margin-right:auto}}@media (min-width:1200px) and (max-width:1399px){.packages-grid{grid-template-columns:repeat(3,1fr);max-width:1000px;margin:16px auto 0;gap:18px}}@media (min-width:900px) and (max-width:1199px){.packages-grid{grid-template-columns:repeat(2,1fr);gap:16px}.package-card-new{padding:18px}}@media (max-width:900px){.packages-grid{grid-template-columns:1fr;gap:16px}}@media (max-width:768px){.dashboard-content-full{padding:12px 16px}.packages-hero-title{font-size:1.5rem;flex-direction:column;gap:8px}.packages-hero-subtitle{font-size:.9rem}.packages-stats-grid{grid-template-columns:1fr;gap:12px}.packages-stat-content{padding:14px}.packages-stat-icon{width:36px;height:36px;font-size:1.2rem}.package-card-new{padding:16px}.package-credits-number{font-size:1.5rem}.package-current-price{font-size:1.2rem}.package-icon{width:60px;height:60px;padding:10px}.package-title-new{font-size:1rem}.packages-main-card{padding:16px;border-radius:12px}}@media (max-width:480px){.dashboard-content-full{padding:8px 12px}.packages-page{max-height:calc(100vh - 80px)}.packages-stats-section{margin-bottom:12px}.packages-stat-content{padding:12px;gap:10px}.packages-stat-icon{width:32px;height:32px;font-size:1rem}.package-card-new{padding:14px}.package-icon{width:56px;height:56px;padding:8px}.package-credits-number{font-size:1.3rem}.package-current-price{font-size:1.1rem}.package-buy-new{padding:10px 16px;font-size:.9rem}.packages-main-card{padding:12px}.package-header{margin-bottom:12px}.package-credits,.package-price{margin-bottom:8px}.package-features{margin-bottom:12px}}.tts-page{flex:1 1;display:flex;flex-direction:column;min-height:0}.tts-editor-wrap{flex:1 1;display:flex;gap:0;min-height:0;padding:24px}.tts-editor-wrap .tts-editor{min-width:0;padding-right:24px}.tts-editor-scroll,.tts-editor-wrap .tts-editor{flex:1 1;display:flex;flex-direction:column;min-height:0}.tts-editor-scroll{overflow-y:auto}.tts-editor-bottom{flex-shrink:0;margin-top:auto;padding-top:8px;border-top:1px solid #e5e7eb;background:#fafafa}.tts-overlay-textarea::selection{background:rgba(139,92,246,.35);color:transparent}.tts-overlay-textarea::-moz-selection{background:rgba(139,92,246,.35);color:transparent}.tts-overlay-container:has(.tts-overlay-textarea:focus) .tts-overlay-highlight ::selection{background:transparent}.tts-promo-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px;border-radius:12px;background:linear-gradient(90deg,#064e3b,#065f46 30%,#047857 60%,#059669);border:1px solid hsla(0,0%,100%,.1);box-shadow:0 4px 14px rgba(4,120,87,.25)}.tts-promo-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;background:hsla(0,0%,100%,.15);border-radius:10px;flex-shrink:0}.tts-promo-content{flex:1 1;display:flex;flex-direction:column;gap:2px}.tts-promo-content strong{color:#fff;font-size:.9rem}.tts-promo-desc{color:hsla(0,0%,100%,.85);font-size:.8rem}.tts-promo-close{width:28px;height:28px;border:none;border-radius:6px;background:hsla(0,0%,100%,.15);color:#fff;font-size:1.2rem;line-height:1;cursor:pointer}.tts-promo-close:hover{background:hsla(0,0%,100%,.25)}.tts-editor-wrap .tts-settings-panel{width:340px;min-width:340px;background:linear-gradient(180deg,#fff,#fafafa);border-radius:12px;padding:20px;border:1px solid #e5e7eb;align-self:flex-start;max-height:calc(100vh - 120px);overflow-y:auto;box-shadow:0 4px 20px rgba(0,0,0,.06)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tts-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.04);margin-bottom:16px;overflow:hidden}.tts-card-chunks,.tts-card-chunks>.tts-card-body{flex:1 1;display:flex;flex-direction:column;min-height:0}.tts-card-head{padding:14px 18px;border-bottom:1px solid #f3f4f6;background:linear-gradient(180deg,#fafafa,#f5f5f5)}.tts-card-head-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.tts-card-title-wrap{display:flex;align-items:center;gap:10px}.tts-card-icon{font-size:1.1rem}.tts-card-title{margin:0;font-size:1rem;font-weight:600;color:#111827}.tts-card-body{padding:16px 18px}.tts-card-import-compact .tts-card-body{padding:10px 14px}.tts-import-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.tts-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;font-size:.8rem;font-weight:500;border-radius:6px;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s}.tts-btn:disabled{opacity:.5;cursor:not-allowed}.tts-btn-primary{background:#111827;color:#fff;border-color:#111827}.tts-btn-primary:hover:not(:disabled){background:#374151;border-color:#374151}.tts-btn-secondary{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.tts-btn-secondary:hover:not(:disabled){background:#e5e7eb}.tts-btn-danger{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.tts-btn-danger:hover:not(:disabled){background:#fee2e2}.tts-file-input{position:absolute;width:0;height:0;opacity:0}.tts-chunk-size-group{display:flex;align-items:center;gap:6px}.tts-label{font-size:.75rem;font-weight:500;color:#6b7280}.tts-input-num{width:56px;padding:5px 8px;font-size:.8rem;border:1px solid #e5e7eb;border-radius:5px}.tts-input-hint{font-size:.7rem;color:#9ca3af}.tts-imported-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;font-size:.8rem;color:#166534;white-space:nowrap;flex-shrink:0}.tts-imported-icon{font-size:.9rem}.tts-stats-pills{display:flex;flex-wrap:wrap;gap:8px}.tts-pill{padding:4px 10px;font-size:.75rem;font-weight:600;border-radius:999px}.tts-pill-total{background:#f3f4f6;color:#374151}.tts-pill-queue{background:#fef3c7;color:#92400e}.tts-pill-success{background:#d1fae5;color:#065f46}.tts-pill-fail{background:#fee2e2;color:#991b1b}.tts-chunk-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}.tts-filter-tabs{display:flex;gap:2px;background:#f3f4f6;padding:3px;border-radius:8px}.tts-filter-tab{padding:6px 14px;font-size:.8rem;font-weight:500;color:#6b7280;background:transparent;border:none;border-radius:6px;cursor:pointer}.tts-filter-tab:hover{color:#374151}.tts-filter-tab.active{background:#fff;color:#111827;box-shadow:0 1px 2px rgba(0,0,0,.06)}.tts-toolbar-actions{display:flex;align-items:center;gap:8px;font-size:.8rem}.tts-btn-link{background:none;border:none;color:#4f46e5;cursor:pointer;padding:0 4px;font-size:inherit}.tts-btn-link:hover{text-decoration:underline}.tts-btn-link-danger{color:#b91c1c}.tts-toolbar-sep{color:#d1d5db}.tts-add-chunk-row{display:flex;gap:10px;margin-bottom:14px}.tts-input-text{flex:1 1;padding:10px 14px;font-size:.875rem;border:1px solid #e5e7eb;border-radius:8px;min-width:0}.tts-input-text:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.15)}.tts-table-wrap{flex:1 1;min-height:200px;overflow:auto;border:1px solid #e5e7eb;border-radius:8px}.tts-table{width:100%;border-collapse:collapse;font-size:.8125rem}.tts-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#f9fafb}.tts-table th{text-align:left;padding:10px 12px;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.tts-table td{padding:10px 12px;border-bottom:1px solid #f3f4f6;vertical-align:middle}.tts-table tbody tr:hover{background:#fafafa}.tts-td-check,.tts-th-check{width:40px}.tts-td-num,.tts-th-num{width:48px}.tts-td-chars,.tts-th-chars{width:64px}.tts-td-status,.tts-th-status{width:90px}.tts-td-action,.tts-th-action{width:72px;text-align:center}.tts-td-action{display:flex;align-items:center;justify-content:center;gap:2px}.tts-td-content{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tts-tr-editing .tts-td-content{white-space:normal;vertical-align:top;padding:8px}.tts-chunk-edit-textarea{width:100%;min-width:200px;padding:8px 10px;font-size:.8rem;line-height:1.4;border:1px solid #e5e7eb;border-radius:6px;resize:vertical;font-family:inherit}.tts-chunk-edit-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.15)}.tts-btn-icon-edit{color:#4f46e5}.tts-btn-icon-edit:hover{background:#e0e7ff;color:#4338ca}.tts-btn-icon-save{color:#059669}.tts-btn-icon-save:hover{background:#d1fae5;color:#047857}.tts-tr-status-pending .tts-badge-pending{background:#fef3c7;color:#92400e}.tts-badge{display:inline-block;padding:3px 8px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;border-radius:4px}.tts-badge-queue{background:#f3f4f6;color:#6b7280}.tts-badge-pending{background:#fef3c7;color:#92400e}.tts-badge-success{background:#d1fae5;color:#065f46}.tts-badge-fail{background:#fee2e2;color:#991b1b}.tts-btn-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:6px;background:transparent;color:#9ca3af;cursor:pointer;font-size:1.2rem;line-height:1}.tts-btn-icon:hover{background:#fee2e2;color:#b91c1c}.tts-empty-state{padding:32px 24px;text-align:center;color:#9ca3af;font-size:.875rem}.tts-history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.tts-history-item{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-size:.85rem}.tts-history-meta{flex:1 1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.tts-history-date{color:#374151;font-weight:500}.tts-history-stats{display:flex;align-items:center;gap:6px}.tts-history-item .tts-btn{flex-shrink:0}.tts-card-progress .tts-card-body{padding:12px 18px}.tts-progress-inner{display:flex;align-items:center;gap:14px}.tts-progress-bar-bg{flex:1 1;height:10px;background:#e5e7eb;border-radius:5px;overflow:hidden}.tts-progress-bar-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);border-radius:5px;transition:width .2s}.tts-progress-meta{min-width:140px}.tts-progress-text{font-size:.85rem;font-weight:500;color:#374151}.tts-card-actions .tts-card-body{padding:14px 18px}.tts-actions-grid{display:flex;flex-wrap:wrap;gap:10px}.tts-btn-generate{background:linear-gradient(135deg,#1e3a5f,#111827);color:#fff;border:none;padding:11px 20px;font-weight:600}.tts-btn-generate:hover:not(:disabled){background:linear-gradient(135deg,#374151,#1f2937)}.tts-btn-stop{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.tts-btn-stop:hover:not(:disabled){background:#fee2e2}.tts-btn-merge{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.tts-btn-merge:hover:not(:disabled){background:#d1fae5}.tts-btn-download{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;text-decoration:none}.tts-btn-download:hover{background:#dbeafe}.btn-generate-gradient{padding:12px 24px;font-size:1rem;font-weight:500;color:#fff;border:none;border-radius:10px;cursor:pointer;background:linear-gradient(135deg,#374151,#1f2937 50%,#111827);box-shadow:0 2px 8px rgba(31,41,55,.3);transition:transform .2s,box-shadow .2s}.btn-generate-gradient:hover:not(:disabled){background:linear-gradient(135deg,#4b5563,#374151 50%,#1f2937);box-shadow:0 4px 14px rgba(31,41,55,.4);transform:translateY(-1px)}.btn-generate-gradient:disabled{background:linear-gradient(135deg,#d1d5db,#9ca3af);cursor:not-allowed;box-shadow:none}.tts-error{margin-top:12px;color:#dc3545;font-size:.9rem}.credit-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.credit-popup{background:#fff;border-radius:16px;padding:32px;max-width:400px;width:90%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.2);animation:popIn .25s ease}@keyframes popIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.credit-popup-icon{font-size:2.5rem;margin-bottom:12px}.credit-popup-title{font-size:1.2rem;font-weight:700;color:#0f172a;margin:0 0 8px}.credit-popup-msg{font-size:.85rem;color:#64748b;margin:0 0 24px;line-height:1.5}.credit-popup-actions{display:flex;gap:10px;justify-content:center}.credit-popup-btn{padding:10px 24px;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.credit-popup-btn-primary{background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff;box-shadow:0 4px 12px rgba(124,58,237,.3)}.credit-popup-btn-primary:hover{box-shadow:0 6px 20px rgba(124,58,237,.4)}.credit-popup-btn-secondary{background:transparent;color:#64748b;border:1px solid #e2e8f0}.credit-popup-btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}[data-theme=dark] .credit-popup{background:#1c2128;box-shadow:0 20px 60px rgba(0,0,0,.5)}[data-theme=dark] .credit-popup-title{color:#e2e8f0}[data-theme=dark] .credit-popup-msg{color:#94a3b8}[data-theme=dark] .credit-popup-btn-secondary{color:#94a3b8;border-color:#30363d}[data-theme=dark] .credit-popup-btn-secondary:hover{background:#21262d;border-color:#484f58}.tts-audio{margin-top:16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.audio-player{max-width:100%;height:40px}.btn-download-gradient{padding:8px 16px;font-size:.875rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #86efac;border-radius:8px;color:#166534;cursor:pointer;transition:all .2s}.btn-download-gradient:hover{background:linear-gradient(135deg,#dcfce7,#bbf7d0);box-shadow:0 2px 8px rgba(34,197,94,.2)}.settings-tabs{margin-bottom:20px;border-bottom:1px solid #e9ecef;padding-bottom:12px}.settings-tabs .tab{font-weight:600;font-size:.95rem;color:#1a1a1a}.settings-tabs .tab.active{border-bottom:2px solid #8b5cf6;padding-bottom:10px;margin-bottom:-1px;color:#6d28d9}.settings-section{margin-bottom:20px}.settings-section:has(.slider-block){margin-bottom:14px}.settings-section-row{display:flex;gap:20px;margin-bottom:20px;align-items:flex-start}.settings-section-row>.settings-section{flex:1 1;min-width:0;margin-bottom:0;display:flex;flex-direction:column;align-items:stretch}.settings-section-row .settings-label{white-space:nowrap}.settings-label{display:block;font-size:.8rem;font-weight:600;color:#495057;margin-bottom:8px;text-transform:uppercase;letter-spacing:.02em}.settings-select{width:100%;padding:10px 12px;font-size:.95rem;border:1px solid #dee2e6;border-radius:8px;background:#fff;color:#1a1a1a}.settings-field-wrap{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:linear-gradient(180deg,#fff,#fafafa);box-shadow:0 1px 2px rgba(0,0,0,.04)}.field-icon{width:28px;height:28px;border-radius:50%;flex-shrink:0}.voice-icon{background:linear-gradient(135deg,#f9a8d4,#f472b6 50%,#ec4899);box-shadow:0 2px 8px rgba(236,72,153,.3)}.settings-field-select{flex:1 1;border:none;background:none;font-size:.95rem;color:#1a1a1a;cursor:pointer;min-width:0}.settings-field-select:focus{outline:none}.field-arrow{color:#9ca3af;font-size:1.1rem;font-weight:300;flex-shrink:0}.model-badge{font-size:.7rem;font-weight:600;padding:2px 6px;border-radius:4px;background:#f3f4f6;color:#4b5563}.model-info-row{display:flex;align-items:center;gap:8px;margin-top:6px;padding:0 2px}.model-credit-badge{font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:4px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;white-space:nowrap;letter-spacing:.02em;text-transform:uppercase}.model-desc-text{font-size:.75rem;color:#64748b;font-weight:400}[data-theme=dark] .model-desc-text{color:#94a3b8}.settings-field-voice{cursor:pointer}.voice-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:200;display:flex;align-items:stretch;justify-content:flex-end}.voice-modal.voice-panel{background:#fff;border-radius:0;box-shadow:-4px 0 24px rgba(0,0,0,.08);width:100%;max-width:420px;max-height:100vh;display:flex;flex-direction:column;overflow:hidden}.voice-modal-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #e5e7eb}.voice-modal-back{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#374151;padding:4px 2px;line-height:1}.voice-modal-back:hover{color:#111827}.voice-modal-title{font-weight:600;font-size:1.1rem;color:#111827}.voice-modal-tabs{padding:12px 20px 0;border-bottom:1px solid #e5e7eb;display:flex;gap:4px}.voice-modal-tab{display:inline-block;padding:8px 4px 10px;font-size:.9rem;color:#6b7280;border-bottom:2px solid transparent;margin:0 8px -1px 0}.voice-modal-tab.active{font-weight:600;color:#111827;border-bottom-color:#111827}.voice-modal-search-wrap{display:flex;align-items:center;margin:16px 20px;padding:0 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.voice-modal-search-wrap:focus-within{border-color:#111827;box-shadow:0 0 0 2px rgba(17,24,39,.08)}.voice-modal-search-icon{width:18px;height:18px;margin-right:10px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") 50%/contain no-repeat}.voice-modal-search{flex:1 1;padding:12px 0;font-size:.9rem;border:none;background:none;min-width:0}.voice-modal-search::placeholder{color:#9ca3af}.voice-modal-search:focus{outline:none}.voice-modal-list{overflow-y:auto;padding:4px 16px 24px;flex:1 1;min-height:200px}.voice-modal-item{display:flex;align-items:center;gap:14px;width:100%;padding:10px 8px;border:none;border-radius:6px;background:transparent;text-align:left;cursor:pointer;transition:background .12s}.voice-modal-item:hover{background:#f5f5f5}.voice-modal-item.selected{background:#f0f0f0}.voice-item-icon-wrap{position:relative;flex-shrink:0}.voice-item-icon{width:40px;height:40px;border-radius:50%;display:block;position:relative}.voice-item-icon-badge{position:absolute;right:-2px;top:-2px;width:16px;height:16px;border-radius:3px;background:#111827;display:flex;align-items:center;justify-content:center;gap:1px}.voice-item-icon-badge:after,.voice-item-icon-badge:before{content:"";width:2px;height:8px;background:#fff;border-radius:1px}.voice-item-icon-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:0;height:0;margin-left:2px;border-left:6px solid hsla(0,0%,100%,.95);border-top:4px solid transparent;border-bottom:4px solid transparent}.voice-item-info{flex:1 1;min-width:0}.voice-item-name{font-weight:600;color:#111827;font-size:.9rem;line-height:1.3}.voice-item-tags{font-weight:400;color:#374151}.voice-item-desc{font-size:.8rem;color:#9ca3af;margin-top:2px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-item-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.voice-item-play{width:32px;height:32px;border:none;border-radius:50%;background:#111827;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}.voice-item-play:hover:not(:disabled){background:#374151}.voice-item-play:disabled{background:#d1d5db;cursor:not-allowed}.voice-play-icon{display:block}.voice-play-icon.play{width:0;height:0;border-left:6px solid;border-top:5px solid transparent;border-bottom:5px solid transparent;margin-left:2px}.voice-play-icon.pause{width:8px;height:10px;display:flex;align-items:center;justify-content:center;gap:2px}.voice-play-icon.pause:after,.voice-play-icon.pause:before{content:"";width:2px;height:10px;background:currentColor;border-radius:1px}.voice-item-menu{width:28px;height:28px;border:none;border-radius:4px;background:transparent;color:#111827;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;line-height:1;transition:background .12s}.voice-item-menu:hover{background:#e5e7eb}.voice-menu-dots{font-weight:700;letter-spacing:.02em;line-height:.8}.voice-modal-empty{padding:24px 20px;text-align:center;color:#6b7280;font-size:.9rem}.voice-modal-error{color:#b91c1c}.voice-modal-error-hint{margin-top:8px;font-size:.8rem;color:#6b7280}.settings-section .toggle{display:inline-flex;align-items:center;width:44px;height:24px;border-radius:12px;border:none;cursor:pointer;padding:2px;transition:background .2s}.settings-section .toggle.off{background:linear-gradient(90deg,#e5e7eb,#d1d5db)}.settings-section .toggle.on{background:linear-gradient(90deg,#374151,#1f2937);box-shadow:0 2px 6px rgba(31,41,55,.3)}.toggle-thumb{width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 2px rgba(0,0,0,.2)}.toggle.off .toggle-thumb{transform:translateX(0)}.toggle.on .toggle-thumb{transform:translateX(20px)}.settings-reset{margin-top:24px;padding-top:16px;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end}.reset-values-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:none;border-radius:8px;background:linear-gradient(135deg,transparent,rgba(139,92,246,.06));font-size:.875rem;color:#6b7280;cursor:pointer;transition:all .2s}.reset-values-btn:hover{color:#8b5cf6;background:linear-gradient(135deg,rgba(139,92,246,.08),rgba(139,92,246,.12))}.reset-icon{font-size:1rem;opacity:.8}.slider-block{margin-bottom:0}.slider-title{font-size:.8rem;font-weight:700;color:#333;margin-bottom:3px}.slider-labels{display:flex;justify-content:space-between;margin-bottom:4px}.slider-label-left,.slider-label-right{font-size:.7rem;color:#6b7280;font-weight:400}.slider-label-right{text-align:right}.slider-track-wrap{position:relative;padding-top:18px;will-change:contents}.slider-value-bubble{position:absolute;left:var(--percent);top:0;transform:translateX(-50%);min-width:32px;padding:2px 6px;font-size:.7rem;font-weight:600;color:#fff;background:#333;border-radius:4px;text-align:center;pointer-events:none;white-space:nowrap;border:1px solid #333;transition:none;will-change:left}.slider-value-bubble:after{content:"";position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);border:3px solid transparent;border-top-color:#333}.slider-custom{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:8px;border-radius:4px;background:linear-gradient(to right,#333 var(--percent),#e0e0e0 var(--percent));outline:none;cursor:pointer;transition:none;touch-action:none}.slider-custom::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#333;cursor:pointer;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);margin-top:-6px;-webkit-transition:none;transition:none}.slider-custom::-webkit-slider-runnable-track{height:8px;border-radius:4px}.slider-custom::-moz-range-track{height:8px;border-radius:4px;background:linear-gradient(to right,#333 var(--percent),#e0e0e0 var(--percent))}.slider-custom::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#333;cursor:pointer;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}.slider-custom::-moz-focus-outer{border:0}.slider-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.slider-row span{font-size:.75rem;color:#6c757d;min-width:70px}.slider-row span:last-of-type{text-align:right}.slider{flex:1 1;min-width:100px;height:6px;border-radius:3px;accent-color:#333}.admin-main{overflow-y:auto}.admin-page-header{padding:24px 24px 16px;border-bottom:1px solid #e5e7eb;background:linear-gradient(90deg,#fff,#fafafa)}.admin-page-header h1{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 4px}.admin-page-header p{font-size:.9rem;color:#6b7280;margin:0}.admin-content{padding:24px}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:16px;gap:16px;margin-bottom:32px}.admin-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.04);transition:box-shadow .2s,border-color .2s}.admin-stat-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px rgba(0,0,0,.06)}.admin-stat-card a{display:flex;flex-direction:column;gap:8px;color:inherit}.admin-stat-label{font-size:.8rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.admin-stat-value{font-size:1.75rem;font-weight:700;color:#111827}.admin-stat-link{font-size:.85rem;color:#f43f5e;font-weight:500;margin-top:4px}.admin-stat-card a:hover .admin-stat-link{text-decoration:underline}.admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}.admin-card h2{font-size:1.1rem;font-weight:600;color:#111827;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.admin-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px}.admin-table{width:100%;border-collapse:collapse;font-size:.875rem}.admin-table th{text-align:left;padding:12px 14px;font-weight:600;color:#374151;background:#f9fafb;border-bottom:1px solid #e5e7eb}.admin-table td{padding:12px 14px;border-bottom:1px solid #f3f4f6;vertical-align:middle}.admin-table tbody tr:hover{background:#fafafa}.admin-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;font-size:.85rem;font-weight:500;border-radius:8px;cursor:pointer;border:1px solid transparent;transition:all .15s}.admin-btn-primary{background:#111827;color:#fff;border-color:#111827}.admin-btn-primary:hover:not(:disabled){background:#374151;border-color:#374151}.admin-btn-secondary{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.admin-btn-secondary:hover:not(:disabled){background:#e5e7eb}.admin-btn-sm{padding:6px 10px;font-size:.8rem}.admin-form-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}.admin-form-row input,.admin-form-row select{padding:8px 12px;font-size:.9rem;border:1px solid #e5e7eb;border-radius:8px;min-width:120px}.admin-form-row input:focus,.admin-form-row select:focus{outline:none;border-color:#111827;box-shadow:0 0 0 2px rgba(17,24,39,.1)}.admin-badge{display:inline-block;padding:3px 8px;font-size:.75rem;font-weight:600;border-radius:6px}.admin-badge-success{background:#d1fae5;color:#065f46}.admin-badge-warning{background:#fef3c7;color:#92400e}.admin-badge-danger{background:#fee2e2;color:#991b1b}.admin-badge-neutral{background:#f3f4f6;color:#4b5563}.history-page-wrap{flex:1 1;display:flex;flex-direction:column;padding:24px}.history-container{max-width:1200px;margin:0 auto;width:100%}.history-header{margin-bottom:24px}.history-title{font-size:1.5rem;font-weight:700;color:#111827;margin-bottom:4px}.history-subtitle{font-size:.95rem;color:#6b7280}.tts-th-date,.tts-th-file{width:200px}.tts-th-stats{width:auto}.tts-td-date{color:#374151;font-weight:500}.tts-text-muted{color:#9ca3af}.deposit-page{padding:0}.deposit-header{padding:32px 32px 0}.deposit-hero{text-align:center;margin-bottom:24px}.deposit-hero-title{font-size:2rem;font-weight:800;display:flex;align-items:center;justify-content:center;gap:14px;background-image:linear-gradient(135deg,#667eea,#764ba2 50%,#f093fb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0 0 8px}.deposit-hero-icon{display:flex;align-items:center;filter:drop-shadow(0 4px 12px rgba(102,126,234,.3))}.deposit-hero-subtitle{color:#6b7280;font-size:1.05rem;max-width:500px;margin:0 auto}.deposit-main-card{margin:0 32px 32px;padding:32px;border-radius:20px;position:relative;overflow:hidden}.deposit-main-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at top right,rgba(102,126,234,.05) 0,transparent 50%);pointer-events:none}.deposit-tabs{display:flex;gap:6px;margin-bottom:20px;background:rgba(0,0,0,.04);padding:4px;border-radius:12px;max-width:340px}.deposit-tab{flex:1 1;padding:10px 18px;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;background:transparent;color:#6b7280;transition:all .2s ease}.deposit-tab:hover{color:#374151}.deposit-tab.active{background:#fff;color:#111827;box-shadow:0 2px 8px rgba(0,0,0,.1)}.deposit-balance-bar{display:flex;align-items:center;gap:10px;padding:14px 20px;background:linear-gradient(135deg,#f0f4ff,#e8e0ff);border-radius:14px;margin-bottom:20px}.deposit-balance-label{font-size:.9rem;color:#6b7280;font-weight:500}.deposit-balance-value{font-size:1.1rem;font-weight:700;color:#4c1d95}.deposit-error{padding:12px 18px;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;color:#dc2626;font-size:.9rem;margin-bottom:16px;font-weight:500}.deposit-section-title{font-size:1.1rem;font-weight:700;color:#111827;margin:0 0 16px}.deposit-presets{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-bottom:20px}.deposit-preset-btn{padding:16px 12px;border:2px solid #e5e7eb;border-radius:14px;background:#fff;cursor:pointer;text-align:center;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:2px}.deposit-preset-btn:hover{border-color:#a78bfa;background:#faf5ff;transform:translateY(-2px);box-shadow:0 4px 14px rgba(139,92,246,.15)}.deposit-preset-btn.active{border-color:#7c3aed;background:linear-gradient(135deg,#faf5ff,#ede9fe);box-shadow:0 4px 14px rgba(124,58,237,.2)}.deposit-preset-amount{font-size:1.15rem;font-weight:700;color:#111827}.deposit-preset-unit{font-size:.8rem;color:#9ca3af;font-weight:500}.deposit-preset-btn.active .deposit-preset-amount{color:#7c3aed}.deposit-custom{margin-bottom:24px}.deposit-custom-label{display:block;font-size:.88rem;font-weight:600;color:#6b7280;margin-bottom:8px}.deposit-custom-input-wrap{position:relative;display:flex;align-items:center}.deposit-custom-input{width:100%;padding:14px 70px 14px 18px;border:2px solid #e5e7eb;border-radius:14px;font-size:1.1rem;font-weight:600;color:#111827;background:#fff;transition:all .2s ease;outline:none}.deposit-custom-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.15)}.deposit-custom-input::placeholder{color:#c4c9d2;font-weight:400}.deposit-custom-currency{position:absolute;right:16px;font-size:.9rem;font-weight:700;color:#9ca3af}.deposit-custom-preview{margin-top:6px;font-size:.88rem;color:#6b7280;padding-left:4px}.deposit-create-btn{width:100%;padding:16px 24px;border:none;border-radius:14px;font-size:1.05rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 14px rgba(102,126,234,.35)}.deposit-create-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px rgba(102,126,234,.45)}.deposit-create-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.deposit-btn-amount{opacity:.8;font-weight:500}.deposit-spinner{width:18px;height:18px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:deposit-spin .7s linear infinite}@keyframes deposit-spin{to{transform:rotate(1turn)}}.deposit-pending-section{margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb}.deposit-pending-title{font-size:.95rem;font-weight:600;color:#6b7280;margin:0 0 12px}.deposit-pending-list{display:flex;flex-direction:column;gap:8px}.deposit-pending-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fefce8;border:1px solid #fde68a;border-radius:12px}.deposit-pending-info{display:flex;align-items:center;gap:12px}.deposit-pending-code{font-size:.85rem;font-weight:600;color:#92400e;font-family:monospace}.deposit-pending-amount{font-size:.95rem;font-weight:700;color:#111827}.deposit-pending-actions{display:flex;gap:6px}.deposit-pending-cancel,.deposit-pending-view{padding:6px 12px;border:none;border-radius:8px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .15s ease}.deposit-pending-view{background:#7c3aed;color:#fff}.deposit-pending-view:hover{background:#6d28d9}.deposit-pending-cancel{background:#f3f4f6;color:#6b7280}.deposit-pending-cancel:hover{background:#e5e7eb;color:#374151}.deposit-qr-section{text-align:center}.deposit-qr-header h3{font-size:1.2rem;font-weight:700;color:#111827;margin:0 0 4px}.deposit-qr-subtitle{color:#6b7280;font-size:.9rem;margin:0 0 20px}.deposit-qr-image-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:24px}.deposit-qr-image-container{padding:16px;background:#fff;border-radius:20px;box-shadow:0 8px 32px rgba(0,0,0,.1),0 2px 8px rgba(0,0,0,.06);display:inline-block}.deposit-qr-image{display:block;max-width:100%;height:auto;border-radius:12px}.deposit-qr-scanning{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#6b7280;font-weight:500}.deposit-scanning-dot{width:8px;height:8px;border-radius:50%;background:#f59e0b;animation:deposit-pulse 1.5s ease-in-out infinite}@keyframes deposit-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}.deposit-transfer-info{text-align:left;background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:20px;margin-bottom:20px}.deposit-transfer-info h4{font-size:.95rem;font-weight:700;color:#374151;margin:0 0 14px}.deposit-info-grid{display:flex;flex-direction:column;gap:10px}.deposit-info-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f3f4f6}.deposit-info-row:last-child{border-bottom:none}.deposit-info-label{font-size:.88rem;color:#6b7280;font-weight:500}.deposit-info-value{font-size:.95rem;font-weight:600;color:#111827}.deposit-info-amount{font-size:1.05rem;color:#7c3aed;font-weight:700}.deposit-info-code{font-family:monospace;font-size:1rem;color:#dc2626;letter-spacing:.5px}.deposit-info-important{background:#fffbeb;margin:4px -12px;padding:12px!important;border-radius:10px;border:1px solid #fde68a!important}.deposit-info-copyable{cursor:pointer;display:flex;align-items:center;gap:6px;transition:opacity .15s}.deposit-info-copyable:hover{opacity:.7}.deposit-copy-icon{font-size:.8rem;cursor:pointer}.deposit-info-warning{margin-top:14px;padding:12px 16px;background:#fef3c7;border-radius:10px;font-size:.85rem;color:#92400e;line-height:1.5}.deposit-qr-actions{display:flex;justify-content:center;gap:10px}.deposit-back-btn{padding:10px 24px;border:2px solid #e5e7eb;border-radius:12px;background:#fff;color:#374151;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.deposit-back-btn:hover{background:#f3f4f6;border-color:#d1d5db}.deposit-cancel-btn{padding:10px 24px;border:2px solid #fecaca;border-radius:12px;background:#fff;color:#dc2626;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.deposit-cancel-btn:hover{background:#fef2f2}.deposit-success-banner{text-align:center;padding:40px 20px}.deposit-success-icon{font-size:3rem;margin-bottom:12px;animation:deposit-bounce .6s ease}@keyframes deposit-bounce{0%{transform:scale(0)}60%{transform:scale(1.2)}to{transform:scale(1)}}.deposit-success-banner h3{font-size:1.3rem;font-weight:700;color:#059669;margin:0 0 8px}.deposit-success-banner p{color:#6b7280;font-size:.95rem;margin:0 0 20px}.deposit-empty{text-align:center;padding:40px 20px;color:#9ca3af}.deposit-empty-icon{font-size:2.5rem;margin-bottom:8px}.deposit-empty p{font-size:.95rem}.deposit-history-list{display:flex;flex-direction:column;gap:8px}.deposit-history-item{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;transition:all .15s ease}.deposit-history-item:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}.deposit-history-item.confirmed{border-left:3px solid #10b981}.deposit-history-item.pending{border-left:3px solid #f59e0b}.deposit-history-item.cancelled,.deposit-history-item.expired{border-left:3px solid #d1d5db;opacity:.7}.deposit-history-left{display:flex;flex-direction:column;gap:2px}.deposit-history-code{font-size:.85rem;font-weight:600;color:#374151;font-family:monospace}.deposit-history-time{font-size:.78rem;color:#9ca3af}.deposit-history-center{text-align:center}.deposit-history-amount{font-size:1rem;font-weight:700;color:#111827}.deposit-history-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.deposit-status-badge{padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600}.deposit-status-pending{background:#fef3c7;color:#92400e}.deposit-status-confirmed{background:#d1fae5;color:#065f46}.deposit-status-expired{background:#f3f4f6;color:#6b7280}.deposit-status-cancelled{background:#fee2e2;color:#991b1b}.deposit-history-actions{display:flex;gap:4px}.deposit-mini-btn{padding:4px 10px;border:1px solid #e5e7eb;border-radius:6px;font-size:.72rem;font-weight:600;cursor:pointer;background:#fff;color:#7c3aed;transition:all .15s}.deposit-mini-btn:hover{background:#faf5ff;border-color:#a78bfa}.deposit-mini-cancel{color:#dc2626}.deposit-mini-cancel:hover{background:#fef2f2;border-color:#fca5a5}[data-theme=dark] .deposit-hero-title{background-image:linear-gradient(135deg,#e6edf3,#a78bfa 40%,#c084fc 60%,#e6edf3);filter:drop-shadow(0 2px 4px rgba(167,139,250,.3))}[data-theme=dark] .deposit-hero-subtitle{color:#8b949e}[data-theme=dark] .deposit-main-card{background:linear-gradient(135deg,#161b22,#0d1117);border-color:#30363d;box-shadow:0 8px 32px rgba(0,0,0,.4)}[data-theme=dark] .deposit-main-card:before{background:radial-gradient(circle,rgba(167,139,250,.04) 0,transparent 50%)}[data-theme=dark] .deposit-tabs{background:hsla(0,0%,100%,.04)}[data-theme=dark] .deposit-tab{color:#8b949e}[data-theme=dark] .deposit-tab:hover{color:#b1bac4}[data-theme=dark] .deposit-tab.active{background:#21262d;color:#e6edf3;box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .deposit-balance-bar{background:linear-gradient(135deg,rgba(30,27,75,.4),rgba(76,29,149,.2));border:1px solid rgba(167,139,250,.15)}[data-theme=dark] .deposit-balance-label{color:#8b949e}[data-theme=dark] .deposit-balance-value{color:#c084fc}[data-theme=dark] .deposit-error{background:rgba(248,81,73,.1);border-color:rgba(248,81,73,.3);color:#f85149}[data-theme=dark] .deposit-section-title{color:#e6edf3}[data-theme=dark] .deposit-preset-btn{background:#161b22;border-color:#30363d}[data-theme=dark] .deposit-preset-btn:hover{border-color:#a78bfa;background:rgba(76,29,149,.15);box-shadow:0 4px 14px rgba(167,139,250,.15)}[data-theme=dark] .deposit-preset-btn.active{border-color:#a78bfa;background:rgba(76,29,149,.25);box-shadow:0 4px 14px rgba(167,139,250,.2)}[data-theme=dark] .deposit-preset-amount{color:#e6edf3}[data-theme=dark] .deposit-preset-unit{color:#6e7681}[data-theme=dark] .deposit-preset-btn.active .deposit-preset-amount{color:#c084fc}[data-theme=dark] .deposit-custom-label{color:#8b949e}[data-theme=dark] .deposit-custom-input{background:#0d1117;border-color:#30363d;color:#e6edf3}[data-theme=dark] .deposit-custom-input:focus{border-color:#a78bfa;box-shadow:0 0 0 3px rgba(167,139,250,.15)}[data-theme=dark] .deposit-custom-input::placeholder{color:#484f58}[data-theme=dark] .deposit-custom-currency{color:#6e7681}[data-theme=dark] .deposit-custom-preview{color:#8b949e}[data-theme=dark] .deposit-create-btn{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 4px 14px rgba(139,92,246,.35)}[data-theme=dark] .deposit-create-btn:hover:not(:disabled){box-shadow:0 8px 24px rgba(139,92,246,.45)}[data-theme=dark] .deposit-pending-section{border-top-color:#30363d}[data-theme=dark] .deposit-pending-title{color:#8b949e}[data-theme=dark] .deposit-pending-item{background:rgba(210,153,34,.08);border-color:rgba(210,153,34,.3)}[data-theme=dark] .deposit-pending-code{color:#d29922}[data-theme=dark] .deposit-pending-amount{color:#e6edf3}[data-theme=dark] .deposit-pending-view{background:#8b5cf6}[data-theme=dark] .deposit-pending-view:hover{background:#7c3aed}[data-theme=dark] .deposit-pending-cancel{background:#21262d;color:#8b949e}[data-theme=dark] .deposit-pending-cancel:hover{background:#30363d;color:#b1bac4}[data-theme=dark] .deposit-qr-header h3{color:#e6edf3}[data-theme=dark] .deposit-qr-subtitle{color:#8b949e}[data-theme=dark] .deposit-qr-image-container{background:#1c2128;box-shadow:0 8px 32px rgba(0,0,0,.4)}[data-theme=dark] .deposit-qr-scanning{color:#8b949e}[data-theme=dark] .deposit-transfer-info{background:#1c2128;border-color:#30363d}[data-theme=dark] .deposit-transfer-info h4{color:#b1bac4}[data-theme=dark] .deposit-info-row{border-bottom-color:#21262d}[data-theme=dark] .deposit-info-label{color:#8b949e}[data-theme=dark] .deposit-info-value{color:#e6edf3}[data-theme=dark] .deposit-info-amount{color:#c084fc}[data-theme=dark] .deposit-info-code{color:#f85149}[data-theme=dark] .deposit-info-important{background:rgba(210,153,34,.1);border-color:rgba(210,153,34,.3)!important}[data-theme=dark] .deposit-info-warning{background:rgba(210,153,34,.1);color:#d29922}[data-theme=dark] .deposit-back-btn{background:#21262d;border-color:#30363d;color:#b1bac4}[data-theme=dark] .deposit-back-btn:hover{background:#30363d;border-color:#484f58;color:#e6edf3}[data-theme=dark] .deposit-cancel-btn{background:rgba(248,81,73,.1);border-color:rgba(248,81,73,.3);color:#f85149}[data-theme=dark] .deposit-cancel-btn:hover{background:rgba(248,81,73,.2)}[data-theme=dark] .deposit-success-banner h3{color:#3fb950}[data-theme=dark] .deposit-success-banner p{color:#8b949e}[data-theme=dark] .deposit-empty{color:#6e7681}[data-theme=dark] .deposit-history-item{background:#161b22;border-color:#30363d}[data-theme=dark] .deposit-history-item:hover{box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .deposit-history-item.confirmed{border-left-color:#3fb950}[data-theme=dark] .deposit-history-item.pending{border-left-color:#d29922}[data-theme=dark] .deposit-history-item.cancelled,[data-theme=dark] .deposit-history-item.expired{border-left-color:#484f58}[data-theme=dark] .deposit-history-code{color:#b1bac4}[data-theme=dark] .deposit-history-time{color:#6e7681}[data-theme=dark] .deposit-history-amount{color:#e6edf3}[data-theme=dark] .deposit-status-pending{background:rgba(210,153,34,.15);color:#d29922}[data-theme=dark] .deposit-status-confirmed{background:rgba(63,185,80,.15);color:#3fb950}[data-theme=dark] .deposit-status-expired{background:#21262d;color:#6e7681}[data-theme=dark] .deposit-status-cancelled{background:rgba(248,81,73,.15);color:#f85149}[data-theme=dark] .deposit-mini-btn{background:#21262d;border-color:#30363d;color:#c084fc}[data-theme=dark] .deposit-mini-btn:hover{background:#30363d;border-color:#a78bfa}[data-theme=dark] .deposit-mini-cancel{color:#f85149}[data-theme=dark] .deposit-mini-cancel:hover{background:rgba(248,81,73,.15);border-color:rgba(248,81,73,.3)}@media (max-width:640px){.deposit-presets{grid-template-columns:repeat(2,1fr)}.deposit-header{padding:20px 16px 0}.deposit-main-card{margin:0 16px 16px;padding:20px}.deposit-hero-title{font-size:1.5rem}.deposit-history-item{flex-wrap:wrap;gap:8px}}@keyframes landing-orb-float-1{0%{transform:translate(0) scale(1) rotate(0deg)}20%{transform:translate(80px,-60px) scale(1.15) rotate(30deg)}40%{transform:translate(-40px,40px) scale(.9) rotate(-20deg)}60%{transform:translate(60px,80px) scale(1.1) rotate(50deg)}80%{transform:translate(-80px,-30px) scale(.95) rotate(-40deg)}to{transform:translate(0) scale(1) rotate(0deg)}}@keyframes landing-orb-float-2{0%{transform:translate(0) scale(1)}25%{transform:translate(-70px,50px) scale(1.2)}50%{transform:translate(50px,-70px) scale(.85)}75%{transform:translate(-30px,-40px) scale(1.1)}to{transform:translate(0) scale(1)}}@keyframes landing-orb-float-3{0%{transform:translate(0) scale(1) rotate(0deg)}33%{transform:translate(90px,30px) scale(1.25) rotate(60deg)}66%{transform:translate(-60px,-50px) scale(.8) rotate(-45deg)}to{transform:translate(0) scale(1) rotate(0deg)}}@keyframes landing-mesh-shift{0%{background-position:0 50%,100% 50%,50% 0}25%{background-position:100% 0,0 100%,30% 70%}50%{background-position:50% 100%,50% 0,100% 50%}75%{background-position:0 0,100% 100%,70% 30%}to{background-position:0 50%,100% 50%,50% 0}}@keyframes landing-aurora{0%{transform:translateX(-100%) skewX(-15deg);opacity:0}30%{opacity:.6}50%{transform:translateX(0) skewX(-15deg);opacity:.4}70%{opacity:.6}to{transform:translateX(100%) skewX(-15deg);opacity:0}}@keyframes landing-grid-rotate{0%{transform:perspective(600px) rotateX(65deg) rotate(0deg)}to{transform:perspective(600px) rotateX(65deg) rotate(1turn)}}@keyframes landing-wave-pulse{0%,to{transform:scaleY(.3);opacity:.25}50%{transform:scaleY(1);opacity:.85}}@keyframes landing-shimmer{0%{background-position:-200%}to{background-position:200%}}@keyframes landing-spin{to{transform:rotate(1turn)}}@keyframes landing-pulse-glow{0%,to{opacity:.4;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}.landing-page{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#06060e;background-image:radial-gradient(ellipse at 20% 50%,rgba(124,58,237,.12) 0,transparent 55%),radial-gradient(ellipse at 80% 20%,rgba(99,102,241,.1) 0,transparent 55%),radial-gradient(ellipse at 50% 80%,rgba(168,85,247,.08) 0,transparent 55%);background-size:200% 200%,200% 200%,200% 200%;animation:landing-mesh-shift 20s ease-in-out infinite}.landing-page:before{inset:0;opacity:.03;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-repeat:repeat}.landing-page:after,.landing-page:before{content:"";position:absolute;z-index:1;pointer-events:none}.landing-page:after{top:-20%;left:-50%;width:200%;height:60%;background:linear-gradient(90deg,transparent,rgba(124,58,237,.08) 20%,rgba(99,102,241,.12) 40%,rgba(168,85,247,.08) 60%,rgba(59,130,246,.06) 80%,transparent);animation:landing-aurora 12s ease-in-out infinite}.landing-orb{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;will-change:transform;mix-blend-mode:screen}.landing-orb-1{width:600px;height:600px;background:radial-gradient(circle,rgba(124,58,237,.3) 0,rgba(99,102,241,.1) 40%,transparent 70%);top:-15%;left:-10%;animation:landing-orb-float-1 18s ease-in-out infinite}.landing-orb-2{width:500px;height:500px;background:radial-gradient(circle,rgba(59,130,246,.25) 0,rgba(99,102,241,.08) 40%,transparent 70%);bottom:-10%;right:-12%;animation:landing-orb-float-2 22s ease-in-out infinite}.landing-orb-3{width:400px;height:400px;background:radial-gradient(circle,rgba(168,85,247,.25) 0,rgba(236,72,153,.08) 40%,transparent 70%);top:35%;right:15%;animation:landing-orb-float-3 25s ease-in-out infinite}.landing-content{position:relative;z-index:2;width:100%;max-width:560px;padding:20px;display:flex;flex-direction:column;align-items:center}.landing-brand{margin-bottom:32px}.landing-logo{display:flex;align-items:center;gap:12px}.landing-logo-icon{display:flex;align-items:center;filter:drop-shadow(0 2px 8px rgba(124,58,237,.4))}.landing-logo-text{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;background:linear-gradient(135deg,#e2e8f0,#cbd5e1 50%,#94a3b8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.landing-hero-card{width:100%;background:hsla(0,0%,100%,.03);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);border:1px solid hsla(0,0%,100%,.06);border-radius:24px;padding:48px 40px;box-shadow:0 4px 24px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.04);text-align:center}.landing-title{font-size:2rem;font-weight:800;color:#f1f5f9;line-height:1.25;margin:0 0 12px;letter-spacing:-.02em}.landing-title-gradient{background:linear-gradient(135deg,#a855f7,#7c3aed 40%,#6366f1 80%,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.landing-subtitle{font-size:.95rem;line-height:1.6;color:#94a3b8;max-width:400px;margin:0 auto 28px}.landing-waveform{display:flex;align-items:center;justify-content:center;gap:3px;height:48px;margin-bottom:32px}.landing-wave-bar{width:4px;min-height:6px;border-radius:2px;background:linear-gradient(180deg,#a855f7,#6366f1);opacity:.5;animation:landing-wave-pulse 1.5s ease-in-out infinite;transform-origin:center}.landing-cta{display:inline-flex;align-items:center;gap:12px;padding:14px 32px;background:linear-gradient(135deg,#7c3aed,#6366f1 50%,#4f46e5);color:#fff;font-size:.95rem;font-weight:700;border:none;border-radius:14px;cursor:pointer;text-decoration:none;transition:all .25s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 14px rgba(124,58,237,.35),inset 0 1px 0 hsla(0,0%,100%,.1);position:relative;overflow:hidden}.landing-cta:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.1) 50%,hsla(0,0%,100%,0));background-size:200% 100%;animation:landing-shimmer 3s ease-in-out infinite}.landing-cta:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed 50%,#6366f1);box-shadow:0 8px 24px rgba(124,58,237,.45),inset 0 1px 0 hsla(0,0%,100%,.15);transform:translateY(-2px)}.landing-cta:active{transform:translateY(0);box-shadow:0 2px 8px rgba(124,58,237,.3)}.landing-features{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px;margin-top:32px;padding-top:28px;border-top:1px solid hsla(0,0%,100%,.06)}.landing-feature{display:flex;align-items:center;gap:10px;text-align:left}.landing-feature-icon{font-size:1.5rem;flex-shrink:0}.landing-feature-title{font-size:.78rem;font-weight:700;color:#e2e8f0;letter-spacing:-.01em}.landing-feature-desc{font-size:.68rem;color:#64748b;margin-top:1px}.landing-footer{color:#475569;font-size:.78rem;margin-top:24px;text-align:center;letter-spacing:.01em}.landing-back-link{color:#7c3aed;font-size:.85rem;text-decoration:none;transition:color .2s}.landing-back-link:hover{color:#a855f7}.landing-spinner{width:40px;height:40px;border:3px solid rgba(124,58,237,.15);border-top-color:#7c3aed;border-radius:50%;margin:0 auto;animation:landing-spin .8s linear infinite}@media (max-width:640px){.landing-hero-card{padding:36px 24px;border-radius:20px}.landing-title{font-size:1.5rem}.landing-subtitle{font-size:.85rem}.landing-features{grid-template-columns:1fr;gap:12px}.landing-waveform{gap:2px}.landing-wave-bar{width:3px}.landing-cta{width:100%;justify-content:center}}