.admin-body {
    background: #f5f7fa;
    min-height: 100vh;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1a1f36 0%, #252b48 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.admin-logo i {
    font-size: 24px;
    color: #4f8cff;
}

.admin-title {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    padding-left: 34px;
}

.admin-nav {
    flex: 1;
    padding: 20px 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.admin-nav-item.active {
    background: rgba(79, 140, 255, 0.2);
    color: #4f8cff;
    border-right: 3px solid #4f8cff;
}

.admin-nav-item i {
    width: 20px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
}

.admin-back-link:hover {
    color: #fff;
}

.admin-main {
    flex: 1;
    margin-left: 240px;
    padding: 30px;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1f36;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-section-header h2 i {
    color: #4f8cff;
}

.admin-search-box {
    display: flex;
    gap: 10px;
}

.admin-search-box input {
    padding: 8px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    width: 250px;
    font-size: 14px;
}

.admin-search-box input:focus {
    outline: none;
    border-color: #4f8cff;
}

.admin-filter-box {
    display: flex;
    gap: 10px;
}

.admin-filter-box select {
    padding: 8px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.admin-video-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-video-date-display {
    min-width: 168px;
    padding: 8px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
}

.admin-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-video-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.admin-video-card.is-loading {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.admin-video-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-video-card-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-video-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.admin-video-card-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #e5e7eb;
    color: #475569;
}

.admin-video-card.status-completed .admin-video-card-status {
    background: #dcfce7;
    color: #166534;
}

.admin-video-card.status-running .admin-video-card-status {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-video-card.status-failed .admin-video-card-status {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-video-preview {
    min-height: 220px;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.admin-video-preview-frame {
    width: min(180px, 100%);
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.admin-video-preview-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.admin-video-empty {
    color: #94a3b8;
    font-size: 14px;
}

.admin-video-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.admin-video-card-actions .btn,
.admin-video-card-actions a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-video-card-actions a.btn.is-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.admin-video-meta {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.admin-video-item {
    display: grid;
    gap: 6px;
}

.admin-video-item span {
    font-size: 12px;
    color: #64748b;
}

.admin-video-item strong {
    font-size: 14px;
    color: #111827;
    line-height: 1.5;
}

.admin-video-script p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
}

.admin-video-error {
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.6;
    background: #fef2f2;
    border-radius: 10px;
    padding: 10px 12px;
}

.admin-video-player-modal {
    max-width: 520px;
    width: min(92vw, 520px);
    background: #0f172a;
    color: #fff;
}

.admin-video-player-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.admin-video-player-modal-header h3,
.admin-video-player-modal .modal-close {
    color: #fff;
}

.admin-video-player-modal-body {
    padding: 20px;
}

.admin-video-player-shell {
    display: flex;
    justify-content: center;
}

.admin-video-player-frame {
    width: min(100%, 380px);
    aspect-ratio: 9 / 16;
    max-height: 82vh;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.admin-video-player-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e6ed;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
}

.admin-table td {
    font-size: 14px;
    color: #334155;
}

.admin-table tr:hover td {
    background: #f8fafc;
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

.admin-table .text-ellipsis {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table .loading {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.admin-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
}

.admin-pagination .pagination-info {
    color: #64748b;
    font-size: 14px;
}

.admin-pagination .pagination-current {
    color: #334155;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-success {
    background: #dcfce7;
    color: #16a34a;
}

.badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.badge-info {
    background: #dbeafe;
    color: #2563eb;
}

.badge-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.badge-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-primary {
    background: #4f8cff;
    color: #fff;
}

.btn-primary:hover {
    background: #3b7be9;
}

.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-success {
    background: #22c55e;
    color: #fff;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-warning {
    background: #f59e0b;
    color: #fff;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.admin-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: auto;
}

.admin-modal-lg {
    max-width: 700px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e6ed;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1f36;
}

.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-close:hover {
    color: #64748b;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e6ed;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f8cff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-size: 16px;
    line-height: 1.6;
}

.feedback-detail-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feedback-detail-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #334155;
}

.feedback-detail-content {
    margin-bottom: 15px;
}

.feedback-detail-content p {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 8px;
    white-space: pre-wrap;
}

.feedback-detail-attachment {
    margin-bottom: 15px;
}

.feedback-detail-attachment a {
    color: #4f8cff;
}

.admin-sync-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sync-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.sync-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e6ed;
}

.sync-card-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1f36;
}

.sync-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-success {
    background: #dcfce7;
    color: #16a34a;
}

.status-warning {
    background: #fef3c7;
    color: #d97706;
}

.status-danger {
    background: #fee2e2;
    color: #dc2626;
}

.status-unknown {
    background: #f1f5f9;
    color: #64748b;
}

.sync-card-body {
    padding: 15px 20px;
}

.sync-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sync-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sync-info-item .label {
    font-size: 12px;
    color: #94a3b8;
}

.sync-info-item .value {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.sync-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e6ed;
    display: flex;
    justify-content: flex-end;
}

/* ========== 新增：数据同步管理优化 ========== */

.sync-filter-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sync-filter-box select,
.sync-filter-box input {
    padding: 8px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.sync-filter-box input {
    width: 200px;
}

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

.overview-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.overview-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.overview-content {
    flex: 1;
}

.overview-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.2;
}

.overview-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

.sync-dev-mode-banner {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.sync-dev-mode-banner i {
    font-size: 18px;
}

.sync-group-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1f36;
    margin: 30px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
}

.sync-group-title i {
    color: #4f8cff;
}

.sync-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.sync-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sync-card.night-only {
    border-left: 4px solid #8b5cf6;
}

.sync-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e6ed;
}

.sync-card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1f36;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sync-card-header .night-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #8b5cf6;
    background: #f5f3ff;
    padding: 2px 8px;
    border-radius: 8px;
}

.sync-card-body {
    padding: 18px 20px;
}

.sync-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sync-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sync-info-item .label {
    font-size: 12px;
    color: #94a3b8;
}

.sync-info-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.sync-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #e0e6ed;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* 同步中动画 */
.sync-card.syncing {
    position: relative;
}

.sync-card.syncing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f8cff, #00d4aa, #4f8cff);
    background-size: 200% 100%;
    animation: syncProgress 1.5s linear infinite;
}

@keyframes syncProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.btn.syncing-btn {
    background: #f1f5f9;
    color: #64748b;
    pointer-events: none;
}

.btn.syncing-btn i {
    animation: spin 1s linear infinite;
}

.table-row-syncing {
    background: #f0f9ff;
    border-left: 4px solid #4f8cff;
}

.table-row-syncing td {
    background: #f0f9ff !important;
}

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

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-success i {
    color: #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error i {
    color: #ef4444;
}

.toast-info {
    border-left: 4px solid #4f8cff;
}

.toast-info i {
    color: #4f8cff;
}

.toast.fade-out {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 60px;
    }
    
    .admin-sidebar .admin-logo span,
    .admin-sidebar .admin-title,
    .admin-sidebar .admin-nav-item span,
    .admin-sidebar .admin-back-link span {
        display: none;
    }
    
    .admin-main {
        margin-left: 60px;
    }
    
    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-search-box input {
        width: 100%;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-sync-grid {
        grid-template-columns: 1fr;
    }

    .admin-video-grid {
        grid-template-columns: 1fr;
    }

    .admin-video-card-actions {
        flex-direction: column;
    }

    .admin-video-card-actions .btn,
    .admin-video-card-actions a.btn {
        width: 100%;
    }

    .admin-video-player-modal {
        width: min(94vw, 520px);
    }
}

/* 同步配置弹窗样式 */
.admin-modal-xl {
    max-width: 900px;
}

.sync-settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.sync-settings-tab {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.sync-settings-tab:hover {
    background: var(--bg-hover);
}

.sync-settings-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sync-settings-panel {
    min-height: 300px;
}

.sync-settings-search {
    margin-bottom: 16px;
}

.sync-settings-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

.sync-settings-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.sync-settings-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.sync-settings-table-container .admin-table {
    margin: 0;
}

.sync-settings-table-container .admin-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* 盘后视频文案 */
.post-market-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
    box-shadow: 0 12px 32px rgba(29, 78, 216, 0.18);
}

.post-market-hero-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 10px;
}

.post-market-hero h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
}

.post-market-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.post-market-hero-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.post-market-hero-badge {
    flex-shrink: 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 600;
}

.post-market-variant-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.post-market-overview {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.post-market-grid {
    display: grid;
    grid-template-columns: 320px 1fr 420px;
    gap: 24px;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
}

.post-market-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.post-market-column-main {
    min-width: 0;
}

.post-market-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    border: 1px solid #f1f5f9;
}

.post-market-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.post-market-panel-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1f36;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-market-panel-header h3 i {
    color: #4f8cff;
}

.post-market-variant-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.post-market-switch-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-market-switch-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.post-market-switch-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-market-switch-btn {
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-market-switch-btn:hover {
    border-color: #4f8cff;
    color: #2563eb;
}

.post-market-switch-btn.active {
    border-color: #4f8cff;
    background: #4f8cff;
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 140, 255, 0.2);
}

.post-market-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.post-market-stat-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.post-market-stat-item .label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.post-market-stat-item strong {
    font-size: 24px;
    color: #0f172a;
}

.post-market-chip-list,
.post-market-topic-list,
.post-market-title-list,
.post-market-storyboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-market-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 1px solid #dbeafe;
    color: #1e293b;
}

