/* ============================================================
 * 奇营用户中心样式（/user）
 * 复用主题变量：--primary / --ink / --muted / --line / --bg / --card / --radius
 * ========================================================== */

/* 顶部偏移由主题 .site-main 统一提供，这里只留内容间距；底部留出安全间距 */
.qy-uc { padding: 24px 20px 48px; }

/* ---------- 面包屑 / 返回 ---------- */
.qy-uc-crumb {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 14px; font-size: 13px; color: var(--muted);
}
.qy-uc-crumb-path { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.qy-uc-crumb a { color: var(--muted); text-decoration: none; }
.qy-uc-crumb a:hover { color: var(--primary); }
.qy-uc-crumb .sep { opacity: .5; }
.qy-uc-crumb .cur { color: var(--ink); font-weight: 600; }
.qy-uc-home {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 20px; font-size: 12.5px;
    background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
    box-shadow: var(--shadow); transition: color .15s, border-color .15s;
}
.qy-uc-home:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- 头部信息卡（复刻参考站「我的」页：蓝色渐变 + 圆形头像 + 白字） ---------- */
.qy-uc-hero {
    position: relative; overflow: hidden; margin-bottom: 16px;
    border-radius: 16px; color: #fff; box-shadow: var(--shadow);
    background: linear-gradient(120deg, var(--primary-dark), var(--primary) 62%, #3d8bff);
}
.qy-uc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qy-uc-hero.has-cover::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 32, 76, .3), rgba(12, 32, 76, .56));
}
.qy-uc-hero-main, .qy-uc-hero-stats, .qy-uc-entries { position: relative; z-index: 1; }
.qy-uc-hero-main { display: flex; align-items: center; gap: 14px; padding: 22px 22px 0; }
.qy-uc-avatar {
    flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 2.5px solid rgba(255, 255, 255, .9); background: #eef1f6;
    box-shadow: 0 6px 16px rgba(10, 25, 60, .22);
}
.qy-uc-hero-id { flex: 1; min-width: 0; }
.qy-uc-hero-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qy-uc-hero-name h1 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: #fff; }
.qy-uc-hero-sub { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 7px; }
.qy-uc-pill {
    display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11.5px; line-height: 1.6;
    background: rgba(255, 255, 255, .18); color: #fff;
}
.qy-uc-pill.vip { background: linear-gradient(90deg, #f7b733, #fc4a1a); font-weight: 700; }
a.qy-uc-pill:hover { opacity: .88; }

.qy-uc-hero-stats { display: flex; margin-top: 16px; padding: 0 8px; }
.qy-uc-hero-stats a {
    position: relative; flex: 1; padding: 12px 0 14px; text-align: center;
    color: #fff; text-decoration: none; transition: opacity .15s;
}
.qy-uc-hero-stats a:hover { opacity: .85; }
.qy-uc-hero-stats a + a::before {
    content: ""; position: absolute; left: 0; top: 16%; height: 68%; width: 1px;
    background: rgba(255, 255, 255, .18);
}
.qy-uc-hero-stats b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.qy-uc-hero-stats span { display: block; margin-top: 3px; font-size: 12.5px; opacity: .82; }

/* ---------- 三入口（收藏 / 钱包 / 写文章） ---------- */
.qy-uc-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 18px 20px; }
.qy-uc-entry {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 13px 6px; border-radius: 14px; text-decoration: none; color: #fff;
    background: rgba(255, 255, 255, .14); transition: background .18s, transform .18s;
}
.qy-uc-entry:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.qy-uc-entry .ic {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: #fff; color: var(--primary);
}
.qy-uc-entry .ic svg { width: 20px; height: 20px; }
.qy-uc-entry .tx { font-size: 13.5px; font-weight: 600; }
.qy-uc-entry .sub { font-size: 11px; opacity: .72; line-height: 1.3; }

/* ---------- 游客版：空头像 / 未登录 / 登录引导 ---------- */
/* 头像占位：白色半透明描边圆 + 人形图标（对应参考站 .ul-default-avatar） */
.qy-uc-avatar-ph {
    flex: none; display: grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
    transition: background .18s, border-color .18s, transform .18s;
}
.qy-uc-avatar-ph svg { width: 30px; height: 30px; display: block; }
.qy-uc-avatar-ph:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.qy-uc-avatar-ph:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.qy-uc-guest-name { text-decoration: none; color: inherit; display: inline-flex; }
.qy-uc-guest-name:hover h1 { opacity: .86; }

.qy-uc-guest-intro {
    position: relative; z-index: 1;
    margin: 12px 22px 0; font-size: 12.5px; line-height: 1.6;
    color: rgba(255, 255, 255, .72);
}

/* 内容卡片内的登录引导（对应参考站 .ul-login-tip） */
.qy-uc-guest-tip {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 20px 50px; text-align: center;
}
.qy-uc-guest-tip .ico { display: block; margin-bottom: 12px; color: #c9ced8; }
.qy-uc-guest-tip .ico svg { width: 40px; height: 40px; display: block; }
.qy-uc-guest-tip .tx { margin-bottom: 20px; font-size: 14px; line-height: 1.5; color: #b4bac6; }
.qy-uc-guest-btn {
    display: inline-block; padding: 9px 40px; border-radius: 25px;
    background: var(--primary); color: #fff;
    font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none;
    transition: background .18s, transform .18s, box-shadow .18s;
}
.qy-uc-guest-btn:hover {
    background: var(--primary-dark); color: #fff; transform: translateY(-1px);
    box-shadow: 0 8px 18px -8px rgba(0, 102, 255, .55);
}
.qy-uc-guest-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* 游客版 tab：灰显但整块可点（点击唤起登录） */
.qy-uc-ct-tab.is-locked { color: #c2c7d2; }
.qy-uc-ct-tab.is-locked:hover { color: var(--muted); }

/* 钱包卡片内的登录提示行 */
.qy-uc-lock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0 18px 18px; padding: 12px 14px; border-radius: 10px;
    background: #f7f8fa; font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.qy-uc-lock-link { flex: none; font-size: 12.5px; font-weight: 600; color: var(--primary); text-decoration: none; }
.qy-uc-lock-link:hover { color: var(--primary-dark); }

@media (max-width: 480px) {
    .qy-uc-avatar-ph { width: 58px; height: 58px; }
    .qy-uc-avatar-ph svg { width: 27px; height: 27px; }
    .qy-uc-guest-intro { margin: 10px 18px 0; font-size: 12px; }
    .qy-uc-guest-tip { padding: 32px 18px 42px; }
    .qy-uc-guest-btn { padding: 9px 34px; }
    .qy-uc-lock-row { margin: 0 14px 14px; }
}

/* ---------- 单页模块（内容 / 钱包共用卡片） ---------- */
.qy-uc-mod { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.qy-uc-mod-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 0; }
.qy-uc-mod-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.qy-uc-mod-more { flex: none; font-size: 12.5px; color: var(--primary); text-decoration: none; }
.qy-uc-mod-more:hover { color: var(--primary-dark); }

.qy-uc-ct-tabs { display: flex; gap: 24px; padding: 10px 18px 0; border-bottom: 1px solid var(--line); }
.qy-uc-ct-tab { position: relative; padding: 6px 0 12px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.qy-uc-ct-tab:hover { color: var(--ink-2); }
.qy-uc-ct-tab.active { color: var(--ink); font-weight: 700; }
.qy-uc-ct-tab.active::after {
    content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
    width: 22px; height: 3px; border-radius: 3px; background: var(--primary);
}

.qy-uc-feed { list-style: none; margin: 0; padding: 0; }
.qy-uc-feed > li { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.qy-uc-feed > li:last-child { border-bottom: 0; }
.qy-uc-feed .thumb { flex: none; width: 72px; height: 56px; border-radius: 10px; object-fit: cover; background: #eef1f6; display: block; }
.qy-uc-feed .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.qy-uc-feed .title {
    font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.qy-uc-feed .title:hover { color: var(--primary); }
.qy-uc-feed .meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qy-uc-feed .ctext {
    font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.qy-uc-wallet-top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 14px 18px 6px; padding: 16px 18px; border-radius: 14px; color: #fff;
    background: linear-gradient(120deg, #0f2557, var(--primary));
}
.qy-uc-wallet-top .lbl { font-size: 12.5px; opacity: .85; }
.qy-uc-wallet-top .amt { font-size: 26px; font-weight: 800; line-height: 1.25; }
.qy-uc-wallet-btns { display: flex; gap: 10px; flex: none; }
.qy-uc-wallet-btns a {
    padding: 8px 16px; border-radius: 20px; font-size: 13px; text-decoration: none;
    background: rgba(255, 255, 255, .2); color: #fff; transition: background .15s;
}
.qy-uc-wallet-btns a:hover { background: rgba(255, 255, 255, .32); }

.qy-uc-flow { list-style: none; margin: 6px 0 0; padding: 0; }
.qy-uc-flow > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--line); }
.qy-uc-flow .l { min-width: 0; }
.qy-uc-flow .l b { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.qy-uc-flow .l span { font-size: 11.5px; color: var(--muted); }
.qy-uc-flow .r { flex: none; font-size: 15px; font-weight: 700; color: #047857; }
.qy-uc-flow .r.minus { color: #f44336; }

.qy-uc-fns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.qy-uc-fn {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 15px 6px;
    border-radius: 14px; background: var(--card); box-shadow: var(--shadow);
    color: var(--ink-2); font-size: 12.5px; text-decoration: none; transition: transform .15s, color .15s;
}
.qy-uc-fn:hover { transform: translateY(-2px); color: var(--primary); }
.qy-uc-fn .ic { display: grid; place-items: center; width: 24px; height: 24px; color: var(--primary); }
.qy-uc-fn .ic svg { width: 22px; height: 22px; }

/* 单页：内容区限宽居中（不显示侧栏） */
.qy-uc-layout.is-single { display: block; }
.qy-uc-layout.is-single .qy-uc-content { max-width: 760px; margin: 0 auto; width: 100%; }

/* ---------- 布局（侧栏 320px，与参考站一致） ---------- */
.qy-uc-layout { display: flex; gap: 20px; align-items: flex-start; }
.qy-uc-sidebar { width: 320px; flex: none; display: flex; flex-direction: column; gap: 14px; }
.qy-uc-content { flex: 1; min-width: 0; }
.qy-uc-layout.is-write .qy-uc-content { max-width: 860px; margin: 0 auto; width: 100%; }

/* ---------- 卡片 ---------- */
.qy-uc-card {
    background: var(--card); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px;
}
.qy-uc-card-title {
    font-size: 15px; font-weight: 700; color: var(--ink);
    margin: 0 0 14px; padding-left: 11px; border-left: 4px solid var(--primary);
    line-height: 1.3; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.qy-uc-card-title .more { font-size: 12.5px; font-weight: 400; color: var(--primary); }
.qy-uc-card-title .more:hover { color: var(--primary-dark); }
.qy-uc-sidebar .qy-uc-card { margin-bottom: 0; }

/* ---------- 侧栏：会员胶囊 / 迷你卡 / 图标网格（版式复刻参考站） ---------- */
.qy-uc-vipbtn {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 10px; border-radius: var(--radius-lg);
    background: linear-gradient(300deg, #4c4d51, #2a2a31 15%, #85858a 40%, #393a3c 60%, #393838 80%, #5e5f62 100%);
    color: #ece0e0; font-size: 13.5px; text-shadow: none;
}
.qy-uc-vipbtn > svg { width: 15px; height: 15px; flex: none; }
.qy-uc-vipbtn .abs-right {
    position: absolute; right: .7em; top: 50%; transform: translateY(-50%);
    display: block; width: 14px; height: 14px; opacity: .8;
}
.qy-uc-vipbtn .abs-right svg { width: 14px; height: 14px; display: block; }
.qy-uc-vipbtn .wm {
    position: absolute; right: -.2em; top: 80%; transform: translateY(-50%);
    display: block; width: 3.5em; height: 3.5em; opacity: .06; pointer-events: none;
}
.qy-uc-vipbtn .wm svg { width: 100%; height: 100%; display: block; }
.qy-uc-vipbtn:hover { color: #fff; }

.qy-uc-minis { display: flex; gap: 10px; }
.qy-uc-mini {
    flex: 1; min-width: 0; display: block;
    padding: 10px 12px; border-radius: var(--radius-lg);
    background: var(--card); box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
}
.qy-uc-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.qy-uc-mini .mini-label {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--muted); margin-bottom: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qy-uc-mini .mini-label > svg { width: 13px; height: 13px; flex: none; }
.qy-uc-mini .mini-chev { display: inline-flex; width: 11px; height: 11px; flex: none; }
.qy-uc-mini .mini-chev svg { width: 11px; height: 11px; display: block; }
.qy-uc-mini .mini-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.qy-uc-mini .mini-foot > svg { width: 18px; height: 18px; flex: none; color: var(--primary); opacity: .85; }
.qy-uc-mini .mini-val { font-size: 14px; font-weight: 700; color: var(--ink); }
.qy-uc-mini .mini-val.money { color: var(--primary); }
.qy-uc-mini .mini-val.yellow { color: #e8a33d; }
.qy-uc-mini .mini-duo { display: flex; justify-content: space-around; gap: 4px; text-align: center; }
.qy-uc-mini .mini-duo .d { min-width: 0; }
.qy-uc-mini .mini-duo b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.qy-uc-mini .mini-duo i {
    display: block; font-style: normal; font-size: 11px; color: var(--muted);
    opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.qy-uc-iconbox {
    padding: 6px; border-radius: var(--radius-lg);
    background: var(--card); box-shadow: var(--shadow);
}
.qy-uc-iconbox .box-title { padding: 6px 6px 6px 3px; font-size: 14px; color: var(--ink); }
.qy-uc-iconbox .box-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
.qy-uc-iconbox .icon-item {
    width: calc(25% - 10px); margin: 5px; min-width: 50px; max-width: 100px;
    display: block; color: inherit; cursor: pointer;
}
.qy-uc-iconbox .icon-item .ic { display: grid; place-items: center; height: 22px; color: var(--primary); }
.qy-uc-iconbox .icon-item .ic svg { width: 20px; height: 20px; }
.qy-uc-iconbox .icon-item .tx { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.qy-uc-iconbox .icon-item:hover .tx,
.qy-uc-iconbox .icon-item.active .tx { color: var(--primary); }
.qy-uc-iconbox .icon-item.active .tx { font-weight: 600; }

.qy-uc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qy-uc-stats.four { grid-template-columns: repeat(4, 1fr); }
.qy-uc-stats .stat {
    text-align: center; padding: 10px 4px; border-radius: 8px;
    background: var(--bg); transition: background .15s, transform .15s;
}
.qy-uc-stats .stat:hover { background: var(--primary-soft); transform: translateY(-1px); }
.qy-uc-stats .stat b { display: block; font-size: 18px; color: var(--ink); }
.qy-uc-stats .stat span { font-size: 12px; color: var(--muted); }

/* ---------- 侧栏底部按钮 ---------- */
.qy-uc-logout {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: var(--radius-lg);
    background: var(--card); box-shadow: var(--shadow);
    font-size: 13.5px; color: var(--muted); transition: color .15s, background .15s;
}
.qy-uc-logout svg { width: 17px; height: 17px; }
.qy-uc-logout:hover { color: #f44336; background: #fff5f5; }

/* ---------- 概览 ---------- */
.qy-uc-ovgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.qy-uc-ovgrid.two-col { align-items: start; }
.qy-uc-ovgrid .qy-uc-card { margin-bottom: 0; }

.ov-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px 22px; border-radius: var(--radius-lg);
    background: var(--card); box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
}
.ov-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ov-card .ov-label { font-size: 13px; color: var(--muted); }
.ov-card .ov-value { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.ov-card .ov-value.gray { color: var(--muted); }
.ov-card .ov-hint { font-size: 12.5px; color: var(--muted); }
.ov-card.vip .ov-value { color: #b8860b; }

.qy-uc-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qy-uc-actions a {
    text-align: center; padding: 12px 6px; border-radius: 8px;
    background: var(--bg); font-size: 13.5px; color: var(--ink-2);
    transition: background .15s, color .15s;
}
.qy-uc-actions a:hover { background: var(--primary); color: #fff; }

/* ---------- 列表 / 表格 ---------- */
.qy-uc-list li, .qy-uc-list.link li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 2px; border-bottom: 1px solid var(--line);
}
.qy-uc-list li:last-child { border-bottom: 0; }
.qy-uc-list .title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.qy-uc-list.link .title:hover { color: var(--primary); }
.qy-uc-list .meta { flex: none; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.qy-uc-table { overflow-x: auto; }
.qy-uc-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.qy-uc-table th, .qy-uc-table td {
    padding: 10px; border-bottom: 1px solid var(--line);
    text-align: left; color: var(--ink-2); white-space: nowrap;
}
.qy-uc-table th { color: var(--muted); font-size: 12px; font-weight: 600; }
.qy-uc-table .t-title { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qy-uc-table .t-title a:hover { color: var(--primary); }
.qy-uc-table .p-title { display: block; overflow: hidden; text-overflow: ellipsis; }
.qy-uc-table .p-no { display: block; font-size: 11px; color: var(--muted); font-family: var(--mono, monospace); }
.qy-uc-table .price { color: #f44336; font-weight: 600; }
.qy-uc-table .up { color: #047857; font-weight: 600; }
.qy-uc-table .down { color: #f44336; font-weight: 600; }
.qy-uc-table .op { color: var(--primary); margin-right: 10px; font-size: 12.5px; }
.qy-uc-table .op:hover { color: var(--primary-dark); text-decoration: underline; }
.qy-uc-table .op.danger { color: #f44336; }
.qy-uc-table .ops { white-space: nowrap; }

/* ---------- 状态标签 ---------- */
.st { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11.5px; font-style: normal; }
.st-publish, .st-o-paid, .st-w1 { background: #ecfdf5; color: #047857; }
.st-waiting, .st-o-pending, .st-w0, .st-c-waiting { background: #fffbeb; color: #b45309; }
.st-hidden, .st-o-closed, .st-w3 { background: var(--bg); color: var(--muted); }
.st-w2, .st-o-expired, .st-c-spam { background: #fef2f2; color: #b91c1c; }
.st-c-approved { background: #ecfdf5; color: #047857; }

/* ---------- 空态 / 提示 / 分页 ---------- */
.qy-uc-empty { padding: 30px 10px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 2; }
.qy-uc-tip { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.qy-uc-msg { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; }
.qy-uc-msg.ok { background: #ecfdf5; color: #047857; }
.qy-uc-msg.err { background: #fef2f2; color: #b91c1c; }

.qy-uc-pager {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-top: 16px; font-size: 13px; color: var(--muted);
}
.qy-uc-pager a {
    padding: 6px 16px; border-radius: 6px; background: var(--bg);
    color: var(--ink-2); transition: background .15s, color .15s;
}
.qy-uc-pager a:hover { background: var(--primary); color: #fff; }

/* ---------- 钱包 ---------- */
.qy-uc-balance {
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding: 18px 22px; border-radius: 10px;
    background: linear-gradient(120deg, #0f2557, var(--primary)); color: #fff;
}
.qy-uc-balance b { font-size: 30px; font-weight: 800; }
.qy-uc-balance span { font-size: 12.5px; opacity: .85; }

/* ---------- 会员 ---------- */
.qy-uc-vip-current {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    padding: 18px 22px; border-radius: 10px;
    background: linear-gradient(120deg, #2b2115, #6b4b1f); color: #ffd98a;
}
.qy-uc-vip-current.gray { background: var(--bg); color: var(--muted); }
.qy-uc-vip-current .vc-left b { display: block; font-size: 18px; margin-bottom: 4px; }
.qy-uc-vip-current .vc-left span { font-size: 13px; }

.qy-uc-vip-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vl-item {
    display: flex; flex-direction: column; gap: 8px;
    border: 1px solid var(--line); border-radius: 10px; padding: 16px;
    text-align: center; transition: border-color .15s, box-shadow .15s;
}
.vl-item:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(0, 102, 255, .1); }
.vl-item.current { border-color: var(--primary); background: var(--primary-soft); }
.vl-item b { font-size: 16px; color: var(--ink); }
.vl-item .vl-desc { font-size: 12px; color: var(--muted); line-height: 1.6; min-height: 38px; }
.vl-item .vl-price { font-size: 18px; font-weight: 800; color: #f44336; }
.vl-item .vl-price i { font-size: 12px; font-weight: 400; font-style: normal; color: var(--muted); }

/* ---------- 评论 ---------- */
.qy-uc-comments li { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.qy-uc-comments li:last-child { border-bottom: 0; }
.qy-uc-comments .c-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 6px; }
.qy-uc-comments .c-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.qy-uc-comments .c-meta a { color: var(--primary); }
.qy-uc-comments .c-meta a:hover { color: var(--primary-dark); }

/* ---------- 表单 ---------- */
.qy-uc-form .fld { display: block; margin-bottom: 14px; }
.qy-uc-form .fld-name { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.qy-uc-form input[type="text"],
.qy-uc-form input[type="email"],
.qy-uc-form input[type="password"],
.qy-uc-form select,
.qy-uc-form textarea {
    display: block; width: 100%; box-sizing: border-box;
    padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 14px; color: var(--ink); background: #fff;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.qy-uc-form input:focus, .qy-uc-form select:focus, .qy-uc-form textarea:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .12);
}
.qy-uc-form input[disabled] { background: var(--bg); color: var(--muted); }
.qy-uc-form textarea { resize: vertical; line-height: 1.7; }
.qy-uc-form .fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qy-uc-form.narrow { max-width: 420px; }

.qy-uc-form-actions { display: flex; gap: 12px; margin-top: 6px; }
.qy-uc-form .btn, .qy-uc-card .btn {
    display: inline-block; padding: 10px 26px; border-radius: 8px;
    font-size: 14px; cursor: pointer; text-align: center;
    transition: background .15s, color .15s, border-color .15s;
}
.qy-uc-form .btn.primary, .qy-uc-card .btn.primary { border: 0; background: var(--primary); color: #fff; }
.qy-uc-form .btn.primary:hover, .qy-uc-card .btn.primary:hover { background: var(--primary-dark); }
.qy-uc-form .btn.ghost, .qy-uc-card .btn.ghost { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.qy-uc-form .btn.ghost:hover, .qy-uc-card .btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.qy-uc-form-tip { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.7; }

.qy-uc-profile-avatar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qy-uc-profile-avatar img { width: 72px; height: 72px; border-radius: 50%; box-shadow: var(--shadow); }
.qy-uc-profile-avatar b { font-size: 14px; color: var(--ink); }
.qy-uc-profile-avatar p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 移动端底部 Tab ---------- */
.qy-uc-mobilebar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: #fff; border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(22, 23, 47, .06);
}
.qy-uc-mobilebar .mb-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 4px 0; font-size: 11px; color: var(--muted);
    border: 0; background: none; cursor: pointer; font-family: inherit;
}
.qy-uc-mobilebar .mb-item svg { width: 21px; height: 21px; }
.qy-uc-mobilebar .mb-item.active { color: var(--primary); font-weight: 600; }

.qy-uc-more { position: fixed; inset: 0; z-index: 200; }
.qy-uc-more[hidden] { display: none; }
.qy-uc-more .more-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.qy-uc-more .more-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: #fff; border-radius: 16px 16px 0 0;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    animation: qyUcUp .22s ease-out;
}
@keyframes qyUcUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.qy-uc-more .more-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 14px;
}
.qy-uc-more .more-close { width: 32px; height: 32px; border: 0; background: var(--bg); border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.qy-uc-more .more-close svg { width: 15px; height: 15px; }
.qy-uc-more .more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qy-uc-more .more-item {
    text-align: center; padding: 12px 4px; border-radius: 8px;
    background: var(--bg); font-size: 12.5px; color: var(--ink-2);
}
.qy-uc-more .more-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.qy-uc-more .more-foot { display: flex; gap: 10px; margin-top: 16px; }
.qy-uc-more .more-foot a {
    flex: 1; text-align: center; padding: 11px; border-radius: 8px;
    font-size: 13.5px;
}
.qy-uc-more .more-foot a:first-child { background: var(--bg); color: var(--ink-2); }
.qy-uc-more .more-foot a:last-child { background: #fef2f2; color: #b91c1c; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .qy-uc-layout { flex-direction: column; align-items: stretch; }
    .qy-uc-sidebar { width: 100%; }
}

@media (max-width: 768px) {
    /* 顶部偏移由 .site-main 提供；底部空隙交给 body 的 padding-bottom，
       不再用 100vh 撑高 .qy-uc —— 移动端 100vh 与可视高度不一致会导致页面抖动 */
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .qy-uc {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        padding: 16px 14px 24px;
    }
    .qy-uc-hero { border-radius: 14px; }
    .qy-uc-hero-main { padding: 18px 16px 0; gap: 12px; }
    .qy-uc-avatar { width: 56px; height: 56px; }
    .qy-uc-hero-name h1 { font-size: 18px; }
    .qy-uc-hero-stats { margin-top: 14px; }
    .qy-uc-hero-stats a { padding: 10px 0 12px; }
    .qy-uc-entries { padding: 4px 14px 16px; gap: 8px; }
    .qy-uc-entry { padding: 12px 4px; gap: 7px; }
    .qy-uc-entry .ic { width: 36px; height: 36px; }
    .qy-uc-mod-head, .qy-uc-ct-tabs { padding-left: 14px; padding-right: 14px; }
    .qy-uc-ct-tabs { gap: 20px; }
    .qy-uc-feed > li { padding: 12px 14px; gap: 11px; }
    .qy-uc-feed .thumb { width: 64px; height: 52px; }
    .qy-uc-wallet-top { margin: 12px 14px 6px; padding: 14px 16px; }
    .qy-uc-wallet-top .amt { font-size: 24px; }
    .qy-uc-flow > li { padding: 12px 14px; }
    .qy-uc-fns { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .qy-uc-fn { padding: 13px 4px; font-size: 12px; gap: 6px; }

    .qy-uc-sidebar { display: none; }
    .qy-uc-mobilebar { display: flex; }

    /* 概览：余额 / 会员两列紧凑卡；最近列表仍单列 */
    .qy-uc-ovgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .qy-uc-ovgrid.two-col { grid-template-columns: 1fr; }
    .ov-card { padding: 14px 16px; gap: 4px; }
    .ov-card .ov-value { font-size: 20px; }
    .ov-card .ov-hint { font-size: 11.5px; }

    .qy-uc-stats.four { grid-template-columns: repeat(4, 1fr); }

    /* 快捷操作 2x2，触控友好 */
    .qy-uc-actions { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .qy-uc-actions a { font-size: 13px; padding: 11px 8px; }

    /* 我的文章：表格转卡片，避免横向溢出 */
    .qy-uc-table.cards-mb { overflow-x: visible; }
    .qy-uc-table.cards-mb table,
    .qy-uc-table.cards-mb tbody,
    .qy-uc-table.cards-mb tr,
    .qy-uc-table.cards-mb td { display: block; width: 100%; }
    .qy-uc-table.cards-mb thead { display: none; }
    .qy-uc-table.cards-mb tr {
        border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--bg); padding: 10px 14px; margin-bottom: 10px;
    }
    .qy-uc-table.cards-mb td {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        border: 0; padding: 5px 0;
    }
    .qy-uc-table.cards-mb td::before { content: attr(data-label); flex: none; font-size: 12px; color: var(--muted); }
    .qy-uc-table.cards-mb td.t-title {
        max-width: none; white-space: normal; font-weight: 600;
        display: block; padding-bottom: 8px; margin-bottom: 4px;
        border-bottom: 1px dashed var(--line); word-break: break-all;
    }
    .qy-uc-table.cards-mb td.t-title::before { content: none; }
    .qy-uc-table.cards-mb td .op { margin-right: 0; }
    .qy-uc-vip-levels { grid-template-columns: 1fr; }
    .qy-uc-form .fld-row { grid-template-columns: 1fr; }
}

/* 正文编辑器样式已迁至 QYTool 插件 assets/editor/editor.css（后台与用户中心共用） */

/* ============================================================
 * 「我的」沉浸式页面（.qy-me-*）：独立外壳，不加载全站 header/footer
 * ========================================================== */
body.qy-me-page {
    margin: 0; background: #f5f6f8;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* 变量回退：独立外壳不加载全站 style.css */
.qy-me-page, .qy-me {
    --primary: #0066ff; --primary-dark: #0052d9;
    --ink: #1d2129; --ink-2: #3d414d; --muted: #8a8fa3;
    --line: #f0f1f5; --bg: #f5f6f8; --card: #fff;
    --shadow: 0 4px 16px rgba(22,23,47,.08); --radius: 3px;
}

.qy-me {
    max-width: 640px; margin: 0 auto; min-height: 100vh;
    background: #f5f6f8; padding-bottom: 72px;
    color: var(--ink); font-size: 14px; line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.qy-me svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
/* 面板内：父容器已留出底栏高度，这里不再重复留白 */
.qy-me.is-embed { padding-bottom: 8px; }
.qy-me a { text-decoration: none; }
.qy-me a:not([class]) { color: inherit; }
.qy-me img { max-width: 100%; }

/* ---- 头部（深色 / 封面） ---- */
.qy-me-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 74px;
    background: linear-gradient(165deg, #4b9bff 0%, #0066ff 55%, #0052d9 100%);
}
.qy-me-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qy-me-hero.has-cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.52) 76%, rgba(0,0,0,.66) 100%);
}
.qy-me-hero > * { position: relative; z-index: 1; }

.qy-me-topbar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 14px; }
.qy-me-tbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.13); color: #fff; font-size: 20px;
}
.qy-me-tbtn:active { background: rgba(255,255,255,.24); }
.qy-me-tbtn.dark { background: #f0f1f5; color: var(--ink); }

.qy-me-id { display: flex; align-items: center; gap: 14px; }
.qy-me-avatar {
    width: 64px; height: 64px; border-radius: 50%; flex: none;
    border: 2.5px solid rgba(255,255,255,.85); object-fit: cover;
}
.qy-me-avatar--ph { display: inline-block; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.qy-me-name { display: flex; align-items: center; gap: 8px; }
.qy-me-name h1 { margin: 0; font-size: 19px; font-weight: 700; }
.qy-me-vip {
    font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 20px;
    background: linear-gradient(135deg, #ffd98a, #f5b942); color: #5a3a00; font-weight: 600;
}
.qy-me-id-sub { margin-top: 5px; font-size: 12.5px; color: rgba(255,255,255,.65); }

.qy-me-stats { display: flex; gap: 26px; margin-top: 12px; }
.qy-me-stats a, .qy-me-stats .is-ph { display: flex; flex-direction: column; gap: 3px; color: #fff; }
.qy-me-stats b { font-size: 17px; font-weight: 700; }
.qy-me-stats span { font-size: 12px; color: rgba(255,255,255,.6); }

.qy-me-intro { margin: 10px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

.qy-me-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.qy-me-card {
    display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 8px; border-radius: 12px;
    background: rgba(255,255,255,.14); color: #fff;
}
.qy-me-card:active { background: rgba(255,255,255,.18); }
.qy-me-card .ic { font-size: 17px; color: rgba(255,255,255,.9); flex: none; }
.qy-me-card .t { font-size: 13px; font-weight: 600; white-space: nowrap; }
.qy-me-card .s { display: none; }

/* ---- 白色内容区（圆角上拉） ---- */
.qy-me-sheet {
    position: relative; z-index: 2; margin-top: -50px;
    background: #f5f6f8; border-radius: 18px 18px 0 0;
    padding: 4px 14px 26px; min-height: 40vh;
}

.qy-me-tabs { display: flex; gap: 26px; padding: 12px 4px 0; border-bottom: 1px solid var(--line); }
.qy-me-tabs a, .qy-me-tabs > span {
    position: relative; padding: 10px 2px; font-size: 15px; color: var(--muted);
}
.qy-me-tabs .on { color: var(--ink); font-weight: 700; }
.qy-me-tabs .on::after {
    content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
    width: 22px; height: 3px; border-radius: 3px; background: var(--primary);
}

.qy-me-feed { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 4px; }
.qy-me-post { display: block; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.qy-me-post-th { display: block; aspect-ratio: 16/9; overflow: hidden; background: #e8eaef; }
.qy-me-post-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qy-me-post-bd { display: block; padding: 12px 14px 13px; }
.qy-me-post-t {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.qy-me-post-m { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.qy-me-post-m .st { font-style: normal; padding: 2px 7px; border-radius: 20px; font-size: 11px; background: #eef4ff; color: var(--primary); }
.qy-me-post-m .st.st-waiting { background: #fff7e8; color: #d97706; }
.qy-me-post-m .st.st-hidden { background: #f0f1f5; color: var(--muted); }
.qy-me-post-m .st.st-private { background: #fdeeee; color: #dc2626; }

.qy-me-cmt { display: block; background: var(--card); border-radius: 12px; padding: 13px 14px; box-shadow: var(--shadow); }
.qy-me-cmt-t { display: block; font-size: 14px; color: var(--ink); line-height: 1.55; }

.qy-me-empty { text-align: center; padding: 60px 0; color: var(--muted); font-size: 13px; }
.qy-me-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 0 6px; font-size: 13px; color: var(--muted); }
.qy-me-pager a { padding: 7px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }

/* 未登录锁定态 */
.qy-me-locked { text-align: center; padding: 70px 0 56px; }
.qy-me-locked-ic {
    display: inline-flex; width: 74px; height: 74px; border-radius: 50%;
    background: #e8f1ff; color: var(--primary); font-size: 34px; align-items: center; justify-content: center;
}
.qy-me-locked p { margin: 16px 0 26px; font-size: 14px; color: var(--muted); }
.qy-me-login-btn {
    display: inline-block; padding: 13px 54px; border-radius: 30px;
    background: linear-gradient(135deg, #2e8bff, #0066ff); color: #fff;
    font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px rgba(0,102,255,.28);
}
.qy-me-login-btn:active { opacity: .85; }

/* ---- 子页：返回栏 + 内容 ---- */
.qy-me-bar {
    position: sticky; top: 0; z-index: 20;
    display: grid; grid-template-columns: 40px 1fr 40px; align-items: center;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
    background: #fff; border-bottom: 1px solid var(--line);
}
.qy-me-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: #f0f1f5; color: var(--ink); font-size: 19px;
}
.qy-me-back:active { background: #e4e6eb; }
.qy-me-bar-t { text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.qy-me-bar .qy-me-tbtn { width: 36px; height: 36px; font-size: 18px; justify-self: end; }
.qy-me-bar-r { width: 36px; height: 36px; }

.qy-me-sub { background: #f5f6f8; min-height: calc(100vh - 60px); padding: 12px 14px 34px; }
.qy-me-sub .qy-uc { padding: 0; }

.qy-me-msg { margin: 10px 4px 0; padding: 11px 14px; border-radius: 10px; font-size: 13px; }
.qy-me-msg.ok { background: #eafaf1; color: #0f9d63; border: 1px solid #c7ecd9; }
.qy-me-msg.err { background: #fdeeee; color: #dc2626; border: 1px solid #f6d2d2; }

/* ---- 设置页 ---- */
.qy-me-set { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 8px; }
.qy-me-set-g { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.qy-me-set-i { display: flex; align-items: center; gap: 12px; padding: 15px 16px; }
.qy-me-set-i + .qy-me-set-i { border-top: 1px solid var(--line); }
.qy-me-set-i:active { background: #f7f8fa; }
.qy-me-set-i .ic { font-size: 20px; color: var(--ink-2); width: 24px; text-align: center; flex: none; }
.qy-me-set-i .t { font-size: 15px; color: var(--ink); }
.qy-me-set-i .s { flex: 1; text-align: right; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qy-me-set-i .cv { color: #c3c6cf; font-size: 16px; margin-left: auto; flex: none; }
.qy-me-set-g--btn { background: transparent; box-shadow: none; display: flex; flex-direction: column; gap: 12px; }
.qy-me-set-btn {
    display: block; text-align: center; padding: 15px; border-radius: 14px;
    background: var(--card); box-shadow: var(--shadow);
    font-size: 15px; font-weight: 600; color: var(--ink);
}
.qy-me-set-btn.is-danger { color: #dc2626; }

/* embed（首页「我的」面板）：去外壳边距 */
.qy-me.is-embed { max-width: none; min-height: 0; padding-bottom: 12px; background: transparent; }
.qy-me.is-embed .qy-me-hero { border-radius: 0 0 18px 18px; }
.qy-me.is-embed .qy-me-bar { top: 0; }

/* PC：居中窄栏 */
@media (min-width: 641px) {
    .qy-me { border-left: 1px solid #e5e8ef; border-right: 1px solid #e5e8ef; }
}

/* ---- 钱包页 ---- */
.qy-w-bal {
    position: relative; overflow: hidden; border-radius: 16px;
    padding: 22px 20px 20px; color: #fff;
    background: linear-gradient(135deg, #2e8bff 0%, #0066ff 60%, #0052d9 100%);
    box-shadow: 0 8px 22px rgba(0,102,255,.26);
}
.qy-w-bal::before, .qy-w-bal::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1);
}
.qy-w-bal::before { right: -42px; top: -52px; width: 150px; height: 150px; }
.qy-w-bal::after { right: 46px; bottom: -76px; width: 120px; height: 120px; background: rgba(255,255,255,.07); }
.qy-w-bal > * { position: relative; z-index: 1; }
.qy-w-bal-t { font-size: 13px; color: rgba(255,255,255,.78); }
.qy-w-bal-v { margin-top: 4px; font-size: 34px; font-weight: 700; line-height: 1.25; }
.qy-w-bal-v small { font-size: 16px; font-weight: 600; margin-right: 3px; }
.qy-w-bal-s { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.62); }

/* 钱包内表单微调（插件 qytool.css 基础上的对齐） */
.qy-me-sub .qy-recharge-form,
.qy-me-sub .qy-withdraw-form { display: flex; flex-direction: column; gap: 10px; }
.qy-me-sub .qy-recharge-form input,
.qy-me-sub .qy-withdraw-form input,
.qy-me-sub .qy-withdraw-form select {
    width: 100%; box-sizing: border-box; margin: 0;
    padding: 12px 14px; border: 1px solid #e3e6ee; border-radius: 10px;
    background: #fff; font-size: 14px; color: var(--ink); outline: none;
    transition: border-color .15s;
}
.qy-me-sub .qy-recharge-form input:focus,
.qy-me-sub .qy-withdraw-form input:focus,
.qy-me-sub .qy-withdraw-form select:focus { border-color: var(--primary); }
.qy-me-sub .qy-paybox-submit.small {
    width: 100%; margin: 2px 0 0; padding: 12px; border: 0; border-radius: 10px;
    background: linear-gradient(135deg, #2e8bff, #0066ff); color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,102,255,.24);
}
.qy-me-sub .qy-paybox-submit.small:active { opacity: .88; }
.qy-me-sub .qy-paybox-msg:empty { display: none; }
.qy-me-sub .qy-paybox-msg { margin: 2px 0 0; font-size: 12.5px; }
.qy-me-sub .qy-withdraw-pending { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.qy-me-sub .qy-withdraw-cancel { color: var(--primary); font-weight: 600; margin-left: 6px; }

/* ---- 独立用户中心页底栏（与站点底栏视觉一致） ---- */
.qy-me-nav {
    position: fixed; inset: auto 0 0 0; z-index: 130;
    display: flex; align-items: center; justify-content: space-between;
    height: calc(59px + env(safe-area-inset-bottom, 0px));
    padding: 0 6px env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    background: #fff; border-top: 1px solid #eceef4;
}
.qy-me-nav-side { display: flex; flex: 1 1 0; justify-content: space-around; }
.qy-me-nav-i {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    min-width: 38px; padding: 5px 2px;
    color: #8a8f9c; font-size: 11px; line-height: 1.2; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.qy-me-nav-i svg { width: 21px; height: 21px; }
.qy-me-nav-i img.qy-me-nav-ico { width: 21px; height: 21px; object-fit: cover; border-radius: 4px; }
.qy-me-nav-i.is-on { color: var(--primary); font-weight: 600; }
.qy-me-nav-c {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 34px; margin: 0 4px; border-radius: 10px;
    background: linear-gradient(135deg, #2e8bff, #0066ff);
    box-shadow: 0 4px 10px rgba(0,102,255,.28);
}
.qy-me-nav-c svg { width: 20px; height: 20px; }

@media (min-width: 641px) {
    .qy-me-nav { display: none; }
    .qy-me { padding-bottom: 40px; }
}
