/* ============================================================
 * 壹梦用户中心风格（移植壹梦 pages/user.php + diy.css 视觉体系）
 * 作用范围：/user 用户中心 + /login /register /lostpwd
 * 配色：#34495e 深蓝灰 / 青蓝渐变 #18cef2→#448aff / 六色扁平统计卡
 * ============================================================ */

/* ---------- 顶部横幅用户卡 ---------- */
.ymwl-uc-hero {
    position: relative;
    background: #34495e;
    color: #fff;
    overflow: hidden;
}
.ymwl-uc-hero-bg {
    position: absolute;
    inset: 0;
    background: url(../images/6699fb53312b3.jpg) center / cover no-repeat;
}
.ymwl-uc-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(53, 60, 70, .45);
}
.ymwl-uc-hero-inner {
    position: relative;
    z-index: 2;
    padding: 56px 0 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* 数据组（余额 / 剩余下载 / 会员状态，半透明白字 + 细分隔线） */
.ymwl-uc-metrics {
    display: flex;
    align-items: flex-start;
}
.ymwl-uc-metric {
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    text-align: left;
    min-width: 0;
    flex: none;
}
.ymwl-uc-metric:first-child {
    padding-left: 0;
    border-left: 0;
    }
.ymwl-uc-metric:last-child {
    padding-right: 16px;
}
.ymwl-uc-metric-label {
    display: block;
    margin-bottom: 6px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .72);
    letter-spacing: .02em;
    white-space: nowrap;
}
.ymwl-uc-metric-value {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}
.ymwl-uc-metric-value small {
    margin-left: 3px;
    font-size: .72rem;
    font-weight: 400;
    opacity: .8;
}
.ymwl-uc-metric-value.is-date {
    font-size: 17px;
    padding-top: 4px;
}
@media (max-width: 991px) {
    .ymwl-uc-metric {
        padding: 0 20px;
    }
}
@media (max-width: 767px) {
    .ymwl-uc-hero-inner {
        padding: 40px 0 66px;
        gap: 1.25rem;
    }
    .ymwl-uc-metrics {
        width: 100%;
        justify-content: space-between;
    }
    .ymwl-uc-metric {
        padding: 0 0 0 16px;
    }
    .ymwl-uc-metric-value {
        font-size: 18px;
    }
    .ymwl-uc-metric-value.is-date {
        font-size: 14px;
        padding-top: 2px;
    }
}
.ymwl-uc-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.ymwl-uc-avatar {
    width: 96px;
    height: 96px;
    border-radius: 6px;
    object-fit: cover;
    flex: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, .16);
    border: 4px solid rgba(255, 255, 255, .25);
}
.ymwl-uc-info {
    min-width: 0;
}
.ymwl-uc-name {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: #fff;
}
.ymwl-uc-sub {
    margin-top: .4rem;
    font-size: .875rem;
    color: #ebedf3;
}
.ymwl-uc-vip-end {
    font-size: 1.1rem;
    color: #fff;
    margin-right: .35rem;
}
/* 终身会员：金色流光文字 + 柔光晕（banner 内两处通用：头像下到期 / 数据组会员状态） */
.ymwl-uc-vip-end.is-lifetime,
.ymwl-uc-metric-value.is-lifetime {
    display: inline-flex;
    align-items: center;
    gap: .32em;
    font-weight: 700;
    letter-spacing: .06em;
    background-image: linear-gradient(100deg,
        #fff3c9 0%, #ffd166 22%, #fffaf0 40%, #ffc93c 58%, #ffe9a8 78%, #ffd166 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffd166;
    filter: drop-shadow(0 0 10px rgba(255, 203, 92, .55)) drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
    animation: ymwlLifetimeShine 3.4s linear infinite;
}
.ymwl-uc-vip-end.is-lifetime i,
.ymwl-uc-metric-value.is-lifetime i {
    font-size: .86em;
    animation: ymwlLifetimePulse 2.4s ease-in-out infinite;
}
@keyframes ymwlLifetimeShine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 240% 50%; }
}
@keyframes ymwlLifetimePulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-1px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .ymwl-uc-vip-end.is-lifetime,
    .ymwl-uc-metric-value.is-lifetime,
    .ymwl-uc-vip-end.is-lifetime i,
    .ymwl-uc-metric-value.is-lifetime i {
        animation: none;
    }
}
/* ---------- 左栏用户卡 ---------- */
.ymwl-uc-usercard {
    border: 0;
}
.ymwl-uc-usercard-body {
    padding: 26px 18px 20px;
    text-align: center;
}
.ymwl-uc-usercard .avatar-xl {
    width: 84px;
    height: 84px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
}
.ymwl-uc-usercard .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f3f6;
    box-shadow: 0 4px 14px rgba(53, 60, 70, .08);
}
.ymwl-uc-usercard-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.3;
}
.ymwl-uc-usercard-badges {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.ymwl-uc-usercard-badges .badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
}
.ymwl-uc-usercard-sub {
    margin-top: 8px;
    font-size: .72rem;
    color: #9aa0ab;
}
/* 终身会员徽章：浅金底 + 金字流光 */
.ymwl-uc-badge-lifetime {
    background: rgba(232, 163, 61, .1) !important;
}
.ymwl-uc-badge-lifetime .lt {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    font-weight: 700;
    letter-spacing: .04em;
    background-image: linear-gradient(100deg,
        #e8a33d 0%, #ffb937 22%, #f7d070 40%, #ffa726 58%, #ffcf5c 78%, #e8a33d 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #e8a33d;
    animation: ymwlLifetimeShine 3.4s linear infinite;
}
.ymwl-uc-badge-lifetime .lt i {
    font-size: .9em;
}
/* 我的会员页：终身会员文字（白卡上用深金流光） */
.ymwl-vip-lifetime {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    font-weight: 700;
    letter-spacing: .04em;
    background-image: linear-gradient(100deg,
        #e8a33d 0%, #ffb937 22%, #f7d070 40%, #ffa726 58%, #ffcf5c 78%, #e8a33d 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #e8a33d;
    animation: ymwlLifetimeShine 3.4s linear infinite;
}
.ymwl-vip-lifetime i {
    font-size: .9em;
}

/* ---------- 我的会员页 ---------- */
.ymwl-vip-id {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ymwl-vip-id-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f3f6;
    box-shadow: 0 3px 10px rgba(53, 60, 70, .07);
    flex: none;
}
.ymwl-vip-id-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.4;
}
.ymwl-vip-id-name .badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
}
.ymwl-vip-id-sub {
    margin-top: 4px;
    font-size: .78rem;
    color: #9aa0ab;
}
/* 下载数据：一行四列，无彩色底 */
.ymwl-vip-stats {
    display: flex;
    margin-top: 20px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
}
.ymwl-vip-stats .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 6px;
    text-align: center;
}
.ymwl-vip-stats .stat + .stat {
    border-left: 1px solid #eef0f4;
}
.ymwl-vip-stats .stat span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-vip-stats .stat strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
.ymwl-vip-stats .stat strong.accent {
    color: #3b6ff5;
}
/* 使用率进度条 */
.ymwl-vip-progress {
    margin-top: 14px;
}
.ymwl-vip-progress .bar {
    height: 6px;
    border-radius: 6px;
    background: #eef0f4;
    overflow: hidden;
}
.ymwl-vip-progress .bar i {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #3b6ff5, #6f97ff);
}
.ymwl-vip-progress .tip {
    margin-top: 6px;
    font-size: .72rem;
    color: #9aa0ab;
}
/* 特权说明 */
.ymwl-vip-notes {
    list-style: none;
    margin: 0 0 20px;
    padding: 14px 18px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
}
.ymwl-vip-notes li {
    position: relative;
    padding-left: 16px;
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.9;
}
.ymwl-vip-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .78em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c7d6ff;
}
/* 套餐卡 */
.ymwl-vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}
.ymwl-vip-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 20px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    transition: all .22s ease;
}
.ymwl-vip-plan:hover {
    border-color: #c7d6ff;
    box-shadow: 0 12px 26px rgba(59, 111, 245, .1);
    transform: translateY(-2px);
}
.ymwl-vip-plan.is-boosvip {
    border-color: #f3e2c0;
    background: linear-gradient(180deg, #fffdf8 0%, #fff 60%);
}
.ymwl-vip-plan.is-premium {
    border-color: #e2d6ff;
    background: linear-gradient(180deg, #fdfcff 0%, #fff 60%);
}
.ymwl-vip-plan .plan-badge {
    position: absolute;
    top: -9px;
    right: 16px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 600;
    color: #3b6ff5;
    background: #eef3ff;
}
.ymwl-vip-plan .plan-badge.is-mid {
    color: #8b5cf6;
    background: #f3efff;
}
.ymwl-vip-plan .plan-badge.is-flag {
    color: #b9812a;
    background: #fdf3e2;
}
.ymwl-vip-plan .plan-name {
    font-size: .92rem;
    font-weight: 700;
    color: #2f3542;
}
.ymwl-vip-plan .plan-price {
    margin: 8px 0 2px;
    font-size: 2rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.15;
}
.ymwl-vip-plan .plan-price small {
    margin-left: 4px;
    font-size: .78rem;
    font-weight: 500;
    color: #9aa0ab;
}
.ymwl-vip-plan .plan-days {
    font-size: .76rem;
    color: #9aa0ab;
}
.ymwl-vip-plan .plan-desc {
    list-style: none;
    margin: 14px 0 18px;
    padding: 14px 0 0;
    border-top: 1px dashed #eef0f4;
}
.ymwl-vip-plan .plan-desc li {
    display: flex;
    gap: 8px;
    padding: 3px 0;
    font-size: .82rem;
    color: #595d69;
}
.ymwl-vip-plan .plan-desc li i {
    margin-top: 4px;
    font-size: .72rem;
    color: #3b6ff5;
}
.ymwl-vip-plan .btn {
    margin-top: auto;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    padding: 9px 0;
}
/* CDK 兑换 */
.ymwl-vip-cdk-tip {
    margin-bottom: 16px;
    font-size: .82rem;
    color: #9aa0ab;
}

/* ---------- 我的收藏页 ---------- */
.ymwl-fav-summary {
    display: flex;
    margin-bottom: 14px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
}
.ymwl-fav-summary .sum-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 8px;
    text-align: center;
}
.ymwl-fav-summary .sum-item + .sum-item {
    border-left: 1px solid #eef0f4;
}
.ymwl-fav-summary .sum-item span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-fav-summary .sum-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
html[data-bs-theme="dark"] .ymwl-fav-summary {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-fav-summary .sum-item + .sum-item {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-fav-summary .sum-item strong {
    color: #e9ecef;
}
/* ---------- 我的工单页 ---------- */
/* 返回链接（新建/详情头部）：浅蓝胶囊 */
.ymwl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .74rem;
    font-weight: 600;
    color: #3b6ff5;
    background: #eef3ff;
    text-decoration: none;
    transition: all .2s ease;
}
.ymwl-back-link:hover {
    color: #fff;
    background: #3b6ff5;
    box-shadow: 0 4px 10px rgba(59, 111, 245, .3);
    text-decoration: none;
}
html[data-bs-theme="dark"] .ymwl-back-link {
    color: #7ea2ff;
    background: #1f2a44;
}
html[data-bs-theme="dark"] .ymwl-back-link:hover {
    color: #fff;
    background: #3b6ff5;
}
/* 统计条（4 格：待回复/处理中/已回复/已关闭） */
.ymwl-ticket-summary {
    display: flex;
    margin-bottom: 16px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
}
.ymwl-ticket-summary .sum-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 8px;
    text-align: center;
}
.ymwl-ticket-summary .sum-item + .sum-item {
    border-left: 1px solid #eef0f4;
}
.ymwl-ticket-summary .sum-item span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-ticket-summary .sum-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
/* 状态色点 */
.t-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: 1px;
}
.t-dot.is-pending { background: #f0616e; }
.t-dot.is-doing   { background: #3b9cf5; }
.t-dot.is-reply   { background: #34c38f; }
.t-dot.is-close   { background: #a6adb8; }
/* 分组小标题 */
.ymwl-ticket-subtitle {
    margin-bottom: 10px;
    font-size: .8rem;
    font-weight: 600;
    color: #6b7280;
}
/* 工单列表 */
.ymwl-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ymwl-ticket-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s ease;
}
.ymwl-ticket-item:hover {
    border-color: #c7d6ff;
    box-shadow: 0 8px 20px rgba(59, 111, 245, .09);
    transform: translateY(-1px);
    text-decoration: none;
}
.ymwl-ticket-item .t-icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef3ff;
    color: #3b6ff5;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ymwl-ticket-item .t-main {
    flex: 1;
    min-width: 0;
}
.ymwl-ticket-item .t-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
    color: #2f3542;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ymwl-ticket-item .t-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 5px;
    font-size: .74rem;
    color: #9aa0ab;
}
/* 状态徽章（列表右侧 / 详情头部） */
.t-status {
    flex: none;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}
.t-status.is-pending {
    color: #f0616e;
    background: #fdeef0;
}
.t-status.is-doing {
    color: #3b9cf5;
    background: #eaf3ff;
}
.t-status.is-reply {
    color: #34c38f;
    background: #e9f9f3;
}
.t-status.is-close {
    color: #8a919d;
    background: #f0f2f5;
}
/* 详情头部 */
.ymwl-ticket-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
}
.ymwl-ticket-head .t-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #2f3542;
}
.ymwl-ticket-head .t-head-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ymwl-ticket-head .t-type {
    font-size: .74rem;
    color: #9aa0ab;
}
/* 工单底部操作区（关闭工单 + 删除工单） */
.ymwl-ticket-actions {
    gap: 8px;
}
/* 关闭工单：柔和次要按钮（浅灰底，hover 泛绿=完成语义） */
.ymwl-ticket-toggle {
    display: inline-flex;
    align-items: center;
    padding: .38rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: #5a6270;
    background: #eff1f5;
    cursor: pointer;
    transition: all .18s ease;
}
.ymwl-ticket-toggle i {
    font-size: .82rem;
    color: #8a919d;
    transition: color .18s ease;
}
.ymwl-ticket-toggle:hover {
    color: #1f9d72;
    background: #e9f8f1;
}
.ymwl-ticket-toggle:hover i {
    color: #1f9d72;
}
.ymwl-ticket-toggle:active {
    transform: scale(.97);
}
.ymwl-ticket-toggle[disabled] {
    opacity: .6;
    cursor: default;
}
html[data-bs-theme="dark"] .ymwl-ticket-toggle {
    background: #2c2f33;
    color: #adb5bd;
}
html[data-bs-theme="dark"] .ymwl-ticket-toggle i {
    color: #868e96;
}
html[data-bs-theme="dark"] .ymwl-ticket-toggle:hover {
    color: #5fd8a8;
    background: #1d352b;
}
html[data-bs-theme="dark"] .ymwl-ticket-toggle:hover i {
    color: #5fd8a8;
}
@media (max-width: 575px) {
    .ymwl-ticket-actions {
        gap: 6px;
    }
}

