/* ---------- 登录 / 注册 ---------- */
.member-auth-wrap { max-width: 460px; margin: 0 auto 48px; }
.member-auth-card {
    background: var(--surface);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow, 0 6px 22px rgba(15,23,42,.09));
    border: 1px solid rgba(226, 232, 240, .8);
    padding: 30px 32px 26px;
}
.member-auth-head { margin-bottom: 22px; }
.member-auth-head h1 {
    font-size: 21px; margin: 0 0 8px; line-height: 1.4;
    display: flex; align-items: center; gap: 9px; color: var(--text);
}
.member-auth-head h1 i { color: var(--mint); font-size: 19px; }
.member-auth-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.field { margin-bottom: 16px; }
.field > label {
    display: block; margin-bottom: 7px;
    font-size: 14px; font-weight: 600; color: var(--text);
}
.field > label .req { color: #dc2626; margin-left: 2px; }
.field .form-control { width: 100%; display: block; }
.field .hint { margin-top: 6px; font-size: 14px; color: var(--muted); }

.member-alert { display: none; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.member-alert.is-show { display: block; }
.member-alert.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.member-alert.is-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }

.member-auth-foot {
    margin-top: 18px; padding-top: 16px;
    border-top: 1px solid var(--c-line-soft, #f1f5f9);
    text-align: center; font-size: 14px; color: var(--muted);
}
.member-auth-foot a { color: var(--mint); font-weight: 600; }
.member-auth-demo { margin-top: 12px; text-align: center; font-size: 14px; color: #94a3b8; }
.member-auth-demo code {
    background: #102832; padding: 2px 7px; border-radius: 4px;
    color: #475569; font-size: 14px;
}

/* ---------- 会员中心布局 ---------- */
.member-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 46px;
}
.member-nav {
    background: var(--surface); border-radius: var(--radius, 10px);
    box-shadow: var(--shadow-xs, 0 1px 2px rgba(15,23,42,.06)); padding: 8px;
    border: 1px solid rgba(226, 232, 240, .7);
    position: sticky; top: 84px;
}
.member-nav-user {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 10px 16px; margin-bottom: 6px;
    border-bottom: 1px solid var(--c-line-soft, #f1f5f9);
}
.member-nav-user .av {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), #22d3ee);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 17px;
}
.member-nav-user .info { min-width: 0; }
.member-nav-user b {
    display: block; color: var(--text); font-size: 14.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.member-nav-user span { font-size: 14px; color: #94a3b8; }

.member-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px;
    color: var(--text); font-size: 14px; line-height: 1.5;
}
.member-nav-item i { width: 16px; text-align: center; color: #94a3b8; }
.member-nav-item:hover { background: var(--c-line-soft, #f1f5f9); color: var(--mint); }
.member-nav-item:hover i { color: var(--mint); }
.member-nav-item.is-active { background: #eff6ff; color: var(--mint); font-weight: 600; }
.member-nav-item.is-active i { color: var(--mint); }
.member-nav-item.is-danger { color: #dc2626; }
.member-nav-item.is-danger i { color: #dc2626; }
.member-nav-item.is-danger:hover { background: #fef2f2; }

.member-main { min-width: 0; }
.member-panel {
    background: var(--surface); border-radius: var(--radius, 10px);
    box-shadow: var(--shadow-xs, 0 1px 2px rgba(15,23,42,.06)); overflow: hidden;
    border: 1px solid rgba(226, 232, 240, .7);
    margin-bottom: 20px;
}
.member-panel-head {
    padding: 15px 20px; border-bottom: 1px solid var(--c-line-soft, #f1f5f9);
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.member-panel-head h2 {
    font-size: 16px; margin: 0; display: flex; align-items: center; gap: 8px;
    color: var(--text);
}
.member-panel-head h2 i { color: var(--mint); }
.member-panel-head .count { font-size: 14px; font-weight: 400; color: var(--muted); }
.member-panel-body { padding: 20px; }

.member-pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 14px; line-height: 1.6; background: var(--c-line-soft, #f1f5f9);
    color: var(--text);
}
.member-pill.is-ok { background: #dcfce7; color: #15803d; }
.member-pill.is-wait { background: #fef3c7; color: #b45309; }
.member-pill.is-off { background: #102832; color: #64748b; }

.member-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px;
}
.member-stat { background: #102832; border-radius: 8px; padding: 15px 12px; text-align: center; }
.member-stat b { display: block; font-size: 22px; color: var(--mint); line-height: 1.3; }
.member-stat span { font-size: 14px; color: var(--muted); }

.member-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; }
.member-kv > div { min-width: 0; }
.member-kv span { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 3px; }
.member-kv b { font-size: 14px; color: var(--text); font-weight: 500; word-break: break-all; }

.member-list { display: flex; flex-direction: column; gap: 12px; }
.member-list-item {
    border: 1px solid var(--c-line-soft, #f1f5f9); border-radius: 8px;
    padding: 14px 16px; transition: border-color .18s;
}
.member-list-item:hover { border-color: #cbd5e1; }
.member-list-item h4 { font-size: 14.5px; margin: 0 0 7px; line-height: 1.55; }
.member-list-item h4 a { color: var(--text); }
.member-list-item h4 a:hover { color: var(--mint); }
.member-list-item p { margin: 0 0 8px; color: var(--text); font-size: 14px; line-height: 1.75; }
.member-list-item .meta {
    font-size: 14px; color: #94a3b8;
    display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.member-empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.member-empty i { font-size: 34px; display: block; margin-bottom: 12px; color: #cbd5e1; }
.member-empty p { margin: 0 0 6px; font-size: 14px; }

.member-form-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px;
}
.member-form-actions { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 860px) {
    .member-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .member-nav { position: static; }
    .member-auth-card { padding: 24px 20px 20px; }
}

/* 小屏轮播：标题区留白与字号同步收紧，避免文字压到指示点 */
@media (max-width: 860px) {
    .carousel-caption { padding: 64px 22px 20px; }
    .carousel-caption h2 { font-size: 20px; }
    .carousel-caption p { font-size: 14px; }
    .carousel-dots { bottom: 14px; right: 16px; }
}
@media (max-width: 560px) {
    .carousel-caption { padding: 48px 16px 16px; }
    .carousel-caption h2 { font-size: 17px; }
}
