/* ==========================================================================
   会员社区 · 前台样式（会员列表 / 会员个人主页）
   --------------------------------------------------------------------------
   设计目标：对齐「设计本 / 土巴兔」这类设计师黄页的观感 ——
   封面式卡片、克制的蓝色主色、清晰的层级与统计，而不是后台表单风。

   所有规则都以 .mc- 前缀命名，与会员中心的 .ms-* 体系互不干扰；
   只保留 .ms-btn 的最小实现，供预约弹窗（_appt_modal.html）复用。
   ========================================================================== */

/* ---- 设计令牌 ---- */
.mc-page {
    --mc-ink: #0f172a;
    --mc-ink-2: #334155;
    --mc-muted: #64748b;
    --mc-faint: #94a3b8;
    --mc-line: #e6ebf3;
    --mc-surface: #ffffff;
    --mc-accent: #2f6feb;
    --mc-accent-2: #5b8ff9;
    --mc-accent-soft: #eaf1ff;
    --mc-accent-ink: #2f5fbf;
    --mc-radius: 18px;
    --mc-radius-sm: 10px;
    --mc-shadow-sm: 0 2px 10px rgba(15, 23, 42, .04);
    --mc-shadow: 0 12px 30px rgba(15, 23, 42, .09);

    padding: 26px 0 64px;
    color: var(--mc-ink-2);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.mc-page *,
.mc-page *::before,
.mc-page *::after { box-sizing: border-box; }

.mc-page a { transition: color .15s ease, background .15s ease, border-color .15s ease; }

/* ==========================================================================
   按钮
   ========================================================================== */
.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius-sm);
    background: #fff;
    color: var(--mc-ink-2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mc-btn:hover { border-color: #c9d6ea; background: #f8faff; color: var(--mc-ink); }
.mc-btn:active { transform: translateY(1px); }

.mc-btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--mc-accent) 0%, var(--mc-accent-2) 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(47, 111, 235, .24);
}
.mc-btn-primary:hover {
    background: linear-gradient(135deg, #2459c4 0%, #4a7ff0 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(47, 111, 235, .3);
}

.mc-btn-ghost { background: #fff; }
.mc-btn-block { width: 100%; }
.mc-btn.is-following {
    background: var(--mc-accent-soft);
    border-color: #cfe0ff;
    color: var(--mc-accent-ink);
    box-shadow: none;
}

/* 预约弹窗沿用 .ms-btn：这里只给最小可用样式，不引入整个会员中心 CSS */
.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--mc-line);
    border-radius: 9px;
    background: #fff;
    color: var(--mc-ink-2);
    font-family: inherit;
    font-size: 13.5px;
    text-decoration: none;
    cursor: pointer;
}
.ms-btn-primary { border-color: var(--mc-accent); background: var(--mc-accent); color: #fff; }

/* ==========================================================================
   页头 + 搜索
   ========================================================================== */
.mc-pagehead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.mc-pagehead-copy { flex: 1 1 260px; min-width: 240px; }
.mc-eyebrow {
    margin: 0 0 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--mc-accent);
}
.mc-h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--mc-ink);
}
.mc-lead { margin: 8px 0 0; font-size: 13.5px; color: var(--mc-muted); }
.mc-lead b { color: var(--mc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.mc-search { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; flex-wrap: nowrap; }
.mc-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 200px;
    min-width: 180px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--mc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--mc-faint);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mc-search-field:focus-within {
    border-color: #b9d0f7;
    box-shadow: 0 0 0 4px rgba(47, 111, 235, .1);
}
.mc-search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mc-ink);
    font-family: inherit;
    font-size: 14px;
}
.mc-search-field input::placeholder { color: var(--mc-faint); }

.mc-select {
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--mc-line);
    border-radius: 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: var(--mc-ink-2);
    font-family: inherit;
    font-size: 13.5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.mc-select:focus { outline: 0; border-color: #b9d0f7; }

/* ==========================================================================
   筛选面板
   ========================================================================== */
.mc-filters {
    padding: 4px 20px;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: #fff;
    box-shadow: var(--mc-shadow-sm);
}
.mc-filter-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed var(--mc-line);
}
.mc-filter-row:last-child { border-bottom: 0; }
/* 筛选面板末行（「已筛选 / 清除全部筛选」）：不要虚线下边框，
   并与上方筛选项拉开一点距离，避免贴着最后一行 chip */