/* 对话气泡（QQ 式：用户在右，客服在左） */
.ymwl-ticket-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
/* 用户消息：头像在右 */
.ymwl-ticket-msg.is-user {
    flex-direction: row-reverse;
}
.ymwl-ticket-msg .t-avatar {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 4px;
}
/* 气泡纵向堆叠容器 */
.ymwl-ticket-msg .t-bubbles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}
.ymwl-ticket-msg.is-user .t-bubbles {
    align-items: flex-end;
}
.ymwl-ticket-msg .t-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
}
/* 用户补充气泡：虚线浅色区分 */
.ymwl-ticket-msg .t-bubble.is-sup {
    background: #f2f7ff;
    border: 1px dashed #c9d9f2;
}
.ymwl-ticket-msg .t-bubble-meta {
    margin-bottom: 6px;
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-ticket-msg.is-user .t-bubble-meta {
    text-align: right;
}
.ymwl-ticket-msg .t-bubble-body {
    font-size: .88rem;
    line-height: 1.7;
    color: #2f3542;
    word-break: break-word;
}
.ymwl-ticket-msg.is-user .t-bubble {
    background: #d9e9ff;
    border: 1px solid #c2dcff;
}
.ymwl-ticket-msg.is-user .t-bubble.is-sup {
    background: #f2f7ff;
    border-color: #dfe8f7;
}
/* 暗黑适配：工单页 */
html[data-bs-theme="dark"] .ymwl-back-link:hover {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-ticket-summary {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-summary .sum-item + .sum-item {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-summary .sum-item strong {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-ticket-subtitle {
    color: #9aa0ab;
}
html[data-bs-theme="dark"] .ymwl-ticket-item {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-item:hover {
    border-color: #3d4a6b;
}
html[data-bs-theme="dark"] .ymwl-ticket-item .t-title {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-ticket-item .t-icon {
    background: #1f2a44;
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .t-status.is-pending {
    color: #ff8a94;
    background: #3a262a;
}
html[data-bs-theme="dark"] .t-status.is-doing {
    color: #7ea2ff;
    background: #1f2a44;
}
html[data-bs-theme="dark"] .t-status.is-reply {
    color: #5fd8a8;
    background: #1d352b;
}
html[data-bs-theme="dark"] .t-status.is-close {
    color: #9aa0ab;
    background: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-head {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-head .t-title {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-ticket-msg.is-user .t-bubble {
    background: #243a5e;
    border-color: #2f4a75;
}
html[data-bs-theme="dark"] .ymwl-ticket-msg.is-admin .t-bubble {
    background: #1d352b;
    border-color: #2a4a3c;
}
html[data-bs-theme="dark"] .ymwl-ticket-msg.is-user .t-bubble.is-sup {
    background: #1c222c;
    border-color: #2c3540;
}
html[data-bs-theme="dark"] .ymwl-ticket-msg .t-bubble-body {
    color: #e9ecef;
}
/* 补充表单暗黑 */
html[data-bs-theme="dark"] .ymwl-ticket-reply {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-ticket-reply .form-control {
    background: #1c1d1f;
    border-color: #2c2f33;
    color: #e9ecef;
}
@media (max-width: 575px) {
    .ymwl-ticket-item {
        gap: 10px;
        padding: 12px;
    }
    .ymwl-ticket-item .t-icon {
        width: 38px;
        height: 38px;
    }
}
/* ---------- 我的余额页 ---------- */
/* 余额卡 */
.ymwl-coin-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ymwl-coin-hero .ch-info {
    flex: 1;
    text-align: center;
}
.ymwl-coin-hero .ch-label {
    font-size: .8rem;
    color: #9aa0ab;
}
.ymwl-coin-hero .ch-amount {
    margin-top: 6px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b6ff5;
    line-height: 1.15;
}
.ymwl-coin-hero .ch-amount i {
    margin-right: 8px;
    font-size: 1.6rem;
    opacity: .85;
}
.ymwl-coin-hero .ch-amount small {
    margin-left: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: #9aa0ab;
}
/* 充值套餐 */
.ymwl-coin-plan {
    position: relative;
    padding: 18px 12px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
}
.ymwl-coin-plan:hover {
    border-color: #c7d6ff;
    box-shadow: 0 8px 20px rgba(59, 111, 245, .09);
    transform: translateY(-2px);
}
.ymwl-coin-plan.active {
    border-color: #3b6ff5;
    background: #f5f8ff;
    box-shadow: 0 6px 16px rgba(59, 111, 245, .14);
}
.ymwl-coin-plan.active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    top: -9px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b6ff5;
    color: #fff;
    font-size: .62rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(59, 111, 245, .35);
}
.ymwl-coin-plan .cp-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
.ymwl-coin-plan .cp-amount small {
    margin-left: 3px;
    font-size: .75rem;
    font-weight: 600;
    color: #9aa0ab;
}
.ymwl-coin-plan .cp-rmb {
    margin-top: 4px;
    font-size: .78rem;
    color: #9aa0ab;
}
/* 充值/VIP记录图标块 */
.ymwl-order-item .oi-thumb.ymwl-thumb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
}
.ymwl-order-item .oi-thumb.ymwl-thumb-icon i {
    font-size: 1.3rem;
    color: #3b6ff5;
}
/* VIP记录：金色皇冠块（呼应尊享金） */
.ymwl-order-item .oi-thumb.ymwl-vip-thumb-icon {
    background: #fdf3e2;
}
.ymwl-order-item .oi-thumb.ymwl-vip-thumb-icon i {
    color: #b9812a;
}
/* 暗黑适配：余额页 */
html[data-bs-theme="dark"] .ymwl-coin-hero .ch-amount {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-coin-plan {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-coin-plan:hover {
    border-color: #3d4a6b;
}
html[data-bs-theme="dark"] .ymwl-coin-plan.active {
    background: #1f2a44;
    border-color: #3b6ff5;
}
html[data-bs-theme="dark"] .ymwl-coin-plan .cp-amount {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-thumb.ymwl-thumb-icon {
    background: #1f2a44;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-thumb.ymwl-thumb-icon i {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-thumb.ymwl-vip-thumb-icon {
    background: #2a2620;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-thumb.ymwl-vip-thumb-icon i {
    color: #e0a94d;
}
/* ---------- 我的订单页 ---------- */
/* 迷你统计条 */
.ymwl-order-summary {
    display: flex;
    margin-bottom: 14px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
}
.ymwl-order-summary .sum-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 8px;
    text-align: center;
}
.ymwl-order-summary .sum-item + .sum-item {
    border-left: 1px solid #eef0f4;
}
.ymwl-order-summary .sum-item span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-order-summary .sum-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
/* 订单列表 */
.ymwl-order-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ymwl-order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s ease;
}
.ymwl-order-item:hover {
    border-color: #c7d6ff;
    box-shadow: 0 8px 20px rgba(59, 111, 245, .09);
    transform: translateY(-1px);
    text-decoration: none;
}
.ymwl-order-item .oi-thumb {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #f0f2f5;
    background: #f5f6f9;
}
.ymwl-order-item .oi-main {
    flex: 1;
    min-width: 0;
}
.ymwl-order-item .oi-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
    color: #2f3542;
    line-height: 1.45;
}
.ymwl-order-item .oi-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 7px;
    font-size: .74rem;
    color: #9aa0ab;
}
.ymwl-order-item .oi-meta .badge {
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.ymwl-order-item .oi-copy-btn {
    cursor: pointer;
    transition: color .15s ease;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ymwl-order-item .oi-copy-btn:hover {
    color: #3b6ff5;
}
.ymwl-order-item .oi-amount {
    flex: none;
    text-align: right;
}
.ymwl-order-item .oi-paid {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
}
.ymwl-order-item .oi-amount strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3b6ff5;
    white-space: nowrap;
}
.ymwl-order-item .oi-amount del {
    font-size: .74rem;
    color: #b3b9c4;
    white-space: nowrap;
}
.ymwl-order-item .oi-amount small {
    display: block;
    margin-top: 2px;
    font-size: .72rem;
    color: #9aa0ab;
    white-space: nowrap;
}
/* 窄屏：缩略图隐藏保内容 */
@media (max-width: 575px) {
    .ymwl-order-item {
        gap: 10px;
        padding: 12px;
    }
    .ymwl-order-item .oi-thumb {
        width: 52px;
        height: 52px;
    }
    .ymwl-order-item .oi-meta {
        gap: 4px 10px;
    }
}

/* ---------- 下载记录页 ---------- */
.ymwl-down-summary {
    display: flex;
    margin-bottom: 14px;
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
}
.ymwl-down-summary .sum-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 8px;
    text-align: center;
}
.ymwl-down-summary .sum-item + .sum-item {
    border-left: 1px solid #eef0f4;
}
.ymwl-down-summary .sum-item span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-down-summary .sum-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.2;
}
.ymwl-down-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ymwl-down-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s ease;
}
.ymwl-down-item:hover {
    border-color: #c7d6ff;
    box-shadow: 0 8px 20px rgba(59, 111, 245, .09);
    transform: translateY(-1px);
    text-decoration: none;
}
.ymwl-down-item .d-thumb {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #f0f2f5;
    background: #f5f6f9;
}
.ymwl-down-item .d-main {
    flex: 1;
    min-width: 0;
}
.ymwl-down-item .d-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
    color: #2f3542;
    line-height: 1.45;
}
.ymwl-down-item .d-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 7px;
    font-size: .74rem;
    color: #9aa0ab;
}
.ymwl-down-item .d-count {
    flex: none;
    text-align: right;
}
.ymwl-down-item .d-count strong,
.ymwl-order-item .d-count strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b6ff5;
    line-height: 1.2;
}
.ymwl-down-item .d-count small {
    font-size: .7rem;
    color: #9aa0ab;
    white-space: nowrap;
}
.ymwl-down-empty {
    padding: 40px 20px;
    text-align: center;
    border: 1px dashed #e3e6ec;
    border-radius: 12px;
    color: #9aa0ab;
}
.ymwl-down-empty i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    opacity: .5;
    display: block;
}
.ymwl-down-empty p {
    margin: 0;
    font-size: .82rem;
}
/* 暗黑适配：下载记录 */
html[data-bs-theme="dark"] .ymwl-down-summary {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-down-summary .sum-item + .sum-item {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-down-summary .sum-item strong {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-down-item {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-down-item:hover {
    border-color: #3d4a6b;
}
html[data-bs-theme="dark"] .ymwl-down-item .d-title {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-down-item .d-count strong,
html[data-bs-theme="dark"] .ymwl-order-item .d-count strong {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-down-empty {
    border-color: #2c2f33;
}
@media (max-width: 575px) {
    .ymwl-down-item {
        gap: 10px;
        padding: 12px;
    }
    .ymwl-down-item .d-thumb {
        width: 52px;
        height: 52px;
    }
    .ymwl-down-item .d-meta {
        gap: 4px 10px;
    }
}
.ymwl-order-empty {
    padding: 40px 20px;
    text-align: center;
    border: 1px dashed #e3e6ec;
    border-radius: 12px;
    color: #9aa0ab;
}
.ymwl-order-empty i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    opacity: .5;
    display: block;
}
.ymwl-order-empty p {
    margin: 0;
    font-size: .82rem;
}
/* 暗黑适配 */
html[data-bs-theme="dark"] .ymwl-order-summary {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-order-summary .sum-item + .sum-item {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-order-summary .sum-item strong {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-order-item {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-order-item:hover {
    border-color: #3d4a6b;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-title {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-order-item .oi-amount strong {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-order-empty {
    border-color: #2c2f33;
}
.ymwl-vip-captcha {
    height: 42px;
    width: 110px;
    object-fit: cover;
    background: #f5f6f9;
    border: 1px solid #eef0f4;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}
/* 暗黑适配 */
html[data-bs-theme="dark"] .ymwl-vip-id-name,
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-name,
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-price {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-vip-stats,
html[data-bs-theme="dark"] .ymwl-vip-notes {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-vip-stats .stat + .stat,
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-desc {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-vip-stats .stat strong {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-vip-stats .stat strong.accent {
    color: #7ea2ff;
}
html[data-bs-theme="dark"] .ymwl-vip-plan {
    background: #232425;
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-vip-plan.is-boosvip {
    background: linear-gradient(180deg, #2a2620 0%, #232425 60%);
    border-color: #4a3d28;
}
html[data-bs-theme="dark"] .ymwl-vip-plan.is-premium {
    background: linear-gradient(180deg, #26222f 0%, #232425 60%);
    border-color: #3d3560;
}
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-badge.is-mid {
    color: #b79aff;
    background: #2b2440;
}
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-badge.is-flag {
    color: #e0a94d;
    background: #332b1c;
}
/* 标准档徽章：暗黑下用中性深底 */
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-badge {
    color: #7ea2ff;
    background: #292a2b;
}
html[data-bs-theme="dark"] .ymwl-vip-plan .plan-desc li {
    color: #b9bfc9;
}
html[data-bs-theme="dark"] .ymwl-vip-progress .bar {
    background: #2c2f33;
}
/* 今日下载：两列数据，细分割线 */
.ymwl-uc-usercard-stats {
    display: flex;
    border-top: 1px solid #f0f2f5;
    background: #fafbfd;
}
.ymwl-uc-usercard-stats .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 6px;
    text-align: center;
}
.ymwl-uc-usercard-stats .stat + .stat {
    border-left: 1px solid #eef0f4;
}
.ymwl-uc-usercard-stats .stat span {
    font-size: .72rem;
    color: #9aa0ab;
}
.ymwl-uc-usercard-stats .stat strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b6ff5;
    line-height: 1.2;
}
/* 暗黑适配 */
html[data-bs-theme="dark"] .ymwl-uc-usercard-name {
    color: #e9ecef;
}
html[data-bs-theme="dark"] .ymwl-uc-usercard .avatar-img {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-uc-usercard-stats {
    background: #232425;
    border-top-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-uc-usercard-stats .stat + .stat {
    border-left-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-uc-usercard-stats .stat strong {
    color: #7ea2ff;
}
.ymwl-uc-sub small {
    opacity: .8;
}

/* VIP 徽章统一壹梦橙色胶囊 */
.ymwl-uc-hero .badge,
.ymwl-uc-hero span.wp-VIP {
    background: #fd7a25 !important;
    background-color: #fd7a25 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.6;
}
.ymwl-uc-hero .badge i {
    margin-right: 3px;
}

/* ---------- 双层波浪动画（diy.css lang 原版参数，图已本地化） ---------- */
.ymwl-uc-lang {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.ymwl-uc-lang__3,
.ymwl-uc-lang__4 {
    position: absolute;
    left: 0;
    width: 4500px;
    height: 60px;
    background-repeat: repeat-x;
    background-position: 0 0;
    will-change: transform;
}
.ymwl-uc-lang__3 {
    top: 0;
    background-image: url(../images/wave/lang-3.png);
    animation: ymwlLangs 18s infinite linear;
}
.ymwl-uc-lang__4 {
    top: 8px;
    background-image: url(../images/wave/lang-4.png);
    animation: ymwlLangs 12s infinite linear;
}
@keyframes ymwlLangs {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-1938px); }
}
html[data-bs-theme="dark"] .ymwl-uc-lang__3 {
    background-image: url(../images/wave/lang-3-dark.png);
}
html[data-bs-theme="dark"] .ymwl-uc-lang__4 {
    background-image: url(../images/wave/lang-4-dark.png);
}

/* 波浪贴住下方内容：去掉 container 的顶部外边距 */
body.uc-page .ymwl-uc-hero + .container {
    margin-top: 0 !important;
}
body.uc-page .ymwl-uc-hero + .container .row {
    margin-top: 0;
}

/* ---------- 左侧菜单（青蓝渐变 active + 移动端两列） ---------- */
.uc-page .uc-menu-warp {
    list-style: none;
    padding: 1rem;
    margin: 0;
}
.uc-page .uc-menu-warp li.menu-item > a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #595d69;
    text-align: center;
    transition: all .25s ease;
}
.uc-page .uc-menu-warp li.menu-item > a:hover {
    background: rgba(68, 138, 255, .07);
    color: #3b6ff5;
    opacity: 1;
}
/* 简洁 active：浅蓝软底 + 蓝字加粗（特异性高于「退回9.9」内联覆盖） */
.uc-page .uc-menu-warp li.menu-item.current-menu-item > a {
    background: rgba(59, 111, 245, .09) !important;
    background-image: none !important;
    color: #3b6ff5 !important;
    font-weight: 600;
    box-shadow: none;
}
.uc-page .uc-menu-warp li.menu-item > a i {
    margin-right: .4rem;
}
@media (max-width: 575px) {
    .uc-page .uc-menu-warp li.menu-item.current-menu-item > a {
        box-shadow: none;
    }
    .uc-page .uc-menu-warp {
        display: flex;
        flex-wrap: wrap;
        padding: .5rem;
    }
    .uc-page .uc-menu-warp li.menu-item {
        width: 50%;
    }
    .uc-page .uc-menu-warp li.menu-item.current-menu-item > a {
        background: transparent !important;
        color: #2196F3 !important;
    }
}

/* ---------- 左侧用户卡（干净白卡 + 圆形头像，尺寸跟随容器 .avatar-xl） ---------- */
.uc-page .card .avatar-xl .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f3f6 !important;
    box-shadow: 0 4px 14px rgba(53, 60, 70, .08) !important;
}
html[data-bs-theme="dark"] .uc-page .card .avatar-xl .avatar-img {
    border-color: #2c2f33 !important;
}

/* ---------- 卡片标题（渐变小竖条点缀） ---------- */
.uc-page .card-header h5,
.uc-page .card-body h5.fw-bold {
    position: relative;
    padding-left: 14px;
}
.uc-page .card-header h5::before,
.uc-page .card-body h5.fw-bold::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #18cef2, #448aff);
}

/* ---------- 卡片 / 表单（4px 圆角 + #f8f8f8 输入框） ---------- */
.uc-page .card {
    border-radius: 4px;
}
.uc-page .card .form-control,
.uc-page .card .form-select {
    background: #f8f8f8;
    border-color: #eee;
    color: #2d3039;
}
.uc-page .card .form-control:focus,
.uc-page .card .form-select:focus {
    background: #fff;
    border-color: #448aff;
    box-shadow: 0 0 0 .2rem rgba(68, 138, 255, .15);
}
html[data-bs-theme="dark"] .uc-page .card .form-control,
html[data-bs-theme="dark"] .uc-page .card .form-select {
    background: #232425;
    border-color: #3a3d42;
    color: #e9ecef;
}

/* ---------- 壹梦青蓝主渐变（登录/注册等主按钮统一 125deg #18cef2→#448aff） ---------- */
.uc-page .btn-primary,
.uc-login-page .btn-primary,
.uc-register-page .btn-primary,
.uc-lostpwd-page .btn-primary {
    background-image: linear-gradient(125deg, #18cef2 0%, #448aff 100%);
    background-color: #448aff;
    border: 0;
    border-radius: 4px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(68, 138, 255, .25);
}
.uc-page .btn-primary:hover,
.uc-login-page .btn-primary:hover,
.uc-register-page .btn-primary:hover,
.uc-lostpwd-page .btn-primary:hover {
    opacity: .88;
}

/* ---------- 移动端横幅收窄 ---------- */
@media (max-width: 575px) {
    .ymwl-uc-hero-inner {
        padding: 32px 0 60px;
    }
    .ymwl-uc-avatar {
        width: 72px;
        height: 72px;
    }
    .ymwl-uc-name {
        font-size: 1.05rem;
    }
}


/* ---------- 头像来源选择（默认 / QQ / 微信 / 微博） ---------- */
.ymwl-avatar-picker {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 0 0 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
}
.ymwl-avatar-current img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f3f6;
}
.ymwl-avatar-main {
    min-width: 0;
}
.ymwl-avatar-title {
    margin: 0 0 8px;
    font-size: .8rem;
    color: #8a909c;
}
.ymwl-avatar-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ymwl-avatar-opt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    background: #fff;
    font-size: .8rem;
    color: #595d69;
    transition: all .2s ease;
}
.ymwl-avatar-opt img {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.ymwl-avatar-opt:hover {
    border-color: #3b6ff5;
    color: #3b6ff5;
}
.ymwl-avatar-opt.is-active {
    border-color: #3b6ff5;
    background: rgba(59, 111, 245, .07);
    color: #3b6ff5;
    font-weight: 600;
}
.ymwl-avatar-opt.is-loading {
    opacity: .55;
    pointer-events: none;
}
html[data-bs-theme="dark"] .ymwl-avatar-picker {
    border-bottom-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-avatar-current img {
    border-color: #2c2f33;
}
html[data-bs-theme="dark"] .ymwl-avatar-opt {
    background: #232425;
    border-color: #3a3d42;
    color: #c5cad4;
}
html[data-bs-theme="dark"] .ymwl-avatar-opt.is-active {
    border-color: #3b6ff5;
    background: rgba(59, 111, 245, .16);
    color: #7ea2ff;
}
