:root{
  /* 主题色变量: 由「主题皮肤」在 documentElement 上内联覆盖, --grad/--grad2 随之联动 */
  --blue:#FF5C8A; --blue2:#A855F7; --blue3:#FF8FAB;
  --pink:var(--blue); --pink2:var(--blue3); --purple:var(--blue2);
  --grad:linear-gradient(135deg,var(--blue) 0%,var(--blue2) 100%);
  --grad2:linear-gradient(135deg,var(--blue3) 0%,var(--blue2) 100%);
  --bg:#FFF3F7; --card:#fff; --txt:#14151A; --sub:#8A8F9C; --line:#FDE3EE;
  --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;height:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--txt);overflow:hidden;font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{text-decoration:none;color:inherit}
button{font-family:inherit;border:0;background:none;cursor:pointer;color:inherit}
input,textarea,select{font-family:inherit;font-size:14px;outline:none;border:1px solid var(--line);background:#F8F9FC;border-radius:12px;padding:11px 13px;width:100%;color:var(--txt)}
input:focus,textarea:focus{border-color:#FFB1CC;background:#fff;box-shadow:0 0 0 3px rgba(255,92,138,.12)}
/* 会员昵称金色高亮 */
.vip-nm{background:linear-gradient(135deg,#FFD700,#FFA500,#FF6347);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:900;text-shadow:0 0 12px rgba(255,165,0,.35);animation:vipShine 2.5s ease-in-out infinite}
.vip-nm:before{content:"👑 ";font-size:.85em;-webkit-text-fill-color:initial}
@keyframes vipShine{0%,100%{filter:brightness(1)}50%{filter:brightness(1.3)}}
/* 喜欢按钮(喜欢=关注) */
.like-btn{width:100%;margin-top:10px;padding:13px;border-radius:999px;font-weight:800;font-size:15px;background:linear-gradient(135deg,#FF7BA9,#FF3B5C);color:#fff;box-shadow:0 8px 20px rgba(255,59,92,.32);transition:.2s}
.like-btn:active{transform:scale(.96)}
.like-btn.on{background:#fff;color:#FF3B5C;border:1.5px solid #FFD0DF;box-shadow:none}
.like-btn .hrt{display:inline-block;animation:beat 1.2s ease infinite}
@keyframes beat{0%,100%{transform:scale(1)}30%{transform:scale(1.28)}}
.hidden{display:none!important}
.ttl{font-weight:800;font-size:17px}
.sub{color:var(--sub);font-size:12px}
.btn{background:var(--grad);color:#fff;font-weight:700;border-radius:999px;padding:12px 18px;font-size:15px;box-shadow:0 8px 20px rgba(255,92,138,.28);transition:.15s;width:100%}
.btn:active{transform:scale(.97)}
.btn.ghost{background:#fff;color:var(--pink);box-shadow:none;border:1.5px solid #FFD0DF}
.btn.gray{background:#F1F3F8;color:#6B7280;box-shadow:none}
.btn.sm{padding:7px 14px;font-size:13px;width:auto}
.row{display:flex;align-items:center;gap:10px}
.grow{flex:1;min-width:0}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.center{display:flex;align-items:center;justify-content:center}

/* ========== 头像框特效 (免费 10 / 会员专属 9) ========== */
.frm{position:relative;display:inline-block;border-radius:50%;padding:3px;flex:0 0 auto}
.frm::before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%}
.frm.blue{background:conic-gradient(#5c9bff,#8fd0ff,#5c9bff)}
.frm.pink{background:conic-gradient(#ff7ab0,#ffc3de,#ff7ab0)}
.frm.gold{background:conic-gradient(#ffd700,#ff9a00,#ffd700)}
.frm.vip{background:conic-gradient(#b06bff,#7b5cff,#ff5fc0,#b06bff)}
.frm.rainbow{background:conic-gradient(#ff5f6d,#ffc371,#5cff9d,#5c9bff,#b06bff,#ff5f6d)}
.frm.sakura{background:conic-gradient(#ffb7c5,#ff7ab0,#ffe3ec,#ffb7c5)}
.frm.star{background:conic-gradient(#ffe259,#ffa751,#fff3b0,#ffe259)}
.frm.diamond{background:conic-gradient(#a8fffb,#5cc8ff,#b06bff,#a8fffb)}
.frm.dragon{background:conic-gradient(#38ef7d,#11998e,#ffd76e,#38ef7d)}
.frm.ocean{background:conic-gradient(#00c6ff,#0072ff,#7ee8fa,#00c6ff)}
.frm.forest{background:conic-gradient(#56ab2f,#a8e063,#2f7336,#56ab2f)}
.frm.sunset{background:conic-gradient(#ff7e5f,#feb47b,#ff5f9e,#ff7e5f)}
.frm.candy{background:conic-gradient(#ff9ff3,#feca57,#48dbfb,#ff9ff3)}
.frm.neon{background:conic-gradient(#08f7fe,#09fbd3,#fe53bb,#f5d300,#08f7fe);animation:frmGlow 2.2s linear infinite}
.frm.fire{background:conic-gradient(#f83600,#f9d423,#ff4e50,#f83600);animation:frmGlow 1.8s linear infinite}
.frm.moon{background:conic-gradient(#e0eafc,#cfdef3,#93a5cf,#e0eafc);animation:frmGlow 3.2s linear infinite}
.frm.king{background:conic-gradient(#f7971e,#ffd200,#ff0844,#ffd200,#f7971e);animation:frmGlow 2.6s linear infinite}
.frm.love{background:conic-gradient(#ff0844,#ffb199,#ff5f9e,#ffd1dc,#ff0844);animation:frmGlow 2.4s linear infinite}
@keyframes frmGlow{0%{filter:hue-rotate(0deg) drop-shadow(0 0 2px rgba(255,255,255,.35))}50%{filter:hue-rotate(40deg) drop-shadow(0 0 6px rgba(255,220,120,.55))}100%{filter:hue-rotate(0deg) drop-shadow(0 0 2px rgba(255,255,255,.35))}}
.frm .av{border:3px solid #fff}
/* 头像小表情挂件 (右下角) */
.avbadge{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1;font-style:normal;z-index:2}
.frm .avbadge{right:1px;bottom:1px}
/* 主页装扮横幅 */
.decor-bar{padding:9px 16px;font-size:12px;text-align:right;font-weight:700;letter-spacing:.5px}
/* 漂浮粒子特效层 (主题皮肤) */
#fxLayer{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:9;overflow:hidden}
#fxLayer i{position:absolute;bottom:-40px;opacity:0;animation:fxRise linear infinite}
@keyframes fxRise{0%{transform:translateY(0) rotate(0);opacity:0}15%{opacity:.6}100%{transform:translateY(-110vh) rotate(360deg);opacity:0}}
/* 选择网格 (主题/装扮/头像框 共用) */
.ggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px}
.gcell{background:#fafafa;border-radius:12px;padding:10px 6px;text-align:center;border:1px solid #f0f0f0;cursor:pointer}
.gcell:active{transform:scale(.96)}
/* 座驾 / 神宠 商城网格 */
.sgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.scell{background:#fafafa;border-radius:12px;padding:10px 6px;text-align:center;border:1px solid #f0f0f0;cursor:pointer}
.scell:active{transform:scale(.96)}
.scell.on{border-color:var(--pink);background:#FFF5F8}
.sic{font-size:32px;line-height:1.2}
.snm{font-size:12px;font-weight:700;color:#333;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spr{font-size:12px;font-weight:700;color:#ff6a00;margin-top:2px}
.sst{font-size:10px;color:#aaa;margin-top:2px}
/* 充值收款码: 微信长按「识别二维码」要求真实 http 图片 + 放开 iOS 长按菜单 */
.payqr-img{-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto;-webkit-user-drag:auto;pointer-events:auto}

/* ========== 财富等级徽章 (抖音式, 按段位配色) ========== */
.wlv{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:800;color:#fff;line-height:1.5;white-space:nowrap;letter-spacing:.3px;vertical-align:middle}
.wlv.t1{background:linear-gradient(135deg,#9CA3AF,#6B7280)}
.wlv.t2{background:linear-gradient(135deg,#34D399,#059669)}
.wlv.t3{background:linear-gradient(135deg,#60A5FA,#2563EB)}
.wlv.t4{background:linear-gradient(135deg,#A78BFA,#7C3AED)}
.wlv.t5{background:linear-gradient(135deg,#FBBF24,#D97706);box-shadow:0 0 8px rgba(251,191,36,.4)}
.wlv.t6{background:linear-gradient(135deg,#F87171,#DC2626);box-shadow:0 0 10px rgba(248,113,113,.5);animation:wlvPulse 2s ease-in-out infinite}
@keyframes wlvPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.25)}}
.wlv-lg{font-size:12px;padding:2px 10px}

/* ============ 贵族等级徽章(0-60级, 6段位) ============ */
.nlv{display:inline-flex;align-items:center;gap:3px;padding:1px 6px 1px 4px;border-radius:999px;font-size:10px;font-weight:800;color:#fff;line-height:1.5;white-space:nowrap;letter-spacing:.3px;vertical-align:middle;height:16px;box-sizing:border-box}
.nlv svg{width:12px;height:12px;flex-shrink:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
.nlv .nl-n{font-size:9px;font-weight:800;opacity:.95;text-shadow:0 1px 1px rgba(0,0,0,.3)}
/* 段位配色(由低到高) */
.nlv.t0{background:linear-gradient(135deg,#E5E7EB,#9CA3AF);color:#4B5563}
.nlv.t1{background:linear-gradient(135deg,#D1D5DB,#6B7280)}
.nlv.t2{background:linear-gradient(135deg,#6EE7B7,#059669)}
.nlv.t3{background:linear-gradient(135deg,#93C5FD,#2563EB)}
.nlv.t4{background:linear-gradient(135deg,#C4B5FD,#7C3AED)}
.nlv.t5{background:linear-gradient(135deg,#FCD34D,#D97706);box-shadow:0 0 8px rgba(251,191,36,.5);animation:nlvGlow 2.4s ease-in-out infinite}
.nlv.t6{background:linear-gradient(135deg,#FCA5A5 0%,#F59E0B 50%,#EF4444 100%);box-shadow:0 0 12px rgba(239,68,68,.6),0 0 4px rgba(251,191,36,.5);animation:nlvEpic 1.8s ease-in-out infinite;position:relative;overflow:visible}
.nlv.t6:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:999px;background:linear-gradient(90deg,#EF4444,#F59E0B,#8B5CF6,#3B82F6,#10B981,#EF4444);background-size:300% 100%;animation:nlvRainbow 3s linear infinite;z-index:-1;filter:blur(2px);opacity:.7}
.nlv.t6 svg{filter:drop-shadow(0 0 3px rgba(255,255,255,.8))}
@keyframes nlvGlow{0%,100%{box-shadow:0 0 6px rgba(251,191,36,.4)}50%{box-shadow:0 0 14px rgba(251,191,36,.75)}}
@keyframes nlvEpic{0%,100%{filter:brightness(1) saturate(1)}50%{filter:brightness(1.3) saturate(1.2)}}
@keyframes nlvRainbow{0%{background-position:0% 50%}100%{background-position:300% 50%}}
.nlv-lg{height:20px;font-size:12px;padding:2px 9px 2px 5px}
.nlv-lg svg{width:15px;height:15px}
.nlv-lg .nl-n{font-size:11px}
/* 头像旁悬浮徽章 */
.avwrap .nlv{position:absolute;left:-4px;bottom:-4px;z-index:3;padding:0 4px 0 2px;height:14px;border:1.5px solid #fff;border-radius:999px}
.avwrap .nlv svg{width:10px;height:10px}
.avwrap .nlv .nl-n{font-size:8px}

.app{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;overflow:hidden}
.topbar{flex:0 0 auto;background:var(--grad);color:#fff;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 14px;position:relative;z-index:8}
.topbar .bar1{display:flex;align-items:center;gap:12px}
.tb-title{font-size:18px;font-weight:900;letter-spacing:.5px;flex:0 0 auto}
.search{flex:1;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.96);border-radius:999px;padding:9px 16px;box-shadow:0 4px 14px rgba(216,27,96,.18);border:1.5px solid rgba(255,255,255,.7);transition:.2s}
.search:focus-within{box-shadow:0 4px 18px rgba(216,27,96,.32);transform:translateY(-1px)}
.search span{color:#FF5C8A;font-size:14px}
.search input{background:none;border:0;padding:0;color:#333;font-size:13.5px;width:100%}
.search input::placeholder{color:#B9BEC9}
.tb-ico{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto}
.tabs{display:flex;gap:20px;margin-top:12px;font-size:15px;font-weight:700;color:rgba(255,255,255,.72)}
.tabs div{position:relative;padding-bottom:5px;transition:.15s}
.tabs div.on{color:#fff;font-size:17px}
.tabs div.on:after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:18px;height:3px;border-radius:2px;background:#fff}
main{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:calc(74px + var(--safe-b))}
.tabbar{position:fixed;left:0;right:0;bottom:0;height:calc(60px + var(--safe-b));padding-bottom:var(--safe-b);background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;align-items:center;z-index:20}
.tabbar .tb{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:#9AA0AE;font-weight:600;position:relative;height:100%;justify-content:center}
.tabbar .tb .ic{font-size:19px;line-height:1;filter:grayscale(1);opacity:.5;transition:.15s}
.tabbar .tb.on{color:var(--pink)}
.tabbar .tb.on .ic{filter:none;opacity:1;transform:translateY(-1px)}
.tabbar .tb .dot{position:absolute;top:6px;left:50%;margin-left:4px;min-width:17px;height:17px;background:#FF3B5C;color:#fff;border-radius:9px;font-size:11px;line-height:17px;text-align:center;padding:0 4px;font-weight:700;box-sizing:border-box}
.fabwrap{flex:0 0 72px;display:flex;align-items:center;justify-content:center}
.fab{width:50px;height:50px;border-radius:18px;background:var(--grad);color:#fff;font-size:26px;line-height:1;box-shadow:0 10px 22px rgba(255,92,138,.4);display:flex;align-items:center;justify-content:center;transition:.15s}
.fab:active{transform:scale(.92)}
.masonry{padding:12px;column-count:2;column-gap:10px}
.pcard{break-inside:avoid;background:#fff;border-radius:16px;overflow:hidden;margin-bottom:10px;box-shadow:0 3px 12px rgba(20,21,26,.05);animation:up .3s ease both}
@keyframes up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.pcard img.pimg{display:block;width:100%;object-fit:cover;background:#F1F3F8}
.pbody{padding:10px 11px 11px}
.ptxt{font-size:13px;line-height:1.5;margin:0 0 8px;word-break:break-word;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pmeta{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.pmeta .nm{font-size:11.5px;font-weight:700;flex:1}
.pacts{display:flex;align-items:center;gap:14px;font-size:11.5px;color:var(--sub);font-weight:600}
.pacts .act{display:flex;align-items:center;gap:3px}
.pacts .act.on{color:var(--pink)}
.av{border-radius:50%;object-fit:cover;background:var(--grad2);flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;overflow:hidden}
.av img{width:100%;height:100%;object-fit:cover}
.ugrid{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ucard{background:#fff;border-radius:20px;padding:10px;box-shadow:0 6px 18px rgba(255,92,138,.09);animation:up .3s ease both;transition:transform .18s,box-shadow .18s}
.ucard:active{transform:scale(.97);box-shadow:0 8px 24px rgba(255,92,138,.18)}
.ucard .cover{height:104px;border-radius:14px;background:var(--grad2);overflow:hidden;position:relative;margin-bottom:9px}
.ucard .cover img{width:100%;height:100%;object-fit:cover}
.ucard .online{position:absolute;left:8px;top:8px;background:rgba(0,0,0,.42);color:#fff;font-size:10px;padding:2px 7px;border-radius:8px;backdrop-filter:blur(4px)}
.ucard .nm2{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:4px}
.ucard .tags{display:flex;gap:4px;margin:6px 0 8px;flex-wrap:wrap}
.tag{font-size:10px;background:#FFF0F5;color:#FF5C8A;padding:2px 7px;border-radius:7px;font-weight:700}
.tag.p{background:#F3EBFF;color:#A855F7}
.tag.b{background:#EAF3FF;color:#3B82F6}
.lrow{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#fff;border-bottom:1px solid var(--line)}
.lrow:active{background:#FAFBFF}
.lrow .t1{font-size:14.5px;font-weight:700}
.lrow .t2{font-size:12px;color:var(--sub);margin-top:3px}
.empty{text-align:center;color:#B7BCC7;font-size:13px;padding:60px 20px;line-height:1.9}
.empty .e{font-size:40px;display:block;margin-bottom:8px;opacity:.55}

/* ===== 朋友圈 + 消息未读 + 头像包裹 (小兰新增) ===== */
.avwrap{position:relative;display:inline-flex;flex-shrink:0}
.unread-dot{position:absolute;right:-1px;top:-1px;width:9px;height:9px;background:#FF3B5C;border:2px solid #fff;border-radius:50%}
.unread-dot.n{width:auto;min-width:15px;height:17px;padding:0 4px;border-radius:9px;font-size:10px;line-height:14px;font-weight:700;color:#fff;text-align:center;box-sizing:border-box}
/* 亲密度(仿他趣) */
.heart-tag{margin-left:auto;font-size:10px;color:#FF3B5C;font-weight:700;position:relative;padding-bottom:4px;min-width:0;max-width:42%;text-align:right;flex:0 1 auto;overflow:hidden}
.heart-tag .ht-t{white-space:nowrap}
.heart-tag .ht-c{display:block;font-size:9px;color:#FF8FA8;font-weight:400}
.heart-tag i{display:block;height:3px;background:linear-gradient(90deg,#FF5C8A,#FF3B5C);border-radius:2px;position:absolute;right:0;bottom:0;max-width:100%;transition:width .3s}
.hlv{font-size:9px;color:#fff;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);border-radius:6px;padding:1px 4px;margin-left:4px;vertical-align:1px;white-space:nowrap}
/* 陌生人打招呼提示条 */
.stranger-bar{background:#FFF7E6;border:1px solid #FFE1A8;color:#B86E00;font-size:11px;border-radius:8px;padding:6px 10px;margin-bottom:10px;text-align:center}
.stranger-bar b{color:#FF3B5C}
.sysav{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#FFD35C,#FF8A5C);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.chatlist{background:#fff}
.lrow .lmain{flex:1;min-width:0}
.lrow .lt{font-size:14.5px;font-weight:700;color:#1A1D26}
.lrow .ls{font-size:12px;color:#9AA0AC;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lrow .ls.unread{color:#333;font-weight:600}
.lrow .rt2{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
.lrow .rt2 .tm{font-size:11px;color:#B7BCC7}
.lrow .badge{background:#FF3B5C;color:#fff;font-size:10px;min-width:16px;height:16px;line-height:16px;text-align:center;border-radius:8px;padding:0 4px}
.tb-ico{font-size:20px;color:#FF5C8A;cursor:pointer;padding:0 6px}
.moments{padding:10px 12px 24px;background:#FFF0F5}
.moment{background:#fff;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 3px 12px rgba(20,21,26,.05);animation:up .3s ease both}
.m-head{display:flex;align-items:center;gap:10px}
.m-nm{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.m-nm b{font-size:14.5px;font-weight:800;color:#1A1D26}
.m-nm .m-tm{font-size:11px;color:#B7BCC7}
.m-del{font-size:12px;color:#B7BCC7;padding:4px 8px;cursor:pointer}
.m-del:active{color:#FF3B5C}
.m-txt{margin:10px 0 0;font-size:14.5px;line-height:1.65;color:#2A2D36;word-break:break-word;white-space:pre-wrap}
.m-imgs{margin-top:10px;display:grid;grid-template-columns:1fr;gap:6px}
.m-imgs.m-imgs-2,.m-imgs.m-imgs-4{grid-template-columns:1fr 1fr}
.m-imgs.m-imgs-3,.m-imgs.m-imgs-5,.m-imgs.m-imgs-6,.m-imgs.m-imgs-7,.m-imgs.m-imgs-8,.m-imgs.m-imgs-9{grid-template-columns:1fr 1fr 1fr}
.m-img{width:100%;max-width:100%;border-radius:10px;display:block;object-fit:cover;max-height:320px}
.m-imgs .m-img{aspect-ratio:1;max-height:none}
.m-bar{display:flex;align-items:center;gap:18px;margin-top:12px;padding-top:10px;border-top:1px solid #F0F1F4}
.m-act{font-size:13px;color:#9AA0AC;display:inline-flex;align-items:center;gap:4px;cursor:pointer;user-select:none}
.m-act.on{color:#FF3B5C}
.m-cmt{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #f5f5f5}
.m-cmt-av{flex-shrink:0}
.m-cmt-b{flex:1;font-size:13px;line-height:1.5}
.m-cmt-b b{color:#FF5C8A;margin-right:4px}
.m-cmt-t{font-size:11px;color:#bbb;margin-top:2px}
.cmt-report{opacity:.4;cursor:pointer;margin-left:6px;font-size:12px}
.cmt-report:hover{opacity:1}
.pub-emoji{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;max-height:200px;overflow-y:auto;padding:8px;background:#fafafa;border-radius:10px;margin-top:8px}
.pub-emoji .emoji-item{font-size:24px;width:auto;text-align:center;padding:6px 0}
@keyframes up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.xl-banner{position:fixed;left:50%;top:12px;transform:translateX(-50%) translateY(-140%);z-index:9999;display:flex;align-items:center;gap:10px;background:#fff;color:#43303A;padding:10px 16px;border-radius:14px;box-shadow:0 10px 28px rgba(60,5,30,.22);border:1px solid #FDE3EE;transition:transform .35s cubic-bezier(.34,1.4,.64,1);max-width:92vw;min-width:250px;cursor:pointer}
.xl-banner.in{transform:translateX(-50%) translateY(0)}
.xl-b-icon{font-size:26px}
.xl-b-av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex-shrink:0;border:2px solid #FDE3EE}
.xl-b-txt{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.xl-b-txt b{font-size:14px}
.xl-b-txt span{font-size:12px;color:#8a6270;max-width:62vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 设置页开关 */
.set-sw{width:44px;height:24px;border-radius:12px;background:#D8DBE2;display:inline-block;position:relative;vertical-align:middle;transition:background .2s;flex-shrink:0;cursor:pointer}
.set-sw i{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .2s}
.set-sw.on{background:#FF3B5C}
.set-sw.on i{left:22px}

/* 照片墙(编辑资料/个人主页共用) */
.pf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.pf-ph{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;box-shadow:0 3px 10px rgba(216,27,96,.14);background:#FFF0F5}
.pf-ph img{width:100%;height:100%;object-fit:cover;display:block}
.pf-del{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.pf-add{aspect-ratio:1;border:2px dashed #F5A8C5;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#D81B60;font-size:24px;background:#FFF7FA;cursor:pointer}

/* 首页滑动名片 */
.sw-stage{position:relative;height:400px;margin:12px 14px 6px}
.sw-card{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(216,27,96,.18);touch-action:pan-y;user-select:none;cursor:grab}
.sw-card.back{transform:scale(.94) translateY(12px);opacity:.75}
.sw-cover{position:relative;width:100%;height:100%}
.sw-cover img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.sw-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:90px;font-weight:900;color:#fff;background:linear-gradient(160deg,#FF8FAB,#A855F7)}
.sw-grad{position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(60,5,30,.8));pointer-events:none}
.sw-info{position:absolute;left:0;right:0;bottom:0;padding:16px;color:#fff;pointer-events:none}
.sw-nm{font-size:22px;font-weight:900;text-shadow:0 1px 4px rgba(0,0,0,.4)}
.sw-nm span{font-size:15px;font-weight:600}
.sw-tags{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.sw-bio{margin-top:8px;font-size:12.5px;color:rgba(255,255,255,.92);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sw-acts{display:flex;justify-content:center;gap:30px;padding:4px 0 12px}
.sw-btn{width:58px;height:58px;border-radius:50%;font-size:24px;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform .15s}
.sw-btn:active{transform:scale(.88)}
.sw-btn.no{background:#fff;color:#9AA0B4;box-shadow:0 6px 16px rgba(60,70,100,.18)}
.sw-btn.yes{background:linear-gradient(135deg,#FF7BA9,#FF3B5C);color:#fff;box-shadow:0 8px 20px rgba(255,59,92,.4)}
.sw-empty{margin:14px;padding:34px 16px;text-align:center;color:#C48BA0;background:#fff;border-radius:20px;border:1px dashed #F5A8C5;font-size:14px}
.sw-empty span{display:block;font-size:34px;margin-bottom:8px}

/* 心动速配·小名片版 */
.sw-stage{height:330px}
.sw-band{height:74px;background:linear-gradient(135deg,#FF8FAB,#FF5C8A 60%,#A855F7)}
.sw-bd{padding:0 18px 16px;text-align:center;pointer-events:none}
.sw-av{width:104px;height:104px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 6px 18px rgba(216,27,96,.22);margin-top:-52px;background:#fff}
.sw-avph{display:inline-flex;align-items:center;justify-content:center;font-size:42px;font-weight:900;color:#fff;background:linear-gradient(160deg,#FF8FAB,#A855F7)}
.sw-nm2{margin-top:8px;font-size:19px;font-weight:800;color:#43303A}
.sw-nm2 span{font-size:14px;font-weight:600;color:#8a6270}
.sw-tags2{display:flex;gap:6px;justify-content:center;margin-top:8px;flex-wrap:wrap}
.sw-bio2{margin-top:10px;font-size:13px;color:#7A5568;line-height:1.7;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:22px}
.sw-bio2.none{color:#D8A8BC;font-size:12px}

/* 好友聊天·心形飘屏 */
.hb-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:60}
.hb-h{position:absolute;bottom:-30px;opacity:0;animation:hbFloat 1.8s ease-in forwards}
@keyframes hbFloat{0%{opacity:0;transform:translateY(0) scale(.4)}15%{opacity:1}100%{opacity:0;transform:translateY(-72vh) scale(1.25)}}

/* 全APP广播流动动画 */
@keyframes bcMarquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}

/* 聊天标题旁未读数(微信式) */
.up-unread{background:#FF3B5C;color:#fff;font-size:10px;font-weight:700;border-radius:9px;padding:2px 7px;line-height:1.2;flex-shrink:0}
.ht-d{opacity:.85;font-size:10px;margin-left:4px}

/* 位置消息气泡 */
.loc-bub{display:flex;gap:8px;align-items:center;text-decoration:none;min-width:190px}
.loc-ic{font-size:26px}
.loc-t{font-weight:700;font-size:14px}
.loc-c{font-size:11px;opacity:.85;margin-top:2px}
.loc-o{font-size:11px;opacity:.75;margin-top:3px}

.msgwrap{padding:10px 12px}
.notice-card{background:var(--grad);border-radius:18px;padding:14px;color:#fff;display:flex;gap:12px;align-items:center;margin-bottom:12px;box-shadow:0 8px 22px rgba(168,85,247,.22)}
.notice-card .ic2{width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.24);display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}
.mine-head{background:var(--grad);padding:calc(22px + env(safe-area-inset-top,0px)) 18px 26px;color:#fff;position:relative;overflow:hidden}
.mine-head:after{content:"";position:absolute;right:-50px;top:-50px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.13)}
.mine-head .u1{display:flex;align-items:center;gap:14px;position:relative;z-index:2}
.mine-head .nick{font-size:20px;font-weight:900}
.mine-head .idline{font-size:11.5px;opacity:.85;margin-top:4px}
.lvbar{height:6px;border-radius:4px;background:rgba(255,255,255,.28);margin-top:10px;overflow:hidden}
.lvbar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#FFE07A,#FFB300)}
.stats{display:flex;margin-top:16px;position:relative;z-index:2}
.stats div{flex:1;text-align:center}
.stats .n{font-size:17px;font-weight:900}
.stats .l{font-size:11px;opacity:.85;margin-top:2px}
.panel{background:#fff;border-radius:18px;margin:-14px 12px 12px;padding:14px;box-shadow:0 6px 20px rgba(20,21,26,.06);position:relative;z-index:3}
.wallet{display:flex;gap:8px}
.wallet div{flex:1;background:linear-gradient(135deg,#FFF4F8,#F5EEFF);border-radius:12px;padding:8px 10px}
.wallet .sub{font-size:11px}
.wallet .n{font-size:15px;font-weight:900;margin-top:1px}
.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 4px}
.menu-grid .it{text-align:center;font-size:11.5px;font-weight:600;color:#4B5563}
.menu-grid .it .e{font-size:22px;display:block;margin-bottom:5px}
.mlist{background:#fff;border-radius:18px;margin:0 12px 12px;overflow:hidden}
.mlist .mi{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:14.5px;font-weight:600}
.mlist .mi:last-child{border-bottom:0}
.mlist .mi .e{font-size:18px;width:24px;text-align:center}
.mlist .mi .ar{color:#C9CED8;font-size:16px;margin-left:auto}
.stack{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:30;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .26s cubic-bezier(.4,0,.2,1);visibility:hidden}
.stack.open{transform:none;visibility:visible}
.shead{flex:0 0 auto;background:#fff;border-bottom:1px solid var(--line);padding:calc(12px + env(safe-area-inset-top,0px)) 14px 12px;display:flex;align-items:center;gap:12px}
.shead .back{font-size:30px;color:#4B5563;width:40px;height:40px;line-height:40px;text-align:center;flex:0 0 auto}
.shead .st{font-size:16px;font-weight:800;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1a1a1a}
/* 聊天页头部: 两行布局(昵称+加好友 / 亲密度) */
.chat-shead{flex-wrap:nowrap;gap:10px;padding-top:calc(10px + env(safe-area-inset-top,0px))}
.chat-shead .st-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.chat-shead .st-row{display:flex;align-items:center;gap:8px;min-width:0}
.chat-shead .st-row .st{font-size:16px;font-weight:800;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-shead .heart-tag{position:static;margin:0;max-width:none;text-align:left;min-width:0;font-size:10px}
.chat-add-friend{font-size:12px;color:#34C759;font-weight:700;cursor:pointer;border:1px solid #34C759;padding:2px 10px;border-radius:12px;white-space:nowrap;flex-shrink:0;background:#fff}
.chat-shead .up-unread{flex-shrink:0}
.sbody{flex:1;min-height:0;overflow-y:auto;padding-bottom:calc(10px + var(--safe-b));-webkit-overflow-scrolling:touch;touch-action:pan-y}

/* 签到美化 */
.sd-hero{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#FF7B9C 0%,#FF3B5C 55%,#FF5C8A 100%);color:#fff;margin-bottom:12px}
.sd-hero-bg{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 80% 10%,rgba(255,255,255,.35),transparent 50%),radial-gradient(circle at 10% 90%,rgba(255,200,220,.4),transparent 45%)}
.sd-hero-in{position:relative;z-index:2;padding:22px 18px;text-align:center}
.sd-sub{font-size:13px;opacity:.92}
.sd-streak{display:flex;align-items:baseline;justify-content:center;gap:4px;margin:6px 0 2px}
.sd-streak .sd-num{font-size:46px;font-weight:900;line-height:1;text-shadow:0 2px 8px rgba(0,0,0,.18)}
.sd-streak .sd-unit{font-size:16px;opacity:.95}
.sd-total{font-size:12px;opacity:.9}
.sd-btn{margin-top:16px;padding:11px 30px;border-radius:30px;border:none;background:#fff;color:#FF3B5C;font-size:15px;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.18);cursor:pointer}
.sd-btn.sd-btn-done{background:rgba(255,255,255,.25);color:#fff;box-shadow:none}
.sd-week-box{margin-top:0}
.sd-week-title{font-weight:800;font-size:14px;margin-bottom:14px}
.sd-week-title span{font-weight:400;font-size:11px;color:#999}
.sd-week{display:flex;gap:6px;justify-content:space-between}
.sd-day{flex:1;text-align:center}
.sd-day .sd-ico{width:34px;height:34px;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;background:#f3f4f7;color:#9aa0ac;transition:all .2s}
.sd-day.sd-done .sd-ico{background:linear-gradient(135deg,#FF7B9C,#FF3B5C);color:#fff}
.sd-day.sd-today .sd-ico{background:#fff;border:2px dashed #FF3B5C;color:#FF3B5C;animation:sdPulse 1.4s ease-in-out infinite}
.sd-day.sd-done-today .sd-ico{background:linear-gradient(135deg,#FF7B9C,#FF3B5C);color:#fff;box-shadow:0 0 0 3px rgba(255,59,92,.25)}
.sd-day .sd-reward{font-size:11px;color:#888;margin-top:5px;font-weight:700}
.sd-day.sd-done .sd-reward{color:#FF3B5C}
.sd-day .sd-heart{font-size:10px;color:#FF5C8A;margin-top:1px;font-weight:700}
.sd-day .sd-vip{font-size:9px;color:#fff;background:linear-gradient(135deg,#F59E0B,#D97706);border-radius:6px;padding:1px 3px;margin-top:2px;font-weight:700}
.sd-tip{font-size:11px;color:rgba(255,255,255,.85);margin-top:8px}
.sd-balance{display:flex;gap:12px;justify-content:center;margin-top:10px;font-size:12px;color:#fff}
.sd-balance b{color:#FFE066;font-size:15px;margin:0 2px}
.sd-expire{font-size:11px;color:rgba(255,255,255,.9);margin-top:6px;background:rgba(0,0,0,.15);padding:4px 10px;border-radius:10px;display:inline-block}
.heart-bub{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle,#FFE4EF,#FF8FAB);font-size:30px;box-shadow:0 2px 10px rgba(255,92,138,.4);animation:heartBeat 1.2s ease-in-out infinite}
@keyframes heartBeat{0%,100%{transform:scale(1)}25%{transform:scale(1.1)}50%{transform:scale(.95)}75%{transform:scale(1.05)}}
.sd-month{display:grid;grid-template-columns:repeat(7,1fr);gap:8px 6px}
.sd-month .sd-day{flex:none}
.sd-month .sd-day .sd-ico{width:30px;height:30px;font-size:12px}
@keyframes sdPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}

/* 消息页: 快捷入口 */
.msg-quick{display:flex;gap:8px;padding:10px 12px;background:#fff}
.msg-search-box{background:#f3f4f6;border-radius:18px;padding:0 14px}
.msg-search-box input{width:100%;border:none;outline:none;background:transparent;font-size:14px;padding:8px 0;color:#333}
.mq-btn{flex:1;display:flex;align-items:center;justify-content:center;padding:12px 0;border-radius:14px;background:linear-gradient(135deg,#FFF1F5,#FFE4EF);cursor:pointer;transition:transform .15s;font-size:14px;color:#FF3B5C;font-weight:700}
.mq-btn:active{transform:scale(.95)}
/* 消息分类标签 */
.msg-cats{display:flex;gap:0;background:#fff;border-top:1px solid #f3f4f6;padding:0 8px;position:sticky;top:0;z-index:5}
.mc{flex:1;text-align:center;padding:10px 0;font-size:14px;color:#888;font-weight:600;cursor:pointer;position:relative}
.mc.on{color:#FF3B5C}
.mc.on::after{content:'';position:absolute;bottom:4px;left:50%;transform:translateX(-50%);width:20px;height:3px;border-radius:2px;background:#FF3B5C}
/* 关系标签 */
.rel-tag{display:inline-block;font-size:10px;padding:1px 6px;border-radius:8px;margin-left:6px;font-weight:600;vertical-align:middle}
.rel-tag.friend{background:#E0F2FE;color:#0284C7}
.rel-tag.stranger{background:#FEF3C7;color:#D97706}
.mute-ic{font-size:14px;margin-right:4px}
/* 官方消息列表 */
.st-r{position:absolute;right:14px;top:50%;transform:translateY(-50%)}
.notice-item{display:flex;gap:10px;padding:12px;background:#fff;border-radius:12px;margin-bottom:8px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.notice-item.read{opacity:.6}
.notice-ic{font-size:24px;width:40px;height:40px;border-radius:50%;background:#FFF1F5;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.notice-body{flex:1;min-width:0}
.notice-txt{font-size:14px;color:#333;line-height:1.5;word-break:break-all}
.notice-tm{font-size:11px;color:#aaa;margin-top:4px}
/* 长按聊天菜单 */
.chat-menu-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:9999;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .2s}
.chat-menu-mask.on{opacity:1}
.chat-menu{width:100%;max-width:420px;background:#f3f4f6;padding:8px 12px 14px;border-radius:16px 16px 0 0;transform:translateY(100%);transition:transform .2s}
.chat-menu-mask.on .chat-menu{transform:translateY(0)}
.cm-item{background:#fff;padding:14px;text-align:center;font-size:15px;border-radius:12px;margin-top:8px;cursor:pointer;font-weight:600}
.cm-cancel{color:#999}


/* 访客操作按钮 */
.v-act{display:flex;gap:8px;margin-top:6px}
.v-act button{padding:4px 12px;border-radius:14px;border:none;font-size:12px;font-weight:700;cursor:pointer}
.v-add{background:linear-gradient(135deg,#7c4dff,#a78bfa);color:#fff}
.v-greet{background:linear-gradient(135deg,#FF7B9C,#FF3B5C);color:#fff}

/* 公告横幅 */
.announce{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#FFF8E1,#FFF3CD);border:1px solid #FFE082;border-radius:14px;padding:10px 14px;margin-bottom:10px;overflow:hidden}
.announce .ann-ic{font-size:18px;flex-shrink:0}
.announce .ann-txt{font-size:12.5px;color:#8A6D00;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}

/* 官方消息 */
.moment.official{background:linear-gradient(135deg,#FFFBEB,#FEF3C7);border:1.5px solid #FCD34D;box-shadow:0 4px 16px rgba(245,158,11,.18)}
.moment.official .m-txt{font-family:"STKaiti","KaiTi","楷体",serif;font-weight:600;color:#92400E}
.moment.pinned{border-left:4px solid #F59E0B}
.off-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:6px;font-size:10px;font-weight:800;background:linear-gradient(135deg,#F59E0B,#D97706);color:#fff;vertical-align:1px}
.pin-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:6px;font-size:10px;font-weight:800;background:#FFF7ED;color:#EA580C;border:1px solid #FED7AA;vertical-align:1px}
.m-act[data-fav].on{color:#F59E0B}

/* 娱乐房间 */
.playtabs{display:flex;gap:4px;margin-top:12px;overflow-x:auto;padding:0 12px 8px;scrollbar-width:none}
.playtabs::-webkit-scrollbar{display:none}
.playtabs>div{flex:0 0 auto;padding:7px 16px;border-radius:20px;font-size:13px;font-weight:700;color:#9AA0AE;background:#fff;white-space:nowrap;cursor:pointer}
.playtabs>div.on{background:linear-gradient(135deg,#FF5C8A,#A855F7);color:#fff;box-shadow:0 4px 12px rgba(168,85,247,.3)}
.roomlist{padding:10px 12px}
.room{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:12px;margin-bottom:10px;box-shadow:0 3px 12px rgba(20,21,26,.05)}
.room .rc{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#FF8FAB,#A855F7);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;color:#fff}
.room .ri{flex:1;min-width:0}
.room .rt{font-size:14.5px;font-weight:800;color:#1A1D26;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room .rs{font-size:11.5px;color:#9AA0AC;margin-top:3px}
.room .rbtn{padding:8px 16px;border:none;border-radius:18px;background:linear-gradient(135deg,#FF7B9C,#FF3B5C);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;flex-shrink:0}
.room .rbtn:disabled{background:#D8DBE2}
.room-need{display:inline-block;font-size:10px;padding:1px 6px;border-radius:6px;margin-left:4px;vertical-align:1px}
.room-need.gift{background:#FEF3C7;color:#B45309}
.room-need.pwd{background:#E0E7FF;color:#4338CA}
.create-room-bar{position:sticky;top:0;background:var(--bg);padding:8px 12px;z-index:2}
.create-room-bar button{width:100%;padding:11px;border:none;border-radius:14px;background:linear-gradient(135deg,#FF5C8A,#A855F7);color:#fff;font-size:14px;font-weight:800;box-shadow:0 6px 16px rgba(168,85,247,.3);cursor:pointer}
.room-info-box{background:#fff;border-radius:18px;padding:20px;text-align:center;margin:12px}
.room-info-box .host-av{display:inline-flex;margin-bottom:10px}
.room-info-box .host-nm{font-size:17px;font-weight:800}
.room-info-box .room-meta{color:#888;font-size:12px;margin-top:6px}
.voice-status{margin:24px 0;font-size:15px;color:#43303A;font-weight:600}
.voice-pulse{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#FF7B9C,#FF3B5C);margin:0 auto 14px;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;box-shadow:0 0 0 0 rgba(255,59,92,.5);animation:vpulse 1.8s ease-out infinite}
@keyframes vpulse{0%{box-shadow:0 0 0 0 rgba(255,59,92,.5)}70%{box-shadow:0 0 0 24px rgba(255,59,92,0)}100%{box-shadow:0 0 0 0 rgba(255,59,92,0)}}

/* ============ 他趣风格: 交友首页 ============ */
.tq-tabs{display:flex;background:#fff;border-radius:14px;margin:10px 12px;padding:4px;gap:4px;box-shadow:0 2px 10px rgba(255,92,138,.08)}
.tq-tabs>div{flex:1;text-align:center;padding:9px 0;border-radius:10px;font-size:14px;font-weight:700;color:#8A8F9C;transition:.2s;cursor:pointer}
.tq-tabs>div.on{background:linear-gradient(135deg,#FF5C8A,#A855F7);color:#fff;box-shadow:0 4px 12px rgba(168,85,247,.3)}
.tq-banners{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px;margin-bottom:12px}
.tq-ban{border-radius:16px;padding:14px 12px;color:#fff;position:relative;overflow:hidden;cursor:pointer;min-height:84px;display:flex;flex-direction:column;justify-content:space-between}
.tq-ban .tq-ban-t{font-size:14px;font-weight:800;z-index:2;position:relative}
.tq-ban .tq-ban-s{font-size:11px;opacity:.92;z-index:2;position:relative;margin-top:2px}
.tq-ban .tq-ban-ic{position:absolute;right:8px;bottom:6px;font-size:26px;opacity:.5;z-index:1}
.tq-ban.b1{background:linear-gradient(135deg,#FF7B9C,#FF3B5C)}
.tq-ban.b2{background:linear-gradient(135deg,#A855F7,#7C3AED)}
.tq-ban.b3{background:linear-gradient(135deg,#FB923C,#F97316)}
.tq-ban.b4{background:linear-gradient(135deg,#60A5FA,#3B82F6)}
.tq-match-card{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#FFF0F5,#F5EEFF);border-radius:18px;margin:0 12px 12px;padding:12px 14px;border:1px solid #FFE0EC;position:relative;overflow:hidden}
.tq-match-card:after{content:"";position:absolute;right:-20px;top:-20px;width:80px;height:80px;border-radius:50%;background:rgba(255,92,138,.12)}
.tq-mc-av{flex-shrink:0;z-index:2}
.tq-mc-info{flex:1;min-width:0;z-index:2}
.tq-mc-t{font-size:14px;font-weight:800;color:#1A1D26}
.tq-mc-s{font-size:11.5px;color:#8A8F9C;margin-top:2px}
.tq-mc-btn{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;border:none;border-radius:16px;padding:8px 16px;font-size:12.5px;font-weight:700;flex-shrink:0;z-index:2;box-shadow:0 4px 10px rgba(255,59,92,.3)}
.tq-userlist{padding:0 12px 16px}
.tq-ucard{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:12px;margin-bottom:10px;box-shadow:0 2px 10px rgba(20,21,26,.05);position:relative;cursor:pointer;transition:.15s}
.tq-ucard:active{transform:scale(.98)}
.tq-uc-av{position:relative;flex-shrink:0}
.tq-verify{position:absolute;right:-2px;bottom:-2px;background:#3B82F6;color:#fff;width:16px;height:16px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;font-weight:900}
.tq-uc-info{flex:1;min-width:0}
.tq-uc-name{font-size:14.5px;font-weight:800;color:#1A1D26;display:flex;align-items:center;gap:6px}
.tq-rm{display:inline-block;font-size:10px;padding:1px 6px;border-radius:5px;background:#E0E7FF;color:#4338CA;font-weight:700;flex-shrink:0}
.tq-uc-meta{font-size:12px;color:#8A8F9C;margin-top:2px}
.tq-uc-bio{font-size:12px;color:#6B7280;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tq-dacha{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;border:none;border-radius:16px;padding:7px 14px;font-size:12.5px;font-weight:700;flex-shrink:0;box-shadow:0 4px 10px rgba(255,59,92,.28)}
.tq-dacha.sm{padding:5px 12px;font-size:11.5px}

/* ============ 朋友圈动态流 ============ */
.tq-feed{padding:8px 12px 20px}
.tq-feed-item{background:#fff;border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 2px 10px rgba(20,21,26,.05)}
.tq-feed-hd{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.tq-feed-av{flex-shrink:0;cursor:pointer}
.tq-feed-name{flex:1;font-size:14.5px;font-weight:800;color:#1A1D26;display:flex;align-items:center;gap:6px}
.tq-feed-txt{font-size:14px;color:#1A1D26;line-height:1.55;margin-bottom:10px;word-break:break-word}
.tq-feed-img{border-radius:12px;overflow:hidden;background:#F1F3F8}
.tq-feed-img img{width:100%;height:100%;object-fit:cover;display:block}
.tq-feed-img.one{width:60%;max-height:260px}
.tq-feed-imgs{display:grid;gap:6px;margin-bottom:10px}
.tq-feed-imgs.two{grid-template-columns:1fr 1fr}
.tq-feed-imgs.two .tq-feed-img{aspect-ratio:1/1}
.tq-feed-imgs.three{grid-template-columns:repeat(3,1fr)}
.tq-feed-imgs.three .tq-feed-img{aspect-ratio:1/1;position:relative}
.tq-more{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;border-radius:12px}
.tq-feed-ft{display:flex;align-items:center;gap:16px;font-size:12.5px;color:#8A8F9C}
.tq-feed-dist{flex:1}
.tq-feed-act{cursor:pointer;user-select:none}
.tq-feed-act:active{opacity:.6}

/* ============ 最佳匹配弹窗 ============ */
.tq-match-pop{background:linear-gradient(160deg,#FFE4EC 0%,#F3E8FF 60%,#E0E7FF 100%);border-radius:28px;padding:36px 30px 30px;max-width:300px;width:100%;text-align:center;position:relative;box-shadow:0 20px 50px rgba(168,85,247,.3);animation:tqPop .3s cubic-bezier(.34,1.56,.64,1)}
@keyframes tqPop{0%{transform:scale(.7);opacity:0}100%{transform:scale(1);opacity:1}}
.tq-mp-title{font-size:18px;font-weight:900;background:linear-gradient(135deg,#FF3B5C,#A855F7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:22px}
.tq-mp-avbox{position:relative;width:110px;height:110px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center}
.tq-mp-avbox .av{width:96px!important;height:96px!important;font-size:34px!important;border:4px solid #fff;box-shadow:0 8px 24px rgba(255,59,92,.35)}
.tq-mp-hearts{position:absolute;font-size:26px;animation:tqHeart 1.2s ease-in-out infinite}
.tq-mp-hearts.r{right:-6px;animation-delay:.4s}
.tq-mp-hearts:not(.r){left:-6px;animation-delay:.2s}
@keyframes tqHeart{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.15)}}
.tq-mp-name{font-size:20px;font-weight:900;color:#1A1D26;margin-bottom:4px}
.tq-mp-dist{font-size:13px;color:#8A8F9C;margin-bottom:18px}
.tq-mp-rate{display:inline-block;padding:9px 24px;border-radius:20px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(255,59,92,.35)}
.tq-mp-close{position:absolute;top:14px;right:16px;font-size:18px;color:#B0B6C2;cursor:pointer;width:28px;height:28px;display:flex;align-items:center;justify-content:center}

/* ============ 最佳匹配详情弹窗 ============ */
.tq-md-pop{background:#fff;border-radius:24px;padding:20px;max-width:340px;width:100%;max-height:88vh;overflow-y:auto;box-shadow:0 20px 50px rgba(0,0,0,.3);animation:tqPop .3s cubic-bezier(.34,1.56,.64,1)}
.tq-md-hd{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tq-md-av{flex-shrink:0}
.tq-md-info{flex:1;min-width:0}
.tq-md-name{font-size:17px;font-weight:800;color:#1A1D26;display:flex;align-items:center;gap:6px}
.tq-verify2{background:#3B82F6;color:#fff;width:16px;height:16px;border-radius:50%;font-size:10px;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
.tq-md-meta{font-size:12px;color:#8A8F9C;margin-top:3px;display:flex;align-items:center;gap:4px}
.tq-online{width:7px;height:7px;border-radius:50%;background:#22C55E;display:inline-block;box-shadow:0 0 0 2px rgba(34,197,94,.25)}
.tq-md-rate{flex-shrink:0;text-align:center;background:linear-gradient(135deg,#FFF0F5,#F5EEFF);border-radius:14px;padding:8px 14px;font-size:11px;color:#8A8F9C}
.tq-md-rate b{display:block;font-size:20px;font-weight:900;background:linear-gradient(135deg,#FF3B5C,#A855F7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;line-height:1.1;margin-top:2px}
.tq-md-common{background:linear-gradient(135deg,#FFF7ED,#FEF3C7);border-radius:12px;padding:10px 14px;font-size:12.5px;color:#92400E;margin-bottom:14px}
.tq-md-common span{font-weight:700;color:#B45309}
.tq-md-sec{font-size:13px;font-weight:800;color:#1A1D26;margin-bottom:6px}
.tq-md-intro{font-size:13px;color:#4B5563;line-height:1.6;margin-bottom:12px}
.tq-md-photo{border-radius:14px;overflow:hidden;margin-bottom:14px}
.tq-md-photo img{width:100%;display:block;max-height:240px;object-fit:cover}
.tq-md-hello{width:100%;padding:13px;border:none;border-radius:24px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:15px;font-weight:800;box-shadow:0 8px 20px rgba(255,59,92,.32);margin-bottom:10px;cursor:pointer}
.tq-md-nope{text-align:center;font-size:13px;color:#8A8F9C;padding:6px;cursor:pointer}

/* ============ 个人主页 ============ */
.tq-profile{background:#f5f5f7;-webkit-overflow-scrolling:touch}
.tq-pf-cover{height:220px;position:relative;background-size:cover;background-position:center}
.tq-pf-covermask{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 40%,rgba(245,245,247,1) 100%);pointer-events:none}
.tq-pf-photos{display:flex;gap:6px;padding:0 12px;margin-top:-50px;position:relative;z-index:3;overflow-x:auto;padding-bottom:4px;touch-action:pan-y}
.tq-pf-photos::-webkit-scrollbar{display:none}
.tq-pf-ph{flex-shrink:0;width:84px;height:84px;border-radius:14px;overflow:hidden;background:#fff;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.tq-pf-ph img{width:100%;height:100%;object-fit:cover;display:block}
.tq-pf-card{background:#fff;border-radius:18px;margin:10px 12px;padding:14px;box-shadow:0 2px 10px rgba(20,21,26,.05);color:#1A1D26}
.tq-pf-name{font-size:19px;font-weight:900;color:#1A1D26;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tq-pf-badges{font-size:11px;padding:2px 8px;border-radius:10px;background:linear-gradient(135deg,#FEF3C7,#FDE68A);color:#B45309;font-weight:700}
.tq-pf-sub{font-size:12.5px;color:#6B7280;margin-top:5px;display:flex;align-items:center;gap:4px}
.tq-pf-sectit{font-size:15px;font-weight:800;color:#1A1D26;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}
.tq-pf-sectit .tq-q{display:inline-flex;width:16px;height:16px;border-radius:50%;background:#F1F3F8;color:#8A8F9C;font-size:11px;align-items:center;justify-content:center;margin-right:auto;margin-left:6px;font-weight:700}
.tq-pf-sectit .tq-id{font-size:11px;color:#B0B6C2;font-weight:400;margin-left:auto}
.tq-pf-sectit .tq-more{font-size:18px;color:#B0B6C2;font-weight:400;position:static;background:none;top:auto;right:auto;bottom:auto;left:auto;display:inline}
.tq-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.tq-tag{padding:6px 14px;border-radius:14px;font-size:13px;font-weight:700;color:#1A1D26}
.tq-because{background:#FAFAFB;border-radius:12px;padding:10px 12px;font-size:12px;color:#6B7280;line-height:1.8;margin-bottom:8px}
.tq-ai-tip{font-size:11px;color:#B0B6C2;text-align:center}
.tq-empty-tip{font-size:12.5px;color:#B0B6C2;text-align:center;padding:6px 0}
.tq-voice{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#FFF0F5,#F5EEFF);border-radius:14px;padding:12px}
.tq-voice-play{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;box-shadow:0 4px 10px rgba(255,59,92,.3)}
.tq-voice-wave{flex:1;font-size:14px;color:#FF5C8A;letter-spacing:1px;overflow:hidden}
.tq-voice-like{font-size:12px;color:#FF5C8A;font-weight:700;flex-shrink:0}
.tq-pf-intro{font-size:13.5px;color:#1A1D26;line-height:1.65}
.tq-info-tags{display:flex;flex-wrap:wrap;gap:8px}
.tq-it{padding:6px 12px;border-radius:12px;background:#F1F3F8;font-size:12.5px;color:#4B5563;font-weight:600}
.tq-verify-row{display:flex;gap:10px;flex-wrap:wrap}
.tq-vb{display:flex;align-items:center;gap:5px;padding:8px 12px;border-radius:12px;background:#F0FDF4;font-size:12.5px;color:#15803D;font-weight:700;flex:1;min-width:90px;justify-content:center}
.tq-vic{font-size:14px}
.tq-posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.tq-post-sq{aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#F1F3F8}
.tq-post-sq img{width:100%;height:100%;object-fit:cover;display:block}
.tq-mytags{display:flex;flex-wrap:wrap;gap:8px}
.tq-mt{padding:7px 14px;border-radius:16px;background:#FFF0F5;color:#FF3B5C;font-size:13px;font-weight:600}
.tq-medal{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:14px;background:linear-gradient(135deg,#FEF3C7,#FDE68A);font-size:14px;font-weight:800;color:#B45309}
.tq-medal-ic{font-size:20px}
.tq-pf-bottom{flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:10px 14px calc(10px + var(--safe-b));display:flex;align-items:center;gap:10px;z-index:35}
.tq-pf-star{width:44px;height:44px;border-radius:14px;background:#F1F3F8;color:#8A8F9C;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tq-pf-star.on{background:#FEF3C7;color:#F59E0B}
.tq-pf-dacha{flex:1;height:44px;border:none;border-radius:22px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:15px;font-weight:800;box-shadow:0 6px 16px rgba(255,59,92,.3)}
.tq-pf-msg{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#A855F7,#7C3AED);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 6px 16px rgba(168,85,247,.3)}
.tq-pf-more{font-size:22px;color:#4B5563;width:36px;height:36px;display:flex;align-items:center;justify-content:center}
.tq-pf-chatbtn{display:block;width:100%;margin-top:14px;padding:13px;border:none;border-radius:24px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:15px;font-weight:800;box-shadow:0 8px 20px rgba(255,59,92,.32);cursor:pointer}
.tq-pf-chatbtn:active{transform:scale(.97)}

/* ============ 聊天页 ============ */
.tq-chat-info{background:#fff;border-radius:0 0 18px 18px;padding:10px 12px 12px;margin-bottom:8px;box-shadow:0 2px 8px rgba(20,21,26,.04)}
.tq-ci-notify{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#FFF7ED,#FEF3C7);border-radius:10px;padding:8px 10px;font-size:12px;color:#92400E;margin-bottom:10px}
.tq-ci-notify span:first-child{flex:1}
.tq-ci-open{color:#FF3B5C;font-weight:700;cursor:pointer;flex-shrink:0}
.tq-ci-x{color:#B0B6C2;cursor:pointer;font-size:14px;flex-shrink:0}
.tq-ci-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.tq-ci-tag{padding:4px 10px;border-radius:10px;background:#F1F3F8;font-size:12px;color:#4B5563;font-weight:600}
.tq-ci-rm{padding:4px 10px;border-radius:10px;background:#E0E7FF;color:#4338CA;font-size:12px;font-weight:700}
.tq-ci-common{font-size:12px;color:#B45309;background:#FFFBEB;border-radius:10px;padding:7px 10px;margin-bottom:10px}
.tq-ci-common span{font-weight:700}
.tq-ci-photos{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}
.tq-ci-photos::-webkit-scrollbar{display:none}
.tq-ci-photos img{width:72px;height:72px;border-radius:10px;object-fit:cover;flex-shrink:0}
.tq-chat-input{flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:9px 10px calc(9px + var(--safe-b));display:flex;gap:6px;align-items:center}
.tq-ci-btn{width:36px;height:36px;border-radius:10px;background:#F1F3F8;color:#4B5563;font-size:17px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0}
.tq-ci-send{height:36px;padding:0 16px;border-radius:18px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:14px;font-weight:800;flex-shrink:0;box-shadow:0 4px 10px rgba(255,59,92,.25)}
.tq-chat-input input{flex:1;min-width:0;border:1px solid var(--line);background:#F8F9FC;border-radius:18px;padding:9px 14px;font-size:14px;width:auto}
.tq-ai-btn{height:36px;padding:0 12px;border-radius:18px;background:linear-gradient(135deg,#A855F7,#7C3AED);color:#fff;font-size:13px;font-weight:800;flex-shrink:0}

/* 更多功能面板 */
.tq-more-panel{display:none;flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:18px 12px;animation:slideUp .2s ease}
.tq-more-panel.on{display:block}
.tq-more-grid{display:flex;gap:20px;padding:0 8px}
.tq-more-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer}
.tq-mi-ic{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#FFF0F5,#F5EEFF);display:flex;align-items:center;justify-content:center;font-size:26px;box-shadow:0 4px 12px rgba(255,92,138,.15)}
.tq-more-item span{font-size:12px;color:#4B5563;font-weight:600}

/* 录音栏 */
.tq-rec-bar{flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:12px 14px calc(12px + var(--safe-b));display:flex;align-items:center;gap:12px}
.tq-rec-dot{width:10px;height:10px;border-radius:50%;background:#FF3B5C;animation:recBlink 1s infinite}
@keyframes recBlink{0%,100%{opacity:1}50%{opacity:.3}}
#tqRecTime{font-size:15px;font-weight:700;color:#1A1D26;flex:1}
.tq-rec-cancel{padding:8px 18px;border-radius:18px;background:#F1F3F8;color:#6B7280;font-size:13px;font-weight:700;border:none}
.tq-rec-send{padding:8px 18px;border-radius:18px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:13px;font-weight:700;border:none;box-shadow:0 4px 10px rgba(255,59,92,.3)}

/* 图片消息气泡 */
.cbub.img-bub{padding:4px;background:transparent;border-radius:16px;max-width:220px}
.cbub.img-bub img{max-width:200px;max-height:260px;border-radius:12px;display:block;cursor:pointer}

/* 语音消息气泡 */
.cbub.voice-bub{display:flex;align-items:center;gap:10px;padding:10px 16px;min-width:110px;cursor:pointer}
.voice-bub .vplay{font-size:16px;flex-shrink:0}
.voice-bub .vbar{flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.4);min-width:50px;overflow:hidden}
.voice-bub .vbar-i{display:block;height:100%;width:0;background:#fff;border-radius:2px}
.voice-bub .vdur{font-size:12px;font-weight:600;flex-shrink:0}
.cbub.voice-bub.other .vbar{background:rgba(0,0,0,.1)}
.cbub.voice-bub.other .vbar-i{background:#FF5C8A}

/* 找搭子卡片 */
.dazi-list{padding:8px 12px}
.dazi-card{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:14px;margin-bottom:10px;box-shadow:0 2px 10px rgba(0,0,0,.04);position:relative}
.dazi-av{position:relative;flex-shrink:0}
.dazi-online{position:absolute;bottom:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#22c55e;border:2px solid #fff}
.dazi-info{flex:1;min-width:0}
.dazi-name{font-size:15px;font-weight:800;color:#1A1D26;margin-bottom:2px}
.dazi-meta{font-size:12px;color:#9CA3AF;margin-bottom:6px}
.dazi-tag{display:inline-flex;align-items:center;gap:4px;background:linear-gradient(135deg,#FFF0F5,#F5EEFF);padding:3px 10px;border-radius:12px;margin-bottom:4px}
.dazi-tag-ic{font-size:13px}
.dazi-tag-name{font-size:12px;font-weight:700;color:#FF5C8A}
.dazi-desc{font-size:12px;color:#6B7280}
.dazi-btn{flex-shrink:0;padding:8px 18px;border:none;border-radius:20px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:13px;font-weight:700;box-shadow:0 4px 10px rgba(255,59,92,.25)}
.dazi-btn:active{transform:scale(.95)}

/* 聊天框装饰 */
.cbub.cf-pink.me,.cf-preview.cf-pink{background:linear-gradient(135deg,#ff9ec4,#ff6fa8);box-shadow:0 2px 12px rgba(255,111,168,.35)}
.cbub.cf-pink.other{background:linear-gradient(135deg,#ffe3f0,#ffd0e4);color:#333}
.cbub.cf-ocean.me,.cf-preview.cf-ocean{background:linear-gradient(135deg,#5bb8ff,#3b82f6);box-shadow:0 2px 12px rgba(59,130,246,.35)}
.cbub.cf-ocean.other{background:linear-gradient(135deg,#d9f0ff,#c9e6ff);color:#333}
.cbub.cf-gold.me,.cf-preview.cf-gold{background:linear-gradient(135deg,#f5c842,#d4a017);color:#3d2b00;box-shadow:0 2px 14px rgba(212,160,23,.4)}
.cbub.cf-gold.other{background:linear-gradient(135deg,#fff4d6,#ffe9a8);color:#3d2b00}
.cbub.cf-rainbow.me,.cf-preview.cf-rainbow{background:linear-gradient(135deg,#ff6b6b,#feca57,#48dbfb,#ff9ff3);color:#fff;box-shadow:0 2px 14px rgba(255,107,107,.35)}
.cbub.cf-rainbow.other{background:linear-gradient(135deg,#ffe0e0,#fff5d6,#e0f7ff,#ffe0fb);color:#333}
.cbub.cf-starry.me,.cf-preview.cf-starry{background:linear-gradient(135deg,#2b2350,#5a3a8a);color:#fff;box-shadow:0 2px 14px rgba(90,58,138,.4)}
.cbub.cf-starry.other{background:linear-gradient(135deg,#eae4ff,#dcd0ff);color:#333}
.cbub.cf-mint.me,.cf-preview.cf-mint{background:linear-gradient(135deg,#6ee7b7,#34d399);color:#064e3b;box-shadow:0 2px 12px rgba(52,211,153,.35)}
.cbub.cf-mint.other{background:linear-gradient(135deg,#e3f7e8,#cdebd6);color:#333}
.cbub.cf-candy.me,.cf-preview.cf-candy{background:linear-gradient(135deg,#ff9a9e,#fecfef);color:#7a2d4a;box-shadow:0 2px 12px rgba(255,154,158,.35)}
.cbub.cf-candy.other{background:linear-gradient(135deg,#fff0f3,#ffe4ec);color:#333}
.cf-preview.cf-starry{color:#fff}
.cf-preview.cf-gold{color:#3d2b00}

/* ===== 群聊列表 ===== */
.g-row{display:flex;align-items:center;padding:12px;background:#fff;border-radius:12px;margin-bottom:8px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.g-row:active{background:#f5f5f7}
.g-av{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#FF8FAB,#A855F7);display:flex;align-items:center;justify-content:center;font-size:22px;margin-right:12px;flex-shrink:0}
.g-info{flex:1;min-width:0}
.g-name{font-size:15px;font-weight:700;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g-meta{font-size:12px;color:#9ca3af;margin-top:2px}
.g-arrow{color:#d1d5db;font-size:22px;margin-left:8px}
.g-create-btn{display:block;width:100%;margin-top:12px;padding:12px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF5C8A,#A855F7);color:#fff;font-size:14px;font-weight:700;box-shadow:0 4px 12px rgba(168,85,247,.3)}
.g-create-btn:active{transform:scale(.97)}

/* ===== 群聊页 ===== */
.g-sender-name{font-size:11px;color:#9ca3af;margin-bottom:2px;margin-left:4px}
.g-member-btn{font-size:12px;color:#6b7280;padding:4px 10px;background:#f3f4f6;border-radius:12px;margin-right:12px;cursor:pointer}
.g-members-panel{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;z-index:100;display:flex;flex-direction:column}
.g-members-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font-size:16px;font-weight:700;border-bottom:1px solid #f3f4f6}
.g-members-x{color:#9ca3af;font-size:18px;cursor:pointer}
.g-members-list{flex:1;overflow-y:auto;padding:8px}
.g-members-list .m-row{display:flex;align-items:center;padding:10px 12px;border-radius:10px}
.g-members-list .m-row:active{background:#f5f5f7}
.g-members-list .m-row span{margin-left:12px;font-size:14px;color:#374151}

/* ===== 真人匹配滑动 ===== */
.sw-head{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:360px;margin-bottom:16px;color:#fff}
.sw-back{font-size:16px;cursor:pointer;padding:6px 10px}
.sw-title{font-size:18px;font-weight:800}
.sw-count{font-size:13px;color:#ffd1e0;background:rgba(255,255,255,.15);padding:4px 10px;border-radius:12px}
.sw-stage{width:100%;max-width:340px;height:420px;display:flex;align-items:center;justify-content:center;position:relative}
.sw-card{width:100%;height:100%;background:linear-gradient(160deg,#fff,#ffeef5);border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 40px rgba(0,0,0,.4);text-align:center;user-select:none;touch-action:none}
.sw-av{margin-bottom:16px}
.sw-name{font-size:22px;font-weight:900;color:#1f2937;margin-bottom:6px}
.sw-meta{font-size:13px;color:#6b7280;margin-bottom:12px}
.sw-intro{font-size:13px;color:#4b5563;line-height:1.6;margin-bottom:14px;max-height:60px;overflow:hidden}
.sw-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.sw-tag{font-size:11px;padding:4px 10px;background:rgba(255,92,138,.12);color:#d6336c;border-radius:10px}
.sw-actions{display:flex;gap:24px;margin-top:24px;width:100%;max-width:340px;justify-content:center}
.sw-btn{flex:1;max-width:140px;padding:14px 0;border:none;border-radius:30px;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap;text-align:center}
.sw-btn.nope{background:#fff;color:#ef4444;box-shadow:0 4px 14px rgba(239,68,68,.3);border:2px solid #ef4444}
.sw-btn.like{background:linear-gradient(135deg,#ff5c8a,#ff3b5c);color:#fff;box-shadow:0 4px 14px rgba(255,59,92,.4)}
/* 消息页特殊行(家族/地区) */
.special-row{position:relative}
.special-row .goto-btn{flex:0 0 auto;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:700;background:linear-gradient(135deg,#FF5C8A,#A855F7);color:#fff;box-shadow:0 2px 8px rgba(168,85,247,.3)}
/* 免费聊天卡弹窗 */
.fc-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.72);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.fc-box{width:100%;max-width:360px;background:linear-gradient(160deg,#FFE4EC,#FFD1DC 60%,#E0C3FC);border-radius:24px;padding:24px 20px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.fc-close{position:absolute;top:12px;right:14px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.6);border:none;font-size:18px;color:#888;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fc-title{text-align:center;font-size:22px;font-weight:900;color:#d6336c;margin-bottom:4px;text-shadow:0 2px 8px rgba(255,255,255,.6)}
.fc-sub{text-align:center;font-size:13px;color:#a855f7;margin-bottom:18px}
.fc-count{text-align:center;font-size:36px;font-weight:900;color:#ff3b5c;margin-bottom:4px}
.fc-count small{font-size:14px;color:#888;font-weight:500}
.fc-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
.fc-card{background:#fff;border-radius:16px;overflow:hidden;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.12);transition:transform .2s}
.fc-card:active{transform:scale(.95)}
.fc-card .fc-av{width:100%;aspect-ratio:1;background:linear-gradient(135deg,#FFE4EC,#E0C3FC);display:flex;align-items:center;justify-content:center;font-size:48px}
.fc-card .fc-info{padding:8px 10px}
.fc-card .fc-nick{font-size:13px;font-weight:700;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-card .fc-meta{font-size:11px;color:#888;margin-top:2px}
.fc-tip{text-align:center;font-size:12px;color:#888}
.sw-btn:active{transform:scale(.94)}
.sw-done{color:#fff;font-size:18px;text-align:center;line-height:2}
.sw-done span{font-size:13px;color:#ffd1e0}
.cf-preview.cf-mint{color:#064e3b}
.cf-preview.cf-candy{color:#7a2d4a}

/* 聊天装扮页 */
.cf-page{padding:16px 14px 40px}
.cf-title{font-size:16px;font-weight:800;color:#1A1D26;margin-bottom:14px;padding-left:4px}
.cf-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cf-item{background:#fff;border-radius:16px;padding:16px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.04);position:relative;border:2px solid transparent}
.cf-item.equipped{border-color:#FF5C8A}
.cf-item.locked{opacity:.55}
.cf-preview{height:54px;border-radius:12px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;padding:0 12px}
.cf-name{font-size:14px;font-weight:800;color:#1A1D26;margin-bottom:4px}
.cf-task{font-size:11px;color:#9CA3AF;margin-bottom:8px}
.cf-btn{width:100%;padding:8px;border:none;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer}
.cf-btn.use{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff}
.cf-btn.on{background:#F3F4F6;color:#6B7280}
.cf-btn.lock{background:#F3F4F6;color:#9CA3AF}

/* ===== 我的仓库 ===== */
.wh-body{padding:12px}
.wh-tabs{display:flex;gap:6px;background:#F3F4F6;border-radius:14px;padding:5px;margin-bottom:14px}
.wh-tab{flex:1;text-align:center;padding:9px 4px;border-radius:10px;font-size:13px;font-weight:700;color:#6B7280;cursor:pointer;transition:all .2s;position:relative;white-space:nowrap}
.wh-tab.on{background:#fff;color:#FF3B5C;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.wh-badge{display:inline-block;min-width:16px;height:16px;line-height:16px;padding:0 5px;border-radius:8px;background:#E5E7EB;color:#6B7280;font-size:10px;font-weight:700;margin-left:4px;vertical-align:middle}
.wh-tab.on .wh-badge{background:#FF3B5C;color:#fff}
.wh-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.wh-cell{background:#fff;border-radius:16px;padding:16px 12px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.05);position:relative;border:2px solid transparent}
.wh-cell.equipped{border-color:#FF5C8A;background:linear-gradient(180deg,#FFF4F8,#fff)}
.wh-ic{font-size:42px;margin-bottom:8px}
.wh-nm{font-size:14px;font-weight:800;color:#1A1D26;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}
.wh-count{font-size:11px;color:#FF3B5C;font-weight:800;background:#FFF0F3;padding:1px 6px;border-radius:8px}
.wh-price{font-size:11px;color:#9CA3AF;margin-top:4px}
.wh-on{display:inline-block;margin-top:6px;font-size:10px;color:#FF5C8A;font-weight:800;background:rgba(255,92,138,.12);padding:2px 8px;border-radius:8px}
.wh-sub{display:inline-block;margin-top:6px;font-size:11px;color:#FFB300;font-weight:700}
.wh-btn{width:100%;margin-top:10px;padding:8px 0;border:none;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer}
.wh-btn.on{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff}
.wh-btn.off{background:#F3F4F6;color:#9CA3AF}

/* 聊天 */
.chat-list{padding:12px 12px 4px}

/* 消息行: 头像 + 内容区 横向布局 */
.crow{display:flex;gap:8px;margin-bottom:14px;align-items:flex-start}
.crow.me{flex-direction:row-reverse}
.crow .av{flex:0 0 auto}

/* 内容区(含时间+气泡): 限制最大宽度, 允许收缩, 纵向排列 */
.crow>.cbody{flex:0 1 auto;min-width:0;max-width:76%;display:flex;flex-direction:column;align-items:flex-start}
.crow.me>.cbody{align-items:flex-end}

/* 气泡: 撑满内容区宽度以内, 正常换行(修复文字竖排) */
.cbub{max-width:100%;width:fit-content;padding:10px 13px;border-radius:16px;font-size:14px;line-height:1.55;word-break:break-word;white-space:normal;box-shadow:0 2px 8px rgba(20,21,26,.05)}
.cbub.me{background:var(--grad);color:#fff;border-bottom-right-radius:5px}
.cbub.other{background:#fff;border-bottom-left-radius:5px}

/* 时间戳 */
.crow .tmt{font-size:10px;color:#B7BCC7;margin-bottom:3px;text-align:left}
.crow.me .tmt{text-align:right}

/* 对方昵称(头像旁) */
.chat-other-name{font-size:11px;color:#8a8f99;margin-bottom:3px;margin-left:2px;font-weight:600}

/* 群聊发送者昵称 */
.g-sender-name{font-size:11px;color:#8a8f99;margin-bottom:2px;margin-left:4px}

/* 已读回执 */
.msg-read{font-size:10px;color:#B7BCC7;margin-top:3px}
.msg-read.rd{color:#5BB7FF}

/* 消息举报按钮 */
.msg-report{font-size:12px;opacity:.35;margin-top:3px;margin-left:2px;cursor:pointer;user-select:none;-webkit-user-select:none;transition:opacity .15s}
.msg-report:hover{opacity:1}
.crow.me .msg-report{display:none}
.msg-read.un{color:#B7BCC7}

/* 礼物消息气泡 - 3D立体 */
.gift-msg{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#FFF5F8 0%,#FFEAF2 50%,#FFE0EC 100%);border:1.5px solid #FFB8D4;border-radius:16px;padding:12px 16px;max-width:100%;box-shadow:0 4px 16px rgba(255,100,150,.2),inset 0 1px 0 rgba(255,255,255,.7);position:relative;overflow:hidden}
.gift-msg::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.4) 0%,transparent 60%);animation:giftShine 3s ease-in-out infinite}
@keyframes giftShine{0%,100%{transform:translate(-30%,-30%)}50%{transform:translate(30%,30%)}}
.gift-msg .gift-ic{font-size:38px;line-height:1;flex:0 0 auto;filter:drop-shadow(0 3px 6px rgba(255,80,130,.45));animation:giftBounce 2s ease-in-out infinite;position:relative;z-index:1}
@keyframes giftBounce{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.08)}}
.gift-msg .gift-info{display:flex;flex-direction:column;min-width:0;position:relative;z-index:1}
.gift-msg .gift-nm{font-size:14px;font-weight:800;color:#E0407A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 0 rgba(255,255,255,.6)}
.gift-msg .gift-px{font-size:11px;color:#C77BA0;margin-top:2px;font-weight:600}
.gift-msg.e-epic{background:linear-gradient(135deg,#F3E8FF,#E9D5FF);border-color:#C084FC;box-shadow:0 4px 20px rgba(160,107,255,.3)}
.gift-msg.e-legend{background:linear-gradient(135deg,#FFFBEB,#FEF3C7);border-color:#F59E0B;box-shadow:0 4px 24px rgba(245,158,11,.35)}
.gift-msg.e-glory{background:linear-gradient(135deg,#FEF2F2,#FECACA);border-color:#EF4444;box-shadow:0 4px 28px rgba(239,68,68,.4)}

/* ============================================================
   全屏礼物动画 V2 (抖音式: Canvas物理粒子 + 暗角 + 体积光柱 + 镜头光晕)
   ============================================================ */
.gift-fs{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;pointer-events:none;overflow:hidden;transition:opacity .5s ease}
.gift-fs.ge-v2{background:transparent}
/* 暗角背景: 中心透光+边缘压暗 */
.ge-vignette{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;
  background:
    radial-gradient(ellipse at center,rgba(20,10,40,.35) 0%,rgba(10,5,25,.7) 45%,rgba(0,0,0,.92) 100%);
  animation:geVignetteIn .4s ease forwards;}
@keyframes geVignetteIn{from{opacity:0}to{opacity:1}}
/* Canvas粒子层 */
.ge-canvas{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;pointer-events:none}
/* 体积光柱(传说/荣耀级): 6道旋转光束 */
.ge-rays{position:absolute;left:50%;top:50%;width:0;height:0;z-index:1;pointer-events:none}
.ge-rays::before,.ge-rays::after{content:'';position:absolute;left:-3px;top:-45vh;width:6px;height:90vh;
  background:linear-gradient(to bottom,transparent,rgba(255,215,0,.5),rgba(255,107,53,.4),transparent);
  filter:blur(3px);transform-origin:50% 50%;animation:geRaySpin 3s linear infinite}
.ge-rays::after{animation-duration:4s;animation-direction:reverse;opacity:.7}
.ge-rays span{position:absolute;left:-3px;top:-45vh;width:6px;height:90vh;
  background:linear-gradient(to bottom,transparent,rgba(255,215,0,.45),transparent);
  filter:blur(4px);transform-origin:50% 50%;animation:geRaySpin 3.5s linear infinite}
.ge-rays span:nth-child(1){transform:rotate(60deg)}
.ge-rays span:nth-child(2){transform:rotate(120deg)}
.ge-rays span:nth-child(3){transform:rotate(180deg)}
.ge-rays span:nth-child(4){transform:rotate(240deg)}
.ge-rays span:nth-child(5){transform:rotate(300deg)}
@keyframes geRaySpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
/* 镜头光晕(荣耀级) */
.ge-flare{position:absolute;left:50%;top:45%;width:300px;height:300px;margin:-150px 0 0 -150px;z-index:1;pointer-events:none;
  background:radial-gradient(circle,rgba(255,215,0,.5) 0%,rgba(255,107,53,.25) 30%,transparent 60%);
  filter:blur(8px);animation:geFlarePulse 2s ease-in-out infinite}
.ge-flare::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.6) 0%,transparent 40%);
  animation:geFlareCore 1.5s ease-in-out infinite}
@keyframes geFlarePulse{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.3);opacity:1}}
@keyframes geFlareCore{0%,100%{opacity:.4}50%{opacity:.9}}
/* 礼物主体包裹 */
.ge-ic-wrap{position:relative;z-index:3;text-align:center;animation:geIcWrapIn .6s cubic-bezier(.34,1.56,.64,1) forwards}
@keyframes geIcWrapIn{from{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}
/* 礼物图标: 强辉光+呼吸缩放 */
.ge-ic{position:relative;z-index:3;margin:0 auto;
  filter:drop-shadow(0 0 30px rgba(255,200,80,.6)) drop-shadow(0 0 60px rgba(255,100,50,.4));
  animation:geIcGlow 2s ease-in-out infinite}
.ge-ic svg{display:block;width:100%;height:100%;filter:drop-shadow(0 4px 12px rgba(0,0,0,.4))}
@keyframes geIcGlow{0%,100%{filter:drop-shadow(0 0 30px rgba(255,200,80,.6)) drop-shadow(0 0 60px rgba(255,100,50,.4))}50%{filter:drop-shadow(0 0 50px rgba(255,220,120,.9)) drop-shadow(0 0 100px rgba(255,140,60,.7))}}
/* 各动画类型 */
.ge-ic.anim-float{animation:fsFloat 2.8s cubic-bezier(.22,1,.36,1),geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-pop{animation:fsPop 2.4s cubic-bezier(.34,1.56,.64,1),geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-sparkle{animation:fsSparkle 2.8s ease,geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-fly{animation:fsFly 3.2s cubic-bezier(.4,0,.2,1),geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-rise{animation:fsRise 3.4s cubic-bezier(.55,0,.55,1) forwards,geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-firework{animation:fsFirework 3.4s ease,geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-dragon{animation:fsDragon 4s cubic-bezier(.4,0,.2,1) forwards,geIcGlow 2s ease-in-out infinite}
.ge-ic.anim-swim{animation:fsSwim 3.2s ease,geIcGlow 2s ease-in-out infinite}
@keyframes fsFloat{0%{transform:translateY(60vh) scale(.2) rotate(-25deg);opacity:0}20%{opacity:1}45%{transform:translateY(-18px) scale(1.25) rotate(6deg)}65%{transform:translateY(-10px) scale(1.1) rotate(-3deg)}100%{transform:translateY(-90px) scale(.92) rotate(0);opacity:0}}
@keyframes fsPop{0%{transform:scale(0) rotate(-180deg);opacity:0}30%{transform:scale(1.4) rotate(12deg);opacity:1}45%{transform:scale(.9) rotate(-6deg)}60%{transform:scale(1.08) rotate(2deg)}100%{transform:scale(1.12) rotate(0);opacity:0}}
@keyframes fsSparkle{0%{transform:scale(.3);opacity:0}18%{transform:scale(1.3);opacity:1}38%{transform:scale(1)}55%{transform:scale(1.18) rotate(8deg)}100%{transform:scale(1.6) translateY(-60px);opacity:0}}
@keyframes fsFly{0%{transform:translateX(-130vw) translateY(30vh) rotate(-35deg) scale(.4);opacity:0}18%{opacity:1}50%{transform:translateX(0) translateY(-6vh) rotate(0) scale(1.2)}80%{opacity:1}100%{transform:translateX(130vw) translateY(-32vh) rotate(35deg) scale(.5);opacity:0}}
@keyframes fsRise{0%{transform:translateY(115vh) scale(.4) rotate(-15deg);opacity:0}12%{opacity:1}55%{transform:translateY(-14vh) scale(1.2) rotate(6deg);opacity:1}100%{transform:translateY(-125vh) scale(.6) rotate(12deg);opacity:0}}
@keyframes fsFirework{0%{transform:scale(0);opacity:0}10%{transform:scale(1.45);opacity:1}22%{transform:scale(1)}38%{filter:drop-shadow(0 0 60px #FFD700) drop-shadow(0 0 120px #FF6B35);transform:scale(1.18)}100%{transform:scale(2.4);opacity:0}}
@keyframes fsDragon{0%{transform:translateY(125vh) translateX(-40vw) scale(.4) rotate(-25deg);opacity:0}12%{opacity:1;filter:drop-shadow(0 0 50px #FFD700)}42%{transform:translateY(-10vh) translateX(10vw) scale(1.55) rotate(10deg);filter:drop-shadow(0 0 80px #FF4500) drop-shadow(0 0 140px #FFD700)}100%{transform:translateY(-135vh) translateX(28vw) scale(.6) rotate(28deg);opacity:0}}
@keyframes fsSwim{0%{transform:translateX(-75vw) translateY(15vh) scale(.5) rotate(-8deg);opacity:0}18%{opacity:1}50%{transform:translateX(0) translateY(-14vh) scale(1.2) rotate(5deg)}80%{opacity:1}100%{transform:translateX(75vw) translateY(15vh) scale(.5) rotate(8deg);opacity:0}}
/* 礼物文字 */
.ge-txt{position:relative;z-index:4;margin-top:24px;color:#fff;font-size:18px;font-weight:800;
  text-shadow:0 2px 16px rgba(0,0,0,.8),0 0 30px rgba(255,200,80,.5);animation:geTxtIn 2.6s ease forwards}
.ge-txt b{font-size:30px;color:#FFD700;text-shadow:0 0 25px #FFD700,0 0 50px #FF6B35}
@keyframes geTxtIn{0%{transform:translateY(30px) scale(.8);opacity:0}15%{opacity:1;transform:translateY(0) scale(1)}85%{opacity:1}100%{transform:translateY(-20px);opacity:0}}
/* 大额礼物震屏(衰减曲线) */
.gift-fs.shake{animation:fsShake .6s cubic-bezier(.36,.07,.19,.97)}
@keyframes fsShake{0%,100%{transform:translate(0,0) scale(1)}10%{transform:translate(-10px,6px) scale(1.02)}20%{transform:translate(10px,-6px) scale(1.01)}30%{transform:translate(-7px,-5px) scale(1.01)}40%{transform:translate(7px,5px)}50%{transform:translate(-4px,3px)}60%{transform:translate(4px,-3px)}70%{transform:translate(-2px,2px)}80%{transform:translate(2px,-2px)}}
/* 翻卡抽乐聊币 */
.lucky-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;animation:fsFade .3s ease}
.lucky-box{width:90%;max-width:360px;background:linear-gradient(160deg,#2a1a4a,#1a0f2e);border:2px solid #FFD700;border-radius:20px;padding:24px 20px;text-align:center;box-shadow:0 0 40px rgba(255,215,0,.4)}
.lucky-box h3{margin:0 0 6px;color:#FFD700;font-size:20px}
.lucky-box p{margin:0 0 18px;color:#ccc;font-size:13px}
.lucky-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.lucky-card{aspect-ratio:3/4;perspective:800px;cursor:pointer}
.lucky-card-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s ease}
.lucky-card.flipped .lucky-card-inner{transform:rotateY(180deg)}
.lucky-card-front,.lucky-card-back{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:12px;backface-visibility:hidden;display:flex;align-items:center;justify-content:center;font-weight:800}
.lucky-card-front{background:linear-gradient(135deg,#FFD700,#FF8C00);color:#5C3A00;font-size:28px;box-shadow:0 4px 12px rgba(255,140,0,.4)}
.lucky-card-back{background:linear-gradient(135deg,#fff,#FFE4B5);color:#E65100;font-size:18px;transform:rotateY(180deg);flex-direction:column;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.lucky-card-back .lc-amt{font-size:24px;color:#DAA520;font-weight:900}
.lucky-card.back-done .lucky-card-front{background:linear-gradient(135deg,#888,#555)}
.lucky-result{margin-top:10px;font-size:16px;color:#FFD700;font-weight:700}
.lucky-close{margin-top:16px;padding:10px 28px;background:linear-gradient(90deg,#FFD700,#FF8C00);color:#5C3A00;border:none;border-radius:20px;font-size:14px;font-weight:800;cursor:pointer}
@keyframes fsTxt{0%{transform:translateY(20px);opacity:0}30%{opacity:1}100%{transform:translateY(-10px);opacity:0}}

/* 坐骑/座驾特效标签 */
.msg-fx{display:inline-block;font-size:11px;font-weight:700;color:#B8860B;background:linear-gradient(90deg,#FFF8E1,#FFECB3);padding:2px 10px;border-radius:10px;margin-bottom:4px;box-shadow:0 1px 3px rgba(184,134,11,.2);border:1px solid #FFE082}
.crow.me .msg-fx{background:linear-gradient(90deg,#FFE0B2,#FFCC80);color:#E65100;border-color:#FFB74D}

/* 引用回复 */
.quote-bub{font-size:12px;color:#6B7280;background:rgba(0,0,0,.05);border-left:3px solid var(--blue);padding:6px 10px;border-radius:0 8px 8px 0;margin-bottom:5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crow.me .quote-bub{background:rgba(255,255,255,.25);color:rgba(255,255,255,.9);border-left-color:rgba(255,255,255,.7)}
.quote-bar{display:flex;align-items:center;gap:8px;background:#FFF8E1;border-top:1px solid #FFE082;padding:8px 14px;font-size:13px}
.quote-bar .qb-txt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6B7280}
.quote-bar .qb-txt b{color:#E0407A}
.quote-bar .qb-x{color:#B7BCC7;font-size:16px;cursor:pointer;padding:0 6px;flex:0 0 auto}

/* 输入栏 */
.chat-input{flex:0 0 auto;background:#fff;border-top:1px solid var(--line);padding:9px 12px calc(9px + var(--safe-b));display:flex;gap:8px;align-items:center}
.chat-input input{border-radius:999px;background:#F4F6FA;border:0;padding:11px 15px;flex:1 1 auto;min-width:0;font-size:14px}
.chat-input .send{background:var(--grad);color:#fff;border-radius:999px;padding:10px 18px;font-weight:700;font-size:14px;flex:0 0 auto}
.chat-input .plus{font-size:22px;color:#9AA0AE;flex:0 0 auto;width:30px;text-align:center}
.chat-input .ci-btn{flex:0 0 auto;font-size:22px;width:36px;height:36px;line-height:36px;text-align:center;cursor:pointer;border:0;background:transparent;border-radius:50%;padding:0}
.chat-input .ci-btn:active{background:#F0F1F5}

/* 表情面板 */
.emoji-panel{display:none;flex:0 0 auto;background:#fff;border-top:1px solid var(--line);max-height:230px;overflow-y:auto;padding:8px 10px;animation:slideUp .2s ease}
.emoji-panel.on{display:block}
.emoji-item{display:inline-block;font-size:26px;text-align:center;padding:3px 0;cursor:pointer;border-radius:8px;line-height:1.3;width:12.5%}
.emoji-item:active{background:#F0F1F5}

/* 礼物面板 */
.gift-panel{display:none;flex:0 0 auto;background:#fff;border-top:1px solid var(--line);max-height:300px;overflow-y:auto;animation:slideUp .2s ease}
.gift-panel.on{display:block}
.gift-panel-h{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 8px;font-weight:800;font-size:15px;color:#333}
.gift-panel-h .gift-close{color:#B7BCC7;font-size:16px;cursor:pointer;padding:2px 6px}
.gift-panel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:4px 14px 16px}
.gift-opt{position:relative;background:linear-gradient(160deg,#ffffff,#f7f8fc);border-radius:14px;padding:10px 4px;text-align:center;border:1.5px solid transparent;cursor:pointer;transition:.15s;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.05)}
.gift-opt:active{transform:scale(.92);border-color:var(--pink);background:#FFF5F8}
.gift-opt::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 50%);pointer-events:none}
.gift-opt-ic{font-size:30px;line-height:1.1;filter:drop-shadow(0 2px 5px rgba(0,0,0,.15));position:relative;z-index:1}
.gift-opt-nm{font-size:11px;font-weight:700;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;z-index:1}
.gift-opt-px{font-size:10px;color:#ff6a00;font-weight:700;margin-top:1px;position:relative;z-index:1}
.gift-opt.e-epic{background:linear-gradient(160deg,#faf5ff,#f3e8ff);box-shadow:0 3px 10px rgba(160,107,255,.2)}
.gift-opt.e-legend{background:linear-gradient(160deg,#fffbeb,#fef3c7);box-shadow:0 3px 12px rgba(245,158,11,.25)}
.gift-opt.e-glory{background:linear-gradient(160deg,#fef2f2,#fee2e2);box-shadow:0 4px 14px rgba(239,68,68,.3)}
.gift-opt.e-epic .gift-opt-ic{filter:drop-shadow(0 2px 6px rgba(160,107,255,.5))}
.gift-opt.e-legend .gift-opt-ic{filter:drop-shadow(0 2px 7px rgba(245,158,11,.6))}
.gift-opt.e-glory .gift-opt-ic{filter:drop-shadow(0 2px 8px rgba(239,68,68,.7))}

@keyframes slideUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* 用户主页 */
.up-head{background:var(--grad);padding:0 18px 20px;color:#fff}
.up-hero{display:flex;gap:14px;align-items:flex-end;margin-top:-30px}
.up-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px}
.up-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.kv{display:flex;gap:8px;font-size:13px;color:#4B5563;padding:5px 0}
.kv b{color:#9AA0AE;font-weight:600;width:52px;flex:0 0 auto}
/* 弹层 */
.mask{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(10,12,20,.45);z-index:40;opacity:0;transition:.2s;visibility:hidden;backdrop-filter:blur(2px)}
.mask.on{opacity:1;visibility:visible}
.sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:22px 22px 0 0;z-index:41;transform:translateY(102%);transition:transform .26s cubic-bezier(.4,0,.2,1);max-height:82vh;display:flex;flex-direction:column;padding-bottom:var(--safe-b)}
.sheet.on{transform:none}
.sheet-h{padding:16px 18px 10px;display:flex;align-items:center;font-weight:800;font-size:16px;border-bottom:1px solid var(--line)}
.sheet-b{overflow-y:auto;padding:14px 16px calc(16px + var(--safe-b))}
.gift-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gcell{background:#F8F9FC;border-radius:14px;padding:10px 4px;text-align:center;border:1.5px solid transparent;transition:.15s}
.gcell.on{border-color:var(--pink);background:#FFF5F8}
.gcell .gi{font-size:26px}
.gcell .gn{font-size:11px;font-weight:700;margin-top:3px}
.gcell .gp{font-size:10px;color:#B7BCC7;margin-top:1px}
.toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.9);background:rgba(20,21,26,.9);color:#fff;padding:12px 20px;border-radius:14px;font-size:13.5px;font-weight:600;z-index:99;opacity:0;transition:.18s;pointer-events:none;max-width:78vw;text-align:center;line-height:1.5}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
/* 平板 / iPad 适配 */
@media(min-width:820px){
  .app{max-width:1100px;margin:0 auto;background:var(--bg);box-shadow:0 0 60px rgba(20,21,26,.08);border-left:1px solid var(--line);border-right:1px solid var(--line)}
  .topbar{padding-left:24px;padding-right:24px}
  .masonry{column-count:3;padding:16px;column-gap:14px}
  .ugrid{grid-template-columns:repeat(4,1fr);padding:16px}
  .panel,.mlist{margin-left:16px;margin-right:16px}
  .tabbar{max-width:1100px;left:50%;transform:translateX(-50%)}
  .chat-list{padding:16px 30px}
  .gift-grid{grid-template-columns:repeat(6,1fr)}
  .emoji-item{width:8.33%}
  .gift-panel-grid{grid-template-columns:repeat(6,1fr)}
}

.login-view{position:fixed;top:0;right:0;bottom:0;left:0;background:linear-gradient(160deg,#FFE3EC 0%,#F3E8FF 45%,#EAF0FF 100%);display:flex;align-items:center;justify-content:center;padding:22px;overflow:auto;z-index:50}
.login-card{width:100%;max-width:380px;background:#fff;border-radius:26px;padding:28px 22px 24px;box-shadow:0 24px 60px rgba(168,85,247,.16)}
.login-logo{width:80px;height:80px;border-radius:23px;display:block;margin:0 auto 12px;box-shadow:0 12px 26px rgba(255,92,138,.3)}
.login-h{text-align:center;font-size:23px;font-weight:900;letter-spacing:.5px}
.login-s{text-align:center;color:var(--sub);font-size:12.5px;margin:6px 0 22px}
.field{margin-bottom:12px}
.field label{display:block;font-size:12px;font-weight:700;color:#6B7280;margin-bottom:6px;padding-left:3px}
.seg{display:flex;background:#F1F3F8;border-radius:14px;padding:4px;margin-bottom:18px}
.seg div{flex:1;text-align:center;padding:9px 0;border-radius:11px;font-size:14px;font-weight:700;color:#8A8F9C;transition:.18s}
.seg div.on{background:#fff;color:var(--pink);box-shadow:0 3px 10px rgba(20,21,26,.08)}
.gender-pick{display:flex;gap:10px;margin-bottom:12px}
.gender-pick div{flex:1;text-align:center;padding:11px 0;border-radius:13px;background:#F8F9FC;border:1.5px solid var(--line);font-weight:700;font-size:13.5px;color:#8A8F9C;transition:.15s}
.gender-pick div.on{border-color:#FFC3D6;background:#FFF0F5;color:var(--pink)}
.login-tip{text-align:center;font-size:11.5px;color:#A3A8B4;margin-top:14px;line-height:1.6}

/* ===== 追加层: 兼容修复 & 个人主页 & 设计规范 ===== */

/* ---- 来自 css/gapfix.css ---- */
/* ===== flex gap 兼容: 仅在不支持 gap 的环境生效 (Chrome 83 / 旧 WebView) =====
   由 /root/gen_gapfix.py 自动生成, 请勿手改
   共 81 条规则 */
.nogap .row > *:not(:last-child){margin-right:10px}
.nogap .wlv > *:not(:last-child){margin-right:3px}
.nogap .nlv > *:not(:last-child){margin-right:3px}
.nogap .topbar .bar1 > *:not(:last-child){margin-right:12px}
.nogap .search > *:not(:last-child){margin-right:8px}
.nogap .tabs > *:not(:last-child){margin-right:20px}
.nogap .tabbar .tb > *:not(:last-child){margin-bottom:3px}
.nogap .pmeta > *:not(:last-child){margin-right:6px}
.nogap .pacts > *:not(:last-child){margin-right:14px}
.nogap .pacts .act > *:not(:last-child){margin-right:3px}
.nogap .ucard .nm2 > *:not(:last-child){margin-right:4px}
.nogap .ucard .tags > *:not(:last-child){margin-right:4px;margin-bottom:4px}
.nogap .lrow > *:not(:last-child){margin-right:12px}
.nogap .lrow .rt2 > *:not(:last-child){margin-bottom:5px}
.nogap .m-head > *:not(:last-child){margin-right:10px}
.nogap .m-nm > *:not(:last-child){margin-bottom:2px}
.nogap .m-bar > *:not(:last-child){margin-right:18px}
.nogap .m-act > *:not(:last-child){margin-right:4px}
.nogap .m-cmt > *:not(:last-child){margin-right:8px}
.nogap .xl-banner > *:not(:last-child){margin-right:10px}
.nogap .sw-tags > *:not(:last-child){margin-right:6px;margin-bottom:6px}
.nogap .sw-acts > *:not(:last-child){margin-right:30px}
.nogap .sw-tags2 > *:not(:last-child){margin-right:6px;margin-bottom:6px}
.nogap .loc-bub > *:not(:last-child){margin-right:8px}
.nogap .notice-card > *:not(:last-child){margin-right:12px}
.nogap .mine-head .u1 > *:not(:last-child){margin-right:14px}
.nogap .wallet > *:not(:last-child){margin-right:8px}
.nogap .mlist .mi > *:not(:last-child){margin-right:12px}
.nogap .shead > *:not(:last-child){margin-right:12px}
.nogap .chat-shead .st-col > *:not(:last-child){margin-bottom:2px}
.nogap .chat-shead .st-row > *:not(:last-child){margin-right:8px}
.nogap .sd-streak > *:not(:last-child){margin-right:4px}
.nogap .sd-week > *:not(:last-child){margin-right:6px}
.nogap .sd-balance > *:not(:last-child){margin-right:12px}
.nogap .msg-quick > *:not(:last-child){margin-right:8px}
.nogap .notice-item > *:not(:last-child){margin-right:10px}
.nogap .v-act > *:not(:last-child){margin-right:8px}
.nogap .announce > *:not(:last-child){margin-right:10px}
.nogap .playtabs > *:not(:last-child){margin-right:4px}
.nogap .room > *:not(:last-child){margin-right:12px}
.nogap .tq-tabs > *:not(:last-child){margin-right:4px}
.nogap .tq-match-card > *:not(:last-child){margin-right:12px}
.nogap .tq-ucard > *:not(:last-child){margin-right:10px}
.nogap .tq-uc-name > *:not(:last-child){margin-right:6px}
.nogap .tq-feed-hd > *:not(:last-child){margin-right:10px}
.nogap .tq-feed-name > *:not(:last-child){margin-right:6px}
.nogap .tq-feed-ft > *:not(:last-child){margin-right:16px}
.nogap .tq-md-hd > *:not(:last-child){margin-right:12px}
.nogap .tq-md-name > *:not(:last-child){margin-right:6px}
.nogap .tq-md-meta > *:not(:last-child){margin-right:4px}
.nogap .tq-pf-photos > *:not(:last-child){margin-right:6px}
.nogap .tq-pf-name > *:not(:last-child){margin-right:8px;margin-bottom:8px}
.nogap .tq-pf-sub > *:not(:last-child){margin-right:4px}
.nogap .tq-tags > *:not(:last-child){margin-right:8px;margin-bottom:8px}
.nogap .tq-voice > *:not(:last-child){margin-right:10px}
.nogap .tq-info-tags > *:not(:last-child){margin-right:8px;margin-bottom:8px}
.nogap .tq-verify-row > *:not(:last-child){margin-right:10px;margin-bottom:10px}
.nogap .tq-vb > *:not(:last-child){margin-right:5px}
.nogap .tq-mytags > *:not(:last-child){margin-right:8px;margin-bottom:8px}
.nogap .tq-medal > *:not(:last-child){margin-right:8px}
.nogap .tq-pf-bottom > *:not(:last-child){margin-right:10px}
.nogap .tq-ci-notify > *:not(:last-child){margin-right:8px}
.nogap .tq-ci-tags > *:not(:last-child){margin-right:6px;margin-bottom:6px}
.nogap .tq-ci-photos > *:not(:last-child){margin-right:6px}
.nogap .tq-chat-input > *:not(:last-child){margin-right:6px}
.nogap .tq-more-grid > *:not(:last-child){margin-right:20px}
.nogap .tq-more-item > *:not(:last-child){margin-bottom:8px}
.nogap .tq-rec-bar > *:not(:last-child){margin-right:12px}
.nogap .cbub.voice-bub > *:not(:last-child){margin-right:10px}
.nogap .dazi-card > *:not(:last-child){margin-right:12px}
.nogap .dazi-tag > *:not(:last-child){margin-right:4px}
.nogap .sw-actions > *:not(:last-child){margin-right:24px}
.nogap .wh-tabs > *:not(:last-child){margin-right:6px}
.nogap .wh-nm > *:not(:last-child){margin-right:4px;margin-bottom:4px}
.nogap .crow > *:not(:last-child){margin-right:8px}
.nogap .gift-msg > *:not(:last-child){margin-right:12px}
.nogap .quote-bar > *:not(:last-child){margin-right:8px}
.nogap .chat-input > *:not(:last-child){margin-right:8px}
.nogap .up-hero > *:not(:last-child){margin-right:14px}
.nogap .kv > *:not(:last-child){margin-right:8px}
.nogap .gender-pick > *:not(:last-child){margin-right:10px}

/* ---- 来自 css/design.css ---- */
/* ===== 统一设计规范 (文字层级 / 标签 / 对齐) =====
   目标: 全站卡片、列表、弹层里的文字与标签用同一套节奏
   Chrome 83 注意: 不用 gap / inset / aspect-ratio */

/* ---------- 1) 标签(chip)统一: 同一高度、同一内边距、文字居中 ---------- */
.tq-tag,
.tq-mt,
.sw-tag,
.pf2-tags .g,
.pf2-chips .c,
.tags .g,
.chips .c,
.ucard .tags > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 13px;
  line-height: 1;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  box-sizing: border-box;
  vertical-align: middle;
  white-space: nowrap;
}

/* 标签容器: 统一左对齐 + 垂直居中, 不用 gap */
.tq-tags,
.pf2-tags,
.pf2-chips,
.chips,
.tags,
.ucard .tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

/* ---------- 2) 卡片标题统一 ---------- */
.panel > b,
.pf2-card .h,
.card .h {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .2px;
  text-align: left;
}

.pf2-card .h {
  margin-bottom: 14px;
}

/* ---------- 3) 列表行: 名字 / 位置 / 副文案 的层级与呼吸感 ---------- */
.lrow,
.mlist .mi,
.tq-ucard,
.dazi-card {
  text-align: left;
}

.lrow {
  padding: 14px 16px;
}

.lrow .t1,
.lrow .lt {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.4;
}

.lrow .t2,
.lrow .ls {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 3px;
}

.lrow .grow,
.lrow .lmain,
.mlist .mi .grow {
  min-width: 0;
}

/* ---------- 4) 卡片内边距统一 (头像与文字之间更透气) ---------- */
.tq-ucard,
.dazi-card {
  padding: 14px;
  border-radius: 18px;
}

.pf2-card {
  padding: 18px;
}

.pf2-card .h {
  margin-bottom: 14px;
}

/* ---------- 5) 个人主页头部: 名字 / 在线·年龄·城市·距离 之间留白 ---------- */
.pf2-hinfo .nm {
  line-height: 1.24;
}

.pf2-hinfo .meta {
  margin-top: 11px;
  line-height: 1.4;
}

.pf2-hl {
  margin-top: -22px;
  padding: 16px 4px;
}

.pf2-hl .h {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pf2-hl .v,
.pf2-hl .k {
  text-align: center;
}

.pf2-about,
.pf2-ideal {
  line-height: 1.9;
  text-align: left;
}

/* ---------- 6) 数字对齐: 高亮条/统计用等宽数字 ---------- */
.pf2-hl .v,
.pf2-hl .k,
.lrow .t2,
.pf2-gbar .t {
  font-variant-numeric: tabular-nums;
}

/* ---------- 7) 正文行高统一, 避免密不透风 ---------- */
.pf2-about,
.pf2-ideal,
.tq-pf-intro,
.panel p {
  line-height: 1.85;
}

/* ---------- 8) flex gap 失效环境: 头像与文字额外留白 ---------- */
.nogap .tq-ucard .tq-ufirst,
.nogap .tq-feed-hd > .tq-feed-av {
  margin-right: 10px;
}

/* ---------- 9) 卡片内「昵称 / 位置 / 简介」的竖向呼吸感 ---------- */
.tq-uc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tq-uc-name,
.tq-feed-name {
  line-height: 1.35;
}

.tq-uc-meta {
  margin-top: 5px;
  line-height: 1.45;
}

.tq-uc-bio {
  margin-top: 4px;
  line-height: 1.55;
}

.lrow .t2,
.lrow .ls {
  margin-top: 5px;
  line-height: 1.5;
}

.mlist .mi .grow div {
  line-height: 1.5;
}

/* ---------- 10) 聊天页: 头像 / 气泡 / 对方名字 的间距与对齐 ----------
   .crow.me 是 flex-direction:row-reverse, 通用的 gap 兜底会把间距加到外侧,
   所以这里统一用 margin 精确控制 */
.crow{ gap:0; margin-bottom:14px; }
.crow > .cbody{ margin-left:10px; margin-right:0; }
.crow.me > .cbody{ margin-left:0; margin-right:10px; align-items:flex-end; }
.nogap .crow > *:not(:last-child){ margin-right:0; }

/* 对方名字: 与气泡左边缘对齐, 单行省略 */
.chat-other-name,
.g-sender-name{
  margin:0 0 4px 0;
  padding-left:2px;
  font-size:11px;
  line-height:1.3;
  font-weight:600;
  color:#8A8F99;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* 自己的消息不显示名字 */
.crow.me .chat-other-name,
.crow.me .g-sender-name{ display:none; }

/* 气泡内边距与圆角对齐, 左右视觉一致 */
.cbub{ padding:10px 14px; }
.cbub.me{ border-bottom-right-radius:6px; }
.cbub.other{ border-bottom-left-radius:6px; }


/* ---------- 11) 动态定位标签 ---------- */
.tq-feed-loc,
.m-loc{
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F3F4F7;
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-loc{ display: flex; margin: 6px 0 2px; }


/* ---------- 12) iOS 独立模式(PWA)安全区兜底 ---------- */
html,
body{ background:#fff; }
@supports (padding: env(safe-area-inset-bottom)) {
  html, body { height:100%; }
  .app { height:100%; }
}
/* 独立模式: 底部安全区属于 tabbar 自身, 不额外留白 */
@media (display-mode: standalone) {
  .tabbar {
    background:#fff !important;
  }
  main {
    padding-bottom: calc(60px + var(--safe-b)) !important;
  }
}

/* 动态视口高度兜底 (iOS 地址栏/安全区导致的 100vh 偏差) */
@supports (height: 100dvh) {
  .app { height: 100dvh; }
}


/* ==================== 13) 交友页视觉增强层 ==================== */
/* 卡片: 渐变描边 + 柔光 + 入场动画 */
.tq-ucard{
  border:1.5px solid transparent !important;
  background:linear-gradient(#fff,#fff) padding-box,
             linear-gradient(135deg,#FFB3CF 0%,#D9B8FF 40%,#9BE0FF 75%,#FFD9A8 100%) border-box !important;
  box-shadow:0 6px 20px rgba(255,92,138,.10), 0 1px 3px rgba(20,21,26,.04) !important;
  transition:transform .18s ease, box-shadow .18s ease !important;
  animation:ucIn .32s ease both;
}
.tq-ucard:active{transform:scale(.985)}
.tq-ucard:after{
  content:'';position:absolute;top:0;right:0;width:120px;height:90px;pointer-events:none;
  background:radial-gradient(120px 90px at 100% 0,rgba(255,92,138,.13),rgba(255,92,138,0) 70%);
  border-radius:0 16px 0 0;
}
@keyframes ucIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tq-ucard:nth-child(1){animation-delay:.02s}
.tq-ucard:nth-child(2){animation-delay:.06s}
.tq-ucard:nth-child(3){animation-delay:.10s}
.tq-ucard:nth-child(4){animation-delay:.14s}
.tq-ucard:nth-child(5){animation-delay:.18s}
.tq-ucard:nth-child(n+6){animation-delay:.22s}

/* 头像: 渐变光环 + 呼吸光 */
.tq-uc-av{
  padding:2px;border-radius:50%;
  background:linear-gradient(135deg,#FF5C8A,#C084FC 50%,#67E8F9);
  box-shadow:0 0 14px rgba(255,92,138,.28);
}
.tq-uc-av>img,.tq-uc-av>.av{box-shadow:0 0 0 2px #fff inset}
.tq-verify{
  position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:50%;
  background:linear-gradient(135deg,#3B82F6,#06B6D4);color:#fff;font-size:11px;font-weight:900;
  display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff;
}

/* 昵称: 渐变文字 */
.tq-uc-name{
  background:linear-gradient(92deg,#14151A 0%,#3A3F52 60%,#8B5CF6 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  font-weight:800 !important;
}
.tq-rm{
  background:linear-gradient(135deg,#EEF2FF,#EDE9FE) !important;
  color:#6D28D9 !important;border:1px solid #DDD6FE !important;font-weight:800;
}
.tq-uc-meta{color:#7B7286 !important;font-weight:600}
.tq-uc-bio{color:#9AA0AC !important}

/* 搭讪按钮: 流光 */
.tq-dacha{
  background:linear-gradient(135deg,#FF7AA8,#FF3B5C) !important;
  box-shadow:0 6px 16px rgba(255,59,92,.30) !important;
  position:relative;overflow:hidden;font-weight:800 !important;
}
.tq-dacha:after{
  content:'';position:absolute;top:0;left:-60%;width:40%;height:100%;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 100%);
  transform:skewX(-18deg);animation:dachaShine 2.8s ease-in-out infinite;
}
@keyframes dachaShine{0%{left:-60%}55%{left:130%}100%{left:130%}}

/* 四宫格 banner: 描边光 + 斜光扫过 */
.tq-ban{
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 10px 24px rgba(255,92,138,.18), inset 0 1px 0 rgba(255,255,255,.35);
  position:relative;overflow:hidden;
  transition:transform .18s ease;
}
.tq-ban:active{transform:scale(.972)}
.tq-ban:after{
  content:'';position:absolute;top:-40%;left:-30%;width:28%;height:180%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.45),rgba(255,255,255,0));
  transform:skewX(-20deg);animation:banSweep 5.2s ease-in-out infinite;
}
.tq-ban:nth-child(2):after{animation-delay:1.1s}
.tq-ban:nth-child(3):after{animation-delay:2.2s}
.tq-ban:nth-child(4):after{animation-delay:3.1s}
@keyframes banSweep{0%{left:-30%}18%{left:120%}100%{left:120%}}
.tq-ban-ic{animation:icFloat 3.6s ease-in-out infinite}
@keyframes icFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.06)}}

/* 同城在线匹配卡: 呼吸边光 */
.tq-match-card{
  background:linear-gradient(135deg,#FFF3F8,#F5F0FF) !important;
  border:1px solid #FFD9E8 !important;
  box-shadow:0 8px 22px rgba(255,92,138,.14), 0 0 0 3px rgba(255,92,138,.05) !important;
  animation:mcBreath 3.2s ease-in-out infinite;
}
@keyframes mcBreath{0%,100%{box-shadow:0 8px 22px rgba(255,92,138,.14),0 0 0 3px rgba(255,92,138,.05)}
  50%{box-shadow:0 10px 26px rgba(255,92,138,.22),0 0 0 5px rgba(192,132,252,.10)}}
.tq-mc-btn{
  background:linear-gradient(135deg,#FF7AA8,#FF3B5C) !important;
  box-shadow:0 6px 16px rgba(255,59,92,.32) !important;
}


/* ==================== 14) 礼物连击 & 全服横幅 ==================== */
.gc-combo{
  position:fixed;left:18px;bottom:150px;z-index:99998;pointer-events:none;
  opacity:0;transform:translateX(-16px) scale(.85);transition:all .22s cubic-bezier(.2,1.4,.5,1);
}
.gc-combo.on{opacity:1;transform:none}
.gc-n{
  font-size:52px;font-weight:900;font-style:italic;line-height:1;
  font-family:-apple-system,"PingFang SC",sans-serif;
  background:linear-gradient(180deg,#FFF3B0 0%,#FFB800 45%,#FF5C00 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  text-shadow:0 4px 18px rgba(255,120,0,.55);
  animation:gcPop .28s ease both;
}
@keyframes gcPop{0%{transform:scale(.5)}60%{transform:scale(1.22)}100%{transform:scale(1)}}
.gc-l{
  font-size:11px;font-weight:900;letter-spacing:5px;color:#FFE9A8;
  text-shadow:0 0 12px rgba(255,180,0,.8);margin-top:-4px;
}
.gc-bar{width:96px;height:4px;border-radius:2px;background:rgba(255,255,255,.25);margin-top:8px;overflow:hidden}
.gc-bar i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#FFD84D,#FF6A00)}
body.gc-shake{animation:gcShake .18s linear}
@keyframes gcShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}

.gc-banner{
  position:fixed;left:0;right:0;top:96px;z-index:99997;pointer-events:none;
  display:flex;align-items:center;justify-content:flex-start;
  padding:10px 16px;margin:0 12px;border-radius:14px;
  background:linear-gradient(90deg,rgba(255,92,138,.96),rgba(168,85,247,.96) 55%,rgba(34,225,255,.92));
  box-shadow:0 10px 30px rgba(255,92,138,.4), inset 0 1px 0 rgba(255,255,255,.5);
  transform:translateX(-110%);animation:gcIn .5s cubic-bezier(.2,1,.4,1) forwards;
  overflow:hidden;
}
.gc-banner.out{animation:gcOut .7s ease forwards}
.gc-banner:after{
  content:'';position:absolute;top:0;left:-40%;width:30%;height:100%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.6),rgba(255,255,255,0));
  transform:skewX(-18deg);animation:gcSheen 1.6s ease-in-out infinite;
}
@keyframes gcIn{to{transform:translateX(0)}}
@keyframes gcOut{to{transform:translateX(110%)}}
@keyframes gcSheen{0%{left:-40%}60%{left:120%}100%{left:120%}}
.gc-b-ic{font-size:26px;margin-right:10px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.3))}
.gc-b-tx{flex:1;color:#fff;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-b-tx b{font-weight:900;font-size:15px;letter-spacing:.5px}
.gc-b-tag{
  flex:0 0 auto;font-size:10px;font-weight:800;letter-spacing:1px;color:#8B2A5B;
  background:rgba(255,255,255,.9);border-radius:999px;padding:3px 9px;
}


/* ==================== 15) 间距与层级规范 ==================== */
/* 统一层级: 底栏 20 < 悬浮球 25 < 弹层 40 < 礼物 99xxx */
.tabbar{ z-index:20 !important; }
.bigbtn{ z-index:25 !important; }
.stack,.sheet,#stack{ z-index:40 !important; }
.shead{ z-index:41 !important; }
.gift-fs,.gc-combo,.gc-banner{ z-index:99990 !important; }

/* 用户卡片: 更宽松的留白, 按钮不贴边 */
.tq-ucard{
  padding:14px 14px !important;
  margin-bottom:12px !important;
  border-radius:18px !important;
}
.tq-ucard > .tq-uc-av{ margin-right:12px; }
.tq-ucard > .tq-dacha{ margin-left:12px; }
.tq-dacha{
  min-width:66px; min-height:36px;
  padding:8px 14px !important;
  border-radius:999px !important;
  font-size:12.5px !important;
  line-height:1 !important;
  display:inline-flex; align-items:center; justify-content:center;
}
.tq-uc-name{ font-size:16px !important; line-height:1.3 !important; }
.tq-uc-meta{ font-size:12px !important; line-height:1.5 !important; margin-top:2px !important; }
.tq-uc-bio{
  font-size:12px !important; line-height:1.5 !important; margin-top:4px !important;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.tq-uc-info{ padding-right:2px; }

/* 卡片/列表间距 */
.tq-feed-item{ margin-bottom:12px !important; }
.tq-userlist{ padding:0 12px; }
.dazi-list{ padding:12px; }

/* 通用点击区: 避免按钮过小误触 */
.tq-mc-btn,.gact-btn,.send{ min-height:36px; }
.sbody{ padding-bottom:calc(16px + var(--safe-b)) !important; }
main{ padding-bottom:calc(78px + var(--safe-b)) !important; }

/* 弹层底部按钮不被底栏遮挡 */
.sheet{ padding-bottom:calc(12px + var(--safe-b)) !important; }

/* 文字防溢出 */
.tq-uc-name,.tq-uc-bio,.tq-uc-meta,.row-t1,.room .rt{ min-width:0; }


/* ==================== 16) 新手引导 ==================== */
.ob-root{
  position:fixed;top:0;right:0;bottom:0;left:0;z-index:99995;
  display:flex;align-items:center;justify-content:center;
  animation:obIn .28s ease both;
}
.ob-root.out{animation:obOut .3s ease forwards}
@keyframes obIn{from{opacity:0}to{opacity:1}}
@keyframes obOut{to{opacity:0;transform:scale(1.03)}}
.ob-mask{
  position:absolute;top:0;right:0;bottom:0;left:0;
  background:radial-gradient(520px 420px at 50% 34%,rgba(255,92,138,.22),rgba(10,6,20,.92) 62%),#0b0714;
}
.ob-card{
  position:relative;width:82%;max-width:340px;padding:30px 22px 24px;
  border-radius:26px;text-align:center;color:#fff;
  background:linear-gradient(160deg,rgba(255,92,138,.18),rgba(168,85,247,.14) 55%,rgba(34,225,255,.12));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  animation:obCard .42s cubic-bezier(.2,1.3,.4,1) both;
}
@keyframes obCard{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
.ob-skip{
  position:absolute;top:12px;right:16px;font-size:12px;color:rgba(255,255,255,.55);
  padding:4px 8px;
}
.ob-emoji{
  font-size:62px;line-height:1;margin-bottom:14px;
  filter:drop-shadow(0 10px 24px rgba(255,92,138,.55));
  animation:obFloat 2.6s ease-in-out infinite;
}
@keyframes obFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.ob-title{font-size:19px;font-weight:900;letter-spacing:.5px;margin-bottom:8px}
.ob-desc{font-size:13px;line-height:1.7;color:rgba(255,255,255,.72);min-height:44px}
.ob-dots{display:flex;justify-content:center;margin:16px 0 18px}
.ob-dots i{
  width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.28);margin:0 4px;
  transition:.25s;
}
.ob-dots i.on{width:20px;border-radius:4px;background:linear-gradient(90deg,#FF5C8A,#C084FC)}
.ob-btn{
  width:100%;height:46px;border:none;border-radius:14px;
  background:linear-gradient(135deg,#FF5C8A,#C084FC);
  color:#fff;font-size:15px;font-weight:800;letter-spacing:1px;
  box-shadow:0 10px 26px rgba(255,92,138,.42);
}
.ob-btn:active{transform:scale(.97)}

/* ==================== 17) 会员尊贵昵称 (财富等级 11-60 递进特效) ====================
   11-20 达人 渐变字 | 21-30 精英 渐变+微光 | 31-40 大师 流光 |
   41-50 王者 黄金流光+强光 | 51-60 神豪 金红流光+皇冠+双层光晕
   Chrome 83: 用 background-clip:text + animation, 不用 gap */
.nmx{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;font-weight:800;letter-spacing:.2px}
.nmx.t2{background:linear-gradient(92deg,var(--nc,#10B981),#fff 55%,var(--nc,#10B981));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.nmx.t3{background:linear-gradient(92deg,var(--nc,#3B82F6),#fff 45%,var(--nc,#3B82F6));background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:nmShine 3.6s linear infinite}
.nmx.t4{background:linear-gradient(92deg,var(--nc,#8B5CF6) 0%,#fff 38%,var(--nc,#8B5CF6) 70%,#fff 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:nmShine 2.8s linear infinite;filter:drop-shadow(0 0 4px var(--nc,#8B5CF6))}
.nmx.t5{background:linear-gradient(92deg,#FFE9A8 0%,#FFB800 30%,#FFF7D6 48%,#FFB800 66%,#FF8A00 100%);background-size:280% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:nmShine 2.2s linear infinite;filter:drop-shadow(0 0 6px rgba(255,184,0,.8))}
.nmx.t6{background:linear-gradient(92deg,#FF3B5C 0%,#FFD84D 22%,#FFF7CC 42%,#FFD84D 62%,#FF3B5C 100%);background-size:320% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:nmShine 1.8s linear infinite;filter:drop-shadow(0 0 7px rgba(255,90,60,.85)) drop-shadow(0 0 14px rgba(255,216,77,.55))}
.nmx.t6:before{content:'👑';margin-right:2px;-webkit-text-fill-color:#FFB800;color:#FFB800}
@keyframes nmShine{0%{background-position:0% 0}100%{background-position:300% 0}}
.nmx-bd{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.5;color:#fff;background:var(--nc,#8B5CF6);vertical-align:2px;white-space:nowrap}
.nmx-bd.t5{background:linear-gradient(90deg,#FFB800,#FF8A00);box-shadow:0 0 8px rgba(255,184,0,.6)}
.nmx-bd.t6{background:linear-gradient(90deg,#FF3B5C,#FFD84D);box-shadow:0 0 10px rgba(255,90,60,.7)}

/* ==================== 18) 昵称/文字布局兜底 (防挤压头像; 配合 8 字昵称限制) ==================== */
.tq-uc-name,.dazi-name,.tq-feed-name,.tq-pf-name,.g-sender-name,.lrow .lt,.lrow .t1,.mlist .mi .t1,.tq-mp-name,.tq-md-name,.sw-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tq-uc-info,.dazi-info,.tq-feed-hd,.lrow .lmain,.lrow .grow,.mlist .mi .grow,.tq-mc-info{min-width:0;flex:1 1 auto}
.avwrap{position:relative;flex:0 0 auto}
.nmx{max-width:100%}

/* ==================== 19) 心动聊天室 (6人匿名房 + 心动特效) ==================== */
.hr-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;margin-bottom:10px}
.hr-seat{position:relative;border-radius:16px;padding:10px 6px 8px;text-align:center;background:#fff;box-shadow:0 4px 14px rgba(255,92,138,.10);border:2px solid transparent;transition:.2s}
.hr-seat.me{border-color:#FF3B5C;background:linear-gradient(180deg,#FFF5F8,#FFF)}
.hr-seat.guest{border-color:#FFC53D;box-shadow:0 0 0 3px rgba(255,197,61,.22),0 6px 18px rgba(255,150,0,.18)}
.hr-seat.empty{background:rgba(255,255,255,.55);box-shadow:none;border:2px dashed #F3C9D6}
.hr-av{width:44px;height:44px;margin:0 auto;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF8FB0,#FF5C8A)}
.hr-av.mask{background:linear-gradient(135deg,#D8DCE6,#AEB4C2)}
.hr-av.empty-av{background:#F4F5F8;color:#C9CDD6;font-weight:400;font-size:22px}
.hr-av img{width:100%;height:100%;object-fit:cover}
.hr-nm{font-size:11.5px;font-weight:800;color:#3A3F4B;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hr-tag{position:absolute;top:6px;right:6px;font-size:9.5px;font-weight:800;color:#FF3B5C;background:#FFE9F0;border-radius:999px;padding:1px 6px;cursor:pointer}
.hr-tag.look{color:#7C3AED;background:#F1E9FF}
.hr-crown{font-size:9.5px;font-weight:900;color:#B77900;margin-top:3px}
.hr-pick{width:100%;margin-top:6px;border:none;border-radius:999px;padding:5px 0;font-size:11px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);box-shadow:0 4px 12px rgba(255,59,92,.3)}
.hr-tip{font-size:11.5px;color:#B4577A;background:#FFF0F5;border-radius:12px;padding:8px 10px;margin-bottom:8px;line-height:1.6}
.hr-chat{height:38vh;min-height:180px;overflow-y:auto;background:#fff;border-radius:16px;padding:10px;box-shadow:inset 0 0 0 1px #FBE3EA}
.hr-msg{display:flex;margin-bottom:8px;font-size:13.5px;line-height:1.5}
.hr-msg.me{justify-content:flex-end}
.hr-from{flex:0 0 auto;font-size:10.5px;font-weight:800;color:#9AA0AC;background:#F4F5F8;border-radius:8px;padding:2px 6px;margin-right:6px;align-self:flex-start}
.hr-msg.me .hr-from{order:2;margin:0 0 0 6px;color:#fff;background:#FFB3C8}
.hr-txt{max-width:76%;background:#F6F7FA;border-radius:12px;padding:7px 10px;color:#2B2F38;word-break:break-word}
.hr-msg.me .hr-txt{background:linear-gradient(135deg,#FF6C96,#FF3B5C);color:#fff}
/* 心动特效: 满屏爱心飘落 */
.heart-fx{position:fixed;left:0;top:0;right:0;bottom:0;pointer-events:none;z-index:9999;overflow:hidden;transition:opacity .9s}
.heart-fx.out{opacity:0}
.heart-fx i{position:absolute;bottom:-40px;animation:heartUp 2.6s ease-in forwards;opacity:.95;text-shadow:0 4px 12px rgba(255,59,92,.45)}
@keyframes heartUp{0%{transform:translateY(0) scale(.7);opacity:0}
15%{opacity:1}
100%{transform:translateY(-105vh) scale(1.15);opacity:0}}


/* ==================== 20) 特效头像装扮 (旋转/脉冲, 不是表情) ==================== */
.frm.fx_aurora,.frm.fx_pulse,.frm.fx_neon,.frm.fx_galaxy,.frm.fx_fire,.frm.fx_rose{background:transparent}
.frm.fx_aurora:before,.frm.fx_pulse:before,.frm.fx_neon:before,.frm.fx_galaxy:before,.frm.fx_fire:before,.frm.fx_rose:before{z-index:0}
.frm.fx_aurora>.av,.frm.fx_pulse>.av,.frm.fx_neon>.av,.frm.fx_galaxy>.av,.frm.fx_fire>.av,.frm.fx_rose>.av{position:relative;z-index:1}
.frm.fx_aurora:before{background:conic-gradient(#00e5ff,#7c4dff,#ff4dd2,#00e5ff);animation:fxSpin 4s linear infinite}
.frm.fx_pulse:before{background:conic-gradient(#ff3b5c,#ff9ab0,#ff3b5c,#ffd0dc,#ff3b5c);animation:fxSpin 3s linear infinite}
.frm.fx_pulse{animation:fxBeat 1.5s ease-in-out infinite}
.frm.fx_neon:before{background:conic-gradient(#00ffd0,#00a3ff,#a000ff,#00ffd0);animation:fxSpin 2.2s linear infinite}
.frm.fx_neon{box-shadow:0 0 10px rgba(0,255,208,.6),0 0 22px rgba(160,0,255,.35)}
.frm.fx_galaxy:before{background:conic-gradient(#2b0a3d,#6a00ff,#00d0ff,#ff00c8,#2b0a3d);animation:fxSpin 7s linear infinite}
.frm.fx_galaxy{box-shadow:0 0 14px rgba(120,0,255,.55)}
.frm.fx_fire:before{background:conic-gradient(#ff2d00,#ff8a00,#ffd200,#ff2d00);animation:fxSpin 1.6s linear infinite}
.frm.fx_fire{box-shadow:0 0 12px rgba(255,90,0,.75)}
.frm.fx_rose:before{background:conic-gradient(#ff4d6d,#ffb3c1,#ff4d6d,#ffe3e9,#ff4d6d);animation:fxSpin 3.4s linear infinite}
@keyframes fxSpin{to{transform:rotate(360deg)}}
@keyframes fxBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.ad-preview{display:flex;justify-content:center;padding:16px 0 8px}
.ad-tip{text-align:center;font-size:12px;color:#9AA0AC;margin-bottom:14px}
.ad-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px}
.ad-item{background:#fff;border-radius:16px;padding:12px 6px;text-align:center;border:2px solid transparent;box-shadow:0 4px 14px rgba(255,92,138,.08)}
.ad-item.on{border-color:#FF3B5C;background:#FFF5F8;box-shadow:0 6px 18px rgba(255,59,92,.18)}
.ad-av{display:flex;justify-content:center}
.ad-nm{font-size:11px;font-weight:800;color:#3A3F4B;margin-top:8px}


/* ==================== 21) 搭子页面 ==================== */
.dz-bar{display:flex;align-items:center;padding:2px 2px 10px}
.dz-my{flex:0 0 auto;border:none;border-radius:999px;padding:8px 14px;font-size:12.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#A855F7);box-shadow:0 4px 12px rgba(168,85,247,.28)}
.dz-filter{margin-left:8px;flex:0 0 auto;border:1px solid #F1D7E0;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;color:#B4577A;background:#fff}
.dz-filter.on{background:#FFF0F5;border-color:#FF9DB8;color:#FF3B5C}
.dz-types{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px}
.dz-type{border:1.5px solid #F2E8ED;border-radius:14px;padding:10px;background:#fff}
.dz-type.on{border-color:#FF3B5C;background:#FFF5F8;box-shadow:0 4px 14px rgba(255,59,92,.15)}
.dz-type b{display:block;font-size:13px;color:#2B2F38}
.dz-type span{display:block;font-size:11px;color:#9AA0AC;margin-top:3px}
.dz-hobbies{display:flex;flex-wrap:wrap}
.dz-hb{display:inline-block;margin:0 7px 7px 0;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:800;color:#7A5566;background:#F7F4F6;border:1.5px solid transparent}
.dz-hb.on{color:#fff;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);box-shadow:0 4px 12px rgba(255,59,92,.25)}
.dz-chips{display:flex;flex-wrap:wrap;margin-top:5px}
.dz-chip{display:inline-block;margin:0 6px 5px 0;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:800;color:#8A5B72;background:#FFF1F5;border:1px solid #FFE0EA}
.dz-mt{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:10.5px;font-weight:900;color:#fff;background:linear-gradient(90deg,#FF9A3C,#FF5C8A)}


/* ==================== 22) Chrome 83 兼容: aspect-ratio 全部降级为 padding-top ==================== */
.pf-ph,.tq-feed-imgs.two .tq-feed-img,.tq-feed-imgs.three .tq-feed-img,.tq-post-sq,.m-imgs .m-img,.tq-feed-img{position:relative;padding-top:100%;height:auto;max-height:none;aspect-ratio:auto}
.pf-ph>img,.tq-feed-imgs .tq-feed-img>img,.tq-post-sq>img,.m-imgs .m-img>img,.tq-feed-img>img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;display:block}
.pf-add{min-height:96px;aspect-ratio:auto;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center}

/* ==================== 23) 广场: 朋友圈式排版 (Chrome83 无 flex gap -> 用 margin) ==================== */
.tq-feed{padding:0 0 88px;background:#F5F6F8}
.tq-feed-item{background:#fff;border-radius:0;padding:14px 16px 12px;margin:0;box-shadow:none;border-bottom:1px solid #F1F2F5}
.tq-feed-hd{display:flex;align-items:flex-start;margin-bottom:7px}
.tq-feed-av{flex:0 0 auto;margin-right:10px;cursor:pointer}
.tq-feed-name{flex:1 1 auto;min-width:0;font-size:15px;font-weight:800;color:#4A5C7A;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.tq-feed-name .tq-rm{margin-left:6px}
.tq-feed-txt{font-size:15px;color:#1A1D26;line-height:1.62;margin-bottom:8px;word-break:break-word;white-space:pre-wrap}
.tq-feed-imgs{display:grid;grid-gap:4px;margin-bottom:8px}
.tq-feed-imgs.two{grid-template-columns:1fr 1fr}
.tq-feed-imgs.three{grid-template-columns:repeat(3,1fr)}
.tq-feed-img{border-radius:6px;overflow:hidden;background:#F1F3F8}
.tq-feed-img.one{padding-top:72%;width:100%}
.tq-feed-loc{display:inline-block;font-size:12px;color:#7A8AA0;background:#F5F7FA;border-radius:6px;padding:3px 8px;margin-bottom:8px}
.tq-feed-ft{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #F3F4F7;padding-top:9px;margin-top:2px}
.tq-feed-dist{font-size:11.5px;color:#A0A6B4;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tq-feed-act{display:inline-flex;align-items:center;font-size:12.5px;font-weight:700;color:#7A8296;background:#F6F7FA;border-radius:999px;padding:4px 10px;margin-left:8px}
.tq-feed-act.on{color:#FF3B5C;background:#FFEDF2}
.tq-feed .tq-dacha.sm{display:none}
.tq-feed-item .tq-more{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.45);color:#fff;font-size:12px;font-weight:800;border-radius:8px;padding:1px 7px}

/* 全局细节打磨 */
.panel{box-shadow:0 2px 10px rgba(20,21,26,.045)}
.tabbar{box-shadow:0 -6px 18px rgba(255,92,138,.06)}
.tq-ucard,.dazi-card{transition:transform .14s ease,box-shadow .14s ease}
.tq-ucard:active,.dazi-card:active{transform:scale(.985);box-shadow:0 2px 8px rgba(20,21,26,.06)}
.empty{color:#A7ACB8}


/* ==================== 24) 新人限时礼包弹窗 ==================== */
.nb-mask{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(24,10,20,.55);z-index:99999;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s}
.nb-mask.in{opacity:1}
.nb-card{position:relative;width:302px;border-radius:24px;padding:26px 20px 16px;text-align:center;background:linear-gradient(170deg,#FFF7E8,#FFE8F0 55%,#FFF);box-shadow:0 24px 60px rgba(120,20,60,.35);transform:scale(.9);transition:transform .3s cubic-bezier(.2,1.3,.5,1);overflow:hidden}
.nb-mask.in .nb-card{transform:scale(1)}
.nb-badge{position:absolute;left:0;top:0;background:linear-gradient(90deg,#FF3B5C,#FF9A3C);color:#fff;font-size:11px;font-weight:900;padding:5px 14px;border-bottom-right-radius:14px;letter-spacing:.5px}
.nb-coin{font-size:54px;line-height:1;margin:14px 0 6px;animation:nbFloat 2.2s ease-in-out infinite}
@keyframes nbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.nb-title{font-size:18px;font-weight:900;color:#8A2B4A}
.nb-amount{margin-top:4px;font-size:15px;color:#B4577A;font-weight:800}
.nb-amount b{font-size:46px;font-weight:900;background:linear-gradient(180deg,#FFB800,#FF3B5C);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;vertical-align:-4px;margin-right:2px}
.nb-sub{font-size:11.5px;color:#A08A94;margin-top:8px}
.nb-left{margin-top:12px;font-size:12.5px;font-weight:800;color:#FF3B5C;background:#FFF1F5;border-radius:999px;padding:5px 14px;display:inline-block}
.nb-btn{margin-top:16px;width:100%;height:48px;border:none;border-radius:999px;font-size:16px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);box-shadow:0 10px 24px rgba(255,59,92,.35)}
.nb-btn.done{background:linear-gradient(135deg,#34D399,#10B981);box-shadow:0 10px 24px rgba(16,185,129,.3)}
.nb-close{margin-top:8px;font-size:12px;color:#B0A0A8;padding:8px;cursor:pointer}
.nb-glow{position:absolute;width:240px;height:240px;left:50%;top:-70px;margin-left:-120px;background:radial-gradient(circle,rgba(255,184,0,.45),transparent 70%);animation:nbGlow 3s ease-in-out infinite;pointer-events:none}
@keyframes nbGlow{0%,100%{opacity:.45;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
.nb-card.got{animation:nbPop .5s ease}
@keyframes nbPop{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}


/* ==================== 25) 修复点击出现方框 (tap highlight / focus outline) ==================== */
*{ -webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: rgba(0,0,0,0) }
button, a, div, span, li, .tq-ucard, .dazi-card, .panel, .tq-feed-item, .r-tier, .pk-card, .ad-item, .dz-hb, .dz-type{
  outline: none !important; -webkit-user-select: none; user-select: none;
}
button:focus, a:focus, div:focus, span:focus{ outline: none !important; box-shadow: none }
/* 输入框保留可见焦点，但用边框代替系统方框 */
input:focus, textarea:focus, select:focus{
  outline: none !important; border-color: #FF3B5C !important; box-shadow: 0 0 0 3px rgba(255,59,92,.10) !important;
}

/* ==================== 26) 心形头像 (浪漫卡片风) ==================== */
/* SVG clipPath 引用 (index.html 内联了 #heartClip)，Chrome 83 支持 url(#id) */
.av-heart{ position: relative; display: inline-block }
.av-heart > .av,
.av-heart > .frm{
  -webkit-clip-path: url(#heartClip);
  clip-path: url(#heartClip);
}
/* 心形描边光晕 */
.av-heart::after{
  content: ''; position: absolute; left: -4px; top: -4px; right: -4px; bottom: -4px;
  -webkit-clip-path: url(#heartClip); clip-path: url(#heartClip);
  background: linear-gradient(135deg, rgba(255,92,138,.55), rgba(255,59,92,.15) 60%, transparent);
  z-index: -1; filter: blur(1px); pointer-events: none;
}
.tq-ucard .tq-uc-av, .dazi-card .dazi-av{ position: relative }
/* 卡片右侧小心心水印，营造浪漫感 */
.tq-ucard::after, .dazi-card::after{
  content: '❤'; position: absolute; right: 8px; bottom: -6px; font-size: 58px; line-height: 1;
  color: rgba(255,92,138,.10); pointer-events: none;
}
.tq-ucard, .dazi-card{ position: relative; overflow: hidden }

/* ==================== 27) 文字/头像对齐兜底 ==================== */
.tq-ucard, .dazi-card{ display: flex; align-items: center }
.tq-ucard > .tq-uc-av, .dazi-card > .dazi-av{ flex: 0 0 auto; margin-right: 12px }
.tq-uc-info, .dazi-info{ flex: 1 1 auto; min-width: 0 }
.tq-uc-name, .dazi-name{ display: flex; align-items: center; min-width: 0; overflow: hidden }
.tq-uc-name > span, .dazi-name > span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tq-uc-meta, .dazi-meta{ margin-top: 2px; color: #8A8F9C; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tq-uc-bio, .dazi-desc{ margin-top: 4px; color: #9AA0AC; font-size: 12px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
/* 贵族/等级标签不许压住名字 */
.tq-rm, .nmx-bd, .wlv, .dz-mt{ flex: 0 0 auto; margin-left: 6px; white-space: nowrap }
.tq-ucard .tq-dacha, .dazi-card .tq-dacha{ flex: 0 0 auto; margin-left: 10px }


/* ==================== 28) 流光字体 (乐币开通) ==================== */
.fxf{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;
  font-weight:800;background-size:300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  animation:fxfMove 3.2s linear infinite}
@keyframes fxfMove{0%{background-position:0% 0}100%{background-position:300% 0}}
.fxf.flow-gold{background-image:linear-gradient(92deg,#FFE9A8,#FFB800,#FFF7D6,#FF8A00,#FFE9A8)}
.fxf.flow-pink{background-image:linear-gradient(92deg,#FFC2D4,#FF5C8A,#FFF0F5,#FF3B5C,#FFC2D4)}
.fxf.flow-ocean{background-image:linear-gradient(92deg,#9BE7FF,#2196F3,#E1F5FE,#00BCD4,#9BE7FF)}
.fxf.flow-rainbow{background-image:linear-gradient(92deg,#FF3B5C,#FFB800,#34D399,#00BCD4,#A855F7,#FF3B5C);animation-duration:2.6s}
.fxf.flow-neon{background-image:linear-gradient(92deg,#00FFD0,#00A3FF,#A000FF,#00FFD0);animation-duration:1.8s}
.fxf.flow-blood{background-image:linear-gradient(92deg,#4A0000,#FF2D2D,#FF8A8A,#FF2D2D,#4A0000);animation-duration:2.4s}
.fxf.flow-galaxy{background-image:linear-gradient(92deg,#2B0A3D,#6A00FF,#00D0FF,#FF00C8,#2B0A3D);animation-duration:5s}
.fxf.flow-ice{background-image:linear-gradient(92deg,#D9F6FF,#7AD7F0,#FFFFFF,#A8E6FF,#D9F6FF);animation-duration:4s}

/* ==================== 29) 全屏播报 ==================== */
.bc-full{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99998;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 40%,rgba(60,10,40,.88),rgba(10,5,15,.95));opacity:0;transition:opacity .35s}
.bc-full.in{opacity:1}
.bc-card{width:82%;max-width:360px;text-align:center;animation:bcPop .55s cubic-bezier(.2,1.4,.5,1)}
@keyframes bcPop{0%{transform:scale(.7);opacity:0}100%{transform:scale(1);opacity:1}}
.bc-ic{font-size:74px;line-height:1;animation:bcFloat 2s ease-in-out infinite;filter:drop-shadow(0 8px 24px rgba(255,180,0,.6))}
@keyframes bcFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-10px) scale(1.06)}}
.bc-t1{font-size:15px;color:#FFE9A8;font-weight:800;margin-top:10px;letter-spacing:2px}
.bc-t2{font-size:26px;font-weight:900;margin-top:6px}
.bc-t3{font-size:13px;color:#FFC2D4;margin-top:10px;line-height:1.6}
.bc-rays{position:absolute;left:50%;top:50%;width:520px;height:520px;margin:-260px 0 0 -260px;
  background:conic-gradient(from 0deg,rgba(255,215,0,.20),transparent 25%,rgba(255,59,92,.20) 50%,transparent 75%,rgba(255,215,0,.20));
  border-radius:50%;animation:bcSpin 9s linear infinite;pointer-events:none;filter:blur(12px)}
@keyframes bcSpin{to{transform:rotate(360deg)}}

/* 字体选择页 */
.fx-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;margin-top:12px}
.fx-item{background:#fff;border:2px solid #F3E4EA;border-radius:14px;padding:14px 10px;text-align:center}
.fx-item.on{border-color:#FF3B5C;background:#FFF5F8}
.fx-item.lock{opacity:.62}
.fx-nm{font-size:19px;font-weight:900;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-price{font-size:11.5px;color:#B4577A;font-weight:800}
.fx-own{font-size:11px;color:#10B981;font-weight:800}


/* ==================== 30) 全站横向滚动修复（装饰元素出界） ==================== */
html, body{ overflow-x: hidden; max-width: 100% }
#app, .sbody, .main, .tq-feed, .tabbar{ max-width: 100% }
/* 我的页顶部装饰：裁在容器内 */
.mine-head, .mh, .profile-hd { overflow: hidden }
/* 头像上的等级徽章：往下压一点，少压脸 */
.avwrap > .wlv, .avwrap > .nb{ bottom: -3px !important; left: -3px !important }


/* ==================== 31) 修复审计发现的真实溢出 ==================== */
/* 个人主页礼物墙: 改成横向滚动，不再溢出视口 */
.pf2-gifts{ display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px }
.pf2-gifts .g{ flex: 0 0 auto; width: 96px; margin-right: 10px }
.pf2-gifts .g:last-child{ margin-right: 0 }
/* 底部/消息角标: 容纳 "99+" */
.tabbar .n, .tabbar .unread-dot, .unread-dot.n{ min-width: 20px; padding: 0 5px; box-sizing: border-box;
  text-align: center; font-size: 10px; line-height: 16px; height: 16px; border-radius: 9px }


/* 99+ 角标再放宽一点 */
.tabbar .n, .unread-dot.n{ min-width: 24px !important; padding: 0 6px !important; font-size: 9.5px !important }


/* ==================== 32) 最后修两个真实溢出 ==================== */
/* 99+ 角标（真实类名是 .dot） */
.dot{ min-width: 22px !important; padding: 0 5px !important; font-size: 9.5px !important;
      box-sizing: border-box !important; text-align: center !important }
/* 个人主页礼物墙：强制横向滚动 */
.pf2-gifts{ display: flex !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
            flex-wrap: nowrap !important; padding-bottom: 8px !important }
.pf2-gifts > *{ flex: 0 0 auto !important; margin-right: 10px !important }
.pf2-gifts > *:last-child{ margin-right: 0 !important }


/* ==================== 33) 充值处理中横幅 ==================== */
.pend-card{ display: flex; align-items: center; background: linear-gradient(135deg,#FFF3E6,#FFE9F2);
  border: 1.5px solid #FFD0A8; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(255,150,60,.15) }
.pend-ic{ font-size: 24px; margin-right: 10px; flex: 0 0 auto; animation: pendPulse 1.6s ease-in-out infinite }
@keyframes pendPulse{ 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
.pend-main{ flex: 1 1 auto; min-width: 0 }
.pend-t{ font-size: 14px; font-weight: 900; color: #B45309 }
.pend-s{ font-size: 11.5px; color: #9A6B33; margin-top: 3px; line-height: 1.5 }
.pend-s b{ color: #FF3B5C }
.pend-btn{ flex: 0 0 auto; border: none; background: linear-gradient(135deg,#FF9A3C,#FF5C8A); color: #fff;
  font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 999px; margin-left: 10px }


/* ==================== 34) 座驾/神宠 横幅播报 ==================== */
.entry-banner{position:fixed;left:10px;right:10px;top:-90px;z-index:99999;display:flex;align-items:center;
  padding:11px 14px;border-radius:16px;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,240,200,.97),rgba(255,225,240,.97));
  box-shadow:0 10px 30px rgba(180,80,40,.28);border:1.5px solid rgba(255,190,120,.9);
  transition:top .45s cubic-bezier(.2,1.2,.4,1)}
.entry-banner.in{top:12px}
.entry-banner.tier-high{background:linear-gradient(100deg,rgba(255,235,180,.98),rgba(255,200,230,.98));box-shadow:0 12px 34px rgba(200,90,20,.34)}
.entry-banner.tier-epic{background:linear-gradient(100deg,rgba(255,225,150,.99),rgba(255,170,200,.99));box-shadow:0 14px 40px rgba(220,60,30,.4);border-color:#FFB347}
.eb-ic{font-size:22px;margin-right:9px;flex:0 0 auto;animation:ebBounce 1.1s ease-in-out infinite}
@keyframes ebBounce{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-3px) rotate(4deg)}}
.eb-txt{flex:1 1 auto;min-width:0;font-size:13.5px;color:#7A3B10;font-weight:800;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eb-txt b{color:#D9480F}
.eb-tag{flex:0 0 auto;font-size:10.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF9A3C,#FF3B5C);
  border-radius:999px;padding:3px 9px;margin-left:8px}

/* ==================== 35) 聊天：座驾/神宠标签与名字同行 ==================== */
.cbody{display:flex;flex-wrap:wrap;align-items:center}
.cbody .g-sender-name{display:inline-block;margin-right:6px;max-width:60%}
.cbody .msg-fx{display:inline-block;margin:0}
.cbody > .cbub, .cbody > .msg-fx + .cbub{flex-basis:100%;width:100%;margin-top:4px}
.msg-fx{font-size:10.5px;font-weight:800;color:#B45309;background:linear-gradient(135deg,#FFF3D6,#FFE0B2);
  border:1px solid #FFD59A;border-radius:999px;padding:2px 8px;white-space:nowrap;line-height:1.5}


/* ==================== 36) 个人主页操作菜单：按钮化 ==================== */
.um-title{font-size:13px;font-weight:900;color:#8A8F9C;margin:2px 2px 12px}
.um-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px}
.um-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#F7F8FA;border:1.5px solid #EDEFF4;border-radius:16px;padding:15px 8px;
  min-height:78px;transition:transform .12s ease,box-shadow .12s ease}
.um-btn:active{transform:scale(.96);box-shadow:0 4px 14px rgba(0,0,0,.06)}
.um-ic{font-size:22px;line-height:1}
.um-tx{font-size:13px;font-weight:900;color:#3A3F52;margin-top:7px}
.um-sub{font-size:10px;color:#B4577A;margin-top:2px}
.um-primary{background:linear-gradient(135deg,#FFF0F5,#FFE3EC);border-color:#FFC6D8}
.um-primary .um-tx{color:#E8436B}
.um-gold{background:linear-gradient(135deg,#FFF8E6,#FFEFC7);border-color:#FFD98A}
.um-gold .um-tx{color:#B77900}
.um-danger .um-tx{color:#C2410C}
.um-danger{background:#FFF7F5;border-color:#FFD9CE}


/* ==================== 37) 个人主页点赞按钮 ==================== */
.pf2-like{display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-width:62px;height:44px;padding:0 12px;margin-right:8px;border-radius:22px;
  background:#FFF0F5;border:1.5px solid #FFD3E1;color:#E8436B;font-weight:900;transition:transform .15s}
.pf2-like .lk-ic{font-size:17px;margin-right:5px;filter:grayscale(1);opacity:.72;transition:.2s}
.pf2-like .lk-n{font-size:13px}
.pf2-like.on{background:linear-gradient(135deg,#FFE3EC,#FFD1DF);border-color:#FF9DB8;color:#D62A52}
.pf2-like.on .lk-ic{filter:none;opacity:1}
.pf2-like.pop{animation:lkPop .55s cubic-bezier(.2,1.6,.4,1)}
@keyframes lkPop{0%{transform:scale(1)}45%{transform:scale(1.18)}100%{transform:scale(1)}}

/* ==================== 38) 编辑资料页：紧凑重排 ==================== */
.pf2-ed{margin-bottom:10px}
.pf2-ed .lb{font-size:12px;font-weight:800;color:#8A8F9C;margin-bottom:5px;display:flex;justify-content:space-between;align-items:center}
.pf2-ed .lb .r{font-size:10.5px;color:#B9BDC7;font-weight:600}
.pf2-ed .ipt, .pf2-ed textarea{width:100%;box-sizing:border-box;background:#F7F8FA;border:1.5px solid #EDEFF4;
  border-radius:12px;padding:11px 12px;font-size:14px;color:#1A1D26;transition:.18s}
.pf2-ed .ipt:focus, .pf2-ed textarea:focus{border-color:#FF9DB8;background:#fff;box-shadow:0 0 0 3px rgba(255,59,92,.08)}
.pf2-ed .ipt{height:44px}
.pf2-ed textarea{padding:10px 12px;line-height:1.6;resize:none}
/* 两列紧凑布局 */
.ed-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px}
.ed-grid .pf2-ed{margin-bottom:0}
.ed-card{background:#fff;border-radius:16px;padding:13px 14px;margin-top:12px;box-shadow:0 2px 10px rgba(20,21,26,.045)}
.ed-card-hd{display:flex;align-items:center;margin-bottom:11px}
.ed-card-hd .ic{width:26px;height:26px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  font-size:14px;margin-right:8px;background:linear-gradient(135deg,#FFE3EC,#FFD1DF)}
.ed-card-hd b{font-size:14.5px;font-weight:900;color:#1A1D26}

/* ==================== 39) 我的页：更精致 ==================== */
.mine-stat{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1px;background:#EEF0F5;
  border-radius:14px;overflow:hidden;margin-top:12px}
.mine-stat > div{background:#fff;padding:13px 6px;text-align:center}
.mine-stat .v{font-size:18px;font-weight:900;color:#1A1D26;line-height:1.2}
.mine-stat .k{font-size:11px;color:#9AA0AC;margin-top:4px}
.mine-menu{background:#fff;border-radius:16px;margin-top:12px;overflow:hidden;box-shadow:0 2px 10px rgba(20,21,26,.045)}
.mine-menu .row{display:flex;align-items:center;padding:14px 15px;border-bottom:1px solid #F3F4F7}
.mine-menu .row:last-child{border-bottom:none}
.mine-menu .row:active{background:#FAFBFC}
.mine-menu .ic{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  font-size:17px;margin-right:11px;flex:0 0 auto}
.mine-menu .tx{flex:1 1 auto;min-width:0}
.mine-menu .tt{font-size:14.5px;font-weight:800;color:#1A1D26}
.mine-menu .ts{font-size:11.5px;color:#9AA0AC;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mine-menu .ar{flex:0 0 auto;color:#C6CAD2;font-size:16px;margin-left:6px}
.mine-menu .badge{flex:0 0 auto;background:#FF3B5C;color:#fff;font-size:10px;font-weight:900;
  border-radius:999px;padding:1px 7px;margin-right:6px}


/* ==================== 40) 我的页：菜单卡片紧凑化 ==================== */
.panel[data-act]{ display: flex; align-items: center; margin-top: 8px !important;
  padding: 13px 15px !important; border-radius: 14px !important }
.panel[data-act] > b{ font-size: 14.5px; font-weight: 800; color: #1A1D26; flex: 0 0 auto }
.panel[data-act] > span{ margin-left: 8px; font-size: 11.5px !important; color: #9AA0AC !important;
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.panel[data-act]::after{ content: '›'; margin-left: auto; padding-left: 8px; color: #C6CAD2; font-size: 17px; flex: 0 0 auto }

/* 编辑资料页：整体更紧凑 */
.sbody .panel:has(.pf2-ed){ padding: 13px 14px !important }
.pf2-ed{ margin-bottom: 9px !important }
.pf2-ed:last-child{ margin-bottom: 0 !important }


/* ==================== 41) 编辑资料页：干掉多余的 16px 内边距 ==================== */
.pf2-ed{ padding: 0 !important; margin: 0 0 12px 0 !important; border: none !important; background: none !important }
.pf2-ed:last-child{ margin-bottom: 0 !important }
.pf2-ed .lb{ margin-bottom: 6px !important; font-size: 12.5px !important }
.pf2-ed .ipt{ height: 44px; border-radius: 12px }
.pf2-ed textarea.ipt{ height: auto; min-height: 88px }
/* 两列 */
.pf2-ed.half{ width: calc(50% - 5px); display: inline-block; vertical-align: top }
.pf2-ed.half + .pf2-ed.half{ margin-left: 10px !important }


/* ==================== 42) 聊天页顶部信息条 (他趣式) ==================== */
.chat-shead{ align-items: center !important; padding-top: 8px !important; padding-bottom: 8px !important }
.chat-hd-av{ flex: 0 0 auto; margin-right: 9px; position: relative; cursor: pointer }
.chat-hd-av .av{ border: 2px solid #fff; box-shadow: 0 3px 10px rgba(255,92,138,.22) }
.st-col{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column }
.st-row{ display: flex; align-items: center; min-width: 0 }
.chat-nm{ font-size: 15.5px; font-weight: 900; color: #1A1D26; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 58% }
.chat-hd-sub{ font-size: 11px; color: #9AA0AC; margin-top: 2px; display: flex; align-items: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.chat-hd-sub .hd-on{ display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; margin-right: 5px; box-shadow: 0 0 0 3px rgba(52,211,153,.18) }
.chat-hd-sub .hd-sep{ margin: 0 5px; color: #C6CAD2 }
.chat-add-friend{ flex: 0 0 auto; margin-left: auto; background: linear-gradient(135deg,#FF5C8A,#FF3B5C);
  color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,59,92,.28) }


/* 在线小绿点独立显示 */
.chat-hd-sub .hd-on{ display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; margin-right: 5px; box-shadow: 0 0 0 3px rgba(52,211,153,.18); vertical-align: middle }


/* 聊天气泡内: 时间/名字/标签一行，气泡独占下一行 */
.cbody > .tmt{ flex: 0 0 auto; margin-right: 6px }
.cbody > .chat-other-name{ flex: 0 0 auto; margin-right: 6px; display: inline-block }
.cbody > .gift-msg, .cbody > .loc-bub, .cbody > .heart-bub{ flex-basis: 100%; width: 100% }
.cbody > .msg-read{ flex-basis: 100%; }


/* 强制视觉顺序: 时间 → 名字 → 座驾标签 → 气泡 */
.cbody{ display: flex !important; flex-wrap: wrap; align-items: center }
.cbody > .tmt{ order: 1; flex: 0 0 auto; margin-right: 6px }
.cbody > .chat-other-name{ order: 2; flex: 0 0 auto; margin-right: 6px }
.cbody > .g-sender-name{ order: 2; flex: 0 0 auto; margin-right: 6px }
.cbody > .msg-fx{ order: 3; flex: 0 0 auto }
.cbody > .cbub, .cbody > .gift-msg, .cbody > .loc-bub, .cbody > .heart-bub, .cbody > .quote-bub{ order: 9; flex-basis: 100%; width: 100% }
.cbody > .msg-read{ order: 10; flex-basis: 100% }


/* ==================== 43) 穿模/遮挡修复 ==================== */
/* 图四: 我的页标签压住头像 —— 标签容器让出空间 */
.mine-info{ padding-right: 4px }
.mine-row{ align-items: flex-start !important }
.mine-av{ margin-top: 2px }
/* 标签行不许溢出到头像区域 */
.mine-info > div[style*="flex-wrap"]{ max-width: 100%; overflow: hidden }
/* 图九: 心形头像白底盖名字 —— 去掉白底，只保留描边 */
.av-heart{ background: transparent !important }
.av-heart > .av{ background-clip: padding-box }
/* 图六: 座驾/神宠称号压贵族称号 —— 箭头/标签换行 */
.avwrap{ display: inline-flex; flex-direction: column; align-items: center }
.avwrap > .wlv, .avwrap > .nb{ margin-top: 2px; position: static !important }
/* 图七/图八: 去掉竖排大爱心与左下角装饰 */
.mine-hd > div[style*="font-size:90px"], .mine-hd > div[style*="font-size:70px"]{ display: none !important }
/* 聊天气泡里的座驾标签：小一点，不抢戏 */
.msg-fx{ font-size: 10px !important; padding: 1px 7px !important; opacity: .92 }

/* ==================== 44) 聊天页头部不挤 ==================== */
.chat-shead{ padding-right: 10px !important }
.chat-shead .up-unread{ position: static !important; margin-left: 8px !important; flex: 0 0 auto }
.chat-shead .st-col{ padding-right: 4px }
.chat-add-friend{ margin-left: 8px !important; white-space: nowrap }

/* ==================== 45) 钱包区更协调 ==================== */
.panel .wallet-row{ display: flex; align-items: center }
.panel .wallet-row .btn{ flex: 1 1 auto }


/* ==================== 46) VIP 页 / 钱包明细 ==================== */
.vip-hero{ text-align: center; padding: 28px 20px 22px;
  background: linear-gradient(160deg,#FFF6E0,#FFE9C7 55%,#FFDFF0) }
.vip-crown{ font-size: 62px; line-height: 1; animation: vipFloat 2.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(255,170,40,.55)) }
@keyframes vipFloat{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.vip-title{ font-size: 22px; font-weight: 900; color: #8A4A00; margin-top: 12px }
.vip-sub{ font-size: 12.5px; color: #B07A3A; margin-top: 6px }
.vip-price{ margin-top: 14px; font-size: 13px; color: #8A4A00 }
.vip-price b{ font-size: 40px; font-weight: 900; color: #FF6A00 }
.vip-price span{ margin-left: 2px }
.vip-list{ padding: 6px 16px 0 }
.vip-item{ display: flex; align-items: center; background: #fff; border-radius: 14px;
  padding: 13px 14px; margin-top: 10px; box-shadow: 0 2px 10px rgba(20,21,26,.045) }
.vip-item .vi-ic{ width: 36px; height: 36px; border-radius: 12px; flex: 0 0 auto; margin-right: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: linear-gradient(135deg,#FFF1D0,#FFE0B2) }
.vip-item .vi-tx{ flex: 1 1 auto; min-width: 0 }
.vip-item .vi-t{ font-size: 14.5px; font-weight: 900; color: #1A1D26 }
.vip-item .vi-s{ font-size: 11.5px; color: #9AA0AC; margin-top: 2px }

.wd-row{ display: flex; align-items: center; padding: 13px 0; border-bottom: 1px solid #F3F4F7 }
.wd-row:last-child{ border-bottom: none }
.wd-ic{ width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; margin-right: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900 }
.wd-ic.in{ background: #E8F8F0; color: #10B981 }
.wd-ic.out{ background: #FFF0F5; color: #FF3B5C }
.wd-main{ flex: 1 1 auto; min-width: 0 }
.wd-t{ font-size: 14px; font-weight: 800; color: #1A1D26 }
.wd-s{ font-size: 11.5px; color: #9AA0AC; margin-top: 2px }
.wd-amt{ flex: 0 0 auto; font-size: 15px; font-weight: 900 }
.wd-amt.in{ color: #10B981 }
.wd-amt.out{ color: #FF3B5C }

/* 我的页里的提现/明细按钮隐藏（已移到设置） */
.panel > div > button[data-act="withdraw"], .panel > div > button[data-act="wallet"]{ display: none !important }


/* ==================== 47) VIP 流光标（头像右下角） ==================== */
.av-vip{ position: absolute; right: -4px; bottom: -2px; z-index: 3;
  font-size: 9px; font-weight: 900; letter-spacing: .3px; color: #7A3B00;
  padding: 1px 6px; border-radius: 999px; border: 1.5px solid #fff;
  background: linear-gradient(92deg,#FFE9A8,#FFB800,#FFF7D6,#FF8A00,#FFE9A8);
  background-size: 300% 100%; animation: avVipFlow 2.4s linear infinite;
  box-shadow: 0 2px 8px rgba(255,150,0,.45); white-space: nowrap }
@keyframes avVipFlow{ 0%{background-position:0% 0} 100%{background-position:300% 0} }
.avwrap{ position: relative }


/* ==================== 48) 免费聊天卡：异性心形卡 ==================== */
.fc-cards{ display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; padding: 4px 2px 2px }
.fc-card{ background: #fff; border-radius: 18px; padding: 14px 10px 12px; text-align: center;
  box-shadow: 0 6px 18px rgba(255,92,138,.12); transition: transform .15s ease }
.fc-card:active{ transform: scale(.96) }
/* 心形头像 */
.fc-heart .fc-hav{ width: 76px; height: 76px; margin: 0 auto; overflow: hidden;
  border-radius: 50% 50% 0 50%; transform: rotate(-45deg); background: #FFF0F5;
  box-shadow: 0 6px 18px rgba(255,59,92,.25); position: relative }
.fc-heart .fc-hav > *{ transform: rotate(45deg) scale(1.42); display: block; width: 100%; height: 100% }
.fc-heart .fc-hav img{ object-fit: cover }
.fc-hname{ font-size: 14.5px; font-weight: 900; color: #1A1D26; margin-top: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.fc-hmeta{ font-size: 11.5px; color: #9AA0AC; margin-top: 3px }
.fc-hheart{ position: absolute; right: 10px; top: 10px; font-size: 13px; color: #FF3B5C; opacity: .5 }
.fc-card{ position: relative }


/* ==================== 49) 全站头像穿模/白底/红心水印 修复 ==================== */
/* 1) 去掉卡片上的大红心水印（它盖住了「搭讪」按钮） */
.tq-ucard::after, .dazi-card::after, .tq-feed-item::after{ content: none !important; display: none !important }
/* 2) 心形头像不再有白色底/白圈 */
.av-heart{ background: transparent !important }
.av-heart::after{ display: none !important }
.av-heart > .av, .av-heart > .frm{ background: transparent !important; box-shadow: none !important; border: none !important }
.av-heart > .av > img{ display: block }
/* 3) 头像本体：无白底、无内边距 */
.av{ background: transparent !important; border: none !important; padding: 0 !important }
.av > img{ border-radius: inherit }
/* 4) 头像容器不要溢出盖住名字 */
.tq-uc-av, .dazi-av, .sw-av, .chat-hd-av{ overflow: visible; flex: 0 0 auto }
/* 5) 匹配卡头像：去掉外层白圈 */
.sw-av .av, .sw-bd .av{ background: transparent !important; border: none !important }
/* 6) 保证头像不压名字（文字永远在上面） */
.tq-uc-name, .dazi-name, .sw-name, .sw-nm2, .chat-nm{ position: relative; z-index: 2 }


/* ==================== 50) 残留红心 + 名字后的白框 修复 ==================== */
/* 彻底干掉所有卡片上的心形伪元素（多写几种选择器兜底） */
.tq-ucard::after, .tq-ucard::before,
.dazi-card::after, .dazi-card::before,
.tq-ucard .tq-uc-info::after, .tq-ucard .tq-uc-info::before{ content: none !important; display: none !important; background: none !important }

/* 「实名」徽章：之前是白字白底看不见，改成蓝色小标签 */
.tq-rm{
  display: inline-block !important;
  color: #fff !important;
  background: linear-gradient(135deg,#5B9BFF,#2F6FD0) !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  padding: 1px 6px !important;
  border-radius: 6px !important;
  margin-left: 5px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}
/* 空徽章不占位 */
.tq-rm:empty, .wlv:empty, .nmx-bd:empty, .av-vip:empty{ display: none !important }
/* 名字行内元素垂直居中 */
.tq-uc-name{ display: flex !important; align-items: center !important }


/* ==================== 51) 交友页特效加强 ==================== */
/* 顶部 banner 卡片：加光泽扫过 */
.tq-ban{ position: relative; overflow: hidden }
.tq-ban::after{ content: ''; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: rotate(18deg); animation: banShine 4.5s ease-in-out infinite }
@keyframes banShine{ 0%{left:-45%} 55%{left:120%} 100%{left:120%} }
/* 用户卡片：高等级用户带光晕 */
.tq-ucard{ position: relative }
.tq-ucard .tq-uc-av::after{ content: ''; position: absolute; left: -3px; top: -3px; right: -3px; bottom: -3px;
  border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,92,138,.18); pointer-events: none }
/* 有流光字体的卡片，边框带一点光 */
.tq-ucard:has(.fxf){ box-shadow: 0 4px 18px rgba(255,150,60,.16), 0 0 0 1px rgba(255,180,80,.25) }
/* 同城匹配卡头像：加光环 */
.tq-mc-av{ position: relative }
.tq-mc-av::after{ content: ''; position: absolute; left: -4px; top: -4px; right: -4px; bottom: -4px;
  border-radius: 50%; border: 2px solid rgba(255,92,138,.35); animation: mcPulse 2.2s ease-in-out infinite }
@keyframes mcPulse{ 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.06);opacity:1} }


/* ==================== 52) 排行榜 ==================== */
.rk-tabs{ display: flex; background: #F4F5F8; border-radius: 14px; padding: 4px; margin-bottom: 10px }
.rk-tab{ flex: 1 1 33.33%; text-align: center; font-size: 12.5px; font-weight: 800; color: #8A8F9C;
  padding: 9px 0; border-radius: 11px; transition: .2s }
.rk-tab.on{ background: #fff; color: #FF3B5C; box-shadow: 0 3px 10px rgba(255,59,92,.16) }
.rk-ranges{ display: flex; justify-content: center; margin-bottom: 12px }
.rk-rg{ font-size: 12px; font-weight: 700; color: #9AA0AC; padding: 4px 12px; border-radius: 999px; margin: 0 3px }
.rk-rg.on{ background: #FFF0F5; color: #FF3B5C }
.rk-podium{ display: flex; justify-content: center; align-items: flex-end; margin-bottom: 14px }
.rk-pod{ text-align: center; padding: 0 6px; width: 33.33% }
.rk-md{ font-size: 22px; line-height: 1 }
.rk-av{ display: flex; justify-content: center; margin: 6px 0 4px }
.rk-pod.p1 .rk-av{ margin-top: 2px }
.rk-nm{ font-size: 12.5px; font-weight: 800; color: #1A1D26; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rk-val{ font-size: 11.5px; color: #FF8A00; font-weight: 800; margin-top: 2px }
.rk-list{ background: #fff; border-radius: 16px; padding: 4px 12px; box-shadow: 0 2px 10px rgba(20,21,26,.045) }
.rk-row{ display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid #F3F4F7 }
.rk-row:last-child{ border-bottom: none }
.rk-no{ width: 22px; text-align: center; font-size: 13px; font-weight: 900; color: #B0B4BD; flex: 0 0 auto }
.rk-av2{ margin: 0 10px; flex: 0 0 auto }
.rk-main{ flex: 1 1 auto; min-width: 0 }
.rk-nm2{ font-size: 14px; font-weight: 800; color: #1A1D26; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rk-sub{ font-size: 11px; color: #9AA0AC; margin-top: 2px }
.rk-val2{ flex: 0 0 auto; font-size: 14px; font-weight: 900; color: #FF8A00 }
.rk-mine{ text-align: center; font-size: 12px; color: #8A8F9C; padding: 14px 0 4px }
.rk-mine b{ color: #FF3B5C }


/* 排行榜领奖台：名字不被等级徽章压住 */
.rk-pod .rk-av{ margin-bottom: 14px !important }
.rk-pod .rk-nm{ margin-top: 6px !important; position: relative; z-index: 3 }
.rk-pod .rk-md{ margin-bottom: 2px }
.rk-val{ position: relative; z-index: 3 }


/* ==================== 53) 后台活动弹窗 ==================== */
.cp-mask{ position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 100001;
  background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center;
  padding: 22px; opacity: 0; transition: opacity .25s ease }
.cp-mask.in{ opacity: 1 }
.cp-card{ width: 100%; max-width: 330px; background: #fff; border-radius: 20px; overflow: hidden;
  transform: scale(.9); transition: transform .3s cubic-bezier(.2,1.4,.4,1); position: relative }
.cp-mask.in .cp-card{ transform: scale(1) }
.cp-x{ position: absolute; right: 10px; top: 10px; z-index: 3; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.32); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center }
.cp-img{ display: block; width: 100%; height: 180px; object-fit: cover }
.cp-img-gen{ display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 18px }
.cp-gen-t{ font-size: 26px; font-weight: 900; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.35) }
.cp-gen-s{ font-size: 13px; color: rgba(255,255,255,.92); margin-top: 8px }
.cp-body{ padding: 16px 18px 18px; text-align: center }
.cp-t{ font-size: 19px; font-weight: 900; color: #1A1D26 }
.cp-s{ font-size: 13px; color: #FF3B5C; font-weight: 700; margin-top: 6px }
.cp-d{ font-size: 12.5px; color: #8A8F9C; line-height: 1.7; margin-top: 10px }
.cp-btn{ width: 100%; height: 46px; margin-top: 16px; border: none; border-radius: 14px; color: #fff;
  font-size: 15.5px; font-weight: 900; box-shadow: 0 8px 20px rgba(255,92,138,.28) }

/* 新人礼包: 不可领取态 */
.nb-btn.nb-btn-off{ background: #E5E7EB !important; color: #9AA0AC !important; box-shadow: none !important }
.nb-tip{ font-size: 11.5px; color: #9AA0AC; margin-top: 8px }


/* ==================== 54) 性别选择器图标对齐 ==================== */
.gender-pick div{ display: flex !important; align-items: center; justify-content: center }
.gender-pick .gp-ic{
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-block !important;
  width: 15px;
  height: 15px;
  text-align: center;
  vertical-align: middle;
  margin-right: 5px;
  flex: 0 0 auto;
}
.gender-pick div > span{ line-height: 1.2 }

/* ==================== 55) 验证码图片兜底 ==================== */
#lgCapImg{ display: block; background: #FFF3F7; }
#lgCapImg:not([src]){ background: #FFF3F7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='104' height='40'><text x='54' y='25' font-size='12' fill='%23FF8FB0' text-anchor='middle'>载入中</text></svg>") center/contain no-repeat }


/* ==================== 56) 实名徽章（蓝色框）修复 ==================== */
.tq-rm{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px;
  height: 15px;
  padding: 0 5px !important;
  margin-left: 5px !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg,#5B9BFF,#2F6FD0) !important;
  color: #fff !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  line-height: 15px !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  overflow: visible !important;
  transform: none !important;
  font-family: "PingFang SC","Microsoft YaHei",Arial,sans-serif !important;
}
/* 空的不显示 */
.tq-rm:empty{ display: none !important }

/* ==================== 57) 我的页: 段位徽章在 VIP 下方 ==================== */
.mine-right{ align-items: flex-end !important }
.mine-wealth{ display: flex; justify-content: flex-end !important }
.mine-wealth .nlv{ transform: scale(.92); transform-origin: right center }
/* 有钱的段位徽章: 描边 + 高光, 不再灰扑扑 */
.mine-wealth .nlv{
  background: linear-gradient(135deg,rgba(255,214,102,.96),rgba(255,154,60,.96)) !important;
  color: #6B3200 !important;
  border: 1.5px solid rgba(255,255,255,.85) !important;
  box-shadow: 0 4px 14px rgba(255,150,40,.45) !important;
  font-weight: 900 !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
}

/* ==================== 58) 消息列表: 头像贴纸不再盖住消息 ==================== */
.tq-chat-item .avwrap > .nlv,
.tq-chat-item .avwrap > .wlv{
  transform: scale(.78) !important;
  transform-origin: left bottom !important;
  opacity: .95;
}
.tq-chat-item .avwrap{ overflow: visible }
/* 未读角标提到最上层, 不被贴纸压住 */
.tq-chat-item .tq-ci-badge, .tq-chat-item .ci-badge{ z-index: 5 }


/* ==================== 59) 消息列表: 头像段位徽章不再溢出盖住文字 ==================== */
/* .lrow 里 av() 返回的又是一层 .avwrap, 徽章绝对定位会溢出到右侧文字上 */
.lrow{ align-items: center !important }
.lrow > .avwrap{
  position: relative !important;
  flex: 0 0 auto !important;
  width: 48px !important;
  height: 48px !important;
  overflow: hidden !important;      /* 关键: 裁掉溢出的徽章 */
  border-radius: 50%;
}
.lrow > .avwrap > .avwrap{
  position: absolute !important;
  left: 0; top: 0;
  width: 48px; height: 48px;
}
/* 徽章缩到 62% 并压到头像内部左下角 */
.lrow .nlv, .lrow .wlv{
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  transform: scale(.62) !important;
  transform-origin: left bottom !important;
  max-width: 48px !important;
  white-space: nowrap !important;
}
/* 未读红点始终在最上层、右上角 */
.lrow > .avwrap > .unread-dot{
  position: absolute !important;
  right: -2px !important;
  top: -4px !important;
  z-index: 6 !important;
}
/* 文字区左移一点, 给头像留白 */
.lrow > .lmain{ margin-left: 10px !important; min-width: 0 !important; overflow: hidden !important }


/* 消息列表徽章: 往上挪一点, 不被圆形裁掉 */
.lrow .nlv, .lrow .wlv{
  left: 1px !important;
  bottom: 3px !important;
  transform: scale(.58) !important;
  transform-origin: left bottom !important;
}


/* 消息列表: 干脆不显示段位贴纸（名字行已有「Lv.1 初识」），彻底解决遮挡 */
.lrow .nlv, .lrow .wlv, .lrow .avbadge{ display: none !important }
/* 头像恢复完整圆形, 不再裁剪 */
.lrow > .avwrap{ overflow: visible !important }


/* ==================== 60) 实名徽章：高亮流光 + 文字可见 ==================== */
.tq-rm{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 17px !important;
  padding: 0 7px !important;
  margin-left: 5px !important;
  border-radius: 5px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  background: linear-gradient(92deg,#FFD86B,#FF9BC8,#8FD3FF,#FFD86B) !important;
  background-size: 320% 100% !important;
  animation: rmFlow 3.2s linear infinite !important;
  /* 关键: 父级流光大字会继承 -webkit-text-fill-color: transparent, 这里必须压回实色 */
  color: #7A2E00 !important;
  -webkit-text-fill-color: #7A2E00 !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  line-height: 17px !important;
  letter-spacing: .5px !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.6) !important;
  box-shadow: 0 2px 8px rgba(255,180,80,.45) !important;
  transform: none !important;
  font-family: "PingFang SC","Microsoft YaHei",Arial,sans-serif !important;
}
@keyframes rmFlow{ 0%{background-position:0% 50%} 100%{background-position:320% 50%} }
.tq-rm:empty{ display: none !important }

/* ==================== 61) 我的页: 段位徽章按等级流光 ==================== */
.mine-wealth .nlv{
  height: 20px !important;
  line-height: 20px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(255,255,255,.75) !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
  background-size: 260% 100% !important;
  animation: wlvFlow 3.6s linear infinite !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.25) !important;
}
/* 段位配色: 越高越亮 */
.mine-wealth .nlv.t1{ background: linear-gradient(92deg,#9CA3AF,#D1D5DB,#9CA3AF) !important; box-shadow: 0 3px 10px rgba(150,150,160,.4) !important }
.mine-wealth .nlv.t2{ background: linear-gradient(92deg,#34D399,#A7F3D0,#34D399) !important; box-shadow: 0 3px 12px rgba(52,211,153,.45) !important }
.mine-wealth .nlv.t3{ background: linear-gradient(92deg,#3B82F6,#93C5FD,#3B82F6) !important; box-shadow: 0 4px 14px rgba(59,130,246,.5) !important }
.mine-wealth .nlv.t4{ background: linear-gradient(92deg,#A855F7,#E9D5FF,#A855F7) !important; box-shadow: 0 4px 16px rgba(168,85,247,.55) !important }
.mine-wealth .nlv.t5{ background: linear-gradient(92deg,#F59E0B,#FDE68A,#F59E0B,#FF8A00) !important;
  box-shadow: 0 4px 18px rgba(245,158,11,.6) !important; text-shadow: 0 0 10px rgba(255,255,255,.85) !important }
.mine-wealth .nlv.t6{ background: linear-gradient(92deg,#EF4444,#FDE68A,#EF4444,#FF0080) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.5), 0 5px 22px rgba(239,68,68,.7) !important;
  text-shadow: 0 0 12px rgba(255,255,255,.95) !important; animation: wlvFlow 2.4s linear infinite, wlvGlow 1.6s ease-in-out infinite !important }
@keyframes wlvFlow{ 0%{background-position:0% 50%} 100%{background-position:260% 50%} }
@keyframes wlvGlow{ 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.22)} }

/* 30 级以上(大师/王者/神豪): 额外光晕 + 微抖动 */
.mine-wealth .nlv.t4, .mine-wealth .nlv.t5, .mine-wealth .nlv.t6{
  position: relative;
  filter: drop-shadow(0 0 6px rgba(255,210,120,.75));
}

/* ==================== 62) VIP 徽标: 更霸气 + 流光 + 变大 ==================== */
.av-vip{
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .8px !important;
  padding: 2px 9px !important;
  border-radius: 999px !important;
  border: 2px solid #fff !important;
  background: linear-gradient(92deg,#FFF3B0,#FFD700,#FFFBE6,#FF9500,#FFF3B0) !important;
  background-size: 300% 100% !important;
  animation: avVipFlow 2.2s linear infinite !important;
  color: #6B3200 !important;
  -webkit-text-fill-color: #6B3200 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.8) !important;
  box-shadow: 0 0 0 1px rgba(255,180,0,.6), 0 3px 14px rgba(255,150,0,.65) !important;
  transform: scale(1.12) !important;
  transform-origin: right bottom !important;
}

/* ==================== 63) 我的页头像: 去掉不合背景的白圈 ==================== */
.mine-av{
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,215,120,.85)) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.28) !important;
  padding: 3px !important;
}
.mine-av .av, .mine-av .avwrap, .mine-av img{ border-radius: 50% }
.mine-av .avwrap{ display: block }


/* ==================== 64) 礼物墙详情 ==================== */
.gw-tip{ font-size: 12px; color: #8A8F9C; margin-bottom: 12px; padding: 0 2px }
.gw-tip b{ color: #FF3B5C }
.gw-grid{ display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 8px }
.gw-cell{ background: #fff; border-radius: 14px; padding: 12px 4px 10px; text-align: center;
  border: 1.5px solid #F0F2F6; position: relative }
.gw-cell.on{ background: linear-gradient(160deg,#FFF8E6,#FFF0F5); border-color: #FFD9A8;
  box-shadow: 0 3px 12px rgba(255,170,60,.16) }
.gw-cell.off{ opacity: .55 }
.gw-cell.off .gw-ic{ filter: grayscale(1); opacity: .55 }
.gw-ic{ font-size: 26px; line-height: 1; position: relative; display: inline-block }
.gw-x{ position: absolute; right: -10px; top: -6px; font-size: 10px; font-weight: 900; color: #FF6A00;
  background: #fff; border-radius: 999px; padding: 0 4px; border: 1px solid #FFD9A8 }
.gw-nm{ font-size: 11px; color: #3A3F52; font-weight: 700; margin-top: 7px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.gw-cell.on .gw-nm{ color: #B4570A }
.gw-off{ font-size: 9.5px; color: #B9BDC7; margin-top: 2px }


/* ==================== 65) VIP 徽标: 倾斜 + 扫光 ==================== */
.av-vip{
  font-style: italic !important;
  transform: skewX(-13deg) scale(1.14) !important;
  transform-origin: right bottom !important;
  letter-spacing: 1px !important;
  background: linear-gradient(100deg,#FFF7C2,#FFD700,#FFFFFF,#FFB300,#FFD700,#FFF7C2) !important;
  background-size: 320% 100% !important;
  animation: avVipFlow 2s linear infinite, avVipPulse 1.8s ease-in-out infinite !important;
  text-shadow: 0 1px 2px rgba(150,80,0,.45), 0 0 10px rgba(255,255,255,.9) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.95), 0 0 12px rgba(255,190,0,.9), 0 4px 16px rgba(255,150,0,.75) !important;
}
@keyframes avVipPulse{ 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.3)} }
/* 扫光条 */
.av-vip::after{
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent);
  transform: skewX(-20deg); animation: avVipSweep 2.6s ease-in-out infinite;
}
@keyframes avVipSweep{ 0%{left:-60%} 55%{left:120%} 100%{left:120%} }
.av-vip{ overflow: hidden; position: absolute }

/* ==================== 66) 名称后的段位徽章: 小而高亮 ==================== */
.mine-wealth-inline{ display: inline-flex; align-items: center; margin-left: 6px; flex: 0 0 auto }
.mine-wealth-inline .nlv{
  transform: scale(.8) !important;
  transform-origin: left center !important;
  height: 18px !important; line-height: 18px !important;
  padding: 0 8px !important; border-radius: 999px !important;
  border: 1.5px solid rgba(255,255,255,.85) !important;
  font-size: 11px !important; font-weight: 900 !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.3) !important;
  background-size: 240% 100% !important;
  animation: wlvFlow 3.6s linear infinite !important;
  box-shadow: 0 2px 10px rgba(255,200,80,.55) !important;
}
/* 消费越多越亮: 用 totalSpent 分级 (t5/t6 最强) */
.mine-wealth-inline .nlv.t5, .mine-wealth-inline .nlv.t6{
  animation: wlvFlow 2.2s linear infinite, wlvGlow 1.5s ease-in-out infinite !important;
  filter: drop-shadow(0 0 8px rgba(255,200,90,.9)) !important;
}


/* ==================== 67) 贵族等级面板 ==================== */
.np-hero{ text-align: center; padding: 22px 18px 18px;
  background: linear-gradient(160deg,#2B2140,#3A2A5C 60%,#4A2B4E); color: #fff }
.np-cur-ic{ font-size: 46px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(255,180,60,.55)) }
.np-cur-lv{ font-size: 26px; font-weight: 900; margin-top: 8px;
  background: linear-gradient(92deg,#FFE9A8,#FFB800,#FFF7D6,#FF8A00);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: avVipFlow 2.6s linear infinite }
.np-cur-nm{ font-size: 13px; opacity: .9; margin-top: 4px }
.np-spent{ font-size: 12px; opacity: .75; margin-top: 8px }
.np-spent b{ color: #FFD54A; font-size: 14px }
.np-next{ margin-top: 16px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px }
.np-next-row{ display: flex; align-items: center; font-size: 12.5px; opacity: .95 }
.np-next-ic{ font-size: 20px; margin-right: 8px }
.np-need{ color: #FFD54A }
.np-bar{ height: 7px; border-radius: 7px; background: rgba(255,255,255,.16); margin-top: 10px; overflow: hidden }
.np-bar i{ display: block; height: 100%; border-radius: 7px;
  background: linear-gradient(90deg,#FFD54A,#FF8A00); transition: width .4s }
.np-bar-tx{ font-size: 10.5px; opacity: .6; margin-top: 6px }
.np-max{ margin-top: 14px; font-size: 13px; color: #FFD54A; font-weight: 800 }
.np-tip{ font-size: 11.5px; color: #9AA0AC; text-align: center; padding: 12px 0 6px }
.np-list{ padding: 0 12px }
.np-row{ display: flex; align-items: center; background: #fff; border-radius: 12px;
  padding: 9px 12px; margin-bottom: 7px; border: 1.5px solid #F0F2F6; position: relative }
.np-row.passed{ background: #FFFCF5; border-color: #FFE9C7 }
.np-row.cur{ border-color: #FFB800; box-shadow: 0 4px 16px rgba(255,170,0,.22) }
.np-ic{ font-size: 18px; width: 26px; text-align: center; flex: 0 0 auto }
.np-lv{ font-size: 11.5px; font-weight: 900; color: #8A8F9C; width: 44px; flex: 0 0 auto }
.np-nm{ font-size: 13px; font-weight: 900; flex: 0 0 auto; width: 52px }
.np-sp{ font-size: 11px; color: #9AA0AC; flex: 1 1 auto; text-align: right }
.np-rw{ font-size: 10px; color: #C6A15B; width: 96px; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.np-tag{ position: absolute; right: 8px; top: -8px; background: linear-gradient(135deg,#FFD54A,#FF8A00);
  color: #fff; font-size: 9px; font-weight: 900; border-radius: 999px; padding: 1px 7px }


/* ==================== 68) 全局禁止横向滑动（手机端固定页） ==================== */
html, body{ overflow-x: hidden !important; max-width: 100vw !important; width: 100% !important }
#app, #loginView, .stack, .sbody, .sbody *{ max-width: 100% }
.sbody{ overflow-x: hidden !important; box-sizing: border-box }
/* 编辑主页/编辑资料 里的输入框一律不撑破 */
.sbody textarea, .sbody input, .sbody select{
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
  resize: none !important;
}
/* 两列网格在小屏自动单列, 避免溢出 */
@media (max-width: 380px){
  .ed-grid{ grid-template-columns: 1fr !important }
}
/* 长文本强制换行, 不撑宽 */
.sbody p, .sbody div, .sbody span{ word-break: break-word; overflow-wrap: break-word }
/* 图片不超宽 */
.sbody img{ max-width: 100% !important; height: auto }


/* ==================== 69) 编辑页左右留白 ==================== */
/* 内容不要贴边: 页面容器 + 卡片都留出呼吸感 */
.sbody[style*="padding:16px 18px"]{ padding-left: 18px !important; padding-right: 18px !important }
.sbody > .panel{ margin-left: 0; margin-right: 0 }
.pf2-ed{ padding-left: 2px !important; padding-right: 2px !important }
.pf2-ed .ipt, .pf2-ed textarea{ border-radius: 12px }
/* 通用: 弹层内容页两侧至少 16px */
.stack .sbody{ padding-left: 16px; padding-right: 16px }
.stack .sbody.pf2{ padding-left: 0; padding-right: 0 }
/* 表单标签和字数统计也留白 */
.lb{ padding: 0 2px }


/* ==================== 70) 聊天气泡: VIP 徽标别压气泡 ==================== */
.crow .av-vip{ display: none !important }
.crow .avwrap{ overflow: visible !important }
/* 群聊/私聊气泡头像不做超大缩放 */
.crow .avwrap > .av{ box-shadow: none }


/* ==================== 71) 同城群公告条 ==================== */
.g-notice{ display: flex; align-items: flex-start; background: linear-gradient(100deg,#FFF6E0,#FFE9F0);
  border: 1px solid #FFE0A8; border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px;
  box-shadow: 0 3px 12px rgba(255,180,60,.12) }
.g-notice .gn-ic{ font-size: 15px; margin-right: 8px; flex: 0 0 auto; line-height: 1.4 }
.g-notice .gn-tx{ flex: 1 1 auto; font-size: 12px; line-height: 1.65; color: #8A5A16; font-weight: 600;
  word-break: break-word; overflow-wrap: break-word }


/* ==================== 72) 聊天页: 头像下面的等级徽章(不穿模) ==================== */
.crow{ position: relative }
.crow .avwrap{
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  overflow: visible !important;
  flex: 0 0 38px !important;
}
.crow .avwrap > .av{ width: 38px !important; height: 38px !important }
/* 等级徽章挪到头像正下方居中，不压头像也不压气泡 */
.crow .nlv, .crow .wlv{
  position: absolute !important;
  left: 50% !important;
  bottom: -12px !important;
  transform: translateX(-50%) scale(.72) !important;
  transform-origin: center top !important;
  margin: 0 !important;
  z-index: 3 !important;
  white-space: nowrap !important;
  max-width: 46px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
/* 气泡整体下移一点, 给徽章留位置 */
.crow .cbody{ padding-top: 4px !important }
.crow{ margin-bottom: 6px }

/* ==================== 73) 消息列表: 未读角标回右上角 ==================== */
.lrow > .avwrap > .unread-dot,
.lrow .unread-dot{
  position: absolute !important;
  right: -3px !important;
  top: -4px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9 !important;
}
.lrow > .avwrap{ position: relative !important; overflow: visible !important }

/* ==================== 74) 聊天名字: 座驾标签跟在名字后面 ==================== */
.crow .chat-other-name{ display: inline-flex !important; align-items: center }
.crow .msg-fx{ margin-left: 6px !important; flex: 0 0 auto }

/* ==================== 75) VIP 会员名字颜色 (月费红 / 年费金) ==================== */
.vip-name{ font-weight: 900 !important }
.vip-name.vip-month{
  color: #FF2D55 !important;
  -webkit-text-fill-color: #FF2D55 !important;
  text-shadow: 0 0 8px rgba(255,45,85,.45) !important;
}
.vip-name.vip-year{
  background: linear-gradient(92deg,#FFD54A,#FFF7C2,#FFB300,#FFD54A) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: vipYearFlow 2.6s linear infinite !important;
  filter: drop-shadow(0 0 6px rgba(255,190,0,.6));
}
@keyframes vipYearFlow{ 0%{background-position:0% 50%} 100%{background-position:300% 50%} }
/* 聊天页头部名字同样上色 */
.chat-nm.vip-name.vip-month{ color: #FF2D55 !important; -webkit-text-fill-color: #FF2D55 !important }
.chat-nm.vip-name.vip-year{ -webkit-text-fill-color: transparent !important }

/* ==================== 76) 聊天页头部 VIP 徽标 ==================== */
.chat-hd-vip{
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 900; letter-spacing: .6px;
  padding: 1px 7px; border-radius: 999px; margin-left: 6px;
  border: 1.5px solid rgba(255,255,255,.9);
  vertical-align: middle;
}
.chat-hd-vip.month{ background: linear-gradient(92deg,#FF6B8B,#FF2D55); color: #fff }
.chat-hd-vip.year{ background: linear-gradient(92deg,#FFF3B0,#FFD700,#FFB300);
  color: #6B3200; box-shadow: 0 0 10px rgba(255,190,0,.7) }


/* 年费提示行 */
.vip-year-row{ margin-top: 10px; font-size: 12px; color: #8A4A00; background: rgba(255,255,255,.5);
  border-radius: 999px; padding: 5px 12px; display: inline-block }
.vip-year-row .vy-tag{ background: linear-gradient(135deg,#FF5C8A,#FF3B5C); color: #fff;
  font-size: 10px; font-weight: 900; border-radius: 999px; padding: 1px 7px; margin-right: 4px }


/* ==================== 77) VIP 两档价格卡 ==================== */
.vip-plans{ display: flex; gap: 10px; margin-top: 4px }
.vip-plans > div{ flex: 1 1 50%; position: relative; cursor: pointer;
  background: #fff; border: 2px solid #EDEFF4; border-radius: 16px; padding: 16px 10px 14px; text-align: center;
  transition: .18s }
.vip-plans > div.on{ border-color: #FFB800; background: linear-gradient(160deg,#FFFCF0,#FFF5DC);
  box-shadow: 0 6px 20px rgba(255,170,0,.22) }
.vp-name{ font-size: 13px; font-weight: 900; color: #8A4A00 }
.vp-price{ font-size: 13px; color: #B07A3A; margin-top: 6px }
.vp-price b{ font-size: 28px; font-weight: 900; color: #FF6A00 }
.vp-desc{ font-size: 10.5px; color: #9AA0AC; margin-top: 4px }
.vp-badge{ position: absolute; right: -2px; top: -10px; background: linear-gradient(135deg,#FF5C8A,#FF3B5C);
  color: #fff; font-size: 9.5px; font-weight: 900; border-radius: 999px; padding: 2px 8px;
  box-shadow: 0 3px 10px rgba(255,59,92,.4) }
/* 兼容无 flex gap 的老 WebView */
.vip-plans > div + div{ margin-left: 10px }


/* ==================== 78) VIP 档位卡: 更小更规整 ==================== */
.vip-plans{ margin-top: 2px }
.vip-plans > div{
  padding: 10px 8px 9px !important;      /* 从 16px 收到 10px */
  border-radius: 13px !important;
  border-width: 1.5px !important;
  min-height: 0 !important;
}
.vip-plans .vp-name{ font-size: 12px !important; line-height: 1.2 }
.vip-plans .vp-price{ margin-top: 3px !important; font-size: 11px !important; line-height: 1 }
.vip-plans .vp-price b{ font-size: 21px !important }    /* 从 28px 收到 21px */
.vip-plans .vp-desc{ font-size: 9.5px !important; margin-top: 3px !important; line-height: 1.2 }
.vip-plans .vp-badge{ font-size: 9px !important; padding: 1px 6px !important; top: -8px !important }
/* 按钮也收小一点 */
#vipBuyBtn{ height: 46px !important; font-size: 15px !important; margin-top: 12px !important; border-radius: 12px !important }


/* ==================== 79) 修复名字后面的「条纹线」 ==================== */
/* 根因: .tq-uc-name 上设了 background:linear-gradient + background-clip:text,
   在 flex 布局下 background-clip 失效, 渐变被当普通背景画成一条横线 */
.tq-uc-name, .dazi-name, .tq-feed-name, .tq-pf-name, .lrow .lt, .lrow .t1{
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: #14151A !important;
}
/* 名字里的流光大字仍然生效(它们是独立 span.fxf) */
.fxf{ -webkit-text-fill-color: transparent !important }


/* 四档位: 2x2 网格 */
.vip-plans{ display: grid !important; grid-template-columns: 1fr 1fr; grid-gap: 8px }
.vip-plans > div + div{ margin-left: 0 !important }
.vip-plans > div{ padding: 9px 8px 8px !important }
.vip-plans .vp-price b{ font-size: 19px !important }


/* ==================== 80) 聊天页头部: 陌生人只显示「添加好友」 ==================== */
.chat-addrow{ margin-top: 6px }
.chat-add-full{
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 30px; border-radius: 999px;
  background: linear-gradient(135deg,#FF5C8A,#FF3B5C); color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(255,59,92,.28);
}
/* 陌生人时隐藏心动值行 */
.chat-shead .heart-tag{ display: none }
/* 未读角标不与按钮抢位 */
.chat-shead .up-unread{ margin-left: 6px !important; flex: 0 0 auto }
/* 名字行不再被挤, 允许占满 */
.chat-shead .st-row .chat-nm{ max-width: none !important; flex: 1 1 auto }


/* ==================== 81) 聊天头部: 小号加好友 + 未读并排 ==================== */
.chat-shead .st-row{ gap: 0 }
.chat-add-sm{
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 9px; margin-left: auto;
  border-radius: 999px;
  background: linear-gradient(135deg,#FF5C8A,#FF3B5C);
  color: #fff; font-size: 10.5px; font-weight: 900; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(255,59,92,.28);
}
/* 未读徽章紧跟其后, 同一行 */
.chat-shead .up-unread{
  flex: 0 0 auto; margin-left: 6px !important;
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: #FF3B5C; color: #fff; font-weight: 900;
}
/* 名字不挤压 */
.chat-shead .st-row .chat-nm{ flex: 1 1 auto; min-width: 0; max-width: none !important }
/* 移除不再使用的整行按钮样式 */
.chat-addrow, .chat-add-full{ display: none !important }


/* ==================== 82) 好友在线圆点 ==================== */
.online-wrap{ position: relative }
.online-wrap.on::after{
  content: ''; position: absolute; right: 0; bottom: 2px; width: 11px; height: 11px;
  border-radius: 50%; background: #22C55E; border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34,197,94,.3); z-index: 8;
}
.online-wrap.off::after{
  content: ''; position: absolute; right: 0; bottom: 2px; width: 11px; height: 11px;
  border-radius: 50%; background: #C7CBD1; border: 2px solid #fff; z-index: 8;
}


/* ==================== 83) 座驾/神宠商城 ==================== */
.sh-hd{ font-size: 13px; font-weight: 900; color: #1A1D26; margin: 4px 2px 10px }
.sh-hd span{ font-size: 11px; color: #9AA0AC; font-weight: 500; margin-left: 6px }
.sh-grid{ display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 8px }
.sh-item{ background: #fff; border: 1.5px solid #F0F2F6; border-radius: 14px;
  padding: 12px 6px 10px; text-align: center; position: relative }
.sh-item.own{ background: linear-gradient(160deg,#FFF8E6,#FFF0F5); border-color: #FFD9A8 }
.sh-ic{ font-size: 30px; line-height: 1 }
.sh-nm{ font-size: 11px; font-weight: 800; color: #3A3F52; margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sh-price{ font-size: 10.5px; color: #FF8A00; font-weight: 800; margin-top: 3px }
.sh-price.no{ color: #C6CAD2 }
.sh-price.own{ color: #10B981 }
.sh-buy{ margin-top: 7px; width: 100%; height: 26px; border: none; border-radius: 8px;
  background: linear-gradient(135deg,#FF8FAB,#FF3B5C); color: #fff; font-size: 11px; font-weight: 900 }
.sh-buy.dis{ background: #E5E7EB; color: #9AA0AC }


/* ==================== 84) 我的页标签: 不再叠加覆盖 ==================== */
.mine-tags{
  display: flex; flex-wrap: wrap; align-items: center;
  margin-top: 7px;
  /* 不给固定高度, 让内容自然撑开 */
}
.mine-tags .mt-chip{
  display: inline-block;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  padding: 1px 8px;
  border-radius: 20px;
  margin: 0 5px 5px 0;      /* 关键: 加下边距, 换行不重叠 */
  white-space: nowrap;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mine-tags .mt-chip.more{
  background: rgba(255,255,255,.34);
  font-weight: 900;
  padding: 1px 7px;
}
/* 个人主页的标签卡也保证不重叠 */
.tag-row, .pf2-tags{ display: flex; flex-wrap: wrap }
.tag-row > *, .pf2-tags > *{ margin: 0 6px 6px 0 !important }


/* ==================== 85) 语音卡: 点赞可点 + 听过状态 ==================== */
.pf2-voice .lk{ cursor: pointer; user-select: none; transition: transform .12s ease }
.pf2-voice .lk:active{ transform: scale(.94) }
.pf2-voice .lk.on .n{ color: #FF3B5C !important }
.pf2-voice .lk.on .t{ color: #FF3B5C !important }
.pf2-voice .lk.on::after{ content: ' ❤' }
.pf2-voice .lk .n{ font-weight: 900 }
.pf2-voice .lk .t{ font-size: 10px }

/* ==================== 86) 聊天页 VIP 徽标: 按场景自动缩小 ==================== */
/* 聊天气泡/头部空间小, VIP 徽标必须收敛, 不压头像和文字 */
.chat-shead .chat-hd-vip{
  font-size: 9px !important;
  padding: 0 6px !important;
  height: 16px !important;
  line-height: 16px !important;
  border-width: 1px !important;
  transform: none !important;     /* 取消父级的放大/倾斜 */
  letter-spacing: .3px !important;
  box-shadow: none !important;
  vertical-align: middle;
}
/* 聊天头部头像上的 VIP(如果有) 也缩小 */
.chat-hd-av .av-vip{
  font-size: 8px !important;
  padding: 0 5px !important;
  transform: scale(.9) !important;
  transform-origin: right bottom !important;
  border-width: 1.5px !important;
}
/* 消息气泡里根本不显示 */
.crow .av-vip{ display: none !important }
/* 我的页/个人主页保持大号(有空间) */
.mine-hd .av-vip, .pf2-hd .av-vip{ font-size: 11px !important }


/* ==================== 87) VIP: 聊天页改成「名字后面的小高亮文字」 ==================== */
/* 头像上的 VIP 角标在聊天页全部隐藏 */
.chat-shead .av-vip, .chat-hd-av .av-vip, .crow .av-vip, .lrow .av-vip{
  display: none !important;
}
/* 名字后面的 VIP 小标: 小、高亮、有光 */
.chat-shead .chat-hd-vip{
  display: inline-flex !important;
  align-items: center; justify-content: center;
  height: 15px !important;
  padding: 0 6px !important;
  margin-left: 5px !important;
  border-radius: 4px !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
  transform: none !important;
  vertical-align: middle;
  flex: 0 0 auto;
}
/* 月费: 红色高亮 */
.chat-shead .chat-hd-vip.month{
  background: linear-gradient(90deg,#FF4D6D,#FF2D55) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 8px rgba(255,45,85,.75), 0 0 2px rgba(255,255,255,.9) inset !important;
  border: none !important;
}
/* 年费: 金色流光高亮 */
.chat-shead .chat-hd-vip.year{
  background: linear-gradient(90deg,#FFF3B0,#FFD700,#FFF7C2,#FFB300,#FFF3B0) !important;
  background-size: 280% 100% !important;
  animation: vipTxtFlow 2.2s linear infinite !important;
  color: #6B3200 !important;
  -webkit-text-fill-color: #6B3200 !important;
  box-shadow: 0 0 9px rgba(255,190,0,.85) !important;
  border: none !important;
}
@keyframes vipTxtFlow{ 0%{background-position:0% 50%} 100%{background-position:280% 50%} }
/* 消息列表里: 名字后面也给个 VIP 小标(可选, 不占头像) */
.lrow .vip-txt{
  display: inline-block; margin-left: 5px; font-size: 9px; font-weight: 900;
  padding: 0 5px; height: 14px; line-height: 14px; border-radius: 4px; vertical-align: middle;
}
.lrow .vip-txt.month{ background: #FF2D55; color: #fff }
.lrow .vip-txt.year{ background: linear-gradient(90deg,#FFD700,#FFB300); color: #6B3200 }


/* ==================== 88) VIP 徽标: 按头像尺寸统一策略 ==================== */
/* 原则: 小头像(≤62px)一律不挂角标, 改用名字后的小文字；大头像(≥84px)保留角标但收敛 */

/* --- 小头像容器: 彻底隐藏角标 --- */
.tq-ucard .av-vip,          /* 交友卡片 50px */
.lrow .av-vip,              /* 消息/好友列表 40-46px */
.crow .av-vip,              /* 聊天气泡 34px */
.chat-shead .av-vip,        /* 聊天头部 36px */
.chat-hd-av .av-vip,
.rk-row .av-vip,            /* 排行榜列表 40px */
.rk-pod .av-vip,            /* 排行榜前三 52-62px */
.dazi-av .av-vip,           /* 搭子 56px */
.tq-md-av .av-vip,          /* 朋友圈 52px */
.tq-mc-av .av-vip,          /* 同城匹配卡 44px */
.tq-feed-av .av-vip,        /* 广场动态 40px */
.mlist .av-vip,
.wd-row .av-vip,
.gw-cell .av-vip,
.sh-item .av-vip{
  display: none !important;
}

/* --- 大头像(我的页/个人主页/真人匹配): 保留但收小, 不压脸 --- */
.mine-av .av-vip,
.pf2-hd .av-vip,
.tq-mp-avbox .av-vip,
.sw-av .av-vip{
  font-size: 9px !important;
  font-weight: 900 !important;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  border: 1.5px solid #fff !important;
  transform: none !important;          /* 取消放大和倾斜, 避免溢出 */
  right: 0 !important;
  bottom: 0 !important;
  box-shadow: 0 2px 8px rgba(255,150,0,.5) !important;
  letter-spacing: .3px !important;
  font-style: normal !important;
}

/* --- 名字后的 VIP 小文字(统一规格) --- */
.vip-txt{
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  font-weight: 900;
  line-height: 14px;
  height: 14px;
  padding: 0 5px;
  border-radius: 4px;
  vertical-align: middle;
  white-space: nowrap;
  flex: 0 0 auto;
}
.vip-txt.month{ background: #FF2D55; color: #fff }
.vip-txt.year{
  background: linear-gradient(90deg,#FFF3B0,#FFD700,#FFB300,#FFD700);
  background-size: 260% 100%;
  color: #6B3200;
  animation: vipTxtFlow 2.4s linear infinite;
}


/* ==================== 89) 广场动态: VIP 不用头像角标 ==================== */
.moment .av-vip, .m-head .av-vip{ display: none !important }
.moment .m-nm b .vip-txt{ margin-left: 5px; vertical-align: 1px }
/* 官方/置顶标签和 VIP 并列时不挤 */
.moment .m-nm b .off-tag, .moment .m-nm b .pin-tag{ margin-left: 5px }


/* 广场: 更强制地隐藏头像 VIP 角标 */
.moments .av-vip, .moments .avwrap > .av-vip, .m-head .avwrap > .av-vip{
  display: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important;
  overflow: hidden !important; position: absolute !important; left: -9999px !important;
}


/* ==================== 90) VIP: 改成小皇冠 + 名字高亮 ==================== */
/* 不再显示 "VIP" 三个字母, 改成一个小皇冠图标, 更像会员身份 */
.vip-txt{
  font-size: 0 !important;          /* 隐藏原文字 */
  width: 15px !important;
  height: 15px !important;
  line-height: 15px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  margin-left: 3px !important;
  vertical-align: -2px;
  display: inline-block;
  text-align: center;
  flex: 0 0 auto;
}
.vip-txt::before{
  content: '👑';
  font-size: 12px;
  line-height: 15px;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(255,170,0,.55));
}
/* 年费 VIP: 皇冠加金色光晕 */
.vip-txt.year::before{
  filter: drop-shadow(0 0 5px rgba(255,200,0,.95)) drop-shadow(0 1px 2px rgba(180,90,0,.5));
}
/* 月费 VIP: 皇冠加红色光晕 */
.vip-txt.month::before{
  filter: drop-shadow(0 0 4px rgba(255,60,90,.8));
}

/* ==================== 91) 我的页背景图: 高度更足 ==================== */
.mine-hd{ background-size: cover !important; background-position: center !important }
/* 有背景图时, 内容层压暗更多, 文字才看得清 */
.mine-hd .mine-row{ position: relative; z-index: 2 }


/* ==================== 92) 我的页头部: 给背景图留出展示空间 ==================== */
.mine-hd{
  min-height: 280px !important;
  background-size: cover !important;
  background-position: center top !important;
}
/* 有背景图时叠一层柔和暗角, 文字更清爽 */
.mine-hd::after{
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.28));
  pointer-events: none; z-index: 1;
}
.mine-hd .mine-row{ z-index: 3 !important }
.mine-hd .mine-av{ margin-top: 2px }

/* ==================== 93) 背景预览区更大气 ==================== */
#bgPrev{
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.05);
}


/* ==================== 94) 我的页头部: 内容沉底, 上方留给背景图 ==================== */
.mine-hd{
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;    /* 内容贴底, 背景图露在上方 */
  padding: 24px 16px 18px !important;
  min-height: 260px !important;
}
.mine-hd .mine-row{ margin-top: auto }
/* 去掉原来的底部大留白 */
.mine-hd::after{ height: 52% }


/* ==================== 95) 下拉刷新提示条 ==================== */
#ptrTip{ pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.25) }
/* 禁止浏览器原生的整页下拉刷新(会重进 APP) */
html, body{ overscroll-behavior-y: contain }


/* ==================== 96) 我的页: 头像垂直居中 + 顶部背景铺满 ==================== */
.mine-hd{
  justify-content: center !important;      /* 内容垂直居中, 不再贴底 */
  padding: 44px 16px 34px !important;
  min-height: 250px !important;
  margin-top: -1px;
}
.mine-hd .mine-row{ margin-top: 0 !important }

/* 顶部状态栏区域也铺背景, 上拉/下拉看到的是自己的图, 不是粉色底 */
#app, #main, .mine-page{
  background-color: transparent;
}
/* 让页面底色跟随我的页头部(由 JS 设置 --mine-bg) */
body.use-mine-bg{
  background-image: var(--mine-bg) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
}


/* ==================== 97) iOS Safari: 彻底禁用原生下拉刷新 ==================== */
/* iOS 的 Safari 不支持 overscroll-behavior, 只能让「文档本身不可滚动」,
   把滚动交给内部容器, 这样下拉时 Safari 就不会触发整页刷新 */
/* 只在「已进入 APP」后锁定滚动, 登录页完全不受影响 */
@supports (-webkit-touch-callout: none) {
  body.in-app{
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }
  body.in-app #app{
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ==================== 98) 提示消息: 微信式顶部横幅(通栏) ==================== */
.xl-banner{
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: translateY(-110%) !important;
  border-radius: 0 0 16px 16px !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,.05) !important;
  padding: 10px 14px !important;
  padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important;
  box-shadow: 0 8px 24px rgba(60,5,30,.18) !important;
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(10px);
  align-items: center !important;
}
.xl-banner.in{ transform: translateY(0) !important }
.xl-banner .xl-b-av{
  width: 38px !important; height: 38px !important; border-radius: 50% !important;
  object-fit: cover; margin-right: 10px; flex: 0 0 auto;
}
.xl-banner .xl-b-icon{
  width: 38px !important; height: 38px !important; border-radius: 50% !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: #FFF0F5; margin-right: 10px; flex: 0 0 auto;
}
.xl-banner .xl-b-txt{ flex: 1 1 auto; min-width: 0 }
.xl-banner .xl-b-txt b{
  font-size: 13.5px; font-weight: 900; color: #1A1D26;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xl-banner .xl-b-txt span{
  font-size: 12px; color: #8A8F9C; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ==================== 99) 我的页背景: 铺满整块 ==================== */
.mine-hd{
  min-height: 300px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* 有背景图时把默认粉色渐变压掉, 避免边缘露出粉边 */
.mine-hd[style*="background-image"]{
  background-color: #000 !important;
}


/* ==================== 100) 官方消息头: 「全部已读」靠右 ==================== */
.shead .st-r{
  margin-left: auto !important;
  margin-right: 14px !important;
  flex: 0 0 auto;
  white-space: nowrap;
}
/* 让标题不要被压缩 */
.shead .st{ flex: 0 1 auto; min-width: 0 }

/* ==================== 101) 「今日不再提醒」小按钮 ==================== */
.no-remind{
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  color: #9AA0AC;
  background: rgba(0,0,0,.05);
  border-radius: 999px;
  padding: 3px 10px;
  z-index: 5;
  cursor: pointer;
  white-space: nowrap;
}
.no-remind:active{ background: rgba(0,0,0,.1) }
.cp-card{ position: relative }
.cp-card .no-remind{ right: 14px; bottom: 8px }


/* ==================== 102) 聊天页对方资料卡: 常驻显示, 不被消息刷新冲掉 ==================== */
.chat-info-slot{
  padding: 8px 12px 0;
  flex: 0 0 auto;
  background: linear-gradient(180deg,#FFF6FA,#FFF9FC);
  max-height: 34vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chat-info-slot .tq-chat-info{ margin: 0 !important }
/* 资料卡收起时只留一条 */
.chat-info-slot.mini .tq-ci-tags,
.chat-info-slot.mini .tq-ci-common,
.chat-info-slot.mini .tq-ci-photos{ display: none !important }


/* 资料卡瘦身: 默认不显示那条「点我开启消息通知」广告条 */
.chat-info-slot .tq-ci-notify{ display: none !important }
/* 图片只显示一排小图, 不占太多高度 */
.chat-info-slot .tq-ci-photos img{ width: 46px !important; height: 46px !important; border-radius: 8px !important }
.chat-info-slot .tq-ci-photos{ margin-top: 6px !important }
/* 整体更紧凑 */
.chat-info-slot{ max-height: 26vh !important; padding-bottom: 6px !important }


/* ==================== 103) 今日不再提醒: 更明显 ==================== */
.no-remind{
  position: absolute !important;
  right: 50% !important;
  bottom: 12px !important;
  transform: translateX(50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #8A8F9C !important;
  background: #F4F5F8 !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 999px !important;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.no-remind::before{
  content: '🔔';
  font-size: 11px;
  margin-right: 5px;
  filter: grayscale(1) opacity(.7);
}
.no-remind:active{ background: #ECEFF4 !important; transform: translateX(50%) scale(.97) !important }
/* 弹窗底部给按钮留出空间 */
.cp-card .cp-body{ padding-bottom: 46px !important }


/* ==================== 104) 开房间: 进入条件三选一卡片 ==================== */
.cr-needs{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 8px;
  margin-top: 2px;
}
.cr-need{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px 10px;
  background: #FAFBFC;
  border: 1.5px solid #EEF0F5;
  border-radius: 14px;
  transition: all .16s ease;
  min-height: 86px;
  box-sizing: border-box;
}
.cr-need .crn-ic{ font-size: 22px; line-height: 1; margin-bottom: 6px }
.cr-need .crn-tx{ font-size: 13px; font-weight: 900; color: #3A3F52; line-height: 1.2 }
.cr-need .crn-s{ font-size: 10px; color: #9AA0AC; margin-top: 3px; line-height: 1.2 }
.cr-need.on{
  background: linear-gradient(160deg,#FFF0F6,#FFE6F0);
  border-color: #FF9DB8;
  box-shadow: 0 4px 14px rgba(255,92,138,.18);
}
.cr-need.on .crn-tx{ color: #E8436B }
.cr-need.on .crn-s{ color: #D97C9B }
.cr-need:active{ transform: scale(.96) }
/* 小屏(<=340)自动换两行 */
@media (max-width: 340px){
  .cr-needs{ grid-template-columns: 1fr 1fr }
}


/* ==================== 105) 房间公屏聊天(抖音直播形式) ==================== */
.room-chat{
  margin: 12px 12px 0;
  background: rgba(0,0,0,.42);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.rc-list{
  max-height: 190px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px;
}
.rc-list:empty{ display: none }
.rc-row{
  font-size: 12.5px;
  line-height: 1.55;
  color: #fff;
  margin-bottom: 6px;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.rc-row b{
  color: #FFD54A;
  font-weight: 900;
  margin-right: 6px;
}
.rc-row.me b{ color: #7DE3FF }
.rc-row.me{ color: #E8FBFF }
.rc-input{
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.12);
}
.rc-input input{
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  background: rgba(255,255,255,.92);
  color: #1A1D26;
  outline: none;
}
.rc-input button{
  flex: 0 0 auto;
  margin-left: 8px;
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg,#FF5C8A,#A855F7);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}


/* ==================== 106) 家族成员 / 称号任命 ==================== */
.fm-tip{ font-size: 11.5px; color: #B07A3A; background: #FFF8E6; border: 1px solid #FFE0A8;
  border-radius: 10px; padding: 8px 12px; margin-bottom: 10px }
.fm-list{ background: #fff; border-radius: 16px; padding: 4px 14px; box-shadow: 0 2px 10px rgba(20,21,26,.045) }
.fm-row{ display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid #F3F4F7 }
.fm-row:last-child{ border-bottom: none }
.fm-av{ position: relative; flex: 0 0 auto; margin-right: 11px }
.fm-main{ flex: 1 1 auto; min-width: 0 }
.fm-nm{ display: flex; align-items: center; font-size: 14px; font-weight: 800; color: #1A1D26;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.fm-tag{ display: inline-block; margin-left: 6px; font-size: 9.5px; font-weight: 900;
  padding: 1px 7px; border-radius: 999px; border: 1px solid #E5E7EB; color: #9AA0AC;
  background: #FAFBFC; flex: 0 0 auto }
.fm-sub{ font-size: 11px; color: #9AA0AC; margin-top: 2px }
.fm-set{ flex: 0 0 auto; height: 28px; padding: 0 14px; border: none; border-radius: 999px;
  background: linear-gradient(135deg,#FFD54A,#FF9A3C); color: #7A3B00; font-size: 12px; font-weight: 900 }

/* 任命选项 */
.role-opt{ display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff; border: 1.5px solid #EEF0F5; border-radius: 14px;
  font-size: 14px; font-weight: 800; margin-bottom: 10px }
.role-opt.on{ border-color: #FFD54A; background: #FFFCF0 }
.ro-cur{ font-size: 10px; color: #FF8A00; font-weight: 900 }


/* 家族成员列表: 44px 小头像也不挂 VIP 角标 */
.fm-av .av-vip, .fm-row .av-vip{ display: none !important }
/* 在线点小一点, 不压头像 */
.fm-av.online-wrap::after{ width: 9px !important; height: 9px !important; right: 1px !important; bottom: 1px !important }


/* ==================== 107) 家族红包: 填写弹窗 ==================== */
.pk-hero{ text-align: center; padding: 10px 0 18px }
.pk-hero-ic{ font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(255,80,110,.35)) }
.pk-hero-t{ font-size: 17px; font-weight: 900; color: #1A1D26; margin-top: 10px }
.pk-hero-s{ font-size: 12px; color: #9AA0AC; margin-top: 4px }
.pk-form{ background: #fff; border-radius: 16px; padding: 6px 16px; box-shadow: 0 2px 12px rgba(20,21,26,.05) }
.pk-fld{ display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid #F3F4F7 }
.pk-fld label{ flex: 0 0 76px; font-size: 13.5px; font-weight: 800; color: #3A3F52 }
.pk-in{ flex: 1 1 auto; display: flex; align-items: center; min-width: 0 }
.pk-in input{ flex: 1 1 auto; min-width: 0; border: none; outline: none; font-size: 20px;
  font-weight: 900; color: #1A1D26; background: transparent; text-align: right; padding-right: 6px }
.pk-in span{ flex: 0 0 auto; font-size: 12px; color: #9AA0AC }
.pk-bal{ padding: 12px 0 6px; font-size: 12px; color: #9AA0AC }
.pk-bal b{ color: #FF5C8A; font-size: 14px }
.pk-qk{ display: flex; padding: 6px 0 14px }
.pk-qk span{ flex: 1 1 auto; text-align: center; font-size: 11.5px; font-weight: 800; color: #E8436B;
  background: #FFF0F6; border-radius: 999px; padding: 7px 0; margin-right: 8px }
.pk-qk span:last-child{ margin-right: 0 }
.pk-send{ width: 100%; margin-top: 18px; height: 52px; border: none; border-radius: 16px;
  background: linear-gradient(135deg,#FF5C8A,#FF2D55); color: #fff; font-size: 17px; font-weight: 900;
  box-shadow: 0 8px 22px rgba(255,45,85,.35) }
.pk-send:disabled{ opacity: .6 }
.pk-tip{ text-align: center; font-size: 11px; color: #B6BAC4; margin-top: 12px }


/* ==================== 108) 红包卡片 + 详情 ==================== */
.pk-card{
  display: flex; align-items: center; width: 210px;
  background: linear-gradient(135deg,#FF6B4A,#FF3B2F);
  border-radius: 12px; padding: 10px 12px;
  box-shadow: 0 6px 16px rgba(255,59,47,.28);
  cursor: pointer;
}
.pk-card.busy{ opacity: .7 }
.pk-card.taken{ background: linear-gradient(135deg,#F0B27A,#E59A5B); box-shadow: none }
.pk-card-l{ flex: 1 1 auto; display: flex; align-items: center; min-width: 0 }
.pk-card-ic{ font-size: 26px; margin-right: 9px; flex: 0 0 auto }
.pk-card-tx{ min-width: 0 }
.pk-card-t{ font-size: 12.5px; font-weight: 900; color: #fff; line-height: 1.25 }
.pk-card-s{ font-size: 10.5px; color: rgba(255,255,255,.85); margin-top: 2px }
.pk-card-go{
  flex: 0 0 auto; font-size: 11px; font-weight: 900; color: #C22A1C;
  background: #FFE9A3; border-radius: 999px; padding: 4px 11px; margin-left: 8px;
}

/* 详情 */
.pd-hero{ text-align: center; padding: 18px 0 14px }
.pd-from{ font-size: 13px; color: #8A8F9C }
.pd-ic{ font-size: 46px; line-height: 1.2; margin: 6px 0 }
.pd-amt{ font-size: 30px; font-weight: 900; color: #FF3B2F }
.pd-amt span{ font-size: 13px; font-weight: 700; color: #B6BAC4 }
.pd-st{ font-size: 11.5px; color: #9AA0AC; margin-top: 6px }
.pd-list{ background: #fff; border-radius: 16px; padding: 6px 16px; box-shadow: 0 2px 10px rgba(20,21,26,.05) }
.pd-row{ display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid #F3F4F7; font-size: 13.5px }
.pd-row:last-child{ border-bottom: none }
.pd-nm{ color: #3A3F52; font-weight: 700 }
.pd-c{ color: #FF8A00; font-weight: 900 }


/* ==================== 109) 悬浮刷新按钮 ==================== */
#fabRefresh{
  position: fixed;
  left: 12px;
  bottom: 96px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #E8436B;
  font-size: 21px;
  font-weight: 900;
  line-height: 40px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
  border: 1px solid rgba(0,0,0,.05);
  z-index: 9990;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s;
}
#fabRefresh:active{ transform: scale(.9) }
#fabRefresh.spin{ animation: fabSpin .6s linear }
@keyframes fabSpin{ from{ transform: rotate(0) } to{ transform: rotate(360deg) } }


/* ==================== 110) 红包卡片: 独占一行, 在名字下方 ==================== */
.cbody > .pk-card{
  flex-basis: 100%;
  width: 100%;
  max-width: 230px;
  margin-top: 5px;
  order: 10;               /* 永远排在名字/座驾标签之后 */
}
.crow.me .cbody > .pk-card{ margin-left: auto }
.crow:not(.me) .cbody > .pk-card{ margin-right: auto }

/* 抢光/过期: 变灰 + 不可点 */
.pk-card.empty{
  background: linear-gradient(135deg,#C9CED6,#AEB4BF) !important;
  box-shadow: none !important;
  cursor: default;
}
.pk-card.empty .pk-card-go{
  background: rgba(255,255,255,.6) !important;
  color: #6B7280 !important;
}
.pk-card.taken{
  background: linear-gradient(135deg,#F0B27A,#E59A5B) !important;
  box-shadow: none !important;
}
.pk-card.taken .pk-card-go{
  background: rgba(255,255,255,.55) !important;
  color: #8A5A22 !important;
}

/* ==================== 111) 家族成员行可点击 ==================== */
.fm-row{ cursor: pointer }
.fm-row:active{ background: #FAFBFC }
.fm-nm{ pointer-events: none }
.fm-sub{ pointer-events: none }
.fm-tag{ pointer-events: none }


/* ==================== 112) 真人匹配卡片: 彻底重排 ==================== */
/* 1) 卡片: 固定铺满舞台, 内容从上往下排, 不再居中留大空白 */
.sw-stage{
  height: 430px !important;
  margin: 12px 14px 8px !important;
  position: relative !important;
  background: transparent !important;
}
.sw-card{
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: auto !important; height: auto !important;
  padding: 0 !important;
  display: block !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  background: #fff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(216,27,96,.18) !important;
}
.sw-card.back{ transform: scale(.95) translateY(10px) !important; opacity: .55 !important }

/* 2) 内容区: 纵向排列, 顶部开始 */
.sw-bd{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 16px 18px 18px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  pointer-events: none;
}

/* 3) 头像: 去掉负 margin(它把头像顶到名字上), 统一正圆 */
.sw-bd .av-heart,
.sw-bd .av-heart > .av,
.sw-bd .sw-av{
  border-radius: 50% !important;
}
.sw-bd .av-heart{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 0;
}
.sw-bd .sw-av{
  margin: 0 !important;
  width: 104px !important;
  height: 104px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #fff !important;
  box-shadow: 0 6px 18px rgba(216,27,96,.22) !important;
  background: #fff !important;
  display: block;
}
.sw-bd .sw-avph{
  display: flex !important;
  align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900; color: #fff;
  background: linear-gradient(160deg,#FF8FAB,#A855F7) !important;
}

/* 4) 名字: 给足上边距, 绝不被头像或等级徽章压住 */
.sw-nm2{
  position: relative !important;
  z-index: 5 !important;
  margin-top: 14px !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #2A1B22 !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
.sw-nm2 span{ font-size: 14px !important; font-weight: 600 !important; color: #8a6270 !important; margin-left: 6px }

/* 5) 等级徽章: 收进头像内, 不盖名字 */
.sw-bd .av-vip,
.sw-bd .lv-badge,
.sw-bd .avlv{
  transform: none !important;
  bottom: 2px !important;
  right: 2px !important;
  z-index: 2 !important;
}

/* 6) 标签 / 简介 */
.sw-tags2{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-top: 10px !important;
  gap: 0 !important;
}
.sw-tags2 > *{ margin: 0 5px 6px !important }
.sw-bio2{
  margin-top: 12px !important;
  font-size: 13.5px !important;
  color: #6B5360 !important;
  line-height: 1.75 !important;
  padding: 0 4px;
}

/* 7) 顶部彩条: 变细, 不抢空间 */
.sw-band{
  height: 56px !important;
  flex: 0 0 auto;
}

/* 8) 按钮: 固定在卡片下方, 不压卡片 */
.sw-acts{
  display: flex !important;
  justify-content: center !important;
  padding: 6px 0 14px !important;
  position: relative !important;
  z-index: 6 !important;
}
.sw-acts > *:not(:last-child){ margin-right: 34px !important }
.sw-btn{ width: 62px !important; height: 62px !important; font-size: 26px !important }

/* 9) 舞台外层不要再透出页面内容 */
.sw-wrap, .sw-deck{ background: #FFF3F7 !important }


/* ==================== 113) 真人匹配卡片: 按实际结构重排 ==================== */
/* 实际结构: #matchSwipeMask > .sw-head + .sw-stage > .sw-card > .sw-av/.sw-name/.sw-meta/.sw-intro/.sw-tags */

#matchSwipeMask{ padding: 14px !important; box-sizing: border-box !important }
#matchSwipeMask .sw-head{ margin-bottom: 10px !important }

/* 1) 卡片高度随内容, 不再撑满 430px 留大片空白 */
#matchSwipeMask .sw-stage{
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: 340px !important;
  margin: 0 auto !important;
  display: block !important;
  position: relative !important;
}
#matchSwipeMask .sw-card{
  position: relative !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
  padding: 22px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #fff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.28) !important;
}

/* 2) 头像: 取消 -52px 负边距(它把头像顶到名字上), 统一正圆 */
#matchSwipeMask .sw-av{
  margin: 6px 0 20px !important;
  display: block !important;
  line-height: 0 !important;
  background: transparent !important;
  border: none !important;
}
#matchSwipeMask .sw-av > .av,
#matchSwipeMask .sw-av img,
#matchSwipeMask .sw-av.av-heart > .av{
  width: 112px !important;
  height: 112px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  object-fit: cover !important;
  border: 4px solid #fff !important;
  box-shadow: 0 8px 22px rgba(216,27,96,.22) !important;
  background: #fff !important;
  margin: 0 auto !important;
  display: block !important;
}
/* 头像框/挂件不要撑变形 */
#matchSwipeMask .sw-av .frm{ border-radius: 50% !important }
/* 等级徽章贴头像右下外沿, 不侵入名字 */
#matchSwipeMask .sw-av .av-vip,
#matchSwipeMask .sw-av .lv-badge{
  bottom: -4px !important;
  right: -4px !important;
  z-index: 3 !important;
}

/* 3) 名字: 允许换行, 不被压, 不和徽章重叠 */
#matchSwipeMask .sw-name{
  position: relative !important;
  z-index: 5 !important;
  margin: 0 0 8px !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  color: #1F2937 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100% !important;
  text-align: center !important;
}
#matchSwipeMask .sw-name .tq-verify{ margin-left: 4px; vertical-align: 1px }

/* 4) 年龄城市 / 简介 / 标签 */
#matchSwipeMask .sw-meta{
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  color: #6B7280 !important;
  white-space: normal !important;
}
#matchSwipeMask .sw-intro{
  margin: 0 0 14px !important;
  max-height: none !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: #4B5563 !important;
  padding: 0 2px;
}
#matchSwipeMask .sw-tags{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0 !important;
  margin-top: 2px !important;
}
#matchSwipeMask .sw-tags > *{ margin: 0 5px 6px !important }

/* 5) 底部两个按钮: 大小合适, 不挤 */
#matchSwipeMask .sw-actions{
  margin-top: 16px !important;
  width: 100% !important;
  max-width: 340px !important;
  display: flex !important;
  justify-content: center !important;
}
#matchSwipeMask .sw-actions > *:not(:last-child){ margin-right: 20px !important }
#matchSwipeMask .sw-btn{
  width: 132px !important;
  height: 56px !important;
  border-radius: 28px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  border: none !important;
  cursor: pointer;
}
#matchSwipeMask .sw-btn.nope{ background: #fff !important; color: #FF3B5C !important; box-shadow: 0 6px 18px rgba(0,0,0,.18) !important }
#matchSwipeMask .sw-btn.like{ background: linear-gradient(135deg,#FF7BA9,#FF3B5C) !important; color: #fff !important; box-shadow: 0 8px 22px rgba(255,59,92,.42) !important }


/* ==================== 114) 真人匹配: 去掉心形头像框 + 加深背景 ==================== */
/* 心形头像框在卡片里会露出白色心形, 和圆形头像叠在一起很乱 -> 卡片内不显示头像框 */
#matchSwipeMask .sw-av .frm,
#matchSwipeMask .sw-av .avbadge,
#matchSwipeMask .sw-av .av-ck .frm{
  display: none !important;
}
/* 头像容器本身不要任何形状/背景 */
#matchSwipeMask .sw-av,
#matchSwipeMask .sw-av.av-heart{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
/* 头像本体: 正圆 */
#matchSwipeMask .sw-av > .av{
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 4px solid #fff !important;
  box-shadow: 0 10px 26px rgba(216,27,96,.22) !important;
}
/* 背景加深, 减少下方内容干扰 */
#matchSwipeMask{ background: rgba(0,0,0,.93) !important }


/* ==================== 115) 真人匹配: 头像框只去装饰, 保留头像本体 ==================== */
/* .frm 是头像框容器, 里面才是 .av —— 不能整个 display:none, 否则头像消失 */
#matchSwipeMask .sw-av .frm{
  display: block !important;
  width: 112px !important;
  height: 112px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  margin: 0 auto !important;
}
#matchSwipeMask .sw-av .frm::before,
#matchSwipeMask .sw-av .frm::after{ display: none !important; content: none !important }
#matchSwipeMask .sw-av .avbadge{ display: none !important }

/* 头像本体: 正圆铺满 */
#matchSwipeMask .sw-av .av{
  display: block !important;
  width: 112px !important;
  height: 112px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #F3F4F6 !important;
  border: 3px solid #fff !important;
  box-shadow: 0 10px 26px rgba(216,27,96,.22) !important;
  box-sizing: border-box !important;
}
#matchSwipeMask .sw-av .av > img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

/* 名字: 保证可见(有些会员名用了渐变文字, 这里强制实色) */
#matchSwipeMask .sw-name{
  color: #1F2937 !important;
  -webkit-text-fill-color: #1F2937 !important;
  background: none !important;
  opacity: 1 !important;
}
#matchSwipeMask .sw-name .vip-name,
#matchSwipeMask .sw-name span{
  -webkit-text-fill-color: currentColor !important;
}

/* 等级徽章: 回到头像右上角外侧, 不占名字空间 */
#matchSwipeMask .sw-av .av-vip{
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  z-index: 4 !important;
}
#matchSwipeMask .sw-av{ position: relative !important }


/* ==================== 116) 真人匹配: 认证徽章不要压在名字上 ==================== */
#matchSwipeMask .sw-name .tq-verify{
  position: static !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 0 0 6px !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  font-size: 13px !important;
  width: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
  border-radius: 50% !important;
  background: #3B82F6 !important;
  color: #fff !important;
  text-align: center !important;
}
/* 名字整行居中, 名字+徽章作为整体 */
#matchSwipeMask .sw-name{
  display: block !important;
  text-align: center !important;
  padding: 0 24px !important;
}


/* ==================== 117) 空状态引导(好友/申请) ==================== */
.empty-guide{
  text-align: center;
  padding: 46px 24px 40px;
}
.empty-guide .eg-ic{ font-size: 52px; line-height: 1; margin-bottom: 14px; opacity: .9 }
.empty-guide .eg-t{ font-size: 16px; font-weight: 900; color: #2A1B22; margin-bottom: 8px }
.empty-guide .eg-s{ font-size: 12.5px; color: #9AA0AC; line-height: 1.8; margin-bottom: 22px }
.empty-guide .eg-btn{
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg,#FF5C8A,#A855F7);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(255,45,85,.3);
  cursor: pointer;
}
.empty-guide .eg-btn:active{ transform: scale(.97) }
/* 动态卡片里的「私聊」按钮 */
.m-bar .m-chat{
  color: #FF5C8A;
  font-weight: 800;
}


/* ==================== 118) 一键已读按钮 ==================== */
.bar1 .msg-readall{
  margin-left: auto;
  margin-right: 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: #FF5C8A;
  background: #FFF0F6;
  border: 1px solid #FFD9E5;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  flex: 0 0 auto;
}
.bar1 .msg-readall:active{ transform: scale(.96) }


/* ==================== 119) 关系标签 / 距离 ==================== */
.rel-tag{
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  vertical-align: 1px;
  flex: 0 0 auto;
}
.rel-tag.friend{ color:#22c55e; background:#22c55e14; border-color:#22c55e33 }
.rel-tag.stranger{ color:#9AA0AC; background:#9AA0AC14; border-color:#9AA0AC33 }
.rel-dist{
  margin-left: 5px;
  font-size: 10px;
  color: #B0B4BD;
  font-weight: 600;
  flex: 0 0 auto;
}
.hd-rel{ display: inline-block }


/* ==================== 120) 消息撤回 / 引用回复 ==================== */
.cbub-recalled{
  display: inline-block;
  font-size: 11.5px;
  color: #9AA0AC;
  background: #F1F2F5;
  border-radius: 10px;
  padding: 5px 12px;
  font-style: italic;
}
.cbub-quote{
  font-size: 11px;
  color: #7A7F8C;
  background: rgba(0,0,0,.05);
  border-left: 2px solid #FF8FAB;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 5px;
  line-height: 1.5;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 长按消息操作菜单 */
#msgMenuMask .mm-item{
  text-align: center;
  padding: 15px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #1A1D26;
  border-bottom: 1px solid #F1F2F5;
}
#msgMenuMask .mm-item.danger{ color: #FF3B5C }
#msgMenuMask .mm-item.cancel{ color: #7A7F8C; border-bottom: none; margin-top: 6px; font-weight: 600 }
#msgMenuMask .mm-item:active{ background: #F7F8FA }


/* ==================== 121) 交友页筛选条 ==================== */
.city-fbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px 12px 10px;
}
.city-fbar .cf-chip{
  font-size: 12px;
  font-weight: 700;
  color: #7A7F8C;
  background: #F5F6F8;
  border: 1px solid #EDEFF3;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 6px 6px 0;
  cursor: pointer;
  transition: all .15s;
}
.city-fbar .cf-chip.on{
  color: #fff;
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255,92,138,.28);
}
.city-fbar .cf-chip:active{ transform: scale(.96) }
.city-fbar .cf-count{
  margin-left: auto;
  font-size: 11.5px;
  color: #B0B4BD;
  font-weight: 600;
}


/* ==================== 122) 今日推荐 / 擦肩而过 ==================== */
.today-rec{ padding: 2px 0 12px }
.today-rec .tr-hd{ display:flex; align-items:baseline; padding: 4px 14px 8px }
.today-rec .tr-hd b{ font-size: 15px; font-weight: 900; color:#1A1D26 }
.today-rec .tr-sub{ font-size: 11.5px; color:#B0B4BD; margin-left: 8px }
.today-rec .tr-scroll{ display:flex; overflow-x:auto; padding: 0 12px 4px; -webkit-overflow-scrolling:touch }
.today-rec .tr-scroll::-webkit-scrollbar{ display:none }
.today-rec .tr-card{ flex:0 0 auto; width:86px; margin-right:10px; text-align:center; cursor:pointer }
.today-rec .tr-card:active{ transform: scale(.96) }
.today-rec .tr-av{ width:56px; height:56px; margin:0 auto 6px; border-radius:50%; overflow:hidden; background:#F1F2F5;
  box-shadow:0 3px 10px rgba(255,92,138,.18) }
.today-rec .tr-av img{ width:100%; height:100%; object-fit:cover; display:block }
.today-rec .tr-nm{ font-size:12px; font-weight:800; color:#1A1D26; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.today-rec .tr-meta{ font-size:10.5px; color:#9AA0AC; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.today-rec .tr-loading{ font-size:12px; color:#B0B4BD; padding:14px }
.today-rec .tr-pass{ margin:10px 14px 0; padding:10px 14px; border-radius:12px; background:#FFF0F6;
  color:#FF5C8A; font-size:13px; font-weight:800; text-align:center; cursor:pointer }
.today-rec .tr-pass:active{ transform: scale(.98) }


/* ==================== 123) 管理身份徽章 ==================== */
.role-badge{
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .3px;
  vertical-align: 1.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  white-space: nowrap;
}


/* ==================== 124) 全局垂直对齐规范化 ==================== */
/* 目标: 图标/文字/箭头/徽章 的中心线统一, 不再高低不齐 */

/* --- 设置页/列表行 --- */
.mi{
  display: flex;
  align-items: center;
  min-height: 52px;
  box-sizing: border-box;
}
.mi .e{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 17px;
  line-height: 1;
  flex: 0 0 auto;
}
.mi .grow{
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
}
.mi .ar{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  line-height: 1;
}
.mi .set-sw{
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* --- 聊天列表行 --- */
.lrow{
  display: flex;
  align-items: center;
}
.lrow .lmain{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.lrow .lt{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.35;
}
.lrow .ls{
  line-height: 1.35;
  margin-top: 2px;
}
.lrow .rt2{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 auto;
}

/* --- 徽章/标签: 与文字垂直居中, 不再上下飘 --- */
.rel-tag,
.rel-dist,
.role-badge,
.vip-txt,
.vip-nm,
.tag,
.hlv,
.mute-ic{
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}

/* --- 按钮内容居中(保留原有 flex 尺寸) --- */
.btn,
.bt,
.tq-dacha,
.tq-mc-btn,
.goto-btn{
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

/* --- 标题栏 / 分类标签 --- */
.bar1{
  display: flex;
  align-items: center;
}
.msg-cats{
  display: flex;
  align-items: center;
}
.msg-cats .mc{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --- 空状态引导 --- */
.empty-guide{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ==================== 125) 浪漫背景(降低刺眼白, 加柔光) ==================== */
/* 整体底色: 从纯白 -> 暖粉奶油, 长时间看不刺眼 */
:root{
  --app-bg: #FFF8FB;
  --app-bg2: #FDF6FF;
}
html, body{
  background: #FFF8FB !important;
}
/* 页面主容器加极淡的粉紫渐变, 有层次但不花 */
#main, .main, .page, .sbody{
  background:
    radial-gradient(120% 60% at 50% 0%, #FFF1F7 0%, rgba(255,241,247,0) 60%),
    linear-gradient(180deg, #FFF9FC 0%, #FBF7FF 100%) !important;
}
/* 卡片保持纯白, 但加柔和投影, 与背景拉开层次 */
.card, .panel, .lrow, .mi, .tq-ucard, .pf2-card{
  box-shadow: 0 2px 10px rgba(255,92,138,.06) !important;
}
/* 顶部标题栏 */
.bar1, .chat-shead{
  background: linear-gradient(180deg, #FFF3F8 0%, #FFF9FC 100%) !important;
}


/* ---- 125b) 浪漫背景(高优先级覆盖 theme-v2 的纯白) ---- */
html body,
html body.in-app,
html body[class]{
  background: #FFF8FB !important;
}
html #main,
html #app,
html .main{
  background:
    radial-gradient(120% 55% at 50% 0%, #FFF0F7 0%, rgba(255,240,247,0) 62%),
    linear-gradient(180deg, #FFF9FC 0%, #FBF6FF 100%) !important;
}


/* ==================== 126) 引用回复可读性修复 ==================== */
/* 自己的紫气泡里的引用: 用半透明白底 + 白字 */
.cbub.me .cbub-quote{
  background: rgba(255,255,255,.22) !important;
  border-left: 3px solid rgba(255,255,255,.75) !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
/* 对方白气泡里的引用: 浅灰底 + 深灰字 */
.cbub.other .cbub-quote{
  background: #F2F3F6 !important;
  border-left: 3px solid #FF8FAB !important;
  color: #4A4F5C !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
}
/* 群聊里的引用 */
.cbub .quote, .quote{
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}


/* 官方消息未读小红点 */
.notice-ic{ position: relative }
.unread-dot-mini{
  position: absolute;
  top: -2px; right: -2px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF3B5C;
  border: 1.5px solid #fff;
  display: block;
}
.notice-item.read .notice-txt{ color: #9AA0AC }


/* ==================== 127) 好友申请按钮 + 气泡文字修复 ==================== */
/* 接受/拒绝按钮: 之前变成圆形且文字换行, 统一成胶囊按钮 */
.lrow .btn.sm{
  border-radius: 999px !important;
  min-width: 62px !important;
  width: auto !important;
  height: 34px !important;
  line-height: 1 !important;
  padding: 0 16px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 1px;
}
/* 对方气泡: 保证白底深字, 短消息也清晰 */
.cbub.other,
.cbub.other *{
  color: #1A1D26 !important;
}
.cbub.other{
  background: #FFFFFF !important;
  border: 1px solid #EFEFF4 !important;
}
/* 自己气泡: 白字 */
.cbub.me,
.cbub.me *{
  color: #FFFFFF !important;
}


/* 钱包三栏布局 */
.wallet.wallet3{
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.wallet.wallet3 > div{
  flex: 1 1 0;
  text-align: center;
  min-width: 0;
}
.wallet.wallet3 .sub{
  font-size: 11px;
  line-height: 1.4;
}
.wallet.wallet3 .n{
  font-size: 19px;
  font-weight: 900;
  margin-top: 2px;
}


/* ==================== 128) 竖排/换行问题修复 ==================== */
/* 1) 广场动态: 名字和时间不再换行(名字过长用省略号) */
.m-nm{
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-width: 0;
  gap: 6px;
  line-height: 1.4 !important;
}
.m-nm b{
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-nm .m-tm{
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}
.m-nm .role-badge,
.m-nm .rel-tag,
.m-nm .vip-txt{
  flex: 0 0 auto;
}

/* 2) 充值套餐卡片: 金额数字禁止竖排 */
.pk-amt{
  white-space: nowrap !important;
  min-width: 52px;
  display: inline-block;
  word-break: keep-all;
  letter-spacing: 0;
}
.pk-amt *, .pk-card .num, .pk-card .price{
  white-space: nowrap !important;
  word-break: keep-all;
}
/* 套餐卡片内部按钮/数字不挤压 */
.pk-card{
  min-width: 0;
}
.pk-card .pk-amt{
  flex: 0 0 auto;
}


/* 129) 广场名字行: 强制单行横向 */
.m-nm{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  min-height: 0 !important;
  max-height: 26px;
  overflow: hidden;
}
.m-nm > *{ flex: 0 0 auto }
.m-nm > b{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ==================== 130) 筛选按钮 + 筛选面板 ==================== */
.city-fbar .cf-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 6px;
}
.city-fbar .cf-btn{
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #F5F6F8;
  border: 1px solid #EDEFF3;
  color: #5B6070;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.city-fbar .cf-btn.on{
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255,92,138,.28);
}
.city-fbar .cf-count{
  font-size: 11.5px;
  color: #B0B4BD;
  font-weight: 600;
}
/* 面板内选项 */
.cf-sec{ margin-bottom: 16px }
.cf-lb{ font-size: 12.5px; color: #9AA0AC; margin-bottom: 9px; font-weight: 700 }
.cf-opts{ display: flex; flex-wrap: wrap; gap: 9px }
.cf-opt{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #F5F6F8;
  border: 1px solid #EDEFF3;
  color: #5B6070;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.cf-opt.on{
  background: #FFF0F6;
  border-color: #FF5C8A;
  color: #FF5C8A;
  font-weight: 900;
}


/* ==================== 131) 截图问题批量修复 ==================== */
/* 图1/3/6: 头像上的 VIP 徽章压住脸 -> 缩到右下角小角标 */
.avwrap{
  position: relative !important;
  display: inline-block;
  line-height: 0;
}
.av-vip{
  position: absolute !important;
  right: -3px !important;
  bottom: -3px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  font-size: 8px !important;
  line-height: 1 !important;
  padding: 2px 5px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg,#FFD54A,#FFB300) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  z-index: 4 !important;
  white-space: nowrap;
}
/* 小头像(今日推荐 56px)再小一点 */
.tr-av .av-vip,
.tq-uc-av .av-vip{
  font-size: 7px !important;
  padding: 1px 4px !important;
  right: -4px !important;
  bottom: -2px !important;
}

/* 图2: 筛选按钮旁的人数不再竖排 */
.city-fbar .cf-count{
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  word-break: keep-all;
}

/* 图10: 充值页超值套餐卡片文字被截断 */
.pk-card,
.pk-card *{
  word-break: keep-all;
}
.pk-card{
  min-width: 0;
  overflow: visible !important;
}
.pk-card .pk-tag,
.pk-card .pk-name,
.pk-card .pk-desc{
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 11.5px !important;
}
/* 套餐三列不要挤在一起 */
.pk-list, .pk-row{
  display: flex;
  gap: 8px;
}
.pk-list > *, .pk-row > *{
  flex: 1 1 0;
  min-width: 0;
}


/* ==================== 132) 充值套餐卡片文字不再溢出 ==================== */
/* 实际类名: .pk-tag / .pk-ic / .pk-nm / .pk-amt / .pk-coin / .pk-bn */
.pk-card{
  overflow: visible !important;
}
.pk-card .pk-nm{
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: -.2px;
  margin-bottom: 4px;
}
.pk-card .pk-tag{
  font-size: 9.5px !important;
  padding: 2px 6px !important;
  white-space: nowrap !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 96% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.pk-card .pk-amt{
  white-space: nowrap !important;
  font-size: 19px !important;
}
.pk-card .pk-amt b{
  font-size: 19px !important;
}
.pk-card .pk-amt span{
  font-size: 10px !important;
  margin-left: 1px;
}
.pk-card .pk-coin,
.pk-card .pk-bn{
  font-size: 9.5px !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
/* 三列卡片留够宽度 */
.pk-scroll .pk-card{
  min-width: 104px !important;
}


/* ===== 133) 充值套餐卡片内的文字被压成 0 宽 -> 强制占满卡片宽度 ===== */
.pk-card .pk-nm,
.pk-card .pk-coin,
.pk-card .pk-bn,
.pk-card .pk-amt{
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.pk-card .pk-coin,
.pk-card .pk-bn{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.pk-card .pk-tag{
  display: block !important;
  width: auto !important;
  max-width: 92% !important;
}


/* ===== 134) 充值套餐卡片(改名 pk-pack) 文字完整显示 ===== */
.pk-pack{
  overflow: visible !important;
}
.pk-pack .pk-nm,
.pk-pack .pk-coin,
.pk-pack .pk-bn,
.pk-pack .pk-amt{
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.pk-pack .pk-nm{ font-size: 12px !important; font-weight: 900 !important }
.pk-pack .pk-amt{ font-size: 19px !important }
.pk-pack .pk-coin,
.pk-pack .pk-bn{ font-size: 9.5px !important; line-height: 1.45 }
.pk-pack .pk-tag{
  display: block !important;
  max-width: 92% !important;
  font-size: 9.5px !important;
  padding: 2px 6px !important;
}


/* ==================== 135) 首页筛选位置 + 整体布局优化 ==================== */
/* 筛选: 靠右单独一行, 不和"擦肩而过"挤在一起 */
.city-fbar{
  padding: 0 14px 10px !important;
}
.city-fbar .cf-row{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;   /* 靠右 */
  padding: 0 !important;
  min-height: 0 !important;
}
.city-fbar .cf-btn{
  height: 30px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  background: #FFFFFF !important;
  border: 1px solid #F0E6EE !important;
  color: #6B5B66 !important;
  box-shadow: 0 2px 8px rgba(255,92,138,.08);
}
.city-fbar .cf-btn.on{
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A) !important;
  color: #fff !important;
  border-color: transparent !important;
}
/* 隐藏旧的人数元素(若还有) */
.city-fbar .cf-count{ display: none !important }

/* --- 整体布局节奏优化: 卡片间距统一、圆角统一 --- */
#main .tq-banners,
#main .today-rec,
#main .city-fbar,
#main .tq-mc{
  margin-bottom: 2px;
}
/* 交友页卡片统一间距 */
.tq-ucard{
  margin-bottom: 10px !important;
  padding: 13px 14px !important;
  border-radius: 16px !important;
}
/* 今日推荐卡片间距 */
.today-rec{
  padding: 4px 0 10px !important;
}
.today-rec .tr-hd{
  padding: 2px 14px 10px !important;
}
/* 擦肩而过按钮更收敛 */
.today-rec .tr-pass{
  margin: 8px 14px 0 !important;
  padding: 9px 14px !important;
  font-size: 12.5px !important;
  background: #FFF5F9 !important;
  color: #FF6B9A !important;
}
/* 首页顶部 tab 与内容间距 */
#main > .tq-tabs{
  margin-bottom: 6px !important;
}


/* ==================== 136) 充值页: 提现 / 钱包明细入口 ==================== */
.rc-actions{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.rc-act{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(255,92,138,.07);
  cursor: pointer;
}
.rc-act:active{ transform: scale(.98) }
.rc-act-ic{
  font-size: 20px;
  margin-right: 9px;
  flex: 0 0 auto;
}
.rc-act .rc-act-t{
  font-size: 13.5px;
  font-weight: 900;
  color: #1A1D26;
  white-space: nowrap;
}
.rc-act .rc-act-s{
  font-size: 10px;
  color: #9AA0AC;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-act-ar{
  margin-left: auto;
  color: #C7CBD4;
  font-size: 16px;
  flex: 0 0 auto;
}


/* 我的页纯文字: 去掉图标后左侧留白归零, 行内对齐 */
.mlist .mi > .e{
  display: none !important;
}
.mlist .mi{
  padding-left: 16px !important;
}


/* 去掉图标后的对齐调整 */
.mi > .e{ display: none !important }
.mi{ padding-left: 16px !important }
/* 消息页 官方/好友 圆形标签 */
.sysav{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  letter-spacing: 0;
}
/* 首页功能卡: 去掉图标后文字居中 */
.tq-ban-ic{ display: none !important }
.tq-ban{
  justify-content: center !important;
}


/* ==================== 137) APP 体验优化 ==================== */
/* 1) 去掉点击时的灰色高亮块(更像原生 APP) */
*{
  -webkit-tap-highlight-color: transparent !important;
}
/* 2) 消除双击缩放延迟, 点击响应更快 */
a, button, [onclick], .mi, .lrow, .tq-ucard, .btn{
  touch-action: manipulation;
}
/* 3) iPhone 刘海/底部横条安全区适配 */
#tabbar, .tabbar{
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}
.bar1, .shead, .chat-shead, .mine-hd{
  padding-top: env(safe-area-inset-top, 0px) !important;
}
/* 4) 滚动容器内滚动不带动整页 */
.sbody, #main, .chat-body, .tr-scroll{
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* 5) 页面切换更顺滑 */
#main{
  will-change: transform;
}
/* 6) 按钮点击有轻微反馈(不用缩放, 避免布局跳动) */
.btn:active,
.bt:active,
.tq-dacha:active,
.tq-mc-btn:active{
  opacity: .82;
  transition: opacity .08s;
}
/* 7) 图片淡入, 避免白块闪现 */
.av img, .m-img img, .tq-uc-av img{
  animation: imgFade .22s ease;
}
@keyframes imgFade{
  from{ opacity: .4 }
  to{ opacity: 1 }
}


/* ==================== 138) 禁止横向滑动 + 修复今日推荐头像 ==================== */
/* 1) 整页只能上下滚, 不能左右拖 */
html, body{
  overflow-x: hidden !important;
  max-width: 100vw;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
#app, #main, .stack, .sbody{
  overflow-x: hidden !important;
  max-width: 100%;
}
/* 允许横向滚动的容器单独放行(今日推荐 / 通用横滑列表) */
.tr-scroll, .pk-scroll, .hscroll{
  touch-action: pan-x;
  overflow-x: auto;
}

/* 2) 今日推荐小头像: 去掉 VIP 角标(名称行已有 VIP), 不再糊在头像上 */
.tr-av .av-vip,
.tr-card .av-vip{
  display: none !important;
}
/* 小头像里的等级徽章也收起来, 避免和小头像挤在一起 */
.tr-av .noble-badge,
.tr-card .noble-badge{
  display: none !important;
}
/* 今日推荐头像尺寸统一 */
.tr-av{
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 8px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
.tr-av .av, .tr-av .avwrap, .tr-av img{
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
}
/* 昵称更清晰(不再模糊) */
.tr-nm{
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #1A1D26 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  filter: none !important;
}
.tr-meta{
  font-size: 10.5px !important;
  color: #9AA0AC !important;
}


/* ==================== 139) 今日推荐小头像彻底干净 ==================== */
/* 小头像里只留头像本身, 隐藏一切角标/等级/贵族/挂件 */
.tr-av .avwrap > *:not(.av):not(.frm){
  display: none !important;
}
.tr-av .nlv,
.tr-av .wlv,
.tr-av .avbadge,
.tr-av .av-vip,
.tr-av .noble-badge{
  display: none !important;
}
/* 头像框容器也收回圆形范围内 */
.tr-av{
  width: 58px !important;
  height: 58px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.tr-av .avwrap,
.tr-av .frm{
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block !important;
}
/* 昵称行不再被头像压住 */
.tr-card{
  position: relative;
  padding-bottom: 4px;
}
.tr-nm{
  margin-top: 6px !important;
  position: relative;
  z-index: 2;
}
.tr-meta{
  position: relative;
  z-index: 2;
}


/* ==================== 140) 支付通道按钮正版化(无心形图标) ==================== */
.r-mtabs{
  display: flex;
  gap: 10px;
  margin: 14px 0 10px;
}
.r-mtab{
  flex: 1 1 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .5px;
  border: 1.5px solid #EFEFF4;
  background: #FFFFFF;
  color: #6B7078;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
/* 微信支付: 微信绿 */
.r-mtab.r-wx.on{
  background: #F0FBF4;
  border-color: #07C160;
  color: #07C160;
  box-shadow: 0 4px 14px rgba(7,193,96,.16);
}
/* 支付宝: 支付宝蓝 */
.r-mtab.r-ali.on{
  background: #F0F7FF;
  border-color: #1677FF;
  color: #1677FF;
  box-shadow: 0 4px 14px rgba(22,119,255,.16);
}
.r-mtab:active{
  transform: scale(.985);
}


/* ==================== 141) 娱乐页新布局 ==================== */
.play-hero{
  padding: 14px 16px 6px;
}
.play-hero-t{
  font-size: 19px;
  font-weight: 900;
  color: #1A1D26;
  letter-spacing: -.2px;
}
.play-hero-s{
  font-size: 12px;
  color: #9AA0AC;
  margin-top: 4px;
}
/* 四个小游戏卡片 */
.game-grid{
  display: flex;
  flex-wrap: wrap;
  padding: 10px 14px 4px;
  gap: 10px;
}
.game-card{
  flex: 1 1 calc(50% - 5px);
  min-width: 140px;
  box-sizing: border-box;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1.5px solid #EFEFF4;
  background: #fff;
  cursor: pointer;
  transition: transform .12s;
}
.game-card:active{ transform: scale(.97) }
.game-card .gc-ic{
  font-size: 26px;
  line-height: 1;
}
.game-card .gc-t{
  font-size: 14.5px;
  font-weight: 900;
  color: #1A1D26;
  margin-top: 8px;
}
.game-card .gc-s{
  font-size: 11px;
  color: #9AA0AC;
  margin-top: 3px;
}
/* 语音房间分区标题 */
.play-sec{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 16px 6px;
}
.play-sec b{
  font-size: 15px;
  font-weight: 900;
  color: #1A1D26;
}
.play-sec span{
  font-size: 11px;
  color: #9AA0AC;
}
/* tabs 更紧凑 */
.playtabs{
  padding: 4px 14px 8px !important;
}
/* 开房按钮 */
.create-room-bar{
  padding: 0 14px 10px !important;
}
.create-room-bar button{
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(255,92,138,.22);
}


/* ==================== 142) VIP 角标缩小 + 聊天页顶部留白 ==================== */
/* VIP 角标: 统一缩小, 不再抢眼 */
.vip-tag, .vipTag, .vip-badge, .av-vip, .vip-pill{
  font-size: 9px !important;
  padding: 1px 5px !important;
  line-height: 1.5 !important;
  border-radius: 5px !important;
  font-weight: 800 !important;
  transform: none !important;
}
/* 聊天页顶部: 给状态栏留空间, 不再贴顶 */
.chat-shead, .chat-head, .chead{
  padding-top: max(10px, env(safe-area-inset-top)) !important;
  min-height: 58px !important;
  align-items: center !important;
}
.chat-shead .back, .chat-head .back, .chead .back{
  margin-top: 0 !important;
}
/* 聊天页头像和名字对齐 */
.chat-shead > *{ vertical-align: middle }
/* 群成员列表里的 VIP 也小一点 */
.member-item .vip-tag, .mbr .vip-tag, .gm-row .vip-tag{
  font-size: 9px !important;
  padding: 1px 5px !important;
}


/* ==================== 143) 娱乐页 · 霓虹朋克赛博风 ==================== */
.cyber-wrap{
  position: relative;
  margin: 0 -14px;
  padding: 16px 14px 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,0,128,.22), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(0,229,255,.18), transparent 44%),
    radial-gradient(circle at 50% 100%, rgba(168,85,247,.20), transparent 52%),
    linear-gradient(170deg, #0B0616 0%, #150A28 46%, #0A0715 100%);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
/* 扫描线 */
.cyber-scan{
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px);
  pointer-events: none;
  animation: cyberScan 7s linear infinite;
}
@keyframes cyberScan{ from{ transform: translateY(0) } to{ transform: translateY(3px) } }

/* 游戏房间主卡 */
.cyber-room{
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255,0,128,.24), rgba(124,58,237,.30) 52%, rgba(0,229,255,.20));
  border: 1px solid rgba(0,229,255,.38);
  box-shadow:
    0 0 0 1px rgba(255,0,128,.20) inset,
    0 0 26px rgba(255,0,128,.30),
    0 0 46px rgba(0,229,255,.16);
  overflow: hidden;
  cursor: pointer;
  transition: transform .14s;
}
.cyber-room:active{ transform: scale(.985) }
/* 网格底纹 */
.cyber-grid{
  position: absolute; left: 0; right: 0; bottom: -30px; height: 120px;
  background-image:
    linear-gradient(rgba(0,229,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.28) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: perspective(220px) rotateX(58deg);
  opacity: .55;
  pointer-events: none;
}
.cyber-badge{
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #00E5FF;
  border: 1px solid rgba(0,229,255,.55);
  background: rgba(0,229,255,.10);
  text-shadow: 0 0 8px rgba(0,229,255,.9);
}
.cyber-title{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,0,128,.95),
    0 0 24px rgba(255,0,128,.65),
    0 0 42px rgba(168,85,247,.55);
}
.cyber-sub{
  margin-top: 7px;
  font-size: 11.5px;
  color: rgba(220,225,255,.78);
  letter-spacing: .4px;
}
/* 游戏胶囊 */
.cyber-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.cyber-chips .chip{
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #EAE6FF;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(2px);
}
.cyber-chips .c1{ border-color: rgba(255,0,128,.55); box-shadow: 0 0 10px rgba(255,0,128,.35) }
.cyber-chips .c2{ border-color: rgba(168,85,247,.55); box-shadow: 0 0 10px rgba(168,85,247,.35) }
.cyber-chips .c3{ border-color: rgba(255,214,0,.50); box-shadow: 0 0 10px rgba(255,214,0,.28) }
.cyber-chips .c4{ border-color: rgba(0,229,255,.55); box-shadow: 0 0 10px rgba(0,229,255,.35) }
.cyber-chips .c5{ border-color: rgba(0,255,153,.55); box-shadow: 0 0 10px rgba(0,255,153,.30) }

/* 进入按钮 */
.cyber-enter{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  margin-top: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #0B0616;
  background: linear-gradient(100deg, #00E5FF, #FF00A8 55%, #A855F7);
  box-shadow: 0 0 18px rgba(255,0,168,.55), 0 0 34px rgba(0,229,255,.35);
  overflow: hidden;
}
.cyber-enter i{
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-18deg);
  animation: cyberShine 2.4s ease-in-out infinite;
}
@keyframes cyberShine{
  0%{ left: -60% }
  55%{ left: 130% }
  100%{ left: 130% }
}

/* 分区标题(暗底) */
.cyber-sec{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 2px 10px;
}
.cyber-sec b{
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #EAF6FF;
  text-shadow: 0 0 10px rgba(0,229,255,.7);
}
.cyber-sec span{
  font-size: 11px;
  color: rgba(0,229,255,.85);
  text-shadow: 0 0 8px rgba(0,229,255,.6);
}

/* 分类 tab 暗色霓虹 */
.cyber-wrap .playtabs{
  display: flex;
  gap: 8px;
  padding: 0 0 12px !important;
  overflow-x: auto;
}
.cyber-wrap .playtabs > div{
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: rgba(220,225,255,.72);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  white-space: nowrap;
}
.cyber-wrap .playtabs > div.on{
  color: #0B0616;
  background: linear-gradient(100deg,#00E5FF,#FF00A8);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(255,0,168,.5);
}

/* 开房按钮霓虹 */
.cyber-wrap .create-room-bar{ padding: 0 0 12px !important }
.cyber-wrap .create-room-bar button{
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,229,255,.5);
  border-radius: 12px;
  background: rgba(0,229,255,.10);
  color: #A8F4FF;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 0 16px rgba(0,229,255,.24) inset;
}

/* 房间列表暗色化 */
.cyber-wrap .room{
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
  margin-bottom: 10px;
}
.cyber-wrap .room .rt{ color: #F2F0FF !important }
.cyber-wrap .room .rs{ color: rgba(200,205,235,.7) !important }
.cyber-wrap .room .rc{
  background: rgba(168,85,247,.20) !important;
  border-radius: 12px;
}
.cyber-wrap .room .rbtn{
  background: linear-gradient(100deg,#FF00A8,#A855F7) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 0 14px rgba(255,0,168,.45);
}
.cyber-wrap .empty{ color: rgba(200,205,235,.55) !important }
.cyber-wrap #roomLimit{ color: rgba(0,229,255,.9) !important }


/* ==================== 144) 飞行棋盘 ==================== */
.ludo-board{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  max-height: 300px;
  overflow-y: auto;
  padding: 2px;
}
.ludo-board .lc{
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ludo-board .lc-n{ font-size: 8.5px; color: rgba(200,215,240,.55) }
.ludo-board .lc-i{ font-size: 9px; font-weight: 900; margin-top: 1px }
.ludo-board .lc-b{ border-color: rgba(0,255,153,.55); background: rgba(0,255,153,.10) }
.ludo-board .lc-b .lc-i{ color: #00FF99 }
.ludo-board .lc-t{ border-color: rgba(255,80,120,.55); background: rgba(255,80,120,.10) }
.ludo-board .lc-t .lc-i{ color: #FF5C8A }
.ludo-board .lc-r{ border-color: rgba(255,214,0,.55); background: rgba(255,214,0,.10) }
.ludo-board .lc-r .lc-i{ color: #FFD600 }
.ludo-board .lc-a{ border-color: rgba(0,229,255,.55); background: rgba(0,229,255,.10) }
.ludo-board .lc-a .lc-i{ color: #00E5FF }
.ludo-board .lc-fin{ border-color: rgba(255,214,0,.75); background: rgba(255,214,0,.16); box-shadow: 0 0 14px rgba(255,214,0,.35) }
.ludo-board .lc-fin .lc-n{ color: #FFD600; font-weight: 900 }
.ludo-board .lc-p{
  position: absolute;
  bottom: 3px;
  display: flex;
  gap: 2px;
}
.ludo-board .lp{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}


/* ==================== 145) 娱乐页铺满 + 防串页 ==================== */
/* #main 单页滚动, 内容不满时用暗底填满 */
#main{ overflow-y: auto !important; overflow-x: hidden !important }
.cyber-wrap{
  margin: 0 -14px -22px !important;
  padding: 18px 14px 40px !important;
  min-height: calc(100vh - 108px) !important;
  border-radius: 0 !important;
}
/* 顶部 bar 也融入暗色, 消除那条白 */
#main .bar1{
  background: linear-gradient(180deg,#0B0616,#150A28) !important;
  margin: 0 -14px !important;
  padding: 12px 14px 10px !important;
  border-bottom: none !important;
}
#main .bar1 .tb-title{
  color: #F2F0FF !important;
  text-shadow: 0 0 12px rgba(255,0,168,.8);
}
#main .bar1 .search{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(0,229,255,.22) !important;
}
#main .bar1 .search input{
  color: #E8ECFF !important;
}
#main .bar1 .search input::placeholder{
  color: rgba(200,210,240,.55) !important;
}
/* 底部 tabbar 之上不要露出白 */
#main{ padding-bottom: 0 !important }

/* ==================== 146) 语音房间内页美化 ==================== */
/* 房间顶部信息卡 */
.rv-head{
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg,#FFF0F6,#F5F0FF);
  box-shadow: 0 6px 22px rgba(255,92,138,.10);
}
/* 成员头像区 */
.rv-seats{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 22px 0 6px;
}
.rv-seat{
  text-align: center;
  width: 74px;
}
.rv-seat .rv-av{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(255,92,138,.22);
}
.rv-seat .rv-nm{
  font-size: 11.5px;
  color: #4A4F5C;
  margin-top: 7px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 麦克风主按钮 */
.rv-mic{
  width: 84px;
  height: 84px;
  margin: 18px auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A);
  box-shadow: 0 10px 30px rgba(255,92,138,.38);
}
.rv-mic.off{
  background: linear-gradient(135deg,#C9CCD4,#9AA0AC);
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.rv-tip{
  text-align: center;
  font-size: 12px;
  color: #10B981;
  margin-bottom: 14px;
}
/* 麦克风/扬声器按钮组 */
.rv-ctrls{
  display: flex;
  gap: 10px;
  margin: 0 4px 14px;
}
.rv-ctrls > *{
  flex: 1;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  border: none;
}
/* 公屏 */
.rv-screen{
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.rv-screen .rv-msg{
  font-size: 13px;
  line-height: 1.7;
  color: #24272E;
  margin-bottom: 6px;
}
.rv-screen .rv-msg b{
  color: #FF5C8A;
  margin-right: 6px;
}
/* 输入行 */
.rv-inputbar{
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.rv-inputbar input{
  flex: 1;
  height: 42px;
  border: 1.5px solid #F0F0F5;
  border-radius: 21px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.rv-inputbar button{
  width: 72px;
  height: 42px;
  border: none;
  border-radius: 21px;
  background: linear-gradient(135deg,#FF5C8A,#FF3B5C);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
/* 离开按钮 */
.rv-leave{
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border: none;
  border-radius: 14px;
  background: #F3F4F6;
  color: #8A8F9C;
  font-size: 14px;
  font-weight: 800;
}

/* 排行榜 */
.wr-mine{padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,#FFF4E5,#FFE9F0);font-size:13px;color:#7A3B00;margin-bottom:12px}
.wr-mine b{color:#E11D48}
.wr-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.wr-row{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid #F3F4F6}
.wr-row:last-child{border-bottom:none}
.wr-row.me{background:#FFF8FB}
.wr-row>img,.wr-ph{width:32px;height:32px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#FFE3EC;font-size:16px}
.wr-rk{width:30px;font-size:13px;font-weight:900;color:#9AA0AC;text-align:center}
.wr-nm{flex:1;font-size:13.5px;font-weight:700;color:#24272E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wr-st{font-size:11px;color:#9AA0AC}
.wr-st b{color:#E11D48}
/* 举报 */
.rp-p{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border-radius:12px;margin-bottom:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);font-size:14px;font-weight:700}
.rp-p>img,.rp-ph{width:34px;height:34px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#FFE3EC;font-size:17px}
.rp-ar{margin-left:auto;color:#C9CCD4}

/* 观战提示 */
.wf-spec{
  margin-top:10px;padding:9px 14px;border-radius:12px;text-align:center;
  font-size:12px;font-weight:800;color:#9FD2FF;
  background:rgba(0,180,255,.12);border:1px solid rgba(0,180,255,.4);
  box-shadow:0 0 16px rgba(0,180,255,.22);
}

.dg-rank{margin-top:10px;background:rgba(255,255,255,.06);border-radius:12px;padding:10px 12px}
.dg-rk{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#DCEBFF;padding:5px 0}
.dg-rk span:first-child{width:26px;text-align:center;font-size:13px}
.dg-rk .n{flex:1}
.dg-rk b{color:#FFD600}

/* 二次渲染不再播放入场动画(防闪烁) */
.wolf-app.noanim .wp{ animation: none !important }
.wolf-app.noanim .wover{ animation: none !important }
/* 投票结果面板 */
.wn .wn-res b{ color:#FFD600 }

/* ==== 狼人杀/你画我猜 完整样式(持久化) ==== */
/* ==== wolf_theme.css ==== */
/* ===== 狼人杀 · 暗黑血月主题 ===== */
.wolf-app{
  max-width: 420px; margin: 0 auto;
  color: #EDEAF5;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.wf-top{
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 12px;
}
.wf-t{
  font-size: 17px; font-weight: 900; letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 14px rgba(200,30,30,.9), 0 0 30px rgba(120,0,20,.8);
}
.wf-x{ color: rgba(220,210,235,.6); font-size: 20px; padding: 0 6px }

/* 角色卡 */
.wf-role{
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
}
.wr-ic{ font-size: 24px }
.wr-n{ font-size: 15px; font-weight: 900 }
.wr-d{ font-size: 11px; color: rgba(220,215,240,.65); margin-left: auto; text-align: right; max-width: 52%; line-height: 1.4 }

/* 玩家九宫格 */
.wf-grid{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.wp{
  width: calc(33.33% - 6px); box-sizing: border-box;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px; padding: 10px 6px 8px;
  text-align: center; position: relative;
  transition: transform .12s;
}
.wp[data-can="1"]{ border-color: rgba(255,80,80,.55); box-shadow: 0 0 14px rgba(200,30,30,.35) }
.wp[data-can="1"]:active{ transform: scale(.96) }
.wp.dead{ opacity: .38 }
.wp.spk{ border-color: #FFD600; box-shadow: 0 0 18px rgba(255,214,0,.45) }
.wp-n{ position: absolute; left: 7px; top: 5px; font-size: 9px; color: rgba(200,200,220,.5) }
.wp-av{ width: 48px; height: 48px; margin: 2px auto 0; position: relative }
.wp-av img{ width: 48px; height: 48px; border-radius: 50%; object-fit: cover }
.wp-av > span{ display: flex; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; font-size: 22px }
.wp-av .wp-r{
  position: absolute; right: -3px; bottom: -3px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-style: normal; border: 2px solid #0B0616;
}
.wp-av .wp-ring{
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #FFD600; animation: wpPulse 1.2s ease-in-out infinite;
}
@keyframes wpPulse{ 0%,100%{ transform: scale(1); opacity: .9 } 50%{ transform: scale(1.08); opacity: .45 } }
.wp-nm{ font-size: 10.5px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #E6E2F2 }
.wp-nm b{ color: #FFD600; font-size: 9px }
.wp-dead{ font-size: 9px; color: #FF6B6B; margin-top: 2px }

/* 夜晚/投票面板 */
.wn{
  margin-top: 14px; padding: 13px 14px; border-radius: 14px;
  background: rgba(120,10,30,.20);
  border: 1px solid rgba(200,30,30,.35);
  font-size: 12.5px; line-height: 1.7;
}
.wn b{ color: #FF7A7A }
.wn-res{ margin-top: 6px; color: rgba(230,225,245,.82); font-size: 12px }
.wn-btns{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px }
.wn.hunter{ background: rgba(200,120,0,.16); border-color: rgba(255,180,60,.4) }

/* 按钮 */
.wb{
  flex: 1 1 auto; padding: 10px 12px; border-radius: 11px; border: none;
  font-size: 12.5px; font-weight: 900; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12);
}
.wb.pri{ background: linear-gradient(100deg,#C81E1E,#7C1D1D) }
.wb.heal{ background: linear-gradient(100deg,#10B981,#047857) }
.wb.poison{ background: linear-gradient(100deg,#7C3AED,#4C1D95) }
.wb.mic{ flex: 0 0 46px; background: linear-gradient(100deg,#F59E0B,#B45309) }
.wb.skip{ background: rgba(255,255,255,.10); color: rgba(230,225,245,.8) }

/* 发言 */
.wspeech{
  margin-top: 14px; padding: 13px 14px; border-radius: 14px;
  background: rgba(255,214,0,.07);
  border: 1px solid rgba(255,214,0,.28);
}
.ws-title{ font-size: 12.5px; display: flex; justify-content: space-between; color: rgba(240,235,255,.9) }
.ws-title b{ color: #FFD600 }
.ws-left{ font-size: 13px; font-weight: 900; color: #FF7A7A }
.ws-list{ margin-top: 8px; display: flex; flex-direction: column; gap: 6px }
.ws{ font-size: 11.5px; color: rgba(225,222,240,.85); line-height: 1.6 }
.ws b{ color: #FFD600; margin-right: 6px }
.ws-wait{ margin-top: 8px; font-size: 11.5px; color: rgba(200,195,220,.6); text-align: center }
.ws-in{ display: flex; gap: 7px; margin-top: 10px }
.ws-in input{
  flex: 1; height: 38px; border-radius: 10px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: #fff; font-size: 13px; outline: none;
}

/* 日志 */
.wf-log{
  margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.035);
  font-size: 10.5px; line-height: 1.8; color: rgba(200,196,220,.6);
}

/* 结束 */
.wover{
  margin-top: 14px; padding: 16px; border-radius: 14px; text-align: center;
  background: linear-gradient(160deg, rgba(200,30,30,.22), rgba(124,29,29,.3));
  border: 1px solid rgba(255,120,120,.4);
}
.wo-t{ font-size: 19px; font-weight: 900; color: #fff; text-shadow: 0 0 16px rgba(255,80,80,.9) }
.wo-l{ margin-top: 10px; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px }
.wo-i{ color: rgba(230,225,245,.85) }

/* 快捷表情 */
.ws-emoji{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.ws-e{
  width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  font-size:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);cursor:pointer;
}
.ws-e:active{transform:scale(.9)}

/* ==== wolf_ultra.css ==== */
/* ===== 狼人杀 · 极清画质升级版 ===== */
#wolfMask{
  background:
    radial-gradient(circle at 50% -18%, rgba(255,60,60,.38), transparent 46%),
    radial-gradient(circle at 12% 8%, rgba(120,20,60,.42), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(60,20,120,.34), transparent 44%),
    radial-gradient(circle at 50% 110%, rgba(140,0,40,.30), transparent 52%),
    linear-gradient(175deg,#12030A 0%,#07040E 52%,#0C0410 100%) !important;
}
/* 月亮 */
.wolf-app::before{
  content:"";
  position:fixed; right:-40px; top:-40px; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle at 38% 34%, #FFE9D6 0%, #FF9E9E 32%, rgba(200,30,60,.55) 58%, rgba(120,10,30,0) 72%);
  filter: blur(1px);
  box-shadow: 0 0 90px rgba(255,80,80,.55), 0 0 160px rgba(200,20,60,.35);
  animation: wolfMoon 14s ease-in-out infinite;
  pointer-events:none; z-index:0;
}
@keyframes wolfMoon{ 0%,100%{ transform: translateY(0) scale(1) } 50%{ transform: translateY(10px) scale(1.04) } }
/* 星星层 */
.wolf-app::after{
  content:"";
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.2px 1.2px at 28% 8%, rgba(255,230,230,.8), transparent),
    radial-gradient(1.6px 1.6px at 64% 12%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 82% 30%, rgba(255,220,220,.7), transparent),
    radial-gradient(1.4px 1.4px at 44% 26%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.2px 1.2px at 8% 42%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 74% 48%, rgba(255,235,235,.7), transparent),
    radial-gradient(1.2px 1.2px at 36% 54%, rgba(255,255,255,.55), transparent);
  animation: wolfStars 6s ease-in-out infinite alternate;
  opacity:.85;
}
@keyframes wolfStars{ from{ opacity:.5 } to{ opacity: .95 } }
.wolf-app > *{ position: relative; z-index: 1 }

/* 标题 */
.wf-t{
  font-size: 18px !important;
  letter-spacing: 2px;
  background: linear-gradient(96deg,#FFD9D9,#FF6B6B 45%,#FFB86B);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(255,60,60,.55);
  filter: drop-shadow(0 0 10px rgba(255,60,60,.45));
}

/* 角色卡 */
.wf-role{
  border-radius: 16px !important;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 26px rgba(255,255,255,.06), 0 8px 26px rgba(0,0,0,.45) !important;
  border-width: 1.5px !important;
  padding: 13px 16px !important;
}
.wr-ic{ filter: drop-shadow(0 0 10px rgba(255,120,120,.8)) }

/* 玩家卡: 玻璃拟态 + 光边 */
.wolf-app .wp{
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14) !important;
  transition: transform .16s ease, box-shadow .2s;
}
.wolf-app .wp[data-can="1"]{
  border-color: rgba(255,90,90,.85) !important;
  box-shadow: 0 0 22px rgba(220,40,40,.55), inset 0 0 18px rgba(255,60,60,.18) !important;
  animation: wpBreath 1.8s ease-in-out infinite;
}
@keyframes wpBreath{ 0%,100%{ box-shadow:0 0 18px rgba(220,40,40,.45), inset 0 0 14px rgba(255,60,60,.14) } 50%{ box-shadow:0 0 30px rgba(255,70,70,.75), inset 0 0 22px rgba(255,70,70,.26) } }
.wolf-app .wp.spk{
  border-color: #FFD600 !important;
  box-shadow: 0 0 26px rgba(255,214,0,.65), inset 0 0 20px rgba(255,214,0,.18) !important;
}
.wolf-app .wp-av img{
  box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 4px 14px rgba(0,0,0,.5);
}
.wp-nm{ font-size: 11px !important; font-weight: 700; letter-spacing: .3px }
.wp-n{
  background: rgba(255,255,255,.1); border-radius: 4px; padding: 0 4px;
  font-weight: 800; color: rgba(255,220,220,.75) !important;
}

/* 面板 */
.wolf-app .wn{
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(160,10,40,.35), rgba(60,4,16,.55)) !important;
  border: 1px solid rgba(255,90,90,.4) !important;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 24px rgba(255,60,60,.10), 0 6px 20px rgba(0,0,0,.4);
  font-size: 13px !important;
}
.wolf-app .wn b{ color: #FFE1E1 !important; text-shadow: 0 0 10px rgba(255,80,80,.8) }

/* 按钮: 渐变发光 */
.wolf-app .wb{
  border-radius: 12px !important;
  font-size: 13px !important;
  letter-spacing: .5px;
  transition: transform .12s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.wolf-app .wb:active{ transform: scale(.97) }
.wolf-app .wb.pri{
  background: linear-gradient(100deg,#E11D48,#7F1D1D) !important;
  box-shadow: 0 0 20px rgba(225,29,72,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.wolf-app .wb.heal{ background: linear-gradient(100deg,#10B981,#065F46) !important; box-shadow: 0 0 18px rgba(16,185,129,.5) }
.wolf-app .wb.poison{ background: linear-gradient(100deg,#8B5CF6,#4C1D95) !important; box-shadow: 0 0 18px rgba(139,92,246,.5) }
.wolf-app .wb.mic{
  background: linear-gradient(100deg,#F59E0B,#B45309) !important;
  box-shadow: 0 0 18px rgba(245,158,11,.55);
  font-size: 13px !important;
}

/* 发言面板 */
.wolf-app .wspeech{
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(255,214,0,.14), rgba(120,90,0,.10)) !important;
  border: 1px solid rgba(255,214,0,.45) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(255,214,0,.16), inset 0 0 20px rgba(255,214,0,.06);
}
.wolf-app .ws-left{
  font-size: 15px !important;
  color: #FFE9A8 !important;
  text-shadow: 0 0 12px rgba(255,214,0,.9);
  font-variant-numeric: tabular-nums;
}
.wolf-app .ws-in input{
  border-radius: 12px !important; height: 40px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: #fff !important;
}
.wolf-app .ws-e{
  border-radius: 10px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  transition: transform .12s;
}
.wolf-app .ws-e:active{ transform: scale(.88) }

/* 日志 */
.wolf-app .wf-log{
  border-radius: 14px !important;
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  font-size: 11px !important;
  line-height: 1.9 !important;
}

/* 结束面板 */
.wolf-app .wover{
  border-radius: 18px !important;
  background: linear-gradient(160deg, rgba(225,29,72,.34), rgba(80,8,20,.6)) !important;
  border: 1px solid rgba(255,120,120,.5) !important;
  box-shadow: 0 0 34px rgba(225,29,72,.5), inset 0 0 26px rgba(255,80,80,.12);
  animation: woIn .45s ease;
}
@keyframes woIn{ from{ transform: scale(.94); opacity:0 } to{ transform: scale(1); opacity:1 } }
.wo-t{
  font-size: 21px !important;
  background: linear-gradient(96deg,#FFE9E9,#FF6B6B,#FFD600);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255,80,80,.7));
}

/* 阶段光带 */
.wf-band{
  height: 2px; margin: 12px 2px 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,60,60,.85), rgba(255,214,0,.85), rgba(255,60,60,.85), transparent);
  box-shadow: 0 0 16px rgba(255,60,60,.75);
  animation: bandFlow 3s linear infinite;
  background-size: 200% 100%;
}
@keyframes bandFlow{ from{ background-position: 0% 0 } to{ background-position: 200% 0 } }

/* 雾层 */
.wf-fog{
  position: fixed; left: -20%; right: -20%; bottom: 0; height: 46vh; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 80% at 20% 100%, rgba(180,30,60,.30), transparent 70%),
    radial-gradient(50% 70% at 62% 100%, rgba(90,20,120,.28), transparent 72%),
    radial-gradient(70% 90% at 92% 100%, rgba(200,60,80,.24), transparent 74%);
  filter: blur(22px);
  animation: fogMove 18s ease-in-out infinite alternate;
}
@keyframes fogMove{
  0%{ transform: translateX(-3%) scaleY(1) }
  100%{ transform: translateX(3%) scaleY(1.08) }
}
/* 狼眼 */
.wf-eyes{
  position: fixed; left: 20px; top: 26px; display: flex; gap: 16px; z-index: 0; pointer-events: none;
}
.wf-eyes i{
  width: 13px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #FFF3C4 0%, #FF4D4D 42%, rgba(200,20,20,0) 72%);
  box-shadow: 0 0 14px rgba(255,60,60,.95), 0 0 34px rgba(255,20,20,.55);
  transform: rotate(-14deg);
  animation: eyeBlink 5.5s ease-in-out infinite;
}
.wf-eyes i:last-child{ transform: rotate(14deg); animation-delay: .35s }
@keyframes eyeBlink{
  0%,42%,100%{ opacity: .95; transform: scaleY(1) rotate(-14deg) }
  46%,50%{ opacity: .12; transform: scaleY(.15) rotate(-14deg) }
}
/* 卡片入场 */
.wolf-app .wp{
  animation: cardIn .42s cubic-bezier(.2,.9,.3,1.2) backwards;
}
.wolf-app .wp:nth-child(1){ animation-delay:.02s }
.wolf-app .wp:nth-child(2){ animation-delay:.05s }
.wolf-app .wp:nth-child(3){ animation-delay:.08s }
.wolf-app .wp:nth-child(4){ animation-delay:.11s }
.wolf-app .wp:nth-child(5){ animation-delay:.14s }
.wolf-app .wp:nth-child(6){ animation-delay:.17s }
.wolf-app .wp:nth-child(7){ animation-delay:.20s }
.wolf-app .wp:nth-child(8){ animation-delay:.23s }
.wolf-app .wp:nth-child(9){ animation-delay:.26s }
@keyframes cardIn{ from{ opacity:0; transform: translateY(14px) scale(.92) } to{ opacity:1; transform:none } }

/* ==== 补充: 观战提示 ==== */
.wf-spec{margin-top:10px;padding:9px 14px;border-radius:12px;text-align:center;font-size:12px;font-weight:800;color:#9FD2FF;background:rgba(0,180,255,.12);border:1px solid rgba(0,180,255,.4);box-shadow:0 0 16px rgba(0,180,255,.22)}
/* ==== 补充: 排行榜 ==== */
.wr-mine{padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,#FFF4E5,#FFE9F0);font-size:13px;color:#7A3B00;margin-bottom:12px}
.wr-mine b{color:#E11D48}
.wr-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.wr-row{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid #F3F4F6}
.wr-row:last-child{border-bottom:none}
.wr-row.me{background:#FFF8FB}
.wr-row>img,.wr-ph{width:32px;height:32px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#FFE3EC;font-size:16px}
.wr-rk{width:30px;font-size:13px;font-weight:900;color:#9AA0AC;text-align:center}
.wr-nm{flex:1;font-size:13.5px;font-weight:700;color:#24272E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wr-st{font-size:11px;color:#9AA0AC}
.wr-st b{color:#E11D48}
/* ==== 补充: 举报 ==== */
.rp-p{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border-radius:12px;margin-bottom:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);font-size:14px;font-weight:700}
.rp-p>img,.rp-ph{width:34px;height:34px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#FFE3EC;font-size:17px}
.rp-ar{margin-left:auto;color:#C9CCD4}
/* ==== 补充: 你画我猜 ==== */
.dg-app{max-width:400px;margin:0 auto;color:#E8F1FF}
.dg-top{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 10px}
.dg-t{font-size:16px;font-weight:900;color:#fff;text-shadow:0 0 14px rgba(0,180,255,.7)}
.dg-r{font-size:12px;color:#9FD2FF}
.dg-r b{color:#FFD600;font-size:15px}
.dg-x{font-size:20px;color:rgba(200,220,240,.6);padding:0 6px}
.dg-word{text-align:center;font-size:13px;color:#BFE0FF;margin-bottom:8px}
.dg-word b{color:#FFD600;font-size:17px;letter-spacing:2px}
.dg-canvas-wrap{position:relative;background:#fff;border-radius:14px;padding:6px;box-shadow:0 6px 24px rgba(0,0,0,.35)}
#dgCanvas{display:block;background:#fff;border-radius:10px;touch-action:none}
.dg-tools{display:flex;align-items:center;gap:8px;padding:8px 4px 2px;flex-wrap:wrap}
.dg-tools .dg-c{width:22px;height:22px;border-radius:50%;border:2px solid transparent;display:inline-block}
.dg-tools .dg-c.on{border-color:#FFD600;box-shadow:0 0 8px rgba(255,214,0,.7)}
.dg-tools .dg-w{font-size:11px;color:#6B7280;padding:2px 7px;border-radius:8px;background:#F1F5F9}
.dg-tools .dg-w.on{background:#2563EB;color:#fff}
.dg-tools .dg-undo,.dg-tools .dg-clear{font-size:11.5px;color:#2563EB;font-weight:800;padding:2px 8px}
.dg-tools .dg-clear{color:#E11D48}
.dg-scores{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.dg-p{font-size:11px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#CFE6FF}
.dg-p.me{background:rgba(255,214,0,.18);color:#FFD600}
.dg-p b{color:#fff}
.dg-guesses{margin-top:10px;min-height:60px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.05);font-size:11.5px;line-height:1.8}
.dg-g{color:rgba(220,232,245,.8)}
.dg-g b{color:#9FD2FF;margin-right:5px}
.dg-g.ok{color:#34D399;font-weight:800}
.dg-in{display:flex;gap:8px;margin-top:10px}
.dg-in input{flex:1;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff;padding:0 12px;font-size:14px;outline:none}
.dg-in button{width:64px;height:42px;border:none;border-radius:12px;background:linear-gradient(100deg,#2563EB,#7C3AED);color:#fff;font-size:14px;font-weight:900}
.dg-over{text-align:center;margin-top:12px;font-size:16px;font-weight:900;color:#FFD600}
.dg-rank{margin-top:10px;background:rgba(255,255,255,.06);border-radius:12px;padding:10px 12px}
.dg-rk{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#DCEBFF;padding:5px 0}
.dg-rk span:first-child{width:26px;text-align:center;font-size:13px}
.dg-rk .n{flex:1}
.dg-rk b{color:#FFD600}

/* 今日推荐表头的筛选按钮 */
.tr-hd{display:flex;align-items:baseline;gap:8px}
.tr-filter{
  margin-left:auto;font-size:12px;font-weight:800;color:#FF5C8A;
  padding:4px 12px;border-radius:999px;background:#FFF0F6;border:1px solid #FFD9E5;
}
/* 无筛选条件时不占空间 */
.city-fbar:empty{display:none !important}


/* ===== 狼人杀发言栏: 规整布局(不竖排) ===== */
.wolf-app .wspeech{ padding: 12px 14px 14px !important }
.wolf-app .ws-emoji{
  display: flex; gap: 6px; margin: 8px 0 10px; flex-wrap: nowrap; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wolf-app .ws-emoji .ws-e{
  flex: 0 0 auto; width: 34px; height: 34px; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
/* 输入框独占一行 */
.wolf-app .ws-in{
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.wolf-app .ws-in input{
  flex: 1 1 100%; width: 100%; height: 40px; box-sizing: border-box;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 按钮行: 4 个等宽, 全部横排 */
.wolf-app .ws-in .wb{
  flex: 1 1 0; min-width: 0; height: 40px; padding: 0 6px;
  font-size: 12.5px !important; line-height: 40px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  writing-mode: horizontal-tb !important;
}
.wolf-app .ws-in .wb.mic{ flex: 1.1 1 0 }
.wolf-app .ws-in .wb.skip{ flex: 0.9 1 0 }

/* ===== 全局: 底部导航不遮挡内容 ===== */
#main, .sbody{
  padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box;
}
/* 二级页面(栈)同样留出底部空间 */
#stack .sbody{
  padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
}
/* 横向滚动容器不被压 */
.tr-scroll, .pk-scroll{ margin-bottom: 4px }

/* ===== 注册/登录页: 可滚动 + 精简 ===== */
#loginView{
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  max-height: 100vh;
}
/* 隐藏备选头像选择器(默认随机头像) */
#regAvatarBox, .reg-avatars, #regAvRow, #lgAvatarPick{
  display: none !important;
}
/* 注册表单间距收紧 */
#regExtra .field{ margin-bottom: 10px !important }
#regExtra .field label{ font-size: 12px !important }
#regExtra input{ height: 42px !important }

/* 注册页精简: 隐藏头像选择(默认随机) */
#lgAvatarList, #lgAvatarPrev{ display: none !important }
#lgAvatarRow, .lg-avatar-row{ display: none !important }
/* 上传按钮也隐藏 */
button[data-regav], #lgAvatarUp{ display: none !important }


/* ==================== 我的页 · 他趣风格 ==================== */
.tq-mine{ padding-bottom: 10px; }
.tq-hd{ padding: 22px 16px 14px; border-radius: 0 0 18px 18px; position: relative; }
.tq-hd-in{ display: flex; align-items: center; gap: 12px; }
.tq-av{ width: 62px; height: 62px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); background: #FFE3EC; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.tq-av img{ width: 100%; height: 100%; object-fit: cover; }
.tq-nick{ flex: 1 1 auto; min-width: 0; }
.tq-n1{ font-size: 18px; font-weight: 900; color: #1A1D26; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tq-lvs{ display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tq-lvs .lv{ font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.tq-lvs .lv.w{ background: #FFF3D6; color: #B45309; }
.tq-lvs .lv.a{ background: #EDE9FE; color: #6D28D9; }
.tq-edit{ flex: 0 0 auto; border: 1px solid #E7E3EE; background: #fff; color: #4A4F5C; font-size: 12px; font-weight: 800; padding: 7px 13px; border-radius: 999px; }

.tq-stats{ display: flex; padding: 8px 6px 4px; }
.tq-st{ flex: 1; text-align: center; }
.tq-st b{ display: block; font-size: 20px; font-weight: 900; color: #1A1D26; }
.tq-st b.ico{ font-size: 18px; }
.tq-st span{ font-size: 11.5px; color: #8A8F9C; }

.tq-grid{ display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 14px 0; }
.tq-card{ flex: 1 1 calc(50% - 5px); min-width: 130px; box-sizing: border-box; border-radius: 14px; padding: 13px 14px; color: #fff; position: relative; overflow: hidden; min-height: 76px; }
.tq-card .t{ font-size: 15px; font-weight: 900; }
.tq-card .s{ font-size: 11.5px; opacity: .85; margin-top: 4px; }
.tq-card .v{ position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 19px; font-weight: 900; }
.tq-card .v i{ font-size: 11px; font-style: normal; margin-left: 1px; }
.tq-card.g1{ background: linear-gradient(135deg,#C4B5FD,#A78BFA) }
.tq-card.g2{ background: linear-gradient(135deg,#6B7280,#4B5563) }
.tq-card.g3{ background: linear-gradient(135deg,#C7D2FE,#A5B4FC) }
.tq-card.g4{ background: linear-gradient(135deg,#FDBA74,#FB923C) }

.tq-banner{ margin: 12px 14px 0; border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(100deg,#FF6B6B,#FF3B5C 55%,#FF8A3D); box-shadow: 0 6px 18px rgba(255,80,80,.25); }
.tq-banner b{ font-size: 18px; color: #FFE9A8; }

.tq-list{ margin: 12px 14px 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.tq-row{ display: flex; align-items: center; gap: 10px; padding: 14px 14px; border-bottom: 1px solid #F4F2F7; }
.tq-row:last-child{ border-bottom: none }
.tq-row:active{ background: #FAF8FC }
.tq-ic{ width: 22px; text-align: center; font-size: 16px; flex: 0 0 auto; }
.tq-nm{ font-size: 14.5px; font-weight: 700; color: #1A1D26; flex: 0 0 auto; }
.tq-sub{ margin-left: auto; font-size: 11.5px; color: #A8ADB8; text-align: right; }
.tq-ar{ color: #C9CCD4; font-size: 16px; margin-left: 4px; }

/* 实名认证上传框 */
.cert-box{flex:1;height:96px;border:1.5px dashed #E7E3EE;border-radius:12px;display:flex;align-items:center;justify-content:center;
  color:#B0B4BD;font-size:12.5px;overflow:hidden;background:#FAFAFD;cursor:pointer}
.cert-box.has{border-style:solid;border-color:#FF5C8A}
.cert-box img{width:100%;height:100%;object-fit:cover}

/* 神兽/座驾 网格 */
.pet-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.pet-cell{flex:1 1 calc(33.33% - 7px);min-width:96px;background:#fff;border-radius:14px;padding:12px 8px;text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,.05);border:1.5px solid transparent}
.pet-cell.on{border-color:#FF5C8A;background:#FFF6FA}
.pet-cell .pic{font-size:30px;line-height:1}
.pet-cell .nm{font-size:12.5px;font-weight:800;margin-top:6px;color:#24272E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pet-cell .pr{font-size:11px;color:#FF5C8A;font-weight:800;margin-top:3px}
.pet-cell .st{font-size:10.5px;color:#9AA0AC;margin-top:4px}

/* 我的页顶部背景放大 */
.tq-hd{ min-height: 150px; display: flex; align-items: flex-end; }
.tq-hd.has-bg{ background-size: cover !important; background-position: center !important; }
.tq-hd.has-bg .tq-hd-in{ background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); border-radius: 12px; padding: 6px 8px; }
.tq-hd.has-bg .tq-n1, .tq-hd.has-bg .tq-edit{ color: #fff !important; }
.tq-hd.has-bg .tq-edit{ background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }

/* ===== 头像框: 真实 ID 样式 ===== */
.af-blue{ background: conic-gradient(from 0deg,#4A90E2,#A0D8FF,#2563EB,#7EC8FF,#4A90E2); box-shadow:0 0 12px rgba(74,144,226,.8); animation: afSpin 7s linear infinite; }
.af-pink{ background: conic-gradient(from 0deg,#FF8FB1,#FFD1DC,#FF5C8A,#FFE4EC,#FF8FB1); box-shadow:0 0 12px rgba(255,92,138,.8); animation: afSpin 8s linear infinite; }
.af-rainbow{ background: conic-gradient(from 0deg,#FF3B30,#FF9500,#FFD60A,#34C759,#00C7BE,#007AFF,#AF52DE,#FF3B30); box-shadow:0 0 14px rgba(255,255,255,.9); animation: afSpin 6s linear infinite; }
.af-star{ background: conic-gradient(from 0deg,#2B2350,#6B5BFF,#FFD700,#2B2350); box-shadow:0 0 14px rgba(255,215,0,.75); animation: afSpin 9s linear infinite; }
.af-ocean{ background: conic-gradient(from 0deg,#00C9FF,#92FE9D,#00B4DB,#0083B0,#00C9FF); box-shadow:0 0 12px rgba(0,201,255,.8); animation: afSpin 10s linear infinite; }
.af-forest{ background: conic-gradient(from 0deg,#2E7D32,#A5D6A7,#66BB6A,#1B5E20,#2E7D32); box-shadow:0 0 12px rgba(102,187,106,.75); animation: afSpin 11s linear infinite; }
.af-sunset{ background: conic-gradient(from 0deg,#FF8008,#FFC837,#FF512F,#FFC371,#FF8008); box-shadow:0 0 12px rgba(255,128,8,.8); animation: afSpin 9s linear infinite; }
.af-candy{ background: conic-gradient(from 0deg,#FFB6C1,#FFF0F5,#FF69B4,#FFE4E1,#FFB6C1); box-shadow:0 0 12px rgba(255,105,180,.75); animation: afHeart 2.2s ease-in-out infinite; }
.af-vip{ background: conic-gradient(from 0deg,#1A1A1A,#FFD700,#8B7500,#FFD700,#1A1A1A); box-shadow:0 0 16px rgba(255,215,0,.9); animation: afSpin 8s linear infinite; }
.af-diamond{ background: conic-gradient(from 0deg,#B9F2FF,#FFFFFF,#7FD8FF,#E0FFFF,#B9F2FF); box-shadow:0 0 16px rgba(185,242,255,.95); animation: afSpin 7s linear infinite; }
.af-fire{ background: conic-gradient(from 0deg,#FF2D00,#FF9500,#FFD60A,#FF2D00); box-shadow:0 0 14px rgba(255,45,0,.85); animation: afPulse 1.8s ease-in-out infinite; }
.af-moon{ background: conic-gradient(from 0deg,#1B1B3A,#4A4A8A,#C0C0FF,#1B1B3A); box-shadow:0 0 14px rgba(192,192,255,.8); animation: afSpin 12s linear infinite; }
.af-king{ background: conic-gradient(from 0deg,#FFD700,#FFF8DC,#B8860B,#FFA500,#FFD700); box-shadow:0 0 20px rgba(255,215,0,.95), inset 0 0 12px rgba(255,255,255,.5); animation: afSpin 12s linear infinite; }
.af-love{ background: conic-gradient(from 0deg,#FF2D55,#FFD1DC,#FF5C8A,#FFE4EC,#FF2D55); box-shadow:0 0 14px rgba(255,45,85,.85); animation: afHeart 1.6s ease-in-out infinite; }

/* 气泡预览 */
.bub-demo{ width:100%; padding:8px 6px; border-radius:12px; font-size:11.5px; font-weight:700; text-align:center; margin:0 auto 8px; }
.bub-classic{ background:#FFE3EC; color:#C2185B; }
.bub-ocean{ background:#D6EEFF; color:#0B5C8A; }
.bub-forest{ background:#DDF5E3; color:#1B6B3A; }
.bub-gold{ background:linear-gradient(135deg,#FFE9A8,#D4A017); color:#5A3A00; }
.bub-neon{ background:linear-gradient(135deg,#00E5FF,#7C00FF); color:#fff; }
.bub-galaxy{ background:linear-gradient(135deg,#1B1464,#8A2BE2); color:#fff; }
.bub-fire{ background:linear-gradient(135deg,#FF9500,#FF2D00); color:#fff; }
.bub-glass{ background:rgba(255,255,255,.55); color:#37474F; border:1px solid rgba(255,255,255,.8); backdrop-filter:blur(6px); }

/* ===== 聊天气泡: 按用户装备的 bubble 覆盖自己发出的气泡 ===== */
body[data-bubble="bub-ocean"] .crow.me .cbub{ background:linear-gradient(135deg,#D6EEFF,#BFE4FF) !important; color:#0B5C8A !important; }
body[data-bubble="bub-forest"] .crow.me .cbub{ background:linear-gradient(135deg,#DDF5E3,#C8EBD3) !important; color:#1B6B3A !important; }
body[data-bubble="bub-gold"] .crow.me .cbub{ background:linear-gradient(135deg,#FFE9A8,#E9C766) !important; color:#5A3A00 !important; }
body[data-bubble="bub-neon"] .crow.me .cbub{ background:linear-gradient(135deg,#00E5FF,#7C00FF) !important; color:#fff !important; box-shadow:0 0 12px rgba(0,229,255,.6) !important; }
body[data-bubble="bub-galaxy"] .crow.me .cbub{ background:linear-gradient(135deg,#1B1464,#8A2BE2) !important; color:#fff !important; }
body[data-bubble="bub-fire"] .crow.me .cbub{ background:linear-gradient(135deg,#FF9500,#FF2D00) !important; color:#fff !important; }
body[data-bubble="bub-glass"] .crow.me .cbub{ background:rgba(255,255,255,.6) !important; color:#37474F !important; border:1px solid rgba(255,255,255,.85) !important; backdrop-filter:blur(6px); }

/* ===== 流光字体: 应用到昵称 ===== */
.ff-flow-gold{ background:linear-gradient(90deg,#FFD700,#FFF6C9,#D4A017,#FFD700); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 3s linear infinite; }
.ff-flow-rainbow{ background:linear-gradient(90deg,#FF3B30,#FFD60A,#34C759,#00C7BE,#007AFF,#AF52DE,#FF3B30); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 4s linear infinite; }
.ff-flow-neon{ background:linear-gradient(90deg,#00E5FF,#7C00FF,#00E5FF); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 2.4s linear infinite; }
.ff-flow-fire{ background:linear-gradient(90deg,#FF2D00,#FF9500,#FFD60A,#FF2D00); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 2s linear infinite; }
.ff-flow-ice{ background:linear-gradient(90deg,#7FE7FF,#E0FBFF,#5AC8FA,#7FE7FF); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 3.4s linear infinite; }
.ff-flow-galaxy{ background:linear-gradient(90deg,#1B1464,#8A2BE2,#00CED1,#1B1464); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 3s linear infinite; }
.ff-flow-pink{ background:linear-gradient(90deg,#FF5C8A,#FFD1DC,#FF2D55,#FF5C8A); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 2.8s linear infinite; }
.ff-flow-green{ background:linear-gradient(90deg,#00FFC8,#92FE9D,#00C9FF,#00FFC8); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ffFlow 3.2s linear infinite; }
@keyframes ffFlow{ from{ background-position:0% 0 } to{ background-position:300% 0 } }

/* ===== 交友页: 头像统一圆形, 删除心形 ===== */
/* 1) 心形头像彻底去掉裁切, 回归圆形 */
.av-heart > .av,
.av-heart > .frm{
  -webkit-clip-path: none !important;
  clip-path: none !important;
  border-radius: 50% !important;
}
.av-heart::after{ display: none !important; }          /* 去掉心形描边光晕 */
.av-heart > .av img, .av-heart > .av{ border-radius: 50% !important; }

/* 2) 卡片上的小心心水印去掉 */
.tq-ucard::after, .dazi-card::after{ content: none !important; display: none !important; }

/* 3) 全站头像强制圆形(交友页最明显) */
.av, .avwrap, .avwrap > .av, .frm, .frm > .av, .av > img{
  border-radius: 50% !important;
}
.frm{ overflow: hidden; }
.frm::before, .frm::after{ border-radius: 50% !important; }

/* 4) 交友页各卡片头像位置统一圆形 */
.tq-uc-av, .tr-av, .dazi-av, .nearby-av, .gr-av, .ucard .av, .tq-ucard .av{
  border-radius: 50% !important;
  overflow: hidden;
}
.tq-uc-av img, .tr-av img, .dazi-av img{ border-radius: 50% !important; }

/* ===== 新增头像装饰: 非主流 7 款 ===== */
/* 暗黑朋克 */
.af-punk{ background: conic-gradient(from 0deg,#111,#FF0055,#111,#00FFC8,#111); box-shadow:0 0 14px rgba(255,0,85,.75); animation: afSpin 6s linear infinite; }
/* 哥特十字 */
.af-goth{ background: conic-gradient(from 90deg,#1A1A1A,#8B0000,#1A1A1A,#4A0000,#1A1A1A); box-shadow:0 0 16px rgba(139,0,0,.85); animation: afPulse 3s ease-in-out infinite; }
/* 骷髅骨链 */
.af-skull{ background: conic-gradient(from 0deg,#E8E8E8,#3A3A3A,#FFF,#2A2A2A,#E8E8E8); box-shadow:0 0 12px rgba(255,255,255,.7); animation: afSpin 9s linear infinite; }
/* 银链缠绕 */
.af-chain{ background: repeating-conic-gradient(#C0C0C0 0deg 12deg,#6E6E6E 12deg 24deg); box-shadow:0 0 12px rgba(192,192,192,.75); animation: afSpin 11s linear infinite; }
/* 涂鸦街头 */
.af-graffiti{ background: conic-gradient(from 0deg,#FF00AA,#00E5FF,#FFD600,#7CFF00,#FF00AA); box-shadow:0 0 16px rgba(255,0,170,.8); animation: afSpin 4.5s linear infinite; }
/* 赛博霓虹 */
.af-cyberpunk{ background: conic-gradient(from 0deg,#00FFF0,#FF00E5,#00FFF0,#7000FF,#00FFF0); box-shadow:0 0 18px rgba(0,255,240,.9), inset 0 0 10px rgba(255,0,229,.6); animation: afSpin 3.6s linear infinite; }
/* 血月 */
.af-bloodmoon{ background: conic-gradient(from 0deg,#2A0000,#C40000,#FF5252,#8B0000,#2A0000); box-shadow:0 0 20px rgba(196,0,0,.9); animation: afPulse 2.2s ease-in-out infinite; }

/* ===== 贵族 6 款 ===== */
/* 皇家金冠 */
.af-royal{ background: conic-gradient(from 0deg,#FFD700,#FFF8DC,#B8860B,#FFA500,#FFD700); box-shadow:0 0 22px rgba(255,215,0,1), inset 0 0 14px rgba(255,255,255,.55); animation: afSpin 10s linear infinite; }
/* 祖母绿 */
.af-emerald{ background: conic-gradient(from 0deg,#046307,#7FFFD4,#0B6623,#2ECC71,#046307); box-shadow:0 0 18px rgba(4,99,7,.9); animation: afSpin 9s linear infinite; }
/* 鸽血红 */
.af-ruby{ background: conic-gradient(from 0deg,#7B0000,#E0115F,#FF4D6D,#8B0000,#7B0000); box-shadow:0 0 18px rgba(224,17,95,.9); animation: afSpin 8s linear infinite; }
/* 铂金极简 */
.af-platinum{ background: conic-gradient(from 0deg,#F5F5F5,#B0B0B0,#FFFFFF,#909090,#F5F5F5); box-shadow:0 0 16px rgba(220,220,220,.9); animation: afSpin 12s linear infinite; }
/* 天使之翼 */
.af-angel{ background: conic-gradient(from 0deg,#FFFFFF,#E8F4FF,#B8DCFF,#FFFFFF,#FFF3E0); box-shadow:0 0 20px rgba(184,220,255,.95); animation: afPulse 3.2s ease-in-out infinite; }
/* 凤凰涅槃 */
.af-phoenix{ background: conic-gradient(from 0deg,#FF2D00,#FF9500,#FFD60A,#FF6B00,#FF2D00); box-shadow:0 0 22px rgba(255,107,0,.95), inset 0 0 12px rgba(255,214,10,.5); animation: afSpin 5s linear infinite; }

/* ===== 特效类头像装饰(粒子/光效) ===== */
/* 通用: 粒子层严格贴合头像外圈 */
.af-fx-sparkle, .af-fx-petals, .af-fx-bubbles, .af-fx-lightning, .af-fx-halo, .af-fx-aurora{
  padding: 3px; border-radius: 50%; position: relative;
}
/* 星光闪烁: 8 颗小星绕圈 */
.af-fx-sparkle{ background: conic-gradient(from 0deg,#1B1464,#7C3AED,#1B1464); box-shadow:0 0 16px rgba(124,58,237,.85); }
.af-fx-sparkle::before{
  content:''; position:absolute; inset:-6px; border-radius:50%; pointer-events:none;
  background:
    radial-gradient(2.5px 2.5px at 50% 0%, #FFF, transparent),
    radial-gradient(2px 2px at 85% 15%, #FFF9C4, transparent),
    radial-gradient(2.5px 2.5px at 100% 50%, #FFF, transparent),
    radial-gradient(2px 2px at 85% 85%, #FFF9C4, transparent),
    radial-gradient(2.5px 2.5px at 50% 100%, #FFF, transparent),
    radial-gradient(2px 2px at 15% 85%, #FFF9C4, transparent),
    radial-gradient(2.5px 2.5px at 0% 50%, #FFF, transparent),
    radial-gradient(2px 2px at 15% 15%, #FFF9C4, transparent);
  animation: fxSparkle 1.6s ease-in-out infinite;
}
@keyframes fxSparkle{ 0%,100%{ opacity:.35; transform:rotate(0deg) scale(.98) } 50%{ opacity:1; transform:rotate(18deg) scale(1.04) } }

/* 花瓣飘落 */
.af-fx-petals{ background: conic-gradient(from 0deg,#FFD1DC,#FF8FAB,#FFE4EC,#FF6F91); box-shadow:0 0 14px rgba(255,143,171,.8); }
.af-fx-petals::before{
  content:''; position:absolute; inset:-8px; border-radius:50%; pointer-events:none;
  background:
    radial-gradient(3px 4px at 20% 10%, #FF8FAB, transparent),
    radial-gradient(3px 4px at 70% 20%, #FFB6C1, transparent),
    radial-gradient(3px 4px at 90% 60%, #FF8FAB, transparent),
    radial-gradient(3px 4px at 40% 80%, #FFB6C1, transparent),
    radial-gradient(3px 4px at 10% 60%, #FF8FAB, transparent);
  animation: fxPetal 3.2s linear infinite;
}
@keyframes fxPetal{ 0%{ transform:translateY(-3px) rotate(0deg); opacity:.9 } 100%{ transform:translateY(6px) rotate(40deg); opacity:.25 } }

/* 气泡上升 */
.af-fx-bubbles{ background: conic-gradient(from 0deg,#00C9FF,#92FE9D,#00B4DB); box-shadow:0 0 14px rgba(0,201,255,.8); }
.af-fx-bubbles::before{
  content:''; position:absolute; inset:-6px; border-radius:50%; pointer-events:none;
  background:
    radial-gradient(3px 3px at 25% 80%, rgba(255,255,255,.9), transparent),
    radial-gradient(2.5px 2.5px at 60% 90%, rgba(255,255,255,.85), transparent),
    radial-gradient(3px 3px at 82% 70%, rgba(255,255,255,.9), transparent),
    radial-gradient(2px 2px at 45% 95%, rgba(255,255,255,.8), transparent);
  animation: fxBubble 2.4s linear infinite;
}
@keyframes fxBubble{ 0%{ transform:translateY(4px); opacity:.2 } 60%{ opacity:.95 } 100%{ transform:translateY(-6px); opacity:0 } }

/* 闪电能量 */
.af-fx-lightning{ background: conic-gradient(from 0deg,#001F3F,#00E5FF,#001F3F); box-shadow:0 0 18px rgba(0,229,255,.9); }
.af-fx-lightning::before{
  content:''; position:absolute; inset:-4px; border-radius:50%; pointer-events:none;
  border:2px solid rgba(0,229,255,.85);
  animation: fxLightning 1.1s steps(2,end) infinite;
}
@keyframes fxLightning{ 0%,100%{ opacity:.25; box-shadow:0 0 4px rgba(0,229,255,.4) } 50%{ opacity:1; box-shadow:0 0 18px rgba(0,229,255,1), 0 0 34px rgba(255,255,255,.6) } }

/* 圣光光环 */
.af-fx-halo{ background: conic-gradient(from 0deg,#FFF8DC,#FFD700,#FFFFFF,#FFE9A8); box-shadow:0 0 22px rgba(255,215,0,.95); }
.af-fx-halo::before{
  content:''; position:absolute; inset:-10px; border-radius:50%; pointer-events:none;
  background: radial-gradient(circle, rgba(255,215,0,0) 55%, rgba(255,215,0,.35) 70%, rgba(255,255,255,0) 82%);
  animation: fxHalo 2.6s ease-in-out infinite;
}
@keyframes fxHalo{ 0%,100%{ transform:scale(.96); opacity:.6 } 50%{ transform:scale(1.08); opacity:1 } }

/* 极光流彩 */
.af-fx-aurora{ background: conic-gradient(from 0deg,#00FFC8,#7C3AED,#00E5FF,#FF00E5,#00FFC8); box-shadow:0 0 20px rgba(124,58,237,.9); animation: afSpin 5s linear infinite; }
.af-fx-aurora::before{
  content:''; position:absolute; inset:-8px; border-radius:50%; pointer-events:none;
  background: radial-gradient(circle, rgba(0,229,255,0) 52%, rgba(0,229,255,.30) 68%, rgba(255,0,229,.22) 78%, rgba(0,0,0,0) 88%);
  animation: fxHalo 3.4s ease-in-out infinite reverse;
}

/* 粒子层不能被内圈白遮住 */
.af-fx-sparkle::before, .af-fx-petals::before, .af-fx-bubbles::before,
.af-fx-lightning::before, .af-fx-halo::before, .af-fx-aurora::before{ z-index:2; }


/* ===== 我的页自定义背景: 面积加大 ===== */
.tq-hd{ min-height: 230px !important; display:flex; align-items:flex-end; padding-bottom:18px !important; }
.tq-hd.has-bg{ background-size: cover !important; background-position: center 35% !important; background-color:#F7F4FA; }
.tq-hd.has-bg::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:90px; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.42));
}
.tq-hd.has-bg .tq-hd-in{ position:relative; z-index:1; }

/* ===== 头像与徽章不能互相覆盖 ===== */
.avwrap{ position:relative; display:inline-block; }
.avwrap > .avbadge{ position:absolute; right:-2px; top:-2px; z-index:4; }
.avwrap > .av-vip{ position:absolute; right:-2px; bottom:-2px; z-index:4; }
.avwrap > .noble-badge, .avwrap > .nlv, .avwrap > .wlv{ position:absolute; left:50%; transform:translateX(-50%); bottom:-9px; z-index:4; }

/* 有头像框时, 徽章再外推一点, 避免压住光环 */
.avwrap > .frm > .av{ display:block; }
.avwrap > .frm{ position:relative; z-index:1; }

/* 今日推荐卡: 只显示头像与昵称, 其余角标隐藏(避免盖住) */
.tr-av .avwrap > .avbadge,
.tr-av .avwrap > .av-vip,
.tr-av .avwrap > .noble-badge,
.tr-av .avwrap > .nlv,
.tr-av .avwrap > .wlv{ display:none !important; }
.tr-av .avwrap > .frm{ z-index:1; }

/* 交友大卡: 称号不压头像 */
.tq-uc-av{ position:relative; overflow:visible !important; }
.tq-ucard .avwrap > .wlv, .tq-ucard .avwrap > .nlv{ bottom:-11px }

/* 装扮商城 */
.ds-tabs{ display:flex; gap:8px; background:#fff; border-radius:12px; padding:6px; box-shadow:0 2px 10px rgba(0,0,0,.05) }
.ds-tab{ flex:1; text-align:center; font-size:13px; font-weight:800; color:#8A8F9C; padding:9px 0; border-radius:9px; }
.ds-tab.on{ background:#FFEFF5; color:#E11D48; }
.ds-fdemo{ height:52px; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:900; }

.ep-g{ flex:1; height:44px; line-height:44px; text-align:center; border:1.5px solid #EFEFF4; border-radius:12px; font-size:14px; font-weight:700; color:#8A8F9C; }
.ep-g.on{ border-color:#FF5C8A; background:#FFF0F6; color:#E11D48; }

/* ===== 头像贴饰(叠加在头像上) ===== */
.av-ov{ position:absolute; inset:0; border-radius:50%; pointer-events:none; overflow:visible; z-index:6; }
.av-ov::before, .av-ov::after{ position:absolute; pointer-events:none; line-height:1; }

/* 皇冠: 头顶金色王冠 */
.av-ov-ov_crown::before{ content:'👑'; left:50%; top:-16%; transform:translateX(-50%) rotate(-4deg); font-size:58%; filter:drop-shadow(0 2px 4px rgba(255,200,0,.8)); }

/* 恶魔角 */
.av-ov-ov_horns::before{ content:'😈'; left:50%; top:-14%; transform:translateX(-50%); font-size:70%; }

/* 猫耳朵 */
.av-ov-ov_catears::before{ content:'🐱'; left:50%; top:-12%; transform:translateX(-50%); font-size:66%; }

/* 兔耳朵 */
.av-ov-ov_bunny::before{ content:'🐰'; left:50%; top:-18%; transform:translateX(-50%); font-size:66%; }

/* 耳机 */
.av-ov-ov_headset::before{ content:'🎧'; left:50%; top:-6%; transform:translateX(-50%); font-size:78%; }

/* 墨镜 */
.av-ov-ov_sunglass::before{ content:'🕶️'; left:50%; top:34%; transform:translateX(-50%); font-size:62%; }

/* 口罩 */
.av-ov-ov_mask::before{ content:'😷'; left:50%; top:40%; transform:translateX(-50%); font-size:62%; }

/* 小花 */
.av-ov-ov_flower::before{ content:'🌸'; right:2%; top:2%; font-size:40%; }

/* 礼帽 */
.av-ov-ov_hat::before{ content:'🎩'; left:50%; top:-18%; transform:translateX(-50%) rotate(-6deg); font-size:60%; }

/* 棒球帽 */
.av-ov-ov_cap::before{ content:'🧢'; left:50%; top:-14%; transform:translateX(-50%) rotate(4deg); font-size:62%; }

/* 非主流紫发 */
.av-ov-ov_punk::before{
  content:''; left:-4%; right:-4%; top:-10%; height:58%;
  border-radius:50% 50% 42% 42% / 68% 68% 32% 32%;
  background:linear-gradient(160deg,#8B00FF,#C77DFF 45%,#5A0FA8);
  box-shadow:0 3px 10px rgba(139,0,255,.55), inset 0 -6px 10px rgba(255,255,255,.22);
  z-index:-1;
}
.av-ov-ov_punk::after{
  content:''; left:-10%; top:22%; width:26%; height:52%;
  border-radius:60% 40% 55% 45%;
  background:linear-gradient(150deg,#9D4EDD,#5A0FA8);
  transform:rotate(-8deg);
}

/* 非主流绿发 */
.av-ov-ov_green::before{
  content:''; left:-4%; right:-4%; top:-10%; height:58%;
  border-radius:50% 50% 42% 42% / 68% 68% 32% 32%;
  background:linear-gradient(160deg,#00C853,#69F0AE 45%,#00796B);
  box-shadow:0 3px 10px rgba(0,200,83,.55), inset 0 -6px 10px rgba(255,255,255,.25);
  z-index:-1;
}
.av-ov-ov_green::after{
  content:''; right:-10%; top:20%; width:26%; height:54%;
  border-radius:42% 58% 45% 55%;
  background:linear-gradient(150deg,#00E676,#00796B);
  transform:rotate(8deg);
}

/* 非主流蓝发 */
.av-ov-ov_blue::before{
  content:''; left:-4%; right:-4%; top:-10%; height:58%;
  border-radius:50% 50% 42% 42% / 68% 68% 32% 32%;
  background:linear-gradient(160deg,#0091EA,#40C4FF 45%,#01579B);
  box-shadow:0 3px 10px rgba(0,145,234,.55), inset 0 -6px 10px rgba(255,255,255,.25);
  z-index:-1;
}
.av-ov-ov_blue::after{
  content:''; left:-9%; top:18%; width:24%; height:56%;
  border-radius:55% 45% 60% 40%;
  background:linear-gradient(150deg,#40C4FF,#01579B);
  transform:rotate(-10deg);
}

/* 天使光环 */
.av-ov-ov_haloring::before{
  content:''; left:50%; top:-12%; width:64%; height:12%;
  transform:translateX(-50%);
  border:2.5px solid #FFD700; border-radius:50%;
  box-shadow:0 0 12px rgba(255,215,0,.95), inset 0 0 8px rgba(255,255,255,.6);
  animation:ovHalo 2.2s ease-in-out infinite;
}
@keyframes ovHalo{ 0%,100%{ opacity:.7; transform:translateX(-50%) scale(.96) } 50%{ opacity:1; transform:translateX(-50%) scale(1.05) } }

/* 星光点点 */
.av-ov-ov_star::before{
  content:''; inset:-8%;
  background:
    radial-gradient(2px 2px at 20% 12%, #FFF, transparent),
    radial-gradient(2px 2px at 76% 20%, #FFF9C4, transparent),
    radial-gradient(2px 2px at 88% 62%, #FFF, transparent),
    radial-gradient(2px 2px at 12% 70%, #FFF9C4, transparent);
  animation:ovStar 1.8s ease-in-out infinite;
}
@keyframes ovStar{ 0%,100%{ opacity:.35 } 50%{ opacity:1 } }

/* 头顶火焰 */
.av-ov-ov_fire::before{
  content:'🔥'; left:50%; top:-20%; transform:translateX(-50%);
  font-size:56%; animation:ovFire 1.4s ease-in-out infinite;
}
@keyframes ovFire{ 0%,100%{ transform:translateX(-50%) scale(.96) rotate(-3deg) } 50%{ transform:translateX(-50%) scale(1.1) rotate(3deg) } }

/* 贴饰容器需要相对定位 */
.avwrap, .av-wrap, .tq-av, .af, .frm{ position:relative; }

/* 聊天文字: 防止多余空格/拉宽 */
.crow .cbub{ white-space:pre-line !important; word-break:break-word; letter-spacing:normal !important; word-spacing:normal !important; text-align:left; }
.crow .cbub br{ display:none; }
.crow .cname, .crow .ctime{ letter-spacing:normal !important; }

/* ===== 装扮商城/头像框预览: 强制头像尺寸, 修复图片撑爆 ===== */
.af-demo{
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.af-demo > img,
.af-demo .af-img,
.af-cell img,
#dsList img{
  width: 100% !important;
  height: 100% !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}
.af-demo .af-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #FFE3EC;
  border-radius: 50%;
}

/* 商城网格: 每格固定宽度, 不撑破 */
.af-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.af-cell{
  flex: 0 0 calc(33.333% - 7px) !important;
  max-width: calc(33.333% - 7px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.af-cell .af-demo,
.af-cell .bub-demo,
.af-cell .ds-fdemo{
  max-width: 100% !important;
}

/* 顶部"我的头像"卡片里的预览 */
.panel .af-demo{ width: 64px !important; height: 64px !important; }


/* ===== 聊天气泡: 跟随文字长度, 不再固定宽 ===== */
.crow .cbub, .crow .cbub.me, .crow .cbub.other{
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 72% !important;
  padding: 9px 13px !important;
  box-sizing: border-box;
}
.crow .cbody{ display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.crow.me .cbody{ align-items: flex-end; }
/* 只有文字内容才收缩 */
.crow .cbub.img-bub, .crow .cbub.voice-bub{ display: inline-flex !important; }

/* ===== 装扮商城: 网格整齐 ===== */
#dsList .af-grid{ display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:10px !important; }
#dsList .af-cell{
  flex:none !important; max-width:none !important; width:auto !important;
  padding:10px 6px 9px !important; display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  min-height:118px; box-sizing:border-box;
}
#dsList .af-demo{ width:56px !important; height:56px !important; max-width:56px !important; max-height:56px !important; margin:0 auto 8px !important; }
#dsList .af-demo .af-ph{ font-size:22px !important; }
#dsList .bub-demo{ width:100% !important; max-width:100%; margin:0 0 8px !important; height:52px; display:flex; align-items:center; justify-content:center; }
#dsList .ds-fdemo{ margin:0 0 8px !important; height:52px; font-size:14px; }
#dsList .af-nm{ font-size:11.5px !important; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
#dsList .af-st{ font-size:10.5px !important; text-align:center; max-width:100%; }


/* ===== 今日推荐: 头像不"脱模" ===== */
.tr-card{ overflow: visible !important; }
.tr-av{ width:54px !important; height:54px !important; max-width:54px !important; max-height:54px !important;
  margin:0 auto !important; overflow:hidden !important; border-radius:50% !important; display:flex; align-items:center; justify-content:center; }
.tr-av .av, .tr-av .avwrap, .tr-av .frm{ width:54px !important; height:54px !important; max-width:54px !important; max-height:54px !important; border-radius:50% !important; }
.tr-av img{ width:100% !important; height:100% !important; object-fit:cover !important; border-radius:50% !important; }
.tr-card .tr-nm{ margin-top:8px; }

/* ===== 装扮商城: 头像框预览必须看得见环 ===== */
.af-demo.af::after{ background: transparent !important; }
.af-demo.af{ box-shadow: 0 0 8px rgba(0,0,0,.10); }
.af-demo .af-ph{ background: #F1F3F8 !important; }

/* 气泡预览更有花样 */
.bub-demo{ font-weight:800; }


/* 新增气泡 */
.bub-star{ background:linear-gradient(135deg,#1B1464,#6B5BFF); color:#FFE9A8; }
.bub-rain{ background:linear-gradient(135deg,#B3E5FC,#81D4FA); color:#01579B; }
.bub-candy{ background:linear-gradient(135deg,#FFD1DC,#FF8FB1); color:#8B0040; }
.bub-ink{ background:linear-gradient(135deg,#ECEFF1,#B0BEC5); color:#263238; }
.bub-metal{ background:linear-gradient(135deg,#E0E0E0,#9E9E9E); color:#212121; }
.bub-rose{ background:linear-gradient(135deg,#FFE0E6,#D4A5A5); color:#6D2E46; }
.bub-love{ background:linear-gradient(135deg,#FF5C8A,#FF2D55); color:#fff; }
.bub-night{ background:linear-gradient(135deg,#0F172A,#334155); color:#E2E8F0; }

/* 新增字体 */
.ff-flow-sunset{ background:linear-gradient(90deg,#FF8008,#FFC837,#FF512F,#FF8008); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 3s linear infinite; }
.ff-flow-ocean{ background:linear-gradient(90deg,#00C9FF,#92FE9D,#00B4DB,#00C9FF); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 3.6s linear infinite; }
.ff-flow-candy{ background:linear-gradient(90deg,#FFB6C1,#FF69B4,#FFE4E1,#FFB6C1); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 2.8s linear infinite; }
.ff-flow-metal{ background:linear-gradient(90deg,#F5F5F5,#B0B0B0,#FFFFFF,#B0B0B0); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 4s linear infinite; }
.ff-flow-ghost{ background:linear-gradient(90deg,#7FE7FF,#B8F5FF,#5AC8FA,#7FE7FF); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 3.2s linear infinite; }
.ff-flow-crimson{ background:linear-gradient(90deg,#FF2D00,#FF6B00,#FFD60A,#FF2D00); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation: ffFlow 2.4s linear infinite; }


/* ===== 交友列表: 等级徽章不压头像 ===== */
.tq-ucard .avwrap, .dazi-card .avwrap, .ucard .avwrap{ position:relative; display:inline-block; }
.tq-ucard .avwrap > .wlv, .tq-ucard .avwrap > .nlv,
.dazi-card .avwrap > .wlv, .dazi-card .avwrap > .nlv,
.ucard .avwrap > .wlv, .ucard .avwrap > .nlv{
  position:absolute !important;
  left:-8px !important; bottom:-10px !important;
  transform:scale(.92) !important;
  z-index:6 !important;
  white-space:nowrap;
}
.tq-ucard .avwrap > .avbadge, .dazi-card .avwrap > .avbadge{ right:-6px !important; top:-6px !important; }

/* ===== 今日推荐头像: 彻底不溢出 ===== */
.tr-card{ overflow:hidden !important; }
.tr-av{ overflow:hidden !important; border-radius:50% !important; }
.tr-av .avwrap{ width:54px !important; height:54px !important; overflow:hidden !important; border-radius:50% !important; }
.tr-av .avwrap > .wlv, .tr-av .avwrap > .nlv, .tr-av .avwrap > .avbadge{ display:none !important; }

/* ===== 装扮商城: 环更明显 + 头饰更大 ===== */
#dsList .af-demo{ padding:4px !important; box-shadow:0 0 0 1px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.08) !important; }
#dsList .af-demo.af{ box-shadow:0 0 10px rgba(0,0,0,.14) !important; }
#dsList .af-ov{ z-index:6 !important; }
#dsList .af-ov::before{ font-size:120% !important; }
#dsList .af-demo .af-ph{ background:#E9EDF5 !important; color:#8A94A6 !important; }


/* ===== 交友列表: 去掉认证蓝勾, 等级居中头像下方 ===== */
.tq-ucard .avwrap > .avbadge,
.tq-ucard .avwrap > .av-vip,
.tq-ucard .avwrap > .av-verified,
.tq-ucard .avwrap .avbadge{ display:none !important; }

.tq-ucard .avwrap > .wlv,
.tq-ucard .avwrap > .nlv,
.tq-ucard .avwrap > .noble-badge{
  position:absolute !important;
  left:50% !important; bottom:-13px !important;
  transform:translateX(-50%) scale(.88) !important;
  right:auto !important; top:auto !important;
  z-index:6 !important; white-space:nowrap;
}

/* 头像给徽章留出空间 */
.tq-ucard .avwrap{ margin-bottom:10px; }

/* ===== 更"正经"的头饰: 加大、加投影 ===== */
.av-ov::before{ filter: drop-shadow(0 2px 3px rgba(0,0,0,.28)); }
.av-ov-ov_crown::before{ font-size:64% !important; top:-20% !important; }
.av-ov-ov_horns::before{ font-size:78% !important; top:-16% !important; }
.av-ov-ov_catears::before{ font-size:72% !important; top:-14% !important; }
.av-ov-ov_bunny::before{ font-size:74% !important; top:-20% !important; }
.av-ov-ov_headset::before{ font-size:86% !important; top:-8% !important; }
.av-ov-ov_sunglass::before{ font-size:68% !important; top:32% !important; }
.av-ov-ov_mask::before{ font-size:68% !important; top:38% !important; }
.av-ov-ov_hat::before{ font-size:68% !important; top:-22% !important; }
.av-ov-ov_cap::before{ font-size:70% !important; top:-18% !important; }
.av-ov-ov_fire::before{ font-size:62% !important; top:-24% !important; }
.av-ov-ov_flower::before{ font-size:46% !important; }

/* 试戴提示条 */
.ds-try{ position:sticky; bottom:0; left:0; right:0; margin-top:12px; padding:12px; border-radius:14px;
  background:linear-gradient(135deg,#FF5C8A,#A855F7); color:#fff; font-size:14px; font-weight:800; text-align:center;
  box-shadow:0 6px 18px rgba(168,85,247,.35); }


/* 青少年模式: 统一对齐的说明列表 */
.teen-list{ margin-top:12px; background:#fff; border-radius:14px; padding:2px 14px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.teen-row{ display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid #F4F2F7; }
.teen-row:last-child{ border-bottom:none; }
.teen-ic{ width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:#F3F0FF; display:flex; align-items:center; justify-content:center; font-size:17px; }
.teen-tx{ flex:1; min-width:0; }
.teen-tx .t{ font-size:13.5px; font-weight:800; color:#24272E; line-height:1.4; }
.teen-tx .d{ font-size:11.5px; color:#9AA0AC; line-height:1.5; margin-top:2px; }


/* ===== 群成员/列表: 去掉 VIP 英文角标, 名字红色 ===== */
.av-vip{ display:none !important; }
.wlv.vip, .nlv.vip, .vip-name, .crow .vip-nm{ color:#E11D48 !important; font-weight:900; }

/* ===== 头像"脱模"修复: 严格圆形不溢出 ===== */
.tq-ucard .avwrap{ width:64px !important; height:64px !important; max-width:64px !important; max-height:64px !important; overflow:visible !important; }
.tq-ucard .avwrap > .av{ width:64px !important; height:64px !important; border-radius:50% !important; overflow:hidden !important; }
.tq-ucard .avwrap > .av img{ width:100% !important; height:100% !important; object-fit:cover !important; border-radius:50% !important; }
.tq-ucard .avwrap > .frm{ width:64px !important; height:64px !important; max-width:64px !important; max-height:64px !important; }
.tq-ucard .avwrap > .frm > .av{ width:100% !important; height:100% !important; }
/* 等级徽章限制在头像框内下方, 不超出卡片 */
.tq-ucard .avwrap > .wlv, .tq-ucard .avwrap > .nlv{
  left:50% !important; bottom:-12px !important; transform:translateX(-50%) scale(.8) !important;
}
.tq-ucard .avwrap{ margin-bottom:14px !important; }

/* 群成员行: VIP 标签改为昵称红色 */
.g-members-list .vip-tag, .gm-vip{ display:none !important; }


/* 官方消息未读徽章: 移到左侧, 与其他聊天一致 */
#sysRow{ position:relative; }
#sysBadge{
  position:absolute !important; left:8px !important; top:50% !important;
  transform:translateY(-50%) !important; right:auto !important;
  min-width:18px; height:18px; border-radius:9px; display:none;
  align-items:center; justify-content:center;
  background:#FF3B5C !important; color:#fff !important;
  font-size:11px; font-weight:800; padding:0 5px;
  box-shadow:0 2px 6px rgba(255,59,92,.5);
}
#sysRow .sysav{ margin-left:26px; }


/* 聊天窗口: 离线状态小圆点(灰色) */
.hd-off{display:inline-block;width:6px;height:6px;border-radius:50%;background:#C9CCD4;margin-right:5px;vertical-align:middle}
/* 列表头像与彩色圆环融合: 白描边 + 内阴影, 让照片边缘与框衔接自然 */
.tq-uc-av .av{position:relative;overflow:hidden}
.tq-uc-av .av::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85), inset 0 0 8px rgba(0,0,0,.10);
  pointer-events:none;
}
/* ===== 消息页 官方/好友 圆形图标对齐修复 ===== */
#sysRow .sysav,
#freqRow .sysav{
  margin-left: 0 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 50% !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(255, 138, 61, .28) !important;
  transform: none !important;
  align-self: center !important;
}
#freqRow .sysav{
  box-shadow: 0 4px 12px rgba(245, 158, 11, .26) !important;
}
#sysRow, #freqRow{
  align-items: center !important;
  min-height: 72px;
}
#sysRow .lmain, #freqRow .lmain{
  display: flex; flex-direction: column; justify-content: center;
  min-height: 48px; gap: 4px;
}
#sysRow .lt, #freqRow .lt{ font-size: 15px; font-weight: 700; line-height: 1.2 }
#sysRow .ls, #freqRow .ls{ font-size: 12.5px; line-height: 1.3; color: #9AA0AC }
/* ===== 官方/好友 行: 图标 + 角标定位 ===== */
#sysRow .avwrap, #freqRow .avwrap{
  position: relative !important;
  width: 48px !important; height: 48px !important;
  min-width: 48px !important; flex: 0 0 48px !important;
  display: block !important; margin: 0 !important; padding: 0 !important;
}
#sysRow .avwrap .sysav, #freqRow .avwrap .sysav{
  position: absolute !important; left: 0 !important; top: 0 !important;
  width: 48px !important; height: 48px !important;
  margin: 0 !important; border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 20px !important; line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(255,138,61,.28) !important;
}
#freqRow .avwrap .sysav{ box-shadow: 0 4px 12px rgba(245,158,11,.26) !important }
#sysRow .avwrap .unread-dot, #freqRow .avwrap .unread-dot{
  position: absolute !important;
  left: auto !important; right: -4px !important; top: -4px !important;
  transform: none !important;
}
/* 角标微调: 往右上角挪一点, 不压图标 */
#sysRow .avwrap .unread-dot, #freqRow .avwrap .unread-dot{
  right: -7px !important;
  top: -7px !important;
  z-index: 3 !important;
}
/* 商业化 UI 样式 */
.paywall-mask{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity .2s}
.paywall-mask.on{opacity:1}
.paywall-card{width:86%;max-width:340px;background:#fff;border-radius:22px;padding:24px 20px 18px;text-align:center;transform:translateY(14px) scale(.97);transition:transform .24s}
.paywall-mask.on .paywall-card{transform:none}
.pw-ico{font-size:46px;line-height:1}
.pw-t{font-size:18px;font-weight:900;color:#1A1A20;margin-top:8px}
.pw-s{font-size:12.5px;color:#8A8F9C;margin-top:6px;line-height:1.6}
.pw-price{margin-top:14px}
.pw-price b{font-size:30px;color:#FF3B5C;font-weight:900}
.pw-price span{font-size:12px;color:#B0B4BD}
.pw-list{margin-top:12px;font-size:12.5px;color:#5B6472;line-height:2;text-align:left;padding:0 8px}
.pw-buy{width:100%;height:48px;margin-top:14px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:16px;font-weight:900}
.pw-later{margin-top:10px;font-size:13px;color:#B0B4BD;padding:6px}
/* 会员页样式 */
.vip-hero{background:linear-gradient(135deg,#2B2440,#6D28D9);border-radius:18px;padding:20px;color:#fff;text-align:center}
.vip-hero .vh-ico{font-size:38px}
.vip-hero .vh-t{font-size:16px;font-weight:900;margin-top:6px}
.vip-hero .vh-s{font-size:12px;opacity:.85;margin-top:6px}
.vip-plans{display:flex;gap:10px;margin-top:14px}
.vip-plan{flex:1;background:#fff;border:1.5px solid #F0F0F5;border-radius:16px;padding:14px 8px;text-align:center;position:relative}
.vip-plan.hot{border-color:#FF3B5C;background:linear-gradient(180deg,#FFF3F6,#fff)}
.vp-tag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);background:#FF3B5C;color:#fff;font-size:10px;font-weight:800;padding:2px 8px;border-radius:99px;white-space:nowrap}
.vp-ico{font-size:24px}
.vp-name{font-size:13px;font-weight:800;margin-top:4px;color:#1A1A20}
.vp-price{font-size:12px;color:#FF3B5C;margin-top:6px}
.vp-price b{font-size:22px;font-weight:900}
.vp-sub{font-size:11px;color:#9AA0AC;margin-top:2px}
.vip-perks{margin-top:14px;background:#fff;border-radius:16px;padding:14px 16px;font-size:12.5px;color:#5B6472;line-height:2.1}
.vip-tip{margin-top:12px;font-size:11.5px;color:#B0B4BD;text-align:center;line-height:1.7}
/* 饭局 v2 样式 */
.mt-hero{background:linear-gradient(135deg,#FF6B6B,#FF3B5C);border-radius:18px;padding:18px;color:#fff}
.mt-hero-t{font-size:17px;font-weight:900}
.mt-hero-s{font-size:12px;opacity:.9;margin-top:6px}
.mt-hero-k{display:flex;gap:14px;margin-top:12px;font-size:11.5px;opacity:.95}
.mt-create{width:100%;height:46px;margin-top:14px;border-radius:14px;border:none;background:linear-gradient(135deg,#7C3AED,#A855F7);color:#fff;font-size:15px;font-weight:900}
.mt-empty{text-align:center;padding:50px 20px;color:#8A8F9C;font-size:14px}
.mt-empty-s{font-size:12px;color:#B0B4BD;margin-top:8px}
.mt-card{background:#fff;border-radius:16px;padding:16px;margin-top:12px;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.mt-top{display:flex;align-items:center;gap:8px}
.mt-top b{font-size:15px;color:#1A1A20}
.mt-badge{font-size:10.5px;padding:2px 8px;border-radius:99px}
.mt-badge.wait{background:#FFF7E6;color:#B45309}
.mt-badge.done{background:#ECFDF5;color:#059669}
.mt-badge.off{background:#F3F4F6;color:#9AA0AC}
.mt-line{font-size:12.5px;color:#8A8F9C;margin-top:7px}
.mt-note{font-size:12px;color:#B0B4BD;margin-top:6px}
.mt-acts{display:flex;gap:8px;margin-top:12px;align-items:center;flex-wrap:wrap}
.mt-btn{height:38px;padding:0 16px;border-radius:12px;font-size:13px;font-weight:800;border:none}
.mt-btn.main{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;flex:1}
.mt-btn.ghost{background:#F3F4F6;color:#5B6472}
.mt-you{font-size:11.5px;color:#B0B4BD}
.mt-rule{background:#FFF7FA;border:1px solid #FFE0EA;border-radius:14px;padding:12px 14px;font-size:12px;color:#8A5A6A;line-height:1.9}
.mt-form{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.mt-form input{width:100%;height:44px;border:1.5px solid #EFEFF4;border-radius:12px;padding:0 12px;font-size:13.5px;outline:none}
.mt-row{display:flex;gap:10px}
.mt-row input{flex:1}
.mt-submit{width:100%;height:48px;margin-top:14px;border:none;border-radius:14px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:15px;font-weight:900}
.mt-tip{text-align:center;font-size:11.5px;color:#B0B4BD;margin-top:10px}
/* 实名认证页样式 */
.ct-hero{background:linear-gradient(135deg,#2B2440,#4C1D95);border-radius:18px;padding:20px;color:#fff;text-align:center}
.ct-ico{font-size:38px}
.ct-t{font-size:16px;font-weight:900;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px}
.ct-s{font-size:12px;opacity:.85;margin-top:8px;line-height:1.7}
.ct-badge{font-size:10.5px;padding:2px 9px;border-radius:99px;background:rgba(255,255,255,.2)}
.ct-badge.ok{background:#10B981}
.ct-badge.wait{background:#F59E0B}
.ct-badge.no{background:#EF4444}
.ct-badge.none{background:rgba(255,255,255,.25)}
.ct-card{background:#fff;border-radius:16px;padding:16px;margin-top:14px}
.ct-line{display:flex;justify-content:space-between;font-size:13.5px;color:#5B6472;padding:9px 0;border-bottom:1px dashed #F0F0F5}
.ct-line:last-of-type{border-bottom:none}
.ct-note,.ct-privacy{font-size:11.5px;color:#B0B4BD;line-height:1.8;margin-top:10px}
.ct-privacy{background:#F7F7FB;border-radius:10px;padding:10px 12px}
.ct-label{font-size:12.5px;color:#8A8F9C;margin:14px 0 8px}
.ct-input{width:100%;height:46px;border:1.5px solid #EFEFF4;border-radius:12px;padding:0 12px;font-size:14px;outline:none}
.ct-photos{display:flex;gap:10px}
.ct-ph{flex:1;height:96px;border:1.5px dashed #E5E5EF;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#B0B4BD;font-size:12.5px;overflow:hidden}
.ct-ph img{width:100%;height:100%;object-fit:cover}
.ct-submit{width:100%;height:48px;margin-top:16px;border:none;border-radius:14px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:15px;font-weight:900}
/* 我的页两大核心入口 */
.tq-heroes{display:flex;gap:10px;margin:14px 12px 4px}
.tq-hero{position:relative;flex:1;border-radius:18px;padding:14px 13px 13px;overflow:hidden;color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.16);transition:transform .16s}
.tq-hero:active{transform:scale(.975)}
.tq-hero.vip{background:linear-gradient(135deg,#6D28D9 0%,#A855F7 55%,#EC4899 100%)}
.tq-hero.mt{background:linear-gradient(135deg,#F97316 0%,#FF3B5C 60%,#E11D48 100%)}
.th-glow{position:absolute;width:120px;height:120px;right:-46px;top:-52px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.42),rgba(255,255,255,0) 70%)}
.th-ico{font-size:22px;line-height:1;filter:drop-shadow(0 2px 5px rgba(0,0,0,.28))}
.th-t{font-size:14.5px;font-weight:900;margin-top:7px;letter-spacing:.2px}
.th-s{font-size:11px;opacity:.92;margin-top:4px;line-height:1.45}
.th-cta{margin-top:9px;display:inline-block;font-size:11px;font-weight:800;
  background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.32);
  padding:3px 10px;border-radius:99px;backdrop-filter:blur(3px)}
/* 突出两大入口: 卡片更醒目 + 2x2 卡片降噪 */
.tq-heroes{display:flex;gap:12px;margin:16px 12px 6px}
.tq-hero{position:relative;flex:1;border-radius:20px;padding:16px 14px 14px;overflow:hidden;color:#fff;
  box-shadow:0 10px 26px rgba(109,40,217,.22);transition:transform .16s}
.tq-hero.mt{box-shadow:0 10px 26px rgba(244,63,94,.22)}
.tq-hero:active{transform:scale(.97)}
.tq-hero.vip{background:linear-gradient(140deg,#5B21B6 0%,#9333EA 48%,#EC4899 100%)}
.tq-hero.mt{background:linear-gradient(140deg,#EA580C 0%,#F43F5E 55%,#BE123C 100%)}
.th-glow{position:absolute;width:140px;height:140px;right:-52px;top:-60px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.45),rgba(255,255,255,0) 70%)}
.th-ico{font-size:26px;line-height:1;filter:drop-shadow(0 3px 6px rgba(0,0,0,.3))}
.th-t{font-size:16px;font-weight:900;margin-top:8px;letter-spacing:.3px}
.th-s{font-size:11.5px;opacity:.94;margin-top:5px;line-height:1.45}
.th-cta{margin-top:11px;display:inline-block;font-size:11.5px;font-weight:800;
  background:rgba(255,255,255,.26);border:1px solid rgba(255,255,255,.4);
  padding:4px 12px;border-radius:99px}
.th-ribbon{position:absolute;right:-1px;top:12px;background:rgba(0,0,0,.28);
  font-size:9.5px;font-weight:800;letter-spacing:.5px;padding:3px 9px;border-radius:99px 0 0 99px}

/* 2x2 卡片降噪: 白底 + 细边, 让上面两张渐变卡跳出来 */
.tq-grid .tq-card{background:#fff !important;border:1px solid #F1F1F6 !important;
  box-shadow:0 2px 10px rgba(15,23,42,.05) !important;color:#1A1A20 !important}
.tq-grid .tq-card .t{color:#1A1A20 !important;font-weight:800 !important}
.tq-grid .tq-card .s{color:#9AA0AC !important}
.tq-grid .tq-card .v{color:#FF3B5C !important}
/* 广场顶部两大入口 */
.sq-heroes{display:flex;gap:10px;padding:12px 12px 4px}
.sq-hero{flex:1;display:flex;align-items:center;gap:9px;border-radius:16px;padding:11px 13px;color:#fff;
  box-shadow:0 6px 16px rgba(15,23,42,.14);transition:transform .15s}
.sq-hero:active{transform:scale(.97)}
.sq-hero.vip{background:linear-gradient(135deg,#7C3AED,#EC4899)}
.sq-hero.mt{background:linear-gradient(135deg,#F97316,#E11D48)}
.sq-ico{font-size:19px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.sq-t{font-size:13px;font-weight:900;letter-spacing:.2px}
.sq-s{font-size:10.5px;opacity:.9;margin-left:auto;white-space:nowrap}
/* 正在输入提示 */
.typing-pill{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(8px);z-index:900;
  display:flex;align-items:center;gap:7px;background:rgba(30,30,38,.88);color:#fff;
  padding:7px 14px;border-radius:999px;font-size:12px;opacity:0;pointer-events:none;
  transition:opacity .2s,transform .2s;backdrop-filter:blur(6px)}
.typing-pill.on{opacity:1;transform:translateX(-50%) translateY(0)}
.tp-dots{display:inline-flex;gap:3px}
.tp-dots i{width:5px;height:5px;border-radius:50%;background:#FF5C8A;display:block;animation:tpBounce 1.1s infinite}
.tp-dots i:nth-child(2){animation-delay:.15s}
.tp-dots i:nth-child(3){animation-delay:.3s}
@keyframes tpBounce{0%,60%,100%{transform:translateY(0);opacity:.55}30%{transform:translateY(-4px);opacity:1}}
/* 会员分级权限展开 */
.vip-plan{cursor:pointer}
.vip-plan.sel{border-color:#FF3B5C;box-shadow:0 0 0 3px rgba(255,59,92,.12)}
.vip-detail{display:none;margin-top:12px;background:#fff;border-radius:16px;padding:14px 16px;border:1px solid #FFE0EA}
.vip-detail.on{display:block;animation:vdIn .22s ease}
@keyframes vdIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.vd-head{font-size:12.5px;font-weight:800;color:#FF3B5C;margin-bottom:8px}
.vd-item{font-size:12.5px;color:#3A3A46;line-height:2;display:flex;align-items:center;gap:6px}
.vd-item.vd-new{color:#7C3AED;font-weight:700}
.vd-item i{font-style:normal;font-size:9.5px;background:#EDE9FE;color:#7C3AED;padding:1px 6px;border-radius:99px}
.vd-buy{width:100%;height:44px;margin-top:12px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:14.5px;font-weight:900}
/* 广场·同城饭局 tab */
.mt-tab-wrap{padding:12px 12px 24px}
.mt-tab-loading{padding:60px 0;text-align:center;color:#9AA0AC;font-size:13px}
.mt-tab-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:linear-gradient(135deg,#F97316,#E11D48);border-radius:18px;padding:16px;color:#fff;
  box-shadow:0 8px 22px rgba(225,29,72,.2)}
.mth-t{font-size:15.5px;font-weight:900}
.mth-s{font-size:11.5px;opacity:.92;margin-top:5px}
.mth-btn{background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.4);color:#fff;
  height:36px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:800}
.mt-tab-empty{text-align:center;padding:50px 0;color:#8A8F9C;font-size:14px}
.mt-tab-card{background:#fff;border-radius:16px;padding:15px;margin-top:12px;box-shadow:0 4px 16px rgba(0,0,0,.05)}
.mtc-top{display:flex;align-items:center;gap:8px}
.mtc-top b{font-size:14.5px;color:#1A1A20}
.mtc-line{font-size:12.5px;color:#8A8F9C;margin-top:7px}
.mtc-acts{display:flex;gap:8px;margin-top:12px;align-items:center}
.mtc-btn{height:38px;padding:0 16px;border-radius:12px;font-size:13px;font-weight:800;border:none;flex:1}
.mtc-btn.main{background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff}
.mtc-btn.ghost{background:#F3F4F6;color:#5B6472}
.mtc-you{font-size:11.5px;color:#B0B4BD}
/* 饭局余额条 / 充值卡 */
.mt-bal{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #F1F1F6;
  border-radius:16px;padding:14px 16px;margin-top:12px;box-shadow:0 2px 10px rgba(15,23,42,.05)}
.mtb-num{font-size:22px;font-weight:900;color:#FF3B5C}
.mtb-lab{font-size:11.5px;color:#9AA0AC;margin-top:2px}
.mtb-btn{height:36px;padding:0 14px;border:none;border-radius:999px;font-size:13px;font-weight:800;
  background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff}
.mt-cards{display:flex;gap:10px}
.mt-card-item{position:relative;flex:1;background:#fff;border:1.5px solid #F0F0F5;border-radius:16px;padding:16px 10px;text-align:center}
.mt-card-item.hot{border-color:#FF3B5C;background:linear-gradient(180deg,#FFF3F6,#fff)}
.mtci-tag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);background:#FF3B5C;color:#fff;
  font-size:10px;font-weight:800;padding:2px 8px;border-radius:99px;white-space:nowrap}
.mtci-amt{font-size:20px;font-weight:900;color:#1A1A20}
.mtci-bonus{font-size:12px;color:#FF3B5C;font-weight:800;margin-top:4px}
.mtci-use{font-size:10.5px;color:#9AA0AC;margin-top:6px}
/* 交友页顶部: 情侣/社交氛围 */
.love-hero{position:relative;margin:10px 12px 4px;border-radius:22px;padding:16px 16px 14px;overflow:hidden;
  background:linear-gradient(135deg,#FF9A9E 0%,#FF6B95 45%,#A855F7 100%);color:#fff;
  box-shadow:0 10px 26px rgba(255,107,149,.28)}
.lh-glow{position:absolute;width:170px;height:170px;right:-60px;top:-70px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.5),rgba(255,255,255,0) 70%)}
.lh-row{display:flex;align-items:center;justify-content:space-between}
.lh-t{font-size:17px;font-weight:900;letter-spacing:.3px}
.lh-s{font-size:11.5px;opacity:.92;margin-top:5px}
.lh-heart{font-size:30px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2));animation:lhBeat 1.8s infinite}
@keyframes lhBeat{0%,100%{transform:scale(1)}45%{transform:scale(1.14)}}
.lh-pills{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}
.lh-pills span{font-size:11.5px;font-weight:800;background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.34);padding:5px 11px;border-radius:99px;backdrop-filter:blur(3px)}
/* AI 陪聊标签 */
.chat-hd-sub .hd-ai{display:inline-block;font-size:10px;font-weight:800;color:#7C3AED;
  background:#F1E9FE;border:1px solid #E4D6FD;border-radius:99px;padding:1px 7px;margin-right:6px;vertical-align:middle}
/* 语音气泡播放态 */
.voice-bub{cursor:pointer}
.voice-bub.playing .vplay{background:#FF3B5C;color:#fff}
.voice-bub.playing .vbar-i{animation:vbWave .9s infinite}
@keyframes vbWave{0%,100%{width:30%}50%{width:78%}}
/* 语音房 */
.vr-hero{background:linear-gradient(135deg,#312E81,#7C3AED 60%,#EC4899);border-radius:20px;padding:18px;color:#fff;
  box-shadow:0 10px 26px rgba(124,58,237,.25)}
.vr-h-t{font-size:18px;font-weight:900}
.vr-h-s{font-size:12px;opacity:.9;margin-top:6px}
.vr-h-btn{margin-top:12px;height:38px;padding:0 16px;border:none;border-radius:999px;
  background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:13px;font-weight:800}
.vr-empty{text-align:center;padding:46px 0;color:#8A8F9C;font-size:14px}
.vr-grid{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.vr-card{background:#fff;border-radius:16px;padding:14px;box-shadow:0 3px 12px rgba(0,0,0,.05)}
.vrc-top{display:flex;align-items:center;gap:8px}
.vrc-top b{font-size:14.5px}
.vrc-live{font-size:9.5px;font-weight:900;color:#fff;background:#FF3B5C;padding:2px 7px;border-radius:99px}
.vrc-sub{font-size:12px;color:#8A8F9C;margin-top:6px}
.vrc-seats{display:flex;gap:6px;margin-top:10px}
.vrc-av{width:34px;height:34px;border-radius:50%;background:#F3F0FF;display:flex;align-items:center;justify-content:center;
  font-size:13px;color:#7C3AED;overflow:hidden}
.vrc-av img{width:100%;height:100%;object-fit:cover}

.vr-room{padding:14px}
.vr-room-hd{display:flex;align-items:center;justify-content:space-between}
.vr-room-hd b{font-size:16px}
.vr-online{font-size:12px;color:#8A8F9C}
.vr-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.vr-seat{background:#fff;border:1px solid #F0F0F5;border-radius:16px;padding:10px 6px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:6px}
.vr-seat.has{border-color:#E9D5FF;background:linear-gradient(180deg,#FAF5FF,#fff)}
.vr-seat.host{border-color:#FBCFE8;background:linear-gradient(180deg,#FFF1F6,#fff)}
.vr-seat img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.vrs-txt{width:44px;height:44px;border-radius:50%;background:#F3F0FF;color:#7C3AED;display:flex;align-items:center;justify-content:center;font-weight:800}
.vrs-plus{width:44px;height:44px;border-radius:50%;border:1.5px dashed #DDD;color:#C4C4CF;display:flex;align-items:center;justify-content:center;font-size:18px}
.vrs-nm{font-size:11px;color:#8A8F9C;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vr-msgs{background:#0F0F14;border-radius:14px;padding:12px;height:34vh;overflow-y:auto;color:#E6E8EE;font-size:12.5px;line-height:1.9}
.vr-msg{margin-bottom:6px;word-break:break-all}
.vr-nm{color:#A78BFA;font-weight:800;margin-right:6px}
.vr-voice{display:inline-block;background:rgba(167,139,250,.18);border:1px solid rgba(167,139,250,.4);
  color:#DDD6FE;padding:2px 10px;border-radius:99px;font-size:12px}
.vr-input{display:flex;gap:8px;margin-top:10px}
.vr-input input{flex:1;height:42px;border:1px solid #EFEFF4;border-radius:12px;padding:0 12px;font-size:13px}
.vr-input button{width:64px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-weight:800}
.vr-actions{display:flex;gap:8px;margin-top:10px}
.vr-act{flex:1;height:44px;border:none;border-radius:12px;background:#F3F4F6;color:#5B6472;font-weight:800;font-size:13px}
.vr-act.main{background:linear-gradient(135deg,#7C3AED,#A855F7);color:#fff}
.vr-act.rec{background:#FF3B5C;color:#fff;animation:vrRec 1s infinite}
@keyframes vrRec{0%,100%{opacity:1}50%{opacity:.6}}
.vr-tip{color:#8A8F9C;font-size:12.5px;text-align:center;padding:22px 0}
/* 语音房入口条 */
.vr-entry{display:flex;align-items:center;gap:10px;margin:10px 12px 4px;padding:13px 15px;border-radius:16px;
  background:linear-gradient(135deg,#4C1D95,#7C3AED 60%,#DB2777);color:#fff;
  box-shadow:0 8px 20px rgba(124,58,237,.24)}
.vre-ic{font-size:22px}
.vre-t{font-size:15px;font-weight:900}
.vre-s{font-size:11.5px;opacity:.9;margin-left:2px}
.vre-go{margin-left:auto;font-size:20px;opacity:.85}
/* ============ 语音房 v2 样式(他趣风) ============ */
.v2-tabs{display:flex;gap:18px;padding:10px 16px 2px;font-size:15px;color:#9AA0AC;font-weight:800}
.v2-tabs .on{color:#1A1A20;position:relative}
.v2-tabs .on::after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:-6px;width:18px;height:3px;border-radius:2px;background:#FF3B5C}
.v2-chips{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 6px}
.v2-chips i{font-style:normal;font-size:12px;color:#8A8F9C;background:#F4F4F8;border-radius:99px;padding:5px 12px;white-space:nowrap;font-weight:700}
.v2-chips i.on{background:#FFF1F5;color:#FF3B5C}
.v2-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px 12px 90px}
.v2-card{position:relative;border-radius:18px;padding:13px 12px;background:linear-gradient(160deg,#FFF7FB,#F7F3FF);border:1px solid #F3E8FF;min-height:112px;display:flex;flex-direction:column;justify-content:space-between}
.v2-card.hot{border-color:#FFB6C9;background:linear-gradient(160deg,#FFF1F5,#FFF7FB)}
.v2-badge{position:absolute;right:0;top:0;background:#FF3B5C;color:#fff;font-size:10px;font-weight:800;padding:2px 8px;border-radius:0 18px 0 10px}
.v2-card-t{font-size:14.5px;font-weight:900;color:#1A1A20;line-height:1.35;padding-right:22px}
.v2-card-tags{display:flex;gap:6px;margin-top:8px}
.v2-card-tags i{font-style:normal;font-size:10.5px;color:#9A7BB8;background:#F6EEFF;border-radius:99px;padding:2px 8px}
.v2-card-b{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.v2-avs{display:flex}
.v2-avs img,.v2-avs span{width:26px;height:26px;border-radius:50%;object-fit:cover;border:1.5px solid #fff;margin-left:-7px;background:#EEE;display:flex;align-items:center;justify-content:center;font-size:11px;color:#777}
.v2-avs img:first-child,.v2-avs span:first-child{margin-left:0}
.v2-cnt{font-size:11px;color:#9AA0AC}
.v2-empty{grid-column:1/-1;text-align:center;padding:50px 0;color:#8A8F9C;font-size:14px}
.v2-fab{position:fixed;left:50%;transform:translateX(-50%);bottom:86px;z-index:60;
  background:linear-gradient(135deg,#FFD54F,#FFB300);color:#5C3D00;font-weight:900;font-size:14px;
  padding:12px 26px;border-radius:99px;box-shadow:0 8px 22px rgba(255,179,0,.35)}

.v2-room{padding:12px 14px 20px}
.v2-room-hd{display:flex;align-items:center;justify-content:space-between}
.v2-room-hd b{font-size:16px}
.v2-room-sub{font-size:11.5px;color:#9AA0AC;margin-top:3px}
.v2-room-cnt{font-size:12px;color:#FF3B5C;font-weight:800}
.v2-owner-tip{font-size:11.5px;color:#B07A00;background:#FFFBEB;border:1px solid #FDE68A;border-radius:10px;padding:7px 10px;margin-top:10px;text-align:center}
.v2-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 6px}
.v2-seat{display:flex;flex-direction:column;align-items:center;gap:6px}
.v2-sav{position:relative;width:54px;height:54px;border-radius:50%;background:#F3F0FF;display:flex;align-items:center;justify-content:center;overflow:visible}
.v2-sav img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.v2-sav span{font-size:18px;color:#B39DDB}
.v2-seat.host .v2-sav{box-shadow:0 0 0 2px #FFD54F}
.v2-seat.speaking .v2-sav{box-shadow:0 0 0 3px #34D399;animation:v2pulse 1.2s infinite}
@keyframes v2pulse{0%,100%{box-shadow:0 0 0 3px rgba(52,211,153,.9)}50%{box-shadow:0 0 0 7px rgba(52,211,153,.25)}}
.v2-crown{position:absolute;top:-9px;left:50%;transform:translateX(-50%);font-size:14px}
.v2-snm{font-size:11px;color:#8A8F9C;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v2-micwrap{text-align:center;margin:14px 0 6px}
.v2-mic{width:104px;height:104px;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 50% 40%,#FF8FA8,#FF3B5C);
  display:flex;align-items:center;justify-content:center;font-size:40px;box-shadow:0 10px 26px rgba(255,59,92,.28);transition:.2s}
.v2-mic.on{background:radial-gradient(circle at 50% 40%,#6EE7B7,#10B981);box-shadow:0 10px 26px rgba(16,185,129,.35);animation:v2pulse2 1.4s infinite}
@keyframes v2pulse2{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.v2-mic-tip{font-size:12px;color:#34D399;margin-top:10px;font-weight:700}
.v2-switches{display:flex;gap:10px;margin:14px 0}
.v2-sw{flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:13.5px;font-weight:800;background:#F3F4F6;color:#8A8F9C}
.v2-sw.on{background:linear-gradient(135deg,#34D399,#10B981);color:#fff}
.v2-sw.spk.on{background:linear-gradient(135deg,#60A5FA,#3B82F6)}
.v2-chat{background:#0F0F14;border-radius:14px;padding:12px;height:24vh;max-height:210px;overflow-y:auto;color:#E6E8EE;font-size:12.5px;line-height:1.9}
.v2-msg{margin-bottom:6px;word-break:break-all}
.v2-msg b{color:#FFB3C7;margin-right:4px}
.v2-voice{display:inline-block;background:rgba(255,179,199,.16);border:1px solid rgba(255,179,199,.4);color:#FFD1DC;padding:2px 10px;border-radius:99px}
.v2-input{display:flex;gap:8px;margin-top:10px}
.v2-input input{flex:1;height:42px;border:1px solid #EFEFF4;border-radius:12px;padding:0 12px;font-size:13px}
.v2-input button{width:64px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-weight:800}
.v2-bottom{margin-top:12px}
.v2-diss{width:100%;height:46px;border:none;border-radius:12px;background:#FF3B3B;color:#fff;font-size:15px;font-weight:900}
.v2-exit{width:100%;height:46px;border:none;border-radius:12px;background:#F3F4F6;color:#5B6472;font-size:15px;font-weight:900}
.v2-tip{color:#8A8F9C;font-size:12.5px;text-align:center;padding:20px 0}
/* 聊天键盘适配: 键盘弹出时输入区贴合底部 */
.kb-on .tq-chat-input{padding-bottom:6px}
.kb-on .emoji-panel,.kb-on .tq-more-panel,.kb-on .gift-panel{display:none !important}
.emoji-panel.on,.tq-more-panel.on,.gift-panel.on{display:block}
#stack.kb-on{overflow:hidden}
/* 装扮商城: 预览放大 + 头饰清晰可见 */
.af-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.af-cell{padding:12px 6px 10px;border-radius:16px}
.ov-prev{position:relative;width:74px;height:74px;margin:0 auto;border-radius:50%;
  background:linear-gradient(160deg,#F7F5FF,#EFEAFB);display:flex;align-items:center;justify-content:center}
.ov-prev img{width:74px;height:74px;border-radius:50%;object-fit:cover;display:block}
.ov-prev .av-ov{inset:-12px;font-size:30px}
.ov-prev .av-ov::before{font-size:30px !important}
.ov-prev .av-ov::after{font-size:24px !important}
.af-nm{font-size:12.5px;margin-top:8px;font-weight:800}
.af-st{font-size:11px;margin-top:3px}
/* 头饰里的"染发"类: 不再整块盖住脸 */
.ov-prev .av-ov-ov_punk::before,.ov-prev .av-ov-ov_green::before,.ov-prev .av-ov-ov_blue::before{
  content:'';left:0;right:0;top:0;bottom:0;background:none}
/* 装扮商城: 让头饰不被裁切 + 染发类改成小图标 */
.af-grid .af-cell{overflow:visible !important}
.af-cell .ov-prev{overflow:visible !important;margin-top:10px}
.af-grid{padding-top:14px}
.ov-prev .av-ov-ov_crown::before{top:-30% !important}
.ov-prev .av-ov-ov_horns::before{top:-26% !important}
.ov-prev .av-ov-ov_catears::before{top:-24% !important}
.ov-prev .av-ov-ov_bunny::before{top:-28% !important}
.ov-prev .av-ov-ov_headset::before{top:-12% !important}
.ov-prev .av-ov-ov_hat::before{top:-26% !important}
.ov-prev .av-ov-ov_cap::before{top:-24% !important}
/* 染发类: 显示成小剪刀图标, 不再整块盖脸 */
.ov-prev .av-ov-ov_punk::before,
.ov-prev .av-ov-ov_green::before,
.ov-prev .av-ov-ov_blue::before{
  content:'💇' !important;left:auto !important;right:-4px !important;top:-10px !important;
  bottom:auto !important;font-size:24px !important;background:none !important;
  width:auto !important;height:auto !important;border-radius:0 !important}

.ov-prev .av-ov-ov_punk,.ov-prev .av-ov-ov_green,.ov-prev .av-ov-ov_blue{background:none !important;box-shadow:none !important;border-radius:0 !important}
.ov-prev .av-ov-ov_punk::after,.ov-prev .av-ov-ov_green::after,.ov-prev .av-ov-ov_blue::after{display:none !important}
/* 装扮商城 v2: 统一预览, 不再错位 */
.ov-demo{width:64px;height:64px;flex:0 0 64px;border-radius:50%;overflow:visible;position:relative}
.ov-demo .ov-prev{width:64px;height:64px}
.ov-demo .ov-prev img{width:64px;height:64px}
.ov-prev>.ov-badge{position:absolute;right:-4px;top:-8px;font-size:22px;line-height:1;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.22));z-index:2}
.af-grid{display:grid;grid-template-columns:repeat(3,1fr);column-gap:10px;row-gap:18px;padding:6px 4px 30px}
.af-cell{display:flex;flex-direction:column;align-items:center;padding:8px 4px 10px;border-radius:16px;
  background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.05);min-height:132px}
.af-cell.on{box-shadow:0 0 0 2px #FF3B5C,0 6px 16px rgba(255,59,92,.15)}
.af-cell .ov-prev{width:72px;height:72px;margin:0}
.af-cell .ov-prev img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.af-nm{font-size:12.5px;font-weight:800;margin-top:8px;text-align:center;line-height:1.3}
.af-st{font-size:11px;color:#9AA0AC;margin-top:3px}
.ov-bub{padding:6px 10px;border-radius:12px;background:#FFE3EC;color:#B4123F;font-size:12px;font-weight:700}
.ov-font{font-size:18px;font-weight:900;background:linear-gradient(90deg,#FF3B5C,#7C3AED,#06B6D4);
  -webkit-background-clip:text;background-clip:text;color:transparent}

.ds-fdemo{display:none !important}

.bub-glass,.bub-metal,.bub-water{color:#333 !important}
.bub-demo,.ov-bub{text-shadow:0 1px 2px rgba(0,0,0,.18)}
/* ===== 动态头像框: 落雪 / 心动 / 流星 ===== */
.frm.snow, .frm.heart, .frm.starfall, .frm.fx_aurora { position: relative; overflow: hidden; }

.frm.snow::after{
  content:''; position:absolute; inset:-30%;
  background-image:
    radial-gradient(2.2px 2.2px at 18% 12%, #ffffff 99%, transparent),
    radial-gradient(1.8px 1.8px at 42% 26%, #eaf6ff 99%, transparent),
    radial-gradient(2.6px 2.6px at 66% 8%, #ffffff 99%, transparent),
    radial-gradient(1.6px 1.6px at 84% 32%, #dff2ff 99%, transparent),
    radial-gradient(2px 2px at 30% 58%, #ffffff 99%, transparent),
    radial-gradient(1.7px 1.7px at 55% 70%, #eaf6ff 99%, transparent),
    radial-gradient(2.4px 2.4px at 78% 60%, #ffffff 99%, transparent),
    radial-gradient(1.5px 1.5px at 12% 78%, #dff2ff 99%, transparent),
    radial-gradient(2px 2px at 92% 82%, #ffffff 99%, transparent);
  animation: fSnow 7s linear infinite;
  opacity:.95; pointer-events:none;
}
@keyframes fSnow{
  0%{ transform: translate3d(0,-18%,0) rotate(0deg); }
  100%{ transform: translate3d(0,22%,0) rotate(6deg); }
}

.frm.heart::after{
  content:''; position:absolute; inset:-30%;
  background-image:
    radial-gradient(3px 3px at 20% 15%, #ff5c8a 99%, transparent),
    radial-gradient(2.4px 2.4px at 46% 8%, #ff8fb0 99%, transparent),
    radial-gradient(3.4px 3.4px at 70% 24%, #ff3d6e 99%, transparent),
    radial-gradient(2.2px 2.2px at 86% 10%, #ffb3c9 99%, transparent),
    radial-gradient(2.8px 2.8px at 26% 52%, #ff5c8a 99%, transparent),
    radial-gradient(2.2px 2.2px at 58% 64%, #ff8fb0 99%, transparent),
    radial-gradient(3px 3px at 82% 58%, #ff3d6e 99%, transparent),
    radial-gradient(2px 2px at 14% 76%, #ffb3c9 99%, transparent),
    radial-gradient(2.6px 2.6px at 90% 84%, #ff5c8a 99%, transparent);
  animation: fHeart 6.4s ease-in infinite;
  opacity:.95; pointer-events:none;
  filter: drop-shadow(0 0 2px rgba(255,90,140,.6));
}
@keyframes fHeart{
  0%{ transform: translate3d(0,18%,0) scale(.9); opacity:0; }
  15%{ opacity:1; }
  85%{ opacity:1; }
  100%{ transform: translate3d(6%,-20%,0) scale(1.05); opacity:0; }
}

.frm.starfall::after{
  content:''; position:absolute; inset:-30%;
  background-image:
    radial-gradient(2px 10px at 22% 10%, #fff6c9 99%, transparent),
    radial-gradient(1.6px 8px at 48% 0%, #ffffff 99%, transparent),
    radial-gradient(2.2px 12px at 72% 18%, #ffe7a3 99%, transparent),
    radial-gradient(1.5px 7px at 88% 4%, #ffffff 99%, transparent),
    radial-gradient(1.8px 9px at 34% 46%, #fff6c9 99%, transparent),
    radial-gradient(1.4px 7px at 62% 56%, #ffffff 99%, transparent),
    radial-gradient(2px 11px at 80% 48%, #ffe7a3 99%, transparent),
    radial-gradient(1.5px 8px at 16% 74%, #ffffff 99%, transparent);
  transform: rotate(18deg);
  animation: fStar 4.6s linear infinite;
  opacity:.95; pointer-events:none;
  filter: drop-shadow(0 0 3px rgba(255,225,140,.85));
}
@keyframes fStar{
  0%{ transform: rotate(18deg) translate3d(0,-26%,0); opacity:0; }
  12%{ opacity:1; }
  85%{ opacity:1; }
  100%{ transform: rotate(18deg) translate3d(0,26%,0); opacity:0; }
}

/* 商城里的预览也要有动效 */
.ov-prev.anim-snow, .ov-prev.anim-heart, .ov-prev.anim-starfall{ position:relative; overflow:hidden; }
.ov-prev.anim-snow::after, .ov-prev.anim-heart::after, .ov-prev.anim-starfall::after{
  content:''; position:absolute; inset:-30%; pointer-events:none;
}
.ov-prev.anim-snow::after{ background-image: radial-gradient(2px 2px at 20% 15%, #fff 99%, transparent), radial-gradient(2px 2px at 55% 30%, #fff 99%, transparent), radial-gradient(2px 2px at 80% 12%, #fff 99%, transparent), radial-gradient(2px 2px at 35% 62%, #fff 99%, transparent), radial-gradient(2px 2px at 70% 72%, #fff 99%, transparent); animation: fSnow 6s linear infinite; }
.ov-prev.anim-heart::after{ background-image: radial-gradient(3px 3px at 22% 18%, #ff5c8a 99%, transparent), radial-gradient(2.6px 2.6px at 52% 10%, #ff8fb0 99%, transparent), radial-gradient(3px 3px at 76% 26%, #ff3d6e 99%, transparent), radial-gradient(2.4px 2.4px at 34% 58%, #ff5c8a 99%, transparent), radial-gradient(2.8px 2.8px at 72% 64%, #ff8fb0 99%, transparent); animation: fHeart 5.8s ease-in infinite; }
.ov-prev.anim-starfall::after{ background-image: radial-gradient(2px 9px at 24% 12%, #fff6c9 99%, transparent), radial-gradient(2px 10px at 52% 6%, #fff 99%, transparent), radial-gradient(2px 8px at 78% 20%, #ffe7a3 99%, transparent), radial-gradient(2px 9px at 38% 54%, #fff6c9 99%, transparent), radial-gradient(2px 8px at 70% 62%, #fff 99%, transparent); animation: fStar 4.4s linear infinite; }
/* ===== 动态头像框 第二批: 雨 / 火 / 落叶 / 闪电 / 气泡 / 流光 ===== */
.frm.rain, .frm.flame, .frm.leaf, .frm.bolt, .frm.bubble, .frm.flow { position: relative; overflow: hidden; }

/* 细雨 */
.frm.rain::after{
  content:''; position:absolute; inset:-40%; pointer-events:none;
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(180,225,255,.95) 48%, rgba(180,225,255,.95) 52%, transparent 54%),
    linear-gradient(115deg, transparent 46%, rgba(210,240,255,.75) 48%, rgba(210,240,255,.75) 52%, transparent 54%),
    linear-gradient(115deg, transparent 46%, rgba(160,210,255,.85) 48%, rgba(160,210,255,.85) 52%, transparent 54%);
  background-size: 26px 40px, 34px 52px, 20px 34px;
  background-position: 0 0, 12px 8px, 18px 4px;
  animation: fRain .7s linear infinite;
}
@keyframes fRain{ from{ background-position: 0 -40px, 12px -32px, 18px -36px; } to{ background-position: -6px 40px, 6px 48px, 12px 40px; } }

/* 火焰 */
.frm.flame::after{
  content:''; position:absolute; left:-10%; right:-10%; bottom:-6%; height:62%; pointer-events:none;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,196,60,.95) 0%, rgba(255,110,0,.85) 38%, rgba(255,40,0,.55) 62%, transparent 78%);
  filter: blur(1.2px) drop-shadow(0 0 6px rgba(255,120,0,.8));
  animation: fFlame 1.4s ease-in-out infinite;
  border-radius: 50% 50% 42% 42%;
}
@keyframes fFlame{
  0%,100%{ transform: scaleY(.9) translateY(2%); opacity:.85; }
  50%{ transform: scaleY(1.12) translateY(-3%); opacity:1; }
}

/* 落叶 */
.frm.leaf::after{
  content:''; position:absolute; inset:-30%; pointer-events:none;
  background-image:
    radial-gradient(4px 7px at 22% 12%, #f0a13c 99%, transparent),
    radial-gradient(3px 6px at 52% 22%, #d97b1f 99%, transparent),
    radial-gradient(4px 8px at 78% 8%, #ffc46b 99%, transparent),
    radial-gradient(3px 6px at 34% 52%, #e08b2c 99%, transparent),
    radial-gradient(4px 7px at 68% 62%, #c96a12 99%, transparent),
    radial-gradient(3px 6px at 12% 74%, #f3b055 99%, transparent),
    radial-gradient(4px 7px at 88% 78%, #e79a37 99%, transparent);
  animation: fLeaf 7.5s linear infinite;
  opacity:.95;
}
@keyframes fLeaf{
  0%{ transform: translate3d(-4%,-18%,0) rotate(0deg); }
  50%{ transform: translate3d(6%,2%,0) rotate(18deg); }
  100%{ transform: translate3d(-2%,20%,0) rotate(-12deg); }
}

/* 闪电电流 */
.frm.bolt::after{
  content:''; position:absolute; inset:0; border-radius:50%; pointer-events:none;
  box-shadow: inset 0 0 0 2px rgba(120,200,255,.9), 0 0 10px rgba(80,170,255,.85), inset 0 0 12px rgba(140,220,255,.55);
  animation: fBolt .9s steps(2,end) infinite;
}
@keyframes fBolt{
  0%,100%{ opacity:.55; }
  45%{ opacity:1; }
  50%{ opacity:.35; }
  55%{ opacity:1; }
}

/* 气泡 */
.frm.bubble::after{
  content:''; position:absolute; inset:-25%; pointer-events:none;
  background-image:
    radial-gradient(6px 6px at 22% 70%, rgba(255,255,255,.35) 40%, rgba(180,230,255,.55) 70%, transparent 72%),
    radial-gradient(4px 4px at 56% 80%, rgba(255,255,255,.3) 40%, rgba(160,220,255,.5) 70%, transparent 72%),
    radial-gradient(7px 7px at 78% 66%, rgba(255,255,255,.28) 40%, rgba(190,235,255,.5) 70%, transparent 72%),
    radial-gradient(3px 3px at 36% 88%, rgba(255,255,255,.3) 40%, rgba(170,225,255,.5) 70%, transparent 72%),
    radial-gradient(5px 5px at 88% 86%, rgba(255,255,255,.25) 40%, rgba(180,230,255,.45) 70%, transparent 72%);
  animation: fBubble 5.2s ease-in infinite;
}
@keyframes fBubble{
  0%{ transform: translateY(18%) scale(.9); opacity:0; }
  20%{ opacity:1; }
  80%{ opacity:1; }
  100%{ transform: translateY(-22%) scale(1.08); opacity:0; }
}

/* 流光环 */
.frm.flow::after{
  content:''; position:absolute; inset:0; border-radius:50%; pointer-events:none;
  background: conic-gradient(#ff3b5c, #ffb300, #34d399, #38bdf8, #a855f7, #ff3b5c);
  -webkit-mask: radial-gradient(circle, transparent 61%, #000 63%);
  mask: radial-gradient(circle, transparent 61%, #000 63%);
  animation: fSpin 3.6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,90,150,.55));
}
@keyframes fSpin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

/* 商城预览同步(缩小版) */
.ov-prev.anim-rain::after, .ov-prev.anim-flame::after, .ov-prev.anim-leaf::after,
.ov-prev.anim-bolt::after, .ov-prev.anim-bubble::after, .ov-prev.anim-flow::after{
  content:''; position:absolute; inset:-24%; pointer-events:none;
}
.ov-prev.anim-rain{ position:relative; overflow:hidden; }
.ov-prev.anim-rain::after{
  background-image: linear-gradient(115deg, transparent 46%, rgba(180,225,255,.9) 48%, rgba(180,225,255,.9) 52%, transparent 54%);
  background-size: 18px 28px; background-position: 0 0; animation: fRain .7s linear infinite;
}
.ov-prev.anim-flame{ position:relative; overflow:hidden; }
.ov-prev.anim-flame::after{
  left:-8%; right:-8%; bottom:-4%; top:auto; height:56%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,196,60,.95) 0%, rgba(255,110,0,.8) 40%, transparent 76%);
  animation: fFlame 1.4s ease-in-out infinite; border-radius: 50% 50% 40% 40%;
}
.ov-prev.anim-leaf{ position:relative; overflow:hidden; }
.ov-prev.anim-leaf::after{
  background-image: radial-gradient(3px 5px at 24% 16%, #f0a13c 99%, transparent), radial-gradient(3px 5px at 56% 26%, #d97b1f 99%, transparent), radial-gradient(3px 6px at 80% 12%, #ffc46b 99%, transparent), radial-gradient(3px 5px at 38% 58%, #e08b2c 99%, transparent), radial-gradient(3px 5px at 72% 66%, #c96a12 99%, transparent);
  animation: fLeaf 7.5s linear infinite;
}
.ov-prev.anim-bolt{ position:relative; overflow:hidden; }
.ov-prev.anim-bolt::after{
  inset:0; border-radius:50%;
  box-shadow: inset 0 0 0 2px rgba(120,200,255,.9), 0 0 8px rgba(80,170,255,.8);
  animation: fBolt .9s steps(2,end) infinite;
}
.ov-prev.anim-bubble{ position:relative; overflow:hidden; }
.ov-prev.anim-bubble::after{
  background-image: radial-gradient(4px 4px at 24% 70%, rgba(255,255,255,.4) 40%, rgba(180,230,255,.5) 70%, transparent 72%), radial-gradient(3px 3px at 58% 80%, rgba(255,255,255,.35) 40%, rgba(160,220,255,.45) 70%, transparent 72%), radial-gradient(5px 5px at 80% 66%, rgba(255,255,255,.3) 40%, rgba(190,235,255,.45) 70%, transparent 72%);
  animation: fBubble 5.2s ease-in infinite;
}
.ov-prev.anim-flow{ position:relative; overflow:hidden; }
.ov-prev.anim-flow::after{
  inset:0; border-radius:50%;
  background: conic-gradient(#ff3b5c, #ffb300, #34d399, #38bdf8, #a855f7, #ff3b5c);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
  mask: radial-gradient(circle, transparent 60%, #000 62%);
  animation: fSpin 3.6s linear infinite;
}
/* ===== 动态头像框修复: 层级 + 可见性 ===== */
/* 头像图片在下, 粒子层在上, 避免被 img 盖住 */
.frm{ position: relative !important; }
.frm > img, .frm > .av, .frm > span{ position: relative; z-index: 1; }
.frm.snow::after, .frm.heart::after, .frm.starfall::after, .frm.flow::after{
  z-index: 3 !important;
  display: block !important;
}

/* 商城预览: 同样保证粒子在图片上方 */
.ov-prev{ position: relative; }
.ov-prev > img{ position: relative; z-index: 1; }
.ov-prev.anim-snow::after, .ov-prev.anim-heart::after,
.ov-prev.anim-starfall::after, .ov-prev.anim-flow::after{
  z-index: 3 !important; display: block !important;
}

/* 落雪: 提高对比度, 加一点点蓝白发光 */
.frm.snow::after{
  filter: drop-shadow(0 0 2px rgba(255,255,255,.9));
  opacity: 1;
}
/* 心动: 放慢一点, 更柔和 */
.frm.heart::after{ animation-duration: 5.6s; }
/* 流星: 更亮 */
.frm.starfall::after{ filter: drop-shadow(0 0 4px rgba(255,225,140,.95)); }
/* 流光: 加粗光圈 */
.frm.flow::after{
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 61%);
  mask: radial-gradient(circle, transparent 58%, #000 61%);
  filter: drop-shadow(0 0 5px rgba(255,90,150,.7));
}

/* 为 .av 单独渲染头像的情况: 让粒子层盖在 .av 上 */
.avwrap .frm::after{ z-index: 3 !important; }
/* ============================================================
   暖调氛围主题 v1: 不刺眼的白 → 奶油玫瑰 / 暧昧微醺感
   只做视觉层, 不改任何交互
   ============================================================ */

:root{
  --app-bg: #FFF4F7;
  --app-bg2: #FBEEF6;
  --warm-ink: #3A2E36;
  --warm-ink2: #6B5A63;
  --warm-muted: #A08D97;
  --warm-line: rgba(196,143,166,.18);
  --warm-rose: #E85D82;
  --warm-rose2: #C9618C;
  --warm-card: rgba(255,252,253,.86);
  --warm-shadow: 0 6px 22px rgba(190,110,140,.10);
}

/* 全局底色: 奶油玫瑰 + 顶部微光 */
html, body{
  background:
    radial-gradient(120% 55% at 50% -10%, #FFE3EC 0%, rgba(255,227,236,0) 62%),
    radial-gradient(90% 50% at 100% 0%, #F3E4FF 0%, rgba(243,228,255,0) 58%),
    linear-gradient(180deg, #FFF6F9 0%, #FBF1F8 55%, #F8EEF6 100%) !important;
}
#app, .app{ background: transparent !important; }

#main, .main, .page, .sbody, .tabpage{
  background: transparent !important;
}

/* 顶栏: 半透明奶油 + 细线 */
.bar1, .chat-shead, .topbar, .hd, .shead{
  background: linear-gradient(180deg, rgba(255,240,246,.96) 0%, rgba(255,246,250,.86) 100%) !important;
  border-bottom: 1px solid var(--warm-line) !important;
  backdrop-filter: blur(10px);
}
.bar1 .tb-title, .shead .st, .hd .title{
  color: var(--warm-ink) !important;
  letter-spacing: .5px;
}

/* 卡片: 暖白 + 柔影 + 极细描边 */
.card, .panel, .lrow, .mi, .tq-ucard, .pf2-card,
.moments > .m-card, .mt-card, .chat-card, .fc-card, .gift-card{
  background: var(--warm-card) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: var(--warm-shadow) !important;
  border-radius: 20px;
}

/* 文字: 暖黑, 不再纯黑 */
body, .card, .panel, .lrow, .mi, .moments{
  color: var(--warm-ink);
}
.sub, .desc, .muted, .hint, .empty, .mt-line, .crow .ctime{
  color: var(--warm-muted) !important;
}

/* 分割线: 淡玫瑰 */
.hr, .line, .row-line, .mi + .mi{
  border-color: var(--warm-line) !important;
}

/* 主按钮: 玫瑰渐变 + 柔光 */
.btn, .pbtn, .cta, .mt-btn.main, .pb-btn.ok{
  background: linear-gradient(135deg, #FF9DB8 0%, #E85D82 55%, #C9618C 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(232,93,130,.26) !important;
}
.btn:active, .pbtn:active{ transform: translateY(1px); }

/* 次级按钮 */
.btn.ghost, .mt-btn.ghost, .pbtn.ghost{
  background: rgba(255,255,255,.72) !important;
  color: var(--warm-rose2) !important;
  border: 1px solid rgba(232,93,130,.28) !important;
  box-shadow: none !important;
}

/* 输入框: 奶油底 + 内阴影 */
input, textarea, .inp, .search, .lg-inp{
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(214,166,186,.35) !important;
  color: var(--warm-ink) !important;
}
input::placeholder, textarea::placeholder{ color: #BFA9B3 !important; }

/* 底部 tab: 磨砂奶油 */
.tabbar, .bottom-nav, .tabs-bar{
  background: rgba(255,247,250,.92) !important;
  border-top: 1px solid var(--warm-line) !important;
  backdrop-filter: blur(14px);
}

/* 聊天气泡: 对方奶油白, 自己玫瑰 */
.crow .cbub, .crow > .cbody > .bubble{
  background: rgba(255,255,255,.92) !important;
  color: var(--warm-ink) !important;
  box-shadow: 0 3px 12px rgba(190,110,140,.10) !important;
}
.crow.me .cbub, .crow.me > .cbody > .bubble{
  background: linear-gradient(135deg, #FFA8C0, #E85D82) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(232,93,130,.28) !important;
}

/* 动态卡片 */
.m-card{
  background: rgba(255,252,253,.9) !important;
  border-radius: 22px !important;
  box-shadow: 0 8px 24px rgba(190,110,140,.09) !important;
}

/* 标签/胶囊 */
.chip, .tag, .pill, .badge-soft{
  background: rgba(255,238,244,.9) !important;
  color: var(--warm-rose2) !important;
  border: 1px solid rgba(232,93,130,.14) !important;
}

/* 头像圈加一点点暖边 */
.av img, .avbox img, .ov-prev img{
  box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 4px 12px rgba(190,110,140,.16);
}

/* 滚动条(桌面预览) */
::-webkit-scrollbar{ width:6px; }
::-webkit-scrollbar-thumb{ background: rgba(214,150,178,.35); border-radius: 6px; }

/* 顶部状态小字: 更柔和 */
.bar1 .tb-sub, .hd .sub{ color: var(--warm-muted) !important; }

/* 弹层/浮层: 暖白 */
.mask .sheet, .sheet, .modal, .dlg, .pop{
  background: linear-gradient(180deg, #FFFCFD 0%, #FDF3F8 100%) !important;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 30px rgba(150,80,110,.14) !important;
}

/* 空状态文字 */
.empty{ color: #B49AA6 !important; }
/* ============================================================
   暖调氛围主题 v2: 补顶部胶囊 / 底栏 / 首页卡片 / 交友页
   ============================================================ */

/* 顶部胶囊 tab (同城/附近/推荐/搭子) */
.sp2-bar, .sp-bar, .sp2-bar-in{
  background: rgba(255,247,251,.9) !important;
  border: 1px solid rgba(232,176,198,.28) !important;
  box-shadow: 0 6px 18px rgba(200,120,150,.10) !important;
  backdrop-filter: blur(10px);
}
.sp2-bar-in > div, .sp-bar > div{
  color: var(--warm-ink2) !important;
}
.sp2-bar-in > div.on, .sp-bar > div.on{
  background: linear-gradient(135deg, #FF9DB8, #E85D82) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(232,93,130,.28) !important;
}

/* 底部 tabbar */
.tabbar{
  background: rgba(255,246,250,.94) !important;
  border-top: 1px solid rgba(232,176,198,.26) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 -6px 22px rgba(190,110,140,.08) !important;
}
.tabbar .tb-it, .tabbar > div{
  color: #A08D97 !important;
}
.tabbar .on, .tabbar .tb-it.on{
  color: #E85D82 !important;
}

/* 首页大色块: 稍微压暗饱和, 更"微醺" */
.fn-grid > div, .fx-grid > div{ filter: saturate(.94) brightness(1.02); }

/* 首页匹配条 / 擦肩而过卡片: 暖白 */
.match-bar, .near-card, .fc-card, .rec-card, .mm-card, .usercard, .ucard{
  background: rgba(255,252,253,.9) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: 0 8px 22px rgba(190,110,140,.10) !important;
}

/* 今日推荐 头像 + 名字 */
.rec-name, .rc-name, .uname{ color: var(--warm-ink) !important; }
.rec-meta, .rc-sub{ color: #B099A3 !important; }

/* 分区标题 */
.sec-title, .tt, .h2, .blk-title{
  color: #3A2E36 !important;
}
.sec-title::before, .tt::before{
  background: linear-gradient(135deg,#FF9DB8,#E85D82) !important;
}

/* 聊天列表行 */
.crow, .chat-item, .msg-item{
  background: transparent !important;
}
.chat-list .item, .cl-item{
  border-bottom: 1px solid rgba(232,176,198,.16) !important;
}

/* 消息未读小红点: 玫瑰 */
.badge, .dot, .unread{
  background: linear-gradient(135deg,#FF8FB0,#E85D82) !important;
  box-shadow: 0 2px 8px rgba(232,93,130,.35) !important;
}

/* 输入区(聊天底部) */
.chat-input, .cinput, .input-bar{
  background: rgba(255,248,251,.94) !important;
  border-top: 1px solid rgba(232,176,198,.24) !important;
  backdrop-filter: blur(12px);
}

/* 我的页: 头部卡暖化 */
.mine-head, .pf-head, .me-head, .profile-head{
  background:
    radial-gradient(120% 90% at 0% 0%, #FFE1EC 0%, rgba(255,225,236,0) 60%),
    linear-gradient(135deg, #FFF3F9 0%, #F6ECFB 100%) !important;
}

/* 列表行右侧箭头/数值 */
.lrow .r, .mi .r, .arrow{ color: #B9A3AD !important; }

/* 阴影统一柔化, 避免生硬 */
.card, .panel, .lrow, .mi, .m-card, .mt-card{
  box-shadow: 0 6px 20px rgba(190,110,140,.09) !important;
}

/* 选中态描边 */
.card.sel, .mi.sel, .on-card{
  border-color: rgba(232,93,130,.4) !important;
}
/* ============================================================
   暖调氛围主题 v3: 高优先级覆盖 (顶栏胶囊 / 底栏 / 容器)
   ============================================================ */

/* 顶部胶囊 tab: 同城/附近/推荐/搭子 */
html body .tq-tabs,
html body .tq-tabs-wrap,
html body .tabs{
  background: rgba(255,246,250,.86) !important;
  border: 1px solid rgba(232,176,198,.30) !important;
  box-shadow: 0 8px 22px rgba(200,120,150,.10) !important;
  backdrop-filter: blur(12px);
  border-radius: 999px !important;
}
html body .tq-tabs > div{
  color: #7C6670 !important;
  border-radius: 999px !important;
}
html body .tq-tabs > div.on,
html body .tq-tabs > div.sel,
html body .tq-tabs > div.active{
  background: linear-gradient(135deg,#FFA3BC 0%,#E85D82 60%,#C9618C 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(232,93,130,.30) !important;
}

/* 底部 tabbar: 奶油磨砂, 覆盖 #tabbar.tabbar 的纯白 */
html body #tabbar.tabbar,
html body #tabbar,
html body .tabbar{
  background: rgba(255,246,250,.94) !important;
  border-top: 1px solid rgba(232,176,198,.26) !important;
  box-shadow: 0 -8px 24px rgba(190,110,140,.09) !important;
  backdrop-filter: blur(16px);
}
html body .tabbar .tb{ color: #A08D97 !important; }
html body .tabbar .tb.on,
html body .tabbar .tb.active{ color: #E85D82 !important; }

/* 主容器: 去掉纯白底, 让暖色透出来 */
html body #app,
html body .app,
html body #main,
html body .main,
html body #tabbar-root{
  background: transparent !important;
}
html body #view, html body #stack{
  background: transparent !important;
}

/* 首页动态/推荐卡片: 暖白半透明 */
html body .m-card,
html body .moments .card,
html body .tq-ucard,
html body .near-card,
html body .fc-card{
  background: rgba(255,252,253,.92) !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  box-shadow: 0 8px 24px rgba(190,110,140,.10) !important;
}

/* 搜索框 */
html body .search, html body #sqKw, html body input[type=text]{
  background: rgba(255,255,255,.75) !important;
}
/* ============================================================
   暖调氛围主题 v4: 更暖更"暧昧"(奶油蜜桃 + 香槟金高光)
   ============================================================ */

:root{
  --warm-ink: #3B2C31;
  --warm-ink2: #6E5A60;
  --warm-muted: #A6909A;
  --cream: #FFF7F2;
  --peach: #FFE9DE;
  --rose-soft: #FFD9E3;
  --rose: #E85D82;
  --rose-deep: #C24E74;
  --champagne: #E8C39A;
  --line-warm: rgba(206,150,170,.20);
  --card-grad: linear-gradient(165deg, rgba(255,255,255,.95) 0%, rgba(255,247,244,.92) 55%, rgba(255,240,244,.9) 100%);
  --gloss: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.55);
  --shadow-warm: 0 10px 26px rgba(196,110,140,.10), 0 2px 6px rgba(196,110,140,.06);
}

/* 底色: 蜜桃奶油, 去掉冷紫 */
html, body{
  background:
    radial-gradient(110% 60% at 8% -8%, #FFE6EA 0%, rgba(255,230,234,0) 58%),
    radial-gradient(90% 55% at 100% 0%, #FFEFE2 0%, rgba(255,239,226,0) 60%),
    radial-gradient(120% 50% at 50% 110%, #FFE9F0 0%, rgba(255,233,240,0) 62%),
    linear-gradient(180deg, #FFF7F2 0%, #FFF2F3 45%, #FFF0F3 100%) !important;
}

/* 卡片: 奶油渐变 + 顶部高光 + 暖影 */
html body .card,
html body .panel,
html body .lrow,
html body .mi,
html body .m-card,
html body .mt-card,
html body .tq-ucard,
html body .fc-card,
html body .near-card,
html body .moments .card,
html body .pf2-card,
html body .chat-card{
  background: var(--card-grad) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: var(--gloss), var(--shadow-warm) !important;
  border-radius: 22px !important;
}

/* 文字更暖 */
body, html body #main{ color: var(--warm-ink); }
html body .sub, html body .desc, html body .hint,
html body .muted, html body .empty, html body .mt-line{ color: var(--warm-muted) !important; }

/* 顶栏: 奶油 + 香槟细线 */
html body .bar1, html body .shead, html body .chat-shead, html body .hd{
  background: linear-gradient(180deg, rgba(255,244,240,.97) 0%, rgba(255,249,246,.9) 100%) !important;
  border-bottom: 1px solid rgba(232,195,154,.28) !important;
}

/* 胶囊 tab: 香槟描边 */
html body .tq-tabs{
  background: linear-gradient(180deg, rgba(255,250,247,.95) 0%, rgba(255,244,243,.9) 100%) !important;
  border: 1px solid rgba(232,195,154,.35) !important;
  box-shadow: 0 8px 22px rgba(200,140,120,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
html body .tq-tabs > div.on{
  background: linear-gradient(135deg,#FFB3A7 0%,#F0778E 55%,#D9567C 100%) !important;
  box-shadow: 0 8px 18px rgba(217,86,124,.28), inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* 底栏 */
html body #tabbar.tabbar, html body #tabbar, html body .tabbar{
  background: linear-gradient(180deg, rgba(255,250,248,.95) 0%, rgba(255,244,245,.97) 100%) !important;
  border-top: 1px solid rgba(232,195,154,.28) !important;
  box-shadow: 0 -10px 26px rgba(196,110,140,.10) !important;
}

/* 主按钮: 蜜桃玫瑰渐变 + 香槟内高光 */
html body .btn, html body .pbtn, html body .mt-btn.main, html body .cta{
  background: linear-gradient(135deg,#FFB39F 0%,#F0778E 52%,#D9567C 100%) !important;
  box-shadow: 0 10px 22px rgba(217,86,124,.26), inset 0 1px 0 rgba(255,255,255,.4) !important;
}

/* 聊天气泡: 加微光泽 */
html body .crow .cbub, html body .crow > .cbody > .bubble{
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,248,246,.95) 100%) !important;
  box-shadow: var(--gloss), 0 4px 14px rgba(196,110,140,.10) !important;
}
html body .crow.me .cbub, html body .crow.me > .cbody > .bubble{
  background: linear-gradient(160deg,#FFB0A6 0%,#F0778E 50%,#DB5779 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(219,87,121,.26) !important;
}

/* 输入框: 奶油 + 香槟边 */
html body input, html body textarea, html body .search{
  background: rgba(255,252,249,.92) !important;
  border: 1px solid rgba(232,195,154,.32) !important;
  box-shadow: inset 0 1px 2px rgba(200,150,120,.06) !important;
}

/* 分割线 */
html body .hr, html body .line, html body .row-line{
  border-color: var(--line-warm) !important;
}

/* 头像: 香槟暖环 */
html body .av img, html body .avbox img, html body .ov-prev img{
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 6px 16px rgba(200,130,150,.18) !important;
}

/* 章节标题: 玫瑰小竖条 + 暖黑 */
html body .sec-title, html body .blk-title{ color: var(--warm-ink) !important; }
html body .sec-title::before, html body .blk-title::before{
  background: linear-gradient(180deg,#FFB39F,#E85D82) !important;
}

/* 未读红点: 玫瑰渐变 */
html body .badge, html body .unread, html body .dot{
  background: linear-gradient(135deg,#FF9C8C,#E8536F) !important;
  box-shadow: 0 2px 8px rgba(232,83,111,.4) !important;
}

/* 每日情话条 */
.warm-quote{
  margin: 10px 14px 2px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,236,224,.96), rgba(255,224,234,.96));
  border: 1px solid rgba(232,195,154,.4);
  box-shadow: 0 6px 18px rgba(200,130,150,.10), inset 0 1px 0 rgba(255,255,255,.85);
  color: #7A5A62;
  font-size: 13px;
  line-height: 1.6;
  display: flex; align-items: center; gap: 8px;
}
.warm-quote b{ color: #C24E74; font-weight: 900; }
.warm-quote .q-emo{ font-size: 16px; }
/* ============================================================
   暖调 v5: 首页四宫格改暖色 + 聊天页背景暖化
   ============================================================ */

/* 首页四个功能块: 珊瑚/酒红/琥珀/玫瑰金 (替换冷紫/蓝/橙) */
html body .tq-banners > .tq-ban:nth-child(1){
  background: linear-gradient(135deg,#FFB49B 0%,#F4737F 55%,#E2567A 100%) !important;
  box-shadow: 0 12px 26px rgba(226,86,122,.24), inset 0 1px 0 rgba(255,255,255,.4) !important;
}
html body .tq-banners > .tq-ban:nth-child(2){
  background: linear-gradient(135deg,#F79CB3 0%,#DE6A8C 55%,#B94C6E 100%) !important;
  box-shadow: 0 12px 26px rgba(185,76,110,.24), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
html body .tq-banners > .tq-ban:nth-child(3){
  background: linear-gradient(135deg,#FFD1A1 0%,#F5A26B 55%,#E07C57 100%) !important;
  box-shadow: 0 12px 26px rgba(224,124,87,.22), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
html body .tq-banners > .tq-ban:nth-child(4){
  background: linear-gradient(135deg,#F6DCC2 0%,#E7AE9C 55%,#D08A8A 100%) !important;
  box-shadow: 0 12px 26px rgba(208,138,138,.22), inset 0 1px 0 rgba(255,255,255,.5) !important;
}
/* 块内文字: 暖白, 加一点阴影更清楚 */
html body .tq-banners > .tq-ban .tq-ban-t,
html body .tq-banners > .tq-ban .tq-ban-s{
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(120,40,60,.22);
}

/* 顶部大 banner(今天，遇见对的人): 去掉紫, 改蜜桃玫瑰 */
html body .tq-hero, html body .tq-top, html body .tq-head-card{
  background: linear-gradient(135deg,#FF9E8E 0%,#F4737F 45%,#C9547E 100%) !important;
}

/* 聊天页背景: 暖色微光, 不再纯白 */
html body .chat-body,
html body #chatBody,
html body .chat-wrap,
html body .crow-list{
  background:
    radial-gradient(120% 55% at 50% -5%, #FFE9EC 0%, rgba(255,233,236,0) 62%),
    radial-gradient(90% 45% at 100% 100%, #FFEFE3 0%, rgba(255,239,227,0) 58%),
    linear-gradient(180deg,#FFF8F4 0%,#FFF3F3 60%,#FFF1F4 100%) !important;
}
/* 消息列表容器 */
html body .chat-main, html body .chat-msgs, html body #chatMain{
  background: transparent !important;
}
/* 聊天头部 */
html body .chat-shead{
  background: linear-gradient(180deg, rgba(255,247,243,.97) 0%, rgba(255,250,247,.92) 100%) !important;
  border-bottom: 1px solid rgba(232,195,154,.28) !important;
}
/* 聊天输入区 */
html body .chat-input, html body .cinput, html body .input-bar{
  background: rgba(255,250,247,.96) !important;
  border-top: 1px solid rgba(232,195,154,.28) !important;
  backdrop-filter: blur(12px);
}
/* 时间分割小字 */
html body .ctime, html body .chat-time{
  color: #B79AA4 !important;
  background: rgba(255,246,242,.9) !important;
  border-radius: 999px;
  padding: 2px 10px;
}

/* 会话列表(消息页)暖化 */
html body .chat-list, html body .conv-list, html body .msg-list{
  background: transparent !important;
}
/* ============================================================
   暖调 v6: 顶部大 banner 去紫 / 高亮柔化 / 四宫格加深
   ============================================================ */

/* 顶部 banner "今天，遇见对的人": 紫 → 玫瑰酒红 */
html body .love-hero,
html body .love-hero.tq-hero{
  background: linear-gradient(135deg,#FF9E8E 0%,#F0707E 46%,#C2527A 100%) !important;
  box-shadow: 0 14px 30px rgba(194,82,122,.22), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

/* 四宫格再深一点, 文字更清楚 */
html body .tq-banners > .tq-ban:nth-child(1){
  background: linear-gradient(135deg,#FF9E86 0%,#EF6070 52%,#D24A6C 100%) !important;
}
html body .tq-banners > .tq-ban:nth-child(2){
  background: linear-gradient(135deg,#F586A2 0%,#D65B81 52%,#AE4364 100%) !important;
}
html body .tq-banners > .tq-ban:nth-child(3){
  background: linear-gradient(135deg,#FFC489 0%,#EE9460 52%,#D8734E 100%) !important;
}
html body .tq-banners > .tq-ban:nth-child(4){
  background: linear-gradient(135deg,#EFCBA8 0%,#DE9C8C 52%,#C67B7B 100%) !important;
}

/* 搜索命中/关键词高亮: 生硬红底 → 淡玫瑰 */
html body mark,
html body .hl,
html body .kd-hl,
html body [style*="background:#FF3B5C"]{
  background: rgba(255,205,215,.65) !important;
  color: #A03B57 !important;
  border-radius: 4px;
  padding: 0 2px;
}
/* 会话列表里的红底预览(老样式) */
html body .crow .preview span,
html body .chat-item .preview span{
  background: transparent !important;
  color: #8A737C !important;
}

/* 消息页搜索框 */
html body .msg-search, html body .search-bar input{
  background: rgba(255,252,249,.94) !important;
  border: 1px solid rgba(232,195,154,.32) !important;
}

/* 消息页顶部 tab(全部/好友/陌生人/附近) */
html body .msg-tabs, html body .mt-tabs{
  background: transparent !important;
  border-bottom: 1px solid rgba(232,195,154,.26) !important;
}
html body .msg-tabs .on, html body .mt-tabs .on{
  color: #E85D82 !important;
}
/* 暖调 v7: 第 5/6 个功能块(语音匹配/道具商城)也改暖色 */
html body .tq-banners > .tq-ban:nth-child(5){
  background: linear-gradient(135deg,#D89AB8 0%,#B96A93 52%,#8E4E70 100%) !important;
  box-shadow: 0 12px 26px rgba(142,78,112,.24), inset 0 1px 0 rgba(255,255,255,.32) !important;
}
html body .tq-banners > .tq-ban:nth-child(6){
  background: linear-gradient(135deg,#F4B583 0%,#E08A55 52%,#BE6636 100%) !important;
  box-shadow: 0 12px 26px rgba(190,102,54,.22), inset 0 1px 0 rgba(255,255,255,.36) !important;
}
html body .tq-banners > .tq-ban:nth-child(n+5) .tq-ban-t,
html body .tq-banners > .tq-ban:nth-child(n+5) .tq-ban-s{
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(90,30,50,.25);
}
/* ============================================================
   暖调 v8: 动态图片暖滤镜 + 个人主页暖化 + 登录页暖化
   ============================================================ */

/* ---------- A. 动态/广场图片: 统一"暖阳"调 ---------- */
html body .m-img img,
html body .m-imgs img,
html body .moments img,
html body .tq-feed img{
  filter: saturate(1.05) contrast(1.03) sepia(.05) brightness(1.01);
}
/* 图片容器: 暖色描边, 不再生硬白边 */
html body .m-img, html body .m-imgs > div{
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(190,110,140,.10) !important;
}

/* ---------- B. 个人主页 / 资料卡暖化 ---------- */
html body #loginView{
  background:
    radial-gradient(120% 60% at 50% 0%, #FFE7EA 0%, rgba(255,231,234,0) 62%),
    radial-gradient(90% 50% at 100% 100%, #FFEFE2 0%, rgba(255,239,226,0) 58%),
    linear-gradient(180deg,#FFF7F3 0%,#FFF2F3 100%) !important;
}
html body .login-card{
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,248,245,.95) 100%) !important;
  border: 1px solid rgba(232,195,154,.35) !important;
  box-shadow: 0 18px 44px rgba(196,110,140,.16), inset 0 1px 0 rgba(255,255,255,.9) !important;
  border-radius: 26px !important;
}
html body #loginLogo{
  filter: drop-shadow(0 8px 20px rgba(232,93,130,.28));
}
html body #loginSeg{
  background: rgba(255,244,240,.9) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(232,195,154,.3) !important;
}
html body #loginSeg > div.on{
  background: linear-gradient(135deg,#FFB39F,#F0778E 55%,#D9567C) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(217,86,124,.28) !important;
}

/* 个人主页: 头部大卡 + 内容卡 */
html body .pf2-card,
html body .pf-head,
html body .pf2-head,
html body .profile-head,
html body .up-head,
html body .ucard,
html body .user-card{
  background: linear-gradient(165deg, rgba(255,255,255,.95) 0%, rgba(255,247,243,.94) 60%, rgba(255,240,243,.92) 100%) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 12px 30px rgba(196,110,140,.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
  border-radius: 24px !important;
}
/* 个人主页顶部氛围(若有渐变头图) */
html body .pf2-cover, html body .pf-cover, html body .profile-cover{
  background: linear-gradient(135deg,#FFB0A6 0%,#F0778E 50%,#C2527A 100%) !important;
}
/* 资料卡里的标签胶囊 */
html body .pf2-tags span, html body .pf-tags span, html body .utag{
  background: rgba(255,238,242,.95) !important;
  color: #C24E74 !important;
  border: 1px solid rgba(232,93,130,.16) !important;
}
/* 个人主页按钮组 */
html body .pf2-acts button, html body .pf-acts button{
  border-radius: 14px !important;
}

/* 底部安全区: 暖色兜底, 避免白色露边 */
html body .safe-bottom, html body #safeBottom{
  background: rgba(255,246,250,.95) !important;
}
/* 暖调 v9: 修复登录/注册卡文字看不清的问题 */
html body #loginView .login-card,
html body #loginView .login-card *{
  color: #3B2C31 !important;
  -webkit-text-fill-color: #3B2C31 !important;
}
/* 但按钮/选中态保持白字 */
html body #loginView .login-card button,
html body #loginView .login-card .btn,
html body #loginView #loginSeg > div.on{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* 输入框: 深色字 + 清晰占位 */
html body #loginView input,
html body #loginView select,
html body #loginView textarea{
  color: #33262B !important;
  -webkit-text-fill-color: #33262B !important;
  background: rgba(255,252,250,.98) !important;
  border: 1px solid rgba(214,166,186,.42) !important;
  caret-color: #E85D82;
}
html body #loginView input::placeholder,
html body #loginView textarea::placeholder{
  color: #A98F9B !important;
  -webkit-text-fill-color: #A98F9B !important;
}
/* 顶部提示小字 */
html body #loginView .tip,
html body #loginView .login-tip,
html body #loginView .agree{
  color: #8A737C !important;
  -webkit-text-fill-color: #8A737C !important;
}
/* 登录页底色再暖一点 */
html body #loginView{
  background:
    radial-gradient(110% 55% at 50% 0%, #FFE3E7 0%, rgba(255,227,231,0) 60%),
    radial-gradient(90% 50% at 100% 100%, #FFEBDC 0%, rgba(255,235,220,0) 58%),
    linear-gradient(180deg,#FFF6F2 0%,#FFF1F3 100%) !important;
}
/* ============================================================
   暖调 v10: A 装扮商城/会员页 + B 同城饭局/活动页 暖化
   ============================================================ */

/* ---------- A. 装扮商城 ---------- */
html body .ds-wrap, html body .ds-body, html body .deco-body,
html body #decoShop, html body .deco-shop{
  background:
    radial-gradient(110% 50% at 50% -5%, #FFE9EC 0%, rgba(255,233,236,0) 60%),
    linear-gradient(180deg,#FFF8F4 0%,#FFF2F4 100%) !important;
}
html body .ds-tabs, html body .deco-tabs{
  background: rgba(255,248,245,.92) !important;
  border-bottom: 1px solid rgba(232,195,154,.28) !important;
}
html body .ds-tabs > div.on, html body .deco-tabs > div.on{
  color: #E85D82 !important;
}
html body .ds-tabs > div.on::after, html body .deco-tabs > div.on::after{
  background: linear-gradient(135deg,#FFB39F,#E85D82) !important;
}
/* 商品格 */
html body .ds-cell, html body .af-cell, html body .df-cell, html body .deco-cell,
html body .ds-item, html body .deco-item{
  background: linear-gradient(170deg, rgba(255,255,255,.96), rgba(255,247,243,.94)) !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  box-shadow: 0 8px 20px rgba(196,110,140,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
  border-radius: 18px !important;
}
/* 价格 */
html body .af-st, html body .ds-price, html body .deco-price{
  color: #C24E74 !important;
}
/* 余额条 */
html body .ds-bal, html body .deco-bal{
  background: linear-gradient(135deg,#FFEBDD,#FFE3EC) !important;
  border: 1px solid rgba(232,195,154,.36) !important;
  border-radius: 18px !important;
}

/* 会员页 */
html body .vip-page, html body .vip-body, html body #vipView{
  background:
    radial-gradient(110% 50% at 50% 0%, #FFE6E3 0%, rgba(255,230,227,0) 62%),
    linear-gradient(180deg,#FFF6F1 0%,#FFF1F4 100%) !important;
}
html body .vip-card, html body .vip-hero, html body .member-card, html body .noble-hero{
  background: linear-gradient(135deg,#3B2A2E 0%,#5A3542 46%,#8A4459 100%) !important;
  border: 1px solid rgba(232,195,154,.45) !important;
  box-shadow: 0 18px 40px rgba(90,53,66,.28), inset 0 1px 0 rgba(255,220,190,.28) !important;
  border-radius: 24px !important;
}
html body .vip-card *, html body .member-card *{
  color: #FFF3E6 !important;
}
html body .vip-price, html body .vip-pkg, html body .pkg{
  background: rgba(255,250,244,.95) !important;
  border: 1px solid rgba(232,195,154,.4) !important;
  border-radius: 16px !important;
  color: #4A323A !important;
}
html body .vip-price.on, html body .pkg.on, html body .pkg.sel{
  background: linear-gradient(135deg,#FFE0CE,#FFD3E2) !important;
  border-color: rgba(232,93,130,.5) !important;
  box-shadow: 0 8px 20px rgba(232,93,130,.16) !important;
}

/* ---------- B. 同城饭局 / 活动页 ---------- */
html body .mt-hero{
  background: linear-gradient(135deg,#FFB0A6 0%,#F0778E 52%,#C2527A 100%) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: 0 16px 34px rgba(194,82,122,.24), inset 0 1px 0 rgba(255,255,255,.3) !important;
  border-radius: 22px !important;
}
html body .mt-hero-t, html body .mt-hero-s, html body .mt-hero-k{
  color: #fff !important;
}
html body .mt-hero-k span{
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  border-radius: 999px !important;
  padding: 3px 10px !important;
}
html body .mt-card{
  background: linear-gradient(170deg, rgba(255,255,255,.96), rgba(255,247,243,.94)) !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  box-shadow: 0 10px 24px rgba(196,110,140,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
  border-radius: 20px !important;
}
html body .mt-bal{
  background: linear-gradient(135deg,#FFEBDD,#FFE4EC) !important;
  border: 1px solid rgba(232,195,154,.36) !important;
  border-radius: 18px !important;
}
html body .mtb-num{ color: #C24E74 !important; }
html body .mtb-lab{ color: #96757F !important; }
html body .mtb-btn{
  background: rgba(255,255,255,.9) !important;
  color: #C24E74 !important;
  border: 1px solid rgba(232,93,130,.3) !important;
  border-radius: 12px !important;
}
html body .mt-create{
  background: linear-gradient(135deg,#FFB39F 0%,#F0778E 52%,#D9567C 100%) !important;
  box-shadow: 0 12px 26px rgba(217,86,124,.26) !important;
  border-radius: 16px !important;
}
html body .mt-badge{
  border-radius: 999px !important;
  padding: 2px 8px !important;
}
html body .mt-badge.wait{ background: rgba(255,214,224,.9) !important; color: #B4496A !important; }
html body .mt-badge.done{ background: rgba(226,238,230,.9) !important; color: #4C7A5E !important; }
html body .mt-badge.off{ background: rgba(238,232,234,.9) !important; color: #8A737C !important; }
html body .mt-empty{ color: #A6909A !important; }
html body .mt-empty-s{ color: #B49AA6 !important; }
html body .mt-note{
  background: rgba(255,246,240,.9) !important;
  border-left: 3px solid rgba(232,93,130,.45) !important;
  border-radius: 8px !important;
  color: #7A5A62 !important;
}
html body .mt-you{ color: #C24E74 !important; }
/* ============================================================
   夜间模式 (暖夜): html.night
   深暖棕底 + 玫瑰提亮, 不刺眼
   ============================================================ */

html.night{
  --app-bg:#171215;
  --app-bg2:#1D1619;
  --warm-ink:#F3E7EA;
  --warm-ink2:#CBB2B9;
  --warm-muted:#9C8189;
  --rose:#FF7C99;
  --line-warm: rgba(232,195,154,.16);
}

html.night body{
  background:
    radial-gradient(110% 55% at 50% -8%, #2A1B22 0%, rgba(42,27,34,0) 62%),
    radial-gradient(90% 50% at 100% 0%, #2B2019 0%, rgba(43,32,25,0) 58%),
    linear-gradient(180deg,#171215 0%,#1B1417 55%,#1E1519 100%) !important;
  color: #F3E7EA !important;
}
html.night #app, html.night .app, html.night #main, html.night #view{ background: transparent !important; }

/* 文字 */
html.night .sub, html.night .desc, html.night .hint, html.night .muted,
html.night .empty, html.night .mt-line, html.night .crow .ctime{
  color: #9C8189 !important;
}

/* 卡片 */
html.night .card, html.night .panel, html.night .mi, html.night .lrow,
html.night .m-card, html.night .mt-card, html.night .tq-ucard,
html.night .ds-cell, html.night .af-cell, html.night .pf2-card{
  background: linear-gradient(170deg, rgba(48,36,41,.96), rgba(38,28,33,.96)) !important;
  border: 1px solid rgba(255,214,224,.10) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.05) !important;
  color: #F3E7EA !important;
}
html.night .mi *, html.night .lrow *, html.night .card *{ border-color: rgba(255,214,224,.10); }

/* 顶栏/底栏 */
html.night .bar1, html.night .shead, html.night .chat-shead, html.night .hd{
  background: linear-gradient(180deg, rgba(38,27,32,.97) 0%, rgba(30,22,26,.95) 100%) !important;
  border-bottom: 1px solid rgba(232,195,154,.14) !important;
}
html.night #tabbar.tabbar, html.night .tabbar{
  background: linear-gradient(180deg, rgba(36,26,30,.97) 0%, rgba(28,20,24,.98) 100%) !important;
  border-top: 1px solid rgba(232,195,154,.14) !important;
  box-shadow: 0 -10px 26px rgba(0,0,0,.4) !important;
}
html.night .tabbar .tb{ color: #9C8189 !important; }
html.night .tabbar .tb.on{ color: #FF7C99 !important; }

/* 顶部胶囊 */
html.night .tq-tabs{
  background: linear-gradient(180deg, rgba(44,32,37,.95), rgba(36,26,30,.95)) !important;
  border: 1px solid rgba(232,195,154,.18) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
html.night .tq-tabs > div{ color: #CBB2B9 !important; }
html.night .tq-tabs > div.on{
  background: linear-gradient(135deg,#FF8E7A 0%,#F2677F 55%,#D2436B 100%) !important;
  color: #fff !important;
}

/* 气泡 */
html.night .crow .cbub, html.night .crow > .cbody > .bubble{
  background: linear-gradient(180deg, rgba(56,42,48,.98), rgba(44,32,38,.98)) !important;
  color: #F3E7EA !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.3) !important;
}
html.night .crow.me .cbub, html.night .crow.me > .cbody > .bubble{
  background: linear-gradient(160deg,#FF8E7A 0%,#EF607F 55%,#C84468 100%) !important;
  color: #fff !important;
}

/* 输入框 */
html.night input, html.night textarea, html.night .search{
  background: rgba(52,39,45,.95) !important;
  border: 1px solid rgba(255,214,224,.16) !important;
  color: #F3E7EA !important;
  -webkit-text-fill-color: #F3E7EA !important;
}
html.night input::placeholder, html.night textarea::placeholder{
  color: #8E747C !important;
  -webkit-text-fill-color: #8E747C !important;
}

/* 弹层 */
html.night .sheet, html.night .modal, html.night .pop, html.night .mask .sheet{
  background: linear-gradient(180deg, #2A1E23 0%, #221820 100%) !important;
  box-shadow: 0 -8px 30px rgba(0,0,0,.5) !important;
}
html.night .mask{ background: rgba(0,0,0,.6) !important; }

/* 登录页 */
html.night #loginView{
  background:
    radial-gradient(110% 55% at 50% 0%, #2C1D24 0%, rgba(44,29,36,0) 60%),
    linear-gradient(180deg,#1A1316 0%,#221820 100%) !important;
}
html.night .login-card{
  background: linear-gradient(180deg, rgba(46,34,40,.97), rgba(36,26,32,.97)) !important;
  border: 1px solid rgba(232,195,154,.18) !important;
}
html.night #loginView .login-card, html.night #loginView .login-card *{
  color: #F3E7EA !important;
  -webkit-text-fill-color: #F3E7EA !important;
}
html.night #loginView .login-card button,
html.night #loginView #loginSeg > div.on{
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
html.night #loginSeg{
  background: rgba(52,39,45,.9) !important;
  border-color: rgba(232,195,154,.16) !important;
}

/* 图片: 夜里降一点亮度, 别刺眼 */
html.night .m-img img, html.night .m-imgs img, html.night .moments img{
  filter: saturate(1.02) brightness(.9) sepia(.05);
}

/* 分割线 */
html.night .hr, html.night .line, html.night .row-line{ border-color: rgba(255,214,224,.10) !important; }

/* 今日情话 */
html.night .warm-quote{
  background: linear-gradient(135deg, rgba(58,38,34,.95), rgba(52,32,42,.95)) !important;
  border: 1px solid rgba(232,195,154,.22) !important;
  color: #D8C2C8 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
html.night .warm-quote b{ color: #FF9DB0 !important; }
/* 夜间模式补充: 修复标题/名字/浅色条在暗底上看不清 */

html.night body, html.night #main, html.night #view, html.night .sbody{
  color: #F3E7EA !important;
}
/* 标题类 */
html.night .sec-title, html.night .blk-title, html.night .tr-hd,
html.night .tq-title, html.night .today-rec .tr-hd,
html.night h1, html.night h2, html.night h3, html.night b, html.night strong{
  color: #F6EAEC !important;
}
/* 推荐位名字/信息 */
html.night .rec-name, html.night .uname, html.night .nm,
html.night .tq-ucard b, html.night .tq-ucard .name,
html.night .m-card .au, html.night .m-card .name{
  color: #F6EAEC !important;
}
html.night .rec-meta, html.night .rc-sub, html.night .tq-ucard .sub,
html.night .tq-ucard .meta{
  color: #A78C94 !important;
}
/* "擦肩而过" 那条白底 */
html.night .tr-pass, html.night .today-rec .tr-pass{
  background: linear-gradient(135deg, rgba(58,40,46,.95), rgba(46,32,40,.95)) !important;
  border: 1px solid rgba(232,195,154,.18) !important;
  color: #FF9DB0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.32) !important;
}
/* 同城在线匹配卡 */
html.night .tq-match-card{
  background: linear-gradient(135deg, rgba(54,38,44,.96), rgba(42,30,38,.96)) !important;
  border: 1px solid rgba(232,195,154,.20) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.34) !important;
}
html.night .tq-match-card b, html.night .tq-match-card .t{ color: #F6EAEC !important; }
html.night .tq-match-card .s{ color: #A78C94 !important; }
/* 首页 4 宫格里的小按钮 */
html.night .tq-ban{ box-shadow: 0 12px 26px rgba(0,0,0,.34) !important; }
/* 筛选/胶囊按钮 */
html.night .chip, html.night .tag, html.night .pill{
  background: rgba(58,42,48,.9) !important;
  color: #FF9DB0 !important;
  border-color: rgba(232,195,154,.20) !important;
}
/* 头像边的白环在夜里调暗 */
html.night .av img, html.night .avbox img{
  box-shadow: 0 0 0 2px rgba(255,255,255,.10), 0 6px 16px rgba(0,0,0,.4) !important;
}
/* 底部小黑条/安全区 */
html.night .safe-bottom, html.night #safeBottom{
  background: #1B1417 !important;
}
/* 顶部情话条已单独处理, 这里兜底 */
html.night .warm-quote{ color: #D8C2C8 !important; }
/* 广场卡片里的正文与作者 */
html.night .m-card, html.night .m-card *{ color: #EFE3E6 !important; }
html.night .m-card .m-loc, html.night .m-card .ctime{ color: #A78C94 !important; }
/* 商城价格/名称 */
html.night .af-nm, html.night .ds-nm{ color: #F6EAEC !important; }
html.night .af-st, html.night .ds-price{ color: #FF9DB0 !important; }
/* 饭局卡片 */
html.night .mt-card *, html.night .mt-card b{ color: #EFE3E6 !important; }
html.night .mt-line{ color: #A78C94 !important; }
html.night .mt-bal{ background: linear-gradient(135deg, rgba(58,40,46,.95), rgba(46,30,40,.95)) !important; }
html.night .mtb-num{ color: #FF9DB0 !important; }
html.night .mtb-lab{ color: #A78C94 !important; }
html.night .mtb-btn{ background: rgba(60,44,50,.95) !important; color: #FF9DB0 !important; border-color: rgba(232,195,154,.20) !important; }
/* 夜间模式 v3: 精确修字色 (tr-nm / tq-mc-t / 推荐位) */
html.night .tr-nm,
html.night .tq-mc-t,
html.night .today-rec .tr-item .tr-nm,
html.night .tq-mc .tq-mc-t,
html.night .tr-item b,
html.night .tr-item .nm{
  color: #F6EAEC !important;
  -webkit-text-fill-color: #F6EAEC !important;
}
html.night .tq-mc-s, html.night .tr-sub, html.night .tr-meta{
  color: #A78C94 !important;
  -webkit-text-fill-color: #A78C94 !important;
}
/* 兜底: 首页正文里所有接近黑字都提亮 */
html.night #main .tr-nm, html.night #main .tq-mc-t,
html.night #main .tr-item div, html.night #main .tq-mc div{
  color: #F6EAEC !important;
}
/* 头像名字的上层容器 */
html.night .today-rec, html.night .today-rec div{
  color: #EFE3E6 !important;
}
html.night .today-rec .tr-sub, html.night .today-rec .tr-meta,
html.night .today-rec .tr-hd span{
  color: #A78C94 !important;
}
/* 夜间模式 v4: 擦肩而过卡片内文字 */
html.night .tq-ucard,
html.night .tq-ucard div,
html.night .tq-ucard span,
html.night .tq-ucard b{
  color: #EFE3E6 !important;
  -webkit-text-fill-color: #EFE3E6 !important;
}
html.night .tq-ucard .sub,
html.night .tq-ucard .meta,
html.night .tq-ucard .dist,
html.night .tq-ucard .loc{
  color: #A78C94 !important;
  -webkit-text-fill-color: #A78C94 !important;
}
/* 卡片里的分隔线 */
html.night .tq-ucard{
  border-color: rgba(232,195,154,.16) !important;
}
/* ============================================================
   暖调 v11: 修复浮层页(stack)透明导致"穿透"的问题
   ============================================================ */

/* 亚页面容器: 给不透明的暖底 */
html body .stack{
  background:
    radial-gradient(110% 52% at 50% -6%, #FFE7EA 0%, rgba(255,231,234,0) 62%),
    radial-gradient(90% 45% at 100% 100%, #FFEFE2 0%, rgba(255,239,226,0) 58%),
    linear-gradient(180deg,#FFF7F3 0%,#FFF2F3 60%,#FFF1F4 100%) !important;
  box-shadow: -10px 0 34px rgba(150,80,110,.10);
}
/* 里面各层不要再铺底, 免得盖掉渐变 */
html body .stack .sbody,
html body .stack .page,
html body .stack .main{
  background: transparent !important;
}
/* 浮层内的顶栏 */
html body .stack .shead{
  background: linear-gradient(180deg, rgba(255,246,242,.97) 0%, rgba(255,250,247,.92) 100%) !important;
  border-bottom: 1px solid rgba(232,195,154,.28) !important;
  backdrop-filter: blur(10px);
}
/* 浮层关闭时不留白闪 */
html body .stack:not(.open){ background: transparent !important; }

/* 夜间: 浮层深色不透明 */
html.night .stack{
  background:
    radial-gradient(110% 52% at 50% -6%, #2A1B22 0%, rgba(42,27,34,0) 62%),
    linear-gradient(180deg,#1A1316 0%,#201820 60%,#231920 100%) !important;
  box-shadow: -10px 0 34px rgba(0,0,0,.5);
}
html.night .stack .shead{
  background: linear-gradient(180deg, rgba(38,27,32,.97) 0%, rgba(30,22,26,.95) 100%) !important;
  border-bottom: 1px solid rgba(232,195,154,.14) !important;
}
/* 暖调 v12: 用 ID 级选择器压过 html body #stack{transparent!important} */
html body #stack.stack,
html body #stack{
  background:
    radial-gradient(110% 52% at 50% -6%, #FFE7EA 0%, rgba(255,231,234,0) 62%),
    radial-gradient(90% 45% at 100% 100%, #FFEFE2 0%, rgba(255,239,226,0) 58%),
    linear-gradient(180deg,#FFF7F3 0%,#FFF2F3 60%,#FFF1F4 100%) !important;
}
html.night body #stack.stack,
html.night body #stack{
  background:
    radial-gradient(110% 52% at 50% -6%, #2A1B22 0%, rgba(42,27,34,0) 62%),
    linear-gradient(180deg,#1A1316 0%,#201820 60%,#231920 100%) !important;
}
/* 浮层里的内容层保持透明, 让上面的渐变透出来 */
html body #stack .sbody,
html body #stack .page,
html body #stack .main{ background: transparent !important; }
/* 夜间模式 v5: 真正压掉白底卡, 文字统一提亮 */

/* 1) 全局文字基线: 夜里默认浅色 */
html.night #main, html.night .stack{ color: #EFE3E6 !important; }
html.night #main div, html.night #main span, html.night #main b,
html.night #main p, html.night #main a, html.night #main strong,
html.night .stack div, html.night .stack span, html.night .stack b,
html.night .stack p, html.night .stack a{
  color: inherit !important;
}
/* 2) 所有卡类容器改深色(覆盖内联白底) */
html.night .crow, html.night .chat-item, html.night .cl-item,
html.night .msg-item, html.night .conv-item,
html.night .tq-ucard, html.night .tr-item, html.night .today-rec,
html.night .mm-card, html.night .sysbar, html.night .sys-row,
html.night .th-card, html.night .ucard, html.night .rec-card,
html.night .lrow, html.night .mi, html.night .card, html.night .panel,
html.night .m-card, html.night .mt-card, html.night .ds-cell,
html.night .af-cell, html.night .item, html.night .row{
  background: linear-gradient(170deg, rgba(48,36,41,.97), rgba(38,28,33,.97)) !important;
  border-color: rgba(255,214,224,.10) !important;
  color: #EFE3E6 !important;
}

/* 3) 次要文字 */
html.night .m-tm, html.night .tm, html.night .time,
html.night .rel-dist, html.night .ls, html.night .tq-sub,
html.night .s, html.night .tr-filter, html.night .tr-meta,
html.night .mt-line, html.night .sub, html.night .desc,
html.night .ctime, html.night .hint{
  color: #A78C94 !important;
}
/* 4) 主文字 */
html.night .tr-nm, html.night .tq-mc-t, html.night .nm,
html.night .name, html.night .tt, html.night .title,
html.night .sec-title, html.night .blk-title, html.night .m-card b{
  color: #F6EAEC !important;
}
/* 5) 强调色 */
html.night .m-act.m-chat, html.night .goto-btn, html.night .hlv,
html.night .mtb-num, html.night .af-st{
  color: #FF9DB0 !important;
}
/* 6) 头像占位/emoji 保持 */
html.night .av, html.night .sysav{ color: #fff !important; }
/* 7) 会员卡(深色底)里的字保持奶白 */
html.night .th-card, html.night .th-card *{ color: #FFF3E6 !important; }
html.night .th-ribbon, html.night .th-ico{ color: #FFF3E6 !important; }
/* 8) 夜间模式开关那一行 */
html.night #nightrow{
  background: linear-gradient(135deg, rgba(58,42,48,.95), rgba(46,32,40,.95)) !important;
  border-color: rgba(232,195,154,.20) !important;
}
html.night #nightrow *{ color: #EFE3E6 !important; }
html.night #nightlab{ color: #A78C94 !important; }
/* 9) 顶部情话条(夜里) */
html.night .warm-quote, html.night .warm-quote *{ color: #D8C2C8 !important; }
html.night .warm-quote b{ color: #FF9DB0 !important; }

/* 夜间模式 v6: 自动把"白底块"涂成深色 */
html.night .night-painted{
  background: linear-gradient(170deg, rgba(48,36,41,.97), rgba(38,28,33,.97)) !important;
  border-color: rgba(255,214,224,.10) !important;
  color: #EFE3E6 !important;
}
html.night .night-painted *{
  color: #EFE3E6 !important;
  -webkit-text-fill-color: #EFE3E6 !important;
}
html.night .night-painted .m-tm,
html.night .night-painted .tm,
html.night .night-painted .ls,
html.night .night-painted .sub,
html.night .night-painted .s,
html.night .night-painted .rel-dist,
html.night .night-painted .tq-sub{
  color: #A78C94 !important;
  -webkit-text-fill-color: #A78C94 !important;
}
/* 白天可读性: 把偏浅的灰色/粉色文字压深 */
html body .m-tm, html body .tm, html body .time,
html body .ls, html body .rel-dist, html body .rel-tag,
html body .m-act, html body .tq-sub, html body .s,
html body .sub, html body .desc, html body .hint,
html body .muted, html body .empty, html body .mt-line,
html body .tr-meta, html body .rec-meta{
  color: #7A8091 !important;
}
/* 强调粉色文字压深一档(白底上更清楚) */
html body .m-act.m-chat, html body .goto-btn{
  color: #E23F6C !important;
}
/* "好友"等小标签 */
html body .tabbar .tb{ color: #8A8F9C !important; }
/* 会员卡里"续费"等小字保持奶白(在深底上) */
html body .th-cta, html body .th-t, html body .th-s, html body .th-ribbon, html body .th-ico{
  color: #FFF6E8 !important;
}
/* 夜间可读性: 浅底小胶囊 → 深底亮字 */

/* 等级徽章 */
html.night .lv, html.night .lv.w, html.night .lv.a{
  background: rgba(58,42,48,.96) !important;
  border: 1px solid rgba(232,195,154,.22) !important;
  color: #FFD9A8 !important;
  -webkit-text-fill-color: #FFD9A8 !important;
}
/* 商城 tab 选中 */
html.night .ds-tab.on, html.night .ds-tabs > div.on{
  background: linear-gradient(135deg,rgba(232,93,130,.9),rgba(180,60,95,.95)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html.night .ds-tab{ color: #B79AA4 !important; }
/* 吐槽墙排序 */
html.night .vent-sort{
  background: rgba(56,40,46,.96) !important;
  color: #B79AA4 !important;
  -webkit-text-fill-color: #B79AA4 !important;
}
html.night .vent-sort.on{
  background: linear-gradient(135deg,rgba(232,93,130,.9),rgba(180,60,95,.95)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* 首页筛选按钮 */
html.night .tr-filter{
  background: rgba(56,40,46,.96) !important;
  border: 1px solid rgba(232,195,154,.22) !important;
  color: #FF9DB0 !important;
  -webkit-text-fill-color: #FF9DB0 !important;
}
/* 未读角标: 稍深一点的玫瑰, 白字更清楚 */
html.night .unread-dot, html.night .badge, html.night .dot{
  background: linear-gradient(135deg,#E8455F,#C22C4C) !important;
  color: #fff !important;
}
/* 最后一批可读性微调 (白天) */
html body .tr-sub, html body .tr-meta{ color: #7A8091 !important; }
html body .tr-filter{
  background: rgba(255,236,242,.95) !important;
  border: 1px solid rgba(232,93,130,.30) !important;
  color: #C24E74 !important;
}
html body .tr-pass{
  background: linear-gradient(135deg, rgba(255,240,244,.95), rgba(255,232,240,.95)) !important;
  color: #C24E74 !important;
  border: 1px solid rgba(232,93,130,.22) !important;
}
html body .tabbar .tb,
html body .ds-tab,
html body .ds-tabs > div{ color: #7A8091 !important; }
html body .s, html body .tq-s, html body .mi .s{ color: #7A8091 !important; }
html body .vent-sort.on{
  background: rgba(255,226,234,.98) !important;
  color: #C24E74 !important;
}
html body .vent-sort{ color: #7A8091 !important; }
html body .m-tm, html body .tm{ color: #7A8091 !important; }
html body .rec-name, html body .uname{ color: #3B2C31 !important; }
/* 最后一个补丁: 夜间未读角标 + 白天深色强调 */
html.night .unread-dot, html.night .unread-dot.n, html.night .badge, html.night .dot,
html.night span.unread-dot{
  background: linear-gradient(135deg,#D63A52,#A82440) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html.night .unread-dot *{ color:#fff !important; }
/* 收尾微调: 3 处顽固文字 */
html body #main .today-rec .tr-pass,
html body .today-rec .tr-pass{
  color: #C24E74 !important;
  -webkit-text-fill-color: #C24E74 !important;
  background: linear-gradient(135deg, rgba(255,238,243,.98), rgba(255,228,238,.98)) !important;
}
html body .tabbar span,
html body .tabbar div{
  color: #7A8091 !important;
}
html body .tabbar .tb.on, html body .tabbar .on span{
  color: #E23F6C !important;
}
html body #main div.s,
html body #main .mi .s,
html body .stack div.s{
  color: #7A8091 !important;
  -webkit-text-fill-color: #7A8091 !important;
}
html.night body .unread-dot.n,
html.night body .unread-dot{
  background: #B3253E !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* 收尾: 个人主页统计数字(好友/关注)与标签的对比度 */
html body .tq-stats, html body .tq-stats div, html body .tq-stats span{
  color: #7A8091 !important;
  -webkit-text-fill-color: #7A8091 !important;
}
html body .tq-stats b, html body .tq-stats .n, html body .tq-stats .v{
  color: #3B2C31 !important;
  -webkit-text-fill-color: #3B2C31 !important;
}
html.night .tq-stats, html.night .tq-stats div, html.night .tq-stats span{
  color: #A78C94 !important;
  -webkit-text-fill-color: #A78C94 !important;
}
html.night .tq-stats b, html.night .tq-stats .n, html.night .tq-stats .v{
  color: #F6EAEC !important;
  -webkit-text-fill-color: #F6EAEC !important;
}
/* 夜间未读角标(高优先级) */
html.night body #main .unread-dot,
html.night body #main .unread-dot.n,
html.night body .stack .unread-dot,
html.night body .crow .unread-dot,
html.night body .tabbar .unread-dot,
html.night body .tabbar .n{
  background: #A82440 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 2px 8px rgba(168,36,64,.5) !important;
}
/* 夜间消息页修复: 顶栏标题 + 未读预览红条 */
html.night .bar1 .tb-title,
html.night .bar1 div,
html.night .shead .st,
html.night .shead div,
html.night .hd div,
html.night .tb-title{
  color: #F6EAEC !important;
  -webkit-text-fill-color: #F6EAEC !important;
}
html.night .bar1, html.night .shead{
  background: linear-gradient(180deg, rgba(38,27,32,.98) 0%, rgba(30,22,26,.96) 100%) !important;
}
/* 未读消息预览不该有红底 */
html.night .ls, html.night .ls.unread, html.night .unread-preview,
html.night .crow .ls{
  background: transparent !important;
  color: #A78C94 !important;
  -webkit-text-fill-color: #A78C94 !important;
  box-shadow: none !important;
}
/* 会话卡里的名字 */
html.night .crow b, html.night .crow .nm, html.night .crow .name{
  color: #F6EAEC !important;
}
/* 顶部"一键已读"按钮保持可读 */
html.night .bar1 .btn, html.night .read-all{
  color: #fff !important;
}
/* 夜间: 消息页顶栏标题 + tab 条 */
html.night #main .tb-title,
html.night #main .tb-ico,
html.night .msg-title,
html.night .msg-hd,
html.night .msg-hd *,
html.night .hd-title,
html.night #main > .bar1 *,
html.night #main > div:first-child .tb-title{
  color: #F6EAEC !important;
  -webkit-text-fill-color: #F6EAEC !important;
}
/* tab 条(全部/好友/陌生人/附近) */
html.night .msg-tabs,
html.night .mtabs,
html.night .m-tabs,
html.night .tab-row,
html.night .chat-tabs,
html.night #main .tabs,
html.night #main .tabs *{
  background: #221820 !important;
  border-color: rgba(232,195,154,.14) !important;
  color: #CBB2B9 !important;
}
html.night #main .tabs .on,
html.night #main .tabs > div.on{
  color: #FF7C99 !important;
  background: transparent !important;
}
html.night #main .tabs > div.on::after{
  background: linear-gradient(135deg,#FF9DB0,#E23F6C) !important;
}
/* 搜索条容器 */
html.night .search-bar, html.night .msg-search-bar{
  background: #221820 !important;
}

html.night .night-text{
  color: #F6EAEC !important;
  -webkit-text-fill-color: #F6EAEC !important;
}
/* 夜间: 消息页 tab 未选中文字提亮 */
html.night .tabs > div:not(.on),
html.night .msg-tabs > div:not(.on),
html.night #main .tabs > div:not(.on){
  color: #CBB2B9 !important;
  -webkit-text-fill-color: #CBB2B9 !important;
}
html.night .tabs > div.on,
html.night #main .tabs > div.on{
  color: #FF7C99 !important;
  -webkit-text-fill-color: #FF7C99 !important;
}
/* 顶部搜索框在夜里更清楚 */
html.night .search, html.night .search input{
  background: rgba(56,42,48,.96) !important;
  color: #EFE3E6 !important;
}
/* 夜间: 消息页分类 tab (.mc / .msg-cats) */
html.night .msg-cats .mc,
html.night .mc{
  color: #CBB2B9 !important;
  -webkit-text-fill-color: #CBB2B9 !important;
}
html.night .msg-cats .mc.on,
html.night .mc.on{
  color: #FF7C99 !important;
  -webkit-text-fill-color: #FF7C99 !important;
}
html.night .msg-cats .mc.on::after{
  background: linear-gradient(135deg,#FF9DB0,#E23F6C) !important;
}
html.night .msg-cats, html.night .topbar{
  background: linear-gradient(170deg, rgba(48,36,41,.98), rgba(38,28,33,.98)) !important;
  border-color: rgba(232,195,154,.14) !important;
}
/* ============================================================
   聊天页精修: 气泡尾巴 / 间距 / 时间胶囊 / 输入条
   ============================================================ */

/* 消息行间距 */
html body .crow{ margin: 10px 12px !important; }

/* 气泡: 更大圆角 + 柔影 + 紧凑内边距 */
html body .crow .cbub,
html body .crow > .cbody > .bubble{
  border-radius: 18px !important;
  padding: 10px 14px !important;
  line-height: 1.6 !important;
  font-size: 14.5px !important;
  max-width: 72% !important;
  position: relative;
}
/* 对方气泡: 左上角小尾巴 */
html body .crow:not(.me) .cbub::before,
html body .crow:not(.me) > .cbody > .bubble::before{
  content:'';
  position:absolute; left:-6px; top:14px;
  width: 12px; height: 12px;
  background: inherit;
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: -2px 2px 4px rgba(190,110,140,.06);
}
/* 自己气泡: 右上角小尾巴 */
html body .crow.me .cbub::before,
html body .crow.me > .cbody > .bubble::before{
  content:'';
  position:absolute; right:-6px; top:14px;
  width: 12px; height: 12px;
  background: inherit;
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(232,93,130,.18);
}

/* 头像: 圆角方形, 更精致 */
html body .crow .av img,
html body .crow > .cbody > .av img{
  border-radius: 14px !important;
}

/* 时间胶囊: 居中细字 */
html body .ctime, html body .chat-time{
  display: block;
  width: fit-content;
  margin: 14px auto 6px !important;
  font-size: 11.5px !important;
  padding: 2px 10px !important;
  background: rgba(255,246,242,.92) !important;
  border-radius: 999px !important;
  color: #B79AA4 !important;
}

/* 名字: 小一号, 更轻 */
html body .chat-other-name, html body .g-sender-name{
  font-size: 11.5px !important;
  color: #A6909A !important;
  font-weight: 600 !important;
}

/* 输入条: 悬浮胶囊 */
html body .chat-input, html body .cinput, html body .input-bar{
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
}
html body .chat-input input,
html body .cinput input,
html body .input-bar input{
  border-radius: 999px !important;
  padding: 10px 16px !important;
  background: rgba(255,252,249,.98) !important;
  border: 1px solid rgba(232,195,154,.35) !important;
}
/* 发送按钮: 圆形渐变 */
html body .chat-input button,
html body .cinput button,
html body .input-bar button{
  border-radius: 999px !important;
  min-width: 60px;
  font-weight: 800 !important;
}

/* 系统提示气泡: 居中浅字 */
html body .sys-msg, html body .chat-sys{
  text-align: center;
  font-size: 11.5px;
  color: #B09AA4;
  margin: 10px auto;
}

/* 聊天背景: 极淡暖光, 顶亮底暖 */
html body .chat-body, html body #chatBody{
  background:
    radial-gradient(120% 50% at 50% -10%, #FFEFF1 0%, rgba(255,239,241,0) 60%),
    linear-gradient(180deg,#FFF9F5 0%,#FFF4F3 60%,#FFF2F4 100%) !important;
}
/* ============================================================
   体验修复 v2: 去掉白天的"粉色蒙层" + 首页氛围重做
   ============================================================ */

/* 1) 卡片不再半透明(之前 0.86 会透出底色, 看起来像蒙了一层) */
html body .card,
html body .panel,
html body .mi,
html body .lrow,
html body .m-card,
html body .moment,
html body .crow,
html body .chat-item,
html body .tq-ucard,
html body .mt-card,
html body .ds-cell,
html body .af-cell,
html body .moments .card{
  background: #FFFDFC !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  box-shadow: 0 4px 16px rgba(196,110,140,.075) !important;
}

/* 2) 内容区背景更干净: 渐变极淡, 不再压色 */
html body #main, html body #view, html body .main{
  background: linear-gradient(180deg, #FFFAF7 0%, #FFFAFA 100%) !important;
}

/* 3) 消息页: 会话卡改实心白, 去掉粉色感 */
html body .crow, html body .chat-item, html body .msg-item, html body .conv-item{
  background: #FFFFFF !important;
  margin: 8px 12px !important;
  border-radius: 18px !important;
  box-shadow: 0 3px 12px rgba(196,110,140,.06) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
}
/* 消息页顶部区域 */
html body .topbar, html body .msg-cats{
  background: #FFFDFB !important;
}

/* 4) 首页: 氛围感重做 —— 上方大光晕 + 玻璃卡 */
html body .love-hero{
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg,#FF9E8E 0%,#F4737F 42%,#C2527A 100%) !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 40px rgba(194,82,122,.26), inset 0 1px 0 rgba(255,255,255,.35) !important;
  position: relative;
  overflow: hidden;
}
html body .love-hero::after{
  content:'';
  position:absolute; right:-40px; top:-60px; width:200px; height:200px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 70%);
  pointer-events:none;
}
html body .love-hero .lh-t{
  font-size: 25px !important;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(120,30,60,.18);
}
html body .love-hero .lh-s{ opacity:.92; }

/* 首页四个功能块: 玻璃质感 + 细高光 */
html body .tq-banners > .tq-ban{
  border-radius: 22px !important;
  box-shadow: 0 12px 26px rgba(190,90,120,.16), inset 0 1px 0 rgba(255,255,255,.4) !important;
  position: relative;
  overflow: hidden;
}
html body .tq-banners > .tq-ban::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 45%);
  pointer-events:none;
}

/* 匹配条: 玻璃白 + 暖光 */
html body .tq-match-card{
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,244,.98)) !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  box-shadow: 0 10px 26px rgba(196,110,140,.12) !important;
  border-radius: 22px !important;
}

/* 今日推荐: 名字更清楚, 头像描边更亮 */
html body .tr-nm{ color:#3B2C31 !important; font-weight:800; }
html body .today-rec .av img, html body .today-rec img{
  box-shadow: 0 0 0 2.5px #fff, 0 6px 16px rgba(196,110,140,.16) !important;
}
html body .today-rec .tr-hd b{ font-size:17px !important; letter-spacing:.3px; }

/* 5) 顶部胶囊: 白底 + 更明显的选中 */
html body .tq-tabs{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(232,195,154,.30) !important;
  box-shadow: 0 8px 20px rgba(200,140,120,.08) !important;
}
html body .tq-tabs > div{ font-weight:800; }
html body .tq-tabs > div.on{
  background: linear-gradient(135deg,#FFB39F,#F0778E 55%,#D9567C) !important;
  box-shadow: 0 8px 18px rgba(217,86,124,.30) !important;
}

/* 6) 底栏: 白玻璃, 更干净 */
html body #tabbar.tabbar, html body .tabbar{
  background: rgba(255,255,255,.96) !important;
  border-top: 1px solid rgba(232,195,154,.22) !important;
  box-shadow: 0 -8px 22px rgba(196,110,140,.07) !important;
}
/* 首页氛围 v3: 补 7/8 号块暖色 + 背景增加柔光层次 */
html body .tq-banners > .tq-ban:nth-child(7){
  background: linear-gradient(135deg,#E8A0B8 0%,#C46E92 52%,#9A4A6E 100%) !important;
}
html body .tq-banners > .tq-ban:nth-child(8){
  background: linear-gradient(135deg,#F3C08C 0%,#D98B5C 52%,#B36A3E 100%) !important;
}
html body .tq-banners > .tq-ban:nth-child(n+7) .tq-ban-t,
html body .tq-banners > .tq-ban:nth-child(n+7) .tq-ban-s{
  color:#fff !important; text-shadow:0 1px 6px rgba(90,30,50,.25);
}

/* 背景: 顶部一层柔光 + 极淡网格, 不再"一片白" */
html body::before{
  content:'';
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(60% 34% at 50% 0%, rgba(255,196,206,.55) 0%, rgba(255,196,206,0) 70%),
    radial-gradient(46% 26% at 92% 8%, rgba(255,214,180,.42) 0%, rgba(255,214,180,0) 72%),
    radial-gradient(40% 24% at 6% 12%, rgba(255,206,222,.38) 0%, rgba(255,206,222,0) 72%);
}
html body #view, html body #main{ position: relative; z-index: 1; }

/* 今日推荐区块: 加一层淡背景, 和纯白区分 */
html body .today-rec{
  background: linear-gradient(180deg, rgba(255,246,242,.9) 0%, rgba(255,250,247,.6) 100%) !important;
  border-radius: 24px !important;
  margin: 6px 10px 10px !important;
  padding: 14px 6px 8px !important;
}
html body .today-rec .tr-hd{ padding: 0 10px 10px !important; }

/* 首页胶囊: 白底加一层极淡阴影, 浮起来 */
html body .tq-tabs{
  box-shadow: 0 10px 26px rgba(214,140,160,.12), inset 0 1px 0 #fff !important;
}

/* 底部 tab: 加一条暖色渐变高光线 */
html body .tabbar{
  border-top: 1px solid rgba(255,190,205,.55) !important;
}

/* 夜间: 背景柔光也换成暖夜色 */
html.night body::before{
  background:
    radial-gradient(60% 34% at 50% 0%, rgba(120,50,72,.55) 0%, rgba(120,50,72,0) 70%),
    radial-gradient(46% 26% at 92% 8%, rgba(120,70,40,.4) 0%, rgba(120,70,40,0) 72%);
}
html.night .today-rec{
  background: linear-gradient(180deg, rgba(48,36,41,.85) 0%, rgba(38,28,33,.6) 100%) !important;
}
/* v4: 广场 tab 条清理 + 消息页红条去掉 */
html body #sqTabs,
html body .tabs{
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(232,195,154,.28) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 12px 8px !important;
  display: flex;
  align-items: center;
  gap: 18px;
}
html body #sqTabs > div,
html body .tabs > div{
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #7A8091 !important;
  padding: 4px 0 !important;
  position: relative;
}
html body #sqTabs > div.on,
html body .tabs > div.on{
  color: #E23F6C !important;
  font-weight: 900 !important;
}
html body #sqTabs > div.on::after,
html body .tabs > div.on::after{
  content:'';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -6px;
  width: 18px; height: 3px; border-radius: 99px;
  background: linear-gradient(135deg,#FF8FAB,#E23F6C);
}
/* 吐槽墙入口: 轻微弱化, 不和主 tab 抢 */
html body #sqTabs [data-vent]{
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #A6909A !important;
  margin-left: 2px !important;
}
html body #sqTabs [data-vent]:active{ color: #E23F6C !important; }

/* 消息页: 未读预览的红条彻底去掉 */
html body .ls, html body .ls.unread{
  background: transparent !important;
  color: #7A8091 !important;
  box-shadow: none !important;
  border: none !important;
}
/* 特殊会话行(神/同城聊天)也统一白底 */
html body .crow.special-row,
html body .crow.special,
html body .chat-item.special{
  background: #FFFFFF !important;
}
/* 去聊天按钮: 统一玫瑰色, 不再紫 */
html body .goto-btn{
  background: linear-gradient(135deg,#FFB39F,#E85D82) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
}
/* ============================================================
   性能优化: 减少移动端重绘/合成开销
   ============================================================ */

/* 1) 去掉大面积 backdrop-filter(手机上最贵的一个属性) */
html body .tabbar,
html body #tabbar.tabbar,
html body .bar1,
html body .shead,
html body .chat-shead,
html body .chat-input,
html body .cinput,
html body .input-bar,
html body .tq-bar,
html body .sp2-bar,
html body .tq-tabs,
html body .stack .shead,
html.night .tabbar,
html.night .shead{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 2) 关掉轮播式扫光动画(一直在跑, 掉帧主因之一) */
html body .tq-ban::after,
html body .tq-ban::before,
html body .tq-dacha::after{
  animation: none !important;
  display: none !important;
}
/* 3) 关掉呼吸光动画 */
html body .tq-match-card{
  animation: none !important;
}
/* 4) 关掉图标浮动动画 */
html body .tq-ban-ic,
html body .love-hero .lh-heart{
  animation: none !important;
}

/* 5) 阴影统一减负(blur 越小越省) */
html body .card,
html body .panel,
html body .mi,
html body .lrow,
html body .m-card,
html body .moment,
html body .crow,
html body .chat-item,
html body .mt-card,
html body .tq-ucard,
html body .love-hero,
html body .tq-match-card,
html body .tabs,
html body .tabbar{
  box-shadow: 0 2px 8px rgba(196,110,140,.07) !important;
}
html body .love-hero{
  box-shadow: 0 8px 22px rgba(194,82,122,.18) !important;
}

/* 6) 头像/图片不做实时滤镜(图片多时最吃 GPU) */
html body .m-img img,
html body .m-imgs img,
html body .moments img,
html body .tq-feed img{
  filter: none !important;
}
/* 7) 滚动容器隔离, 减少整页重排 */
html body #main, html body .sbody, html body .chat-body{
  contain: layout paint;
}
/* 8) 动效只给需要的元素, 避免全局 will-change */
html body .frm.snow::after,
html body .frm.heart::after,
html body .frm.starfall::after{
  will-change: transform;
}
/* ============================================================
   夜间对比度补丁 + 吐槽墙美化 + 搭子卡修正
   ============================================================ */

/* ---- 1) 广场互动按钮(♡ / 私聊)夜间看得清 ---- */
html.night .m-act,
html.night span.m-act,
html.night .m-act i{
  color: #CBB2B9 !important;
  -webkit-text-fill-color: #CBB2B9 !important;
}
html.night .m-act.m-chat{ color:#FF9DB0 !important; -webkit-text-fill-color:#FF9DB0 !important; }
/* 这个圆形按钮的底 */
html.night .m-act{
  background: rgba(58,42,48,.92) !important;
  border: 1px solid rgba(232,195,154,.18) !important;
}
html.night .m-act svg, html.night .m-act path{ fill:#CBB2B9 !important; stroke:#CBB2B9 !important; }

/* 白天也要有层次, 不要白得发虚 */
html body .m-act{
  background: #F7F4F5 !important;
  color: #7A8091 !important;
}
html body .m-act.m-chat{
  background: #FFEFF3 !important;
  color: #E23F6C !important;
}

/* ---- 2) 搭子卡片: 统一圆角/间距/标签对比 ---- */
html body .tq-ucard, html body .dazi-card{
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 14px !important;
  margin: 10px 12px !important;
  box-shadow: 0 3px 12px rgba(196,110,140,.07) !important;
}
/* 搭子标签 */
html body .dazi-tag, html body .dz-tag, html body .tag-pill{
  background: #FFF3F6 !important;
  color: #C24E74 !important;
  border: 1px solid rgba(232,93,130,.18) !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}
html.night .tq-ucard, html.night .dazi-card{
  background: linear-gradient(170deg, rgba(48,36,41,.98), rgba(38,28,33,.98)) !important;
}
html.night .dazi-tag, html.night .dz-tag, html.night .tag-pill{
  background: rgba(56,40,46,.95) !important;
  color: #FF9DB0 !important;
  border-color: rgba(232,195,154,.22) !important;
}

/* ---- 3) 吐槽墙美化 ---- */
html body #ventList > div,
html body .vent-card{
  background: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 18px !important;
  box-shadow: 0 3px 12px rgba(196,110,140,.07) !important;
  padding: 14px 16px !important;
}
html.night .vent-card{
  background: linear-gradient(170deg, rgba(48,36,41,.98), rgba(38,28,33,.98)) !important;
  border-color: rgba(232,195,154,.14) !important;
}
/* 匿名标识 */
html body .vent-anon-badge{
  font-size: 11px;
  color: #C24E74;
  background: #FFF0F4;
  border-radius: 999px;
  padding: 2px 8px;
}
/* 顶部说明条: 更柔和 */
html body #ventList, html body .vent-hero{
  background: transparent !important;
}

/* ---- 4) 引导页: 居中 + 更精致 ---- */
html body .onboard-wrap{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom)) !important;
}
html body .onboard-title{
  font-size: 26px; font-weight: 900; letter-spacing: 1px;
  text-align: center; margin-bottom: 8px; color: #3B2C31;
}
html body .onboard-sub{
  text-align: center; font-size: 13px; color: #A6909A; margin-bottom: 26px;
}
html.night .onboard-title{ color:#F6EAEC !important; }
html.night .onboard-sub{ color:#A78C94 !important; }
/* 夜间私聊按钮: 粉底 + 深玫瑰字 */
html.night .m-act.m-chat,
html.night span.m-act.m-chat,
html.night .m-chat{
  background: #FFD8E2 !important;
  color: #A82440 !important;
  -webkit-text-fill-color: #A82440 !important;
  border: 1px solid #FFC0D0 !important;
}
html.night .m-act.m-chat *{
  color: #A82440 !important;
  -webkit-text-fill-color: #A82440 !important;
}
/* ============================================================
   修 4 处 UI: 底栏广场 / 我的页纯文字 / 广场按钮去框 / 切换白屏
   ============================================================ */

/* 1) 底部「广场」: 不再圆形高亮, 只让文字高亮 */
html body .tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb:nth-child(3) .ic{
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #E85D82 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  transform: none !important;
  font-size: 21px !important;
}
html body .tabbar .tb[data-k="square"],
html body .tabbar .tb:nth-child(3){
  background: none !important;
  box-shadow: none !important;
}
html body .tabbar .tb[data-k="square"] span:last-of-type,
html body .tabbar .tb[data-k="square"]{
  color: #E23F6C !important;
  font-weight: 900 !important;
}
html body .tabbar .tb[data-k="square"] .ic{ filter: none !important; }

/* 2) 我的页: 去掉每行前面小表情 */
html body .tq-mine .tq-row .tq-ic{ display: none !important; }
html body .tq-mine .tq-row{ padding-left: 18px !important; }

/* 3) 广场互动(点赞/评论/收藏/举报): 去掉小框 */
html body .m-act,
html.night .m-act,
html body .m-act.m-chat,
html.night .m-act.m-chat{
  background: none !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 4px !important;
  min-width: 0 !important;
}
html body .m-act.m-chat{ color: #E23F6C !important; }
html.night .m-act.m-chat{ color: #FF9DB0 !important; -webkit-text-fill-color:#FF9DB0 !important; }
html body .m-act{ color:#8A8F9C !important; }
html.night .m-act{ color:#CBB2B9 !important; }

/* 4) 切 tab 白屏: 主容器铺暖底 + 内容淡入 */
html body #main{
  background: linear-gradient(180deg,#FFFAF7 0%,#FFFAFB 60%,#FFF8FA 100%) !important;
}
html body #main > *{
  animation: tabFadeIn .18s ease-out both;
}
@keyframes tabFadeIn{ from{opacity:.55} to{opacity:1} }
/* 页面骨架: 渲染前就有一层暖底, 不会闪白 */
html body .tabpage, html body .page, html body #view{
  background: transparent !important;
}
/* 底栏「广场」修正: 与其他按钮同结构, 只做文字高亮 */
html body .tabbar .tb{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
html body .tabbar .tb[data-k="square"],
html body .tabbar .tb:nth-child(3){
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}
html body .tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb:nth-child(3) .ic{
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  display: block !important;
  transform: none !important;
  margin: 0 !important;
}
html body .tabbar .tb[data-k="square"] span,
html body .tabbar .tb:nth-child(3) span{
  white-space: nowrap !important;
}
/* 只把「广场」两个字高亮 */
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb:nth-child(3) > span:not(.ic):not(.dot){
  color: #E23F6C !important;
  font-weight: 900 !important;
}
/* 底栏广场: 彻底取消"凸起大按钮", 与其它一致 */
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"],
html body .tabbar .tb:nth-child(3){
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  flex: 1 1 0 !important;
}
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb:nth-child(3) .ic{
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  line-height: 1 !important;
  font-size: 21px !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  color: #E23F6C !important;
  font-weight: 900 !important;
}

/* 首页第 5 个及以后的功能块: 统一暖色(避免又冒出紫/蓝/橙) */
html body .tq-banners > .tq-ban:nth-child(n+5):nth-child(odd){
  background: linear-gradient(135deg,#D89AB8 0%,#B96A93 52%,#8E4E70 100%) !important;
  box-shadow: 0 12px 26px rgba(142,78,112,.22), inset 0 1px 0 rgba(255,255,255,.32) !important;
}
html body .tq-banners > .tq-ban:nth-child(n+5):nth-child(even){
  background: linear-gradient(135deg,#F3C08C 0%,#D98B5C 52%,#B36A3E 100%) !important;
  box-shadow: 0 12px 26px rgba(179,106,62,.22), inset 0 1px 0 rgba(255,255,255,.36) !important;
}
/* 最终修: 底栏布局 + 首页功能块统一暖色(不依赖父容器类名) */

/* ---- 底栏: 所有 tab 统一竖排(图标在上, 文字在下) ---- */
html body #tabbar .tb,
html body .tabbar .tb{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  height: 100% !important;
  padding: 6px 0 !important;
  box-sizing: border-box !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
  position: static !important;
}
html body #tabbar .tb .ic,
html body .tabbar .tb .ic{
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  margin: 0 !important;
  transform: none !important;
}
html body #tabbar .tb > span:not(.ic):not(.dot),
html body .tabbar .tb > span:not(.ic):not(.dot){
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
/* 「广场」只做文字高亮 */
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  color: #E23F6C !important;
  font-weight: 900 !important;
}
html body #tabbar .tb.on > span:not(.ic):not(.dot){
  color: #E23F6C !important;
  font-weight: 900 !important;
}

/* ---- 首页功能块: 全部暖色(直接按位置覆盖, 不依赖父类) ---- */
html body .tq-ban{ background: linear-gradient(135deg,#FF9E86,#EF6070 52%,#D24A6C) !important; }
html body .tq-ban:nth-child(1){ background: linear-gradient(135deg,#FF9E86 0%,#EF6070 52%,#D24A6C 100%) !important; }
html body .tq-ban:nth-child(2){ background: linear-gradient(135deg,#F586A2 0%,#D65B81 52%,#AE4364 100%) !important; }
html body .tq-ban:nth-child(3){ background: linear-gradient(135deg,#FFC489 0%,#EE9460 52%,#D8734E 100%) !important; }
html body .tq-ban:nth-child(4){ background: linear-gradient(135deg,#EFCBA8 0%,#DE9C8C 52%,#C67B7B 100%) !important; }
html body .tq-ban:nth-child(5){ background: linear-gradient(135deg,#D89AB8 0%,#B96A93 52%,#8E4E70 100%) !important; }
html body .tq-ban:nth-child(6){ background: linear-gradient(135deg,#F3C08C 0%,#D98B5C 52%,#B36A3E 100%) !important; }
html body .tq-ban:nth-child(7){ background: linear-gradient(135deg,#C99AB8 0%,#A96A8E 52%,#7E4A6A 100%) !important; }
html body .tq-ban:nth-child(8){ background: linear-gradient(135deg,#E8B58C 0%,#C98B62 52%,#9E6640 100%) !important; }
html body .tq-ban .tq-ban-t,
html body .tq-ban .tq-ban-s{ color:#fff !important; text-shadow:0 1px 6px rgba(90,30,50,.22); }

/* 强制广场 tab 与其它等高 */
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"],
html body #tabbar .tb:nth-child(3){
  height: 100% !important;
  align-self: stretch !important;
  flex: 1 1 0 !important;
  min-height: 52px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* 广场 tab: 去掉彩虹图标, 只留文字, 与其它 tab 一致 */
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic{
  display: none !important;
}
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"]{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: 52px !important;
  flex: 1 1 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body #tabbar .tb[data-k="square"] > span,
html body .tabbar .tb[data-k="square"] > span{
  font-size: 12px !important;
  line-height: 1.1 !important;
  color: #E23F6C !important;
  font-weight: 900 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}


/* 广场 tab: .ic 里是"广场"文字, 隐藏后面的 emoji */
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic{
  display: block !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  color: #E23F6C !important;
  font-weight: 900 !important;
  -webkit-text-fill-color: #E23F6C !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
html body #tabbar .tb[data-k="square"] > span:not(.ic),
html body .tabbar .tb[data-k="square"] > span:not(.ic){
  display: none !important;
}

/* 广场 tab 终极修正: 清掉伪元素 + 只显示文字 */
html body #tabbar .tb[data-k="square"]::before,
html body #tabbar .tb[data-k="square"]::after,
html body .tabbar .tb[data-k="square"]::before,
html body .tabbar .tb[data-k="square"]::after,
html body .tabbar::before,
html body .tabbar::after{
  content: none !important;
  display: none !important;
}
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic{
  display: none !important;
}
html body #tabbar .tb[data-k="square"] > span,
html body .tabbar .tb[data-k="square"] > span{
  display: inline-block !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  font-weight: 900 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* 广场 tab: 显示文字(覆盖之前的隐藏规则) */
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  display: inline-block !important;
  visibility: visible !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  font-weight: 900 !important;
}

/* 广场 tab 最终: 图标+文字 与其它一致, 仅文字高亮 */
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic{
  display: block !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: inherit !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  display: inline-block !important;
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  font-weight: 900 !important;
}

/* 彻底干掉广场 tab 里 .ic 的伪元素大字 */
html body #tabbar .tb[data-k="square"] .ic::before,
html body #tabbar .tb[data-k="square"] .ic::after,
html body .tabbar .tb[data-k="square"] .ic::before,
html body .tabbar .tb[data-k="square"] .ic::after,
html body .tabbar .tb:nth-child(3) .ic::before,
html body .tabbar .tb:nth-child(3) .ic::after{
  content: none !important;
  display: none !important;
}
/* 广场 tab: 去掉图标, 只留高亮文字 */
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic,
html body #tabbar .tb[data-k="square"] .ic::before,
html body #tabbar .tb[data-k="square"] .ic::after{
  display: none !important;
  content: none !important;
}
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  display: inline-block !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  text-shadow: 0 2px 8px rgba(226,63,108,.22) !important;
}
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"]{
  justify-content: center !important;
}

/* 广场文字与其它 tab 的文字对齐 */
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"]{
  justify-content: flex-end !important;
  padding-bottom: 9px !important;
  padding-top: 0 !important;
}
/* 修: 设置页底部被遮挡 + 广场文字不清 + 已好友标签 */
html body .stack .sbody,
html body .sbody{
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
}
/* 列表最后一项留白 */
html body .stack .sbody > *:last-child{
  margin-bottom: 40px !important;
}

/* 广场 tab: 文字加淡玫瑰胶囊底, 更醒目 */
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  display: inline-block !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#FF8FAB,#E23F6C) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(226,63,108,.32) !important;
}
html body #tabbar .tb[data-k="square"],
html body .tabbar .tb[data-k="square"]{
  justify-content: center !important;
  padding-bottom: 0 !important;
}

/* 已好友 小标签 */
html body .v-fri{
  display: inline-block;
  font-size: 12px;
  color: #7A8091;
  background: #F3F4F7;
  border-radius: 999px;
  padding: 6px 12px;
}
html.night .v-fri{
  color: #A78C94;
  background: rgba(58,42,48,.9);
}
/* 广场 tab: 小地球图标 + 普通文字, 无胶囊无角标 */
html body #tabbar .tb[data-k="square"] .ic,
html body .tabbar .tb[data-k="square"] .ic{
  display: block !important;
  font-size: 20px !important;
  line-height: 1 !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
html body #tabbar .tb[data-k="square"] .ic::before,
html body #tabbar .tb[data-k="square"] .ic::after{
  content: none !important;
  display: none !important;
}
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot),
html body .tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  display: inline-block !important;
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html body #tabbar .tb[data-k="square"] .dot{ display: none !important; }
html body #tabbar .tb[data-k="square"]{
  justify-content: center !important;
  padding: 6px 0 !important;
}
/* 消息角标只落在消息 tab 上 */
html body #tabbar .tb[data-k="square"] [data-dot]{ display: none !important; }

/* 消息角标固定在"消息"tab 内, 不飘到广场上 */
html body #tabbar .tb{ position: relative !important; }
html body #tabbar .tb .dot,
html body #tabbar .tb .unread-dot{
  position: absolute !important;
  top: 2px !important;
  right: 50% !important;
  transform: translateX(18px) !important;
  margin: 0 !important;
  z-index: 3 !important;
}
html body #tabbar .tb[data-k="square"] .dot{ display: none !important; }

/* 广场文字与其它 tab 同色(不再单独红色) */
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
}

html body #tabbar .tb[data-k="square"],
html body #tabbar .tb[data-k="square"] > span:not(.ic):not(.dot){
  color: #6E6A73 !important;
  -webkit-text-fill-color: #6E6A73 !important;
  font-weight: 600 !important;
}
html body #tabbar .tb[data-k="square"].on,
html body #tabbar .tb[data-k="square"].on > span:not(.ic):not(.dot){
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  font-weight: 900 !important;
}
/* 聊天页: 去掉每条消息的白色卡片, 只留气泡 */
html body .crow{
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 6px 12px !important;
  padding: 0 !important;
}
html body .crow .cbub,
html body .crow > .cbody > .bubble{
  box-shadow: 0 3px 12px rgba(196,110,140,.10) !important;
}

/* 流光字体: 强制保留渐变文字(不被统一文字色覆盖) */
html body [class*="ff-flow-"],
html body .crow [class*="ff-flow-"],
html.night [class*="ff-flow-"],
html.night body [class*="ff-flow-"]{
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  background-size: 300% 100% !important;
}
/* 夜间自动改写文字色的规则不要碰流光字体 */
html.night .night-painted [class*="ff-flow-"],
html.night .night-text[class*="ff-flow-"],
html.night #main [class*="ff-flow-"],
html.night .stack [class*="ff-flow-"]{
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
/* ===== 群聊/私聊气泡: 明确底色 + 高对比 + 加宽 ===== */
html body .crow .cbody{ max-width: 78% !important; min-width: 0 !important; }
html body .crow .cbub{
  background: #fff !important;
  color: #3B2C31 !important;
  -webkit-text-fill-color: #3B2C31 !important;
  width: fit-content !important;
  max-width: 100% !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(200,140,165,.12) !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}
html body .crow.me .cbub{
  background: linear-gradient(135deg,#FFE3EC,#FFC9D9) !important;
  color: #5A2A38 !important;
  -webkit-text-fill-color: #5A2A38 !important;
}
html.night body .crow .cbub{
  background: #33262C !important;
  color: #F6ECEF !important;
  -webkit-text-fill-color: #F6ECEF !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.28) !important;
}
html.night body .crow.me .cbub{
  background: linear-gradient(135deg,#7E3D52,#5C2B3B) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body .crow .msg-fx{
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
  background: rgba(255,206,150,.5) !important;
  color: #7A5220 !important;
}
html.night body .crow .msg-fx{
  background: rgba(255,206,150,.16) !important;
  color: #E8C58C !important;
}

/* 输入区按钮不要白底 */
html body .tq-ci-btn{ background: transparent !important; box-shadow: none !important; border: none !important; }

/* ===== 夜间: 吐槽页 ===== */
html.night #ventInput{ background: #30232A !important; color: #F5EAEE !important; }
html.night #ventInput::placeholder{ color: #9C8A93 !important; }
html.night .sbody .panel{ background: #2A1F25 !important; border-color: rgba(255,214,224,.12) !important; }
html.night .vent-sort{ background: rgba(255,255,255,.08) !important; color: #C9B8BF !important; }
html.night .vent-sort.on{ background: #5A2333 !important; color: #FFC7D6 !important; }
html.night #ventList > div{
  background: #2A1F25 !important;
  border-color: rgba(255,214,224,.10) !important;
  color: #EFE3E6 !important;
}
html.night .sbody .panel > div[style*="FFF1F5"]{
  background: linear-gradient(135deg,#2E2028,#26202A) !important;
}

/* ===== 夜间: 幸运翻卡 ===== */
html.night .lucky-box{ background: linear-gradient(160deg,#2B1A33,#1E1327) !important; }
html.night .lucky-box h3{ color: #FFE3A8 !important; }
html.night .lucky-box p{ color: #D9C7E8 !important; }
html.night .lucky-card{
  background: linear-gradient(160deg,#3A2745,#2A1B33) !important;
  border-color: rgba(255,214,224,.16) !important;
  color: #FFD98A !important;
}
html.night .lucky-result{ color: #FFD98A !important; }

/* ===== 夜间: 免费聊天卡弹窗 ===== */
html.night .fc-box{ background: linear-gradient(160deg,#2A1B24,#1F141B) !important; }
html.night .fc-title{ color: #FFD9E3 !important; }
html.night .fc-sub, html.night .fc-tip{ color: #C6ADB7 !important; }
html.night .fc-card{ background: #33232B !important; border-color: rgba(255,214,224,.12) !important; }
html.night .fc-hname{ color: #F6ECEF !important; }
html.night .fc-hmeta{ color: #B9A3AC !important; }

/* ===== 广场 tab: 不重叠 ===== */
html body #sqTabs{
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  scrollbar-width: none;
}
html body #sqTabs::-webkit-scrollbar{ display: none; }
html body #sqTabs > div{ flex: 0 0 auto !important; position: static !important; }
html body #sqTabs .ic, html body #sqTabs i, html body #sqTabs svg{ display: none !important; }

/* ===== 动态底部操作: 举报旗子弱化并右移 ===== */
html body .m-bar [data-rpt]{
  margin-left: auto !important;
  opacity: .38 !important;
  font-size: 12px !important;
}
html body .m-bar [data-rpt]:active{ opacity: .8 !important; }
/* ===== 搭子: 一行两个正方形卡片 ===== */
html body .dz-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 12px !important;
}
html body .dz-cell{
  background: #fff !important;
  border: 1px solid rgba(226,180,196,.45) !important;
  border-radius: 16px !important;
  padding: 14px 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 6px 16px rgba(190,120,150,.10) !important;
  min-height: 176px;
  justify-content: flex-start;
  gap: 4px;
}
html body .dz-av{ position: relative; margin-bottom: 4px; }
html body .dz-on{
  position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px;
  background: #34C759; border: 2px solid #fff; border-radius: 50%;
}
html body .dz-nm{
  font-size: 14px; font-weight: 900; color: #3B2C31;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html body .dz-nm .tq-rm{ font-size: 10px; margin-left: 4px; }
html body .dz-meta{
  font-size: 11.5px; color: #A6909A;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html body .dz-type{
  font-size: 11.5px; font-weight: 800; color: #C24E74;
  background: #FFF0F4; border-radius: 999px; padding: 3px 9px; margin-top: 2px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html body .dz-cell .tq-dacha{
  margin-top: 8px !important;
  padding: 6px 18px !important;
  font-size: 12.5px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 900 !important;
}

/* ===== 交友首页名片: 加深轮廓 ===== */
html body .tq-ucard, html body .ucard, html body .tr-item{
  background: #fff !important;
  border: 1px solid rgba(214,166,186,.55) !important;
  box-shadow: 0 8px 20px rgba(180,110,140,.12) !important;
}
html body .tq-ucard{ border-radius: 18px !important; }

/* ===== 顶部 同城/附近/推荐/搭子 ===== */
html body .tq-tabs{
  background: #fff !important;
  border: 1px solid rgba(226,180,196,.45) !important;
  border-radius: 999px !important;
  padding: 4px !important;
  display: flex !important;
  gap: 4px !important;
  box-shadow: 0 6px 16px rgba(190,120,150,.10) !important;
  margin: 10px 12px !important;
}
html body .tq-tabs > div{
  flex: 1 1 0 !important;
  text-align: center !important;
  border-radius: 999px !important;
  padding: 9px 0 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #8A8F9C !important;
  transition: all .18s;
}
html body .tq-tabs > div.on,
html body .tq-tabs > div.sel{
  background: linear-gradient(135deg,#FF8FAB,#FF5C8A) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255,92,138,.32) !important;
}

/* ===== 动态底部: 私聊按钮右侧独立, 举报弱化 ===== */
html body .m-bar{ display: flex !important; align-items: center !important; gap: 12px !important; }
html body .m-bar .m-chat{
  margin-left: auto !important;
  background: #FFF0F4 !important;
  color: #E23F6C !important;
  font-weight: 900 !important;
  font-size: 12.5px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
}
html body .m-bar [data-rpt]{
  order: 9;
  margin-left: 0 !important;
  opacity: .3 !important;
  font-size: 12px !important;
}

/* ===== 吐槽墙: 点赞/表情 ===== */
html body .vent-card{
  background: #fff !important;
  border: 1px solid rgba(226,180,196,.40) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 4px 14px rgba(190,120,150,.08) !important;
}
html body .v-head{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
html body .v-av{ width:26px; height:26px; border-radius:50%; overflow:hidden; display:inline-block; }
html body .v-nm{ font-size:13px; color:#3B2C31; font-weight:800; }
html body .v-mine{ font-size:11px; color:#FF3B5C; background:#FFE8EE; border-radius:8px; padding:2px 6px; }
html body .v-time{ margin-left:auto; font-size:11.5px; color:#B0B4BD; }
html body .v-text{ font-size:14.5px; line-height:1.75; color:#2B2F38; white-space:pre-wrap; }
html body .v-bar{ position:relative; display:flex; align-items:center; gap:12px; margin-top:10px; }
html body .v-like{ font-size:13px; color:#7A8091; font-weight:800; cursor:pointer; }
html body .v-like.on{ color:#FF3B5C; }
html body .v-emoji{ font-size:15px; cursor:pointer; opacity:.85; }
html body .v-cnt{ font-size:12px; color:#7A8091; }
html body .v-chips{ margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; }
html body .v-chip{
  font-size:12px; background:#F6F7FA; border-radius:999px; padding:3px 8px; color:#5A606B; cursor:pointer;
}
html body .v-chip.on{ background:#FFE8EE; color:#E23F6C; }
html body .v-picker{
  position:absolute; right:0; bottom:26px; display:flex; gap:6px;
  background:#fff; border:1px solid rgba(226,180,196,.5); border-radius:999px;
  padding:6px 10px; box-shadow:0 8px 20px rgba(0,0,0,.12); z-index:20;
}
html body .v-pick{ font-size:20px; cursor:pointer; padding:0 2px; }

/* 注册页: 随机生成用户名按钮(压住全局按钮白字) */
#lgUserRandom, #lgUserRandom:active, #lgUserRandom:focus{
  color: #E23F6C !important;
  -webkit-text-fill-color: #E23F6C !important;
  background: linear-gradient(135deg,#FFF0F6,#FFE4EE) !important;
  border: 1px solid #FFD0DF !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
/* 聊天气泡: 修中文竖排(宽度塌成1个字) */
html body .crow .cbody{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 78% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
html body .crow .cbub{
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  text-orientation: mixed !important;
  writing-mode: horizontal-tb !important;
}

/* 家族列表: 加入按钮别撑满 */
html body .fam-join-btn{
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
html body .sbody .panel{
  min-width: 0;
}

/* 吐槽墙: 表情选择 */
html body .v-emoji-row{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 8px 0 2px !important;
}
html body .v-emoji-row span{
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: #F6F7FA; border-radius: 10px; font-size: 18px; cursor: pointer;
}
html body .v-emoji-row span:active{ background: #FFE8EE; }
html body .v-emo-tools{ display:flex; align-items:center; gap:10px; }
html body .v-emo-btn{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #FDE3EE;
  background: #FFF6F9; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; flex: 0 0 auto;
}
/* 气泡宽度: 短消息贴合内容, 长消息最多 72% 换行, 避免中文竖排 */
html body .crow .cbub{
  display: block !important;
  width: max-content !important;
  max-width: 72% !important;
  min-width: 0 !important;
  align-self: flex-start !important;
  flex: 0 0 auto !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}
html body .crow .cbody{
  align-items: flex-start !important;
}
/* 匹配弹窗样式 */
.mm-mask{position:fixed;inset:0;background:rgba(30,16,24,.55);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(4px)}
.mm-box{width:100%;max-width:330px;background:linear-gradient(170deg,#FFF8FA,#FFEFF5);border-radius:22px;padding:22px 18px;text-align:center;box-shadow:0 24px 60px rgba(120,50,80,.28)}
.mm-title{font-size:17px;font-weight:900;color:#3B2C31;margin-bottom:6px}
.mm-ring{width:96px;height:96px;margin:14px auto;border-radius:50%;border:4px solid #FFE0EC;border-top-color:#FF5C8A;animation:mmSpin 1s linear infinite;position:relative}
.mm-ring::after{content:'';position:absolute;inset:22px;border-radius:50%;background:linear-gradient(135deg,#FFC7DC,#E3D4FF)}
@keyframes mmSpin{to{transform:rotate(360deg)}}
.mm-tip{font-size:13.5px;color:#6B5A61;line-height:1.6}
.mm-sub{font-size:11.5px;color:#A6909A;margin-top:6px}
.mm-cancel{margin-top:16px;width:100%;height:44px;border:none;border-radius:14px;background:#F3EEF1;color:#7A6A72;font-size:14px;font-weight:800}
.mm-list{display:flex;flex-direction:column;gap:10px;margin:14px 0 4px;max-height:46vh;overflow:auto}
.mm-peer{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #FBE0EA;border-radius:16px;padding:10px 12px;text-align:left}
.mm-info{flex:1;min-width:0;display:flex;flex-direction:column}
.mm-info b{font-size:14px;color:#3B2C31}
.mm-info span{font-size:11.5px;color:#A6909A;margin-top:2px}
.mm-go{font-size:12.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF8FAB,#FF5C8A);border-radius:999px;padding:6px 14px}
.mm-sizes{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:16px 0 6px}
.mm-size{background:#fff;border:1px solid #FBD3E1;color:#E23F6C;font-weight:900;font-size:13.5px;border-radius:12px;padding:10px 16px}
.mm-hint{
  margin-top:14px;font-size:12.5px;color:#8A6A75;background:#FFF3F7;
  border:1px dashed #FBCFDF;border-radius:12px;padding:9px 10px;line-height:1.5;text-align:left
}
.mm-go2{
  margin-top:8px;width:100%;height:42px;border:none;border-radius:13px;
  background:linear-gradient(135deg,#FF8FAB,#FF5C8A);color:#fff;font-size:13.5px;font-weight:900
}
/* ============ 等级/贵族标: 只显示数字, 越高级越亮 ============ */
html body .nlv{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  overflow: visible !important;
  height: auto !important;
  min-width: 0 !important;
  transform: none !important;
  text-shadow: none;
}
html body .nlv svg,
html body .nlv .nlv-ic,
html body .nlv i{ display: none !important; }

html body .nlv .nl-n{
  font-size: 10.5px !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
  line-height: 1 !important;
  padding: 0 !important;
  color: #9CA3AF !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

/* 按等级上色: 越高越亮 */
html body .nlv.t1 .nl-n{ color:#A1A7B3 !important; }
html body .nlv.t2 .nl-n{ color:#22C55E !important; text-shadow:0 0 6px rgba(34,197,94,.35); }
html body .nlv.t3 .nl-n{ color:#3B82F6 !important; text-shadow:0 0 7px rgba(59,130,246,.45); }
html body .nlv.t4 .nl-n{ color:#A855F7 !important; text-shadow:0 0 8px rgba(168,85,247,.55); }
html body .nlv.t5 .nl-n{
  background: linear-gradient(92deg,#F59E0B,#FDE68A,#FF8A00,#F59E0B) !important;
  background-size: 260% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: nlvFlow 2.6s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 4px rgba(245,158,11,.55));
}
html body .nlv.t6 .nl-n{
  background: linear-gradient(92deg,#FF3B5C,#FFD1DC,#FF0080,#FF3B5C) !important;
  background-size: 260% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: nlvFlow 1.9s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 6px rgba(255,59,92,.7));
}
@keyframes nlvFlow{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 260% 50%; }
}

/* 家族/群成员列表里的徽章: 别压到头像 */
html body .fam-row .nlv, html body .g-member-row .nlv, html body .member-row .nlv{
  margin-left: 4px !important;
  position: static !important;
}
/* 头像上的等级数字: 小圆点贴在头像右下角, 不压文字 */
html body .avwrap{ position: relative !important; overflow: visible !important; }

html body .avwrap > .nlv,
html body .avwrap .nlv{
  position: absolute !important;
  right: -3px !important;
  bottom: -3px !important;
  left: auto !important;
  top: auto !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border-radius: 50% !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.15) !important;
  z-index: 4 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: visible !important;
  transform: none !important;
}
html body .avwrap > .nlv .nl-n,
html body .avwrap .nlv .nl-n{
  font-size: 9.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
/* 高等级数字本身发光 */
html body .avwrap .nlv.t5 .nl-n{ filter: drop-shadow(0 0 2px rgba(245,158,11,.75)); }
html body .avwrap .nlv.t6 .nl-n{ filter: drop-shadow(0 0 3px rgba(255,59,92,.85)); }

/* 家族成员卡片: 名字那行留出空间, 避免和"几分钟前在线"叠在一起 */
html body .fam-member-row, html body .fam-row, html body .member-row{
  align-items: center !important;
}
html body .fam-member-row .nlv, html body .fam-row .nlv, html body .member-row .nlv{
  position: static !important;
  margin-left: 6px !important;
}
/* 等级数字: 强制贴头像右下角, 覆盖老的缩放/位移规则 */
html body #stack .avwrap > .nlv,
html body #stack .avwrap .nlv,
html body #main .avwrap > .nlv,
html body #main .avwrap .nlv,
html body .tq-uc-av .avwrap .nlv,
html body .tq-uc-av .avwrap > .nlv{
  transform: none !important;
  left: auto !important;
  top: auto !important;
  right: -3px !important;
  bottom: -3px !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border-radius: 50% !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.18) !important;
  z-index: 5 !important;
}
html body #stack .avwrap > .nlv .nl-n,
html body #stack .avwrap .nlv .nl-n,
html body #main .avwrap > .nlv .nl-n,
html body #main .avwrap .nlv .nl-n{
  font-size: 9.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
/* 搭子卡片: 等级数字移到头像右上角, 避免压到下面的昵称 */
html body .dz-av .avwrap > .nlv,
html body .dz-av .avwrap .nlv,
html body .dz-cell .avwrap > .nlv{
  top: -3px !important;
  bottom: auto !important;
  right: -3px !important;
  left: auto !important;
}
/* 更大的头像卡片(个人卡片)同样放右上 */
html body .tq-uc-av .avwrap > .nlv,
html body .tq-uc-av .avwrap .nlv{
  top: -3px !important;
  bottom: auto !important;
  right: -3px !important;
  left: auto !important;
}

/* 搭子/个人卡片: 徽章放右上角(高优先级) */
html body #main .dz-av .avwrap > .nlv,
html body #main .dz-av .avwrap .nlv,
html body #main .tq-uc-av .avwrap > .nlv,
html body #main .tq-uc-av .avwrap .nlv{
  top: -3px !important;
  bottom: auto !important;
  right: -3px !important;
  left: auto !important;
}
/* 成员列表: 等级改成昵称后面的小数字, 头像上不再挂徽章 */
html body .m-row .nlv,
html body .fm-row .nlv,
html body .dz-cell .nlv,
html body .dz-av .nlv{ display: none !important; }

html body .lv-txt{
  display: inline-block !important;
  margin-left: 5px !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .2px;
  vertical-align: 1px;
  text-shadow: none;
}
html body .lv-txt.t2{ color:#22C55E !important; }
html body .lv-txt.t3{ color:#3B82F6 !important; }
html body .lv-txt.t4{ color:#A855F7 !important; }
html body .lv-txt.t5{
  background: linear-gradient(92deg,#F59E0B,#FDE68A,#FF8A00,#F59E0B) !important;
  background-size: 260% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  animation: nlvFlow 2.6s linear infinite;
  filter: drop-shadow(0 0 3px rgba(245,158,11,.6));
}
html body .lv-txt.t6{
  background: linear-gradient(92deg,#FF3B5C,#FFD1DC,#FF0080,#FF3B5C) !important;
  background-size: 260% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  animation: nlvFlow 1.9s linear infinite;
  filter: drop-shadow(0 0 4px rgba(255,59,92,.75));
}

/* 强制隐藏成员列表/搭子卡头像上的旧徽章(覆盖 id 级规则) */
html body #main .m-row .nlv, html body #stack .m-row .nlv,
html body #main .fm-row .nlv, html body #stack .fm-row .nlv,
html body #main .dz-cell .nlv, html body #stack .dz-cell .nlv{
  display: none !important;
}
/* ============ 统一美化 & 修复 ============ */

/* 1) 隐藏左下角悬浮刷新按钮(改为下拉刷新) */
#fabRefresh{ display: none !important; }

/* 2) 群成员列表: 行内垂直居中 + 统一高度 */
html body .m-row{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  padding: 7px 6px !important;
  border-bottom: 1px solid rgba(0,0,0,.05) !important;
  line-height: 1.2 !important;
}
html body .m-row > .avwrap,
html body .m-row > .av{ flex: 0 0 auto !important; }
html body .m-row > span{
  font-size: 14px !important;
  color: #3B2C31 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
}
html body .m-row .lv-txt{ margin-left: 6px !important; }

/* 3) 家族成员行: 头像是 44，文字两行, 垂直居中 */
html body .fm-row{ align-items: center !important; }
html body .fm-main{ min-width: 0 !important; }
html body .fm-nm{ display: flex !important; align-items: center !important; gap: 6px !important; }
html body .fm-nm .lv-txt{ margin-left: 0 !important; }

/* 4) 搭子卡片: 收紧留白, 头像与名字间距变小 */
html body .dz-cell{ padding: 12px 8px 10px !important; gap: 2px !important; }
html body .dz-av{ margin-bottom: 0 !important; }
html body .dz-nm{ margin-top: 2px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 4px !important; }

/* 5) 全局手感: 按钮点下去有轻微反馈, 不闪白 */
html body .tb, html body #sqTabs > div, html body .tq-tabs > div{
  transition: transform .12s ease, opacity .12s ease !important;
}
html body .tb:active, html body #sqTabs > div:active, html body .tq-tabs > div:active{
  transform: scale(.96) !important;
}
/* 禁止双击缩放造成的闪动 */
html body{ touch-action: manipulation; }
/* ==================== 第 1 批: 交互美化 ==================== */

/* 骨架屏 */
html body .skel-wrap{ padding: 12px; }
html body .skel-card{
  background:#fff; border-radius:18px; padding:14px; margin-bottom:12px;
  box-shadow:0 4px 14px rgba(190,120,150,.08); overflow:hidden;
}
html body .skel-row{ display:flex; align-items:center; gap:10px; }
html body .skel-av{
  width:42px; height:42px; border-radius:50%; flex:none;
  background:linear-gradient(90deg,#F6EEF1 25%,#FBF6F8 37%,#F6EEF1 63%);
  background-size:400% 100%; animation:skelShine 1.2s ease infinite;
}
html body .skel-lines{ flex:1; min-width:0; }
html body .skel-lines i{
  display:block; height:10px; border-radius:6px; margin-bottom:8px;
  background:linear-gradient(90deg,#F6EEF1 25%,#FBF6F8 37%,#F6EEF1 63%);
  background-size:400% 100%; animation:skelShine 1.2s ease infinite;
}
html body .skel-lines i:nth-child(1){ width:38%; }
html body .skel-lines i:nth-child(2){ width:62%; height:9px; }
html body .skel-lines i:last-child{ margin-bottom:0; }
html body .skel-img{
  height:150px; border-radius:14px; margin-top:12px;
  background:linear-gradient(90deg,#F6EEF1 25%,#FBF6F8 37%,#F6EEF1 63%);
  background-size:400% 100%; animation:skelShine 1.2s ease infinite;
}
@keyframes skelShine{ 0%{background-position:100% 0} 100%{background-position:0 0} }

/* 空状态: 更柔和 */
html body .empty{
  padding: 54px 24px !important;
  text-align: center !important;
  color: #A6909A !important;
  font-size: 13.5px !important;
  line-height: 1.9 !important;
  letter-spacing: .2px;
}
html body .empty::before{
  content: '🌙';
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
  opacity: .85;
}

/* 点击反馈: 卡片/按钮按下轻微缩小 */
html body .moment, html body .dz-cell, html body .lrow, html body .vent-card,
html body .m-act, html body .btn, html body .panel[data-act]{
  transition: transform .12s ease, box-shadow .12s ease !important;
}
html body .moment:active, html body .dz-cell:active, html body .lrow:active,
html body .vent-card:active, html body .panel[data-act]:active{
  transform: scale(.985) !important;
}
html body .m-act:active, html body .btn:active{
  transform: scale(.95) !important;
}
/* ==================== 第 2 批: 视觉统一 ==================== */
:root{
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;
  --r-pill: 999px;
  --sh-1: 0 4px 14px rgba(190,120,150,.09);
  --sh-2: 0 10px 26px rgba(190,120,150,.16);
  --line-1: 1px solid rgba(232,196,208,.55);
  --ink-1: #3B2C31;
  --ink-2: #6E6A73;
  --ink-3: #A6909A;
  --fs-title: 15px;
  --fs-body: 14px;
  --fs-sub: 12px;
}

/* 卡片: 统一圆角 + 一档轻阴影 + 细描边 */
html body .moment,
html body .panel,
html body .dz-cell,
html body .vent-card,
html body .lrow,
html body .today-rec,
html body .tq-ucard{
  border-radius: var(--r-lg) !important;
  border: var(--line-1) !important;
  box-shadow: var(--sh-1) !important;
  background: #fff !important;
}

/* 浮层卡片(弹窗)用第二档阴影 */
html body .mm-box,
html body .v-picker,
html body .g-members-panel{
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-2) !important;
}

/* 按钮: 统一圆角/高度/字重 */
html body .btn,
html body .pb-btn,
html body .tq-dacha,
html body .mm-go2,
html body .mm-cancel{
  border-radius: var(--r-md) !important;
  min-height: 44px;
  font-size: var(--fs-body) !important;
  font-weight: 900 !important;
}
html body .m-act,
html body .ex-chip,
html body .dz-type,
html body .vent-sort,
html body .v-chip,
html body .fm-tag,
html body .tq-rm{
  border-radius: var(--r-pill) !important;
}

/* 输入框 */
html body input[type="text"],
html body input[type="number"],
html body input[type="tel"],
html body input[type="password"],
html body textarea{
  border-radius: var(--r-sm) !important;
  border: 1px solid #F3E2E9 !important;
  font-size: var(--fs-body) !important;
}

/* 字号阶梯 */
html body .m-txt,
html body .v-text,
html body .dz-nm,
html body .fm-nm,
html body .lrow .lt{ font-size: var(--fs-body) !important; color: var(--ink-1) !important; }
html body .m-tm,
html body .v-time,
html body .dz-meta,
html body .fm-sub,
html body .lrow .ls,
html body .sub{ font-size: var(--fs-sub) !important; color: var(--ink-3) !important; }

/* 分区标题 */
html body .sec-title,
html body .blk-title,
html body .vip-hero .vh-t{ font-size: var(--fs-title) !important; font-weight: 900 !important; color: var(--ink-1) !important; }

/* 间距收成 8/12/16 三档 */
html body .moment{ margin-bottom: 12px !important; padding: 14px !important; }
html body .dz-grid{ gap: 12px !important; padding: 12px !important; }
html body .vent-card{ margin-bottom: 12px !important; padding: 14px !important; }
html body .panel{ padding: 14px !important; }
html body .m-bar{ margin-top: 12px !important; gap: 12px !important; }

/* 列表行统一高度 */
html body .lrow{ min-height: 64px; padding: 10px 12px !important; }
/* 广场: 加载更多按钮 */
html body .sq-more{
  margin: 14px auto 24px;
  width: 180px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #F3DCE5;
  color: #C24E74;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(190,120,150,.10);
}
html body .sq-more:active{ transform: scale(.97); }
/* ==================== 第 4 批: 页面级打磨 ==================== */

/* 1) 页面底部别被 tabbar 盖住 */
html body #main{ padding-bottom: 92px !important; }
html body .sbody{ padding-bottom: 28px !important; }
html body .moments, html body .vent-list{ padding-bottom: 8px !important; }

/* 2) 充值档位: 去掉黑边, 统一成浅粉卡 */
html body .r-tier{
  border: 1px solid #F3DCE5 !important;
  border-radius: 14px !important;
  background: #FFF9FB !important;
  box-shadow: 0 2px 8px rgba(190,120,150,.06);
}
html body .r-tier.on, html body .r-tier[data-sel="1"]{
  border-color: #FF8FAB !important;
  background: #FFF1F6 !important;
}

/* 3) 会员中心: hero 改成品牌粉渐变, 文字深色 */
html body .vip-hero{
  background: linear-gradient(135deg,#FFE7EF,#FFCCDD 60%,#FFB9D0) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(255,120,160,.18) !important;
}
html body .vip-hero .vh-t{ color:#8A2B47 !important; }
html body .vip-hero .vh-s{ color:#A2556E !important; }
html body .vip-hero .vh-ico{ filter: drop-shadow(0 4px 8px rgba(138,43,71,.18)); }

/* 会员档位: 3 列并排, 卡片更紧凑 */
html body .vip-plans{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}
html body .vip-plans > *{
  border-radius: 16px !important;
  border: 1px solid #F3DCE5 !important;
  background: #fff !important;
  padding: 12px 8px !important;
  text-align: center !important;
}
html body .vip-plans > .sel{
  border-color: #FF8FAB !important;
  background: #FFF1F6 !important;
  box-shadow: 0 4px 14px rgba(255,120,160,.16) !important;
}
html body .vip-plans .vp-price{ color: #FF3B5C !important; }
html body .vip-plans .vp-price b{ font-size: 22px !important; }

/* 4) 个人主页: 卡片留白收敛 */
html body .pf2-card{ border-radius: 18px !important; padding: 14px !important; }
html body .pf2-card .h{ margin-bottom: 8px !important; }
html body .pf2-empty{ padding: 18px 10px !important; }

/* 5) 消息页: 顶部条不再压住内容(改成紧凑提示) */
html body #signinTipBar{
  left: 12px !important; right: 12px !important;
  bottom: 84px !important; top: auto !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  box-shadow: 0 10px 24px rgba(255,92,138,.28) !important;
}

/* 头像统一: 白边圆环 + 轻阴影, 透明抠图头像不再露出奇怪白底 */
html body .avwrap > .av,
html body .avwrap > .frm > .av{
  box-shadow: 0 0 0 2px rgba(255,255,255,.92), 0 4px 12px rgba(190,120,150,.18) !important;
  background: #FFF3F7 !important;
}
html body .avwrap > .av img,
html body .avwrap > .frm > .av img{ border-radius: 50% !important; }
/* 大图/个人主页头像不加白环 */
html body .pf2-hero .av, html body .pf2-hero .avwrap > .av{ box-shadow: none !important; }

/* ===== 聊天气泡对齐(修复我发的气泡跑到左边) ===== */
html body #stack .crow.me > .cbody,
html body #main .crow.me > .cbody,
html body .crow.me > .cbody{
  align-items: flex-end !important;
  text-align: right !important;
}
html body #stack .crow:not(.me) > .cbody,
html body #main .crow:not(.me) > .cbody{
  align-items: flex-start !important;
  text-align: left !important;
}
html body .crow.me > .cbody > .cbub,
html body .crow.me > .cbody > .cbub.img-bub,
html body .crow.me > .cbody > .pk-card{
  margin-left: auto !important;
  margin-right: 0 !important;
}
html body .crow:not(.me) > .cbody > .cbub,
html body .crow:not(.me) > .cbody > .cbub.img-bub{
  margin-right: auto !important;
  margin-left: 0 !important;
}
html body .crow.me .tmt, html body .crow.me .msg-read{ text-align: right !important; align-self: flex-end !important; }
html body .crow:not(.me) .tmt{ text-align: left !important; }

/* ===== 搭子卡: 抠图头像的白底用混合模式吃掉 ===== */
html body .dz-av .av{ background: transparent !important; }
html body .dz-av .av img{ mix-blend-mode: multiply; }
/* 注册头像选择 */
html body .avpick-grid{
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
}
html body .avpick-item{
  display: block;
  position: relative;
  padding: 3px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease;
}
html body .avpick-item img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #FFF3F7;
}
html body .avpick-item.on{
  border-color: #FF5C8A;
  box-shadow: 0 0 0 3px rgba(255,92,138,.16);
}
html body .avpick-item.on::after{
  content: '✓';
  position: absolute;
  right: -2px; bottom: -2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #FF5C8A;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  font-weight: 900;
}
html body .avpick-up{
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #FFD2E0;
  background: #FFF1F6;
  color: #E2447A;
  font-size: 12.5px;
  font-weight: 900;
}
html body .avpick-tip{
  font-size: 11.5px;
  color: #B08A97;
  line-height: 1.5;
}


/* ===== 头像显示统一: 圆形完整裁切, 无缝无穿模 ===== */
html body .av{
  overflow: hidden !important;
  border-radius: 50% !important;
  background: #F4EDF0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  isolation: isolate;
}
html body .av img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block !important;
  border-radius: 50% !important;
  transform: translateZ(0);
}
html body .avwrap{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  border-radius: 50% !important;
}
/* 白边圆环: 只做一层, 避免双层出现缝隙 */
html body .avwrap > .av{
  box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(190,120,150,.16) !important;
}
/* 聊天/列表里的小头像不要环, 干净 */
html body .crow .avwrap > .av,
html body .lrow .avwrap > .av,
html body .m-row .avwrap > .av,
html body .fm-row .avwrap > .av,
html body .g-members-list .avwrap > .av{
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.9) !important;
}


html body .af-vip{display:inline-block;margin-top:2px;font-size:9.5px;font-weight:900;color:#B8860B;background:#FFF6DC;border:1px solid #F3DCA6;border-radius:999px;padding:1px 6px}


/* 交友卡头像统一: 去掉方形外框和装饰环, 只保留圆形头像 */
html body .tq-uc-av{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 50% !important;
  width: auto !important;
  height: auto !important;
}
html body .tq-uc-av::after,
html body .tq-uc-av::before{ display: none !important; }
html body .tq-uc-av > .av,
html body .tq-uc-av > .avwrap > .av{
  box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(190,120,150,.16) !important;
}
html body .tq-ucard .av-heart,
html body .dz-av .av-heart{ background: transparent !important; box-shadow: none !important; }

/* 今日情话合并进 hero */
html body .lh-q{
  margin-top:7px;font-size:12px;line-height:1.5;
  color:rgba(255,255,255,.95);
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;padding:5px 10px;display:inline-block;max-width:100%;
}


/* 交友卡/全站头像统一尺寸: 不管会员贵族都一样大 */
html body .tq-ucard .tq-uc-av,
html body .tq-ucard .tq-uc-av .avwrap{
  width: 50px !important; height: 50px !important;
  min-width: 50px !important; min-height: 50px !important;
  max-width: 50px !important; max-height: 50px !important;
}
html body .tq-ucard .tq-uc-av .av,
html body .tq-ucard .tq-uc-av .av img{
  width: 50px !important; height: 50px !important;
  min-width: 50px !important; min-height: 50px !important;
  max-width: 50px !important; max-height: 50px !important;
  font-size: 20px !important;
}
html body .tq-ucard .tq-uc-av .frm{
  width: 50px !important; height: 50px !important; padding: 0 !important;
}
#vmEntryCard{ display: none !important; }

/* 底部导航与页面留白: 内容不再从导航栏后面透出来 */
html body #main{ padding-bottom: 112px !important; }
html body .tabbar, html body #tabbar, html body .tb-bar{
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid rgba(232,196,208,.5) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}
html body .mine, html body .mine-page{ padding-bottom: 24px !important; }


/* 广场视频 */
html body .m-video{ margin-top:10px; }
html body .m-video video{
  width:100%; max-height:70vh; border-radius:14px; background:#000; display:block;
}
html body .tr-filter#trRefresh{ background:#FFF1F6; color:#E2447A; border:1px solid #FFD2E0; }
html, body { background: radial-gradient(680px 420px at 20% -6%, #FFE3EC 0%, transparent 62%), radial-gradient(620px 380px at 100% 0%, #EFE6FF 0%, transparent 58%), #FBF7F9 !important; }

/* 顶部渐变条更柔和 */
.topbar, .app-top, header { backdrop-filter: saturate(1.2); }

/* 卡片: 20px 大圆角 + 轻浮起 */
.moment, .tq-ucard, .dz-cell, .vent-card, .today-rec, .panel, .tq-ucard, .tq-banner {
  border-radius: 20px !important;
  border: 1px solid rgba(255,190,212,.55) !important;
  box-shadow: 0 8px 24px rgba(255,120,160,.08) !important;
  background: #fff !important;
}

/* Tab 胶囊化 */
.tq-tabs {
  background: #F4EFF3 !important;
  border-radius: 999px !important;
  padding: 4px !important;
  margin: 8px 12px 4px !important;
}
.tq-tabs > div {
  border-radius: 999px !important;
  padding: 9px 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #8B7E86 !important;
  transition: all .18s ease;
}
.tq-tabs > div.on {
  background: linear-gradient(135deg,#FF7FA6,#FF3B6B) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(255,80,125,.32) !important;
}

/* 主按钮: 圆润渐变 */
.btn, .mm-go2, .tq-dacha, .pub-send, .send {
  border-radius: 999px !important;
  background: linear-gradient(135deg,#FF7FA6,#FF3B6B) !important;
  color: #fff !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(255,80,125,.26) !important;
}
.btn:active, .tq-dacha:active { transform: scale(.97); }

/* 头像: 统一白边 + 轻描边 */
.avwrap > .av { box-shadow: 0 0 0 2.5px #fff, 0 6px 16px rgba(190,120,150,.18) !important; }

/* 昵称/标题字重 */
.tq-uc-name, .m-nm b, .dz-nm, .tr-nm, .vent-name { font-weight: 900 !important; letter-spacing: .2px; }

/* 底部导航: 悬浮圆角 */
.tabbar, .tb-bar, #tabbar {
  background: rgba(255,255,255,.96) !important;
  border-radius: 22px 22px 0 0 !important;
  box-shadow: 0 -8px 26px rgba(190,120,150,.14) !important;
  border-top: none !important;
  padding-top: 6px !important;
}
.tb .ti, .tabbar .ti { transition: transform .15s ease; }
.tb.on .ti, .tabbar .on .ti { transform: translateY(-2px) scale(1.06); }
.tb.on { color: #FF3B6B !important; }

/* 金币/数字: 等宽更有质感 */
.mine-wealth .n, .wallet-num, .bal { font-variant-numeric: tabular-nums; letter-spacing: -.3px; }

/* 输入框: 圆润 */
input[type="text"], input[type="number"], input[type="tel"], input[type="password"], textarea {
  border-radius: 14px !important;
  border: 1px solid #F2E0E8 !important;
  background: #FFF9FB !important;
}

/* 分段/筛选小胶囊 */
.tr-filter, .v-chip, .fm-tag, .tq-rm, .m-act {
  border-radius: 999px !important;
}

/* 弹窗: 大圆角 + 顶部拖拽感 */
#stack > .sbody, .stack .sbody { background: transparent !important; }

/* 骨架屏配色更柔 */
.skel-av, .skel-lines i, .skel-img { background: linear-gradient(90deg,#F7EEF3 25%,#FDF8FA 37%,#F7EEF3 63%) !important; background-size: 400% 100% !important; }

/* 滚动更顺 */
html { scroll-behavior: smooth; }

/* 修正: 乐推官横幅保持渐变, 不要变白 */
html body .tq-banner{
  background: linear-gradient(135deg,#FF7FA6,#FF3B6B) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(255,80,125,.26) !important;
}
html body .tq-banner b{ color:#fff !important; }


/* 首页 hero: 情话文案直接显示, 不要白框 */
html body .lh-q{
  margin-top:8px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: rgba(255,255,255,.95) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  display: block !important;
  max-width: 100% !important;
  text-shadow: 0 1px 3px rgba(160,40,80,.25);
}
html body .lh-t{ font-size: 26px !important; }

/* ===== 聊天: 改成微信/QQ 那种干净对话, 特效/贵族都不在聊天框出现 ===== */
html body .crow .msg-fx,
html body .crow .nlv,
html body .crow .av-vip,
html body .crow .chat-other-name,
html body .crow .g-sender-name,
html body .crow .cbub-quote,
html body .crow .m-nm .vip-txt{ display:none !important; }

html body .crow .cbub,
html body .crow .cbub.me,
html body .crow .cbub.other{
  background: #FFFFFF !important;
  color: #111111 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.05) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  max-width: 70% !important;
  animation: none !important;
  -webkit-text-fill-color: #111 !important;
  background-image: none !important;
}
html body .crow.me .cbub{
  background: #95EC69 !important;
  color: #111 !important;
}
html body .crow .cbub *{
  color: #111 !important;
  background: none !important;
  -webkit-text-fill-color: #111 !important;
  text-shadow: none !important;
  animation: none !important;
  font-weight: 400 !important;
}
html body .crow .tmt{ color:#B2B2B2 !important; font-size:11px !important; }
html body .crow .msg-read{ color:#B2B2B2 !important; font-size:11px !important; }
html body .crow{ margin-bottom: 10px !important; }

/* ===== 装扮商城: 试戴条不要盖住卡片, 头像不要压字 ===== */
html body .ds-try{
  position: static !important;
  margin: 14px 0 20px !important;
  border-radius: 14px !important;
}
html body .af-grid{ padding-bottom: 10px !important; }
html body .af-cell{
  overflow: hidden !important;
  justify-content: flex-start !important;
  min-height: 150px !important;
}
html body .af-cell .ov-prev{ flex: 0 0 auto !important; }
html body .af-cell .af-nm,
html body .af-cell .af-st{ position: relative !important; z-index: 3 !important; }

/* 聊天: 同一行重复的时间标签只留一个 */
html body .crow .tmt + .tmt{ display:none !important; }
/* 聊天页顶部资料卡收紧一点 */
html body .chat-hd-sub{ font-size:12px !important; }


/* 聊天: 时间放到气泡右下角 */
html body .crow .cbody{
  display: flex !important;
  flex-direction: column !important;
}
html body .crow .cbody > .tmt{
  order: 20 !important;
  margin-top: 4px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  color: #B2B2B2 !important;
  padding: 0 !important;
}
html body .crow.me .cbody > .tmt{ align-self: flex-end !important; }
html body .crow:not(.me) .cbody > .tmt{ align-self: flex-start !important; }
html body .crow .cbody > .cbub{ order: 10 !important; }
html body .crow .cbody > .msg-read{ order: 30 !important; font-size: 11px !important; }
html body .crow .cbody > .chat-other-name,
html body .crow .cbody > .g-sender-name{ order: 5 !important; }
html body .msg-report{ display: none !important; }


/* 今日情话: 文案高亮(不加白框) */
html body .lh-q{
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #FFF6D8 !important;
  letter-spacing: .3px;
  text-shadow: 0 1px 6px rgba(150,30,70,.35) !important;
}
/* 官方消息: 全部已读固定在标题右上角 */
html body .shead{ position: relative !important; }
html body .shead .st-r{
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 3;
  background: #FFF1F6;
  color: #E2447A !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  padding: 6px 12px;
  border-radius: 999px;
}
/* 通知条目可点击的反馈 */
html body .notice-item{ cursor: pointer; transition: transform .12s ease; }
html body .notice-item:active{ transform: scale(.99); }


/* 消息页: 通知与群组折叠分组 */
html body .sys-toggle{ cursor:pointer; }
html body .sys-toggle .sys-arrow{
  margin-left:auto; font-size:12px; color:#A08FA8; padding:0 4px;
}
html body #sysGroupBody .lrow{ padding-left:14px; }
html body #sysGroupBody .lrow .sysav{ width:40px; height:40px; font-size:18px; }

/* 折叠头部的未读汇总角标: 不要被裁掉 */
html body #sysToggleRow{ position: relative; }
html body #sysToggleRow #sysSumBadge{
  position: static !important;
  margin-left: auto;
  margin-right: 6px;
  min-width: 20px; height: 20px; line-height: 20px;
  padding: 0 6px; border-radius: 10px;
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
}

/* 我的页: 会员/饭局两张卡缩小一号 */
html body .tq-heroes{ gap:10px !important; margin:12px 12px 4px !important; }
html body .tq-hero{
  border-radius:16px !important;
  padding:11px 12px 10px !important;
  box-shadow:0 6px 16px rgba(109,40,217,.18) !important;
  min-height:0 !important;
}
html body .tq-hero .th-glow{ width:96px !important; height:96px !important; right:-40px !important; top:-44px !important; }
html body .tq-hero .th-ico{ font-size:19px !important; }
html body .tq-hero .th-t{ font-size:13.5px !important; margin-top:5px !important; }
html body .tq-hero .th-s{ font-size:10.5px !important; margin-top:3px !important; line-height:1.4 !important; }
html body .tq-hero .th-cta{ margin-top:7px !important; font-size:10.5px !important; padding:3px 9px !important; }
html body .tq-hero .th-ribbon{ font-size:9px !important; padding:1px 6px !important; }

/* 会员卡恢复紫色, 和饭局卡区分开 */
html body .tq-hero.vip{ background:linear-gradient(135deg,#6D28D9 0%,#A855F7 52%,#EC4899 100%) !important; }
html body .tq-hero.mt{ background:linear-gradient(135deg,#F97316 0%,#FF3B5C 60%,#E11D48 100%) !important; }

/* 已读/未读放到气泡右边同一行 */
html body .crow .cbody{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-end !important;
}
html body .crow.me .cbody{ justify-content:flex-end !important; }
html body .crow:not(.me) .cbody{ justify-content:flex-start !important; }
html body .crow .cbody>.cbub{ order:10 !important; }
html body .crow .cbody>.msg-read{
  order:11 !important;
  margin:0 0 5px 6px !important;
  font-size:11px !important;
  line-height:1 !important;
  color:#B2B2B2 !important;
}
html body .crow.me .cbody>.msg-read{ margin:0 0 5px 6px !important; }
html body .crow .cbody>.tmt{
  order:30 !important;
  flex:0 0 100% !important;
  margin-top:4px !important;
  font-size:11px !important;
}
html body .crow.me .cbody>.tmt{ text-align:right !important; }
html body .crow:not(.me) .cbody>.tmt{ text-align:left !important; }
html body .crow .cbody>.tmt ~ .tmt{ display:none !important; }
html body .crow .cbody>.chat-other-name,
html body .crow .cbody>.msg-fx{ order:5 !important; flex:0 0 100% !important; }


/* 气泡 + 已读 同一行 */
html body .crow .bub-row{
  display:flex !important;
  align-items:flex-end !important;
  gap:6px !important;
  max-width:100% !important;
  min-width:0 !important;
}
html body .crow.me .bub-row{ justify-content:flex-end !important; }
html body .crow .bub-row>.cbub{ max-width:100% !important; }
html body .crow .bub-row>.msg-read{
  margin:0 0 5px 0 !important;
  white-space:nowrap !important;
  font-size:11px !important;
  color:#B2B2B2 !important;
}

/* 已读文字垂直居中在气泡右侧 */
html body .crow .bub-row{ align-items:center !important; }
html body .crow .bub-row>.msg-read{ margin:0 !important; }


/* 时间+已读: 放在气泡另一侧, 时间与已读上下排列 */
html body .crow .cbody{ align-items:flex-end !important; }
html body .crow:not(.me) .cbody{ align-items:flex-start !important; }
html body .crow .bub-row{
  display:flex !important;
  align-items:flex-end !important;
  gap:8px !important;
  max-width:100% !important;
}
html body .crow.me .bub-row{ flex-direction:row-reverse !important; justify-content:flex-start !important; }
html body .crow:not(.me) .bub-row{ flex-direction:row !important; }
html body .crow .bub-meta{
  display:flex !important;
  flex-direction:column !important;
  gap:2px !important;
  align-items:flex-end !important;
  font-size:11px !important;
  line-height:1.2 !important;
  color:#B2B2B2 !important;
  padding-bottom:2px !important;
  white-space:nowrap !important;
}
html body .crow:not(.me) .bub-meta{ align-items:flex-start !important; }
html body .crow .bub-meta .tmt{
  font-size:11px !important;
  color:#B2B2B2 !important;
  margin:0 !important;
  order:0 !important;
  text-align:inherit !important;
}
html body .crow .bub-meta .msg-read{
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  font-size:11px !important;
  color:#B2B2B2 !important;
}


/* 图片/语音等旧气泡: 元信息也放到另一侧 */
html body .crow .cbody.legacy-row{
  display:flex !important;
  align-items:flex-end !important;
  gap:8px !important;
}
html body .crow.me .cbody.legacy-row{ flex-direction:row-reverse !important; }
html body .crow:not(.me) .cbody.legacy-row{ flex-direction:row !important; }
html body .crow .cbody.legacy-row>.bub-meta{ flex:0 0 auto !important; }

/* 旧气泡里残余的时间节点不再重复显示(已收进 bub-meta) */
html body .crow .cbody>.tmt{ display:none !important; }


/* ==================== 交友首页 v2 样式 (2026-11-12) ==================== */
/* 顶部栏 */
#main .fh-top{display:flex;align-items:center;gap:10px;padding:6px 16px 12px;position:sticky;top:0;z-index:15;background:linear-gradient(180deg,#F7F7FB 72%,rgba(247,247,251,0));backdrop-filter:blur(12px)}
#main .fh-logo{font-size:21px;font-weight:900;letter-spacing:-.5px;background:linear-gradient(135deg,#FF4D7D,#A855F7);-webkit-background-clip:text;background-clip:text;color:transparent}
#main .fh-city{display:flex;align-items:center;gap:3px;font-size:12.5px;font-weight:600;color:#5A5A6E;background:#fff;padding:5px 10px;border-radius:18px;box-shadow:0 2px 8px rgba(0,0,0,.05);cursor:pointer}
#main .fh-arrow{font-size:8px;color:#9A9AAE}
#main .fh-spacer{flex:1}
#main .fh-icon{width:34px;height:34px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 2px 8px rgba(0,0,0,.05);position:relative;cursor:pointer;transition:transform .15s}
#main .fh-icon:active{transform:scale(.92)}
#main .fh-dot{position:absolute;top:6px;right:7px;width:7px;height:7px;background:#FF4D7D;border-radius:50%;border:1.5px solid #fff}

/* 搜索 */
#main .fh-search{margin:0 16px 16px;height:42px;background:#fff;border-radius:21px;display:flex;align-items:center;padding:0 15px;gap:8px;box-shadow:0 4px 20px rgba(18,18,26,.06);cursor:pointer}
#main .fh-sic{font-size:14px;opacity:.5}
#main .fh-sph{font-size:13.5px;color:#9A9AAE;flex:1}
#main .fh-shot{font-size:10.5px;font-weight:700;color:#FF4D7D;background:rgba(255,77,125,.1);padding:4px 9px;border-radius:10px}

/* 大图速配卡 */
#main .fh-hero{margin:0 16px 18px;border-radius:24px;overflow:hidden;position:relative;height:380px;box-shadow:0 12px 40px rgba(255,77,125,.18);cursor:pointer;background:#222}
#main .fh-hero img{width:100%;height:100%;object-fit:cover;display:block}
#main .fh-hero::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,.55) 76%,rgba(0,0,0,.85) 100%);pointer-events:none}
#main .fh-hero-noimg{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FFD6E5,#E0D6FF)}
#main .fh-hero-load{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;color:#fff;font-size:13px;opacity:.8;z-index:2}
#main .fh-hero-top{position:absolute;top:14px;left:14px;right:14px;z-index:3;display:flex;justify-content:space-between;align-items:flex-start}
#main .fh-live{display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.22);backdrop-filter:blur(14px);padding:5px 11px;border-radius:18px;font-size:10.5px;font-weight:700;color:#fff;border:1px solid rgba(255,255,255,.3)}
#main .fh-pulse{width:6px;height:6px;background:#4ADE80;border-radius:50%;box-shadow:0 0 0 0 rgba(74,222,128,.7);animation:fhPulse 1.8s infinite}
@keyframes fhPulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.7)}70%{box-shadow:0 0 0 8px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
#main .fh-hacts{display:flex;gap:7px}
#main .fh-hact{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.22);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;font-size:14px;color:#fff;cursor:pointer;transition:transform .15s}
#main .fh-hact:active{transform:scale(.9)}
#main .fh-hero-info{position:absolute;left:18px;right:18px;bottom:18px;z-index:3;color:#fff}
#main .fh-hname{display:flex;align-items:center;gap:7px;margin-bottom:7px}
#main .fh-hn{font-size:24px;font-weight:900;letter-spacing:-.5px}
#main .fh-hage{font-size:12.5px;font-weight:600;opacity:.9;background:rgba(255,255,255,.2);padding:3px 9px;border-radius:10px;backdrop-filter:blur(8px)}
#main .fh-hver{width:17px;height:17px;border-radius:50%;background:linear-gradient(135deg,#4FACFE,#00F2FE);display:flex;align-items:center;justify-content:center;font-size:9px;color:#fff;font-weight:900}
#main .fh-htags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}
#main .fh-htags span{font-size:10.5px;font-weight:600;padding:4px 10px;border-radius:11px;background:rgba(255,255,255,.18);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22)}
#main .fh-hbio{font-size:12.5px;line-height:1.5;opacity:.92;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#main .fh-hbtns{display:flex;gap:9px}
#main .fh-hbtn{flex:1;height:44px;border-radius:22px;border:none;font-size:13.5px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;transition:transform .15s}
#main .fh-hbtn:active{transform:scale(.96)}
#main .fh-hbtn.skip{background:rgba(255,255,255,.2);backdrop-filter:blur(14px);color:#fff;border:1px solid rgba(255,255,255,.3);flex:0 0 44px}
#main .fh-hbtn.chat{background:linear-gradient(135deg,#FF4D7D,#FF6B9D);color:#fff;box-shadow:0 6px 20px rgba(255,77,125,.45)}

/* 四宫格 */
#main .fh-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:0 16px 20px}
#main .fh-q{background:#fff;border-radius:16px;padding:12px 4px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 4px 20px rgba(18,18,26,.06);cursor:pointer;transition:transform .15s}
#main .fh-q:active{transform:scale(.95)}
#main .fh-qic{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:19px}
#main .fh-qic.q1{background:linear-gradient(135deg,#FFE0EC,#FFC2D9)}
#main .fh-qic.q2{background:linear-gradient(135deg,#E0EAFF,#C2D6FF)}
#main .fh-qic.q3{background:linear-gradient(135deg,#F0E0FF,#DCC2FF)}
#main .fh-qic.q4{background:linear-gradient(135deg,#E0FFF4,#C2FFE8)}
#main .fh-qt{font-size:10.5px;font-weight:700;color:#5A5A6E}

/* 区块标题 */
#main .fh-sec{display:flex;align-items:center;justify-content:space-between;padding:0 16px;margin-bottom:12px}
#main .fh-st{font-size:17px;font-weight:900;letter-spacing:-.3px;color:#12121A}
#main .fh-st em{font-style:normal;font-size:11.5px;font-weight:600;color:#9A9AAE;margin-left:6px}
#main .fh-more{font-size:11.5px;font-weight:600;color:#9A9AAE;cursor:pointer}

/* 横滑卡片 */
#main .fh-hscroll{display:flex;gap:11px;overflow-x:auto;padding:0 16px 4px;margin-bottom:20px;scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
#main .fh-hscroll::-webkit-scrollbar{display:none}
#main .fh-pcard{flex:0 0 142px;scroll-snap-align:start;border-radius:18px;overflow:hidden;position:relative;height:190px;background:#ddd;cursor:pointer;box-shadow:0 6px 18px rgba(18,18,26,.1);transition:transform .2s}
#main .fh-pcard:active{transform:scale(.96)}
#main .fh-pcard img{width:100%;height:100%;object-fit:cover;display:block}
#main .fh-pcard::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.72) 100%);pointer-events:none}
#main .fh-pnoimg{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FFD6E5,#E0D6FF)}
#main .fh-pon{position:absolute;top:9px;left:9px;z-index:2;display:flex;align-items:center;gap:4px;background:rgba(0,0,0,.35);backdrop-filter:blur(8px);padding:3px 8px;border-radius:11px;font-size:9.5px;font-weight:700;color:#fff}
#main .fh-pon i{width:5px;height:5px;background:#4ADE80;border-radius:50%;display:block;font-style:normal}
#main .fh-pinfo{position:absolute;left:11px;right:11px;bottom:11px;z-index:2;color:#fff}
#main .fh-pnm{font-size:14px;font-weight:800;margin-bottom:2px;display:flex;align-items:center;gap:4px}
#main .fh-pag{font-size:10.5px;font-weight:600;opacity:.85}
#main .fh-pds{font-size:10.5px;opacity:.85}
#main .fh-skel{flex:0 0 142px;height:190px;border-radius:18px;background:linear-gradient(90deg,#EFEFF5 25%,#F7F7FB 50%,#EFEFF5 75%);background-size:200% 100%;animation:fhSkel 1.4s infinite}
@keyframes fhSkel{0%{background-position:200% 0}100%{background-position:-200% 0}}
#main .fh-empty{font-size:12.5px;color:#9A9AAE;padding:20px 16px;text-align:center;width:100%}

/* 擦肩而过 */
#main .fh-pass{margin:0 16px 20px;padding:12px 16px;border-radius:14px;background:linear-gradient(135deg,#FFF0F6,#F5F0FF);border:1px solid #FDE3EE;font-size:12.5px;font-weight:600;color:#FF4D7D;text-align:center;cursor:pointer;transition:transform .15s}
#main .fh-pass:active{transform:scale(.98)}

/* 动态流 */
#main .fh-feed{padding:0 16px 20px;display:flex;flex-direction:column;gap:13px}
#main .fh-feedload{font-size:12.5px;color:#9A9AAE;text-align:center;padding:20px}
#main .fh-fcard{background:#fff;border-radius:20px;padding:15px;box-shadow:0 4px 20px rgba(18,18,26,.06);cursor:pointer}
#main .fh-fhead{display:flex;align-items:center;gap:9px;margin-bottom:11px}
#main .fh-fav{width:40px;height:40px;border-radius:50%;overflow:hidden;flex:0 0 40px;background:linear-gradient(135deg,#FFD6E5,#E0D6FF);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff}
#main .fh-fav img{width:100%;height:100%;object-fit:cover}
#main .fh-fmeta{flex:1;min-width:0}
#main .fh-fname{font-size:13.5px;font-weight:800;margin-bottom:2px;display:flex;align-items:center;gap:4px;color:#12121A}
#main .fh-fv{width:13px;height:13px;border-radius:50%;background:linear-gradient(135deg,#4FACFE,#00F2FE);display:flex;align-items:center;justify-content:center;font-size:8px;color:#fff;font-weight:900}
#main .fh-ftime{font-size:10.5px;color:#9A9AAE}
#main .fh-fmore{font-size:15px;color:#9A9AAE;padding:4px 7px;cursor:pointer}
#main .fh-ftext{font-size:13.5px;line-height:1.65;color:#12121A;margin-bottom:11px;word-break:break-word}
#main .fh-fimgs{display:grid;gap:5px;margin-bottom:11px;border-radius:14px;overflow:hidden}
#main .fh-fimgs.g1{grid-template-columns:1fr}
#main .fh-fimgs.g2{grid-template-columns:1fr 1fr}
#main .fh-fimgs.g3{grid-template-columns:1fr 1fr 1fr}
#main .fh-fimgs img{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:#eee}
#main .fh-fimgs.g1 img{aspect-ratio:4/3}
#main .fh-fbar{display:flex;align-items:center;gap:18px;padding-top:11px;border-top:1px solid #EFEFF5}
#main .fh-fact{display:flex;align-items:center;gap:4px;font-size:12px;color:#5A5A6E;font-weight:600;cursor:pointer;transition:color .15s}
#main .fh-fact:active{color:#FF4D7D}
#main .fh-fact.liked{color:#FF4D7D}
#main .fh-fi{font-size:14px}



/* 首页左上角 logo 高亮 */
html body .fh-logo{
  background: linear-gradient(92deg,#FF3B6B 0%,#FF7A45 45%,#FF3B6B 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 900 !important;
  letter-spacing: .5px;
  filter: drop-shadow(0 2px 6px rgba(255,59,107,.35));
}
/* 顶部只显示城市名 */
html body .fh-city{
  background: transparent !important;
  border: none !important;
  padding: 0 2px !important;
  box-shadow: none !important;
}
html body .fh-city .fh-city-name{
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #3B2C31 !important;
  letter-spacing: .3px;
}

/* 广场右上角: 加号发布按钮 */
html body #sqPub.sq-pub{
  width:30px !important; height:30px !important; border-radius:50% !important;
  background:linear-gradient(135deg,#FF5C8A,#FF3B6B) !important;
  color:#fff !important; display:flex !important; align-items:center !important; justify-content:center !important;
  font-size:22px !important; font-weight:900 !important; line-height:1 !important;
  box-shadow:0 4px 12px rgba(255,59,107,.32) !important;
  padding:0 !important; margin-left:6px;
}


/* 交友首页头部: logo + 位置 + 搜索(一行) */
html body .fh-top{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
html body .fh-top .fh-logo{ flex: 0 0 auto !important; }
html body .fh-city{
  flex: 0 0 auto !important;
  pointer-events: none !important;
  cursor: default !important;
}
html body .fh-top .fh-search{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  gap: 6px !important;
}
html body .fh-top .fh-sph{ font-size: 12.5px !important; }
html body .fh-top .fh-shot{
  font-size: 11px !important;
  padding: 3px 8px !important;
  flex: 0 0 auto !important;
}


/* 修复: 头像/头像框一直闪动 */
html body .frm.fx_pulse,
html body .frm.fx_pulse:before,
html body .frm.fx_aurora, html body .frm.fx_aurora:before,
html body .frm.fx_neon, html body .frm.fx_neon:before{
  animation: none !important;
}
html body .avwrap > .frm{ animation: none !important; }
/* 举报文字按钮 */
html body [data-rpt], html body .cmt-report{
  font-size: 12px !important;
  color: #B9A3AD !important;
  font-weight: 700 !important;
}
/* 交友首页模块缩一档 */
html body #main .fh-hero{
  height: 320px !important;
  margin: 0 14px 14px !important;
  border-radius: 20px !important;
}
html body #main .fh-quick{
  margin: 0 14px 14px !important;
  gap: 8px !important;
}
html body #main .fh-qic{
  width: 46px !important;
  height: 46px !important;
  font-size: 22px !important;
}
html body #main .fh-qt{ font-size: 11.5px !important; }
html body #main .fh-sec{ margin: 12px 14px 8px !important; }
html body #main .fh-hscroll{ padding-left: 14px !important; }
html body #main .fh-hcard, html body #main .fh-pcard{ width: 96px !important; }

/* ===== 推荐: 文章列表 ===== */
html body .art-bar{display:flex;align-items:center;justify-content:space-between;padding:0 16px;margin:6px 0 10px}
html body .art-bar-t{font-size:17px;font-weight:900;color:#2B2226}
html body .art-bar-t em{font-size:11.5px;font-style:normal;color:#B9A3AD;margin-left:8px;font-weight:600}
html body .art-write{font-size:12.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,#FF7FA6,#FF3B6B);padding:7px 14px;border-radius:99px;box-shadow:0 4px 12px rgba(255,59,107,.25)}
html body .art-card{background:#fff;border-radius:18px;padding:14px 15px;margin:0 16px 12px;box-shadow:0 4px 18px rgba(190,120,150,.08);border:1px solid rgba(255,190,212,.5)}
html body .art-top{display:flex;align-items:center;justify-content:space-between}
html body .art-kind{font-size:11px;font-weight:800;padding:2px 8px;border-radius:6px;background:#FFF1F5;color:#FF3B6B}
html body .art-kind.k-story{background:#EEF4FF;color:#4F7CFF}
html body .art-kind.k-quote{background:#F3EEFF;color:#8B5CF6}
html body .art-time{font-size:11px;color:#B9A3AD}
html body .art-title{font-size:16.5px;font-weight:900;color:#2B2226;margin:8px 0 6px;line-height:1.45}
html body .art-ex{font-size:13px;color:#7A6B72;line-height:1.7}
html body .art-author{display:flex;align-items:center;gap:6px;margin-top:10px}
html body .art-av{width:20px;height:20px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:#FFE3EC;color:#FF3B6B;font-size:10px;font-weight:900}
html body .art-av img{width:100%;height:100%;object-fit:cover}
html body .art-an{font-size:11.5px;color:#9A8A92;font-weight:700}
html body .art-body{padding:18px 18px 30px}
html body .art-meta{font-size:11.5px;color:#B9A3AD;margin-bottom:14px}
html body .art-p{font-size:15.5px;line-height:2;color:#3B2C31;margin:0 0 16px;text-align:justify}
html body .art-foot{display:flex;align-items:center;gap:8px;margin-top:24px;padding-top:14px;border-top:1px solid #F7EEF2;font-size:12px;color:#9A8A92}
html body .aw-k{font-size:12.5px;font-weight:800;padding:7px 14px;border-radius:99px;background:#F7F0F4;color:#8A7A82}
html body .aw-k.on{background:linear-gradient(135deg,#FF7FA6,#FF3B6B);color:#fff}

/* ===== 表白: 关系卡 ===== */
html body .lv-hero{margin:10px 16px 14px;padding:20px 18px;border-radius:20px;color:#fff;
  background:linear-gradient(135deg,#FF9EC4 0%,#FF5C8A 55%,#C026D3 100%);box-shadow:0 10px 26px rgba(255,92,138,.28);position:relative;overflow:hidden}
html body .lv-hero:after{content:'💗';position:absolute;right:-6px;top:-14px;font-size:74px;opacity:.22;transform:rotate(12deg)}
html body .lv-hero-t{font-size:20px;font-weight:900;letter-spacing:1px}
html body .lv-hero-s{font-size:12px;opacity:.92;margin-top:5px}
html body .lv-make{display:inline-block;margin-top:14px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.5);
  padding:8px 16px;border-radius:99px;font-size:13px;font-weight:900}
html body .lv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 16px 20px}
html body .lv-card{background:#fff;border-radius:18px;padding:12px 10px;text-align:center;
  border:1px solid rgba(255,190,212,.6);box-shadow:0 4px 16px rgba(255,120,160,.1)}
html body .lv-pair{display:flex;align-items:center;justify-content:center;gap:6px}
html body .lv-av{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#FFEFF5;
  display:flex;align-items:center;justify-content:center;color:#FF3B6B;font-weight:900;font-size:15px;box-shadow:0 0 0 2px #fff}
html body .lv-av img{width:100%;height:100%;object-fit:cover}
html body .lv-ico{font-size:18px;filter:drop-shadow(0 2px 4px rgba(255,59,107,.35))}
html body .lv-card.rel-couple .lv-ico{animation:lvBeat 1.6s ease-in-out infinite}
@keyframes lvBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}
html body .lv-names{font-size:11.5px;color:#3B2C31;margin-top:9px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lv-names b{font-weight:800}
html body .lv-rel{display:inline-block;font-size:10px;font-weight:900;color:#FF3B6B;background:#FFF1F5;padding:1px 6px;border-radius:6px;margin:0 2px}
html body .lv-txt{font-size:11px;color:#9A8A92;margin-top:6px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .lv-tm{font-size:10px;color:#C4B2BA;margin-top:6px}
html body .cf-rels{display:flex;flex-wrap:wrap;gap:8px}
html body .cf-rel{font-size:12.5px;font-weight:800;padding:8px 12px;border-radius:99px;background:#F7F0F4;color:#8A7A82;border:1px solid transparent}
html body .cf-rel.on{background:linear-gradient(135deg,#FF7FA6,#FF3B6B);color:#fff;box-shadow:0 4px 12px rgba(255,59,107,.25)}

/* ===== 表白 2.0: 待回应 + 火花等级 ===== */
html body .lv-sec{font-size:12.5px;font-weight:900;color:#9A8A92;margin:4px 16px 8px}
html body .lv-card.pending{border:1.5px dashed #FFB7CE;background:#FFF9FB}
html body .lv-acts{display:flex;gap:6px;margin-top:8px}
html body .lv-acts button{flex:1;border:none;border-radius:99px;padding:7px 0;font-size:12px;font-weight:900}
html body .lv-yes{background:linear-gradient(135deg,#FF7FA6,#FF3B6B);color:#fff}
html body .lv-no{background:#F3EBEF;color:#8A7A82}
html body .lv-spark{font-size:10.5px;color:#FF6B4A;font-weight:800;margin-top:6px}
html body .lv-1{box-shadow:0 4px 14px rgba(255,150,180,.12)}
html body .lv-2{box-shadow:0 6px 18px rgba(255,120,160,.22);border-color:#FFC2D6}
html body .lv-3{box-shadow:0 8px 24px rgba(255,90,140,.3);border-color:#FF9EC4;background:linear-gradient(180deg,#FFF8FB,#fff)}
html body .lv-4{box-shadow:0 10px 30px rgba(255,60,120,.38);border-color:#FF6FA3;background:linear-gradient(180deg,#FFF2F7,#fff)}
html body .lv-4 .lv-ico{font-size:22px}
html body .lv-5{box-shadow:0 12px 36px rgba(255,40,100,.45),0 0 0 2px rgba(255,120,160,.35) inset;border-color:#FF4C8B;background:linear-gradient(180deg,#FFEDF4,#fff)}
html body .lv-5 .lv-ico{font-size:26px;animation:lvBeat 1.1s ease-in-out infinite}
html body .lv-5 .lv-fire{filter:drop-shadow(0 0 6px rgba(255,90,40,.8))}

/* 火花养成 */
html body .sg-body{padding:14px 16px 30px}
html body .sg-hero{border-radius:18px;padding:18px;color:#fff;background:linear-gradient(135deg,#FF9E6B,#FF5C8A 60%,#C026D3);box-shadow:0 10px 26px rgba(255,92,138,.25);margin-bottom:14px}
html body .sg-hero-t{font-size:19px;font-weight:900}
html body .sg-hero-s{font-size:12px;opacity:.92;margin-top:5px;line-height:1.6}
html body .sg-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:12px;margin-bottom:10px;border:1px solid rgba(255,190,212,.55);box-shadow:0 4px 14px rgba(255,120,160,.08)}
html body .sg-row.lv-4,html body .sg-row.lv-5{border-color:#FF8FB6;box-shadow:0 8px 24px rgba(255,80,130,.25)}
html body .sg-av{width:46px;height:46px;border-radius:50%;overflow:hidden;background:#FFEFF5;display:flex;align-items:center;justify-content:center;font-weight:900;color:#FF3B6B}
html body .sg-av img{width:100%;height:100%;object-fit:cover}
html body .sg-main{flex:1;min-width:0}
html body .sg-nm{font-size:14px;font-weight:900;color:#2B2226}
html body .sg-rel{font-size:10px;font-weight:900;color:#FF3B6B;background:#FFF1F5;padding:1px 6px;border-radius:6px;margin-left:4px}
html body .sg-bar{height:6px;border-radius:99px;background:#F7EEF2;margin:7px 0 5px;overflow:hidden}
html body .sg-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#FFB86B,#FF3B6B)}
html body .sg-meta{font-size:11px;color:#9A8A92}
html body .sg-feed{border:none;border-radius:99px;padding:8px 14px;font-size:12.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF7FA6,#FF3B6B)}
html body .sg-feed.done{background:#F3EBEF;color:#9A8A92}
html body .sg-tip{text-align:center;font-size:11px;color:#B9A3AD;margin-top:10px}


/* 表白卡: 自定义名/说明/编辑 + 浪漫特效 */
html body .lv-desc{font-size:10.5px;color:#FF6B8A;margin-top:4px;font-weight:700}
html body .lv-edit{display:inline-block;margin-top:6px;font-size:10px;color:#9A8A92;background:#F7F0F4;padding:2px 8px;border-radius:99px}
html body .lv-hero{position:relative;overflow:hidden}
html body .lv-hero:before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px),
                   radial-gradient(circle at 70% 20%, rgba(255,255,255,.4) 0 1.5px, transparent 3px),
                   radial-gradient(circle at 85% 60%, rgba(255,255,255,.5) 0 2px, transparent 3px),
                   radial-gradient(circle at 40% 75%, rgba(255,255,255,.35) 0 1.5px, transparent 3px);
  animation: lvStars 6s linear infinite;
}
@keyframes lvStars{0%{opacity:.4}50%{opacity:.95}100%{opacity:.4}}
html body .lv-hero:after{animation: lvFloat 5s ease-in-out infinite}
@keyframes lvFloat{0%,100%{transform:rotate(12deg) translateY(0)}50%{transform:rotate(8deg) translateY(-8px)}}


/* 搭子: 一行两个小卡 + 介绍 */
html body .dz2-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 14px 20px}
html body .dz2-card{background:#fff;border-radius:16px;padding:12px;border:1px solid rgba(255,190,212,.55);box-shadow:0 4px 14px rgba(255,120,160,.08)}
html body .dz2-top{display:flex;flex-direction:column;align-items:center;text-align:center}
html body .dz2-nm{font-size:13.5px;font-weight:900;color:#2B2226;margin-top:6px}
html body .dz2-meta{font-size:10.5px;color:#9A8A92;margin-top:2px}
html body .dz2-intro{font-size:11.5px;color:#6B5A62;line-height:1.55;margin-top:8px;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dz2-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
html body .dz2-tags span{font-size:9.5px;background:#FFF1F5;color:#FF5C8A;padding:2px 6px;border-radius:6px;font-weight:700}
html body .dz2-btn{margin-top:9px;text-align:center;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF7FA6,#FF3B6B);border-radius:99px;padding:7px 0}
/* 返回解冻: 关闭后的浮层不再吃触摸 */
html body #stack:not(.open){pointer-events:none !important}
html body #stack:not(.open) *{pointer-events:none !important}

/* ===== 交付前统一美化/手感 ===== */
html body #main{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
html body .empty{color:#B9A3AD;font-size:13px;line-height:1.8}
html body .tq-tabs>div{transition:color .18s,background .18s}
html body .fh-q,html body .art-card,html body .dz2-card,html body .lv-card,html body .sg-row{transition:transform .16s ease,box-shadow .16s ease}
html body .fh-q:active,html body .art-card:active,html body .dz2-card:active,html body .lv-card:active{transform:scale(.97)}
html body input,html body textarea{transition:border-color .18s, box-shadow .18s}
html body input:focus,html body textarea:focus{border-color:#FFB7CE !important;box-shadow:0 0 0 3px rgba(255,120,160,.12) !important}
html body .btn,html body .send,html body [class*="btn"]{transition:transform .14s ease,filter .14s ease}
html body .btn:active,html body .send:active{transform:scale(.97);filter:brightness(.97)}
html body #main::-webkit-scrollbar,html body .sbody::-webkit-scrollbar{width:0;height:0}
html body .shead{backdrop-filter:saturate(1.2) blur(6px)}

/* 返回键加大(聊天页/所有二级页) */
html body .shead .back{width:44px !important;height:44px !important;font-size:30px !important;line-height:1 !important;display:flex !important;align-items:center !important;justify-content:center !important;margin-left:-8px !important;border-radius:50% !important;color:#2B2226 !important}
html body .shead .back:active{background:rgba(0,0,0,.05)}
html body .chat-shead .back{width:46px !important;height:46px !important;font-size:32px !important;margin-left:-10px !important}

/* 直播入口(娱乐页顶部) */
html body .live-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:2px 0 12px;padding:14px 16px;border-radius:18px;position:relative;overflow:hidden;
  background:linear-gradient(120deg,#2B0B3A 0%,#5B1246 45%,#B0155A 100%);
  border:1px solid rgba(255,120,180,.35);box-shadow:0 10px 26px rgba(200,20,90,.35)}
html body .live-entry:after{content:'';position:absolute;right:-30px;top:-40px;width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,90,150,.55),transparent 70%)}
html body .le-left{position:relative;z-index:1}
html body .le-live{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:900;color:#fff;
  background:#FF2D55;padding:2px 8px;border-radius:99px;letter-spacing:1px}
html body .le-live i{width:6px;height:6px;border-radius:50%;background:#fff;animation:leBlink 1.1s infinite}
@keyframes leBlink{0%,100%{opacity:1}50%{opacity:.25}}
html body .le-t{font-size:18px;font-weight:900;color:#fff;margin-top:7px;letter-spacing:.5px}
html body .le-s{font-size:11px;color:rgba(255,255,255,.72);margin-top:4px}
html body .le-btn{position:relative;z-index:1;flex:0 0 auto;font-size:12px;font-weight:900;color:#FFD9E6;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);padding:8px 14px;border-radius:99px}
html body .live-entry:active{transform:scale(.985)}

/* ===== 直播列表 / 预告房间 / 招募 ===== */
html body .lv-shead{background:#12060F !important;border-bottom:1px solid rgba(255,120,180,.18) !important}
html body .lv-shead .st{color:#fff !important}
html body .lv-shead .back{color:#fff !important}
html body .lv-rec{font-size:11.5px;font-weight:900;color:#FFD9E6;background:rgba(255,45,85,.18);
  border:1px solid rgba(255,120,160,.45);padding:6px 12px;border-radius:99px;margin-right:8px}
html body .lv-body{background:#12060F;padding:12px 14px 30px}
html body .lv-hero{position:relative;overflow:hidden;border-radius:18px;padding:18px;
  background:linear-gradient(120deg,#2B0B3A,#5B1246 45%,#B0155A);box-shadow:0 10px 26px rgba(200,20,90,.3)}
html body .lv-hero:after{content:'';position:absolute;right:-24px;top:-40px;width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,90,150,.5),transparent 70%)}
html body .lv-live{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:900;color:#fff;background:#FF2D55;padding:2px 8px;border-radius:99px;letter-spacing:1px}
html body .lv-live i{width:6px;height:6px;border-radius:50%;background:#fff;animation:leBlink 1.1s infinite}
html body .lv-hero-t{font-size:19px;font-weight:900;color:#fff;margin-top:8px}
html body .lv-hero-s{font-size:11.5px;color:rgba(255,255,255,.75);margin-top:5px}
html body .lv-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px;-webkit-overflow-scrolling:touch}
html body .lv-tabs::-webkit-scrollbar{display:none}
html body .lv-tab{flex:0 0 auto;font-size:12px;font-weight:800;color:#D9B9C6;background:rgba(255,255,255,.06);
  padding:7px 13px;border-radius:99px;border:1px solid rgba(255,255,255,.08)}
html body .lv-tab.on{background:linear-gradient(135deg,#FF5C8A,#C026D3);color:#fff;border-color:transparent}
html body .lv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
html body .lv-room{background:rgba(255,255,255,.05);border:1px solid rgba(255,150,190,.14);border-radius:16px;overflow:hidden}
html body .lv-cover{position:relative;aspect-ratio:1/1;overflow:hidden;background:#2A0F22}
html body .lv-cover img{width:100%;height:100%;object-fit:cover;opacity:.92}
html body .lv-badge{position:absolute;left:8px;top:8px;font-size:9.5px;font-weight:900;color:#fff;background:rgba(255,45,85,.9);padding:2px 7px;border-radius:6px}
html body .lv-cat{position:absolute;right:8px;top:8px;font-size:9.5px;color:#FFE3ED;background:rgba(0,0,0,.45);padding:2px 7px;border-radius:6px}
html body .lv-rt{font-size:12.5px;font-weight:800;color:#fff;line-height:1.45;padding:8px 9px 0;height:38px;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html body .lv-rmeta{font-size:10px;color:#C9A8B6;padding:4px 9px 0}
html body .lv-rfoot{display:flex;align-items:center;justify-content:space-between;padding:6px 9px 9px;gap:6px}
html body .lv-time{font-size:9.5px;color:#FF8FB0}
html body .lv-resv{font-size:9.5px;font-weight:800;color:#fff;background:rgba(255,92,138,.9);padding:3px 8px;border-radius:99px;flex:0 0 auto}
html body .lv-resv.on{background:rgba(255,255,255,.12);color:#FFD9E6}
html body .lv-apply{margin:18px 0 6px;text-align:center;font-size:12px;color:#C9A8B6}
html body .lv-apply b{color:#FF8FB0}
html body .lv-room-body{background:#12060F;padding:0 0 30px}
html body .lv-room-cover{position:relative;height:240px;overflow:hidden;background:#2A0F22}
html body .lv-room-cover img{width:100%;height:100%;object-fit:cover;filter:brightness(.75)}
html body .lv-room-mask{position:absolute;inset:auto 0 0 0;padding:16px;background:linear-gradient(transparent,rgba(10,2,8,.92))}
html body .lv-room-t{display:block;font-size:17px;font-weight:900;color:#fff;margin-top:8px;line-height:1.4}
html body .lv-host{display:flex;align-items:center;gap:10px;padding:14px 16px}
html body .lv-host-av{width:44px;height:44px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,120,160,.5)}
html body .lv-host-av img{width:100%;height:100%;object-fit:cover}
html body .lv-host-nm{font-size:14.5px;font-weight:900;color:#fff}
html body .lv-host-sub{font-size:11px;color:#C9A8B6;margin-top:3px}
html body .lv-host-live{margin-left:auto;font-size:10.5px;color:#FFD9E6;background:rgba(255,255,255,.1);padding:5px 10px;border-radius:99px}
html body .lv-notice{margin:0 16px;padding:12px 14px;border-radius:14px;background:rgba(255,92,138,.1);
  border:1px solid rgba(255,120,160,.25);color:#FFD9E6;font-size:12px;line-height:1.7}
html body .lv-info{display:flex;gap:10px;padding:14px 16px}
html body .lv-info>div{flex:1;background:rgba(255,255,255,.05);border-radius:14px;padding:12px;text-align:center}
html body .lv-info b{display:block;font-size:15px;color:#fff;font-weight:900}
html body .lv-info span{display:block;font-size:10.5px;color:#C9A8B6;margin-top:4px}
html body .lv-bigbtn{display:block;margin:6px 16px 0;width:calc(100% - 32px);height:48px;border:none;border-radius:14px;
  font-size:15px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#C026D3);box-shadow:0 8px 20px rgba(192,38,211,.35)}
html body .lv-bigbtn.on{background:rgba(255,255,255,.12);color:#FFD9E6;box-shadow:none}
html body .lv-room-apply{text-align:center;font-size:12px;color:#C9A8B6;margin-top:14px}
html body .lv-room-apply b{color:#FF8FB0}
html body .lv-apply-tip{background:rgba(255,92,138,.1);border:1px solid rgba(255,120,160,.25);color:#FF8FB0;
  font-size:12px;line-height:1.7;padding:12px 14px;border-radius:14px;margin-bottom:14px}

/* 直播: 浅色主题覆盖(与 App 整体一致) */
html body .lv-shead{background:#fff !important;border-bottom:1px solid #F6E7EE !important}
html body .lv-shead .st,html body .lv-shead .back{color:#2B2226 !important}
html body .lv-rec{color:#FF3B6B !important;background:#FFF1F5 !important;border:1px solid #FFD3E1 !important}
html body .lv-body{background:#FFF7FA !important}
html body .lv-tab{color:#8A7A82 !important;background:#F7F0F4 !important;border:1px solid transparent !important}
html body .lv-tab.on{background:linear-gradient(135deg,#FF5C8A,#C026D3) !important;color:#fff !important}
html body .lv-room{background:#fff !important;border:1px solid #FBE3EC !important;box-shadow:0 4px 14px rgba(255,120,160,.08) !important}
html body .lv-rt{color:#2B2226 !important}
html body .lv-rmeta{color:#9A8A92 !important}
html body .lv-time{color:#FF5C8A !important}
html body .lv-resv{background:linear-gradient(135deg,#FF5C8A,#FF3B6B) !important;color:#fff !important}
html body .lv-resv.on{background:#F3EBEF !important;color:#9A8A92 !important}
html body .lv-apply{color:#9A8A92 !important}
html body .lv-apply b{color:#FF3B6B !important}
html body .lv-room-body{background:#FFF7FA !important}
html body .lv-host-nm{color:#2B2226 !important}
html body .lv-host-sub{color:#9A8A92 !important}
html body .lv-host-live{color:#FF3B6B !important;background:#FFF1F5 !important}
html body .lv-notice{background:#FFF1F5 !important;border:1px solid #FFD3E1 !important;color:#8A5A6A !important}
html body .lv-info>div{background:#fff !important;border:1px solid #FBE3EC !important}
html body .lv-info b{color:#2B2226 !important}
html body .lv-info span{color:#9A8A92 !important}
html body .lv-bigbtn{background:linear-gradient(135deg,#FF5C8A,#C026D3) !important;color:#fff !important}
html body .lv-bigbtn.on{background:#F3EBEF !important;color:#9A8A92 !important}
html body .lv-room-apply{color:#9A8A92 !important}
html body .lv-room-apply b{color:#FF3B6B !important}
html body .lv-apply-tip{background:#FFF1F5 !important;border:1px solid #FFD3E1 !important;color:#8A5A6A !important}
html body .lv-room-cover img{filter:none !important}
html body .lv-room-mask{background:linear-gradient(transparent,rgba(0,0,0,.55)) !important}

html body .lv-rt{height:auto !important;min-height:34px !important;line-height:1.4 !important;padding-bottom:2px !important}
html body .lv-room{display:flex;flex-direction:column}
html body .lv-rfoot{margin-top:auto}

/* 直播列表/房间可滚动 */
html body .lv-body{height:calc(100vh - 56px) !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;overscroll-behavior:contain;padding-bottom:40px !important}
html body .lv-room-body{height:calc(100vh - 56px) !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;padding-bottom:40px !important}

/* 全机型统一: 返回键热区/点击延迟/滚动边界 */
html body .shead .back{min-width:44px !important;min-height:44px !important;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html body .shead .back *{pointer-events:none}
html body #stack{overscroll-behavior:contain}
html body .sbody{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html body #main{overscroll-behavior-y:contain}
/* ==========================================================================
   乐聊 UI 美化 v1 (2026-11-12)  —— 现代年轻人审美
   范围：广场 / 消息 / 我的 / 会员 / 充值 / 钱包 / 礼物 / 装扮 / 个人主页
   不动：交友首页（已改版）、娱乐页面
   设计语言：大圆角 + 柔和阴影 + 玻璃拟态 + 渐变高光 + 微动效
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --ui-pink: #FF4D7D;
  --ui-pink-2: #FF7BA9;
  --ui-purple: #A855F7;
  --ui-blue: #5B8DEF;
  --ui-cyan: #22D3EE;
  --ui-green: #10B981;
  --ui-amber: #F59E0B;
  --ui-ink: #12121A;
  --ui-ink-2: #5A5A6E;
  --ui-ink-3: #9A9AAE;
  --ui-bg: #F7F7FB;
  --ui-card: #FFFFFF;
  --ui-line: #EFEFF5;
  --ui-r-sm: 12px;
  --ui-r: 18px;
  --ui-r-lg: 24px;
  --ui-r-xl: 28px;
  --ui-sh-sm: 0 2px 8px rgba(18,18,26,.04);
  --ui-sh: 0 4px 20px rgba(18,18,26,.06);
  --ui-sh-md: 0 8px 28px rgba(18,18,26,.09);
  --ui-sh-pink: 0 8px 24px rgba(255,77,125,.28);
  --ui-sh-purple: 0 8px 24px rgba(168,85,247,.28);
  --ui-grad-pink: linear-gradient(135deg,#FF4D7D 0%,#FF7BA9 100%);
  --ui-grad-purple: linear-gradient(135deg,#A855F7 0%,#7C3AED 100%);
  --ui-grad-blue: linear-gradient(135deg,#5B8DEF 0%,#22D3EE 100%);
  --ui-grad-gold: linear-gradient(135deg,#FFD54A 0%,#FF9A3C 100%);
  --ui-grad-mint: linear-gradient(135deg,#10B981 0%,#34D399 100%);
}

/* ==========================================================================
   1. 全局基础
   ========================================================================== */
body {
  background: var(--ui-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 顶部栏统一美化 */
#main .bar1 {
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(239,239,245,.8) !important;
  padding: 10px 16px !important;
  position: sticky;
  top: 0;
  z-index: 20;
}
#main .bar1 .tb-title {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.4px;
  background: var(--ui-grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#main .bar1 .tb-ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--ui-sh-sm);
  font-size: 15px;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
#main .bar1 .tb-ico:active { transform: scale(.88); }

/* 搜索框统一 */
#main .search {
  background: #F3F4F8 !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  height: 36px !important;
  display: flex; align-items: center; gap: 7px;
  transition: background .2s, box-shadow .2s;
}
#main .search:focus-within {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,77,125,.18), var(--ui-sh-sm);
}
#main .search input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 13px !important;
  color: var(--ui-ink);
  flex: 1;
}
#main .search input::placeholder { color: var(--ui-ink-3); }

/* ==========================================================================
   2. 广场页
   ========================================================================== */
#main .tabs {
  display: flex !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  overflow-x: auto;
  scrollbar-width: none;
  background: transparent !important;
  border: none !important;
}
#main .tabs::-webkit-scrollbar { display: none; }
#main .tabs > div {
  flex: 0 0 auto;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--ui-ink-2) !important;
  background: #fff !important;
  box-shadow: var(--ui-sh-sm);
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
  white-space: nowrap;
}
#main .tabs > div.on {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  box-shadow: var(--ui-sh-pink) !important;
  transform: translateY(-1px);
}
#main .tabs > div:active { transform: scale(.94); }

/* 动态卡片 */
#main .post,
#main .pcard-post,
#main .feed-item {
  background: #fff !important;
  border-radius: var(--ui-r-lg) !important;
  box-shadow: var(--ui-sh) !important;
  margin: 0 16px 14px !important;
  padding: 16px !important;
  border: none !important;
  transition: transform .2s, box-shadow .2s;
}
#main .post:active { transform: scale(.985); box-shadow: var(--ui-sh-md) !important; }

/* 头像 */
#main .post .av,
#main .post .avatar {
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.08);
}

/* 点赞动效 */
#main .post .like,
#main .post [data-like] {
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
#main .post .like:active,
#main .post [data-like]:active {
  transform: scale(1.25);
}

/* ==========================================================================
   3. 消息页
   ========================================================================== */
#main .msg-readall {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--ui-pink) !important;
  background: rgba(255,77,125,.1) !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  transition: all .18s;
}
#main .msg-readall:active { transform: scale(.94); background: rgba(255,77,125,.18) !important; }

#main .msg-search-box {
  background: #F3F4F8 !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  height: 40px !important;
  display: flex; align-items: center;
  transition: all .2s;
}
#main .msg-search-box:focus-within {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,77,125,.18), var(--ui-sh-sm);
}
#main .msg-search-box input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 13.5px !important;
  width: 100%;
}

#main .msg-cats {
  display: flex !important;
  gap: 8px !important;
  padding: 10px 16px 14px !important;
  overflow-x: auto;
  scrollbar-width: none;
}
#main .msg-cats::-webkit-scrollbar { display: none; }
#main .msg-cats .mc {
  flex: 0 0 auto;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ui-ink-2) !important;
  background: #fff !important;
  box-shadow: var(--ui-sh-sm);
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
}
#main .msg-cats .mc.on {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  box-shadow: var(--ui-sh-pink) !important;
}
#main .msg-cats .mc:active { transform: scale(.94); }

/* 聊天列表 */
#main .chatlist { padding: 0 12px !important; }
#main .chatlist .lrow {
  background: #fff !important;
  border-radius: var(--ui-r) !important;
  padding: 12px 14px !important;
  margin-bottom: 8px !important;
  box-shadow: var(--ui-sh-sm) !important;
  border: none !important;
  display: flex; align-items: center; gap: 12px;
  transition: transform .18s, box-shadow .18s;
}
#main .chatlist .lrow:active {
  transform: scale(.985);
  box-shadow: var(--ui-sh) !important;
}
#main .chatlist .lrow .avwrap {
  position: relative;
  flex: 0 0 auto;
}
#main .chatlist .lrow .avwrap img,
#main .chatlist .lrow .avwrap .av {
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.08);
}
#main .chatlist .lrow .badge,
#main .chatlist .lrow .unread {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  min-width: 18px; height: 18px;
  border-radius: 999px !important;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(255,77,125,.4);
  animation: uiBadgePulse 2s infinite;
}
@keyframes uiBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
#main .chatlist .lrow .lt {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: var(--ui-ink) !important;
}
#main .chatlist .lrow .ls {
  font-size: 12px !important;
  color: var(--ui-ink-3) !important;
  margin-top: 3px;
}

#main .rel-tag {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  margin-left: 6px;
}
#main .rel-tag.friend {
  background: rgba(16,185,129,.12) !important;
  color: var(--ui-green) !important;
}
#main .rel-tag.stranger {
  background: rgba(154,154,174,.12) !important;
  color: var(--ui-ink-3) !important;
}

#main .goto-btn {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  box-shadow: var(--ui-sh-pink) !important;
  transition: transform .18s;
}
#main .goto-btn:active { transform: scale(.92); }

/* ==========================================================================
   4. 我的页面
   ========================================================================== */
#main .mine-hd {
  border-radius: 0 0 var(--ui-r-xl) var(--ui-r-xl) !important;
  box-shadow: 0 12px 40px rgba(255,77,125,.22) !important;
  position: relative;
  overflow: hidden;
}
#main .mine-av {
  position: relative;
  animation: uiAvatarGlow 3s ease-in-out infinite;
}
@keyframes uiAvatarGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(0,0,0,.22), 0 0 0 0 rgba(255,255,255,.4); }
  50% { box-shadow: 0 8px 26px rgba(0,0,0,.22), 0 0 0 8px rgba(255,255,255,0); }
}
#main .mine-nm {
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: -.3px;
}
#main .mine-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 8px;
}
#main .mt-chip {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.22) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff !important;
}
#main .mt-chip.more { background: rgba(255,255,255,.14) !important; }

/* VIP 按钮 + 扫光 */
#main .mine-edit {
  background: var(--ui-grad-gold) !important;
  color: #7A3B00 !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255,170,40,.45) !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
#main .mine-edit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: uiShine 3s infinite;
}
@keyframes uiShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
#main .mine-edit:active { transform: scale(.94); }

/* 面板卡片 */
#main .panel {
  background: #fff !important;
  border-radius: var(--ui-r-lg) !important;
  box-shadow: var(--ui-sh) !important;
  border: none !important;
  margin: 12px 12px 0 !important;
  padding: 16px !important;
}

/* 钱包三宫格 */
#main .wallet3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  background: transparent !important;
  padding: 0 !important;
}
#main .wallet3 > div {
  background: linear-gradient(160deg,#FFF7FA,#FFF0F6) !important;
  border-radius: var(--ui-r) !important;
  padding: 14px 10px !important;
  text-align: center;
  border: 1px solid rgba(255,77,125,.08);
  transition: transform .2s, box-shadow .2s;
}
#main .wallet3 > div:active {
  transform: scale(.96);
  box-shadow: var(--ui-sh);
}
#main .wallet3 .sub {
  font-size: 11px !important;
  color: var(--ui-ink-3) !important;
  font-weight: 600 !important;
  line-height: 1.4;
}
#main .wallet3 .n {
  font-size: 22px !important;
  font-weight: 900 !important;
  margin-top: 6px;
  letter-spacing: -.5px;
  color: var(--ui-pink);
}

/* 通用按钮 */
#main .btn {
  border-radius: var(--ui-r-sm) !important;
  font-weight: 800 !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  border: none !important;
}
#main .btn:active { transform: scale(.95); }

/* ==========================================================================
   5. 会员中心 / 充值 / 钱包
   ========================================================================== */
/* 会员卡片 */
#main .vip-card,
#main .vip-plan {
  border-radius: var(--ui-r-lg) !important;
  box-shadow: var(--ui-sh-md) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
}
#main .vip-card:active,
#main .vip-plan:active {
  transform: scale(.97);
}
/* 推荐套餐高亮 */
#main .vip-plan.on,
#main .vip-plan.recommend {
  box-shadow: 0 0 0 2px var(--ui-pink), var(--ui-sh-pink) !important;
  transform: translateY(-2px);
}
/* 价格数字 */
#main .vip-price,
#main .price {
  font-weight: 900 !important;
  letter-spacing: -.5px;
  background: var(--ui-grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 充值金额格子 */
#main .amount,
#main .coin-item,
#main .recharge-item {
  border-radius: var(--ui-r) !important;
  border: 2px solid transparent !important;
  background: #fff !important;
  box-shadow: var(--ui-sh-sm) !important;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
#main .amount:active,
#main .coin-item:active,
#main .recharge-item:active {
  transform: scale(.95);
}
#main .amount.on,
#main .coin-item.on,
#main .recharge-item.on {
  border-color: var(--ui-pink) !important;
  background: linear-gradient(160deg,#FFF7FA,#FFF0F6) !important;
  box-shadow: 0 0 0 3px rgba(255,77,125,.12), var(--ui-sh) !important;
}
/* 赠送角标 */
#main .amount .tag,
#main .coin-item .tag {
  position: absolute;
  top: 0; right: 0;
  background: var(--ui-grad-pink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 var(--ui-r) 0 10px;
}

/* 支付按钮 */
#main .pay-btn,
#main .submit-btn {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  padding: 14px !important;
  border: none !important;
  box-shadow: var(--ui-sh-pink) !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
#main .pay-btn::after,
#main .submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: uiShine 2.5s infinite;
}
#main .pay-btn:active,
#main .submit-btn:active { transform: scale(.96); }

/* ==========================================================================
   6. 礼物 / 装扮
   ========================================================================== */
#main .gift-item,
#main .gift-card {
  border-radius: var(--ui-r) !important;
  background: #fff !important;
  box-shadow: var(--ui-sh-sm) !important;
  border: 2px solid transparent !important;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
#main .gift-item:active,
#main .gift-card:active {
  transform: scale(.94);
}
#main .gift-item.on,
#main .gift-card.on {
  border-color: var(--ui-pink) !important;
  background: linear-gradient(160deg,#FFF7FA,#FFF0F6) !important;
  box-shadow: 0 0 0 3px rgba(255,77,125,.12), var(--ui-sh) !important;
}
/* 礼物图标浮动 */
#main .gift-item .gift-ic,
#main .gift-card .gift-ic {
  animation: uiFloat 3s ease-in-out infinite;
}
@keyframes uiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 装扮预览 */
#main .decor-item,
#main .frame-item {
  border-radius: var(--ui-r) !important;
  background: #fff !important;
  box-shadow: var(--ui-sh-sm) !important;
  border: 2px solid transparent !important;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
}
#main .decor-item:active,
#main .frame-item:active { transform: scale(.94); }
#main .decor-item.on,
#main .frame-item.on {
  border-color: var(--ui-purple) !important;
  box-shadow: 0 0 0 3px rgba(168,85,247,.12), var(--ui-sh-purple) !important;
}

/* ==========================================================================
   7. 个人主页
   ========================================================================== */
#main .profile-head,
#main .pf-hero {
  border-radius: 0 0 var(--ui-r-xl) var(--ui-r-xl) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.12) !important;
  position: relative;
  overflow: hidden;
}
/* 主页信息卡 */
#main .pf-card,
#main .profile-card {
  background: #fff !important;
  border-radius: var(--ui-r-lg) !important;
  box-shadow: var(--ui-sh) !important;
  border: none !important;
  margin: 12px !important;
  padding: 16px !important;
}
/* 照片墙 */
#main .pf-photos img,
#main .photo-wall img {
  border-radius: var(--ui-r-sm) !important;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
#main .pf-photos img:active,
#main .photo-wall img:active {
  transform: scale(.95);
}

/* ==========================================================================
   8. 通用组件美化
   ========================================================================== */
/* 空状态 */
#main .empty {
  text-align: center;
  padding: 60px 20px !important;
  color: var(--ui-ink-3) !important;
  font-size: 13.5px !important;
  line-height: 1.7;
}
#main .empty::before {
  content: '🌸';
  display: block;
  font-size: 48px;
  margin-bottom: 14px;
  opacity: .5;
  animation: uiFloat 3s ease-in-out infinite;
}

/* 加载中 */
#main .loading {
  text-align: center;
  padding: 60px 20px !important;
  color: var(--ui-ink-3) !important;
  font-size: 13px !important;
}
#main .loading::before {
  content: '';
  display: inline-block;
  width: 28px; height: 28px;
  border: 3px solid rgba(255,77,125,.15);
  border-top-color: var(--ui-pink);
  border-radius: 50%;
  animation: uiSpin .8s linear infinite;
  margin-bottom: 12px;
}
@keyframes uiSpin {
  to { transform: rotate(360deg); }
}

/* Toast 提示 */
.toast,
#toast {
  border-radius: 999px !important;
  background: rgba(18,18,26,.88) !important;
  backdrop-filter: blur(20px);
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 12px 22px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.24) !important;
  animation: uiToastIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes uiToastIn {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 底部弹层 */
#sheet {
  border-radius: var(--ui-r-xl) var(--ui-r-xl) 0 0 !important;
  box-shadow: 0 -8px 40px rgba(0,0,0,.14) !important;
  background: #fff !important;
}
#sheet::before {
  content: '';
  display: block;
  width: 36px; height: 4px;
  background: #E0E0E8;
  border-radius: 2px;
  margin: 10px auto 4px;
}

/* 遮罩 */
#mask {
  background: rgba(18,18,26,.45) !important;
  backdrop-filter: blur(4px);
}

/* 输入框统一 */
#main input[type="text"],
#main input[type="password"],
#main input[type="number"],
#main textarea {
  border-radius: var(--ui-r-sm) !important;
  border: 1.5px solid var(--ui-line) !important;
  background: #FAFAFD !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  transition: all .2s;
  outline: none !important;
}
#main input:focus,
#main textarea:focus {
  border-color: var(--ui-pink) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255,77,125,.1) !important;
}

/* 滚动条美化 */
#main::-webkit-scrollbar,
.scroll::-webkit-scrollbar {
  width: 0;
  display: none;
}

/* ==========================================================================
   9. 动效：页面进入
   ========================================================================== */
@keyframes uiFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
#main > * {
  animation: uiFadeUp .32s cubic-bezier(.22,1,.36,1) both;
}
/* 列表项依次进入 */
#main .chatlist .lrow,
#main .post,
#main .panel {
  animation: uiFadeUp .3s cubic-bezier(.22,1,.36,1) both;
}
#main .chatlist .lrow:nth-child(1) { animation-delay: .02s; }
#main .chatlist .lrow:nth-child(2) { animation-delay: .04s; }
#main .chatlist .lrow:nth-child(3) { animation-delay: .06s; }
#main .chatlist .lrow:nth-child(4) { animation-delay: .08s; }
#main .chatlist .lrow:nth-child(5) { animation-delay: .10s; }
#main .chatlist .lrow:nth-child(6) { animation-delay: .12s; }
#main .chatlist .lrow:nth-child(n+7) { animation-delay: .14s; }

/* ==========================================================================
   10. 底部导航栏美化
   ========================================================================== */
#tabbar {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(239,239,245,.9) !important;
  box-shadow: 0 -4px 24px rgba(18,18,26,.06) !important;
}
#tabbar .tab {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
#tabbar .tab:active { transform: scale(.9); }
#tabbar .tab.on {
  color: var(--ui-pink) !important;
}
#tabbar .tab.on .ti {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(255,77,125,.35));
}
#tabbar .tab .ti {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), filter .25s;
}

/* ==========================================================================
   11. 减少动效（无障碍）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   12. 补充美化 v1.1 —— 登录页 / 聊天页 / 个人主页 / 详情页
   ========================================================================== */

/* ---------- 登录 / 注册页 ---------- */
#loginPage,
.login-page,
.login-wrap {
  background: linear-gradient(160deg, #FFF0F6 0%, #F5F0FF 50%, #EEF4FF 100%) !important;
  min-height: 100vh;
}
/* 登录卡片 */
.login-card,
#loginBox {
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--ui-r-xl) !important;
  box-shadow: 0 20px 60px rgba(255,77,125,.16), 0 0 0 1px rgba(255,255,255,.6) inset !important;
  border: none !important;
  padding: 28px 22px !important;
}
/* 登录 logo */
.login-logo,
.login-title {
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: -1px;
  background: var(--ui-grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 8px;
}
/* 登录输入框 */
.login-card input,
#loginBox input {
  height: 48px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(255,77,125,.12) !important;
  background: rgba(255,255,255,.9) !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  transition: all .22s;
}
.login-card input:focus,
#loginBox input:focus {
  border-color: var(--ui-pink) !important;
  box-shadow: 0 0 0 4px rgba(255,77,125,.1) !important;
  background: #fff !important;
}
/* 登录按钮 */
.login-btn,
#loginBtn {
  height: 50px !important;
  border-radius: 999px !important;
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: var(--ui-sh-pink) !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.login-btn::after,
#loginBtn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: uiShine 2.8s infinite;
}
.login-btn:active,
#loginBtn:active { transform: scale(.96); }

/* ---------- 聊天页气泡 ---------- */
/* 对方气泡 */
#stack .bub.them,
#stack .bubble.them,
#stack .msg.them .bub {
  background: #fff !important;
  border-radius: 4px 18px 18px 18px !important;
  box-shadow: 0 2px 10px rgba(18,18,26,.06) !important;
  color: var(--ui-ink) !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
/* 我的气泡 */
#stack .bub.mine,
#stack .bubble.mine,
#stack .msg.mine .bub {
  background: var(--ui-grad-pink) !important;
  border-radius: 18px 4px 18px 18px !important;
  box-shadow: 0 4px 16px rgba(255,77,125,.28) !important;
  color: #fff !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
/* 气泡出现动效 */
@keyframes uiBubIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#stack .bub,
#stack .bubble {
  animation: uiBubIn .26s cubic-bezier(.34,1.56,.64,1) both;
}
/* 聊天输入栏 */
#stack .tq-chat-input,
#stack .chat-input-bar {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--ui-line) !important;
  padding: 10px 12px !important;
}
#stack .tq-chat-input input,
#stack .chat-input-bar input {
  background: #F3F4F8 !important;
  border-radius: 999px !important;
  border: none !important;
  padding: 11px 18px !important;
  font-size: 14px !important;
  transition: all .2s;
}
#stack .tq-chat-input input:focus,
#stack .chat-input-bar input:focus {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,77,125,.15) !important;
}
/* 发送按钮 */
#stack .tq-ci-send,
#stack .chat-send {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255,77,125,.32) !important;
  transition: transform .18s;
}
#stack .tq-ci-send:active,
#stack .chat-send:active { transform: scale(.92); }
/* 聊天顶部栏 */
#stack .shead.chat-shead {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ui-line) !important;
  box-shadow: 0 2px 12px rgba(18,18,26,.04) !important;
}
/* 返回按钮 */
#stack .shead .back {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #F3F4F8;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--ui-ink);
  transition: all .18s;
}
#stack .shead .back:active {
  background: #E8E8F0;
  transform: scale(.9);
}

/* ---------- 个人主页 ---------- */
#stack .pf-hero,
#stack .profile-head {
  border-radius: 0 0 var(--ui-r-xl) var(--ui-r-xl) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.14) !important;
}
/* 主页操作按钮 */
#stack .pf-actions .btn,
#stack .profile-actions .btn {
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 12px 20px !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
#stack .pf-actions .btn:active,
#stack .profile-actions .btn:active { transform: scale(.94); }

/* ---------- 详情页 / 弹层通用 ---------- */
#stack .sbody {
  background: var(--ui-bg) !important;
}
/* 卡片列表项 */
#stack .lrow {
  background: #fff !important;
  border-radius: var(--ui-r) !important;
  padding: 12px 14px !important;
  margin-bottom: 8px !important;
  box-shadow: var(--ui-sh-sm) !important;
  border: none !important;
  transition: transform .18s;
}
#stack .lrow:active { transform: scale(.985); }

/* ---------- 表单 / 设置项 ---------- */
#stack .form-row,
#stack .setting-row {
  background: #fff !important;
  border-radius: var(--ui-r) !important;
  padding: 14px 16px !important;
  margin-bottom: 8px !important;
  box-shadow: var(--ui-sh-sm) !important;
  border: none !important;
  transition: background .18s;
}
#stack .form-row:active,
#stack .setting-row:active { background: #FAFAFD !important; }

/* ---------- 开关 ---------- */
.switch,
.toggle {
  transition: background .22s cubic-bezier(.34,1.56,.64,1);
}
.switch.on,
.toggle.on {
  background: var(--ui-grad-pink) !important;
  box-shadow: 0 2px 10px rgba(255,77,125,.35) !important;
}

/* ---------- 徽章 / 等级 ---------- */
.vip-badge,
.noble-badge {
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(255,170,40,.35);
}

/* ---------- 骨架屏 ---------- */
.skeleton,
.skel {
  background: linear-gradient(90deg, #EFEFF5 25%, #F7F7FB 50%, #EFEFF5 75%) !important;
  background-size: 200% 100% !important;
  animation: uiSkel 1.4s infinite !important;
  border-radius: var(--ui-r-sm) !important;
}
@keyframes uiSkel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- 分割线 ---------- */
#main hr,
#stack hr {
  border: none !important;
  height: 1px !important;
  background: var(--ui-line) !important;
  margin: 16px 0 !important;
}

/* ---------- 标签页（详情页内） ---------- */
#stack .tabs > div {
  border-radius: 999px !important;
  padding: 7px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all .2s;
}
#stack .tabs > div.on {
  background: var(--ui-grad-pink) !important;
  color: #fff !important;
  box-shadow: var(--ui-sh-pink) !important;
}
/* ==========================================================================
   乐聊 UI 深度美化 v2 (2026-11-12)
   设计主题：暧昧社交 · 心动氛围 · 现代年轻人审美
   核心元素：渐变光晕 / 玻璃拟态 / 微光粒子 / 心动脉冲 / 卡片浮起
   ========================================================================== */

/* ---------- 全局氛围：柔和渐变背景 ---------- */
#main {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,77,125,.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(168,85,247,.06), transparent 60%),
    #F7F7FB !important;
  min-height: 100vh;
}

/* ==========================================================================
   A. 顶部栏 —— 玻璃质感 + 渐变标题
   ========================================================================== */
#main .bar1 {
  background: rgba(255,255,255,.72) !important;
  backdrop-filter: saturate(200%) blur(24px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(24px) !important;
  border-bottom: 1px solid rgba(255,255,255,.6) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 4px 20px rgba(255,77,125,.04) !important;
  padding: 12px 16px !important;
}
#main .bar1 .tb-title {
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: -.6px;
  background: linear-gradient(120deg, #FF4D7D 0%, #FF7BA9 40%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
#main .bar1 .tb-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF4D7D, transparent);
}

/* ==========================================================================
   B. 搜索框 —— 内发光 + 聚焦扩散
   ========================================================================== */
#main .search,
#main .msg-search-box {
  background: rgba(255,255,255,.9) !important;
  border: 1.5px solid rgba(255,77,125,.08) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.03), 0 2px 8px rgba(255,77,125,.04) !important;
  transition: all .28s cubic-bezier(.34,1.56,.64,1) !important;
}
#main .search:focus-within,
#main .msg-search-box:focus-within {
  background: #fff !important;
  border-color: rgba(255,77,125,.35) !important;
  box-shadow: 0 0 0 4px rgba(255,77,125,.1), 0 4px 16px rgba(255,77,125,.12) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   C. 标签栏 —— 胶囊 + 渐变激活 + 光晕
   ========================================================================== */
#main .tabs > div,
#main .msg-cats .mc {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 2px 10px rgba(18,18,26,.05) !important;
  transition: all .26s cubic-bezier(.34,1.56,.64,1) !important;
}
#main .tabs > div.on,
#main .msg-cats .mc.on {
  background: linear-gradient(135deg, #FF4D7D 0%, #FF7BA9 50%, #FF9EC4 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow:
    0 6px 20px rgba(255,77,125,.35),
    0 0 0 1px rgba(255,255,255,.2) inset !important;
  transform: translateY(-2px) scale(1.02);
}
#main .tabs > div.on::after,
#main .msg-cats .mc.on::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: uiTabShine 2.6s infinite;
}
@keyframes uiTabShine {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}

/* ==========================================================================
   D. 动态卡片 —— 浮起 + 光晕 + 图片圆角
   ========================================================================== */
#main .post,
#main .pcard-post,
#main .feed-item {
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 2px rgba(18,18,26,.03),
    0 8px 28px rgba(18,18,26,.06) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  margin: 0 14px 14px !important;
  padding: 16px !important;
  position: relative;
  overflow: hidden;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), box-shadow .26s !important;
}
#main .post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,77,125,.3), transparent);
}
#main .post:active {
  transform: scale(.982) translateY(1px) !important;
  box-shadow: 0 2px 8px rgba(18,18,26,.06) !important;
}
#main .post img,
#main .post .imgs img {
  border-radius: 14px !important;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
#main .post img:active {
  transform: scale(.97);
}

/* ==========================================================================
   E. 消息列表 —— 卡片化 + 未读光晕
   ========================================================================== */
#main .chatlist .lrow {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 13px 15px !important;
  margin-bottom: 9px !important;
  box-shadow:
    0 1px 2px rgba(18,18,26,.03),
    0 4px 16px rgba(18,18,26,.05) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s !important;
}
#main .chatlist .lrow:active {
  transform: scale(.982) !important;
  box-shadow: 0 2px 8px rgba(18,18,26,.06) !important;
}
/* 有未读的会话：左侧粉色光条 */
#main .chatlist .lrow:has(.badge),
#main .chatlist .lrow:has(.unread) {
  background: linear-gradient(90deg, rgba(255,77,125,.04) 0%, #fff 30%) !important;
}
#main .chatlist .lrow:has(.badge)::before,
#main .chatlist .lrow:has(.unread)::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #FF4D7D, #FF7BA9);
  box-shadow: 0 0 12px rgba(255,77,125,.6);
}
/* 头像：渐变描边 */
#main .chatlist .lrow .avwrap img,
#main .chatlist .lrow .avwrap .av {
  border-radius: 50% !important;
  box-shadow:
    0 0 0 2.5px #fff,
    0 0 0 3.5px rgba(255,77,125,.15),
    0 4px 12px rgba(0,0,0,.08) !important;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
#main .chatlist .lrow:active .avwrap img {
  transform: scale(.94);
}
/* 未读红点：脉冲光晕 */
#main .chatlist .lrow .badge,
#main .chatlist .lrow .unread {
  background: linear-gradient(135deg, #FF4D7D, #FF7BA9) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  min-width: 19px; height: 19px;
  border-radius: 999px !important;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow:
    0 2px 8px rgba(255,77,125,.45),
    0 0 0 0 rgba(255,77,125,.5) !important;
  animation: uiBadgeGlow 2s ease-in-out infinite;
}
@keyframes uiBadgeGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(255,77,125,.45), 0 0 0 0 rgba(255,77,125,.5);
  }
  50% {
    box-shadow: 0 2px 8px rgba(255,77,125,.45), 0 0 0 6px rgba(255,77,125,0);
  }
}
#main .chatlist .lrow .lt {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #12121A !important;
  letter-spacing: -.2px;
}
#main .chatlist .lrow .ls {
  font-size: 12.5px !important;
  color: #9A9AAE !important;
  margin-top: 4px;
  line-height: 1.4;
}

/* ==========================================================================
   F. 我的页面 —— 心动渐变 + 光晕头像
   ========================================================================== */
#main .mine-hd {
  border-radius: 0 0 32px 32px !important;
  box-shadow:
    0 16px 48px rgba(255,77,125,.28),
    0 0 0 1px rgba(255,255,255,.15) inset !important;
  position: relative;
  overflow: hidden;
}
#main .mine-av {
  position: relative;
  animation: uiAvatarBreath 3.2s ease-in-out infinite;
}
@keyframes uiAvatarBreath {
  0%, 100% {
    box-shadow:
      0 8px 28px rgba(0,0,0,.24),
      0 0 0 0 rgba(255,255,255,.5);
  }
  50% {
    box-shadow:
      0 8px 28px rgba(0,0,0,.24),
      0 0 0 10px rgba(255,255,255,0);
  }
}
#main .mine-nm {
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
#main .mt-chip {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.24) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.35) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* ==========================================================================
   G. 面板卡片 —— 浮起 + 微光边
   ========================================================================== */
#main .panel {
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 2px rgba(18,18,26,.03),
    0 8px 28px rgba(18,18,26,.06) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  margin: 12px 14px 0 !important;
  padding: 18px !important;
  position: relative;
  overflow: hidden;
}
#main .panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,77,125,.25), transparent);
}

/* ==========================================================================
   H. 钱包三宫格 —— 渐变卡 + 数字发光
   ========================================================================== */
#main .wallet3 > div {
  background: linear-gradient(160deg, #FFF9FB 0%, #FFF2F7 100%) !important;
  border-radius: 18px !important;
  padding: 16px 10px !important;
  border: 1px solid rgba(255,77,125,.1) !important;
  box-shadow: 0 4px 16px rgba(255,77,125,.06) !important;
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s !important;
}
#main .wallet3 > div::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,77,125,.08), transparent 70%);
  pointer-events: none;
}
#main .wallet3 > div:active {
  transform: scale(.95) !important;
  box-shadow: 0 2px 8px rgba(255,77,125,.1) !important;
}
#main .wallet3 .n {
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #FF4D7D, #FF7BA9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 12px rgba(255,77,125,.2);
}

/* ==========================================================================
   I. 按钮 —— 渐变 + 扫光 + 按压回弹
   ========================================================================== */
#main .btn,
#main .pay-btn,
#main .submit-btn,
#main .login-btn {
  border-radius: 999px !important;
  font-weight: 900 !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s !important;
}
#main .btn:active,
#main .pay-btn:active,
#main .submit-btn:active {
  transform: scale(.95) !important;
}
#main .pay-btn,
#main .submit-btn {
  background: linear-gradient(135deg, #FF4D7D 0%, #FF7BA9 50%, #FF9EC4 100%) !important;
  color: #fff !important;
  box-shadow:
    0 8px 24px rgba(255,77,125,.35),
    0 0 0 1px rgba(255,255,255,.2) inset !important;
}
#main .pay-btn::after,
#main .submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: uiBtnShine 2.8s infinite;
}
@keyframes uiBtnShine {
  0% { left: -100%; }
  55%, 100% { left: 100%; }
}

/* ==========================================================================
   J. 会员卡 —— 黑金质感 + 光斑
   ========================================================================== */
#main .vip-card,
#main .vip-plan {
  border-radius: 22px !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), box-shadow .26s !important;
}
#main .vip-card {
  background: linear-gradient(135deg, #2A1B3D 0%, #4A2B6D 50%, #6B3FA0 100%) !important;
  box-shadow:
    0 16px 48px rgba(74,43,109,.4),
    0 0 0 1px rgba(255,213,74,.15) inset !important;
}
/* 会员卡光斑 */
#main .vip-card::before {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,213,74,.25), transparent 65%);
  pointer-events: none;
  animation: uiVipGlow 4s ease-in-out infinite;
}
@keyframes uiVipGlow {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.2); opacity: 1; }
}
#main .vip-plan {
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(18,18,26,.06) !important;
}
#main .vip-plan:active {
  transform: scale(.96) !important;
}
#main .vip-plan.on,
#main .vip-plan.recommend {
  background: linear-gradient(160deg, #FFF9FB, #FFF2F7) !important;
  box-shadow:
    0 0 0 2px #FF4D7D,
    0 8px 28px rgba(255,77,125,.28) !important;
  transform: translateY(-3px) !important;
}
#main .vip-price,
#main .price {
  font-weight: 900 !important;
  letter-spacing: -.8px;
  background: linear-gradient(135deg, #FF4D7D, #FF7BA9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   K. 充值金额格子
   ========================================================================== */
#main .amount,
#main .coin-item,
#main .recharge-item {
  border-radius: 18px !important;
  border: 2px solid rgba(255,255,255,.9) !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(18,18,26,.05) !important;
  transition: all .24s cubic-bezier(.34,1.56,.64,1) !important;
  position: relative;
  overflow: hidden;
}
#main .amount:active,
#main .coin-item:active,
#main .recharge-item:active {
  transform: scale(.95) !important;
}
#main .amount.on,
#main .coin-item.on,
#main .recharge-item.on {
  border-color: #FF4D7D !important;
  background: linear-gradient(160deg, #FFF9FB, #FFF2F7) !important;
  box-shadow:
    0 0 0 4px rgba(255,77,125,.12),
    0 8px 24px rgba(255,77,125,.2) !important;
  transform: translateY(-2px);
}
#main .amount .tag,
#main .coin-item .tag {
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, #FF4D7D, #FF7BA9);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 0 16px 0 12px;
  box-shadow: 0 2px 8px rgba(255,77,125,.3);
}

/* ==========================================================================
   L. 礼物 / 装扮
   ========================================================================== */
#main .gift-item,
#main .gift-card,
#main .decor-item,
#main .frame-item {
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(18,18,26,.05) !important;
  border: 2px solid transparent !important;
  transition: all .24s cubic-bezier(.34,1.56,.64,1) !important;
  position: relative;
  overflow: hidden;
}
#main .gift-item:active,
#main .gift-card:active,
#main .decor-item:active,
#main .frame-item:active {
  transform: scale(.94) !important;
}
#main .gift-item.on,
#main .gift-card.on {
  border-color: #FF4D7D !important;
  background: linear-gradient(160deg, #FFF9FB, #FFF2F7) !important;
  box-shadow:
    0 0 0 4px rgba(255,77,125,.12),
    0 8px 24px rgba(255,77,125,.2) !important;
}
#main .decor-item.on,
#main .frame-item.on {
  border-color: #A855F7 !important;
  box-shadow:
    0 0 0 4px rgba(168,85,247,.12),
    0 8px 24px rgba(168,85,247,.2) !important;
}
/* 礼物图标浮动 */
#main .gift-item .gift-ic,
#main .gift-card .gift-ic {
  animation: uiFloat 3s ease-in-out infinite;
}
@keyframes uiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   M. 空状态 / 加载
   ========================================================================== */
#main .empty {
  text-align: center;
  padding: 70px 20px !important;
  color: #9A9AAE !important;
  font-size: 13.5px !important;
  line-height: 1.8;
}
#main .empty::before {
  content: '💭';
  display: block;
  font-size: 52px;
  margin-bottom: 16px;
  opacity: .55;
  animation: uiFloat 3.2s ease-in-out infinite;
}
#main .loading {
  text-align: center;
  padding: 70px 20px !important;
  color: #9A9AAE !important;
  font-size: 13px !important;
}
#main .loading::before {
  content: '';
  display: inline-block;
  width: 30px; height: 30px;
  border: 3px solid rgba(255,77,125,.15);
  border-top-color: #FF4D7D;
  border-radius: 50%;
  animation: uiSpin .8s linear infinite;
  margin-bottom: 14px;
}
@keyframes uiSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   N. Toast / 弹层
   ========================================================================== */
.toast,
#toast {
  border-radius: 999px !important;
  background: rgba(18,18,26,.9) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 13px 24px !important;
  box-shadow:
    0 12px 40px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.08) inset !important;
  animation: uiToastIn .32s cubic-bezier(.34,1.56,.64,1);
}
@keyframes uiToastIn {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#sheet {
  border-radius: 28px 28px 0 0 !important;
  box-shadow: 0 -12px 48px rgba(0,0,0,.16) !important;
  background: #fff !important;
}
#sheet::before {
  content: '';
  display: block;
  width: 38px; height: 4px;
  background: #E0E0E8;
  border-radius: 2px;
  margin: 10px auto 6px;
}
#mask {
  background: rgba(18,18,26,.5) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ==========================================================================
   O. 输入框 / 表单
   ========================================================================== */
#main input[type="text"],
#main input[type="password"],
#main input[type="number"],
#main input[type="tel"],
#main textarea {
  border-radius: 14px !important;
  border: 1.5px solid rgba(18,18,26,.08) !important;
  background: #FAFAFD !important;
  padding: 13px 16px !important;
  font-size: 14.5px !important;
  transition: all .24s cubic-bezier(.34,1.56,.64,1) !important;
  outline: none !important;
}
#main input:focus,
#main textarea:focus {
  border-color: #FF4D7D !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255,77,125,.1) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   P. 底部导航 —— 玻璃 + 激活光晕
   ========================================================================== */
#tabbar {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: saturate(200%) blur(24px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(24px) !important;
  border-top: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: 0 -4px 28px rgba(255,77,125,.06) !important;
}
#tabbar .tab {
  transition: transform .24s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
#tabbar .tab:active { transform: scale(.88); }
#tabbar .tab.on {
  color: #FF4D7D !important;
}
#tabbar .tab.on .ti {
  transform: translateY(-3px) scale(1.12);
  filter: drop-shadow(0 6px 12px rgba(255,77,125,.45));
}
#tabbar .tab .ti {
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), filter .28s;
}
/* 激活态顶部小光点 */
#tabbar .tab.on::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, #FF4D7D, transparent);
  box-shadow: 0 2px 10px rgba(255,77,125,.6);
}

/* ==========================================================================
   Q. 聊天页气泡 —— 暧昧氛围
   ========================================================================== */
#stack .bub.them,
#stack .bubble.them {
  background: #fff !important;
  border-radius: 4px 20px 20px 20px !important;
  box-shadow: 0 2px 12px rgba(18,18,26,.07) !important;
  color: #12121A !important;
  padding: 11px 15px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
#stack .bub.mine,
#stack .bubble.mine {
  background: linear-gradient(135deg, #FF4D7D 0%, #FF7BA9 100%) !important;
  border-radius: 20px 4px 20px 20px !important;
  box-shadow: 0 6px 20px rgba(255,77,125,.32) !important;
  color: #fff !important;
  padding: 11px 15px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
@keyframes uiBubIn {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#stack .bub,
#stack .bubble {
  animation: uiBubIn .28s cubic-bezier(.34,1.56,.64,1) both;
}
/* 聊天输入栏 */
#stack .tq-chat-input,
#stack .chat-input-bar {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 -4px 20px rgba(18,18,26,.04);
  padding: 11px 14px !important;
}
#stack .tq-chat-input input,
#stack .chat-input-bar input {
  background: #F3F4F8 !important;
  border-radius: 999px !important;
  border: 1.5px solid transparent !important;
  padding: 12px 20px !important;
  font-size: 14.5px !important;
  transition: all .24s cubic-bezier(.34,1.56,.64,1) !important;
}
#stack .tq-chat-input input:focus,
#stack .chat-input-bar input:focus {
  background: #fff !important;
  border-color: rgba(255,77,125,.3) !important;
  box-shadow: 0 0 0 4px rgba(255,77,125,.08) !important;
}
#stack .tq-ci-send,
#stack .chat-send {
  background: linear-gradient(135deg, #FF4D7D, #FF7BA9) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 18px rgba(255,77,125,.35) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1) !important;
}
#stack .tq-ci-send:active,
#stack .chat-send:active { transform: scale(.9) !important; }

/* ==========================================================================
   R. 登录页 —— 心动氛围
   ========================================================================== */
#loginPage,
.login-page,
.login-wrap {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,77,125,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(168,85,247,.14), transparent 60%),
    linear-gradient(160deg, #FFF5F9 0%, #F8F4FF 50%, #F0F6FF 100%) !important;
  min-height: 100vh;
}
.login-card,
#loginBox {
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 28px !important;
  box-shadow:
    0 24px 64px rgba(255,77,125,.18),
    0 0 0 1px rgba(255,255,255,.7) inset !important;
  border: none !important;
  padding: 32px 24px !important;
}
.login-logo,
.login-title {
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: -1.2px;
  background: linear-gradient(120deg, #FF4D7D, #FF7BA9 50%, #A855F7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 10px;
}
.login-card input,
#loginBox input {
  height: 50px !important;
  border-radius: 16px !important;
  border: 1.5px solid rgba(255,77,125,.12) !important;
  background: rgba(255,255,255,.9) !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  transition: all .24s cubic-bezier(.34,1.56,.64,1) !important;
}
.login-card input:focus,
#loginBox input:focus {
  border-color: #FF4D7D !important;
  box-shadow: 0 0 0 4px rgba(255,77,125,.1) !important;
  background: #fff !important;
  transform: translateY(-1px);
}
.login-btn,
#loginBtn {
  height: 52px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #FF4D7D 0%, #FF7BA9 50%, #FF9EC4 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: 0 10px 28px rgba(255,77,125,.38) !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1) !important;
  position: relative;
  overflow: hidden;
}
.login-btn::after,
#loginBtn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: uiBtnShine 2.8s infinite;
}
.login-btn:active,
#loginBtn:active { transform: scale(.96) !important; }

/* ==========================================================================
   S. 页面进入动效
   ========================================================================== */
@keyframes uiFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
#main > * {
  animation: uiFadeUp .34s cubic-bezier(.22,1,.36,1) both;
}
#main .chatlist .lrow,
#main .post,
#main .panel {
  animation: uiFadeUp .32s cubic-bezier(.22,1,.36,1) both;
}
#main .chatlist .lrow:nth-child(1) { animation-delay: .02s; }
#main .chatlist .lrow:nth-child(2) { animation-delay: .04s; }
#main .chatlist .lrow:nth-child(3) { animation-delay: .06s; }
#main .chatlist .lrow:nth-child(4) { animation-delay: .08s; }
#main .chatlist .lrow:nth-child(5) { animation-delay: .10s; }
#main .chatlist .lrow:nth-child(6) { animation-delay: .12s; }
#main .chatlist .lrow:nth-child(n+7) { animation-delay: .14s; }

/* ==========================================================================
   T. 无障碍：减少动效
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   13. 返回按钮尺寸修正 (2026-11-12)
   原尺寸 44-46px + 字号 30-32px 太大，改为 36px + 字号 22px（iOS 标准）
   ========================================================================== */
html body .shead .back {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  margin-left: -4px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #2B2226 !important;
  background: rgba(0,0,0,.03) !important;
  transition: background .18s, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
html body .shead .back:active {
  background: rgba(0,0,0,.08) !important;
  transform: scale(.9) !important;
}
html body .chat-shead .back {
  width: 36px !important;
  height: 36px !important;
  font-size: 22px !important;
  margin-left: -4px !important;
}
/* 聊天页顶部栏高度收紧 */
html body .chat-shead,
html body .shead {
  min-height: 52px !important;
  padding: 8px 12px !important;
}
/* 顶部标题字号 */
html body .shead .st,
html body .chat-shead .st {
  font-size: 16px !important;
  font-weight: 800 !important;
}

/* 性能: 长列表离屏不渲染 */
html body .lrow,html body .fh-fact,html body .tq-feed-item,html body .art-card,html body .dz2-card,html body .lv-room{content-visibility:auto;contain-intrinsic-size:120px}
html body .m-img img,html body .fh-fimgs img{content-visibility:auto}

/* 移动端性能: 关掉高开销模糊/阴影动画 */
@media (max-width: 600px){
  html body .shead{backdrop-filter:none !important;-webkit-backdrop-filter:none !important}
  html body .live-entry:after,html body .lv-hero:after{display:none !important}
  html body .fh-hero{box-shadow:0 6px 18px rgba(255,77,125,.12) !important}
  html body .cyber-bg,html body .cyber-scan{animation:none !important}
}

/* ===== 家族页面 ===== */
html body .fam-body{padding:14px 14px 30px}
html body .fam-hero{border-radius:18px;padding:18px;color:#fff;background:linear-gradient(135deg,#5B21B6,#C026D3 60%,#FF5C8A);box-shadow:0 10px 26px rgba(140,40,180,.28);margin-bottom:14px}
html body .fam-name{font-size:20px;font-weight:900}
html body .fam-sub{font-size:12px;opacity:.92;margin-top:6px}
html body .fam-notice{font-size:11.5px;opacity:.85;margin-top:10px;line-height:1.6}
html body .fam-mrow{display:flex;align-items:center;gap:6px;background:#fff;border-radius:16px;padding:12px;border:1px solid #F3E6ED;margin-bottom:14px}
html body .fam-av{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#FFF1F5;flex:0 0 auto}
html body .fam-av img{width:100%;height:100%;object-fit:cover}
html body .fam-more{margin-left:auto;font-size:12px;color:#9A8A92;font-weight:700}
html body .fam-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body .fam-btn{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:16px 10px;text-align:center;font-size:13.5px;font-weight:800;color:#3B2C31}
html body .fam-btn.ghost{color:#9A8A92;font-weight:700}
html body .fam-btn:active{transform:scale(.98)}
html body .fam-chat-body{height:calc(100vh - 150px);overflow-y:auto;padding:12px 12px 16px;background:#FFF7FA;-webkit-overflow-scrolling:touch}
html body .fam-msg{display:flex;gap:8px;margin-bottom:12px;align-items:flex-start}
html body .fam-msg.me{flex-direction:row-reverse}
html body .fam-msg-av{width:32px;height:32px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:#FFE9F1}
html body .fam-msg-av img{width:100%;height:100%;object-fit:cover}
html body .fam-msg-main{max-width:74%}
html body .fam-msg-nm{font-size:10.5px;color:#9A8A92;margin-bottom:3px}
html body .fam-msg.me .fam-msg-nm{text-align:right}
html body .fam-msg-b{background:#fff;border-radius:12px;padding:9px 12px;font-size:14px;line-height:1.55;color:#2B2226;word-break:break-word}
html body .fam-msg.me .fam-msg-b{background:linear-gradient(135deg,#FF7FA6,#FF3B6B);color:#fff}
html body .fam-input{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #F3E6ED}
html body .fam-input input{flex:1;height:42px;border:1px solid #F0E6EB;border-radius:99px;padding:0 16px;font-size:14px;outline:none;background:#FFF9FB}
html body .fam-input button{width:72px;height:42px;border:none;border-radius:99px;background:linear-gradient(135deg,#FF5C8A,#C026D3);color:#fff;font-weight:900;font-size:14px}
html body .fam-create{margin-right:12px;font-size:12.5px;font-weight:900;color:#FF3B6B}
html body .fam-card{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:14px;margin-bottom:12px}
html body .fam-card-t{font-size:16px;font-weight:900;color:#2B2226}
html body .fam-card-s{font-size:11.5px;color:#9A8A92;margin-top:4px}
html body .fam-card-n{font-size:11.5px;color:#B9A3AD;margin-top:6px}
html body .fam-card-b{margin-top:10px;text-align:right}
html body .fam-join{display:inline-block;font-size:12.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#C026D3);padding:7px 16px;border-radius:99px}
html body .fam-cur{color:#9A8A92;font-size:12px}
html body .fam-other{color:#C4B2BA;font-size:12px}
html body .fam-create-tip{background:#FFF1F5;border:1px solid #FFD3E1;color:#8A5A6A;font-size:12px;line-height:1.7;padding:12px 14px;border-radius:14px;margin-bottom:14px}

/* ===== 聊天页修复: 时间跑出屏幕 / 气泡宽度 / 在线点遮等级 ===== */
html body .crow .cbody{max-width:calc(100% - 56px) !important;min-width:0 !important;flex-direction:column !important;align-items:flex-start !important;flex-wrap:nowrap !important}
html body .crow.me .cbody{align-items:flex-end !important}
html body .crow .cbody > .tmt{order:0 !important;margin:0 2px 3px 0 !important;font-size:11px !important;color:#B9A3AD !important;flex:0 0 auto !important}
html body .crow.me .cbody > .tmt{margin:0 0 3px 2px !important}
html body .crow .cbody > .cbub{order:9 !important;width:auto !important;flex-basis:auto !important;max-width:100% !important;min-width:0 !important}
html body .crow .cbody > .gift-msg,html body .crow .cbody > .loc-bub,html body .crow .cbody > .heart-bub,html body .crow .cbody > .pk-card{order:9 !important;max-width:100% !important}
html body .crow .cbody > .msg-read{order:10 !important;margin-top:3px !important}
html body .crow .cbody > .chat-other-name,html body .crow .cbody > .g-sender-name{order:1 !important}
/* 在线状态点移到右上, 不再压住等级/贵族角标 */
html body .online-wrap.on:after,html body .online-wrap.off:after{top:-1px !important;right:-1px !important;bottom:auto !important;left:auto !important;z-index:3 !important}
html body .avwrap > .wlv,html body .avwrap > .nlv,html body .avwrap > .avbadge{z-index:4 !important}

/* ===== 群聊页面 ===== */
html body .grp-cnt{margin-right:12px;font-size:12px;color:#9A8A92}
html body .grp-card{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:14px;margin-bottom:12px}
html body .grp-card-t{font-size:16px;font-weight:900;color:#2B2226}
html body .grp-card-s{font-size:11.5px;color:#9A8A92;margin-top:4px}
html body .grp-card-b{margin-top:10px;text-align:right}
html body .grp-join{display:inline-block;font-size:12.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF5C8A,#C026D3);padding:7px 16px;border-radius:99px}
html body .grp-joined{color:#9A8A92;font-size:12px}

/* 时间标签改为普通流式, 不再绝对定位跑到屏幕外 */
html body .crow .cbody > .tmt{position:static !important;left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;display:block !important;float:none !important;transform:none !important;white-space:nowrap !important}
html body .crow .cbody{position:static !important}

/* 聊天气泡: 不再显示行内时间/未读, 避免跑到屏幕外 */
html body .crow .cbody > .tmt{display:none !important}
html body .crow .cbody > .msg-read{display:none !important}
html body .crow .cbody{overflow:visible !important}
/* 同城群入口 */
html body .grp-entry{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:14px;margin:0 0 12px}
html body .ge-ic{width:40px;height:40px;border-radius:50%;background:#FFF1F5;display:flex;align-items:center;justify-content:center;font-size:20px}
html body .ge-tx{flex:1;min-width:0}
html body .ge-t{font-size:14.5px;font-weight:900;color:#2B2226}
html body .ge-s{font-size:11.5px;color:#9A8A92;margin-top:3px}
html body .ge-go{font-size:12.5px;font-weight:900;color:#FF3B6B}
/* 家族/群聊头像: 隐藏在线小点, 避免压住等级 */
html body .fam-msg-av .online-wrap:after,
html body .fm-row .online-wrap:after,
html body .fam-msg-av .avwrap:after,
html body .grp-msg-av .online-wrap:after{display:none !important}
html body .fm-row .nlv,html body .fm-row .wlv{display:inline-flex !important;position:static !important;opacity:1 !important;transform:none !important}
html body .fm-row{cursor:pointer}
html body .fam-btn{cursor:pointer}
/* 主播申请按钮: 文字清晰 */
html body #laSend.lv-bigbtn,html body .lv-bigbtn{color:#fff !important;text-shadow:0 1px 3px rgba(0,0,0,.28) !important;font-weight:900 !important}
/* ===== 第三轮修复 ===== */
/* 首页大卡片: 不喜欢按钮横向 */
html body .fh-hbtn.skip{width:auto !important;min-width:84px !important;height:46px !important;padding:0 18px !important;
  border-radius:99px !important;font-size:13.5px !important;font-weight:900 !important;white-space:nowrap !important;flex:0 0 auto !important}
/* 聊天时间: 在气泡下方, 小字, 不超出屏幕 */
html body #chatBody{overflow-x:hidden !important}
html body .crow .bub-meta{display:flex !important;justify-content:flex-end !important;align-items:center !important;gap:4px !important;
  margin-top:4px !important;max-width:100% !important;overflow:hidden !important;white-space:nowrap !important}
html body .crow:not(.me) .bub-meta{justify-content:flex-start !important}
html body .crow .bub-meta .tmt{font-size:10.5px !important;color:#B9A3AD !important;margin:0 !important;white-space:nowrap !important;display:inline-block !important}
/* 消息列表: 去掉红色遮盖, 改为名字后小红点 */
html body #main .ls.unread{background:transparent !important;color:#3B2C31 !important;font-weight:600 !important}
html body #main .new-dot{display:inline-block !important;width:8px !important;height:8px !important;border-radius:50% !important;
  background:#FF2D55 !important;margin-left:6px !important;vertical-align:middle !important;box-shadow:0 0 0 2px #fff}
html body #main .lrow .unread-dot{top:-2px !important;right:-2px !important;left:auto !important;bottom:auto !important;z-index:5 !important}
/* 动态名字下面的心情 */
html body .fh-fmood{font-size:11.5px !important;color:#FF3B6B !important;font-weight:800 !important;margin-top:2px !important;line-height:1.4 !important}

html body .m-mood{font-size:11.5px;color:#FF3B6B;font-weight:800;margin:2px 0 0 0;line-height:1.4}
/* ===== 等级角标/在线点/头部对齐 统一修复 ===== */
html body .avwrap{overflow:visible !important}
html body .avwrap > .nlv,
html body .avwrap > .wlv{position:absolute !important;left:-2px !important;bottom:-2px !important;
  transform:scale(.86) !important;transform-origin:left bottom !important;z-index:6 !important;display:inline-flex !important}
html body .online-wrap:after{top:-2px !important;right:-2px !important;bottom:auto !important;left:auto !important;z-index:7 !important}
html body .fam-msg-av,html body .fm-av{overflow:visible !important}
/* 家族成员行: 名字/等级/称号横向对齐 */
html body .fm-nm{display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:4px !important}
html body .fm-nm .nlv,html body .fm-nm .wlv{position:static !important;transform:none !important;margin-left:2px !important;display:inline-flex !important}
html body .fm-nm .fm-tag{margin-left:4px !important;position:static !important}
/* 聊天头部右侧: 好友/未读 对齐 */
html body .chat-shead .st-row{display:flex !important;align-items:center !important;gap:6px !important;min-height:24px !important}
html body .chat-add-sm,html body .up-unread{display:inline-flex !important;align-items:center !important;justify-content:center !important;
  height:24px !important;line-height:1 !important;padding:0 10px !important;border-radius:99px !important;font-size:11px !important;
  box-sizing:border-box !important;white-space:nowrap !important}
html body .chat-add-sm.friend{background:#FFF1F5 !important;color:#FF3B6B !important;font-weight:800 !important;border:1px solid #FFD3E1 !important}
/* 我的守护页 */
html body .gd-sec{font-size:12.5px;font-weight:900;color:#9A8A92;margin:2px 0 8px}
html body .gd-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:10px 12px;margin-bottom:8px}
html body .gd-av{width:42px;height:42px;border-radius:50%;overflow:hidden;background:#FFF1F5;flex:0 0 auto}
html body .gd-av img{width:100%;height:100%;object-fit:cover}
html body .gd-main{flex:1;min-width:0}
html body .gd-nm{font-size:14px;font-weight:900;color:#2B2226}
html body .gd-sub{font-size:11px;color:#9A8A92;margin-top:3px}

/* 聊天头部右侧胶囊对齐 */
html body .chat-shead .st-row{flex-wrap:nowrap !important;gap:6px !important;align-items:center !important}
html body .chat-shead .chat-nm{flex:0 1 auto !important;min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
html body .chat-shead .chat-add-sm,html body .chat-shead .up-unread{flex:0 0 auto !important;height:24px !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;padding:0 10px !important;border-radius:99px !important;font-size:11px !important;white-space:nowrap !important}
html body .chat-shead .up-unread{background:#FF3B6B !important;color:#fff !important;font-weight:800 !important}
html body .chat-shead .up-unread[style*="none"]{display:none !important}

/* 返回: 更短的位移动画 + 避免右侧白闪 */
html body #stack{
  transition: transform .18s cubic-bezier(.2,.8,.3,1) !important;
  will-change: auto !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translate3d(100%,0,0);
  background-color: #FFF7F3 !important;
}
html body #stack.open{ transform: translate3d(0,0,0) }
html body #view, html body #app{ background-color:#FFF7F3 !important; overflow-x:hidden !important }
/* 凡是头像上有等级/贵族角标的, 一律隐藏在线小绿点, 保证等级不被挡 */
html body .online-wrap:has(> .avwrap .nlv):after,
html body .online-wrap:has(> .avwrap .wlv):after,
html body .online-wrap:has(.avbadge):after,
html body .lrow .online-wrap:after,
html body .dz2-card .online-wrap:after,
html body .lv-cover .online-wrap:after,
html body .fm-av .online-wrap:after,
html body .fam-msg-av .online-wrap:after{ display:none !important }
/* 等级角标统一放右下, 完整露出 */
html body .avwrap > .nlv, html body .avwrap > .wlv, html body .avwrap > .noble-badge{
  left:auto !important; right:-2px !important; bottom:-2px !important;
  transform:scale(.84) !important; transform-origin:right bottom !important; z-index:8 !important;
}

/* 老内核兜底: 这些位置的在线点直接隐藏, 等级优先 */
html body .fh-pcard .online-wrap:after,
html body .fh-hcard .online-wrap:after,
html body .tr-card .online-wrap:after,
html body .near-card .online-wrap:after,
html body .dz-cell .online-wrap:after,
html body .grp-card .online-wrap:after{ display:none !important }

/* ===== 新品牌落地: 启动页 + 登录页 ===== */
html body #splash.splash-new{background:#FFE9EF url('/brand/app_splash_light.png?v=20261114b') center/cover no-repeat !important;padding:0 !important}
html body #splash .nl-glow,html body #splash .nl-wrap{display:none !important}
html body #splash .nl-bottom{position:absolute !important;left:50% !important;bottom:54px !important;transform:translateX(-50%) !important;width:62% !important;z-index:6 !important}
html body #splash .nl-count{color:#B0155A !important;font-weight:700 !important}
html body #splash .nl-bar{background:rgba(176,21,90,.16) !important}
html body #splash .nl-bar i{background:linear-gradient(90deg,#FF5C8A,#C026D3) !important}
html body #splash .nl-skip{background:rgba(255,255,255,.62) !important;color:#8A2B4A !important;backdrop-filter:none !important}
html[data-brand="dark"] body #splash.splash-new{background-image:url('/brand/app_splash_dark.png?v=20261114b') !important;background-color:#241021 !important}
html[data-brand="dark"] body #splash .nl-count{color:#FFD9E6 !important}
html[data-brand="dark"] body #splash .nl-bar{background:rgba(255,217,230,.2) !important}
html[data-brand="dark"] body #splash .nl-skip{background:rgba(255,255,255,.14) !important;color:#FFE3ED !important}
html.night body #splash.splash-new{background-image:url('/brand/app_splash_dark.png?v=20261114b') !important;background-color:#241021 !important}
/* 登录页: 横版组合 Logo */
html body .login-logo{width:236px !important;height:auto !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;margin:2px auto 14px !important;display:block !important}
html body .login-h,html body .login-s{display:none !important}

/* 横版 Logo 在邀请中心 */
html body .brand-lockup{display:block;width:210px;max-width:66%;margin:2px auto 14px;height:auto}
html body .brand-lockup-dark{display:none}
html.night body .brand-lockup-light{display:none}
html.night body .brand-lockup-dark{display:block}
/* ===== 注册页精简 + 可滚动 ===== */
html body #loginView{
  overflow-y:auto !important;overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  display:block !important;
  padding:10px 0 30px !important;
  height:100dvh !important;
}
html body #loginView .login-card{
  margin:6px auto 22px !important;
  width:calc(100% - 28px) !important;
  max-width:430px !important;
  padding:16px 16px 14px !important;
  border-radius:22px !important;
}
html body #loginLogo{width:168px !important;margin:0 auto 10px !important}
html body #loginSeg{margin-bottom:10px !important;height:42px !important}
html body #loginSeg > div{font-size:14px !important}
html body .login-card .field{margin-bottom:9px !important}
html body .login-card .field label{font-size:12px !important;margin-bottom:4px !important}
html body .login-card .field input,
html body .login-card .field select{height:42px !important;font-size:14px !important;border-radius:11px !important;padding:0 12px !important}
html body #lgUserTip{display:none !important}
html body #lgUserRandom{margin-top:6px !important;height:34px !important;font-size:12.5px !important;padding:0 10px !important;border-radius:10px !important}
html body #regExtra .avpick-up{padding:6px 12px !important;font-size:12.5px !important;border-radius:10px !important}
html body #lgAvTip{display:none !important}
html body #lgAvPrev{width:54px !important;height:54px !important;margin-top:6px !important;border-radius:10px !important}
html body #lgGender{height:40px !important}
html body #lgGender > div{height:40px !important;font-size:13.5px !important}
html body #lgAgreeRow{font-size:11.5px !important;line-height:1.5 !important;margin-top:6px !important;gap:6px !important}
html body #lgSubmit{height:46px !important;margin-top:10px !important;font-size:15px !important}
html body .login-tip{font-size:11px !important;margin-top:5px !important}

/* 注册页二次精简 */
html body #loginView{touch-action:pan-y !important}
html body #lgUserRandom{margin-top:4px !important;height:30px !important;font-size:11.5px !important;background:transparent !important;border:1px dashed #FFD3E1 !important;color:#FF5C8A !important;font-weight:700 !important;box-shadow:none !important}
html body #lgAvUp,html body #lgAvUp.avpick-up{color:#FF3B6B !important;background:#FFF0F6 !important;border:1px solid #FFD9E5 !important;-webkit-text-fill-color:#FF3B6B !important}
html body #regOptBtn{margin-top:2px !important}
html body #loginLogo{width:150px !important;margin-bottom:8px !important}
html body .login-card{padding-top:14px !important}

/* 注册页按钮文字对比度 + 滚动边界 */
html body #loginView{overscroll-behavior:contain !important}
html body #loginView .login-card #lgAvUp{color:#FF3B6B !important;-webkit-text-fill-color:#FF3B6B !important;background:#FFF0F6 !important;border:1px solid #FFD9E5 !important}
html body #loginView .login-card #lgAvUp *{color:#FF3B6B !important;-webkit-text-fill-color:#FF3B6B !important}
html body #loginView .login-card #regOptBtn{color:#FF5C8A !important;-webkit-text-fill-color:#FF5C8A !important;background:#FFF9FB !important;border:1px dashed #FFC9DA !important}
html body #loginView .login-card #lgUserRandom{color:#D6336C !important;-webkit-text-fill-color:#D6336C !important;background:#FFF4F8 !important}

/* 登录页垂直居中 + 夜间输入框可读 */
html body #loginView{display:flex !important;flex-direction:column !important}
html body #loginView .login-card{margin:auto auto !important}
html.night body #loginView .login-card input,
html.night body #loginView .login-card select,
html.night body #loginView .login-card textarea{
  background:rgba(255,255,255,.10) !important;
  color:#FFFFFF !important;-webkit-text-fill-color:#FFFFFF !important;
  border-color:rgba(255,255,255,.22) !important;
}
html.night body #loginView .login-card input::placeholder{color:rgba(255,255,255,.55) !important}
html.night body #loginView .login-card .field label{color:rgba(255,255,255,.8) !important}

/* 排行榜 */
html body .rk-tabs{display:flex;gap:8px;margin-bottom:10px}
html body .rk-tab{flex:1;text-align:center;height:36px;line-height:36px;border-radius:11px;background:rgba(255,255,255,.75);border:1px solid #FFE3EC;color:#8A6270;font-size:13px;font-weight:800}
html body .rk-tab.on{background:linear-gradient(135deg,#FF8FA8,#FF3B6B);color:#fff;border-color:transparent;box-shadow:0 6px 14px rgba(255,59,107,.25)}
html body .rk-ranges{display:flex;gap:14px;margin:2px 4px 12px;font-size:12px;color:#9A8A92}
html body .rk-range.on{color:#FF3B6B;font-weight:900}
html body .rk-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:9px 12px;margin-bottom:8px}
html body .rk-row.me{border-color:#FFB3C8;background:#FFF6F9;box-shadow:0 4px 14px rgba(255,59,107,.10)}
html body .rk-no{width:26px;text-align:center;font-size:14px;font-weight:900;color:#B08A98;flex:0 0 auto}
html body .rk-av{width:40px;height:40px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:#FFEFF4}
html body .rk-av img{width:100%;height:100%;object-fit:cover}
html body .rk-main{flex:1;min-width:0}
html body .rk-nm{font-size:14px;font-weight:900;color:#2B2226;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .rk-vip{font-style:normal;font-size:9px;color:#C98F3C;border:1px solid #E8C99A;border-radius:4px;padding:0 3px}
html body .rk-sub{font-size:11px;color:#9A8A92;margin-top:2px}
html body .rk-val{font-size:15px;font-weight:900;color:#FF3B6B;text-align:right;flex:0 0 auto}
html body .rk-val span{display:block;font-size:9px;color:#B09AA4;font-weight:600;margin-top:1px}
html body .rk-mine{margin-top:14px;text-align:center;font-size:12px;color:#8A6270;background:#FFF3F8;border:1px dashed #FFD3E1;border-radius:12px;padding:10px}

/* 登录页隐藏时不能被我方 display:flex 顶开 */
html body #loginView.hidden,
html body #loginView[style*="display: none"],
html body #loginView[style*="display:none"]{display:none !important}

/* 登录页: 只在非隐藏时使用 flex 居中 */
html body #loginView.hidden{display:none !important}
html body #loginView:not(.hidden){display:flex !important;flex-direction:column !important}
/* 娱乐大厅 */
html body .play-wrap{padding:14px 14px 26px}
html body .play-hero{border-radius:20px;padding:20px 18px;color:#fff;background:linear-gradient(135deg,#FF8FA8 0%,#FF3B6B 55%,#C026D3 100%);box-shadow:0 12px 26px rgba(255,59,107,.22);margin-bottom:14px}
html body .play-hero-t{font-size:23px;font-weight:900;letter-spacing:1px}
html body .play-hero-s{font-size:12.5px;opacity:.92;margin-top:5px}
html body .play-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body .play-card{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:14px 12px;box-shadow:0 6px 16px rgba(190,110,140,.08)}
html body .play-card:active{transform:scale(.98)}
html body .play-ic{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:21px;background:color-mix(in srgb,#fff 82%,var(--pc));margin-bottom:8px}
html body .play-nm{font-size:14.5px;font-weight:900;color:#2B2226}
html body .play-ds{font-size:11px;color:#9A8A92;margin-top:4px;line-height:1.45}
html body .play-tip{text-align:center;font-size:11px;color:#B09AA4;margin-top:16px}

html body.play-on #topbar{display:none !important}
html body .play-hero-s{color:#FFFFFF !important;-webkit-text-fill-color:#FFFFFF !important;opacity:.95 !important;font-weight:600}

/* 注册页头像框 */
html body #regAvatar{display:none;flex-direction:column;align-items:center;gap:7px;margin:2px auto 14px}
html body .reg-av-circle{width:96px;height:96px;border-radius:50%;border:2px dashed #FFB3C8;background:#FFF4F8;
  display:flex;align-items:center;justify-content:center;font-size:30px;overflow:hidden;cursor:pointer;position:relative}
html body .reg-av-circle img{width:100%;height:100%;object-fit:cover;display:block}
html body .reg-av-tip{font-size:11.5px;color:#9A8A92}
html body #lgUserRandom{display:none !important}
html body #lgUserTip{display:none !important}
html body #regExtra .field{margin-bottom:9px !important}
html body #regExtra .field label{font-size:12px !important}
html body #regExtra .field input{height:42px !important;font-size:14px !important}

/* 移动端性能: 统一关闭实时毛玻璃(滚动更跟手) */
@media (max-width:900px){
  html body *{backdrop-filter:none !important;-webkit-backdrop-filter:none !important}
}

/* 刘海屏: 顶部安全区 */
html body #topbar{padding-top:calc(10px + env(safe-area-inset-top, 0px)) !important}
html body .play-wrap{padding-top:calc(14px + env(safe-area-inset-top, 0px)) !important}
html body #loginView{padding-top:calc(24px + env(safe-area-inset-top, 0px)) !important}
html body #splash .nl-skip{top:calc(14px + env(safe-area-inset-top, 0px)) !important}

/* 顶部安全区: 用 --sat 变量兜底(env 失效时 JS 给 44/24px) */
html body #topbar{padding-top:calc(10px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body .play-wrap{padding-top:calc(14px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body .shead,html body .chat-shead,html body .chead{padding-top:calc(8px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body .shead .back,html body .chat-shead .back{margin-top:0 !important}
html body #loginView{padding-top:calc(16px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body #splash .nl-skip{top:calc(14px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body .xl-banner{padding-top:calc(10px + var(--sat, env(safe-area-inset-top, 0px))) !important}

/* 强优先级: 覆盖 #topbar.topbar 等旧规则 */
html body #app #topbar{padding-top:calc(10px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body #stack .shead,
html body #stack .chat-shead,
html body #stack .chead{padding-top:calc(8px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body #loginView.login-view{padding-top:calc(16px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body #splash .nl-skip{top:calc(14px + var(--sat, env(safe-area-inset-top, 0px))) !important}

/* 状态栏区域: 铺一层暖粉, 避免白底白图标 */
html body.in-app #app::before{
  content:"" !important;position:fixed !important;top:0 !important;left:0 !important;right:0 !important;
  height:var(--sat, env(safe-area-inset-top, 0px)) !important;
  background:linear-gradient(180deg,#FFD3E0 0%,#FFE9F0 100%) !important;
  z-index:9998 !important;pointer-events:none !important;
}
html body.in-app.play-on #app::before{background:linear-gradient(180deg,#FF9EC4 0%,#FFC9DC 100%) !important}

/* 我的页 / 个人主页 / 所有 sbody 头部安全区 */
html body .tq-mine{padding-top:calc(8px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body #stack .pf2-nav{padding-top:calc(8px + var(--sat, env(safe-area-inset-top, 0px))) !important}
html body .shead,
html body .chat-shead,
html body .chead{padding-top:calc(8px + var(--sat, env(safe-area-inset-top, 0px))) !important}

/* 装扮商城/邀请中心: 品牌 Logo 居中收小 */
html body .brand-lockup{width:172px !important;max-width:60% !important;margin:2px auto 12px !important;display:block !important}

html body .brand-lockup-light{display:block !important}
html body .brand-lockup-dark{display:none !important}
html.night body .brand-lockup-light{display:none !important}
html.night body .brand-lockup-dark{display:block !important}

/* 娱乐大厅: 标题居中 + 英文副标题 */
html body .play-hero{text-align:center !important}
html body .play-hero-t{text-align:center !important}
html body .play-hero-s{text-align:center !important;letter-spacing:2px !important;font-size:11.5px !important;font-weight:700 !important;opacity:.88 !important;margin-top:6px !important}
/* ===== 娱乐大厅 v2 ===== */
html body .play-wrap{padding:14px 14px 26px !important}
html body .play-hero{
  position:relative !important;overflow:hidden !important;
  border-radius:24px !important;padding:24px 18px 20px !important;text-align:center !important;
  background:linear-gradient(135deg,#FF8FA8 0%,#FF4D7D 45%,#C026D3 100%) !important;
  box-shadow:0 14px 30px rgba(255,59,107,.24) !important;color:#fff !important;
}
html body .ph-orb{position:absolute !important;border-radius:50% !important;background:rgba(255,255,255,.16) !important;pointer-events:none !important}
html body .ph-o1{width:150px !important;height:150px !important;right:-50px !important;top:-60px !important}
html body .ph-o2{width:110px !important;height:110px !important;left:-40px !important;bottom:-50px !important}
html body .ph-kicker{font-size:9.5px !important;letter-spacing:5px !important;font-weight:800 !important;color:rgba(255,255,255,.72) !important}
html body .play-hero-t{font-size:28px !important;font-weight:900 !important;letter-spacing:2px !important;margin-top:6px !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html body .play-hero-s{font-size:10.5px !important;font-weight:800 !important;letter-spacing:3.5px !important;margin-top:7px !important;color:rgba(255,255,255,.86) !important;-webkit-text-fill-color:rgba(255,255,255,.86) !important}
html body .ph-chips{display:flex !important;justify-content:center !important;gap:6px !important;margin-top:14px !important;flex-wrap:wrap !important}
html body .ph-chips span{
  font-size:10px !important;font-weight:700 !important;color:#fff !important;
  background:rgba(255,255,255,.18) !important;border:1px solid rgba(255,255,255,.26) !important;
  border-radius:99px !important;padding:4px 10px !important;
}
html body .play-feature{display:grid !important;grid-template-columns:1.15fr .85fr !important;gap:10px !important;margin-top:12px !important}
html body .pf-card{
  position:relative !important;overflow:hidden !important;border-radius:18px !important;padding:14px !important;
  color:#fff !important;display:flex !important;flex-direction:column !important;min-height:152px !important;
  box-shadow:0 8px 20px rgba(90,20,60,.16) !important;
}
html body .pf-game{background:linear-gradient(150deg,#8B5CF6 0%,#6366F1 55%,#4F46E5 100%) !important}
html body .pf-voice{background:linear-gradient(150deg,#FF8FA8 0%,#FF4D7D 60%,#E11D48 100%) !important}
html body .pf-card::after{content:"" !important;position:absolute !important;width:120px !important;height:120px !important;border-radius:50% !important;background:rgba(255,255,255,.10) !important;right:-40px !important;bottom:-50px !important}
html body .pf-badge,html body .pf-live{
  position:absolute !important;top:10px !important;right:10px !important;z-index:2 !important;
  font-size:8.5px !important;font-weight:900 !important;letter-spacing:.6px !important;color:#fff !important;
  background:rgba(255,255,255,.22) !important;border:1px solid rgba(255,255,255,.30) !important;
  border-radius:99px !important;padding:3px 7px !important;display:flex !important;align-items:center !important;gap:4px !important;
}
html body .pf-live i{width:5px !important;height:5px !important;border-radius:50% !important;background:#FF3B6B !important;display:inline-block !important}
html body .pf-ic{font-size:30px !important;line-height:1 !important}
html body .pf-t{font-size:16.5px !important;font-weight:900 !important;margin-top:8px !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html body .pf-d{font-size:10.5px !important;color:rgba(255,255,255,.82) !important;-webkit-text-fill-color:rgba(255,255,255,.82) !important;margin-top:4px !important;line-height:1.4 !important}
html body .pf-go{margin-top:auto !important;font-size:11px !important;font-weight:800 !important;color:rgba(255,255,255,.95) !important;padding-top:10px !important}
html body .play-sec{display:flex !important;align-items:baseline !important;justify-content:space-between !important;margin:18px 2px 9px !important}
html body .play-sec b{font-size:15px !important;font-weight:900 !important;color:#2B2226 !important}
html body .play-sec span{font-size:9px !important;font-weight:800 !important;letter-spacing:2px !important;color:#C0A8B4 !important}
html body .play-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important}
html body .play-card{
  background:#fff !important;border:1px solid #F6E8EF !important;border-radius:16px !important;
  padding:12px !important;box-shadow:0 6px 16px rgba(190,110,140,.07) !important;
}
html body .pc-top{display:flex !important;align-items:flex-start !important;justify-content:space-between !important}
html body .play-ic{
  width:38px !important;height:38px !important;border-radius:12px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  font-size:20px !important;background:#FFF0F6 !important;color:var(--pc,#FF3B6B) !important;
  background:color-mix(in srgb,var(--pc,#FF3B6B) 13%,#fff) !important;
}
html body .pc-tag{
  font-size:8px !important;font-weight:900 !important;letter-spacing:.4px !important;
  color:var(--pc,#FF3B6B) !important;background:#FFF3F8 !important;
  background:color-mix(in srgb,var(--pc,#FF3B6B) 12%,#fff) !important;
  border-radius:6px !important;padding:2px 5px !important;
}
html body .play-nm{font-size:14px !important;font-weight:900 !important;color:#2B2226 !important;margin-top:9px !important}
html body .play-ds{font-size:10.5px !important;color:#9A8A92 !important;margin-top:3px !important;line-height:1.45 !important}
html body .play-tip{text-align:center !important;font-size:10.5px !important;color:#B9A2AE !important;margin-top:18px !important}

/* 覆盖 #main .pf-card 旧样式 */
html body #main .pf-card{background:transparent !important;border:none !important;border-radius:18px !important;color:#fff !important;box-shadow:0 8px 20px rgba(90,20,60,.16) !important;padding:14px !important}
html body #main .pf-game{background:linear-gradient(150deg,#8B5CF6 0%,#6366F1 55%,#4F46E5 100%) !important}
html body #main .pf-voice{background:linear-gradient(150deg,#FF8FA8 0%,#FF4D7D 60%,#E11D48 100%) !important}
html body #main .pf-card::after{content:"" !important;position:absolute !important;width:120px !important;height:120px !important;border-radius:50% !important;background:rgba(255,255,255,.10) !important;right:-40px !important;bottom:-50px !important}
/* ===== 娱乐页 v3 · Bento ===== */
html body .ent-wrap{padding:14px 14px 28px !important}
html body .ent-head{display:flex !important;align-items:flex-end !important;justify-content:space-between !important;margin:2px 2px 14px !important}
html body .ent-head h1{font-size:33px !important;font-weight:900 !important;color:#201A1D !important;margin:0 !important;letter-spacing:-1px !important;line-height:1.1 !important}
html body .ent-sub{font-size:8.5px !important;font-weight:800 !important;letter-spacing:4px !important;color:#B79DA9 !important;margin-top:4px !important}
html body .ent-badge{font-size:10.5px !important;font-weight:800 !important;color:#8A6270 !important;background:#fff !important;border:1px solid #F1E2E9 !important;border-radius:99px !important;padding:5px 10px !important}
html body .bento{display:grid !important;grid-template-columns:1fr 1fr !important;gap:9px !important}
html body .bt{
  position:relative !important;overflow:hidden !important;border-radius:18px !important;
  padding:14px !important;border:1px solid rgba(0,0,0,.035) !important;color:#2B2226 !important;
  display:flex !important;flex-direction:column !important;
}
html body .bt-game{grid-column:span 2 !important;background:#ECE5FF !important;min-height:152px !important}
html body .bt-voice{background:#FFDFE8 !important;min-height:132px !important}
html body .bt-heart{background:#FFEBDF !important;min-height:126px !important}
html body .bt-meet{background:#E2F6EB !important;min-height:126px !important}
html body .bt-rank{background:#FFF2D2 !important;min-height:126px !important}
html body .bt-live{grid-column:span 2 !important;background:#F2E5FF !important;min-height:82px !important;display:flex !important;flex-direction:row !important;align-items:center !important;gap:12px !important}
html body .bt-ic{font-size:30px !important;line-height:1 !important}
html body .bt-game .bt-ic{font-size:42px !important;position:absolute !important;right:16px !important;top:16px !important;opacity:.95 !important}
html body .bt-t{font-size:17px !important;font-weight:900 !important;color:#241C20 !important;margin-top:10px !important;line-height:1.2 !important}
html body .bt-game .bt-t{font-size:21px !important;margin-top:auto !important}
html body .bt-d{font-size:11.5px !important;color:#7C6670 !important;margin-top:4px !important;line-height:1.45 !important}
html body .bt-game .bt-d{margin-bottom:2px !important}
html body .bt-tag{
  position:absolute !important;top:12px !important;right:12px !important;
  font-size:8px !important;font-weight:900 !important;letter-spacing:.5px !important;
  color:#6D4BC7 !important;background:rgba(255,255,255,.72) !important;border-radius:99px !important;padding:3px 7px !important;
}
html body .bt-live .bt-live{position:absolute !important;top:11px !important;right:12px !important;display:flex !important;align-items:center !important;gap:4px !important;font-size:8px !important;font-weight:900 !important;color:#C026D3 !important;background:rgba(255,255,255,.7) !important;border-radius:99px !important;padding:3px 7px !important}
html body .bt-live i{width:5px !important;height:5px !important;border-radius:50% !important;background:#FF3B6B !important;display:inline-block !important}
html body .bt-live-main{flex:1 !important;min-width:0 !important}
html body .bt-live .bt-t{margin-top:0 !important}
html body .bt-arrow{font-size:22px !important;color:#A98FB8 !important;margin-left:auto !important;padding-left:6px !important}
html body .ent-sec{font-size:15px !important;font-weight:900 !important;color:#2B2226 !important;margin:18px 2px 8px !important}
html body .ent-list{background:#fff !important;border:1px solid #F3E6ED !important;border-radius:18px !important;overflow:hidden !important}
html body .el-row{display:flex !important;align-items:center !important;gap:12px !important;padding:13px 14px !important;border-bottom:1px solid #F7ECF2 !important}
html body .el-row:last-child{border-bottom:none !important}
html body .el-ic{width:38px !important;height:38px !important;border-radius:12px !important;background:#FFF0F6 !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:19px !important;flex:0 0 auto !important}
html body .el-t{flex:1 !important;min-width:0 !important;font-size:14.5px !important;font-weight:800 !important;color:#2B2226 !important}
html body .el-t span{display:block !important;font-size:10.5px !important;font-weight:500 !important;color:#9A8A92 !important;margin-top:2px !important}
html body .el-arrow{font-size:22px !important;color:#C9B3BF !important}
html body .ent-tip{text-align:center !important;font-size:10.5px !important;color:#B9A2AE !important;margin-top:16px !important}

/* Bento 修正 */
html body .bt{text-align:left !important}
html body .bt-game .bt-tag{left:14px !important;right:auto !important;top:14px !important}
html body .bt-game .bt-ic{right:18px !important;top:50% !important;transform:translateY(-50%) !important;font-size:46px !important}
html body .bt-game .bt-t{margin-top:auto !important;text-align:left !important}
html body .bt-game .bt-d{text-align:left !important}
html body .bt-voice .bt-t,html body .bt-heart .bt-t,html body .bt-meet .bt-t,html body .bt-rank .bt-t{margin-top:auto !important}
html body .bt-live-tag{
  position:absolute !important;top:11px !important;right:12px !important;z-index:2 !important;
  display:flex !important;align-items:center !important;gap:4px !important;
  font-size:8px !important;font-weight:900 !important;letter-spacing:.5px !important;color:#C026D3 !important;
  background:rgba(255,255,255,.75) !important;border-radius:99px !important;padding:3px 7px !important;
}
html body .bt-live-tag i{width:5px !important;height:5px !important;border-radius:50% !important;background:#FF3B6B !important;display:inline-block !important}
html body .bt-voice{justify-content:flex-start !important}
html body .bt-voice .bt-ic{font-size:26px !important}
html body .bt-heart .bt-ic,html body .bt-meet .bt-ic,html body .bt-rank .bt-ic{font-size:26px !important}

/* 覆盖全局 .bt 按钮样式 */
html body #main .bt{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}
html body #main .bt-game{min-height:138px !important}
html body #main .bt-voice,html body #main .bt-heart,html body #main .bt-meet,html body #main .bt-rank{min-height:112px !important}
html body #main .bt-live{min-height:76px !important}
html body #main .bt-t{text-align:left !important}
html body #main .bt-d{text-align:left !important}

/* ===== 消息页 v2 ===== */
html body .msg-head{display:flex !important;align-items:flex-end !important;justify-content:space-between !important;
  padding:calc(10px + var(--sat, env(safe-area-inset-top, 0px))) 16px 10px !important}
html body .msg-head h1{font-size:33px !important;font-weight:900 !important;color:#201A1D !important;margin:0 !important;letter-spacing:-1px !important;line-height:1.1 !important}
html body .msg-sub{font-size:8.5px !important;font-weight:800 !important;letter-spacing:4px !important;color:#B79DA9 !important;margin-top:4px !important}
html body .msg-readall{font-size:11px !important;font-weight:800 !important;color:#8A6270 !important;background:#fff !important;
  border:1px solid #F1E2E9 !important;border-radius:99px !important;padding:6px 11px !important;white-space:nowrap !important}
html body .msg-search-wrap{padding:0 16px 10px !important}
html body .msg-search-box{height:42px !important;border-radius:14px !important;background:#fff !important;border:1px solid #F1E2E9 !important;display:flex !important;align-items:center !important;padding:0 12px !important}
html body .msg-search-box input{width:100% !important;height:100% !important;border:none !important;background:transparent !important;font-size:13.5px !important;color:#2B2226 !important;outline:none !important;padding:0 !important}
html body .msg-search-box input::placeholder{color:#B8A4AE !important}
html body .msg-cats{display:flex !important;gap:4px !important;margin:0 16px 12px !important;background:#fff !important;border:1px solid #F1E2E9 !important;border-radius:14px !important;padding:4px !important}
html body .msg-cats .mc{flex:1 !important;height:34px !important;display:flex !important;align-items:center !important;justify-content:center !important;
  border-radius:10px !important;font-size:13px !important;font-weight:700 !important;color:#8A7A82 !important;border:none !important;background:transparent !important}
html body .msg-cats .mc.on{background:linear-gradient(135deg,#FF8FA8,#FF3B6B) !important;color:#fff !important;font-weight:900 !important;box-shadow:0 4px 12px rgba(255,59,107,.25) !important}
html body .chatlist{padding:0 14px 100px !important;display:flex !important;flex-direction:column !important;gap:8px !important}
html body .chatlist .lrow{background:#fff !important;border:1px solid #F4E8EE !important;border-radius:16px !important;padding:10px 12px !important;margin:0 !important;display:flex !important;align-items:center !important;gap:10px !important;box-shadow:0 4px 12px rgba(190,110,140,.05) !important}
html body .chatlist .lrow .lmain{flex:1 !important;min-width:0 !important}
html body .chatlist .lrow .lt{display:flex !important;align-items:center !important;gap:5px !important;font-size:14.5px !important;font-weight:900 !important;color:#2B2226 !important;min-width:0 !important}
html body .chatlist .nmx{font-size:14.5px !important;font-weight:900 !important;color:#2B2226 !important;max-width:9em !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
html body .chatlist .hlv{font-size:7.5px !important;font-weight:800 !important;color:#E11D48 !important;background:#FFF0F5 !important;border-radius:5px !important;padding:1px 4px !important;flex:0 0 auto !important}
html body .chatlist .rel-tag{display:none !important}
html body .chatlist .rel-dist{font-size:8.5px !important;color:#B09AA4 !important;font-weight:600 !important;flex:0 0 auto !important}
html body .chatlist .ls{font-size:11.5px !important;color:#8A7A82 !important;margin-top:3px !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
html body .chatlist .rt2{display:flex !important;flex-direction:column !important;align-items:flex-end !important;gap:4px !important;flex:0 0 auto !important}
html body .chatlist .tm{font-size:10px !important;color:#B09AA4 !important}
html body .chatlist .unread-dot{position:static !important;width:8px !important;height:8px !important;border-radius:50% !important;background:#FF3B6B !important;display:inline-block !important}
html body #sysToggleRow{background:linear-gradient(135deg,#8B5CF6,#6366F1) !important;border:none !important;border-radius:18px !important;padding:14px !important;margin:0 14px 8px !important;display:flex !important;align-items:center !important;gap:12px !important;box-shadow:0 8px 20px rgba(99,102,241,.22) !important}
html body #sysToggleRow .sysav{width:42px !important;height:42px !important;border-radius:14px !important;background:rgba(255,255,255,.18) !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:20px !important;flex:0 0 auto !important}
html body #sysToggleRow .lt{font-size:15px !important;font-weight:900 !important;color:#fff !important}
html body #sysToggleRow .ls{font-size:11px !important;color:rgba(255,255,255,.78) !important;margin-top:3px !important}
html body #sysToggleRow .sys-arrow{color:#fff !important;opacity:.8 !important}
html body #sysToggleRow .unread-dot{background:#fff !important;color:#E11D48 !important;font-weight:900 !important}
html body #sysGroupBody{padding:0 14px !important}
html body #sysGroupBody .lrow{background:#fff !important;border:1px solid #F4E8EE !important;border-radius:14px !important;padding:10px 12px !important;margin-bottom:6px !important}
html body .chatlist .special-row{background:linear-gradient(135deg,#F7F0FF,#FFF5FA) !important;border-color:#EEDDF8 !important}

html body .chatlist .nmx{color:#2B2226 !important;-webkit-text-fill-color:#2B2226 !important}
html body .chatlist .lrow .lt .hlv{color:#E11D48 !important}

/* 消息页: 去掉大标题, 搜索+已读一行 */
html body .msg-top{display:flex !important;align-items:center !important;gap:8px !important;
  padding:calc(10px + var(--sat, env(safe-area-inset-top, 0px))) 16px 10px !important}
html body .msg-top .msg-search-box{flex:1 !important;min-width:0 !important}
html body .msg-top .msg-readall{flex:0 0 auto !important}
html body .msg-cats{margin-top:0 !important}

/* 未读会话: 取消粉色气泡预览, 只留小红点 */
html body #main .chatlist .ls.unread,
html body #main .chatlist .lrow .ls.unread{
  background:none !important;background-image:none !important;
  color:#8A7A82 !important;-webkit-text-fill-color:#8A7A82 !important;
  font-weight:600 !important;padding:0 !important;border-radius:0 !important;
  width:auto !important;display:block !important;height:auto !important;
}
html body #main .chatlist .lrow .unread-dot{
  position:absolute !important;top:-2px !important;right:-2px !important;left:auto !important;bottom:auto !important;
  width:9px !important;height:9px !important;min-width:9px !important;padding:0 !important;
  font-size:0 !important;line-height:0 !important;color:transparent !important;
  border:2px solid #fff !important;border-radius:50% !important;background:#FF2D55 !important;
  box-shadow:none !important;animation:none !important;display:block !important;
}
html body #main .chatlist .lrow:has(.unread-dot)::before{display:none !important}

html body #main .chatlist .lrow:has(.unread-dot)::before,
html body #main .chatlist .lrow:has(.new-dot)::before,
html body #main .chatlist .lrow:has(.unread)::before{
  display:none !important;content:none !important;background:none !important;width:0 !important;
}
html body #main .chatlist .new-dot{display:none !important}
html body #main .chatlist .lrow{background:#fff !important}

html body #main .chatlist .lrow .ls.unread{box-shadow:none !important;text-shadow:none !important;filter:none !important}
html body #main .chatlist .lrow{background:#fff !important;background-image:none !important}

/* 亲密度排行页 */
html body .im-hero{border-radius:20px !important;padding:18px 18px 16px !important;margin-bottom:12px !important;
  background:linear-gradient(135deg,#FF8FA8 0%,#FF4D7D 55%,#C026D3 100%) !important;color:#fff !important;
  box-shadow:0 10px 24px rgba(255,59,107,.22) !important}
html body .im-hero-t{font-size:19px !important;font-weight:900 !important;color:#fff !important;letter-spacing:.5px !important}
html body .im-hero-s{font-size:11.5px !important;color:rgba(255,255,255,.85) !important;margin-top:4px !important}
html body .im-hero-n{font-size:11px !important;color:rgba(255,255,255,.9) !important;margin-top:10px !important}
html body .im-hero-n b{font-size:18px !important;font-weight:900 !important}
html body .im-list{display:flex !important;flex-direction:column !important;gap:8px !important}
html body .im-row{background:#fff !important;border:1px solid #F4E8EE !important;border-radius:16px !important;
  padding:10px 12px !important;display:flex !important;align-items:center !important;gap:10px !important;
  box-shadow:0 4px 12px rgba(190,110,140,.06) !important}
html body .im-no{width:26px !important;text-align:center !important;font-size:14px !important;font-weight:900 !important;color:#C0A8B4 !important;flex:0 0 auto !important}
html body .im-av{width:44px !important;height:44px !important;border-radius:50% !important;overflow:hidden !important;flex:0 0 auto !important;background:#FFF0F6 !important}
html body .im-av img{width:100% !important;height:100% !important;object-fit:cover !important}
html body .im-main{flex:1 !important;min-width:0 !important}
html body .im-nm{font-size:14.5px !important;font-weight:900 !important;color:#2B2226 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
html body .im-lv{font-size:10.5px !important;color:#B09AA4 !important;margin-top:3px !important}
html body .im-lv b{color:#E11D48 !important;font-weight:900 !important}
html body .im-val{text-align:right !important;flex:0 0 auto !important}
html body .im-val b{display:block !important;font-size:17px !important;font-weight:900 !important;color:#FF3B6B !important;line-height:1.1 !important}
html body .im-val span{display:block !important;font-size:8.5px !important;color:#C0A8B4 !important;margin-top:1px !important}

/* 未读数: 小红色数字胶囊 */
html body #main .chatlist .lrow .unread-dot{
  position:absolute !important;top:-5px !important;right:-5px !important;left:auto !important;
  width:auto !important;min-width:16px !important;height:16px !important;padding:0 4px !important;
  font-size:9px !important;line-height:16px !important;color:#fff !important;
  background:#FF2D55 !important;border:2px solid #fff !important;border-radius:99px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  font-weight:900 !important;box-shadow:0 2px 6px rgba(255,45,85,.35) !important;
}
/* 聊天页: 禁止外层 stack 滚动, 只让消息区滚 */
html body #stack.chat-mode{overflow:hidden !important}
html body #stack.chat-mode #chatBody{overflow-y:auto !important;overscroll-behavior:contain !important;-webkit-overflow-scrolling:touch !important;min-height:0 !important}

html body #main .chatlist .unread-dot:empty{display:none !important}

/* 表白墙: 固定两列、同高卡片 */
html body .lv-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important;grid-auto-rows:1fr !important}
html body .lv-card{height:100% !important;display:flex !important;flex-direction:column !important;min-height:206px !important}
html body .lv-txt{display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}
html body .lv-foot{margin-top:auto !important}
html body .lv-acts{margin-top:auto !important}
/* 消息列表到底: 给底部 Tab 留空间 */
html body .chatlist{padding-bottom:calc(150px + env(safe-area-inset-bottom, 0px)) !important}
/* 我的页到底: 最后一行不被 Tab 挡住 */
html body .tq-mine{padding-bottom:calc(130px + env(safe-area-inset-bottom, 0px)) !important}
html body .tq-mine .tq-list:last-of-type{margin-bottom:120px !important}

/* 底部留白: 保证最后一行不被 Tab 遮挡 */
html body #main .chatlist{padding-bottom:calc(180px + env(safe-area-inset-bottom, 0px)) !important}
html body .tq-mine{padding-bottom:calc(170px + env(safe-area-inset-bottom, 0px)) !important}
html body .tq-mine .tq-list:last-of-type{margin-bottom:160px !important}

html body .lv-card{min-height:0 !important;height:100% !important}
html body .lv-spark{margin-top:auto !important;padding-top:8px !important}
html body .tq-mine{padding-bottom:calc(110px + env(safe-area-inset-bottom, 0px)) !important}
html body .tq-mine .tq-list:last-of-type{margin-bottom:100px !important}

html body .tq-mine{padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px)) !important}
html body .tq-mine .tq-list:last-of-type{margin-bottom:40px !important}

/* 礼物商城: 修复卡片被压扁 */
html body #stack .ggrid{grid-auto-rows:auto !important;max-height:62vh !important}
html body #stack .gcell{height:auto !important;min-height:100px !important;overflow:hidden !important}
html body #stack .gicon{font-size:34px !important;line-height:1.15 !important}
/* 推广页头卡 */
html body .panel.promo-hero{background:linear-gradient(135deg,#1E3A8A,#312E81) !important;color:#fff !important;border:none !important}
html body .panel.promo-hero *{color:#fff !important;-webkit-text-fill-color:#fff !important}

/* 聊天输入栏上移 + 聊天页不透明/锁定 */
html body .tq-chat-input{padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important}
html body #stack.chat-mode{background:#FFF7F3 !important;overflow:hidden !important;overscroll-behavior:none !important;position:fixed !important;inset:0 !important}
html body #stack.chat-mode #chatBody{background:#FFF7F3 !important;overscroll-behavior:contain !important}
html body #stack.chat-mode .sbody{background:#FFF7F3 !important}
html body.in-app{overscroll-behavior:none !important}

/* 键盘弹起: 只缩聊天页高度, 页面不位移, 底下列表永远不露出来 */
html body #stack.chat-mode{
  position:fixed !important;
  top:0 !important; left:0 !important; right:0 !important; bottom:auto !important;
  height:calc(100vh - var(--kb, 0px)) !important;
  max-height:calc(100vh - var(--kb, 0px)) !important;
  transform:none !important;
  overflow:hidden !important;
  background:#FFF7F3 !important;
}
@supports (height: 100dvh){
  html body #stack.chat-mode{
    height:calc(100dvh - var(--kb, 0px)) !important;
    max-height:calc(100dvh - var(--kb, 0px)) !important;
  }
}
html body #stack.chat-mode #chatBody{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important}
html body #stack.chat-mode .tq-chat-input{flex:0 0 auto !important}

/* iOS 聚焦输入框会放大页面: 输入框字号必须 >=16px, 否则会触发自动缩放导致页面跳走 */
html body #chatInput{font-size:16px !important}
html body #stack.chat-mode{z-index:2147483000 !important;top:0 !important;transform:none !important}
/* 聊天打开时隐藏底下的主页面/Tab, 即使键盘把页面顶动也绝不会露出消息列表 */
body:has(#stack.chat-mode) #main,
body:has(#stack.chat-mode) #tabbar,
body:has(#stack.chat-mode) #topbar{visibility:hidden !important}

html body #stack .tq-chat-input input#chatInput{font-size:16px !important;line-height:1.35 !important}

/* 只有聊天页处于打开状态才隐藏主页面; 关闭后恢复 */
html body:has(#stack.chat-mode.open) #main,
html body:has(#stack.chat-mode.open) #tabbar,
html body:has(#stack.chat-mode.open) #topbar{visibility:hidden !important}
html body:not(:has(#stack.chat-mode.open)) #main,
html body:not(:has(#stack.chat-mode.open)) #tabbar,
html body:not(:has(#stack.chat-mode.open)) #topbar{visibility:visible !important}

html body #stack.chat-mode{min-height:340px !important}
html body #stack .tq-chat-input input#chatInput{font-size:16px !important}

/* 聊天页不再随键盘改高度: 始终满屏, 只把输入栏抬到键盘上方 */
html body #stack.chat-mode{height:100dvh !important;max-height:100dvh !important;min-height:0 !important;top:0 !important;background:#FFF7F3 !important}
html body #stack.chat-mode #chatBody{margin-bottom:var(--kb,0px) !important;transition:none !important}
html body #stack.chat-mode .tq-chat-input{transform:translateY(calc(-1 * var(--kb,0px))) !important;position:relative !important;z-index:9 !important;background:#FFF7F3 !important;transition:none !important}
html body.chat-open #main,
html body.chat-open #tabbar,
html body.chat-open #topbar{visibility:hidden !important}
html body{background:#FFF7F3 !important}

/* 表白卡片: 两列绝不超出屏幕, 长名字自动省略/换行 */
html body .lv-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  width:100% !important;max-width:100% !important;box-sizing:border-box !important;
}
html body .lv-card{
  min-width:0 !important;max-width:100% !important;box-sizing:border-box !important;overflow:hidden !important;
}
html body .lv-pair{min-width:0 !important}
html body .lv-names{
  min-width:0 !important;display:flex !important;flex-wrap:wrap !important;
  justify-content:center !important;gap:3px 5px !important;line-height:1.5 !important;
}
html body .lv-names b{
  min-width:0 !important;max-width:46% !important;overflow:hidden !important;
  text-overflow:ellipsis !important;white-space:nowrap !important;
}
html body .lv-txt{overflow-wrap:anywhere !important;word-break:break-word !important}
html body #main, html body #stack, html body .sbody{overflow-x:hidden !important}

html body .lv-names b{max-width:100% !important}

html body .lv-card .lv-av[data-uid]{cursor:pointer !important;position:relative !important;z-index:3 !important}
html body .lv-card .lv-av[data-uid]:active{transform:scale(.94) !important}

/* 表白墙底部留白: 最后一张卡不被 Tab 挡住 */
html body .lv-grid{padding-bottom:calc(140px + env(safe-area-inset-bottom, 0px)) !important}

/* 排行榜头像不再裁掉等级角标 */
html body .rk-av{overflow:visible !important;background:transparent !important}
html body .rk-av .avwrap,html body .rk-av .av{overflow:visible !important}
html body .rk-row{padding-top:13px !important;padding-bottom:13px !important}
/* 心动房间 */
html body .hr-hero{border-radius:20px;padding:18px;background:linear-gradient(135deg,#FF8FAB,#FF5C8A 60%,#A855F7);color:#fff}
html body .hr-hero-t{font-size:20px;font-weight:900}
html body .hr-hero-s{font-size:12px;opacity:.9;margin-top:6px}
html body .hr-btns{display:flex;gap:10px;margin-top:14px}
html body .hr-b1,html body .hr-b2{flex:1;height:42px;border:none;border-radius:999px;font-size:14px;font-weight:900}
html body .hr-b1{background:#fff;color:#FF3B6B}
html body .hr-b2{background:rgba(255,255,255,.22);color:#fff;border:1px solid rgba(255,255,255,.5)}
html body .hr-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:18px 2px 8px}
html body .hr-room{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:10px;margin-bottom:8px}
html body .hr-cover{width:48px;height:48px;border-radius:12px;overflow:hidden;background:#FFF0F6;flex:0 0 auto}
html body .hr-cover img{width:100%;height:100%;object-fit:cover}
html body .hr-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:22px}
html body .hr-main{flex:1;min-width:0}
html body .hr-t{font-size:14px;font-weight:900;color:#2B2226;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .hr-s{font-size:11px;color:#B09AA4;margin-top:3px}
html body .hr-go{font-size:12px;font-weight:900;color:#FF3B6B}

.forgot-row{text-align:right;padding:6px 4px 0}
.forgot-row span{font-size:11.5px;color:#C24E74;font-weight:800;cursor:pointer}
/* 评论页 */
html body .pc-post{background:#FFF7FA;border:1px solid #F6E3EB;border-radius:16px;padding:12px}
html body .pc-hd{display:flex;align-items:center;gap:8px}
html body .pc-nm{font-size:13px;font-weight:900;color:#2B2226}
html body .pc-txt{font-size:14px;color:#3B3036;line-height:1.7;margin-top:10px;white-space:pre-wrap}
html body .pc-meta{font-size:11px;color:#B09AA4;margin-top:10px}
html body .pc-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:16px 2px 6px}
html body .pc-item{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #F7EDF2}
html body .pc-av{width:32px;height:32px;border-radius:50%;overflow:hidden;flex:0 0 auto}
html body .pc-main{flex:1;min-width:0}
html body .pc-cnm{font-size:12.5px;font-weight:900;color:#2B2226}
html body .pc-cnm span{font-size:10px;color:#C0A8B4;font-weight:400;margin-left:6px}
html body .pc-ct{font-size:13.5px;color:#4A3B42;line-height:1.6;margin-top:3px;word-break:break-word}
html body .pc-bar{position:absolute;left:0;right:0;bottom:0;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);border-top:1px solid #F4E8EE;z-index:10}
html body .pc-bar input{flex:1;height:42px;border:1px solid #F0E2E8;border-radius:999px;padding:0 14px;font-size:16px;outline:none;background:#FAF7F9}
html body .pc-bar button{width:66px;height:42px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF5C8A,#FF3B5C);color:#fff;font-size:14px;font-weight:900}
/* 绑定手机 */
html body .bp-cur{background:#FFF7FA;border:1px solid #F6E3EB;border-radius:12px;padding:12px;font-size:13px;color:#7A6A72;margin-bottom:12px}
html body .bp-cur b{color:#2B2226}
html body .bp-cur span{margin-left:8px;font-size:11px;color:#FF3B6B;font-weight:900}
html body .bp-tip{font-size:13px;color:#6E5F66;line-height:1.8;margin-bottom:14px}
html body .bp-tip b{color:#FF3B6B}
html body .bp-note{font-size:11.5px;color:#B09AA4;line-height:1.7;margin-top:10px}

html body .art-stats{margin-left:auto;font-size:10px;color:#C0A8B4}
html body .art-acts{display:flex;gap:10px;margin:16px 0 6px}
html body .art-act{flex:1;height:40px;border:1px solid #F6E3EB;background:#FFF7FA;border-radius:999px;font-size:13px;font-weight:900;color:#8A6F7B}
html body .art-act.on{background:#FFEFF5;border-color:#FFB3C8;color:#FF3B6B}
html body .art-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:16px 2px 4px}

/* 个人主页礼物墙: 图标水平+垂直居中 */
html body .gw-cell{
  display:flex !important;flex-direction:column !important;align-items:center !important;
  justify-content:center !important;min-height:104px !important;padding:10px 4px !important;
}
html body .gw-ic{
  display:flex !important;align-items:center !important;justify-content:center !important;
  width:42px !important;height:42px !important;line-height:1 !important;
  font-size:28px !important;margin:0 auto !important;text-align:center !important;
}
html body .gw-ic img{width:38px !important;height:38px !important;object-fit:contain !important;display:block !important;margin:0 auto !important}
html body .gw-nm{width:100% !important;text-align:center !important;margin-top:6px !important;line-height:1.3 !important}
html body .gw-off{text-align:center !important}

html body .vr-real{margin:12px 0 4px;padding:12px 14px;border-radius:14px;background:#FFF7FA;border:1px solid #F6E3EB;font-size:12.5px;color:#8A6F7B;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
html body .vr-real b{color:#FF3B6B;font-weight:900}
html body .vr-real.ok{background:#F0FDF4;border-color:#BBF7D0;color:#15803D}

html body .v2-seat.empty{cursor:pointer !important;border-style:dashed !important}
html body .v2-seat.empty:active{transform:scale(.95) !important}
html body .v2-host-set{display:flex;gap:8px;padding:8px 14px 2px}
html body .v2-host-set button{flex:1;height:36px;border:1px solid #F0E2E8;background:#FFF;border-radius:999px;font-size:12px;font-weight:800;color:#8A6F7B}
html body .v2-host-set button.on{background:#FFEFF5;border-color:#FFB3C8;color:#FF3B6B}
html body .v2-room-lock{text-align:center;font-size:11.5px;color:#C24E74;padding:6px 12px}

/* 语音房卡片: 缩小一档 */
html body .v2-grid{grid-template-columns:1fr 1fr !important;gap:8px !important;padding:6px 12px 84px !important}
html body .v2-card{padding:9px 10px !important;min-height:88px !important;border-radius:14px !important}
html body .v2-card-t{font-size:13px !important;line-height:1.3 !important;padding-right:18px !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}
html body .v2-card-tags{margin-top:5px !important;gap:4px !important}
html body .v2-card-tags i{font-size:9.5px !important;padding:1px 6px !important}
html body .v2-card-b{margin-top:6px !important}
html body .v2-avs img,html body .v2-avs span{width:22px !important;height:22px !important;font-size:9px !important}
html body .v2-cnt{font-size:10px !important}
html body .v2-badge{font-size:9px !important;padding:1px 7px !important;border-radius:0 14px 0 9px !important}

/* 空麦不要套用 .empty 的全局大内边距 */
html body .v2-seat.vacant{padding:0 !important;border:0 !important;min-height:0 !important;height:auto !important}
html body .v2-seat.vacant .v2-sav{border:1.5px dashed #CBB8DD !important;background:#F8F5FF !important;cursor:pointer !important}

html body .v2-seat-actions{display:flex;flex-direction:column;align-items:center;gap:6px;margin:10px 0 2px}
html body .v2-seat-actions button{height:36px;padding:0 18px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FAB,#FF5C8A);color:#fff;font-size:13px;font-weight:900}
html body .v2-seat-actions span{font-size:10.5px;color:#B09AA4}

/* 聊天: 消息少时贴底显示, 不再上面一条下面一大片空白 */
html body #stack.chat-mode #chatBody{display:flex !important;flex-direction:column !important}
html body #stack.chat-mode #chatBody > .crow:first-child{margin-top:auto !important}
/* 输入栏整体缩小 */
html body #stack.chat-mode .tq-chat-input{padding:7px 10px calc(9px + env(safe-area-inset-bottom,0px)) !important;gap:6px !important}
html body #stack.chat-mode .tq-chat-input input#chatInput{height:36px !important;min-height:36px !important;font-size:16px !important;padding:0 12px !important;border-radius:999px !important}
html body #stack.chat-mode .tq-ci-btn{width:30px !important;height:30px !important;font-size:18px !important;flex:0 0 30px !important}
html body #stack.chat-mode .tq-ci-send{height:36px !important;min-width:58px !important;width:58px !important;font-size:13px !important;border-radius:999px !important}

/* 娱乐·游戏大厅: 标题居中 + 美化 */
html body .bt-game{align-items:center !important;justify-content:center !important;text-align:center !important;padding:22px 16px !important;background:linear-gradient(135deg,#E9E4FF 0%,#F3EEFF 45%,#FFEFF7 100%) !important;border:1px solid #E4DAFF !important;box-shadow:0 10px 26px rgba(120,80,220,.12) !important;overflow:hidden !important}
html body .bt-game::before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(168,85,247,.18),transparent 70%);right:-40px;top:-60px;pointer-events:none}
html body .bt-game .bt-t{font-size:26px !important;letter-spacing:3px !important;text-align:center !important;margin:2px 0 4px !important;color:#2C2140 !important}
html body .bt-game .bt-d{text-align:center !important;color:#7C6A96 !important;font-size:11px !important;letter-spacing:.5px}
html body .bt-game .bt-ic{position:absolute !important;right:18px !important;bottom:14px !important;font-size:46px !important;opacity:.95;transform:rotate(-8deg)}
html body .bt-game .bt-tag{position:absolute !important;left:14px !important;top:14px !important}

html body .bt-game{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;text-align:center !important}
html body .bt-game .bt-t{width:100% !important;text-align:center !important;margin-left:0 !important;padding-left:0 !important}
html body .bt-game .bt-d{width:100% !important;text-align:center !important}

html body .fam-btn.pk{background:linear-gradient(135deg,#3B2A12,#6B4A12) !important;color:#FFE7A3 !important;border:1px solid #8A6420 !important}
html body .fpk-hero{border-radius:20px;padding:18px;background:linear-gradient(135deg,#2A1740,#5B2C7A 55%,#8A3B6B);color:#fff;box-shadow:0 12px 30px rgba(80,30,90,.25)}
html body .fpk-t{font-size:22px;font-weight:900;letter-spacing:1px}
html body .fpk-s{font-size:12px;opacity:.85;margin-top:5px}
html body .fpk-time{margin-top:12px;font-size:11.5px;background:rgba(255,255,255,.14);border-radius:999px;padding:6px 10px;display:inline-block}
html body .fpk-time b{color:#FFD66B;font-size:14px}
html body .fpk-rws{display:flex;gap:6px;margin:10px 0 12px}
html body .fpk-rw{flex:1;background:#fff;border:1px solid #F2E4EA;border-radius:12px;padding:8px 6px;text-align:center}
html body .fpk-rw span{display:block;font-size:18px}
html body .fpk-rw b{display:block;font-size:10px;color:#B08A6A;margin-top:2px}
html body .fpk-rw i{display:block;font-size:10.5px;font-style:normal;color:#E09A00;font-weight:900;margin-top:1px}
html body .fpk-mine{background:#fff;border:1px solid #F2E4EA;border-radius:16px;padding:14px}
html body .fpk-mine-t{font-size:11px;color:#B09AA4;font-weight:800}
html body .fpk-mine-row{display:flex;align-items:center;gap:8px;margin-top:6px}
html body .fpk-mine-row b{font-size:17px;color:#2B2226}
html body .fpk-mine-row span{font-size:11px;color:#9A8A92}
html body .fpk-mine-row strong{margin-left:auto;color:#FF3B6B;font-size:16px}
html body .fpk-join{width:100%;height:42px;margin-top:12px;border:none;border-radius:999px;background:linear-gradient(135deg,#FFB300,#FF7A00);color:#4A2A00;font-size:14px;font-weight:900}
html body .fpk-joined{margin-top:10px;font-size:11.5px;color:#15803D;background:#F0FDF4;border-radius:10px;padding:8px 10px}
html body .fpk-wait{margin-top:10px;font-size:11.5px;color:#9A8A92;background:#FAF7F9;border-radius:10px;padding:8px 10px}
html body .fpk-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:16px 2px 8px}
html body .fpk-list{display:flex;flex-direction:column;gap:7px}
html body .fpk-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:10px 12px}
html body .fpk-row.me{border-color:#FFB3C8;background:#FFF6F9}
html body .fpk-no{width:24px;text-align:center;font-weight:900;color:#C0A8B4}
html body .fpk-nm{flex:1;font-size:13.5px;font-weight:900;color:#2B2226}
html body .fpk-nm span{font-size:10px;color:#B09AA4;font-weight:400;margin-left:6px}
html body .fpk-sc{font-size:15px;font-weight:900;color:#FF3B6B}
html body .fpk-sc i{font-size:9px;font-style:normal;color:#C0A8B4;margin-left:2px}
html body .fpk-flag{font-size:9px;color:#B09AA4;background:#FAF5F8;border-radius:999px;padding:3px 7px}
html body .fpk-rule{margin-top:14px;font-size:11px;line-height:1.7;color:#9A8A92;background:#FFF9FC;border-radius:12px;padding:10px 12px}

html body #main .bt.bt-game{align-items:center !important;justify-content:center !important;text-align:center !important;min-height:96px !important;padding:12px 14px !important;border-radius:20px !important}
html body #main .bt.bt-game .bt-t{width:100% !important;text-align:center !important;font-size:24px !important;letter-spacing:4px !important;margin:0 0 3px !important}
html body #main .bt.bt-game .bt-d{width:100% !important;text-align:center !important;font-size:10.5px !important;margin:0 !important}
html body #main .bt.bt-game .bt-ic{font-size:38px !important;right:16px !important;top:50% !important;bottom:auto !important;transform:translateY(-50%) rotate(-8deg) !important}
html body #main .bt.bt-game .bt-tag{left:12px !important;top:12px !important}

/* 消息少时从顶部开始显示, 不再孤零零贴在输入栏上方 */
html body #stack.chat-mode #chatBody > .crow:first-child{margin-top:0 !important}
html body #stack.chat-mode #chatBody{justify-content:flex-start !important}

/* 聊天发送按钮: 禁止竖排 */
html body #stack.chat-mode .tq-ci-send{
  width:62px !important;min-width:62px !important;max-width:62px !important;
  padding:0 !important;white-space:nowrap !important;word-break:keep-all !important;
  writing-mode:horizontal-tb !important;text-orientation:mixed !important;
  line-height:36px !important;font-size:14px !important;display:flex !important;
  align-items:center !important;justify-content:center !important;
}

html body .fj-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:10px 12px;margin-bottom:8px}
html body .fj-av{width:44px;height:44px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:#FFF0F6}
html body .fj-main{flex:1;min-width:0}
html body .fj-nm{font-size:14px;font-weight:900;color:#2B2226}
html body .fj-sub{font-size:10.5px;color:#B09AA4;margin-top:3px}
html body .fj-acts{display:flex;gap:6px}
html body .fj-ok,html body .fj-no{height:30px;padding:0 10px;border-radius:999px;font-size:11.5px;font-weight:900;border:1px solid transparent}
html body .fj-ok{background:#FF3B6B;color:#fff}
html body .fj-no{background:#FFF7FA;color:#9A8A92;border-color:#F0E2E8}

html body .ft-hero{border-radius:20px;padding:18px;background:linear-gradient(135deg,#4A2E07,#8A5A12 55%,#C08A2A);color:#FFF6D8;box-shadow:0 12px 28px rgba(140,90,20,.28)}
html body .ft-h-t{font-size:15px;font-weight:900;letter-spacing:.5px}
html body .ft-h-b{font-size:34px;font-weight:900;margin-top:8px;color:#FFE28A}
html body .ft-h-b i{font-size:12px;font-style:normal;margin-left:5px;color:#FFE9B0}
html body .ft-h-s{font-size:11px;opacity:.85;margin-top:4px}
html body .ft-mine{display:flex;background:#fff;border:1px solid #F2E4EA;border-radius:16px;padding:12px;margin-top:10px}
html body .ft-mine>div{flex:1;text-align:center;border-right:1px solid #F6EDF1}
html body .ft-mine>div:last-child{border-right:0}
html body .ft-mine b{display:block;font-size:16px;color:#B07A00}
html body .ft-mine span{display:block;font-size:10px;color:#B09AA4;margin-top:2px}
html body .ft-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:16px 2px 8px}
html body .ft-quick{display:flex;gap:8px}
html body .ft-quick button{flex:1;height:38px;border:none;border-radius:12px;background:#FFF7E6;color:#A06A00;font-size:14px;font-weight:900;border:1px solid #F2DDA8}
html body .ft-quick button.custom{background:#fff;color:#8A6F7B;border-color:#F0E2E8;font-size:12px}
html body .ft-tip{font-size:10.5px;color:#B09AA4;line-height:1.6;margin-top:7px}
html body .ft-grant{display:flex;gap:7px;background:#fff;border:1px solid #F2E4EA;border-radius:14px;padding:10px}
html body .ft-grant select{flex:1;min-width:0;height:38px;border:1px solid #F0E2E8;border-radius:10px;padding:0 8px;font-size:12px;background:#FAF7F9}
html body .ft-grant input{width:78px;height:38px;border:1px solid #F0E2E8;border-radius:10px;padding:0 8px;font-size:13px}
html body .ft-grant button{width:62px;height:38px;border:none;border-radius:10px;background:linear-gradient(135deg,#FFB300,#FF8A00);color:#4A2A00;font-size:13px;font-weight:900}
html body .ft-list{display:flex;flex-direction:column;gap:7px}
html body .ft-row{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:8px 10px}
html body .ft-row.owner{border-color:#FFD98A;background:#FFFDF5}
html body .ft-no{width:22px;text-align:center;font-size:12px;font-weight:900;color:#C0A8B4}
html body .ft-av{width:34px;height:34px;border-radius:50%;overflow:hidden;flex:0 0 auto}
html body .ft-main{flex:1;min-width:0}
html body .ft-nm{font-size:13px;font-weight:900;color:#2B2226}
html body .ft-sub{font-size:9.5px;color:#B09AA4;margin-top:1px}
html body .ft-val{font-size:14px;font-weight:900;color:#B07A00}
html body .ft-val span{font-size:8.5px;color:#C0A8B4;margin-left:2px;font-weight:400}

html body .ft-vaults{display:flex;gap:8px;margin-top:10px}
html body .ft-vault{flex:1;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:8px 10px}
html body .ft-vault span{display:block;font-size:10px;opacity:.85}
html body .ft-vault b{display:block;font-size:20px;color:#FFE28A;margin-top:2px}
html body .ft-grant select#ftCur{width:78px;flex:0 0 78px}
html body .ft-reqs{display:flex;flex-direction:column;gap:7px}
html body .ft-req{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:8px 10px}
html body .ft-reqacts{display:flex;gap:5px}
html body .ft-reqacts button{height:28px;padding:0 9px;border-radius:999px;border:none;font-size:11px;font-weight:900}
html body .ft-reqacts .ok{background:#FF3B6B;color:#fff}
html body .ft-reqacts .no{background:#FFF7FA;color:#9A8A92;border:1px solid #F0E2E8}

/* 家族成员头像: 不裁掉等级角标 */
html body .fam-av{overflow:visible !important}
html body .fam-av img{border-radius:50% !important}
html body .fam-av .avwrap{overflow:visible !important}
html body .fam-mrow{padding-bottom:4px !important}
/* 个人主页礼物墙: 方框用 aspect-ratio, 图标居中 */
html body .pf2-gifts .g .bx{padding-top:0 !important;aspect-ratio:1 / 1 !important;height:auto !important;min-height:74px !important}
html body .pf2-gifts .g .bx .em{display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;height:100% !important}

html body .pf2-gifts .g{width:25% !important;margin-right:0 !important}

html body .rc-wx{background:linear-gradient(135deg,#F0FDF4,#ECFDF5);border:1px solid #BBF7D0;border-radius:16px;padding:14px;margin-top:12px}
html body .rc-wx-h{font-size:14px;font-weight:900;color:#166534}
html body .rc-wx-s{font-size:12px;color:#3F6B4D;line-height:1.7;margin-top:5px}
html body .rc-wx-s b{color:#15803D}
html body .rc-wx-line{display:flex;align-items:center;gap:9px;margin-top:10px}
html body .rc-wx-line span{flex:1;height:42px;line-height:42px;text-align:center;background:#fff;border:1px dashed #86EFAC;border-radius:11px;font-size:17px;font-weight:900;color:#14532D;letter-spacing:1px}
html body .rc-wx-line button{height:42px;padding:0 16px;border:none;border-radius:11px;background:linear-gradient(135deg,#22C55E,#16A34A);color:#fff;font-size:13px;font-weight:900}
html body .rc-wx-t{font-size:10.5px;color:#6B9A7B;margin-top:7px;text-align:center}

html body .fam-emoji-panel{display:none;flex-wrap:wrap;gap:4px;padding:8px 10px;background:#fff;border-top:1px solid #F3E6ED}
html body .fam-emoji-panel.on{display:flex}
html body .fam-emoji-panel span{font-size:22px;padding:3px 5px;cursor:pointer}
html body .v2-lock{position:absolute;right:8px;top:10px;font-size:9px;font-weight:900;color:#7C3AED;background:#F3E8FF;border:1px solid #DDD6FE;border-radius:999px;padding:2px 6px;z-index:3}
html body .v2-card.locked{opacity:.82}
html body .v2-host-set{flex-wrap:wrap}
html body .v2-host-set button{min-width:0;flex:1 1 30%;font-size:10.5px;padding:0 4px}

html body .vip-sec{font-size:12px;font-weight:900;color:#FF3B6B;margin:12px 0 6px;padding-left:8px;border-left:3px solid #FFB3C8}
html body .vip-row{padding:8px 2px;border-bottom:1px dashed #F3E6ED}
html body .vip-row b{display:block;font-size:12.5px;color:#3B3036}
html body .vip-row span{display:block;font-size:11px;color:#8A7F86;line-height:1.6;margin-top:2px}
html body .vip-note{font-size:10.5px;color:#B09AA4;line-height:1.6;margin-top:10px;background:#FAF7F9;border-radius:10px;padding:8px}

html body .vip-perks-detail > div{padding:8px 0;border-bottom:1px dashed #F1E4EA}
html body .vip-perks-detail b{display:block;font-size:13px;color:#3B2C31}
html body .vip-perks-detail span{display:block;font-size:11px;color:#8A7F86;line-height:1.65;margin-top:2px}
html body .vip-note{font-size:10.5px;color:#B09AA4;line-height:1.6;margin-top:8px;background:#FAF7F9;border-radius:10px;padding:8px}

/* 家族签到 */
html body .fc-hero{background:linear-gradient(135deg,#FFF3D6,#FFE0B2);border:1px solid #FFD08A;border-radius:20px;padding:18px;text-align:center}
html body .fc-ic{font-size:40px}
html body .fc-t{font-size:18px;font-weight:900;color:#7A4A00;margin-top:4px}
html body .fc-s{font-size:12px;color:#9A6A20;margin-top:5px}
html body .fc-s b{color:#B45309}
html body .fc-cnt{font-size:11px;color:#B08A50;margin-top:4px}
html body .fc-btn{margin-top:12px;width:100%;height:44px;border:none;border-radius:999px;background:linear-gradient(135deg,#FFB300,#FF8A00);color:#4A2A00;font-size:15px;font-weight:900}
html body .fc-btn.on{background:#F3EFE8;color:#A08B72}
html body .fc-list{display:flex;flex-direction:column;gap:7px}
html body .fc-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F3E6ED;border-radius:14px;padding:8px 10px}
html body .fc-ok{font-size:10px;font-weight:900;color:#B45309;background:#FFF3D6;border-radius:999px;padding:3px 8px}
/* 上锁: 中间一把透明锁 */
html body .v2-lock{left:50% !important;right:auto !important;top:50% !important;transform:translate(-50%,-50%) !important;background:none !important;border:none !important;padding:0 !important;font-size:34px !important;opacity:.35 !important;z-index:1 !important;pointer-events:none !important}
/* 找搭子 v3 */
html body .dz3-hero{background:linear-gradient(135deg,#FF8A65,#FF5E7E);border-radius:20px;padding:18px;color:#fff;box-shadow:0 10px 24px rgba(255,94,126,.25)}
html body .dz3-h-t{font-size:22px;font-weight:900}
html body .dz3-h-s{font-size:12px;opacity:.9;margin-top:4px}
html body .dz3-h-steps{display:flex;gap:8px;margin-top:12px;font-size:10.5px}
html body .dz3-h-steps span{background:rgba(255,255,255,.18);border-radius:999px;padding:4px 8px}
html body .dz3-my{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:12px;margin-top:12px}
html body .dz3-my.on{border-color:#FFC1D2;background:linear-gradient(135deg,#FFF9FB,#FFF1F5)}
html body .dz3-my-h{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8A7F86}
html body .dz3-my-h b{color:#3B2C31}
html body .dz3-my-h span{color:#FF3B6B;font-weight:900}
html body .dz3-my-b{margin-top:6px;font-size:12px;color:#6B5F66;line-height:1.6}
html body .dz3-my-b b{display:block;color:#FF3B6B;font-size:13px}
html body .dz3-my-b span{display:block;margin-top:2px}
html body .dz3-my-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
html body .dz3-my-tags i{font-style:normal;font-size:10px;background:#FFF1F5;color:#E4557A;border-radius:999px;padding:3px 8px}
html body .dz3-sec{display:flex;justify-content:space-between;align-items:center;margin:16px 2px 8px}
html body .dz3-sec b{font-size:14px;color:#3B2C31}
html body .dz3-sec span{font-size:11px;color:#B09AA4}
html body .dz3-list{display:flex;flex-direction:column;gap:9px}
html body .dz3-card{background:#fff;border:1px solid #F3E6ED;border-radius:18px;padding:12px}
html body .dz3-top{display:flex;align-items:center;gap:9px}
html body .dz3-av{position:relative;width:54px;height:54px;flex:0 0 auto}
html body .dz3-on{position:absolute;right:0;bottom:2px;width:10px;height:10px;border-radius:50%;background:#D1D5DB;border:2px solid #fff}
html body .dz3-on.on{background:#22C55E}
html body .dz3-info{flex:1;min-width:0}
html body .dz3-nm{font-size:15px;font-weight:900;color:#2B2226}
html body .dz3-meta{font-size:10.5px;color:#B09AA4;margin-top:2px}
html body .dz3-match{text-align:right}
html body .dz3-match b{display:block;color:#FF3B6B;font-size:16px}
html body .dz3-match span{font-size:9px;color:#B09AA4}
html body .dz3-desc{font-size:12px;color:#6B5F66;line-height:1.65;margin-top:8px}
html body .dz3-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
html body .dz3-tags span{font-size:10px;color:#9A8A92;background:#FAF7F9;border-radius:999px;padding:3px 8px}
html body .dz3-tags span.type{color:#E4557A;background:#FFF1F5;font-weight:900}
html body .dz3-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:10px;color:#B09AA4}
html body .dz3-hi{height:30px;padding:0 14px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FAB,#FF3B5C);color:#fff;font-size:12px;font-weight:900}
html body .dz3-rules{background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:14px;margin-top:16px}
html body .dz3-rules b{font-size:13px;color:#3B2C31}
html body .dz3-rules p{font-size:11px;color:#8A7F86;line-height:1.75;margin:6px 0 0}
html body .dz3-ed-sec{font-size:12px;font-weight:900;color:#9A8A92;margin:14px 0 8px}
html body .dz3-switch{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #F0E2E8;border-radius:12px;padding:10px 12px;font-size:12px;color:#6B5F66}
html body .dz3-switch button{height:32px;padding:0 14px;border:none;border-radius:999px;background:#F3EFE8;color:#9A8A92;font-size:12px;font-weight:900}
html body .dz3-switch button.on{background:#FF3B6B;color:#fff}
html body .dz3-types{display:grid;grid-template-columns:1fr 1fr;gap:7px}
html body .dz3-type{background:#fff;border:1px solid #F0E2E8;border-radius:12px;padding:9px;font-size:18px;text-align:center}
html body .dz3-type span{display:block;font-size:11px;color:#6B5F66;margin-top:2px}
html body .dz3-type.on{border-color:#FF3B6B;background:#FFF1F5}
html body .dz3-hobbies{display:flex;flex-wrap:wrap;gap:6px}
html body .dz3-hobbies span{font-size:11px;color:#8A7F86;background:#fff;border:1px solid #F0E2E8;border-radius:999px;padding:5px 10px}
html body .dz3-hobbies span.on{background:#FF3B6B;color:#fff;border-color:#FF3B6B}

html body .emoji-fav-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:6px 8px;background:#FFF9FB;border-bottom:1px solid #F3E6ED;flex:0 0 100%}
html body .emoji-fav-row b{font-size:9px;color:#B09AA4;font-weight:400;margin-right:3px}
html body .emoji-fav-item{font-size:22px;padding:2px 4px}

/* 锁图标: 更小更透明, 放在内容后面 */
html body .v2-lock{font-size:20px !important;opacity:.16 !important;z-index:0 !important}
html body .v2-card-t,html body .v2-card-tags,html body .v2-card-b{position:relative !important;z-index:2 !important}
html body .v2-badge{z-index:3 !important}

html body .fc-points{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#F5EEFF,#EDE3FF);border:1px solid #DDD0FF;border-radius:16px;padding:12px;margin-top:10px}
html body .fc-points>div:first-child{text-align:center;min-width:72px;border-right:1px solid #DDD0FF}
html body .fc-points b{display:block;font-size:24px;color:#7C3AED}
html body .fc-points span{font-size:9px;color:#9A8AB0}
html body .fc-points-r{flex:1;font-size:10.5px;color:#7F6B92;line-height:1.5}
html body .fc-points-r button{margin-top:5px;height:30px;padding:0 10px;border:none;border-radius:999px;background:#7C3AED;color:#fff;font-size:11px;font-weight:900}
html body .ft-points{display:inline-block;margin-top:9px;font-size:10.5px;color:#FFF3C4;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:4px 10px}

html body .fp-hero{background:linear-gradient(135deg,#4C1D95,#7C3AED 55%,#C026D3);border-radius:20px;padding:18px;color:#fff;position:relative;overflow:hidden}
html body .fp-lv{display:inline-block;font-size:11px;font-weight:900;background:rgba(255,255,255,.2);border-radius:999px;padding:3px 9px}
html body .fp-pts{font-size:42px;font-weight:900;color:#FFE28A;margin-top:8px;line-height:1}
html body .fp-pts i{font-size:11px;font-style:normal;margin-left:5px;color:#EDE0FF}
html body .fp-sub{font-size:10.5px;opacity:.85;margin-top:5px}
html body .fp-note{font-size:10.5px;line-height:1.7;color:#7F6B92;background:#F7F2FF;border:1px solid #E9DDFF;border-radius:12px;padding:9px 11px;margin-top:10px}
html body .fp-rates{display:flex;gap:8px;margin-top:10px}
html body .fp-rates>div{flex:1;background:#fff;border:1px solid #E9DDFF;border-radius:12px;padding:9px;text-align:center}
html body .fp-rates b{display:block;font-size:13px;color:#7C3AED}
html body .fp-rates span{font-size:10px;color:#9A8AB0}
html body .fp-form{display:flex;gap:7px;background:#fff;border:1px solid #F0E2E8;border-radius:14px;padding:10px}
html body .fp-form select,html body .fp-form input{height:38px;border:1px solid #E9DDFF;border-radius:10px;padding:0 9px;font-size:12px;min-width:0}
html body .fp-form select{width:104px;flex:0 0 104px}
html body .fp-form input{flex:1}
html body .fp-form button{width:64px;border:none;border-radius:10px;background:#7C3AED;color:#fff;font-size:12px;font-weight:900}
html body .fp-pending{margin-top:10px;font-size:11px;color:#92400E;background:#FFF7E6;border:1px solid #FDE68A;border-radius:12px;padding:9px 11px}
html body .fp-logs{display:flex;flex-direction:column;gap:6px}
html body .fp-log{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #F3E6ED;border-radius:12px;padding:8px 10px}
html body .fp-log b{font-size:14px;color:#7C3AED;margin-right:6px}
html body .fp-log span{font-size:10.5px;color:#8A7F86}
html body .fp-log i{font-size:9.5px;color:#B09AA4;font-style:normal}
html body .fp-contact{margin-top:16px;text-align:center;font-size:11px;color:#7C3AED;background:#F7F2FF;border:1px dashed #DDD0FF;border-radius:12px;padding:10px}

html body .fp-items{display:flex;flex-direction:column;gap:8px}
html body .fp-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F3E6ED;border-radius:16px;padding:11px 12px}
html body .fp-item.on{border-color:#C4B5FD;background:#FAF7FF}
html body .fp-item-ic{font-size:28px;width:38px;text-align:center}
html body .fp-item-main{flex:1;min-width:0}
html body .fp-item-main b{font-size:13.5px;color:#3B2C31;display:block}
html body .fp-item-main span{font-size:10.5px;color:#9A8A92;display:block;margin-top:2px}
html body .fp-item-main i{font-style:normal;font-size:9.5px;color:#7C3AED;display:block;margin-top:3px}
html body .fp-item-price{font-size:16px;font-weight:900;color:#7C3AED;text-align:right;white-space:nowrap}
html body .fp-item-price span{display:block;font-size:8.5px;color:#B09AA4;font-weight:400}

html body .fam-pin,html body .fam-honor{font-size:9px;font-weight:900;border-radius:999px;padding:2px 6px;vertical-align:middle}
html body .fam-pin{background:#EEF2FF;color:#4F46E5}
html body .fam-honor{background:#FFF7E0;color:#B45309}

html body .fh-city-area{margin-left:4px;font-size:9.5px;color:#B08C98;background:rgba(255,255,255,.65);border-radius:999px;padding:2px 6px;vertical-align:middle;font-weight:600;max-width:92px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body html.night .fh-city-area,html.night .fh-city-area{background:rgba(255,255,255,.10);color:#CBB2B9}

/* ==================== 双人升温任务 ==================== */
html body .heart-task-slot{padding:0 12px 8px;background:linear-gradient(180deg,rgba(255,247,250,0),#FFF7FA)}
html body .ht-card{border-radius:18px;padding:13px 14px 12px;background:linear-gradient(145deg,#FFF7FA 0%,#FFF0F6 55%,#F8F1FF 100%);border:1px solid rgba(255,143,171,.22);box-shadow:0 8px 22px rgba(196,110,140,.10)}
html body .ht-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
html body .ht-title{font-size:13px;font-weight:900;color:#4A2B36;letter-spacing:.2px}
html body .ht-count{font-size:11px;font-weight:900;color:#E85D82;background:#fff;border-radius:999px;padding:3px 9px;box-shadow:0 2px 8px rgba(232,93,130,.12)}
html body .ht-bar{height:5px;border-radius:999px;background:#F4E3EA;overflow:hidden;margin-bottom:10px}
html body .ht-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#FFB39F,#FF5C8A,#C084FC);transition:width .35s}
html body .ht-list{display:flex;flex-direction:column;gap:6px}
html body .ht-row{display:flex;align-items:center;gap:8px;padding:6px 7px;border-radius:11px;background:rgba(255,255,255,.62)}
html body .ht-row.done{background:rgba(255,255,255,.9)}
html body .ht-check{width:18px;height:18px;flex:0 0 18px;border-radius:50%;border:1.5px solid #E7CBD5;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;background:#fff}
html body .ht-row.done .ht-check{border-color:#FF5C8A;background:linear-gradient(135deg,#FF8FAB,#FF3B6B)}
html body .ht-ico{font-size:15px;flex:0 0 auto}
html body .ht-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html body .ht-main b{font-size:11.5px;font-weight:800;color:#4A2B36;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ht-main i{font-style:normal;font-size:9.5px;color:#B29AA4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ht-reward{font-size:10px;font-weight:900;color:#E85D82;background:#FFF0F4;border-radius:999px;padding:2px 7px;flex:0 0 auto}
html body .ht-mem{font-size:9.5px;color:#B29AA4;margin:9px 2px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ht-claim{width:100%;height:34px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:11.5px;font-weight:900;box-shadow:0 6px 14px rgba(255,59,107,.22);letter-spacing:.2px}
html body .ht-claim[disabled]{opacity:.48;box-shadow:none;background:linear-gradient(135deg,#D9C6CE,#C9B8C0)}

html body .ht-streak{margin-top:10px;padding-top:9px;border-top:1px dashed #F0D9E2}
html body .ht-streak-head{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900;color:#7A4A5A}
html body .ht-streak-head b{font-size:14px;color:#FF3B6B;margin-left:1px}
html body .ht-badge{font-style:normal;font-size:9px;font-weight:900;color:#B7791F;background:#FFF3D6;border-radius:999px;padding:2px 6px;margin-left:auto}
html body .ht-streak-sub{font-size:9.5px;color:#B29AA4;line-height:1.5;margin:4px 0 7px}
html body .ht-streak-btn{width:100%;height:31px;border:none;border-radius:11px;background:linear-gradient(135deg,#FFD08A,#FF8FAB);color:#7A2B3E;font-size:11px;font-weight:900;box-shadow:0 4px 12px rgba(255,143,171,.18)}

html body .ht-miles{display:flex;gap:5px;margin-top:6px;flex-wrap:wrap}
html body .ht-mile{font-size:8.5px;font-weight:800;color:#B29AA4;background:rgba(255,255,255,.75);border:1px solid #F0DDE5;border-radius:999px;padding:2px 6px;white-space:nowrap}
html body .ht-mile.reached{color:#E85D82;border-color:#FFC7D8;background:#FFF7FA}
html body .ht-mile.on{color:#fff;border-color:transparent;background:linear-gradient(135deg,#FF8FAB,#FF3B6B)}

/* ==================== 主页长期徽章 ==================== */
html body .pf2-badgecard{margin:10px 12px 0;padding:13px 14px 14px;border-radius:18px;background:linear-gradient(145deg,#FFF9FB,#FFF2F7);border:1px solid #FFE1EA}
html body .pf2-badgecard .h{font-size:13px;font-weight:900;color:#4A2B36}
html body .pf2-badge-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
html body .pf2-badge-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #FFD9E4;box-shadow:0 3px 10px rgba(232,93,130,.08)}
html body .pf2-badge-chip i{font-style:normal;font-size:14px}
html body .pf2-badge-chip b{font-size:10.5px;font-weight:900;color:#5A3340;white-space:nowrap}
html body .pf2-badge-chip em{font-style:normal;font-size:8.5px;font-weight:800;color:#C08D9D;background:#FFF4F8;border-radius:999px;padding:1px 5px;white-space:nowrap}
html body .pf2-rel-title{font-size:10px;font-weight:800;color:#B08C98;margin:12px 0 0 2px}
html body .pf2-badge-row.rel .pf2-badge-chip{background:linear-gradient(135deg,#FFF4F8,#F8F1FF);border-color:#F3D6E2}
html body .pf2-badge-empty{font-size:10.5px;color:#B29AA4;margin-top:8px}

html body .pf2-rel-line{font-size:10px;font-weight:800;color:#C08D9D;background:#FFF4F8;border-radius:10px;padding:6px 9px;margin-top:9px;line-height:1.5}

html body .pf2-badgecard{padding-bottom:28px}

html body .pf2-badgecard{padding-bottom:28px !important}

/* ==================== 徽章详情 ==================== */
html body .bd-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200100;background:rgba(20,10,16,.58);display:flex;align-items:flex-end;justify-content:center}
html body .bd-sheet{width:100%;max-width:390px;background:#fff;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.22);animation:bdUp .24s ease}
html body .bd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
html body .bd-kicker{font-size:9px;font-weight:900;color:#C08D9D;letter-spacing:1.5px}
html body .bd-title{font-size:20px;font-weight:900;color:#3B2C31;margin-top:4px}
html body .bd-x{width:30px;height:30px;border-radius:50%;background:#FFF2F6;color:#B08C98;display:flex;align-items:center;justify-content:center;font-size:15px;flex:0 0 auto}
html body .bd-person{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #F6EBEF}
html body .bd-ava{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#FFF0F4;display:flex;align-items:center;justify-content:center;flex:0 0 44px}
html body .bd-ava img{width:100%;height:100%;object-fit:cover}
html body .bd-ava-ph{font-size:18px;font-weight:900;color:#E85D82}
html body .bd-pmain{flex:1;min-width:0}
html body .bd-pname{font-size:13px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .bd-pmeta{font-size:10px;color:#A08D97;margin-top:3px}
html body .bd-pbadge{font-size:9.5px;font-weight:900;color:#E85D82;background:#FFF0F4;border-radius:999px;padding:4px 8px;white-space:nowrap}
html body .bd-tip{font-size:9.5px;color:#B9A5AE;text-align:center;margin-top:13px}
html body .bd-empty{text-align:center;color:#A08D97;font-size:12px;padding:26px 0}
html body .bd-load{text-align:center;color:#B08C98;font-size:12px;padding:26px 0}
html body .bd-public{text-align:center;padding:8px 0 4px}
html body .bd-public-ico{font-size:48px;line-height:1.2}
html body .bd-public-n{font-size:13px;color:#7A4A5A;margin-top:6px}
html body .bd-public-n b{font-size:34px;color:#FF3B6B;margin-right:3px}
html body .bd-public-d{font-size:11px;color:#A08D97;margin-top:4px}
html body .pf2-badge-chip{cursor:pointer}
@keyframes bdUp{from{transform:translateY(100%)}to{transform:translateY(0)}}

/* ==================== 聊天页紧凑升温入口 ==================== */
html body .heart-entry-slot{padding:0 12px 6px;background:#FFF7FA}
html body .ht-entry{height:36px;display:flex;align-items:center;gap:7px;padding:0 11px;border-radius:12px;background:linear-gradient(135deg,#FFF7FA,#FFF0F6);border:1px solid #FFDCE8;box-shadow:0 3px 10px rgba(232,93,130,.06);cursor:pointer}
html body .ht-e-ic{font-size:14px;flex:0 0 auto}
html body .ht-e-main{flex:1;min-width:0;display:flex;align-items:baseline;gap:5px;white-space:nowrap;overflow:hidden}
html body .ht-e-main b{font-size:10.5px;font-weight:900;color:#5A3340}
html body .ht-e-main i{font-style:normal;font-size:9px;color:#B08C98}
html body .ht-e-r{font-size:9px;font-weight:900;color:#C08D9D;background:#fff;border-radius:999px;padding:3px 7px;white-space:nowrap}
html body .ht-e-r.hot{color:#fff;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);box-shadow:0 3px 8px rgba(255,59,107,.22)}
html body .ht-e-go{font-size:9.5px;font-weight:900;color:#E85D82;white-space:nowrap}
html body .ht-sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200100;background:rgba(20,10,16,.52);display:flex;align-items:flex-end;justify-content:center}
html body .ht-sheet{width:100%;max-width:390px;max-height:78vh;overflow:auto;background:#FFF9FB;border-radius:24px 24px 0 0;padding:16px 14px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.22);animation:htUp .24s ease}
html body .ht-sheet-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:900;color:#4A2B36;margin:0 2px 10px}
html body .ht-sheet-x{width:28px;height:28px;border-radius:50%;background:#FFF0F4;color:#B08C98;display:flex;align-items:center;justify-content:center;font-size:14px}
html body .ht-sheet .ht-card{box-shadow:none;border-radius:16px}
@keyframes htUp{from{transform:translateY(100%)}to{transform:translateY(0)}}

html body .ht-sheet-mask{z-index:2147483600}

/* ==================== 非好友升温提示 / 我的徽章 ==================== */
html body .ht-friend-hint{height:36px;display:flex;align-items:center;gap:6px;padding:0 11px;border-radius:12px;background:linear-gradient(135deg,#FFF9FB,#FFF3F7);border:1px dashed #FFD3E1;color:#A08D97}
html body .ht-friend-hint span{font-size:14px}
html body .ht-friend-hint b{font-size:10.5px;color:#C24E74;font-weight:900;white-space:nowrap}
html body .ht-friend-hint em{font-style:normal;font-size:9px;color:#B9A5AE;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .bd-mask{z-index:2147483600}
html body .mybd-tip{font-size:10.5px;color:#A08D97;line-height:1.6;background:#FFF8F0;border:1px solid #FFE6C7;border-radius:12px;padding:9px 11px;margin-bottom:12px}
html body .mybd-person{background:#fff;border:1px solid #FFE1EA;border-radius:16px;padding:12px;margin-bottom:10px;box-shadow:0 6px 18px rgba(196,110,140,.07)}
html body .mybd-top{display:flex;align-items:center;gap:10px}
html body .mybd-av{width:46px;height:46px;border-radius:50%;overflow:hidden;flex:0 0 46px}
html body .mybd-av img{width:100%;height:100%;object-fit:cover}
html body .mybd-main{flex:1;min-width:0}
html body .mybd-nm{font-size:13px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .mybd-meta{font-size:9.5px;color:#B08C98;margin-top:3px}
html body .mybd-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
html body .mybd-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:linear-gradient(135deg,#FFF4F8,#F8F1FF);border:1px solid #F3D6E2;cursor:pointer}
html body .mybd-chip i{font-style:normal;font-size:13px}
html body .mybd-chip b{font-size:9.5px;font-weight:900;color:#5A3340}
html body .mybd-chip em{font-style:normal;font-size:8px;font-weight:800;color:#C08D9D;background:#fff;border-radius:999px;padding:1px 4px}
html body .mybd-empty{text-align:center;color:#A08D97;font-size:13px;padding:36px 12px;font-weight:800}
html body .mybd-empty .s{font-size:10.5px;color:#B9A5AE;font-weight:400;line-height:1.7;margin-top:7px}

/* ==================== 聊天体验优化 ==================== */
html body .chat-mini{display:flex;align-items:center;gap:9px;margin:8px 12px;padding:9px 11px;border-radius:14px;background:linear-gradient(135deg,#FFF8FB,#FFF2F7);border:1px solid #FFE1EA;box-shadow:0 4px 12px rgba(196,110,140,.06);cursor:pointer}
html body .chat-mini .cm-av{width:38px;height:38px;border-radius:50%;overflow:hidden;flex:0 0 38px;background:#FFF0F4}
html body .chat-mini .cm-av img{width:100%;height:100%;object-fit:cover}
html body .chat-mini .cm-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .chat-mini .cm-main b{font-size:12.5px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .chat-mini .cm-main span{font-size:9.5px;color:#A08D97;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .chat-mini .cm-more{font-size:10px;font-weight:900;color:#E85D82;white-space:nowrap}
html body .chat-mini.open{border-color:#FFC7D8;background:linear-gradient(135deg,#FFF4F8,#F8F1FF)}
html body .chat-info-slot #chatFull{padding:0 0 4px}
html body .img-bub{position:relative;min-height:110px;min-width:110px;background:#F8F0F4;overflow:hidden;display:flex;align-items:center;justify-content:center}
html body .img-bub .img-ph{position:absolute;font-size:10px;color:#B9A5AE;letter-spacing:1px}
html body .img-bub img{position:relative;z-index:1;opacity:0;transition:opacity .2s;max-width:100%;max-height:300px;border-radius:inherit}
html body .img-bub.img-loaded img{opacity:1}
html body .img-bub.img-loaded .img-ph{display:none}
html body .msg-send-status{font-size:9px;color:#B9A5AE;margin-top:3px;text-align:right;white-space:nowrap}
html body .msg-send-status.fail{color:#EF4444;font-weight:800;cursor:pointer}
html body .chat-to-bottom{position:fixed;right:14px;bottom:calc(94px + env(safe-area-inset-bottom));z-index:9997;display:none;align-items:center;justify-content:center;height:30px;padding:0 11px;border-radius:999px;background:#fff;color:#C24E74;font-size:10px;font-weight:900;border:1px solid #FFD9E4;box-shadow:0 5px 16px rgba(196,110,140,.18)}

/* ==================== 消息页限时匹配 ==================== */
html body #limitMatchSlot{padding:0 12px 8px}
html body #limitMatchSlot:empty{display:none}
html body .lm-card{margin:0;border-radius:18px;padding:12px 13px 10px;background:linear-gradient(135deg,#3A1E32,#6B2B4D 55%,#9E3D62);box-shadow:0 10px 26px rgba(91,28,56,.25);color:#fff;position:relative;overflow:hidden}
html body .lm-card:before{content:'';position:absolute;right:-24px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(255,180,200,.35),transparent 65%)}
html body .lm-head{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:900;letter-spacing:.4px}
html body .lm-head b{margin-left:auto;font-size:11px;font-weight:900;color:#FFD9E4;background:rgba(255,255,255,.13);border-radius:999px;padding:3px 8px}
html body .lm-head i{font-style:normal;color:rgba(255,255,255,.65);font-size:14px;padding-left:3px}
html body .lm-body{display:flex;align-items:center;gap:9px;margin-top:9px;position:relative;z-index:1}
html body .lm-av{width:42px;height:42px;border-radius:50%;overflow:hidden;flex:0 0 42px;border:2px solid rgba(255,255,255,.35)}
html body .lm-av img{width:100%;height:100%;object-fit:cover}
html body .lm-main{flex:1;min-width:0}
html body .lm-nm{font-size:13px;font-weight:900;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lm-sub{font-size:9.5px;color:rgba(255,255,255,.68);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lm-go{flex:0 0 auto;border:none;border-radius:999px;padding:8px 12px;background:linear-gradient(135deg,#FFD08A,#FF8FAB);color:#6B1E39;font-size:10.5px;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.16)}
html body .lm-tip{font-size:8.5px;color:rgba(255,255,255,.48);margin-top:7px}

/* ==================== 同城匹配卡片（后台可配置） ==================== */
html body .fh-mc{display:flex;align-items:center;gap:11px;margin:0 16px 16px;padding:11px 12px;border-radius:18px;border:1px solid #FFD9E8;background:linear-gradient(135deg,#FFF8FB,#FFF0F6 55%,#F7F0FF);box-shadow:0 8px 22px rgba(255,92,138,.10);cursor:pointer;position:relative;overflow:hidden}
html body .fh-mc:after{content:'';position:absolute;right:-18px;top:-24px;width:78px;height:78px;border-radius:50%;background:rgba(255,92,138,.09)}
html body .fh-mc-av{width:52px;height:52px;flex:0 0 52px;border-radius:16px;overflow:hidden;background:#FFE3EE;border:2px solid #fff;box-shadow:0 4px 12px rgba(255,92,138,.16)}
html body .fh-mc-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .fh-mc-main{flex:1;min-width:0;position:relative;z-index:1}
html body .fh-mc-main b{display:block;font-size:14px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-mc-main span{display:block;font-size:10.5px;color:#A08A91;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-mc-btn{flex:0 0 auto;border-radius:999px;padding:7px 11px;background:linear-gradient(135deg,#FF8FB0,#FF4D7D);color:#fff;font-size:10.5px;font-weight:900;box-shadow:0 4px 12px rgba(255,77,125,.24);position:relative;z-index:1}
html.night body .fh-mc{background:linear-gradient(135deg,#2A1B22,#241B2A);border-color:#4A2A3A}
html.night body .fh-mc-main b{color:#FFF1F4}
html.night body .fh-mc-main span{color:#B79AA3}

/* 限时匹配：一行 4 个可选 */
html body .lm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:10px;position:relative;z-index:1}
html body .lm-person{display:flex;flex-direction:column;align-items:center;min-width:0;padding:4px 2px 3px;border-radius:13px;cursor:pointer;transition:background .15s,transform .12s}
html body .lm-person:active{transform:scale(.96);background:rgba(255,255,255,.08)}
html body .lm-pav{width:54px;height:54px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.42);box-shadow:0 4px 12px rgba(0,0,0,.2);background:rgba(255,255,255,.12)}
html body .lm-pav img{width:100%;height:100%;object-fit:cover;display:block}
html body .lm-pnm{font-size:10px;font-weight:900;color:#fff;margin-top:6px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lm-pmeta{font-size:8px;color:rgba(255,255,255,.62);margin-top:2px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lm-tip{font-size:8.5px;color:rgba(255,255,255,.48);margin-top:7px;text-align:center}

/* ==================== 短视频入口 ==================== */
html body .sq-sv-entry{display:flex;align-items:center;gap:9px;margin:8px 12px 4px;padding:9px 12px;border-radius:15px;background:linear-gradient(120deg,#2A1430,#5A2043 55%,#A63A62);box-shadow:0 7px 18px rgba(80,20,45,.18);cursor:pointer;position:relative;overflow:hidden}
html body .sq-sv-entry:after{content:'';position:absolute;right:-20px;top:-30px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(255,170,195,.35),transparent 66%)}
html body .sq-sv-play{width:31px;height:31px;flex:0 0 31px;border-radius:50%;background:linear-gradient(135deg,#FFD08A,#FF729B);display:flex;align-items:center;justify-content:center;color:#5B1734;font-size:12px;padding-left:2px;box-shadow:0 3px 10px rgba(0,0,0,.16)}
html body .sq-sv-main{flex:1;min-width:0;position:relative;z-index:1}
html body .sq-sv-main b{display:block;color:#fff;font-size:12.5px;font-weight:900;letter-spacing:.4px}
html body .sq-sv-main span{display:block;color:rgba(255,255,255,.66);font-size:9.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sq-sv-go{flex:0 0 auto;color:#FFD7E4;font-size:10px;font-weight:900;position:relative;z-index:1}
/* ==================== 短视频全屏页 ==================== */
html body .sv-page{position:absolute;top:0;right:0;bottom:0;left:0;background:#08050A;overflow:hidden}
html body .sv-top{position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 12px 12px;background:linear-gradient(180deg,rgba(0,0,0,.56),transparent);color:#fff}
html body .sv-back{width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;font-size:23px;line-height:1;color:#fff;border:1px solid rgba(255,255,255,.16)}
html body .sv-top b{font-size:15px;font-weight:900;letter-spacing:.8px;flex:1}
html body .sv-pub{font-size:11px;font-weight:900;color:#5B1734;background:linear-gradient(135deg,#FFD08A,#FF8FAB);border-radius:999px;padding:6px 10px}
html body .sv-mute{width:31px;height:31px;border-radius:50%;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;font-size:14px;border:1px solid rgba(255,255,255,.16)}
html body .sv-scroll{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
html body .sv-scroll::-webkit-scrollbar{display:none}
html body .sv-item{position:relative;height:100%;scroll-snap-align:start;background:#000;overflow:hidden}
html body .sv-item video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
html body .sv-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,transparent 24%,transparent 56%,rgba(0,0,0,.72) 100%);pointer-events:none}
html body .sv-info{position:absolute;left:14px;right:70px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:3;color:#fff}
html body .sv-user{display:flex;align-items:center;gap:8px}
html body .sv-av{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.6);flex:0 0 34px}
html body .sv-av img{width:100%;height:100%;object-fit:cover}
html body .sv-nm b{display:block;font-size:13px;font-weight:900;text-shadow:0 1px 4px rgba(0,0,0,.4)}
html body .sv-nm span{display:block;font-size:9.5px;color:rgba(255,255,255,.62);margin-top:1px}
html body .sv-cap{font-size:12px;line-height:1.55;color:#fff;margin-top:10px;text-shadow:0 1px 4px rgba(0,0,0,.45);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body .sv-hint{font-size:9px;color:rgba(255,255,255,.45);margin-top:7px}
html body .sv-actions{position:absolute;right:11px;bottom:calc(28px + env(safe-area-inset-bottom));z-index:4;display:flex;flex-direction:column;align-items:center;gap:14px}
html body .sv-act{border:none;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;min-width:44px}
html body .sv-act i{font-style:normal;font-size:25px;line-height:1;text-shadow:0 2px 5px rgba(0,0,0,.45);filter:drop-shadow(0 2px 5px rgba(0,0,0,.35))}
html body .sv-act em{font-style:normal;font-size:9.5px;font-weight:800;color:rgba(255,255,255,.86)}
html body .sv-act.on i{color:#FF4D7D}
html body .sv-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px;text-align:center;background:radial-gradient(circle at 50% 32%,#4A2039,#1B0D16 58%,#08050A)}
html body .sv-empty-ic{font-size:58px;filter:drop-shadow(0 8px 20px rgba(255,120,160,.28));margin-bottom:13px}
html body .sv-empty b{color:#fff;font-size:18px;font-weight:900;letter-spacing:.4px}
html body .sv-empty span{color:rgba(255,255,255,.55);font-size:11.5px;line-height:1.7;margin-top:7px;max-width:230px}
html body .sv-empty-btn{margin-top:21px;border:none;border-radius:999px;padding:12px 24px;background:linear-gradient(135deg,#FFD08A,#FF7DA2);color:#5B1734;font-size:13px;font-weight:900;box-shadow:0 8px 22px rgba(255,100,145,.24)}

/* 广场 吐槽墙同一行：短视频 */
html body #sqTabs{display:flex;align-items:center}
html body #sqTabs .sq-sv-tab{margin-left:auto;padding:0 2px;font-size:12px;color:#FF4D7D;font-weight:900;white-space:nowrap}
html body #sqTabs .sq-sv-tab:before{content:''}
/* 短视频声音提示 */
html body .sv-sound{position:absolute;top:calc(58px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:30;padding:7px 13px;border-radius:999px;background:rgba(0,0,0,.62);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:11px;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.25);white-space:nowrap}

/* ==================== 个人主页视频 ==================== */
html body .pf2-videos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
html body .pf2-vitem{position:relative;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:#1b1118;cursor:pointer}
html body .pf2-vitem video{width:100%;height:100%;object-fit:cover;display:block}
html body .pf2-vplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.45);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;padding-left:2px;pointer-events:none}
html body .pf2-vstat{position:absolute;left:5px;bottom:5px;right:5px;color:#fff;font-size:8px;font-weight:800;text-shadow:0 1px 4px rgba(0,0,0,.65);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
html body .pf2-vsel{position:absolute;top:4px;right:4px;max-width:67px;border:none;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:8px;padding:3px 2px;outline:none}
html body .pf2-vpub{margin-top:8px;text-align:center;border:1px dashed #FFD1E1;border-radius:9px;padding:7px;color:#FF4D7D;font-size:11px;font-weight:900;background:#FFF8FB}

/* ==================== 短视频 · 抖音式布局 ==================== */
html body .sv-page{background:#000}
html body .sv-top{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;align-items:center;background:linear-gradient(180deg,rgba(0,0,0,.62),transparent);z-index:40}
html body .sv-back{width:34px;height:34px;font-size:24px;background:rgba(0,0,0,.28);border:none;flex:0 0 34px}
html body .sv-tabs{position:absolute;left:50%;top:calc(env(safe-area-inset-top) + 9px);transform:translateX(-50%);display:flex;align-items:center;gap:19px;height:34px}
html body .sv-tabs span{font-size:15px;color:rgba(255,255,255,.62);font-weight:800;letter-spacing:.3px;position:relative;padding:4px 1px;transition:color .15s}
html body .sv-tabs span.on{color:#fff;font-size:16px;font-weight:900}
html body .sv-tabs span.on:after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:16px;height:2px;border-radius:2px;background:#fff}
html body .sv-top-r{margin-left:auto;display:flex;align-items:center;gap:7px}
html body .sv-icon{width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.26);display:flex;align-items:center;justify-content:center;font-size:17px;color:#fff;border:none}
html body #svMute{font-size:14px}
html body .sv-scroll{overscroll-behavior:contain}
html body .sv-item{background:#000}
html body .sv-shade{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,transparent 25%,transparent 52%,rgba(0,0,0,.78) 100%)}
html body .sv-bottom{position:absolute;left:14px;right:76px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:6;color:#fff}
html body .sv-owner{font-size:16px;font-weight:900;letter-spacing:.2px;text-shadow:0 1px 5px rgba(0,0,0,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sv-cap{font-size:13px;line-height:1.45;color:rgba(255,255,255,.96);margin-top:7px;text-shadow:0 1px 5px rgba(0,0,0,.55);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .sv-music{font-size:10.5px;color:rgba(255,255,255,.78);margin-top:8px;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sv-progress{height:2px;background:rgba(255,255,255,.25);border-radius:2px;margin-top:10px;overflow:hidden}
html body .sv-progress i{display:block;height:100%;width:0;background:#fff;border-radius:2px;transition:width .1s linear}
html body .sv-rail{position:absolute;right:9px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:7;display:flex;flex-direction:column;align-items:center;gap:15px}
html body .sv-avatar-wrap{position:relative;width:47px;height:47px;flex:0 0 47px;margin-bottom:3px;cursor:pointer}
html body .sv-avatar{width:47px;height:47px;border-radius:50%;overflow:hidden;border:2px solid #fff;background:#333;box-shadow:0 3px 12px rgba(0,0,0,.35)}
html body .sv-avatar img{width:100%;height:100%;object-fit:cover;display:block}
html body .sv-plus{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);width:17px;height:17px;border-radius:50%;background:#FF2D55;color:#fff;font-size:14px;line-height:16px;text-align:center;font-weight:900;border:1.5px solid #fff}
html body .sv-act{min-width:47px;border:none;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;line-height:1}
html body .sv-act i{font-style:normal;font-size:28px;line-height:1;text-shadow:0 2px 6px rgba(0,0,0,.55);filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}
html body .sv-act em{font-style:normal;font-size:10px;font-weight:800;color:rgba(255,255,255,.92);text-shadow:0 1px 4px rgba(0,0,0,.5)}
html body .sv-act.on i{color:#FF2D55}
html body .sv-disc{width:44px;height:44px;border-radius:50%;margin-top:4px;background:conic-gradient(from 0deg,#2b1a22,#5b2237,#2b1a22,#5b2237,#2b1a22);border:5px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;box-shadow:0 3px 12px rgba(0,0,0,.4);animation:svSpin 5s linear infinite}
@keyframes svSpin{to{transform:rotate(360deg)}}
html body .sv-fab{position:absolute;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:30;width:46px;height:46px;border-radius:14px;background:#fff;color:#111;display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:400;box-shadow:0 5px 18px rgba(0,0,0,.35);cursor:pointer}
html body .sv-fab:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:16px;background:linear-gradient(90deg,#25F4EE 0 33%,#fff 33% 66%,#FE2C55 66%);border-radius:0 0 13px 13px;opacity:.9}
html body .sv-sound{top:calc(62px + env(safe-area-inset-top));z-index:45}
/* 发布页 */
html body .svp-page{position:absolute;top:0;right:0;bottom:0;left:0;background:#FFF8FB;overflow:hidden;color:#3B2C31}
html body .svp-top{height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;display:flex;align-items:center;gap:10px;background:#fff;border-bottom:1px solid #F6E7EE}
html body .svp-back{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:25px;color:#3B2C31}
html body .svp-top b{font-size:16px;font-weight:900;flex:1}
html body .svp-done{font-size:11px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF6F9B,#FF2D55);border-radius:999px;padding:7px 13px}
html body .svp-body{position:absolute;top:calc(54px + env(safe-area-inset-top));left:0;right:0;bottom:0;overflow-y:auto;padding:16px 16px 30px}
html body .svp-pick{height:220px;border:1.5px dashed #FFC2D5;border-radius:18px;background:linear-gradient(135deg,#FFF3F8,#F8F2FF);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#B78C9C;cursor:pointer}
html body .svp-add{width:48px;height:48px;border-radius:50%;background:#fff;color:#FF4D7D;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 5px 16px rgba(255,92,138,.16);margin-bottom:3px}
html body .svp-pick b{font-size:15px;color:#4B303B;font-weight:900}
html body .svp-pick span{font-size:11px;color:#B79AA3}
html body .svp-preview{position:relative;border-radius:16px;overflow:hidden;background:#000;max-height:340px;display:flex;justify-content:center}
html body .svp-preview video{width:100%;max-height:340px;object-fit:contain;display:block}
html body .svp-meta{position:absolute;left:8px;bottom:8px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:10px}
html body .svp-field{position:relative;margin-top:14px;background:#fff;border-radius:14px;padding:10px 12px;border:1px solid #F6E7EE}
html body .svp-field textarea{width:100%;height:70px;border:none;outline:none;resize:none;font-size:14px;line-height:1.55;background:transparent;color:#3B2C31;box-sizing:border-box;font-family:inherit}
html body .svp-field span{position:absolute;right:10px;bottom:7px;font-size:9.5px;color:#C8ABB6}
html body .svp-label{font-size:12px;font-weight:900;color:#5B4650;margin:17px 0 9px}
html body .svp-chips{display:flex;gap:8px}
html body .svp-chips span{padding:8px 17px;border-radius:999px;background:#fff;border:1px solid #F2DCE5;color:#A0828F;font-size:12px;font-weight:800}
html body .svp-chips span.on{background:#FFF0F5;border-color:#FF8FB0;color:#FF2D55}
html body .svp-tip{font-size:10px;color:#B79AA3;line-height:1.6;margin-top:14px}
html body .svp-submit{width:100%;height:46px;margin-top:20px;border:none;border-radius:14px;background:linear-gradient(135deg,#FF7DA2,#FF2D55);color:#fff;font-size:15px;font-weight:900;box-shadow:0 7px 18px rgba(255,45,85,.22)}
html body .svp-submit:disabled{opacity:.45;box-shadow:none}
html body .svp-busy{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(20,8,14,.46);backdrop-filter:blur(3px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;z-index:20;color:#fff}
html body .svp-busy b{font-size:12px;font-weight:800}
html body .svp-spin{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#FF7DA2;animation:svSpin .8s linear infinite}

/* 双击点赞大爱心 */
html body .sv-bigheart{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.4);z-index:25;font-size:82px;color:#FF2D55;text-shadow:0 8px 30px rgba(0,0,0,.35);pointer-events:none;animation:svHeart .65s cubic-bezier(.2,1.6,.4,1) forwards}
@keyframes svHeart{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}70%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.35)}}

/* 短视频右上角搜索放大，无静音按钮 */
html body .sv-top-r{gap:5px}
html body .sv-icon.sv-search{width:43px;height:43px;font-size:23px;background:rgba(0,0,0,.32)}
html body .sv-icon.sv-music-btn{font-size:16px}
/* 音乐库 */
html body .mus-page{background:#FFF8FB;min-height:100%;padding:14px 14px 40px!important}
html body .mus-lead{padding:16px 4px 12px;color:#3B2C31}
html body .mus-lead b{display:block;font-size:17px;font-weight:900}
html body .mus-lead span{display:block;font-size:11px;color:#A08A93;margin-top:5px}
html body .mus-list{display:flex;flex-direction:column;gap:9px}
html body .mus-row{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:16px;background:#fff;border:1px solid #F5E4EC;box-shadow:0 4px 13px rgba(100,40,65,.05)}
html body .mus-ic{width:45px;height:45px;flex:0 0 45px;border-radius:14px;background:linear-gradient(135deg,#FFF0F6,#F2ECFF);display:flex;align-items:center;justify-content:center;font-size:23px}
html body .mus-main{flex:1;min-width:0}
html body .mus-main b{display:block;font-size:13.5px;font-weight:900;color:#3B2C31}
html body .mus-main span{display:block;font-size:10px;color:#A08A93;margin-top:3px}
html body .mus-play{width:34px;height:34px;flex:0 0 34px;border-radius:50%;border:1px solid #FFD3E2;background:#FFF3F8;color:#FF3B6B;font-size:11px}
html body .mus-use{flex:0 0 auto;border:none;border-radius:999px;padding:8px 10px;background:linear-gradient(135deg,#FF8FB0,#FF4D7D);color:#fff;font-size:10px;font-weight:900}
html body .mus-note{margin-top:18px;font-size:10px;color:#B49BA4;line-height:1.7;text-align:center}
/* 分享面板 */
html body .share-sheet{background:#FFF8FB;min-height:100%;padding:12px 14px 34px!important}
html body .share-preview{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F5E4EC;border-radius:16px;padding:10px;margin-bottom:14px}
html body .share-pv-v{width:70px;height:86px;flex:0 0 70px;border-radius:11px;overflow:hidden;background:#1b1118;display:flex;align-items:center;justify-content:center;font-size:26px}
html body .share-pv-v video{width:100%;height:100%;object-fit:cover;display:block}
html body .share-pv-t{flex:1;min-width:0}
html body .share-pv-t b{display:block;font-size:12px;font-weight:900;color:#3B2C31}
html body .share-pv-t span{display:block;font-size:11px;color:#887780;line-height:1.5;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .share-h{font-size:12px;font-weight:900;color:#5B4650;margin:3px 0 8px}
html body .share-list{display:flex;flex-direction:column;gap:7px}
html body .share-fr{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:13px;background:#fff;border:1px solid #F8EAF0}
html body .share-fr-main{flex:1;min-width:0}
html body .share-fr-main b{display:block;font-size:12.5px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .share-fr-main span{display:block;font-size:9.5px;color:#AD969F;margin-top:2px}
html body .share-fr-send{flex:0 0 auto;border-radius:999px;padding:7px 11px;background:#FFF0F5;color:#FF3B6B;font-size:10px;font-weight:900}
html body .share-empty{padding:35px 10px;text-align:center;font-size:11px;color:#B49BA4}
html body .share-copy{width:100%;margin-top:16px;height:42px;border:1px solid #F2DCE5;border-radius:12px;background:#fff;color:#B08090;font-size:11.5px;font-weight:800}
/* 聊天里的分享卡片 */
html body .share-bub{display:flex;align-items:center;gap:8px;max-width:235px;padding:6px;border-radius:12px;background:#fff;border:1px solid #F5E2EA;cursor:pointer}
html body .share-v{width:56px;height:70px;flex:0 0 56px;border-radius:9px;overflow:hidden;background:#1b1118;display:flex;align-items:center;justify-content:center;font-size:22px}
html body .share-v video{width:100%;height:100%;object-fit:cover;display:block}
html body .share-tx{min-width:0}
html body .share-tx b{display:block;font-size:11px;font-weight:900;color:#3B2C31}
html body .share-tx span{display:block;font-size:9.5px;color:#9D8790;line-height:1.45;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 短视频评论底部弹层 */
html body .svc-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:70;background:rgba(0,0,0,.38);display:flex;align-items:flex-end;opacity:0;transition:opacity .2s}
html body .svc-mask.on{opacity:1}
html body .svc-sheet{width:100%;height:68%;background:#171016;border-radius:20px 20px 0 0;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .24s cubic-bezier(.2,.8,.3,1);overflow:hidden;color:#fff}
html body .svc-mask.on .svc-sheet{transform:none}
html body .svc-head{height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid rgba(255,255,255,.08)}
html body .svc-head b{font-size:13px;font-weight:900}
html body .svc-close{position:absolute;right:14px;top:10px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:15px}
html body .svc-list{flex:1;overflow-y:auto;padding:8px 14px 12px}
html body .svc-item{display:flex;gap:8px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05)}
html body .svc-av{width:32px;height:32px;flex:0 0 32px;border-radius:50%;overflow:hidden;background:#333}
html body .svc-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .svc-main{flex:1;min-width:0}
html body .svc-nm{font-size:10px;color:rgba(255,255,255,.5);display:flex;gap:6px;align-items:center}
html body .svc-nm span{font-size:8.5px;color:rgba(255,255,255,.28);margin-left:auto}
html body .svc-ct{font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.92);margin-top:3px;word-break:break-word}
html body .svc-empty{padding:55px 0;text-align:center;color:rgba(255,255,255,.35);font-size:11px}
html body .svc-bar{flex:0 0 auto;display:flex;align-items:center;gap:7px;padding:8px 11px calc(8px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:#171016}
html body .svc-bar input{flex:1;min-width:0;height:36px;border:none;border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:12px;padding:0 13px;outline:none}
html body .svc-bar input::placeholder{color:rgba(255,255,255,.35)}
html body .svc-bar button{flex:0 0 auto;height:36px;border:none;border-radius:999px;padding:0 16px;background:#FF2D55;color:#fff;font-size:12px;font-weight:900}

/* 评论作者标签与点赞 */
html body .svc-item{position:relative;padding-right:40px}
html body .svc-author{font-style:normal;font-size:7.5px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF6B9A,#FF2D55);border-radius:4px;padding:1.5px 4px;margin-left:5px;vertical-align:1px}
html body .svc-like{position:absolute;right:0;top:15px;border:none;background:transparent;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:28px;padding:0}
html body .svc-like i{font-style:normal;font-size:17px;color:rgba(255,255,255,.68);line-height:1}
html body .svc-like em{font-style:normal;font-size:8px;color:rgba(255,255,255,.42)}
html body .svc-like.on i{color:#FF2D55}

html body .sv-author-mark{font-style:normal;display:inline-block;margin-left:6px;font-size:8px;font-weight:900;color:#5B1734;background:linear-gradient(135deg,#FFD08A,#FF9BB6);border-radius:4px;padding:1.5px 4px;vertical-align:2px}

/* 评论页作者标签/点赞 */
html body .pc-item{position:relative;padding-right:36px}
html body .pc-author{font-style:normal;font-size:8px;font-weight:900;color:#fff;background:linear-gradient(135deg,#FF6B9A,#FF2D55);border-radius:4px;padding:1px 4px;margin-left:5px;vertical-align:1px}
html body .pc-like{position:absolute;right:0;top:13px;border:none;background:transparent;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:28px;padding:0}
html body .pc-like i{font-style:normal;font-size:17px;color:#C8B4BD}
html body .pc-like em{font-style:normal;font-size:8px;color:#B9A3AD}
html body .pc-like.on i{color:#FF2D55}

/* 视频完整显示，避免裁切放大造成模糊 */
html body .sv-item video{object-fit:contain;background:#000}

/* 评论回复 */
html body .svc-children{margin-left:36px;padding-left:8px;border-left:1px solid rgba(255,255,255,.08)}
html body .svc-child{padding:7px 0}
html body .svc-child .svc-av{width:26px;height:26px;flex:0 0 26px}
html body .svc-child .svc-ct{font-size:11.5px}
html body .svc-child .svc-nm{font-size:9px}
html body .svc-to{font-style:normal;color:#FF9CB8;font-size:10px}
html body .svc-reply{margin-top:4px;font-size:9px;color:rgba(255,255,255,.45);display:inline-block;padding:1px 0}
html body .svc-reply:active{color:#FF8FB0}
html body .svc-replyhint{flex:0 0 auto;display:none;align-items:center;justify-content:space-between;padding:7px 14px;background:#24171E;color:#FFB3C7;font-size:10px;border-top:1px solid rgba(255,255,255,.06)}
html body .svc-replyhint b{font-weight:800;color:rgba(255,255,255,.55);font-size:10px}

html body .sv-tabs{gap:15px}
html body .sv-views{font-size:9.5px;color:rgba(255,255,255,.55);margin-top:5px;display:flex;align-items:center;gap:3px}
html body .sv-views b{font-weight:800;color:rgba(255,255,255,.78)}

/* 视频话题 */
html body .sv-topics{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
html body .sv-topics span{font-size:10.5px;color:#FFD7E4;font-weight:800;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)}
html body .sv-topic-active{position:absolute;top:calc(58px + env(safe-area-inset-top));left:14px;z-index:35;display:flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:800}
html body .sv-topic-active b{font-size:12px;color:rgba(255,255,255,.6);font-weight:400}
/* 视频更多菜单 */
html body .vm-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;background:rgba(0,0,0,.42);display:flex;align-items:flex-end;opacity:0;transition:opacity .18s}
html body .vm-mask.on{opacity:1}
html body .vm-sheet{width:100%;background:#fff;border-radius:18px 18px 0 0;padding:8px 12px calc(10px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .22s}
html body .vm-mask.on .vm-sheet{transform:none}
html body .vm-item{height:49px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#3B2C31;border-bottom:1px solid #F6E9EF}
html body .vm-item.danger{color:#FF3B6B}
html body .vm-item.cancel{color:#A08A93;border-bottom:none;margin-top:4px}

html body .svp-field input{width:100%;height:36px;border:none;outline:none;background:transparent;font-size:12px;color:#3B2C31;box-sizing:border-box;font-family:inherit}
html body .svp-field input::placeholder{color:#C4AAB4}

html body .mus-upload{position:absolute;right:14px;top:14px;font-size:11px;font-weight:900;color:#FF3B6B;background:#FFF0F5;border:1px solid #FFD3E2;border-radius:999px;padding:6px 10px}
html body .mus-del{flex:0 0 auto;border:none;background:transparent;color:#D6A5B5;font-size:9px;padding:2px 3px}
html body .mus-empty{padding:22px 10px;text-align:center;font-size:10.5px;color:#B49BA4;background:#fff;border:1px dashed #F2DCE5;border-radius:12px}

html body .sv-buffer{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;width:42px;height:42px;display:none;align-items:center;justify-content:center;border-radius:50%;background:rgba(0,0,0,.35)}
html body .sv-buffer i{width:24px;height:24px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;animation:svSpin .8s linear infinite}
html body .sv-buffer span{position:absolute;width:160px;text-align:center;font-size:11px;color:#fff;line-height:1.7}
html body .sv-buffer em{font-style:normal;font-size:10px;color:#FFB3C7}

/* 视频搜索 */
html body .vs-page{background:#FFF8FB;min-height:100%;padding:12px 14px 40px!important}
html body .vs-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #F2DCE5;border-radius:14px;padding:0 12px;height:44px}
html body .vs-search span{font-size:18px;color:#B49BA4}
html body .vs-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:13px;color:#3B2C31}
html body .vs-hot{margin-top:16px}
html body .vs-hot>b,.vs-res>b{font-size:12px;font-weight:900;color:#5B4650}
html body .vs-hot-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html body .vs-hot-tags span{font-size:11px;color:#FF4D7D;background:#FFF0F5;border:1px solid #FFD3E2;padding:5px 9px;border-radius:999px;font-weight:800}
html body .vs-hot-tags em{font-style:normal;font-size:9px;color:#D58AA1}
html body .vs-res{margin-top:18px}
html body #vsList{margin-top:9px;display:flex;flex-direction:column;gap:9px}
html body .vs-card{display:flex;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:14px;padding:8px;box-shadow:0 3px 12px rgba(100,40,65,.04)}
html body .vs-cover{width:78px;height:104px;flex:0 0 78px;border-radius:10px;overflow:hidden;background:#111;position:relative}
html body .vs-cover video{width:100%;height:100%;object-fit:cover;display:block}
html body .vs-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:rgba(0,0,0,.42);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;padding-left:2px}
html body .vs-main{flex:1;min-width:0;padding:3px 2px}
html body .vs-cap{font-size:12px;line-height:1.45;color:#3B2C31;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:700}
html body .vs-meta{font-size:9.5px;color:#A08A93;margin-top:7px}
html body .vs-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
html body .vs-tags span{font-size:9px;color:#FF6F9B;background:#FFF4F8;border-radius:4px;padding:2px 5px}
html body .vs-empty{padding:50px 0;text-align:center;color:#B49BA4;font-size:11px}

html body .vst-page{background:#FFF8FB;min-height:100%;padding:14px 14px 40px!important}
html body .vst-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
html body .vst-card{background:#fff;border:1px solid #F5E4EC;border-radius:13px;padding:11px 8px;text-align:center;box-shadow:0 3px 10px rgba(100,40,65,.04)}
html body .vst-card span{font-size:13px}
html body .vst-card b{display:block;font-family:ui-monospace,monospace;font-size:20px;color:#3B2C31;margin-top:2px}
html body .vst-card em{display:block;font-style:normal;font-size:9px;color:#A08A93;margin-top:2px}
html body .vst-title{font-size:13px;font-weight:900;color:#5B4650;margin:18px 0 9px}
html body .vst-list{display:flex;flex-direction:column;gap:8px}
html body .vst-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:13px;padding:8px;cursor:pointer}
html body .vst-thumb{width:62px;height:82px;flex:0 0 62px;border-radius:9px;overflow:hidden;background:#111}
html body .vst-thumb video{width:100%;height:100%;object-fit:cover;display:block}
html body .vst-main{flex:1;min-width:0}
html body .vst-main b{display:block;font-size:12px;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vst-main span{display:block;font-size:9px;color:#A08A93;margin-top:3px}
html body .vst-meta{font-size:9.5px;color:#FF6F9B;margin-top:5px}
html body .vst-empty{padding:45px 0;text-align:center;font-size:11px;color:#B49BA4}

html body .pwa-notify-bar{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#FFF4F8,#F7F0FF);border:1px solid #FFD9E8;border-radius:14px;padding:10px 12px;margin:0 0 10px}
html body .pwa-notify-bar>div{flex:1;min-width:0}
html body .pwa-notify-bar b{display:block;font-size:12px;font-weight:900;color:#3B2C31}
html body .pwa-notify-bar span{display:block;font-size:9.5px;color:#A08A93;margin-top:3px}
html body .pwa-notify-bar button{flex:0 0 auto;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FB0,#FF4D7D);color:#fff;font-size:10.5px;font-weight:900;padding:7px 12px}

/* 视频送礼 */
html body .svg-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99998;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;opacity:0;transition:opacity .18s}
html body .svg-mask.on{opacity:1}
html body .svg-sheet{width:100%;background:#fff;border-radius:20px 20px 0 0;padding:14px 14px calc(18px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .22s}
html body .svg-mask.on .svg-sheet{transform:none}
html body .svg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
html body .svg-head b{font-size:14px;font-weight:900;color:#3B2C31}
html body .svg-head span{color:#B49BA4;font-size:18px;padding:2px 5px}
html body .svg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:330px;overflow-y:auto}
html body .svg-item{background:#FFF8FB;border:1px solid #F5E4EC;border-radius:12px;padding:9px 4px;text-align:center}
html body .svg-item .svg-ic{font-size:26px;line-height:1.1}
html body .svg-item b{display:block;font-size:9.5px;color:#5B4650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
html body .svg-item em{display:block;font-style:normal;font-size:8.5px;color:#FF6F9B;margin-top:2px}
html body .svg-tip{text-align:center;font-size:9.5px;color:#B49BA4;margin-top:10px}

/* 观看历史 */
html body .sv-history-btn{font-size:19px!important;width:30px!important;color:rgba(255,255,255,.92)}
html body .vhis-page{background:#FFF8FB;min-height:100%;padding:12px 14px 40px!important}
html body .vhis-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:13px;padding:8px;margin-bottom:8px}
html body .vhis-thumb{width:64px;height:86px;flex:0 0 64px;border-radius:9px;overflow:hidden;background:#111;position:relative}
html body .vhis-thumb video{width:100%;height:100%;object-fit:cover;display:block}
html body .vhis-thumb span{position:absolute;right:3px;bottom:3px;background:rgba(0,0,0,.55);color:#fff;font-size:8px;padding:1px 4px;border-radius:4px}
html body .vhis-main{flex:1;min-width:0}
html body .vhis-main b{display:block;font-size:12px;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vhis-main>span{display:block;font-size:9px;color:#A08A93;margin-top:4px}
html body .vhis-bar{height:4px;background:#FCE8F0;border-radius:99px;margin-top:7px;overflow:hidden}
html body .vhis-bar i{display:block;height:100%;background:linear-gradient(90deg,#FF9EBC,#FF4D7D);border-radius:99px}
html body .vhis-del{border:none;background:transparent;color:#C7ABB5;font-size:17px;padding:4px 6px}
html body .vhis-empty{padding:60px 0;text-align:center;font-size:12px;color:#B49BA4;line-height:1.9}
html body .vhis-empty span{font-size:10px;color:#CDB6BF}

html body .share-gr-ic{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#FFF0F5;display:flex;align-items:center;justify-content:center;font-size:20px}

/* 视频合集 */
html body .vcol-page{background:#FFF8FB;min-height:100%;padding:12px 14px 40px!important}
html body .vcol-create{display:flex;gap:7px;margin-bottom:12px}
html body .vcol-create input{flex:1;min-width:0;height:38px;border:1px solid #F2DCE5;border-radius:11px;padding:0 10px;font-size:12px;outline:none;background:#fff}
html body .vcol-create button{border:none;border-radius:11px;background:linear-gradient(135deg,#FF8FB0,#FF4D7D);color:#fff;font-weight:900;font-size:11px;padding:0 14px}
html body .vcol-list{display:flex;flex-direction:column;gap:8px}
html body .vcol-card{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:13px;padding:8px}
html body .vcol-cover{width:58px;height:76px;flex:0 0 58px;border-radius:9px;overflow:hidden;background:#FFF0F5;display:flex;align-items:center;justify-content:center;font-size:22px}
html body .vcol-cover video{width:100%;height:100%;object-fit:cover}
html body .vcol-main{flex:1;min-width:0}
html body .vcol-main b{display:block;font-size:12.5px;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vcol-main span{display:block;font-size:9.5px;color:#A08A93;margin-top:4px}
html body .vcol-arrow{color:#C7ABB5;font-size:18px}
html body .vcol-del{border:none;background:transparent;color:#D6A5B5;font-size:9px;padding:2px 4px}
html body .vcol-empty{padding:50px 16px;text-align:center;font-size:11px;color:#B49BA4;line-height:1.8}
html body .vcol-v{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:12px;padding:7px;margin-bottom:7px}
html body .vcol-vthumb{width:54px;height:72px;flex:0 0 54px;border-radius:8px;overflow:hidden;background:#111}
html body .vcol-vthumb video{width:100%;height:100%;object-fit:cover}
html body .vcol-vmain{flex:1;min-width:0}
html body .vcol-vmain b{display:block;font-size:11.5px;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vcol-vmain span{display:block;font-size:9px;color:#FF6F9B;margin-top:5px}

html body .svp-pick{position:relative}
html body .svp-shoot{position:absolute;right:12px;bottom:12px;background:#FF4D7D;color:#fff;border-radius:999px;padding:7px 12px;font-size:10.5px;font-weight:900;box-shadow:0 4px 12px rgba(255,77,125,.3)}

/* 视频剪辑 + 草稿 */
html body .svp-edit{background:#fff;border-radius:12px;padding:10px 12px;margin:8px 0 0;border:1px solid #F5E4EC}
html body .svp-edit-h{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#5B4650;margin-bottom:5px}
html body .svp-edit-h span{font-size:9.5px;color:#FF6F9B;font-family:ui-monospace,monospace}
html body .svp-sl{display:flex;align-items:center;gap:8px;font-size:10px;color:#8A737D;margin-top:5px}
html body .svp-sl input{flex:1;accent-color:#FF4D7D}
html body .svp-draftbtn{width:100%;height:38px;margin-top:8px;border:1px solid #FFD3E2;background:#FFF8FB;color:#FF4D7D;border-radius:12px;font-size:11.5px;font-weight:900}
html body .vdraft-page{background:#FFF8FB;min-height:100%;padding:12px 14px 40px!important}
html body .vdraft-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F5E4EC;border-radius:13px;padding:9px;margin-bottom:8px}
html body .vdraft-ic{width:44px;height:54px;flex:0 0 44px;border-radius:9px;background:#FFF0F5;display:flex;align-items:center;justify-content:center;font-size:20px}
html body .vdraft-main{flex:1;min-width:0}
html body .vdraft-main b{display:block;font-size:12px;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vdraft-main span{display:block;font-size:9px;color:#A08A93;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .vdraft-go{font-size:10px;color:#FF6F9B;font-weight:900}
html body .vdraft-del{border:none;background:transparent;color:#D6A5B5;font-size:9px;padding:3px}
html body .vdraft-empty{padding:60px 0;text-align:center;font-size:12px;color:#B49BA4;line-height:1.9}
html body .vdraft-empty span{font-size:10px;color:#CDB6BF}

html body .svp-filters{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
html body .svp-filters span{font-size:9.5px;padding:4px 8px;border-radius:999px;background:#FFF4F8;color:#8A737D;border:1px solid #F5E4EC}
html body .svp-filters span.on{background:#FF4D7D;color:#fff;border-color:#FF4D7D;font-weight:900}

html body .svp-speed,html body .svp-textpos{display:flex;gap:4px;margin-top:7px}
html body .svp-speed span,html body .svp-textpos span{font-size:9px;padding:3px 8px;border-radius:999px;background:#F8F1F4;color:#8A737D}
html body .svp-speed span.on,html body .svp-textpos span.on{background:#FF4D7D;color:#fff;font-weight:900}
html body .svp-overlay{padding:0 10px;margin-top:7px!important}
html body .svp-overlay input{width:100%;height:34px;border:none;outline:none;background:transparent;font-size:11px;color:#3B2C31}

html body .svp-trans{display:flex;gap:5px;align-items:center;margin-top:7px;flex-wrap:wrap}
html body .svp-trans>span[data-trans]{font-size:9px;padding:3px 8px;border-radius:999px;background:#F8F1F4;color:#8A737D}
html body .svp-trans>span.on{background:#FF4D7D;color:#fff;font-weight:900}
html body .svp-seginfo{margin-left:auto;font-size:8.5px;color:#FF6F9B}

html body .svp-segs{margin-top:7px}
html body .svp-seg{border-top:1px dashed #F5E4EC;padding-top:5px;margin-top:5px}
html body .svp-seg-h{display:flex;justify-content:space-between;font-size:9.5px;color:#8A737D}
html body .svp-seg-h b{font-weight:900;color:#5B4650}

html body .svp-preview{position:relative}
html body .svp-text-ov{position:absolute;z-index:8;transform:translate(-50%,-50%);max-width:86%;text-align:center;color:#fff;font-size:14px;font-weight:800;line-height:1.35;padding:5px 9px;border-radius:8px;background:rgba(0,0,0,.34);text-shadow:0 1px 3px rgba(0,0,0,.4);touch-action:none;cursor:move;user-select:none}

html body .svp-seg-filter{margin-top:4px;border:1px solid #F2DCE5;border-radius:8px;background:#FFF8FB;color:#8A737D;font-size:9px;padding:3px 6px;outline:none}
html body #svpTransDurVal{font-style:normal;min-width:32px;text-align:right}

html body .svp-sticker{position:absolute;z-index:7;width:24%;max-width:150px;transform:translate(-50%,-50%);touch-action:none;cursor:move;filter:drop-shadow(0 3px 8px rgba(0,0,0,.25))}
html body .svp-sticker-btn{margin-left:auto;font-size:9px;padding:4px 8px;border-radius:999px;background:#FFF0F5;color:#FF4D7D;border:1px solid #FFD3E2;font-weight:900}

html body .svp-tpl{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
html body .svp-tpl span{font-size:9px;padding:4px 8px;border-radius:999px;background:#FFF4F8;color:#FF5C8A;border:1px solid #FFE0EB}

html body .msg-res-h{font-size:11px;font-weight:900;color:#A08A93;padding:10px 14px 3px;background:#FFF8FB}

/* 纯文字功能标签 */
html body .sv-act i{font-size:12px!important;font-weight:900;letter-spacing:.5px;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.65);filter:none!important}
html body .sv-act em{font-size:9px;margin-top:2px}
html body .sv-history-btn{font-size:11px!important;width:auto!important;min-width:28px;padding:0 3px;font-weight:900;letter-spacing:.5px}
html body .share-gr-ic{font-size:12px!important;font-weight:900;color:#FF5C8A!important}
html body .vst-card span:empty{display:none}
html body .vcol-cover{font-size:14px!important;font-weight:900;color:#FF5C8A}

html body .sv-history-btn{font-size:10px!important;width:auto!important;height:auto!important;min-width:0!important;padding:4px 7px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:999px!important;font-weight:800!important;line-height:1!important}
html body .svc-like i{font-size:11px!important;font-weight:900;white-space:nowrap}

html body .sv-empty-ic{font-size:14px!important;font-weight:900;color:#FF6F9B;width:54px;height:54px;border-radius:50%;background:#FFF0F5;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
html body .share-pv-v{font-size:12px!important;font-weight:900;color:rgba(255,255,255,.75)}

html body .mus-ic{font-size:13px!important;font-weight:900;color:#FF5C8A}

/* 底部导航线性图标 */
html body #tabbar .tb .ic{font-size:0!important;line-height:0!important;width:22px!important;height:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:inherit!important}
html body #tabbar .tb .ic::before{content:'';width:22px;height:22px;display:block;background:currentColor;
  -webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}
html body #tabbar .tb[data-k="friend"] .ic::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E")}
html body #tabbar .tb[data-k="play"] .ic::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8l6 4-6 4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8l6 4-6 4z'/%3E%3C/svg%3E")}
html body #tabbar .tb[data-k="square"] .ic::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
html body #tabbar .tb[data-k="msg"] .ic::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 2 1.2-4.8A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 2 1.2-4.8A8 8 0 1 1 21 12z'/%3E%3C/svg%3E")}
html body #tabbar .tb[data-k="mine"] .ic::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E")}
/* 通知与群组改成浅色条 */
html body #sysToggleRow{background:#fff!important;border:1px solid #F3E3EB!important;border-radius:15px!important;padding:9px 12px!important;box-shadow:0 4px 12px rgba(120,50,80,.05)!important}
html body #sysToggleRow .sysav{width:34px!important;height:34px!important;border-radius:11px!important;background:#FFF0F5!important;color:#FF3B6B!important;font-size:12px!important;font-weight:900!important}
html body #sysToggleRow .lt{color:#2B2226!important;font-size:13.5px!important}
html body #sysToggleRow .ls{color:#9A8790!important;font-size:10px!important}
html body #sysToggleRow .sys-arrow{color:#C0A7B1!important}
html body #sysToggleRow .unread-dot{background:#FF3B6B!important;color:#fff!important}
/* 广场单图不要占满一屏 */
html body .m-imgs.m-imgs-1 .m-img{padding-top:0!important;height:250px!important;max-height:250px!important}
html body .m-imgs.m-imgs-1 .m-img img{position:absolute!important;left:0;top:0;width:100%!important;height:100%!important;object-fit:cover!important}
/* 定位提示改成小胶囊 */
html body #geoBlockMask{left:14px!important;right:14px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;padding:7px 10px!important;border-radius:999px!important;box-shadow:0 6px 18px rgba(80,20,40,.16)!important;border:1px solid #F5E4EC!important;gap:8px!important}
html body #geoBlockMask>div:first-child{font-size:14px!important}
html body #geoBlockMask>div:nth-child(2)>div:first-child{font-size:11px!important;font-weight:700!important}
html body #geoBlockMask>div:nth-child(2)>div:last-child{display:none!important}
html body #geoBlockMask button{height:26px!important;padding:0 10px!important;font-size:10px!important}

html body #tabbar .tb .ic{color:transparent!important;text-indent:-9999px!important;overflow:hidden!important;font-size:0!important;position:relative!important}
html body #tabbar .tb .ic::before{position:absolute!important;left:0!important;top:0!important;right:0!important;bottom:0!important;margin:auto!important;background:#A08A93!important}
html body #tabbar .tb.on .ic::before{background:#FF3B6B!important}

/* 广场底部图标统一线性网格 */
html body #tabbar .tb[data-k="square"] .ic{width:22px!important;height:22px!important;min-width:22px!important;font-size:0!important;line-height:0!important;color:transparent!important;text-indent:-9999px!important;overflow:hidden!important;position:relative!important;background:none!important}
html body #tabbar .tb[data-k="square"] .ic::before{content:''!important;display:block!important;position:absolute!important;left:0!important;top:0!important;width:22px!important;height:22px!important;background:#A08A93!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center/contain no-repeat}
html body #tabbar .tb[data-k="square"].on .ic::before{background:#FF3B6B!important}
html body #tabbar .tb[data-k="square"] .ic::after{display:none!important}

html body:not([data-tab="friend"]) #geoBlockMask{display:none!important}

html body .fh-qic{font-size:14px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important}
html body .fh-shot{font-weight:800!important}

/* 彻底取消广场中间大圆按钮, 五个 tab 统一对齐 */
html body #tabbar .tb:nth-child(3){height:53px!important;color:inherit!important;padding:6px 0!important}
html body #tabbar .tb:nth-child(3) .ic{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:0!important;display:block!important;margin:0!important}
html body #tabbar .tb:nth-child(3) > span:not(.ic):not(.dot){margin-top:4px!important;font-weight:600!important;color:inherit!important;font-size:10.5px!important}
html body #tabbar .tb:nth-child(3).on > span:not(.ic):not(.dot){font-weight:800!important}

/* 五个 tab 统一垂直节奏 */
html body #tabbar .tb{height:53px!important;padding:9px 0 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important}
html body #tabbar .tb .ic{flex:0 0 22px!important;width:22px!important;height:22px!important;margin:0!important;display:block!important}
html body #tabbar .tb > span:not(.ic):not(.dot){display:block!important;margin:0!important;line-height:11.5px!important;font-size:10.5px!important}

/* 广场 tab 单独覆盖: 与其它四个完全同一基线 */
html body #tabbar .tb:nth-child(3){padding:9px 0 0!important;justify-content:flex-start!important;height:53px!important;gap:2px!important}
html body #tabbar .tb:nth-child(3) .ic{margin:0!important;flex:0 0 22px!important}
html body #tabbar .tb:nth-child(3) > span:not(.ic):not(.dot){margin:0!important;line-height:11.5px!important}

/* 首页搜索: 统一线性放大镜, 与文字垂直居中对齐 */
html body .fh-sic{font-size:0!important;line-height:0!important;width:16px!important;height:16px!important;flex:0 0 16px!important;display:block!important;background:#B09AA4!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat}

/* 广场图标改成线性罗盘, 与其它图标视觉重量一致 */
html body #tabbar .tb[data-k="square"] .ic::before{background:#A08A93!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E") center/contain no-repeat!important}
html body #tabbar .tb[data-k="square"].on .ic::before{background:#FF3B6B!important}

/* 我的页: 观看记录 / 收藏 / 喜欢 */
html body .tq-vlinks{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:9px!important;padding:0 16px 14px!important}
html body .tq-vlink{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:70px!important;background:#fff!important;border:1px solid #F4E6EC!important;border-radius:15px!important;box-shadow:0 4px 12px rgba(150,80,110,.05)!important}
html body .tq-vlink .tq-vic{width:30px!important;height:30px!important;border-radius:10px!important;background:#FFF0F5!important;color:#FF3B6B!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:900!important;line-height:1!important}
html body .tq-vlink .tq-vt{font-size:11.5px!important;font-weight:800!important;color:#3B2C31!important;line-height:1!important}
/* 喜欢列表右侧标记 */
html body .vhis-like{flex:0 0 auto;font-size:10.5px;font-weight:800;color:#FF3B6B;background:#FFF0F5;border-radius:999px;padding:3px 8px;margin-left:8px}

/* 消息页 5 个分类: 略收紧字号, 保证一行 */
html body .msg-cats .mc{font-size:12px!important;font-weight:700!important;white-space:nowrap!important}

/* 统一线性图标 */
html body .ui-ico{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;line-height:1;vertical-align:-.14em;margin:0 .22em 0 0;color:inherit;flex:0 0 auto}
html body .ui-ico svg{width:100%;height:100%;display:block}
html body .tq-ic{width:24px!important;height:24px!important;min-width:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;line-height:0!important}
html body .tq-ic .ui-ico{width:19px!important;height:19px!important;margin:0!important}
html body .tq-vic .ui-ico{width:17px!important;height:17px!important;margin:0!important}
html body .fh-qic .ui-ico{width:22px!important;height:22px!important;margin:0!important}
html body .sysav .ui-ico{width:17px!important;height:17px!important;margin:0!important}
html body .m-act .ui-ico, html body .sv-act .ui-ico{width:14px!important;height:14px!important;margin:0 4px 0 0!important;vertical-align:-2px!important}
html body .tq-stats .ui-ico{width:20px!important;height:20px!important;margin:0!important}
html body .tq-row{min-height:50px!important;align-items:center!important}

/* 我的页列表恢复统一图标 */
html body .tq-mine .tq-row .tq-ic{display:flex!important;width:24px!important;height:24px!important;min-width:24px!important;align-items:center!important;justify-content:center!important;color:#B58B9B!important;font-size:0!important}
html body .tq-mine .tq-row .tq-ic .ui-ico{width:19px!important;height:19px!important;margin:0!important}
html body .tq-vlink .tq-vic{color:#FF3B6B!important}
html body .tq-vlink .tq-vic .ui-ico{width:17px!important;height:17px!important;margin:0!important}
html body .fh-qic{color:#3B2C31!important}
/* 我的页无背景图时收紧顶部空白 */
html body .tq-hd:not(.has-bg){min-height:190px!important}

/* 返回/箭头/关闭统一图标 */
html body .shead .back .ui-ico, html body .chat-shead .back .ui-ico{margin:0!important;width:22px!important;height:22px!important}
html body .tq-ar .ui-ico, html body .vcol-arrow .ui-ico, html body .sys-arrow .ui-ico, html body .ar .ui-ico{margin:0!important;width:16px!important;height:16px!important;vertical-align:0!important}
html body .vhis-del .ui-ico, html body .vcol-del .ui-ico{margin:0!important;width:14px!important;height:14px!important}
/* 通知与群组: 用线性消息/铃铛图标 */
html body #sysToggleRow .sysav{font-size:0!important}
html body #sysToggleRow .sysav::before{content:''!important;display:block!important;width:18px!important;height:18px!important;background:#FF3B6B!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9z'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9z'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat}

/* 我的页列表箭头统一靠右 */
html body .tq-mine .tq-row .tq-ar{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}
html body .tq-mine .tq-row .tq-nm{min-width:0!important}
html body .tq-mine .tq-row .tq-sub{flex:0 0 auto!important}

html body .fh-qic{overflow:hidden!important}
html body .fh-qic > svg{width:30px!important;height:30px!important;display:block!important}

/* 首页附近: 空状态按钮 */
html body .fh-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:110px!important;font-size:12px!important;color:#9A8790!important}
html body .fh-empty button{height:32px!important;padding:0 18px!important;border:none!important;border-radius:999px!important;background:#FFE9F0!important;color:#E83F72!important;font-size:12px!important;font-weight:800!important}
/* 聊天页: 气泡、图片、输入栏 */
html body #stack .chat-shead{background:rgba(255,255,255,.96)!important;border-bottom:1px solid #F5E6ED!important}
html body #stack .chat-mini{margin:10px 14px!important;border:1px solid #F4E6EC!important;border-radius:14px!important;padding:8px 10px!important;background:#FFF7FA!important}
html body #stack #chatBody{background:linear-gradient(180deg,#FFF9FB,#FFF4F7)!important}
html body #stack .crow{margin:9px 0!important;gap:8px!important}
html body #stack .crow .cbody{max-width:78%!important}
html body #stack .crow .tmt{font-size:9.5px!important;color:#B8A4AE!important;margin-bottom:3px!important}
html body #stack .cbub{font-size:14.5px!important;line-height:1.55!important;border-radius:16px!important;padding:9px 12px!important;box-shadow:0 3px 10px rgba(160,80,110,.06)!important}
html body #stack .cbub.me{border-bottom-right-radius:6px!important}
html body #stack .cbub.other{border-bottom-left-radius:6px!important}
html body #stack .cbub.img-bub{max-width:220px!important;min-width:0!important;min-height:0!important;padding:4px!important;background:#fff!important;border:1px solid #F5E4EC!important;box-shadow:0 4px 14px rgba(160,80,110,.08)!important}
html body #stack .cbub.img-bub img{display:block!important;width:auto!important;max-width:212px!important;max-height:260px!important;border-radius:13px!important;object-fit:cover!important}
html body #stack .cbub.img-bub .img-ph{display:none;font-size:12px;color:#9A8790;padding:8px 14px;white-space:nowrap}
html body #stack .cbub.img-bub.img-broken{display:flex!important;align-items:center!important;justify-content:center!important;min-width:108px!important;min-height:52px!important;background:#FFF0F5!important;border-style:dashed!important}
html body #stack .cbub.img-bub.img-broken img{display:none!important}
html body #stack .cbub.img-bub.img-broken .img-ph{display:block!important}
html body #stack .tq-chat-input{background:rgba(255,255,255,.98)!important;border-top:1px solid #F5E6ED!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;gap:8px!important}
html body #stack .tq-chat-input input{height:40px!important;border-radius:20px!important;background:#FFF5F8!important;border:1px solid #F5E2EA!important;padding:0 14px!important;font-size:14px!important}
html body #stack .tq-ci-send{height:40px!important;border-radius:20px!important;padding:0 18px!important;font-size:14px!important}
/* 短视频: 右侧动作栏更规整 */
html body .sv-act em{display:block!important;min-width:22px!important;margin:2px auto 0!important;padding:1px 5px!important;border-radius:999px!important;background:rgba(0,0,0,.22)!important;color:#fff!important;font-size:9.5px!important;line-height:15px!important;font-weight:700!important;text-align:center!important}
html body .sv-act i{font-size:11.5px!important;line-height:1.2!important;letter-spacing:0!important}
html body .sv-act.on em{background:rgba(255,59,107,.85)!important}
html body .sv-top-r .sv-icon{background:rgba(0,0,0,.28)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(6px)!important}

/* 聊天图片默认占位, 加载后按真实尺寸 */
html body #stack .cbub.img-bub:not(.img-loaded) img{display:none!important}
html body #stack .cbub.img-bub:not(.img-loaded) .img-ph{display:block!important}
html body #stack .cbub.img-bub:not(.img-loaded){min-width:108px!important;min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#FFF0F5!important;border-style:dashed!important}

/* 聊天消息纵向规整: 时间在上, 气泡在下, 已读在最下 */
html body #stack .crow .cbody{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:3px!important}
html body #stack .crow.me .cbody{align-items:flex-end!important}
html body #stack .crow .cbody > .tmt{order:0!important;margin:0!important;font-size:9.5px!important;color:#B8A4AE!important;line-height:1.2!important}
html body #stack .crow .cbody > .chat-other-name,
html body #stack .crow .cbody > .g-sender-name{order:1!important;margin:0 0 2px!important;font-size:11px!important}
html body #stack .crow .cbody > .msg-fx{order:1!important;margin:0!important}
html body #stack .crow .cbody > .cbub,
html body #stack .crow .cbody > .gift-msg,
html body #stack .crow .cbody > .loc-bub,
html body #stack .crow .cbody > .heart-bub,
html body #stack .crow .cbody > .quote-bub{order:3!important;width:auto!important;max-width:100%!important;flex-basis:auto!important;margin:0!important}
html body #stack .crow .cbody > .msg-read{order:4!important;margin-top:2px!important}

/* 自己发的消息靠右; 对方靠左 */
html body #stack .crow.me .cbody > .cbub,html body #stack .crow.me .cbody > .img-bub,html body #stack .crow.me .cbody > .gift-msg,html body #stack .crow.me .cbody > .loc-bub,html body #stack .crow.me .cbody > .heart-bub{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important}
html body #stack .crow:not(.me) .cbody > .cbub,html body #stack .crow:not(.me) .cbody > .img-bub,html body #stack .crow:not(.me) .cbody > .gift-msg,html body #stack .crow:not(.me) .cbody > .loc-bub,html body #stack .crow:not(.me) .cbody > .heart-bub{align-self:flex-start!important;margin-right:auto!important;margin-left:0!important}

/* 进入聊天后不显示列表未读数 */
html body #stack #upUnread{display:none!important}

/* 聊天页顶部资料卡与头部重复, 收起, 让消息区更干净 */
html body #stack .chat-info-slot{display:none!important}

/* 短视频动作数字: 更清晰的浅色胶囊 */
html body .sv-act em{background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important}
html body .sv-act.on em{background:#FF3B6B!important;border-color:#FF3B6B!important}

/* 消息列表: 距离不挤在名字行, 保持名字/等级/时间三段规整 */
html body .chatlist .lrow .rel-dist{display:none!important}
html body .chatlist .lrow .lt{min-width:0!important}
html body .chatlist .lrow .tm{font-size:10px!important;color:#B09AA4!important}

/* 短视频底部: 收藏 私信 + 喜欢 分享 */
html body .sv-dock{position:absolute!important;left:0!important;right:0!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;z-index:30!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:22px!important;pointer-events:none}
html body .sv-dock-btn{pointer-events:auto;border:none;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:42px;font-size:10px;font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.55);padding:0}
html body .sv-dock-btn .sv-dock-ic{width:24px;height:24px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}
html body .sv-dock-btn .sv-dock-ic svg{width:100%;height:100%;display:block}
html body .sv-dock-btn.on{color:#FF2D55}
html body .sv-dock-btn.on .sv-dock-ic{color:#FF2D55}
html body .sv-dock .sv-fab{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;margin:0 2px!important;flex:0 0 46px!important;pointer-events:auto}

/* 定位状态入口 */
html body .fh-geo-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-left:5px;vertical-align:middle;flex:0 0 7px}
html body .fh-geo-dot.on{background:#34D399;box-shadow:0 0 0 3px rgba(52,211,153,.16)}
html body .fh-geo-dot.off{background:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.16)}
html body .empty button{height:30px!important;margin-top:8px!important;padding:0 16px!important;border:none!important;border-radius:999px!important;background:#FFE9F0!important;color:#E83F72!important;font-size:11px!important;font-weight:800!important}

/* 聊天消息类型统一 */
html body #stack .crow .cbub{overflow-wrap:anywhere!important;word-break:break-word!important;white-space:pre-wrap!important}
html body #stack .crow .cbub:not(.img-bub){max-width:78%!important}
html body #stack .voice-bub{display:flex!important;align-items:center!important;gap:8px!important;min-width:120px!important;max-width:210px!important;padding:10px 13px!important}
html body #stack .voice-bub .vplay{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.24);font-size:10px}
html body #stack .voice-bub .vbar{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.28);overflow:hidden}
html body #stack .crow:not(.me) .voice-bub .vbar{background:rgba(180,120,140,.18)}
html body #stack .gift-msg{display:flex!important;align-items:center!important;gap:10px!important;min-width:180px!important;max-width:240px!important;padding:10px 12px!important;border-radius:16px!important;background:linear-gradient(135deg,#FFF3D6,#FFE2C2)!important;border:1px solid #FFD9A8!important}
html body #stack .gift-msg .gift-ic{font-size:26px!important;line-height:1!important}
html body #stack .gift-msg .gift-info{min-width:0!important}
html body #stack .gift-msg .gift-nm{font-size:13px!important;font-weight:900!important;color:#7A4A12!important}
html body #stack .gift-msg .gift-px{font-size:10px!important;color:#A9783D!important;margin-top:3px!important}
html body #stack .loc-bub{display:flex!important;align-items:center!important;gap:9px!important;min-width:190px!important;max-width:250px!important;padding:10px 12px!important;text-decoration:none!important}
html body #stack .loc-bub .loc-ic{font-size:20px!important}
html body #stack .loc-bub .loc-t{font-size:12.5px!important;font-weight:900!important}
html body #stack .loc-bub .loc-c{font-size:9.5px!important;color:#A08D97!important;margin-top:2px!important}
html body #stack .loc-bub .loc-o{font-size:10px!important;color:#E85D82!important;margin-top:3px!important}
html body #stack .heart-bub{font-size:32px!important;line-height:1!important;padding:8px 13px!important;border-radius:18px!important;background:#FFF0F5!important}
html body #stack .cbub-recalled{font-size:11px!important;color:#B09AA4!important;text-align:center!important;padding:5px 10px!important;align-self:center!important;background:rgba(255,255,255,.6)!important;border-radius:999px!important}
html body #stack .quote-bub{font-size:11px!important;color:#8A737C!important;background:rgba(255,240,246,.9)!important;border-left:3px solid #FF9DB5!important;border-radius:8px!important;padding:6px 9px!important;margin-bottom:4px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* 我的页定位状态 */
html body .tq-geo-line{display:flex!important;align-items:center!important;gap:6px!important;margin:-2px 16px 10px!important;padding:7px 10px!important;border-radius:999px!important;background:#FFF7FA!important;border:1px solid #F5E4EC!important;color:#9A7A87!important;font-size:10.5px!important;font-weight:600!important}
html body .tq-geo-line .tq-geo-dot{width:6px;height:6px;border-radius:50%;flex:0 0 6px}
html body .tq-geo-line .tq-geo-dot.on{background:#34D399;box-shadow:0 0 0 3px rgba(52,211,153,.14)}
html body .tq-geo-line .tq-geo-dot.off{background:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.14)}

/* 短视频搜索按钮与音乐按钮同尺寸 */
html body .sv-icon.sv-search{width:34px!important;height:34px!important;font-size:17px!important;background:rgba(0,0,0,.28)!important;border:1px solid rgba(255,255,255,.16)!important}
html body .sv-icon.sv-search .ui-ico{width:17px!important;height:17px!important;margin:0!important}
/* 进入 APP 定位弹窗 */
.geo-ask-mask{position:fixed;inset:0;z-index:2147483001;background:rgba(20,10,16,.46);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:24px;animation:geoAskIn .2s ease both}
@keyframes geoAskIn{from{opacity:0}to{opacity:1}}
.geo-ask-card{width:100%;max-width:310px;background:#fff;border-radius:24px;padding:26px 22px 18px;text-align:center;box-shadow:0 24px 70px rgba(40,10,25,.25);animation:geoAskCard .24s cubic-bezier(.34,1.4,.64,1) both}
@keyframes geoAskCard{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.geo-ask-ic{width:54px;height:54px;border-radius:18px;background:#FFF0F5;color:#FF3B6B;display:flex;align-items:center;justify-content:center;margin:0 auto 13px;font-size:26px}
.geo-ask-ic .ui-ico{width:26px!important;height:26px!important;margin:0!important}
.geo-ask-t{font-size:18px;font-weight:900;color:#2B2226}
.geo-ask-s{font-size:12px;line-height:1.7;color:#8A737C;margin-top:8px}
.geo-ask-yes{width:100%;height:44px;border:none;border-radius:22px;margin-top:18px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:14px;font-weight:900;box-shadow:0 8px 20px rgba(255,59,107,.25)}
.geo-ask-no{width:100%;height:38px;border:none;background:transparent;color:#B09AA4;font-size:12px;font-weight:600;margin-top:3px}

/* 视频底部动作数量 */
html body .sv-dock-btn .sv-dock-n{font-style:normal!important;font-size:9px!important;line-height:1!important;font-weight:800!important;color:rgba(255,255,255,.82)!important;margin-top:-1px!important;text-shadow:0 1px 4px rgba(0,0,0,.5)!important}
html body .sv-dock-btn.on .sv-dock-n{color:#FFCDD8!important}
/* 我的页首屏压缩 */
html body .tq-hd:not(.has-bg){min-height:156px!important;padding:18px 16px 14px!important;display:flex!important;align-items:flex-end!important}
html body .tq-hd .tq-hd-in{width:100%!important}

/* 一键已读按钮 + 不再提醒 */
html body #msgReadAll{color:#E85D82!important;background:#FFF0F5!important;cursor:pointer}
html body .geo-ask-never{width:100%;height:30px;border:none;background:transparent;color:#B9A5AE;font-size:10.5px;font-weight:600;margin-top:-2px}

/* 视频评论: 打开从第一条开始, 点赞横排更紧凑 */
html body .svc-list{padding-top:10px!important}
html body .svc-item{padding:10px 0!important;align-items:flex-start!important}
html body .svc-like{top:16px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;min-width:40px!important;justify-content:flex-end!important}
html body .svc-like i{font-size:12px!important;color:rgba(255,255,255,.62)!important}
html body .svc-like em{font-size:9px!important;margin-top:0!important}
html body .svc-like.on i{color:#FF2D55!important}
html body .svc-nm{font-size:10.5px!important}
html body .svc-ct{font-size:13px!important;line-height:1.6!important;margin-top:4px!important}
html body .svc-reply{font-size:9.5px!important;margin-top:5px!important}

/* 评论时间不要压到点赞 */
html body .svc-nm{padding-right:46px!important}
html body .svc-nm span{max-width:78px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:right!important}

/* 消息批量管理 */
html body #msgManage{color:#E85D82!important;background:#FFF0F5!important}
html body .msg-batch-bar{position:fixed;left:14px;right:14px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:80;display:none;align-items:center;gap:8px;padding:8px 10px 8px 14px;border-radius:999px;background:rgba(255,255,255,.98);box-shadow:0 10px 30px rgba(80,30,50,.18);border:1px solid #F3DFE8}
html body .msg-batch-bar.on{display:flex}
html body .msg-batch-bar>span{flex:1;font-size:12px;font-weight:800;color:#6B4A57}
html body .msg-batch-bar button{height:32px;border:none;border-radius:999px;padding:0 14px;font-size:11.5px;font-weight:800}
html body #msgBatchDel{background:#FF3B6B;color:#fff}
html body #msgBatchCancel{background:#FFF0F5;color:#9A7A87}
html body .msg-check{width:19px;height:19px;border-radius:50%;border:1.5px solid #E6D2DC;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 19px;margin-right:3px}
html body .msg-check.on{background:#FF3B6B;border-color:#FF3B6B}
html body .msg-check.on:after{content:'';width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin-top:-2px}
html body .msg-top .msg-readall{font-size:10.5px!important;padding:0 9px!important}

/* 视频礼物: 先选中再赠送 */
html body .svg-item.on{border-color:#FF3B6B!important;background:#FFF0F5!important;box-shadow:0 0 0 2px rgba(255,59,107,.12)!important}
html body .svg-foot{display:flex;align-items:center;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #F5E4EC}
html body .svg-foot span{flex:1;min-width:0;font-size:11px;font-weight:800;color:#8A6270;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .svg-foot button{height:34px;border:none;border-radius:999px;padding:0 18px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:12px;font-weight:900}
html body .svg-foot button:disabled{opacity:.45;background:#E6D2DC}

/* 视频礼物面板: 高度受控, 底部赠送按钮不被裁切 */
html body .svg-sheet{max-height:84vh!important;display:flex!important;flex-direction:column!important}
html body .svg-grid{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}
html body .svg-head,html body .svg-tip,html body .svg-foot{flex:0 0 auto!important}

/* 评论折叠 */
html body .svc-hidden{display:none!important}
html body .svc-more{font-size:10px;color:#FF9CB8;padding:5px 0 0;font-weight:700;cursor:pointer}
/* 礼物数量 */
html body .svg-counts{display:flex;align-items:center;gap:6px;flex:0 0 auto;padding:8px 0 0;border-top:1px solid #F5E4EC;margin-top:8px}
html body .svg-counts b{font-size:10px;color:#8A6270;margin-right:2px}
html body .svg-qty{width:32px;height:26px;border-radius:8px;background:#FFF8FB;border:1px solid #F5E4EC;color:#8A6270;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center}
html body .svg-qty.on{background:#FFF0F5;border-color:#FF8FAB;color:#E83F72}
html body .svg-counts em{font-style:normal;margin-left:auto;font-size:9.5px;color:#B09AA4}

/* 评论展开/收起 */
html body .svc-more{cursor:pointer;user-select:none}
/* 礼物余额不足 */
html body .svg-foot span.low{color:#E23F6C!important}

/* 礼物余额不足: 去充值 */
html body .svg-foot button.low{background:linear-gradient(135deg,#FFB39F,#F0778E)!important;color:#fff!important}

/* 评论 @ 选择 */
html body .svc-at-btn{flex:0 0 auto;width:32px;height:34px;border:none;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:17px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0}
html body .svc-at-panel{display:none;flex:0 0 auto;max-height:130px;overflow-y:auto;padding:6px 14px;background:#1E141A;border-top:1px solid rgba(255,255,255,.06)}
html body .svc-at-panel.on{display:block}
html body .svc-at-item{display:inline-flex;align-items:center;height:26px;padding:0 10px;margin:3px 5px 3px 0;border-radius:999px;background:rgba(255,255,255,.08);color:#FFB3C7;font-size:10px}
html body .svc-at-empty{font-size:10px;color:rgba(255,255,255,.35);padding:6px 0}

/* 短视频打赏入口 */
html body .sv-act.tip-act i{color:#FFD46A!important}
html body .sv-act.tip-act em{background:rgba(255,196,80,.26)!important;border-color:rgba(255,212,106,.4)!important}

/* 礼物特效精修: 玻璃礼物卡 + 光晕 + 粒子收敛 */
html body .gift-fs{background:rgba(12,6,14,.38)!important;backdrop-filter:blur(3px)}
html body .gift-fs .ge-vignette{background:radial-gradient(circle at 50% 48%,rgba(255,210,120,.22),rgba(20,8,18,.55) 65%,rgba(0,0,0,.4))!important}
html body .gift-fs .ge-canvas{display:none!important}
html body .gift-fs .ge-rays{opacity:.32!important}
html body .gift-fs .ge-ic-wrap{padding:24px 28px 20px;border-radius:28px;background:linear-gradient(180deg,rgba(45,22,32,.82),rgba(20,10,16,.9));border:1px solid rgba(255,214,150,.32);box-shadow:0 24px 80px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.16);backdrop-filter:blur(14px)}
html body .gift-fs .ge-ic{background:radial-gradient(circle at 35% 25%,#FFF8E6,#FFD89B 55%,#FF9F68)!important;border:3px solid rgba(255,255,255,.7);box-shadow:0 0 0 10px rgba(255,205,120,.12),0 0 44px rgba(255,190,100,.55)!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;margin:0 auto!important}
html body .gift-fs .ge-ic svg{filter:drop-shadow(0 3px 7px rgba(120,50,20,.28))}
html body .gift-fs .ge-txt{margin-top:14px;font-size:15px;color:#FFF3E2;font-weight:800;letter-spacing:.5px;text-shadow:0 2px 10px rgba(0,0,0,.5)}
html body .gift-fs .ge-txt b{font-size:19px;color:#FFE1A8;font-weight:900;margin-right:2px}
html body .gift-fs.tier-legend .ge-ic,html body .gift-fs.tier-glory .ge-ic{background:radial-gradient(circle at 35% 25%,#FFFDF0,#FFD86A 50%,#FF8A3D)!important;box-shadow:0 0 0 12px rgba(255,200,80,.15),0 0 60px rgba(255,180,60,.7)!important}
html body .gift-fs.tier-legend .ge-ic-wrap,html body .gift-fs.tier-glory .ge-ic-wrap{border-color:rgba(255,214,120,.55);box-shadow:0 28px 90px rgba(255,140,40,.18),inset 0 1px 0 rgba(255,255,255,.2)}

html body .gift-fs .ge-txt{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.7)!important}
html body .gift-fs .ge-txt b{color:#FFE7B0!important}
html body .svc-focus{background:rgba(255,59,107,.1)!important;border-radius:10px!important;box-shadow:inset 3px 0 0 #FF3B6B!important}

/* 礼物图标: 使用定制礼物插画 */
html body .svg-ic{font-size:0!important;width:38px!important;height:38px!important;margin:0 auto 2px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body .svg-ic svg{width:100%!important;height:100%!important;display:block!important;overflow:visible!important}
html body .gift-opt-ic{font-size:0!important;width:34px!important;height:34px!important;margin:0 auto 3px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body .gift-opt-ic svg{width:100%!important;height:100%!important;display:block!important;overflow:visible!important}
html body #stack .gift-msg .gift-ic{font-size:0!important;width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important}
html body #stack .gift-msg .gift-ic svg{width:100%!important;height:100%!important;display:block!important;overflow:visible!important}

/* 视频居中铺满，避免横屏视频卡在上方 */
html body .sv-item{display:flex!important;align-items:center!important;justify-content:center!important}
html body .sv-item video{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important}

/* 个人主页礼物墙: 插画尺寸与点击效果 */
html body .pf2-gifts .g .bx{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
html body .pf2-gifts .g .bx>svg{width:38px!important;height:38px!important;display:block!important}
html body .gw-ic{width:42px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important;font-size:0!important}
html body .gw-ic svg{width:100%!important;height:100%!important;display:block!important;overflow:visible!important}
html body .gw-cell.off .gw-ic{filter:grayscale(1);opacity:.45}
html body .gw-cell{transition:transform .15s}
html body .gw-cell:active{transform:scale(.96)}

/* 短视频发布按钮: 乐聊品牌粉色圆形 */
html body .sv-fab{width:48px!important;height:48px!important;border-radius:50%!important;background:linear-gradient(135deg,#FF8FAB,#FF3B6B)!important;color:#fff!important;font-size:28px!important;box-shadow:0 8px 22px rgba(255,59,107,.38)!important;border:2px solid rgba(255,255,255,.35)!important}
html body .sv-fab:after{display:none!important}
html body .sv-dock .sv-fab{flex-basis:48px!important}
/* ==================== CG 礼物特效 v3 ==================== */
.cg-gift{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;background:rgba(7,3,10,.62);backdrop-filter:blur(5px);animation:cgIn .28s ease both}
.cg-veil{position:absolute;inset:0;background:radial-gradient(circle at 50% 46%,rgba(255,210,140,.16),rgba(10,4,14,.55) 58%,rgba(0,0,0,.7))}
.cg-aurora{position:absolute;left:50%;top:46%;width:150vmax;height:150vmax;transform:translate(-50%,-50%);background:conic-gradient(from 0deg,transparent 0 12%,color-mix(in srgb,var(--cg1) 22%,transparent) 18%,transparent 30%,color-mix(in srgb,var(--cg2) 18%,transparent) 44%,transparent 60%,color-mix(in srgb,var(--cg1) 16%,transparent) 76%,transparent 100%);opacity:.55;animation:cgAurora 8s linear infinite}
.cg-canvas{position:absolute;inset:0;width:100%;height:100%}
.cg-rays{position:absolute;left:50%;top:46%;width:0;height:0;opacity:.35}
.cg-rays span{position:absolute;left:-1px;top:-46vh;width:2px;height:92vh;background:linear-gradient(to bottom,transparent,rgba(255,222,160,.9),transparent);transform-origin:50% 50%;filter:blur(.4px);animation:cgRay 6s ease-in-out infinite}
.cg-rays span:nth-child(2){transform:rotate(45deg);animation-delay:-1s}
.cg-rays span:nth-child(3){transform:rotate(90deg);animation-delay:-2s}
.cg-rays span:nth-child(4){transform:rotate(135deg);animation-delay:-3s}
.cg-rays span:nth-child(5){transform:rotate(180deg);animation-delay:-4s}
.cg-rays span:nth-child(6){transform:rotate(225deg);animation-delay:-5s}
.cg-rays span:nth-child(7){transform:rotate(270deg);animation-delay:-1.5s}
.cg-rays span:nth-child(8){transform:rotate(315deg);animation-delay:-2.5s}
.cg-stage{position:relative;z-index:3;width:300px;height:330px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:66px;transform-style:preserve-3d;animation:cgStageIn .9s cubic-bezier(.2,.9,.25,1) both}
.cg-orbit{position:absolute;left:50%;top:44px;width:214px;height:214px;margin-left:-107px;border-radius:50%;border:1px solid color-mix(in srgb,var(--cg2) 45%,transparent);box-shadow:0 0 28px color-mix(in srgb,var(--cg1) 34%,transparent),inset 0 0 24px color-mix(in srgb,var(--cg2) 20%,transparent)}
.cg-o1{animation:cgOrbit 7s linear infinite}
.cg-o2{width:250px;height:250px;margin-left:-125px;top:26px;border-style:dashed;border-color:color-mix(in srgb,var(--cg1) 34%,transparent);animation:cgOrbit 11s linear infinite reverse}
.cg-halo{position:absolute;left:50%;top:58px;width:184px;height:184px;margin-left:-92px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--cg2) 34%,transparent),transparent 68%);filter:blur(8px);animation:cgHalo 2.8s ease-in-out infinite}
.cg-icon{position:relative;z-index:4;width:156px;height:156px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 16px 28px rgba(0,0,0,.5)) drop-shadow(0 0 22px color-mix(in srgb,var(--cg1) 55%,transparent));animation:cgIconIn .95s cubic-bezier(.2,1.35,.3,1) both,cgIconFloat 3.8s ease-in-out 1s infinite}
.cg-icon svg{width:100%;height:100%;display:block;overflow:visible}
.cg-icon:not(:has(svg)){font-size:94px;line-height:1}
.cg-sweep{position:absolute;left:50%;top:58px;width:142px;height:176px;margin-left:-71px;border-radius:24px;overflow:hidden;pointer-events:none;z-index:5;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.75) 46%,rgba(255,255,255,.2) 53%,transparent 68%);background-size:260% 100%;mix-blend-mode:screen;opacity:.85;animation:cgSweep 2.2s ease-in-out .45s infinite}
.cg-name{margin-top:18px;font-size:24px;font-weight:900;letter-spacing:1px;color:#FFF7E9;text-shadow:0 3px 16px rgba(0,0,0,.8),0 0 18px color-mix(in srgb,var(--cg1) 45%,transparent);animation:cgTextIn .7s ease .25s both}
.cg-sub{margin-top:7px;font-size:11px;letter-spacing:2px;color:rgba(255,244,225,.72);animation:cgTextIn .7s ease .4s both}
.cg-combo{margin-top:10px;padding:5px 12px;border-radius:999px;font-size:11px;font-weight:900;color:#2A1400;background:linear-gradient(135deg,#FFE7A0,#FFB347);box-shadow:0 4px 18px rgba(255,170,60,.35);animation:cgCombo .45s cubic-bezier(.2,1.4,.4,1) both}
.cg-banner{position:absolute;left:50%;top:calc(13% + env(safe-area-inset-top));transform:translateX(-50%);z-index:6;min-width:230px;padding:10px 24px;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:3px;background:linear-gradient(135deg,rgba(36,16,26,.9),rgba(18,8,16,.92));border:1px solid color-mix(in srgb,var(--cg2) 55%,transparent);box-shadow:0 10px 46px color-mix(in srgb,var(--cg1) 22%,transparent),inset 0 1px 0 rgba(255,255,255,.16);animation:cgBanner 1s cubic-bezier(.2,1.2,.3,1) both}
.cg-banner b{font-size:10px;letter-spacing:5px;color:#FFE6A3;font-weight:800}
.cg-banner span{font-size:15px;font-weight:900;color:#fff}
.cg-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;animation:cgFlash .8s ease .12s both}
.is-big .cg-icon{width:184px;height:184px}
.is-big .cg-stage{padding-top:58px}
.is-big .cg-orbit{top:34px;width:240px;height:240px;margin-left:-120px}
.is-big .cg-o2{width:284px;height:284px;margin-left:-142px;top:12px}
.is-big .cg-halo{width:210px;height:210px;margin-left:-105px;top:46px}
.is-big .cg-sweep{width:166px;height:196px;margin-left:-83px;top:48px}
.is-big .cg-name{font-size:28px}
.cg-gift.out{animation:cgOut .55s ease forwards}
@keyframes cgIn{from{opacity:0}to{opacity:1}}
@keyframes cgOut{to{opacity:0;backdrop-filter:blur(0);transform:scale(1.03)}}
@keyframes cgStageIn{0%{opacity:0;transform:translateY(34px) scale(.55) rotateY(-22deg)}62%{opacity:1;transform:translateY(-6px) scale(1.05) rotateY(3deg)}100%{opacity:1;transform:none}}
@keyframes cgIconIn{0%{opacity:0;transform:scale(.25) rotate(-16deg)}70%{opacity:1;transform:scale(1.12) rotate(2deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes cgIconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes cgHalo{0%,100%{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.12)}}
@keyframes cgOrbit{to{transform:rotate(360deg)}}
@keyframes cgRay{0%,100%{opacity:.12}50%{opacity:.55}}
@keyframes cgAurora{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes cgSweep{0%{background-position:130% 0}45%,100%{background-position:-130% 0}}
@keyframes cgTextIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cgCombo{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes cgBanner{0%{opacity:0;transform:translate(-50%,-16px) scale(.94)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes cgFlash{0%{opacity:0}16%{opacity:.6}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .cg-gift *{animation-duration:.01s!important;animation-iteration-count:1!important}
}

/* CG礼物: 去掉白色扫光块, 保留图标高光 */
html body .cg-sweep{display:none!important}

/* 个人主页礼物卡: 图标和文字统一居中 */
html body .pf2-gifts{ align-items:flex-start!important; padding-bottom:14px!important }
html body .pf2-gifts .g{ display:flex!important; flex-direction:column!important; align-items:center!important; width:25%!important; margin-right:0!important; padding-bottom:2px!important }
html body .pf2-gifts .g .bx{ width:100%!important; height:82px!important; min-height:82px!important; aspect-ratio:auto!important; padding:0!important; border-radius:14px!important; display:flex!important; align-items:center!important; justify-content:center!important; position:relative!important; overflow:hidden!important }
html body .pf2-gifts .g .bx>svg{ width:40px!important; height:40px!important; margin:auto!important; display:block!important }
html body .pf2-gifts .g .nm{ width:100%!important; text-align:center!important; margin-top:6px!important; line-height:1.25!important; min-height:15px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important }
html body .pf2-gifts .g .bx .x{ right:8px!important; bottom:6px!important }

/* ==================== CG 礼物 v4 节奏层 ==================== */
.cg-shock{position:absolute;left:50%;top:46%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;border:2px solid rgba(255,230,180,.75);box-shadow:0 0 28px rgba(255,180,100,.55);opacity:0;animation:cgShock 1.15s cubic-bezier(.15,.7,.2,1) .12s both;pointer-events:none}
.cg-sender{position:absolute;left:50%;bottom:calc(10% + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:7;display:flex;align-items:baseline;gap:7px;padding:8px 16px;border-radius:999px;background:linear-gradient(110deg,rgba(30,13,22,.84),rgba(18,8,16,.9));border:1px solid rgba(255,214,150,.26);box-shadow:0 10px 30px rgba(0,0,0,.35);white-space:nowrap;animation:cgSender .65s cubic-bezier(.2,1.2,.3,1) .28s both}
.cg-sender span{font-size:10px;letter-spacing:1px;color:rgba(255,235,205,.58)}
.cg-sender b{font-size:15px;font-weight:900;color:#FFE2A3;letter-spacing:.5px}
.cg-sender em{font-style:normal;font-size:11px;color:rgba(255,255,255,.7);font-weight:800}
.cg-gift.is-big{animation:cgIn .25s ease both,cgShake .48s cubic-bezier(.36,.07,.19,.97) .3s both}
.cg-gift.is-big .cg-sender{bottom:calc(8% + env(safe-area-inset-bottom))}
.cg-gift.kind-car .cg-icon{animation:cgCarIn .9s cubic-bezier(.2,.9,.25,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
.cg-gift.kind-rocket .cg-icon{animation:cgRocketIn .95s cubic-bezier(.2,1,.2,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
.cg-gift.kind-dragon .cg-icon{animation:cgDragonIn 1.1s cubic-bezier(.2,.8,.2,1) both,cgIconFloat 3.2s ease-in-out 1.1s infinite}
.cg-gift.kind-fly .cg-icon{animation:cgFlyIn 1s cubic-bezier(.2,.9,.2,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
.cg-gift.kind-drop .cg-icon{animation:cgDropIn 1s cubic-bezier(.2,1.2,.3,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
.cg-gift.kind-firework .cg-icon{animation:cgFireworkIn .9s cubic-bezier(.2,1.2,.3,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
.cg-gift.kind-castle .cg-icon{animation:cgDropIn 1.05s cubic-bezier(.2,1,.3,1) both,cgIconFloat 3.2s ease-in-out 1s infinite}
@keyframes cgShock{0%{opacity:.9;width:10px;height:10px;margin:-5px 0 0 -5px}75%{opacity:.35;width:310px;height:310px;margin:-155px 0 0 -155px;border-width:1px}100%{opacity:0;width:390px;height:390px;margin:-195px 0 0 -195px;border-width:0}}
@keyframes cgSender{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes cgShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-5px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
@keyframes cgCarIn{0%{opacity:0;transform:translateX(-170px) scale(.62) rotate(-10deg)}70%{opacity:1;transform:translateX(8px) scale(1.04) rotate(1deg)}100%{opacity:1;transform:none}}
@keyframes cgRocketIn{0%{opacity:0;transform:translateY(190px) scale(.5)}72%{opacity:1;transform:translateY(-8px) scale(1.06)}100%{opacity:1;transform:none}}
@keyframes cgDragonIn{0%{opacity:0;transform:translate(170px,-30px) scale(.6) rotate(10deg)}70%{opacity:1;transform:translate(-8px,0) scale(1.04) rotate(-2deg)}100%{opacity:1;transform:none}}
@keyframes cgFlyIn{0%{opacity:0;transform:translate(120px,120px) scale(.55)}72%{opacity:1;transform:translate(-4px,-4px) scale(1.05)}100%{opacity:1;transform:none}}
@keyframes cgDropIn{0%{opacity:0;transform:translateY(-160px) scale(.55) rotate(-18deg)}70%{opacity:1;transform:translateY(6px) scale(1.06) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes cgFireworkIn{0%{opacity:0;transform:scale(.15) rotate(50deg)}65%{opacity:1;transform:scale(1.16) rotate(-4deg)}100%{opacity:1;transform:none}}

/* 礼物插画: 3D 光泽与立体层次 */
html body .svg-item{background:radial-gradient(circle at 50% 18%,#FFFDFE 0,#FFF6FA 52%,#FFF0F6 100%)!important;border:1px solid #F8DDE8!important;box-shadow:0 5px 14px rgba(190,80,120,.08),inset 0 1px 0 #fff!important}
html body .svg-item.on{background:radial-gradient(circle at 50% 16%,#FFF8FB,#FFEFF6)!important;border-color:#FF9DBA!important;box-shadow:0 5px 18px rgba(255,59,107,.16),inset 0 1px 0 #fff!important}
html body .svg-ic{position:relative!important;width:42px!important;height:42px!important;filter:drop-shadow(0 5px 5px rgba(150,40,80,.18))!important}
html body .svg-ic svg{filter:saturate(1.08) contrast(1.02)!important}
html body .svg-ic:after{content:'';position:absolute;left:6px;top:3px;width:19px;height:12px;border-radius:50%;background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,0));transform:rotate(-24deg);pointer-events:none;opacity:.85}
html body .gift-opt{background:radial-gradient(circle at 50% 20%,#FFFDFE,#FFF7FA)!important;border:1px solid #F8E2EA!important;box-shadow:0 3px 9px rgba(180,80,120,.06)!important}
html body .gift-opt-ic{position:relative!important;filter:drop-shadow(0 4px 4px rgba(150,40,80,.16))!important}
html body .gift-opt-ic:after{content:'';position:absolute;left:5px;top:2px;width:16px;height:10px;border-radius:50%;background:linear-gradient(150deg,rgba(255,255,255,.85),rgba(255,255,255,0));transform:rotate(-24deg);pointer-events:none}
html body .gw-ic{position:relative!important;filter:drop-shadow(0 4px 4px rgba(100,30,60,.22))!important}
html body .gw-cell.on{box-shadow:0 6px 18px rgba(255,59,107,.12),inset 0 1px 0 #fff!important}
html body .pf2-gifts .g .bx{background:radial-gradient(circle at 50% 20%,#FFFDFE,#FFF4F9)!important;box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(180,80,120,.06)!important}
html body .pf2-gifts .g .bx>svg{filter:drop-shadow(0 4px 4px rgba(150,40,80,.16))!important}

/* 礼物插画: 拟真高光扫过 + 呼吸光晕 */
html body .svg-ic,html body .gift-opt-ic,html body .gw-ic,html body .pf2-gifts .g .bx{position:relative!important}
html body .svg-ic:before,html body .gift-opt-ic:before,html body .gw-ic:before,html body .pf2-gifts .g .bx:before{content:'';position:absolute;inset:-6px;border-radius:16px;background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.62) 46%,rgba(255,255,255,.15) 53%,transparent 64%);transform:translateX(-130%);animation:giftSheen 4.6s ease-in-out infinite;pointer-events:none;mix-blend-mode:screen;opacity:.8;z-index:2}
html body .svg-item.on .svg-ic:before,html body .svg-item:hover .svg-ic:before{animation-duration:2.8s}
html body .gift-opt:active .gift-opt-ic:before,html body .gw-cell:active .gw-ic:before{animation-duration:1.4s}
html body .svg-ic:after,html body .gift-opt-ic:after,html body .gw-ic:after{filter:blur(1px)}
@keyframes giftSheen{0%,72%{transform:translateX(-130%)}86%,100%{transform:translateX(130%)}}
/* CG: 镜头光晕 */
.cg-gift:after{content:'';position:absolute;left:50%;top:46%;width:70vmin;height:12px;transform:translate(-50%,-50%) rotate(-8deg);background:linear-gradient(90deg,transparent,rgba(255,232,180,.45),rgba(255,255,255,.9),rgba(255,180,120,.45),transparent);filter:blur(8px);mix-blend-mode:screen;opacity:.7;animation:cgFlare 3.2s ease-in-out infinite;pointer-events:none}
.cg-gift.is-big:after{width:92vmin;height:16px;opacity:.9}
@keyframes cgFlare{0%,100%{opacity:.18;transform:translate(-50%,-50%) rotate(-8deg) scaleX(.8)}45%{opacity:.75;transform:translate(-50%,-50%) rotate(-8deg) scaleX(1.1)}}

/* 3D 礼物图: 统一尺寸 */
html body .gift-img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;pointer-events:none!important;user-select:none!important;filter:drop-shadow(0 5px 6px rgba(120,30,60,.22))!important}
html body .svg-ic .gift-img{transform:translateZ(0)}
html body .gift-opt-ic .gift-img{filter:drop-shadow(0 4px 5px rgba(120,30,60,.2))!important}
html body .gw-ic .gift-img{filter:drop-shadow(0 4px 5px rgba(90,20,50,.24))!important}
html body .pf2-gifts .g .bx .gift-img{width:40px!important;height:40px!important;margin:0 auto!important}
html body #stack .gift-msg .gift-ic .gift-img{width:34px!important;height:34px!important}
html body .cg-icon .gift-img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 20px 30px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(255,210,130,.45))!important}

/* ==================== 礼物质感: 克制、精致、拟真 ==================== */
html body .svg-item{background:linear-gradient(180deg,#FFFEFC 0%,#F8F3EE 100%)!important;border:1px solid #ECE1D9!important;border-radius:16px!important;box-shadow:0 7px 18px rgba(65,40,30,.07),inset 0 1px 0 #fff!important}
html body .svg-item.on{background:linear-gradient(180deg,#FFFDF8,#FFF2E6)!important;border-color:#E4B58A!important;box-shadow:0 9px 24px rgba(180,110,55,.14),inset 0 1px 0 #fff!important}
html body .svg-ic{width:48px!important;height:48px!important;filter:none!important}
html body .svg-ic .gift-img{filter:drop-shadow(0 9px 10px rgba(60,35,25,.2))!important}
html body .svg-ic:before{opacity:.18!important;animation-duration:7.5s!important;mix-blend-mode:soft-light!important;inset:-2px!important}
html body .svg-ic:after{opacity:.35!important;filter:blur(2px)!important}
html body .svg-item b{color:#4C3A33!important;font-size:10px!important;letter-spacing:.1px!important}
html body .svg-item em{color:#B0785F!important;font-size:8.5px!important}
html body .svg-item.on b{color:#8A4F2E!important}
/* 礼物墙 */
html body .gw-cell{background:linear-gradient(180deg,#FFFEFC,#F8F3EE)!important;border:1px solid #ECE1D9!important;box-shadow:0 5px 14px rgba(65,40,30,.06)!important}
html body .gw-cell.on{background:linear-gradient(180deg,#FFFDF7,#FFF1E5)!important;border-color:#E4B58A!important;box-shadow:0 7px 18px rgba(180,110,55,.12)!important}
html body .gw-ic{width:46px!important;height:46px!important;filter:none!important}
html body .gw-ic .gift-img{filter:drop-shadow(0 7px 8px rgba(60,35,25,.2))!important}
html body .gw-ic:before{opacity:.14!important;animation-duration:8s!important;mix-blend-mode:soft-light!important}
html body .gw-cell.on .gw-nm{color:#8A4F2E!important}
/* CG 光色收一点，偏电影感 */
html body .cg-gift{background:rgba(7,4,9,.7)!important}
html body .cg-aurora{opacity:.34!important;filter:blur(1px)!important}
html body .cg-veil{background:radial-gradient(circle at 50% 46%,rgba(255,220,170,.18),rgba(10,5,12,.6) 58%,rgba(0,0,0,.78))!important}
html body .cg-rays{opacity:.2!important}
html body .cg-gift:after{opacity:.45!important;filter:blur(12px)!important}
html body .cg-name{letter-spacing:2px!important}

/* 真实跑车照片 */
html body .gift-photo{object-fit:cover!important;border-radius:10px!important;filter:drop-shadow(0 6px 8px rgba(40,25,20,.22))!important}
html body .svg-ic .gift-photo{width:100%!important;height:100%!important}
html body .cg-icon .gift-photo{width:270px!important;height:182px!important;border-radius:18px!important;object-fit:cover!important;box-shadow:0 18px 42px rgba(0,0,0,.45)!important;filter:drop-shadow(0 0 24px rgba(120,180,255,.25))!important}

/* 透明底真实跑车: 不再使用照片卡片 */
html body .gift-car-real{object-fit:contain!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 7px 8px rgba(40,25,20,.25))!important}
html body .cg-icon .gift-car-real{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 18px 22px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(120,180,255,.18))!important}

html body .gift-real{object-fit:contain!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 7px 9px rgba(40,25,20,.22))!important}
html body .cg-icon .gift-real{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 18px 24px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(255,200,120,.18))!important}

/* 首页优化: 快捷入口副标题 + 附近空态 */
html body #main .fh-q{padding:11px 3px 9px!important;gap:3px!important}
html body #main .fh-qs{font-size:9px!important;line-height:1.2!important;color:#B39AA5!important;font-weight:600!important;white-space:nowrap!important;letter-spacing:.1px!important}
html body #main .fh-near-empty{min-height:168px!important;height:auto!important;background:linear-gradient(180deg,#FFFDFE,#FFF5F8)!important;border:1px solid #F5DFE8!important;border-radius:18px!important;box-shadow:0 5px 18px rgba(180,80,120,.06)!important;padding:18px 16px!important;gap:5px!important;margin:0!important;width:100%!important;box-sizing:border-box!important}
html body #main .fh-near-ic{width:42px!important;height:42px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#FFE5EE,#FFD2E1)!important;color:#E83F72!important;margin-bottom:2px!important}
html body #main .fh-near-ic svg{width:21px!important;height:21px!important}
html body #main .fh-near-empty b{font-size:13px!important;font-weight:900!important;color:#4B3540!important}
html body #main .fh-near-empty>span{font-size:10.5px!important;color:#B39AA5!important;line-height:1.5!important;margin-bottom:3px!important}
html body #main .fh-near-empty button{height:32px!important;padding:0 20px!important;font-size:11.5px!important;background:linear-gradient(135deg,#FF8FAB,#FF3B6B)!important;color:#fff!important;box-shadow:0 5px 14px rgba(255,59,107,.22)!important}

/* 首页首屏紧凑空态 */
html body #main .fh-hero{height:300px!important}
html body #main .fh-near-compact{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;min-height:0!important;height:78px!important;padding:12px 14px!important;text-align:left!important}
html body #main .fh-near-compact .fh-near-ic{width:38px!important;height:38px!important;flex:0 0 38px!important;margin:0!important}
html body #main .fh-near-compact .fh-near-ic svg{width:19px!important;height:19px!important}
html body #main .fh-near-compact .fh-near-txt{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
html body #main .fh-near-compact .fh-near-txt b{font-size:12.5px!important;font-weight:900!important;color:#4B3540!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #main .fh-near-compact .fh-near-txt span{font-size:10px!important;color:#B39AA5!important;line-height:1.35!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #main .fh-near-compact button{height:30px!important;padding:0 14px!important;font-size:11px!important;flex:0 0 auto!important;box-shadow:none!important}
/* 首页一次性通知引导 */
html body .push-tip{position:fixed;left:14px;right:14px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:120;display:flex;align-items:center;gap:10px;padding:11px 12px 11px 13px;border-radius:16px;background:rgba(255,252,250,.98);border:1px solid #F3DFE8;box-shadow:0 12px 34px rgba(90,35,55,.16);backdrop-filter:blur(10px);animation:pushTipIn .3s ease both}
html body .push-tip.out{animation:pushTipOut .25s ease both}
html body .push-tip-ic{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#FFE7F0,#FFD2E2);color:#E83F72;flex:0 0 34px}
html body .push-tip-ic svg{width:18px;height:18px}
html body .push-tip-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .push-tip-tx b{font-size:12px;font-weight:900;color:#4B3540;line-height:1.25}
html body .push-tip-tx span{font-size:9.5px;color:#B39AA5;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .push-tip button{height:29px;padding:0 12px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:10.5px;font-weight:900;flex:0 0 auto}
html body .push-tip-x{color:#C8B3BC;font-size:18px;line-height:1;padding:2px;flex:0 0 auto}
@keyframes pushTipIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pushTipOut{to{opacity:0;transform:translateY(8px)}}

/* 小屏 320: 顶部搜索不换行, 隐藏占位信息 */
@media(max-width:350px){
  html body #main .fh-city-area{display:none!important}
  html body #main .fh-shot{display:none!important}
  html body #main .fh-sph{font-size:11.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:120px!important}
  html body #main .fh-top{gap:6px!important}
  html body #main .fh-city{gap:4px!important}
  html body #main .fh-q{padding:10px 2px 8px!important}
  html body #main .fh-qt{font-size:10.5px!important}
  html body #main .fh-qs{font-size:8.5px!important}
}

/* 首页首屏: 附近卡完整露出 */
html body #main .fh-hero{height:260px!important}
html body #main .fh-mc{padding:10px 12px!important;border-radius:16px!important}
html body #main .fh-quick{margin-bottom:12px!important}
html body #main .fh-qic{width:42px!important;height:42px!important}
html body #main .fh-pcard{height:130px!important}
html body #main .fh-pinfo{left:9px!important;right:9px!important;bottom:8px!important}
html body #main .fh-pnm{font-size:13px!important;margin-bottom:1px!important}
html body #main .fh-pds{font-size:9.5px!important}
html body #main .fh-pon{top:7px!important;left:7px!important;padding:2px 6px!important;font-size:8.5px!important}

/* 消息列表: 一屏多显示 1-2 个会话 */
html body #main .chatlist .lrow{padding:10px 12px!important;border-radius:16px!important;margin-bottom:7px!important}
html body #main .chatlist .lrow .avwrap img{width:44px!important;height:44px!important}
html body #main .chatlist .lrow .lt{font-size:13.5px!important}
html body #main .chatlist .lrow .ls{font-size:11.5px!important;margin-top:2px!important}
html body #main .chatlist .lrow .tm{font-size:9.5px!important}

/* 聊天: 同一发送者连续消息合并头像，减少重复时间 */
html body #stack .crow.same-sender .av-ck{visibility:hidden!important}
html body #stack .crow.same-sender .bub-meta .tmt{display:none!important}
html body #stack .crow.same-sender{margin-top:-1px!important}
html body #stack .crow.same-sender .cbody{gap:2px!important}
html body #stack .crow .bub-meta .msg-read{font-size:9.5px!important;color:#C0AEB6!important}
html body #stack .crow.me .bub-meta{align-items:flex-end!important}
html body #stack .crow:not(.me) .bub-meta{align-items:flex-start!important}

/* 连续消息: 气泡不要被挤窄 */
html body #stack .crow.same-sender .cbody{flex:1 1 auto!important;max-width:calc(100% - 2px)!important;min-width:0!important}
html body #stack .crow.same-sender .bub-row{width:100%!important;max-width:100%!important}
html body #stack .crow.same-sender .cbub{width:auto!important;max-width:100%!important;white-space:normal!important}

/* 安全中心: 举报/黑名单行不要和卡片阴影叠在一起 */
html body .safety-row{min-height:0!important;padding:10px 12px!important;margin:0 0 8px!important;border-radius:14px!important;box-shadow:none!important;background:#FFF9FB!important}
html body .safety-row:last-child{margin-bottom:0!important}
html body .safety-row .grow b{display:block}

/* 聊天: 时间/已读移到气泡下方, 不再挤在气泡两侧 */
html body #stack .crow .bub-row{position:relative!important;padding-bottom:13px!important;align-items:flex-end!important}
html body #stack .crow .bub-row > .bub-meta{position:absolute!important;left:auto!important;right:0!important;bottom:0!important;top:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;padding:0!important;margin:0!important;white-space:nowrap!important}
html body #stack .crow:not(.me) .bub-row > .bub-meta{left:0!important;right:auto!important;justify-content:flex-start!important}
html body #stack .crow.me .bub-row > .bub-meta{justify-content:flex-end!important}
html body #stack .crow .bub-row > .bub-meta .tmt{font-size:9.5px!important;color:#C0AEB6!important;margin:0!important}
html body #stack .crow .bub-row > .bub-meta .msg-read{font-size:9.5px!important;color:#B9A3AD!important;margin:0!important}
html body #stack .crow.same-sender .bub-row > .bub-meta .tmt{display:none!important}
html body #stack .crow .cbody > .bub-meta{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;margin-top:3px!important;align-self:flex-start!important}
html body #stack .crow.me .cbody > .bub-meta{align-self:flex-end!important}

/* 聊天: 气泡可用宽度加大, 短消息不再被挤成两行 */
html body #stack .crow .cbody{flex:1 1 auto!important;max-width:calc(100% - 2px)!important;min-width:0!important}
html body #stack .crow .bub-row{width:100%!important;max-width:100%!important}
html body #stack .crow .cbub{max-width:100%!important;width:auto!important}

/* 我的页: 收紧顶部空白, 首屏多露出内容 */
html body .tq-hd:not(.has-bg){min-height:122px!important;padding:14px 16px 10px!important}
html body .tq-mine{padding-top:calc(4px + var(--sat, env(safe-area-inset-top, 0px)))!important}
/* 短视频精修: 规整加号、单层头像、评论/打赏细节 */
html body .svp-add,
html body .sv-fab{font-size:0!important}
html body .svp-add{position:relative!important;background:#fff!important}
html body .svp-add::before,
html body .svp-add::after{content:'';position:absolute;left:50%;top:50%;background:#FF4D7D;border-radius:2px;display:block!important;transform:translate(-50%,-50%);z-index:2}
html body .svp-add::before{width:22px;height:2px}
html body .svp-add::after{width:2px;height:22px}
html body .sv-fab::before,
html body .sv-fab::after{content:'';position:absolute;left:50%;top:50%;background:#fff;border-radius:2px;display:block!important;transform:translate(-50%,-50%);z-index:3}
html body .sv-fab::before{width:20px;height:2px}
html body .sv-fab::after{width:2px;height:20px}

/* 评论头像: 不再套两层 av/frame，不出重影 */
html body .svc-av{background:transparent!important;border:none!important}
html body .svc-av img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important}
html body .svc-child .svc-av{width:26px!important;height:26px!important;flex:0 0 26px!important}

/* 视频作者头像: 单张图，去掉叠加框 */
html body .sv-avatar{background:transparent!important}
html body .sv-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important}

/* 评论底栏图标微调 */
html body .sv-dock-ic svg{width:22px!important;height:22px!important;display:block}
html body .svc-sheet{border-radius:22px 22px 0 0!important}
html body .svc-head{border-bottom-color:rgba(255,255,255,.07)!important}
html body .svc-bar{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
html body .svc-bar input{font-size:12.5px!important}
html body .svc-bar button{min-width:62px!important;font-size:12px!important}

/* 打赏面板: 乐聊币标识更清楚 */
html body .svg-tip{font-size:10px!important;color:#B79AA3!important}
html body .svg-balance,
html body #svgBal{font-weight:700!important}

/* 评论头像: 外框与图片同尺寸, 不再出现双层圆环 */
html body .svc-av{width:30px!important;height:30px!important;flex:0 0 30px!important;box-shadow:0 0 0 1px rgba(255,255,255,.14)!important}
html body .svc-av img{border-radius:50%!important}
html body .svc-child .svc-av{width:26px!important;height:26px!important;flex:0 0 26px!important}

/* 在线/离线状态统一 */
html body .pf2-hinfo .meta .g.off{background:#B9A3AD!important;box-shadow:none!important}
html body .tq-md-meta .tq-online.off{background:#B9A3AD!important}
html body .chat-hd-sub .hd-off{background:#B9A3AD!important}
/* 附近的人完整列表 */
html body .nearall-body{padding:10px 14px calc(28px + env(safe-area-inset-bottom))!important;background:#FFF8FB!important}
html body .nearall-item{display:flex;align-items:center;gap:12px;padding:11px 12px;margin-bottom:9px;background:#fff;border:1px solid #F5E7ED;border-radius:17px;box-shadow:0 5px 16px rgba(105,52,73,.05)}
html body .nearall-av{width:54px;height:54px;flex:0 0 54px;border-radius:50%;overflow:hidden;background:#FCEAF1}
html body .nearall-av .av,html body .nearall-av .avwrap{width:54px!important;height:54px!important}
html body .nearall-av img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
html body .nearall-main{flex:1 1 auto;min-width:0}
html body .nearall-nm{font-size:14.5px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .nearall-nm em{font-style:normal;font-size:10px;font-weight:800;color:#B79AA3;margin-left:5px}
html body .nearall-meta{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:10px}
html body .nearall-on{color:#16A34A;font-weight:800}
html body .nearall-off{color:#B9A3AD;font-weight:700}
html body .nearall-dist{color:#B79AA3}
html body .nearall-bio{font-size:11px;color:#A6909A;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .nearall-arrow{color:#D3B9C3;font-size:20px;flex:0 0 auto;line-height:1}
/* 个人主页关注状态 */
html body .pf2-bbar .pf2-follow{height:44px;padding:0 13px;margin-right:7px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:#FFF0F5;border:1.5px solid #FFD3E1;color:#E8436B;font-size:12px;font-weight:900;line-height:1;white-space:nowrap;-webkit-tap-highlight-color:transparent}
html body .pf2-bbar .pf2-follow.on{background:linear-gradient(135deg,#FFE9F0,#FFD8E5);border-color:#FF9DB8;color:#D62A52}
html body .pf2-bbar .pf2-follow.back{background:#FFF7E6;border-color:#FFD98A;color:#B77900}
html body .pf2-bbar .pf2-follow.mutual{background:linear-gradient(135deg,#FFE9F0,#F3E8FF);border-color:#D8B4FE;color:#A855F7}
html body .pf2-bbar .pf2-follow:active{transform:scale(.96)}
/* 窄屏: 关注按钮略收窄, 保证聊天按钮不挤 */
@media (max-width:360px){
  html body .pf2-bbar .pf2-follow{padding:0 9px!important;font-size:11px!important;margin-right:5px!important}
  html body .pf2-bbar .r2{width:40px!important;height:40px!important}
  html body .pf2-bbar .go2{margin:0 6px!important;font-size:13px!important}
}

/* 家族群 / 同城群成员面板 */
html body #gMembersPanel .m-nm{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body #gMembersPanel .m-role{font-size:9px!important;font-weight:800!important;color:#7C3AED!important;background:#F3E8FF!important;border-radius:6px!important;padding:2px 6px!important;margin-left:6px!important;flex:0 0 auto!important}
html body #gMembersPanel .m-on{font-size:10px!important;font-weight:800!important;color:#16A34A!important;margin-left:auto!important;flex:0 0 auto!important}
html body #gMembersPanel .m-off{font-size:10px!important;color:#B9A3AD!important;margin-left:auto!important;flex:0 0 auto!important}
html body #gMembersPanel .g-members-h{font-size:14px!important;font-weight:900!important;padding:14px 16px!important;border-bottom:1px solid #F3E7ED!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html body #gMembersPanel .g-members-x{color:#B9A3AD!important;font-size:18px!important;padding:0 4px!important}
html body #gMembersPanel .g-members-list{padding:4px 10px calc(20px + env(safe-area-inset-bottom))!important;overflow-y:auto!important}
/* iOS 安装到主屏幕: 底部提示条 + 详细步骤 */
html body .ios-install-bar{position:fixed;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:120000;display:flex;align-items:center;gap:10px;padding:10px 11px 10px 12px;background:rgba(255,251,248,.97);border:1px solid #F0DCE5;border-radius:16px;box-shadow:0 12px 30px rgba(90,35,55,.16);backdrop-filter:blur(12px);animation:iosBarIn .3s ease both}
html body .ios-install-bar-ic{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#FFF0F5;color:#E83F72;display:flex;align-items:center;justify-content:center}
html body .ios-install-bar-ic svg{width:19px;height:19px}
html body .ios-install-bar-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .ios-install-bar-tx b{font-size:12px;font-weight:900;color:#4B3540;line-height:1.25}
html body .ios-install-bar-tx span{font-size:9.5px;color:#B39AA5;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ios-install-bar button{height:30px;padding:0 11px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:10.5px;font-weight:900;flex:0 0 auto}
html body .ios-install-bar-x{color:#C8B3BC;font-size:18px;line-height:1;padding:2px;flex:0 0 auto}
html body .ios-install-mask{position:fixed;inset:0;z-index:120001;background:rgba(28,18,24,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px);animation:iosMaskIn .22s ease both}
html body .ios-install-mask.out{animation:iosMaskOut .2s ease both}
html body .ios-install-sheet{width:100%;max-height:92vh;overflow-y:auto;background:#FFFCF8;border-radius:22px 22px 0 0;padding:18px 18px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,30,.2);animation:iosSheetIn .28s cubic-bezier(.2,.9,.3,1) both}
html body .ios-install-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body .ios-install-head b{font-size:17px;font-weight:900;color:#3B2C31;letter-spacing:-.2px}
html body .ios-install-x{width:30px;height:30px;border-radius:50%;background:#F6EFF3;color:#A88F9A;font-size:15px;display:flex;align-items:center;justify-content:center;flex:0 0 30px}
html body .ios-install-sub{margin-top:7px;font-size:11.5px;line-height:1.65;color:#A0828E}
html body .ios-install-warn{margin-top:10px;padding:10px 12px;border-radius:12px;background:#FFF3E8;border:1px solid #F7D9C0;color:#9A5B37;font-size:11px;line-height:1.7}
html body .ios-install-warn b{color:#C2572C}
html body .ios-install-url{margin-top:12px;display:flex;align-items:center;gap:8px;background:#F8F1F5;border:1px solid #F0DFE7;border-radius:12px;padding:8px 9px 8px 12px}
html body .ios-install-url span{flex:1;min-width:0;font-size:12px;font-weight:800;color:#6B4E5B;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .ios-install-url button{height:30px;padding:0 12px;border:none;border-radius:8px;background:#E83F72;color:#fff;font-size:10.5px;font-weight:900;flex:0 0 auto}
html body .ios-install-step{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #F4E9EE}
html body .ios-install-step>i{width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#FFEAF1;color:#E83F72;font-style:normal;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;margin-top:1px}
html body .ios-install-step>div{flex:1;min-width:0}
html body .ios-install-step b{display:block;font-size:12.5px;font-weight:900;color:#3B2C31;line-height:1.4}
html body .ios-install-step span{display:block;margin-top:3px;font-size:10.5px;line-height:1.65;color:#9A7F8A}
html body .ios-safari-bar{margin-top:9px;display:flex;align-items:center;justify-content:space-around;background:#F7F1F4;border:1px solid #EDDDE5;border-radius:10px;height:42px;color:#B79AA3;font-size:18px}
html body .ios-safari-bar .ios-share-ic{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#E83F72;background:#fff;border:1px solid #F2C9D8;border-radius:8px;width:54px;height:34px}
html body .ios-safari-bar .ios-share-ic svg{width:15px;height:15px}
html body .ios-safari-bar .ios-share-ic em{font-style:normal;font-size:7.5px;line-height:1;font-weight:800}
html body .ios-install-menu{margin:0 0 0 33px;display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#F8F1F4;border:1px solid #EFDDE6;border-radius:10px}
html body .ios-install-menu span{font-size:9px;color:#9A7F8A;background:#fff;border:1px solid #F0E2E9;border-radius:6px;padding:4px 7px}
html body .ios-install-menu span.on{background:#FFEAF1;border-color:#F4BAD0;color:#D62A52;font-weight:900}
html body .ios-install-note{margin-top:10px;padding:8px 10px;border-radius:9px;background:#FBF6F3;color:#AF939D;font-size:9.5px;line-height:1.6;text-align:center}
html body .ios-install-actions{display:flex;gap:9px;margin-top:12px}
html body .ios-install-actions button{flex:1;height:44px;border:none;border-radius:12px;font-size:13px;font-weight:900}
html body #iosCopyBtn2{background:#F6EBF1;color:#B45672}
html body #iosDoneBtn{background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;box-shadow:0 8px 20px rgba(232,63,114,.22)}
@keyframes iosBarIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes iosMaskIn{from{opacity:0}to{opacity:1}}
@keyframes iosMaskOut{to{opacity:0}}
@keyframes iosSheetIn{from{transform:translateY(100%)}to{transform:none}}

/* 邀请页顶部渐变卡：全局 panel 白底规则会覆盖内联渐变，需单独保护 */
html body .panel.invite-hero{
  background:linear-gradient(135deg,#FF5C8A,#A855F7) !important;
  border:none !important;
  color:#fff !important;
  box-shadow:0 10px 26px rgba(232,67,107,.22) !important;
}
html body .panel.invite-hero > div{ color:#fff !important; }
html body .panel.invite-hero #cpCode{ background:#fff !important; color:#E8436B !important; }
html body .panel.invite-hero #cpLink,
html body .panel.invite-hero #shLink{ color:#fff !important; background:rgba(255,255,255,.18) !important; }

/* 附近动态空态：去掉整块灰底，改成干净的留白提示 */
html body #tqFeed .empty{
  background:transparent !important;
  min-height:0 !important;
  padding:86px 24px !important;
  color:#B09AA4 !important;
  font-size:14px !important;
  line-height:1.8 !important;
}

/* 附近动态空态：容器也不要整块灰底 */
html body #tqFeed:has(> .empty){ background:transparent !important; min-height:0 !important; }

html body #nearFeedGeo{
  background:linear-gradient(135deg,#FF8FAB,#FF3B6B) !important;
  color:#fff !important;
  opacity:1 !important;
  box-shadow:0 6px 16px rgba(255,59,107,.24) !important;
}

/* iOS 安装提示：首页内联，不再浮在内容上 */
html body .ios-install-inline{
  display:flex;align-items:center;gap:9px;
  margin:8px 12px 10px;padding:10px 11px 10px 12px;
  background:#FFF9F5;border:1px solid #F1DCE4;border-radius:14px;
  box-shadow:0 6px 16px rgba(105,52,73,.06);
}
html body .ios-install-inline-ic{width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#FFF0F5;color:#E83F72;display:flex;align-items:center;justify-content:center}
html body .ios-install-inline-ic svg{width:18px;height:18px}
html body .ios-install-inline-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html body .ios-install-inline-tx b{font-size:12px;font-weight:900;color:#4B3540}
html body .ios-install-inline-tx span{font-size:9.5px;color:#B39AA5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ios-install-inline button{height:28px;padding:0 10px;border:none;border-radius:999px;background:linear-gradient(135deg,#FF8FAB,#FF3B6B);color:#fff;font-size:10px;font-weight:900;flex:0 0 auto}
html body .ios-install-inline-x{color:#C8B3BC;font-size:16px;line-height:1;padding:2px;flex:0 0 auto}
html body .ios-mine-install{margin-top:8px!important}
html body .ios-mine-install-ic{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:8px;color:#E83F72}
html body .ios-mine-install-ic svg{width:17px;height:17px}
/* ============================================================
   LELIAO · WARM EDITORIAL THEME 01
   只改视觉层：背景 / 字体 / 卡片 / 图标 / 底栏 / 动效
   ============================================================ */
:root{
  --ll-paper:#F6EEE4;
  --ll-paper-2:#FBF5EC;
  --ll-ink:#2B211C;
  --ll-ink-2:#5B4437;
  --ll-mute:#9C8474;
  --ll-line:#E5D3C1;
  --ll-accent:#B95538;
  --ll-accent-2:#D9835F;
  --ll-glass:rgba(255,250,244,.84);
  --ll-serif:"STSong","SimSun","Songti SC",serif;
}
html body{
  background:var(--ll-paper) !important;
  color:var(--ll-ink) !important;
  font-family:"Microsoft YaHei","PingFang SC",sans-serif !important;
  -webkit-font-smoothing:antialiased;
}
html body .app,
html body #app,
html body #main,
html body .main{
  background:transparent !important;
}
html body #main{ padding-bottom:92px !important; }

/* ---------- 玻璃底栏 ---------- */
html body #tabbar.tabbar{
  left:14px !important; right:14px !important; bottom:10px !important;
  height:64px !important; padding:5px 6px !important;
  border-radius:23px !important;
  background:rgba(255,250,244,.88) !important;
  border:1px solid rgba(112,76,58,.12) !important;
  box-shadow:0 14px 36px rgba(74,42,27,.14) !important;
  backdrop-filter:blur(18px) !important; -webkit-backdrop-filter:blur(18px) !important;
  display:flex !important; align-items:center !important; justify-content:space-around !important;
  overflow:visible !important;
}
html body #tabbar .tb{
  flex:1 !important; height:52px !important; padding:4px 0 0 !important;
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:3px !important; border:0 !important; background:transparent !important;
  color:#A28C7D !important; font-size:9px !important; font-weight:700 !important; letter-spacing:.2px;
}
html body #tabbar .tb .ic{
  width:36px !important; height:31px !important; border-radius:12px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  font-size:0 !important; background:transparent !important; transition:background .2s ease,transform .2s ease;
}
html body #tabbar .tb .ic svg{ width:21px !important; height:21px !important; display:block; }
html body #tabbar .tb.on{ color:var(--ll-accent) !important; }
html body #tabbar .tb.on .ic{ background:#F7E0D2 !important; }
html body #tabbar .tb:active .ic{ transform:scale(.92); }
html body #tabbar .dot{
  top:2px !important; right:15px !important; min-width:15px !important; height:15px !important;
  font-size:9px !important; line-height:15px !important; background:#B95538 !important;
  box-shadow:0 2px 6px rgba(185,85,56,.35) !important;
}

/* ---------- 交友页 ---------- */
html body .fh-top{
  padding:10px 14px 8px !important; display:flex !important; align-items:center !important; gap:9px !important;
  background:transparent !important;
}
html body .fh-logo{
  font-family:var(--ll-serif) !important; font-size:22px !important; font-weight:700 !important;
  letter-spacing:2px !important; color:var(--ll-ink) !important;
}
html body .fh-city{ font-size:10px !important; color:var(--ll-mute) !important; }
html body .fh-city-name{ font-weight:800 !important; color:var(--ll-ink-2) !important; }
html body .fh-city-area{ display:none !important; }
html body .fh-search{
  height:35px !important; flex:1 !important; border-radius:999px !important;
  background:rgba(255,250,244,.76) !important; border:1px solid var(--ll-line) !important;
  box-shadow:none !important; padding:0 12px !important;
}
html body .fh-search .fh-sph{ font-size:10.5px !important; color:#B29B8B !important; }
html body .fh-search .fh-sic{ color:#A88D7B !important; }
html body .fh-shot{ font-size:9px !important; color:var(--ll-accent) !important; background:#F8E0D2 !important; }
html body .tq-tabs{
  padding:6px 14px 8px !important; background:transparent !important; border:0 !important;
  display:flex !important; gap:4px !important;
}
html body .tq-tabs>div{
  height:33px !important; line-height:33px !important; padding:0 16px !important;
  font-size:12px !important; color:#9D8474 !important; font-weight:700 !important;
  background:transparent !important; border-radius:999px !important;
}
html body .tq-tabs>div.on{
  background:#FFF9F0 !important; color:var(--ll-ink) !important;
  box-shadow:0 4px 12px rgba(80,45,28,.10) !important; font-weight:900 !important;
}
html body .fh-hero{
  margin:2px 12px 10px !important; border-radius:26px !important; height:475px !important;
  box-shadow:0 16px 36px rgba(70,40,25,.14) !important; overflow:hidden !important;
  background:#D8C8B8 !important;
}
html body .fh-hero>img{ object-position:center 30% !important; filter:saturate(1.03) !important; }
html body .fh-hero:after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(27,18,14,.34) 0%,rgba(27,18,14,.02) 33%,rgba(27,18,14,.05) 52%,rgba(27,18,14,.82) 100%);
}
html body .fh-hero-info{
  left:18px !important; right:18px !important; bottom:15px !important; z-index:3 !important;
}
html body .fh-hname{ align-items:center !important; gap:8px !important; }
html body .fh-hn{ font-family:var(--ll-serif) !important; font-size:34px !important; font-weight:700 !important; letter-spacing:-1px !important; }
html body .fh-hage{ font-size:13px !important; color:rgba(255,249,240,.72) !important; }
html body .fh-hver{ display:none !important; }
html body .fh-htags{ margin-top:8px !important; }
html body .fh-htags span{
  font-size:10px !important; padding:5px 9px !important; border-radius:999px !important;
  background:rgba(255,249,240,.12) !important; border:1px solid rgba(255,249,240,.28) !important;
  color:rgba(255,249,240,.92) !important; backdrop-filter:blur(8px);
}
html body .fh-hbio{
  margin-top:9px !important; font-size:12px !important; line-height:1.55 !important;
  color:rgba(255,249,240,.80) !important; max-width:300px !important;
}
html body .fh-hbtns{ margin-top:12px !important; gap:8px !important; }
html body .fh-hbtn{
  height:44px !important; border-radius:999px !important; font-size:13px !important; font-weight:900 !important;
}
html body .fh-hbtn.skip{
  width:52px !important; flex:0 0 52px !important; background:rgba(27,18,14,.34) !important;
  border:1px solid rgba(255,249,240,.26) !important; color:#FFF9F0 !important; backdrop-filter:blur(10px);
  font-size:0 !important; position:relative;
}
html body .fh-hbtn.skip:after{ content:'×'; font-size:23px; line-height:1; font-weight:400; }
html body .fh-hbtn.chat{
  background:var(--ll-accent) !important; color:#FFF9F0 !important;
  box-shadow:0 10px 24px rgba(120,45,26,.30) !important;
}
html body .fh-mc{
  margin:0 12px 10px !important; border-radius:18px !important; height:66px !important;
  background:rgba(255,250,244,.78) !important; border:1px solid var(--ll-line) !important;
  box-shadow:0 6px 16px rgba(70,40,25,.05) !important;
}
html body .fh-mc-main b{ font-family:var(--ll-serif) !important; font-size:16px !important; }
html body .fh-mc-btn{ background:var(--ll-accent) !important; color:#FFF9F0 !important; }
html body .fh-quick{
  margin:0 12px 12px !important; gap:8px !important;
}
html body .fh-q{
  border-radius:17px !important; background:rgba(255,250,244,.74) !important;
  border:1px solid var(--ll-line) !important; box-shadow:0 5px 14px rgba(70,40,25,.04) !important;
}
html body .fh-qic{ transform:scale(.84); }
html body .fh-qt{ font-size:10px !important; }
html body .fh-qs{ font-size:8px !important; color:#A58D7A !important; }
html body .fh-st{ font-family:var(--ll-serif) !important; font-size:20px !important; letter-spacing:-.5px !important; }
html body .fh-st em{ font-family:"Microsoft YaHei" !important; font-size:9px !important; letter-spacing:1px !important; }
html body .fh-more{ color:var(--ll-accent) !important; font-size:10px !important; }
html body .fh-pcard{ border-radius:18px !important; }
html body .fh-pcard img{ border-radius:18px !important; }
html body .fh-feed{ margin:0 12px !important; }
html body .fh-feed .moment,html body .fh-feed .post{ border-radius:20px !important; }

/* ---------- 广场 ---------- */
html body .bar1{
  background:transparent !important; padding:12px 16px 4px !important; box-shadow:none !important; border:0 !important;
}
html body .bar1 .tb-title{
  font-family:var(--ll-serif) !important; font-size:30px !important; font-weight:700 !important; letter-spacing:-1px !important;
  color:var(--ll-ink) !important;
}
html body .bar1 .search{
  background:rgba(255,250,244,.78) !important; border:1px solid var(--ll-line) !important; box-shadow:none !important;
  height:35px !important; border-radius:999px !important;
}
html body .bar1 .search input{ font-size:10.5px !important; }
html body .bar1 .tb-ico{
  width:36px !important; height:36px !important; border-radius:50% !important;
  background:rgba(255,250,244,.78) !important; border:1px solid var(--ll-line) !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  color:var(--ll-accent) !important; font-size:0 !important;
}
html body .bar1 .tb-ico:after{ content:'✎'; font-size:18px; }
html body .tabs{
  background:transparent !important; border:0 !important; padding:8px 16px 0 !important;
  border-bottom:1px solid var(--ll-line) !important; box-shadow:none !important;
}
html body .tabs>div{
  background:transparent !important; border:0 !important; border-radius:0 !important;
  color:#A58D7A !important; font-size:13px !important; font-weight:700 !important;
  padding:0 0 10px !important; margin-right:20px !important; position:relative;
}
html body .tabs>div.on{
  color:var(--ll-ink) !important; font-size:15px !important; font-weight:900 !important;
  background:transparent !important;
}
html body .tabs>div.on:after{
  content:''; position:absolute; left:50%; bottom:-1px; width:17px; height:2px; border-radius:2px;
  background:var(--ll-accent); transform:translateX(-50%);
}
html body .moments{ background:transparent !important; padding:6px 14px 0 !important; }
html body .moment{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  border-radius:0 !important; padding:12px 0 18px !important; margin:0 !important;
}
html body .moment+.moment{ border-top:1px solid var(--ll-line) !important; }
html body .moment .m-head{ gap:9px !important; }
html body .moment .m-nm b{ font-size:12px !important; font-weight:900 !important; color:#3A2820 !important; }
html body .moment .m-tm{ font-size:9px !important; color:#AD9582 !important; }
html body .moment .m-txt{
  font-size:13.5px !important; line-height:1.65 !important; color:#4A3629 !important;
  margin:9px 3px 10px !important; font-weight:500 !important;
}
html body .moment .m-imgs{ margin:9px 0 0 !important; border-radius:20px !important; overflow:hidden !important; }
html body .moment .m-img{ border-radius:20px !important; overflow:hidden !important; background:#E7D8C8 !important; }
html body .moment .m-img img{ border-radius:20px !important; }
html body .moment .m-imgs-1 .m-img{ max-height:360px !important; }
html body .moment .m-bar{
  margin-top:10px !important; background:transparent !important; border:0 !important; padding:0 2px !important;
  gap:16px !important;
}
html body .moment .m-act{
  font-size:10px !important; color:#9D8474 !important; background:transparent !important;
  border:0 !important; padding:0 !important;
}
html body .moment .m-act.on{ color:var(--ll-accent) !important; }
html body .moment .m-act.m-chat{ color:var(--ll-accent) !important; margin-left:auto; }
html body .moment .m-act[data-rpt]{ display:none !important; }
html body .moment .m-del{ color:#B9A28F !important; font-size:9px !important; }
html body .moment .pin-tag,html body .moment .off-tag{ font-size:8px !important; }
html body .sq-more{
  background:rgba(255,250,244,.72) !important; border:1px solid var(--ll-line) !important;
  border-radius:999px !important; color:var(--ll-accent) !important;
}

/* ---------- 我的 ---------- */
html body .tq-mine{
  background:radial-gradient(120% 60% at 88% 0%,#F4D6C3 0%,#FBF1E5 48%,#F6EEE4 100%) !important;
  padding:2px 0 100px !important;
}
html body .tq-hd{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  padding:8px 18px 0 !important; min-height:94px !important;
}
html body .tq-hd .tq-av{
  width:74px !important; height:74px !important; flex:0 0 74px !important; border-radius:26px !important;
  padding:3px !important; background:linear-gradient(135deg,#B95538,#E7AA87) !important;
  box-shadow:0 10px 24px rgba(158,77,50,.18) !important; overflow:visible !important;
}
html body .tq-hd .tq-av img{
  width:100% !important; height:100% !important; object-fit:cover !important;
  border-radius:23px !important; border:2px solid #FBF4EA !important;
}
html body .tq-hd .tq-nick{ padding-left:10px !important; }
html body .tq-n1{
  font-family:var(--ll-serif) !important; font-size:25px !important; font-weight:700 !important;
  color:var(--ll-ink) !important;
}
html body .tq-lvs .lv{ font-size:9px !important; background:transparent !important; border:0 !important; padding:0 8px 0 0 !important; }
html body .tq-edit{
  border-radius:999px !important; background:rgba(255,250,244,.62) !important;
  border:1px solid var(--ll-line) !important; color:#8B6F5C !important; font-size:10px !important;
}
html body .tq-stats{
  margin:8px 18px 0 !important; padding:13px 0 !important; background:transparent !important;
  border-top:1px solid var(--ll-line) !important; border-bottom:1px solid var(--ll-line) !important;
  border-radius:0 !important; box-shadow:none !important;
}
html body .tq-st b{ font-family:var(--ll-serif) !important; font-size:22px !important; font-weight:700 !important; color:var(--ll-ink) !important; }
html body .tq-st span{ font-size:9px !important; color:#A58D7A !important; letter-spacing:1px !important; }
html body .tq-geo-line{
  margin:8px 18px 0 !important; background:rgba(255,250,244,.58) !important;
  border:1px solid var(--ll-line) !important; border-radius:999px !important;
  font-size:10px !important; color:#A58D7A !important;
}
html body .tq-vlinks{ margin:12px 14px !important; gap:8px !important; }
html body .tq-vlink{
  background:rgba(255,250,244,.68) !important; border:1px solid var(--ll-line) !important;
  border-radius:18px !important; box-shadow:0 5px 14px rgba(70,40,25,.04) !important;
  height:64px !important; gap:4px !important;
}
html body .tq-vic{ color:var(--ll-accent) !important; }
html body .tq-vt{ font-size:9px !important; color:#6E5545 !important; }
html body .tq-heroes{ padding:0 14px !important; gap:9px !important; }
html body .tq-hero{ border-radius:19px !important; box-shadow:0 8px 20px rgba(70,40,25,.08) !important; min-height:118px !important; }
html body .tq-hero.vip{ background:linear-gradient(135deg,#3A2922,#6B4030) !important; }
html body .tq-hero.vip .th-t,html body .tq-hero.vip .th-d{ color:#FFF8EC !important; }
html body .tq-hero.vip .th-glow{ opacity:.35 !important; }
html body .tq-list{
  margin:12px 14px !important; background:transparent !important; border:0 !important; box-shadow:none !important;
}
html body .tq-list .mi{
  background:transparent !important; border-bottom:1px solid var(--ll-line) !important;
  border-radius:0 !important; box-shadow:none !important; padding:13px 4px !important;
  font-size:12px !important; color:#4A3629 !important;
}
html body .tq-list .mi:last-child{ border-bottom:0 !important; }
html body .tq-list .mi .ar{ color:#C8AE99 !important; }

/* ---------- 二级页 / 弹层 ---------- */
html body #stack{ background:rgba(35,22,16,.38) !important; }
html body #stack .sbody{ background:var(--ll-paper-2) !important; }
html body #stack .shead{
  background:rgba(255,250,244,.86) !important; border-bottom:1px solid var(--ll-line) !important;
  backdrop-filter:blur(16px) !important;
}
html body #stack .shead .st{
  font-family:var(--ll-serif) !important; font-size:19px !important; font-weight:700 !important; color:var(--ll-ink) !important;
}
html body #stack .panel{
  background:rgba(255,250,244,.9) !important; border:1px solid var(--ll-line) !important;
  border-radius:18px !important; box-shadow:0 8px 22px rgba(70,40,25,.06) !important;
}
html body .art-bar-t,html body .ent-head h1{ font-family:var(--ll-serif) !important; }

/* ---------- 动效 ---------- */
html body #tabbar .tb,html body .fh-q,html body .m-act,html body .tq-list .mi{
  transition:transform .18s ease,color .18s ease,background .18s ease;
}
html body .fh-hero img,html body .moment .m-img img{ animation:llFadeIn .45s ease both; }
@keyframes llFadeIn{ from{opacity:0;transform:scale(1.012)} to{opacity:1;transform:none} }

/* 兼容夜间模式：保留可读性 */
html.night body{ background:#171210 !important; }
html.night #stack .sbody{ background:#1F1814 !important; }
/* Theme patch 02: 统一顶部、广场 Tab、我的页字色 */
html, html body{
  background-color:#F6EEE4 !important;
  background-image:none !important;
}
html body #topbar.topbar{
  background:rgba(246,238,228,.94) !important;
  border-bottom:1px solid rgba(112,76,58,.10) !important;
  box-shadow:none !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
}
html body .fh-logo,
html body .bar1 .tb-title{
  background:none !important;
  -webkit-text-fill-color:currentColor !important;
  color:#2B211C !important;
}
html body .tq-n1,
html body .tq-n1 *{
  background:none !important;
  -webkit-text-fill-color:currentColor !important;
  color:#2B211C !important;
}
html body .tq-vic,
html body .tq-vic svg,
html body .tq-q svg,
html body .q svg{
  color:#A94F36 !important;
  stroke:#A94F36 !important;
}
html body .tq-hero:not(.vip){
  background:linear-gradient(135deg,#C97452,#A94F36) !important;
}
html body .tq-promote,
html body .tq-promo,
html body .tq-mine [class*="promote"]{
  background:linear-gradient(135deg,#C97452,#A94F36) !important;
  color:#FFF8EC !important;
  box-shadow:0 10px 22px rgba(169,79,54,.18) !important;
}

/* 广场顶部：不要把 5 个 Tab 撑出屏幕 */
html body .bar1{width:auto !important; overflow:visible !important;}
html body .bar1 .search{min-width:0 !important; flex:1 1 auto !important;}
html body .tabs{
  width:auto !important; overflow-x:auto !important; overflow-y:hidden !important;
  white-space:nowrap !important; scrollbar-width:none !important;
  padding-right:10px !important;
}
html body .tabs::-webkit-scrollbar{display:none !important;}
html body .tabs>div{
  flex:0 0 auto !important; font-size:11.5px !important; margin-right:15px !important;
  padding-bottom:9px !important;
}
html body .tabs>div.on{font-size:13.5px !important;}
html body .sq-vent,html body .sq-sv-tab{font-size:11px !important;}
html body .topbar .search input{font-size:10.5px !important;}

/* 我的页：保留暖色，不再出现粉色按钮 */
html body .tq-mine .tq-hero:not(.vip) *{color:#FFF8EC !important;}
html body .tq-mine .tq-list .mi{color:#4A3629 !important;}
html body .tq-mine .tq-list .mi b,
html body .tq-mine .tq-list .mi span{color:inherit;}
html body .tq-mine .tq-edit{color:#8B6F5C !important;}
html body .tq-mine .tq-geo-line{color:#9D8474 !important;}
html body .tq-mine .tq-st b{color:#2B211C !important;}
html body .tq-mine .tq-stats{background:transparent !important;}

/* Theme patch 03: app body + promo banner */
html body.in-app,
html body.in-app #app,
html body.in-app #main{
  background-color:#F6EEE4 !important;
  background-image:none !important;
}
html body .tq-banner{
  background:linear-gradient(135deg,#C97452,#A94F36) !important;
  color:#FFF8EC !important;
  border-radius:16px !important;
  box-shadow:0 10px 22px rgba(169,79,54,.18) !important;
  font-weight:800 !important;
}
html body .tq-banner b{color:#FFF8EC !important;}
html body .tq-banner *{color:#FFF8EC !important;}
/* 我的页 4 个白色卡片统一成暖白，不做成纯白 */
html body .tq-mine .tq-heroes + div,
html body .tq-mine .tq-list{
  background:transparent !important;
}

/* Theme patch 04: quick icons / tab active / post name */
html body .fh-qic{
  background:#F7E5D7 !important;
  border-radius:13px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
html body .fh-qic svg *{
  fill:none !important;
  stroke:#A94F36 !important;
  stroke-width:1.6 !important;
}
html body .fh-qic svg path:first-child{fill:none !important;}
html body .tabs>div.on{ color:#A94F36 !important; }
html body .moment .m-nm b,
html body .moment .m-nm b .nmx,
html body .moment .m-nm b span{
  color:#3A2820 !important;
  -webkit-text-fill-color:#3A2820 !important;
}
html body .moment .m-nm b{ font-size:13px !important; }
html body .moment .m-tm{ color:#AD9582 !important; }

/* Theme patch 05: flatten topbar + image ratio + tab ink */
html body #topbar.topbar{
  background:transparent !important;
  border-radius:0 !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html body .tabs>div.on{
  color:#A94F36 !important;
  -webkit-text-fill-color:#A94F36 !important;
  background:none !important;
}
html body .moment .m-imgs-1 .m-img{
  height:318px !important; max-height:318px !important;
}
html body .moment .m-img img{
  width:100% !important; height:100% !important;
  object-fit:cover !important;
}
html body .tq-banner{
  font-size:13px !important;
  height:52px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
}

/* Theme patch 06: fix square single-image height */
html body .moment .m-imgs.m-imgs-1{
  height:318px !important;
  max-height:318px !important;
  overflow:hidden !important;
  border-radius:20px !important;
}
html body .moment .m-imgs.m-imgs-1 .m-img{
  height:100% !important;
  max-height:none !important;
}
html body .moment .m-imgs.m-imgs-1 .m-img img{
  height:100% !important;
  object-fit:cover !important;
}

/* Theme patch 07: 举报入口必须保留 */
html body .moment .m-act[data-rpt]{
  display:inline-flex !important;
  color:#B9A28F !important;
  margin-left:8px !important;
  font-size:10px !important;
}

/* Theme patch 08: 我的页四宫格改为磨砂暖白，不再纯白 */
html body .tq-grid .tq-card{
  background:rgba(255,250,244,.66) !important;
  border:1px solid #E5D3C1 !important;
  box-shadow:0 6px 16px rgba(70,40,25,.045) !important;
  border-radius:18px !important;
}
html body .tq-grid .tq-card .t{ color:#4A3629 !important; }
html body .tq-grid .tq-card .v{ color:#B95538 !important; }
html body .tq-vlink{ background:rgba(255,250,244,.66) !important; }

/* ============================================================
   Theme patch 09: chat / profile / stack motion
   ============================================================ */
html body #stack .sbody#chatBody{ background:#FBF5EC !important; }
html body .chat-shead{
  background:rgba(255,250,244,.92) !important;
  border-bottom:1px solid #E5D3C1 !important;
  backdrop-filter:blur(16px) !important;
}
html body .chat-hd-sub{ color:#A58D7A !important; }
html body .chat-hd-vip{ background:#B95538 !important; color:#FFF9F0 !important; }
html body .chat-mini{
  background:rgba(255,250,244,.82) !important; border:1px solid #E5D3C1 !important;
  border-radius:16px !important;
}
html body .tq-chat-info{ background:#FFF9F0 !important; }
html body .tq-chat-input{
  background:rgba(255,250,244,.94) !important;
  border-top:1px solid #E5D3C1 !important;
  backdrop-filter:blur(18px) !important;
}
html body .tq-chat-input input{
  background:#FFFBF5 !important; border:1px solid #E5D3C1 !important;
  border-radius:999px !important; color:#2B211C !important;
}
html body .tq-ci-btn{ color:#A94F36 !important; }
html body .tq-ci-send{
  background:#B95538 !important; color:#FFF9F0 !important;
  box-shadow:0 7px 18px rgba(169,79,54,.22) !important;
}
html body .cbub.me,
html body .cbub.me *{
  background-color:#B95538 !important; color:#FFF9F0 !important;
}
html body .cbub.me{ border-radius:17px 17px 5px 17px !important; }
html body .cbub.other,
html body .cbub.other *{
  background-color:#FFF9F0 !important; color:#2B211C !important;
}
html body .cbub.other{ border:1px solid #E5D3C1 !important; border-radius:17px 17px 17px 5px !important; }
html body .bub-meta,.html body .tmt,.html body .chat-other-name{ color:#A58D7A !important; }
html body .msg-read.rd{ color:#A58D7A !important; }
html body .msg-read.un{ color:#B9A28F !important; }
html body .chat-to-bottom{
  background:#FFF9F0 !important; color:#A94F36 !important; border:1px solid #E5D3C1 !important;
}
html body .chat-gift-entry,html body #heartTaskSlot{ color:#A94F36 !important; }
html body .tq-more-panel,html body .emoji-panel,html body .gift-panel{ background:#FBF5EC !important; }

/* 个人主页：保留深色画册感，但把小动作统一成陶土色 */
html body .pf2-bbar{ background:rgba(26,19,15,.96) !important; }
html body .pf2-follow{
  background:#B95538 !important; color:#FFF9F0 !important;
  border:1px solid transparent !important;
}
html body .pf2-follow.on{
  background:#FFF9F0 !important; color:#A94F36 !important;
  border-color:#E5D3C1 !important;
}
html body .pf2-follow.back{
  background:transparent !important; color:#E7B08F !important;
  border:1px solid #B95538 !important;
}
html body .pf2-follow.mutual{
  background:#C97452 !important; color:#FFF9F0 !important;
}
html body .pf2-go2{
  background:#B95538 !important; color:#FFF9F0 !important;
  box-shadow:0 8px 20px rgba(169,79,54,.24) !important;
}
html body .pf2-like{
  background:rgba(185,85,56,.18) !important; color:#F0BBA5 !important;
}
html body .pf2-like *{ color:#F0BBA5 !important; }
html body .pf2-card .lk{ background:#B95538 !important; }
html body .pf2-card .r2,html body .pf2-card .go2{ color:#F0BBA5 !important; }
html body .pf2-card .r2{ background:rgba(255,255,255,.08) !important; }

/* 我的钱包 / 充值：只收口彩色按钮，不改支付品牌色 */
html body .r-tier{
  background:#FFF9F0 !important; border:1px solid #E5D3C1 !important;
  color:#A94F36 !important;
}
html body .r-tier b,html body .r-tier strong{ color:#A94F36 !important; }
html body .rc-safe{ background:#B95538 !important; color:#FFF9F0 !important; }
html body .r-mtabs{ background:#F2E5D8 !important; }
html body .r-mtab.on{ color:#A94F36 !important; }
html body .panel .btn{
  border-radius:999px !important;
}

/* 二级页转场 */
@keyframes llStackIn{
  from{opacity:.35;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
html body #stack.open .sbody{ animation:llStackIn .28s cubic-bezier(.2,.8,.2,1) both; }
html body #stack.open .shead{ animation:llStackIn .22s ease both; }
@media (prefers-reduced-motion: reduce){
  html body #stack.open .sbody,html body #stack.open .shead{ animation:none !important; }
}

/* Theme patch 10: chat bubble colors + profile primary action */
html body #stack .sbody#chatBody{
  background:#FBF5EC !important;
  background-image:none !important;
}
html body .chat-shead{
  background:#FFF9F0 !important;
  background-image:none !important;
}
html body .cbub.me{
  background:#B95538 !important;
  background-image:none !important;
  color:#FFF9F0 !important;
}
html body .cbub.me *{
  background:transparent !important;
  background-image:none !important;
  color:#FFF9F0 !important;
  -webkit-text-fill-color:#FFF9F0 !important;
}
html body .cbub.other{
  background:#FFF9F0 !important;
  background-image:none !important;
  color:#2B211C !important;
}
html body .cbub.other *{
  background:transparent !important;
  background-image:none !important;
  color:#2B211C !important;
  -webkit-text-fill-color:#2B211C !important;
}
html body .tq-chat-input{
  background:#FFF9F0 !important;
  background-image:none !important;
}
html body .tq-chat-input input{
  background:#FFFBF5 !important;
  background-image:none !important;
  color:#2B211C !important;
}
html body .tq-ci-send{
  background:#B95538 !important;
  background-image:none !important;
  color:#FFF9F0 !important;
}
html body .tq-chat-input .tq-ci-btn{
  background:transparent !important;
  color:#A94F36 !important;
}
html body .chat-mini{
  background:#FFF9F0 !important;
  background-image:none !important;
}
html body .tq-chat-info{
  background:#FFF9F0 !important;
  background-image:none !important;
}
html body .chat-to-bottom{
  background:#FFF9F0 !important;
  background-image:none !important;
}
html body .pf2-bbar .go2,
html body .pf2-go2,
html body .pf2-bbar .go2 *{
  background:#B95538 !important;
  background-image:none !important;
  color:#FFF9F0 !important;
}
html body .pf2-bbar .go2{
  box-shadow:0 8px 20px rgba(169,79,54,.24) !important;
}

/* Theme patch 11: specificity overrides for stack chat/profile */
html body #stack .sbody#chatBody{
  background:#FBF5EC !important; background-image:none !important;
}
html body #stack .chat-shead{
  background:#FFF9F0 !important; background-image:none !important;
}
html body #stack #chatBody .cbub.me{
  background:#B95538 !important; background-image:none !important; color:#FFF9F0 !important;
  border:0 !important;
}
html body #stack #chatBody .cbub.me *,
html body #stack #chatBody .cbub.me .ff-flow-rainbow{
  background:transparent !important; background-image:none !important;
  color:#FFF9F0 !important; -webkit-text-fill-color:#FFF9F0 !important;
}
html body #stack #chatBody .cbub.other{
  background:#FFF9F0 !important; background-image:none !important; color:#2B211C !important;
  border:1px solid #E5D3C1 !important;
}
html body #stack #chatBody .cbub.other *{
  background:transparent !important; background-image:none !important;
  color:#2B211C !important; -webkit-text-fill-color:#2B211C !important;
}
html body #stack .tq-chat-input{
  background:#FFF9F0 !important; background-image:none !important;
}
html body #stack .tq-chat-input input{
  background:#FFFBF5 !important; background-image:none !important; color:#2B211C !important;
}
html body #stack .tq-ci-send{
  background:#B95538 !important; background-image:none !important; color:#FFF9F0 !important;
}
html body #stack .tq-ci-btn{ background:transparent !important; color:#A94F36 !important; }
html body #stack .pf2-bbar{
  background:rgba(26,19,15,.96) !important; background-image:none !important;
}
html body #stack .pf2-bbar .go2{
  background:#B95538 !important; background-image:none !important;
  color:#FFF9F0 !important; -webkit-text-fill-color:#FFF9F0 !important;
  box-shadow:0 8px 20px rgba(169,79,54,.24) !important;
}
html body #stack .pf2-bbar .go2 *{ color:#FFF9F0 !important; -webkit-text-fill-color:#FFF9F0 !important; }

/* Theme patch 12: warm login cover */
html body #loginView{
  background:#F6EEE4 !important;
}
html body #loginView .lg-bg{
  background:
    radial-gradient(90% 55% at 82% 0%, #F3D2BE 0%, rgba(246,238,228,0) 62%),
    radial-gradient(80% 50% at 0% 100%, #F8E4D2 0%, rgba(246,238,228,0) 62%) !important;
}
html body #loginView .login-card{
  background:rgba(255,250,244,.92) !important;
  border:1px solid #E5D3C1 !important;
  box-shadow:0 26px 70px rgba(70,40,25,.14) !important;
  backdrop-filter:blur(18px) !important;
}
html body #loginView .login-card,
html body #loginView .login-card .lg-brand,
html body #loginView .login-card .seg,
html body #loginView .login-card .login-fields,
html body #loginView .login-card label,
html body #loginView .login-card .lg-tip,
html body #loginView .login-card .lg-foot{
  color:#2B211C !important;
}
html body #loginView .login-card input{
  background:#FFF9F0 !important;
  border:1px solid #E5D3C1 !important;
  color:#2B211C !important;
  border-radius:12px !important;
}
html body #loginView .login-card input::placeholder{color:#B29B8B !important;}
html body #loginView #lgSubmit,
html body #loginView .login-card .btn{
  background:#B95538 !important;
  background-image:none !important;
  color:#FFF9F0 !important;
  border-radius:999px !important;
  box-shadow:0 10px 24px rgba(169,79,54,.22) !important;
}
html body #loginView .seg .on{
  background:#B95538 !important; color:#FFF9F0 !important;
}
html body #loginView .seg .on:after{background:#B95538 !important;}

/* 交友页顶部 logo/位置跟随内容滚动，不再固定 */
html body #main .fh-top{
  position:relative !important;
  top:auto !important;
  z-index:auto !important;
  background:transparent !important;
  background-image:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* 允许通知提示：内容流内，不悬浮、不挡内容 */
html body .notify-perm-bar{
  display:flex;align-items:center;gap:9px;
  margin:8px 14px 2px;padding:10px 11px 10px 12px;
  background:#FFF9F0;border:1px solid #E5D3C1;border-radius:15px;
  box-shadow:0 6px 16px rgba(70,40,25,.05);
}
html body .notify-perm-ic{width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#F7E0D2;color:#A94F36;display:flex;align-items:center;justify-content:center}
html body .notify-perm-ic svg{width:18px;height:18px}
html body .notify-perm-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .notify-perm-tx b{font-size:12px;font-weight:900;color:#3B2C31}
html body .notify-perm-tx span{font-size:9.5px;color:#A58D7A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .notify-perm-bar button{height:30px;padding:0 12px;border:none;border-radius:999px;background:#B95538;color:#FFF9F0;font-size:10.5px;font-weight:900;flex:0 0 auto}
html body .notify-perm-x{color:#C8B3BC;font-size:17px;line-height:1;padding:2px;flex:0 0 auto}
html body .notify-guide-mask{position:fixed;inset:0;z-index:120010;background:rgba(28,18,24,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px)}
html body .notify-guide-sheet{width:100%;max-height:90vh;overflow-y:auto;background:#FFFCF8;border-radius:22px 22px 0 0;padding:18px 18px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,30,.2)}
html body .notify-guide-head{display:flex;align-items:center;justify-content:space-between}
html body .notify-guide-head b{font-size:17px;font-weight:900;color:#3B2C31}
html body .notify-guide-head span{width:30px;height:30px;border-radius:50%;background:#F6EFF3;color:#A88F9A;font-size:15px;display:flex;align-items:center;justify-content:center}
html body .notify-guide-sub{margin-top:7px;font-size:11.5px;line-height:1.65;color:#A0828E}
html body .notify-guide-step{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #F4E9EE}
html body .notify-guide-step>i{width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#FFEAF1;color:#B95538;font-style:normal;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center}
html body .notify-guide-step b{display:block;font-size:12.5px;font-weight:900;color:#3B2C31}
html body .notify-guide-step span{display:block;margin-top:3px;font-size:10.5px;line-height:1.65;color:#9A7F8A}
html body .notify-guide-note{margin-top:10px;padding:8px 10px;border-radius:9px;background:#FBF6F3;color:#AF939D;font-size:9.5px;line-height:1.6;text-align:center}
html body .notify-guide-ok{width:100%;height:44px;margin-top:12px;border:none;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900}

/* Theme patch 13: 顶栏实底，滚动时内容不穿透 */
html body #topbar.topbar{
  background:rgba(246,238,228,.98) !important;
  background-image:none !important;
  border-bottom:1px solid rgba(112,76,58,.10) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
/* ============================================================
   Mine enhancements + filter v2
   ============================================================ */

/* 我的页文字对比度 */
html body .tq-mine .tq-row .tq-nm,
html body .tq-mine .tq-vt,
html body .tq-mine .tq-st b,
html body .tq-mine .tq-card .t,
html body .tq-mine .tq-follow-head b,
html body .tq-follow-nm{
  color:#3B2C31 !important;
  -webkit-text-fill-color:#3B2C31 !important;
}
html body .tq-mine .tq-row .tq-sub,
html body .tq-mine .tq-st span,
html body .tq-mine .tq-geo-line,
html body .tq-mine .tq-card .s,
html body .tq-follow-empty,
html body .tq-follow-all{
  color:#8C7464 !important;
  -webkit-text-fill-color:#8C7464 !important;
}
html body .tq-mine .tq-row .tq-ar{ color:#B7A08E !important; }

/* 我的关注横向列表 */
html body .tq-follows{
  margin:14px 14px 2px;
  padding:12px 12px 11px;
  border:1px solid #E5D3C1;
  border-radius:17px;
  background:rgba(255,250,244,.72);
  box-shadow:0 6px 16px rgba(70,40,25,.045);
}
html body .tq-follow-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
html body .tq-follow-head b{font-size:12px;font-weight:900}
html body .tq-follow-all{font-size:10px;color:#A94F36 !important;-webkit-text-fill-color:#A94F36 !important}
html body .tq-follow-list{display:flex;gap:15px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
html body .tq-follow-list::-webkit-scrollbar{display:none}
html body .tq-fu{flex:0 0 47px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}
html body .tq-fu-av{width:45px;height:45px;border-radius:50%;overflow:hidden;border:2px solid #F1DFD0;background:#F7E5D7;display:flex;align-items:center;justify-content:center;color:#A94F36;font-size:15px;font-weight:900}
html body .tq-fu-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .tq-follow-nm{max-width:47px;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
html body .tq-follow-empty{font-size:10.5px;line-height:1.5;padding:8px 0}

/* 自定义背景：头像下移，露出背景 */
html body .tq-hd{position:relative}
html body .tq-hd.has-bg{
  height:268px !important;
  min-height:268px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:0 0 26px 26px !important;
  display:flex !important;
  align-items:flex-end !important;
  background-size:cover !important;
  background-position:center !important;
}
html body .tq-hd.has-bg .tq-hd-in{
  width:100%;
  min-height:100%;
  box-sizing:border-box;
  padding:150px 16px 18px !important;
  align-items:flex-end !important;
  background:linear-gradient(180deg,rgba(22,12,9,0) 26%,rgba(22,12,9,.68) 100%);
}
html body .tq-hd.has-bg .tq-n1{color:#FFF9F0 !important;-webkit-text-fill-color:#FFF9F0 !important;text-shadow:0 2px 12px rgba(0,0,0,.2)}
html body .tq-hd.has-bg .tq-lvs .lv{color:#FFF9F0 !important;-webkit-text-fill-color:#FFF9F0 !important;background:rgba(255,255,255,.16) !important;border:1px solid rgba(255,255,255,.2) !important}
html body .tq-hd.has-bg .tq-edit{background:rgba(255,249,240,.9) !important;color:#7A4034 !important;border:0 !important}
html body .tq-hd.has-bg .tq-av{width:84px !important;height:84px !important;flex:0 0 84px !important;border-width:3px !important;box-shadow:0 8px 20px rgba(0,0,0,.25)}
html body .tq-bg-btn{
  position:absolute;top:12px;right:12px;z-index:4;
  height:29px;padding:0 11px;border:1px solid rgba(229,211,193,.8);
  border-radius:999px;background:rgba(255,249,240,.92);color:#7A4034;
  font-size:10px;font-weight:900;box-shadow:0 5px 14px rgba(70,40,25,.10);
}
html body .tq-hd.has-bg .tq-bg-btn{background:rgba(20,12,9,.48);color:#FFF9F0;border-color:rgba(255,255,255,.2);backdrop-filter:blur(8px)}

/* 筛选面板 */
html body .cf-mask{position:fixed;inset:0;z-index:120000;background:rgba(35,20,16,.46);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}
html body .cf-sheet{width:100%;max-height:90vh;overflow-y:auto;background:#FBF5EC;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,30,.18)}
html body .cf-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
html body .cf-head b{font-size:16px;font-weight:900;color:#3B2C31}
html body .cf-head span{font-size:11px;color:#A94F36;font-weight:800}
html body .cf-sec{margin:13px 0}
html body .cf-lb{font-size:11px;font-weight:900;color:#7E6455;margin-bottom:7px}
html body .cf-opts{display:flex;flex-wrap:wrap;gap:8px}
html body .cf-opt{height:31px;padding:0 13px;display:inline-flex;align-items:center;border:1px solid #E5D3C1;border-radius:999px;background:#FFF9F0;color:#745B4D;font-size:11px;font-weight:700}
html body .cf-opt.on{background:#B95538;border-color:#B95538;color:#FFF9F0}
html body .cf-actions{display:flex;gap:10px;margin-top:20px}
html body .cf-cancel{flex:0 0 96px;height:44px;border:1px solid #E5D3C1;border-radius:13px;background:#FFF9F0;color:#8C7464;font-size:13px;font-weight:800}
html body .cf-ok{flex:1;height:44px;border:none;border-radius:13px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900;box-shadow:0 9px 20px rgba(169,79,54,.18)}
/* Theme patch 14: 我的关注紧凑 + 我的页文字兜底 */
html body .tq-follows{
  padding:10px 11px 9px !important;
}
html body .tq-follow-head{ margin-bottom:7px !important; }
html body .tq-fu{ flex:0 0 42px !important; gap:4px !important; }
html body .tq-fu-av{ width:38px !important; height:38px !important; border-width:1.5px !important; }
html body .tq-follow-nm{
  max-width:52px !important;
  font-size:9px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html body .tq-follow-list{ gap:13px !important; }
html body .tq-mine .tq-row,
html body .tq-mine .tq-row .tq-nm,
html body .tq-mine .tq-row .tq-sub,
html body .tq-mine .tq-st b,
html body .tq-mine .tq-st span,
html body .tq-mine .tq-vt,
html body .tq-mine .tq-card .t,
html body .tq-mine .tq-card .s{
  text-shadow:none !important;
}
html body .tq-mine .tq-row{ color:#3B2C31 !important; }
html body .tq-mine .tq-list .tq-row .tq-nm{ color:#3B2C31 !important; }

/* Theme patch 15: 关注名字实际类名修正 */
html body .tq-fu-nm{
  display:block;
  max-width:52px !important;
  font-size:9px !important;
  line-height:1.15 !important;
  color:#3B2C31 !important;
  -webkit-text-fill-color:#3B2C31 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  text-align:center !important;
}
html body .tq-fu{height:auto !important}
html body .tq-follow-list{align-items:flex-start !important}
/* ============================================================
   New-user preference onboarding + interest recommendation
   ============================================================ */

/* 首页兴趣标签 */
html body .fh-pref{
  display:inline-block;margin-left:5px;padding:1px 5px;border-radius:999px;
  background:#F7E5D7;color:#A94F36 !important;-webkit-text-fill-color:#A94F36 !important;
  font-size:7.5px;font-style:normal;font-weight:900;vertical-align:1px;
}
html body #fhRecSub{font-style:normal!important}

/* 我的页兴趣偏好入口 */
html body .tq-pref-entry{
  display:flex;align-items:center;gap:10px;margin:10px 14px 2px;padding:11px 12px;
  border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.72);
  box-shadow:0 6px 16px rgba(70,40,25,.045);
}
html body .tq-pref-ic{
  width:33px;height:33px;flex:0 0 33px;border-radius:11px;background:#F7E5D7;color:#A94F36;
  display:flex;align-items:center;justify-content:center;
}
html body .tq-pref-ic svg{width:18px;height:18px}
html body .tq-pref-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .tq-pref-main b{font-size:12px;font-weight:900;color:#3B2C31}
html body .tq-pref-main span{font-size:9.5px;color:#8C7464;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .tq-pref-entry button{
  height:29px;padding:0 13px;border:1px solid #E5D3C1;border-radius:999px;
  background:#FFF9F0;color:#A94F36;font-size:10px;font-weight:900;
}

/* 偏好引导全屏 */
html.pref-ob-open, html.pref-ob-open body{overflow:hidden !important}
html body .pref-ob{
  position:fixed;inset:0;z-index:130000;
  background:
    radial-gradient(80% 50% at 90% 0%, #F3D2BE 0%, rgba(246,238,228,0) 58%),
    radial-gradient(90% 60% at 0% 100%, #F8E4D2 0%, rgba(246,238,228,0) 62%),
    #F6EEE4;
  display:flex;flex-direction:column;
  padding:calc(14px + env(safe-area-inset-top)) 22px calc(16px + env(safe-area-inset-bottom));
  box-sizing:border-box;
}
html body .pref-ob-top{display:flex;align-items:center;justify-content:space-between;min-height:34px}
html body .pref-ob-count{font-size:10px;letter-spacing:.12em;color:#A58D7A;font-weight:800}
html body .pref-ob-skip{font-size:10.5px;color:#9A7F70;padding:5px 2px}
html body .pref-ob-progress{display:flex;gap:5px;margin-top:12px}
html body .pref-ob-progress i{height:2px;flex:1;border-radius:99px;background:#E3D2C3;transition:background .2s}
html body .pref-ob-progress i.on{background:#B95538}
html body .pref-ob-main{flex:1;min-height:0;overflow-y:auto;padding-top:34px;scrollbar-width:none}
html body .pref-ob-main::-webkit-scrollbar{display:none}
html body .pref-ob-kicker{font-size:9.5px;letter-spacing:.18em;color:#B95538;font-weight:900}
html body .pref-ob-title{
  margin:10px 0 0;font-family:"Noto Serif SC","Songti SC","STSong",serif;
  font-size:31px;line-height:1.28;font-weight:900;color:#2B211C;letter-spacing:.01em;
}
html body .pref-ob-sub{margin:11px 0 0;font-size:11.5px;line-height:1.7;color:#9A7F70}
html body .pref-intents{display:flex;flex-direction:column;gap:10px;margin-top:28px}
html body .pref-intent{
  display:flex;align-items:center;gap:12px;padding:14px 13px;border:1px solid #E5D3C1;
  border-radius:18px;background:rgba(255,250,244,.7);color:#3B2C31;cursor:pointer;
  transition:border-color .18s,background .18s,transform .18s;
}
html body .pref-intent.on{border-color:#B95538;background:#FFF9F0;box-shadow:0 7px 20px rgba(169,79,54,.10)}
html body .pref-intent:active{transform:scale(.99)}
html body .pi-mark{
  width:35px;height:35px;flex:0 0 35px;border-radius:50%;background:#F7E5D7;color:#A94F36;
  display:flex;align-items:center;justify-content:center;font-size:21px;font-family:serif;line-height:1;
}
html body .pref-intent.on .pi-mark{background:#B95538;color:#FFF9F0}
html body .pref-intent>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
html body .pref-intent b{font-size:14px;font-weight:900}
html body .pref-intent span{font-size:10px;line-height:1.55;color:#9A7F70}
html body .pref-intent>i{font-size:18px;color:#C9B3A5;font-style:normal}
html body .pref-intent.on>i{color:#A94F36}
html body .pref-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
html body .pref-tag{
  height:40px;padding:0 17px;display:inline-flex;align-items:center;border:1px solid #E5D3C1;
  border-radius:999px;background:rgba(255,250,244,.72);color:#745B4D;font-size:12px;font-weight:700;
}
html body .pref-tag.on{background:#B95538;border-color:#B95538;color:#FFF9F0}
html body .pref-chosen{margin-top:16px;font-size:10px;color:#A58D7A}
html body .pref-chosen b{color:#A94F36}
html body .pref-loc{
  display:flex;align-items:center;gap:11px;margin-top:28px;padding:14px 13px;
  border:1px solid #E5D3C1;border-radius:18px;background:rgba(255,250,244,.72);
}
html body .pref-loc.on{border-color:#B95538;background:#FFF9F0}
html body .pref-loc-ic{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#F7E5D7;color:#A94F36;display:flex;align-items:center;justify-content:center}
html body .pref-loc-ic svg{width:18px;height:18px}
html body .pref-loc>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
html body .pref-loc b{font-size:12px;font-weight:900;color:#3B2C31}
html body .pref-loc span{font-size:9.5px;line-height:1.45;color:#9A7F70}
html body .pref-loc button{height:30px;padding:0 12px;border:none;border-radius:999px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pref-loc.on button{background:#F7E5D7;color:#A94F36}
html body .pref-privacy{margin-top:11px;font-size:9px;line-height:1.6;color:#B29B8B;text-align:center}
html body .pref-ob-foot{
  display:flex;align-items:center;gap:12px;padding-top:16px;
  border-top:1px solid rgba(112,76,58,.10);
}
html body .pref-ob-back{
  flex:0 0 86px;height:48px;border:1px solid #E5D3C1;border-radius:15px;
  background:rgba(255,250,244,.7);color:#8C7464;font-size:12px;font-weight:800;
}
html body .pref-ob-next{
  flex:1;height:48px;border:none;border-radius:15px;background:#B95538;color:#FFF9F0;
  font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(169,79,54,.20);
}
html body .pref-ob-foot>span{flex:0 0 86px}
/* ==================== final interaction / icon polish ==================== */

/* 大图卡左下：不再用 X，直接显示“不喜欢” */
html body .fh-hbtn.skip{
  width:auto !important;
  min-width:84px !important;
  flex:0 0 auto !important;
  padding:0 16px !important;
  font-size:11.5px !important;
  font-weight:900 !important;
  letter-spacing:.02em;
  color:#FFF9F0 !important;
  background:rgba(27,18,14,.34) !important;
  border:1px solid rgba(255,249,240,.26) !important;
}
html body .fh-hbtn.skip:after{content:none !important;}

/* 我的页不再展示关注横条，只保留“关注”统计入口 */
html body .tq-follows{display:none !important;}

/* 官方消息：品牌通知图标 */
html body .sysav-brand{
  background:linear-gradient(145deg,#C97452 0%,#9E543B 58%,#7D402E 100%) !important;
  color:#FFF9F0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 5px 13px rgba(125,64,46,.22);
  border:1px solid rgba(255,249,240,.18);
  font-size:0 !important;
  overflow:hidden;
}
html body .sysav-brand svg{
  width:19px !important;height:19px !important;display:block;
  color:#FFF9F0 !important;
}
html body #sysToggleRow .sysav.sysav-brand{
  width:38px !important;height:38px !important;border-radius:12px !important;
  font-size:0 !important;
  background:linear-gradient(145deg,#C97452 0%,#9E543B 58%,#7D402E 100%) !important;
  color:#FFF9F0 !important;
}
html body #sysToggleRow .sysav.sysav-brand::before{content:none !important;}
html body #sysToggleRow .sysav.sysav-brand svg{width:18px !important;height:18px !important;}

/* 官方消息列表：每条通知用线性图标，不再用“签/会/充/通”等字体头像 */
html body .notice-ic{
  width:38px !important;height:38px !important;min-width:38px !important;
  border-radius:12px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:#F7E5D7 !important;
  color:#A94F36 !important;
  font-size:0 !important;
  position:relative;
  overflow:visible;
}
html body .notice-ic svg{width:18px !important;height:18px !important;display:block;}
html body .notice-ic.noti-t-like{background:#FBE3DE !important;color:#B95538 !important;}
html body .notice-ic.noti-t-comment,
html body .notice-ic.noti-t-reply,
html body .notice-ic.noti-t-mention{background:#F8E8D8 !important;color:#A96A3D !important;}
html body .notice-ic.noti-t-follow,
html body .notice-ic.noti-t-friend,
html body .notice-ic.noti-t-visit{background:#F3E6DA !important;color:#93624A !important;}
html body .notice-ic.noti-t-vip,
html body .notice-ic.noti-t-noble,
html body .notice-ic.noti-t-level{background:#F6E3C8 !important;color:#A97832 !important;}
html body .notice-ic.noti-t-recharge,
html body .notice-ic.noti-t-withdraw,
html body .notice-ic.noti-t-shop,
html body .notice-ic.noti-t-invite{background:#F1E7DB !important;color:#8F6844 !important;}
html body .notice-ic.noti-t-signin,
html body .notice-ic.noti-t-match,
html body .notice-ic.noti-t-group{background:#F4E4D5 !important;color:#A85E3D !important;}
html body .notice-ic.noti-t-guard{background:#EEE4D8 !important;color:#7D5B45 !important;}

/* 消息详情大图标 */
html body .notice-detail-ic{
  width:58px !important;height:58px !important;margin:2px auto 5px !important;
  border-radius:18px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:#F7E5D7 !important;color:#A94F36 !important;
  box-shadow:0 8px 20px rgba(125,64,46,.10);
}
html body .notice-detail-ic svg{width:27px !important;height:27px !important;display:block;}
/* ==================== final polish v17 ==================== */

/* 我的页背景：保证图片真实显示 */
html body .tq-hd.has-bg{position:relative !important; overflow:hidden !important;}
html body .tq-hd.has-bg .tq-hd-img{
  position:absolute;inset:0;width:100% !important;height:100% !important;
  object-fit:cover !important;object-position:center !important;
  display:block !important;z-index:0;pointer-events:none;
}
html body .tq-hd.has-bg .tq-hd-in{position:relative;z-index:1;}

/* 官方通知：已读也保持图标可读 */
html body .notice-item.read{opacity:1 !important;}
html body .notice-item.read .notice-ic{opacity:1 !important;filter:none !important;}
html body .notice-item.read .notice-txt{color:#8C7464 !important;}
html body .notice-item.read .notice-tm{color:#B9A28F !important;}
html body .notice-ic{opacity:1 !important;}

/* final v18: 背景裁切更居中 + 通知图标高对比 */
html body .tq-hd.has-bg{
  background-position:center 55% !important;
}
html body .tq-hd.has-bg .tq-hd-img{
  object-position:center 55% !important;
}
html body .notice-item,
html body .notice-item.read{opacity:1 !important;}
html body .notice-ic{
  background:#F4DCCB !important;
  color:#8F4A32 !important;
  opacity:1 !important;
}
html body .notice-ic svg,
html body .notice-ic svg *{
  color:#8F4A32 !important;
  stroke:#8F4A32 !important;
  opacity:1 !important;
}
html body .notice-detail-ic{
  background:#F4DCCB !important;
  color:#8F4A32 !important;
}
html body .notice-detail-ic svg,
html body .notice-detail-ic svg *{stroke:#8F4A32 !important;}
/* ==================== final feature polish ==================== */

/* 背景原图查看 */
html body .tq-bg-view{
  position:absolute;left:12px;top:12px;z-index:4;
  height:29px;padding:0 10px;border:1px solid rgba(255,249,240,.22);
  border-radius:999px;background:rgba(20,12,9,.44);color:#FFF9F0;
  font-size:9.5px;font-weight:800;backdrop-filter:blur(8px);
  display:flex;align-items:center;gap:4px;
}
html body .tq-bg-view span{font-size:13px;line-height:1}
html body .tq-bg-viewer{
  position:fixed;inset:0;z-index:140000;background:rgba(16,10,8,.94);
  display:flex;align-items:center;justify-content:center;padding:18px;
}
html body .tq-bg-viewer img{
  max-width:100%;max-height:88vh;width:auto;height:auto;
  object-fit:contain;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.4);
}
html body .tq-bg-viewer-top{
  position:absolute;top:calc(14px + env(safe-area-inset-top));left:18px;right:18px;
  display:flex;align-items:center;justify-content:space-between;color:#FFF9F0;
  font-size:12px;font-weight:800;
}
html body .tq-bg-viewer-top b{font-size:22px;font-weight:400;padding:2px 8px}

/* 个人主页语音卡：去掉粉紫渐变，统一陶土色 */
html body #pf2RecGo{
  background:#B95538 !important;
  color:#FFF9F0 !important;
  border-radius:999px !important;
  border:0 !important;
  box-shadow:0 8px 20px rgba(169,79,54,.24) !important;
}
html body #pf2VoiceEdit{color:#E7B08F !important;}
html body .pf2-voice .pl{background:#B95538 !important;color:#FFF9F0 !important;}

/* 语音录制面板 */
html body .vr-mask{
  position:fixed;inset:0;z-index:150000;background:rgba(20,12,10,.52);
  display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px);
}
html body .vr-sheet{
  width:100%;max-height:92vh;overflow-y:auto;background:#FBF5EC;
  border-radius:24px 24px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow:0 -18px 60px rgba(40,20,14,.25);
}
html body .vr-head{display:flex;align-items:center;justify-content:space-between}
html body .vr-head b{font-size:17px;font-weight:900;color:#3B2C31}
html body .vr-head span{width:30px;height:30px;border-radius:50%;background:#F2E3D7;color:#9B7B67;display:flex;align-items:center;justify-content:center;font-size:15px}
html body .vr-hint{font-size:10.5px;color:#A58D7A;margin-top:5px}
html body .vr-main{display:flex;flex-direction:column;align-items:center;padding:26px 0 8px}
html body .vr-orb{
  width:92px;height:92px;border-radius:50%;background:#F5DFD1;color:#A94F36;
  display:flex;align-items:center;justify-content:center;border:1px solid #E5D3C1;
  transition:all .2s ease;
}
html body .vr-orb svg{width:37px;height:37px}
html body .vr-orb.on{background:#B95538;color:#FFF9F0;box-shadow:0 0 0 10px rgba(185,85,56,.12);animation:vrPulse 1.2s infinite}
@keyframes vrPulse{0%,100%{box-shadow:0 0 0 8px rgba(185,85,56,.10)}50%{box-shadow:0 0 0 16px rgba(185,85,56,.03)}}
html body .vr-time{font-size:27px;font-weight:900;color:#3B2C31;letter-spacing:.04em;margin-top:13px}
html body .vr-state{font-size:10.5px;color:#9A7F70;margin-top:5px;text-align:center;line-height:1.6}
html body #vrAudio{width:100%;height:36px;margin-top:14px;display:none}
html body .vr-actions{display:flex;gap:10px;margin-top:12px}
html body .vr-btn{flex:1;height:46px;border:1px solid #E5D3C1;border-radius:14px;background:#FFF9F0;color:#8B6F5C;font-size:12px;font-weight:900}
html body .vr-btn.pri{background:#B95538;border-color:#B95538;color:#FFF9F0;box-shadow:0 9px 22px rgba(169,79,54,.20)}
html body .vr-btn.stop{background:#3B2C31;border-color:#3B2C31;color:#FFF9F0}
html body .vr-btn.danger{flex:0 0 86px;color:#A94F36;background:#FFF9F0}
html body .vr-note{text-align:center;font-size:9px;color:#B29B8B;line-height:1.6;margin-top:12px}

/* 娱乐页：乐聊直播四个字居中 */
html body .live-entry{justify-content:center !important;text-align:center !important;}
html body .live-entry .le-left{
  flex:1 !important;display:flex !important;flex-direction:column !important;
  align-items:center !important;text-align:center !important;
}
html body .live-entry .le-t{text-align:center !important;width:100% !important;}
html body .live-entry .le-s{text-align:center !important;}
html body .live-entry .le-btn{position:absolute !important;right:14px !important;top:50% !important;transform:translateY(-50%) !important;}

/* 吐槽墙重做 */
html body #stack .sbody > div[style*="FFF1F5"]{
  background:#FFF9F0 !important;
  border:1px solid #E5D3C1 !important;
  border-radius:16px !important;
  padding:12px 14px !important;
}
html body #stack .sbody > div[style*="FFF1F5"] div{color:#7D6657 !important;line-height:1.65 !important}
html body #stack .sbody > div[style*="FFF1F5"] b{color:#A94F36 !important}
html body #stack .sbody .panel:has(#ventInput){
  background:#FFF9F0 !important;
  border:1px solid #E5D3C1 !important;
  border-radius:17px !important;
  box-shadow:0 6px 16px rgba(70,40,25,.045) !important;
}
html body #ventInput{
  background:#FBF1E5 !important;
  border:1px solid #EAD9C9 !important;
  border-radius:12px !important;
  color:#3B2C31 !important;
  font-size:13px !important;
  height:82px !important;
}
html body #ventInput::placeholder{color:#B29B8B !important}
html body #ventEmojiRow{gap:4px !important;flex-wrap:wrap !important}
html body #ventEmojiRow .v-emo-emoji{
  width:29px !important;height:29px !important;border-radius:9px !important;
  background:#FBF1E5 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;
  font-size:16px !important;
}
html body #ventSend{
  background:#B95538 !important;
  border-radius:12px !important;
  padding:9px 20px !important;
  box-shadow:0 7px 16px rgba(169,79,54,.16) !important;
}
html body #ventSend:disabled{opacity:.6}
html body .vent-sort{
  border:1px solid #E5D3C1 !important;background:#FFF9F0 !important;color:#8C7464 !important;
  padding:5px 12px !important;border-radius:999px !important;font-size:11px !important;
}
html body .vent-sort.on{background:#B95538 !important;border-color:#B95538 !important;color:#FFF9F0 !important;}
html body #ventList .vent-card{
  background:#FFF9F0 !important;
  border:1px solid #E5D3C1 !important;
  border-radius:17px !important;
  padding:13px 14px !important;
  box-shadow:0 6px 15px rgba(70,40,25,.045) !important;
  margin-bottom:10px !important;
}
html body .vent-card .v-head{gap:7px !important}
html body .vent-card .v-head::before{
  content:'';width:27px;height:27px;flex:0 0 27px;border-radius:50%;
  background:#F2DFD2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A94F36' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 10h16v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M7 13h.01M17 13h.01M8 6c1-2 3-2 4 0 1-2 3-2 4 0'/%3E%3C/svg%3E") center/16px 16px no-repeat !important;
}
html body .vent-card .v-av{display:none !important}
html body .vent-card .v-nm{font-size:12px !important;color:#3B2C31 !important;font-weight:900 !important}
html body .vent-card .v-time{font-size:10px !important;color:#B09A8A !important}
html body .vent-card .v-mine{background:#F5E2D4 !important;color:#A94F36 !important;font-size:9px !important}
html body .vent-card .v-text{font-size:13px !important;line-height:1.7 !important;color:#3B2C31 !important;margin-top:2px !important}
html body .vent-card .v-bar{gap:10px !important;margin-top:9px !important;padding-top:8px !important;border-top:1px solid #F0E3D8 !important}
html body .vent-card .v-like{color:#A58D7A !important;font-size:11px !important}
html body .vent-card .v-like.on{color:#B95538 !important}
html body .vent-card .v-emoji{font-size:14px !important}
html body .vent-card .v-cnt{font-size:10.5px !important;color:#A58D7A !important}
html body .vent-card .v-chip{background:#F5E8DC !important;color:#8C6D58 !important;font-size:10.5px !important;padding:2px 7px !important}
html body .v-picker{background:#FFF9F0 !important;border-color:#E5D3C1 !important}

/* 乐聊直播四字居中 */
html body #main .bt.bt-live{
  position:relative !important;
  justify-content:center !important;
  text-align:center !important;
  padding-left:50px !important;
  padding-right:32px !important;
}
html body #main .bt.bt-live .bt-ic{
  position:absolute !important;left:14px !important;top:50% !important;
  transform:translateY(-50%) !important;margin:0 !important;
}
html body #main .bt.bt-live .bt-arrow{
  position:absolute !important;right:12px !important;top:50% !important;
  transform:translateY(-50%) !important;
}
html body #main .bt.bt-live .bt-live-main{
  width:100% !important;min-width:0 !important;text-align:center !important;
}
html body #main .bt.bt-live .bt-t,
html body #main .bt.bt-live .bt-d{ text-align:center !important; }

/* final tweaks: vent emoji one row, stronger notice strokes */
html body #ventEmojiRow{
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  padding-bottom:3px !important;
  scrollbar-width:none;
}
html body #ventEmojiRow::-webkit-scrollbar{display:none}
html body #ventEmojiRow .v-emo-emoji{flex:0 0 29px !important}
html body .notice-ic svg{stroke-width:2 !important}
html body .notice-detail-ic svg{stroke-width:2 !important}
/* 今日推荐手势视觉 */
html body .fh-pcard{position:relative !important;}
html body .fh-rec-heart{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  z-index:8;pointer-events:none;color:#FFF9F0;
  background:rgba(169,79,54,.16);
  animation:recHeart .7s ease both;
}
html body .fh-rec-heart svg{
  width:54px;height:54px;filter:drop-shadow(0 4px 14px rgba(100,35,20,.28));
  animation:recHeartIcon .55s cubic-bezier(.2,.9,.2,1.2) both;
}
@keyframes recHeart{0%{opacity:0}25%{opacity:1}100%{opacity:0}}
@keyframes recHeartIcon{0%{transform:scale(.5)}55%{transform:scale(1.17)}100%{transform:scale(1)}}
html body .fh-pcard.rec-skip{
  opacity:0 !important;transform:scale(.88) !important;
  transition:opacity .24s ease,transform .24s ease !important;
}
html body .fh-rec-hint{
  margin:3px 14px 0;font-size:8px;line-height:1.4;color:#B29B8B;
  text-align:right;letter-spacing:.02em;
}
/* 关键时刻通知邀请 */
html body .nm-mask{
  position:fixed;inset:0;z-index:150001;background:rgba(22,14,11,.45);
  display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px);
}
html body .nm-sheet{
  width:100%;background:#FBF5EC;border-radius:24px 24px 0 0;
  padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow:0 -16px 50px rgba(50,20,14,.22);
}
html body .nm-head{display:flex;align-items:center;gap:11px}
html body .nm-ic{
  width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:#F3DFD1;color:#A94F36;
  display:flex;align-items:center;justify-content:center;
}
html body .nm-ic svg{width:21px;height:21px}
html body .nm-head>div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
html body .nm-head b{font-size:14px;font-weight:900;color:#3B2C31}
html body .nm-head span{font-size:10px;line-height:1.5;color:#9A7F70}
html body .nm-actions{display:flex;gap:10px;margin-top:16px}
html body .nm-later{flex:0 0 92px;height:43px;border:1px solid #E5D3C1;border-radius:13px;background:#FFF9F0;color:#8C7464;font-size:12px;font-weight:800}
html body .nm-ok{flex:1;height:43px;border:none;border-radius:13px;background:#B95538;color:#FFF9F0;font-size:12.5px;font-weight:900;box-shadow:0 8px 20px rgba(169,79,54,.18)}
html.nm-open, html.nm-open body{overflow:hidden !important}
/* 今日 3 个同城新朋友 */
html body .fh-daily{margin:0 14px 11px;padding:12px;background:#FFF9F0;border:1px solid #E5D3C1;border-radius:17px;box-shadow:0 7px 18px rgba(70,40,25,.045)}
html body .fh-daily-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:9px}
html body .fh-daily-head b{font-size:12px;font-weight:900;color:#3B2C31}
html body .fh-daily-head span{font-size:8.5px;color:#B29B8B}
html body .fh-daily-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
html body .fh-daily-card{min-width:0;display:flex;flex-direction:column;align-items:center;padding:8px 5px 7px;border-radius:13px;background:#FBF1E5;cursor:pointer}
html body .fh-daily-av{width:42px;height:42px;border-radius:50%;overflow:hidden;background:#F7E5D7;color:#A94F36;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900;border:2px solid #F1DFD0}
html body .fh-daily-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .fh-daily-nm{max-width:100%;font-size:10.5px;font-weight:900;color:#3B2C31;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-daily-nm em{font-style:normal;font-size:8.5px;color:#A58D7A;margin-left:3px}
html body .fh-daily-cm{max-width:100%;font-size:8px;color:#A58D7A;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-daily-greet{height:24px;margin-top:7px;padding:0 8px;border:none;border-radius:999px;background:#B95538;color:#FFF9F0;font-size:8.5px;font-weight:900;white-space:nowrap}

/* 资料完整度 */
html body .tq-complete{margin:10px 14px 2px;padding:11px 12px;border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.78);position:relative}
html body .tq-complete-head{display:flex;align-items:center;justify-content:space-between}
html body .tq-complete-head b{font-size:11.5px;font-weight:900;color:#3B2C31}
html body .tq-complete-head span{font-size:11px;font-weight:900;color:#A94F36}
html body .tq-complete-head span.done{color:#6F8A62}
html body .tq-complete-bar{height:4px;background:#F0E2D6;border-radius:99px;overflow:hidden;margin-top:7px}
html body .tq-complete-bar i{display:block;height:100%;background:#B95538;border-radius:99px}
html body .tq-complete-sub{font-size:9.5px;color:#8C7464;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .tq-complete-btn{position:absolute;right:11px;bottom:9px;height:25px;padding:0 8px;border:1px solid #E5D3C1;border-radius:999px;background:#FFF9F0;color:#A94F36;font-size:8.5px;font-weight:900}
/* 女生先开口 */
html body .tq-female{display:flex;align-items:center;gap:10px;margin:9px 14px 2px;padding:11px 12px;border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.78)}
html body .tq-female.on{border-color:#D8A58A;background:#FFF6EF}
html body .tq-ff-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
html body .tq-ff-main b{font-size:11.5px;font-weight:900;color:#3B2C31}
html body .tq-ff-main span{font-size:9px;line-height:1.5;color:#8C7464}
html body .tq-ff-switch{width:39px;height:23px;flex:0 0 39px;border:0;border-radius:999px;background:#DCCDC1;position:relative;padding:0;transition:background .18s ease}
html body .tq-ff-switch i{position:absolute;left:2px;top:2px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(60,35,20,.15);transition:transform .18s ease}
html body .tq-female.on .tq-ff-switch{background:#B95538}
html body .tq-female.on .tq-ff-switch i{transform:translateX(16px)}

/* 我的页问答资料 */
html body .tq-prompts{margin:9px 14px 2px;padding:11px 12px;border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.78)}
html body .tq-prompts-head{display:flex;align-items:center;justify-content:space-between}
html body .tq-prompts-head b{font-size:11.5px;font-weight:900;color:#3B2C31}
html body .tq-prompts-more{font-size:9px;color:#A94F36;font-weight:800}
html body .tq-prompts-list{margin-top:7px;display:flex;flex-direction:column;gap:6px}
html body .tq-prompt-item{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border-radius:9px;background:#FBF1E5}
html body .tq-prompt-item em{font-style:normal;font-size:8.5px;color:#A58D7A}
html body .tq-prompt-item span{font-size:10px;line-height:1.45;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .tq-prompts-empty{font-size:9.5px;color:#A58D7A;margin-top:6px}

/* 问答编辑 */
html body .qa-mask{position:fixed;inset:0;z-index:150000;background:rgba(28,18,14,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px)}
html body .qa-sheet{width:100%;max-height:92vh;overflow-y:auto;background:#FBF5EC;border-radius:24px 24px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,14,.2)}
html body .qa-head{display:flex;align-items:center;justify-content:space-between}
html body .qa-head b{font-size:17px;font-weight:900;color:#3B2C31}
html body .qa-head span{width:30px;height:30px;border-radius:50%;background:#F2E3D7;color:#9B7B67;display:flex;align-items:center;justify-content:center;font-size:15px}
html body .qa-sub{font-size:10px;color:#A58D7A;margin-top:5px}
html body .qa-item{margin-top:13px}
html body .qa-q{font-size:11px;font-weight:900;color:#5E4638;margin-bottom:5px}
html body .qa-a{width:100%;height:58px;border:1px solid #E5D3C1;border-radius:11px;background:#FFF9F0;color:#3B2C31;padding:8px 10px;font-size:11px;line-height:1.55;resize:none;font-family:inherit;box-sizing:border-box}
html body .qa-save{width:100%;height:44px;margin-top:16px;border:0;border-radius:13px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(169,79,54,.18)}

/* 他人主页问答卡 */
html body .pf2-prompt-card{margin-top:12px}
html body .pf2-prompt-list{display:flex;flex-direction:column;gap:8px}
html body .pf2-prompt-row{padding:10px 11px;border:1px solid rgba(229,211,193,.16);border-radius:13px;background:rgba(255,250,244,.06)}
html body .pf2-prompt-q{font-size:9px;color:#B99A87;line-height:1.5}
html body .pf2-prompt-a{font-size:12px;line-height:1.6;color:#F6EEE4;margin-top:3px;white-space:pre-wrap}
html body .pf2-prompt-act{display:inline-flex;align-items:center;height:25px;margin-top:7px;padding:0 9px;border:1px solid rgba(229,211,193,.25);border-radius:999px;background:rgba(185,85,56,.22);color:#F0C2AC;font-size:9px;font-weight:800}
/* 真人认证卡片 */
html body .tq-real{display:flex;align-items:center;gap:10px;margin:9px 14px 2px;padding:11px 12px;border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.78)}
html body .tq-real.approved{border-color:#C9D8C0;background:#F7FBF2}
html body .tq-real.pending{border-color:#E6D2B8;background:#FFFAF0}
html body .tq-real-ic{width:33px;height:33px;flex:0 0 33px;border-radius:11px;background:#F3DFD1;color:#A94F36;display:flex;align-items:center;justify-content:center;font-size:17px}
html body .tq-real-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
html body .tq-real-main b{font-size:11.5px;font-weight:900;color:#3B2C31}
html body .tq-real-main span{font-size:9px;line-height:1.45;color:#8C7464}
html body .tq-real-btn{height:26px;padding:0 10px;border:1px solid #E5D3C1;border-radius:999px;background:#FFF9F0;color:#A94F36;font-size:9px;font-weight:900;flex:0 0 auto}
html body .tq-real.approved .tq-real-btn{background:#E6F0DF;border-color:#C9D8C0;color:#5D7D50}
html body .tq-real.pending .tq-real-btn{color:#A58D7A}
html body .pf2-hinfo .vfy-real{background:#E9F2E1!important;color:#4F6E43!important;border-color:#C9D8C0!important;margin-left:4px!important}
/* 信任等级 */
html body .tq-trust{margin:9px 14px 2px;padding:11px 12px;border:1px solid #E5D3C1;border-radius:16px;background:rgba(255,250,244,.8)}
html body .tq-trust.high{border-color:#C9D8C0;background:#F8FBF3}
html body .tq-trust.mid{border-color:#E4CBB6;background:#FFF9F1}
html body .tq-trust-head{display:flex;align-items:center;gap:7px}
html body .tq-trust-head b{font-size:11.5px;font-weight:900;color:#3B2C31}
html body .tq-trust-lv{font-size:8px;font-weight:900;color:#A94F36;background:#F5E0D3;border-radius:99px;padding:3px 7px}
html body .tq-trust.high .tq-trust-lv{color:#5D7D50;background:#E6F0DF}
html body .tq-trust-head em{margin-left:auto;font-style:normal;font-size:16px;font-weight:900;color:#A94F36;line-height:1}
html body .tq-trust.high .tq-trust-head em{color:#5D7D50}
html body .tq-trust-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
html body .tq-trust-badges span{font-size:8.5px;line-height:1;padding:4px 6px;border-radius:99px;background:#F6EAE0;color:#A58D7A}
html body .tq-trust-badges span.on{background:#EDF5E7;color:#5D7D50}
html body .tq-trust-sub{font-size:9px;color:#8C7464;line-height:1.5;margin-top:6px;padding-right:54px}
html body .tq-trust-btn{display:block;margin:7px 0 0 auto;border:0;background:transparent;color:#A94F36;font-size:9px;font-weight:900;padding:0}
html body .pf2-trustline{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:6px;font-size:9px;color:#D8C3B4}
html body .pf2-trustline .tl{font-size:8px;color:#B99A87;border:1px solid rgba(229,211,193,.25);border-radius:99px;padding:2px 6px}
html body .pf2-trustline em{font-style:normal;font-size:9px;font-weight:900;color:#F0C2AC}
html body .pf2-trustline span:not(.tl){font-size:8px;color:#D8C3B4;background:rgba(255,250,244,.08);border:1px solid rgba(229,211,193,.14);border-radius:99px;padding:2px 5px}
html body .fh-daily-trust{font-size:7.5px;color:#5D7D50;background:#EDF5E7;border-radius:99px;padding:2px 5px;margin-top:2px;max-width:100%}
/* 我的页合并：资料与信任 */
html body #tqComplete, html body #tqTrust, html body #tqReal { display:none!important; }
html body #fhMatchCard { display:none!important; }
html body .tq-mst{
  margin:9px 14px 2px;padding:12px;border:1px solid #E5D3C1;border-radius:17px;
  background:rgba(255,250,244,.84);box-shadow:0 6px 16px rgba(70,40,25,.035);
}
html body .tq-mst.good{border-color:#C9D8C0;background:#F8FBF3}
html body .tq-mst-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
html body .tq-mst-head b{font-size:13px;font-weight:900;color:#3B2C31}
html body .tq-mst-head span{font-size:10px;color:#A58D7A;font-weight:800;white-space:nowrap}
html body .tq-mst-bar{height:5px;background:#F0E2D6;border-radius:99px;overflow:hidden;margin-top:8px}
html body .tq-mst-bar i{display:block;height:100%;background:#B95538;border-radius:99px}
html body .tq-mst.good .tq-mst-bar i{background:#7E9B6E}
html body .tq-mst-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html body .tq-mst-chips span{font-size:10px;line-height:1;padding:5px 7px;border-radius:99px;background:#F6EAE0;color:#A58D7A}
html body .tq-mst-chips span.on{background:#EDF5E7;color:#5D7D50}
html body .tq-mst-tip{font-size:10px;line-height:1.5;color:#8C7464;margin-top:7px}
html body .tq-mst-actions{display:flex;align-items:center;gap:7px;margin-top:8px}
html body .tq-mst-actions button{height:30px;padding:0 11px;border-radius:999px;font-size:10px;font-weight:900}
html body .tq-mst-go{border:0;background:#B95538;color:#FFF9F0}
html body .tq-mst-real{border:1px solid #E5D3C1;background:#FFF9F0;color:#A94F36}

/* 字号与点击区域：新增模块统一不小于 10px */
html body .fh-daily-head b{font-size:13px}
html body .fh-daily-head span{font-size:10px}
html body .fh-daily-nm{font-size:11.5px}
html body .fh-daily-nm em{font-size:10px}
html body .fh-daily-cm{font-size:10px}
html body .fh-daily-greet{font-size:10px;height:30px;padding:0 9px}
html body .fh-daily-trust{font-size:9px}
html body .fh-daily-card{padding:9px 5px 8px}
html body .tq-prompts-head b{font-size:12.5px}
html body .tq-prompts-more{font-size:10px}
html body .tq-prompt-item em{font-size:10px}
html body .tq-prompt-item span{font-size:11px}
html body .tq-prompts-empty{font-size:10.5px}
html body .tq-female .tq-ff-main b{font-size:12.5px}
html body .tq-female .tq-ff-main span{font-size:10px}
html body .pf2-trustline{font-size:10px}
html body .pf2-trustline span:not(.tl){font-size:9px}
html body .fh-hero .fh-hver{font-size:11px}

/* 每日 3 人骨架 */
html body .fh-daily-skel{display:flex;gap:8px;padding-top:2px}
html body .fh-daily-skel i{flex:1;height:120px;border-radius:13px;background:linear-gradient(90deg,#F3E6D9 25%,#FBF2E8 37%,#F3E6D9 63%);background-size:400% 100%;animation:fhSkel 1.4s ease infinite}
@keyframes fhSkel{0%{background-position:100% 50%}100%{background-position:0 50%}}
html body .fh-daily-trust{display:none!important}
html body .fh-daily-card{min-height:128px;justify-content:flex-start}
html body .fh-daily-greet{margin-top:auto}
/* 同城饭局：安全见面卡 */
html body .mt-safe-mask{position:fixed;inset:0;z-index:160000;background:rgba(28,18,14,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px)}
html body .mt-safe-sheet{width:100%;max-width:460px;background:#FBF5EC;border-radius:24px 24px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,14,.2);box-sizing:border-box}
html body .mt-safe-head{display:flex;align-items:center;justify-content:space-between}
html body .mt-safe-head b{font-size:17px;font-weight:900;color:#3B2C31}
html body .mt-safe-head span{width:30px;height:30px;border-radius:50%;background:#F2E3D7;color:#9B7B67;display:flex;align-items:center;justify-content:center;font-size:15px}
html body .mt-safe-sub{font-size:10.5px;color:#A58D7A;margin-top:5px}
html body .mt-safe-card{margin-top:12px;padding:12px;border:1px solid #E5D3C1;border-radius:14px;background:#FFF9F0}
html body .mt-safe-row{display:flex;gap:12px;justify-content:space-between;padding:7px 0;border-bottom:1px dashed #EADCCD;font-size:11px;line-height:1.45}
html body .mt-safe-row:last-child{border-bottom:0}
html body .mt-safe-row span{color:#A58D7A;flex:0 0 auto}
html body .mt-safe-row b{color:#3B2C31;text-align:right;font-weight:800;word-break:break-all}
html body .mt-safe-tips{margin-top:10px;padding:10px 12px;border-radius:12px;background:#F4F8EF;color:#5D7D50;font-size:10.5px;line-height:1.8}
html body .mt-safe-main{width:100%;height:44px;margin-top:14px;border:0;border-radius:13px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900}
html body .mt-safe-ghost{width:100%;height:38px;margin-top:8px;border:1px solid #E5D3C1;border-radius:12px;background:#FFF9F0;color:#8C7464;font-size:11px;font-weight:700}
html body .mt-safe-ghost:last-child{margin-bottom:0}
html body .mt-btn.safe{background:#F4F8EF;border-color:#D5E3CA;color:#5D7D50}
/* 首页左边缘右滑：减少浏览器原生后退白闪 */
html, body{background:#F6EEE4 !important; overscroll-behavior-x:none !important; overscroll-behavior-y:contain !important;}
html body #main, html body #app{overscroll-behavior-x:none !important;}
/* 资料与信任 chips：五列等宽、垂直居中 */
html body .tq-mst-chips{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important}
html body .tq-mst-chips span{display:flex!important;align-items:center!important;justify-content:center!important;min-height:27px!important;padding:0 3px!important;white-space:nowrap!important;text-align:center!important;line-height:1!important}
/* 资料与信任 chips 纯文字：统一高度和居中 */
html body .tq-mst-chips{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important}
html body .tq-mst-chips span{display:flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:0 3px!important;white-space:nowrap!important;text-align:center!important;line-height:1!important;overflow:hidden!important;text-overflow:ellipsis!important}
/* 编辑资料 · 暖色新版 */
html body .ep2-head .st{font-weight:900}
html body .ep2-head-tip{margin-left:auto;margin-right:14px;font-size:9.5px;color:#A58D7A}
html body .ep2-body{padding:14px 14px calc(28px + env(safe-area-inset-bottom))!important;background:#F6EEE4}
html body .ep2-hero{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #E5D3C1;border-radius:18px;background:#FFF9F0}
html body .ep2-av{position:relative;width:68px;height:68px;border-radius:50%;overflow:hidden;flex:0 0 68px;background:#F3DFD1;display:flex;align-items:center;justify-content:center;font-size:25px;color:#A94F36;border:2px solid #EAD1BF}
html body .ep2-av img{width:100%;height:100%;object-fit:cover;display:block}
html body .ep2-av i{position:absolute;left:0;right:0;bottom:0;background:rgba(59,44,49,.55);color:#FFF9F0;font-style:normal;font-size:9px;line-height:19px;text-align:center}
html body .ep2-hero-tx{min-width:0;display:flex;flex-direction:column;gap:5px}
html body .ep2-hero-tx b{font-size:16px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ep2-hero-tx span{font-size:10px;line-height:1.5;color:#A58D7A}
html body .ep2-section{margin-top:11px;padding:13px;border:1px solid #E5D3C1;border-radius:17px;background:#FFF9F0}
html body .ep2-sec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:9px}
html body .ep2-sec-h b{font-size:12.5px;font-weight:900;color:#3B2C31}
html body .ep2-sec-h span{font-size:9px;color:#B29B8B}
html body .ep2-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .ep2-field{display:flex;flex-direction:column;gap:5px;min-width:0}
html body .ep2-field>span{font-size:10px;font-weight:700;color:#8C7464;display:flex;justify-content:space-between;gap:6px}
html body .ep2-field>span em{font-style:normal;font-size:9px;color:#B29B8B;font-weight:400}
html body .ep2-full{grid-column:1/-1;margin-top:8px}
html body .ep2-input{width:100%;height:38px;box-sizing:border-box;border:1px solid #E5D3C1;border-radius:10px;background:#FFFCF7;color:#3B2C31;padding:0 10px;font-size:12px;outline:none;font-family:inherit}
html body .ep2-input:focus{border-color:#C77A5D;box-shadow:0 0 0 3px rgba(185,85,56,.08)}
html body .ep2-ta{height:76px;padding:9px 10px;line-height:1.55;resize:none}
html body .ep2-row{display:flex;align-items:center;gap:8px;height:38px;border-top:1px dashed #EADCCD;font-size:11px;color:#5E4638}
html body .ep2-row:first-of-type{border-top:0}
html body .ep2-row span{font-weight:800}
html body .ep2-row em{font-style:normal;font-size:9.5px;color:#A58D7A;margin-left:auto}
html body .ep2-row b{font-size:9.5px;color:#A94F36;font-weight:800}
html body .ep2-save{width:100%;height:46px;margin-top:14px;border:0;border-radius:14px;background:#B95538;color:#FFF9F0;font-size:14px;font-weight:900;box-shadow:0 8px 20px rgba(169,79,54,.18)}
html body .ep2-foot{text-align:center;font-size:9px;color:#B29B8B;margin-top:8px}
html body .ep2-av i{pointer-events:none}
/* 编辑资料输入框压过全局粉色输入样式 */
html body #stack .ep2-input{
  background:#FFF9F0!important;
  background-image:none!important;
  border:1px solid #E5D3C1!important;
  color:#3B2C31!important;
  -webkit-text-fill-color:#3B2C31!important;
  box-shadow:none!important;
}
html body #stack .ep2-input:focus{border-color:#C77A5D!important;box-shadow:0 0 0 3px rgba(185,85,56,.08)!important;background:#FFFDF8!important}
html body #stack .ep2-input::placeholder{color:#B7A08F!important;-webkit-text-fill-color:#B7A08F!important}
html body #stack .ep2-field>span{color:#8C7464!important}
/* 我的页功能整理 */
html body .tq-funcs{margin:10px 14px 2px;display:flex;flex-direction:column;gap:9px}
html body .tq-func-sec{background:rgba(255,250,244,.82);border:1px solid #E5D3C1;border-radius:16px;padding:11px 12px 9px}
html body .tq-func-h{font-size:11px;font-weight:900;color:#7E6455;margin-bottom:8px;letter-spacing:.5px}
html body .tq-func-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
html body .tq-func-item{min-width:0;display:flex;align-items:center;gap:7px;padding:8px 7px;border:1px solid #F0E2D6;border-radius:10px;background:#FFFCF7;text-align:left;font-family:inherit}
html body .tq-func-ic{width:26px;height:26px;flex:0 0 26px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#F6EAE0;font-size:14px}
html body .tq-func-ic svg{width:16px;height:16px;display:block}
html body .tq-func-tx{min-width:0;display:flex;flex-direction:column;gap:3px}
html body .tq-func-tx b{font-size:10.5px;font-weight:900;color:#3B2C31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
html body .tq-func-tx em{font-style:normal;font-size:8.5px;color:#A58D7A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
html body .tq-func-ar{margin-left:auto;color:#C8AE99;font-size:12px;flex:0 0 auto}
html body .tq-funcs{padding-bottom:78px!important}
/* 我的页功能入口：纯文字，无小表情 */
html body .tq-func-item{padding:10px 11px!important;align-items:center!important}
html body .tq-func-ic{display:none!important}
html body .tq-func-tx b{font-size:11px!important}
html body .tq-func-tx em{font-size:9px!important}
html body .tq-func-grid{gap:8px!important}
/* 观看记录 / 收藏 / 喜欢：提高对比度和清晰度 */
html body .tq-vlinks{gap:8px!important}
html body .tq-vlink{min-height:76px!important;border:1px solid #E5D3C1!important;background:#FFF9F0!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;box-shadow:0 5px 12px rgba(70,40,25,.04)!important;padding:8px 4px!important}
html body .tq-vlink .tq-vic{width:28px!important;height:28px!important;border-radius:9px!important;background:#F6E0D1!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#A94F36!important}
html body .tq-vlink .tq-vic svg{width:19px!important;height:19px!important;stroke:#A94F36!important;fill:none!important;stroke-width:1.8!important}
html body .tq-vlink .tq-vt{font-size:11.5px!important;font-weight:900!important;color:#3B2C31!important}
html body .tq-link .tq-vs,html body .tq-vs{font-size:9px!important;color:#A58D7A!important;line-height:1!important}
html body .tq-vlink-clear:active{transform:scale(.98)}
/* 编辑资料：照片墙、日期/城市整行、隐私提示 */
html body #stack .ep2-field,html body #stack .ep2-field .ep2-input{min-width:0!important;max-width:100%!important}
html body #stack .ep2-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
html body #stack .ep2-photo{aspect-ratio:1;border-radius:10px;overflow:hidden;background:#F3E4D7}
html body #stack .ep2-photo img{width:100%;height:100%;object-fit:cover;display:block}
html body #stack .ep2-photo-add{aspect-ratio:1;border:1.5px dashed #D8B9A3;border-radius:10px;background:#FFF9F0;color:#A94F36;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:20px;font-weight:300}
html body #stack .ep2-photo-add span{font-size:9px;font-weight:700;color:#8C7464}
html body #stack .ep2-head-tip{color:#A94F36!important;text-decoration:underline;text-underline-offset:2px}
/* 我的页：资料与信任按钮居中、等级居中、领红包按钮 */
html body .tq-mst-actions{justify-content:center!important}
html body .tq-lvs{justify-content:center!important}
html body .tq-stats .tq-st[data-act="redpack"]{background:#B95538!important;border-radius:12px!important;color:#FFF9F0!important;padding:7px 5px!important;margin:2px 2px 0!important;flex:1.08!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-shadow:0 5px 12px rgba(169,79,54,.16)!important}
html body .tq-stats .tq-st[data-act="redpack"] span{color:#FFF9F0!important;font-size:10px!important;font-weight:900!important}
html body .tq-stats .tq-st[data-act="redpack"] b{display:none!important}
/* 领红包按钮：白字、清晰 */
html body .tq-stats .tq-st[data-act="redpack"] span{color:#FFF9F0!important;-webkit-text-fill-color:#FFF9F0!important;font-size:10.5px!important;font-weight:900!important;letter-spacing:.5px!important}
html body .tq-stats .tq-st[data-act="redpack"]{background:#B95538!important;border:1px solid #A94F36!important}
html body .tq-stats .tq-st[data-act="redpack"]:after{content:"";display:block;width:16px;height:2px;border-radius:2px;background:rgba(255,249,240,.55);margin-top:4px}
/* 我的页：昵称与等级整体居中 */
html body .tq-hd .tq-nick{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
html body .tq-hd .tq-n1{text-align:center!important}
html body .tq-hd .tq-lvs{justify-content:center!important;text-align:center!important}
/* 领红包说明 */
html body .rp-mask{position:fixed;inset:0;z-index:160000;background:rgba(28,18,14,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px)}
html body .rp-sheet{width:100%;max-width:460px;background:#FBF5EC;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(50,20,14,.2);box-sizing:border-box}
html body .rp-head{display:flex;align-items:center;justify-content:space-between}
html body .rp-head b{font-size:18px;font-weight:900;color:#3B2C31}
html body .rp-head span{width:30px;height:30px;border-radius:50%;background:#F2E3D7;color:#9B7B67;display:flex;align-items:center;justify-content:center;font-size:15px}
html body .rp-sub{font-size:11px;line-height:1.7;color:#8C7464;margin-top:6px}
html body .rp-steps{margin-top:14px;padding:12px;border:1px solid #E5D3C1;border-radius:14px;background:#FFF9F0;display:flex;flex-direction:column;gap:10px}
html body .rp-steps div{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#5E4638;line-height:1.55}
html body .rp-steps i{width:20px;height:20px;flex:0 0 20px;border-radius:50%;background:#F3DFD1;color:#A94F36;font-style:normal;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center}
html body .rp-main{width:100%;height:46px;margin-top:15px;border:0;border-radius:14px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(169,79,54,.18)}
html body .rp-ghost{width:100%;height:40px;margin-top:8px;border:1px solid #E5D3C1;border-radius:12px;background:#FFF9F0;color:#8C7464;font-size:11px;font-weight:700}
/* 等级胶囊与资料按钮：文字在框内居中 */
html body .tq-lvs .lv{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;padding:5px 10px!important;min-height:24px!important;box-sizing:border-box!important}
html body .tq-mst-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;box-sizing:border-box!important}
/* 财富级/活力级：恢复可见胶囊并把文字居中 */
html body .tq-hd:not(.has-bg) .tq-lvs .lv{background:#FBF1E5!important;border:1px solid #EAD8C8!important;border-radius:999px!important;padding:5px 10px!important;min-width:88px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important}
html body .tq-hd.has-bg .tq-lvs .lv{min-width:88px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important}
html body .tq-mst-actions button{min-width:92px!important}
/* 我的页头部归位：名称/等级回到头像右侧，按钮左对齐，框体紧凑 */
html body .tq-hd .tq-nick{display:block!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important;min-width:0!important;flex:1!important}
html body .tq-hd .tq-n1{text-align:left!important}
html body .tq-hd .tq-lvs{justify-content:flex-start!important;text-align:left!important;gap:5px!important;margin-top:6px!important}
html body .tq-hd .tq-lvs .lv{min-width:0!important;padding:4px 8px!important;min-height:21px!important;font-size:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important}
html body .tq-mst-actions{justify-content:flex-start!important;gap:8px!important}
html body .tq-mst-actions button{min-width:0!important;height:28px!important;padding:0 10px!important;font-size:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;box-sizing:border-box!important}
/* 注销账号 */
html body .del-acc-mask{position:fixed;inset:0;z-index:170000;background:rgba(28,18,14,.5);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(4px)}
html body .del-acc-sheet{width:100%;max-width:460px;background:#FBF5EC;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box}
html body .del-acc-head{display:flex;align-items:center;justify-content:space-between}
html body .del-acc-head b{font-size:18px;font-weight:900;color:#3B2C31}
html body .del-acc-head span{width:30px;height:30px;border-radius:50%;background:#F2E3D7;color:#9B7B67;display:flex;align-items:center;justify-content:center;font-size:15px}
html body .del-acc-tip{font-size:11px;line-height:1.8;color:#8C7464;margin-top:10px}
html body .del-acc-main{width:100%;height:46px;margin-top:18px;border:0;border-radius:14px;background:#B95538;color:#FFF9F0;font-size:13px;font-weight:900}
html body .del-acc-ghost{width:100%;height:40px;margin-top:8px;border:1px solid #E5D3C1;border-radius:12px;background:#FFF9F0;color:#8C7464;font-size:11px;font-weight:700}
/* ==================== 乐聊小屋 ==================== */
html body .pet-room-body{padding:0 0 30px!important;background:#F6EEE4}
html body .pet-shead{background:#FBF5EC!important;border-bottom:1px solid #EAD8C8!important}
html body .pet-streak-tag{font-size:10px;color:#A94F36;font-weight:800;margin-right:14px}
html body .pet-scene{position:relative;height:300px;overflow:hidden;background:linear-gradient(180deg,#F8E8D8 0%,#F3D9C2 55%,#E9C6A8 100%)}
html body .pet-scene:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.55),transparent 40%)}
html body .pet-window{position:absolute;left:22px;top:28px;width:100px;height:78px;border:8px solid #B9835F;border-radius:50px 50px 4px 4px;background:linear-gradient(180deg,#CFE3E6,#F5E6C9);box-shadow:inset 0 0 22px rgba(120,150,160,.2)}
html body .pet-window:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:5px;background:#B9835F;transform:translateX(-50%)}
html body .pet-window i{position:absolute;left:50%;top:0;bottom:0;width:5px;background:#B9835F;transform:translateX(-50%)}
html body .pet-window span{position:absolute;left:14px;top:14px;width:28px;height:28px;border-radius:50%;background:rgba(255,247,220,.85)}
html body .pet-plant{position:absolute;right:26px;top:45px;width:60px;height:90px}
html body .pet-plant b{position:absolute;bottom:26px;left:50%;width:22px;height:52px;border-radius:90% 10% 90% 10%;background:#A8B58A;transform-origin:bottom center}
html body .pet-plant b:nth-child(1){transform:translateX(-50%) rotate(-30deg)}
html body .pet-plant b:nth-child(2){transform:translateX(-50%) rotate(4deg)}
html body .pet-plant b:nth-child(3){transform:translateX(-50%) rotate(34deg)}
html body .pet-plant:after{content:"";position:absolute;left:50%;bottom:0;width:42px;height:30px;border-radius:6px 6px 12px 12px;background:#C9845F;transform:translateX(-50%)}
html body .pet-rug{position:absolute;left:50%;bottom:42px;width:250px;height:62px;border-radius:50%;background:radial-gradient(ellipse,#F0C9B4,#E4B092 70%,transparent 72%);transform:translateX(-50%);opacity:.85}
html body .pet-bowl{position:absolute;left:44px;bottom:50px;width:52px;height:22px;border-radius:4px 4px 18px 18px;background:#B95538;box-shadow:inset 0 -4px 0 rgba(0,0,0,.08)}
html body .pet-bowl span{position:absolute;left:8px;right:8px;top:4px;height:7px;border-radius:50%;background:#E9B57E}
html body .pet-ball{position:absolute;right:56px;bottom:56px;width:22px;height:22px;border-radius:50%;background:#E7A45C;box-shadow:inset -5px -5px 0 rgba(160,80,30,.12)}
html body .pet-cat{position:absolute;left:50%;bottom:48px;width:150px;height:190px;transform:translateX(-50%) scale(var(--pet-scale,1));transform-origin:bottom center;z-index:2;animation:petBreath 3.4s ease-in-out infinite}
html body .pet-cat.doing{animation:petHop .5s ease}
html body .pet-body{position:absolute;left:28px;bottom:0;width:96px;height:104px;border-radius:48% 48% 40% 40%;background:linear-gradient(180deg,#E9C7A9,#DDB18D)}
html body .pet-head{position:absolute;left:18px;bottom:78px;width:114px;height:100px;border-radius:48% 48% 46% 46%;background:#F3DCC7;z-index:3}
html body .pet-ear{position:absolute;top:-17px;width:0;height:0;border-left:19px solid transparent;border-right:19px solid transparent;border-bottom:34px solid #E8C7A9}
html body .pet-ear.l{left:9px;transform:rotate(-12deg)}
html body .pet-ear.r{right:9px;transform:rotate(12deg)}
html body .pet-ear:after{content:"";position:absolute;left:-10px;top:13px;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:17px solid #D89D87}
html body .pet-eye{position:absolute;top:38px;width:12px;height:14px;border-radius:50%;background:#4A3028}
html body .pet-eye.l{left:31px}html body .pet-eye.r{right:31px}
html body .pet-eye:after{content:"";position:absolute;left:3px;top:3px;width:4px;height:4px;border-radius:50%;background:#FFF9F0}
html body .pet-nose{position:absolute;left:50%;top:58px;width:10px;height:7px;border-radius:50% 50% 60% 60%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-whisk{position:absolute;top:62px;width:27px;height:1px;background:#B98A72;opacity:.7}
html body .pet-whisk.wl{left:-6px;transform:rotate(6deg)}html body .pet-whisk.wr{right:-6px;transform:rotate(-6deg)}
html body .pet-tail{position:absolute;right:2px;bottom:26px;width:64px;height:70px;border:13px solid #DDB18D;border-left:0;border-top:0;border-radius:0 0 50px 0;transform:rotate(-18deg);transform-origin:bottom left}
html body .pet-paw{position:absolute;bottom:2px;width:28px;height:16px;border-radius:50%;background:#F3DCC7}
html body .pet-paw.l{left:30px}html body .pet-paw.r{right:30px}
html body .pet-title{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 0;background:#F6EEE4}
html body .pet-title>div{display:flex;align-items:center;gap:8px}
html body .pet-title b{font-family:Georgia,"Songti SC",serif;font-size:22px;color:#3B2C31}
html body .pet-stage{font-size:9px;font-weight:800;color:#A94F36;background:#F3DFD1;border-radius:99px;padding:3px 8px}
html body .pet-lv{font-size:10px;color:#A58D7A;font-weight:800}
html body .pet-sub{font-size:10px;color:#A58D7A;padding:4px 18px 0;background:#F6EEE4}
html body .pet-bars{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 18px 0;background:#F6EEE4}
html body .pet-bar{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px 9px}
html body .pet-bar-h{display:flex;justify-content:space-between;font-size:9px;color:#8C7464;font-weight:800;margin-bottom:5px}
html body .pet-bar-h b{color:#5E4638}
html body .pet-bar-t{height:6px;border-radius:99px;background:#F0E1D2;overflow:hidden}
html body .pet-bar-t i{display:block;height:100%;border-radius:99px}
html body .pet-bar-t i.hunger{background:#D98B5F}html body .pet-bar-t i.mood{background:#D9788E}html body .pet-bar-t i.clean{background:#8FAF9A}html body .pet-bar-t i.energy{background:#D9B45F}
html body .pet-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:14px 14px 0;background:#F6EEE4}
html body .pet-action{border:1px solid #EAD8C8;background:#FFF9F0;border-radius:12px;padding:9px 2px;display:flex;flex-direction:column;align-items:center;gap:3px;font-family:inherit}
html body .pet-action b{font-size:10px;color:#5E4638;font-weight:900}
html body .pet-action span{font-size:8px;color:#B29B8B}
html body .pet-action:active{transform:scale(.97)}
html body .pet-action.full{opacity:.55;background:#F6EDE4}
html body .pet-card{margin:12px 14px 0;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:12px}
html body .pet-card-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
html body .pet-card-h b{font-size:12px;color:#3B2C31}
html body .pet-card-h span{font-size:9px;color:#A94F36;font-weight:800}
html body .pet-tasks{display:grid;grid-template-columns:1fr 1fr;gap:6px}
html body .pet-task{display:flex;align-items:center;gap:5px;font-size:9px;color:#8C7464}
html body .pet-task i{width:15px;height:15px;border-radius:50%;border:1px solid #E0C9B8;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;color:#FFF9F0;flex:0 0 15px}
html body .pet-task.done i{background:#8FAF9A;border-color:#8FAF9A}
html body .pet-task span{flex:1}html body .pet-task em{font-style:normal;color:#B29B8B;font-size:8px}
html body .pet-reward{margin-top:8px;font-size:9px;color:#5D7D50;background:#EDF5E7;border-radius:8px;padding:6px 8px}
html body .pet-tip{text-align:center;font-size:9px;color:#B29B8B;padding:14px 24px 0;line-height:1.7}
html body .pet-adopt{padding:0 18px 30px!important;background:#F6EEE4}
html body .pet-adopt .pet-scene{height:260px;border-radius:0 0 20px 20px;margin:0 -18px}
html body .pet-adopt .pet-scene .pet-cat{bottom:26px}
html body .pet-adopt-t{font-family:Georgia,"Songti SC",serif;font-size:19px;text-align:center;margin-top:16px;color:#3B2C31}
html body .pet-adopt-s{font-size:10px;text-align:center;color:#A58D7A;line-height:1.7;margin-top:6px}
html body .pet-name-field{display:block;margin-top:18px}
html body .pet-name-field span{font-size:10px;color:#8C7464;font-weight:800}
html body .pet-name-field input{width:100%;height:46px;margin-top:6px;border:1px solid #E5D3C1;border-radius:12px;background:#FFF9F0;padding:0 13px;font-size:14px;color:#3B2C31;outline:none;box-sizing:border-box}
html body .pet-adopt-btn{width:100%;height:48px;margin-top:14px;border:0;border-radius:14px;background:#B95538;color:#FFF9F0;font-size:14px;font-weight:900}
html body .pet-adopt-note{text-align:center;font-size:9px;color:#B29B8B;margin-top:10px;line-height:1.6}
@keyframes petBreath{0%,100%{transform:translateX(-50%) scale(var(--pet-scale,1))}50%{transform:translateX(-50%) scale(calc(var(--pet-scale,1) * 1.018))}}
@keyframes petHop{0%,100%{transform:translateX(-50%) scale(var(--pet-scale,1))}35%{transform:translateX(-50%) translateY(-12px) scale(var(--pet-scale,1))}}
/* 宠物等级 / 成年 / 社交 */
html body .pet-lv{font-size:10px;color:#A58D7A;font-weight:800}
html body .pet-adult-lock{margin:12px 14px 0;background:#FFF9F0;border:1px dashed #DFC5B1;border-radius:14px;padding:12px}
html body .pet-adult-lock b{display:block;font-size:12px;color:#8A5C43}
html body .pet-adult-lock span{display:block;font-size:9px;color:#A58D7A;margin-top:4px;line-height:1.6}
html body .pet-adult-bar{height:6px;border-radius:99px;background:#F0E1D2;overflow:hidden;margin-top:9px}
html body .pet-adult-bar i{display:block;height:100%;border-radius:99px;background:#B95538}
html body .pet-social{margin:12px 14px 0}
html body .pet-social-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
html body .pet-social-h b{font-size:12px;color:#3B2C31}
html body .pet-social-h span{font-size:9px;color:#A58D7A}
html body .pet-social-single{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:12px}
html body .pet-social-single b{display:block;font-size:12px;color:#5E4638}
html body .pet-social-single span{display:block;font-size:9px;color:#A58D7A;margin-top:4px;line-height:1.6}
html body .pet-relation-btns{display:flex;gap:8px;margin-top:8px}
html body .pet-relation-btns button{flex:1;height:36px;border:0;border-radius:11px;background:#B95538;color:#FFF9F0;font-size:11px;font-weight:900}
html body .pet-relation-btns button:nth-child(2){background:#FFF9F0;color:#A94F36;border:1px solid #E5D3C1}
html body .pet-partner{display:flex;align-items:center;gap:9px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:10px}
html body .pet-partner img{width:42px;height:42px;border-radius:12px;object-fit:cover;background:#F3E4D7}
html body .pet-partner b{display:block;font-size:11px;color:#3B2C31}
html body .pet-partner span{display:block;font-size:9px;color:#A58D7A;margin-top:3px;line-height:1.5}
html body .pet-proposals{display:flex;flex-direction:column;gap:7px;margin-bottom:8px}
html body .pet-proposal{display:flex;align-items:center;gap:8px;background:#FBF1E5;border:1px solid #EAD8C8;border-radius:12px;padding:8px}
html body .pet-proposal img{width:34px;height:34px;border-radius:10px;object-fit:cover}
html body .pet-proposal>div:nth-child(2){flex:1}
html body .pet-proposal b{display:block;font-size:10px;color:#3B2C31}
html body .pet-proposal span{display:block;font-size:8px;color:#A58D7A;margin-top:2px}
html body .pet-prop-btns{display:flex;gap:4px}
html body .pet-prop-btns button{height:26px;border:0;border-radius:8px;background:#B95538;color:#FFF9F0;font-size:9px;font-weight:800;padding:0 8px}
html body .pet-prop-btns button:nth-child(2){background:#FFF9F0;color:#8C7464;border:1px solid #E5D3C1}
html body .pet-max{margin-top:9px;background:linear-gradient(135deg,#3B2C31,#6B4A3A);border-radius:14px;padding:11px 12px;color:#FFF9F0}
html body .pet-max b{display:block;font-size:11px}
html body .pet-max span{display:block;font-size:9px;color:#E8C9B5;margin-top:3px}
html body .pet-max button{margin-top:8px;height:30px;border:0;border-radius:9px;background:#E6B87A;color:#3B2C31;font-size:10px;font-weight:900;padding:0 12px}
html body .pet-candidates{padding:14px!important;background:#F6EEE4}
html body .pet-candidate-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-bottom:10px}
html body .pet-candidate{display:flex;align-items:center;gap:9px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:9px;margin-bottom:7px}
html body .pet-candidate img{width:44px;height:44px;border-radius:12px;object-fit:cover;background:#F3E4D7}
html body .pet-candidate>div{flex:1}
html body .pet-candidate b{display:block;font-size:11px;color:#3B2C31}
html body .pet-candidate span{display:block;font-size:9px;color:#A58D7A;margin-top:3px}
html body .pet-candidate button,.pet-candidate-empty button{height:30px;border:0;border-radius:9px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900;padding:0 10px}
html body .pet-candidate-empty{text-align:center;padding:36px 10px;font-size:11px;color:#8C7464;line-height:1.8}
html body .pet-candidate-empty span{font-size:9px;color:#B29B8B}
html body .pet-gift-body{padding:14px!important;background:#F6EEE4}
html body .pet-gift{display:flex;justify-content:space-between;align-items:center;width:100%;height:54px;margin-bottom:8px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:0 14px;font-family:inherit}
html body .pet-gift b{font-size:13px;color:#5E4638}
html body .pet-gift span{font-size:9px;color:#A58D7A}
/* 3D 宠物画布 */
html body .pet-scene{position:relative}
html body .pet-3d-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:3;touch-action:pan-y;background:transparent}
html body .pet-cat-fallback{z-index:2}
html body .pet-3d-on .pet-cat-fallback{display:none!important}
html body .pet-3d-on .pet-scene{cursor:grab}
html body .pet-3d-on .pet-scene:active{cursor:grabbing}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 领养预览：乐灵光球，不显示猫 */
html body .pet-adopt-egg{position:relative}
html body .pet-adopt-egg .pet-cat-fallback{display:none!important}
html body .pet-adopt-orb{position:absolute;left:50%;bottom:66px;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#FFF9F0 0%,#F2D8C2 45%,#E4B696 100%);transform:translateX(-50%);z-index:2;box-shadow:0 14px 26px rgba(120,70,40,.16),inset -12px -14px 0 rgba(160,80,30,.06);animation:petOrbFloat 3s ease-in-out infinite}
html body .pet-adopt-orb:before,html body .pet-adopt-orb:after{content:"";position:absolute;top:42px;width:7px;height:10px;border-radius:50%;background:#4A3028}
html body .pet-adopt-orb:before{left:30px}html body .pet-adopt-orb:after{right:30px}
html body .pet-adopt-orb i{position:absolute;left:50%;top:62px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
@keyframes petOrbFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-8px)}}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 领养预览：乐灵光球，不显示猫 */
html body .pet-adopt-egg{position:relative}
html body .pet-adopt-egg .pet-cat-fallback{display:none!important}
html body .pet-adopt-orb{position:absolute;left:50%;bottom:66px;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#FFF9F0 0%,#F2D8C2 45%,#E4B696 100%);transform:translateX(-50%);z-index:2;box-shadow:0 14px 26px rgba(120,70,40,.16),inset -12px -14px 0 rgba(160,80,30,.06);animation:petOrbFloat 3s ease-in-out infinite}
html body .pet-adopt-orb:before,html body .pet-adopt-orb:after{content:"";position:absolute;top:42px;width:7px;height:10px;border-radius:50%;background:#4A3028}
html body .pet-adopt-orb:before{left:30px}html body .pet-adopt-orb:after{right:30px}
html body .pet-adopt-orb i{position:absolute;left:50%;top:62px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
@keyframes petOrbFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-8px)}}
/* 等级进度条 */
html body .pet-levelbar{margin:8px 18px 0;height:6px;border-radius:99px;background:#EFE0D2;overflow:hidden}
html body .pet-levelbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538)}
html body .pet-levelbar-t{font-size:8px;color:#B29B8B;padding:4px 18px 0}
/* 乐灵悬浮入口与每日弹窗 */
html body .pet-fab{position:fixed;right:13px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:8500;width:58px;height:68px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:transparent;border:0;font-family:inherit;filter:drop-shadow(0 7px 12px rgba(70,35,20,.14))}
html body .pet-fab-orb{width:48px;height:48px;border-radius:50%;position:relative;background:radial-gradient(circle at 35% 28%,#FFF9F0,#F2D8C2 58%,#C98B68);box-shadow:inset -7px -8px 0 rgba(120,50,20,.08);animation:petFabBob 3.2s ease-in-out infinite}
html body .pet-fab-orb:before,html body .pet-fab-orb:after{content:"";position:absolute;top:17px;width:5px;height:7px;border-radius:50%;background:#4A3028}
html body .pet-fab-orb:before{left:14px}html body .pet-fab-orb:after{right:14px}
html body .pet-fab-orb i{position:absolute;left:50%;top:28px;width:8px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-fab b{font-size:9px;color:#5E4638;font-weight:900;margin-top:2px;background:rgba(255,249,240,.92);border-radius:99px;padding:2px 7px;white-space:nowrap;max-width:64px;overflow:hidden;text-overflow:ellipsis}
html body .pet-fab span{font-size:7px;color:#A58D7A;margin-top:1px;background:rgba(255,249,240,.85);border-radius:99px;padding:1px 5px}
html body .pet-fab.done .pet-fab-orb{filter:saturate(.7)}
html body .pet-nudge-mask{position:fixed;inset:0;z-index:165000;background:rgba(28,18,14,.42);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}
html body .pet-nudge{width:100%;max-width:460px;background:#FBF5EC;border-radius:24px 24px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));box-sizing:border-box;text-align:center}
html body .pet-nudge-orb{width:82px;height:82px;border-radius:50%;margin:0 auto 10px;position:relative;box-shadow:inset -8px -10px 0 rgba(120,50,20,.07);animation:petFabBob 3.2s ease-in-out infinite}
html body .pet-nudge-orb:before,html body .pet-nudge-orb:after{content:"";position:absolute;top:28px;width:8px;height:11px;border-radius:50%;background:#4A3028}
html body .pet-nudge-orb:before{left:22px}html body .pet-nudge-orb:after{right:22px}
html body .pet-nudge-orb i{position:absolute;left:50%;top:47px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-nudge-copy b{display:block;font-family:Georgia,"Songti SC",serif;font-size:19px;color:#3B2C31}
html body .pet-nudge-copy span{display:block;font-size:10px;color:#A58D7A;line-height:1.7;margin-top:5px}
html body .pet-nudge-main{width:100%;height:44px;margin-top:15px;border:0;border-radius:13px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-nudge-later{width:100%;height:36px;margin-top:7px;border:0;background:transparent;color:#A58D7A;font-size:10px}
@keyframes petFabBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
/* 首页今日任务 / 每日一问 */
html body .fh-missions{margin:10px 14px 0}
html body .fh-m-card{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:16px;padding:12px}
html body .fh-m-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
html body .fh-m-head b{display:block;font-size:13px;color:#3B2C31;font-weight:900}
html body .fh-m-head span{display:block;font-size:8px;color:#A58D7A;margin-top:3px}
html body .fh-m-head em{font-style:normal;font-size:8px;color:#A94F36;font-weight:900;background:#F3DFD1;border-radius:99px;padding:3px 7px;white-space:nowrap}
html body .fh-m-bar{height:5px;border-radius:99px;background:#F0E1D2;overflow:hidden;margin:8px 0}
html body .fh-m-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538);transition:width .3s}
html body .fh-m-list{display:flex;flex-direction:column;gap:2px}
html body .fh-m-item{display:flex;align-items:center;gap:7px;width:100%;background:transparent;border:0;border-bottom:1px solid #F4E8DC;padding:6px 0;text-align:left;font-family:inherit}
html body .fh-m-item:last-child{border-bottom:0}
html body .fh-m-item>i{width:16px;height:16px;border:1px solid #DCC5B4;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;color:#FFF9F0;flex:0 0 16px}
html body .fh-m-item.done>i{background:#8FAF9A;border-color:#8FAF9A}
html body .fh-m-item>span{flex:1;min-width:0}
html body .fh-m-item b{display:block;font-size:10px;color:#5E4638;font-weight:900}
html body .fh-m-item small{display:block;font-size:8px;color:#A58D7A;margin-top:2px}
html body .fh-m-item>em{font-style:normal;font-size:8px;color:#B95538;font-weight:900}
html body .fh-m-item.done>em{color:#8FAF9A}
html body .fh-m-claim{width:100%;height:34px;margin-top:8px;border:0;border-radius:10px;background:#B95538;color:#FFF9F0;font-size:9px;font-weight:900}
html body .fh-m-claim:disabled{opacity:.5}
html body .dq-body{padding:16px!important;background:#F6EEE4}
html body .dq-q{font-family:Georgia,"Songti SC",serif;font-size:18px;line-height:1.6;color:#3B2C31;padding:8px 0 14px}
html body .dq-body textarea{width:100%;height:100px;border:1px solid #E5D3C1;border-radius:12px;padding:10px;font-size:12px;line-height:1.7;resize:none;box-sizing:border-box;outline:none;background:#FFF9F0;color:#3B2C31}
html body .dq-send{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .dq-tip{font-size:9px;color:#A58D7A;margin-top:8px;line-height:1.7}
html body .dq-mine{font-size:12px;color:#5E4638;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:10px;line-height:1.7}
html body .dq-count{font-size:9px;color:#A58D7A;margin:10px 0}
html body .dq-list{display:flex;flex-direction:column;gap:7px}
html body .dq-item{display:flex;gap:8px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:9px}
html body .dq-item img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#F3E4D7}
html body .dq-item b{display:block;font-size:9px;color:#8A5C43}
html body .dq-item span{display:block;font-size:10px;color:#5E4638;line-height:1.6;margin-top:2px}
html body[data-tab="friend"] #petFab,
html body[data-tab="home"] #petFab{display:none!important}
/* 首页今日任务 / 每日一问 */
html body .fh-missions{margin:10px 14px 0}
html body .fh-m-card{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:16px;padding:12px}
html body .fh-m-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
html body .fh-m-head b{display:block;font-size:13px;color:#3B2C31;font-weight:900}
html body .fh-m-head span{display:block;font-size:8px;color:#A58D7A;margin-top:3px}
html body .fh-m-head em{font-style:normal;font-size:8px;color:#A94F36;font-weight:900;background:#F3DFD1;border-radius:99px;padding:3px 7px;white-space:nowrap}
html body .fh-m-bar{height:5px;border-radius:99px;background:#F0E1D2;overflow:hidden;margin:8px 0}
html body .fh-m-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538);transition:width .3s}
html body .fh-m-list{display:flex;flex-direction:column;gap:2px}
html body .fh-m-item{display:flex;align-items:center;gap:7px;width:100%;background:transparent;border:0;border-bottom:1px solid #F4E8DC;padding:6px 0;text-align:left;font-family:inherit}
html body .fh-m-item:last-child{border-bottom:0}
html body .fh-m-item>i{width:16px;height:16px;border:1px solid #DCC5B4;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;color:#FFF9F0;flex:0 0 16px}
html body .fh-m-item.done>i{background:#8FAF9A;border-color:#8FAF9A}
html body .fh-m-item>span{flex:1;min-width:0}
html body .fh-m-item b{display:block;font-size:10px;color:#5E4638;font-weight:900}
html body .fh-m-item small{display:block;font-size:8px;color:#A58D7A;margin-top:2px}
html body .fh-m-item>em{font-style:normal;font-size:8px;color:#B95538;font-weight:900}
html body .fh-m-item.done>em{color:#8FAF9A}
html body .fh-m-claim{width:100%;height:34px;margin-top:8px;border:0;border-radius:10px;background:#B95538;color:#FFF9F0;font-size:9px;font-weight:900}
html body .fh-m-claim:disabled{opacity:.5}
html body .dq-body{padding:16px!important;background:#F6EEE4}
html body .dq-q{font-family:Georgia,"Songti SC",serif;font-size:18px;line-height:1.6;color:#3B2C31;padding:8px 0 14px}
html body .dq-body textarea{width:100%;height:100px;border:1px solid #E5D3C1;border-radius:12px;padding:10px;font-size:12px;line-height:1.7;resize:none;box-sizing:border-box;outline:none;background:#FFF9F0;color:#3B2C31}
html body .dq-send{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .dq-tip{font-size:9px;color:#A58D7A;margin-top:8px;line-height:1.7}
html body .dq-mine{font-size:12px;color:#5E4638;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:10px;line-height:1.7}
html body .dq-count{font-size:9px;color:#A58D7A;margin:10px 0}
html body .dq-list{display:flex;flex-direction:column;gap:7px}
html body .dq-item{display:flex;gap:8px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:9px}
html body .dq-item img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#F3E4D7}
html body .dq-item b{display:block;font-size:9px;color:#8A5C43}
html body .dq-item span{display:block;font-size:10px;color:#5E4638;line-height:1.6;margin-top:2px}
/* 今日任务紧凑两列 */
html body .fh-m-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
html body .fh-m-item{border-bottom:0!important;background:#FBF5EC!important;border-radius:9px!important;padding:5px 6px!important;align-items:flex-start!important}
html body .fh-m-item>i{margin-top:2px}
html body .fh-m-item b{font-size:9px!important}
html body .fh-m-item small{font-size:7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-m-item>em{font-size:7px!important}
html body .fh-m-claim{height:30px!important;font-size:8px!important;margin-top:6px!important}
html body .fh-m-card{padding:10px!important}
/* 首页今日任务 / 每日一问 */
html body .fh-missions{margin:10px 14px 0}
html body .fh-m-card{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:16px;padding:12px}
html body .fh-m-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
html body .fh-m-head b{display:block;font-size:13px;color:#3B2C31;font-weight:900}
html body .fh-m-head span{display:block;font-size:8px;color:#A58D7A;margin-top:3px}
html body .fh-m-head em{font-style:normal;font-size:8px;color:#A94F36;font-weight:900;background:#F3DFD1;border-radius:99px;padding:3px 7px;white-space:nowrap}
html body .fh-m-bar{height:5px;border-radius:99px;background:#F0E1D2;overflow:hidden;margin:8px 0}
html body .fh-m-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538);transition:width .3s}
html body .fh-m-list{display:flex;flex-direction:column;gap:2px}
html body .fh-m-item{display:flex;align-items:center;gap:7px;width:100%;background:transparent;border:0;border-bottom:1px solid #F4E8DC;padding:6px 0;text-align:left;font-family:inherit}
html body .fh-m-item:last-child{border-bottom:0}
html body .fh-m-item>i{width:16px;height:16px;border:1px solid #DCC5B4;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;color:#FFF9F0;flex:0 0 16px}
html body .fh-m-item.done>i{background:#8FAF9A;border-color:#8FAF9A}
html body .fh-m-item>span{flex:1;min-width:0}
html body .fh-m-item b{display:block;font-size:10px;color:#5E4638;font-weight:900}
html body .fh-m-item small{display:block;font-size:8px;color:#A58D7A;margin-top:2px}
html body .fh-m-item>em{font-style:normal;font-size:8px;color:#B95538;font-weight:900}
html body .fh-m-item.done>em{color:#8FAF9A}
html body .fh-m-claim{width:100%;height:34px;margin-top:8px;border:0;border-radius:10px;background:#B95538;color:#FFF9F0;font-size:9px;font-weight:900}
html body .fh-m-claim:disabled{opacity:.5}
html body .dq-body{padding:16px!important;background:#F6EEE4}
html body .dq-q{font-family:Georgia,"Songti SC",serif;font-size:18px;line-height:1.6;color:#3B2C31;padding:8px 0 14px}
html body .dq-body textarea{width:100%;height:100px;border:1px solid #E5D3C1;border-radius:12px;padding:10px;font-size:12px;line-height:1.7;resize:none;box-sizing:border-box;outline:none;background:#FFF9F0;color:#3B2C31}
html body .dq-send{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .dq-tip{font-size:9px;color:#A58D7A;margin-top:8px;line-height:1.7}
html body .dq-mine{font-size:12px;color:#5E4638;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:10px;line-height:1.7}
html body .dq-count{font-size:9px;color:#A58D7A;margin:10px 0}
html body .dq-list{display:flex;flex-direction:column;gap:7px}
html body .dq-item{display:flex;gap:8px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:9px}
html body .dq-item img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#F3E4D7}
html body .dq-item b{display:block;font-size:9px;color:#8A5C43}
html body .dq-item span{display:block;font-size:10px;color:#5E4638;line-height:1.6;margin-top:2px}
/* 今日任务紧凑两列，避免被底部导航遮住 */
html body .fh-m-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
html body .fh-m-item{border-bottom:0!important;background:#FBF5EC!important;border-radius:9px!important;padding:5px 6px!important;align-items:flex-start!important}
html body .fh-m-item>i{margin-top:2px}
html body .fh-m-item b{font-size:9px!important}
html body .fh-m-item small{font-size:7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fh-m-item>em{font-size:7px!important}
html body .fh-m-claim{height:30px!important;font-size:8px!important;margin-top:6px!important}
html body .fh-m-card{padding:10px!important}
/* 娱乐页每日入口 */
html body .play-daily{margin:12px 0 0}
html body .play-daily-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .play-daily-card{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:10px 11px;text-align:left;font-family:inherit;position:relative}
html body .play-daily-card b{display:block;font-size:11px;font-weight:900;color:#3B2C31}
html body .play-daily-card span{display:block;font-size:8px;color:#A58D7A;line-height:1.6;margin-top:3px}
html body .play-daily-card em{position:absolute;right:9px;top:9px;font-style:normal;font-size:7px;color:#A94F36;background:#F3DFD1;border-radius:99px;padding:2px 5px}
html body .play-daily-card:active{transform:scale(.98)}
html body .ms-body{padding:16px!important;background:#F6EEE4}
html body .ms-head b{display:block;font-size:16px;color:#3B2C31}
html body .ms-head span{display:block;font-size:9px;color:#A58D7A;margin-top:4px}
html body .ms-bar{height:5px;border-radius:99px;background:#EFE0D2;overflow:hidden;margin:10px 0}
html body .ms-bar i{display:block;height:100%;border-radius:99px;background:#B95538}
html body .ms-list{display:flex;flex-direction:column;gap:6px}
html body .ms-task{display:flex;align-items:center;gap:8px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:12px;padding:10px;text-align:left;font-family:inherit}
html body .ms-task>i{width:20px;height:20px;border:1px solid #DCC5B4;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:9px;color:#FFF9F0;flex:0 0 20px}
html body .ms-task.done>i{background:#8FAF9A;border-color:#8FAF9A}
html body .ms-task div{flex:1}
html body .ms-task b{display:block;font-size:11px;color:#5E4638}
html body .ms-task span{display:block;font-size:8px;color:#A58D7A;margin-top:2px}
html body .ms-task em{font-style:normal;font-size:9px;color:#B95538;font-weight:900}
html body .ms-task.done em{color:#8FAF9A}
html body .ms-claim{width:100%;height:38px;margin-top:10px;border:0;border-radius:11px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .ms-claim:disabled{opacity:.5}
html body .ms-tip{font-size:8px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body:has(#stack.open) #petFab,
html body[data-tab="play"] #petFab{display:none!important}
/* ==================== 娱乐页 v2 ==================== */
html body .ent2{min-height:100%;background:#F6EEE4;padding:20px 16px calc(28px + env(safe-area-inset-bottom));box-sizing:border-box}
html body .ent2-head{padding:4px 2px 20px}
html body .ent2-kicker{font-size:8px;letter-spacing:3px;color:#B29B8B;font-weight:800}
html body .ent2-head h1{font-family:Georgia,"Songti SC",serif;font-size:36px;line-height:1.15;color:#3B2C31;margin:6px 0 0;font-weight:600;letter-spacing:1px}
html body .ent2-head p{font-size:10px;color:#A58D7A;margin:7px 0 0;letter-spacing:.5px}
html body .ent2-section{margin-top:20px}
html body .ent2-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:9px}
html body .ent2-h h2{font-size:14px;color:#3B2C31;margin:0;font-weight:900}
html body .ent2-h span{font-size:7px;letter-spacing:2px;color:#B29B8B}
html body .ent2-daily{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .ent2-card{display:flex;align-items:center;gap:9px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px 10px;text-align:left;font-family:inherit;min-height:64px;box-sizing:border-box}
html body .ent2-card:active{transform:scale(.985)}
html body .ent2-ic{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#F3DFD1;color:#A94F36;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
html body .ent2-tx{min-width:0;flex:1}
html body .ent2-tx b{display:block;font-size:11px;color:#3B2C31;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ent2-tx span{display:block;font-size:8px;color:#A58D7A;line-height:1.5;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ent2-mission{grid-column:1/-1;background:#3B2C31;border-color:#3B2C31;min-height:66px}
html body .ent2-mission .ent2-ic{background:rgba(255,249,240,.14);color:#F3DFD1}
html body .ent2-mission .ent2-tx b{color:#FFF9F0}
html body .ent2-mission .ent2-tx span{color:#D8C3B3}
html body .ent2-mission>em{font-style:normal;font-size:9px;color:#E6B87A;font-weight:900;background:rgba(255,249,240,.1);border-radius:99px;padding:3px 7px}
html body .ent2-play{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .ent2-game{grid-column:1/-1;background:linear-gradient(135deg,#5A3B2E,#3B2C31);border:0;border-radius:16px;padding:15px;text-align:left;font-family:inherit;color:#FFF9F0;position:relative}
html body .ent2-game-top{display:flex;justify-content:space-between;align-items:center}
html body .ent2-game-top span{font-size:7px;color:#3B2C31;background:#E6B87A;border-radius:99px;padding:3px 7px;font-weight:900}
html body .ent2-game-top em{font-style:normal;font-size:8px;color:#D8C3B3}
html body .ent2-game>b{display:block;font-family:Georgia,"Songti SC",serif;font-size:24px;margin-top:12px;letter-spacing:1px}
html body .ent2-game>p{font-size:9px;color:#D8C3B3;margin:5px 0 0;letter-spacing:.5px}
html body .ent2-game>i{display:block;font-style:normal;font-size:9px;font-weight:900;color:#E6B87A;margin-top:12px}
html body .ent2-live{grid-column:1/-1;display:flex;align-items:center;gap:10px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px 12px;text-align:left;font-family:inherit}
html body .ent2-live .ent2-tx b{font-size:11px}
html body .ent2-live .ent2-tx span{font-size:8px}
html body .ent2-live>em{font-style:normal;color:#B29B8B;font-size:15px}
html body .ent2-more{display:flex;flex-direction:column;gap:1px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;overflow:hidden}
html body .ent2-more button{display:flex;align-items:center;gap:8px;background:transparent;border:0;border-bottom:1px solid #F3E6DA;padding:12px 13px;text-align:left;font-family:inherit}
html body .ent2-more button:last-child{border-bottom:0}
html body .ent2-more b{font-size:10px;color:#5E4638;font-weight:900}
html body .ent2-more span{flex:1;font-size:8px;color:#A58D7A;margin-left:2px}
html body .ent2-more em{font-style:normal;color:#B29B8B;font-size:14px}
html body .ent2-foot{text-align:center;font-size:8px;color:#B29B8B;padding:22px 0 4px;letter-spacing:1px}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 领养预览：乐灵光球，不显示猫 */
html body .pet-adopt-egg{position:relative}
html body .pet-adopt-egg .pet-cat-fallback{display:none!important}
html body .pet-adopt-orb{position:absolute;left:50%;bottom:66px;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#FFF9F0 0%,#F2D8C2 45%,#E4B696 100%);transform:translateX(-50%);z-index:2;box-shadow:0 14px 26px rgba(120,70,40,.16),inset -12px -14px 0 rgba(160,80,30,.06);animation:petOrbFloat 3s ease-in-out infinite}
html body .pet-adopt-orb:before,html body .pet-adopt-orb:after{content:"";position:absolute;top:42px;width:7px;height:10px;border-radius:50%;background:#4A3028}
html body .pet-adopt-orb:before{left:30px}html body .pet-adopt-orb:after{right:30px}
html body .pet-adopt-orb i{position:absolute;left:50%;top:62px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
@keyframes petOrbFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-8px)}}
/* 等级进度条 */
html body .pet-levelbar{margin:8px 18px 0;height:6px;border-radius:99px;background:#EFE0D2;overflow:hidden}
html body .pet-levelbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538)}
html body .pet-levelbar-t{font-size:8px;color:#B29B8B;padding:4px 18px 0}
html body .pet-col-exchange{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);height:18px;border:0;border-radius:7px;background:#B95538;color:#FFF9F0;font-size:7px;font-weight:900;padding:0 6px}
html body .pet-col-card.locked{min-height:112px}
/* 宠物文案与字号优化 */
html body .pet-title b{font-size:28px!important}
html body .pet-lv{font-size:12px!important}
html body .pet-stage{font-size:10px!important}
html body .pet-sub{font-size:11px!important}
html body .pet-tools button{font-size:10px!important;height:30px!important}
html body .pet-tools span{font-size:9px!important}
html body .pet-bar-h{font-size:10px!important}
html body .pet-action b{font-size:11px!important}
html body .pet-action span{font-size:9px!important}
html body .pet-card-h b{font-size:13px!important}
html body .pet-task{font-size:10px!important}
html body .pet-task em{font-size:9px!important}
html body .pet-tip{font-size:10px!important}
html body .pet-adult-lock b{font-size:14px!important}
html body .pet-adult-lock span{font-size:10px!important}
html body .pet-social-h b{font-size:14px!important}
html body .pet-social-h span{font-size:10px!important}
html body .pet-social-single b{font-size:13px!important}
html body .pet-social-single span{font-size:10px!important}
html body .pet-relation-btns button{font-size:12px!important;height:38px!important}
html body .pet-partner b{font-size:12px!important}
html body .pet-partner span{font-size:10px!important}
html body .pet-col-top b{font-size:18px!important}
html body .pet-col-name{font-size:11px!important}
html body .pet-col-meta{font-size:9px!important}
html body .pet-col-tip{font-size:10px!important}
html body .pet-col-draw{font-size:13px!important}
html body .pet-draw-hero b{font-size:16px!important}
html body .pet-draw-hero span{font-size:10px!important}
html body .pet-draw-rate b{font-size:11px!important}
html body .pet-draw-rate span{font-size:9px!important}
html body .pet-draw-btns button{font-size:11px!important}
html body .pet-draw-item b{font-size:11px!important}
html body .pet-draw-item em{font-size:9px!important}
html body .ent2-h h2{font-size:16px!important}
html body .ent2-tx b{font-size:12px!important}
html body .ent2-tx span{font-size:9px!important}
html body .ent2-game>b{font-size:26px!important}
html body .ms-head b{font-size:18px!important}
html body .ms-task b{font-size:12px!important}
html body .ms-task span{font-size:9px!important}
html body .ms-task em{font-size:10px!important}
html body .ms-claim{font-size:11px!important;height:40px!important}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 领养预览：乐灵光球，不显示猫 */
html body .pet-adopt-egg{position:relative}
html body .pet-adopt-egg .pet-cat-fallback{display:none!important}
html body .pet-adopt-orb{position:absolute;left:50%;bottom:66px;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#FFF9F0 0%,#F2D8C2 45%,#E4B696 100%);transform:translateX(-50%);z-index:2;box-shadow:0 14px 26px rgba(120,70,40,.16),inset -12px -14px 0 rgba(160,80,30,.06);animation:petOrbFloat 3s ease-in-out infinite}
html body .pet-adopt-orb:before,html body .pet-adopt-orb:after{content:"";position:absolute;top:42px;width:7px;height:10px;border-radius:50%;background:#4A3028}
html body .pet-adopt-orb:before{left:30px}html body .pet-adopt-orb:after{right:30px}
html body .pet-adopt-orb i{position:absolute;left:50%;top:62px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
@keyframes petOrbFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-8px)}}
/* 等级进度条 */
html body .pet-levelbar{margin:8px 18px 0;height:6px;border-radius:99px;background:#EFE0D2;overflow:hidden}
html body .pet-levelbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538)}
html body .pet-levelbar-t{font-size:8px;color:#B29B8B;padding:4px 18px 0}
html body .pet-col-exchange{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);height:18px;border:0;border-radius:7px;background:#B95538;color:#FFF9F0;font-size:7px;font-weight:900;padding:0 6px}
html body .pet-col-card.locked{min-height:112px}
/* 宠物文案与字号优化 */
html body .pet-title b{font-size:28px!important}
html body .pet-lv{font-size:12px!important}
html body .pet-stage{font-size:10px!important}
html body .pet-sub{font-size:11px!important}
html body .pet-tools button{font-size:10px!important;height:30px!important}
html body .pet-tools span{font-size:9px!important}
html body .pet-bar-h{font-size:10px!important}
html body .pet-action b{font-size:11px!important}
html body .pet-action span{font-size:9px!important}
html body .pet-card-h b{font-size:13px!important}
html body .pet-task{font-size:10px!important}
html body .pet-task em{font-size:9px!important}
html body .pet-tip{font-size:10px!important}
html body .pet-adult-lock b{font-size:14px!important}
html body .pet-adult-lock span{font-size:10px!important}
html body .pet-social-h b{font-size:14px!important}
html body .pet-social-h span{font-size:10px!important}
html body .pet-social-single b{font-size:13px!important}
html body .pet-social-single span{font-size:10px!important}
html body .pet-relation-btns button{font-size:12px!important;height:38px!important}
html body .pet-partner b{font-size:12px!important}
html body .pet-partner span{font-size:10px!important}
html body .pet-col-top b{font-size:18px!important}
html body .pet-col-name{font-size:11px!important}
html body .pet-col-meta{font-size:9px!important}
html body .pet-col-tip{font-size:10px!important}
html body .pet-col-draw{font-size:13px!important}
html body .pet-draw-hero b{font-size:16px!important}
html body .pet-draw-hero span{font-size:10px!important}
html body .pet-draw-rate b{font-size:11px!important}
html body .pet-draw-rate span{font-size:9px!important}
html body .pet-draw-btns button{font-size:11px!important}
html body .pet-draw-item b{font-size:11px!important}
html body .pet-draw-item em{font-size:9px!important}
html body .ent2-h h2{font-size:16px!important}
html body .ent2-tx b{font-size:12px!important}
html body .ent2-tx span{font-size:9px!important}
html body .ent2-game>b{font-size:26px!important}
html body .ms-head b{font-size:18px!important}
html body .ms-task b{font-size:12px!important}
html body .ms-task span{font-size:9px!important}
html body .ms-task em{font-size:10px!important}
html body .ms-claim{font-size:11px!important;height:40px!important}
/* 星愿券乐币购买 */
html body .pet-draw-shop{margin-top:10px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:10px}
html body .pet-draw-shop-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
html body .pet-draw-shop-h b{font-size:11px;color:#5E4638}
html body .pet-draw-shop-h span{font-size:9px;color:#A58D7A}
html body .pet-draw-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
html body .pet-ticket-pack{border:1px solid #E5D3C1;border-radius:10px;background:#FBF1E5;padding:7px 4px;font-family:inherit;text-align:center}
html body .pet-ticket-pack b{display:block;font-size:11px;color:#3B2C31}
html body .pet-ticket-pack span{display:block;font-size:8px;color:#A94F36;font-weight:900;margin-top:2px}
html body .pet-ticket-pack em{display:block;font-style:normal;font-size:7px;color:#A58D7A;margin-top:2px}
html body .pet-ticket-pack:active{transform:scale(.97)}
/* 图鉴 / 星愿 / 领养 / 任务券 */
html body .pet-tools{display:flex;align-items:center;gap:6px;padding:9px 14px 0;background:#F6EEE4}
html body .pet-tools button{height:28px;border:1px solid #E5D3C1;border-radius:9px;background:#FFF9F0;color:#8A5C43;font-size:9px;font-weight:800;padding:0 10px}
html body .pet-tools span{margin-left:auto;font-size:8px;color:#B29B8B}
html body .pet-ticket-btn{width:100%;height:34px;margin-top:9px;border:1px dashed #D8B9A3;border-radius:10px;background:#FBF1E5;color:#A94F36;font-size:9px;font-weight:900}
html body .pet-ticket-btn:disabled{opacity:.55;color:#A58D7A}
html body .pet-free-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
html body .pet-free{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:11px;text-align:left;font-family:inherit}
html body .pet-free.on{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-free b{display:block;font-size:13px;color:#3B2C31}
html body .pet-free span{display:block;font-size:9px;color:#A58D7A;line-height:1.6;margin-top:4px}
html body .pet-collection{padding:14px!important;background:#F6EEE4}
html body .pet-col-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
html body .pet-col-top b{font-size:14px;color:#3B2C31}
html body .pet-col-top span{font-size:8px;color:#A58D7A}
html body .pet-col-legend{font-size:8px;color:#A58D7A;margin-bottom:10px}
html body .pet-col-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 8px;vertical-align:middle}
html body .pet-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
html body .pet-col-card{position:relative;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:8px 4px;text-align:center;min-height:105px}
html body .pet-col-card.active{border-color:#B95538;box-shadow:0 0 0 2px rgba(185,85,56,.12)}
html body .pet-col-card.locked{background:#F2E8DE;opacity:.72}
html body .pet-col-orb{width:46px;height:46px;margin:0 auto 5px;border-radius:50%;background:var(--c,#E8C9B5);position:relative;box-shadow:inset -6px -6px 0 rgba(80,40,20,.06)}
html body .pet-col-orb:before,html body .pet-col-orb:after{content:"";position:absolute;top:16px;width:4px;height:6px;border-radius:50%;background:#4A3028}
html body .pet-col-orb:before{left:13px}html body .pet-col-orb:after{right:13px}
html body .pet-col-orb i{position:absolute;left:50%;top:27px;width:7px;height:5px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
html body .pet-col-name{font-size:9px;font-weight:900;color:#3B2C31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pet-col-meta{display:flex;justify-content:center;gap:4px;font-size:8px;margin-top:2px;color:#A58D7A}
html body .pet-col-meta b{font-size:8px}
html body .pet-col-active{position:absolute;right:4px;top:4px;font-style:normal;font-size:7px;color:#FFF9F0;background:#B95538;border-radius:99px;padding:2px 5px}
html body .pet-col-tip{font-size:9px;color:#A58D7A;line-height:1.7;margin-top:10px}
html body .pet-col-draw{width:100%;height:42px;margin-top:10px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:12px;font-weight:900}
html body .pet-draw{padding:14px!important;background:#F6EEE4}
html body .pet-draw-hero{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:14px;padding:13px}
html body .pet-draw-hero b{display:block;font-size:14px;color:#3B2C31}
html body .pet-draw-hero span{display:block;font-size:9px;color:#A58D7A;line-height:1.7;margin-top:4px}
html body .pet-draw-rate{margin-top:10px;background:#FBF1E5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}
html body .pet-draw-rate b{font-size:10px;color:#8A5C43}
html body .pet-draw-rate span{font-size:8px;color:#A58D7A;line-height:1.6}
html body .pet-draw-pity{font-size:9px;color:#A58D7A;margin-top:8px;text-align:right}
html body .pet-draw-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
html body .pet-draw-btns button{height:44px;border:0;border-radius:12px;background:#B95538;color:#FFF9F0;font-size:10px;font-weight:900}
html body .pet-draw-btns button:nth-child(2){background:#3B2C31}
html body .pet-draw-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
html body .pet-draw-item{background:#FFF9F0;border:1px solid #EAD8C8;border-radius:10px;padding:8px}
html body .pet-draw-item b{display:block;font-size:10px;color:#3B2C31}
html body .pet-draw-item span{display:block;font-size:9px;margin-top:2px;font-weight:900}
html body .pet-draw-item em{display:block;font-style:normal;font-size:8px;color:#A58D7A;margin-top:3px}
html body .pet-draw-result-h{font-size:10px;color:#3B2C31;font-weight:900;margin-top:12px}
/* 领养预览：乐灵光球，不显示猫 */
html body .pet-adopt-egg{position:relative}
html body .pet-adopt-egg .pet-cat-fallback{display:none!important}
html body .pet-adopt-orb{position:absolute;left:50%;bottom:66px;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#FFF9F0 0%,#F2D8C2 45%,#E4B696 100%);transform:translateX(-50%);z-index:2;box-shadow:0 14px 26px rgba(120,70,40,.16),inset -12px -14px 0 rgba(160,80,30,.06);animation:petOrbFloat 3s ease-in-out infinite}
html body .pet-adopt-orb:before,html body .pet-adopt-orb:after{content:"";position:absolute;top:42px;width:7px;height:10px;border-radius:50%;background:#4A3028}
html body .pet-adopt-orb:before{left:30px}html body .pet-adopt-orb:after{right:30px}
html body .pet-adopt-orb i{position:absolute;left:50%;top:62px;width:12px;height:7px;border-radius:50%;background:#C97A6A;transform:translateX(-50%)}
@keyframes petOrbFloat{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-8px)}}
/* 等级进度条 */
html body .pet-levelbar{margin:8px 18px 0;height:6px;border-radius:99px;background:#EFE0D2;overflow:hidden}
html body .pet-levelbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#D98B5F,#B95538)}
html body .pet-levelbar-t{font-size:8px;color:#B29B8B;padding:4px 18px 0}
html body .pet-col-exchange{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);height:18px;border:0;border-radius:7px;background:#B95538;color:#FFF9F0;font-size:7px;font-weight:900;padding:0 6px}
html body .pet-col-card.locked{min-height:112px}
/* 宠物文案与字号优化 */
html body .pet-title b{font-size:28px!important}
html body .pet-lv{font-size:12px!important}
html body .pet-stage{font-size:10px!important}
html body .pet-sub{font-size:11px!important}
html body .pet-tools button{font-size:10px!important;height:30px!important}
html body .pet-tools span{font-size:9px!important}
html body .pet-bar-h{font-size:10px!important}
html body .pet-action b{font-size:11px!important}
html body .pet-action span{font-size:9px!important}
html body .pet-card-h b{font-size:13px!important}
html body .pet-task{font-size:10px!important}
html body .pet-task em{font-size:9px!important}
html body .pet-tip{font-size:10px!important}
html body .pet-adult-lock b{font-size:14px!important}
html body .pet-adult-lock span{font-size:10px!important}
html body .pet-social-h b{font-size:14px!important}
html body .pet-social-h span{font-size:10px!important}
html body .pet-social-single b{font-size:13px!important}
html body .pet-social-single span{font-size:10px!important}
html body .pet-relation-btns button{font-size:12px!important;height:38px!important}
html body .pet-partner b{font-size:12px!important}
html body .pet-partner span{font-size:10px!important}
html body .pet-col-top b{font-size:18px!important}
html body .pet-col-name{font-size:11px!important}
html body .pet-col-meta{font-size:9px!important}
html body .pet-col-tip{font-size:10px!important}
html body .pet-col-draw{font-size:13px!important}
html body .pet-draw-hero b{font-size:16px!important}
html body .pet-draw-hero span{font-size:10px!important}
html body .pet-draw-rate b{font-size:11px!important}
html body .pet-draw-rate span{font-size:9px!important}
html body .pet-draw-btns button{font-size:11px!important}
html body .pet-draw-item b{font-size:11px!important}
html body .pet-draw-item em{font-size:9px!important}
html body .ent2-h h2{font-size:16px!important}
html body .ent2-tx b{font-size:12px!important}
html body .ent2-tx span{font-size:9px!important}
html body .ent2-game>b{font-size:26px!important}
html body .ms-head b{font-size:18px!important}
html body .ms-task b{font-size:12px!important}
html body .ms-task span{font-size:9px!important}
html body .ms-task em{font-size:10px!important}
html body .ms-claim{font-size:11px!important;height:40px!important}
/* 星愿券乐币购买 */
html body .pet-draw-shop{margin-top:10px;background:#FFF9F0;border:1px solid #EAD8C8;border-radius:13px;padding:10px}
html body .pet-draw-shop-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
html body .pet-draw-shop-h b{font-size:11px;color:#5E4638}
html body .pet-draw-shop-h span{font-size:9px;color:#A58D7A}
html body .pet-draw-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
html body .pet-ticket-pack{border:1px solid #E5D3C1;border-radius:10px;background:#FBF1E5;padding:7px 4px;font-family:inherit;text-align:center}
html body .pet-ticket-pack b{display:block;font-size:11px;color:#3B2C31}
html body .pet-ticket-pack span{display:block;font-size:8px;color:#A94F36;font-weight:900;margin-top:2px}
html body .pet-ticket-pack em{display:block;font-style:normal;font-size:7px;color:#A58D7A;margin-top:2px}
html body .pet-ticket-pack:active{transform:scale(.97)}
/* 乐灵图鉴头像 */
html body .pet-col-avatar{width:56px;height:56px;margin:0 auto 5px;border-radius:15px;overflow:hidden;box-shadow:0 4px 10px rgba(70,35,20,.08)}
html body .pet-col-avatar svg{width:100%;height:100%;display:block}
html body .pet-col-card.locked .pet-col-avatar{filter:grayscale(.85);opacity:.62}
html body .pet-col-card{min-height:122px!important}
html body .pet-free{position:relative;padding-left:42px!important;min-height:64px}
html body .pet-free-ava{position:absolute;left:8px;top:9px;width:30px;height:30px;border-radius:9px;overflow:hidden;display:block}
html body .pet-free-ava svg{width:100%;height:100%;display:block}
html body .tq-hd-img{opacity:1;transition:opacity .2s}
html body .tq-hd.has-bg{background-color:#3B2C31!important}

/* ---- 来自 css/profilepage.css ---- */
/* ============ 个人主页 v3 · 年轻人审美重做 ============
   设计语言：
     · 深色底 + 极光渐变，高级感
     · 玻璃拟态卡片（半透明 + 细边 + 柔光）
     · 大圆角 22px，留白充足
     · 强调色：粉紫渐变 #FF5C8A → #A855F7
     · 无毛玻璃模糊（性能），用半透明+细边模拟
   兼容：Chrome 83（不用 gap / inset / aspect-ratio）
   ============================================================ */

/* ---------- 页面底 ---------- */
.pf2{
  background:#0A0A0F!important;
  color:#fff!important;
  font-size:14px!important;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
.pf2:before{
  content:"";position:absolute;top:0;left:0;width:100%;height:520px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,92,138,.22) 0%, rgba(255,92,138,0) 62%),
    radial-gradient(90% 50% at 100% 30%, rgba(168,85,247,.16) 0%, rgba(168,85,247,0) 60%);
  pointer-events:none;z-index:0;
}

/* ---------- 顶部大图 ---------- */
.pf2-hero{
  position:relative;height:440px;overflow:hidden;
  background:linear-gradient(160deg,#1A1024,#0F0F16);
}
.pf2-slides{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;transition:transform .32s cubic-bezier(.22,.8,.3,1)}
.pf2-slide{
  flex:0 0 100%;width:100%;height:100%;overflow:hidden;
  background:linear-gradient(160deg,#1E1428,#141420);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.35);font-size:13px;
}
.pf2-slide img{width:100%;height:100%;object-fit:cover;display:block}
.pf2-shade{
  position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(0,0,0,.42) 0%,
    rgba(0,0,0,.06) 22%,
    rgba(0,0,0,0) 40%,
    rgba(10,10,15,.55) 72%,
    rgba(10,10,15,.96) 100%);
}

/* ---------- 顶部导航按钮 ---------- */
.pf2-nav{
  position:absolute;top:calc(10px + env(safe-area-inset-top,0px));
  left:0;width:100%;padding:0 16px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:space-between;z-index:6;
}
.pf2-nav .b{
  width:38px;height:38px;border-radius:50%;
  background:rgba(20,20,28,.55);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:18px;line-height:1;
  -webkit-tap-highlight-color:transparent;
}
.pf2-nav .rg{display:flex}
.pf2-nav .rg .b{margin-left:10px}

/* ---------- 图片计数 / 指示点 ---------- */
.pf2-pcount{
  position:absolute;right:16px;bottom:150px;
  background:rgba(20,20,28,.6);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;font-size:11.5px;font-weight:700;
  padding:4px 11px;border-radius:999px;z-index:6;
}
.pf2-dots{
  position:absolute;left:0;bottom:138px;width:100%;
  display:flex;justify-content:center;flex-wrap:wrap;z-index:6;
}
.pf2-dots i{
  width:5px;height:5px;border-radius:50%;
  background:rgba(255,255,255,.35);margin:0 3px 3px;
  transition:width .2s ease, background .2s ease;
}
.pf2-dots i.on{width:18px;border-radius:3px;background:#fff}

/* ---------- 昵称区 ---------- */
.pf2-hinfo{
  position:absolute;left:0;bottom:38px;width:100%;
  padding:0 20px;box-sizing:border-box;z-index:6;
}
.pf2-hinfo .nm{
  font-size:27px;font-weight:900;color:#fff;
  display:flex;align-items:center;flex-wrap:wrap;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
  letter-spacing:.5px;
}
.pf2-hinfo .vfy{
  display:flex;align-items:center;
  background:linear-gradient(135deg,#3B82F6,#2563EB);
  color:#fff;font-size:10.5px;font-weight:700;
  padding:3px 9px;border-radius:8px;margin-left:9px;
  box-shadow:0 4px 12px rgba(37,99,235,.35);
}
.pf2-hinfo .vfy:before{content:"✔";font-size:9px;margin-right:3px}
.pf2-hinfo .meta{
  display:flex;align-items:center;flex-wrap:wrap;margin-top:9px;
  color:rgba(255,255,255,.82);font-size:13px;
  text-shadow:0 1px 10px rgba(0,0,0,.45);
}
.pf2-hinfo .meta .g{
  width:7px;height:7px;border-radius:50%;background:#3BE07A;margin-right:6px;
  box-shadow:0 0 8px rgba(59,224,122,.8);
}
.pf2-hinfo .meta .s{width:1px;height:11px;background:rgba(255,255,255,.35);margin:0 9px}

/* ---------- 亮点条（玻璃卡） ---------- */
.pf2-hl{
  display:flex;margin:-30px 14px 0;position:relative;z-index:8;
  background:rgba(24,24,32,.92);
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;padding:16px 4px;
  box-shadow:0 12px 34px rgba(0,0,0,.45);
}
.pf2-hl .h{flex:1;text-align:center;position:relative;min-width:0}
.pf2-hl .h+.h:before{
  content:"";position:absolute;left:0;top:50%;margin-top:-14px;
  width:1px;height:28px;background:rgba(255,255,255,.08);
}
.pf2-hl .i{font-size:19px;line-height:1}
.pf2-hl .v{
  font-size:15.5px;font-weight:900;margin-top:5px;color:#fff;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.pf2-hl .k{
  font-size:10.5px;color:rgba(255,255,255,.42);margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.pf2-hl .h.y .v{color:#FFC53D}
.pf2-hl .h.p .v{color:#FF7BA9}
.pf2-hl .h.b .v{color:#5BA8FF}

/* ---------- 通用卡片 ---------- */
.pf2-card{
  margin:12px 14px;background:rgba(24,24,32,.92);
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;padding:18px;
  box-shadow:0 4px 20px rgba(0,0,0,.28);
}
.pf2-card .h{
  font-size:15px;font-weight:900;color:#fff;margin-bottom:14px;
  display:flex;align-items:center;
}
.pf2-card .h .lk{
  width:3px;height:15px;border-radius:2px;
  background:linear-gradient(180deg,#FF5C8A,#A855F7);
  margin-right:9px;
}
.pf2-card .h .r{
  margin-left:auto;font-size:12.5px;font-weight:400;
  color:rgba(255,255,255,.42);
}
.pf2-empty{color:rgba(255,255,255,.32);font-size:13px}

/* ---------- 语音卡 ---------- */
.pf2-voice{
  display:flex;align-items:center;
  background:linear-gradient(120deg,rgba(255,92,138,.14),rgba(168,85,247,.14));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;padding:14px;cursor:pointer;
}
.pf2-voice .pl{
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(135deg,#FF5C8A,#A855F7);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;flex:0 0 auto;color:#fff;
  box-shadow:0 6px 18px rgba(255,92,138,.4);
}
.pf2-voice .wf{flex:1;margin:0 13px;display:flex;align-items:center;height:34px;overflow:hidden}
.pf2-voice .wf i{
  width:2.5px;border-radius:2px;margin-right:2.5px;
  background:linear-gradient(180deg,#FF7BA9,#A855F7);opacity:.75;
}
.pf2-voice .lk{text-align:center;flex:0 0 auto;min-width:38px}
.pf2-voice .lk .n{font-size:14px;font-weight:900;color:#FF7BA9}
.pf2-voice .lk .t{font-size:10px;color:rgba(255,255,255,.42);margin-top:2px}
.pf2-voice .lk.on .n{color:#FFC53D}

/* ---------- 关于我 ---------- */
.pf2-about{
  font-size:14px;line-height:1.75;color:rgba(255,255,255,.78);
  white-space:pre-wrap;word-break:break-word;
}

/* ---------- 照片墙 ---------- */
.pf2-grid{display:flex;flex-wrap:wrap;margin:-3px}
.pf2-grid .p{width:33.333%;padding:3px;box-sizing:border-box}
.pf2-grid .b{
  position:relative;width:100%;padding-top:100%;
  border-radius:14px;overflow:hidden;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}
.pf2-grid .b img{
  position:absolute;top:0;left:0;width:100%;height:100%;
  object-fit:cover;display:block;
}
.pf2-grid .b .in{
  position:absolute;top:0;left:0;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.3);font-size:12px;
}
.pf2-grid .b .badge{
  position:absolute;left:6px;top:6px;
  background:linear-gradient(135deg,#FF5C8A,#A855F7);
  color:#fff;font-size:9.5px;font-weight:700;
  padding:2px 7px;border-radius:6px;
}
.pf2-grid .b.add{
  border:1px dashed rgba(255,255,255,.18);
  background:rgba(255,255,255,.03);
}
.pf2-grid .b.add .in{color:rgba(255,255,255,.42);font-size:12.5px}

/* ---------- 礼物墙 ---------- */
.pf2-gbar{margin-bottom:14px}
.pf2-gbar .t{font-size:12px;color:rgba(255,255,255,.5);margin-bottom:8px}
.pf2-gbar .t b{color:#FFC53D;font-weight:900}
.pf2-gbar .pr{
  height:6px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;
}
.pf2-gbar .pr i{
  display:block;height:100%;border-radius:999px;
  background:linear-gradient(90deg,#FF5C8A,#FFC53D);
}
.pf2-gifts{display:flex;flex-wrap:wrap;margin:-4px}
.pf2-gifts .g{width:25%;padding:4px;box-sizing:border-box;text-align:center}
.pf2-gifts .g .bx{
  position:relative;width:100%;padding-top:100%;
  border-radius:14px;
  background:linear-gradient(150deg,rgba(255,92,138,.12),rgba(168,85,247,.12));
  border:1px solid rgba(255,255,255,.07);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
}
.pf2-gifts .g .bx .x{
  position:absolute;right:5px;bottom:4px;
  font-size:9.5px;font-weight:800;color:#FFC53D;
}
.pf2-gifts .g .nm{
  font-size:10.5px;color:rgba(255,255,255,.5);margin-top:5px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.pf2-gifts .g.off .bx{background:rgba(255,255,255,.03);border-style:dashed}
.pf2-gifts .g.off .bx .em{opacity:.22;font-size:20px}
.pf2-gifts .g.off .nm{color:rgba(255,255,255,.24)}

/* ---------- 基础资料 chips ---------- */
.pf2-chips{display:flex;flex-wrap:wrap;margin:-4px}
.pf2-chips .c{
  display:flex;align-items:center;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  padding:8px 12px;margin:4px;
  font-size:12.5px;color:rgba(255,255,255,.78);
}
.pf2-chips .c .i{margin-right:5px;font-size:13px}

/* ---------- 标签 ---------- */
.pf2-tags{display:flex;flex-wrap:wrap;margin:-4px}
.pf2-tags .g{
  padding:7px 14px;margin:4px;border-radius:999px;
  font-size:12.5px;font-weight:600;
  background:linear-gradient(135deg,rgba(255,92,138,.18),rgba(255,92,138,.08));
  border:1px solid rgba(255,92,138,.28);
  color:#FF9DBE;
}
.pf2-tags .g.alt{
  background:linear-gradient(135deg,rgba(168,85,247,.18),rgba(168,85,247,.08));
  border-color:rgba(168,85,247,.28);color:#C4A0FF;
}
.pf2-tags .g.alt2{
  background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(59,130,246,.08));
  border-color:rgba(59,130,246,.28);color:#8FC0FF;
}

/* ---------- 理想型 ---------- */
.pf2-ideal{
  font-size:14px;line-height:1.75;color:rgba(255,255,255,.78);
  white-space:pre-wrap;word-break:break-word;
}

/* ---------- 底部操作条 ---------- */
.pf2-bbar{
  position:fixed;left:0;bottom:0;width:100%;z-index:20;
  display:flex;align-items:center;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
  box-sizing:border-box;
  background:rgba(14,14,20,.94);
  border-top:1px solid rgba(255,255,255,.07);
}
.pf2-bbar .r2{
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  display:flex;align-items:center;justify-content:center;
  font-size:17px;color:rgba(255,255,255,.8);
  flex:0 0 auto;-webkit-tap-highlight-color:transparent;
}
.pf2-bbar .r2:active{background:rgba(255,255,255,.12)}
.pf2-bbar .edit{
  flex:1;height:46px;margin:0 10px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg,#FF5C8A,#A855F7);
  color:#fff;font-size:15px;font-weight:800;letter-spacing:.5px;
  box-shadow:0 8px 22px rgba(255,92,138,.32);
  -webkit-tap-highlight-color:transparent;
}
.pf2-bbar .edit:active{opacity:.9}
.pf2-bbar .go2{
  flex:1;height:46px;margin:0 10px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg,#FF5C8A,#A855F7);
  color:#fff;font-size:15px;font-weight:800;
  box-shadow:0 8px 22px rgba(255,92,138,.32);
  -webkit-tap-highlight-color:transparent;
}
.pf2-bbar .go2:active{opacity:.9}
.pf2-bbar .pf2-like{
  display:flex;align-items:center;
  height:44px;padding:0 15px;border-radius:999px;
  background:rgba(255,92,138,.12);
  border:1px solid rgba(255,92,138,.28);
  flex:0 0 auto;-webkit-tap-highlight-color:transparent;
}
.pf2-bbar .pf2-like .lk-ic{font-size:16px;margin-right:5px}
.pf2-bbar .pf2-like .lk-n{font-size:13.5px;font-weight:800;color:#FF9DBE}
.pf2-bbar .pf2-like.on{background:linear-gradient(135deg,#FF5C8A,#A855F7);border-color:transparent}
.pf2-bbar .pf2-like.on .lk-n{color:#fff}

/* ---------- 动态卡片 ---------- */
#pf2PostsCard .pf2-grid .p{width:33.333%}

/* ---------- 底部留白（避免被操作条盖住） ---------- */
.pf2{padding-bottom:78px!important}

/* ---------- 小屏适配 ---------- */
@media (max-height:700px){
  .pf2-hero{height:380px}
  .pf2-hinfo{bottom:30px}
  .pf2-hinfo .nm{font-size:24px}
  .pf2-pcount{bottom:132px}
  .pf2-dots{bottom:120px}
  .pf2-card{padding:16px;margin:10px 12px;border-radius:20px}
  .pf2-hl{margin:-26px 12px 0;border-radius:20px;padding:14px 4px}
}
@media (max-width:340px){
  .pf2-hinfo{padding:0 16px}
  .pf2-hinfo .nm{font-size:22px}
  .pf2-card{padding:14px;margin:10px 10px}
  .pf2-hl{margin:-24px 10px 0}
}

/* ============================================================
   v3.1 覆盖层：压过 design.css 的浅色主题规则
   design.css 有 html body .pf2-card{background:linear-gradient(白色...)}
   必须用 html body 前缀 + !important 才能覆盖
   ============================================================ */

/* 页面底：深色 */
html body .pf2{
  background:#0A0A0F!important;
  color:#fff!important;
}
html body .pf2:before{
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,92,138,.22) 0%, rgba(255,92,138,0) 62%),
    radial-gradient(90% 50% at 100% 30%, rgba(168,85,247,.16) 0%, rgba(168,85,247,0) 60%)!important;
}

/* 卡片：深色玻璃 */
html body .pf2-card{
  background:rgba(24,24,32,.92)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:22px!important;
  box-shadow:0 4px 20px rgba(0,0,0,.28)!important;
  color:#fff!important;
}
html body .pf2-card .h{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body .pf2-card .h .r{
  color:rgba(255,255,255,.42)!important;
  -webkit-text-fill-color:rgba(255,255,255,.42)!important;
}

/* 亮点条 */
html body .pf2-hl{
  background:rgba(24,24,32,.92)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:22px!important;
  box-shadow:0 12px 34px rgba(0,0,0,.45)!important;
}
html body .pf2-hl .v{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .pf2-hl .k{color:rgba(255,255,255,.42)!important;-webkit-text-fill-color:rgba(255,255,255,.42)!important}
html body .pf2-hl .h.y .v{color:#FFC53D!important;-webkit-text-fill-color:#FFC53D!important}
html body .pf2-hl .h.p .v{color:#FF7BA9!important;-webkit-text-fill-color:#FF7BA9!important}
html body .pf2-hl .h.b .v{color:#5BA8FF!important;-webkit-text-fill-color:#5BA8FF!important}

/* 顶部大图 */
html body .pf2-hero{
  background:linear-gradient(160deg,#1A1024,#0F0F16)!important;
}
html body .pf2-slide{
  background:linear-gradient(160deg,#1E1428,#141420)!important;
  color:rgba(255,255,255,.35)!important;
}

/* 昵称区 */
html body .pf2-hinfo .nm{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body .pf2-hinfo .meta{
  color:rgba(255,255,255,.82)!important;-webkit-text-fill-color:rgba(255,255,255,.82)!important;
}

/* 关于我 / 理想型 */
html body .pf2-about,
html body .pf2-ideal{
  color:rgba(255,255,255,.78)!important;
  -webkit-text-fill-color:rgba(255,255,255,.78)!important;
}

/* 空状态 */
html body .pf2-empty{
  color:rgba(255,255,255,.32)!important;
  -webkit-text-fill-color:rgba(255,255,255,.32)!important;
}

/* 基础资料 chips */
html body .pf2-chips .c{
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  color:rgba(255,255,255,.78)!important;
  -webkit-text-fill-color:rgba(255,255,255,.78)!important;
}

/* 照片墙 */
html body .pf2-grid .b{
  background:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.06)!important;
}
html body .pf2-grid .b .in{
  color:rgba(255,255,255,.3)!important;
  -webkit-text-fill-color:rgba(255,255,255,.3)!important;
}
html body .pf2-grid .b.add{
  border:1px dashed rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.03)!important;
}
html body .pf2-grid .b.add .in{
  color:rgba(255,255,255,.42)!important;
  -webkit-text-fill-color:rgba(255,255,255,.42)!important;
}

/* 礼物墙 */
html body .pf2-gifts .g .bx{
  background:linear-gradient(150deg,rgba(255,92,138,.12),rgba(168,85,247,.12))!important;
  border:1px solid rgba(255,255,255,.07)!important;
}
html body .pf2-gifts .g .nm{
  color:rgba(255,255,255,.5)!important;
  -webkit-text-fill-color:rgba(255,255,255,.5)!important;
}
html body .pf2-gifts .g.off .bx{
  background:rgba(255,255,255,.03)!important;
  border-style:dashed!important;
}
html body .pf2-gifts .g.off .nm{
  color:rgba(255,255,255,.24)!important;
  -webkit-text-fill-color:rgba(255,255,255,.24)!important;
}
html body .pf2-gbar .t{
  color:rgba(255,255,255,.5)!important;
  -webkit-text-fill-color:rgba(255,255,255,.5)!important;
}
html body .pf2-gbar .pr{
  background:rgba(255,255,255,.07)!important;
}

/* 语音卡 */
html body .pf2-voice{
  background:linear-gradient(120deg,rgba(255,92,138,.14),rgba(168,85,247,.14))!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
html body .pf2-voice .lk .t{
  color:rgba(255,255,255,.42)!important;
  -webkit-text-fill-color:rgba(255,255,255,.42)!important;
}

/* 底部操作条 */
html body .pf2-bbar{
  background:rgba(14,14,20,.94)!important;
  border-top:1px solid rgba(255,255,255,.07)!important;
}
html body .pf2-bbar .r2{
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  color:rgba(255,255,255,.8)!important;
}

/* 顶部导航按钮 */
html body .pf2-nav .b{
  background:rgba(20,20,28,.55)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
}

/* 图片计数 */
html body .pf2-pcount{
  background:rgba(20,20,28,.6)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
}
/* ============================================================
   每日签到 v2 · 年轻人审美重做
   设计语言：
     · 深色底 + 极光渐变（粉紫 + 暖金）
     · 玻璃拟态卡片，大圆角 22px
     · 签到按钮：金色渐变 + 光晕，有仪式感
     · 日历格：已完成=粉紫渐变实心，今天=金色描边呼吸
     · 连续天数用超大数字 + 渐变文字
   优先级：html body 前缀 + !important 压过 app.css
   ============================================================ */

/* ---------- 页面容器 ---------- */
html body .sd-wrap{
  background:#0A0A0F!important;
  min-height:100%!important;
  padding:0!important;
}

/* ---------- 顶部主卡 ---------- */
html body .sd-hero{
  position:relative!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:linear-gradient(150deg,#1C1226 0%,#141420 55%,#0F0F18 100%)!important;
  color:#fff!important;
  margin-bottom:14px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.5)!important;
}
html body .sd-hero-bg{
  position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  background:
    radial-gradient(90% 60% at 82% 6%, rgba(255,92,138,.34) 0%, rgba(255,92,138,0) 62%),
    radial-gradient(80% 55% at 8% 96%, rgba(168,85,247,.28) 0%, rgba(168,85,247,0) 60%),
    radial-gradient(60% 40% at 50% 50%, rgba(255,197,61,.10) 0%, rgba(255,197,61,0) 70%)!important;
}
html body .sd-hero-in{
  position:relative!important;z-index:2!important;
  padding:26px 20px 22px!important;text-align:center!important;
}

/* 副标题 */
html body .sd-sub{
  font-size:12.5px!important;font-weight:500!important;
  letter-spacing:1.2px!important;
  color:rgba(255,255,255,.52)!important;
  -webkit-text-fill-color:rgba(255,255,255,.52)!important;
}

/* 连续天数：超大渐变数字 */
html body .sd-streak{
  display:flex!important;align-items:baseline!important;justify-content:center!important;
  gap:6px!important;margin:10px 0 4px!important;
}
html body .sd-streak .sd-num{
  font-size:58px!important;font-weight:900!important;line-height:1!important;
  letter-spacing:-2px!important;
  background:linear-gradient(135deg,#FFD86B 0%,#FF8FA8 45%,#C084FC 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  filter:drop-shadow(0 4px 16px rgba(255,143,168,.35));
}
html body .sd-streak .sd-unit{
  font-size:16px!important;font-weight:700!important;
  color:rgba(255,255,255,.62)!important;
  -webkit-text-fill-color:rgba(255,255,255,.62)!important;
}

/* 累计获得 */
html body .sd-total{
  font-size:12.5px!important;
  color:rgba(255,255,255,.42)!important;
  -webkit-text-fill-color:rgba(255,255,255,.42)!important;
  margin-bottom:16px!important;
}

/* 余额条 */
html body .sd-balance{
  display:flex!important;justify-content:center!important;
  margin:0 0 14px!important;
}
html body .sd-balance > span{
  flex:1!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:14px!important;
  padding:11px 8px!important;
  font-size:11.5px!important;
  color:rgba(255,255,255,.5)!important;
  -webkit-text-fill-color:rgba(255,255,255,.5)!important;
  text-align:center!important;
}
html body .sd-balance > span + span{margin-left:10px!important}
html body .sd-balance b{
  display:block!important;
  font-size:17px!important;font-weight:900!important;
  margin-top:4px!important;
  color:#FFD86B!important;
  -webkit-text-fill-color:#FFD86B!important;
}
html body .sd-balance > span:last-child b{
  color:#FF8FA8!important;
  -webkit-text-fill-color:#FF8FA8!important;
}

/* 过期提示 */
html body .sd-expire{
  font-size:11px!important;line-height:1.6!important;
  color:rgba(255,197,61,.72)!important;
  -webkit-text-fill-color:rgba(255,197,61,.72)!important;
  background:rgba(255,197,61,.08)!important;
  border:1px solid rgba(255,197,61,.16)!important;
  border-radius:12px!important;
  padding:9px 12px!important;
  margin-bottom:18px!important;
  text-align:left!important;
}

/* ---------- 签到按钮：金色渐变 + 光晕 ---------- */
html body .sd-btn{
  display:block!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0!important;
  height:54px!important;
  line-height:54px!important;
  border:none!important;
  border-radius:16px!important;
  font-size:16.5px!important;
  font-weight:900!important;
  letter-spacing:1px!important;
  color:#3A1D00!important;
  -webkit-text-fill-color:#3A1D00!important;
  background:linear-gradient(135deg,#FFE08A 0%,#FFC53D 45%,#FFA726 100%)!important;
  box-shadow:0 10px 28px rgba(255,197,61,.42), inset 0 1px 0 rgba(255,255,255,.5)!important;
  cursor:pointer!important;
  position:relative!important;
  overflow:hidden!important;
  transition:transform .14s ease!important;
  -webkit-tap-highlight-color:transparent;
}
html body .sd-btn:active{transform:scale(.985)!important}
html body .sd-btn.sd-btn-done{
  background:rgba(255,255,255,.07)!important;
  color:rgba(255,255,255,.42)!important;
  -webkit-text-fill-color:rgba(255,255,255,.42)!important;
  box-shadow:none!important;
  border:1px solid rgba(255,255,255,.08)!important;
  cursor:default!important;
}

/* 明天可领提示 */
html body .sd-tip{
  font-size:11.5px!important;line-height:1.6!important;
  color:rgba(255,255,255,.38)!important;
  -webkit-text-fill-color:rgba(255,255,255,.38)!important;
}

/* ---------- 日历卡片 ---------- */
html body .sd-week-box{
  background:rgba(24,24,32,.92)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:22px!important;
  padding:18px 16px!important;
  box-shadow:0 4px 20px rgba(0,0,0,.3)!important;
  margin:0!important;
}
html body .sd-week-title{
  font-size:14px!important;font-weight:900!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  margin-bottom:16px!important;
  display:flex!important;align-items:center!important;
}
html body .sd-week-title:before{
  content:""!important;
  width:3px!important;height:14px!important;border-radius:2px!important;
  background:linear-gradient(180deg,#FFD86B,#FF5C8A)!important;
  margin-right:9px!important;
}
html body .sd-week-title span{
  font-size:11px!important;font-weight:400!important;
  color:rgba(255,255,255,.36)!important;
  -webkit-text-fill-color:rgba(255,255,255,.36)!important;
  margin-left:6px!important;
}

/* 日历网格 */
html body .sd-month{
  display:grid!important;
  grid-template-columns:repeat(7,1fr)!important;
  gap:10px 6px!important;
}
html body .sd-month .sd-day{
  flex:none!important;
  text-align:center!important;
  position:relative!important;
}

/* 日期圆圈 */
html body .sd-day .sd-ico{
  width:34px!important;height:34px!important;
  border-radius:12px!important;
  margin:0 auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:13px!important;font-weight:800!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  color:rgba(255,255,255,.4)!important;
  -webkit-text-fill-color:rgba(255,255,255,.4)!important;
  transition:all .2s ease!important;
}
/* 已签到 */
html body .sd-day.sd-done .sd-ico{
  background:linear-gradient(135deg,#FF5C8A,#A855F7)!important;
  border-color:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 4px 12px rgba(255,92,138,.3)!important;
}
/* 今天未签到：金色呼吸 */
html body .sd-day.sd-today .sd-ico{
  background:rgba(255,197,61,.12)!important;
  border:1.5px solid #FFC53D!important;
  color:#FFC53D!important;
  -webkit-text-fill-color:#FFC53D!important;
  box-shadow:0 0 0 3px rgba(255,197,61,.14)!important;
  animation:sdPulse2 1.8s ease-in-out infinite!important;
}
/* 今天已签到 */
html body .sd-day.sd-done-today .sd-ico{
  background:linear-gradient(135deg,#FFD86B,#FF8A3D)!important;
  border-color:transparent!important;
  color:#3A1D00!important;
  -webkit-text-fill-color:#3A1D00!important;
  box-shadow:0 0 0 3px rgba(255,197,61,.22), 0 4px 14px rgba(255,168,38,.4)!important;
}

/* 奖励文字 */
html body .sd-day .sd-reward{
  font-size:10px!important;font-weight:700!important;
  color:rgba(255,255,255,.34)!important;
  -webkit-text-fill-color:rgba(255,255,255,.34)!important;
  margin-top:5px!important;
}
html body .sd-day.sd-done .sd-reward{
  color:#FF8FA8!important;
  -webkit-text-fill-color:#FF8FA8!important;
}
html body .sd-day .sd-heart{
  font-size:9.5px!important;font-weight:700!important;
  color:rgba(255,143,168,.6)!important;
  -webkit-text-fill-color:rgba(255,143,168,.6)!important;
  margin-top:1px!important;
}
html body .sd-day .sd-vip{
  display:inline-block!important;
  font-size:8.5px!important;font-weight:800!important;
  color:#3A1D00!important;
  -webkit-text-fill-color:#3A1D00!important;
  background:linear-gradient(135deg,#FFE08A,#FFC53D)!important;
  border-radius:5px!important;
  padding:1px 4px!important;
  margin-top:3px!important;
}

/* 呼吸动画 */
@keyframes sdPulse2{
  0%,100%{box-shadow:0 0 0 3px rgba(255,197,61,.14)}
  50%{box-shadow:0 0 0 6px rgba(255,197,61,.06)}
}

/* ---------- 小屏适配 ---------- */
@media (max-height:700px){
  html body .sd-hero-in{padding:20px 16px 18px!important}
  html body .sd-streak .sd-num{font-size:48px!important}
  html body .sd-btn{height:48px!important;line-height:48px!important;font-size:15.5px!important}
  html body .sd-week-box{padding:15px 13px!important}
  html body .sd-month{gap:8px 5px!important}
  html body .sd-day .sd-ico{width:30px!important;height:30px!important;font-size:12px!important;border-radius:10px!important}
}

/* ============================================================
   签到提醒横幅（登录进APP后顶部滑入）
   用 !important 强制固定在顶部，避免被全局 CSS 覆盖
   ============================================================ */
html body #signinTipBar.signin-tip-bar{
  position:fixed!important;
  left:10px!important;
  right:10px!important;
  top:calc(8px + env(safe-area-inset-top,0px))!important;
  bottom:auto!important;
  z-index:199999!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:11px 13px!important;
  border-radius:14px!important;
  background:linear-gradient(100deg,#FF5C8A,#FF8A3D)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(255,92,138,.35)!important;
  transform:translateY(-140%)!important;
  transition:transform .32s cubic-bezier(.22,.8,.3,1)!important;
  box-sizing:border-box!important;
  margin:0!important;
  width:auto!important;
  height:auto!important;
  max-width:none!important;
}
html body #signinTipBar.signin-tip-bar.si-in{
  transform:translateY(0)!important;
}
html body #signinTipBar .si-ic{
  font-size:19px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
html body #signinTipBar .si-tx{
  flex:1!important;
  min-width:0!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.35!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body #signinTipBar .si-go{
  flex:0 0 auto!important;
  border:none!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#E11D48!important;
  -webkit-text-fill-color:#E11D48!important;
  font-size:12.5px!important;
  font-weight:900!important;
  padding:7px 13px!important;
  line-height:1.2!important;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}
html body #signinTipBar .si-x{
  flex:0 0 auto!important;
  color:rgba(255,255,255,.85)!important;
  -webkit-text-fill-color:rgba(255,255,255,.85)!important;
  font-size:16px!important;
  padding:0 3px!important;
  line-height:1!important;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}

/* ============================================================
   修复: #main 的 scroll-behavior:smooth 导致上滑被拽回底部
   smooth 会让 scrollTop 赋值变成动画, 与用户手势打架
   ============================================================ */
html body #main{
  scroll-behavior:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
}

/* ---- 来自 css/motion.css ---- */
/* ===== 交互流畅度: 转场不闪、点击跟手 =====
   目标: 全屏子页/底部弹层用 GPU 合成, 关闭时等动画结束再隐藏内容 */

/* ---------- 全屏子页转场 ---------- */
.stack {
  transform: translate3d(100%, 0, 0);
  transition: transform .26s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .26s;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.stack.open {
  transform: translate3d(0, 0, 0);
  transition: transform .26s cubic-bezier(.22, .61, .36, 1), visibility 0s;
}

/* ---------- 底部弹层 ---------- */
.sheet {
  transform: translate3d(0, 102%, 0);
  transition: transform .26s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.sheet.on {
  transform: translate3d(0, 0, 0);
}

/* ---------- 遮罩: 关闭时等淡出结束再隐藏 ---------- */
.mask {
  transition: opacity .2s, visibility 0s linear .2s;
}

.mask.on {
  transition: opacity .2s, visibility 0s;
}

/* ---------- 触控: 去掉双击缩放的等待, 点击立即响应 ---------- */
button,
.btn,
.mi,
.lrow,
.tb,
.tq-ucard,
.tq-dacha,
.dazi-card,
.pf2-bbar .r2,
.pf2-bbar .go,
.pf2-bbar .edit,
.pf2-bbar .go2,
.pf2-vbtn,
.pf2-vplay,
[onclick] {
  touch-action: manipulation;
}

/* ---------- 转场期间避免图片解码抢主线程 ---------- */
.stack img,
.sheet img {
  -webkit-user-drag: none;
  user-select: none;
}

/* ---- 来自 css/theme-v2.css ---- */
/* ==========================================================================
   乐聊 UI 2.0 — 对齐他趣视觉语言
   兼容 Chrome 83：不使用 flex gap / inset / aspect-ratio
   仅覆盖样式，不改任何 JS 逻辑与事件
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root{
  --v2-bg:#FFFFFF;
  --v2-bg2:#F7F8FA;
  --v2-txt:#14151A;
  --v2-sub:#8A8F9C;
  --v2-line:#F0F1F3;
  --v2-yellow:#FFD84D;
  --v2-yellow2:#FFC83D;
  --v2-pink:#FF5C8A;
  --v2-pink-soft:#FFF0F5;
  --v2-radius:16px;
  --v2-radius-sm:10px;
}

/* ---------- 2. 全局底色：改白 ---------- */
body{ background:#fff !important; color:var(--v2-txt); }
.app{ background:#fff !important; }
main#main{ background:#fff !important; }

/* ---------- 3. 顶栏：渐变改纯白 ---------- */
#topbar.topbar,
.topbar{
  background:#fff !important;
  color:#14151A !important;
  border-bottom:1px solid #F2F3F5;
  padding-top:calc(10px + env(safe-area-inset-top,0px)) !important;
  padding-bottom:10px !important;
  box-shadow:none !important;
}

/* 顶栏内的文字，原来的白色描边/白色图标全部改深色 */
.topbar *{ color:inherit; }
/* 广场顶部「最新 / 推荐」: 真实结构是 .tabs > div (没有 .t 类),
   旧选择器不命中 -> 落到 app.css 的 .tabs div.on{color:#fff}, 白底白字看不见 */
.topbar .tabs{ color:#6B7280 !important; }
.topbar .tabs .t,
.topbar .tabs > div{ color:#6B7280 !important; }
.topbar .tabs .t.on,
.topbar .tabs > div.on{ color:var(--v2-txt) !important; font-weight:800 !important; }
.topbar .tabs > div.on:after{ background:var(--v2-pink) !important; }

/* ---------- 4. 底部导航 + 黄色发布按钮 ---------- */
#tabbar.tabbar,
.tabbar{
  background:#fff !important;
  border-top:1px solid #F0F1F3 !important;
  box-shadow:0 -2px 12px rgba(0,0,0,.04);
  align-items:center !important;
  padding-bottom:var(--safe-b) !important;
  overflow:visible !important;
}

.tabbar .tb{
  background:transparent !important;
  border:none !important;
  color:#B6BBC6 !important;
  position:relative;
  height:48px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-end !important;
  padding:2px 0 2px !important;
}
.tabbar .tb .ic{
  font-size:21px !important;
  line-height:1 !important;
  filter:grayscale(1);
  opacity:.5;
  transition:none;
}
.tabbar .tb.on{ color:#14151A !important; }
.tabbar .tb.on .ic{ filter:none; opacity:1; }
.tabbar .tb > span:not(.ic):not(.dot){
  font-size:10.5px !important;
  margin-top:4px !important;
  line-height:1 !important;
  font-weight:400;
}
.tabbar .tb.on > span:not(.ic):not(.dot){ font-weight:800; }

/* 中间第 3 个（广场）做成他趣式黄色大圆按钮 */
.tabbar .tb:nth-child(3){
  height:48px !important;
  color:#14151A !important;
}
.tabbar .tb:nth-child(3) .ic{
  position:absolute;
  left:50%;
  top:-18px;
  transform:translateX(-50%);
  width:56px;height:56px;
  border-radius:50%;
  background:linear-gradient(135deg,#FFE45E,#FFC83D);
  display:flex;align-items:center;justify-content:center;
  font-size:23px;
  filter:none !important;
  opacity:1 !important;
  box-shadow:0 6px 16px rgba(255,200,61,.45), 0 0 0 4px #fff;
}
.tabbar .tb:nth-child(3) > span:not(.ic):not(.dot){
  margin-top:30px !important;
  font-weight:800;
  color:#14151A;
}

/* 未读数红点 */
.tabbar .tb .dot{
  position:absolute !important;
  top:2px !important;
  right:calc(50% - 22px) !important;
  min-width:16px;height:16px;
  border-radius:9px;
  background:#FF3B47 !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:700;
  line-height:16px !important;
  text-align:center;
  padding:0 4px !important;
  border:none !important;
}

/* ---------- 5. 卡片：统一大圆角白卡 ---------- */
.pcard,
.ucard,
.mlist,
.gcell,
.xcard{
  background:#fff !important;
  border-radius:var(--v2-radius) !important;
  border:1px solid #F2F3F5 !important;
  box-shadow:0 2px 10px rgba(20,21,26,.04) !important;
}

/* ---------- 6. 列表行（消息/交友通用） ---------- */
.lrow{
  background:#fff !important;
  border-radius:var(--v2-radius) !important;
  border:1px solid #F2F3F5 !important;
  box-shadow:none !important;
  padding:12px !important;
  margin-bottom:10px !important;
}
.lrow:active{ background:#FAFAFB !important; }
.lrow .ls{ color:#9AA0AC !important; font-size:12.5px !important; }

/* ---------- 7. 头像 ---------- */
.av{
  border-radius:50% !important;
  background:linear-gradient(135deg,#FFD3E2,#D9C8FF) !important;
}

/* ---------- 8. 按钮：胶囊化 ---------- */
.bt,
.btn{
  border-radius:999px !important;
  font-weight:700 !important;
  border:none !important;
  box-shadow:none !important;
}
.bt-g,
.btn-primary{
  background:linear-gradient(135deg,#FFE9F0,#F3E1FF) !important;
  color:#E8436B !important;
}
.bt-o{
  background:#F5F6F8 !important;
  color:#4A4F5C !important;
}
.bt-r{
  background:#FFF0F0 !important;
  color:#E53935 !important;
}

/* ---------- 9. 搜索框 ---------- */
.search{
  background:#F5F6F8 !important;
  border-radius:999px !important;
  border:none !important;
  box-shadow:none !important;
}

/* ---------- 10. 分区标题 ---------- */
.shead{
  background:#fff !important;
  border-bottom:1px solid #F2F3F5 !important;
}
.shead .st{ color:#14151A !important; font-weight:800 !important; }

/* ---------- 11. 输入框 ---------- */
input, textarea{
  border-radius:12px !important;
}


/* ---------- 中间 Tab：黄圈内改为「广场」文字 ---------- */
.tabbar .tb:nth-child(3){
  justify-content:center !important;
}
.tabbar .tb:nth-child(3) .ic{
  font-size:0 !important;
  line-height:56px !important;
}
.tabbar .tb:nth-child(3) .ic::before{
  content:"广场";
  font-size:15px !important;
  font-weight:900;
  color:#14151A;
  letter-spacing:1px;
  line-height:1;
}
/* 隐藏圆圈下方重复的文字 */
.tabbar .tb:nth-child(3) > span:not(.ic):not(.dot){
  display:none !important;
}
/* cyber_override_marker */
/* ===== 娱乐页赛博风最终覆盖 (theme-v2 层, 最高优先级) ===== */
html body #main .bar1,
html body .bar1{
  background: linear-gradient(180deg,#0B0616,#150A28) !important;
  border-bottom: none !important;
}
html body #main .bar1 .tb-title,
html body .bar1 .tb-title{
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(255,0,168,.85) !important;
}
html body #main .bar1 .search,
html body .bar1 .search{
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(0,229,255,.28) !important;
}
html body .bar1 .search input{
  color: #E8ECFF !important;
  background: transparent !important;
}
html body .bar1 .search input::placeholder{
  color: rgba(200,210,240,.6) !important;
}

/* 赛博容器铺满 */
html body #main .cyber-wrap{
  margin: 0 -14px -24px !important;
  padding: 18px 14px 44px !important;
  min-height: calc(100vh - 104px) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,0,128,.22), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(0,229,255,.18), transparent 44%),
    radial-gradient(circle at 50% 100%, rgba(168,85,247,.20), transparent 52%),
    linear-gradient(170deg, #0B0616 0%, #150A28 46%, #0A0715 100%) !important;
}

/* 标题必须白字 */
html body .cyber-title{
  color: #FFFFFF !important;
  text-shadow: 0 0 10px rgba(255,0,128,.95), 0 0 26px rgba(255,0,128,.6), 0 0 44px rgba(168,85,247,.5) !important;
}
html body .cyber-sub{
  color: rgba(222,228,255,.85) !important;
}
html body .cyber-badge{
  color: #00E5FF !important;
  border-color: rgba(0,229,255,.6) !important;
}

/* 开房按钮: 暗底霓虹, 不要白底白字 */
html body .cyber-wrap .create-room-bar button{
  background: rgba(0,229,255,.12) !important;
  border: 1px solid rgba(0,229,255,.55) !important;
  color: #A8F4FF !important;
  box-shadow: 0 0 18px rgba(0,229,255,.25) inset !important;
}
/* 开房按钮外层容器去白 */
html body .cyber-wrap .create-room-bar{
  background: transparent !important;
  padding: 0 0 12px !important;
}

/* 分区标题 */
html body .cyber-sec b{
  color: #EAF6FF !important;
  text-shadow: 0 0 10px rgba(0,229,255,.7) !important;
}
html body .cyber-sec span{
  color: rgba(0,229,255,.9) !important;
}

/* 分类 tab */
html body .cyber-wrap .playtabs{
  background: transparent !important;
  padding: 0 0 12px !important;
}
html body .cyber-wrap .playtabs > div{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(220,225,255,.78) !important;
}
html body .cyber-wrap .playtabs > div.on{
  background: linear-gradient(100deg,#00E5FF,#FF00A8) !important;
  border-color: transparent !important;
  color: #0B0616 !important;
  font-weight: 900 !important;
}

/* 房间卡片 */
html body .cyber-wrap .room{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 14px !important;
}
html body .cyber-wrap .room .rt{ color: #F4F2FF !important }
html body .cyber-wrap .room .rs{ color: rgba(205,210,240,.75) !important }
html body .cyber-wrap .empty{ color: rgba(205,210,240,.6) !important }
html body .cyber-wrap #roomLimit{ color: rgba(0,229,255,.92) !important }
html body .cyber-wrap #roomLimit b{ color: #FF4FA3 !important }

/* 去掉分区间可能出现的白条 */
html body #main{ background: transparent !important }

/* body_level_cyber */
/* ===== 娱乐页 body 级暗色(彻底无白) ===== */
html body.cyber-on{
  background: #0B0616 !important;
}
html body.cyber-on #app,
html body.cyber-on #main{
  background: #0B0616 !important;
}
/* 顶部栏 + 其外层容器全暗 */
html body.cyber-on .bar1,
html body.cyber-on #main > .bar1,
html body.cyber-on #main > div:first-child{
  background: linear-gradient(180deg,#0B0616 0%,#150A28 100%) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
/* bar1 下方到 cyber-wrap 之间可能存在的间隙 */
html body.cyber-on .cyber-wrap{
  margin-top: 0 !important;
  padding-top: 10px !important;
}
/* 状态栏占位若为白色也压掉 */
html body.cyber-on .status-bar,
html body.cyber-on .topbar,
html body.cyber-on .app-header{
  background: #0B0616 !important;
}
/* 搜索框圆角内暗 */
html body.cyber-on .bar1 .search{
  background: rgba(255,255,255,.08) !important;
}
/* ===== 修正: 顶部栏暗色只在娱乐页生效 ===== */
/* 其它页面(消息/交友/我)顶部栏恢复浅色 */
html body .bar1,
html body #main .bar1{
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,.04) !important;
  box-shadow: none !important;
}
html body .bar1 .tb-title,
html body #main .bar1 .tb-title{
  color: #1A1D26 !important;
  text-shadow: none !important;
}
html body .bar1 .search,
html body #main .bar1 .search{
  background: #F5F2F7 !important;
  border: none !important;
}
html body .bar1 .search input{
  color: #24272E !important;
}
html body .bar1 .search input::placeholder{
  color: #A8ADB8 !important;
}

/* 娱乐页: 顶部整块暗色, 一直连到内容区 */
html body.cyber-on .bar1,
html body.cyber-on #main .bar1{
  background: #0B0616 !important;
  border-bottom: none !important;
}
html body.cyber-on .bar1 .tb-title{
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(255,0,168,.85) !important;
}
html body.cyber-on .bar1 .search{
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(0,229,255,.28) !important;
}
html body.cyber-on .bar1 .search input{
  color: #E8ECFF !important;
}
html body.cyber-on .bar1 .search input::placeholder{
  color: rgba(200,210,240,.6) !important;
}
html body.cyber-on #app,
html body.cyber-on #main{
  background: #0B0616 !important;
}
/* 状态栏下方到 bar1 之间若有留白, 一并压暗 */
html body.cyber-on #app::before{
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: #0B0616;
  z-index: 0;
  pointer-events: none;
}
html body.cyber-on .bar1{ position: relative; z-index: 1 }
html body.cyber-on .cyber-wrap{ position: relative; z-index: 1 }
/* ===== 娱乐页: 整页铺满暗色(所有祖先容器强制压暗) ===== */
html body.cyber-on,
html body.cyber-on #app,
html body.cyber-on #app > div,
html body.cyber-on #main,
html body.cyber-on #main > div,
html body.cyber-on #main > div > div:first-child{
  background: #0B0616 !important;
  background-color: #0B0616 !important;
  background-image: none !important;
  box-shadow: none !important;
}
/* 顶部粉色/白色装饰层全部压掉 */
html body.cyber-on::before,
html body.cyber-on #app::before,
html body.cyber-on #app::after,
html body.cyber-on #main::before,
html body.cyber-on #main::after{
  background: #0B0616 !important;
  background-image: none !important;
}
/* 标题栏与内容区无缝衔接 */
html body.cyber-on .bar1{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 14px !important;
  background: #0B0616 !important;
  border: none !important;
  box-shadow: none !important;
}
html body.cyber-on .cyber-wrap{
  margin-top: 0 !important;
  padding-top: 12px !important;
  min-height: calc(100vh - 96px) !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(255,0,128,.22), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(0,229,255,.18), transparent 44%),
    radial-gradient(circle at 50% 100%, rgba(168,85,247,.20), transparent 52%),
    linear-gradient(170deg, #0B0616 0%, #150A28 46%, #0A0715 100%) !important;
}
/* 兜底: 状态栏下方 160px 固定暗色 */
html body.cyber-on #app::after{
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 160px;
  background: #0B0616 !important;
  z-index: 0;
  pointer-events: none;
}
html body.cyber-on .bar1,
html body.cyber-on .cyber-wrap{ position: relative; z-index: 1 }