.mc-filter-foot {
    border-bottom: 0;
    padding-top: 10px;
    margin-top: 2px;
}
.mc-filter-label {
    flex: 0 0 44px;
    font-size: 13px;
    line-height: 28px;
    color: var(--mc-muted);
    white-space: nowrap;
}
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.mc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--mc-ink-2);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
}
.mc-chip:hover { background: var(--mc-accent-soft); color: var(--mc-accent-ink); }
.mc-chip.is-active {
    background: var(--mc-accent-soft);
    color: var(--mc-accent-ink);
    font-weight: 600;
}
.mc-chip i { font-style: normal; font-size: 11px; color: #a8b3c4; font-variant-numeric: tabular-nums; }
.mc-chip.is-active i { color: var(--mc-accent-ink); }
.mc-chip.is-clear {
    gap: 5px;
    background: #fff1f2;
    color: #be123c;
    font-weight: 500;
}
.mc-chip.is-clear:hover { background: #ffe4e6; color: #9f1239; }

/* ==========================================================================
   会员卡片网格
   ========================================================================== */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.mc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: var(--mc-surface);
    box-shadow: var(--mc-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mc-card:hover {
    transform: translateY(-3px);
    border-color: #d7e3f7;
    box-shadow: var(--mc-shadow);
}

.mc-card-cover {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0ff 0%, #f5f8ff 60%, #eef4ff 100%);
}
.mc-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.mc-card:hover .mc-card-cover img { transform: scale(1.045); }
.mc-card-cover-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 56px;
    font-weight: 700;
    color: rgba(47, 111, 235, .22);
    background: radial-gradient(circle at 28% 18%, #fff 0%, rgba(255, 255, 255, 0) 62%);
}

.mc-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 0 18px 14px;
}

.mc-avatar {
    position: relative;
    z-index: 2;                 /* 必须压住封面：封面是定位元素，会盖住静态流里的头像 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border: 3px solid #fff;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--mc-accent) 0%, #7aa8ff 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(47, 111, 235, .26);
}
.mc-avatar-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.mc-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-card-head { display: flex; flex-direction: column; gap: 3px; }
.mc-name { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; }
.mc-name a { color: var(--mc-ink); text-decoration: none; }
.mc-name a:hover { color: var(--mc-accent); }
.mc-loc { margin: 0; font-size: 12.5px; color: var(--mc-muted); }

.mc-bio {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: var(--mc-ink-2);
    font-size: 13.5px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mc-bio.is-empty { color: #a8b3c4; }

.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-tag {
    display: inline-block;
    max-width: 100%;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--mc-accent-soft);
    color: var(--mc-accent-ink);
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding: 11px 0;
    border-top: 1px dashed var(--mc-line);
    border-bottom: 1px dashed var(--mc-line);
}
.mc-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.mc-stat b {
    max-width: 100%;
    overflow: hidden;
    color: var(--mc-ink);
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mc-stat span { font-size: 11.5px; color: var(--mc-faint); }
.mc-stat:nth-child(3) b {
    color: var(--mc-ink-2);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.mc-works { display: flex; flex-direction: column; gap: 6px; }
.mc-works-title { margin: 0; font-size: 11.5px; letter-spacing: .04em; color: var(--mc-faint); }
.mc-works ul { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
.mc-works li { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13px; }
.mc-works li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--mc-ink-2);
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mc-works li a:hover { color: var(--mc-accent); }
.mc-works li i { font-style: normal; font-size: 12px; color: #0e9f6e; }

.mc-card-actions { display: flex; gap: 10px; padding: 0 18px 18px; }
.mc-card-actions .mc-btn { flex: 1; min-width: 0; }

/* ==========================================================================
   个人主页 · 头部
   ========================================================================== */
.mc-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--mc-faint);
    font-size: 13px;
}
.mc-crumb a { color: var(--mc-muted); text-decoration: none; }
.mc-crumb a:hover { color: var(--mc-accent); }
.mc-crumb b { color: var(--mc-ink); font-weight: 600; }

.mc-profile {
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--mc-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
}
.mc-profile-cover {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: linear-gradient(120deg, #2f6feb 0%, #5b8ff9 46%, #9cc2ff 100%);
}
.mc-profile-cover-deco {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 46%),
        radial-gradient(circle at 84% 88%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 52%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 14px);
}

.mc-profile-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 28px;
    margin-top: -46px;
}
.mc-profile-avatar {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--mc-accent) 0%, #7aa8ff 100%);
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .18);
}
.mc-profile-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-profile-id { flex: 1; min-width: 220px; padding-bottom: 4px; }
.mc-profile-name {
    margin: 0;
    color: var(--mc-ink);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
}
.mc-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 8px 0 0;
    color: var(--mc-muted);
    font-size: 13.5px;
}
.mc-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.mc-profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.mc-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 8px;
}

