@charset "UTF-8";.sidebar{position:fixed;top:0;left:0;bottom:0;width:240px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;z-index:100;transition:width .2s ease,transform .2s ease;overflow-y:auto}.sidebar::-webkit-scrollbar{width:6px;height:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.sidebar::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.sidebar{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.sidebar.collapsed{width:72px;overflow:visible}.sidebar.collapsed .sidebar-logo{padding:0;justify-content:center}.sidebar.collapsed .sidebar-logo .logo-text{display:none}.sidebar.collapsed .sidebar-nav{padding:8px 4px;align-items:center}.sidebar.collapsed .nav-group-header{justify-content:center;padding:10px 0;width:48px;margin:0 auto}.sidebar.collapsed .nav-group-header .group-label,.sidebar.collapsed .nav-group-header .group-chevron{display:none}.sidebar.collapsed .nav-group{display:flex;justify-content:center}.sidebar .sidebar-collapse-btn,.sidebar .sidebar-expand-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:#64748b;border-radius:8px;cursor:pointer;flex-shrink:0;transition:all .15s ease}.sidebar .sidebar-collapse-btn:hover,.sidebar .sidebar-expand-btn:hover{background:#f1f5f9;color:#20beb4}.sidebar .sidebar-collapse-btn{margin-left:auto}.sidebar .sidebar-expand-btn{position:fixed;bottom:16px;left:20px;width:32px;height:32px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000f;z-index:100}@media (max-width: 992px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}}.sidebar .sidebar-logo{height:60px;display:flex;align-items:center;padding:0 24px;gap:8px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.sidebar .sidebar-logo .logo-icon{width:32px;height:32px;background:linear-gradient(135deg,#20beb4,#5edcd4);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:700;flex-shrink:0}.sidebar .sidebar-logo .logo-text{font-size:17px;font-weight:600;color:#1e293b}.sidebar .sidebar-nav{flex:1;padding:8px 16px;display:flex;flex-direction:column}.sidebar .nav-group{margin-bottom:2px}.sidebar .nav-group-header{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border-radius:8px;background:transparent;border:none;font-size:15px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s ease}.sidebar .nav-group-header .group-icon{display:flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0;transition:color .15s ease}.sidebar .nav-group-header .group-label{flex:1;text-align:left}.sidebar .nav-group-header .group-chevron{display:flex;align-items:center;color:#94a3b8;transition:transform .2s ease}.sidebar .nav-group-header .group-chevron.open{transform:rotate(180deg)}.sidebar .nav-group-header:hover{background:#f1f5f9;color:#1e293b}.sidebar .nav-group-header:hover .group-icon{color:#20beb4}.sidebar .nav-group-header.active{background:#d6f7f4;color:#20beb4;font-weight:600}.sidebar .nav-group-header.active .group-icon{color:#20beb4}.sidebar .nav-children{overflow:hidden;max-height:0;transition:max-height .25s ease;padding-left:12px}.sidebar .nav-children.expanded{max-height:400px}.sidebar .nav-child{display:flex;align-items:center;gap:8px;padding:8px 12px 8px 40px;border-radius:8px;color:#64748b;font-size:14px;font-weight:400;transition:all .15s ease;cursor:pointer;text-decoration:none}.sidebar .nav-child .child-icon{display:flex;align-items:center;color:#94a3b8;flex-shrink:0}.sidebar .nav-child .child-label{flex:1}.sidebar .nav-child:hover{background:#f8fafc;color:#1e293b}.sidebar .nav-child:hover .child-icon{color:#20beb4}.sidebar .nav-child.active{color:#20beb4;font-weight:500}.sidebar .nav-child.active .child-icon{color:#20beb4}.sidebar-overlay{display:none}@media (max-width: 992px){.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:99;opacity:0;pointer-events:none;transition:opacity .2s ease}.sidebar-overlay.visible{opacity:1;pointer-events:auto}}.topbar{position:fixed;top:0;left:240px;right:0;height:60px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;z-index:200;transition:left .2s ease}@media (max-width: 992px){.topbar{left:0}}@media (max-width: 576px){.topbar{padding:0 16px}.topbar .topbar-left{gap:8px}.topbar .page-title{font-size:15px}.topbar .topbar-action{display:none}.topbar .topbar-right{gap:4px}.topbar .topbar-balance{padding:4px 8px;font-size:12px}}.topbar .topbar-left{display:flex;align-items:center;gap:16px}.topbar .topbar-left .menu-toggle{display:none;cursor:pointer;padding:6px;border-radius:8px;color:#64748b;background:none;border:none}.topbar .topbar-left .menu-toggle:hover{background:#f1f5f9}@media (max-width: 992px){.topbar .topbar-left .menu-toggle{display:flex}}.topbar .topbar-left .page-title{font-size:17px;font-weight:600;color:#1e293b}.topbar .topbar-right{display:flex;align-items:center;gap:4px}.topbar-action{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s ease;position:relative;background:none;border:none}.topbar-action:hover{background:#f1f5f9;color:#1e293b}.topbar-balance{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#d6f7f4;color:#20beb4;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease}.topbar-balance:hover{background:#c5f3ef}.topbar-user{position:relative;display:flex;align-items:center}.topbar-user .avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#20beb4,#5edcd4);display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .15s ease;overflow:hidden}.topbar-user .avatar .avatar-img{width:100%;height:100%;object-fit:cover;display:block}.topbar-user .avatar:hover{opacity:.85}.topbar-user .user-dropdown{position:absolute;top:calc(100% + 6px);right:0;width:180px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:4px;z-index:1000}.topbar-user .user-dropdown button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:none;font-size:14px;color:#475569;cursor:pointer;border-radius:6px;transition:background .15s ease}.topbar-user .user-dropdown button:hover{background:#f8fafc;color:#1e293b}.topbar-user .user-dropdown button.logout{color:#ef4444}.topbar-user .user-dropdown button.logout:hover{background:#fef2f2}.topbar-user .user-dropdown .dropdown-divider{height:1px;background:#e2e8f0;margin:4px 0}.app-layout{display:flex;min-height:100vh}.app-layout.sidebar-collapsed .app-main{margin-left:72px}.app-main{flex:1;min-width:0;margin-left:240px;padding-top:60px;min-height:100vh;transition:margin-left .2s ease}@media (max-width: 992px){.app-main{margin-left:0}}.app-content{padding:24px;max-width:1400px;margin:0 auto}@media (max-width: 992px){.app-content{padding:16px}}@media (max-width: 576px){.app-content{padding:8px}}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}@media (max-width: 992px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.stats-grid{grid-template-columns:1fr}}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.stat-card:hover{box-shadow:0 2px 8px #00000014}.stat-card{display:flex;align-items:flex-start;gap:16px}.stat-card .stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-card .stat-info{flex:1}.stat-card .stat-info .stat-label{font-size:12px;color:#64748b;margin-bottom:2px}.stat-card .stat-info .stat-value{font-size:24px;font-weight:700;color:#1e293b;line-height:1.2}.stat-card .stat-info .stat-change{font-size:12px;color:#10b981;margin-top:4px}.stat-card .stat-info .stat-change.down{color:#ef4444}.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}@media (max-width: 992px){.charts-row{grid-template-columns:1fr}}.chart-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.chart-card:hover{box-shadow:0 2px 8px #00000014}.chart-card .chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.chart-card .chart-header h3{font-size:14px;font-weight:600;color:#1e293b}.chart-card .chart-header .chart-controls{display:flex;gap:4px}.chart-card .chart-header .chart-controls .control-btn{padding:2px 8px;border-radius:6px;font-size:12px;color:#64748b;cursor:pointer;transition:all .15s ease}.chart-card .chart-header .chart-controls .control-btn:hover{background:#f1f5f9}.chart-card .chart-header .chart-controls .control-btn.active{background:#d6f7f4;color:#20beb4}.chart-card .chart-body{height:240px;display:flex;align-items:flex-end;justify-content:center;position:relative}.chart-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.chart-placeholder .area-chart-svg{width:100%;height:100%}.chart-placeholder .chart-label{font-size:12px;color:#64748b;margin-top:8px}.dashboard-bottom{display:grid;grid-template-columns:2fr 1fr;gap:16px}@media (max-width: 992px){.dashboard-bottom{grid-template-columns:1fr}}.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.section-card:hover{box-shadow:0 2px 8px #00000014}.section-card .section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-card .section-header h3{font-size:14px;font-weight:600}.section-card .section-header .see-all{font-size:12px;color:#20beb4;cursor:pointer;font-weight:500}.section-card .section-header .see-all:hover{text-decoration:underline}.resource-list{display:flex;flex-direction:column;gap:8px}.resource-item{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:8px;cursor:pointer;transition:background .15s ease}.resource-item:hover{background:#f8fafc}.resource-item .resource-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f1f5f9;color:#64748b}.resource-item .resource-info{flex:1}.resource-item .resource-info .name{font-size:14px;font-weight:500;color:#1e293b}.resource-item .resource-info .meta{font-size:12px;color:#64748b}.resource-item .resource-action{color:#64748b;font-size:16px;opacity:0;transition:opacity .15s ease}.resource-item:hover .resource-action{opacity:1}.quick-actions{display:flex;flex-direction:column;gap:8px}.quick-actions .quick-action-item{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:8px;cursor:pointer;transition:all .15s ease}.quick-actions .quick-action-item:hover{background:#f8fafc}.quick-actions .quick-action-item .qa-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.quick-actions .quick-action-item .qa-label{font-size:14px;font-weight:500}.quick-actions .quick-action-item .qa-arrow{margin-left:auto;color:#94a3b8;font-size:14px}.quick-actions .quick-action-item:hover .qa-arrow{color:#20beb4}.profile-page{max-width:720px;margin:0 auto}.profile-page .profile-header{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.profile-page .profile-header:hover{box-shadow:0 2px 8px #00000014}.profile-page .profile-header{display:flex;align-items:center;gap:24px;padding:32px;margin-bottom:24px}.profile-page .profile-avatar{position:relative;width:72px;height:72px;border-radius:999px;cursor:pointer;flex-shrink:0}.profile-page .profile-avatar:hover .profile-avatar-overlay{opacity:1}.profile-page .profile-avatar-img{width:100%;height:100%;border-radius:999px;background:linear-gradient(135deg,#20beb4,#5edcd4);display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:700;line-height:1;object-fit:cover}.profile-page .profile-avatar-overlay{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:#00000080;display:flex;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity .15s ease}.profile-page .profile-info{flex:1}.profile-page .profile-name-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.profile-page .profile-name{font-size:18px;font-weight:700;color:#1e293b}.profile-page .profile-badge{padding:2px 10px;background:#d6f7f4;color:#20beb4;font-size:11px;font-weight:600;border-radius:999px}.profile-page .profile-email{font-size:12px;color:#64748b}.profile-page .profile-stats{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.profile-page .profile-stats:hover{box-shadow:0 2px 8px #00000014}.profile-page .profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px;margin-bottom:24px}@media (max-width: 576px){.profile-page .profile-stats{gap:8px;padding:16px}}.profile-page .profile-stat-item{text-align:center}.profile-page .profile-stat-item .stat-label{font-size:11px;color:#64748b;margin-bottom:4px}.profile-page .profile-stat-item .stat-value{font-size:18px;font-weight:700;color:#1e293b}.profile-page .profile-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.profile-page .profile-section:hover{box-shadow:0 2px 8px #00000014}.profile-page .profile-section{padding:32px;margin-bottom:24px}.profile-page .section-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.profile-page .section-title svg{color:#20beb4}.profile-page .section-desc{font-size:12px;color:#64748b;margin-bottom:24px}.profile-page .profile-edit-form .form-row{margin-bottom:24px}.profile-page .profile-edit-form .form-group label,.profile-page .profile-edit-form .form-group .form-label{display:block;font-size:12px;font-weight:500;color:#475569;margin-bottom:4px}.profile-page .profile-edit-form .form-group input,.profile-page .profile-edit-form .form-group textarea{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .15s ease;box-sizing:border-box}.profile-page .profile-edit-form .form-group input:focus,.profile-page .profile-edit-form .form-group textarea:focus{outline:none;border-color:#20beb4;box-shadow:0 0 0 3px #20beb41a}.profile-page .profile-edit-form .form-group input::placeholder,.profile-page .profile-edit-form .form-group textarea::placeholder{color:#94a3b8}.profile-page .profile-edit-form .form-group textarea{resize:vertical;line-height:1.6}.profile-page .profile-edit-form .form-footer{display:flex;justify-content:flex-end}.profile-page .bind-list{display:flex;flex-direction:column;gap:16px}.profile-page .bind-item{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #f1f5f9;border-radius:8px;transition:border-color .15s ease}.profile-page .bind-item:hover{border-color:#e2e8f0}.profile-page .bind-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-page .bind-icon.bind-email{background:#fee2e2;color:#ef4444}.profile-page .bind-icon.bind-phone{background:#dbeafe;color:#3b82f6}.profile-page .bind-icon.bind-wechat{background:#dcfce7;color:#22c55e;font-weight:700;font-size:12px}.profile-page .bind-info{flex:1}.profile-page .bind-name{font-size:12px;font-weight:500;color:#1e293b;margin-bottom:2px}.profile-page .bind-name .bind-status{font-size:11px;padding:1px 8px;border-radius:999px;margin-left:4px}.profile-page .bind-name .bind-status.bound{background:#dcfce7;color:#16a34a}.profile-page .bind-name .bind-status.unbound{background:#f1f5f9;color:#64748b}.profile-page .bind-detail{font-size:12px;color:#475569}.profile-page .invite-section .invite-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}@media (max-width: 576px){.profile-page .invite-section .invite-row{grid-template-columns:1fr}}.profile-page .invite-section .invite-item .invite-label{display:block;font-size:11px;color:#64748b;margin-bottom:4px}.profile-page .invite-section .invite-value-box{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f8fafc;border-radius:8px}.profile-page .invite-section .invite-value-box code{flex:1;font-family:monospace;font-size:12px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-page .invite-section .invite-value-box code.invite-link{font-size:11px}.profile-page .invite-section .invite-value-box .btn-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease}.profile-page .invite-section .invite-value-box .btn-icon:hover{border-color:#20beb4;color:#20beb4}.profile-page .inviter-info{padding:16px;background:#d6f7f4;border-radius:8px;margin-bottom:24px}.profile-page .inviter-info .inviter-label{font-size:12px;color:#64748b}.profile-page .inviter-info .inviter-email{font-size:12px;font-weight:500;color:#20beb4}.profile-page .invite-status .status-badge{display:inline-block;padding:4px 12px;background:#dcfce7;color:#16a34a;font-size:11px;font-weight:600;border-radius:999px;margin-bottom:4px}.profile-page .invite-status .status-desc{font-size:12px;color:#64748b}.profile-page .password-form{max-width:420px;margin:0 auto}.profile-page .password-form .form-group{margin-bottom:24px}.profile-page .password-form .form-label{display:block;font-size:12px;font-weight:500;color:#475569;margin-bottom:4px}.profile-page .password-form input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .15s ease;box-sizing:border-box}.profile-page .password-form input:focus{outline:none;border-color:#20beb4;box-shadow:0 0 0 3px #20beb41a}.profile-page .password-form .form-hint{display:block;font-size:11px;color:#64748b;margin-top:4px}.profile-page .password-form .form-footer{display:flex;justify-content:center}.profile-page .tfa-status{display:flex;align-items:center;gap:16px;padding:24px;background:#f8fafc;border-radius:8px}.profile-page .tfa-status .tfa-icon{width:48px;height:48px;border-radius:999px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b}.profile-page .tfa-status .tfa-title{font-size:12px;font-weight:500;color:#1e293b;margin-bottom:2px}.profile-page .tfa-status .tfa-desc{font-size:11px;color:#64748b}.profile-page .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:500;padding:24px}.profile-page .dialog{width:440px;max-width:100%;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e;animation:dialogIn .2s ease}.profile-page .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:1px solid #f1f5f9}.profile-page .dialog-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0}.profile-page .dialog-header .dialog-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;border-radius:8px;cursor:pointer;transition:all .15s ease}.profile-page .dialog-header .dialog-close:hover{background:#f1f5f9;color:#1e293b}.profile-page .dialog-body{padding:32px}.profile-page .avatar-upload-preview{text-align:center;margin-bottom:24px}.profile-page .avatar-upload-preview .avatar-current{width:96px;height:96px;border-radius:999px;background:linear-gradient(135deg,#20beb4,#5edcd4);display:flex;align-items:center;justify-content:center;color:#fff;font-size:36px;font-weight:700;line-height:1;margin:0 auto}.profile-page .avatar-upload-hint{text-align:center;font-size:11px;color:#64748b;margin-bottom:24px;line-height:1.5}.profile-page .avatar-upload-area{position:relative;border:2px dashed #e2e8f0;border-radius:12px;padding:48px;text-align:center;transition:all .15s ease;cursor:pointer}.profile-page .avatar-upload-area:hover{border-color:#20beb4;background:#d6f7f4}.profile-page .avatar-upload-area .upload-placeholder{display:flex;flex-direction:column;align-items:center;gap:8px;color:#64748b}.profile-page .avatar-upload-area .upload-placeholder svg{color:#20beb4}.profile-page .avatar-upload-area .upload-placeholder span{font-size:12px}.profile-page .avatar-upload-area .upload-input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none}.profile-page .dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:24px 32px;border-top:1px solid #f1f5f9}.profile-page .btn-sm{padding:6px 14px;font-size:11px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}@media (max-width: 576px){.profile-page .profile-stats .stat-value{font-size:14px;word-break:break-all}.profile-page .bind-item{gap:8px}.profile-page .bind-item .bind-info{min-width:0}.profile-page .bind-item .bind-detail{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-page .bind-item .btn-sm{padding:6px 10px}.profile-page .dialog-backdrop{padding:16px}.profile-page .dialog{width:100%}.profile-page .dialog-header{padding:16px 24px}.profile-page .dialog-body{padding:24px}.profile-page .dialog-footer{padding:16px 24px}.profile-page .code-row .resend-btn{padding:8px 10px}}.profile-page .btn-primary{padding:8px 20px;background:#20beb4;color:#fff;font-size:12px;font-weight:600;border-radius:8px;border:none;cursor:pointer;transition:background .15s ease}.profile-page .btn-primary:hover{background:#17a39a}.profile-page .btn-outline{padding:6px 14px;background:transparent;border:1px solid #e2e8f0;color:#475569;font-size:11px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease}.profile-page .btn-outline:hover{border-color:#20beb4;color:#20beb4}.profile-page .btn-danger{padding:6px 14px;background:transparent;border:1px solid #fecaca;color:#ef4444;font-size:11px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease}.profile-page .btn-danger:hover{background:#fef2f2}.profile-page .btn-danger:disabled{opacity:.4;cursor:not-allowed;background:transparent}.profile-page .btn-danger:disabled:hover{background:transparent}.profile-page .hint-text{font-size:11px;color:#64748b;margin-top:4px;line-height:1.5}.profile-page .code-row{display:flex;gap:8px;align-items:center}.profile-page .code-row .code-input{flex:1;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;outline:none}.profile-page .code-row .code-input:focus{border-color:#20beb4}.profile-page .code-row .resend-btn{white-space:nowrap;flex-shrink:0;padding:8px 14px;background:transparent;border:1px solid #e2e8f0;border-radius:8px;color:#20beb4;font-size:11px;cursor:pointer;transition:all .15s ease}.profile-page .code-row .resend-btn:disabled{color:#64748b;cursor:not-allowed}.profile-page .code-row .resend-btn:not(:disabled):hover{border-color:#20beb4;background:#20beb40a}.profile-page .tfa-info{display:flex;align-items:center;gap:16px;margin-top:8px}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);padding:10px 24px;border-radius:8px;font-size:14px;font-weight:500;z-index:9999;box-shadow:0 4px 12px #00000026;animation:toastIn .25s ease-out}.hotspot-page{display:flex;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc}.app-content:has(.hotspot-page){padding:0;max-width:none;margin:0}.hs-sidebar{flex-shrink:0;width:176px;display:flex;flex-direction:column;gap:4px;padding:16px 12px;background:#fff;border-right:1px solid #e2e8f0;overflow-y:auto}.hs-sidebar::-webkit-scrollbar{width:4px;height:4px}.hs-sidebar::-webkit-scrollbar-track{background:transparent}.hs-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.hs-sidebar::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.hs-sidebar{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.hs-sidebar .hs-sidebar-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#64748b;padding:0 10px 10px;border-bottom:1px dashed #e2e8f0;margin-bottom:6px;letter-spacing:.5px}.hs-sidebar .hs-platform-btn{display:flex;align-items:center;gap:9px;padding:7px 10px;border:none;background:transparent;border-radius:8px;font-size:13.5px;color:#475569;cursor:pointer;transition:all .15s ease;font-family:inherit;text-align:left;width:100%;font-weight:500}.hs-sidebar .hs-platform-btn .hs-platform-logo{width:24px;height:24px;border-radius:7px;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;transition:all .15s ease}.hs-sidebar .hs-platform-btn .hs-platform-logo img{width:15px;height:15px;object-fit:contain;display:block}.hs-sidebar .hs-platform-btn .hs-platform-logo.all{background:linear-gradient(135deg,#20beb4,#5edcd4);border-color:transparent;color:#fff}.hs-sidebar .hs-platform-btn .hs-platform-logo.all svg{width:14px;height:14px}.hs-sidebar .hs-platform-btn:hover{background:#f8fafc;color:#1e293b}.hs-sidebar .hs-platform-btn:hover .hs-platform-logo{border-color:#20beb480}.hs-sidebar .hs-platform-btn.active{background:#d6f7f4;color:#17a39a;font-weight:600}.hs-sidebar .hs-platform-btn.active .hs-platform-logo{border-color:#20beb499;box-shadow:0 0 0 2px #20beb41f}.hs-main{flex:1;min-width:0;display:flex;flex-direction:column}.hs-header{flex-shrink:0;padding:14px 22px 12px;background:#fff;border-bottom:1px solid #e2e8f0}.hs-header .hs-head-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.hs-header .hs-head-row .hs-head-left{display:flex;align-items:baseline;gap:12px;min-width:0}.hs-header .hs-head-row h2{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:600;color:#1e293b;white-space:nowrap}.hs-header .hs-head-row h2 svg{color:#20beb4}.hs-header .hs-head-row .hs-sub{font-size:12.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hs-header .hs-count{flex-shrink:0;font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:4px 10px;border-radius:999px;white-space:nowrap}.hotspot-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.hotspot-tabs::-webkit-scrollbar{width:0px;height:0px}.hotspot-tabs::-webkit-scrollbar-track{background:transparent}.hotspot-tabs::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.hotspot-tabs::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.hotspot-tabs{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.tab-btn{padding:6px 15px;border-radius:999px;font-size:12px;font-weight:500;color:#64748b;background:#fff;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease;font-family:inherit;white-space:nowrap}.tab-btn:hover{border-color:#20beb4;color:#20beb4}.tab-btn.active{background:#d6f7f4;color:#20beb4;border-color:#20beb4;font-weight:600}.hs-content{flex:1;min-height:0;overflow-y:auto;padding:18px 22px 24px}.hs-content::-webkit-scrollbar{width:6px;height:6px}.hs-content::-webkit-scrollbar-track{background:transparent}.hs-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.hs-content::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.hs-content{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.hs-loading{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#64748b;font-size:13.5px}.hs-loading svg{color:#20beb4}.hs-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#64748b}.hs-empty p{font-size:15px;font-weight:500;color:#475569}.hs-empty span{font-size:13px}.hotspot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}.hotspot-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.hotspot-card:hover{box-shadow:0 2px 8px #00000014}.hotspot-card{display:flex;gap:16px;padding:16px;cursor:pointer;transition:all .2s ease;border:1px solid #e2e8f0}.hotspot-card:hover{border-color:#20beb480;box-shadow:0 2px 8px #00000014;transform:translateY(-2px)}.hotspot-card .hs-rank{width:30px;font-size:20px;font-weight:700;color:#cbd5e1;text-align:center;flex-shrink:0;line-height:1.3;font-variant-numeric:tabular-nums}.hotspot-card .hs-rank.top3{color:#20beb4;position:relative}.hotspot-card .hs-info{flex:1;min-width:0}.hotspot-card .hs-info .hs-title-row{display:flex;align-items:flex-start;gap:6px;margin-bottom:5px}.hotspot-card .hs-info .hs-source{flex-shrink:0;margin-top:1px;font-size:10.5px;font-weight:600;color:#17a39a;background:#20beb41a;border:1px solid rgba(32,190,180,.25);padding:1px 6px;border-radius:4px;white-space:nowrap}.hotspot-card .hs-info .hs-title{font-size:14.5px;font-weight:600;color:#1e293b;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hotspot-card .hs-info .hs-desc{font-size:12px;color:#64748b;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55}.hotspot-card .hs-info .hs-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:#64748b}.hotspot-card .hs-info .hs-meta .hs-tag{margin-left:auto;font-size:11px;color:#94a3b8;background:#f8fafc;border:1px solid #e2e8f0;padding:1px 7px;border-radius:999px;flex-shrink:0}.spin{animation:hs-spin 1s linear infinite}@keyframes hs-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1024px){.app-content:has(.hotspot-page){padding:0}.hs-sidebar{width:150px}.hotspot-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width: 768px){.app-content:has(.hotspot-page){padding:0}.hotspot-page{flex-direction:column}.hs-sidebar{width:100%;flex-direction:row;align-items:center;gap:6px;padding:8px 12px;overflow-x:auto;border-right:none;border-bottom:1px solid #e2e8f0;flex-shrink:0}.hs-sidebar .hs-sidebar-title{display:none}.hs-sidebar .hs-platform-btn{width:auto;padding:5px 10px;white-space:nowrap;font-size:13px}.hs-sidebar .hs-platform-btn .hs-platform-logo{width:22px;height:22px;border-radius:6px}.hs-header{padding:12px 16px 10px}.hs-header .hs-sub{display:none}.hs-content{padding:14px 16px 18px}.hotspot-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media (max-width: 576px){.hotspot-grid{grid-template-columns:1fr}.hs-head-row .hs-count{display:none}.hotspot-card{padding:14px}}.assistant-page{display:flex;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc}.app-content:has(.assistant-page){padding:0;max-width:none;margin:0}.agent-panel{width:200px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;background:#f8fafc;min-height:0}.agent-panel .agent-list{flex:1;overflow-y:auto;padding:8px 6px 6px;display:flex;flex-direction:column;gap:2px}.agent-panel .agent-list::-webkit-scrollbar{width:6px;height:6px}.agent-panel .agent-list::-webkit-scrollbar-track{background:transparent}.agent-panel .agent-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.agent-panel .agent-list::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.agent-panel .agent-list{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.agent-panel .agent-node{border-radius:8px}.agent-panel .agent-node.has-active{background:#fff;box-shadow:0 1px 2px #0000000d}.agent-panel .agent-row{display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:8px;cursor:pointer;transition:background .15s ease;-webkit-user-select:none;user-select:none}.agent-panel .agent-row:hover{background:#fff;box-shadow:0 1px 3px #0000000f}.agent-panel .agent-row:hover .agent-edit-btn{opacity:1}.agent-panel .agent-row .agent-chevron{display:flex;align-items:center;color:#94a3b8;transition:transform .2s ease;flex-shrink:0}.agent-panel .agent-row .agent-chevron svg{display:block}.agent-panel .agent-row .agent-chevron.open{transform:rotate(90deg)}.agent-panel .agent-row .agent-avatar{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#d6f7f4,#5edcd4);border:1px solid rgba(32,190,180,.15);display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;line-height:1;box-shadow:0 1px 2px #0000000d}.agent-panel .agent-row .agent-name{flex:1;font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.agent-panel .agent-row .agent-edit-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:#94a3b8;border-radius:4px;cursor:pointer;opacity:0;flex-shrink:0;padding:0;transition:all .15s ease}.agent-panel .agent-row .agent-edit-btn:hover{background:#f1f5f9;color:#20beb4}.agent-panel .session-list{display:flex;flex-direction:column;gap:1px;padding:1px 0 4px}.agent-panel .session-row{display:flex;align-items:center;gap:5px;padding:4px 6px 4px 24px;border-radius:4px;cursor:pointer;transition:background .15s ease;-webkit-user-select:none;user-select:none}.agent-panel .session-row:hover{background:#f1f5f9}.agent-panel .session-row:hover .session-actions{opacity:1}.agent-panel .session-row.active{background:#d6f7f4;position:relative}.agent-panel .session-row.active:before{content:"";position:absolute;left:0;top:20%;bottom:20%;width:3px;border-radius:2px;background:#20beb4}.agent-panel .session-row.active .session-icon{color:#20beb4}.agent-panel .session-row.active .session-name{color:#20beb4;font-weight:500}.agent-panel .session-row .session-icon{color:#94a3b8;flex-shrink:0}.agent-panel .session-row .session-name{flex:1;font-size:12.5px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.agent-panel .session-row .session-actions{display:flex;gap:1px;opacity:0;flex-shrink:0;transition:opacity .15s ease}.agent-panel .session-row .session-act-btn{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:#94a3b8;border-radius:4px;cursor:pointer;transition:all .15s ease;padding:0}.agent-panel .session-row .session-act-btn:hover{background:#fff;color:#20beb4}.agent-panel .session-row .session-act-btn.danger:hover{color:#ef4444}.agent-panel .session-row .session-rename-input{flex:1;min-width:0;height:22px;padding:0 4px;border:1px solid #20BEB4;border-radius:4px;font-size:12.5px;outline:none;background:#fff}.agent-panel .agent-panel-footer{padding:8px;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.agent-panel .agent-panel-footer .btn-add-agent{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;padding:7px 0;border:none;border-radius:8px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;box-shadow:0 2px 6px #20beb440}.agent-panel .agent-panel-footer .btn-add-agent svg{color:#fff}.agent-panel .agent-panel-footer .btn-add-agent:hover{box-shadow:0 4px 10px #20beb459;transform:translateY(-1px)}.chat-main{flex:1;display:flex;flex-direction:column;min-width:0}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 18px;border-bottom:1px solid #e2e8f0;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);flex-shrink:0}.chat-header .chat-agent-name{font-size:15px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header .chat-agent-name .chat-session-name{font-weight:400;color:#64748b}.chat-header .chat-agent-model{font-size:11.5px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.2);padding:2px 10px;border-radius:999px;flex-shrink:0;font-weight:500}.chat-header .chat-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.chat-header .chat-header-btn{display:flex;align-items:center;gap:5px;padding:5px 12px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:12.5px;cursor:pointer;transition:all .15s ease}.chat-header .chat-header-btn svg{color:#20beb4}.chat-header .chat-header-btn:hover{border-color:#20beb4;color:#17a39a;background:#d6f7f4}.chat-body{flex:1;display:flex;min-height:0}.chat-messages{flex:1;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#f7faf9,#eef5f3)}.chat-messages::-webkit-scrollbar{width:6px;height:6px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.chat-messages{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;min-width:0}.chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:8px;padding:24px}.chat-empty .chat-empty-icon-wrap{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,#20beb4,#17a39a);display:flex;align-items:center;justify-content:center;font-size:36px;line-height:1;box-shadow:0 8px 24px #20beb440;margin-bottom:4px}.chat-empty .chat-empty-title{font-size:18px;font-weight:600;color:#1e293b}.chat-empty .chat-empty-desc{font-size:13px;color:#64748b;max-width:340px;text-align:center;line-height:1.6}.chat-empty .chat-empty-tip{font-size:12px;color:#94a3b8;margin-top:4px}.chat-empty .chat-empty-suggests{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}.chat-empty .chat-empty-suggests .suggest-chip{padding:7px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;font-size:12.5px;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px #0000000d}.chat-empty .chat-empty-suggests .suggest-chip:hover{border-color:#20beb4;color:#17a39a;background:#d6f7f4;transform:translateY(-1px);box-shadow:0 1px 3px #0000000f}.chat-msg{display:flex;gap:10px;max-width:85%;animation:chat-msg-in .2s ease}.chat-msg.is-assistant{align-self:flex-start}.chat-msg.is-user{align-self:flex-end;flex-direction:row-reverse}.chat-msg .chat-msg-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;margin-top:2px}.chat-msg .chat-msg-avatar.is-user{background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;box-shadow:0 2px 6px #20beb44d}.chat-msg .chat-msg-avatar.is-assistant{background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;color:#17a39a;box-shadow:0 1px 2px #0000000d}.chat-msg .chat-bubble{padding:10px 14px;border-radius:12px;font-size:13.5px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.chat-msg.is-user .chat-bubble{background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;border-top-right-radius:4px;box-shadow:0 2px 8px #20beb440}.chat-msg.is-assistant .chat-bubble{background:#fff;color:#1e293b;border:1px solid rgba(226,232,240,.8);border-top-left-radius:4px;box-shadow:0 1px 3px #0000000f}.chat-msg .chat-bubble-loading{display:flex;gap:4px;align-items:center}.chat-msg .chat-bubble-loading .dot{width:5px;height:5px;border-radius:50%;background:#94a3b8;animation:chat-dot-bounce 1.2s infinite}.chat-msg .chat-bubble-loading .dot:nth-child(2){animation-delay:.15s}.chat-msg .chat-bubble-loading .dot:nth-child(3){animation-delay:.3s}@keyframes chat-msg-in{0%{transform:translateY(4px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes chat-dot-bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}.chat-input-area{flex-shrink:0;padding:10px 18px 14px;background:linear-gradient(180deg,transparent 0%,rgba(214,247,244,.35) 100%);border-top:1px solid rgba(226,232,240,.5)}.chat-input-box{border:1.5px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 1px 3px #0000000f;overflow:visible;transition:border-color .15s ease,box-shadow .15s ease}.chat-input-box:focus-within{border-color:#20beb4;box-shadow:0 0 0 3px #20beb426,0 2px 8px #00000014}.chat-input-tools{padding:6px 10px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-select{position:relative;display:inline-block}.agent-select .agent-select-btn{display:flex;align-items:center;gap:6px;padding:3px 9px 3px 4px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;font-size:12.5px;color:#1e293b;cursor:pointer;transition:all .15s ease;max-width:180px}.agent-select .agent-select-btn:hover{border-color:#20beb4;background:#d6f7f4}.agent-select .agent-select-btn .agent-select-avatar{width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#d6f7f4,#5edcd4);border:1px solid rgba(32,190,180,.15);display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0;line-height:1}.agent-select .agent-select-btn .agent-select-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.agent-select .agent-select-btn .agent-select-chevron{transition:transform .2s ease;color:#94a3b8}.agent-select .agent-select-btn .agent-select-chevron.open{transform:rotate(90deg)}.agent-select .agent-select-dropdown{position:absolute;bottom:calc(100% + 4px);left:0;min-width:220px;max-height:300px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:4px;z-index:200}.agent-select .agent-select-dropdown::-webkit-scrollbar{width:6px;height:6px}.agent-select .agent-select-dropdown::-webkit-scrollbar-track{background:transparent}.agent-select .agent-select-dropdown::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.agent-select .agent-select-dropdown::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.agent-select .agent-select-dropdown{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.agent-select .agent-select-dropdown .agent-pick-title{padding:5px 8px 3px;font-size:11px;color:#94a3b8;font-weight:500}.agent-select .agent-select-dropdown .agent-pick-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;border:none;background:transparent;border-radius:4px;cursor:pointer;text-align:left;transition:background .15s ease}.agent-select .agent-select-dropdown .agent-pick-row:hover{background:#f8fafc}.agent-select .agent-select-dropdown .agent-pick-row.selected{background:#d6f7f4}.agent-select .agent-select-dropdown .agent-pick-row .agent-pick-avatar{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#d6f7f4,#5edcd4);border:1px solid rgba(32,190,180,.15);display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0;line-height:1}.agent-select .agent-select-dropdown .agent-pick-row .agent-pick-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.agent-select .agent-select-dropdown .agent-pick-row .agent-pick-info .agent-pick-name{font-size:13px;font-weight:500;color:#1e293b}.agent-select .agent-select-dropdown .agent-pick-row .agent-pick-info .agent-pick-desc{font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-select .agent-select-dropdown .agent-pick-add{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:4px;padding:6px 0;border:1px dashed #e2e8f0;border-radius:4px;background:transparent;color:#64748b;font-size:12.5px;cursor:pointer;transition:all .15s ease}.agent-select .agent-select-dropdown .agent-pick-add svg{color:#20beb4}.agent-select .agent-select-dropdown .agent-pick-add:hover{border-color:#20beb4;border-style:solid;background:#d6f7f4;color:#20beb4}.model-select{position:relative;display:inline-block}.model-select .model-select-btn{display:flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;font-size:12.5px;color:#1e293b;cursor:pointer;transition:all .15s ease}.model-select .model-select-btn svg:first-child{color:#20beb4}.model-select .model-select-btn:hover{border-color:#20beb4;background:#d6f7f4}.model-select .model-select-btn .model-select-chevron{transition:transform .2s ease}.model-select .model-select-btn .model-select-chevron.open{transform:rotate(90deg)}.model-select .model-dropdown{position:absolute;bottom:calc(100% + 4px);left:0;min-width:240px;max-height:320px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:4px;z-index:200}.model-select .model-dropdown::-webkit-scrollbar{width:6px;height:6px}.model-select .model-dropdown::-webkit-scrollbar-track{background:transparent}.model-select .model-dropdown::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.model-select .model-dropdown::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.model-select .model-dropdown{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.model-select .model-dropdown .model-group-label{padding:5px 8px 3px;font-size:11px;color:#94a3b8;font-weight:500}.model-select .model-dropdown .model-option{display:flex;align-items:center;gap:7px;width:100%;padding:6px 8px;border:none;background:transparent;border-radius:4px;cursor:pointer;font-size:12.5px;text-align:left;transition:background .15s ease}.model-select .model-dropdown .model-option:hover{background:#f8fafc}.model-select .model-dropdown .model-option.selected{background:#d6f7f4}.model-select .model-dropdown .model-option .model-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.model-select .model-dropdown .model-option .model-dot.on{background:#10b981}.model-select .model-dropdown .model-option .model-option-name{flex:1;color:#1e293b;font-weight:500}.model-select .model-dropdown .model-option .model-option-provider{font-size:11.5px;color:#64748b}.model-select .model-dropdown .model-option-row{display:flex;align-items:center;border-radius:4px;transition:background .15s ease}.model-select .model-dropdown .model-option-row:hover{background:#f8fafc}.model-select .model-dropdown .model-option-row.selected{background:#d6f7f4}.model-select .model-dropdown .model-option-row .model-option{flex:1;min-width:0;background:transparent}.model-select .model-dropdown .model-option-row .model-row-actions{display:flex;gap:1px;padding-right:4px;flex-shrink:0}.model-select .model-dropdown .model-option-row .model-row-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:#94a3b8;border-radius:4px;cursor:pointer;padding:0;transition:all .15s ease}.model-select .model-dropdown .model-option-row .model-row-btn:hover{background:#fff;color:#20beb4}.model-select .model-dropdown .model-option-row .model-row-btn.danger:hover{color:#ef4444}.model-select .model-dropdown .model-add-btn{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:4px;padding:6px 0;border:1px dashed #e2e8f0;border-radius:4px;background:transparent;color:#64748b;font-size:12.5px;cursor:pointer;transition:all .15s ease}.model-select .model-dropdown .model-add-btn svg{color:#20beb4}.model-select .model-dropdown .model-add-btn:hover{border-color:#20beb4;border-style:solid;background:#d6f7f4;color:#20beb4}.chat-textarea{width:100%;border:none;outline:none;resize:none;padding:6px 14px 2px;font-size:14px;line-height:1.6;color:#1e293b;background:transparent;font-family:inherit;max-height:180px;box-sizing:border-box}.chat-textarea::placeholder{color:#94a3b8}.chat-input-bottom{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 8px}.chat-input-bottom .chat-input-hint{font-size:11px;color:#94a3b8}.chat-input-bottom .chat-send-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:50%;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;cursor:pointer;transition:all .15s ease;box-shadow:0 2px 6px #20beb44d}.chat-input-bottom .chat-send-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 10px #20beb466}.chat-input-bottom .chat-send-btn:active:not(:disabled){transform:translateY(0)}.chat-input-bottom .chat-send-btn:disabled{background:#e2e8f0;box-shadow:none;cursor:not-allowed}.agent-edit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:200;display:flex;align-items:center;justify-content:center}.agent-edit-dialog{width:380px;max-width:calc(100vw - 32px);background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e;overflow:hidden;animation:agent-edit-pop .18s ease}@keyframes agent-edit-pop{0%{transform:scale(.95) translateY(6px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.agent-edit-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e2e8f0;font-size:15px;font-weight:600;color:#1e293b;background:linear-gradient(180deg,#f8fafc,#fff)}.agent-edit-header .agent-edit-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:#64748b;border-radius:8px;cursor:pointer;transition:all .15s ease}.agent-edit-header .agent-edit-close:hover{background:#f1f5f9;color:#1e293b}.agent-edit-body{padding:16px 18px;display:flex;flex-direction:column;gap:6px;max-height:60vh;overflow-y:auto}.agent-edit-body::-webkit-scrollbar{width:6px;height:6px}.agent-edit-body::-webkit-scrollbar-track{background:transparent}.agent-edit-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.agent-edit-body::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.agent-edit-body{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.agent-edit-body .agent-edit-label{font-size:12.5px;font-weight:500;color:#64748b;margin-top:6px}.agent-edit-body .agent-edit-label:first-child{margin-top:0}.agent-edit-body .agent-edit-emoji-row{display:flex;flex-wrap:wrap;gap:4px}.agent-edit-body .agent-edit-emoji-row .emoji-option{width:32px;height:32px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.agent-edit-body .agent-edit-emoji-row .emoji-option:hover{border-color:#20beb4}.agent-edit-body .agent-edit-emoji-row .emoji-option.selected{border-color:#20beb4;background:#d6f7f4;box-shadow:0 0 0 2px #20beb426}.agent-edit-body .agent-edit-input{width:100%;height:34px;padding:0 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13.5px;outline:none;transition:border-color .15s ease;box-sizing:border-box}.agent-edit-body .agent-edit-input:focus{border-color:#20beb4}.agent-edit-body .agent-edit-textarea{width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13.5px;outline:none;resize:vertical;font-family:inherit;line-height:1.5;box-sizing:border-box;transition:border-color .15s ease}.agent-edit-body .agent-edit-textarea:focus{border-color:#20beb4}.agent-edit-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px 14px;border-top:1px solid #e2e8f0;background:#f8fafc}.agent-edit-footer .agent-edit-delete{display:flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid rgba(239,68,68,.4);border-radius:8px;background:transparent;color:#ef4444;font-size:12.5px;cursor:pointer;transition:all .15s ease}.agent-edit-footer .agent-edit-delete:hover{background:#ef444414;border-color:#ef4444}.agent-edit-footer .agent-edit-footer-right{display:flex;gap:8px}.agent-edit-footer .agent-edit-cancel{padding:7px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;font-size:13px;cursor:pointer;transition:all .15s ease}.agent-edit-footer .agent-edit-cancel:hover{background:#f1f5f9;color:#1e293b}.agent-edit-footer .agent-edit-save{display:flex;align-items:center;gap:4px;padding:7px 16px;border:none;border-radius:8px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;box-shadow:0 2px 6px #20beb44d}.agent-edit-footer .agent-edit-save:hover:not(:disabled){box-shadow:0 4px 10px #20beb466}.agent-edit-footer .agent-edit-save:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.preset-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:200;display:flex;align-items:center;justify-content:center}.preset-dialog{width:1080px;max-width:calc(100vw - 32px);height:76vh;max-height:76vh;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e;overflow:hidden;animation:agent-edit-pop .18s ease}.preset-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e2e8f0;font-size:15px;font-weight:600;color:#1e293b;background:linear-gradient(180deg,#f8fafc,#fff)}.preset-header .preset-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:#64748b;border-radius:8px;cursor:pointer;transition:all .15s ease}.preset-header .preset-close:hover{background:#f1f5f9;color:#1e293b}.preset-cats{display:flex;gap:6px;padding:12px 18px 0;flex-wrap:wrap;flex-shrink:0}.preset-cats .preset-cat{padding:5px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:12.5px;cursor:pointer;transition:all .15s ease}.preset-cats .preset-cat:hover{border-color:#20beb4;color:#17a39a}.preset-cats .preset-cat.active{background:linear-gradient(135deg,#20beb4,#17a39a);border-color:transparent;color:#fff;font-weight:500;box-shadow:0 2px 6px #20beb44d}.preset-grid{flex:1;overflow-y:auto;padding:14px 18px 18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-content:start}.preset-grid::-webkit-scrollbar{width:6px;height:6px}.preset-grid::-webkit-scrollbar-track{background:transparent}.preset-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.preset-grid::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.preset-grid{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.preset-grid .preset-card{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;text-align:left;transition:all .15s ease;width:100%;box-sizing:border-box;min-width:0}.preset-grid .preset-card:hover{border-color:#20beb480;background:#d6f7f4;transform:translateY(-1px);box-shadow:0 1px 3px #0000000f}.preset-grid .preset-card .preset-card-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#d6f7f4,#5edcd4);border:1px solid rgba(32,190,180,.15);display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0;line-height:1}.preset-grid .preset-card .preset-card-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.preset-grid .preset-card .preset-card-info .preset-card-name{font-size:13.5px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-grid .preset-card .preset-card-info .preset-card-desc{font-size:11.5px;color:#64748b;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.preset-grid .preset-empty{grid-column:1/-1;padding:40px 0;text-align:center;font-size:13px;color:#94a3b8}@media (max-width: 1280px){.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 1024px){.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.preset-grid{grid-template-columns:repeat(1,minmax(0,1fr))}}.assistant-side-panel{width:320px;flex-shrink:0;border-left:1px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;min-height:0}.side-panel-tabs{display:flex;gap:4px;padding:12px 12px 8px;flex-shrink:0}.side-panel-tabs .side-panel-tab{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;padding:6px 4px;border:none;border-radius:8px;background:transparent;color:#64748b;font-size:12px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.side-panel-tabs .side-panel-tab svg{color:#94a3b8;flex-shrink:0}.side-panel-tabs .side-panel-tab:hover{color:#1e293b;background:#fff;box-shadow:0 1px 2px #0000000d}.side-panel-tabs .side-panel-tab.active{background:#fff;color:#17a39a;font-weight:500;box-shadow:0 1px 2px #0000000d;border:1px solid rgba(32,190,180,.15)}.side-panel-tabs .side-panel-tab.active svg{color:#20beb4}.side-panel-body{flex:1;overflow-y:auto;padding:12px 12px 18px;display:flex;flex-direction:column;gap:10px}.side-panel-body::-webkit-scrollbar{width:6px;height:6px}.side-panel-body::-webkit-scrollbar-track{background:transparent}.side-panel-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.side-panel-body::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.side-panel-body{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.side-panel-body .panel-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;box-shadow:0 1px 2px #0000000d}.side-panel-body .panel-card .panel-card-title{font-size:12px;font-weight:600;color:#1e293b;margin-bottom:8px;display:flex;align-items:center;gap:5px}.side-panel-body .panel-card .panel-card-title svg{color:#20beb4}.side-panel-body .persona-desc{font-size:12px;color:#64748b;line-height:1.6;margin:0}.side-panel-body .persona-desc b{color:#1e293b}.side-panel-body .persona-textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;line-height:1.6;outline:none;resize:vertical;font-family:inherit;box-sizing:border-box;color:#1e293b;background:#f8fafc;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;min-height:160px}.side-panel-body .persona-textarea:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.side-panel-body .persona-save-row{display:flex;justify-content:flex-end;align-items:center}.side-panel-body .persona-save-row .persona-autosave{font-size:11px;color:#94a3b8;display:flex;align-items:center;gap:4px}.side-panel-body .persona-save-row .persona-save-btn{display:flex;align-items:center;gap:4px;padding:6px 16px;border:none;border-radius:8px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:12.5px;font-weight:500;cursor:pointer;transition:all .15s ease;box-shadow:0 2px 6px #20beb44d}.side-panel-body .persona-save-row .persona-save-btn:hover{box-shadow:0 4px 10px #20beb466;transform:translateY(-1px)}.side-panel-body .cloud-pane{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1}.side-panel-body .cloud-pane-header{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-shrink:0}.side-panel-body .cloud-pane-header .cloud-pane-path{display:flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#1e293b;min-width:0}.side-panel-body .cloud-pane-header .cloud-pane-path svg{color:#20beb4;flex-shrink:0}.side-panel-body .cloud-pane-header .cloud-pane-path .cloud-pane-path-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-panel-body .cloud-error{padding:8px 10px;border-radius:8px;background:#ef444414;color:#ef4444;font-size:12px}.side-panel-body .cloud-menu-empty{padding:16px 0;text-align:center;font-size:12px;color:#94a3b8}.side-panel-body .cloud-menu-loading{display:flex;align-items:center;justify-content:center;gap:6px;padding:16px 0;font-size:12px;color:#94a3b8}.side-panel-body .spin{animation:cloud-spin 1s linear infinite}@keyframes cloud-spin{to{transform:rotate(360deg)}}.chat-header-panel-toggle{font-size:12px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.2);padding:3px 10px;border-radius:999px;cursor:pointer;flex-shrink:0;transition:all .15s ease;font-weight:500}.chat-header-panel-toggle:hover{background:#20beb4;color:#fff}.chat-input-area{position:relative}.chat-input-area.drag-over .chat-input-box{border-color:#20beb4;box-shadow:0 0 0 3px #20beb42e}.chat-input-area .chat-input-drop-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#d6f7f4eb;border:2px dashed #20BEB4;border-radius:16px;color:#17a39a;font-size:14px;font-weight:500;pointer-events:none}.chat-input-area .chat-input-drop-mask svg{width:30px;height:30px;color:#20beb4;animation:drop-bounce 1s ease infinite}.chat-input-area .chat-input-uploading{display:flex;align-items:center;gap:6px;padding:4px 10px;font-size:12px;color:#17a39a;background:#d6f7f4;border-radius:8px;margin-bottom:6px;width:fit-content}@keyframes drop-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.file-viewer{width:50%;min-width:320px;display:flex;flex-direction:column;border-left:1px solid #e2e8f0;background:#fff;position:relative;animation:viewer-slide-in .2s ease}@keyframes viewer-slide-in{0%{transform:translate(12px);opacity:0}to{transform:translate(0);opacity:1}}.file-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#fff);flex-shrink:0}.file-viewer-header .file-viewer-left{display:flex;align-items:center;gap:8px;position:relative;min-width:0}.cloud-tree{display:flex;flex-direction:column;gap:1px;overflow-y:auto;flex:1;min-height:0;padding:2px 0 8px}.cloud-tree-folder-row{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:8px;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;user-select:none}.cloud-tree-folder-row:hover{background:#f8fafc}.cloud-tree-folder-row.expanded{background:#d6f7f4}.cloud-tree-folder-row .cloud-tree-chevron{color:#94a3b8;transition:transform .15s ease;flex-shrink:0}.cloud-tree-folder-row .cloud-tree-chevron.open{transform:rotate(90deg);color:#20beb4}.cloud-tree-folder-row .cloud-folder-icon{color:#f59e0b;flex-shrink:0}.cloud-tree-folder-row .cloud-tree-folder-name{font-size:12.5px;color:#1e293b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.cloud-tree-folder-row .cloud-tree-count{font-size:10.5px;color:#94a3b8;background:#f1f5f9;border-radius:99px;padding:0 6px;line-height:15px;flex-shrink:0}.cloud-tree-children{display:flex;flex-direction:column;gap:1px}.cloud-tree-file-row{display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:8px;cursor:pointer;transition:all .15s ease}.cloud-tree-file-row:hover{background:#f8fafc}.cloud-tree-file-row.selected{background:#d6f7f4;box-shadow:inset 2px 0 #20beb4}.cloud-tree-file-row .cloud-file-thumb{width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}.cloud-tree-file-row .cloud-file-thumb.md{background:#20beb41f;color:#17a39a}.cloud-tree-file-row .cloud-file-thumb.img{background:#f973161f;color:#ea580c}.cloud-tree-file-row .cloud-file-thumb.pdf{background:#ef44441f;color:#dc2626}.cloud-tree-file-row .cloud-file-thumb.doc{background:#3b82f61f;color:#2563eb}.cloud-tree-file-row .cloud-file-thumb.other{background:#f1f5f9;color:#64748b}.cloud-tree-file-row .cloud-file-info{flex:1;min-width:0}.cloud-tree-file-row .cloud-file-info .cloud-file-name{font-size:12.5px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cloud-tree-file-row .cloud-file-info .cloud-file-meta{font-size:10.5px;color:#94a3b8;margin-top:1px}.cloud-tree-file-row .cloud-file-del{opacity:0;color:#ef4444;background:none;border:none;cursor:pointer;padding:3px;border-radius:4px;transition:all .15s ease;flex-shrink:0}.cloud-tree-file-row .cloud-file-del:hover{background:#ef44441a}.cloud-tree-file-row:hover .cloud-file-del{opacity:1}.cloud-pane-actions{display:flex;align-items:center;gap:6px;position:relative}.cloud-refresh-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:none;background:none;color:#64748b;cursor:pointer;transition:all .15s ease}.cloud-refresh-btn:hover{background:#f8fafc;color:#20beb4}.cloud-refresh-btn .spin{animation:cloud-spin 1s linear infinite}@keyframes cloud-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1024px){.app-content:has(.assistant-page){padding:0}}@media (max-width: 768px){.app-content:has(.assistant-page){padding:0}}.chat-bubble p{margin:0 0 10px}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble p{line-height:1.7}.chat-bubble h1,.chat-bubble h2,.chat-bubble h3,.chat-bubble h4{margin:14px 0 8px;font-weight:600;color:#0f172a;line-height:1.4}.chat-bubble h1:first-child,.chat-bubble h2:first-child,.chat-bubble h3:first-child,.chat-bubble h4:first-child{margin-top:0}.chat-bubble h1{font-size:17px}.chat-bubble h2{font-size:16px}.chat-bubble h3{font-size:15px}.chat-bubble h4{font-size:14px}.chat-bubble ul,.chat-bubble ol{margin:6px 0 10px;padding-left:20px}.chat-bubble ul li,.chat-bubble ol li{margin:4px 0;line-height:1.7}.chat-bubble strong{font-weight:600;color:#0f172a}.chat-bubble a{color:#20beb4;text-decoration:none}.chat-bubble a:hover{text-decoration:underline}.chat-bubble hr{border:none;border-top:1px solid #e2e8f0;margin:12px 0}.chat-bubble blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #20BEB4;background:#d6f7f4;border-radius:0 6px 6px 0;color:#475569}.chat-bubble blockquote p{margin:0}.chat-bubble .md-inline-code{background:#20beb414;color:#17a39a;border:1px solid rgba(32,190,180,.15);border-radius:4px;padding:1px 5px;font-family:JetBrains Mono,Consolas,Courier New,monospace;font-size:12.5px}.chat-bubble table{width:100%;border-collapse:collapse;margin:10px 0;font-size:13px}.chat-bubble table th,.chat-bubble table td{border:1px solid #e2e8f0;padding:7px 10px;text-align:left}.chat-bubble table th{background:#f8fafc;font-weight:600;color:#0f172a}.chat-bubble table tr:nth-child(2n){background:#f8fafc80}.chat-bubble input[type=checkbox]{margin-right:6px;accent-color:#20BEB4}.chat-bubble details{margin:10px 0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.chat-bubble details summary{cursor:pointer;padding:8px 12px;background:#f8fafc;font-size:13px;font-weight:500;color:#334155;-webkit-user-select:none;user-select:none;list-style:none}.chat-bubble details summary::-webkit-details-marker{display:none}.chat-bubble details summary:before{content:"▸ ";color:#20beb4;transition:transform .15s;display:inline-block}.chat-bubble details summary:hover{background:#20beb40f}.chat-bubble details[open] summary:before{transform:rotate(90deg)}.chat-bubble details>:not(summary){padding:8px 12px}.chat-bubble .md-codeblock{margin:10px 0;border-radius:10px;overflow:hidden;background:#1e2430;border:1px solid rgba(255,255,255,.08);box-shadow:0 2px 8px #0000001f}.chat-bubble .md-codeblock .md-codeblock-head{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;background:#ffffff0f}.chat-bubble .md-codeblock .md-codeblock-head .md-codeblock-lang{font-size:11px;color:#fff9;text-transform:lowercase;font-family:Consolas,monospace;letter-spacing:.5px}.chat-bubble .md-codeblock .md-codeblock-head .md-codeblock-copy{font-size:11px;color:#ffffffb3;cursor:pointer;background:#ffffff1a;border:none;border-radius:4px;padding:2px 8px;transition:all .15s}.chat-bubble .md-codeblock .md-codeblock-head .md-codeblock-copy:hover{background:#fff3;color:#fff}.chat-bubble .md-codeblock .md-codeblock-pre{margin:0;padding:12px 14px;overflow-x:auto}.chat-bubble .md-codeblock .md-codeblock-pre code{font-family:JetBrains Mono,Consolas,Courier New,monospace;font-size:12.5px;line-height:1.65;color:#e8ecf3}.chat-msg.is-user .chat-bubble p,.chat-msg.is-user .chat-bubble ul,.chat-msg.is-user .chat-bubble ol,.chat-msg.is-user .chat-bubble h1,.chat-msg.is-user .chat-bubble h2,.chat-msg.is-user .chat-bubble h3,.chat-msg.is-user .chat-bubble h4{color:#fff}.mini-timeline{--mt-bg:#0d1118;--mt-panel:#151b24;--mt-raised:#1c2633;--mt-border:#344258;--mt-text:#eef4fb;--mt-muted:#93a3b6;--mt-focus:#4b9cff;--mt-playhead:#ff5d63;--mt-header-width:224px;color:var(--mt-text);background:var(--mt-bg);border:1px solid var(--mt-border);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-user-select:none;user-select:none;border-radius:6px;font:13px/1.4 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}.mini-timeline *,.mini-timeline :before,.mini-timeline :after{box-sizing:border-box}.mini-timeline button,.mini-timeline [role=button]{cursor:pointer}.mini-timeline button:focus-visible,.mini-timeline [role=button]:focus-visible,.mini-timeline input:focus-visible,.mini-timeline select:focus-visible{outline:2px solid var(--mt-focus);outline-offset:1px}.mini-timeline__toolbar,.mini-timeline__inspector,.mini-timeline__status{background:var(--mt-panel);align-items:center;gap:8px;display:flex}.mini-timeline__toolbar{border-bottom:1px solid var(--mt-border);flex-wrap:wrap;justify-content:space-between;min-height:46px;padding:6px 8px}.mini-timeline__group{align-items:center;gap:5px;display:flex}.mini-timeline__tools{flex-wrap:wrap;justify-content:flex-end}.mini-timeline__tools label,.mini-timeline__inspector label{color:var(--mt-muted);white-space:nowrap;align-items:center;gap:4px;font-size:10px;display:flex}.mini-timeline input,.mini-timeline select{height:29px;color:var(--mt-text);background:var(--mt-raised);border:1px solid var(--mt-border);border-radius:3px;padding:3px 6px}.mini-timeline input[type=number]{font-variant-numeric:tabular-nums;width:76px}.mini-timeline input[type=checkbox]{width:15px;height:15px;accent-color:var(--mt-focus)}.mini-timeline__button{min-width:30px;min-height:30px;color:var(--mt-text);background:var(--mt-raised);border:1px solid var(--mt-border);border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:4px 7px;display:inline-flex}.mini-timeline__button:hover{background:#293649;border-color:#53657d}.mini-timeline__button:disabled{cursor:not-allowed;opacity:.35}.mini-timeline__button.is-primary{background:#2563a9;border-color:#62a7f5;min-width:40px}.mini-timeline__button.is-danger{color:#ff9b9f}.mini-timeline__time{color:#9dc8ff;min-width:74px;margin-left:4px;font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.mini-timeline__muted{color:var(--mt-muted);font-size:10px}.mini-timeline__active{border:1px solid var(--mt-border);background:#10212b;border-radius:4px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:150px;max-width:280px;height:32px;padding:4px 8px;display:grid}.mini-timeline__active span{color:#70a6b0;letter-spacing:.1em;font-size:8px;font-weight:800}.mini-timeline__active strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mini-timeline__file{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.mini-timeline__inspector{border-bottom:1px solid var(--mt-border);flex-wrap:wrap;min-height:42px;padding:5px 8px}.mini-timeline__inspector label input{width:120px}.mini-timeline__inspector label input[type=number]{width:82px}.mini-timeline__workspace{grid-template-columns:var(--mt-header-width) minmax(0,1fr);height:360px;min-height:220px;display:grid}.mini-timeline__headers{z-index:4;background:var(--mt-panel);border-right:1px solid var(--mt-border);position:relative;box-shadow:4px 0 12px #00000040}.mini-timeline__corner{height:32px;color:var(--mt-muted);border-bottom:1px solid var(--mt-border);letter-spacing:.12em;align-items:center;padding:0 10px;font-size:9px;font-weight:800;display:flex}.mini-timeline__header-scroll{height:calc(100% - 32px);overflow:hidden}.mini-timeline__track{border-bottom:1px solid #293549;grid-template-columns:30px minmax(0,1fr) 30px 30px;align-items:center;gap:3px;height:54px;padding:0 6px;display:grid}.mini-timeline__track strong,.mini-timeline__track small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.mini-timeline__track strong{font-size:11px}.mini-timeline__track small{color:var(--mt-muted);font-size:8px}.mini-timeline__track .mini-timeline__button{background:0 0;border-color:#0000;min-width:26px;min-height:26px;padding:3px}.mini-timeline__track--sub{background:#111923;grid-template-columns:16px minmax(0,1fr) 20px 28px;height:44px;padding-left:14px}.mini-timeline__track--sub>input{width:100%;height:26px;font-size:10px}.mini-timeline__viewport{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4a5668 #121821;position:relative;overflow:auto}.mini-timeline__viewport:active{cursor:grabbing}.mini-timeline__canvas{min-width:100%;min-height:100%;position:relative}.mini-timeline__ruler{z-index:3;border-bottom:1px solid var(--mt-border);cursor:crosshair;background:#171e28;height:32px;position:sticky;top:0;overflow:hidden}.mini-timeline__ruler i{background:#627187;width:1px;height:5px;position:absolute;bottom:0}.mini-timeline__ruler i.is-major{background:#a0afbf;height:11px}.mini-timeline__ruler b{color:#b5c1cf;white-space:nowrap;font:500 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;position:absolute;bottom:10px;left:4px}.mini-timeline__lane{background-color:#101721;background-image:repeating-linear-gradient(90deg,#7b92ae17 0,#7b92ae17 1px,#0000 1px,#0000 40px);border-bottom:1px solid #293549;height:54px;position:relative}.mini-timeline__lane:nth-child(2n){background-color:#131a24}.mini-timeline__lane.is-sub{background-color:#0f161f;height:44px;box-shadow:inset 3px 0 #26364a}.mini-timeline__clip{--clip-color:#526274;color:#fff;background:color-mix(in srgb,var(--clip-color),#0b1118 25%);border:1px solid color-mix(in srgb,var(--clip-color),white 28%);border-left:4px solid var(--clip-color);touch-action:none;border-radius:3px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;min-width:8px;height:42px;padding:5px 10px;display:grid;position:absolute;top:6px;overflow:hidden;box-shadow:inset 0 1px #ffffff1f,0 2px 5px #0000004d}.mini-timeline__lane.is-sub .mini-timeline__clip{height:36px;top:4px}.mini-timeline__clip:hover{filter:brightness(1.1)}.mini-timeline__clip.is-selected{z-index:2;box-shadow:0 0 0 2px var(--mt-focus),0 4px 12px #00000080;border-color:#fff}.mini-timeline__clip small{color:#fff;text-transform:uppercase;background:#00000047;border-radius:2px;padding:2px 4px;font-size:7px;font-weight:800}.mini-timeline__clip strong,.mini-timeline__clip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mini-timeline__clip strong{font-size:11px}.mini-timeline__clip span{color:#ffffffbf;font:500 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.mini-timeline__trim{z-index:2;touch-action:none;background:0 0;border:0;width:9px;padding:0;position:absolute;top:0;bottom:0;cursor:ew-resize!important}.mini-timeline__trim.is-left{left:0}.mini-timeline__trim.is-right{right:0}.mini-timeline__trim:hover{background:#ffffff38}.mini-timeline__playhead{z-index:5;pointer-events:none;background:var(--mt-playhead);width:1px;box-shadow:0 0 4px color-mix(in srgb,var(--mt-playhead),transparent 35%);will-change:transform;position:absolute;top:0;bottom:0;left:0}.mini-timeline__playhead span{background:var(--mt-playhead);clip-path:polygon(0 0,100% 0,50% 100%);width:11px;height:10px;position:absolute;top:0;left:-5px}.mini-timeline__menu{z-index:1200;width:168px;color:var(--mt-text);background:#1a222e;border:1px solid #435167;border-radius:5px;padding:5px;position:fixed;box-shadow:0 10px 30px #0000008c}.mini-timeline__menu button{width:100%;min-height:34px;color:inherit;text-align:left;background:0 0;border:0;border-radius:3px;align-items:center;gap:8px;padding:0 9px;display:flex}.mini-timeline__menu button:hover,.mini-timeline__menu button:focus-visible{background:#29384b}.mini-timeline__menu button.is-danger{color:#ff9b9f}.mini-timeline__menu button.is-danger:hover{background:#49252c}.mini-timeline__status{min-height:28px;color:var(--mt-muted);border-top:1px solid var(--mt-border);justify-content:space-between;padding:0 9px;font-size:9px}.mini-timeline__status [role=alert]{color:#ff9b9f}@media (width<=760px){.mini-timeline{--mt-header-width:178px}.mini-timeline__workspace{height:300px}.mini-timeline__track{grid-template-columns:26px minmax(0,1fr) 25px 25px;gap:1px}.mini-timeline__track--sub{grid-template-columns:14px minmax(0,1fr) 25px}.mini-timeline__track--sub>small{display:none}}@media (prefers-reduced-motion:reduce){.mini-timeline *,.mini-timeline :before,.mini-timeline :after{transition-duration:.01ms!important}}.clip-editor{display:flex;flex-direction:column;gap:14px;height:100%;min-height:0}.clip-top{display:grid;grid-template-columns:minmax(300px,1fr) minmax(230px,340px);gap:14px}.clip-preview{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.clip-preview .clip-preview-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:210px;text-align:center;padding:18px 24px;background:linear-gradient(160deg,#101418,#1a232b);color:#fff}.clip-preview .clip-preview-stage[data-type=subtitle]{background:linear-gradient(160deg,#181033,#261a4d)}.clip-preview .clip-preview-stage[data-type=bgm]{background:linear-gradient(160deg,#33220a,#4a3010)}.clip-preview .clip-preview-stage svg{color:#ffffffd9}.clip-preview .clip-preview-stage b{font-size:16px;font-weight:600}.clip-preview .clip-preview-stage p{font-size:13px;line-height:1.6;color:#ffffffbf;max-width:420px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.clip-preview .clip-preview-stage em{font-style:normal;font-size:11px;color:#ffffff73}.clip-preview .clip-preview-stage.empty{background:linear-gradient(160deg,#0f1216,#171c22)}.clip-preview .clip-preview-stage.empty p{color:#fff9}.clip-preview .clip-preview-stage.empty span{font-size:11.5px;color:#ffffff59}.clip-preview .clip-time-chip{position:absolute;bottom:10px;right:12px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:#fff;background:#0000008c;padding:4px 10px;border-radius:999px}.clip-info{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column}.clip-info .clip-info-head{display:flex;align-items:center;gap:7px;padding-bottom:10px;border-bottom:1px dashed #e2e8f0}.clip-info .clip-info-head svg{color:#20beb4;flex-shrink:0}.clip-info .clip-info-head b{flex:1;min-width:0;font-size:14px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clip-info .clip-info-head em{font-style:normal;font-size:11px;color:#17a39a;background:#d6f7f4;padding:2px 8px;border-radius:4px;flex-shrink:0}.clip-info ul{list-style:none;margin:12px 0;display:flex;flex-direction:column;gap:9px}.clip-info ul li{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#64748b}.clip-info ul li svg{color:#94a3b8;flex-shrink:0}.clip-info .clip-save-btn{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px;border:none;border-radius:8px;font-size:13.5px;font-weight:600;color:#fff;background:linear-gradient(135deg,#20beb4,#17a39a);cursor:pointer;transition:all .15s ease}.clip-info .clip-save-btn:hover{opacity:.92}.clip-info .clip-save-btn.saved{background:#10b981}.clip-timeline-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;flex:1;min-height:260px}.clip-timeline-wrap .dream-mt{--mt-focus: #20BEB4;--mt-playhead: #ef4444;--mt-header-width: 200px}.clip-tip{font-size:11.5px;color:#94a3b8;text-align:center;padding-bottom:2px}@media (max-width: 768px){.clip-top{grid-template-columns:1fr}.clip-preview .clip-preview-stage{height:170px}}.app-content:has(.char-design-page){padding:0;max-width:none;margin:0}.char-design-page{padding:20px 28px 40px}.cd-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.cd-head h2{font-size:20px;color:#1e293b}.cd-head p{margin-top:4px;font-size:13px;color:#64748b}.cd-count{font-size:12px;color:#17a39a;background:#d6f7f4;border-radius:999px;padding:5px 14px}.cd-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:18px;align-items:start}.cd-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px 20px}.cd-card h3{display:flex;align-items:center;gap:7px;font-size:15.5px;color:#1e293b;margin-bottom:16px}.cd-card h3 svg{color:#20beb4}.cd-field{margin-bottom:14px}.cd-field label{display:block;font-size:12.5px;font-weight:600;color:#64748b;margin-bottom:6px}.cd-field input,.cd-field textarea{width:100%;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;font-size:13.5px;color:#1e293b;background:#fff;transition:all .15s ease;resize:vertical}.cd-field input:focus,.cd-field textarea:focus{outline:none;border-color:#20beb4;box-shadow:0 0 0 3px #20beb41f}.cd-preset-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.cd-preset-list button{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:12px;color:#64748b;cursor:pointer;transition:all .15s ease}.cd-preset-list button em{font-style:normal;font-size:11px;color:#20beb4;opacity:.8}.cd-preset-list button:hover{border-color:#20beb4;color:#20beb4;background:#d6f7f4}.cd-gen-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:none;border-radius:8px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,#20beb4,#17a39a);cursor:pointer;box-shadow:0 2px 10px #20beb44d;transition:all .15s ease}.cd-gen-btn:hover:not(:disabled){opacity:.92;transform:translateY(-1px)}.cd-gen-btn:disabled{opacity:.6;cursor:not-allowed}.cd-views{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.cd-view-card{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff;transition:all .15s ease;cursor:pointer}.cd-view-card:hover,.cd-view-card.active{border-color:#20beb4;box-shadow:0 0 0 2px #20beb426}.cd-view-img{position:relative;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#f0faf8,#e3f3f1);overflow:hidden}.cd-view-img img{width:100%;height:100%;object-fit:cover}.cd-view-img .cd-view-label{position:absolute;top:6px;left:6px;font-size:11px;font-weight:600;color:#fff;background:#0f172a73;padding:2px 8px;border-radius:999px}.cd-view-empty{display:flex;flex-direction:column;align-items:center;gap:8px;color:#17a39a8c}.cd-view-empty span{font-size:12px}.cd-view-actions{display:flex;justify-content:center;gap:4px;padding:6px}.cd-view-actions button{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border:none;border-radius:6px;background:#f1f5f9;color:#64748b;font-size:12px;cursor:pointer;transition:all .15s ease}.cd-view-actions button:hover{background:#d6f7f4;color:#17a39a}.cd-view-actions button.danger:hover{background:#ef44441a;color:#ef4444}.cd-voice .cd-voice-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cd-voice .cd-voice-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border:1px dashed rgba(32,190,180,.6);border-radius:8px;background:#d6f7f4;color:#17a39a;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.cd-voice .cd-voice-btn:hover{border-style:solid;border-color:#20beb4}.cd-voice .cd-voice-info{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#64748b}.cd-voice .cd-voice-info button.danger{display:inline-flex;align-items:center;gap:3px;border:none;background:none;color:#ef4444;font-size:12px;cursor:pointer}.cd-save-row{display:flex;gap:10px;margin-top:18px}.cd-save-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px;border:none;border-radius:8px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,#20beb4,#17a39a);cursor:pointer;transition:all .15s ease}.cd-save-btn:hover{opacity:.92}.cd-remove-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border:1px solid rgba(239,68,68,.4);border-radius:8px;background:#ef44440f;color:#ef4444;font-size:13.5px;cursor:pointer;transition:all .15s ease}.cd-remove-btn:hover{background:#ef44441f}.cd-library{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;position:sticky;top:14px}.cd-library>h3{font-size:14.5px;color:#1e293b;margin-bottom:12px}.cd-lib-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px 12px;text-align:center;color:#94a3b8}.cd-lib-empty svg{color:#20beb499}.cd-lib-empty p{font-size:14px;font-weight:600;color:#64748b}.cd-lib-empty span{font-size:12.5px}.cd-lib-list{display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 220px);overflow-y:auto}.cd-lib-card{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .15s ease}.cd-lib-card:hover{border-color:#20beb499;background:#d6f7f4}.cd-lib-card.active{border-color:#20beb4;box-shadow:0 0 0 2px #20beb426;background:#20beb40d}.cd-lib-avatar{width:46px;height:46px;border-radius:10px;overflow:hidden;background:linear-gradient(150deg,#d6f7f4,#e9f5f3);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#17a39a}.cd-lib-avatar img{width:100%;height:100%;object-fit:cover}.cd-lib-info{flex:1;min-width:0}.cd-lib-info b{display:block;font-size:13.5px;color:#1e293b}.cd-lib-info span{display:block;font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cd-lib-info em{font-style:normal;font-size:11px;color:#20beb4}.cd-lib-edit{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:50%;background:#20beb4;color:#fff;cursor:pointer;flex-shrink:0}.spin{animation:cd-spin 1s linear infinite}@keyframes cd-spin{to{transform:rotate(360deg)}}@media (max-width: 992px){.cd-layout{grid-template-columns:1fr}.cd-library{position:static}.cd-lib-list{max-height:none}}@media (max-width: 576px){.char-design-page{padding:14px 12px 24px}.cd-head{flex-direction:column;align-items:flex-start;gap:8px}.cd-views{grid-template-columns:1fr}}.cd-sec-head{display:flex;align-items:baseline;gap:6px;margin-bottom:8px}.cd-sec-head b{font-size:13px;color:#1e293b}.cd-sec-head span{font-size:11px;color:#94a3b8}.cd-my-head{margin-top:14px;padding-top:12px;border-top:1px dashed #e2e8f0}.cd-def-list{display:flex;flex-direction:column;gap:6px;max-height:312px;overflow-y:auto;padding-right:4px}.cd-def-list::-webkit-scrollbar{width:6px}.cd-def-list::-webkit-scrollbar-thumb{background:#20beb459;border-radius:3px}.cd-def-list::-webkit-scrollbar-track{background:transparent}.cd-def-row{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .15s ease}.cd-def-row:hover{border-color:#20beb48c;background:#d6f7f4;box-shadow:0 1px 3px #0000000f}.cd-def-row.playing{border-color:#20beb4;box-shadow:0 0 0 1.5px #20beb440}.cd-def-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.cd-def-avatar span{font-size:18px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.15))}.cd-def-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cd-def-info b{font-size:13px;color:#1e293b}.cd-def-info span{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-def-play{width:26px;height:26px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .15s ease}.cd-def-play:hover{border-color:#20beb4;color:#20beb4;background:#d6f7f4}.cd-def-play.on{border-color:#20beb4;color:#fff;background:linear-gradient(135deg,#20beb4,#17a39a)}.cd-def-play .cd-def-wave{animation:cd-wave .5s ease-in-out infinite alternate}@keyframes cd-wave{0%{transform:scale(.8);opacity:.6}to{transform:scale(1.2);opacity:1}}@media (max-width: 1280px){.cd-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}}@media (max-width: 992px){.app-content:has(.char-design-page){padding:0}.char-design-page{padding:16px 16px 36px}.cd-head{flex-wrap:wrap;gap:10px}.cd-head p{display:none}.cd-layout{grid-template-columns:1fr}}@media (max-width: 576px){.char-design-page{padding:12px 10px 32px}.cd-card{padding:14px}}.dream-factory{display:flex;flex-direction:column;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc;position:relative}.app-content:has(.dream-factory){padding:0;max-width:none;margin:0}.df2-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;height:60px;background:#fff;border-bottom:1px solid #e2e8f0}.df2-header .df2-header-left{display:flex;align-items:center;gap:10px;min-width:0}.df2-header .df2-logo{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;flex-shrink:0;box-shadow:0 2px 8px #20beb440}.df2-header h2{font-size:16px;font-weight:600;line-height:1.3;color:#1e293b}.df2-header p{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-header .df2-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.df2-header .df2-header-actions .df2-step-chip{flex-shrink:0;font-size:12px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:5px 12px;border-radius:999px;font-weight:500;white-space:nowrap}.df2-header .df2-header-actions .df2-header-new{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px dashed rgba(32,190,180,.55);border-radius:999px;background:#d6f7f4;color:#17a39a;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s ease}.df2-header .df2-header-actions .df2-header-new:hover{border-style:solid;border-color:#20beb4;background:#20beb41f}.df2-header .df2-header-actions .df2-header-save{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:none;border-radius:999px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px #20beb440;transition:all .15s ease}.df2-header .df2-header-actions .df2-header-save:hover:not(:disabled){opacity:.92}.df2-header .df2-header-actions .df2-header-save:disabled{opacity:.55;cursor:not-allowed}.df2-header .df2-header-actions .df2-header-projects{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .15s ease}.df2-header .df2-header-actions .df2-header-projects:hover{border-color:#20beb4;color:#20beb4}.df2-layout{flex:1;min-height:0;display:flex}.df2-snav{flex-shrink:0;width:200px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:16px 10px 12px;overflow-y:auto}.df2-snav::-webkit-scrollbar{width:4px;height:4px}.df2-snav::-webkit-scrollbar-track{background:transparent}.df2-snav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-snav::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-snav{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-snav .df2-snav-title{font-size:11px;font-weight:600;letter-spacing:.8px;color:#94a3b8;text-transform:uppercase;padding:0 10px 0 44px;margin-bottom:10px;flex-shrink:0}.df2-snav .df2-snav-item{position:relative;display:flex;align-items:stretch;gap:10px;width:100%;padding:0 10px 0 6px;border:none;background:transparent;border-radius:8px;cursor:pointer;text-align:left;font-family:inherit;transition:all .15s ease}.df2-snav .df2-snav-item .df2-snav-left{position:relative;display:flex;flex-direction:column;align-items:center;width:32px;flex-shrink:0}.df2-snav .df2-snav-item .df2-snav-dot{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#94a3b8;border:1.5px solid #e2e8f0;transition:all .2s ease;flex-shrink:0;box-sizing:border-box}.df2-snav .df2-snav-item .df2-snav-line{width:2px;flex:1;min-height:12px;margin:2px 0 0;border-radius:1px;background:#e2e8f0;transition:background .2s ease}.df2-snav .df2-snav-item .df2-snav-txt{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding:4px 0 0}.df2-snav .df2-snav-item .df2-snav-txt b{font-size:13.5px;color:#475569;font-weight:600;transition:color .15s ease;line-height:1.35}.df2-snav .df2-snav-item .df2-snav-txt i{font-style:normal;font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4;margin-top:1px}.df2-snav .df2-snav-item:hover{background:#f8fafc}.df2-snav .df2-snav-item:hover .df2-snav-dot{border-color:#5edcd4;color:#20beb4}.df2-snav .df2-snav-item.done .df2-snav-dot{background:#20beb41f;border-color:#20beb480;color:#20beb4}.df2-snav .df2-snav-item.done .df2-snav-line{background:#5edcd4}.df2-snav .df2-snav-item.done b{color:#17a39a}.df2-snav .df2-snav-item.active{background:#d6f7f4}.df2-snav .df2-snav-item.active .df2-snav-dot{background:linear-gradient(135deg,#20beb4,#17a39a);border-color:transparent;color:#fff;box-shadow:0 2px 6px #20beb459}.df2-snav .df2-snav-item.active b{color:#17a39a}.df2-snav .df2-snav-item.active i{color:#17a39abf}.df2-snav .df2-snav-item:last-child .df2-snav-line{display:none}.df2-snav .df2-snav-foot{margin-top:auto;display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:11.5px;color:#64748b;background:#f8fafc;border-radius:8px;flex-shrink:0}.df2-snav .df2-snav-foot svg{color:#20beb4;flex-shrink:0}.df2-body{flex:1;min-width:0;overflow-y:auto;padding:20px}.df2-body::-webkit-scrollbar{width:6px;height:6px}.df2-body::-webkit-scrollbar-track{background:transparent}.df2-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-body::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-body{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-body .df2-panel{display:flex;flex-direction:column;min-height:100%}.df2-panel-head{margin-bottom:14px}.df2-panel-head h3{font-size:17px;font-weight:600;color:#1e293b;margin-bottom:3px}.df2-panel-head p{font-size:13px;color:#64748b}.df2-panel-head.df2-panel-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.df2-panel-head .df2-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.df2-len-chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:4px 10px;border-radius:999px;font-weight:500;white-space:nowrap}.df2-len-chip svg{flex-shrink:0}.df2-len-chip.over{color:#e5484d;background:#e5484d14;border-color:#e5484d4d}.df2-sec{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin-bottom:14px}.df2-sec .df2-sec-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1e293b;margin-bottom:12px}.df2-sec .df2-sec-title svg{color:#20beb4}.df2-sec .df2-sec-title span{font-size:12px;font-weight:400;color:#64748b;margin-left:2px}.df2-dir-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.df2-topic-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;max-height:264px;overflow-y:auto;padding-right:4px}.df2-topic-list::-webkit-scrollbar{width:6px;height:6px}.df2-topic-list::-webkit-scrollbar-track{background:transparent}.df2-topic-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-topic-list::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-topic-list{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-topic-card{display:flex;flex-direction:column;gap:5px;padding:11px 13px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;text-align:left;transition:all .2s ease;font-family:inherit;min-height:0}.df2-topic-card .df2-topic-top{display:flex;align-items:center;justify-content:space-between}.df2-topic-card .df2-row-tag{font-size:10.5px;color:#17a39a;background:#20beb41a;padding:1px 8px;border-radius:999px;font-weight:500;flex-shrink:0}.df2-topic-card .df2-row-check{width:18px;height:18px;border-radius:50%;background:#20beb4;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.df2-topic-card .df2-topic-title{font-size:13.5px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-topic-card .df2-topic-desc{font-style:normal;font-size:11.5px;color:#64748b;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.df2-topic-card:hover{border-color:#20beb4;box-shadow:0 1px 3px #0000000f;transform:translateY(-1px)}.df2-topic-card.selected{border-color:#20beb4;background:#d6f7f4;box-shadow:0 0 0 1px #20beb433}.df2-topic-custom textarea{width:100%;padding:14px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;line-height:1.7;outline:none;font-family:inherit;box-sizing:border-box;background:#f8fafc;resize:vertical;min-height:72px;transition:all .15s ease}.df2-topic-custom textarea::-webkit-scrollbar{width:6px;height:6px}.df2-topic-custom textarea::-webkit-scrollbar-track{background:transparent}.df2-topic-custom textarea::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-topic-custom textarea::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-topic-custom textarea{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-topic-custom textarea:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.df2-topic-custom .df2-custom-active{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:12.5px;color:#17a39a;background:#d6f7f4;border-radius:8px;padding:7px 12px}.df2-topic-custom .df2-custom-active svg{flex-shrink:0}.df2-opts-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:2px}.df2-opts{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px}.df2-opts .df2-opts-title{display:flex;align-items:center;gap:6px;font-size:13px;color:#475569;margin-bottom:10px;font-weight:600}.df2-opts .df2-opts-title svg{color:#20beb4}.df2-opts .df2-opts-row{display:flex;flex-wrap:wrap;gap:8px}.df2-opt-chip{padding:6px 14px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:13px;color:#475569;cursor:pointer;transition:all .15s ease;font-family:inherit}.df2-opt-chip:hover{border-color:#5edcd4;color:#17a39a}.df2-opt-chip.active{background:#20beb4;border-color:#20beb4;color:#fff;font-weight:500;box-shadow:0 2px 6px #20beb44d}.df2-empty{flex:1;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff;border:1.5px dashed #e2e8f0;border-radius:16px;padding:32px;text-align:center}.df2-empty svg{color:#cbd5e1;margin-bottom:4px}.df2-empty p{font-size:15px;font-weight:600;color:#475569}.df2-empty span{font-size:13px;color:#64748b;max-width:460px;line-height:1.6;margin-bottom:8px}.df2-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;border:none;border-radius:8px;font-size:13.5px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-family:inherit;box-shadow:0 2px 6px #20beb440}.df2-btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #20beb459}.df2-btn-primary:active:not(:disabled){transform:translateY(0)}.df2-btn-primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.df2-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;background:#fff;color:#17a39a;border:1px solid rgba(32,190,180,.6);border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-family:inherit}.df2-btn-secondary:hover:not(:disabled){background:#d6f7f4}.df2-btn-secondary:disabled{opacity:.45;cursor:not-allowed}.df2-btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;background:transparent;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;cursor:pointer;transition:all .2s ease;font-family:inherit}.df2-btn-ghost:hover:not(:disabled){color:#17a39a;border-color:#5edcd4;background:#d6f7f4}.df2-btn-ghost:disabled{opacity:.45;cursor:not-allowed}.df2-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:transparent;color:#64748b;border-radius:4px;cursor:pointer;transition:all .15s ease;flex-shrink:0}.df2-btn-icon:hover{color:#17a39a;background:#d6f7f4}.df2-script-editor{flex:1;display:flex;flex-direction:column;min-height:0}.df2-script-editor .df2-textarea{flex:1;min-height:240px;resize:none}.df2-textarea{width:100%;padding:16px;border:1px solid #e2e8f0;border-radius:12px;font-size:14px;line-height:1.8;outline:none;font-family:inherit;box-sizing:border-box;background:#fff;color:#1e293b;transition:border-color .15s ease}.df2-textarea::-webkit-scrollbar{width:6px;height:6px}.df2-textarea::-webkit-scrollbar-track{background:transparent}.df2-textarea::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-textarea::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-textarea{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-textarea:focus{border-color:#20beb4;box-shadow:0 0 0 3px #20beb41a}.df2-gen-bar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px dashed #e2e8f0}.df2-gen-bar .df2-hint{font-size:12.5px;color:#64748b}.df2-shot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px;align-content:start}.df2-shot-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px;transition:box-shadow .2s ease}.df2-shot-card:hover{box-shadow:0 1px 3px #0000000f}.df2-shot-card .df2-shot-head{display:flex;align-items:center;justify-content:space-between}.df2-shot-card .df2-shot-no{font-size:11px;font-weight:600;letter-spacing:.5px;color:#17a39a;background:#20beb41a;padding:3px 8px;border-radius:4px}.df2-shot-card .df2-shot-dur{font-size:12px;color:#64748b;font-variant-numeric:tabular-nums}.df2-shot-card .df2-shot-desc{width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;line-height:1.6;resize:none;outline:none;font-family:inherit;box-sizing:border-box;background:#f8fafc;transition:border-color .15s ease}.df2-shot-card .df2-shot-desc:focus{border-color:#20beb4;background:#fff}.df2-shot-card .df2-shot-speech label{display:block;font-size:11.5px;color:#64748b;margin-bottom:5px}.df2-shot-card .df2-shot-speech textarea{width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;line-height:1.6;resize:none;outline:none;font-family:inherit;box-sizing:border-box;background:#fff;transition:border-color .15s ease}.df2-shot-card .df2-shot-speech textarea:focus{border-color:#20beb4}.df2-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;align-content:start}.df2-media-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .2s ease}.df2-media-card:hover{box-shadow:0 2px 8px #00000014;transform:translateY(-2px)}.df2-media-card .df2-media-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px}.df2-media-card .df2-media-name{flex:1;min-width:0;font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-img-ph{position:relative;aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#ffffffeb}.df2-img-ph svg{filter:drop-shadow(0 1px 3px rgba(0,0,0,.2))}.df2-img-ph .df2-img-badge{position:absolute;top:8px;left:8px;font-size:10.5px;font-weight:600;color:#fff;background:#0000004d;padding:2px 8px;border-radius:999px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.df2-img-ph .df2-img-size{font-size:11px;opacity:.85}.df2-video-ph{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center}.df2-video-ph .df2-img-badge{position:absolute;top:8px;left:8px;font-size:10.5px;font-weight:600;color:#fff;background:#00000059;padding:2px 8px;border-radius:999px;z-index:1}.df2-video-ph .df2-video-dur{position:absolute;right:8px;bottom:8px;font-size:11px;font-weight:600;color:#fff;background:#0000008c;padding:2px 7px;border-radius:4px}.df2-video-ph .df2-video-res{position:absolute;left:8px;bottom:8px;font-size:10px;color:#fffc;background:#00000059;padding:2px 6px;border-radius:4px}.df2-video-ph .df2-play-btn{width:46px;height:46px;border-radius:50%;background:#fffffff2;color:#17a39a;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #0000004d;cursor:pointer;transition:all .2s ease}.df2-video-ph .df2-play-btn:hover{transform:scale(1.1)}.df2-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;background:#fff;border-top:1px solid #e2e8f0}.df2-footer .df2-footer-right{display:flex;align-items:center;gap:12px}.df2-footer .df2-step-count{font-size:12.5px;color:#64748b;font-variant-numeric:tabular-nums}.df2-toast{position:absolute;top:68px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;background:#1e293b;color:#fff;font-size:13px;padding:9px 16px;border-radius:999px;box-shadow:0 4px 12px #0000001a;z-index:50;animation:df2-toast-in .25s ease;max-width:90vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-toast svg{color:#10b981;flex-shrink:0}@keyframes df2-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.spin{animation:df2-spin 1s linear infinite}@media (max-width: 1024px){.app-content:has(.dream-factory){padding:0}.df2-media-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}@media (max-width: 768px){.app-content:has(.dream-factory){padding:0}.df2-header{padding:0 14px;height:54px}.df2-header p{display:none}.df2-header .df2-logo{width:30px;height:30px}.df2-snav{width:64px;padding:14px 8px}.df2-snav .df2-snav-title,.df2-snav .df2-snav-txt,.df2-snav .df2-snav-foot{display:none}.df2-snav .df2-snav-item{justify-content:center;padding:8px}.df2-snav .df2-snav-item .df2-snav-left{width:auto}.df2-snav .df2-snav-item .df2-snav-dot{width:34px;height:34px}.df2-snav .df2-snav-item .df2-snav-line{display:none}.df2-body{padding:14px}.df2-opts-grid{grid-template-columns:1fr}.df2-panel-head.df2-panel-head-row{flex-direction:column;align-items:stretch;gap:10px}.df2-gen-bar{flex-direction:column;align-items:stretch}.df2-gen-bar .df2-btn-primary{width:100%}.df2-shot-list{grid-template-columns:1fr}}@media (max-width: 576px){.df2-header h2{font-size:15px}.df2-header .df2-step-chip{font-size:11px;padding:4px 9px}.df2-snav{display:none}.df2-media-grid{grid-template-columns:1fr 1fr;gap:10px}.df2-footer{padding:8px 12px}.df2-footer .df2-btn-ghost{padding:8px 10px}.df2-footer .df2-step-count{display:none}}.df2-script-editor .df2-textarea{flex:1;min-height:240px;max-height:calc(100vh - 390px);overflow-y:auto}.df2-script-editor .df2-textarea::-webkit-scrollbar{width:8px;height:8px}.df2-script-editor .df2-textarea::-webkit-scrollbar-track{background:transparent}.df2-script-editor .df2-textarea::-webkit-scrollbar-thumb{background:#20beb459;border-radius:999px}.df2-script-editor .df2-textarea::-webkit-scrollbar-thumb:hover{background:#1a9b9359}.df2-script-editor .df2-textarea{scrollbar-width:thin;scrollbar-color:rgba(32,190,180,.35) transparent}@media (max-width: 768px){.df2-script-editor .df2-textarea{max-height:calc(100vh - 360px)}}.df2-shot-head-right{display:flex;align-items:center;gap:8px}.df2-shot-regen{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:2px 7px;cursor:pointer;transition:all .15s ease}.df2-shot-regen:hover:not(:disabled){color:#17a39a;border-color:#20beb4;background:#d6f7f4}.df2-shot-regen:disabled{opacity:.55;cursor:not-allowed}.df2-ratio-picker{display:inline-flex;align-items:center;gap:6px}.df2-ratio-picker label{font-size:12px;color:#64748b;white-space:nowrap}.df2-ratio-picker select{min-width:190px;max-width:260px;font-size:12.5px;font-family:inherit;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:5px 8px;outline:none;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.df2-ratio-picker select:focus{border-color:#20beb4;box-shadow:0 0 0 3px #20beb41a}.df2-ratio-picker select:disabled{opacity:.6;cursor:not-allowed}.df2-ratio-picker-inline{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:4px 8px 4px 10px}.df2-gen-bar-wrap{flex-wrap:wrap}.df2-gen-bar-left{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}.df2-img-groups,.df2-video-groups{display:flex;flex-direction:column;gap:14px;padding-bottom:4px}.df2-img-group{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;transition:box-shadow .2s ease}.df2-img-group:hover{box-shadow:0 1px 3px #0000000f}.df2-img-group .df2-img-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px dashed #e2e8f0}.df2-img-group .df2-img-group-head .df2-img-group-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.df2-img-group .df2-img-group-head .df2-img-group-desc{font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.df2-img-group .df2-img-group-head .df2-img-group-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.df2-img-group .df2-img-group-head .df2-img-group-count{font-size:11px;font-weight:500;color:#17a39a;background:#d6f7f4;padding:2px 8px;border-radius:999px;font-variant-numeric:tabular-nums}.df2-img-group .df2-img-row{display:flex;flex-wrap:wrap;gap:12px}.df2-img-group .df2-media-card{position:relative;flex-shrink:0}.df2-img-ph .df2-img-ratio-badge{position:absolute;top:8px;right:8px;font-size:10px;font-weight:600;color:#fff;background:#17a39abf;padding:2px 7px;border-radius:4px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.df2-img-ph .df2-img-ver{position:absolute;bottom:8px;left:8px;font-size:10px;font-weight:700;color:#fff;background:#00000073;padding:2px 7px;border-radius:4px}.df2-media-ops{display:flex;align-items:center;gap:2px}.df2-img-vid-tag{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;color:#17a39a;background:#d6f7f4;padding:3px 8px;margin:0 10px 8px;border-radius:4px;width:fit-content}.df2-img-vid-tag svg{flex-shrink:0}.df2-vid-from{position:absolute;top:8px;right:8px;font-size:10px;font-weight:600;color:#fff;background:#8b5cf6c7;padding:2px 7px;border-radius:4px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1}@media (max-width: 768px){.df2-gen-bar-left{flex-direction:column;align-items:stretch}.df2-ratio-picker select{min-width:0;width:100%}.df2-img-row .df2-media-card{width:calc(50% - 6px)!important;flex-shrink:1}.df2-img-ph,.df2-video-ph{aspect-ratio:4/3!important}}@media (max-width: 576px){.df2-img-group-head{flex-direction:column;align-items:flex-start}.df2-img-row .df2-media-card{width:100%!important}.df2-shot-head-right{flex-wrap:wrap;justify-content:flex-end}}.df2-char-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;margin-bottom:14px}.df2-char-bar .df2-char-bar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.df2-char-bar .df2-char-bar-title{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#1e293b;min-width:0}.df2-char-bar .df2-char-bar-title svg{color:#20beb4;flex-shrink:0}.df2-char-bar .df2-char-bar-title span{font-weight:400;font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-char-bar .df2-char-add-entry{font-size:12px;padding:4px 10px;flex-shrink:0}.df2-char-bar .df2-char-pending{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#b45309;background:#f59e0b1a;border:1px dashed rgba(245,158,11,.45);border-radius:8px;padding:5px 10px;margin-bottom:8px}.df2-char-bar .df2-char-pending svg{flex-shrink:0;color:#d97706}.df2-char-bar .df2-char-pending button{margin-left:auto;border:none;background:#d97706;color:#fff;font-size:11.5px;font-weight:600;padding:3px 12px;border-radius:999px;cursor:pointer;flex-shrink:0}.df2-char-bar .df2-char-pending button:hover{background:#b45309}.df2-char-bar .df2-char-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.df2-char-bar .df2-char-list .df2-char-empty{font-size:12px;color:#64748b}.df2-char-bar .df2-char-actions{display:inline-flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.df2-char-bar .df2-char-actions .df2-btn-primary,.df2-char-bar .df2-char-actions .df2-btn-ghost{font-size:12.5px;padding:5px 12px;white-space:nowrap}.df2-char-src-tag{font-size:9px;line-height:1;padding:2px 4px;border-radius:4px;background:#8b5cf624;color:#7c3aed;flex-shrink:0}.df2-char-item{position:relative;display:inline-flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:3px 8px 3px 4px;transition:all .15s ease}.df2-char-item:hover{border-color:#20beb480;background:#d6f7f4}.df2-char-item:hover .df2-char-del{opacity:1}.df2-char-item .df2-char-name{font-size:12px;color:#1e293b;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-char-item .df2-char-del{opacity:0;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;border-radius:50%;background:#e5484d1f;color:#e5484d;cursor:pointer;transition:opacity .15s ease;padding:0}.df2-shot-card{position:relative}.df2-shot-card.selected{border-color:#20beb4;box-shadow:0 0 0 2px #20beb42e}.df2-shot-card.selected .df2-shot-check{border-color:#20beb4;background:#20beb4;color:#fff}.df2-shot-card.has-char{border-color:#20beb459}.df2-shot-left{display:flex;align-items:center;gap:8px;min-width:0}.df2-shot-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;border:1.5px solid #e2e8f0;background:#fff;color:transparent;cursor:pointer;padding:0;flex-shrink:0;transition:all .15s ease}.df2-shot-check:hover{border-color:#20beb4}.df2-shot-check.on{border-color:#20beb4;background:#20beb4;color:#fff}.df2-char-bind{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:2px 8px 2px 3px;cursor:pointer;transition:all .15s ease;max-width:130px}.df2-char-bind span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-char-bind:hover:not(:disabled){color:#17a39a;border-color:#20beb4;background:#d6f7f4}.df2-char-bind.bound{background:#d6f7f4;border-color:#20beb473;color:#17a39a}.df2-shot-char-line{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:#64748b;background:#20beb40f;border:1px dashed rgba(32,190,180,.3);border-radius:4px;padding:3px 10px;margin:0 0 8px}.df2-shot-char-line .df2-shot-char-face{display:inline-flex}.df2-gen-count-wrap{display:inline-flex;align-items:center;gap:8px}.df2-gen-count-wrap .df2-gen-count{font-size:12px;font-weight:500;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:5px 10px;border-radius:999px;white-space:nowrap}.df2-gen-count-wrap .df2-gen-count b{font-size:13.5px}.df2-media-card.selected{border-color:#20beb4;box-shadow:0 0 0 2px #20beb42e}.df2-media-card.selected .df2-media-sel{border-color:#20beb4;background:#20beb4;color:#fff}.df2-media-sel{position:absolute;top:6px;left:6px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,255,255,.9);background:#0f172a59;color:transparent;cursor:pointer;padding:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:all .15s ease}.df2-media-sel:hover{border-color:#fff;transform:scale(1.08)}.df2-media-sel.on{background:#20beb4;border-color:#20beb4;color:#fff}.df2-img-zoom-ico{position:absolute;top:8px;left:8px;color:#ffffffd9;opacity:0;transition:opacity .15s ease;z-index:2}.df2-img-ph:hover .df2-img-zoom-ico{opacity:1}.df2-img-ph .df2-img-char{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;filter:drop-shadow(0 1px 3px rgba(0,0,0,.35))}.df2-video-ph .df2-vid-char{position:absolute;left:8px;bottom:8px;z-index:2;display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#fff;background:#0006;padding:2px 6px;border-radius:999px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.df2-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:600;display:flex;align-items:center;justify-content:center;background:#0f172a73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:20px}.df2-modal{width:560px;max-width:92vw;max-height:80vh;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column}.df2-modal::-webkit-scrollbar{width:6px;height:6px}.df2-modal::-webkit-scrollbar-track{background:transparent}.df2-modal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-modal::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-modal{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-modal .df2-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#20beb412,#d6f7f480);border-radius:16px 16px 0 0;flex-shrink:0}.df2-modal .df2-modal-head h4{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:#1e293b}.df2-modal .df2-modal-head h4 svg{color:#20beb4}.df2-modal .df2-modal-body{padding:16px 18px}.df2-modal .df2-modal-body .df2-modal-tip{font-size:12.5px;color:#64748b;margin:8px 0 10px}.df2-modal .df2-modal-x{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:50%;background:#0f172a0f;color:#64748b;cursor:pointer;transition:all .15s ease}.df2-modal .df2-modal-x:hover{background:#e5484d1f;color:#e5484d}.df2-char-pick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.df2-char-pick-grid .df2-char-pick{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .15s ease}.df2-char-pick-grid .df2-char-pick:hover{border-color:#20beb4;background:#d6f7f4;transform:translateY(-1px)}.df2-char-pick-grid .df2-char-pick i{font-style:normal;font-size:12px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.df2-upload-zone{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#17a39a;background:#20beb40f;border:1.5px dashed rgba(32,190,180,.45);border-radius:12px;padding:14px;cursor:pointer;transition:all .15s ease}.df2-upload-zone:hover{background:#d6f7f4;border-color:#20beb4}.df2-upload-zone input{display:none}.df2-char-pick-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;max-height:320px;overflow-y:auto;padding-right:4px}@media (max-width: 640px){.df2-char-pick-list{grid-template-columns:1fr}}.df2-char-pick-list .df2-char-option{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;text-align:left;transition:all .15s ease}.df2-char-pick-list .df2-char-option:hover{border-color:#20beb499;background:#d6f7f4}.df2-char-pick-list .df2-char-option.on{border-color:#20beb4;background:#20beb41a;box-shadow:inset 0 0 0 1px #20beb44d}.df2-char-pick-list .df2-char-option .df2-co-name{flex:1;display:flex;flex-direction:column;min-width:0}.df2-char-pick-list .df2-char-option .df2-co-name b{font-size:13.5px;color:#1e293b}.df2-char-pick-list .df2-char-option .df2-co-name i{font-style:normal;font-size:11px;color:#64748b}.df2-char-pick-list .df2-char-option .df2-co-check{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:1.5px solid #e2e8f0;background:#fff;color:#fff;flex-shrink:0;transition:all .15s ease}.df2-char-pick-list .df2-char-option .df2-co-check.on{border-color:#20beb4;background:#20beb4}.df2-char-empty-big{text-align:center;font-size:12.5px;color:#64748b;background:#f8fafc;border-radius:12px;padding:26px 10px;margin-bottom:12px}.df2-char-add-more{width:100%;justify-content:center;font-size:13px;padding:8px}.df2-lb-mask{z-index:601}.df2-lb{width:720px;max-width:94vw;background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000001a;overflow:hidden}.df2-lb .df2-lb-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#20beb412,#d6f7f480)}.df2-lb .df2-lb-head span{font-size:13px;font-weight:600;color:#1e293b;font-variant-numeric:tabular-nums}.df2-lb .df2-lb-canvas{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:16px;border-radius:12px;overflow:hidden;color:#ffffffe6}.df2-lb .df2-lb-canvas .df2-lb-char{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#fff;background:#00000059;padding:4px 10px 4px 5px;border-radius:999px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.df2-lb .df2-lb-canvas .df2-lb-size{font-size:12px;color:#ffffffd9;background:#0000004d;padding:3px 10px;border-radius:999px;font-variant-numeric:tabular-nums}.df2-lb .df2-lb-desc{margin:0 16px 14px;font-size:13px;line-height:1.7;color:#64748b;background:#f8fafc;border-radius:12px;padding:10px 14px}.df2-lb .df2-lb-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 16px 16px}@media (max-width: 768px){.df2-char-pick-grid{grid-template-columns:repeat(3,1fr)}.df2-gen-count-wrap{width:100%;justify-content:space-between}}.df2-gen-bar-info{flex-wrap:wrap}.df2-gen-bar-tip{font-size:12px;color:#17a39a;background:#d6f7f4;border:1px dashed rgba(32,190,180,.35);padding:5px 12px;border-radius:999px;white-space:nowrap}.df2-gen-bar-tip b{font-weight:600}@media (max-width: 768px){.df2-gen-bar-tip{white-space:normal}}.df2-char-stack{display:inline-flex;align-items:center;flex-shrink:0}.df2-char-stack .df2-char-stack-item{display:inline-flex;margin-right:-5px;border-radius:50%;border:1.5px solid #ffffff;box-shadow:0 0 0 .5px #0f172a14}.df2-char-stack .df2-char-stack-more{font-style:normal;font-size:10px;font-weight:600;color:#64748b;background:#f1f5f9;border-radius:50%;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 3px;margin-left:1px}.df2-shot-card.has-char{border-color:#20beb466}.df2-shot-char-line{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#64748b;background:#20beb40f;border:1px dashed rgba(32,190,180,.3);border-radius:4px;padding:3px 10px;flex-wrap:wrap}.df2-shot-char-line b{color:#17a39a;font-weight:600}.df2-media-card.selected .df2-img-ph{box-shadow:inset 0 0 0 2px #20beb4;outline:2px solid rgba(32,190,180,.35);outline-offset:1px}.df2-img-sel-flag{position:absolute;top:8px;right:8px;z-index:3;width:20px;height:20px;border-radius:50%;background:#20beb4;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0f172a4d}.df2-media-meta{cursor:pointer;transition:background .15s ease}.df2-media-meta:hover{background:#20beb40d}.df2-media-meta .df2-img-sel-dot{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:4px;border:1.5px solid #e2e8f0;color:#fff;flex-shrink:0;margin-right:2px;transition:all .15s ease}.df2-media-meta .df2-img-sel-dot.on{background:#20beb4;border-color:#20beb4}.df2-media-meta .df2-media-name{flex:1;min-width:0}.df2-media-meta .df2-media-ops{flex-shrink:0}.df2-img-chars{position:absolute;bottom:8px;left:8px;z-index:2;display:inline-flex;align-items:center;flex-shrink:0}.df2-img-chars .df2-img-char-item{display:inline-flex;margin-right:-5px;border:1.5px solid rgba(255,255,255,.85);border-radius:50%}.df2-img-chars em{font-style:normal;font-size:10px;color:#fff;background:#0f172a73;border-radius:50%;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;margin-left:2px}.df2-vid-char{display:inline-flex;align-items:center;gap:3px}.df2-vid-char>span{display:inline-flex;margin-right:-5px;border:1.5px solid rgba(255,255,255,.85);border-radius:50%}.df2-vid-char i{font-style:normal}.df2-bind-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.df2-bind-head-row .df2-modal-tip{margin:0;flex:1}.df2-bind-head-row .df2-bind-count{flex-shrink:0;font-size:12px;font-weight:600;color:#17a39a;background:#d6f7f4;padding:4px 10px;border-radius:999px;white-space:nowrap}.df2-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0}.df2-modal-foot .df2-char-add-more{width:auto;justify-content:center}.df2-modal-back-row{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#64748b;margin-bottom:8px}.df2-modal-back-row .df2-btn-sm{padding:4px 10px;font-size:12px}.df2-footer-right .df2-gen-count{font-size:12px;font-weight:600;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:5px 10px;border-radius:999px;white-space:nowrap}.df2-footer-right .df2-gen-count b{font-size:13.5px}.df2-lb-char>span{display:inline-flex;margin-right:-6px;border:2px solid rgba(255,255,255,.9);border-radius:50%}.df2-shot-head-right .df2-char-bind .df2-char-stack .df2-char-stack-item{border-width:1px}.df2-prompt-tip{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:flex-start;gap:4px;max-height:0;padding:0 8px;font-size:10px;line-height:1.5;color:#fff;background:#0f172ad9;overflow:hidden;opacity:0;pointer-events:none;transition:all .18s ease;word-break:break-all}.df2-prompt-tip svg{flex-shrink:0;margin-top:2px}.df2-img-ph:hover .df2-prompt-tip,.df2-video-ph:hover .df2-prompt-tip{max-height:90%;padding:6px 8px;opacity:1;overflow-y:auto}.df2-lb-prompt{display:flex;align-items:flex-start;gap:6px;margin:0 0 12px;padding:8px 10px;background:#20beb40d;border:1px dashed rgba(32,190,180,.3);border-radius:8px;font-size:12px;line-height:1.6;color:#64748b}.df2-lb-prompt svg{flex-shrink:0;margin-top:2px;color:#20beb4}.df2-img-group-title .df2-img-group-desc.editable{display:inline-flex;align-items:center;gap:4px;cursor:text;border-bottom:1px dashed transparent;transition:all .15s ease}.df2-img-group-title .df2-img-group-desc.editable:hover{color:#20beb4;border-bottom-color:#20beb499}.df2-img-group-title .df2-img-group-desc.editable .df2-desc-edit-ico{flex-shrink:0;opacity:0;transition:opacity .15s ease}.df2-img-group-title .df2-img-group-desc.editable:hover .df2-desc-edit-ico{opacity:1}.df2-group-desc-input{flex:1;min-width:0;border:1px solid #20BEB4;border-radius:4px;padding:2px 8px;font-size:12px;color:#1e293b;background:#fff;outline:none;box-shadow:0 0 0 3px #20beb41f}.df2-def-list{display:flex;flex-direction:column;gap:5px;max-height:240px;overflow-y:auto;padding-right:4px;margin-bottom:2px}.df2-def-list::-webkit-scrollbar{width:6px}.df2-def-list::-webkit-scrollbar-thumb{background:#20beb459;border-radius:3px}.df2-def-list::-webkit-scrollbar-track{background:transparent}.df2-def-row{display:flex;align-items:center;gap:8px;padding:5px 8px 5px 5px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .15s ease}.df2-def-row:hover{border-color:#20beb48c;background:#d6f7f4}.df2-def-row.added{cursor:default;background:#20beb40f;border-color:#20beb440}.df2-def-avatar{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;line-height:1}.df2-def-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.df2-def-info b{font-size:12.5px;color:#1e293b;line-height:1.3}.df2-def-info i{font-style:normal;font-size:10.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-def-add{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#20beb4;color:#fff}.df2-def-add.on{background:#20beb424;color:#20beb4}.df2-modal-tip-def{margin-top:0}.df2-modal-tip-def b{color:#1e293b}.df2-def-all{margin-top:8px;font-size:12px;color:#17a39a;background:#20beb414;border-radius:8px;padding:6px 10px;text-align:center}.df2-char-src-tag.def{background:#20beb424;color:#17a39a}.df2-draft-bar{position:absolute;top:68px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:16px;background:#fff;border:1px solid rgba(32,190,180,.4);border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:10px 14px;z-index:60;animation:df2-toast-in .25s ease;max-width:min(680px,92vw)}.df2-draft-bar .df2-draft-info{display:flex;flex-direction:column;gap:2px;min-width:0}.df2-draft-bar .df2-draft-info b{font-size:13.5px;color:#1e293b}.df2-draft-bar .df2-draft-info span{font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-draft-bar .df2-draft-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.df2-draft-bar .df2-draft-actions .df2-btn-primary,.df2-draft-bar .df2-draft-actions .df2-btn-ghost{font-size:12.5px;padding:6px 14px;white-space:nowrap}.df2-spin{animation:df2-spin 1s linear infinite}@keyframes df2-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.df2-header-actions{display:flex;align-items:center;gap:10px}.df2-header-actions .df2-btn-demo{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;border:none;box-shadow:0 2px 8px #7c3aed59}.df2-header-actions .df2-btn-demo:hover{box-shadow:0 4px 14px #7c3aed73;transform:translateY(-1px)}.df2-btn-sm{padding:7px 12px;font-size:12.5px}.df2-link-btn{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#20beb4;font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;padding:2px 6px;border-radius:999px;transition:all .15s ease}.df2-link-btn:hover{background:#d6f7f4}.df2-dir-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.df2-dir-chip{padding:5px 14px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:12.5px;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-dir-chip:hover{border-color:#20beb4;color:#20beb4}.df2-dir-chip.on{background:#d6f7f4;border-color:#20beb4;color:#20beb4;font-weight:500}.df2-topic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-bottom:14px}.df2-topic-card{position:relative;display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;text-align:left;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-topic-card .df2-topic-tag{position:absolute;top:10px;right:10px;font-size:10px;color:#17a39a;background:#20beb41a;padding:1px 8px;border-radius:999px}.df2-topic-card b{font-size:13.5px;font-weight:600;color:#1e293b;padding-right:44px}.df2-topic-card i{font-style:normal;font-size:12px;color:#64748b;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.df2-topic-card .df2-topic-check{position:absolute;right:10px;bottom:10px;color:#fff;background:#20beb4;border-radius:50%;padding:2px}.df2-topic-card:hover{border-color:#20beb499;box-shadow:0 1px 3px #0000000f;transform:translateY(-1px)}.df2-topic-card.on{border-color:#20beb4;box-shadow:0 0 0 2px #20beb433;background:#20beb40a}.df2-sec-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#1e293b;margin-bottom:8px}.df2-sec-label svg{color:#20beb4}.df2-sec-label.df2-sec-label-row{width:100%;justify-content:space-between;margin-top:6px}.df2-opt-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.df2-opt-chip{padding:5px 12px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:12.5px;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-opt-chip:hover{border-color:#20beb4;color:#20beb4}.df2-opt-chip.on{background:#20beb41a;border-color:#20beb4;color:#17a39a;font-weight:500}.df2-sec-topic-input{display:block;margin-top:4px}.df2-text-input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:13.5px;font-family:inherit;color:#1e293b;outline:none;box-sizing:border-box;background:#f8fafc;transition:all .15s ease}.df2-text-input:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.df2-hint-tip{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#17a39a;background:#20beb414;padding:3px 10px;border-radius:999px}.df2-gen-actions{display:flex;align-items:center;gap:8px}.df2-asset-tabs{display:inline-flex;gap:4px;padding:3px;background:#f1f5f9;border-radius:999px;margin-bottom:14px}.df2-asset-tab{display:inline-flex;align-items:center;gap:5px;padding:6px 16px;border:none;background:transparent;border-radius:999px;font-size:12.5px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-asset-tab:hover{color:#1e293b}.df2-asset-tab.on{background:#fff;color:#17a39a;box-shadow:0 1px 3px #0000000f}.df2-asset-empty{font-size:12.5px;color:#64748b;background:#f8fafc;border:1.5px dashed #e2e8f0;border-radius:12px;padding:20px 14px;text-align:center;margin-bottom:12px}.df2-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:12px}.df2-asset-card{border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;transition:all .15s ease}.df2-asset-card:hover{border-color:#20beb499;box-shadow:0 1px 3px #0000000f}.df2-asset-card .df2-asset-face{position:relative;width:100%;display:flex;align-items:center;justify-content:center;padding-top:4px}.df2-asset-card .df2-asset-ref{position:absolute;left:2px;bottom:0;font-size:9px;font-weight:600;color:#17a39a;background:#d6f7f4;padding:1px 6px;border-radius:999px}.df2-asset-card .df2-asset-del{position:absolute;right:0;top:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#e5484d1f;color:#e5484d;cursor:pointer;opacity:0;transition:opacity .15s ease}.df2-asset-card .df2-asset-del:hover{background:#e5484d33}.df2-asset-card:hover .df2-asset-del{opacity:1}.df2-asset-card b{font-size:12.5px;font-weight:600;color:#1e293b;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-asset-card i{font-style:normal;font-size:10.5px;color:#64748b;text-align:center;line-height:1.5;max-height:30px;overflow:hidden}.df2-builtin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.df2-builtin-card{position:relative;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-builtin-card .df2-builtin-face{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;box-shadow:0 1px 4px #0000001f}.df2-builtin-card b{flex:1;font-size:12.5px;font-weight:500;color:#1e293b;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-builtin-card>svg{color:#20beb4;flex-shrink:0}.df2-builtin-card:hover{border-color:#20beb499;box-shadow:0 1px 3px #0000000f}.df2-builtin-card.on{background:#d6f7f4;border-color:#20beb499}.df2-sec-upload{margin-top:12px}.df2-sec-upload .df2-upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px;border:1.5px dashed #e2e8f0;border-radius:12px;background:#f8fafc;font-size:12.5px;color:#64748b;cursor:pointer;transition:all .15s ease}.df2-sec-upload .df2-upload-zone svg{color:#20beb4}.df2-sec-upload .df2-upload-zone:hover{border-color:#20beb4;background:#20beb40a;color:#1e293b}.df2-sec-upload .df2-upload-zone input{display:none}.df2-empty-actions{display:flex;align-items:center;gap:10px;margin-top:12px}.df2-beat-timeline{display:flex;flex-direction:column;gap:10px}.df2-beat-card{position:relative;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:9px;transition:box-shadow .2s ease}.df2-beat-card:hover{box-shadow:0 1px 3px #0000000f}.df2-beat-card:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#20beb4,#17a39a)}.df2-beat-head{display:flex;align-items:center;justify-content:space-between}.df2-beat-time{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#17a39a;background:#d6f7f4;padding:3px 10px;border-radius:999px;font-variant-numeric:tabular-nums}.df2-beat-ops{display:flex;align-items:center;gap:6px}.df2-beat-regen{display:inline-flex;align-items:center;gap:4px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:11.5px;padding:4px 10px;border-radius:999px;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-beat-regen:hover{border-color:#20beb4;color:#20beb4}.df2-beat-regen:disabled{opacity:.5;cursor:not-allowed}.df2-beat-del{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#e5484d1a;color:#e5484d;cursor:pointer;transition:all .15s ease}.df2-beat-del:hover{background:#e5484d33}.df2-beat-row{display:flex;flex-direction:column;gap:8px}.df2-beat-row.df2-beat-cams{flex-direction:row;flex-wrap:wrap;gap:14px}.df2-beat-row2{display:flex;gap:8px}.df2-beat-field{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.df2-beat-label{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#64748b;font-weight:500}.df2-beat-label svg{color:#20beb4}.df2-mini-chips{display:flex;flex-wrap:wrap;gap:5px}.df2-mini-chip{padding:3px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:11.5px;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease}.df2-mini-chip:hover{border-color:#20beb4;color:#20beb4}.df2-mini-chip.on{background:#20beb41a;border-color:#20beb4;color:#17a39a;font-weight:500}.df2-beat-assets{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;background:#f8fafc;border-radius:8px}.df2-beat-assets .df2-beat-label{margin-top:3px;white-space:nowrap}.df2-beat-noasset{font-size:11.5px;color:#64748b;font-style:italic;padding:3px 0}.df2-beat-asset-chips{display:flex;flex-wrap:wrap;gap:5px;flex:1}.df2-beat-asset-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 4px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;cursor:pointer;font-family:inherit;font-size:11.5px;color:#1e293b;transition:all .15s ease}.df2-beat-asset-chip span{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-beat-asset-chip em{font-style:normal;font-size:9px;color:#64748b}.df2-beat-asset-chip.character.on{border-color:#20beb4;background:#d6f7f4}.df2-beat-asset-chip.background.on{border-color:#8b5cf6;background:#8b5cf61a}.df2-beat-asset-chip.prop.on{border-color:#f59e0b;background:#f59e0b1f}.df2-beat-asset-chip:hover{border-color:#20beb499}.df2-beat-textarea,.df2-beat-input{width:100%;padding:7px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:12.5px;font-family:inherit;color:#1e293b;outline:none;box-sizing:border-box;background:#f8fafc;resize:vertical;transition:all .15s ease}.df2-beat-textarea:focus,.df2-beat-input:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 2px #20beb41f}.df2-beat-textarea{min-height:46px;line-height:1.7}.df2-beat-line-row{display:flex;gap:8px}.df2-beat-line-row .df2-beat-line{flex:1}.df2-beat-emotion{width:110px;padding:7px 8px;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;font-family:inherit;color:#1e293b;background:#fff;outline:none;cursor:pointer;flex-shrink:0}.df2-clip-list{display:flex;flex-direction:column;gap:10px}.df2-clip-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:9px;transition:box-shadow .2s ease}.df2-clip-card:hover{box-shadow:0 1px 3px #0000000f}.df2-clip-head{display:flex;align-items:center;justify-content:space-between}.df2-clip-time{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#17a39a;background:#d6f7f4;padding:3px 10px;border-radius:999px;font-variant-numeric:tabular-nums}.df2-clip-ops{display:flex;gap:6px}.df2-clip-assets{display:flex;flex-wrap:wrap;gap:6px}.df2-clip-asset{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 4px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;font-size:11.5px;color:#1e293b}.df2-clip-asset em{font-style:normal;font-size:9px;color:#17a39a}.df2-clip-action{font-size:12.5px;color:#1e293b;line-height:1.7;margin:0}.df2-clip-prompt{border:1px dashed #e2e8f0;border-radius:8px;background:#0f172a;padding:8px 10px}.df2-clip-prompt .df2-clip-prompt-head{display:flex;align-items:center;gap:5px;font-size:11px;color:#94a3b8;margin-bottom:6px}.df2-clip-prompt .df2-clip-prompt-head svg{color:#20beb4}.df2-clip-prompt .df2-clip-prompt-head .df2-link-btn{color:#20beb4;margin-left:auto}.df2-clip-prompt-ta{width:100%;min-height:60px;background:transparent;border:none;outline:none;resize:vertical;color:#e2e8f0;font-size:11.5px;line-height:1.7;font-family:SFMono-Regular,Consolas,Courier New,monospace;box-sizing:border-box}.df2-clip-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#64748b}.df2-clip-meta span{display:inline-flex;align-items:center;gap:4px}.df2-panel-edit{display:flex;flex-direction:column}.df2-gen-tools{background:linear-gradient(135deg,#20beb40d,#20beb405);border:1px dashed rgba(32,190,180,.35);border-radius:12px;padding:12px 14px;margin-bottom:14px}.df2-gen-tools .df2-gen-tools-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.df2-gen-tools .df2-gen-tools-head .df2-gt-input{flex:1;min-width:220px}.df2-gen-tools .df2-gt-hint{font-size:11.5px;color:#94a3b8;margin:8px 0 0;line-height:1.7}.df2-gen-tools .df2-gt-results{display:flex;flex-direction:column;gap:8px;margin-top:10px}.df2-gen-tools .df2-gt-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px}.df2-gen-tools .df2-gt-card .df2-gt-face{width:42px;height:42px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.df2-gen-tools .df2-gt-card .df2-gt-info{flex:1;min-width:0}.df2-gen-tools .df2-gt-card .df2-gt-info b{display:block;font-size:13px;color:#1e293b}.df2-gen-tools .df2-gt-card .df2-gt-info i{display:block;font-style:normal;font-size:11px;color:#64748b;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.df2-img-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;align-content:start}.df2-img-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px;transition:box-shadow .2s ease}.df2-img-card:hover{box-shadow:0 1px 3px #0000000f}.df2-img-card .df2-img-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.df2-img-card .df2-img-head .df2-img-time{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;letter-spacing:.3px;color:#17a39a;background:#20beb41a;padding:2px 9px;border-radius:999px;white-space:nowrap}.df2-img-card .df2-img-head .df2-img-time svg{flex-shrink:0}.df2-img-card .df2-img-head .df2-img-ops{display:inline-flex;gap:4px;align-items:center}.df2-img-card .df2-img-ph{position:relative;aspect-ratio:16/9;border-radius:8px;background:linear-gradient(135deg,#20beb4,#79e7de 55%,#d6f7f4);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#ffffffbf}.df2-img-card .df2-img-ph .df2-img-char{filter:drop-shadow(0 4px 10px rgba(0,0,0,.2))}.df2-img-card .df2-img-ph .df2-img-ph-tip{position:absolute;right:8px;bottom:6px;font-size:10px;color:#ffffffe6;background:#00000047;padding:1px 8px;border-radius:999px}.df2-img-card .df2-img-prompt{display:flex;flex-direction:column;gap:6px}.df2-img-card .df2-img-prompt textarea.df2-clip-prompt-ta{font-size:11.5px;line-height:1.6}.df2-vid-opts{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid rgba(32,190,180,.3);border-radius:12px;padding:10px 14px;margin-bottom:12px}.df2-vid-opts .df2-vid-opts-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#17a39a;white-space:nowrap;padding-top:6px}.df2-vid-opts .df2-vid-opts-label svg{color:#20beb4}.df2-vid-opts .df2-vid-prompt{flex:1;min-width:0;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:8px 12px;font-size:12.5px;line-height:1.7;font-family:inherit;color:#1e293b;resize:vertical;outline:none;box-sizing:border-box}.df2-vid-opts .df2-vid-prompt:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.df2-vid-opts .df2-vid-prompt::placeholder{color:#94a3b8}.df2-vid-opts .df2-link-btn{white-space:nowrap;padding-top:6px}.df2-vimg-list{display:flex;flex-direction:column;gap:12px}.df2-vimg{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}.df2-vimg .df2-vimg-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.df2-vimg .df2-vimg-head .df2-vimg-title{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#1e293b}.df2-vimg .df2-vimg-head .df2-vimg-title svg{color:#20beb4}.df2-vimg .df2-vimg-head .df2-vimg-ops{display:inline-flex;gap:6px;align-items:center}.df2-vimg .df2-vimg-none{font-size:12px;color:#94a3b8;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:8px;padding:10px 12px;text-align:center}.df2-vimg .df2-clip-list-inline{display:flex;flex-direction:column;gap:8px}.df2-bs-row{display:flex;align-items:flex-start;gap:8px;padding:5px 0}.df2-bs-row+.df2-bs-row{border-top:1px dashed rgba(226,232,240,.75)}.df2-bs-row .df2-bs-label{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#64748b;width:52px;flex-shrink:0;padding-top:5px}.df2-bs-row .df2-bs-label svg{color:#20beb4;flex-shrink:0}.df2-bs-row .df2-bs-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;flex:1;min-width:0}.df2-bs-row .df2-bs-none{font-size:11.5px;color:#94a3b8;padding:4px 2px}.df2-bs-row .df2-bs-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 4px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;font-size:12px;color:#475569;cursor:pointer;font-family:inherit;transition:all .15s ease;max-width:100%}.df2-bs-row .df2-bs-chip span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-bs-row .df2-bs-chip em{font-style:normal;font-size:9px;color:#e5484d;margin-left:1px}.df2-bs-row .df2-bs-chip:hover{border-color:#20beb48c;background:#fff}.df2-bs-row .df2-bs-chip.on{background:#d6f7f4;border-color:#20beb4;color:#17a39a;font-weight:500}.df2-bs-row .df2-bs-gen{display:inline-flex;align-items:center;gap:4px;padding:4px 11px;border:1px dashed rgba(32,190,180,.55);background:#20beb412;border-radius:999px;font-size:11.5px;font-weight:500;color:#17a39a;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.df2-bs-row .df2-bs-gen svg{color:#20beb4;flex-shrink:0}.df2-bs-row .df2-bs-gen:hover:not(:disabled){background:#d6f7f4;border-color:#20beb4}.df2-bs-row .df2-bs-gen:disabled{opacity:.55;cursor:not-allowed}.df2-bs-empty{font-size:11.5px;color:#94a3b8;background:#f1f5f999;border:1px dashed #e2e8f0;border-radius:8px;padding:6px 10px;line-height:1.6;margin-top:4px}.df2-beat-imgbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:10px;margin-top:2px;border-top:1px dashed #e2e8f0}.df2-beat-imgbar .df2-btn-primary{display:inline-flex;align-items:center;gap:6px}.df2-beat-imgbar .df2-beat-imgok{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:#17a39a}.df2-beat-imgbar .df2-beat-imgok svg{color:#20beb4}.df2-beat-imgbar .df2-beat-imghint{font-size:11px;color:#94a3b8}.df2-bs-row .df2-bs-label{width:48px;padding-top:4px}.df2-bs-row .df2-bs-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.df2-bs-row .df2-bs-chips{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}.df2-bs-row .df2-bs-chip.on{padding:3px 4px}.df2-bs-row .df2-bs-chip.on span{max-width:90px;font-weight:500}.df2-bs-row .df2-bs-chip.on .df2-bs-x{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;margin-left:1px;border:none;border-radius:50%;background:transparent;color:#94a3b8;cursor:pointer;padding:0;font-family:inherit;flex-shrink:0;transition:all .15s ease}.df2-bs-row .df2-bs-chip.on .df2-bs-x:hover{background:#e5484d24;color:#e5484d}.df2-bs-row .df2-bs-ops{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.df2-bs-row .df2-bs-ops .df2-bs-pick{display:inline-flex;align-items:center;gap:4px;padding:3px 11px;border:1px solid rgba(32,190,180,.5);background:#20beb414;border-radius:999px;font-size:11.5px;font-weight:500;color:#17a39a;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.df2-bs-row .df2-bs-ops .df2-bs-pick:hover{background:#d6f7f4;border-color:#20beb4}.df2-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:999;animation:df2-mask-in .16s ease}@keyframes df2-mask-in{0%{opacity:0}to{opacity:1}}.df2-modal{width:600px;max-width:calc(100vw - 32px);max-height:82vh;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 24px 60px #0f172a47;overflow:hidden;animation:df2-modal-in .18s ease}@keyframes df2-modal-in{0%{transform:translateY(12px) scale(.98);opacity:0}to{transform:none;opacity:1}}.df2-modal-head{padding:16px 18px 12px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.df2-modal-head h3{font-size:15px;font-weight:600;color:#1e293b;margin:0 0 4px;display:flex;align-items:center;gap:8px}.df2-modal-head h3 em{font-style:normal;font-size:10.5px;font-weight:500;color:#17a39a;background:#d6f7f4;padding:1px 8px;border-radius:999px}.df2-modal-head p{font-size:12px;color:#64748b;margin:0;line-height:1.6}.df2-pick-grid{flex:1;min-height:0;overflow-y:auto;padding:14px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;align-content:start}.df2-pick-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;text-align:center;font-family:inherit;transition:all .15s ease}.df2-pick-item .df2-pick-name{font-size:12.5px;font-weight:500;color:#1e293b;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-pick-item .df2-pick-kind{position:absolute;top:5px;left:5px;font-style:normal;font-size:9px;color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:0 5px;line-height:14px}.df2-pick-item .df2-pick-ok{position:absolute;top:-1px;right:-1px;width:20px;height:20px;border-radius:0 8px;background:#20beb4;color:#fff;display:flex;align-items:center;justify-content:center}.df2-pick-item:hover{border-color:#20beb48c;background:#fff}.df2-pick-item.on{border-color:#20beb4;background:#d6f7f4;box-shadow:inset 0 0 0 1px #20beb459}.df2-pick-item.on .df2-pick-name{color:#17a39a}.df2-pick-empty{grid-column:1/-1;font-size:12.5px;color:#94a3b8;text-align:center;padding:26px 10px;background:#f8fafc;border:1.5px dashed #e2e8f0;border-radius:12px}.df2-modal-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e2e8f0;background:#f8fafc;flex-shrink:0}.df2-gen-box{flex:1;min-height:0;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.df2-gen-box .df2-gen-box-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#1e293b}.df2-gen-box .df2-gen-box-label svg{color:#20beb4}.df2-gen-box .df2-genprompt-input{width:100%;box-sizing:border-box;min-height:84px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;line-height:1.7;font-family:inherit;color:#1e293b;background:#f8fafc;outline:none;resize:vertical;transition:all .15s ease}.df2-gen-box .df2-genprompt-input:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.df2-gen-box .df2-gen-box-row{display:flex;align-items:center;gap:10px}.df2-gen-box .df2-gen-box-row .df2-gen-box-hint{font-size:11px;color:#94a3b8}.df2-gen-box .df2-gen-result{display:flex;align-items:center;gap:10px;margin-top:4px;padding:10px 12px;background:#f8fafc;border:1px dashed rgba(32,190,180,.45);border-radius:8px;animation:df2-modal-in .2s ease}.df2-gen-box .df2-gen-result .df2-gen-result-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.df2-gen-box .df2-gen-result .df2-gen-result-info b{font-size:13px;color:#1e293b}.df2-gen-box .df2-gen-result .df2-gen-result-info i{font-style:normal;font-size:11px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-gen-box .df2-gen-result .df2-gen-result-ops{display:flex;align-items:center;gap:6px;flex-shrink:0}.df2-bs-row .df2-bs-body{flex-direction:row;align-items:center;gap:8px;min-height:30px}.df2-bs-row .df2-bs-chips{flex:1;min-height:26px;align-content:center}.df2-bs-row .df2-bs-chip.placeholder{border-style:dashed;color:#94a3b8;background:transparent;cursor:default;font-weight:400;pointer-events:none}.df2-bs-row .df2-bs-ops{flex-shrink:0}.df2-bs-row .df2-bs-chip.on .df2-bs-x{opacity:0}.df2-bs-row .df2-bs-chip.on .df2-bs-x:focus-visible{opacity:1}.df2-bs-row .df2-bs-chip.on:hover .df2-bs-x{opacity:1}.df2-modal{width:640px}.df2-pick-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.df2-beat-time .df2-beat-start{font-style:normal;font-size:10.5px;color:#94a3b8;margin:0 2px 0 6px}.df2-beat-time .df2-beat-dur{width:52px;height:22px;padding:0 4px;border:1px solid rgba(32,190,180,.45);border-radius:6px;background:#20beb40f;color:#17a39a;font-size:12px;font-weight:600;font-family:inherit;text-align:center;outline:none;margin:0 2px;transition:all .15s ease}.df2-beat-time .df2-beat-dur:hover{border-color:#20beb4}.df2-beat-time .df2-beat-dur:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41f}.df2-beat-time>em:last-child{font-style:normal;font-size:10.5px;color:#94a3b8}.df2-btn-all-shots{margin-right:auto;display:inline-flex;align-items:center;gap:5px;color:#17a39a!important;border-color:#20beb480!important;background:#20beb40f!important}.df2-btn-all-shots:hover{background:#d6f7f4!important}.df2-gen-thumb{position:relative;border:none;background:transparent;cursor:zoom-in;padding:0;flex-shrink:0;border-radius:10px;font-family:inherit}.df2-gen-thumb svg{position:absolute;right:2px;bottom:2px;width:16px;height:16px;padding:2px;border-radius:50%;background:#0f172a8c;color:#fff;box-sizing:border-box;opacity:0;transition:opacity .15s ease}.df2-gen-thumb:hover svg{opacity:1}.df2-gen-zoom{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 10px 6px;animation:df2-modal-in .2s ease}.df2-gen-zoom>span,.df2-gen-zoom>img{border-radius:16px;box-shadow:0 10px 30px #0f172a38}.df2-gen-zoom .df2-gen-zoom-info{text-align:center}.df2-gen-zoom .df2-gen-zoom-info b{display:block;font-size:15px;color:#1e293b;margin-bottom:4px}.df2-gen-zoom .df2-gen-zoom-info i{font-style:normal;font-size:12px;color:#64748b;line-height:1.7;max-width:480px}.df2-gen-zoom .df2-gen-zoom-ops{display:flex;align-items:center;gap:8px}.df2-beat-prompt{display:flex;flex-direction:column;gap:7px}.df2-beat-prompt .df2-beat-label{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:#1e293b}.df2-beat-prompt .df2-beat-prompt-ta{width:100%;box-sizing:border-box;min-height:96px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font-size:13px;line-height:1.75;color:#1e293b;font-family:inherit;resize:vertical;outline:none;transition:all .15s ease}.df2-beat-prompt .df2-beat-prompt-ta::-webkit-scrollbar{width:6px;height:6px}.df2-beat-prompt .df2-beat-prompt-ta::-webkit-scrollbar-track{background:transparent}.df2-beat-prompt .df2-beat-prompt-ta::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-beat-prompt .df2-beat-prompt-ta::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-beat-prompt .df2-beat-prompt-ta{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-beat-prompt .df2-beat-prompt-ta:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.df2-pick-item .df2-pick-face{position:relative;display:inline-flex;cursor:zoom-in;border-radius:10px;line-height:0}.df2-pick-item .df2-pick-face svg{position:absolute;right:2px;bottom:2px;width:16px;height:16px;padding:2px;border-radius:50%;background:#0f172a8c;color:#fff;box-sizing:border-box;opacity:0;transition:opacity .15s ease;pointer-events:none}.df2-pick-item .df2-pick-face:hover svg{opacity:1}.df2-asset-zoom{padding:22px 26px;display:flex;flex-direction:column;align-items:center;gap:14px}.df2-asset-zoom>span,.df2-asset-zoom>img{border-radius:16px;box-shadow:0 10px 30px #0f172a38}.df2-asset-zoom .df2-asset-zoom-info{text-align:center}.df2-asset-zoom .df2-asset-zoom-info b{display:block;font-size:16px;color:#1e293b;margin-bottom:4px}.df2-asset-zoom .df2-asset-zoom-info i{font-style:normal;font-size:12px;color:#64748b;line-height:1.7;max-width:380px}.df2-body{padding-bottom:40px}.df2-beat-main{display:flex;align-items:stretch;gap:10px}.df2-beat-assets{flex:0 0 33.5%;min-width:0;display:flex;flex-direction:column;padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.df2-beat-assets .df2-bs-row{display:flex;flex-direction:column;gap:5px;padding:6px 0}.df2-beat-assets .df2-bs-row+.df2-bs-row{border-top:1px dashed rgba(226,232,240,.7)}.df2-beat-assets .df2-bs-row .df2-bs-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#64748b;padding:0;width:auto}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops{display:flex;align-items:center;gap:4px}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-pick,.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;padding:2px 8px;border-radius:999px;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-pick{border:1px solid #e2e8f0;background:#fff;color:#475569}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-pick:hover{border-color:#20beb4;color:#20beb4}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen{border:1px dashed rgba(32,190,180,.55);background:#20beb412;color:#17a39a}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen:hover{background:#20beb424}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen:disabled{opacity:.5;cursor:not-allowed}.df2-beat-assets .df2-bs-row .df2-bs-chips{display:flex;flex-wrap:wrap;gap:4px;row-gap:4px}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 7px 2px 3px;font-size:11px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;cursor:pointer;transition:all .15s ease}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip span{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip.on{background:#d6f7f4;border-color:#20beb499;color:#17a39a}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip.placeholder{border-style:dashed;background:transparent;color:#94a3b8;cursor:default}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip .df2-bs-x{width:13px;height:13px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#e5484d1a;color:#e5484d;cursor:pointer;padding:0;opacity:.75}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip .df2-bs-x:hover{background:#e5484d38;opacity:1}.df2-beat-prompt{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.df2-beat-prompt .df2-beat-prompt-ta{flex:1;min-height:0;background:#fff}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-more{display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:2px 8px;font-size:11px;border:1px dashed rgba(32,190,180,.5);border-radius:999px;background:#20beb40f;color:#17a39a;cursor:pointer;transition:all .15s ease}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-more:hover{background:#20beb424}.df2-snav-item{padding:6px 10px 8px 6px}.df2-snav-item .df2-snav-txt{justify-content:center;padding:5px 0 9px}.df2-beat-assets{background:transparent;border:none;padding:0;gap:8px}.df2-beat-assets .df2-bs-row{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:7px 9px;gap:6px;box-shadow:0 1px 2px #0f172a0a}.df2-beat-assets .df2-bs-row+.df2-bs-row{border-top:1px solid #e2e8f0}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-label{font-size:12px;font-weight:700;color:#1e293b}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-label svg{color:#20beb4}.df2-beat-prompt{background:#20beb409;border-color:#20beb424}.df2-beat-prompt .df2-beat-label{color:#17a39a}.df2-beat-prompt .df2-beat-label svg{color:#20beb4}.df2-snav-item{min-height:120px;padding:4px 10px 4px 6px;align-items:stretch}.df2-snav-item .df2-snav-left{align-self:stretch}.df2-snav-item .df2-snav-line{flex:1 1 0;min-height:0;margin:0;border-radius:1px}.df2-snav-item .df2-snav-line.lit{background:#5edcd4}.df2-snav-item .df2-snav-dot{flex-shrink:0}.df2-snav-item .df2-snav-txt{justify-content:center;padding:0}.df2-beat-assets .df2-bs-row{width:100%;box-sizing:border-box;min-height:62px;flex:0 0 auto;justify-content:flex-start}.df2-beat-assets .df2-bs-row .df2-bs-chips{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.df2-beat-prompt .df2-beat-prompt-ta{font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.df2-snav .df2-snav-item .df2-snav-line{flex:1 1 0;min-height:0;margin:0;border-radius:1px}.df2-snav .df2-snav-item .df2-snav-line.lit{background:#5edcd4}.df2-snav .df2-snav-item .df2-snav-txt{justify-content:center;padding:0}.df2-snav .df2-snav-item .df2-snav-left{align-self:stretch}.df2-beat-assets .df2-bs-row{height:70px;min-height:70px;justify-content:space-between}.df2-beat-assets .df2-bs-row .df2-bs-chips{flex-wrap:nowrap;overflow:hidden}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip{max-width:128px}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:64px}.df2-snav .df2-snav-item .df2-snav-line.spacer{background:transparent}.df2-snav .df2-snav-title{font-size:14px;font-weight:700;letter-spacing:0;color:#1e293b;text-transform:none;padding:2px 10px 0 14px;margin-bottom:12px}@media (max-width: 640px){.df2-root,.df2-layout{min-width:0}.df2-header{flex-wrap:wrap;height:auto;min-height:52px;padding:7px 10px;row-gap:6px}.df2-header .df2-header-left{min-width:0}.df2-header .df2-header-left h2{font-size:15px;white-space:nowrap}.df2-header .df2-header-left p{display:none}.df2-header .df2-logo{width:28px;height:28px}.df2-header .df2-header-actions{flex-wrap:wrap;gap:6px;margin-left:0;width:100%;justify-content:flex-start}.df2-header .df2-header-actions .df2-btn-sm,.df2-header .df2-header-actions button{font-size:12px;padding:5px 10px}.df2-header .df2-step-chip{font-size:11px;padding:3px 8px}.df2-layout{flex-direction:column;overflow-y:auto}.df2-snav{display:flex;flex-direction:row;align-items:center;gap:4px;width:100%;max-height:none;padding:6px 8px;overflow-x:auto;border-right:none;border-bottom:1px solid #e2e8f0;flex-shrink:0}.df2-snav::-webkit-scrollbar{width:3px;height:3px}.df2-snav::-webkit-scrollbar-track{background:transparent}.df2-snav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-snav::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-snav{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-snav .df2-snav-title,.df2-snav .df2-snav-foot,.df2-snav .df2-snav-txt i,.df2-snav .df2-snav-line{display:none}.df2-snav .df2-snav-item{flex:0 0 auto;flex-direction:column;align-items:center;gap:2px;padding:4px 10px;border-radius:8px}.df2-snav .df2-snav-item .df2-snav-left{display:contents}.df2-snav .df2-snav-item .df2-snav-dot{width:30px;height:30px}.df2-snav .df2-snav-item .df2-snav-txt{display:block;text-align:center}.df2-snav .df2-snav-item .df2-snav-txt b{font-size:10.5px;white-space:nowrap}.df2-body{flex:1;min-height:0;padding:10px;overflow-y:auto}.df2-beat-main{flex-direction:column;align-items:stretch}.df2-beat-assets{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px 8px}.df2-beat-assets .df2-bs-row{padding:3px 0;border-top:none;gap:3px}.df2-beat-assets .df2-bs-row+.df2-bs-row{border-top:none}.df2-beat-assets .df2-bs-row .df2-bs-head{flex-direction:column;align-items:flex-start;gap:3px}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-pick,.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen{font-size:10px;padding:1px 5px;gap:2px}.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-pick svg,.df2-beat-assets .df2-bs-row .df2-bs-head .df2-bs-ops .df2-bs-gen svg{display:none}.df2-beat-assets .df2-bs-row .df2-bs-chips{flex-wrap:wrap;max-height:none}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip{max-width:100%;padding:1px 5px 1px 2px}.df2-beat-assets .df2-bs-row .df2-bs-chips .df2-bs-chip span{font-size:10px}.df2-beat-prompt .df2-beat-prompt-ta{font-size:12px;line-height:1.6;padding:8px 10px}.df2-footer{flex-wrap:wrap;gap:8px}.df2-footer .df2-btn-primary{flex:1;justify-content:center}}@media (max-width: 400px){.df2-beat-assets{grid-template-columns:1fr}.df2-beat-assets .df2-bs-row .df2-bs-head{flex-direction:row;align-items:center}}.df2-bs-chips{flex-wrap:wrap;min-width:0}@media (max-width: 640px){.df2-snav .df2-snav-item{flex-direction:row;width:auto;min-width:0;height:auto;gap:5px;padding:4px 10px;align-items:center}.df2-snav .df2-snav-item .df2-snav-dot{width:24px;height:24px;font-size:12px}.df2-snav .df2-snav-item .df2-snav-txt{display:block;flex:none}.df2-snav .df2-snav-item .df2-snav-txt b{font-size:11.5px}.df2-root .df2-toast,.dream-factory .df2-toast{top:auto;bottom:66px}}@media (max-width: 640px){.df2-snav .df2-snav-item{flex:1 1 0;justify-content:center;width:auto;min-width:0;padding:4px 2px;gap:4px}.df2-snav .df2-snav-item .df2-snav-dot{width:22px;height:22px;flex:none}.df2-snav .df2-snav-item .df2-snav-txt{flex:none;overflow:hidden}.df2-snav .df2-snav-item .df2-snav-txt b{font-size:10.5px;white-space:nowrap}.df2-body{padding-bottom:76px}}@media (max-width: 640px){.df2-snav{padding:3px 6px;gap:2px}.df2-snav .df2-snav-title,.df2-snav .df2-snav-foot{display:none}.df2-snav .df2-snav-item{padding:2px 3px;gap:3px}.df2-snav .df2-snav-item .df2-snav-dot{width:18px;height:18px;font-size:10px}.df2-snav .df2-snav-item .df2-snav-txt b{font-size:10px}.df2-panel-head p{display:none}.df2-panel-head h3{font-size:15px}.df2-panel-head .df2-head-actions{flex-direction:column;align-items:stretch;gap:6px;width:100%}.df2-panel-head .df2-head-actions .df2-btn-ghost,.df2-panel-head .df2-head-actions .df2-btn-primary{width:100%;justify-content:center;font-size:12.5px;padding:8px 10px}.df2-gen-bar .df2-gen-actions{width:100%}}@media (max-width: 640px){.df2-beat-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}.df2-root .df2-toast{max-width:calc(100% - 20px);white-space:normal;text-align:left;line-height:1.5}@media (max-width: 640px){.df2-header{padding:5px 10px;row-gap:4px}.df2-header .df2-header-left{flex:1 1 auto;min-width:0}.df2-header .df2-header-left h2{font-size:14px}.df2-header .df2-header-actions{flex-wrap:nowrap;overflow-x:auto;width:100%;margin-left:0;padding-bottom:2px;justify-content:flex-start;-webkit-overflow-scrolling:touch}.df2-header .df2-header-actions::-webkit-scrollbar{width:2px;height:2px}.df2-header .df2-header-actions::-webkit-scrollbar-track{background:transparent}.df2-header .df2-header-actions::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.df2-header .df2-header-actions::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.df2-header .df2-header-actions{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.df2-header .df2-header-actions .df2-btn-sm,.df2-header .df2-header-actions button{flex:0 0 auto;font-size:11.5px;padding:4px 9px}.df2-beat-assets .df2-bs-chip{max-width:96px}.df2-beat-assets .df2-bs-chip span{max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media (max-width: 640px){.df2-snav{height:auto!important;max-height:42px!important;min-height:0!important}.df2-snav .df2-snav-item{height:auto!important;max-height:34px!important;min-height:0!important;align-self:center!important}}.voice-page{display:flex;flex-direction:column;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc;position:relative}.app-content:has(.voice-page){padding:0;max-width:none;margin:0}.voice-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;height:60px;background:#fff;border-bottom:1px solid #e2e8f0}.voice-header .voice-header-left{display:flex;align-items:center;gap:10px;min-width:0}.voice-header .voice-logo{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;flex-shrink:0;box-shadow:0 2px 8px #20beb440}.voice-header h2{font-size:16px;font-weight:600;line-height:1.3;color:#1e293b}.voice-header p{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-header .voice-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:5px 12px;border-radius:999px;font-weight:500;white-space:nowrap}.voice-body{flex:1;min-height:0;display:flex}.voice-side{flex-shrink:0;width:304px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:14px 12px;gap:4px;overflow:hidden}.voice-side .voice-side-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:12px 14px 10px}.voice-side .voice-side-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 10px 12px;display:flex;flex-direction:column;gap:4px}.voice-side .voice-side-scroll::-webkit-scrollbar{width:4px;height:4px}.voice-side .voice-side-scroll::-webkit-scrollbar-track{background:transparent}.voice-side .voice-side-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.voice-side .voice-side-scroll::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.voice-side .voice-side-scroll{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.voice-side .voice-sec-title{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#64748b;padding:8px 6px 4px;letter-spacing:.4px}.voice-side .voice-sec-title em{font-style:normal;font-size:10px;color:#17a39a;background:#d6f7f4;padding:0 6px;border-radius:999px}.voice-side .voice-sec-go{margin-left:auto;display:inline-flex;align-items:center;gap:3px;border:none;background:#f1f5f9;color:#64748b;font-size:10.5px;padding:2px 8px;border-radius:999px;cursor:pointer;transition:all .15s ease}.voice-side .voice-sec-go:hover{color:#17a39a;background:#d6f7f4}.voice-side .voice-sec-empty{display:flex;align-items:flex-start;gap:6px;width:100%;text-align:left;font-family:inherit;font-size:11px;line-height:1.5;color:#64748b;background:#8b5cf612;border:1px dashed rgba(139,92,246,.35);border-radius:8px;padding:7px 9px;margin:2px 0;cursor:pointer;transition:all .15s ease}.voice-side .voice-sec-empty svg{color:#7c3aed;flex-shrink:0;margin-top:1px}.voice-side .voice-sec-empty:hover{background:#8b5cf621;border-color:#8b5cf699}.voice-side .voice-upload{margin-top:8px;min-height:92px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f8fafc;border:2px dashed #e2e8f0;border-radius:12px;cursor:pointer;text-align:center;transition:all .15s ease}.voice-side .voice-upload svg{color:#20beb4;flex-shrink:0}.voice-side .voice-upload b{font-size:13px;font-weight:600;color:#17a39a}.voice-side .voice-upload span{font-size:10.5px;color:#94a3b8;line-height:1.5}.voice-side .voice-upload:hover{border-color:#20beb48c;background:#d6f7f4}.voice-side .voice-upload.dragging{border-color:#20beb4;background:#20beb41f;transform:scale(1.01);box-shadow:inset 0 0 0 1px #20beb440}.voice-side .voice-del{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:18px;height:18px;border:none;border-radius:50%;background:#e5484d1f;color:#e5484d;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s ease;z-index:2}.voice-side .voice-item-ref .voice-check{right:30px}.voice-side .voice-side-title{font-size:13px;font-weight:600;color:#1e293b}.voice-side .voice-side-count{font-size:11px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:999px}.voice-side .voice-list{display:flex;flex-direction:column;gap:3px;flex:none;margin-bottom:2px}.voice-side .voice-item{display:flex;align-items:center;gap:9px;padding:8px;border:none;background:transparent;border-radius:8px;cursor:pointer;text-align:left;font-family:inherit;transition:all .15s ease;width:100%;position:relative}.voice-side .voice-item .voice-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:600;flex-shrink:0;box-shadow:0 2px 6px #0000001f}.voice-side .voice-item .voice-item-txt{display:flex;flex-direction:column;min-width:0}.voice-side .voice-item .voice-item-txt b{display:flex;align-items:center;gap:5px;font-size:13.5px;font-weight:600;color:#1e293b}.voice-side .voice-item .voice-item-txt b em{font-style:normal;font-size:10px;color:#17a39a;background:#20beb41f;padding:1px 6px;border-radius:999px}.voice-side .voice-item .voice-item-txt i{font-style:normal;font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-side .voice-item .voice-check{position:absolute;right:8px;width:17px;height:17px;border-radius:50%;background:#20beb4;color:#fff;display:flex;align-items:center;justify-content:center}.voice-side .voice-item:hover{background:#f8fafc}.voice-side .voice-item:hover .voice-del{opacity:1}.voice-side .voice-item.active{background:#d6f7f4}.voice-side .voice-item.active b{color:#17a39a}.voice-side .voice-item.voice-item-ref{cursor:pointer}.voice-side .voice-item.voice-item-ref .voice-item-txt b{padding-right:18px}.voice-side .voice-side-note{display:flex;align-items:center;gap:5px;margin-top:8px;padding:7px 8px;font-size:11px;color:#64748b;background:#f8fafc;border-radius:8px}.voice-side .voice-side-note svg{color:#20beb4}.voice-main{flex:0 0 540px;min-width:0;display:flex;flex-direction:column;padding:16px 18px;border-right:1px solid #e2e8f0;background:#f8fafc;overflow-y:auto}.voice-main::-webkit-scrollbar{width:6px;height:6px}.voice-main::-webkit-scrollbar-track{background:transparent}.voice-main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.voice-main::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.voice-main{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.voice-studio{flex:1;min-height:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:14px}.voice-studio .voice-params{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.voice-studio .voice-param{display:flex;align-items:center;gap:8px}.voice-studio .voice-param .voice-param-label{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:#64748b;font-weight:500;white-space:nowrap}.voice-studio .voice-param .voice-param-label svg{color:#20beb4}.voice-studio .voice-chip-row{display:flex;gap:6px}.voice-studio .voice-chip{padding:4px 12px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:12.5px;color:#475569;cursor:pointer;transition:all .15s ease;font-family:inherit}.voice-studio .voice-chip:hover{border-color:#5edcd4;color:#17a39a}.voice-studio .voice-chip.active{background:#20beb4;border-color:#20beb4;color:#fff;font-weight:500}.voice-studio .voice-current{margin-left:auto;display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:6px 12px 6px 6px}.voice-studio .voice-current .voice-current-avatar{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:600}.voice-studio .voice-current span{display:flex;flex-direction:column}.voice-studio .voice-current span b{display:flex;align-items:center;gap:5px;font-size:12.5px;color:#1e293b;min-width:0}.voice-studio .voice-current span b em{font-style:normal;font-size:9.5px;font-weight:500;color:#17a39a;background:#20beb41f;padding:1px 6px;border-radius:999px;flex-shrink:0}.voice-studio .voice-current span i{font-style:normal;font-size:11px;color:#64748b}.voice-studio .voice-input-box{flex:1;min-height:0;display:flex;flex-direction:column}.voice-studio .voice-input-box textarea{flex:1;width:100%;min-height:130px;padding:13px 15px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;line-height:1.8;outline:none;font-family:inherit;box-sizing:border-box;resize:none;background:#f8fafc;transition:all .15s ease}.voice-studio .voice-input-box textarea::-webkit-scrollbar{width:6px;height:6px}.voice-studio .voice-input-box textarea::-webkit-scrollbar-track{background:transparent}.voice-studio .voice-input-box textarea::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.voice-studio .voice-input-box textarea::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.voice-studio .voice-input-box textarea{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.voice-studio .voice-input-box textarea:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41a}.voice-studio .voice-input-box .voice-input-meta{flex-shrink:0;display:flex;align-items:center;gap:14px;margin-top:7px;font-size:11.5px;color:#64748b}.voice-studio .voice-input-box .voice-input-meta span{display:inline-flex;align-items:center;gap:4px}.voice-studio .voice-input-box .voice-clear{margin-left:auto;display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#64748b;font-size:11.5px;cursor:pointer;font-family:inherit}.voice-studio .voice-input-box .voice-clear:hover{color:#ef4444}.voice-studio .voice-gen-row{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px dashed #e2e8f0}.voice-studio .voice-gen-row .voice-hint{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#64748b}.voice-studio .voice-gen-row .voice-hint svg{color:#20beb4}.voice-studio .voice-gen-row .voice-gen-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 22px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;border:none;border-radius:8px;font-size:13.5px;font-weight:500;cursor:pointer;font-family:inherit;box-shadow:0 2px 6px #20beb440;transition:all .2s ease;white-space:nowrap}.voice-studio .voice-gen-row .voice-gen-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #20beb459}.voice-studio .voice-gen-row .voice-gen-btn:disabled{opacity:.5;cursor:not-allowed}.voice-right{flex:1;min-width:0;display:flex;flex-direction:column;padding:16px 18px;overflow:hidden;background:#f8fafc}.voice-results{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding-right:3px}.voice-results::-webkit-scrollbar{width:6px;height:6px}.voice-results::-webkit-scrollbar-track{background:transparent}.voice-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.voice-results::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.voice-results{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.voice-results .voice-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.voice-results .voice-results-head>span{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1e293b}.voice-results .voice-results-head>span em{font-style:normal;font-size:11px;font-weight:500;color:#17a39a;background:#d6f7f4;border-radius:999px;padding:1px 8px}.voice-results .voice-clear-all{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#64748b;font-size:12px;cursor:pointer;font-family:inherit}.voice-results .voice-clear-all:hover{color:#ef4444}.voice-results .voice-empty{flex:1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#fff;border:1.5px dashed #e2e8f0;border-radius:12px;padding:24px}.voice-results .voice-empty svg{color:#cbd5e1;margin-bottom:3px}.voice-results .voice-empty p{font-size:14px;font-weight:600;color:#475569;margin:0}.voice-results .voice-empty span{font-size:12.5px;color:#64748b;text-align:center;max-width:420px;line-height:1.6}.voice-results .voice-result-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px;align-content:start;padding-bottom:8px}.voice-results .voice-result{position:relative;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:13px 16px;transition:box-shadow .2s ease}.voice-results .voice-result:hover{box-shadow:0 1px 3px #0000000f}.voice-results .voice-result .voice-result-head{display:flex;align-items:center;gap:10px;min-width:0}.voice-results .voice-result .voice-result-id{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.voice-results .voice-result .voice-result-id b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1e293b;min-width:0}.voice-results .voice-result .voice-result-id b em{font-style:normal;font-size:10px;font-weight:500;padding:1px 7px;border-radius:999px;flex-shrink:0}.voice-results .voice-result .voice-result-id i{font-style:normal;font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-results .voice-result.voice-result-ref b em{color:#0f7a5c;background:#10b98121}.voice-results .voice-result.voice-result-design b em{color:#7c3aed;background:#8b5cf621}.voice-results .voice-result.voice-result-builtin b em{color:#17a39a;background:#20beb41f}.voice-results .voice-result .voice-result-meta{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px;flex-shrink:0;margin-left:auto;padding-left:8px;padding-right:168px}.voice-results .voice-result .voice-result-meta>span{font-size:11px;color:#64748b;background:#f1f5f9;border-radius:999px;padding:2px 8px;white-space:nowrap;font-variant-numeric:tabular-nums}.voice-results .voice-result .voice-result-meta .voice-result-time{position:absolute;top:13px;right:12px;display:inline-flex;align-items:center;gap:4px;background:#d6f7f4;color:#17a39a;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums;border:1px solid rgba(32,190,180,.18);border-radius:999px;padding:1px 8px}.voice-results .voice-result .voice-result-meta .voice-result-time svg{opacity:.7;flex-shrink:0}.voice-results .voice-result .voice-result-script{margin:0;font-size:13px;line-height:1.75;color:#1e293b;background:#f8fafc;border-radius:8px;padding:10px 12px;cursor:pointer;transition:background .15s ease;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;word-break:break-word}.voice-results .voice-result .voice-result-script:hover{background:#20beb40f}.voice-results .voice-result .voice-result-script.open{-webkit-line-clamp:unset}.voice-results .voice-result .voice-result-foot{display:flex;align-items:center;gap:12px;padding-left:48px;min-height:34px}.voice-results .voice-result .voice-wave{flex:1;min-width:0;display:flex;align-items:center;gap:2px;height:32px}.voice-results .voice-result .voice-wave i{width:3px;flex-shrink:0;border-radius:2px;background:#20beb459;transition:background .15s;display:block}.voice-results .voice-result .voice-result-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.voice-results .voice-result .voice-play{width:34px;height:34px;border-radius:50%;border:none;background:#d6f7f4;color:#17a39a;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.voice-results .voice-result .voice-play:hover{transform:scale(1.08)}.voice-results .voice-result .voice-play.playing{background:#20beb4;color:#fff;animation:voice-pulse 1.2s ease infinite}.voice-results .voice-result .voice-dl{width:32px;height:32px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.voice-results .voice-result .voice-dl:hover{color:#17a39a;border-color:#5edcd4}@keyframes voice-pulse{0%,to{box-shadow:0 0 #20beb459}50%{box-shadow:0 0 0 6px #20beb40d}}.voice-toast{position:absolute;top:68px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;background:#1e293b;color:#fff;font-size:13px;padding:9px 16px;border-radius:999px;box-shadow:0 4px 12px #0000001a;z-index:50;animation:voice-toast-in .25s ease;max-width:90vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-toast svg{color:#10b981;flex-shrink:0}@keyframes voice-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.spin{animation:voice-spin 1s linear infinite}@keyframes voice-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.app-content:has(.voice-page){padding:0}.voice-header{padding:0 14px;height:54px}.voice-header p{display:none}.voice-header .voice-logo{width:30px;height:30px}.voice-side{display:none}.voice-main{padding:12px}.voice-studio .voice-params{flex-direction:column;align-items:stretch;gap:10px}.voice-studio .voice-current{margin-left:0}.voice-studio .voice-gen-row{flex-direction:column;align-items:stretch}.voice-studio .voice-gen-row .voice-gen-btn{width:100%}.voice-result{flex-wrap:wrap}}@media (max-width: 576px){.voice-header{padding:0 10px}.voice-header h2{font-size:15px}.voice-main{padding:8px}.voice-studio{padding:12px}.voice-studio textarea{font-size:13px}.voice-results{padding:0 2px}.voice-current{font-size:12.5px}}@media (max-width: 1440px){.voice-side{width:280px}.voice-main{flex-basis:520px}}@media (max-width: 1280px){.voice-side{width:264px}.voice-main{flex-basis:480px}}@media (max-width: 1120px){.voice-body{flex-wrap:wrap;align-content:flex-start;overflow-y:auto}.voice-side{width:100%;border-right:none;border-bottom:1px solid #e2e8f0;max-height:42vh}.voice-main{flex:1 1 100%;border-right:none}.voice-right{flex:1 1 100%;min-height:340px;border-top:1px solid #e2e8f0}}@media (max-width: 992px){.voice-side{display:flex;width:100%;border-right:none;border-bottom:1px solid #e2e8f0;max-height:42vh}.voice-main,.voice-right{padding:12px}}.voice-lib-tabs{display:flex;gap:6px;margin:2px 0 8px}.voice-lib-tabs .voice-lib-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 4px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.voice-lib-tabs .voice-lib-tab em{font-style:normal;font-size:10px;font-weight:500;color:#17a39a;background:#20beb41f;border-radius:999px;padding:0 6px;line-height:15px}.voice-lib-tabs .voice-lib-tab:hover{border-color:#20beb499;color:#17a39a}.voice-lib-tabs .voice-lib-tab.on{border-color:#20beb4;background:#20beb41a;color:#17a39a;font-weight:600}.voice-face-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.voice-face-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 4px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-family:inherit;transition:all .15s ease;min-width:0}.voice-face-card .voice-face-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .15s ease}.voice-face-card b{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:500;color:#1e293b;max-width:100%;white-space:nowrap;overflow:hidden}.voice-face-card b em{font-style:normal;font-size:8.5px;font-weight:500;color:#17a39a;background:#20beb41f;border-radius:999px;padding:0 4px;line-height:13px;flex-shrink:0}.voice-face-card:hover{border-color:#20beb480;transform:translateY(-1px);box-shadow:0 1px 3px #0000000f}.voice-face-card.on{border-color:#20beb4;background:#20beb40d;box-shadow:inset 0 1px 4px #20beb438,inset 0 0 0 1px #20beb459}.voice-face-card.on .voice-face-avatar{box-shadow:0 0 0 2px #fff,0 0 0 4px #20beb473}.voice-face-card.on b{color:#17a39a;font-weight:600}.voice-lib-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;padding:20px 10px;background:#f8fafc;border:1.5px dashed #e2e8f0;border-radius:12px;font-size:12.5px;color:#17a39a;cursor:pointer;font-family:inherit;transition:all .15s ease}.voice-lib-empty svg{color:#20beb4}.voice-lib-empty span{font-size:10.5px;color:#94a3b8;line-height:1.4;text-align:center}.voice-lib-empty:hover{border-color:#20beb499;background:#d6f7f4}.voice-face-play{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border-radius:50%;background:#fff;border:1px solid rgba(32,190,180,.5);color:#17a39a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px #00000024;opacity:0;transform:scale(.6);transition:all .15s ease;z-index:2;padding:0}.voice-face-card:hover .voice-face-play{opacity:1;transform:scale(1)}.voice-face-play.on{opacity:1;transform:scale(1);background:#20beb4;border-color:#20beb4;color:#fff;animation:voice-play-pulse 1.2s ease-in-out infinite}@keyframes voice-play-pulse{0%,to{box-shadow:0 0 #20beb459}50%{box-shadow:0 0 0 5px #20beb400}}.voice-result .voice-result-head{display:flex;align-items:center;gap:10px;padding-right:150px;min-width:0}.voice-result .voice-result-id{flex:1;min-width:0;display:flex;align-items:center}.voice-result .voice-result-id b{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;margin:0}.voice-result .voice-result-id b em{font-style:normal;font-size:9px;font-weight:500;flex-shrink:0;color:#17a39a;background:#20beb41f;padding:1px 7px;border-radius:999px}.voice-result .voice-result-time{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:4px;font-size:9.5px;line-height:17px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.2);border-radius:999px;padding:0 8px;white-space:nowrap;font-variant-numeric:tabular-nums;max-width:46%;overflow:hidden;text-overflow:ellipsis}.voice-result .voice-result-head{display:flex;align-items:center;gap:8px;padding-right:150px;min-width:0}.voice-result .voice-result-head .voice-result-id{flex:1;min-width:0;display:flex;align-items:center}.voice-result .voice-result-head .voice-result-id b{display:block;font-size:13.5px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}.voice-result .voice-result-foot{display:flex;align-items:center;gap:10px;padding-left:0;min-height:34px}.voice-result .voice-result-foot .voice-play{flex-shrink:0;width:32px;height:32px;border-radius:50%;border:none;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #20beb44d;transition:all .15s ease;padding:0}.voice-result .voice-result-foot .voice-play:hover{transform:scale(1.06);box-shadow:0 3px 10px #20beb466}.voice-result .voice-result-foot .voice-wave{flex:1;min-width:0;display:flex;align-items:center;gap:2px;height:28px;overflow:hidden}.voice-result .voice-result-foot .voice-dl{flex-shrink:0;width:26px;height:26px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .15s ease}.voice-result .voice-result-foot .voice-dl:hover{color:#17a39a;border-color:#20beb480;background:#d6f7f4}.voice-result .voice-result-head .voice-result-id{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left}.voice-result .voice-result-head .voice-result-id b{display:block;text-align:left;font-size:13.5px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}.voice-result .voice-result-foot{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding-left:0;min-height:34px}.voice-result .voice-result-foot .voice-wave{flex:0 1 auto;min-width:0;height:30px;display:flex;align-items:center;gap:2px}.voice-face-card .voice-face-avatar{position:relative}.voice-face-card .voice-face-play{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#00000061;color:#fff;border:none;box-shadow:none;opacity:0;transform:scale(.9);transition:all .15s ease;pointer-events:none;z-index:2;padding:0;cursor:pointer}.voice-face-card:hover .voice-face-play{opacity:1;transform:scale(1);pointer-events:auto}.voice-face-card .voice-face-play.on{opacity:1;transform:scale(1);background:#0000008c;pointer-events:auto;animation:none}.voice-result .voice-result-foot .voice-dl{margin-left:auto;flex-shrink:0}.voice-results .voice-result .voice-result-foot{padding-left:0;justify-content:flex-start;gap:12px}@media (max-width: 768px){.voice-body{flex-direction:column;overflow-y:auto;align-content:stretch}.voice-side{order:2;width:100%;flex:none;max-height:38vh;border-right:none;border-bottom:none;border-top:1px solid #e2e8f0;padding:10px}.voice-main{order:1;flex:none;padding:10px}.voice-face-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.voice-upload{min-height:56px;font-size:12px}.voice-results-head>span{font-size:13px}.voice-result-script{font-size:12px}}.music-page{display:flex;flex-direction:column;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc;position:relative}.app-content:has(.music-page){padding:0;max-width:none;margin:0}.music-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;height:60px;background:#fff;border-bottom:1px solid #e2e8f0}.music-header .music-header-left{display:flex;align-items:center;gap:10px;min-width:0}.music-header .music-logo{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20beb4,#ec4899);color:#fff;flex-shrink:0;box-shadow:0 2px 8px #20beb44d}.music-header h2{font-size:16px;font-weight:600;line-height:1.3;color:#1e293b}.music-header p{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-header .music-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#17a39a;background:#20beb41a;border:1px solid rgba(32,190,180,.3);padding:5px 12px;border-radius:999px;font-weight:500;white-space:nowrap}.music-body{flex:1;min-height:0;display:flex}.music-side{flex-shrink:0;width:304px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:14px 12px;gap:4px;overflow-y:auto}.music-side::-webkit-scrollbar{width:4px;height:4px}.music-side::-webkit-scrollbar-track{background:transparent}.music-side::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-side::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-side{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-side .music-side-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 10px}.music-side .music-side-title{font-size:13px;font-weight:600;color:#1e293b}.music-side .music-side-count{font-size:11px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:999px}.music-side .music-genre-list{display:flex;flex-direction:column;gap:3px;flex:1}.music-side .music-genre{display:flex;align-items:center;gap:9px;padding:8px;border:none;background:transparent;border-radius:8px;cursor:pointer;text-align:left;font-family:inherit;transition:all .15s ease;width:100%;position:relative}.music-side .music-genre .music-genre-emoji{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;box-shadow:0 2px 6px #0000001a}.music-side .music-genre .music-genre-txt{display:flex;flex-direction:column;min-width:0}.music-side .music-genre .music-genre-txt b{font-size:13.5px;font-weight:600;color:#1e293b}.music-side .music-genre .music-genre-txt i{font-style:normal;font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-side .music-genre .music-check{position:absolute;right:8px;width:17px;height:17px;border-radius:50%;background:#20beb4;color:#fff;display:flex;align-items:center;justify-content:center}.music-side .music-genre:hover{background:#f8fafc}.music-side .music-genre.active{background:#20beb414}.music-side .music-genre.active b{color:#17a39a}.music-side .music-side-note{display:flex;align-items:center;gap:5px;margin-top:8px;padding:7px 8px;font-size:11px;color:#64748b;background:#f8fafc;border-radius:8px}.music-side .music-side-note svg{color:#20beb4}.music-main{flex:0 0 540px;min-width:0;display:flex;flex-direction:column;padding:16px 18px;border-right:1px solid #e2e8f0;overflow-y:auto}.music-main::-webkit-scrollbar{width:6px;height:6px}.music-main::-webkit-scrollbar-track{background:transparent}.music-main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-main::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-main{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-studio{flex:1 1 auto;min-height:280px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:14px}.music-studio .music-topic-row{display:flex;align-items:center;gap:12px}.music-studio .music-topic-input{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;transition:all .15s ease}.music-studio .music-topic-input svg{color:#20beb4;flex-shrink:0}.music-studio .music-topic-input input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:14px;font-family:inherit;color:#1e293b}.music-studio .music-topic-input input::placeholder{color:#94a3b8}.music-studio .music-topic-input:focus-within{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41f}.music-studio .music-current-genre{display:flex;align-items:center;gap:8px;background:#20beb40f;border:1px solid rgba(32,190,180,.25);border-radius:8px;padding:6px 12px 6px 6px;flex-shrink:0}.music-studio .music-current-genre .music-current-emoji{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;background:#fff}.music-studio .music-current-genre span{display:flex;flex-direction:column}.music-studio .music-current-genre span b{font-size:12.5px;color:#6d28d9}.music-studio .music-current-genre span i{font-style:normal;font-size:11px;color:#64748b}.music-studio .music-params{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.music-studio .music-param{display:flex;align-items:center;gap:8px}.music-studio .music-param .music-param-label{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:#64748b;font-weight:500;white-space:nowrap}.music-studio .music-param .music-param-label svg{color:#20beb4}.music-studio .music-chip-row{display:flex;gap:6px;flex-wrap:wrap}.music-studio .music-chip{padding:4px 13px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:12.5px;color:#475569;cursor:pointer;transition:all .15s ease;font-family:inherit}.music-studio .music-chip:hover{border-color:#20beb480;color:#17a39a}.music-studio .music-chip.active{background:#20beb4;border-color:#20beb4;color:#fff;font-weight:500;box-shadow:0 2px 6px #20beb44d}.music-studio .music-gen-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px dashed #e2e8f0}.music-studio .music-gen-row .music-hint{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#64748b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.music-studio .music-gen-row .music-hint svg{color:#20beb4;flex-shrink:0}.music-studio .music-gen-row .music-gen-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 22px;background:linear-gradient(135deg,#20beb4,#ec4899);color:#fff;border:none;border-radius:8px;font-size:13.5px;font-weight:500;cursor:pointer;font-family:inherit;box-shadow:0 2px 6px #20beb44d;transition:all .2s ease;white-space:nowrap}.music-studio .music-gen-row .music-gen-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #20beb466}.music-studio .music-gen-row .music-gen-btn:disabled{opacity:.5;cursor:not-allowed}.music-right{flex:1;min-width:0;display:flex;flex-direction:column;padding:16px 18px;overflow:hidden}.music-results{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding-right:3px}.music-results::-webkit-scrollbar{width:6px;height:6px}.music-results::-webkit-scrollbar-track{background:transparent}.music-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-results::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-results{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-results .music-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.music-results .music-results-head>span{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1e293b}.music-results .music-results-head>span em{font-style:normal;font-size:11px;font-weight:500;color:#17a39a;background:#20beb41a;border-radius:999px;padding:1px 8px}.music-results .music-clear-all{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#64748b;font-size:12px;cursor:pointer;font-family:inherit}.music-results .music-clear-all:hover{color:#ef4444}.music-results .music-empty{flex:1;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#fff;border:1.5px dashed #e2e8f0;border-radius:12px;padding:24px}.music-results .music-empty svg{color:#cbd5e1;margin-bottom:3px}.music-results .music-empty p{font-size:14px;font-weight:600;color:#475569;margin:0}.music-results .music-empty span{font-size:12.5px;color:#64748b;text-align:center;max-width:440px;line-height:1.6}@keyframes music-eq{0%{transform:scaleY(.4)}to{transform:scaleY(1)}}.music-toast{position:absolute;top:68px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;background:#1e293b;color:#fff;font-size:13px;padding:9px 16px;border-radius:999px;box-shadow:0 4px 12px #0000001a;z-index:50;animation:music-toast-in .25s ease;max-width:90vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-toast svg{color:#10b981;flex-shrink:0}@keyframes music-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.spin{animation:music-spin 1s linear infinite}@keyframes music-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.app-content:has(.music-page){padding:0}.music-header{padding:0 14px;height:54px}.music-header p{display:none}.music-header .music-logo{width:30px;height:30px}.music-side{display:none}.music-main{padding:12px}.music-studio .music-topic-row{flex-direction:column;align-items:stretch}.music-studio .music-current-genre{align-self:flex-start}.music-studio .music-params{flex-direction:column;align-items:stretch;gap:10px}.music-studio .music-gen-row{flex-direction:column;align-items:stretch}.music-studio .music-gen-row .music-gen-btn{width:100%}.music-grid{grid-template-columns:1fr 1fr;gap:10px}}@media (max-width: 576px){.music-header{padding:0 10px}.music-header h2{font-size:15px}.music-main{padding:8px}.music-studio{padding:12px}.music-topic-input{font-size:13px}.music-grid{grid-template-columns:1fr}}.music-quick{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,#20beb40d,#ec48990d);border:1.5px dashed rgba(32,190,180,.3);border-radius:12px;padding:18px 14px}.music-quick .music-quick-label{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:#64748b}.music-quick .music-quick-label svg{color:#20beb4}.music-quick .music-quick-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.music-quick .music-quick-chips button{border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:9px 10px;font-size:12.5px;color:#475569;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-quick .music-quick-chips button:hover{border-color:#20beb4;color:#17a39a;background:#20beb40f}.music-result-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:12px;align-content:start;padding-bottom:8px}.music-result{position:relative;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px;min-width:0;transition:box-shadow .2s ease,transform .2s ease}.music-result:hover{box-shadow:0 1px 3px #0000000f;transform:translateY(-1px)}.music-result.playing{border-color:#20beb499;box-shadow:0 0 0 2px #20beb41f}.music-result .music-result-cover{position:relative;width:100%;height:76px;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.music-result .music-result-cover .music-result-emoji{font-size:30px;line-height:1;filter:drop-shadow(0 2px 5px rgba(0,0,0,.18))}.music-result .music-result-cover .music-result-time{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;gap:3px;font-size:8.5px;line-height:15px;color:#fffffff5;background:#0f172a80;border-radius:999px;padding:0 6px;white-space:nowrap;font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:none;border:none}.music-result .music-result-cover .music-cover-len{position:absolute;left:6px;bottom:6px;font-size:9px;line-height:15px;font-variant-numeric:tabular-nums;color:#fff;background:#0f172a80;border-radius:999px;padding:0 6px}.music-result .music-result-cover .music-play{position:absolute;right:6px;bottom:6px;width:26px;height:26px;border-radius:50%;border:none;background:#fffffff2;color:#334155;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 6px #0000003d;transition:all .15s ease;padding:0}.music-result .music-result-cover .music-play:hover{transform:scale(1.08);background:#fff}.music-result .music-result-cover .music-play.playing{background:#fff;color:#17a39a}.music-result .music-result-cover .music-eq{position:absolute;top:8px;left:8px;display:inline-flex;align-items:flex-end;gap:2px;height:12px}.music-result .music-result-cover .music-eq i{width:3px;background:#fff;border-radius:1px;box-shadow:0 0 3px #00000059;animation:music-eq .55s ease-in-out infinite alternate}.music-result .music-result-cover .music-eq i:nth-child(1){height:6px}.music-result .music-result-cover .music-eq i:nth-child(2){height:12px;animation-delay:.18s}.music-result .music-result-cover .music-eq i:nth-child(3){height:9px;animation-delay:.36s}.music-result .music-result-info{display:flex;flex-direction:column;gap:5px;min-width:0;padding:0}.music-result .music-result-top{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:0}.music-result .music-result-top b{flex:1;min-width:0;font-size:13px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-result .music-result-top .music-dl{flex-shrink:0;width:24px;height:24px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .15s ease}.music-result .music-result-top .music-dl:hover{color:#17a39a;border-color:#20beb480;background:#d6f7f4}.music-result .music-result-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.music-result .music-result-tags em{font-style:normal;font-size:9.5px;line-height:16px;color:#64748b;background:#f1f5f9;border-radius:999px;padding:0 7px;white-space:nowrap}.music-result .music-sfx-desc{font-size:11px;line-height:1.7;color:#475569;background:#f8fafc;border-radius:8px;padding:6px 9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}@media (max-width: 1440px){.music-side{width:280px}.music-main{flex-basis:520px}}@media (max-width: 1280px){.music-side{width:264px}.music-main{flex-basis:480px}}@media (max-width: 1120px){.music-body{flex-wrap:wrap;align-content:flex-start;overflow-y:auto}.music-side{display:flex;width:100%;border-right:none;border-bottom:1px solid #e2e8f0;max-height:42vh}.music-main{flex:1 1 100%;border-right:none}.music-right{flex:1 1 100%;min-height:340px;border-top:1px solid #e2e8f0}}@media (max-width: 768px){.music-side{display:flex;width:100%;border-right:none;border-bottom:1px solid #e2e8f0;max-height:42vh}.music-main,.music-right{padding:12px}}@media (max-width: 576px){.music-main{padding:8px}.music-quick-chips{grid-template-columns:1fr}}.music-kind-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.music-kind-tabs .music-kind-tab{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;text-align:left;font-family:inherit;transition:all .15s ease}.music-kind-tabs .music-kind-tab .music-kind-ic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f1f5f9;color:#64748b;transition:all .15s ease}.music-kind-tabs .music-kind-tab .music-kind-txt{display:flex;flex-direction:column;min-width:0}.music-kind-tabs .music-kind-tab .music-kind-txt b{font-size:13px;font-weight:600;color:#1e293b}.music-kind-tabs .music-kind-tab .music-kind-txt i{font-style:normal;font-size:10.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-kind-tabs .music-kind-tab:hover{border-color:#20beb473}.music-kind-tabs .music-kind-tab.active{border-color:#20beb4;background:#20beb40f;box-shadow:0 0 0 2px #20beb41f}.music-kind-tabs .music-kind-tab.active .music-kind-ic{background:linear-gradient(135deg,#20beb4,#ec4899);color:#fff}.music-kind-tabs .music-kind-tab.active .music-kind-txt b{color:#6d28d9}.music-prompt{display:flex;flex-direction:column;gap:6px}.music-prompt .music-prompt-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:500;color:#64748b}.music-prompt .music-prompt-label svg{color:#20beb4}.music-prompt textarea{width:100%;box-sizing:border-box;min-height:84px;padding:10px 13px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font-size:13px;line-height:1.7;font-family:inherit;color:#1e293b;outline:none;resize:vertical;transition:all .15s ease}.music-prompt textarea::-webkit-scrollbar{width:4px;height:4px}.music-prompt textarea::-webkit-scrollbar-track{background:transparent}.music-prompt textarea::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-prompt textarea::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-prompt textarea{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-prompt textarea::placeholder{color:#94a3b8}.music-prompt textarea:focus{border-color:#20beb4;background:#fff;box-shadow:0 0 0 3px #20beb41f}.music-lyric{display:flex;flex-direction:column;gap:6px}.music-lyric .music-lyric-label{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:500;color:#64748b}.music-lyric .music-lyric-label svg{color:#ec4899}.music-lyric .music-lyric-regen{margin-left:auto;display:inline-flex;align-items:center;gap:4px;border:none;background:#ec489914;color:#db2777;font-size:11px;padding:3px 10px;border-radius:999px;cursor:pointer;font-family:inherit;transition:all .15s ease}.music-lyric .music-lyric-regen:hover{background:#ec489929}.music-lyric .music-lyric-regen:disabled{opacity:.5;cursor:not-allowed}.music-lyric .music-lyric-input{width:100%;box-sizing:border-box;min-height:130px;padding:10px 13px;border:1px solid rgba(236,72,153,.3);border-radius:8px;background:#ec489908;font-size:12.5px;line-height:1.8;font-family:inherit;color:#1e293b;outline:none;resize:vertical;transition:all .15s ease}.music-lyric .music-lyric-input::-webkit-scrollbar{width:4px;height:4px}.music-lyric .music-lyric-input::-webkit-scrollbar-track{background:transparent}.music-lyric .music-lyric-input::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-lyric .music-lyric-input::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-lyric .music-lyric-input{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-lyric .music-lyric-input::placeholder{color:#94a3b8}.music-lyric .music-lyric-input:focus{border-color:#ec4899;background:#fff;box-shadow:0 0 0 3px #ec48991a}.music-result-tags .music-tag-kind{display:inline-flex;align-items:center;gap:3px}.music-result-tags .music-tag-kind.k-bgm{color:#17a39a;background:#20beb41f}.music-result-tags .music-tag-kind.k-song{color:#db2777;background:#ec48991f}.music-result-tags .music-tag-kind.k-sfx{color:#d97706;background:#f59e0b24}.music-lyric-preview{margin-top:2px;padding:7px 9px;background:#ec48990d;border:1px dashed rgba(236,72,153,.3);border-radius:8px;cursor:pointer;transition:all .15s ease;display:flex;align-items:flex-start;gap:6px}.music-lyric-preview:hover{border-color:#ec48998c;background:#ec489914}.music-lyric-preview span{flex:1;min-width:0;font-size:11.5px;line-height:1.75;color:#475569;white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.music-lyric-preview .music-lyric-arrow{flex-shrink:0;margin-top:3px;color:#db2777;transition:transform .15s ease}.music-lyric-preview.open span{-webkit-line-clamp:unset;max-height:220px;overflow-y:auto}.music-lyric-preview.open span::-webkit-scrollbar{width:4px;height:4px}.music-lyric-preview.open span::-webkit-scrollbar-track{background:transparent}.music-lyric-preview.open span::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-lyric-preview.open span::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-lyric-preview.open span{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-lyric-preview.open .music-lyric-arrow{transform:rotate(180deg)}.music-sfx-desc{font-size:11px;color:#b45309;background:#f59e0b14;border-radius:8px;padding:3px 8px;align-self:flex-start;line-height:1.5}.music-result-time{line-height:1.6}.music-studio{overflow-y:auto}.music-studio::-webkit-scrollbar{width:4px;height:4px}.music-studio::-webkit-scrollbar-track{background:transparent}.music-studio::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.music-studio::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.music-studio{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.music-quick{min-height:auto}.music-kind-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-bottom:10px;margin-bottom:4px;border-bottom:1px dashed #e2e8f0}.music-kind-switch button{display:flex;align-items:center;justify-content:center;gap:4px;padding:7px 2px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:11.5px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.music-kind-switch button span{font-size:13px;line-height:1}.music-kind-switch button:hover{border-color:#20beb4;color:#6d28d9}.music-kind-switch button.on{background:linear-gradient(135deg,#20beb4,#17a39a);border-color:transparent;color:#fff;box-shadow:0 2px 8px #20beb44d}.music-studio{flex:0 0 auto;min-height:0}.music-prompt textarea,.music-lyric-input{min-height:150px}.music-gen-row{margin-top:2px}.music-genre .music-genre-play{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#20beb41f;color:#17a39a;opacity:0;transition:all .15s ease;cursor:pointer;flex-shrink:0}.music-genre:hover .music-genre-play,.music-genre.active .music-genre-play{opacity:1}.music-genre .music-genre-play.on{opacity:1;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;box-shadow:0 2px 6px #20beb466}.music-genre .music-genre-eq{position:absolute;right:34px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:2px}.music-genre .music-genre-eq i{width:2.5px;border-radius:1.5px;background:#17a39a;animation:music-eq .55s ease-in-out infinite alternate}.music-genre .music-genre-eq i:nth-child(1){height:8px}.music-genre .music-genre-eq i:nth-child(2){height:14px;animation-delay:.18s}.music-genre .music-genre-eq i:nth-child(3){height:10px;animation-delay:.32s}.music-genre.eq-on .music-genre-txt{padding-right:42px}.music-studio{flex:1 1 auto;min-height:0}.music-prompt{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}.music-prompt textarea{flex:1 1 auto;resize:none}.music-lyric{flex:1 1 auto;min-height:0}.music-lyric .music-lyric-input{flex:1 1 auto;resize:none}.music-kind-tabs{display:flex;gap:6px;margin-bottom:10px}.music-kind-tabs .music-kind-tab{flex:1;display:flex;align-items:center;justify-content:center;padding:6px 2px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.music-kind-tabs .music-kind-tab:hover{border-color:#20beb499;color:#17a39a}.music-kind-tabs .music-kind-tab.on{border-color:#20beb4;background:#20beb41a;color:#17a39a;font-weight:600}.music-face-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.music-face-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:11px 4px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-family:inherit;transition:all .15s ease;min-width:0}.music-face-card .music-face-logo{position:relative;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;flex-shrink:0;box-shadow:0 2px 8px #00000024;transition:all .15s ease}.music-face-card .music-face-play{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#00000061;color:#fff;opacity:0;transform:scale(.9);transition:all .15s ease;pointer-events:none}.music-face-card .music-face-play.on{opacity:1;transform:scale(1);background:#0000008c;pointer-events:auto}.music-face-card:hover .music-face-play{opacity:1;transform:scale(1);pointer-events:auto}.music-face-card b{font-size:11.5px;font-weight:500;color:#1e293b;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-face-card:hover{border-color:#20beb480;transform:translateY(-1px);box-shadow:0 1px 3px #0000000f}.music-face-card.on{border-color:#20beb4;background:#20beb40d;box-shadow:inset 0 1px 4px #20beb438,inset 0 0 0 1px #20beb459}.music-face-card.on .music-face-logo{box-shadow:0 0 0 2px #fff,0 0 0 4px #20beb466}.music-face-card.on b{color:#17a39a;font-weight:600}.music-face-card.previewing .music-face-logo{box-shadow:0 0 0 3px #20beb459}.music-face-card .music-face-eq{position:absolute;bottom:4px;left:0;right:0;display:flex;align-items:flex-end;justify-content:center;gap:2px;height:8px;pointer-events:none}.music-face-card .music-face-eq i{width:2.5px;height:100%;background:#20beb4;border-radius:1px;animation:music-eq .5s ease-in-out infinite alternate}.music-face-card .music-face-eq i:nth-child(2){animation-delay:.12s}.music-face-card .music-face-eq i:nth-child(3){animation-delay:.24s}@media (max-width: 768px){.music-body{flex-direction:column;overflow-y:auto;align-content:stretch}.music-side{order:2;width:100%;flex:none;max-height:38vh;border-right:none;border-top:1px solid #e2e8f0;padding:10px}.music-main{order:1;flex:none;padding:10px}.music-face-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.music-studio{padding:12px}}.app-content:has(.swap-page){padding:0;max-width:none;margin:0}.swap-page{display:flex;flex-direction:column;height:calc(100vh - 60px);border:none;border-radius:0;overflow:hidden;background:#f8fafc;position:relative}.swap-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;height:60px;background:#fff;border-bottom:1px solid #e2e8f0}.swap-header .swap-header-left{display:flex;align-items:center;gap:10px;min-width:0}.swap-header .swap-logo{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;flex-shrink:0;box-shadow:0 2px 8px #20beb440}.swap-header h2{font-size:16px;font-weight:600;line-height:1.3;color:#1e293b}.swap-header p{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swap-header .swap-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.3);padding:5px 12px;border-radius:999px;font-weight:500;white-space:nowrap}.swap-header .swap-badge svg{color:#20beb4}.swap-body{flex:1;min-height:0;display:flex}.swap-side{flex-shrink:0;width:304px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:14px 12px;gap:6px;overflow:hidden}.swap-side .swap-mode-tabs{display:flex;gap:6px;margin-bottom:4px}.swap-side .swap-mode-tabs .swap-mode-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 2px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.swap-side .swap-mode-tabs .swap-mode-tab svg{color:#64748b;flex-shrink:0}.swap-side .swap-mode-tabs .swap-mode-tab:hover{border-color:#20beb499;color:#17a39a}.swap-side .swap-mode-tabs .swap-mode-tab:hover svg{color:#20beb4}.swap-side .swap-mode-tabs .swap-mode-tab.on{border-color:#20beb4;background:#20beb41a;color:#17a39a;font-weight:600}.swap-side .swap-mode-tabs .swap-mode-tab.on svg{color:#20beb4}.swap-side .swap-lib-tabs{display:flex;gap:6px;margin:6px 0 10px}.swap-side .swap-lib-tabs .swap-lib-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 2px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease;white-space:nowrap}.swap-side .swap-lib-tabs .swap-lib-tab em{font-style:normal;font-size:10px;color:#17a39a;background:#20beb41f;border-radius:999px;padding:0 6px;line-height:15px}.swap-side .swap-lib-tabs .swap-lib-tab:hover{border-color:#20beb499;color:#17a39a}.swap-side .swap-lib-tabs .swap-lib-tab.on{border-color:#20beb4;background:#20beb41a;color:#17a39a;font-weight:600}.swap-side .swap-face-grid{flex:1;min-height:0;overflow-y:auto}.swap-side .swap-face-grid::-webkit-scrollbar{width:4px;height:4px}.swap-side .swap-face-grid::-webkit-scrollbar-track{background:transparent}.swap-side .swap-face-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.swap-side .swap-face-grid::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.swap-side .swap-face-grid{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-content:start}.swap-side .swap-face-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 3px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-family:inherit;transition:all .15s ease;min-width:0}.swap-side .swap-face-card .swap-face-avatar{flex-shrink:0}.swap-side .swap-face-card b{font-size:11px;font-weight:500;color:#1e293b;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swap-side .swap-face-card i{font-style:normal;font-size:9px;color:#64748b;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swap-side .swap-face-card:hover{border-color:#20beb480;transform:translateY(-1px);box-shadow:0 1px 3px #0000000f}.swap-side .swap-face-card.on{border-color:#20beb4;background:#20beb40d;box-shadow:inset 0 1px 4px #20beb438,inset 0 0 0 1px #20beb459}.swap-side .swap-face-card.on .swap-face-avatar{box-shadow:0 0 0 2px #fff,0 0 0 4px #20beb473}.swap-side .swap-face-card.on b{color:#17a39a;font-weight:600}.swap-side .swap-face-card.on i{color:#17a39a}.swap-side .swap-lib-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0}.swap-side .swap-lib-empty .swap-go-create{display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border:none;border-radius:999px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:12.5px;font-weight:500;font-family:inherit;cursor:pointer;box-shadow:0 2px 6px #20beb440;transition:all .2s ease;white-space:nowrap}.swap-side .swap-lib-empty .swap-go-create:hover{transform:translateY(-1px);box-shadow:0 4px 12px #20beb459}.swap-side .swap-lib-empty span{font-size:10.5px;color:#94a3b8;line-height:1.4;text-align:center}.swap-side .swap-side-note{flex-shrink:0;display:flex;align-items:center;gap:5px;padding:8px 10px;font-size:11.5px;color:#64748b;background:#f8fafc;border-radius:8px}.swap-side .swap-side-note svg{color:#20beb4;flex-shrink:0}.swap-side .swap-side-note b{font-weight:600;color:#1e293b}.swap-main{flex:0 0 540px;min-width:0;display:flex;flex-direction:column;padding:16px 18px;border-right:1px solid #e2e8f0;overflow-y:auto}.swap-main::-webkit-scrollbar{width:6px;height:6px}.swap-main::-webkit-scrollbar-track{background:transparent}.swap-main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.swap-main::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.swap-main{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}@media (max-width: 1240px){.swap-main{flex:1 1 auto}}.swap-studio{flex-shrink:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:14px}.swap-sec{display:flex;flex-direction:column;gap:12px}.swap-sec+.swap-sec{padding-top:14px;border-top:1px dashed #e2e8f0}.swap-sec .swap-sec-title{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:#1e293b}.swap-sec .swap-sec-title .swap-step-no{width:20px;height:20px;border-radius:50%;background:#d6f7f4;color:#17a39a;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.swap-sec .swap-sec-title svg{color:#20beb4}.swap-sec .swap-sec-title span.hint{font-weight:400;font-size:11px;color:#64748b;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swap-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:104px;padding:16px;background:#f8fafc;border:1.5px dashed #e2e8f0;border-radius:8px;cursor:pointer;text-align:center;transition:all .15s ease}.swap-dropzone svg{color:#20beb4}.swap-dropzone b{font-size:13px;font-weight:600;color:#1e293b}.swap-dropzone span{font-size:11px;color:#94a3b8}.swap-dropzone:hover{border-color:#20beb48c;background:#d6f7f4}.swap-dropzone.dragging{border-color:#20beb4;background:#20beb41f;box-shadow:inset 0 0 0 1px #20beb440}.swap-file-row{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.swap-file-row .swap-file-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;flex-shrink:0}.swap-file-row .swap-file-icon.voice{background:linear-gradient(135deg,#5edcd4,#17a39a)}.swap-file-row .swap-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.swap-file-row .swap-file-info b{font-size:13px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swap-file-row .swap-file-info i{font-style:normal;font-size:11px;color:#64748b}.swap-file-row .swap-file-repick{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#64748b;font-size:11.5px;cursor:pointer;font-family:inherit;flex-shrink:0}.swap-file-row .swap-file-repick:hover{color:#ef4444}.swap-action-center{display:flex;flex-direction:column;align-items:center;gap:10px;padding:2px 0}.swap-action-center.swap-action-col{align-items:stretch}.swap-btn-group{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.swap-btn-primary,.swap-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 20px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .2s ease;white-space:nowrap}.swap-btn-primary{background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;border:none;box-shadow:0 2px 6px #20beb440}.swap-btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #20beb459}.swap-btn-primary:disabled{opacity:.5;cursor:not-allowed}.swap-btn-secondary{background:#fff;color:#17a39a;border:1px solid rgba(32,190,180,.5)}.swap-btn-secondary:hover:not(:disabled){background:#d6f7f4;border-color:#20beb4}.swap-btn-secondary:disabled{opacity:.45;cursor:not-allowed}.swap-btn-secondary.ready{border-color:#20beb4;background:#20beb414;animation:swap-ready-pulse 1.6s ease-in-out infinite}@keyframes swap-ready-pulse{0%,to{box-shadow:0 0 #20beb440}50%{box-shadow:0 0 0 4px #20beb40f}}.swap-action-hint{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:11.5px;color:#64748b}.swap-action-hint svg{color:#20beb4}.swap-action-hint.ok{color:#17a39a;background:#20beb414;border:1px solid rgba(32,190,180,.25);border-radius:999px;padding:4px 12px}.swap-sep-bar{display:flex;align-items:center;justify-content:flex-start;gap:10px}.swap-track-list{display:flex;flex-direction:column;gap:8px;min-height:84px}.swap-track{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;transition:all .15s ease}.swap-track.slot{border-style:dashed;border-color:#e2e8f0;background:transparent}.swap-track.slot .swap-track-icon{opacity:.45;filter:grayscale(.5)}.swap-track.slot .swap-track-info b{color:#64748b}.swap-track.slot .swap-track-info i{color:#94a3b8}.swap-track.slot .swap-track-tip{margin-left:auto;font-size:10.5px;color:#94a3b8;background:#f1f5f9;border-radius:999px;padding:2px 10px;flex-shrink:0}.swap-track .swap-track-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5edcd4,#17a39a);color:#fff;flex-shrink:0}.swap-track .swap-track-icon.vocal{background:linear-gradient(135deg,#20beb4,#17a39a)}.swap-track .swap-track-info{width:150px;flex-shrink:0;display:flex;flex-direction:column;gap:2px;min-width:0}.swap-track .swap-track-info b{font-size:12.5px;color:#1e293b}.swap-track .swap-track-info i{font-style:normal;font-size:10.5px;color:#64748b}.swap-track .swap-wave{flex:1;min-width:60px;display:flex;align-items:center;gap:2px;height:26px;overflow:hidden}.swap-track .swap-wave i{flex:1;min-width:1px;background:#20beb459;border-radius:1px;transition:background .15s ease}.swap-track .swap-wave[data-play=true] i{background:#20beb4}.swap-track .swap-track-play{width:28px;height:28px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;background:#fff;color:#17a39a;cursor:pointer;box-shadow:0 1px 3px #0000000f;transition:all .15s ease;flex-shrink:0}.swap-track .swap-track-play:hover{background:#20beb4;color:#fff}.swap-right{flex:1;min-width:0;display:flex;flex-direction:column;padding:16px 18px;overflow:hidden}.swap-results{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding-right:3px}.swap-results::-webkit-scrollbar{width:6px;height:6px}.swap-results::-webkit-scrollbar-track{background:transparent}.swap-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.swap-results::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.swap-results{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.swap-results .swap-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;flex-shrink:0}.swap-results .swap-results-head>span{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1e293b}.swap-results .swap-results-head>span em{font-style:normal;font-size:11px;font-weight:500;color:#17a39a;background:#20beb41a;border-radius:999px;padding:1px 8px}.swap-results .swap-results-head button{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#64748b;font-size:12px;cursor:pointer;font-family:inherit}.swap-results .swap-results-head button:hover{color:#ef4444}.swap-results .swap-empty{flex:1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff;border:1.5px dashed #e2e8f0;border-radius:12px;padding:24px}.swap-results .swap-empty svg{color:#e2e8f0}.swap-results .swap-empty p{font-size:13.5px;font-weight:600;color:#1e293b}.swap-results .swap-empty span{font-size:11.5px;color:#94a3b8;line-height:1.7;text-align:center}.swap-results .swap-result-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:10px;align-content:start}.swap-result{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0;transition:all .15s ease}.swap-result:hover{box-shadow:0 1px 3px #0000000f}.swap-result.playing{border-color:#20beb499;box-shadow:0 0 0 2px #20beb41f}.swap-result .swap-result-top{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.swap-result .swap-kind-tag{font-size:10px;font-weight:500;padding:1px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;white-space:nowrap;flex-shrink:0}.swap-result .swap-kind-tag.song-dry{background:#20beb41f;color:#17a39a}.swap-result .swap-kind-tag.song-full{background:#d6f7f4;color:#17a39a;border:1px solid rgba(32,190,180,.3)}.swap-result .swap-kind-tag.voice{background:#ec48991f;color:#db2777}.swap-result .swap-result-time{display:inline-flex;align-items:center;gap:3px;font-size:9.5px;color:#17a39a;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:0;flex-shrink:1}.swap-result .swap-result-time svg{flex-shrink:0;opacity:.75}.swap-result .swap-result-title{display:block;font-size:12.5px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.swap-result .swap-result-meta{display:flex;flex-wrap:wrap;gap:4px;margin:0;font-size:9.5px;color:#64748b;line-height:1.55;min-width:0}.swap-result .swap-result-meta em{font-style:normal;background:#f1f5f9;border-radius:999px;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.swap-result .swap-result-foot{display:flex;align-items:center;gap:6px;margin-top:2px;padding-top:6px;border-top:1px dashed #e2e8f0;min-width:0}.swap-result .swap-result-wave{flex:1;min-width:0;display:flex;align-items:flex-end;gap:1.5px;height:24px;overflow:hidden}.swap-result .swap-result-wave i{flex:1;min-width:1px;background:#e2e8f0;border-radius:1px;transition:background .15s ease}.swap-result .swap-result-wave i:nth-child(1){height:10px}.swap-result .swap-result-wave i:nth-child(2){height:12px}.swap-result .swap-result-wave i:nth-child(3){height:14px}.swap-result .swap-result-wave i:nth-child(4){height:16px}.swap-result .swap-result-wave i:nth-child(5){height:18px}.swap-result .swap-result-wave i:nth-child(6){height:20px}.swap-result .swap-result-wave i:nth-child(7){height:22px}.swap-result .swap-result-wave i:nth-child(8){height:24px}.swap-result .swap-result-wave i:nth-child(9){height:26px}.swap-result .swap-result-wave i:nth-child(10){height:8px}.swap-result .swap-result-wave i:nth-child(11){height:10px}.swap-result .swap-result-wave i:nth-child(12){height:12px}.swap-result .swap-result-wave i:nth-child(13){height:14px}.swap-result .swap-result-wave i:nth-child(14){height:16px}.swap-result .swap-result-wave i:nth-child(15){height:18px}.swap-result .swap-result-wave i:nth-child(16){height:20px}.swap-result .swap-result-wave i:nth-child(17){height:22px}.swap-result .swap-result-wave i:nth-child(18){height:24px}.swap-result .swap-result-wave i:nth-child(19){height:26px}.swap-result .swap-result-wave i:nth-child(20){height:8px}.swap-result .swap-result-wave i:nth-child(21){height:10px}.swap-result .swap-result-wave i:nth-child(22){height:12px}.swap-result .swap-result-wave i:nth-child(23){height:14px}.swap-result .swap-result-wave i:nth-child(24){height:16px}.swap-result .swap-result-wave[data-play=true] i{background:#20beb4}.swap-result .swap-result-dl,.swap-result .swap-result-play{width:24px;height:24px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex-shrink:0;transition:all .15s ease}.swap-result .swap-result-dl:hover,.swap-result .swap-result-play:hover{color:#17a39a;border-color:#20beb480;background:#d6f7f4}.swap-result .swap-result-play{border:none;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;box-shadow:0 2px 6px #20beb440}.swap-result .swap-result-play:hover{color:#fff;border-color:transparent;background:linear-gradient(135deg,#17a39a,#17a39a)}.swap-toast{position:absolute;top:70px;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;gap:6px;background:#334155;color:#fff;font-size:12px;padding:7px 16px;border-radius:999px;box-shadow:0 4px 14px #0000002e;z-index:50;animation:swap-toast-in .25s ease}.swap-toast svg{color:#20beb4}@keyframes swap-toast-in{0%{opacity:0;transform:translate(-50%) translateY(-8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@media (max-width: 1400px){.swap-main{flex:1 1 auto}}@media (max-width: 1100px){.swap-body{flex-wrap:wrap;overflow-y:auto}.swap-side{flex:1 1 230px;max-width:300px}.swap-main{flex:1 1 420px;min-width:0}.swap-right{display:flex;flex:1 1 100%;min-width:0;max-height:46vh;border-top:1px solid #e2e8f0;border-left:none;padding:12px 16px;overflow:hidden}}@media (max-width: 900px){.swap-side{width:240px}}@media (max-width: 768px){.swap-header p,.swap-badge{display:none}.swap-body{flex-direction:column;overflow-y:auto}.swap-side{width:auto;border-right:none;border-bottom:1px solid #e2e8f0;max-height:300px}.swap-main{border-right:none;overflow:visible;padding:12px}.swap-right{display:flex;overflow:visible;padding:12px}}.swap-face-play{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border-radius:50%;background:#fff;border:1px solid rgba(32,190,180,.5);color:#17a39a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px #00000024;opacity:0;transform:scale(.6);transition:all .15s ease;z-index:2;padding:0}.swap-face-card:hover .swap-face-play{opacity:1;transform:scale(1)}.swap-face-play.on{opacity:1;transform:scale(1);background:#20beb4;border-color:#20beb4;color:#fff;animation:swap-play-pulse 1.2s ease-in-out infinite}@keyframes swap-play-pulse{0%,to{box-shadow:0 0 #20beb459}50%{box-shadow:0 0 0 5px #20beb400}}.swap-side .swap-face-card .swap-face-avatar{position:relative}.swap-side .swap-face-card .swap-face-play{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#00000061;color:#fff;border:none;box-shadow:none;opacity:0;transform:scale(.9);transition:all .15s ease;pointer-events:none;z-index:2;padding:0;cursor:pointer}.swap-face-card:hover .swap-face-play{opacity:1;transform:scale(1);pointer-events:auto}.swap-side .swap-face-card .swap-face-play.on{opacity:1;transform:scale(1);background:#0000008c;pointer-events:auto;animation:none}@media (max-width: 768px){.swap-side{order:2;max-height:38vh}.swap-main{order:1;flex:none}.swap-right{order:3;flex:none;max-height:40vh}.swap-face-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.swap-studio{padding:12px}}.app-content:has(.tpl-page){padding:0;max-width:none;margin:0}.tpl-page{padding:20px 28px 110px}.tpl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.tpl-head h2{font-size:20px;color:#1e293b}.tpl-head p{margin-top:4px;font-size:13px;color:#64748b}.tpl-count{flex-shrink:0;font-size:12px;color:#17a39a;background:#d6f7f4;border-radius:999px;padding:5px 14px}.tpl-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tpl-cats .tpl-cat{padding:6px 16px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:13px;color:#64748b;cursor:pointer;transition:all .15s ease}.tpl-cats .tpl-cat:hover{border-color:#20beb4;color:#20beb4}.tpl-cats .tpl-cat.active{background:#20beb4;border-color:#20beb4;color:#fff}.tpl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(182px,1fr));gap:14px}.tpl-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .2s ease}.tpl-card:hover{box-shadow:0 2px 8px #00000014;transform:translateY(-2px)}.tpl-card.selected{border-color:#20beb4;box-shadow:0 0 0 2px #20beb433}.tpl-card.selected .tpl-cover{box-shadow:inset 0 0 0 3px #20beb48c}.tpl-cover{position:relative;height:96px;display:flex;align-items:center;justify-content:center;overflow:hidden}.tpl-cover[data-grad="0"]{background:linear-gradient(135deg,#20beb4,#0e7f78)}.tpl-cover[data-grad="1"]{background:linear-gradient(135deg,#6366f1,#4338ca)}.tpl-cover[data-grad="2"]{background:linear-gradient(135deg,#f59e0b,#b45309)}.tpl-cover[data-grad="3"]{background:linear-gradient(135deg,#ef4444,#b91c1c)}.tpl-cover[data-grad="4"]{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.tpl-cover[data-grad="5"]{background:linear-gradient(135deg,#0ea5e9,#0369a1)}.tpl-cover-art{display:flex;flex-direction:column;align-items:center;gap:3px;color:#ffffffe6}.tpl-cover-art svg{opacity:.85}.tpl-cover-art span{font-size:10px;font-weight:600;background:#ffffff2e;padding:1px 7px;border-radius:999px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tpl-dur{position:absolute;top:5px;left:5px;display:inline-flex;align-items:center;gap:3px;font-size:9.5px;color:#fff;background:#0f172a80;padding:1px 6px;border-radius:999px}.tpl-platform{position:absolute;top:5px;right:5px;font-size:9.5px;color:#fff;background:#0f172a80;padding:1px 6px;border-radius:999px}.tpl-cover-hover{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:600;color:#fff;background:#0f172a73;opacity:0;transition:opacity .15s ease}.tpl-card.selected .tpl-cover-hover{opacity:1;background:#20beb4bf}.tpl-card:hover .tpl-cover-hover{opacity:1}.tpl-body{padding:8px 9px 10px}.tpl-body h3{font-size:12.5px;color:#1e293b;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpl-body p{font-size:11px;line-height:1.55;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}.tpl-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}.tpl-tags em{font-style:normal;font-size:9.5px;color:#17a39a;background:#d6f7f4;border-radius:4px;padding:1px 6px}.tpl-meta{display:flex;gap:8px;font-size:10px;color:#94a3b8}.tpl-meta span{display:inline-flex;align-items:center;gap:4px}.tpl-action-bar{position:fixed;left:50%;bottom:18px;transform:translate(-50%);z-index:60;width:min(880px,100vw - 40px);background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 34px #0f172a29;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;transition:all .2s ease}.tpl-action-bar.active{border-color:#20beb499;box-shadow:0 10px 34px #20beb429}.tpl-action-info{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.tpl-action-info .tpl-action-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.tpl-action-info b{display:block;font-size:14px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpl-action-info p{font-size:12px;color:#64748b;margin-top:2px}.tpl-action-hint{display:flex;align-items:center;gap:8px;width:100%;justify-content:center;font-size:13px;color:#64748b}.tpl-action-hint svg{color:#20beb4}.tpl-action-btns{display:flex;gap:10px;flex-shrink:0}.tpl-btn-ghost{padding:9px 16px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:13px;cursor:pointer;transition:all .15s ease}.tpl-btn-ghost:hover{border-color:#64748b}.tpl-btn-primary{display:inline-flex;align-items:center;gap:6px;padding:9px 20px;border:none;border-radius:8px;background:linear-gradient(135deg,#20beb4,#17a39a);color:#fff;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 3px 10px #20beb44d;transition:all .15s ease}.tpl-btn-primary:hover{opacity:.92;transform:translateY(-1px)}.spin{animation:tpl-spin 1s linear infinite}@keyframes tpl-spin{to{transform:rotate(360deg)}}@media (max-width: 576px){.tpl-head{flex-direction:column;align-items:flex-start}.tpl-grid{grid-template-columns:1fr}.tpl-action-bar{flex-direction:column;align-items:stretch}.tpl-action-btns{justify-content:flex-end}}@media (max-width: 768px){.app-content:has(.tpl-page){padding:0}.tpl-page{padding:16px 16px 100px}.tpl-head{flex-wrap:wrap;gap:10px}.tpl-head p{display:none}.tpl-cats{margin-bottom:14px}.tpl-cats .tpl-cat{padding:5px 13px;font-size:12.5px}}@media (max-width: 576px){.tpl-page{padding:14px 12px 96px}.tpl-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.tpl-cover{height:82px}.tpl-count{font-size:11px;padding:4px 10px}}.projects-page{max-width:1400px;margin:0 auto;padding:20px 24px 32px}.projects-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.projects-head h2{font-size:20px;color:#1e293b}.projects-head p{margin-top:4px;font-size:13px;color:#64748b}.projects-stats{display:flex;gap:8px;flex-shrink:0}.projects-stats span{font-size:12px;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:5px 12px}.projects-tabs{display:flex;gap:8px;margin-bottom:16px}.projects-tabs .tab-btn{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border-radius:999px;font-size:13px;font-weight:500;color:#64748b;background:#fff;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease}.projects-tabs .tab-btn:hover{border-color:#20beb4;color:#20beb4}.projects-tabs .tab-btn.active{background:#20beb4;border-color:#20beb4;color:#fff}.projects-tabs .tab-btn em{font-style:normal;font-size:11px;background:#20beb41f;color:#20beb4;border-radius:10px;padding:0 7px;line-height:16px}.projects-tabs .tab-btn.active em{background:#ffffff40;color:#fff}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.project-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease}.project-card:hover{box-shadow:0 2px 8px #00000014;transform:translateY(-2px)}.project-cover{position:relative;height:150px;background:linear-gradient(135deg,#20beb429,#20beb40a);display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}.project-cover .project-cover-emoji{font-size:52px;filter:drop-shadow(0 4px 10px rgba(15,23,42,.12));transition:transform .2s ease}.project-cover:hover .project-cover-emoji{transform:scale(1.08)}.project-cover .project-cover-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:#fff;background:#0f172a73;opacity:0;transition:opacity .15s ease}.project-cover:hover .project-cover-mask{opacity:1}.project-cover .project-status{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#fff;border-radius:999px;padding:4px 10px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.project-cover .project-status.draft{background:#20beb4d9}.project-cover .project-status.done{background:#475569bf}.project-body{padding:12px 14px 10px;display:flex;flex-direction:column;gap:8px;flex:1}.project-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.project-title-row h3{font-size:14.5px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.project-source{flex-shrink:0;font-size:11px;color:#17a39a;background:#d6f7f4;border-radius:4px;padding:2px 8px}.project-topic{font-size:12.5px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-progress{display:flex;align-items:center;gap:10px}.project-progress .progress-bar{flex:1;height:5px;border-radius:3px;background:#f1f5f9;overflow:hidden}.project-progress .progress-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#20beb4,#5edcd4);transition:width .4s ease}.project-progress span{flex-shrink:0;font-size:11.5px;color:#64748b}.project-meta{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px dashed #e2e8f0}.project-meta span{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#94a3b8}.project-meta .project-del{display:inline-flex;padding:4px;border:none;background:none;color:#94a3b8;cursor:pointer;border-radius:6px;transition:all .15s ease}.project-meta .project-del:hover{color:#ef4444;background:#ef444414}.projects-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:70px 20px;background:#fff;border:1px dashed #e2e8f0;border-radius:12px;text-align:center}.projects-empty svg{color:#20beb4;opacity:.7}.projects-empty p{font-size:16px;font-weight:600;color:#1e293b}.projects-empty span{font-size:13px;color:#64748b}.projects-empty-actions{display:flex;justify-content:center;gap:10px;margin-top:10px}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 20px;border-radius:8px;font-size:13.5px;font-weight:600;color:#fff;background:linear-gradient(135deg,#20beb4,#17a39a);border:none;cursor:pointer;box-shadow:0 2px 8px #20beb447;transition:all .15s ease}.btn-primary:hover{opacity:.92;transform:translateY(-1px)}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 18px;border-radius:8px;font-size:13.5px;font-weight:600;color:#17a39a;background:#d6f7f4;border:1px solid rgba(32,190,180,.35);cursor:pointer;transition:all .15s ease}.btn-ghost:hover{background:#d6f7f4;border-color:#20beb4}.btn-danger{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border-radius:8px;font-size:13px;font-weight:600;color:#fff;background:#ef4444;border:none;cursor:pointer;transition:all .15s ease}.btn-danger:hover{opacity:.88}.project-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:600;background:#0f172a73;display:flex;align-items:center;justify-content:center}.project-confirm{width:340px;background:#fff;border-radius:12px;padding:22px 24px;box-shadow:0 4px 12px #0000001a}.project-confirm h4{font-size:16px;color:#1e293b;margin-bottom:8px}.project-confirm p{font-size:13px;color:#64748b;margin-bottom:18px}.project-confirm-actions{display:flex;justify-content:flex-end;gap:10px}@media (max-width: 576px){.projects-grid{grid-template-columns:1fr}.projects-head{flex-direction:column;align-items:flex-start}}.proj-limit{font-variant-numeric:tabular-nums}.proj-limit.full{color:#e5484d;font-weight:700}.proj-nav{display:inline-flex;gap:4px;padding:4px;background:#f1f5f9;border-radius:999px;margin-bottom:16px}.proj-nav .proj-nav-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border:none;background:transparent;border-radius:999px;font-size:13.5px;font-weight:500;color:#64748b;cursor:pointer;font-family:inherit;transition:all .15s ease}.proj-nav .proj-nav-btn:hover{color:#20beb4}.proj-nav .proj-nav-btn.on{background:#fff;color:#20beb4;font-weight:600;box-shadow:0 1px 3px #0000000f}.lib-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.lib-bar .lib-types{display:flex;gap:6px;flex-wrap:wrap}.lib-bar .lib-types .lib-type-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 14px;border:1px solid #e2e8f0;background:#fff;border-radius:999px;font-size:12.5px;font-weight:500;color:#475569;cursor:pointer;font-family:inherit;transition:all .15s ease}.lib-bar .lib-types .lib-type-btn em{font-style:normal;font-size:10.5px;background:#f1f5f9;color:#64748b;padding:0 6px;border-radius:999px}.lib-bar .lib-types .lib-type-btn:hover{border-color:#20beb480;color:#20beb4}.lib-bar .lib-types .lib-type-btn.on{background:#d6f7f4;border-color:#20beb4;color:#17a39a;font-weight:600}.lib-bar .lib-types .lib-type-btn.on em{background:#20beb424;color:#17a39a}.lib-bar .lib-actions{display:inline-flex;align-items:center;gap:8px}.lib-bar .lib-actions .lib-upload{position:relative;cursor:pointer}.lib-bar .lib-actions .lib-upload input{display:none}.lib-hint{font-size:12px;color:#94a3b8;margin:0 0 14px;line-height:1.7}.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.lib-grid .lib-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;transition:all .2s ease}.lib-grid .lib-card:hover{box-shadow:0 1px 3px #0000000f;border-color:#20beb466;transform:translateY(-1px)}.lib-grid .lib-card:hover .lib-del{opacity:1}.lib-grid .lib-card .lib-face{position:relative}.lib-grid .lib-card .lib-face .lib-type-tag{position:absolute;right:6px;bottom:6px;font-size:10px;font-weight:600;color:#fff;padding:1px 8px;border-radius:999px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.lib-grid .lib-card .lib-face .lib-type-tag.character{background:#20beb4d9}.lib-grid .lib-card .lib-face .lib-type-tag.background{background:#8b5cf6d9}.lib-grid .lib-card .lib-face .lib-type-tag.prop{background:#f59e0be6}.lib-grid .lib-card .lib-info{min-width:0}.lib-grid .lib-card .lib-info b{display:block;font-size:13px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-grid .lib-card .lib-info i{display:block;font-style:normal;font-size:11px;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-grid .lib-card .lib-foot{display:flex;align-items:center;justify-content:space-between;padding-top:6px;border-top:1px dashed #e2e8f0}.lib-grid .lib-card .lib-foot .lib-kind{font-size:10.5px;color:#94a3b8}.lib-grid .lib-card .lib-foot .lib-del{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#e5484d1a;color:#e5484d;cursor:pointer;opacity:0;transition:opacity .15s ease}.lib-grid .lib-card .lib-foot .lib-del:hover{background:#e5484d2e}.btn-sm{padding:6px 12px;font-size:12.5px}@media (max-width: 768px){.lib-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.lib-bar{flex-direction:column;align-items:stretch}.lib-bar .lib-actions{justify-content:flex-end}}.mp-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:600;background:#0f172a80;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:18px}.mp-design-modal{width:1120px;max-width:100%;height:92vh;display:flex;flex-direction:column;background:#f8fafc;border-radius:12px;overflow:hidden;box-shadow:0 24px 60px #0f172a52}.mp-design-modal .mp-design-head{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:12px 18px;background:#fff;border-bottom:1px solid #e2e8f0}.mp-design-modal .mp-design-head h3{font-size:15px;color:#1e293b;white-space:nowrap}.mp-design-modal .mp-design-head span{flex:1;font-size:12px;color:#64748b}.mp-design-modal .mp-design-x{width:28px;height:28px;border:none;background:#f1f5f9;border-radius:50%;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;flex-shrink:0}.mp-design-modal .mp-design-x:hover{background:#e5484d1f;color:#e5484d}.mp-design-modal .mp-design-body{flex:1;min-height:0;overflow-y:auto;padding:18px 20px}.mp-design-modal .mp-design-body::-webkit-scrollbar{width:6px;height:6px}.mp-design-modal .mp-design-body::-webkit-scrollbar-track{background:transparent}.mp-design-modal .mp-design-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.mp-design-modal .mp-design-body::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.mp-design-modal .mp-design-body{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.mp-design-modal .mp-design-body .char-design-page{padding:0;max-width:none;height:auto}.mp-design-modal .mp-design-body .cd-head{display:none}.buy-token-page .intro{text-align:center;margin-bottom:48px}.buy-token-page .intro h2{font-size:20px;font-weight:700;margin-bottom:4px}.buy-token-page .intro p{color:#64748b;font-size:12px}.buy-token-page .amount-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:24px}@media (max-width: 576px){.buy-token-page .amount-grid{grid-template-columns:1fr 1fr}}.amount-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.amount-card:hover{box-shadow:0 2px 8px #00000014}.amount-card{text-align:center;padding:24px;cursor:pointer;transition:all .15s ease;border:2px solid transparent}.amount-card:hover{border-color:#d6f7f4}.amount-card.selected{border-color:#20beb4;background:#d6f7f4}.amount-card .token-value{font-size:24px;font-weight:700;color:#1e293b;line-height:1.2}.amount-card .token-label{font-size:12px;color:#64748b;margin:4px 0}.amount-card .price{font-size:14px;color:#20beb4;font-weight:600}.amount-card .badge-rec{margin-top:8px;font-weight:700;font-size:12px;color:#ff4d4f}.buy-actions{text-align:center;margin-top:24px}.buy-actions .btn-buy{padding:12px 48px;background:#20beb4;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease}.buy-actions .btn-buy:hover{background:#17a39a}.buy-actions .btn-buy:disabled{opacity:.5;cursor:not-allowed}.payment-methods{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.payment-method-card{display:flex;align-items:center;gap:8px;padding:8px 16px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .15s ease}.payment-method-card:hover:not(.disabled){border-color:#d6f7f4}.payment-method-card.selected{border-color:#20beb4;background:#f0faf9}.payment-method-card.disabled{opacity:.45;cursor:not-allowed;background:#f8f8f8}.payment-method-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.payment-method-icon.wechat{background:#e6f7e9;color:#07c160}.payment-method-icon.alipay{background:#e6f0ff;color:#1677ff}.payment-method-info{flex:1;display:flex;flex-direction:column;gap:2px}.payment-method-info .payment-method-name{font-size:14px;font-weight:600}.payment-method-info .payment-method-desc{font-size:11px;color:#64748b}.payment-method-check{flex-shrink:0}.payment-method-tag{flex-shrink:0;font-size:11px;color:#94a3b8;padding:2px 8px;border:1px solid #e2e8f0;border-radius:4px}.payment-confirm-row{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid #e2e8f0}.payment-confirm-row .payment-total{font-size:12px;color:#64748b}.payment-confirm-row .payment-total strong{color:#1e293b;font-size:14px}.payment-confirm-row .btn-confirm-payment{padding:10px 32px;background:#20beb4;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease}.payment-confirm-row .btn-confirm-payment:hover{background:#17a39a}.payment-confirm-row .btn-confirm-payment:disabled{opacity:.5;cursor:not-allowed}.pay-dialog-close{background:none;border:none;font-size:18px;color:#64748b;cursor:pointer;padding:2px 6px;border-radius:4px;line-height:1}.pay-dialog-close:hover{background:#f0f0f0;color:#1e293b}.pay-dialog-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.pay-dialog{width:360px;max-width:90vw;background:#fff;border-radius:12px;padding:24px;box-shadow:0 8px 30px #00000026}.pay-dialog .pay-dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:14px;font-weight:600}.pay-dialog .pay-dialog-header .pay-countdown{font-size:12px;color:#ff4d4f;font-weight:400}.pay-dialog .pay-qr-area{text-align:center;padding:8px 0}.pay-dialog .pay-qr-area .pay-qr-box{position:relative;display:inline-block;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.pay-dialog .pay-qr-area .pay-qr-mask{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe0;border-radius:8px;display:flex;align-items:center;justify-content:center;z-index:2}.pay-dialog .pay-qr-area .pay-qr-mask .pay-qr-mask-title{font-size:18px;font-weight:700;color:#ff4d4f}.pay-dialog .pay-qr-area .pay-qr-loading{width:200px;height:200px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:12px}.pay-dialog .pay-qr-area .pay-qr-tip{margin-top:16px;font-size:12px;color:#64748b}.pay-dialog .pay-qr-area .pay-qr-amount{margin-top:4px;font-size:16px;font-weight:700;color:#1e293b}.pay-dialog .pay-qr-area .pay-qr-desc{margin-top:8px;font-size:12px;color:#94a3b8}.pay-dialog .pay-qr-area .pay-h5-hint{text-align:center;padding:24px 0}.pay-dialog .pay-qr-area .pay-h5-hint p{margin:4px 0;font-size:14px;color:#64748b}.pay-dialog .pay-qr-area .pay-h5-hint .pay-qr-desc{font-size:12px;color:#94a3b8}.pay-dialog .pay-qr-area .pay-status-line{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;font-size:12px;color:#64748b}.pay-dialog .pay-qr-area .pay-status-line .pay-status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.pay-dialog .pay-qr-area .pay-status-line .pay-status-dot.pending{background:#e6a23c;animation:pulse 1.2s infinite}.pay-dialog .pay-mock-tip{text-align:center;padding:24px 0}.pay-dialog .pay-mock-tip p{margin-bottom:16px;color:#64748b;font-size:12px}.pay-dialog .btn-pay-close{display:block;margin:16px auto 0;padding:8px 32px;background:#20beb4;color:#fff;border:none;border-radius:8px;font-size:12px;cursor:pointer;transition:background .15s ease}.pay-dialog .btn-pay-close:hover{background:#17a39a}.pay-dialog .btn-pay-secondary{display:block;margin:16px auto 0;padding:8px 32px;background:#fff;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;cursor:pointer;transition:background .15s ease}.pay-dialog .btn-pay-secondary:hover{background:#f5f5f5}.pay-dialog .btn-pay-row{display:flex;justify-content:center;gap:8px}.pay-dialog .btn-pay-row .btn-pay-close,.pay-dialog .btn-pay-row .btn-pay-secondary{margin-top:16px}.pay-dialog .pay-result{text-align:center;padding:24px 0 16px}.pay-dialog .pay-result .pay-result-icon{width:56px;height:56px;margin:0 auto 16px;border-radius:50%;background:#52c41a;color:#fff;font-size:28px;line-height:56px;text-align:center}.pay-dialog .pay-result .pay-result-icon.pay-result-timeout{background:#ff4d4f}.pay-dialog .pay-result .pay-result-title{font-size:16px;font-weight:700;margin-bottom:4px}.pay-dialog .pay-result .pay-result-desc{color:#64748b;font-size:12px;margin-bottom:16px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.account-page .balance-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.account-page .balance-card:hover{box-shadow:0 2px 8px #00000014}.account-page .balance-card{text-align:center;padding:48px;margin-bottom:24px}.account-page .balance-card .balance-amount{font-size:48px;font-weight:700;color:#20beb4;line-height:1;margin-bottom:4px}.account-page .balance-card .balance-label{font-size:12px;color:#64748b;margin-bottom:24px}.account-page .balance-card .balance-actions{display:flex;gap:16px;justify-content:center}.account-page .btn-primary{padding:8px 24px;background:#20beb4;color:#fff;border-radius:8px;font-weight:600;cursor:pointer;transition:background .15s ease}.account-page .btn-primary:hover{background:#17a39a}.account-page .btn-outline{padding:8px 24px;border:1px solid #e2e8f0;border-radius:8px;color:#475569;cursor:pointer;transition:all .15s ease}.account-page .btn-outline:hover{border-color:#20beb4;color:#20beb4}.account-page .stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}@media (max-width: 576px){.account-page .stats-row{grid-template-columns:1fr}}.account-page .stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.account-page .stat-card:hover{box-shadow:0 2px 8px #00000014}.account-page .stat-card{text-align:center;padding:24px}.account-page .stat-card .stat-label{font-size:12px;font-weight:600;color:#475569;margin-bottom:6px}.account-page .stat-card .stat-value{font-size:28px;font-weight:700;line-height:1.1}.account-page .stat-card .stat-change{font-size:11px;color:#64748b;margin-top:6px}.account-page .stat-card .stat-purple{color:#8b5cf6}.account-page .stat-card .stat-orange{color:#f59e0b}.account-page .stat-card .stat-blue{color:#3b82f6}.account-page .text-gold{color:#f59e0b}.account-page .text-teal{color:#20beb4}.account-page .usage-bar{margin-top:16px}.account-page .usage-bar .usage-header{display:flex;justify-content:space-between;font-size:12px;color:#64748b;margin-bottom:4px}.account-page .usage-bar .bar-track{height:8px;background:#f1f5f9;border-radius:999px;overflow:hidden}.account-page .usage-bar .bar-track .bar-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#20beb4);border-radius:999px;transition:width .4s ease}.transactions-page .tx-tabs{display:flex;gap:8px;margin-bottom:24px}.transactions-page .tx-table{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.transactions-page .tx-table:hover{box-shadow:0 2px 8px #00000014}.transactions-page .tx-table{overflow-x:auto}.transactions-page .tx-table::-webkit-scrollbar{width:6px;height:6px}.transactions-page .tx-table::-webkit-scrollbar-track{background:transparent}.transactions-page .tx-table::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.transactions-page .tx-table::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.transactions-page .tx-table{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.transactions-page table{width:100%;border-collapse:collapse}.transactions-page table th{text-align:left;padding:8px 16px;font-size:12px;color:#64748b;font-weight:500;border-bottom:1px solid #e2e8f0;white-space:nowrap}.transactions-page table td{padding:8px 16px;font-size:12px;color:#475569;border-bottom:1px solid #f1f5f9;white-space:nowrap}.transactions-page table tr:last-child td{border-bottom:none}.transactions-page table tr:hover td{background:#f8fafc}.transactions-page table .status-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:500}.transactions-page table .status-badge.success{background:#d1fae5;color:#059669}.transactions-page table .status-badge.pending{background:#fef3c7;color:#d97706}.transactions-page table .status-badge.failed{background:#fee2e2;color:#dc2626}.transactions-page .tx-cards{display:flex;flex-direction:column;gap:8px}.transactions-page .tx-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.transactions-page .tx-card:hover{box-shadow:0 2px 8px #00000014}.transactions-page .tx-card{padding:16px}.transactions-page .tx-card .tx-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.transactions-page .tx-card .tx-card-top .tx-card-name{flex:1;min-width:0;font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transactions-page .tx-card .tx-card-top .status-badge{flex-shrink:0;display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:500}.transactions-page .tx-card .tx-card-top .status-badge.success{background:#d1fae5;color:#059669}.transactions-page .tx-card .tx-card-top .status-badge.pending{background:#fef3c7;color:#d97706}.transactions-page .tx-card .tx-card-top .status-badge.failed{background:#fee2e2;color:#dc2626}.transactions-page .tx-card .tx-card-mid{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:4px}.transactions-page .tx-card .tx-card-mid .tx-card-amount{font-size:16px;font-weight:700;color:#1e293b}.transactions-page .tx-card .tx-card-mid .tx-card-token{font-size:14px;font-weight:600;color:#10b981}.transactions-page .tx-card .tx-card-note{font-size:12px;color:#475569;line-height:1.5;word-break:break-all;margin-bottom:4px}.transactions-page .tx-card .tx-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.transactions-page .tx-card .tx-card-bottom .tx-card-balance,.transactions-page .tx-card .tx-card-bottom .tx-card-time,.transactions-page .tx-card .tx-card-time{font-size:11px;color:#64748b}.transactions-page .tx-card .tx-card-sign{font-size:16px;font-weight:700}.transactions-page .tx-cards-empty{padding:48px 0;text-align:center;color:#64748b;font-size:12px}.invite-page .stat-card .stat-label{font-size:12px;color:#64748b;margin-bottom:4px}.invite-page .stat-card .stat-value{font-size:20px;font-weight:700;color:#1e293b}.invite-page .stat-card .stat-change{font-size:12px;color:#64748b;margin-top:4px}.invite-page .invite-summary{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.invite-page .invite-summary:hover{box-shadow:0 2px 8px #00000014}.invite-page .invite-summary{text-align:center;padding:48px;margin-bottom:24px}.invite-page .invite-summary .invite-link-box{display:flex;gap:8px;max-width:480px;margin:0 auto}.invite-page .invite-summary .invite-link-box input{flex:1;padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.invite-page .invite-summary .invite-link-box input:focus{border-color:#20beb4}.invite-page .invite-summary .invite-link-box .copy-btn{padding:10px 20px;background:#20beb4;color:#fff;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s ease}.invite-page .invite-summary .invite-link-box .copy-btn:hover{background:#17a39a}.invite-page .invite-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}@media (max-width: 992px){.invite-page .invite-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.invite-page .invite-stats{grid-template-columns:1fr}}.invite-page .stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.invite-page .stat-card:hover{box-shadow:0 2px 8px #00000014}.invite-page .stat-card{text-align:center;padding:24px}.invite-page .stat-card .stat-label{font-size:14px;font-weight:600;color:#475569;margin-bottom:8px}.invite-page .stat-card .stat-value{font-size:20px;font-weight:700;color:#1e293b;line-height:1.1}.invite-page .earnings-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.invite-page .earnings-table-wrap:hover{box-shadow:0 2px 8px #00000014}.invite-page .earnings-table-wrap{padding:0;overflow-x:auto}.invite-page .earnings-table-wrap::-webkit-scrollbar{width:6px;height:6px}.invite-page .earnings-table-wrap::-webkit-scrollbar-track{background:transparent}.invite-page .earnings-table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.invite-page .earnings-table-wrap::-webkit-scrollbar-thumb:hover{background:#b1c0d2}.invite-page .earnings-table-wrap{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.invite-page .earnings-table{width:100%;border-collapse:collapse}.invite-page .earnings-table thead th{padding:16px 24px;font-size:12px;color:#64748b;font-weight:500;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap;background:#f8fafc}.invite-page .earnings-table tbody tr{transition:background .15s ease;cursor:pointer}.invite-page .earnings-table tbody tr:hover{background:#f8fafc}.invite-page .earnings-table tbody tr td{padding:16px 24px;font-size:12px;color:#475569;border-bottom:1px solid #f1f5f9;white-space:nowrap}.invite-page .earnings-table tbody tr:last-child td{border-bottom:none}.invite-page .clan-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px 24px}.invite-page .clan-pagination .page-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:12px;color:#475569;background:#fff;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease}.invite-page .clan-pagination .page-btn:hover{border-color:#20beb4;color:#20beb4}.invite-page .clan-pagination .page-btn.active{background:#20beb4;color:#fff;border-color:#20beb4}.invite-page .clan-pagination .page-text{font-size:12px;color:#64748b;margin:0 4px}.invite-page .earn-cards{display:flex;flex-direction:column;gap:8px}.invite-page .earn-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.invite-page .earn-card:hover{box-shadow:0 2px 8px #00000014}.invite-page .earn-card{padding:16px}.invite-page .earn-card .earn-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.invite-page .earn-card .earn-card-top .earn-card-amount{font-size:16px;font-weight:700;color:#1e293b}.invite-page .earn-card .earn-card-top .earn-card-status{flex-shrink:0;font-size:12px;font-weight:600}.invite-page .earn-card .earn-card-sub{display:flex;align-items:center;justify-content:space-between;gap:8px}.invite-page .earn-card .earn-card-sub .earn-card-user{flex:1;min-width:0;font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invite-page .earn-card .earn-card-sub .earn-card-time{flex-shrink:0;font-size:11px;color:#64748b}.invite-page .earn-cards-empty{padding:48px 0;text-align:center;color:#64748b;font-size:12px}.clan-page .clan-banner{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.clan-page .clan-banner:hover{box-shadow:0 2px 8px #00000014}.clan-page .clan-banner{display:flex;align-items:center;gap:24px;margin-bottom:24px}@media (max-width: 576px){.clan-page .clan-banner{flex-direction:column;text-align:center}}.clan-page .clan-banner .clan-emblem{width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,#20beb4,#0891b2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;font-weight:700;flex-shrink:0}.clan-page .clan-banner .clan-info{flex:1}.clan-page .clan-banner .clan-info .clan-name{font-size:18px;font-weight:600;margin-bottom:4px}.clan-page .clan-banner .clan-info .clan-motto{font-size:12px;color:#64748b}.clan-page .clan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}@media (max-width: 992px){.clan-page .clan-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.clan-page .clan-grid{grid-template-columns:1fr}}.clan-page .clan-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.clan-page .clan-stat-card:hover{box-shadow:0 2px 8px #00000014}.clan-page .clan-stat-card{text-align:center;padding:24px}.clan-page .clan-stat-card .stat-number{font-size:20px;font-weight:700;color:#20beb4;line-height:1.2}.clan-page .clan-stat-card .stat-label{font-size:12px;color:#64748b;margin-top:4px}.clan-page .member-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.clan-page .member-table-wrap:hover{box-shadow:0 2px 8px #00000014}.clan-page .member-table-wrap{padding:0;overflow:hidden}.clan-page .member-list-table{width:100%;border-collapse:collapse}.clan-page .member-list-table thead th{padding:16px 24px;font-size:12px;color:#64748b;font-weight:500;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap;background:#f8fafc}.clan-page .member-list-table tbody tr{transition:background .15s ease;cursor:pointer}.clan-page .member-list-table tbody tr:hover{background:#f8fafc}.clan-page .member-list-table tbody tr td{padding:16px 24px;font-size:12px;color:#475569;border-bottom:1px solid #f1f5f9;white-space:nowrap}.clan-page .member-list-table tbody tr:last-child td{border-bottom:none}.clan-page .clan-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px 24px}.clan-page .clan-pagination .page-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:12px;color:#475569;background:#fff;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease}.clan-page .clan-pagination .page-btn:hover{border-color:#20beb4;color:#20beb4}.clan-page .clan-pagination .page-btn.active{background:#20beb4;color:#fff;border-color:#20beb4}.clan-page .clan-pagination .page-text{font-size:12px;color:#64748b;margin:0 4px}.login-page{min-height:100vh;background:linear-gradient(135deg,#e0f7f5,#f0f8ff,#e8f4f8);display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:420px;max-width:100%;background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000001a;padding:48px}.login-card .login-logo{text-align:center;margin-bottom:32px}.login-card .login-logo .logo-circle{width:56px;height:56px;border-radius:999px;background:linear-gradient(135deg,#20beb4,#5edcd4);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:700;margin-bottom:24px}.login-card .login-logo h2{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:4px}.login-card .login-logo p{font-size:12px;color:#64748b;margin-top:4px}.login-card .form-row{display:flex;gap:10px;margin-bottom:16px}.login-card .form-group{margin-bottom:16px}.login-card .form-group.flexible{flex:1;margin-bottom:0}.login-card .form-group input[type=email],.login-card .form-group input[type=tel],.login-card .form-group input[type=text]{width:100%;height:48px;padding:0 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .15s ease;box-sizing:border-box}.login-card .form-group input[type=email]:focus,.login-card .form-group input[type=tel]:focus,.login-card .form-group input[type=text]:focus{border-color:#20beb4;outline:none;box-shadow:0 0 0 3px #20beb41a}.login-card .form-group input[type=email]::placeholder,.login-card .form-group input[type=tel]::placeholder,.login-card .form-group input[type=text]::placeholder{color:#94a3b8}.login-card .code-row{display:flex;gap:10px;margin-bottom:16px}.login-card .code-row .code-input{flex:1;height:48px;padding:0 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;letter-spacing:6px;text-align:center;box-sizing:border-box}.login-card .code-row .code-input:focus{border-color:#20beb4;outline:none;box-shadow:0 0 0 3px #20beb41a}.login-card .code-row .code-input::placeholder{color:#94a3b8;letter-spacing:normal}.login-card .code-row .resend-btn{flex-shrink:0;height:48px;padding:0 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s ease}.login-card .code-row .resend-btn:hover:not(:disabled){border-color:#20beb4;color:#20beb4}.login-card .code-row .resend-btn:disabled{opacity:.5;cursor:not-allowed}.login-card .login-error{background:#fef2f2;color:#dc2626;padding:8px 12px;border-radius:8px;font-size:12px;margin-bottom:16px}.login-card .login-btn{width:100%;height:48px;background:#20beb4;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .15s ease}.login-card .login-btn:hover:not(:disabled){background:#17a39a}.login-card .login-btn:disabled{opacity:.5;cursor:not-allowed}.login-card .hint-text{font-size:11px;color:#94a3b8;margin-bottom:16px;padding:0 2px}.login-card .slider-captcha{position:relative;height:48px;margin-bottom:16px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:none}.login-card .slider-captcha .slider-track{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#20beb426,#20beb44d)}.login-card .slider-captcha .slider-text{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#64748b;pointer-events:none;z-index:1}.login-card .slider-captcha .slider-btn{position:absolute;top:0;left:0;width:48px;height:100%;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:grab;z-index:2;box-shadow:0 1px 3px #0000000f;transition:box-shadow .15s ease}.login-card .slider-captcha .slider-btn:hover{box-shadow:0 2px 8px #00000014}.login-card .slider-captcha .slider-btn:active{cursor:grabbing}.login-card .slider-captcha .slider-btn svg{width:18px;height:18px;color:#94a3b8}.login-card .slider-captcha.is-success{background:#10b9811a;border-color:#10b981}.login-card .slider-captcha.is-success .slider-btn{background:#10b981;border-color:#10b981}.login-card .slider-captcha.is-success .slider-btn svg{color:#fff}.login-card .slider-captcha.is-success .slider-text{color:#10b981}.login-card .slider-captcha.is-fail{border-color:#ef4444}.login-card .slider-captcha.is-fail .slider-text{color:#ef4444}.login-card .login-hint{text-align:center;margin-top:24px;font-size:11px;color:#94a3b8}@media (max-width: 576px){.login-card{padding:16px}.login-card .login-card{padding:32px}}@media (max-width: 480px){.login-card{padding:8px}.login-card .login-card{padding:24px}.login-card .code-row{gap:8px}.login-card .code-row .resend-btn{padding:0 12px}}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);padding:10px 24px;border-radius:8px;font-size:14px;font-weight:500;z-index:9999;box-shadow:0 4px 12px #00000026;animation:toastIn .25s ease-out;max-width:calc(100vw - 40px)}.toast.toast-success{background:#059669;color:#fff}.toast.toast-error{background:#dc2626;color:#fff}@keyframes toastIn{0%{opacity:0;transform:translate(-50%) translateY(-12px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.apikeys-page .apikeys-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}@media (max-width: 576px){.apikeys-page .apikeys-header{flex-direction:row;align-items:center;gap:8px}.apikeys-page .apikeys-header .header-title{flex:1;min-width:0}.apikeys-page .apikeys-header .header-title h1{font-size:17px;margin:0}.apikeys-page .apikeys-header .header-title p{display:none}.apikeys-page .apikeys-header .header-actions{flex-shrink:0;margin-left:auto}.apikeys-page .apikeys-header .btn-icon-refresh{display:none}.apikeys-page .apikeys-header .btn-primary{padding:8px 14px;font-size:12px}}.apikeys-page .apikeys-header .header-title h1{font-size:18px;font-weight:700;color:#1e293b;margin:0 0 4px}.apikeys-page .apikeys-header .header-title p{font-size:12px;color:#64748b;margin:0}.apikeys-page .apikeys-header .header-actions{display:flex;align-items:center;gap:8px}.apikeys-page .btn-icon-refresh{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease}.apikeys-page .btn-icon-refresh:hover{border-color:#20beb4;color:#20beb4}.apikeys-page .btn-primary{display:flex;align-items:center;gap:4px;padding:8px 16px;background:#20beb4;color:#fff;font-size:12px;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:background .15s ease}.apikeys-page .btn-primary:hover{background:#17a39a}.apikeys-page .apikeys-filters{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.apikeys-page .apikeys-filters:hover{box-shadow:0 2px 8px #00000014}.apikeys-page .apikeys-filters{display:flex;align-items:center;gap:16px;padding:16px 24px;margin-bottom:16px}@media (max-width: 768px){.apikeys-page .apikeys-filters{flex-direction:column;align-items:stretch}}.apikeys-page .search-box{flex:1;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.apikeys-page .search-box svg{color:#94a3b8}.apikeys-page .search-box input{flex:1;border:none;background:transparent;font-size:12px;outline:none}.apikeys-page .search-box input::placeholder{color:#94a3b8}.apikeys-page .filter-dropdowns{display:flex;gap:8px}.apikeys-page .dropdown{position:relative;display:flex;align-items:center;gap:4px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:12px;color:#475569;cursor:pointer;min-width:100px}.apikeys-page .dropdown:hover{border-color:#20beb4}.apikeys-page .dropdown svg{color:#64748b}.apikeys-page .dropdown-menu{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:300}.apikeys-page .dropdown-item{padding:8px 12px;font-size:12px;color:#475569;cursor:pointer}.apikeys-page .dropdown-item:hover{background:#f8fafc}.apikeys-page .dropdown-item.active{color:#20beb4;background:#d6f7f4}.apikeys-page .apikeys-endpoint{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.apikeys-page .apikeys-endpoint:hover{box-shadow:0 2px 8px #00000014}.apikeys-page .apikeys-endpoint{display:flex;align-items:center;gap:8px;padding:8px 24px;margin-bottom:16px;font-size:12px}.apikeys-page .apikeys-endpoint .endpoint-label{color:#64748b}.apikeys-page .apikeys-endpoint .endpoint-tag{padding:2px 8px;background:#d6f7f4;color:#20beb4;font-size:11px;font-weight:500;border-radius:999px}.apikeys-page .apikeys-endpoint .endpoint-url{flex:1;font-family:monospace;color:#475569;background:#f8fafc;padding:4px 8px;border-radius:4px}.apikeys-page .apikeys-endpoint .btn-copy-url{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;cursor:pointer;border-radius:4px}.apikeys-page .apikeys-endpoint .btn-copy-url:hover{background:#f1f5f9;color:#20beb4}.apikeys-page .apikeys-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:box-shadow .2s ease}.apikeys-page .apikeys-table-wrapper:hover{box-shadow:0 2px 8px #00000014}.apikeys-page .apikeys-table-wrapper{overflow-x:auto}.apikeys-page .apikeys-table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}.apikeys-page .apikeys-table th,.apikeys-page .apikeys-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #f1f5f9;white-space:nowrap}.apikeys-page .apikeys-table th{font-weight:600;color:#475569;background:#f8fafc}.apikeys-page .apikeys-table th svg{display:inline-block;vertical-align:middle;margin-left:2px;color:#64748b}.apikeys-page .apikeys-table tbody tr:hover,.apikeys-page .apikeys-table tbody tr:hover .col-actions{background:#f8fafc}.apikeys-page .apikeys-table th.col-actions{background:#f8fafc;color:#475569;font-weight:600}.apikeys-page .apikeys-table th.col-actions svg{display:inline-block;vertical-align:middle;margin-left:2px;color:#64748b}.apikeys-page .apikeys-table .col-name{min-width:90px}.apikeys-page .apikeys-table .col-key{min-width:170px;max-width:200px}.apikeys-page .apikeys-table .col-key .key-cell{display:flex;align-items:center;gap:4px}.apikeys-page .apikeys-table .col-key .key-cell code{flex:1;min-width:0;max-width:170px;font-family:monospace;font-size:11px;color:#475569;overflow:hidden;text-overflow:ellipsis}.apikeys-page .apikeys-table .col-group{min-width:120px}.apikeys-page .apikeys-table .col-group .tag-group{display:inline-block;padding:2px 8px;background:#d6f7f4;color:#20beb4;font-size:11px;border-radius:999px;margin-right:4px}.apikeys-page .apikeys-table .col-group .btn-link-sm{font-size:11px;color:#64748b;background:none;border:none;cursor:pointer}.apikeys-page .apikeys-table .col-group .btn-link-sm:hover{color:#20beb4}.apikeys-page .apikeys-table .col-quota{min-width:120px;text-align:center;line-height:1.6}.apikeys-page .apikeys-table .col-quota .quota-layer{font-size:11px;color:#64748b}.apikeys-page .apikeys-table .col-quota .quota-layer .num{color:#475569}.apikeys-page .apikeys-table .col-usage{min-width:140px}.apikeys-page .apikeys-table .col-usage .usage-info{font-size:11px;color:#64748b;line-height:1.6}.apikeys-page .apikeys-table .col-usage .usage-info .usage-limit{color:#475569}.apikeys-page .apikeys-table .col-usage .usage-info .usage-bar{height:4px;background:#f1f5f9;border-radius:2px;margin-top:4px}.apikeys-page .apikeys-table .col-usage .usage-info .usage-bar .usage-fill{height:100%;background:#20beb4;border-radius:2px}.apikeys-page .apikeys-table .col-status .status-badge{display:inline-block;padding:2px 10px;font-size:11px;font-weight:500;border-radius:999px}.apikeys-page .apikeys-table .col-status .status-badge.active{background:#dcfce7;color:#16a34a}.apikeys-page .apikeys-table .col-status .status-badge.disabled{background:#f1f5f9;color:#64748b}.apikeys-page .apikeys-table .col-status .status-badge.expired{background:#fee2e2;color:#ef4444}.apikeys-page .apikeys-table .col-actions{position:sticky;right:0;background:#fff;z-index:1;box-shadow:-3px 0 6px #00000014}.apikeys-page .apikeys-table .col-actions:after{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:#e2e8f0}.apikeys-page .apikeys-table .col-actions .action-btns-stacked{display:flex;gap:0}.apikeys-page .apikeys-table .col-actions .action-btn-stacked{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 10px;font-size:11px;color:#64748b;background:transparent;border:none;border-right:1px solid #f1f5f9;cursor:pointer;transition:color .15s ease;min-width:56px}.apikeys-page .apikeys-table .col-actions .action-btn-stacked:last-child{border-right:none}.apikeys-page .apikeys-table .col-actions .action-btn-stacked svg{width:16px;height:16px}.apikeys-page .apikeys-table .col-actions .action-btn-stacked:hover{color:#20beb4}.apikeys-page .apikeys-table .col-actions .action-btn-stacked.danger:hover{color:#ef4444}.apikeys-page .btn-icon-sm{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;cursor:pointer;border-radius:4px}.apikeys-page .btn-icon-sm:hover{background:#f1f5f9;color:#1e293b}.apikeys-page .btn-icon-sm.text-success{color:#10b981}.apikeys-page .apikeys-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:24px;padding:0 8px}.apikeys-page .apikeys-pagination .pagination-info{font-size:12px;color:#64748b}.apikeys-page .apikeys-pagination .pagination-controls{display:flex;gap:4px}.apikeys-page .apikeys-pagination .btn-page{min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:12px;color:#475569;cursor:pointer}.apikeys-page .apikeys-pagination .btn-page:hover:not(:disabled){border-color:#20beb4;color:#20beb4}.apikeys-page .apikeys-pagination .btn-page.active{background:#20beb4;border-color:#20beb4;color:#fff}.apikeys-page .apikeys-pagination .btn-page:disabled{opacity:.5;cursor:not-allowed}.apikeys-page .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:500;padding:24px}.apikeys-page .dialog{width:480px;max-width:100%;max-height:90vh;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e;animation:dialogIn .2s ease;display:flex;flex-direction:column}.apikeys-page .dialog.dialog-large{width:520px}@media (max-width: 576px){.apikeys-page .dialog{width:100%}}@keyframes dialogIn{0%{opacity:0;transform:translateY(-12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.apikeys-page .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:1px solid #f1f5f9}.apikeys-page .dialog-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0}.apikeys-page .dialog-header .dialog-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;border-radius:8px;cursor:pointer}.apikeys-page .dialog-header .dialog-close:hover{background:#f1f5f9;color:#1e293b}.apikeys-page .dialog-body{padding:32px;overflow-y:auto}.apikeys-page .dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:24px 32px;border-top:1px solid #f1f5f9}.apikeys-page .dialog-footer .btn-outline{padding:8px 16px;background:transparent;border:1px solid #e2e8f0;color:#475569;font-size:12px;font-weight:500;border-radius:8px;cursor:pointer}.apikeys-page .dialog-footer .btn-outline:hover{border-color:#20beb4;color:#20beb4}.apikeys-page .form-group{margin-bottom:24px}.apikeys-page .form-group:last-child{margin-bottom:0}.apikeys-page .form-group label{display:block;font-size:12px;font-weight:500;color:#475569;margin-bottom:4px}.apikeys-page .form-group input,.apikeys-page .form-group select,.apikeys-page .form-group textarea{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;background:#fff;box-sizing:border-box}.apikeys-page .form-group input:focus,.apikeys-page .form-group select:focus,.apikeys-page .form-group textarea:focus{outline:none;border-color:#20beb4;box-shadow:0 0 0 3px #20beb41a}.apikeys-page .form-group textarea{resize:vertical;line-height:1.6}.apikeys-page .form-group .form-hint{display:block;font-size:11px;color:#64748b;margin-top:4px;line-height:1.5}.apikeys-page .form-group-toggle{display:flex;align-items:center;justify-content:space-between}.apikeys-page .form-group-toggle label:first-child{margin-bottom:0}.apikeys-page .toggle-switch{position:relative;width:44px;height:24px;cursor:pointer}.apikeys-page .toggle-switch input{opacity:0;width:0;height:0}.apikeys-page .toggle-switch .toggle-slider{position:absolute;top:0;right:0;bottom:0;left:0;background:#cbd5e1;border-radius:24px;transition:background .15s ease}.apikeys-page .toggle-switch .toggle-slider:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .15s ease;box-shadow:0 1px 3px #0003}.apikeys-page .toggle-switch input:checked+.toggle-slider{background:#20beb4}.apikeys-page .toggle-switch input:checked+.toggle-slider:after{transform:translate(20px)}.apikeys-page .form-group-nested{margin-top:-16px;margin-left:24px;padding-left:24px;border-left:2px solid #f1f5f9}.apikeys-page .key-display{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;font-family:monospace;font-size:11px;color:#475569}.apikeys-page .key-display svg{flex-shrink:0;color:#64748b}.apikeys-page .key-display code{flex:1;overflow:hidden;text-overflow:ellipsis}.apikeys-page .dialog-use-key{width:960px;max-width:90vw}.apikeys-page .use-key-desc{font-size:12px;color:#475569;margin:0 0 24px;line-height:1.5}.apikeys-page .tab-bar{display:flex;gap:0;margin-bottom:24px;border-bottom:1px solid #e2e8f0}.apikeys-page .tab-btn{display:flex;align-items:center;gap:4px;padding:10px 20px;font-size:12px;background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;color:#64748b;cursor:pointer;transition:all .15s ease}.apikeys-page .tab-btn:hover{color:#1e293b}.apikeys-page .tab-btn.active{color:#20beb4;border-bottom-color:#20beb4;font-weight:600}.apikeys-page .tab-btn svg{width:14px;height:14px}.apikeys-page .platform-tabs{display:flex;gap:0;margin-bottom:24px;background:#f8fafc;border-radius:8px;padding:3px;width:fit-content}.apikeys-page .platform-btn{display:flex;align-items:center;gap:4px;padding:6px 16px;font-size:12px;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.apikeys-page .platform-btn:hover{color:#1e293b}.apikeys-page .platform-btn.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #0000001a}.apikeys-page .alert-warning{padding:8px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin-bottom:24px}.apikeys-page .alert-warning strong{font-size:12px;color:#92400e;font-weight:500}.apikeys-page .code-block{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.apikeys-page .code-block-header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#f8fafc;border-bottom:1px solid #f1f5f9}.apikeys-page .code-block-header .code-filename{font-family:monospace;font-size:12px;color:#475569}.apikeys-page .code-block-header .btn-copy-code{display:flex;align-items:center;gap:4px;padding:4px 10px;font-size:11px;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer}.apikeys-page .code-block-header .btn-copy-code:hover{border-color:#20beb4;color:#20beb4}.apikeys-page .code-content{margin:0;padding:16px;background:#1e1e2e;overflow-x:auto}.apikeys-page .code-content code{font-family:JetBrains Mono,Fira Code,monospace;font-size:12px;color:#cdd6f4;line-height:1.7;white-space:pre}.apikeys-page .input-prefix{position:relative;display:flex;align-items:center}.apikeys-page .input-prefix .prefix{position:absolute;left:12px;font-size:14px;color:#64748b;font-weight:500}.apikeys-page .input-prefix input{padding-left:24px}.apikeys-page .rate-limit-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}@media (max-width: 576px){.apikeys-page .rate-limit-fields{grid-template-columns:1fr}}.apikeys-page .rate-limit-fields .form-group{margin-bottom:0}.apikeys-page .rate-limit-fields--two{grid-template-columns:repeat(2,1fr)}@media (max-width: 576px){.apikeys-page .rate-limit-fields--two{grid-template-columns:1fr}}@media (max-width: 576px){.apikeys-page .apikeys-table-wrapper{overflow:visible;background:transparent;border:none;box-shadow:none;padding:0}.apikeys-page .apikeys-table{min-width:0;border-collapse:separate;border-spacing:0 8px}.apikeys-page .apikeys-table thead{display:none}.apikeys-page .apikeys-table tbody tr{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px 16px;margin-bottom:8px}.apikeys-page .apikeys-table tbody tr:hover{background:#fff}.apikeys-page .apikeys-table tbody tr td{display:flex;align-items:flex-start;gap:8px;padding:6px 0;border-bottom:none;white-space:normal;position:static}.apikeys-page .apikeys-table tbody tr td:before{content:attr(data-label);flex-shrink:0;width:82px;font-size:11px;font-weight:600;color:#64748b;padding-top:2px}.apikeys-page .apikeys-table tbody tr td[colspan]{display:block;text-align:center}.apikeys-page .apikeys-table tbody tr td.col-key .key-cell{flex:1;min-width:0}.apikeys-page .apikeys-table tbody tr td.col-quota{flex-direction:column;align-items:stretch;gap:2px}.apikeys-page .apikeys-table tbody tr td.col-quota .quota-layer{flex:1}.apikeys-page .apikeys-table tbody tr td.col-actions .action-btns-stacked{flex-wrap:wrap;flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.apikeys-page .apikeys-table tbody tr td.col-actions .action-btns-stacked .action-btn-stacked{flex:none;min-width:0;width:100%;padding:8px 4px;border-right:none;border:1px solid #f1f5f9;border-radius:6px}.apikeys-page .apikeys-table tbody tr td.col-actions .action-btns-stacked .action-btn-stacked.danger{color:#ef4444}.apikeys-page .apikeys-table tbody tr td.col-actions .action-btns-stacked .action-btn-stacked.danger:hover{background:#fef2f2}}@media (max-width: 576px){.apikeys-page .apikeys-filters{padding:8px 16px;gap:8px}.apikeys-page .search-box{padding:7px 10px}.apikeys-page .filter-dropdowns{width:100%}.apikeys-page .filter-dropdowns .dropdown{flex:1;min-width:0;padding:7px 10px;justify-content:space-between}.apikeys-page .filter-dropdowns .dropdown span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apikeys-page .apikeys-endpoint{padding:8px 16px;gap:4px}.apikeys-page .apikeys-endpoint .endpoint-label{white-space:nowrap;flex-shrink:0;font-size:11px}.apikeys-page .apikeys-endpoint .endpoint-tag{display:none}.apikeys-page .apikeys-endpoint .endpoint-url{min-width:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.mk-list{display:flex;flex-direction:column;gap:16px}.mk-list .mk-state{padding:48px 0;text-align:center;color:#64748b;font-size:12px}.mk-list .mk-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.mk-list .mk-card .mk-card-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.mk-list .mk-card .mk-card-head .mk-name{flex:1;min-width:0;font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mk-list .mk-card .mk-card-head .mk-status{flex-shrink:0;font-size:11px;line-height:1;padding:4px 8px;border-radius:999px}.mk-list .mk-card .mk-card-head .mk-status.active{background:#ecfdf5;color:#059669}.mk-list .mk-card .mk-card-head .mk-status.disabled{background:#f1f5f9;color:#64748b}.mk-list .mk-card .mk-card-head .mk-status.expired{background:#fef2f2;color:#ef4444}.mk-list .mk-card .mk-key-row{display:flex;align-items:center;gap:4px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;padding:7px 10px;margin-bottom:8px}.mk-list .mk-card .mk-key-row code{flex:1;min-width:0;font-family:monospace;font-size:11px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mk-list .mk-card .mk-key-row .mk-copy{flex-shrink:0;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;cursor:pointer;border-radius:4px;transition:all .15s ease}.mk-list .mk-card .mk-key-row .mk-copy:hover{background:#f1f5f9;color:#1e293b}.mk-list .mk-card .mk-key-row .mk-copy svg{width:15px;height:15px}.mk-list .mk-card .mk-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;padding:2px 0}.mk-list .mk-card .mk-cell{display:flex;flex-direction:column;gap:2px;min-width:0}.mk-list .mk-card .mk-cell .mk-label{font-size:11px;color:#64748b}.mk-list .mk-card .mk-cell .mk-value{font-size:11px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mk-list .mk-card .mk-cell.mk-cell-wide{grid-column:1/-1}.mk-list .mk-card .mk-cell-quota .mk-value{white-space:normal;overflow:visible;word-break:break-all}.mk-list .mk-card .mk-cell-quota .mk-sub{margin-top:2px;font-size:10px;line-height:1.5;color:#64748b;word-break:break-all}.mk-list .mk-card .mk-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:8px;border-top:1px solid #f1f5f9;padding-top:8px}.mk-list .mk-card .mk-actions .mk-act{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;border:none;background:transparent;cursor:pointer;font-size:11px;color:#64748b;border-radius:8px;transition:all .15s ease;font-family:inherit}.mk-list .mk-card .mk-actions .mk-act svg{width:16px;height:16px}.mk-list .mk-card .mk-actions .mk-act:hover{background:#f8fafc;color:#20beb4}.mk-list .mk-card .mk-actions .mk-act.danger{color:#ef4444}.mk-list .mk-card .mk-actions .mk-act.danger:hover{background:#fef2f2}@media (min-width: 700px){.mk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.apikeys-page .apikeys-table .col-limit{min-width:190px;vertical-align:top}.apikeys-page .apikeys-table .col-limit .limit-rate{font-size:12px;font-weight:500;color:#1e293b;white-space:nowrap}.apikeys-page .apikeys-table .col-limit .limit-quota{margin-top:4px}.apikeys-page .apikeys-table .col-limit .limit-quota .limit-quota-main{font-size:11px;color:#475569;white-space:nowrap}.apikeys-page .apikeys-table .col-limit .limit-quota .limit-quota-sub{margin-top:2px;font-size:11px;color:#64748b;white-space:nowrap;display:flex;flex-wrap:wrap}.apikeys-page .apikeys-table .col-limit .limit-quota .limit-quota-sub span+span{margin-left:10px}.apikeys-page .apikeys-table .col-limit .limit-quota.limit-quota-none{color:#64748b;font-size:11px}.apikeys-page .apikeys-table .col-name .cell-ellipsis,.apikeys-page .apikeys-table .col-expires .cell-ellipsis{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 1600px){.apikeys-table th.col-expires,.apikeys-table td.col-expires{display:none}}@media (max-width: 1330px){.apikeys-table th.col-group,.apikeys-table td.col-group{display:none}}@media (max-width: 1600px){.apikeys-table tbody td.col-actions .action-btns-stacked .action-btn-stacked{min-width:38px;padding:8px 4px}.apikeys-table tbody td.col-actions .action-btn-stacked span{display:none}}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#1e293b;line-height:1.5;overflow-x:hidden;overscroll-behavior-x:none}body{background:#f8fafc;min-height:100vh;overflow-x:hidden}a{color:#20beb4;text-decoration:none;transition:color .15s ease}a:hover{color:#17a39a}img{max-width:100%;height:auto;display:block}ul,ol{list-style:none}input,textarea,select,button{font-family:inherit;font-size:inherit;color:inherit;outline:none}button{border:none;background:none;cursor:pointer;font:inherit}input::placeholder,textarea::placeholder{color:#94a3b8}body::-webkit-scrollbar,#root::-webkit-scrollbar{width:6px;height:6px}body::-webkit-scrollbar-track,#root::-webkit-scrollbar-track{background:transparent}body::-webkit-scrollbar-thumb,#root::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}body::-webkit-scrollbar-thumb:hover,#root::-webkit-scrollbar-thumb:hover{background:#b1c0d2}body,#root{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.page-wrapper{min-height:100vh;display:flex;flex-direction:column}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1}.w-full{width:100%}.h-full{height:100%}.gap-xs{gap:4px}.gap-sm{gap:8px}.gap-md{gap:16px}.gap-lg{gap:24px}.gap-xl{gap:32px}.text-center{text-align:center}.text-right{text-align:right}.text-primary{color:#1e293b}.text-regular{color:#475569}.text-secondary{color:#64748b}@media (min-width: 993px){.hide-pc{display:none!important}}@media (max-width: 992px){.hide-mobile{display:none!important}}
