* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f6f8;
    color: #333;
    font-size: 14px;
}

#app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-logo {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 4px;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu li {
    list-style: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar-menu li a.active {
    background: #007bff;
    color: #fff;
    border-left: 3px solid #fff;
}

.sidebar-menu li a i {
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

.sidebar-user {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-user-info {
    flex: 1;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-user-role {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.sidebar-customer-service-wrap {
    position: absolute;
    bottom: 80px;
    left: 10px;
    right: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    overflow: visible;
    z-index: 10;
}

.sidebar-bottom-space {
    height: 80px;
}

.sidebar-user-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.sidebar-customer-service {
    padding: 12px 12px;
}

.sidebar-customer-service-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sidebar-customer-service-qrcode {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 20;
}

.sidebar-customer-service .sidebar-customer-service-qrcode img {
    max-width: 90px !important;
    max-height: 90px !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    object-fit: cover;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-customer-service .sidebar-customer-service-qrcode img:hover {
    border-color: rgba(0,212,255,0.6);
    box-shadow: 0 4px 12px rgba(0,212,255,0.3);
}

.sidebar-customer-service-qrcode .qrcode-popup {
    position: absolute;
    top: -190px;
    left: 20px;
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.sidebar-customer-service-qrcode:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.sidebar-customer-service-qrcode .qrcode-popup img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 8px;
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
}

.sidebar-customer-service-qrcode .qrcode-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.sidebar-customer-service-phone {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.sidebar-customer-service-phone span {
    color: #00d4ff;
}

.sidebar-customer-service-phone a {
    color: #00d4ff;
    text-decoration: none;
}

.sidebar-customer-service-phone a:hover {
    color: #00f5ff;
}

.sidebar-customer-service-note {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

.main-content {
    flex: 1;
    margin-left: 220px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.top-bar-tabs {
    display: flex;
    margin-left: 30px;
}

.top-bar-tab {
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.top-bar-tab.active {
    color: #007bff;
}

.top-bar-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #007bff;
}

.xwp-type-tabs {
    display: flex;
    margin-left: 20px;
    align-items: center;
    gap: 8px;
}

.xwp-type-tab {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #5a6270;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #e4e7ed;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.xwp-type-tab:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background: #ecf5ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.15);
}

.xwp-type-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.xwp-type-tab.active:hover {
    background: linear-gradient(135deg, #7c8eea 0%, #865ba2 100%);
}

.video-tag {
    font-size: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-actions {
    display: flex;
    gap: 10px;
}

.top-bar-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.top-bar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-user-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s;
}

#topBarUserMenu.open .top-bar-user-arrow {
    transform: rotate(180deg);
}

.top-bar-user-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    padding: 4px 0;
    display: none;
    z-index: 1000;
}

#topBarUserMenu.open .top-bar-user-dropdown {
    display: block;
}

.top-bar-user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.dropdown-item {
    padding: 10px 16px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.page-container {
    flex: 1;
    padding: 24px;
    padding-bottom: 100px;
    overflow-y: auto;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.card-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.card-loading .loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e8e8e8;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.card-loading .loading-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
}

.card-loading .loading-timeout {
    color: #ff9800;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
}

.card-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .card-loading {
        background: rgba(255, 255, 255, 0.9);
    }
    
    .card-loading .loading-spinner {
        width: 36px;
        height: 36px;
        border-width: 2.5px;
        margin-bottom: 12px;
    }
    
    .card-loading .loading-text {
        font-size: 13px;
    }
    
    .card-loading-inner {
        padding: 16px 20px;
        border-radius: 10px;
    }
}

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

.card-title {
    font-size: 16px;
    font-weight: 600;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.btn i {
    margin-right: 6px;
}

.btn-primary {
    background: #007bff;
}

.btn-primary:hover {
    background: #0069d9;
}

.btn-success {
    background: #28a745;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
}

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

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    background: #f5f5f5;
}

.btn-outline-primary {
    background: #fff;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background: #f5faff;
}

.btn-default {
    background: #fff;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-default:hover {
    background: #f5faff;
}

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

.filter-bar {
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    color: #666;
}

.filter-group select,
.filter-group input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 120px;
}

.filter-group input[type="text"] {
    min-width: 150px;
}

.filter-group input[type="number"] {
    min-width: 100px;
}

.filter-section {
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #f0f0f0;
    margin-bottom: 8px;
}

.filter-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-item label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.filter-tag {
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid #007bff;
    background: #fff;
    font-size: 12px;
    color: #007bff;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
}

.filter-tag:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f5faff;
}

.filter-tag.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.filter-tag.more {
    color: #007bff;
    border-color: transparent;
    padding: 3px 6px;
    background: transparent;
    font-size: 11px;
}

.filter-tag.more:hover {
    color: #0056b3;
    background: #f0f7ff;
}

.filter-tag.hidden {
    display: none;
}

.expand-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #007bff;
    cursor: pointer;
    margin-left: 8px;
    padding: 2px 4px;
}

.expand-btn:hover {
    color: #0056b3;
}

.expand-row {
    background-color: #f8f9fa;
}

.expand-content {
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
}

.expand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.expand-details {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.multi-line {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    line-height: 1.4;
}

.multi-line .label {
    color: #999;
    font-weight: 500;
    margin-right: 4px;
}

.multi-line .value {
    color: #333;
    font-weight: 500;
}

.multi-line div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-input-group input {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table th,
.data-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.data-table th {
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

.data-table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 28px;
}

.data-table th.sortable:hover {
    color: #007bff;
    background: #e9ecef;
}

.data-table th.sortable .sort-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 8px;
    line-height: 1;
    color: #ccc;
    transition: color 0.2s;
}

.data-table th.sortable .sort-icon .sort-asc,
.data-table th.sortable .sort-icon .sort-desc {
    opacity: 0.4;
    transition: all 0.2s;
}

.data-table th.sortable.sort-asc .sort-icon .sort-asc {
    color: #007bff;
    opacity: 1;
}

.data-table th.sortable.sort-desc .sort-icon .sort-desc {
    color: #007bff;
    opacity: 1;
}

.data-table th.sortable.sort-none .sort-icon .sort-asc,
.data-table th.sortable.sort-none .sort-icon .sort-desc {
    opacity: 0.3;
    color: #ccc;
}

.data-table th.sortable:hover .sort-icon .sort-asc,
.data-table th.sortable:hover .sort-icon .sort-desc {
    opacity: 0.6;
}

.data-table tbody tr:hover {
    background: #fafafa;
}

.data-table tbody tr.selected {
    background: #e3f2fd;
}

.data-table .checkbox-cell {
    width: 40px;
}

.data-table .checkbox-cell input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.data-table .status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.normal {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.publishing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.published {
    background: #d4edda;
    color: #155724;
}

.status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.cancelled {
    background: #e2e3e5;
    color: #383d41;
}

.status-badge.scheduled {
    background: #e3f2fd;
    color: #1976d2;
}

.media-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.media-type-badge.media-xwp-news {
    background: #cce5ff;
    color: #004085;
}

.media-type-badge.media-xwp-we {
    background: #d4edda;
    color: #155724;
}

.media-type-badge.media-xwp-gzh {
    background: #f8d7da;
    color: #721c24;
}

.media-type-badge.media-xwp-wb {
    background: #fff3cd;
    color: #856404;
}

.media-type-badge.media-xwp-dsp {
    background: #e8daef;
    color: #6c3483;
}

.media-type-badge.media-xwp-xhs {
    background: #f5b7b1;
    color: #721c24;
}

.media-type-badge.media-cj-news {
    background: #a8d8ea;
    color: #0c637e;
}

.media-type-badge.media-cj-we {
    background: #b8e0d2;
    color: #1b5e20;
}

.media-type-badge.media-unknown {
    background: #e2e3e5;
    color: #383d41;
}

.data-table .tag {
    display: inline-block;
    padding: 2px 6px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 4px;
}

.data-table .tag-primary {
    background: #e3f2fd;
    color: #1976d2;
}

.data-table .tag-success {
    background: #e8f5e9;
    color: #388e3c;
}

.data-table .tag-warning {
    background: #fff3e0;
    color: #f57c00;
}

.data-table .media-name-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.data-table .media-name-link:hover {
    text-decoration: underline;
}

.data-table .media-name {
    font-weight: 600;
    color: #333;
}

.data-table .preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

.data-table .preview-badge:hover {
    background: #bbdefb;
}

.data-table .select-col {
    width: 60px;
    text-align: center;
    vertical-align: middle;
}

.data-table .select-col input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-right: 4px;
}

.data-table .favorite-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
    padding: 0;
    transition: color 0.2s;
}

.data-table .sub-text {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.data-table .favorite-btn:hover {
    color: #ffd700;
}

.data-table .favorite-btn.collected {
    color: #ffd700;
}

.favorite-menu {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 6px;
    min-width: 140px;
    max-width: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.favorite-menu .menu-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid #eee;
}

.favorite-menu button {
    display: block;
    width: 100%;
    padding: 4px 8px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    border-radius: 3px;
    transition: background 0.2s;
    line-height: 1.4;
}

.favorite-menu button:hover {
    background: #f5f5f5;
}

.favorite-menu .star-filled {
    color: #007bff;
}

.favorite-menu .star-empty {
    color: #999;
}

.collection-tag {
    position: relative;
    padding-right: 24px;
}

.tag-delete {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.tag-delete:hover {
    color: #ff4d4f;
}

.pagination-bar {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-info {
    font-size: 14px;
    color: #666;
}

.pagination {
    display: flex;
    gap: 4px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #007bff;
    color: #007bff;
}

.pagination a.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.pagination a.prev,
.pagination a.next {
    padding: 0 12px;
    width: auto;
}

.pagination .ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #999;
    font-size: 14px;
}

.summary-bar {
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    position: fixed;
    bottom: 0;
    left: 220px;
    right: 0;
    z-index: 200;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.summary-bar .selected-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.summary-bar .selected-count {
    font-weight: 600;
    color: #007bff;
}

.summary-bar .total-price {
    font-size: 16px;
    font-weight: bold;
    color: #dc3545;
}

.form-container {
    padding: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.amount-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.amount-option {
    padding: 14px 30px;
    border: 2px solid #d9d9d9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    background: #fff;
}

.amount-option:hover {
    border-color: #007bff;
    color: #007bff;
}

.amount-option.active {
    border-color: #007bff;
    background: #e3f2fd;
    color: #007bff;
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.form-group .hint {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

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

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

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

.badge-blue {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-green {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-orange {
    background: #fff3e0;
    color: #f57c00;
}

.badge-gray {
    background: #f5f5f5;
    color: #999;
}

.badge-recommend {
    background: #fff176;
    color: #f9a825;
    font-weight: bold;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

.badge-red {
    background: #ffebee;
    color: #c62828;
}

.geo-container {
    display: inline-flex;
    gap: 2px;
    margin-left: 4px;
    vertical-align: middle;
}

.geo-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 0 4px;
    height: 14px;
    line-height: 14px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 14px;
}

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

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

.modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

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

.modal-title {
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

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

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#toolbar {
    border: 1px solid #d9d9d9;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #fafafa;
}

#editor {
    border: 1px solid #d9d9d9;
    border-radius: 0 0 4px 4px;
    min-height: 300px;
}

.w-e-text-container {
    height: 100% !important;
    min-height: 300px !important;
}

.w-e-text {
    height: 100% !important;
    min-height: 300px !important;
}

.article-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.article-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

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

.article-table th,
.article-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.article-table th {
    background: #fafafa;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.article-table td {
    font-size: 14px;
    color: #333;
}

.article-table tr:hover td {
    background: #fafafa;
}

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

.article-table .status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.article-table .status-badge.published {
    background: #d4edda;
    color: #155724;
}

.article-table .status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.draft-limit-notice {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    background: #fff3cd;
    border-radius: 8px;
    margin: 0 20px 20px;
    border-left: 4px solid #ffc107;
}

.draft-limit-notice .notice-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.draft-limit-notice .notice-content {
    flex: 1;
}

.draft-limit-notice .notice-title {
    font-weight: 600;
    color: #856404;
    font-size: 14px;
    margin-bottom: 4px;
}

.draft-limit-notice .notice-desc {
    font-size: 13px;
    color: #856404;
    line-height: 1.5;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: normal;
    color: #333;
}

.radio-group input[type="radio"] {
    margin: 0;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.notice-section {
    background: #fff5f5;
    border: 1px solid #ffccc7;
    border-radius: 4px;
    padding: 20px;
    margin: 20px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.notice-section h4 {
    color: #d93026;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
}

.notice-section h4:first-child {
    margin-top: 0;
}

.notice-section p {
    margin-bottom: 8px;
}

.notice-section strong {
    color: #d93026;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 220px;
    right: 0;
    z-index: 200;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.article-footer .footer-left {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-footer .footer-left strong {
    color: #333;
    font-weight: 600;
}

.article-footer .footer-right {
    display: flex;
    gap: 10px;
}

.selected-media-section {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.selected-media-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.selected-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 40px;
}

.selected-media-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f0f5ff;
    border: 1px solid #d6e4ff;
    border-radius: 20px;
    font-size: 13px;
}

.selected-media-item .media-name {
    color: #333;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-media-item .media-price {
    color: #007bff;
    font-weight: 600;
}

.remove-media-btn {
    width: 20px;
    height: 20px;
    line-height: 16px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    transition: all 0.2s;
}

.remove-media-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.selected-media-list .empty-hint {
    color: #999;
    font-size: 13px;
    padding: 8px 0;
}

.summary-bar .account-balance {
    font-weight: 600;
    color: #28a745;
}

.btn-outline {
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #666;
    border-radius: 4px;
}

.btn-outline:hover {
    border-color: #007bff;
    color: #007bff;
}

.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.upload-area.dragover {
    border-color: #007bff;
    background: #e6f7ff;
}

.upload-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 14px;
    color: #666;
}

.upload-text .highlight {
    color: #007bff;
    font-weight: 500;
}

.upload-input {
    display: none;
}

.upload-file-name {
    font-size: 13px;
    color: #007bff;
    margin-top: 8px;
    font-weight: 500;
}

.upload-progress {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.upload-progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.upload-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.upload-progress-label {
    font-size: 12px;
    color: #666;
    margin-top: -4px;
}

.upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    line-height: 1.6;
}

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

.preview-modal-overlay.show {
    display: flex;
}

.preview-modal {
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.preview-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.preview-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.preview-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.preview-header-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.preview-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.preview-content #previewBody {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.preview-content #previewBody p {
    margin-bottom: 16px;
}

.preview-content #previewBody strong {
    font-weight: 600;
}

.preview-content #previewBody em {
    font-style: italic;
}

.preview-content #previewBody ul,
.preview-content #previewBody ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.preview-content #previewBody li {
    margin-bottom: 8px;
}

.preview-content #previewBody img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.stat-value.text-green {
    color: #28a745;
}

.stat-value.text-red {
    color: #dc3545;
}

.text-green {
    color: #28a745;
}

.text-red {
    color: #dc3545;
}

.transaction-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.transaction-type-badge.type-recharge {
    background: #d4edda;
    color: #155724;
}

.transaction-type-badge.type-payment {
    background: #f8d7da;
    color: #721c24;
}

.transaction-type-badge.type-withdrawal {
    background: #fff3cd;
    color: #856404;
}

.transaction-type-badge.type-refund {
    background: #d1ecf1;
    color: #0c5460;
}

.order-no {
    font-family: monospace;
    font-size: 12px;
    color: #007bff;
}

.filter-bar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e8e8e8;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.filter-tab:hover {
    border-color: #007bff;
    color: #007bff;
}

.filter-tab.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.batch-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.batch-select-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.batch-select-info label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.batch-select-info label input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.batch-select-info #selectedCount {
    font-size: 13px;
    color: #007bff;
    font-weight: 500;
}

.batch-buttons {
    display: flex;
    gap: 10px;
}

.preview-info {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.preview-info p {
    margin: 5px 0;
}

.preview-info strong {
    color: #333;
}

.status-badge.scheduled {
    background: #fff3cd;
    color: #856404;
}

.status-badge.submitted {
    background: #d1ecf1;
    color: #0c5460;
}

.article-table tr.selected {
    background: #e3f2fd;
}

.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-info {
    font-size: 13px;
    color: #666;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.page-btn:hover:not(.active):not(:disabled) {
    border-color: #007bff;
    color: #007bff;
}

.page-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

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

.page-ellipsis {
    padding: 0 4px;
    color: #999;
    line-height: 32px;
}

/* ========== 响应式设计 - 移动端适配 ========== */

/* 汉堡菜单按钮 - 默认隐藏，移动端显示 */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-right: 12px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端遮罩层 */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* 移动端底部导航栏 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    z-index: 98;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-bottom-nav-items {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-bottom-nav-item {
    flex: 1;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    padding: 4px 2px;
}

.mobile-bottom-nav-item.active {
    color: #007bff;
}

.mobile-bottom-nav-item .nav-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

/* 小屏幕平板 (768px以下) */
@media (max-width: 768px) {
    .sidebar {
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 101;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .top-bar {
        padding: 0 12px;
        height: 50px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .top-bar-title {
        font-size: 15px;
        flex-shrink: 0;
        margin-right: 8px;
    }
    
    .top-bar-tabs {
        margin-left: 8px;
        flex-shrink: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }
    
    .top-bar-tab {
        padding: 3px 8px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .xwp-type-tabs {
        margin-left: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
    
    .xwp-type-tab {
        padding: 3px 8px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .top-bar-user-info,
    .top-bar-user-arrow {
        display: none;
    }
    
    .top-bar-right {
        flex-shrink: 0;
    }
    
    #batchSubmitBtn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .page-container {
        padding: 8px;
        padding-bottom: 140px;
    }
    
    .filter-section {
        padding: 8px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 8px;
        padding: 6px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .filter-row:last-child {
        border-bottom: none;
    }
    
    .filter-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
    
    .filter-item label {
        font-size: 12px;
        font-weight: 500;
        color: #666;
        min-width: 56px;
        padding-top: 4px;
    }
    
    .filter-tags {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .filter-tag {
        padding: 4px 8px;
        font-size: 11px;
        line-height: 1.4;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        border-radius: 4px;
    }
    
    .filter-checkboxes {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-input-group {
        flex-direction: row;
        width: 100%;
        gap: 6px;
    }
    
    .filter-input-group input {
        width: auto;
        flex: 1;
        min-width: 0;
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .filter-input-group .btn {
        padding: 6px 10px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
        min-width: 0;
        border-radius: 20px;
        border: 1px solid #e0e0e0;
        padding: 10px 16px;
        background: #f8f9fa;
    }
    
    .data-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
        font-size: 11px;
        line-height: 1.4;
    }
    
    .data-table th:nth-child(n+4),
    .data-table td:nth-child(n+4) {
        display: none;
    }
    
    .data-table td:nth-child(2),
    .data-table th:nth-child(2) {
        min-width: 100px;
    }
    
    .card {
        margin-bottom: 12px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .card-header {
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .card-title {
        font-size: 14px;
    }
    
    .card-actions {
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .btn-sm {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .stats-row {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .stat-card {
        padding: 12px;
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .batch-actions-bar {
        padding: 12px;
        flex-direction: column;
        gap: 10px;
    }
    
    .batch-select-info {
        width: 100%;
        justify-content: center;
    }
    
    .batch-buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .summary-bar {
        flex-direction: row;
        gap: 8px;
        text-align: center;
        left: 0;
        right: 0;
        bottom: 66px;
        padding: 8px 12px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        z-index: 150;
    }
    
    .summary-bar .selected-info {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
        font-size: 11px;
    }
    
    .summary-bar .selected-info span {
        white-space: nowrap;
    }
    
    .summary-bar .total-price {
        font-size: 14px;
    }
    
    .summary-bar .account-balance {
        font-size: 11px;
    }
    
    .summary-bar #batchSubmitBtn2 {
        padding: 6px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .pagination-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a {
        min-width: 36px;
        height: 36px;
    }
    
    .page-btn {
        min-width: 36px;
        height: 36px;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    .form-container {
        padding: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .article-footer {
        left: 0;
        right: 0;
        padding: 12px;
        flex-direction: column;
        gap: 10px;
    }
    
    .article-footer .footer-left,
    .article-footer .footer-right {
        width: 100%;
        justify-content: center;
    }
    
    .selected-media-list {
        flex-direction: column;
    }
    
    .selected-media-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .notice-section {
        margin: 12px;
        padding: 16px;
    }
    
    .draft-limit-notice {
        margin: 0 12px 12px;
    }
    
    .amount-options {
        flex-direction: column;
    }
    
    .amount-option {
        width: 100%;
        text-align: center;
    }
    
    .radio-group {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sidebar-user-info {
        display: none;
    }
}

/* 手机屏幕 (480px以下) */
@media (max-width: 480px) {
    .top-bar-title {
        font-size: 14px;
    }
    
    .top-bar-tabs {
        display: flex;
        margin-left: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-shrink: 0;
    }
    
    .top-bar-tab {
        padding: 3px 6px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        height: auto;
        line-height: 1.4;
    }
    
    .top-bar-tab.active::after {
        left: 6px;
        right: 6px;
    }
    
    .xwp-type-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        margin-left: 4px;
        flex-shrink: 0;
    }
    
    .xwp-type-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .filter-tag {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .data-table .media-col {
        min-width: 100px;
    }
    
    .data-table .action-col .btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .page-container {
        padding: 8px;
    }
    
    .card {
        border-radius: 6px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-success,
    .btn-danger {
        width: 100%;
    }
    
    .input-group input,
    .input-group select {
        font-size: 16px;
    }
    
    .form-row {
        gap: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .preview-container {
        height: 200px;
    }
    
    .editor-container {
        min-height: 250px;
    }
    
    .sidebar-customer-service-wrap {
        display: none;
    }
    
    .stat-card {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .mobile-bottom-nav-item {
        font-size: 10px;
    }
    
    .mobile-bottom-nav-item .nav-icon {
        font-size: 18px;
    }
    
    .card-actions .btn {
        flex: 1;
    }
    
    .filter-tag.more {
        display: inline-block;
    }
    
    .pagination-info {
        font-size: 12px;
    }
    
    .page-numbers {
        display: none;
    }
    
    .pagination-controls .page-btn.prev,
    .pagination-controls .page-btn.next {
        display: inline-flex;
    }
    
    .article-table {
        display: block;
        overflow-x: auto;
    }
    
    .favorite-menu {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
}

/* 横屏手机 (480px-768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .filter-row {
        flex-direction: row;
    }
    
    .filter-item {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .data-table th:nth-child(n+6),
    .data-table td:nth-child(n+6) {
        display: table-cell;
    }
    
    .stat-card {
        flex: 1 1 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
}

/* 大屏优化 (1200px以上) */
@media (min-width: 1200px) {
    .page-container {
        max-width: 1600px;
        margin: 0 auto;
    }
}

/* 移动端搜索栏和筛选面板样式 */
.mobile-search-bar {
    display: none;
    padding: 12px 16px 8px;
}

.mobile-search-input {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
}

.mobile-search-input .search-icon {
    margin-right: 8px;
    font-size: 14px;
}

.mobile-search-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.mobile-filter-nav {
    display: none;
    flex-wrap: nowrap;
    padding: 0 8px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-toggle-btn {
    display: none;
}

.mobile-filter-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    margin: 0 4px;
    white-space: nowrap;
}

.mobile-filter-btn.active {
    color: #007bff;
    border-color: #007bff;
}

.mobile-filter-btn .arrow {
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s;
}

.mobile-filter-btn.active .arrow {
    transform: rotate(180deg);
}

.mobile-filter-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.mobile-filter-panel.show {
    transform: translateY(0);
}

.filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 600;
}

.filter-panel-header .close-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #999;
}

.filter-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-option {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 16px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-option.active {
    background: #007bff;
    color: #fff;
}

.filter-panel-footer {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    gap: 12px;
}

.filter-panel-footer .btn-reset,
.filter-panel-footer .btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.filter-panel-footer .btn-reset {
    background: #f5f5f5;
    color: #666;
}

.filter-panel-footer .btn-confirm {
    background: #007bff;
    color: #fff;
}

.filter-panel-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.filter-panel-mask.show {
    display: block;
}

@media (max-width: 768px) {
    .mobile-search-bar {
        display: block;
    }
    
    .mobile-filter-nav {
        display: flex;
    }
    
    .filter-toggle-btn {
        display: block;
        width: 100%;
        padding: 8px 12px;
        background: #f8f9fa;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        color: #666;
        font-size: 13px;
        cursor: pointer;
        text-align: center;
        margin: 8px 0;
    }
    
    .filter-toggle-btn .arrow {
        margin-left: 4px;
        font-size: 10px;
        transition: transform 0.3s;
    }
    
    .filter-toggle-btn.active .arrow {
        transform: rotate(180deg);
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .card {
        margin: 8px;
        border-radius: 8px;
        padding: 0;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    /* 移动端只显示前3列（选择/收藏、媒体名称、价格） */
    .data-table th:nth-child(n+4),
    .data-table td:nth-child(n+4) {
        display: none;
    }
    
    /* 移动端价格列显示为紧凑样式 */
    .data-table th:nth-child(3),
    .data-table td:nth-child(3) {
        white-space: nowrap;
        text-align: right;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 8px;
    }
    
    .summary-bar {
        position: fixed;
        bottom: 66px;
        left: 0;
        right: 0;
        padding: 10px 12px;
        font-size: 12px;
        z-index: 10;
    }
    
    .summary-bar .selected-info {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .summary-bar .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .filter-tag,
    .btn,
    .sidebar-menu li a,
    .data-table tbody tr,
    .card-header,
    .stat-card,
    .xwp-type-tab {
        -webkit-tap-highlight-color: transparent;
    }
    
    .filter-tag:active {
        transform: scale(0.96);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .sidebar-menu li a:active {
        background: rgba(0, 123, 255, 0.2);
    }
    
    .card-header:active {
        background: rgba(0, 123, 255, 0.05);
    }
    
    .stat-card:active {
        transform: scale(0.98);
    }
    
    .xwp-type-tab:active {
        transform: scale(0.96);
    }
    
    .mobile-menu-toggle:active span {
        background: #007bff;
    }
}

/* 适配iPhone刘海屏 */
@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    
    .page-container {
        padding-bottom: max(120px, env(safe-area-inset-bottom) + 100px);
    }
    
    .summary-bar {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    
    .article-footer {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}