.mc-profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    border-top: 1px solid var(--mc-line);
}
.mc-pstat { padding: 18px 0; text-align: center; border-right: 1px solid var(--mc-line); }
.mc-pstat:last-child { border-right: 0; }
.mc-pstat b {
    display: block;
    color: var(--mc-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.mc-pstat span { display: block; margin-top: 3px; color: var(--mc-muted); font-size: 12.5px; }

/* ==========================================================================
   个人主页 · 双栏正文
   ========================================================================== */
.mc-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.mc-main { min-width: 0; }
.mc-side { min-width: 0; }

.mc-panel {
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: #fff;
    box-shadow: var(--mc-shadow-sm);
}
.mc-panel:last-child { margin-bottom: 0; }
.mc-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.mc-panel-head h2 { margin: 0; color: var(--mc-ink); font-size: 18px; font-weight: 700; }
.mc-panel-sub { color: var(--mc-muted); font-size: 12.5px; }
.mc-panel-more { margin: 16px 0 0; }

/* 作品墙 */
.mc-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.mc-work {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mc-line);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mc-work:hover {
    transform: translateY(-2px);
    border-color: #d7e3f7;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.mc-work-cover {
    position: relative;
    display: block;
    height: 128px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ff 0%, #e3ecff 100%);
}
.mc-work-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-work-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(47, 111, 235, .34);
    font-size: 38px;
    font-weight: 700;
}
.mc-work-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.mc-work-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--mc-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mc-work-desc {
    display: -webkit-box;
    overflow: hidden;
    color: var(--mc-muted);
    font-size: 12.5px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mc-work-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    color: var(--mc-faint);
    font-size: 12px;
}
.mc-work-meta i { font-style: normal; color: #0e9f6e; }

/* 关于 */
.mc-about-bio {
    margin: 0 0 18px;
    color: var(--mc-ink-2);
    font-size: 14px;
    line-height: 1.9;
    white-space: pre-wrap;
}
.mc-about-bio.is-empty { color: #a8b3c4; }
.mc-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px 14px;
    margin: 0;
}
.mc-fact {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafd;
    font-size: 13.5px;
}
.mc-fact dt { flex: 0 0 72px; margin: 0; color: var(--mc-muted); }
.mc-fact dd { margin: 0; color: var(--mc-ink-2); word-break: break-all; }
.mc-fact dd a { color: var(--mc-accent); text-decoration: none; }
.mc-fact dd a:hover { text-decoration: underline; }

/* 侧栏 */
.mc-side .mc-panel { padding: 18px 20px; margin-bottom: 16px; }
.mc-cta h3,
.mc-contact h3 { margin: 0 0 6px; color: var(--mc-ink); font-size: 15px; font-weight: 700; }
.mc-cta p { margin: 0 0 14px; color: var(--mc-muted); font-size: 13px; line-height: 1.7; }
.mc-cta .mc-btn { margin-bottom: 10px; }
.mc-cta .mc-btn:last-child { margin-bottom: 0; }
.mc-cta-hint { margin: 0 0 12px !important; color: var(--mc-faint) !important; font-size: 12.5px !important; }

.mc-info { margin: 4px 0 0; padding: 0; list-style: none; }
.mc-info li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--mc-line);
    font-size: 13px;
}
.mc-info li:last-child { border-bottom: 0; }
.mc-info span { color: var(--mc-muted); }
.mc-info b { color: var(--mc-ink-2); font-weight: 500; text-align: right; }

