/* 会员中心 — 大气统一模板 */
:root {
    --mc-primary: #2B7B6B;
    --mc-primary-dark: #176b5e;
    --mc-accent: #38b29a;
    --mc-success: #059669;
    --mc-warning: #d97706;
    --mc-danger: #dc2626;
    --mc-bg: #eef2f7;
    --mc-surface: #ffffff;
    --mc-text: #0f172a;
    --mc-text-muted: #64748b;
    --mc-border: rgba(15, 23, 42, 0.08);
    --mc-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --mc-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --mc-radius: 16px;
    --mc-radius-sm: 10px;
    --mc-sidebar-w: 260px;
    --mc-header-h: 72px;
    --mc-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.mc-body {
    font-family: var(--mc-font);
    background: var(--mc-bg);
    color: var(--mc-text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.mc-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(79, 70, 229, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(124, 58, 237, 0.08), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* —— 顶栏 —— */
.mc-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--mc-header-h);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--mc-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.mc-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.mc-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.mc-brand-text { min-width: 0; }
.mc-brand-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-brand-sub { font-size: 12px; color: var(--mc-text-muted); }

.mc-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: #f8fafc;
    border: 1px solid var(--mc-border);
    border-radius: 999px;
}

.mc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #9fe7d4, #bfeede);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--mc-primary-dark);
    overflow: hidden;
    flex-shrink: 0;
}

.mc-avatar img { width: 100%; height: 100%; object-fit: cover; }

.mc-user-name {
    font-size: 14px;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--mc-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.mc-btn:hover { transform: translateY(-1px); }
.mc-btn-primary {
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.mc-btn-outline {
    background: #fff;
    color: var(--mc-text-muted);
    border: 1px solid var(--mc-border);
}
.mc-btn-outline:hover { color: var(--mc-primary); border-color: #9fe7d4; }
.mc-btn-sm { padding: 8px 14px; font-size: 13px; }
.mc-btn-ghost {
    background: transparent;
    color: var(--mc-text-muted);
    padding: 8px 12px;
}
.mc-btn-ghost:hover { color: var(--mc-primary); background: #f1f5f9; }

.mc-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mc-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: var(--mc-text);
}

/* —— 布局壳 —— */
.mc-shell {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: var(--mc-sidebar-w) 1fr;
    gap: 24px;
    align-items: start;
}

/* —— 侧边导航 —— */
.mc-sidebar {
    position: sticky;
    top: calc(var(--mc-header-h) + 24px);
    background: var(--mc-surface);
    border-radius: var(--mc-radius);
    border: 1px solid var(--mc-border);
    box-shadow: var(--mc-shadow);
    padding: 16px 12px;
    overflow: hidden;
}

.mc-nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 8px 14px 12px;
}

.mc-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: var(--mc-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.mc-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.mc-nav-item:hover {
    background: #f8fafc;
    color: var(--mc-primary);
}

.mc-nav-item.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.08));
    color: var(--mc-primary);
    font-weight: 600;
}

.mc-nav-divider {
    height: 1px;
    background: var(--mc-border);
    margin: 12px 8px;
}

.mc-nav-quick {
    padding: 8px 14px 4px;
}

.mc-nav-quick .mc-btn {
    width: 100%;
    margin-bottom: 8px;
}

/* —— 主内容 —— */
.mc-main { min-width: 0; }

/* —— 英雄区 / 欢迎 —— */
.mc-hero {
    position: relative;
    border-radius: var(--mc-radius);
    padding: 32px 36px;
    margin-bottom: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #312e81 100%);
    color: #fff;
    box-shadow: var(--mc-shadow-lg);
}

.mc-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.mc-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.mc-hero-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mc-hero-greeting {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.mc-hero-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.mc-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mc-hero-avatar,
.mc-avatar.mc-hero-avatar {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    font-size: 32px;
}

.mc-main .mc-avatar.mc-hero-avatar {
    border: 3px solid #e2e8f0;
    width: 72px;
    height: 72px;
    font-size: 28px;
    border-radius: 18px;
}

.mc-hero-avatar img,
.mc-avatar.mc-hero-avatar img { border-radius: 17px; }

/* —— 统计卡片 —— */
.mc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mc-stat {
    background: var(--mc-surface);
    border-radius: var(--mc-radius);
    padding: 22px 20px;
    border: 1px solid var(--mc-border);
    box-shadow: var(--mc-shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mc-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--mc-shadow-lg);
}

.mc-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mc-stat-icon.purple { background: #e3f6f1; color: #38b29a; }
.mc-stat-icon.blue { background: #dbeafe; color: #2563eb; }
.mc-stat-icon.green { background: #d1fae5; color: #059669; }
.mc-stat-icon.amber { background: #fef3c7; color: #d97706; }

.mc-stat-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mc-stat-label {
    font-size: 13px;
    color: var(--mc-text-muted);
    margin-top: 4px;
}

/* —— 卡片 —— */
.mc-card {
    background: var(--mc-surface);
    border-radius: var(--mc-radius);
    border: 1px solid var(--mc-border);
    box-shadow: var(--mc-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.mc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--mc-border);
    flex-wrap: wrap;
}

.mc-card-title {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-card-title i {
    color: var(--mc-primary);
    font-size: 16px;
}

.mc-card-more {
    font-size: 13px;
    color: var(--mc-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mc-card-more:hover { text-decoration: underline; }

.mc-card-body { padding: 24px; }

/* —— 快捷入口 —— */
.mc-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mc-action {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 24px 20px;
    border-radius: 14px;
    border: 1px solid var(--mc-border);
    background: #fafbfc;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.mc-action:hover {
    border-color: #9fe7d4;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);
}

.mc-action-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.08));
    color: var(--mc-primary);
}

.mc-action h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mc-action p {
    font-size: 12px;
    color: var(--mc-text-muted);
    line-height: 1.5;
}

/* —— 列表项 —— */
.mc-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mc-list-item:last-child { border-bottom: none; }

.mc-list-main h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mc-list-main p {
    font-size: 13px;
    color: var(--mc-text-muted);
}

.mc-list-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mc-tag {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.mc-tag-success { background: #d1fae5; color: #047857; }
.mc-tag-muted { background: #f1f5f9; color: #64748b; }

.mc-link {
    color: var(--mc-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.mc-link:hover { text-decoration: underline; }

.mc-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--mc-text-muted);
}

.mc-empty i {
    font-size: 40px;
    opacity: 0.35;
    margin-bottom: 12px;
    display: block;
}

/* —— 水印预览 —— */
.mc-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mc-photo-thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--mc-border);
    transition: transform 0.2s;
}

.mc-photo-thumb:hover { transform: scale(1.03); }

.mc-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mc-photo-meta {
    font-size: 13px;
    color: var(--mc-text-muted);
    margin-top: 12px;
}

/* —— 表格 / 筛选 —— */
.mc-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.mc-filter select,
.mc-filter input[type="date"],
.mc-filter input[type="text"] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: var(--mc-radius-sm);
    font-size: 14px;
    background: #fff;
}

.mc-table-wrap { overflow-x: auto; }

.mc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mc-table th,
.mc-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.mc-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--mc-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mc-table tbody tr:hover { background: #fafbfc; }

.mc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.mc-pagination a,
.mc-pagination span {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--mc-border);
    color: var(--mc-text-muted);
    background: #fff;
}

.mc-pagination a:hover,
.mc-pagination a.active {
    background: var(--mc-primary);
    color: #fff;
    border-color: var(--mc-primary);
}

.mc-pagination .disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* —— 表单 —— */
.mc-form-group { margin-bottom: 20px; }

.mc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.mc-form-group input,
.mc-form-group select,
.mc-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: var(--mc-radius-sm);
    font-size: 14px;
}

.mc-form-group input:focus,
.mc-form-group select:focus,
.mc-form-group textarea:focus {
    outline: none;
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.mc-alert {
    padding: 14px 16px;
    border-radius: var(--mc-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.mc-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.mc-alert-success { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }

/* —— 页脚 —— */
.mc-footer {
    text-align: center;
    padding: 32px 24px 40px;
    color: var(--mc-text-muted);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

/* —— 登录 / 改密 —— */
body.mc-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    font-family: var(--mc-font);
}

body.mc-auth::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.25), transparent 50%);
    pointer-events: none;
}

.mc-auth-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mc-auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.mc-auth-logo .mc-brand-icon {
    margin: 0 auto 16px;
    width: 56px;
    height: 56px;
    font-size: 24px;
    border-radius: 16px;
}

.mc-auth-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mc-text);
    margin-bottom: 6px;
}

.mc-auth-logo p { color: var(--mc-text-muted); font-size: 14px; }

.mc-page-head {
    margin-bottom: 24px;
}

.mc-page-head h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mc-page-head p { color: var(--mc-text-muted); font-size: 14px; }

.mc-page-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.mc-detail-block { margin-top: 20px; }
.mc-detail-block-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--mc-text); }
.mc-detail-block-body {
    background: #f8fafc;
    padding: 16px 18px;
    border-radius: 12px;
    line-height: 1.85;
    border: 1px solid #f1f5f9;
    color: #334155;
}
.mc-detail-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.mc-wm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.mc-wm-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--mc-border);
    cursor: pointer;
}
.mc-wm-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-wm-time {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 20px 8px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    color: #fff;
    font-size: 11px;
    pointer-events: none;
}
.mc-wm-del {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(239,68,68,.92);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
}
.mc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mc-lightbox.show { display: flex; }
.mc-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.mc-lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}
.mc-lightbox-info {
    position: absolute;
    left: 20px; right: 20px; bottom: 20px;
    color: #fff;
    font-size: 13px;
    background: rgba(0,0,0,.45);
    padding: 12px 16px;
    border-radius: 8px;
    white-space: pre-line;
    max-height: 30vh;
    overflow: auto;
}