.post-market-chip strong {
    color: #1d4ed8;
}

.post-market-chip span {
    font-size: 12px;
    color: #475569;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
}

.post-market-chip em {
    font-style: normal;
    color: #334155;
    line-height: 1.6;
}

.post-market-topic-item,
.post-market-title-item {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.post-market-topic-item strong,
.post-market-title-item strong {
    color: #0f172a;
}

.post-market-topic-item span,
.post-market-title-item span {
    color: #64748b;
    font-size: 13px;
}

.post-market-copy-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 16px 18px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.8;
    min-height: 86px;
    white-space: pre-wrap;
}

.post-market-copy-card-muted {
    margin-top: 12px;
    background: #fff;
    color: #475569;
}

.post-market-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.post-market-meta-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 16px;
}

.post-market-meta-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.post-market-meta-card strong {
    font-size: 24px;
    color: #0f172a;
}

#post-market-platform {
    font-size: 20px;
}

.post-market-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#post-market-cover-titles {
    margin-top: 14px;
}

.post-market-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.post-market-storyboard-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    background: #f8fafc;
}

.post-market-storyboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.post-market-storyboard-head strong {
    color: #0f172a;
    font-size: 15px;
}

.post-market-storyboard-time {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.post-market-storyboard-voice {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.7;
}

.post-market-storyboard-shot {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.post-market-storyboard-subtitles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-market-subtitle-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
}

.post-market-script {
    width: 100%;
    min-height: 520px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #f8fafc;
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #0f172a;
    resize: vertical;
}

.post-market-script-compact {
    min-height: 260px;
}

.post-market-script:focus {
    outline: none;
    border-color: #4f8cff;
    background: #fff;
}

.loading-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #94a3b8;
}
