/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    background: #fff;
    border-color: #ff6b6b;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.user-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
    padding: 0;
}

.user-btn:hover {
    background: #e0e0e0;
}

.user-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.user-avatar.vip {
    background: linear-gradient(135deg, #faad14 0%, #d48806 100%);
}

/* 轮播图样式 */
.banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.banner-nav:hover {
    background: #fff;
}

.banner-nav.prev { left: 8px; }
.banner-nav.next { right: 8px; }

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: #fff;
}

/* 文字滚动公告 */
.text-marquee {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a5a 100%);
    padding: 10px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    color: #fff;
    font-size: 14px;
    padding: 0 30px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 主内容区 */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

/* 商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f5f5f5;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* 商品详情弹窗 */
.product-detail-modal {
    width: 400px;
}

.detail-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.detail-info {
    padding: 20px;
}

.detail-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 12px;
}

.detail-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

.order-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.order-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* 二维码弹窗 */
.qrcode-modal {
    width: 320px;
    padding: 30px;
    text-align: center;
}

.qrcode-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 12px;
}

.qrcode-image img {
    width: 100%;
    height: 100%;
}

.qrcode-product {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.qrcode-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 16px;
}

.qrcode-tip {
    font-size: 13px;
    color: #52c41a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.close-btn {
    padding: 10px 30px;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #e0e0e0;
}

/* 登录弹窗 */
.login-modal {
    width: 360px;
}

.modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

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

.modal-body {
    padding: 24px;
}

.tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #ff6b6b;
    color: #fff;
}

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

.form-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.form-label.required::after {
    content: ' *';
    color: #ff4757;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #ff6b6b;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.error-msg {
    color: #ff4757;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.success-msg {
    color: #52c41a;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

/* 会员弹窗 */
.vip-modal {
    width: 360px;
}

.vip-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #fff7e6 0%, #fff1b8 100%);
    border-radius: 12px;
}

.vip-status {
    margin-bottom: 8px;
}

.vip-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: #d9d9d9;
    color: #666;
}

