/* =====================================================================
   personal.css — SPA 个人中心（新版玻璃卡片列表）
   与 Tpl/wap/User/Personal.html 同一套版式与 token：
     底  base.css 的深色渐变
     卡  rgba(30,36,46,.88) + 1px rgba(255,255,255,.08)
     主色 #3b82f6 → #2563eb
   仅 uc-* 前缀；禁用 inset，兼容老 WebView
   ===================================================================== */

/* ---------- 个人信息卡 ---------- */
.uc-profile {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 12px 16px 0;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(59, 130, 246, 0.38) 0%, rgba(59, 130, 246, 0) 55%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.34) 0%, rgba(30, 36, 46, 0.92) 62%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.uc-profile::after {
    content: "";
    position: absolute;
    top: -46px;
    right: -34px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.30) 0%, rgba(96, 165, 250, 0) 70%);
    pointer-events: none;
}

.uc-avatar {
    position: relative;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    margin-right: 14px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.uc-avatar > img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.uc-avatar-ph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}
.uc-avatar-ph svg {
    width: 30px;
    height: 30px;
}
.uc-avatar-cam {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid #16213a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.uc-avatar-cam svg {
    width: 11px;
    height: 11px;
    color: #fff;
}
/* 上传中的遮罩 */
.md-uploading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
}

.uc-info {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}
.uc-name {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uc-tags {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.uc-pill {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.4;
    color: #cfe0ff;
    background: rgba(59, 130, 246, 0.22);
    border: 1px solid rgba(96, 165, 250, 0.38);
    white-space: nowrap;
}
.uc-pill.vip {
    color: #ffe3a3;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(217, 119, 6, 0.18));
    border-color: rgba(245, 158, 11, 0.45);
}

/* ---------- 分组卡片 ---------- */
.uc-group {
    margin: 16px 16px 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(30, 36, 46, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.uc-group-title {
    padding: 13px 16px 11px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.uc-row {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
}
.uc-row + .uc-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.uc-row:active {
    background: rgba(59, 130, 246, 0.12);
}
.uc-ic {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    border-radius: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #60a5fa;
}
.uc-ic svg {
    width: 17px;
    height: 17px;
}
.uc-label {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14.5px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uc-value {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: 42%;
    margin-left: 10px;
    font-size: 13px;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uc-arrow {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-left: 6px;
    color: #64748b;
    display: block;
}
.uc-arrow svg {
    width: 15px;
    height: 15px;
    display: block;
}
.uc-dot {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

/* ---------- 退出登录 ---------- */
.uc-logout {
    display: block;
    margin: 22px 16px 0;
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: -webkit-transform 0.15s ease, transform 0.15s ease;
}
.uc-logout:active {
    -webkit-transform: scale(0.97);
    transform: scale(0.97);
}
