html,body,#root{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;transition:background .3s,color .3s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--theme-primary, #185FA5)}::-webkit-scrollbar-track{background:transparent}:root{--radius-sm: 4px;--radius-md: 8px;--radius-card: 10px;--radius-lg: 12px;--radius-pill: 20px;--transition-fast: .15s ease;--transition-normal: .25s ease;--font-mono: "SF Mono", "Fira Code", "Consolas", monospace}body[data-theme=blue]{--theme-primary: #185FA5;--theme-primary-50: #E6F1FB;--theme-primary-100: #B5D4F4;--theme-primary-400: #378ADD;--theme-primary-600: #185FA5;--theme-primary-light: #E6F1FB;--theme-active-bg: #E6F1FB;--theme-active-text: #185FA5;--theme-border: #E8EAED;--theme-border-hover: #D1D5DB;--theme-border-tertiary: #F0F1F3;--theme-sider-bg: #FBFBFD;--theme-card-hover-border: #85B7EB;--theme-bg-secondary: #F4F5F7;--theme-bg-dropdown: #ffffff;--theme-text: #1A1A2E;--theme-text-secondary: #6B7280;--theme-text-tertiary: #9CA3AF;--theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--theme-shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--theme-shadow-lg: 0 8px 32px rgba(0, 0, 0, .1);--theme-success-fill: #E1F5EE;--theme-success-text: #0F6E56;--theme-warning-fill: #FAEEDA;--theme-warning-text: #854F0B;--theme-danger-fill: #FCEBEB;--theme-danger-text: #A32D2D;--theme-neutral-fill: #F1EFE8;--theme-neutral-text: #5F5E5A}body[data-theme=dark]{--theme-primary: #177ddc;--theme-primary-50: #1A2D4A;--theme-primary-100: #1E3A5F;--theme-primary-400: #378ADD;--theme-primary-600: #177ddc;--theme-primary-light: #1A2D4A;--theme-active-bg: #1A2D4A;--theme-active-text: #177ddc;--theme-border: #2A2A3C;--theme-border-hover: #3A3A50;--theme-border-tertiary: #222232;--theme-sider-bg: #161624;--theme-card-hover-border: #2A4A6C;--theme-bg-secondary: #222232;--theme-bg-dropdown: #1E1E2E;--theme-text: #E8E8F0;--theme-text-secondary: #9090A8;--theme-text-tertiary: #606078;--theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);--theme-shadow-md: 0 4px 16px rgba(0, 0, 0, .4);--theme-shadow-lg: 0 8px 32px rgba(0, 0, 0, .5);--theme-success-fill: #0F3528;--theme-success-text: #5DCAA5;--theme-warning-fill: #3D2E12;--theme-warning-text: #EF9F27;--theme-danger-fill: #3A1818;--theme-danger-text: #F09595;--theme-neutral-fill: #222232;--theme-neutral-text: #9090A8}body[data-theme=green]{--theme-primary: #0F6E56;--theme-primary-50: #E1F5EE;--theme-primary-100: #B7E4D2;--theme-primary-400: #2BA88A;--theme-primary-600: #0F6E56;--theme-primary-light: #E1F5EE;--theme-active-bg: #E1F5EE;--theme-active-text: #0F6E56;--theme-border: #E0E8DD;--theme-border-hover: #C5D4BE;--theme-border-tertiary: #EDF2EA;--theme-sider-bg: #F8FAF7;--theme-card-hover-border: #5DCAA5;--theme-bg-secondary: #F4F5F3;--theme-bg-dropdown: #ffffff;--theme-text: #1A1A2E;--theme-text-secondary: #6B7280;--theme-text-tertiary: #9CA3AF;--theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--theme-shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--theme-shadow-lg: 0 8px 32px rgba(0, 0, 0, .1);--theme-success-fill: #E1F5EE;--theme-success-text: #0F6E56;--theme-warning-fill: #FAEEDA;--theme-warning-text: #854F0B;--theme-danger-fill: #FCEBEB;--theme-danger-text: #A32D2D;--theme-neutral-fill: #F1EFE8;--theme-neutral-text: #5F5E5A}body[data-theme=purple]{--theme-primary: #534AB7;--theme-primary-50: #EDE9F8;--theme-primary-100: #D1CAEE;--theme-primary-400: #7B72D0;--theme-primary-600: #534AB7;--theme-primary-light: #EDE9F8;--theme-active-bg: #EDE9F8;--theme-active-text: #534AB7;--theme-border: #E6E3F0;--theme-border-hover: #D0CCE3;--theme-border-tertiary: #F0EEF6;--theme-sider-bg: #FAF9FD;--theme-card-hover-border: #9B92DC;--theme-bg-secondary: #F5F4F8;--theme-bg-dropdown: #ffffff;--theme-text: #1A1A2E;--theme-text-secondary: #6B7280;--theme-text-tertiary: #9CA3AF;--theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--theme-shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--theme-shadow-lg: 0 8px 32px rgba(0, 0, 0, .1);--theme-success-fill: #E1F5EE;--theme-success-text: #0F6E56;--theme-warning-fill: #FAEEDA;--theme-warning-text: #854F0B;--theme-danger-fill: #FCEBEB;--theme-danger-text: #A32D2D;--theme-neutral-fill: #F1EFE8;--theme-neutral-text: #5F5E5A}body[data-theme=orange]{--theme-primary: #BA7517;--theme-primary-50: #FAEEDA;--theme-primary-100: #F0D4A8;--theme-primary-400: #D69324;--theme-primary-600: #BA7517;--theme-primary-light: #FAEEDA;--theme-active-bg: #FAEEDA;--theme-active-text: #BA7517;--theme-border: #EBE3D8;--theme-border-hover: #D8CCBA;--theme-border-tertiary: #F5F0E9;--theme-sider-bg: #FDFAF5;--theme-card-hover-border: #EF9F27;--theme-bg-secondary: #F6F4F0;--theme-bg-dropdown: #ffffff;--theme-text: #1A1A2E;--theme-text-secondary: #6B7280;--theme-text-tertiary: #9CA3AF;--theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--theme-shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--theme-shadow-lg: 0 8px 32px rgba(0, 0, 0, .1);--theme-success-fill: #E1F5EE;--theme-success-text: #0F6E56;--theme-warning-fill: #FAEEDA;--theme-warning-text: #854F0B;--theme-danger-fill: #FCEBEB;--theme-danger-text: #A32D2D;--theme-neutral-fill: #F1EFE8;--theme-neutral-text: #5F5E5A}.app-header{display:flex;align-items:center;gap:16px;padding:0 20px;height:60px;background:var(--theme-bg-dropdown, #fff);border-bottom:1px solid var(--theme-border, #E8EAED);flex-shrink:0;box-shadow:var(--theme-shadow-sm);z-index:10}.app-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}.app-logo-icon{width:34px;height:34px;border-radius:var(--radius-md);background:var(--theme-primary, #185FA5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:500;box-shadow:0 2px 8px #185fa540;position:relative;overflow:hidden}.app-logo-icon-clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.app-logo-icon-clickable:hover{transform:scale(1.05);box-shadow:0 4px 12px #185fa559}.app-logo-edit-hint{position:absolute;bottom:0;right:0;width:15px;height:15px;background:#0000008c;color:#fff;font-size:12px;line-height:15px;text-align:center;border-top-left-radius:6px;font-weight:400}.app-logo-avatar-img{width:100%;height:100%;object-fit:cover;display:block}.app-logo-text{font-size:17px;font-weight:500;white-space:nowrap;color:var(--theme-text, #1A1A2E)}.global-search{flex:1;max-width:440px;margin:0 auto;position:relative}.global-search .ant-input-affix-wrapper{border-radius:var(--radius-pill)!important;background:var(--theme-bg-secondary, #F4F5F7)!important;border-color:transparent!important;height:40px;transition:all var(--transition-fast)}.global-search .ant-input-affix-wrapper:hover{background:var(--theme-bg-secondary, #F4F5F7)!important;border-color:var(--theme-border-hover, #D1D5DB)!important}.global-search .ant-input-affix-wrapper-focused{background:var(--theme-bg-dropdown, #fff)!important;border-color:var(--theme-primary, #185FA5)!important;box-shadow:0 0 0 3px var(--theme-primary-50, #E6F1FB)!important}body[data-theme=dark] .global-search .ant-input-affix-wrapper-focused{background:var(--theme-bg-dropdown, #1E1E2E)!important}.search-tab-hint{display:inline-flex;align-items:center;gap:2px;font-size:13px;color:var(--theme-text-tertiary, #9CA3AF);background:var(--theme-bg-dropdown, #fff);border:1px solid var(--theme-border, #E8EAED);padding:1px 6px;border-radius:var(--radius-sm);white-space:nowrap}.search-history-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--theme-bg-dropdown, #fff);border:1px solid var(--theme-border, #E8EAED);border-radius:var(--radius-md);box-shadow:var(--theme-shadow-md);z-index:1000;overflow:hidden;animation:dropdownFadeIn .15s ease}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.search-history-dropdown-header{display:flex;align-items:center;gap:6px;padding:10px 14px 6px;font-size:14px;color:var(--theme-text-secondary, #6B7280)}.search-history-clear-all{margin-left:auto;cursor:pointer;color:var(--theme-text-secondary, #6B7280);transition:color var(--transition-fast)}.search-history-clear-all:hover{color:var(--theme-danger-text, #A32D2D)}.search-history-dropdown-tags{display:flex;flex-wrap:wrap;gap:8px;padding:8px 14px 12px;max-height:200px;overflow-y:auto}.search-history-tag{cursor:pointer!important;border-radius:var(--radius-pill)!important;font-size:14px!important;padding:2px 8px!important;margin:0!important;background:var(--theme-bg-secondary, rgba(0, 0, 0, .04))!important;border-color:transparent!important;color:var(--theme-text, #1A1A2E)!important;transition:all var(--transition-fast)!important;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-history-tag:hover{border-color:var(--theme-primary, #185FA5)!important;color:var(--theme-primary, #185FA5)!important;background:var(--theme-primary-50, #E6F1FB)!important}.search-history-tag .ant-tag-close-icon{margin-left:4px!important;font-size:12px!important;color:var(--theme-text-secondary, #6B7280)!important;transition:color var(--transition-fast)!important}.search-history-tag:hover .ant-tag-close-icon{color:var(--theme-primary, #185FA5)!important}.search-history-tag .ant-tag-close-icon:hover{color:var(--theme-danger-text, #A32D2D)!important}.header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.header-btn{display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:var(--radius-sm);cursor:pointer;font-size:15px;color:var(--theme-text-secondary, #6B7280);transition:all var(--transition-fast);background:transparent;border:none;min-height:34px}.header-btn:hover{background:var(--theme-bg-secondary, rgba(0, 0, 0, .04));color:var(--theme-primary, #185FA5)}.header-avatar{width:34px;height:34px;border-radius:50%;background:var(--theme-primary-50, #E6F1FB);color:var(--theme-primary, #185FA5);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;cursor:pointer;border:1px solid var(--theme-border, #E8EAED);text-transform:uppercase;transition:all var(--transition-fast)}.header-avatar:hover{border-color:var(--theme-primary, #185FA5);box-shadow:0 0 0 3px var(--theme-primary-50, #E6F1FB)}.app-sider{background:var(--theme-sider-bg, #FBFBFD);border-right:1px solid var(--theme-border, #E8EAED);overflow:auto}.sider-header{display:flex;align-items:center;justify-content:space-between;padding:18px 14px 10px}.sider-title{font-size:13px;font-weight:500;color:var(--theme-text-tertiary, #9CA3AF);text-transform:uppercase;letter-spacing:.8px}.sider-count-badge{font-size:13px;padding:1px 8px;border-radius:var(--radius-pill);background:var(--theme-bg-secondary, #F4F5F7);color:var(--theme-text-secondary, #6B7280);font-weight:500}.favorite-entry{display:flex;align-items:center;gap:8px;padding:10px 12px;margin:2px 8px;border-radius:var(--radius-md);cursor:pointer;font-size:15px;position:relative;transition:all var(--transition-fast);border:1px solid transparent}.favorite-entry:hover{background:var(--theme-bg-secondary, rgba(0, 0, 0, .03))}.favorite-entry.active{background:var(--theme-warning-fill, #FAEEDA);border-color:var(--theme-warning-text, #854F0B)}.favorite-entry.active:before{content:"";position:absolute;left:-8px;top:50%;transform:translateY(-50%);width:3px;height:60%;border-radius:0 3px 3px 0;background:var(--theme-warning-text, #854F0B)}.favorite-entry.active .category-name{color:var(--theme-warning-text, #854F0B);font-weight:500}body[data-theme=dark] .favorite-entry.active{background:#ef9f271f}.category-item{display:flex;align-items:center;gap:8px;padding:10px 12px;margin:2px 8px;border-radius:var(--radius-md);cursor:pointer;font-size:15px;position:relative;transition:all var(--transition-fast);border:1px solid transparent}.category-item:hover{background:var(--theme-bg-secondary, rgba(0, 0, 0, .03))}.category-item.active{background:var(--theme-primary-50, #E6F1FB)}.category-item.active:before{content:"";position:absolute;left:-8px;top:50%;transform:translateY(-50%);width:3px;height:60%;border-radius:0 3px 3px 0;background:var(--theme-primary, #185FA5)}.category-item.active .category-name{color:var(--theme-primary, #185FA5);font-weight:500}.category-item.active .cat-dot{background:var(--theme-primary, #185FA5)}.cat-dot{width:7px;height:7px;border-radius:50%;background:var(--theme-text-tertiary, #C0C4CC);flex-shrink:0;transition:background var(--transition-fast)}.category-item:hover .cat-dot{background:var(--theme-text-secondary, #6B7280)}.category-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text, #1A1A2E)}.category-count{font-size:13px;padding:0 7px;height:20px;line-height:20px;border-radius:var(--radius-pill);background:var(--theme-bg-secondary, rgba(0, 0, 0, .06));color:var(--theme-text-secondary, #6B7280);flex-shrink:0;font-weight:400}.category-item.active .category-count{background:var(--theme-primary, #185FA5);color:#fff}.category-item .actions{display:flex;gap:4px;opacity:0;transition:opacity var(--transition-fast)}.category-item:hover .actions{opacity:1}.add-category-btn{margin:8px;border:1px dashed var(--theme-border-hover, #D1D5DB)!important;border-radius:var(--radius-md)!important;text-align:center;padding:10px!important;cursor:pointer;font-size:15px;color:var(--theme-text-secondary, #6B7280);transition:all var(--transition-fast)}.add-category-btn:hover{border-color:var(--theme-primary, #185FA5)!important;color:var(--theme-primary, #185FA5)!important;background:var(--theme-primary-50, #E6F1FB)!important}.sider-divider{height:1px;margin:6px 12px;background:var(--theme-border, #E8EAED)}.content-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--theme-border, #E8EAED)}.content-title{font-size:23px;font-weight:500;color:var(--theme-text, #1A1A2E)}.content-subtitle{font-size:15px;color:var(--theme-text-secondary, #6B7280);margin-left:10px}.search-highlight{background:#fff3cd;color:#856404;padding:0 2px;border-radius:2px;font-weight:500}body[data-theme=dark] .search-highlight{background:#fac77540;color:#fac775}.script-breadcrumb{font-size:13px;color:var(--theme-text-tertiary, #9CA3AF);margin-bottom:6px;display:flex;align-items:center;gap:4px}.script-breadcrumb .sep{opacity:.5}.script-card{background:var(--theme-bg-secondary, #F4F5F7);border:1px solid var(--theme-border-tertiary, #F0F1F3);border-radius:var(--radius-card);padding:12px 16px;margin-bottom:6px;transition:all var(--transition-fast);position:relative;overflow:hidden;cursor:pointer;height:115px}.script-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--theme-primary, #185FA5);opacity:0;transition:opacity var(--transition-fast);border-radius:0 3px 3px 0}.script-card:hover{background:var(--theme-bg-dropdown, #fff);border-color:var(--theme-primary-400, #378ADD);box-shadow:var(--theme-shadow-sm)}.script-card:hover:before{opacity:1}.script-card .card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.script-card .card-title-area{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.script-card .card-title{font-weight:500;font-size:16px;color:var(--theme-text, #1A1A2E);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-card .card-content{margin:4px 0 0;font-size:15px;color:var(--theme-text-secondary, #6B7280);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}.script-card .card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;flex-shrink:0}.script-card .card-meta-time{font-size:14px;color:var(--theme-text-tertiary, #9CA3AF)}.script-card .card-actions{display:flex;gap:12px;flex-shrink:0;opacity:0;transition:opacity var(--transition-fast)}.script-card:hover .card-actions{opacity:1}.script-card .card-actions .action-btn{font-size:14px;cursor:pointer;color:var(--theme-text-secondary, #6B7280);transition:color var(--transition-fast);white-space:nowrap;padding:2px 0}.script-card .card-actions .action-btn:hover{color:var(--theme-primary, #185FA5)}.script-card .card-actions .action-btn.danger:hover{color:var(--theme-danger-text, #A32D2D)}.script-card .card-actions .action-btn.copy-btn{color:var(--theme-primary, #185FA5);font-weight:500}.drag-handle{cursor:grab;color:var(--theme-text-tertiary, #C0C4CC);font-size:16px;-webkit-user-select:none;user-select:none;padding:0 2px;flex-shrink:0;transition:color var(--transition-fast)}.drag-handle:active{cursor:grabbing}.script-card:hover .drag-handle{color:var(--theme-text-secondary, #6B7280)}.script-card-selected{background:var(--theme-primary-50, #E6F1FB)!important;border-color:var(--theme-primary, #185FA5)!important;border-width:1px!important;box-shadow:0 0 0 3px var(--theme-primary-50, #E6F1FB)!important}.script-card-selected:before{opacity:1!important}.script-card-selected .card-title{color:var(--theme-primary, #185FA5)!important}.script-card-selected .card-actions{opacity:1!important}.login-container{display:flex;min-height:100vh}.login-brand-side{flex:0 0 38%;display:flex;flex-direction:column;justify-content:center;padding:56px;position:relative;overflow:hidden}.login-brand-logo{width:52px;height:52px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;color:#fff;font-size:29px;font-weight:500;margin-bottom:28px;background:#ffffff2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-brand-title{font-size:34px;font-weight:500;color:#fff;margin-bottom:14px;line-height:1.3;letter-spacing:-.5px}.login-brand-desc{font-size:17px;color:#ffffffb3;line-height:1.8;max-width:340px}.login-brand-decoration{position:absolute;border-radius:50%;background:#ffffff0f}.login-form-side{flex:1;display:flex;align-items:center;justify-content:center;padding:48px}.login-form-wrapper{width:100%;max-width:380px}.login-form-title{font-size:27px;font-weight:500;margin-bottom:6px;letter-spacing:-.3px}.login-form-subtitle{font-size:16px;color:var(--theme-text-secondary, #6B7280);margin-bottom:36px}.login-form-side .ant-input-affix-wrapper{background:var(--theme-bg-secondary, #F4F5F7)!important;border-color:transparent!important;border-radius:var(--radius-md)!important;height:44px;transition:all var(--transition-fast)}.login-form-side .ant-input-affix-wrapper-focused{background:var(--theme-bg-dropdown, #fff)!important;border-color:var(--theme-primary, #185FA5)!important;box-shadow:0 0 0 3px var(--theme-primary-50, #E6F1FB)!important}.login-form-side .ant-btn-primary{height:44px!important;border-radius:var(--radius-md)!important;font-size:17px!important;font-weight:500!important;box-shadow:0 4px 12px #185fa540}.login-form-side .ant-tabs-tab{font-size:17px;padding:8px 0}.admin-stat-card{border-radius:var(--radius-card)!important;border:none!important;overflow:hidden;position:relative;box-shadow:var(--theme-shadow-sm)}.admin-stat-icon{width:38px;height:38px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.admin-stat-value{font-size:25px;font-weight:500;line-height:1}.admin-stat-label{font-size:14px;color:var(--theme-text-secondary, #6B7280);margin-top:4px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:300px;color:var(--theme-text-secondary, #6B7280)}.fav-star{cursor:pointer;flex-shrink:0;display:inline-flex;align-items:center;transition:transform var(--transition-fast)}.fav-star:hover{transform:scale(1.2)}.copy-count-badge{font-size:12px;background:var(--theme-primary-50, #E6F1FB);color:var(--theme-primary, #185FA5);padding:1px 7px;border-radius:var(--radius-pill);font-weight:500;flex-shrink:0;line-height:18px;white-space:nowrap}.copy-rank-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--theme-border, #E8EAED)}.copy-rank-item:last-child{border-bottom:none}.copy-rank-num{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;background:var(--theme-bg-secondary, rgba(0, 0, 0, .06));color:var(--theme-text-secondary, #6B7280);flex-shrink:0}.copy-rank-num.top-1{background:#ff4d4f;color:#fff}.copy-rank-num.top-2{background:#fa8c16;color:#fff}.copy-rank-num.top-3{background:#fadb14;color:#6b7280}.copy-rank-info{display:flex;flex-direction:column;min-width:0;flex-shrink:0;width:200px}.copy-rank-title{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text, #1A1A2E)}.copy-rank-cat{font-size:13px;color:var(--theme-text-tertiary, #9CA3AF)}.copy-rank-bar-wrap{flex:1;height:6px;background:var(--theme-bg-secondary, rgba(0, 0, 0, .04));border-radius:3px;overflow:hidden}.copy-rank-bar{height:100%;border-radius:3px;transition:width .4s ease}.copy-rank-bar.rank-1{background:linear-gradient(90deg,#ff7875,#ff4d4f)}.copy-rank-bar.rank-2{background:linear-gradient(90deg,#ffa940,#fa8c16)}.copy-rank-bar.rank-3{background:linear-gradient(90deg,#ffe58f,#fadb14)}.copy-rank-bar.rank-default{background:var(--theme-primary, #185FA5);opacity:.6}.copy-rank-count{font-size:16px;font-weight:500;min-width:40px;text-align:right;flex-shrink:0;color:var(--theme-text, #1A1A2E)}.fade-in{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.script-card-body{display:flex;gap:10px;align-items:stretch;height:100%}.script-card-main{flex:1;min-width:0;display:flex;flex-direction:column;height:100%}.script-image-gallery{display:flex;flex-direction:column;gap:4px;flex-shrink:0;width:64px;justify-content:center}.script-image-thumb{width:64px;height:64px;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--theme-border, #E8EAED);background:var(--theme-bg-secondary, #F4F5F7);cursor:pointer}.script-image-thumb img{width:100%;height:100%;object-fit:cover;display:block}.script-image-upload{display:flex;align-items:center;gap:8px;margin-bottom:8px}.upload-hint{font-size:14px;color:var(--theme-text-tertiary, #9CA3AF)}.script-image-preview-list{display:flex;flex-wrap:wrap;gap:8px}.script-image-preview{position:relative;width:72px;height:72px;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--theme-border, #E8EAED)}.script-image-preview img{width:100%;height:100%;object-fit:cover;display:block}.script-image-remove{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;opacity:0;transition:opacity var(--transition-fast)}.script-image-preview:hover .script-image-remove{opacity:1}.script-card-checked{background:var(--theme-primary-50, #E6F1FB)!important;border-color:var(--theme-primary, #185FA5)!important;border-width:1px!important}.batch-count-tag{display:inline-block;font-size:13px;background:var(--theme-primary, #185FA5);color:#fff;padding:1px 8px;border-radius:var(--radius-pill);margin-left:8px;font-weight:500}.batch-toolbar{display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--theme-bg-dropdown, #fff);border:1px solid var(--theme-border, #E8EAED);border-radius:var(--radius-lg);box-shadow:var(--theme-shadow-md);margin-top:8px;flex-shrink:0}.batch-info{font-size:15px;color:var(--theme-text, #1A1A2E);font-weight:500;margin-right:auto}.share-url-box{display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--theme-bg-secondary, #F4F5F7);border-radius:var(--radius-md);border:1px solid var(--theme-border, #E8EAED)}.share-url-text{flex:1;font-size:15px;color:var(--theme-text, #1A1A2E);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono, "SF Mono", monospace)}.share-preview-page{display:flex;justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 20px;background:var(--theme-bg-secondary, #F4F5F7)}.share-preview-card{width:100%;max-width:680px;background:var(--theme-bg-dropdown, #fff);border-radius:var(--radius-lg);border:1px solid var(--theme-border, #E8EAED);padding:32px;box-shadow:var(--theme-shadow-md)}.share-preview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--theme-border, #E8EAED)}.share-preview-cat{font-size:14px;color:var(--theme-text-tertiary, #9CA3AF);background:var(--theme-bg-secondary, #F4F5F7);padding:2px 8px;border-radius:var(--radius-pill);display:inline-block;margin-bottom:8px}.share-preview-title{font-size:25px;font-weight:500;margin:0;color:var(--theme-text, #1A1A2E);line-height:1.4}.share-preview-content{font-size:17px;line-height:1.8;color:var(--theme-text, #1A1A2E);min-height:100px}.share-preview-content p{margin:0 0 12px}.share-preview-content img{max-width:100%;border-radius:var(--radius-md)}.share-preview-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.share-preview-images img{max-width:220px;max-height:220px;object-fit:cover;border:1px solid var(--theme-border, #E8EAED)}.share-preview-content ul,.share-preview-content ol{padding-left:24px;margin:0 0 12px}.share-preview-content blockquote{border-left:3px solid var(--theme-primary, #185FA5);padding-left:12px;margin:0 0 12px;color:var(--theme-text-secondary, #6B7280)}.share-preview-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:16px;border-top:1px solid var(--theme-border, #E8EAED);font-size:14px;color:var(--theme-text-tertiary, #9CA3AF)}