.vip-badge.active {
    background: linear-gradient(135deg, #faad14 0%, #d48806 100%);
    color: #fff;
}

.vip-desc {
    font-size: 13px;
    color: #666;
}

/* 打手中心弹窗 */
.dasher-modal {
    width: 480px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.stat-item {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.order-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.order-tab {
    flex: 1;
    padding: 10px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.order-tab.active {
    background: #667eea;
    color: #fff;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.order-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
}

.order-item-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.order-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item-time {
    font-size: 12px;
    color: #999;
}

.grab-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.grab-btn:hover {
    opacity: 0.9;
}

.grab-btn:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.order-status.pending {
    background: #fff7e6;
    color: #d48806;
}

.order-status.grabbed {
    background: #f6ffed;
    color: #52c41a;
}

.order-status.completed {
    background: #e6f7ff;
    color: #1890ff;
}

/* 后台管理 */
.admin-modal {
    width: 520px;
    max-height: 85vh;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.back-btn {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-body {
    padding: 20px;
}

/* 管理菜单 */
.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    color: #333;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item svg {
    color: #667eea;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.add-btn {
    padding: 10px 20px;
    background: #52c41a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
}

.product-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.product-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff4757;
}

.product-item-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #ffebee;
    color: #ff4757;
}

.action-btn.edit:hover {
    background: #e6f7ff;
    color: #1890ff;
}

/* 文件上传 */
.file-upload {
    position: relative;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input:hover {
    border-color: #ff6b6b;
}

.file-preview {
    margin-top: 10px;
    text-align: center;
}

.file-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
}

.textarea {
    min-height: 80px;
    resize: vertical;
}

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

/* 卡密列表 */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 10px;
}

.card-key {
    font-family: monospace;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.card-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.card-status.unused {
    background: #f6ffed;
    color: #52c41a;
}

.card-status.used {
    background: #f5f5f5;
    color: #999;
}

.card-info {
    font-size: 12px;
    color: #999;
}

/* 订单管理 */
.order-list-admin {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-admin-item {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.order-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-admin-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.order-admin-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
}

.order-admin-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    overflow: hidden;
    z-index: 101;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

/* 响应式 */
@media (max-width: 600px) {
    .product-grid {
        gap: 10px;
    }
    
    .product-detail-modal,
    .login-modal,
    .admin-modal,
    .dasher-modal,
    .vip-modal {
        width: 95%;
    }
    
    .dasher-stats {
        flex-direction: column;
    }
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

/* 上传截图弹窗 */
.upload-modal {
    width: 400px;
}

.order-info-summary {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 20px;
}

.order-info-summary .order-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.order-info-summary .order-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff4757;
}

/* 订单状态扩展 */
.order-status.submitted {
    background: #e6f7ff;
    color: #1890ff;
}

.order-status.approved {
    background: #f6ffed;
    color: #52c41a;
}

.order-status.rejected {
    background: #fff1f0;
    color: #ff4d4f;
}

/* 订单管理样式 */
.order-admin-item {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 10px;
}

.order-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-admin-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.order-admin-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
}

.order-admin-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.order-admin-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

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

.approve-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.approve-btn:hover {
    opacity: 0.9;
}

.reject-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff4d4f 0%, #cf1322 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.reject-btn:hover {
    opacity: 0.9;
}

/* 订单审核详情 */
.review-order-detail {
    padding: 20px;
}

.review-order-info {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.review-order-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.review-screenshot {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #f0f0f0;
}

.review-actions {
    display: flex;
    gap: 12px;
}

.review-note-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 80px;
}

/* 打手订单操作按钮 */
.upload-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn:hover {
    opacity: 0.9;
}

/* 佣金显示 */
.commission-info {
    font-size: 13px;
    color: #52c41a;
    font-weight: 600;
}

/* 空提示 */
.empty-tip {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
}

/* ========== 个人中心样式 ========== */
.profile-modal {
    width: 420px;
    max-height: 85vh;
    overflow-y: auto;
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.profile-avatar-section {
    position: relative;
    margin-right: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.profile-avatar-upload {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-avatar-upload input {
    display: none;
}

.profile-info {
    flex: 1;
}

.profile-username {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge.admin {
    background: #ff6b6b;
    color: #fff;
}

.badge.vip {
    background: #faad14;
    color: #fff;
}

.badge.normal {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

.profile-body {
    padding: 20px;
}

.profile-section {
    margin-bottom: 20px;
}

.profile-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
}

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

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.profile-stat-item {
    text-align: center;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.profile-stat-label {
    font-size: 12px;
    color: #999;
}

/* ========== 成员中心样式 ========== */
.members-modal {
    width: 480px;
    max-height: 85vh;
    overflow-y: auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.member-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.member-card:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.member-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.member-games {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.member-rating {
    color: #faad14;
}

/* 打手介绍弹窗 */
.dasher-intro-modal {
    width: 420px;
}

.dasher-intro-header {
    position: relative;
}

.dasher-intro-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dasher-intro-avatar {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}

.dasher-intro-body {
    padding: 40px 20px 20px;
}

.dasher-intro-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.dasher-intro-games {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.game-tag {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.dasher-intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 16px;
}

.dasher-intro-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.dasher-stat {
    text-align: center;
}

.dasher-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.dasher-stat-label {
    font-size: 12px;
    color: #999;
}

/* ========== 后台用户管理样式 ========== */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
}

.user-item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

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

.user-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.user-item-meta {
    font-size: 12px;
    color: #999;
}

.user-item-badges {
    display: flex;
    gap: 4px;
}

.user-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.user-badge.admin {
    background: #ff6b6b;
    color: #fff;
}

.user-badge.vip {
    background: #faad14;
    color: #fff;
}

.user-badge.banned {
    background: #ff4d4f;
    color: #fff;
}

.user-item-actions {
    display: flex;
    gap: 6px;
}

.action-btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn-small.ban {
    background: #fff1f0;
    color: #ff4d4f;
}

.action-btn-small.unban {
    background: #f6ffed;
    color: #52c41a;
}

.action-btn-small.delete {
    background: #ff4d4f;
    color: #fff;
}

/* 自定义文件名输入 */
.custom-name-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.custom-name-group .form-input {
    flex: 1;
}

.custom-name-group .file-ext {
    color: #999;
    font-size: 14px;
}

/* 打手编辑表单 */
.dasher-edit-modal {
    width: 420px;
}

.games-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    min-height: 44px;
}

.game-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #667eea;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
}

.game-chip .remove {
    cursor: pointer;
    font-weight: bold;
}

.game-chip .remove:hover {
    opacity: 0.8;
}

.add-game-input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 80px;
    font-size: 14px;
}

/* 导航栏 */
.nav-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.nav-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-row:first-child {
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    flex: 1;
    justify-content: center;
    max-width: 120px;
}

.nav-item:hover,
.nav-item.active {
    background: #f5f5f5;
    color: #667eea;
}

@media (max-width: 480px) {
    .nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .nav-row {
        gap: 8px;
    }
}

/* 页面容器 */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* 成员中心页面 */
.members-page {
    padding: 20px 0;
}

.members-page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.members-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.member-page-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s;
}

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

.member-page-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.member-page-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.member-page-games {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.member-page-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: #666;
}

/* 个人中心页面 */
.profile-page {
    padding: 20px 0;
}

.profile-page-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.profile-page-header {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-page-avatar-section {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.profile-page-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-page-avatar-upload {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-page-avatar-upload input {
    display: none;
}

.profile-page-body {
    padding: 60px 24px 24px;
}

.profile-page-name {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.profile-page-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.profile-page-section {
    margin-bottom: 24px;
}

.profile-page-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.profile-page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.profile-page-stat {
    text-align: center;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.profile-page-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.profile-page-stat-label {
    font-size: 13px;
    color: #999;
}

/* 表单样式扩展 */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* 开关样式 */
.switch-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.switch-label {
    font-size: 14px;
    color: #333;
}

.switch {
    position: relative;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #52c41a;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* ========== 发贴中心样式 ========== */
.post-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.post-form-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.post-image-upload {
    margin-top: 8px;
}

.post-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.post-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.post-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.post-list-section {
    padding: 20px;
}

.post-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-info {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.post-time {
    font-size: 12px;
    color: #999;
}

.post-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
    word-break: break-word;
}

.post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.post-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.post-actions {
    display: flex;
    gap: 16px;
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.post-action-btn:hover {
    background: #f0f0f0;
    color: #ff6b6b;
}

/* ========== 提现样式 ========== */
.withdrawal-modal {
    max-width: 400px;
}

.withdrawal-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.balance-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.balance-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.balance-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.wallet-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.wallet-amount {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.withdrawal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.withdrawal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.withdrawal-history {
    margin-top: 24px;
}

.withdrawal-history-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.withdrawal-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 12px;
}

.withdrawal-history-amount {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.withdrawal-history-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.withdrawal-history-time {
    font-size: 12px;
    color: #999;
}

.withdrawal-history-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.withdrawal-history-status.pending {
    background: #fff7e6;
    color: #faad14;
}

.withdrawal-history-status.approved {
    background: #f6ffed;
    color: #52c41a;
}

.withdrawal-history-status.rejected {
    background: #fff2f0;
    color: #ff4d4f;
}

/* ========== 后台提现审核样式 ========== */
.withdrawal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdrawal-admin-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
}

.withdrawal-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.withdrawal-admin-user {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.withdrawal-admin-amount {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b6b;
}

.withdrawal-admin-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.withdrawal-qr-section {
    margin-bottom: 12px;
    text-align: center;
}

.withdrawal-qr-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.withdrawal-qr-image:hover {
    transform: scale(1.05);
}

.withdrawal-qr-tip {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.withdrawal-admin-actions {
    display: flex;
    gap: 12px;
}

.withdrawal-admin-actions .approve-btn,
.withdrawal-admin-actions .reject-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.withdrawal-admin-actions .approve-btn {
    background: #52c41a;
    color: #fff;
}

.withdrawal-admin-actions .approve-btn:hover {
    background: #389e0d;
}

.withdrawal-admin-actions .reject-btn {
    background: #ff4d4f;
    color: #fff;
}

.withdrawal-admin-actions .reject-btn:hover {
    background: #cf1322;
}

/* ========== 成员中心打手管理 ========== */
.members-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.register-dasher-btn,
.edit-dasher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-dasher-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.register-dasher-btn:hover,
.edit-dasher-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========== 帖子评论样式 ========== */
.post-comments-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.post-comments {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.post-comment-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
}

.post-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.post-comment-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.post-comment-username {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.post-comment-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.post-comment-time {
    font-size: 11px;
    color: #999;
}

.post-comment-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.post-comment-input-wrapper {
    flex: 1;
    display: flex;
    gap: 8px;
}

.post-comment-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}

.post-comment-input:focus {
    border-color: #667eea;
}

.post-comment-submit {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.post-comment-submit:hover {
    opacity: 0.9;
}

.post-comment-login-tip {
    text-align: center;
    padding: 12px;
    color: #999;
    font-size: 13px;
    background: #f5f5f5;
    border-radius: 8px;
}

.post-action-btn.liked {
    color: #ff6b6b;
}

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


/* ========== 公告弹窗样式 ========== */
.announcement-modal {
    max-width: 480px;
    padding: 0;
    overflow: hidden;
}

.announcement-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
    text-align: center;
}

.announcement-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.announcement-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.announcement-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
}

.announcement-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    text-align: center;
}

.announcement-footer .submit-btn {
    width: 100%;
    padding: 12px 24px;
}

/* ========== 会员信息区域样式 ========== */
.vip-info-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.vip-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.vip-status-badge svg {
    fill: #ffd700;
    stroke: #ffd700;
}

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

.vip-expire-info strong {
    color: #333;
}

.vip-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%) !important;
    color: #333 !important;
}

.vip-btn:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9d00 100%) !important;
}

/* ========== 卡密复制按钮样式 ========== */
.copy-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #667eea;
    transition: all 0.3s;
}

.copy-card-btn:hover {
    background: #667eea;
    color: #fff;
}

.card-user-expire {
    font-size: 12px;
    color: #52c41a;
    margin-top: 4px;
    font-weight: 500;
}

/* ========== 公告管理表单样式 ========== */
.switch-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* ========== 订单撤回按钮样式 ========== */
.order-admin-actions .reject-btn {
    background: #ff4d4f;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.order-admin-actions .reject-btn:hover {
    background: #cf1322;
}


/* ========== 下拉刷新指示器 ========== */
.refresh-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 10;
}

.refresh-indicator span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-list-container {
    position: relative;
    overflow: hidden;
}


/* ========== 帖子删除按钮样式 ========== */
.post-action-btn.delete-btn {
    color: #ff4d4f;
    margin-left: auto;
}

.post-action-btn.delete-btn:hover {
    background: #ff4d4f;
    color: #fff;
}

.post-action-btn.delete-btn:hover svg {
    stroke: #fff;
}


/* ========== 颜色选择器样式 ========== */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.color-value {
    font-family: monospace;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
}

.theme-preview {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.preview-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.preview-content {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preview-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.preview-btn.primary {
    background: var(--primary-color, #667eea);
}

.preview-btn.secondary {
    background: var(--secondary-color, #764ba2);
}

.preview-btn.accent {
    background: var(--accent-color, #ff6b6b);
}

/* ========== Logo预览样式 ========== */
.logo-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========== 轮播列表样式 ========== */
.banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
}

.banner-item-preview {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.banner-item-preview img,
.banner-item-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-item-info {
    flex: 1;
}

.banner-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.banner-item-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.banner-item-type {
    font-size: 11px;
    padding: 4px 8px;
    background: #667eea;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
}

.cancel-btn {
    margin-left: 12px;
    padding: 12px 24px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: #666;
}


/* ========== 帖子视频样式 ========== */
.post-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.post-video {
    width: 100%;
    border-radius: 8px;
    max-height: 300px;
    object-fit: cover;
}

/* ========== 媒体预览样式 ========== */
.post-preview-item.video {
    background: #000;
}

.post-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 文件上传提示 ========== */
.file-upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ========== 版权保护样式 ========== */
.copyright-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* 防复制 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 允许输入框选择 */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 禁用右键菜单 */
body {
    -webkit-context-menu: none;
}


/* ========== 轮播文字样式 ========== */
.banner-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.banner-text-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.banner-text-subtitle {
    font-size: 14px;
    opacity: 0.8;
}