.mc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: var(--mc-muted);
    font-size: 13.5px;
    text-decoration: none;
}
.mc-back:hover { color: var(--mc-accent); }

/* ==========================================================================
   分页 / 空态
   ========================================================================== */
.mc-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.mc-pager a,
.mc-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--mc-line);
    border-radius: 10px;
    background: #fff;
    color: var(--mc-ink-2);
    font-size: 13.5px;
    text-decoration: none;
}
.mc-pager a:hover { border-color: #c9d6ea; color: var(--mc-accent); }
.mc-pager .is-current {
    border-color: var(--mc-accent);
    background: var(--mc-accent);
    color: #fff;
    font-weight: 600;
}
.mc-pager .is-disabled { background: #f8fafd; color: #c3ccdb; }

.mc-empty {
    padding: 64px 20px;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: #fff;
    text-align: center;
}
.mc-empty svg { margin-bottom: 12px; }
.mc-empty-inner { padding: 36px 10px; border: 0; background: transparent; }
.mc-empty-title { margin: 0 0 6px; color: var(--mc-ink); font-size: 16px; font-weight: 600; }
.mc-empty-sub { margin: 0 0 16px; color: var(--mc-muted); font-size: 13px; }

/* ==========================================================================
   预约弹窗（原样式保留，仅收敛变量）
   ========================================================================== */
.mc-appt {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.mc-appt.is-open { display: flex; }
.mc-appt-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.mc-appt-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 88vh;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.mc-appt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}
.mc-appt-title { font-size: 16px; font-weight: 600; }
.mc-appt-x {
    border: 0;
    background: none;
    color: #6b7280;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.mc-appt-body { padding: 16px 18px 18px; }
.mc-appt-field { margin-bottom: 12px; }
.mc-appt-field label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
}
.mc-req { margin-left: 2px; color: #dc2626; font-style: normal; }
.mc-appt-field input,
.mc-appt-field select,
.mc-appt-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
}
.mc-appt-field input:focus,
.mc-appt-field select:focus,
.mc-appt-field textarea:focus { outline: none; border-color: var(--mc-accent, #4f46e5); }
.mc-appt-hint { margin: 4px 0 0; color: #6b7280; font-size: 12px; }
.mc-appt-notice {
    margin: 10px 0;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #374151;
    font-size: 12px;
    line-height: 1.7;
}
.mc-appt-msg {
    display: none;
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}
.mc-appt-msg.is-ok { display: block; background: #ecfdf5; color: #047857; }
.mc-appt-msg.is-err { display: block; background: #fef2f2; color: #b91c1c; }
.mc-appt-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.mc-appt-tip { margin: 10px 0 0; color: #6b7280; font-size: 12px; }
.mc-appt.is-busy .mc-appt-foot { opacity: .7; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 960px) {
    .mc-body { grid-template-columns: 1fr; }
    .mc-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        order: -1;
    }
    .mc-side .mc-panel { margin-bottom: 0; }
    .mc-side .mc-back { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .mc-page { padding: 18px 0 48px; }
    .mc-pagehead { flex-direction: column; align-items: stretch; gap: 14px; }
    .mc-h1 { font-size: 24px; }
    .mc-search { flex-wrap: wrap; }
    .mc-search-field { flex-basis: 100%; }
    .mc-search .mc-select { flex: 1; }
    .mc-grid { grid-template-columns: 1fr; gap: 18px; }
    .mc-filter-row { flex-direction: column; gap: 4px; }
    .mc-filter-label { flex-basis: auto; line-height: 1.6; }
    .mc-profile-cover { height: 128px; }
    .mc-profile-head { padding: 0 18px; gap: 14px; margin-top: -40px; }
    .mc-profile-avatar { width: 86px; height: 86px; border-radius: 22px; font-size: 32px; }
    .mc-profile-name { font-size: 22px; }
    .mc-profile-stats { grid-template-columns: repeat(2, 1fr); }
    .mc-pstat:nth-child(2) { border-right: 0; }
    .mc-pstat:nth-child(1),
    .mc-pstat:nth-child(2) { border-bottom: 1px solid var(--mc-line); }
    .mc-panel { padding: 16px 16px; }
    .mc-works-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .mc-work-cover { height: 108px; }
}

@media (max-width: 640px) {
    .mc-side { grid-template-columns: 1fr; }
}
