                                                           :root {
                                                               --bg-main: #05070a;
                                                               --bg-accent: #0a0d14;
                                                               --glass: rgba(255, 255, 255, 0.035);
                                                               --glass-hover: rgba(255, 255, 255, 0.06);
                                                               --border: rgba(255, 255, 255, 0.08);
                                                               --border-bright: rgba(255, 255, 255, 0.15);
                                                               --primary: #3e81f6;
                                                               --primary-glow: rgba(62, 129, 246, 0.35);
                                                               --secondary: #a78bfa;
                                                               --success: #10b981;
                                                               --warning: #f59e0b;
                                                               --danger: #f43f5e;
                                                               --text-main: #f8fafc;
                                                               --text-muted: rgba(248, 250, 252, 0.58);
                                                               --ease: cubic-bezier(0.23, 1, 0.32, 1);
                                                               --radius-xl: 24px;
                                                               --radius-lg: 18px;
                                                               --radius-md: 12px;
                                                               --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.35);
                                                               --shadow-lift: 0 22px 80px rgba(0, 0, 0, 0.45);
                                                               --shadow-glow: 0 0 20px rgba(62, 129, 246, 0.2);
                                                           }

                                                           * {
                                                               margin: 0;
                                                               padding: 0;
                                                               box-sizing: border-box;
                                                               -webkit-font-smoothing: antialiased;
                                                           }

                                                           html,
                                                           body {
                                                               height: 100%;
                                                               width: 100%;
                                                               overflow: auto;
                                                           }

                                                           /* Responsive Layout Improvements */

                                                           @media (max-width: 768px) {
                                                               .hdr {
                                                                   padding: 0 20px;
                                                                   height: auto;
                                                                   padding-top: 20px;
                                                                   padding-bottom: 20px;
                                                                   flex-direction: column;
                                                                   align-items: flex-start;
                                                                   gap: 15px;
                                                               }

                                                               .cnt {
                                                                   padding: 16px;
                                                               }

                                                               .hero-title {
                                                                   font-size: 1.8rem;
                                                               }

                                                               .hero-desc {
                                                                   font-size: 0.95rem;
                                                               }

                                                               .dash {
                                                                   grid-template-columns: 1fr;
                                                                   gap: 20px;
                                                               }

                                                               .card {
                                                                   padding: 20px;
                                                               }

                                                               .btn {
                                                                   padding: 12px 16px;
                                                                   font-size: 0.85rem;
                                                               }

                                                               .create-top-label {
                                                                   font-size: 0.64rem;
                                                                   letter-spacing: 0.12em;
                                                               }

                                                               .create-top-switch {
                                                                   margin-top: 6px;
                                                                   gap: 6px;
                                                                   padding: 6px;
                                                                   width: 100%;
                                                                   grid-template-columns: repeat(3, minmax(0, 1fr));
                                                               }

                                                               .create-tab-btn {
                                                                   font-size: 0.72rem;
                                                                   padding: 6px 10px;
                                                                   min-width: 0;
                                                                   text-align: center;
                                                               }
                                                           }

                                                           /* 自定义下拉选择器样式 */

                                                           .custom-select {
                                                               position: relative;
                                                               width: 100%;
                                                               user-select: none;
                                                           }

                                                           .select-trigger {
                                                               width: 100%;
                                                               padding: 14px 16px;
                                                               border-radius: 14px;
                                                               background: rgba(0, 0, 0, 0.22);
                                                               border: 1px solid rgba(255, 255, 255, 0.09);
                                                               color: var(--text-main);
                                                               cursor: pointer;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .select-trigger:hover {
                                                               border-color: rgba(255, 255, 255, 0.16);
                                                               background: rgba(0, 0, 0, 0.28);
                                                           }

                                                           .custom-select.open .select-trigger {
                                                               border-color: var(--primary);
                                                               box-shadow: 0 0 0 4px rgba(62, 129, 246, 0.18);
                                                               background: rgba(0, 0, 0, 0.32);
                                                           }

                                                           .select-trigger i {
                                                               font-size: 0.8rem;
                                                               transition: transform 0.3s var(--ease);
                                                               opacity: 0.5;
                                                           }

                                                           .custom-select.open .select-trigger i {
                                                               transform: rotate(180deg);
                                                               opacity: 1;
                                                               color: var(--primary);
                                                           }

                                                           .select-dropdown {
                                                               position: absolute;
                                                               top: calc(100% + 8px);
                                                               left: 0;
                                                               width: 100%;
                                                               background: #0f121a;
                                                               border: 1px solid var(--border-bright);
                                                               border-radius: 16px;
                                                               padding: 8px;
                                                               z-index: 1000;
                                                               box-shadow: var(--shadow-lift);
                                                               opacity: 0;
                                                               visibility: hidden;
                                                               transform: translateY(10px);
                                                               transition: all 0.3s var(--ease);
                                                               backdrop-filter: blur(20px);
                                                           }

                                                           .custom-select.open .select-dropdown {
                                                               opacity: 1;
                                                               visibility: visible;
                                                               transform: translateY(0);
                                                           }

                                                           .select-search-container {
                                                               padding: 4px;
                                                               margin-bottom: 8px;
                                                               border-bottom: 1px solid var(--border);
                                                           }

                                                           .select-search {
                                                               width: 100%;
                                                               padding: 10px 12px;
                                                               background: rgba(255, 255, 255, 0.03);
                                                               border: 1px solid var(--border);
                                                               border-radius: 10px;
                                                               color: var(--text-main);
                                                               font-size: 0.85rem;
                                                               outline: none;
                                                           }

                                                           .select-options {
                                                               max-height: 220px;
                                                               overflow-y: auto;
                                                           }

                                                           .select-option {
                                                               padding: 10px 14px;
                                                               border-radius: 10px;
                                                               cursor: pointer;
                                                               font-size: 0.9rem;
                                                               color: var(--text-muted);
                                                               transition: all 0.2s var(--ease);
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 10px;
                                                           }

                                                           .select-option:hover {
                                                               background: var(--glass);
                                                               color: var(--text-main);
                                                           }

                                                           .select-option.selected {
                                                               background: rgba(62, 129, 246, 0.1);
                                                               color: var(--primary);
                                                               font-weight: 600;
                                                           }

                                                           .select-option.hidden {
                                                               display: none;
                                                           }

                                                           /* 输入框微调 */

                                                           input:focus,
                                                           textarea:focus {
                                                               border-color: var(--primary);
                                                               background: rgba(0, 0, 0, 0.32);
                                                               box-shadow: 0 0 0 4px rgba(62, 129, 246, 0.18), var(--shadow-glow);
                                                               transform: translateY(-1px);
                                                           }

                                                           /* AI 助手按钮与弹窗 */

                                                           .ai-assist-btn {
                                                               background: linear-gradient(135deg, var(--secondary), var(--primary));
                                                               padding: 6px 12px;
                                                               border-radius: 8px;
                                                               font-size: 0.75rem;
                                                               font-weight: 700;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               gap: 6px;
                                                               cursor: pointer;
                                                               transition: all 0.3s var(--ease);
                                                               border: none;
                                                               color: white;
                                                               margin-bottom: 8px;
                                                           }

                                                           .ai-assist-btn:hover {
                                                               transform: translateY(-2px);
                                                               box-shadow: 0 4px 12px var(--primary-glow);
                                                           }

                                                           .fg-label-row {
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               gap: 10px;
                                                               margin-bottom: 8px;
                                                           }

                                                           .fg-label-row label {
                                                               margin-bottom: 0;
                                                           }

                                                           .ai-assist-icon-btn {
                                                               width: 30px;
                                                               height: 30px;
                                                               border-radius: 999px;
                                                               border: 1px solid rgba(167, 139, 250, 0.45);
                                                               background: linear-gradient(135deg, rgba(167, 139, 250, 0.26), rgba(62, 129, 246, 0.24));
                                                               color: #f1e8ff;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               cursor: pointer;
                                                               transition: all 0.2s var(--ease);
                                                               box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
                                                               flex-shrink: 0;
                                                           }

                                                           .ai-assist-icon-btn i {
                                                               font-size: 0.75rem;
                                                               line-height: 1;
                                                           }

                                                           .ai-assist-icon-btn:hover {
                                                               transform: translateY(-1px) scale(1.04);
                                                               border-color: rgba(167, 139, 250, 0.7);
                                                               box-shadow: 0 8px 18px rgba(62, 129, 246, 0.24);
                                                           }

                                                           .ai-assist-icon-btn:focus-visible {
                                                               outline: none;
                                                               box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25), 0 8px 18px rgba(62, 129, 246, 0.24);
                                                           }

                                                           .ai-dialog {
                                                               position: fixed;
                                                               top: 50%;
                                                               left: 50%;
                                                               transform: translate(-50%, -50%) scale(0.9);
                                                               width: 400px;
                                                               background: rgba(15, 18, 26, 0.95);
                                                               backdrop-filter: blur(30px);
                                                               border: 1px solid var(--border-bright);
                                                               border-radius: 24px;
                                                               padding: 24px;
                                                               z-index: 2000;
                                                               box-shadow: var(--shadow-lift);
                                                               opacity: 0;
                                                               visibility: hidden;
                                                               transition: all 0.3s var(--ease);
                                                           }

                                                           .ai-dialog.show {
                                                               opacity: 1;
                                                               visibility: visible;
                                                               transform: translate(-50%, -50%) scale(1);
                                                           }

                                                           .ai-overlay {
                                                               position: fixed;
                                                               inset: 0;
                                                               background: rgba(0, 0, 0, 0.6);
                                                               backdrop-filter: blur(4px);
                                                               z-index: 1999;
                                                               display: none;
                                                           }

                                                           .ai-overlay.show {
                                                               display: block;
                                                           }

                                                           .ai-input {
                                                               background: rgba(255, 255, 255, 0.05);
                                                               border: 1px solid var(--border);
                                                               border-radius: 12px;
                                                               padding: 12px;
                                                               color: white;
                                                               width: 100%;
                                                               margin: 16px 0;
                                                               resize: none;
                                                           }

                                                           .info-tip {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               width: 14px;
                                                               height: 14px;
                                                               background: rgba(255, 255, 255, 0.1);
                                                               border-radius: 50%;
                                                               font-size: 9px;
                                                               margin-left: 6px;
                                                               cursor: help;
                                                               color: var(--text-muted);
                                                               position: relative;
                                                               vertical-align: middle;
                                                           }

                                                           .info-tip:hover {
                                                               background: var(--primary);
                                                               color: white;
                                                           }

                                                           .info-tip::after {
                                                               content: attr(data-tip);
                                                               position: absolute;
                                                               bottom: 125%;
                                                               left: 50%;
                                                               transform: translateX(-50%);
                                                               padding: 8px 12px;
                                                               background: #1a1f2e;
                                                               color: var(--text-main);
                                                               font-size: 0.75rem;
                                                               border-radius: 8px;
                                                               white-space: nowrap;
                                                               opacity: 0;
                                                               visibility: hidden;
                                                               transition: all 0.2s var(--ease);
                                                               box-shadow: var(--shadow-lift);
                                                               border: 1px solid var(--border-bright);
                                                               z-index: 1000;
                                                               text-transform: none;
                                                               letter-spacing: 0;
                                                               font-weight: 500;
                                                           }

                                                           .info-tip:hover::after {
                                                               opacity: 1;
                                                               visibility: visible;
                                                               bottom: 150%;
                                                           }

                                                           body {
                                                               font-family: 'Plus Jakarta Sans', sans-serif;
                                                               color: var(--text-main);
                                                               background: radial-gradient(1200px 700px at 20% -10%, rgba(62, 129, 246, 0.08), transparent 55%), radial-gradient(1000px 650px at 90% 0%, rgba(167, 139, 250, 0.07), transparent 55%), radial-gradient(900px 600px at 50% 110%, rgba(16, 185, 129, 0.05), transparent 55%), var(--bg-main);
                                                               display: flex;
                                                           }

                                                           .row,
                                                           .row3 {
                                                               display: flex;
                                                               gap: 16px;
                                                           }

                                                           .row>.fg,
                                                           .row3>.fg {
                                                               flex: 1;
                                                           }

                                                           @media(max-width: 860px) {

                                                               .row,
                                                               .row3 {
                                                                   flex-direction: column;
                                                                   gap: 12px;
                                                               }
                                                           }

                                                           /* 动态流体背景 */

                                                           .bg-mesh {
                                                               position: fixed;
                                                               inset: 0;
                                                               z-index: -1;
                                                               background: radial-gradient(circle at 10% 10%, rgba(62, 129, 246, 0.12), transparent 40%), radial-gradient(circle at 90% 10%, rgba(167, 139, 250, 0.1), transparent 40%), radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.05), transparent 40%);
                                                               filter: blur(80px);
                                                           }

                                                           ::-webkit-scrollbar {
                                                               width: 5px;
                                                           }

                                                           ::-webkit-scrollbar-track {
                                                               background: transparent;
                                                           }

                                                           ::-webkit-scrollbar-thumb {
                                                               background: rgba(255, 255, 255, 0.1);
                                                               border-radius: 10px;
                                                           }

                                                           ::-webkit-scrollbar-thumb:hover {
                                                               background: rgba(255, 255, 255, 0.2);
                                                           }

                                                           /* 侧边栏 */

                                                           .sb {
                                                               width: 280px;
                                                               background: rgba(5, 7, 10, 0.45);
                                                               backdrop-filter: blur(40px);
                                                               -webkit-backdrop-filter: blur(40px);
                                                               border-right: 1px solid var(--border);
                                                               display: flex;
                                                               flex-direction: column;
                                                               z-index: 100;
                                                               padding: 12px 0;
                                                           }

                                                           .sb-brand {
                                                               padding: 24px 28px 0px;
                                                               display: flex;
                                                               flex-direction: column;
                                                               align-items: center;
                                                               gap: 12px;
                                                           }

                                                           .sb-brand .brand-content {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 14px;
                                                           }

                                                           .sb-brand span {
                                                               font-size: 1.15rem;
                                                               font-weight: 900;
                                                               letter-spacing: -0.03em;
                                                               background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
                                                               background-clip: text;
                                                               -webkit-background-clip: text;
                                                               color: transparent;
                                                           }

                                                           .brand-icon {
                                                               width: 42px;
                                                               height: 42px;
                                                               background: linear-gradient(135deg, var(--primary), var(--secondary));
                                                               border-radius: 12px;
                                                               display: grid;
                                                               place-items: center;
                                                               box-shadow: 0 8px 20px rgba(62, 129, 246, 0.3);
                                                               font-size: 1.2rem;
                                                           }

                                                           .sb-lbl {
                                                               padding: 24px 28px 12px;
                                                               font-size: 0.7rem;
                                                               text-transform: uppercase;
                                                               letter-spacing: 0.2em;
                                                               color: var(--text-muted);
                                                               font-weight: 800;
                                                               opacity: 0.6;
                                                           }

                                                           .sb-item {
                                                               margin: 4px 16px;
                                                               padding: 14px 18px;
                                                               border-radius: var(--radius-md);
                                                               cursor: pointer;
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 14px;
                                                               color: var(--text-muted);
                                                               transition: all 0.3s var(--ease);
                                                               font-weight: 600;
                                                               font-size: 0.92rem;
                                                               position: relative;
                                                           }

                                                           .sb-item i {
                                                               font-size: 1.1rem;
                                                               width: 20px;
                                                               text-align: center;
                                                               transition: all 0.3s var(--ease);
                                                           }

                                                           .sb-item:hover {
                                                               background: var(--glass);
                                                               color: var(--text-main);
                                                           }

                                                           .sb-item.active {
                                                               background: rgba(255, 255, 255, 0.05);
                                                               color: var(--primary);
                                                               box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
                                                           }

                                                           .sb-item.active::before {
                                                               content: "";
                                                               position: absolute;
                                                               left: 0;
                                                               top: 20%;
                                                               height: 60%;
                                                               width: 4px;
                                                               background: var(--primary);
                                                               border-radius: 0 4px 4px 0;
                                                               box-shadow: 4px 0 12px var(--primary-glow);
                                                           }

                                                           .sidebar-user-section {
                                                               padding: 8px 16px 10px;
                                                           }

                                                           .sidebar-user-card {
                                                               position: relative;
                                                               padding: 10px 0 0;
                                                           }

                                                           .sidebar-user-top {
                                                               display: flex;
                                                               align-items: flex-start;
                                                               justify-content: space-between;
                                                               gap: 10px;
                                                           }

                                                           .sidebar-user-main {
                                                               min-width: 0;
                                                               flex: 1;
                                                           }

                                                           .sidebar-user-name {
                                                               color: var(--text-main);
                                                               font-size: 0.9rem;
                                                               font-weight: 700;
                                                               line-height: 1.25;
                                                               white-space: nowrap;
                                                               overflow: hidden;
                                                               text-overflow: ellipsis;
                                                           }

                                                           .sidebar-user-email {
                                                               margin-top: 4px;
                                                               color: var(--text-muted);
                                                               font-size: 0.76rem;
                                                               line-height: 1.4;
                                                               word-break: break-all;
                                                           }

                                                           .sidebar-user-menu-toggle {
                                                               width: 28px;
                                                               height: 28px;
                                                               flex-shrink: 0;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               border-radius: 8px;
                                                               border: 1px solid rgba(255, 255, 255, 0.16);
                                                               background: rgba(255, 255, 255, 0.02);
                                                               color: var(--text-main);
                                                               cursor: pointer;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .sidebar-user-menu-toggle:hover,
                                                           .sidebar-user-menu-toggle[aria-expanded="true"] {
                                                               border-color: rgba(255, 255, 255, 0.26);
                                                               background: rgba(255, 255, 255, 0.06);
                                                           }

                                                           .sidebar-user-menu-toggle i {
                                                               font-size: 0.72rem;
                                                           }

                                                           .sidebar-user-credits-row {
                                                               margin-top: 10px;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               gap: 12px;
                                                           }

                                                           .sidebar-user-credits {
                                                               color: #ffd84d;
                                                               font-size: 0.82rem;
                                                               font-weight: 700;
                                                           }

                                                           .sidebar-credits-link {
                                                               padding: 0;
                                                               border: none;
                                                               background: transparent;
                                                               color: #7b8cff;
                                                               font-size: 0.8rem;
                                                               cursor: pointer;
                                                           }

                                                           .sidebar-user-menu {
                                                               position: absolute;
                                                               top: -4px;
                                                               left: calc(100% + 12px);
                                                               width: 272px;
                                                               padding: 10px 0;
                                                               border-radius: 12px;
                                                               background: rgba(7, 9, 13, 0.98);
                                                               border: 1px solid rgba(255, 255, 255, 0.12);
                                                               box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
                                                               z-index: 40;
                                                           }

                                                           .sidebar-user-menu-head {
                                                               padding: 0 16px 12px;
                                                               border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                                                           }

                                                           .sidebar-user-menu-name {
                                                               color: var(--text-main);
                                                               font-size: 0.92rem;
                                                               font-weight: 700;
                                                           }

                                                           .sidebar-user-menu-email {
                                                               margin-top: 4px;
                                                               color: var(--text-muted);
                                                               font-size: 0.78rem;
                                                               word-break: break-all;
                                                           }

                                                           .sidebar-user-menu-item {
                                                               width: 100%;
                                                               padding: 12px 16px;
                                                               border: none;
                                                               background: transparent;
                                                               color: var(--text-main);
                                                               font-size: 0.94rem;
                                                               font-weight: 600;
                                                               text-align: left;
                                                               cursor: pointer;
                                                               transition: background 0.2s var(--ease), color 0.2s var(--ease);
                                                           }

                                                           .sidebar-user-menu-item:hover {
                                                               background: rgba(255, 255, 255, 0.06);
                                                           }

                                                           body.modal-open {
                                                               overflow: hidden;
                                                           }

                                                           .upgrade-modal-backdrop {
                                                               position: fixed;
                                                               inset: 0;
                                                               background: rgba(0, 0, 0, 0.68);
                                                               z-index: 1500;
                                                           }

                                                           .upgrade-modal-backdrop[hidden] {
                                                               display: none !important;
                                                           }

                                                           .upgrade-modal {
                                                               position: fixed;
                                                               top: 50%;
                                                               left: 50%;
                                                               width: min(1120px, calc(100vw - 40px));
                                                               max-height: calc(100vh - 40px);
                                                               display: grid;
                                                               grid-template-columns: 0.95fr 1.05fr;
                                                               background: #060709;
                                                               border: 1px solid rgba(255, 255, 255, 0.12);
                                                               border-radius: 22px;
                                                               box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
                                                               transform: translate(-50%, -50%);
                                                               overflow: hidden;
                                                               z-index: 1510;
                                                           }

                                                           .upgrade-modal[hidden] {
                                                               display: none !important;
                                                           }

                                                           .upgrade-modal-close {
                                                               position: absolute;
                                                               top: 16px;
                                                               right: 16px;
                                                               width: 34px;
                                                               height: 34px;
                                                               border: none;
                                                               border-radius: 999px;
                                                               background: transparent;
                                                               color: rgba(255, 255, 255, 0.55);
                                                               cursor: pointer;
                                                               z-index: 2;
                                                           }

                                                           .upgrade-modal-benefits,
                                                           .upgrade-modal-main {
                                                               padding: 36px 32px;
                                                               overflow: auto;
                                                           }

                                                           .upgrade-modal-benefits {
                                                               border-right: 1px solid rgba(255, 255, 255, 0.08);
                                                               background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
                                                           }

                                                           .upgrade-modal-side-title {
                                                               color: rgba(255, 255, 255, 0.58);
                                                               font-size: 0.86rem;
                                                               font-weight: 800;
                                                               letter-spacing: 0.08em;
                                                               margin-bottom: 28px;
                                                           }

                                                           .upgrade-benefit-group+.upgrade-benefit-group {
                                                               margin-top: 26px;
                                                           }

                                                           .upgrade-benefit-label {
                                                               color: #fff;
                                                               font-size: 1rem;
                                                               font-weight: 700;
                                                               margin-bottom: 14px;
                                                           }

                                                           .upgrade-benefit-item {
                                                               display: flex;
                                                               align-items: flex-start;
                                                               gap: 12px;
                                                               color: rgba(255, 255, 255, 0.58);
                                                               line-height: 1.45;
                                                           }

                                                           .upgrade-benefit-item+.upgrade-benefit-item {
                                                               margin-top: 10px;
                                                           }

                                                           .upgrade-benefit-item i {
                                                               color: #fff;
                                                               margin-top: 3px;
                                                               font-size: 0.84rem;
                                                           }

                                                           .upgrade-benefit-item strong {
                                                               color: #b8f35e;
                                                           }

                                                           .upgrade-modal-title {
                                                               font-size: 2rem;
                                                               line-height: 1.15;
                                                               color: #fff;
                                                           }

                                                           .upgrade-modal-guarantee {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               margin-top: 14px;
                                                               padding: 8px 12px;
                                                               border-radius: 10px;
                                                               background: rgba(238, 154, 42, 0.14);
                                                               color: #f0a53f;
                                                               font-weight: 700;
                                                           }

                                                           .upgrade-billing-toggle {
                                                               margin-top: 28px;
                                                               display: inline-flex;
                                                               padding: 5px;
                                                               border-radius: 999px;
                                                               background: rgba(255, 255, 255, 0.03);
                                                               border: 1px solid rgba(255, 255, 255, 0.12);
                                                           }

                                                           .upgrade-billing-btn {
                                                               padding: 12px 24px;
                                                               border: none;
                                                               border-radius: 999px;
                                                               background: transparent;
                                                               color: #fff;
                                                               font-size: 1rem;
                                                               font-weight: 700;
                                                               cursor: pointer;
                                                           }

                                                           .upgrade-billing-btn span {
                                                               font-size: 0.72rem;
                                                               color: #f0a53f;
                                                               margin-left: 6px;
                                                           }

                                                           .upgrade-billing-btn.active {
                                                               background: #fff;
                                                               color: #0d1017;
                                                           }

                                                           .upgrade-plan-list {
                                                               margin-top: 34px;
                                                               display: grid;
                                                               gap: 14px;
                                                           }

                                                           .upgrade-plan-card {
                                                               position: relative;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               gap: 16px;
                                                               width: 100%;
                                                               padding: 24px 18px 20px;
                                                               border-radius: 14px;
                                                               border: 1px solid rgba(255, 255, 255, 0.16);
                                                               background: rgba(255, 255, 255, 0.02);
                                                               color: #fff;
                                                               text-align: left;
                                                               cursor: pointer;
                                                               transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
                                                           }

                                                           .upgrade-plan-card:hover,
                                                           .upgrade-plan-card.is-active {
                                                               border-color: #5b52ff;
                                                               background: linear-gradient(135deg, rgba(58, 45, 206, 0.58), rgba(11, 10, 25, 0.95));
                                                           }

                                                           .upgrade-plan-badge {
                                                               position: absolute;
                                                               top: -1px;
                                                               left: -1px;
                                                               padding: 6px 10px;
                                                               border-radius: 14px 0 12px 0;
                                                               background: #6f62ff;
                                                               color: #fff;
                                                               font-size: 0.8rem;
                                                               font-weight: 700;
                                                           }

                                                           .upgrade-plan-name {
                                                               font-size: 1.05rem;
                                                               font-weight: 800;
                                                           }

                                                           .upgrade-plan-credits {
                                                               margin-top: 6px;
                                                               color: #b8f35e;
                                                               font-size: 0.92rem;
                                                               font-weight: 700;
                                                           }

                                                           .upgrade-plan-price-wrap {
                                                               display: flex;
                                                               align-items: baseline;
                                                               gap: 4px;
                                                               flex-shrink: 0;
                                                           }

                                                           .upgrade-plan-price {
                                                               font-size: 2.1rem;
                                                               font-weight: 500;
                                                           }

                                                           .upgrade-plan-unit {
                                                               font-size: 1rem;
                                                               font-weight: 700;
                                                               color: rgba(255, 255, 255, 0.86);
                                                           }

                                                           .upgrade-paypal-wrap {
                                                               margin-top: 24px;
                                                           }

                                                           .upgrade-paypal-status {
                                                               min-height: 22px;
                                                               margin-bottom: 12px;
                                                               color: rgba(255, 255, 255, 0.62);
                                                               font-size: 0.86rem;
                                                           }

                                                           .upgrade-paypal-button {
                                                               min-height: 44px;
                                                           }

                                                           .upgrade-cta-btn {
                                                               width: 100%;
                                                               margin-top: 18px;
                                                               padding: 18px 20px;
                                                               border: none;
                                                               border-radius: 14px;
                                                               background: linear-gradient(135deg, #4f46ff, #2b33ff);
                                                               color: #fff;
                                                               font-size: 1rem;
                                                               font-weight: 800;
                                                               cursor: pointer;
                                                               box-shadow: 0 18px 32px rgba(50, 63, 255, 0.28);
                                                           }

                                                           .sidebar-login-btn {
                                                               width: 100%;
                                                               min-height: 36px;
                                                               padding: 8px 14px;
                                                               border-radius: 12px;
                                                               border: none;
                                                               font-size: 0.82rem;
                                                               font-weight: 600;
                                                               letter-spacing: 0.01em;
                                                               text-align: center;
                                                               gap: 8px;
                                                               box-shadow: 0 6px 14px rgba(62, 129, 246, 0.16);
                                                           }

                                                           .sb-upgrade-card {
                                                               margin-top: 12px;
                                                               padding: 18px 16px;
                                                               flex-direction: column;
                                                               align-items: flex-start;
                                                               gap: 8px;
                                                               color: var(--text-main);
                                                               background:
                                                                   radial-gradient(circle at top right, rgba(62, 129, 246, 0.22), transparent 42%),
                                                                   linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
                                                               border: 1px solid rgba(255, 255, 255, 0.1);
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.24);
                                                           }

                                                           .sb-upgrade-card::before {
                                                               display: none;
                                                           }

                                                           .sb-upgrade-card:hover {
                                                               background:
                                                                   radial-gradient(circle at top right, rgba(62, 129, 246, 0.3), transparent 44%),
                                                                   linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.28);
                                                           }

                                                           .sb-upgrade-title {
                                                               font-size: 0.96rem;
                                                               font-weight: 700;
                                                               color: var(--text-main);
                                                           }

                                                           .sb-upgrade-desc {
                                                               font-size: 0.74rem;
                                                               line-height: 1.5;
                                                               color: var(--text-muted);
                                                           }

                                                           .sb-upgrade-cta {
                                                               margin-top: 4px;
                                                               padding: 7px 12px;
                                                               border-radius: 999px;
                                                               background: rgba(62, 129, 246, 0.14);
                                                               border: 1px solid rgba(62, 129, 246, 0.26);
                                                               color: #7fb0ff;
                                                               font-size: 0.78rem;
                                                               font-weight: 700;
                                                           }

                                                           .sb-group {
                                                               margin: 8px 16px 6px;
                                                               padding: 6px;
                                                               border-radius: 16px;
                                                               background: radial-gradient(circle at top left, rgba(62, 129, 246, 0.09), transparent 36%), linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
                                                               border: 1px solid rgba(255, 255, 255, 0.09);
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.22);
                                                               position: relative;
                                                               overflow: hidden;
                                                           }

                                                           .sb-group::before {
                                                               content: "";
                                                               position: absolute;
                                                               top: -40%;
                                                               left: -20%;
                                                               width: 140%;
                                                               height: 200%;
                                                               background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
                                                               opacity: 0;
                                                               transform: translateX(-35%) rotate(8deg);
                                                               transition: opacity 0.25s var(--ease), transform 0.6s var(--ease);
                                                               pointer-events: none;
                                                           }

                                                           .sb-group:hover::before {
                                                               opacity: 0.42;
                                                               transform: translateX(14%) rotate(8deg);
                                                           }

                                                           .sb-group .sb-item {
                                                               margin: 0;
                                                           }

                                                           .sb-group-trigger {
                                                               justify-content: flex-start;
                                                               border-radius: 12px;
                                                               font-weight: 700;
                                                               letter-spacing: 0.01em;
                                                               background: rgba(255, 255, 255, 0.02);
                                                               border: none;
                                                           }

                                                           .sb-group-trigger:hover {
                                                               background: rgba(62, 129, 246, 0.1);
                                                           }

                                                           .sb-group-trigger.active {
                                                               box-shadow: none;
                                                           }

                                                           .sb-group-trigger.active::before {
                                                               display: none;
                                                           }

                                                           .sb-group-trigger .sb-chevron {
                                                               margin-left: auto;
                                                               font-size: 0.8rem;
                                                               opacity: 0.7;
                                                           }

                                                           .sb-group.open .sb-group-trigger .sb-chevron {
                                                               transform: rotate(180deg);
                                                               opacity: 1;
                                                           }

                                                           /* Keep Create Music expandable but visually identical to regular sidebar items */
                                                           #create-music-group {
                                                               margin: 0;
                                                               padding: 0;
                                                               border: none;
                                                               border-radius: 0;
                                                               background: transparent;
                                                               box-shadow: none;
                                                               overflow: visible;
                                                           }

                                                           #create-music-group::before,
                                                           #create-music-group:hover::before {
                                                               display: none;
                                                           }

                                                           #create-music-group .sb-group-trigger {
                                                               margin: 4px 16px;
                                                               padding: 14px 18px;
                                                               border-radius: var(--radius-md);
                                                               background: transparent;
                                                               font-weight: 600;
                                                           }

                                                           #create-music-group .sb-group-trigger:hover {
                                                               background: var(--glass);
                                                           }

                                                           #create-music-group .sb-group-trigger.active {
                                                               background: rgba(255, 255, 255, 0.05);
                                                               color: var(--primary);
                                                           }

                                                           #create-music-group .sb-group-trigger.active::before {
                                                               display: block;
                                                           }

                                                           .sb-submenu {
                                                               display: grid;
                                                               grid-template-rows: 0fr;
                                                               transition: grid-template-rows 0.25s var(--ease);
                                                               overflow: hidden;
                                                           }

                                                           .sb-group.open .sb-submenu {
                                                               grid-template-rows: 1fr;
                                                           }

                                                           .sb-submenu>div {
                                                               min-height: 0;
                                                           }

                                                           .sb-sub-item {
                                                               margin-top: 4px;
                                                               padding-left: 34px;
                                                               font-size: 0.88rem;
                                                               gap: 10px;
                                                               border-radius: 10px;
                                                               position: relative;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .sb-sub-item:hover {
                                                               background: rgba(62, 129, 246, 0.1);
                                                               color: var(--text-main);
                                                           }

                                                           .sb-sub-item.active {
                                                               background: linear-gradient(120deg, rgba(62, 129, 246, 0.2), rgba(62, 129, 246, 0.08));
                                                               border: 1px solid rgba(62, 129, 246, 0.36);
                                                               box-shadow: 0 8px 18px rgba(62, 129, 246, 0.2);
                                                           }

                                                           .sb-sub-item.active::after {
                                                               content: "";
                                                               position: absolute;
                                                               right: 12px;
                                                               width: 7px;
                                                               height: 7px;
                                                               border-radius: 50%;
                                                               background: #71b9ff;
                                                               box-shadow: 0 0 10px rgba(113, 185, 255, 0.9);
                                                           }

                                                           .sb-tag {
                                                               margin-left: auto;
                                                               font-size: 0.65rem;
                                                               font-weight: 700;
                                                               letter-spacing: 0.02em;
                                                               color: #ffd089;
                                                               background: rgba(255, 208, 137, 0.15);
                                                               border: 1px solid rgba(255, 208, 137, 0.35);
                                                               border-radius: 999px;
                                                               padding: 2px 8px;
                                                               white-space: nowrap;
                                                           }

                                                           .sb-foot {
                                                               margin-top: auto;
                                                               padding: 24px 28px;
                                                               border-top: 1px solid var(--border);
                                                               font-size: 0.8rem;
                                                               color: var(--text-muted);
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 12px;
                                                           }

                                                           .sys-dot {
                                                               width: 10px;
                                                               height: 10px;
                                                               border-radius: 50%;
                                                               background: var(--text-muted);
                                                           }

                                                           .sys-dot.sys-ok {
                                                               background: var(--success);
                                                               box-shadow: 0 0 12px var(--success);
                                                           }

                                                           .sys-dot.sys-off {
                                                               background: var(--danger);
                                                               box-shadow: 0 0 12px var(--danger);
                                                           }

                                                           /* 主区域 */

                                                           .main {
                                                               flex: 1;
                                                               display: flex;
                                                               flex-direction: column;
                                                               position: relative;
                                                               overflow: hidden;
                                                           }

                                                           .hdr {
                                                               min-height: 80px;
                                                               height: auto;
                                                               padding: 14px 40px 18px;
                                                               display: flex;
                                                               align-items: flex-start;
                                                               justify-content: space-between;
                                                               background: rgba(5, 7, 10, 0.2);
                                                               backdrop-filter: blur(20px);
                                                               -webkit-backdrop-filter: blur(20px);
                                                               border-bottom: 1px solid var(--border);
                                                           }

                                                           .hdr h2 {
                                                               font-size: 1.25rem;
                                                               font-weight: 800;
                                                               letter-spacing: -0.02em;
                                                               line-height: 1.15;
                                                           }

                                                           .hdr-sub {
                                                               font-size: 0.85rem;
                                                               color: var(--text-muted);
                                                               margin-top: 2px;
                                                           }

                                                           .create-top-label {
                                                               margin-top: 12px;
                                                               font-size: 0.68rem;
                                                               letter-spacing: 0.14em;
                                                               text-transform: uppercase;
                                                               color: rgba(248, 250, 252, 0.62);
                                                               font-weight: 800;
                                                               text-shadow: 0 0 10px rgba(62, 129, 246, 0.16);
                                                           }

                                                           .hdr h2,
                                                           .create-top-label {
                                                               display: none;
                                                           }

                                                           .create-top-switch {
                                                               margin-top: 8px;
                                                               display: grid;
                                                               grid-template-columns: repeat(3, minmax(0, 1fr));
                                                               align-items: center;
                                                               gap: 8px;
                                                               padding: 8px 10px;
                                                               width: min(100%, 620px);
                                                               border-radius: 14px;
                                                               background: radial-gradient(circle at top left, rgba(62, 129, 246, 0.1), transparent 38%), linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
                                                               border: 1px solid rgba(255, 255, 255, 0.1);
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 26px rgba(0, 0, 0, 0.24);
                                                               position: relative;
                                                               overflow: hidden;
                                                           }

                                                           .create-top-switch::before {
                                                               content: "";
                                                               position: absolute;
                                                               inset: 0;
                                                               background: radial-gradient(circle at 18% 22%, rgba(120, 196, 255, 0.18), transparent 36%);
                                                               pointer-events: none;
                                                           }

                                                           .create-tab-btn {
                                                               border: 1px solid transparent;
                                                               background: rgba(255, 255, 255, 0.04);
                                                               color: var(--text-muted);
                                                               width: 100%;
                                                               min-width: 0;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               border-radius: 999px;
                                                               padding: 8px 14px;
                                                               font-size: 0.78rem;
                                                               font-weight: 700;
                                                               letter-spacing: 0.01em;
                                                               white-space: nowrap;
                                                               cursor: pointer;
                                                               transition: all 0.25s var(--ease);
                                                               position: relative;
                                                               z-index: 1;
                                                           }

                                                           .create-tab-btn:hover {
                                                               border-color: rgba(62, 129, 246, 0.3);
                                                               color: var(--text-main);
                                                               background: rgba(62, 129, 246, 0.12);
                                                               transform: translateY(-1px);
                                                           }

                                                           .create-tab-btn.active {
                                                               color: #ffffff;
                                                               border-color: rgba(62, 129, 246, 0.5);
                                                               background: linear-gradient(130deg, rgba(62, 129, 246, 0.78), rgba(62, 129, 246, 0.56));
                                                               box-shadow: 0 8px 16px rgba(62, 129, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
                                                               animation: none;
                                                           }

                                                           .create-tab-btn-premier {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                           }

                                                           .create-tab-btn-premier .premier-pill {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               padding: 2px 8px;
                                                               border-radius: 999px;
                                                               font-size: 0.62rem;
                                                               font-weight: 800;
                                                               letter-spacing: 0.06em;
                                                               text-transform: uppercase;
                                                               color: #2f2100;
                                                               background: linear-gradient(135deg, #ffd975, #f7b733);
                                                               border: 1px solid rgba(255, 215, 120, 0.72);
                                                               box-shadow: 0 2px 8px rgba(247, 183, 51, 0.3);
                                                           }

                                                           .create-tab-btn-premier.active .premier-pill {
                                                               color: #2b1800;
                                                               background: linear-gradient(135deg, #ffe69d, #ffc14a);
                                                               border-color: rgba(255, 224, 149, 0.86);
                                                               box-shadow: 0 3px 10px rgba(255, 193, 74, 0.4);
                                                           }

                                                           @media (prefers-reduced-motion: reduce) {

                                                               .create-tab-btn,
                                                               .sb-sub-item,
                                                               .sb-group::before {
                                                                   transition: none;
                                                               }

                                                               .create-tab-btn.active {
                                                                   animation: none;
                                                               }
                                                           }

                                                           .badge {
                                                               padding: 6px 14px;
                                                               border-radius: 99px;
                                                               font-size: 0.72rem;
                                                               font-weight: 700;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               gap: 6px;
                                                               background: var(--glass);
                                                               border: 1px solid var(--border);
                                                           }

                                                           .badge-ok {
                                                               color: var(--success);
                                                               border-color: rgba(16, 185, 129, 0.2);
                                                               background: rgba(16, 185, 129, 0.05);
                                                           }

                                                           .badge-warn {
                                                               color: var(--warning);
                                                               border-color: rgba(245, 158, 11, 0.2);
                                                               background: rgba(245, 158, 11, 0.05);
                                                           }

                                                           .cnt {
                                                               flex: 1;
                                                               padding: 40px;
                                                               padding-bottom: 140px;
                                                               overflow-y: auto;
                                                               scroll-behavior: smooth;
                                                           }

                                                           /* 卡片样式 */

                                                           .tab {
                                                               display: none;
                                                               animation: slideUp 0.8s var(--ease);
                                                           }

                                                           .tab.show {
                                                               display: block;
                                                           }

                                                           @keyframes slideUp {
                                                               from {
                                                                   opacity: 0;
                                                                   transform: translateY(30px);
                                                                   filter: blur(10px);
                                                               }

                                                               to {
                                                                   opacity: 1;
                                                                   transform: translateY(0);
                                                                   filter: blur(0);
                                                               }
                                                           }

                                                           .hero {
                                                               margin-bottom: 40px;
                                                           }

                                                           .hero-title {
                                                               font-size: 2.8rem;
                                                               font-weight: 900;
                                                               letter-spacing: -0.05em;
                                                               line-height: 1.1;
                                                           }

                                                           .hero-title span {
                                                               background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
                                                               background-clip: text;
                                                               -webkit-background-clip: text;
                                                               color: transparent;
                                                               filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
                                                           }

                                                           .hero-desc {
                                                               color: var(--text-muted);
                                                               margin-top: 12px;
                                                               font-size: 1.1rem;
                                                               font-weight: 500;
                                                               max-width: 600px;
                                                               line-height: 1.6;
                                                           }

                                                           .dash {
                                                               display: grid;
                                                               grid-template-columns: 1fr 480px;
                                                               gap: 32px;
                                                               align-items: stretch;
                                                           }

                                                           @media(max-width: 1300px) {
                                                               .dash {
                                                                   grid-template-columns: 1fr;
                                                               }
                                                           }

                                                           .card {
                                                               background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
                                                               border: 1px solid var(--border);
                                                               border-radius: 28px;
                                                               padding: 32px;
                                                               transition: all 0.5s var(--ease);
                                                               box-shadow: var(--shadow-soft);
                                                               position: relative;
                                                               overflow: hidden;
                                                           }

                                                           .card:hover {
                                                               border-color: var(--border-bright);
                                                               background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
                                                               transform: translateY(-4px);
                                                               box-shadow: var(--shadow-lift);
                                                           }

                                                           .card-t {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 14px;
                                                               font-weight: 800;
                                                               font-size: 1.1rem;
                                                               margin-bottom: 28px;
                                                               color: var(--text-main);
                                                               letter-spacing: -0.01em;
                                                           }

                                                           .card-t i {
                                                               width: 32px;
                                                               height: 32px;
                                                               background: var(--glass);
                                                               border-radius: 8px;
                                                               display: grid;
                                                               place-items: center;
                                                               font-size: 0.9rem;
                                                               color: var(--primary);
                                                           }

                                                           /* 输入控件 */

                                                           .chip-row {
                                                               display: flex;
                                                               flex-wrap: wrap;
                                                               gap: 8px;
                                                               margin-top: 10px;
                                                           }

                                                           .chip {
                                                               padding: 6px 10px;
                                                               border-radius: 999px;
                                                               border: 1px solid var(--border);
                                                               background: rgba(255, 255, 255, 0.03);
                                                               color: var(--text-muted);
                                                               font-size: 0.72rem;
                                                               font-weight: 700;
                                                               cursor: pointer;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .chip:hover {
                                                               background: var(--glass-hover);
                                                               color: var(--text-main);
                                                               border-color: var(--border-bright);
                                                               transform: translateY(-1px);
                                                           }

                                                           .chip:active {
                                                               transform: translateY(0);
                                                           }

                                                           .fg {
                                                               margin-bottom: 18px;
                                                           }

                                                           .fg label {
                                                               display: block;
                                                               margin-bottom: 10px;
                                                               font-size: 0.78rem;
                                                               color: rgba(248, 250, 252, 0.62);
                                                               font-weight: 800;
                                                               letter-spacing: 0.06em;
                                                               text-transform: uppercase;
                                                           }

                                                           input,
                                                           select,
                                                           textarea {
                                                               width: 100%;
                                                               padding: 14px 16px;
                                                               border-radius: 14px;
                                                               background: rgba(0, 0, 0, 0.22);
                                                               border: 1px solid rgba(255, 255, 255, 0.09);
                                                               color: var(--text-main);
                                                               font-family: inherit;
                                                               font-size: 0.95rem;
                                                               transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
                                                           }

                                                           input::placeholder,
                                                           textarea::placeholder {
                                                               color: rgba(248, 250, 252, 0.35);
                                                           }

                                                           input:hover,
                                                           select:hover,
                                                           textarea:hover {
                                                               border-color: rgba(255, 255, 255, 0.16);
                                                               background: rgba(0, 0, 0, 0.28);
                                                           }

                                                           input:focus,
                                                           select:focus,
                                                           textarea:focus {
                                                               outline: none;
                                                               border-color: rgba(62, 129, 246, 0.65);
                                                               background: rgba(0, 0, 0, 0.32);
                                                               box-shadow: 0 0 0 4px rgba(62, 129, 246, 0.18);
                                                           }

                                                           textarea {
                                                               resize: vertical;
                                                               min-height: 96px;
                                                           }

                                                           .mode-sel {
                                                               display: flex;
                                                               gap: 4px;
                                                               padding: 4px;
                                                               background: rgba(0, 0, 0, 0.2);
                                                               border-radius: 99px;
                                                               border: 1px solid var(--border);
                                                               margin-bottom: 24px;
                                                           }

                                                           .mode-btn {
                                                               flex: 1;
                                                               padding: 10px;
                                                               border: none;
                                                               background: transparent;
                                                               color: var(--text-muted);
                                                               cursor: pointer;
                                                               border-radius: 99px;
                                                               font-size: 0.8rem;
                                                               font-weight: 700;
                                                               transition: all 0.4s var(--ease);
                                                           }

                                                           .mode-btn.active {
                                                               background: white;
                                                               color: black;
                                                               box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
                                                           }

                                                           .podcast-tabs.mode-sel {
                                                               display: inline-flex !important;
                                                               width: auto !important;
                                                               max-width: max-content !important;
                                                               align-self: flex-start;
                                                               margin-top: 2px;
                                                               margin-left: 2px;
                                                               padding: 3px !important;
                                                               gap: 3px !important;
                                                               border-radius: 999px !important;
                                                               background: rgba(255, 255, 255, 0.045);
                                                               border: 1px solid rgba(255, 255, 255, 0.15);
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
                                                           }

                                                           .podcast-tabs.mode-sel .mode-btn {
                                                               flex: 0 0 auto !important;
                                                               width: auto !important;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               gap: 6px;
                                                               min-height: 34px !important;
                                                               padding: 7px 14px !important;
                                                               border-radius: 999px;
                                                               font-size: 0.78rem;
                                                               font-weight: 800;
                                                               letter-spacing: 0.01em;
                                                               line-height: 1;
                                                               transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
                                                           }

                                                           .podcast-tabs.mode-sel .mode-btn i {
                                                               font-size: 0.68rem;
                                                               opacity: 0.82;
                                                           }

                                                           .podcast-tabs.mode-sel .mode-btn.active {
                                                               border-radius: 999px;
                                                               box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12);
                                                           }

                                                           .podcast-tabs.mode-sel .mode-btn:hover {
                                                               transform: translateY(-1px);
                                                           }

                                                           .podcast-hero {
                                                               margin-bottom: 24px;
                                                               padding: 24px 26px;
                                                               border: 1px solid rgba(255, 255, 255, 0.08);
                                                               border-radius: 26px;
                                                               background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
                                                               box-shadow: var(--shadow-soft);
                                                           }

                                                           .pd-page-generate {
                                                               padding-top: 4px;
                                                           }

                                                           .podcast-dash {
                                                               grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
                                                               gap: 26px;
                                                               align-items: start;
                                                           }

                                                           .pd-config-card,
                                                           .pd-output-card,
                                                           .pd-library-card {
                                                               background: radial-gradient(circle at top left, rgba(62, 129, 246, 0.08), transparent 30%), linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
                                                           }

                                                           .pd-library-card {
                                                               overflow: visible;
                                                           }

                                                           .pd-config-card::before,
                                                           .pd-output-card::before,
                                                           .pd-library-card::before {
                                                               content: '';
                                                               position: absolute;
                                                               inset: 0;
                                                               pointer-events: none;
                                                               background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.03));
                                                           }

                                                           .pd-config-card>*,
                                                           .pd-output-card>*,
                                                           .pd-library-card>* {
                                                               position: relative;
                                                               z-index: 1;
                                                           }

                                                           .pd-source-switch {
                                                               padding: 5px;
                                                               gap: 5px;
                                                               border-radius: 16px;
                                                               background: rgba(255, 255, 255, 0.03);
                                                           }

                                                           .pd-source-switch .mode-btn {
                                                               min-height: 38px;
                                                               border-radius: 12px;
                                                               font-size: 0.8rem;
                                                           }

                                                           .pd-role-grid,
                                                           .pd-meta-grid,
                                                           .pd-engine-grid {
                                                               margin-top: 2px;
                                                           }

                                                           .pd-voice-grid {
                                                               margin: 2px 0 6px;
                                                           }

                                                           .pd-voice-picker {
                                                               padding: 16px;
                                                               border: 1px solid rgba(255, 255, 255, 0.08);
                                                               border-radius: 18px;
                                                               background: rgba(255, 255, 255, 0.025);
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
                                                           }

                                                           .pd-voice-desc {
                                                               min-height: 34px;
                                                               font-size: 0.76rem;
                                                               line-height: 1.55;
                                                           }

                                                           .pd-preview-row {
                                                               padding-top: 2px;
                                                           }

                                                           .pd-preview-row .btn.btn-s {
                                                               min-width: 100px;
                                                               min-height: 34px;
                                                               padding: 8px 12px;
                                                           }

                                                           .pd-preview-row audio {
                                                               max-width: 200px !important;
                                                               height: 40px;
                                                               margin-top: 0;
                                                           }

                                                           .pd-output-card {
                                                               min-height: 100%;
                                                           }

                                                           .pd-output-card .out-box {
                                                               min-height: 320px;
                                                               padding: 24px;
                                                               background: radial-gradient(circle at top, rgba(45, 212, 191, 0.08), transparent 34%), rgba(255, 255, 255, 0.015);
                                                           }

                                                           .pd-page-library {
                                                               padding-top: 4px !important;
                                                           }

                                                           .pd-voice-modal-backdrop {
                                                               position: fixed;
                                                               inset: 0;
                                                               background: rgba(0, 0, 0, 0.72);
                                                               backdrop-filter: blur(4px);
                                                               z-index: 2010;
                                                           }

                                                           .pd-voice-modal-backdrop[hidden] {
                                                               display: none !important;
                                                           }

                                                           .pd-voice-modal {
                                                               position: fixed;
                                                               top: 50%;
                                                               left: 50%;
                                                               transform: translate(-50%, -50%);
                                                               width: min(1180px, calc(100vw - 36px));
                                                               max-height: calc(100vh - 36px);
                                                               border-radius: 20px;
                                                               border: 1px solid rgba(255, 255, 255, 0.14);
                                                               background: linear-gradient(180deg, rgba(8, 11, 18, 0.98), rgba(5, 8, 12, 0.98));
                                                               box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
                                                               z-index: 2020;
                                                               padding: 20px;
                                                               overflow: auto;
                                                           }

                                                           .pd-voice-modal[hidden] {
                                                               display: none !important;
                                                           }

                                                           .pd-voice-modal-close {
                                                               position: absolute;
                                                               top: 12px;
                                                               right: 12px;
                                                               width: 34px;
                                                               height: 34px;
                                                               border-radius: 999px;
                                                               border: 1px solid rgba(255, 255, 255, 0.16);
                                                               background: rgba(255, 255, 255, 0.04);
                                                               color: var(--text-main);
                                                               cursor: pointer;
                                                           }

                                                           .pd-voice-modal-head {
                                                               display: flex;
                                                               gap: 12px;
                                                               justify-content: space-between;
                                                               align-items: end;
                                                               flex-wrap: wrap;
                                                               margin-bottom: 14px;
                                                               padding-right: 40px;
                                                           }

                                                           .pd-voice-modal-title {
                                                               font-size: 1.02rem;
                                                               font-weight: 800;
                                                               color: var(--text-main);
                                                           }

                                                           .pd-voice-modal-tts {
                                                               min-width: 240px;
                                                               max-width: 280px;
                                                           }

                                                           .pd-voice-library-modal {
                                                               padding-top: 6px;
                                                           }

                                                           .pd-library-head {
                                                               align-items: end !important;
                                                           }

                                                           .pd-library-tts {
                                                               position: relative;
                                                               z-index: 4;
                                                               max-width: 260px;
                                                           }

                                                           /* 丝滑按钮 */

                                                           .btn {
                                                               position: relative;
                                                               overflow: hidden;
                                                               padding: 16px 24px;
                                                               border-radius: var(--radius-md);
                                                               border: none;
                                                               font-weight: 800;
                                                               font-size: 0.95rem;
                                                               cursor: pointer;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               gap: 10px;
                                                               transition: all 0.4s var(--ease);
                                                               color: white;
                                                           }

                                                           .btn::after {
                                                               content: "";
                                                               position: absolute;
                                                               top: -50%;
                                                               left: -50%;
                                                               width: 200%;
                                                               height: 200%;
                                                               background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
                                                               transform: rotate(45deg) translate(-100%, -100%);
                                                               transition: transform 0.6s var(--ease);
                                                           }

                                                           .btn:hover:not(:disabled) {
                                                               transform: translateY(-2px);
                                                               filter: brightness(1.1);
                                                           }

                                                           .btn:hover::after {
                                                               transform: rotate(45deg) translate(100%, 100%);
                                                           }

                                                           .btn:active {
                                                               transform: translateY(0);
                                                           }

                                                           .btn:disabled {
                                                               opacity: 0.4;
                                                               cursor: not-allowed;
                                                           }

                                                           .btn-p {
                                                               background: var(--primary);
                                                               box-shadow: 0 8px 24px var(--primary-glow);
                                                           }

                                                           .btn-g {
                                                               background: var(--success);
                                                               box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
                                                           }

                                                           .btn-v {
                                                               background: var(--secondary);
                                                               box-shadow: 0 8px 24px rgba(167, 139, 250, 0.2);
                                                           }

                                                           .btn-s {
                                                               background: var(--glass);
                                                               border: 1px solid var(--border);
                                                               width: auto;
                                                               font-size: 0.8rem;
                                                               padding: 10px 18px;
                                                               color: var(--text-main);
                                                           }

                                                           .gen-action-dock {
                                                               position: fixed;
                                                               bottom: 40px;
                                                               left: 50%;
                                                               margin-left: -116px;
                                                               transform: translateX(-50%);
                                                               width: max-content;
                                                               min-width: 420px;
                                                               padding: 12px;
                                                               border-radius: 20px;
                                                               background: rgba(12, 16, 24, 0.92);
                                                               backdrop-filter: blur(18px) saturate(120%);
                                                               -webkit-backdrop-filter: blur(18px) saturate(120%);
                                                               border: 1px solid rgba(255, 255, 255, 0.12);
                                                               box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
                                                               z-index: 1000;
                                                               transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                           }

                                                           .gen-action-dock:hover {
                                                               background: rgba(14, 19, 28, 0.98);
                                                               border-color: rgba(255, 255, 255, 0.2);
                                                               box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
                                                               transform: translateX(-50%) translateY(-4px);
                                                           }

                                                           .gen-action-dock .btn-dock {
                                                               width: 100%;
                                                               min-height: 54px;
                                                               border-radius: 14px;
                                                               font-size: 1.02rem;
                                                               font-weight: 800;
                                                               letter-spacing: 0.02em;
                                                               margin: 0;
                                                               box-shadow: none;
                                                           }

                                                           .gen-action-dock:hover .btn-p.btn-dock {
                                                               box-shadow: 0 4px 20px var(--primary-glow);
                                                           }

                                                           .gen-action-dock:hover .btn-g.btn-dock {
                                                               box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
                                                           }

                                                           .gen-action-dock:hover .btn-v.btn-dock {
                                                               box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
                                                           }

                                                           .gen-action-dock .btn-dock:disabled {
                                                               opacity: 0.55;
                                                           }

                                                           /* 输出区域 */

                                                           .out-box {
                                                               min-height: 340px;
                                                               position: relative;
                                                               overflow: hidden;
                                                               display: flex;
                                                               flex-direction: column;
                                                               align-items: center;
                                                               justify-content: center;
                                                               border: 1px dashed var(--border);
                                                               border-radius: var(--radius-xl);
                                                               background: rgba(255, 255, 255, 0.01);
                                                               transition: all 0.5s var(--ease);
                                                           }

                                                           .out-box.has-audio {
                                                               border-style: solid;
                                                               background: rgba(16, 185, 129, 0.03);
                                                               border-color: rgba(16, 185, 129, 0.2);
                                                           }

                                                           .out-box.out-box--filled {
                                                               align-items: stretch;
                                                               justify-content: flex-start;
                                                               box-sizing: border-box;
                                                               padding: 18px;
                                                               border-style: solid;
                                                               border-color: rgba(255, 255, 255, 0.14);
                                                               background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), rgba(8, 12, 22, 0.58);
                                                           }

                                                           .out-box.has-audio::before {
                                                               content: '';
                                                               position: absolute;
                                                               inset: 0;
                                                               pointer-events: none;
                                                               background: radial-gradient(circle at 5% 0%, rgba(111, 99, 255, 0.2), transparent 36%), radial-gradient(circle at 100% 100%, rgba(28, 183, 142, 0.14), transparent 42%);
                                                           }

                                                           .track-output-body {
                                                               position: relative;
                                                               z-index: 1;
                                                               width: 100%;
                                                               display: flex;
                                                               flex-direction: column;
                                                               align-items: stretch;
                                                               gap: 12px;
                                                           }

                                                           .track-output-status {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               padding: 8px 10px;
                                                               margin-bottom: 2px;
                                                               border-radius: var(--radius-md);
                                                               border: 1px solid rgba(148, 163, 184, 0.18);
                                                               background: rgba(15, 23, 42, 0.34);
                                                               text-align: left;
                                                               font-size: 0.78rem;
                                                               font-weight: 700;
                                                               letter-spacing: 0.01em;
                                                               color: var(--primary);
                                                           }

                                                           .track-output-status[data-loading='false'] {
                                                               color: var(--success);
                                                               background: rgba(16, 185, 129, 0.12);
                                                               border-color: rgba(16, 185, 129, 0.24);
                                                           }

                                                           .out-state {
                                                               display: flex;
                                                               min-height: 220px;
                                                               padding: 24px 18px;
                                                               flex-direction: column;
                                                               align-items: center;
                                                               justify-content: center;
                                                               text-align: center;
                                                           }

                                                           .out-state-error-icon {
                                                               font-size: 1.55rem;
                                                               margin-bottom: 10px;
                                                           }

                                                           .out-state-text {
                                                               margin-top: 14px;
                                                               max-width: 320px;
                                                               color: var(--text-muted);
                                                               font-size: 0.82rem;
                                                               line-height: 1.45;
                                                               font-weight: 700;
                                                           }

                                                           .out-state-text--error {
                                                               margin-top: 0;
                                                               color: var(--danger);
                                                               font-weight: 600;
                                                           }
                                                           
                                                           /* Inline history panel inside Create Music / Podcast right card */
                                                           
                                                           .inline-hist-card {
                                                               display: flex;
                                                               flex-direction: column;
                                                           }
                                                           
                                                           .inline-hist-card .out-box {
                                                               min-height: 160px;
                                                               flex-shrink: 0;
                                                           }
                                                           
                                                           .inline-hist-section {
                                                               margin-top: 16px;
                                                               padding-top: 14px;
                                                               border-top: 1px solid var(--border);
                                                               display: flex;
                                                               flex-direction: column;
                                                               min-height: 0;
                                                           }
                                                           
                                                           .inline-hist-header {
                                                               display: flex;
                                                               justify-content: space-between;
                                                               align-items: center;
                                                               margin-bottom: 10px;
                                                           }
                                                           
                                                           .inline-hist-title {
                                                               font-size: 0.72rem;
                                                               font-weight: 700;
                                                               text-transform: uppercase;
                                                               letter-spacing: 0.1em;
                                                               color: var(--text-muted);
                                                           }
                                                           
                                                           .inline-hist-list {
                                                               overflow-y: auto;
                                                               max-height: 480px;
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 10px;
                                                           }
                                                           
                                                           .inline-hist-item {
                                                               padding: 10px 12px;
                                                               background: var(--glass);
                                                               border: 1px solid var(--border);
                                                               border-radius: 12px;
                                                               transition: border-color 0.2s var(--ease);
                                                           }
                                                           
                                                           .inline-hist-item:hover {
                                                               border-color: var(--border-bright);
                                                           }
                                                           
                                                           .inline-hist-item-meta {
                                                               display: flex;
                                                               justify-content: space-between;
                                                               align-items: center;
                                                               margin-bottom: 4px;
                                                           }
                                                           
                                                           .inline-hist-item-prompt {
                                                               font-size: 0.78rem;
                                                               color: var(--text-muted);
                                                               overflow: hidden;
                                                               display: -webkit-box;
                                                               -webkit-box-orient: vertical;
                                                               -webkit-line-clamp: 2;
                                                               line-clamp: 2;
                                                               margin: 2px 0 4px;
                                                           }
                                                           
                                                           .inline-hist-list audio {
                                                               height: 28px;
                                                               margin-top: 4px;
                                                           }

                                                           .inline-hist-menu {
                                                               flex-shrink: 0;
                                                           }

                                                           .inline-hist-menu .hist-menu-trigger {
                                                               width: 24px;
                                                               height: 24px;
                                                               font-size: 0.7rem;
                                                           }

                                                           .inline-hist-menu .hist-menu-list {
                                                               min-width: 120px;
                                                           }

                                                           audio {
                                                               width: 100%;
                                                               margin-top: 24px;
                                                               height: 44px;
                                                               border-radius: 12px;
                                                               filter: invert(1) hue-rotate(180deg) opacity(0.85);
                                                           }

                                                           .global-player {
                                                               position: fixed;
                                                               left: 280px;
                                                               right: clamp(120px, 34vw, 560px);
                                                               bottom: 0;
                                                               transform: translateY(calc(100% + 8px));
                                                               width: auto;
                                                               display: grid;
                                                               grid-template-columns: 72px minmax(0, 1fr);
                                                               align-items: center;
                                                               gap: 14px;
                                                               padding: 12px 16px;
                                                               border-radius: 16px 16px 0 0;
                                                               border: 1px solid rgba(255, 255, 255, 0.14);
                                                               border-bottom: 0;
                                                               background: linear-gradient(180deg, rgba(10, 14, 22, 0.98), rgba(7, 11, 18, 0.98));
                                                               box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.28);
                                                               backdrop-filter: blur(10px);
                                                               -webkit-backdrop-filter: blur(10px);
                                                               z-index: 2100;
                                                               opacity: 0;
                                                               pointer-events: none;
                                                               transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
                                                               overflow: hidden;
                                                           }

                                                           .global-player::before {
                                                               content: "";
                                                               position: absolute;
                                                               top: 0;
                                                               left: 0;
                                                               right: 0;
                                                               height: 1px;
                                                               background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
                                                               pointer-events: none;
                                                           }

                                                           .global-player.show {
                                                               transform: translateY(0);
                                                               opacity: 1;
                                                               pointer-events: auto;
                                                           }

                                                           .sb.collapsed~.global-player {
                                                               left: 72px;
                                                           }

                                                           body.global-player-visible .gen-action-dock {
                                                               bottom: 112px;
                                                           }

                                                           .global-player-art {
                                                               width: 72px;
                                                               height: 72px;
                                                               border-radius: 20px;
                                                               background: linear-gradient(135deg, rgba(62, 129, 246, 0.24), rgba(16, 185, 129, 0.22));
                                                               border: 1px solid rgba(255, 255, 255, 0.1);
                                                               background-size: cover;
                                                               background-position: center;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               color: rgba(248, 250, 252, 0.86);
                                                               font-size: 1.25rem;
                                                               overflow: hidden;
                                                               box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
                                                           }

                                                           .global-player-art.has-image i {
                                                               display: none;
                                                           }

                                                           .global-player-main {
                                                               min-width: 0;
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 8px;
                                                           }

                                                           .global-player-meta {
                                                               min-width: 0;
                                                           }

                                                           .global-player-title {
                                                               font-size: 0.95rem;
                                                               font-weight: 800;
                                                               color: var(--text-main);
                                                               white-space: nowrap;
                                                               overflow: hidden;
                                                               text-overflow: ellipsis;
                                                           }

                                                           .global-player-subtitle {
                                                               margin-top: 2px;
                                                               font-size: 0.75rem;
                                                               color: var(--text-muted);
                                                               white-space: nowrap;
                                                               overflow: hidden;
                                                               text-overflow: ellipsis;
                                                           }

                                                           .global-player-controls {
                                                               display: grid;
                                                               grid-template-columns: auto auto auto auto minmax(120px, 1fr) auto;
                                                               align-items: center;
                                                               gap: 10px;
                                                           }

                                                           .global-player-btn {
                                                               width: 40px;
                                                               height: 40px;
                                                               border-radius: 999px;
                                                               border: 1px solid rgba(255, 255, 255, 0.1);
                                                               background: rgba(255, 255, 255, 0.05);
                                                               color: var(--text-main);
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               cursor: pointer;
                                                               transition: all 0.22s var(--ease);
                                                           }

                                                           .global-player-btn:hover {
                                                               transform: translateY(-1px);
                                                               border-color: rgba(62, 129, 246, 0.4);
                                                               background: rgba(62, 129, 246, 0.14);
                                                           }

                                                           .global-player-btn:disabled {
                                                               opacity: 0.35;
                                                               cursor: not-allowed;
                                                               transform: none;
                                                           }

                                                           .global-player-time {
                                                               font-size: 0.76rem;
                                                               font-variant-numeric: tabular-nums;
                                                               color: rgba(248, 250, 252, 0.72);
                                                           }

                                                           .global-player-progress {
                                                               width: 100%;
                                                               appearance: none;
                                                               -webkit-appearance: none;
                                                               height: 5px;
                                                               border-radius: 999px;
                                                               background: rgba(255, 255, 255, 0.1);
                                                               outline: none;
                                                               cursor: pointer;
                                                           }

                                                           .global-player-progress::-webkit-slider-thumb {
                                                               -webkit-appearance: none;
                                                               width: 14px;
                                                               height: 14px;
                                                               border-radius: 999px;
                                                               background: #ffffff;
                                                               box-shadow: 0 0 0 4px rgba(62, 129, 246, 0.18);
                                                           }

                                                           .global-player-progress::-moz-range-thumb {
                                                               width: 14px;
                                                               height: 14px;
                                                               border: 0;
                                                               border-radius: 999px;
                                                               background: #ffffff;
                                                               box-shadow: 0 0 0 4px rgba(62, 129, 246, 0.18);
                                                           }

                                                           .pd-voice-lib-audio {
                                                               margin-top: 0;
                                                               height: 34px;
                                                               width: 220px;
                                                               filter: none;
                                                               opacity: 1;
                                                               display: block;
                                                           }

                                                           .pd-voice-library-shell {
                                                               display: flex;
                                                               flex-direction: column;
                                                               align-items: stretch;
                                                               gap: 18px;
                                                               text-align: left;
                                                           }

                                                           .pd-voice-library-toolbar {
                                                               display: flex;
                                                               flex-wrap: wrap;
                                                               gap: 10px;
                                                               align-items: center;
                                                           }

                                                           .pd-voice-library-chip {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               min-height: 34px;
                                                               padding: 7px 12px;
                                                               border-radius: 999px;
                                                               border: 1px solid rgba(148, 163, 184, 0.18);
                                                               background: rgba(255, 255, 255, 0.035);
                                                               color: var(--text-muted);
                                                               font-size: 0.78rem;
                                                               font-weight: 700;
                                                           }

                                                           .pd-voice-library-chip.is-engine {
                                                               color: var(--text-main);
                                                               background: rgba(45, 212, 191, 0.1);
                                                               border-color: rgba(45, 212, 191, 0.22);
                                                           }

                                                           .pd-voice-library-chip.is-a {
                                                               color: #cffafe;
                                                               background: rgba(8, 145, 178, 0.16);
                                                               border-color: rgba(34, 211, 238, 0.22);
                                                           }

                                                           .pd-voice-library-chip.is-b {
                                                               color: #ede9fe;
                                                               background: rgba(109, 40, 217, 0.14);
                                                               border-color: rgba(167, 139, 250, 0.22);
                                                           }

                                                           .pd-voice-library-layout {
                                                               display: block;
                                                           }

                                                           .pd-voice-library-column {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 18px;
                                                               min-width: 0;
                                                           }

                                                           .pd-voice-library-main-column {
                                                               gap: 20px;
                                                           }

                                                           .pd-voice-library-shell.is-google .pd-voice-library-main-column {
                                                               gap: 16px;
                                                           }

                                                           .pd-voice-profile-section {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 12px;
                                                           }

                                                           .pd-voice-section-title {
                                                               margin: 0;
                                                               font-weight: 800;
                                                               font-size: 0.98rem;
                                                               color: var(--text-main);
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 10px;
                                                           }

                                                           .pd-voice-section-title::before {
                                                               content: '';
                                                               width: 10px;
                                                               height: 10px;
                                                               border-radius: 999px;
                                                               flex: 0 0 auto;
                                                               background: rgba(148, 163, 184, 0.65);
                                                               box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
                                                           }

                                                           .pd-voice-section-title.is-zh-section::before {
                                                               background: rgba(245, 158, 11, 0.9);
                                                               box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
                                                           }

                                                           .pd-voice-section-title.is-en-section::before {
                                                               background: rgba(59, 130, 246, 0.9);
                                                               box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
                                                           }

                                                           .pd-voice-library-section-grid {
                                                               display: grid;
                                                               gap: 18px;
                                                               grid-template-columns: 1fr;
                                                           }

                                                           .pd-voice-library-shell.is-google .pd-voice-profile-section,
                                                           .pd-voice-library-shell.is-qwen .pd-voice-profile-section {
                                                               padding: 16px;
                                                               border-radius: 18px;
                                                               border: 1px solid rgba(148, 163, 184, 0.18);
                                                               background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
                                                               box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
                                                           }

                                                           .pd-voice-library-shell.is-google .pd-voice-item {
                                                               align-items: flex-start;
                                                           }

                                                           .pd-voice-library-shell.is-google .pd-voice-list {
                                                               gap: 12px;
                                                           }

                                                           .pd-voice-list {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 12px;
                                                           }

                                                           .pd-voice-item {
                                                               display: flex;
                                                               justify-content: space-between;
                                                               align-items: flex-start;
                                                               gap: 14px;
                                                               flex-wrap: wrap;
                                                               padding: 15px 16px;
                                                               border-radius: 16px;
                                                               border: 1px solid rgba(148, 163, 184, 0.25);
                                                               background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
                                                               transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
                                                           }

                                                           .pd-voice-item:hover {
                                                               transform: translateY(-2px);
                                                               border-color: rgba(94, 234, 212, 0.26);
                                                               background: rgba(255, 255, 255, 0.04);
                                                               box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
                                                           }

                                                           .pd-voice-item.is-selected {
                                                               border-color: rgba(45, 212, 191, 0.5);
                                                               background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 34%), rgba(255, 255, 255, 0.06);
                                                               box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(45, 212, 191, 0.2);
                                                           }

                                                           .pd-voice-item.is-just-assigned {
                                                               animation: pd-item-glow 0.45s ease-out;
                                                           }

                                                           @keyframes pd-item-glow {
                                                               0% {
                                                                   transform: translateY(-1px) scale(0.992);
                                                                   box-shadow: 0 0 0 rgba(34, 197, 94, 0);
                                                               }

                                                               45% {
                                                                   transform: translateY(-3px) scale(1.008);
                                                                   box-shadow: 0 16px 34px rgba(16, 185, 129, 0.34), 0 0 0 1px rgba(16, 185, 129, 0.36);
                                                               }

                                                               100% {
                                                                   transform: translateY(0) scale(1);
                                                               }
                                                           }

                                                           .pd-voice-item-copy {
                                                               min-width: 0;
                                                               flex: 1 1 280px;
                                                           }

                                                           .pd-voice-item-index {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               width: 28px;
                                                               height: 28px;
                                                               border-radius: 999px;
                                                               background: rgba(255, 255, 255, 0.06);
                                                               border: 1px solid rgba(148, 163, 184, 0.18);
                                                               color: var(--text-muted);
                                                               font-size: 0.72rem;
                                                               font-weight: 800;
                                                               flex: 0 0 auto;
                                                           }

                                                           .pd-voice-item-head {
                                                               display: flex;
                                                               align-items: flex-start;
                                                               justify-content: space-between;
                                                               gap: 12px;
                                                               flex-wrap: wrap;
                                                           }

                                                           .pd-voice-item-name-row {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               flex-wrap: wrap;
                                                           }

                                                           .pd-voice-item-name {
                                                               margin: 0;
                                                               font-size: 0.92rem;
                                                               font-weight: 800;
                                                               color: var(--text-main);
                                                           }

                                                           .pd-voice-item-meta {
                                                               display: flex;
                                                               flex-wrap: wrap;
                                                               gap: 6px;
                                                               justify-content: flex-end;
                                                           }

                                                           .pd-voice-meta-tag {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               min-height: 24px;
                                                               padding: 3px 8px;
                                                               border-radius: 999px;
                                                               background: rgba(255, 255, 255, 0.05);
                                                               border: 1px solid rgba(148, 163, 184, 0.18);
                                                               color: var(--text-muted);
                                                               font-size: 0.68rem;
                                                               font-weight: 700;
                                                           }

                                                           .pd-voice-role-chip {
                                                               display: inline-flex;
                                                               align-items: center;
                                                               min-height: 24px;
                                                               padding: 3px 8px;
                                                               border-radius: 999px;
                                                               font-size: 0.68rem;
                                                               font-weight: 800;
                                                               letter-spacing: 0.03em;
                                                               border: 1px solid transparent;
                                                               animation: pd-chip-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
                                                           }

                                                           .pd-voice-role-chip.is-fresh {
                                                               animation-duration: 0.52s;
                                                           }

                                                           @keyframes pd-chip-pop {
                                                               0% {
                                                                   transform: scale(0.6);
                                                                   opacity: 0;
                                                               }

                                                               60% {
                                                                   transform: scale(1.1);
                                                                   opacity: 1;
                                                               }

                                                               100% {
                                                                   transform: scale(1);
                                                                   opacity: 1;
                                                               }
                                                           }

                                                           .pd-voice-role-chip.is-a {
                                                               color: #cffafe;
                                                               background: rgba(8, 145, 178, 0.18);
                                                               border-color: rgba(34, 211, 238, 0.28);
                                                           }

                                                           .pd-voice-role-chip.is-b {
                                                               color: #ede9fe;
                                                               background: rgba(109, 40, 217, 0.16);
                                                               border-color: rgba(167, 139, 250, 0.28);
                                                           }

                                                           .pd-voice-item-desc {
                                                               margin: 5px 0 0;
                                                               color: var(--text-muted);
                                                               font-size: 0.76rem;
                                                               line-height: 1.5;
                                                           }

                                                           .pd-voice-item-actions {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               flex: 0 0 auto;
                                                               flex-wrap: wrap;
                                                               justify-content: flex-start;
                                                               margin-left: auto;
                                                           }

                                                           .pd-voice-item-actions .btn {
                                                               min-width: 88px;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .pd-voice-item-actions .pd-voice-lib-assign.is-current {
                                                               color: #d1fae5;
                                                               border-color: rgba(16, 185, 129, 0.48);
                                                               background: linear-gradient(180deg, rgba(16, 185, 129, 0.26), rgba(5, 150, 105, 0.24));
                                                               box-shadow: 0 6px 14px rgba(16, 185, 129, 0.26);
                                                           }

                                                           .pd-voice-item-actions .btn.is-success {
                                                               background: rgba(16, 185, 129, 0.15) !important;
                                                               color: #34d399 !important;
                                                               border-color: rgba(52, 211, 153, 0.4) !important;
                                                           }

                                                           .pd-voice-lib-preview.btn.btn-s {
                                                               min-height: 34px;
                                                               padding: 7px 11px;
                                                               border-radius: 12px;
                                                           }

                                                           .pd-voice-lib-assign.btn.btn-s {
                                                               min-height: 34px;
                                                               padding: 7px 11px;
                                                               border-radius: 12px;
                                                               background: rgba(14, 165, 233, 0.12);
                                                               border: 1px solid rgba(56, 189, 248, 0.28);
                                                               color: var(--text-main);
                                                           }

                                                           .pd-voice-lib-assign.btn.btn-s:hover {
                                                               background: rgba(14, 165, 233, 0.18);
                                                               border-color: rgba(125, 211, 252, 0.42);
                                                           }

                                                           /* ── Custom Podcast Script Builder ── */
                                                           .pd-page-custom {
                                                               padding-top: 4px;
                                                           }

                                                           .pd-custom-card {
                                                               background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.08), transparent 30%), linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
                                                               position: relative;
                                                               overflow: visible;
                                                           }

                                                           .pd-custom-card::before {
                                                               content: '';
                                                               position: absolute;
                                                               inset: 0;
                                                               border-radius: inherit;
                                                               padding: 1px;
                                                               background: linear-gradient(165deg, rgba(139, 92, 246, 0.25), transparent 50%);
                                                               -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                                                               mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                                                               -webkit-mask-composite: xor;
                                                               mask-composite: exclude;
                                                               pointer-events: none;
                                                           }

                                                           .pd-custom-header {
                                                               margin-bottom: 20px;
                                                           }

                                                           .pd-custom-title {
                                                               font-size: 1.05rem;
                                                               font-weight: 800;
                                                               color: var(--text);
                                                               margin-bottom: 6px;
                                                           }

                                                           .pd-custom-title i {
                                                               color: #8b5cf6;
                                                               margin-right: 6px;
                                                           }

                                                           .pd-custom-desc {
                                                               font-size: 0.82rem;
                                                               color: var(--text-muted);
                                                               margin: 0;
                                                           }

                                                           .pd-custom-settings {
                                                               display: grid;
                                                               grid-template-columns: 1fr;
                                                               gap: 16px;
                                                               margin-bottom: 20px;
                                                           }

                                                           .pd-custom-segments {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 12px;
                                                               margin-bottom: 16px;
                                                               max-height: 520px;
                                                               overflow-y: auto;
                                                               padding-right: 4px;
                                                           }

                                                           .pd-custom-empty {
                                                               display: flex;
                                                               flex-direction: column;
                                                               align-items: center;
                                                               justify-content: center;
                                                               padding: 36px 20px;
                                                               color: var(--text-muted);
                                                               font-size: 0.85rem;
                                                               text-align: center;
                                                           }

                                                           .pd-custom-segment {
                                                               background: rgba(255, 255, 255, 0.03);
                                                               border: 1px solid rgba(255, 255, 255, 0.08);
                                                               border-radius: 14px;
                                                               padding: 14px 16px;
                                                               transition: border-color 0.2s, box-shadow 0.2s;
                                                           }

                                                           .pd-custom-segment:hover {
                                                               border-color: rgba(139, 92, 246, 0.25);
                                                               box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.08);
                                                           }

                                                           .pd-seg-header {
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               margin-bottom: 10px;
                                                           }

                                                           .pd-seg-number {
                                                               font-size: 0.75rem;
                                                               font-weight: 700;
                                                               color: #8b5cf6;
                                                               background: rgba(139, 92, 246, 0.12);
                                                               padding: 2px 10px;
                                                               border-radius: 8px;
                                                           }

                                                           .pd-seg-actions {
                                                               display: flex;
                                                               gap: 4px;
                                                           }

                                                           .pd-seg-actions .btn.btn-xs {
                                                               padding: 3px 7px;
                                                               font-size: 0.7rem;
                                                               min-height: 26px;
                                                               border-radius: 8px;
                                                               background: rgba(255, 255, 255, 0.05);
                                                               border: 1px solid rgba(255, 255, 255, 0.1);
                                                               color: var(--text-muted);
                                                               cursor: pointer;
                                                               transition: 0.15s;
                                                           }

                                                           .pd-seg-actions .btn.btn-xs:hover:not([disabled]) {
                                                               background: rgba(255, 255, 255, 0.1);
                                                               color: var(--text);
                                                           }

                                                           .pd-seg-actions .pd-seg-remove:hover:not([disabled]) {
                                                               background: rgba(239, 68, 68, 0.15);
                                                               color: #f87171;
                                                               border-color: rgba(239, 68, 68, 0.3);
                                                           }

                                                           .pd-seg-actions .btn.btn-xs[disabled] {
                                                               opacity: 0.3;
                                                               cursor: not-allowed;
                                                           }

                                                           .pd-seg-body {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 10px;
                                                           }

                                                           .pd-seg-text {
                                                               width: 100%;
                                                               resize: vertical;
                                                               min-height: 48px;
                                                               font-size: 0.88rem;
                                                               border-radius: 10px;
                                                               padding: 10px 12px;
                                                               background: rgba(0, 0, 0, 0.2);
                                                               border: 1px solid rgba(255, 255, 255, 0.08);
                                                               color: var(--text);
                                                               font-family: inherit;
                                                               transition: border-color 0.2s;
                                                           }

                                                           .pd-seg-text:focus {
                                                               border-color: rgba(139, 92, 246, 0.4);
                                                               outline: none;
                                                           }

                                                           .pd-seg-controls {
                                                               display: grid;
                                                               grid-template-columns: 1fr auto;
                                                               gap: 10px;
                                                               align-items: end;
                                                           }

                                                           .pd-seg-controls .pd-seg-actions {
                                                               justify-content: flex-end;
                                                               align-items: flex-end;
                                                           }

                                                           .pd-seg-voice-wrap,
                                                           .pd-seg-role-wrap {
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 4px;
                                                           }

                                                           .pd-seg-voice-wrap label,
                                                           .pd-seg-role-wrap label {
                                                               font-size: 0.72rem;
                                                               color: var(--text-muted);
                                                               font-weight: 600;
                                                           }

                                                           .pd-seg-voice,
                                                           .pd-seg-role {
                                                               font-size: 0.82rem;
                                                               padding: 6px 10px;
                                                               border-radius: 8px;
                                                               background: rgba(0, 0, 0, 0.2);
                                                               border: 1px solid rgba(255, 255, 255, 0.08);
                                                               color: var(--text);
                                                           }

                                                           .pd-seg-role {
                                                               width: 120px;
                                                           }

                                                           .pd-custom-add-row {
                                                               display: flex;
                                                               justify-content: center;
                                                           }

                                                           .pd-custom-add-btn {
                                                               background: rgba(139, 92, 246, 0.12) !important;
                                                               border: 1px dashed rgba(139, 92, 246, 0.35) !important;
                                                               color: #a78bfa !important;
                                                               padding: 8px 24px !important;
                                                               border-radius: 10px !important;
                                                               font-weight: 600;
                                                               cursor: pointer;
                                                               transition: 0.2s;
                                                           }

                                                           .pd-custom-add-btn:hover {
                                                               background: rgba(139, 92, 246, 0.2) !important;
                                                               border-color: rgba(139, 92, 246, 0.5) !important;
                                                           }

                                                           @media (max-width: 900px) {
                                                               .podcast-hero {
                                                                   padding: 22px;
                                                               }

                                                               .podcast-dash {
                                                                   grid-template-columns: 1fr;
                                                                   gap: 20px;
                                                               }

                                                               .pd-voice-library-layout {
                                                                   grid-template-columns: 1fr;
                                                               }

                                                               .pd-voice-library-column:first-child,
                                                               .pd-voice-library-column:last-child {
                                                                   padding-left: 0;
                                                                   padding-right: 0;
                                                               }

                                                               .pd-library-tts {
                                                                   width: 100%;
                                                                   max-width: none;
                                                               }

                                                               .pd-custom-settings {
                                                                   grid-template-columns: 1fr;
                                                               }

                                                               .pd-seg-controls {
                                                                   grid-template-columns: 1fr;
                                                               }

                                                               .pd-seg-role {
                                                                   width: 100%;
                                                               }
                                                           }

                                                           @media (max-width: 640px) {
                                                               .podcast-hero {
                                                                   padding: 18px;
                                                                   border-radius: 22px;
                                                               }

                                                               .podcast-tabs.mode-sel {
                                                                   width: 100% !important;
                                                                   max-width: 100% !important;
                                                                   flex-wrap: wrap;
                                                               }

                                                               .podcast-tabs.mode-sel .mode-btn {
                                                                   flex: 1 1 calc(50% - 4px) !important;
                                                               }

                                                               .pd-source-switch {
                                                                   flex-wrap: wrap;
                                                               }

                                                               .pd-source-switch .mode-btn {
                                                                   flex: 1 1 calc(50% - 6px);
                                                                   min-height: 36px;
                                                               }

                                                               .pd-voice-picker {
                                                                   padding: 15px;
                                                               }

                                                               .pd-preview-row {
                                                                   flex-direction: column;
                                                                   align-items: stretch !important;
                                                               }

                                                               .pd-library-head {
                                                                   align-items: stretch !important;
                                                               }

                                                               .pd-voice-item {
                                                                   padding: 13px;
                                                               }

                                                               .pd-voice-item-head {
                                                                   align-items: flex-start;
                                                               }

                                                               .pd-voice-item-actions,
                                                               .pd-voice-item-meta {
                                                                   width: 100%;
                                                                   justify-content: flex-start;
                                                               }

                                                               .pd-voice-item-actions .btn {
                                                                   flex: 1 1 calc(50% - 4px);
                                                               }

                                                               .pd-voice-profile-section {
                                                                   padding: 14px;
                                                               }

                                                               .pd-voice-lib-audio {
                                                                   width: 100%;
                                                                   max-width: 220px;
                                                               }

                                                               .global-player {
                                                                   width: calc(100vw - 18px);
                                                                   left: 9px;
                                                                   right: 9px;
                                                                   bottom: 0;
                                                                   transform: translateY(calc(100% + 30px));
                                                                   grid-template-columns: 56px minmax(0, 1fr);
                                                                   gap: 10px;
                                                                   padding: 10px 11px;
                                                                   border-radius: 16px 16px 0 0;
                                                                   border-bottom: 1px solid rgba(255, 255, 255, 0.12);
                                                               }

                                                               .global-player.show {
                                                                   transform: translateY(0);
                                                               }

                                                               .global-player-art {
                                                                   width: 56px;
                                                                   height: 56px;
                                                                   border-radius: 16px;
                                                               }

                                                               .global-player-main {
                                                                   gap: 8px;
                                                               }

                                                               .global-player-controls {
                                                                   grid-template-columns: auto auto auto auto minmax(0, 1fr) auto;
                                                                   gap: 7px;
                                                               }

                                                               body.global-player-visible .gen-action-dock {
                                                                   bottom: 108px;
                                                               }
                                                           }

                                                           /* QQ音乐风格结果列表 */

                                                           .track-list {
                                                               width: 100%;
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 10px;
                                                           }

                                                           .track-row {
                                                               display: flex;
                                                               gap: 12px;
                                                               padding: 10px 12px;
                                                               border-radius: 16px;
                                                               background: linear-gradient(165deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.38));
                                                               border: 1px solid rgba(148, 163, 184, 0.25);
                                                               align-items: flex-start;
                                                               box-shadow: 0 8px 18px rgba(2, 6, 23, 0.36);
                                                               transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
                                                           }

                                                           .track-row:hover {
                                                               border-color: rgba(148, 163, 184, 0.32);
                                                               transform: translateY(-1px);
                                                               box-shadow: 0 12px 22px rgba(2, 6, 23, 0.42);
                                                           }

                                                           .track-row.skeleton {
                                                               opacity: 0.9;
                                                               pointer-events: none;
                                                           }

                                                           .track-cover {
                                                               position: relative;
                                                               width: 54px;
                                                               height: 54px;
                                                               border-radius: 14px;
                                                               overflow: hidden;
                                                               flex-shrink: 0;
                                                               background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.5), transparent), radial-gradient(circle at 100% 100%, rgba(94, 234, 212, 0.4), transparent);
                                                               border: 1px solid rgba(148, 163, 184, 0.36);
                                                           }

                                                           .track-cover-bg {
                                                               position: absolute;
                                                               inset: 0;
                                                               background-size: cover;
                                                               background-position: center;
                                                               /* 默认稍微提亮，让图片更清晰 */
                                                               filter: brightness(1.05);
                                                           }

                                                           .track-cover-overlay {
                                                               position: absolute;
                                                               inset: 0;
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               /* 默认很浅的遮罩，几乎不变暗 */
                                                               background: radial-gradient(circle at 30% 0%, rgba(15, 23, 42, 0.12), transparent), radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.28));
                                                               transition: background 0.25s var(--ease);
                                                           }

                                                           /* 暂停时或播放中悬停时，加深遮罩效果 */

                                                           .track-cover[data-playing="false"] .track-cover-overlay,
                                                           .track-cover.hovering .track-cover-overlay {
                                                               background: radial-gradient(circle at 30% 0%, rgba(15, 23, 42, 0.26), transparent), radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.7));
                                                           }

                                                           .track-cover-play {
                                                               width: 22px;
                                                               height: 22px;
                                                               border-radius: 999px;
                                                               border: 1px solid rgba(248, 250, 252, 0.6);
                                                               background: rgba(15, 23, 42, 0.85);
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               color: #e5e7eb;
                                                               font-size: 10px;
                                                               box-shadow: 0 0 12px rgba(148, 163, 184, 0.6);
                                                               opacity: 1;
                                                               transition: opacity 0.25s var(--ease);
                                                           }

                                                           .track-cover[data-playing="true"] .track-cover-play {
                                                               opacity: 0;
                                                               /* 播放中默认隐藏，悬停时再显示为暂停按钮 */
                                                           }

                                                           .track-cover-loading-icon {
                                                               color: rgba(226, 232, 240, 0.8);
                                                               font-size: 14px;
                                                           }

                                                           .cover-progress {
                                                               position: absolute;
                                                               left: 0;
                                                               right: 0;
                                                               bottom: 0;
                                                               height: 3px;
                                                               background: rgba(15, 23, 42, 0.85);
                                                           }

                                                           .cover-progress-fill {
                                                               height: 100%;
                                                               width: 0%;
                                                               background: linear-gradient(90deg, var(--primary), var(--secondary));
                                                               transition: width 0.35s var(--ease);
                                                           }

                                                           .track-main {
                                                               flex: 1;
                                                               min-width: 0;
                                                               overflow: hidden;
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 4px;
                                                           }

                                                           .track-title {
                                                               font-size: 0.84rem;
                                                               font-weight: 700;
                                                           }

                                                           .track-sub {
                                                               font-size: 0.71rem;
                                                               color: rgba(203, 213, 225, 0.78);
                                                           }

                                                           .track-title,
                                                           .track-sub {
                                                               white-space: nowrap;
                                                               overflow: hidden;
                                                               text-overflow: ellipsis;
                                                           }

                                                           .track-progress {
                                                               width: 100%;
                                                               height: 4px;
                                                               background: rgba(148, 163, 184, 0.16);
                                                               border-radius: 999px;
                                                               overflow: hidden;
                                                               margin-top: 8px;
                                                           }

                                                           .track-progress-fill {
                                                               height: 100%;
                                                               width: 0%;
                                                               background: linear-gradient(90deg, rgba(111, 99, 255, 0.95), rgba(28, 183, 142, 0.92));
                                                               border-radius: 999px;
                                                               transition: width 0.12s linear;
                                                           }

                                                           .track-row audio {
                                                               width: 100%;
                                                               margin-top: 8px;
                                                               height: 32px;
                                                               border-radius: 10px;
                                                               filter: invert(1) hue-rotate(180deg) opacity(0.85);
                                                           }

                                                           .skeleton-line {
                                                               display: inline-block;
                                                               border-radius: 999px;
                                                               background: linear-gradient(90deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.42), rgba(148, 163, 184, 0.2));
                                                               background-size: 200% 100%;
                                                               animation: skeleton-shimmer 1.4s linear infinite;
                                                           }

                                                           .skeleton-line--title {
                                                               width: 70%;
                                                               height: 10px;
                                                           }

                                                           .skeleton-line--sub {
                                                               width: 45%;
                                                               height: 8px;
                                                           }

                                                           .track-cancel-btn {
                                                               margin-top: 2px;
                                                               width: 100%;
                                                               border-color: rgba(241, 82, 116, 0.7);
                                                               color: var(--danger);
                                                               font-size: 0.75rem;
                                                               background: rgba(241, 82, 116, 0.08);
                                                           }

                                                           .track-cancel-btn:hover {
                                                               border-color: rgba(241, 82, 116, 0.95);
                                                               background: rgba(241, 82, 116, 0.16);
                                                           }

                                                           @keyframes skeleton-shimmer {
                                                               from {
                                                                   background-position: 100% 0;
                                                               }
                                                               to {
                                                                   background-position: -100% 0;
                                                               }
                                                           }

                                                           .prog-bar {
                                                               width: 100%;
                                                               height: 6px;
                                                               background: rgba(255, 255, 255, 0.05);
                                                               border-radius: 99px;
                                                               margin-top: 20px;
                                                               overflow: hidden;
                                                           }

                                                           .prog-fill {
                                                               height: 100%;
                                                               background: linear-gradient(to right, var(--primary), var(--secondary));
                                                               border-radius: 99px;
                                                               transition: width 0.4s var(--ease);
                                                           }

                                                           /* 历史记录项 */

                                                           .hist-item {
                                                               background: rgba(255, 255, 255, 0.02);
                                                               border: 1px solid var(--border);
                                                               padding: 12px;
                                                               border-radius: var(--radius-lg);
                                                               margin-bottom: 8px;
                                                               transition: all 0.4s var(--ease);
                                                           }

                                                           .hist-item:hover {
                                                               transform: translateX(4px);
                                                               border-color: var(--primary);
                                                               background: rgba(255, 255, 255, 0.04);
                                                           }

                                                           .hist-prompt {
                                                               font-size: 0.88rem;
                                                               font-weight: 600;
                                                               line-height: 1.35;
                                                               margin: 6px 0;
                                                           }

                                                           .hist-head-row {
                                                               display: flex;
                                                               align-items: center;
                                                               justify-content: space-between;
                                                               gap: 10px;
                                                           }

                                                           .hist-actions {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               margin: 6px 0 8px;
                                                           }

                                                           .hist-menu {
                                                               position: relative;
                                                           }

                                                           .hist-menu summary {
                                                               list-style: none;
                                                           }

                                                           .hist-menu summary::-webkit-details-marker {
                                                               display: none;
                                                           }

                                                           .hist-menu-trigger {
                                                               width: 30px;
                                                               height: 30px;
                                                               border-radius: 999px;
                                                               border: 1px solid var(--border);
                                                               background: var(--glass);
                                                               color: var(--text-muted);
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               cursor: pointer;
                                                               transition: all 0.2s var(--ease);
                                                           }

                                                           .hist-menu[open] .hist-menu-trigger,
                                                           .hist-menu-trigger:hover {
                                                               border-color: var(--primary);
                                                               color: var(--primary);
                                                               background: rgba(62, 129, 246, 0.08);
                                                           }

                                                           .hist-menu-list {
                                                               position: absolute;
                                                               top: calc(100% + 6px);
                                                               right: 0;
                                                               min-width: 142px;
                                                               padding: 6px;
                                                               border-radius: 10px;
                                                               border: 1px solid var(--border);
                                                               background: #0f121a;
                                                               box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
                                                               z-index: 8;
                                                               display: flex;
                                                               flex-direction: column;
                                                               gap: 4px;
                                                           }

                                                           .hist-menu-item {
                                                               width: 100%;
                                                               border: 0;
                                                               background: transparent;
                                                               color: var(--text-main);
                                                               text-decoration: none;
                                                               padding: 8px 10px;
                                                               border-radius: 8px;
                                                               cursor: pointer;
                                                               font-size: 0.82rem;
                                                               font-weight: 600;
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               transition: all 0.2s var(--ease);
                                                               text-align: left;
                                                           }

                                                           .hist-menu-item:hover {
                                                               background: rgba(255, 255, 255, 0.06);
                                                           }

                                                           .hist-menu-delete {
                                                               color: var(--danger);
                                                           }

                                                           .hist-menu-delete:hover {
                                                               background: rgba(244, 63, 94, 0.14);
                                                           }

                                                           .hist-download-icon {
                                                               width: 28px;
                                                               height: 28px;
                                                               border-radius: 999px;
                                                               display: inline-flex;
                                                               align-items: center;
                                                               justify-content: center;
                                                               border: 1px solid var(--border);
                                                               background: var(--glass);
                                                               color: var(--text-main);
                                                               text-decoration: none;
                                                               flex-shrink: 0;
                                                               transition: all 0.25s var(--ease);
                                                           }

                                                           .hist-download-icon i {
                                                               font-size: 0.72rem;
                                                               line-height: 1;
                                                           }

                                                           .hist-download-icon:hover {
                                                               border-color: var(--primary);
                                                               color: var(--primary);
                                                               background: rgba(62, 129, 246, 0.08);
                                                           }

                                                           .hist-delete-btn {
                                                               color: var(--danger);
                                                               border-color: rgba(244, 63, 94, 0.45);
                                                           }

                                                           .hist-delete-btn:hover {
                                                               border-color: rgba(244, 63, 94, 0.75);
                                                               background: rgba(244, 63, 94, 0.12);
                                                           }

                                                           .tag {
                                                               padding: 4px 12px;
                                                               border-radius: 99px;
                                                               font-size: 0.65rem;
                                                               font-weight: 800;
                                                               text-transform: uppercase;
                                                               background: var(--glass);
                                                           }

                                                           /* 状态网格 */

                                                           .stat-grid {
                                                               display: grid;
                                                               grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                                                               gap: 20px;
                                                               margin-bottom: 32px;
                                                           }

                                                           .stat-card {
                                                               background: var(--glass);
                                                               border: 1px solid var(--border);
                                                               border-radius: var(--radius-lg);
                                                               padding: 24px;
                                                           }

                                                           .stat-val {
                                                               font-size: 1.5rem;
                                                               font-weight: 800;
                                                               color: var(--primary);
                                                               margin-bottom: 4px;
                                                           }

                                                           .stat-lbl {
                                                               font-size: 0.7rem;
                                                               font-weight: 700;
                                                               color: var(--text-muted);
                                                               text-transform: uppercase;
                                                               letter-spacing: 0.1em;
                                                           }

                                                           .adv-toggle {
                                                               display: flex;
                                                               align-items: center;
                                                               gap: 8px;
                                                               font-size: 0.85rem;
                                                               font-weight: 700;
                                                               color: var(--text-muted);
                                                               cursor: pointer;
                                                               margin: 12px 0;
                                                               transition: color 0.3s;
                                                           }

                                                           .adv-toggle:hover {
                                                               color: var(--primary);
                                                           }

                                                           .adv-panel {
                                                               overflow: hidden;
                                                               transition: max-height 0.5s var(--ease);
                                                               max-height: 0;
                                                           }

                                                           .adv-panel.open {
                                                               max-height: 1000px;
                                                               padding-top: 10px;
                                                               overflow: visible;
                                                           }

                                                           .hidden {
                                                               display: none !important;
                                                           }

                                                           #tab-podcast[data-pd-panel="generate"] #pd-page-generate {
                                                               display: block !important;
                                                           }

                                                           #tab-podcast[data-pd-panel="generate"] #pd-page-library {
                                                               display: none !important;
                                                           }

                                                           #tab-podcast[data-pd-panel="library"] #pd-page-generate {
                                                               display: none !important;
                                                           }

                                                           #tab-podcast[data-pd-panel="library"] #pd-page-library {
                                                               display: block !important;
                                                           }

                                                           .spin {
                                                               animation: spin 2s linear infinite;
                                                           }

                                                           @keyframes spin {
                                                               from {
                                                                   transform: rotate(0deg);
                                                               }

                                                               to {
                                                                   transform: rotate(360deg);
                                                               }
                                                           }

                                                           /* 动画工具 */

                                                           .delay-1 {
                                                               animation-delay: 0.1s;
                                                           }

                                                           .delay-2 {
                                                               animation-delay: 0.2s;
                                                           }

                                                           /* AI 填充高亮动画 */

                                                           @keyframes aiGlow {
                                                               0% {
                                                                   box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
                                                                   border-color: rgba(255, 255, 255, 0.09);
                                                               }

                                                               30% {
                                                                   box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
                                                                   border-color: var(--secondary);
                                                               }

                                                               100% {
                                                                   box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
                                                                   border-color: rgba(255, 255, 255, 0.09);
                                                               }
                                                           }

                                                           .ai-glow {
                                                               animation: aiGlow 1.5s ease-out;
                                                           }

                                                           /* ================= Responsive Sidebar (must be AFTER base .sb styles) ================= */

                                                           .sb.collapsed~.main .gen-action-dock {
                                                               margin-left: -216px;
                                                           }

                                                           @media (max-width: 1024px) {
                                                               .sb {
                                                                   width: 248px;
                                                                   min-width: 248px;
                                                                   padding: 10px 0;
                                                                   position: sticky;
                                                                   left: 0;
                                                                   top: 0;
                                                                   height: 100vh;
                                                                   transition: width 0.3s var(--ease);
                                                               }

                                                               .gen-action-dock {
                                                                   margin-left: -132px;
                                                               }

                                                               .global-player {
                                                                   left: 248px;
                                                                   right: 96px;
                                                               }

                                                               .sb-brand {
                                                                   padding: 20px 18px 0;
                                                                   justify-content: flex-start;
                                                               }

                                                               .sb-brand .lang-switcher {
                                                                   display: block;
                                                               }

                                                               .sb-item {
                                                                   margin: 4px 10px;
                                                                   padding: 12px 14px;
                                                                   justify-content: flex-start;
                                                               }

                                                               .sb-item i {
                                                                   font-size: 1.05rem;
                                                                   width: 18px;
                                                                   margin: 0;
                                                               }

                                                               .sb-group {
                                                                   margin: 6px 10px;
                                                               }

                                                               .sidebar-user-section {
                                                                   padding: 8px 10px 10px;
                                                               }

                                                               .sidebar-user-menu {
                                                                   width: 248px;
                                                               }

                                                               .sidebar-login-btn {
                                                                   min-height: 34px;
                                                                   padding: 8px 11px;
                                                                   font-size: 0.78rem;
                                                               }

                                                               .sb-upgrade-card {
                                                                   padding: 14px 12px;
                                                                   gap: 6px;
                                                               }

                                                               .sb-upgrade-title {
                                                                   font-size: 0.88rem;
                                                               }

                                                               .sb-upgrade-desc {
                                                                   font-size: 0.7rem;
                                                                   line-height: 1.4;
                                                               }

                                                               .sb-upgrade-cta {
                                                                   padding: 6px 10px;
                                                                   font-size: 0.74rem;
                                                               }

                                                               .sb-sub-item {
                                                                   padding-left: 30px;
                                                               }

                                                               .sb-content {
                                                                   overflow-y: auto;
                                                               }

                                                               body {
                                                                   overflow-x: hidden;
                                                               }

                                                               .upgrade-modal {
                                                                   width: min(980px, calc(100vw - 32px));
                                                                   grid-template-columns: 0.9fr 1.1fr;
                                                               }

                                                               .upgrade-modal-benefits,
                                                               .upgrade-modal-main {
                                                                   padding: 30px 24px;
                                                               }
                                                           }

                                                           @media (max-width: 860px) {
                                                               .sb {
                                                                   width: 228px;
                                                                   min-width: 228px;
                                                               }

                                                               .gen-action-dock {
                                                                   margin-left: -142px;
                                                               }

                                                               .global-player {
                                                                   left: 228px;
                                                                   right: 72px;
                                                               }
                                                           }

                                                           @media (max-width: 640px) {
                                                               body {
                                                                   flex-direction: column;
                                                               }

                                                               .cnt {
                                                                   padding-bottom: 120px;
                                                               }

                                                               .gen-action-dock {
                                                                   margin-left: 0;
                                                                   min-width: 0;
                                                                   width: calc(100vw - 32px);
                                                                   bottom: 24px;
                                                                   padding: 10px;
                                                                   border-radius: 20px;
                                                               }

                                                               body.global-player-visible .gen-action-dock {
                                                                   bottom: 112px;
                                                               }

                                                               .gen-action-dock .btn-dock {
                                                                   min-height: 52px;
                                                                   font-size: 1rem;
                                                               }

                                                               .sb {
                                                                   width: 100%;
                                                                   min-width: 0;
                                                                   height: auto;
                                                                   max-height: 42vh;
                                                                   position: relative;
                                                                   top: auto;
                                                                   left: auto;
                                                                   border-right: none;
                                                                   border-bottom: 1px solid var(--border);
                                                               }

                                                               .main {
                                                                   min-width: 0;
                                                               }

                                                               .sb-header {
                                                                   position: sticky;
                                                                   top: 0;
                                                                   z-index: 12;
                                                                   background: rgba(5, 7, 10, 0.92);
                                                                   backdrop-filter: blur(12px);
                                                               }

                                                               .sb-content {
                                                                   max-height: calc(42vh - 60px);
                                                                   overflow-y: auto;
                                                               }

                                                               .sidebar-user-section {
                                                                   padding: 8px 10px 10px;
                                                               }

                                                               .sidebar-user-menu {
                                                                   left: 0;
                                                                   top: calc(100% + 10px);
                                                                   width: min(280px, calc(100vw - 36px));
                                                               }

                                                               .upgrade-modal {
                                                                   width: calc(100vw - 20px);
                                                                   max-height: calc(100vh - 20px);
                                                                   grid-template-columns: 1fr;
                                                               }

                                                               .upgrade-modal-benefits {
                                                                   border-right: none;
                                                                   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                                                               }

                                                               .upgrade-modal-title {
                                                                   font-size: 1.55rem;
                                                               }

                                                               .upgrade-billing-toggle {
                                                                   width: 100%;
                                                                   display: grid;
                                                                   grid-template-columns: 1fr 1fr;
                                                               }

                                                               .upgrade-billing-btn {
                                                                   padding: 11px 12px;
                                                                   font-size: 0.92rem;
                                                               }

                                                               .upgrade-plan-card {
                                                                   align-items: flex-start;
                                                                   flex-direction: column;
                                                               }

                                                               .upgrade-plan-price-wrap {
                                                                   margin-top: 4px;
                                                               }

                                                               .sidebar-login-btn {
                                                                   min-height: 32px;
                                                                   padding: 7px 10px;
                                                                   font-size: 0.76rem;
                                                               }

                                                               .sb-item {
                                                                   margin: 4px 10px;
                                                                   padding: 11px 12px;
                                                               }

                                                               .sb-upgrade-card {
                                                                   padding: 12px;
                                                               }

                                                               .sb-upgrade-title {
                                                                   font-size: 0.84rem;
                                                               }

                                                               .sb-upgrade-desc {
                                                                   font-size: 0.68rem;
                                                               }

                                                               .sb-item i {
                                                                   font-size: 1rem;
                                                               }
                                                           }