/* —— 响应式 —— */
@media (max-width: 1100px) {
    .mc-stats { grid-template-columns: repeat(2, 1fr); }
    .mc-actions { grid-template-columns: repeat(2, 1fr); }
    .mc-photo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .mc-shell {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .mc-sidebar {
        position: fixed;
        top: var(--mc-header-h);
        left: 0;
        bottom: 0;
        width: min(280px, 85vw);
        z-index: 300;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }

    .mc-sidebar.open { transform: translateX(0); }

    .mc-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: var(--mc-header-h);
        background: rgba(15, 23, 42, 0.45);
        z-index: 250;
    }

    .mc-sidebar-overlay.show { display: block; }

    .mc-menu-toggle { display: flex; align-items: center; justify-content: center; }

    .mc-user-name { display: none; }

    .mc-hero { padding: 24px 20px; }
    .mc-hero-title { font-size: 22px; }
    .mc-hero-avatar { width: 64px; height: 64px; font-size: 24px; }

    .mc-photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .mc-stats,
    .mc-actions { grid-template-columns: 1fr; }
    .mc-brand-title { font-size: 14px; }
    .mc-topbar-inner { padding: 0 16px; }
}

/* —— 相册网格 —— */
.mc-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.mc-album-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--mc-surface);
    border-radius: var(--mc-radius);
    border: 1px solid var(--mc-border);
    overflow: hidden;
    box-shadow: var(--mc-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mc-album-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mc-shadow-lg);
}

