/* ---------- 媒体域个人中心 ----------
   视觉延续媒体域暖琥珀色（#b08756 主色 / #2b1f12 深棕）。
   布局用 Bootstrap 栅格：手机上下堆叠、桌面左身份卡 + 右功能区（col-lg-4 / col-lg-8）。 */
.mm-shell { max-width: 1040px; margin: 0 auto; padding: 76px 14px 64px; }

.mm-card {
    background: #fff; border: 1px solid rgba(176, 135, 86, .18);
    border-radius: 18px; box-shadow: 0 6px 20px rgba(120, 90, 40, .06);
    padding: 22px; margin-bottom: 20px;
}
.mm-card:last-child { margin-bottom: 0; }
.mm-sec-title { font-size: .98rem; font-weight: 800; color: #2b1f12; margin-bottom: 14px; }
.mm-sec-title i { color: #b08756; }
.mm-hint { margin: 12px 0 0; font-size: .78rem; color: #a29684; }

/* 左列：身份卡 */
.mm-avatar-wrap { position: relative; width: 88px; height: 88px; margin: 6px; cursor: pointer; }
.mm-avatar {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
    border: 3px solid rgba(176, 135, 86, .35); background: #f4ede2;
}
.mm-avatar-edit {
    position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px;
    border-radius: 50%; background: #b08756; color: #fff; font-size: 13px;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.mm-name { font-weight: 800; color: #2b1f12; font-size: 1.05rem; margin-top: 12px; cursor: pointer; transition: color .15s ease; }
.mm-name:hover { color: #93703f; }
.mm-name .mm-name-edit { font-size: .72rem; font-weight: 600; color: #b08756; margin-left: 6px; vertical-align: middle; }
.mm-role { margin-top: 8px; }
.mm-role-badge {
    display: inline-block; padding: 3px 14px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; color: #8c8273;
    background: rgba(140, 130, 115, .12); border: 1px solid rgba(140, 130, 115, .25);
}
.mm-role-badge.partner { color: #2e7d51; background: rgba(46, 125, 81, .1); border-color: rgba(46, 125, 81, .3); }
.mm-role-badge.admin { color: #93703f; background: rgba(176, 135, 86, .14); border-color: rgba(176, 135, 86, .35); }
.mm-mobile { margin-top: 10px; font-size: .82rem; color: #a29684; }
.mm-mobile i { color: #b08756; }

.mm-logout-btn {
    width: 100%; border: 1px solid rgba(176, 135, 86, .4); border-radius: 12px;
    background: #fff; color: #93703f; font-weight: 700; font-size: .86rem;
    padding: 9px 0; margin-top: 14px; transition: background .15s ease;
}
.mm-logout-btn:hover { background: rgba(176, 135, 86, .08); }
.mm-logout-all {
    display: block; margin: 8px auto 0; border: 0; background: none;
    color: #a29684; font-size: .76rem; text-decoration: underline; padding: 2px 0;
}
.mm-logout-all:hover { color: #93703f; }

/* 右列：账号资料 */
.mm-label { font-size: .78rem; color: #8c8273; margin-bottom: 6px; }
.mm-btn-main {
    display: inline-block; border: 0; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(135deg, #b08756, #93703f); color: #fff;
    font-weight: 700; font-size: .84rem; padding: 8px 20px; text-decoration: none;
}
.mm-btn-main:hover { color: #fff; transform: translateY(-1px); }
.mm-btn-main:disabled { opacity: .6; transform: none; }

/* 右列：入驻状态 */
.mm-status {
    display: inline-block; padding: 3px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 700;
}
.mm-status.wait { color: #93703f; background: rgba(176, 135, 86, .14); }
.mm-status.ok { color: #2e7d51; background: rgba(46, 125, 81, .1); }
.mm-status.bad { color: #b0483c; background: rgba(176, 72, 60, .1); }
.mm-coop-line { font-size: .88rem; color: #5c5344; line-height: 1.9; }
.mm-coop-line .mm-status { margin: 0 6px; }
.mm-review-note {
    margin-top: 8px; padding: 10px 14px; border-radius: 10px;
    background: rgba(176, 72, 60, .07); border: 1px solid rgba(176, 72, 60, .2);
    font-size: .82rem; color: #a05548; line-height: 1.7;
}
.mm-link-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mm-link { color: #b08756; font-weight: 700; font-size: .86rem; text-decoration: none; }
.mm-link:hover { color: #93703f; text-decoration: underline; }

/* 右列：我的报名 */
.mm-signup-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed rgba(176, 135, 86, .22);
}
.mm-signup-row:last-child { border-bottom: 0; }
.mm-type-badge {
    flex: 0 0 auto; margin-top: 2px; padding: 2px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; color: #2e7d51; background: rgba(46, 125, 81, .1);
}
.mm-type-badge.team { color: #4f6db0; background: rgba(79, 109, 176, .1); }
.mm-signup-main { flex: 1 1 auto; min-width: 0; }
.mm-signup-title { font-weight: 700; font-size: .9rem; color: #2b1f12; }
.mm-signup-meta { margin-top: 3px; font-size: .78rem; color: #a29684; word-break: break-all; }
.mm-signup-ops { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.mm-signup-ops .mm-link { font-size: .8rem; }
.mm-signup-del {
    border: 0; background: none; padding: 0;
    color: #b0483c; font-size: .8rem; text-decoration: underline;
}
.mm-signup-del:hover { color: #8f342b; }

/* 空态 */
.mm-empty { text-align: center; padding: 14px 0 6px; }
.mm-empty i { font-size: 1.9rem; color: #d8c9b2; }
.mm-empty p { margin: 8px 0; font-size: .84rem; color: #a29684; }

/* Toast */
.mm-toast {
    position: fixed; left: 50%; bottom: 42px; transform: translateX(-50%) translateY(16px);
    background: rgba(43, 31, 18, .92); color: #fdfaf6; font-size: .84rem;
    padding: 10px 22px; border-radius: 999px; opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; z-index: 1080; max-width: 86vw;
}
.mm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mm-toast.error { background: rgba(143, 52, 43, .94); }

/* 账号资料弹窗（点击昵称弹出） */
.mm-modal-mask {
    position: fixed; inset: 0; z-index: 1090;
    display: flex; align-items: center; justify-content: center;
    background: rgba(43, 31, 18, .45); padding: 16px;
}
.mm-modal {
    width: 100%; max-width: 480px;
    background: #fff; border-radius: 18px;
    box-shadow: 0 16px 48px rgba(43, 31, 18, .28);
    position: relative; padding: 22px;
    animation: mmPop .18s ease;
}
@keyframes mmPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.mm-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(176, 135, 86, .1); color: #93703f;
    font-size: .9rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s ease;
}
.mm-modal-close:hover { background: rgba(176, 135, 86, .22); }

/* ---------- Bootstrap 占位骨架 ----------
   接口数据未到位时显示（替代原来的破图 / 加载漏斗）：
   圆形头像骨架 + 手机号占位条，均为 Bootstrap5 原生 .placeholder。
   底色取暖灰（currentColor），避免沿用正文深色变成一坨黑块。 */
.mm-ph { color: #d8cdb8; }
.mm-avatar.placeholder { opacity: 1; background-color: #e3dccf; }