.mc-album-cover {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e3f6f1, #e8faf5);
    overflow: hidden;
}

.mc-album-cover img { width: 100%; height: 100%; object-fit: cover; }

.mc-album-cover .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #7fd3c0;
}

.mc-album-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
}

.mc-album-body { padding: 16px 18px; }

.mc-album-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mc-album-addr {
    font-size: 13px;
    color: var(--mc-text-muted);
    margin-bottom: 6px;
}

.mc-album-time { font-size: 12px; color: #94a3b8; }

.mc-news-list { display: flex; flex-direction: column; gap: 14px; }
.mc-news-item {
    display: flex; gap: 14px; padding: 14px; border: 1px solid var(--mc-border);
    border-radius: 12px; background: #fff; text-decoration: none; color: inherit;
    transition: box-shadow .2s, border-color .2s;
}
.mc-news-item:hover { border-color: #9fe7d4; box-shadow: 0 8px 24px rgba(43,123,107,.08); }
.mc-news-cover { width: 120px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #f1f5f9; }
.mc-news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-news-cover-placeholder { display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 24px; }
.mc-news-body { flex: 1; min-width: 0; }
.mc-news-title { font-size: 15px; font-weight: 600; color: #1e293b; line-height: 1.5; margin-bottom: 8px; }
.mc-news-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #94a3b8; margin-bottom: 6px; }
.mc-news-summary { font-size: 13px; color: #64748b; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-tag-warn { background: #fef3c7; color: #b45309; margin-right: 6px; }

.mc-rich-content { font-size: 15px; line-height: 1.85; color: #334155; word-break: break-word; }
.mc-rich-content p { margin: 0 0 1em; }
.mc-rich-content h1, .mc-rich-content h2, .mc-rich-content h3 { margin: 1.2em 0 0.6em; font-weight: 700; color: #1e293b; }
.mc-rich-content h1 { font-size: 22px; }
.mc-rich-content h2 { font-size: 19px; }
.mc-rich-content h3 { font-size: 17px; }
.mc-rich-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; display: block; }
.mc-rich-content blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid #9fe7d4; background: #f8fafc; color: #64748b; }
.mc-rich-content ul, .mc-rich-content ol { margin: 0 0 1em 1.4em; }
.mc-rich-content a { color: #2B7B6B; text-decoration: underline; }
.mc-rich-content .pn-video-wrap { margin: 18px 0; border-radius: 12px; overflow: hidden; background: #0f172a; }
.mc-rich-content .pn-video-wrap video { width: 100%; display: block; max-height: 420px; background: #000; }
.mc-rich-content .pn-video-wrap iframe { width: 100%; min-height: 360px; border: 0; display: block; background: #000; }
.mc-rich-content .pn-video-link { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 0; }
.mc-rich-content .pn-video-link-card {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: #fff; text-decoration: none;
}
.mc-rich-content .pn-video-link-card:hover { background: rgba(255,255,255,0.04); }
.mc-rich-content .pn-video-link-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #fe2c55; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.mc-rich-content .pn-video-link-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mc-rich-content .pn-video-link-title { font-size: 16px; font-weight: 600; color: #fff; }
.mc-rich-content .pn-video-link-desc { font-size: 13px; color: rgba(255,255,255,0.72); }

.mc-news-cover-full { margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.mc-news-cover-full img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.mc-news-summary-box { padding: 14px 16px; background: #f8fafc; border-radius: 10px; color: #64748b; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.mc-news-attach {
    display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 18px;
    border: 1px solid #fecaca; border-radius: 12px; background: #fff5f5; color: #991b1b; text-decoration: none;
}
.mc-news-attach i { font-size: 24px; color: #ef4444; }
.mc-news-attach span { flex: 1; font-weight: 600; color: #1e293b; }
.mc-news-attach em { font-style: normal; font-size: 12px; color: #64748b; }

.mc-poster-mask {
    position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 1200;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.mc-poster-mask[hidden] { display: none !important; }
.mc-poster-dialog {
    width: min(92vw, 420px); background: #fff; border-radius: 16px; padding: 18px;
    box-shadow: 0 24px 60px rgba(15,23,42,.25);
}
.mc-poster-title { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 12px; text-align: center; }
.mc-poster-dialog img { width: 100%; border-radius: 12px; display: block; background: #f8fafc; }
.mc-poster-actions { display: flex; gap: 10px; margin-top: 14px; justify-content: center; flex-wrap: wrap; }

.mc-share-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 16px; padding: 16px 20px; background: #fff; border-radius: 12px;
    border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.mc-share-label { font-size: 14px; font-weight: 600; color: #334155; display: flex; align-items: center; gap: 8px; }
.mc-share-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-share-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #475569;
    font-size: 13px; cursor: pointer;
}
.mc-share-btn:hover { border-color: #9fe7d4; color: #176b5e; }
.mc-share-btn-primary { background: linear-gradient(135deg, var(--mc-primary), var(--mc-primary-dark)); color: #fff; border-color: transparent; }
.mc-share-btn-primary:hover { color: #fff; opacity: .92; }

.mc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mc-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mc-tab:hover {
    border-color: #9fe7d4;
    color: #176b5e;
}

.mc-tab.active {
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-primary-dark));
    color: #fff;
    border-color: transparent;
}

.mc-wm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.mc-wm-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.mc-wm-preview {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #334155, #1e293b);
}

.mc-wm-preview-box {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre-line;
}

.mc-wm-body {
    padding: 14px 16px;
}

.mc-wm-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.mc-wm-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.mc-wm-fields {
    margin-top: 8px;
    font-size: 12px;
    color: #475569;
}

.mc-wm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
}

.mc-wm-toolbar-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
}

.mc-wm-toolbar-main i {
    color: #2563eb;
}

.mc-wm-toolbar-hint {
    font-size: 12px;
    color: #64748b;
}

.mc-wm-card.mc-wm-selectable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.mc-wm-card.mc-wm-selectable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.mc-wm-card.is-selected {
    border-color: #38b29a;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18);
}

.mc-wm-current-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.mc-wm-select-btn {
    margin-top: 12px;
    width: 100%;
    min-height: 36px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fafc;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.mc-wm-card.is-selected .mc-wm-select-btn {
    background: linear-gradient(135deg, #38b29a, #38b29a);
    border-color: transparent;
    color: #fff;
    cursor: default;
}

.mc-wm-card:not(.is-selected):hover .mc-wm-select-btn {
    background: #eff6ff;
    border-color: #93c5fd;
}

.mc-wm-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    background: #1e293b;
    color: #fff;
}

.mc-wm-toast.is-ok { background: #047857; }
.mc-wm-toast.is-error { background: #dc2626; }

.mc-info-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mc-info-label {
    width: 100px;
    font-size: 13px;
    color: var(--mc-text-muted);
    flex-shrink: 0;
}

.mc-info-value { flex: 1; font-weight: 500; }

.mc-risk {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.mc-risk-0 { background: #d1fae5; color: #047857; }
.mc-risk-1 { background: #fef3c7; color: #b45309; }
.mc-risk-2 { background: #ffedd5; color: #c2410c; }
.mc-risk-3 { background: #fee2e2; color: #b91c1c; }
