/* ============================================================
 *  五灿聊天 · 界面样式
 *  移动端优先，桌面端自动收成手机卡片
 * ============================================================ */
:root{
	--brand:#12B7F5;
	--brand-2:#4F7BFF;
	--brand-grad:linear-gradient(135deg,#12B7F5 0%,#4F7BFF 100%);
	--bg:#F4F7FC;
	--card:#FFFFFF;
	--line:#EDF1F7;
	--text:#0F1826;
	--text-2:#7C8798;
	--text-3:#AEB7C4;
	--red:#FF5A5F;
	--green:#22C55E;
	--shadow:0 10px 30px rgba(20,60,120,.08);
	--radius:16px;
	--bar-h:52px;
	--safe-b:env(safe-area-inset-bottom,0px);
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
	margin:0;
	font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Roboto,"Helvetica Neue",Arial,sans-serif;
	background:
		radial-gradient(1000px 600px at 15% -10%,rgba(18,183,245,.18),transparent 60%),
		radial-gradient(900px 500px at 100% 0%,rgba(79,123,255,.16),transparent 55%),
		#E9EFF8;
	color:var(--text);
	display:flex;align-items:center;justify-content:center;
	font-size:15px;line-height:1.5;
	overscroll-behavior:none;
}
button,input,textarea{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:var(--brand-2);text-decoration:none}
::-webkit-scrollbar{width:0;height:0}

/* ---------------- 手机外壳 ---------------- */
.phone{
	position:relative;width:100%;max-width:440px;height:100%;
	background:var(--bg);overflow:hidden;
	display:flex;flex-direction:column;
}
@media (min-width:560px){
	.phone{
		height:min(880px,96vh);border-radius:32px;
		box-shadow:0 30px 80px rgba(20,50,110,.22),0 0 0 1px rgba(255,255,255,.6) inset;
	}
}

/* ---------------- 登录 / 注册 ---------------- */
.auth{
	position:absolute;inset:0;z-index:30;
	background:
		radial-gradient(120% 70% at 8% -8%,rgba(18,183,245,.22),transparent 60%),
		radial-gradient(100% 60% at 100% 0%,rgba(79,123,255,.18),transparent 55%),
		linear-gradient(165deg,#F7FBFF,#EAF2FF 55%,#F7FBFF);
	display:flex;flex-direction:column;overflow-y:auto;
	padding:calc(28px + env(safe-area-inset-top,0px)) 22px calc(24px + var(--safe-b));
	transition:opacity .3s,transform .3s;
}
.auth.hide{opacity:0;transform:scale(.98);pointer-events:none}
.auth-glow{position:absolute;border-radius:50%;filter:blur(50px);pointer-events:none}
.auth-glow.g1{width:220px;height:220px;left:-60px;top:60px;background:rgba(18,183,245,.30)}
.auth-glow.g2{width:260px;height:260px;right:-90px;top:-40px;background:rgba(79,123,255,.22)}

.brand{display:flex;flex-direction:column;align-items:center;gap:10px;margin:22px 0 26px;position:relative}
.logo{
	width:76px;height:76px;border-radius:22px;background:var(--brand-grad);
	color:#fff;display:flex;align-items:center;justify-content:center;
	font-size:34px;font-weight:800;letter-spacing:.5px;
	box-shadow:0 14px 30px rgba(24,140,235,.35),inset 0 -6px 14px rgba(0,0,0,.12);
}
.brand h1{margin:0;font-size:22px;font-weight:800;letter-spacing:.5px}
.brand p{margin:0;color:var(--text-2);font-size:12px;letter-spacing:1.6px;text-transform:uppercase}

.auth-card{
	position:relative;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);
	border-radius:22px;padding:8px 18px 18px;box-shadow:0 24px 60px rgba(30,70,140,.14);
	border:1px solid rgba(255,255,255,.9);
}
.auth-tabs{display:flex;gap:6px;padding:6px 0 10px}
.auth-tab{
	flex:1;padding:10px 0;border-radius:12px;font-size:15px;font-weight:600;color:var(--text-2);
	transition:.2s;
}
.auth-tab.on{color:var(--brand-2);background:rgba(18,183,245,.10)}

.field{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:9px 0;background:#F3F7FE;border-radius:14px;border:1px solid #E6EEFA;transition:.2s}
.field:focus-within{border-color:rgba(18,183,245,.55);background:#fff;box-shadow:0 0 0 3px rgba(18,183,245,.12)}
.field .fi{width:18px;height:18px;flex:0 0 18px;opacity:.55}
.field input{flex:1;border:0;background:transparent;outline:none;font-size:15px;min-width:0}
.field input::placeholder{color:var(--text-3)}
.field .suffix{font-size:12px;color:var(--text-3);white-space:nowrap}

.avatar-pick{display:flex;align-items:center;gap:12px;margin:14px 2px 6px}
.avatar-pick .av{width:54px;height:54px;border-radius:16px;font-size:26px;flex:0 0 54px}
.avatar-pick .txt{flex:1;font-size:13px;color:var(--text-2);line-height:1.4}
.avatar-pick .pick-btn{font-size:12px;color:var(--brand-2);background:rgba(18,183,245,.10);padding:7px 12px;border-radius:10px;font-weight:600}

.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:10px 0 4px}
.emoji-grid span{
	aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:22px;
	border-radius:12px;background:#F3F7FE;border:2px solid transparent;transition:.15s;
}
.emoji-grid span.on{border-color:var(--brand);background:#fff;transform:scale(1.04)}

.btn-main{
	width:100%;padding:13px 0;margin-top:14px;border-radius:14px;background:var(--brand-grad);
	color:#fff;font-weight:700;font-size:16px;letter-spacing:1px;
	box-shadow:0 12px 24px rgba(24,140,235,.28);transition:.2s;
}
.btn-main:active{transform:scale(.98)}
.btn-main:disabled{opacity:.6;box-shadow:none}
.auth-tip{margin:14px 0 0;text-align:center;font-size:12px;color:var(--text-3);line-height:1.7}

/* ---------------- 顶部栏 ---------------- */
.app{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg)}
.app.hide{display:none}

.topbar{
	flex:0 0 auto;padding:calc(8px + env(safe-area-inset-top,0px)) 14px 8px;
	display:flex;align-items:center;gap:10px;
	background:rgba(244,247,252,.86);backdrop-filter:blur(14px);
	border-bottom:1px solid var(--line);z-index:5;
}
.topbar .title{flex:1;font-size:17px;font-weight:800;letter-spacing:.3px}
.topbar .sub{font-size:11px;color:var(--text-3);font-weight:500;margin-left:6px}
.icon-btn{
	width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;
	color:var(--text-2);transition:.2s;
}
.icon-btn:active{background:#E9EFF9}
.icon-btn.pin{opacity:.55}
.icon-btn.pin[data-on="1"]{opacity:1;background:rgba(18,183,245,.12)}
.pin-tag{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:6px;background:rgba(18,183,245,.14);color:var(--brand-2);font-size:10.5px;font-weight:700;vertical-align:middle}

.icon-btn.badge{position:relative}
.icon-btn .dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px #fff}

/* ---------------- 标签页 ---------------- */
.tabs{flex:0 0 auto;display:flex;padding:2px 10px 6px;background:rgba(244,247,252,.86);backdrop-filter:blur(14px)}
.tab{flex:1;padding:6px 0 8px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--text-3);font-size:11.5px;font-weight:600;border-radius:12px}
.tab.on{color:var(--brand-2)}
.tab .ti{width:22px;height:22px}
.tab .pill{position:relative}
.tab .dot{position:absolute;top:-3px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--red);color:#fff;font-size:10px;line-height:16px;font-weight:700}

.pages{flex:1;min-height:0;position:relative;overflow:hidden}
.page{position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:12px}
.page.hide{display:none}

/* ---------------- 会话列表 ---------------- */
.search-wrap{padding:8px 14px 4px}
.search-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 12px;box-shadow:0 2px 8px rgba(20,60,120,.04)}
.search-box input{flex:1;border:0;outline:none;background:transparent;font-size:13.5px}
.search-box input::placeholder{color:var(--text-3)}

.chat-row{display:flex;align-items:center;gap:12px;padding:11px 16px;transition:.15s;cursor:pointer}
.chat-row:active{background:#EAF0FA}
.chat-row .av{width:48px;height:48px;border-radius:15px;font-size:23px;flex:0 0 48px}
.chat-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.chat-name{font-size:15.5px;font-weight:700;display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-name .offi{font-size:10px;font-weight:700;color:#fff;background:var(--brand-grad);padding:1px 5px;border-radius:6px;letter-spacing:.5px}
.chat-preview{font-size:12.5px;color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:0 0 auto}
.chat-time{font-size:11px;color:var(--text-3)}
.unread{min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--red);color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center}
.unread.mute{background:#C7CFDB}
.pin-tag{font-size:10px;color:var(--brand-2);background:rgba(18,183,245,.1);padding:1px 5px;border-radius:5px}

.empty{padding:70px 30px;text-align:center;color:var(--text-3);font-size:13px;line-height:1.9}
.empty .big{font-size:44px;display:block;margin-bottom:10px;opacity:.55}

/* ---------------- 通讯录 ---------------- */
.me-bar{
	margin:10px 14px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#0FB4F2,#4C7BFF);
	color:#fff;display:flex;align-items:center;gap:12px;box-shadow:0 14px 26px rgba(20,120,220,.24);
}
.me-bar .av{width:52px;height:52px;border-radius:16px;font-size:25px;flex:0 0 52px;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.me-bar h3{margin:0;font-size:16.5px}
.me-bar p{margin:2px 0 0;font-size:11.5px;opacity:.85}

.entries{margin:8px 12px;background:var(--card);border-radius:16px;overflow:hidden;box-shadow:0 3px 14px rgba(20,60,120,.05)}
.entry{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer}
.entry:last-child{border-bottom:0}
.entry:active{background:#F5F9FF}
.entry .ico{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;background:#EEF5FF;flex:0 0 38px}
.entry .name{flex:1;font-size:14.5px;font-weight:600}
.entry .val{font-size:12px;color:var(--text-3)}
.entry .arrow{color:var(--text-3);font-size:14px}

.letter{font-size:12px;font-weight:700;color:var(--text-2);padding:12px 20px 6px;letter-spacing:.5px}
.friend-row{display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer}
.friend-row:active{background:#EAF0FA}
.friend-row .av{width:44px;height:44px;border-radius:14px;font-size:22px;flex:0 0 44px}
.friend-row .fn{flex:1;font-size:14.5px;font-weight:600}
.friend-row .on{width:7px;height:7px;border-radius:50%;background:var(--green)}

/* ---------------- 动态 ---------------- */
.moment{padding:14px 16px 12px;border-bottom:1px solid var(--line)}
.moment-head{display:flex;align-items:center;gap:10px}
.moment-head .av{width:40px;height:40px;border-radius:13px;font-size:20px;flex:0 0 40px}
.mh{flex:1;min-width:0}
.mh b{font-size:14.5px;font-weight:700}
.mh .t{display:block;font-size:11px;color:var(--text-3)}
.moment-text{margin:9px 0 0;font-size:14.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.moment-imgs{display:grid;gap:5px;margin-top:10px}
.moment-imgs.one{grid-template-columns:1fr;}
.moment-imgs.two{grid-template-columns:1fr 1fr}
.moment-imgs.many{grid-template-columns:repeat(3,1fr)}
.moment-imgs img{width:100%;height:100%;object-fit:cover;border-radius:10px;aspect-ratio:1;background:#EEF2F8;display:block}
.moment-acts{display:flex;align-items:center;gap:18px;margin-top:10px;font-size:12.5px;color:var(--text-2)}
.moment-acts button{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--text-2)}
.moment-acts .liked{color:#FF5A7A;font-weight:700}
.comments{margin-top:10px;padding:10px 12px;background:#F6F9FE;border-radius:12px}
.comments .c{font-size:13px;line-height:1.6;margin-bottom:6px}
.comments .c b{color:var(--brand-2);font-weight:600}
.comments .c:last-child{margin-bottom:0}
.comment-input{display:flex;gap:8px;margin-top:8px}
.comment-input input{flex:1;padding:9px 12px;border-radius:11px;border:1px solid var(--line);background:#fff;outline:none;font-size:13px}

/* 发布按钮 */
.fab{
	position:absolute;right:18px;bottom:18px;width:52px;height:52px;border-radius:17px;
	background:var(--brand-grad);color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center;
	box-shadow:0 12px 26px rgba(24,140,235,.35);z-index:8;
}
.fab:active{transform:scale(.96)}

/* ---------------- 我的 ---------------- */
.profile-head{
	margin:12px 14px 0;padding:20px 16px;border-radius:20px;background:#fff;box-shadow:var(--shadow);
	display:flex;align-items:center;gap:14px;
}
.profile-head .av{width:64px;height:64px;border-radius:20px;font-size:30px;flex:0 0 64px}
.ph{flex:1;min-width:0}
.ph h2{margin:0;font-size:19px;font-weight:800}
.ph .line{font-size:12px;color:var(--text-2);margin-top:3px}
.ph .tags{display:flex;gap:6px;margin-top:7px;flex-wrap:wrap}
.tag{font-size:10.5px;padding:2px 7px;border-radius:7px;background:#EEF5FF;color:var(--brand-2);font-weight:600}
.tag.gray{background:#F1F4F9;color:var(--text-2)}

.set-group{margin:12px 14px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 3px 14px rgba(20,60,120,.05)}
.set-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);cursor:pointer}
.set-item:last-child{border-bottom:0}
.set-item:active{background:#F5F9FF}
.set-item .si{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#EEF5FF;font-size:15px;flex:0 0 30px}
.set-item .st{flex:1;font-size:14.5px;font-weight:600}
.set-item .sv{font-size:12.5px;color:var(--text-3)}
.set-item.danger .st{color:var(--red);text-align:center;justify-content:center}

.footer-note{padding:18px;text-align:center;font-size:11.5px;color:var(--text-3);line-height:1.9}

/* ---------------- 聊天页 ---------------- */
.chat-page{position:absolute;inset:0;z-index:20;background:var(--bg);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .26s cubic-bezier(.32,.72,0,1);will-change:transform;box-shadow:-10px 0 26px rgba(15,24,38,.10)}
.chat-page.on{transform:none}
.chat-head{
	flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top,0px)) 10px 8px;
	background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);
}
.chat-head .back{width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:var(--text-2)}
.chat-title{flex:1;min-width:0}
.chat-title b{display:block;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-title span{font-size:11px;color:var(--text-3)}

.chat-body{flex:1;min-height:0;overflow-y:auto;padding:12px 14px 6px;background:
	radial-gradient(600px 300px at 100% 0%,rgba(79,123,255,.05),transparent 60%),var(--bg)}
.msg-time{text-align:center;font-size:11px;color:var(--text-3);margin:10px 0 8px}
.msg{display:flex;gap:8px;margin-bottom:12px;align-items:flex-start}
.msg .av{width:36px;height:36px;border-radius:11px;font-size:18px;flex:0 0 36px}
.msg .bubble-wrap{max-width:72%;min-width:0}
.msg .who{font-size:11px;color:var(--text-3);margin:0 0 3px 3px}
.bubble{
	display:inline-block;padding:9px 13px;border-radius:14px;background:#fff;font-size:14.5px;line-height:1.55;
	word-break:break-word;white-space:pre-wrap;box-shadow:0 2px 8px rgba(20,60,120,.06);border:1px solid #F1F5FB;
}
.msg.mine{flex-direction:row-reverse}
.msg.mine .bubble-wrap{text-align:right}
.msg.mine .who{text-align:right;margin-right:3px}
.msg.mine .bubble{background:var(--brand-grad);color:#fff;border:0;box-shadow:0 6px 16px rgba(24,140,235,.22);text-align:left}
.bubble.img-only{background:none;border:0;box-shadow:none;padding:0}
.bubble.img-only img{max-width:200px;max-height:270px;border-radius:12px;display:block;cursor:pointer}
.msg.sys{justify-content:center}
.msg.sys .bubble{background:rgba(0,0,0,.045);color:var(--text-3);box-shadow:none;border:0;font-size:12px;padding:5px 10px;border-radius:8px;max-width:80%;text-align:center}
.msg-err{font-size:11px;color:var(--red);text-align:right;margin-top:2px}
.read-tip{font-size:11px;color:var(--text-3);text-align:right;margin:-8px 4px 10px}

.chat-input{
	flex:0 0 auto;display:flex;align-items:flex-end;gap:8px;padding:8px 10px calc(8px + var(--safe-b));
	background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-top:1px solid var(--line);
}
.chat-input .tool{width:34px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--text-2)}
.chat-input textarea{
	flex:1;resize:none;max-height:110px;min-height:38px;padding:9px 12px;border-radius:12px;border:1px solid #E7EDF7;
	background:#F6F9FE;outline:none;font-size:14.5px;line-height:1.45;
}
.send-btn{
	height:38px;padding:0 16px;border-radius:12px;background:var(--brand-grad);color:#fff;font-weight:700;font-size:14px;
	box-shadow:0 6px 14px rgba(24,140,235,.26);
}
.send-btn:disabled{opacity:.45;box-shadow:none}

/* ---------------- 弹层 ---------------- */
.mask{position:absolute;inset:0;background:rgba(12,22,40,.42);backdrop-filter:blur(2px);z-index:40;opacity:0;pointer-events:none;transition:.22s}
.mask.on{opacity:1;pointer-events:auto}
.sheet{
	position:absolute;left:0;right:0;bottom:0;z-index:41;background:#fff;border-radius:22px 22px 0 0;
	padding:14px 16px calc(16px + var(--safe-b));transform:translateY(100%);transition:transform .26s cubic-bezier(.2,.8,.2,1);
	max-height:88%;overflow-y:auto;box-shadow:0 -10px 40px rgba(10,30,60,.18);
}
.sheet.on{transform:none}
.sheet h3{margin:0 0 12px;font-size:16px;font-weight:800;text-align:center}
.sheet .close{position:absolute;right:12px;top:10px;font-size:14px;color:var(--text-3)}
.sheet-actions{display:flex;gap:10px;margin-top:14px}
.sheet-actions button{flex:1;padding:12px 0;border-radius:13px;font-weight:700;font-size:14.5px}
.sheet-actions .ghost{background:#F1F5FB;color:var(--text-2)}
.sheet-actions .primary{background:var(--brand-grad);color:#fff}

.toast{
	position:absolute;left:50%;top:44%;transform:translate(-50%,-50%) scale(.94);z-index:60;
	background:rgba(18,24,36,.9);color:#fff;font-size:13.5px;padding:10px 16px;border-radius:12px;
	max-width:80%;text-align:center;opacity:0;pointer-events:none;transition:.2s;line-height:1.5;white-space:pre-wrap;
}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}

/* 头像组件 */
.av{background:#EEF2F8 center/cover no-repeat;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.av img{width:100%;height:100%;object-fit:cover;display:block}

.spinner{
	width:18px;height:18px;border-radius:50%;border:2px solid rgba(18,183,245,.25);border-top-color:var(--brand);
	animation:spin .8s linear infinite;display:inline-block;vertical-align:middle;
}
@keyframes spin{to{transform:rotate(360deg)}}

.skeleton{height:64px;margin:10px 14px;border-radius:16px;background:linear-gradient(90deg,#EEF2F8,#F7FAFE,#EEF2F8);background-size:200% 100%;animation:sk 1.4s infinite}
@keyframes sk{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* 官方 / 官方认证 徽章 */
.vbadge{display:inline-block;padding:1px 6px;border-radius:6px;font-size:10.5px;font-weight:700;
	line-height:1.5;vertical-align:middle;white-space:nowrap;
	background:linear-gradient(135deg,#4EA8FF,#12B7F5);color:#fff;box-shadow:0 1px 3px rgba(18,183,245,.25)}
.vbadge.off{background:linear-gradient(135deg,#FFC44D,#F5A623);box-shadow:0 1px 3px rgba(245,166,35,.28)}

/* 账号管理 */
.cur-tag{font-size:10.5px;font-weight:700;color:#fff;background:linear-gradient(135deg,#4EA8FF,#12B7F5);
	padding:1px 7px;border-radius:6px}
.acc-row:active{background:#F5F9FF}

/* 个人主页卡片 */
.ucard{border-radius:18px;overflow:hidden;background:#fff;margin:-4px -2px 0}
.ucover{height:150px;background:#DDE6F2 center/cover no-repeat;position:relative}
.ucover-mask{position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,22,44,.05),rgba(12,22,44,.35))}
.uavatar{margin:-40px 0 0 18px;position:relative;z-index:2;width:74px;height:74px;border-radius:24px;
	overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(20,60,120,.18)}
.uavatar .av{width:74px;height:74px;border-radius:24px;font-size:34px}
.ubody{padding:10px 18px 18px}
.uname{font-size:19px;font-weight:800;display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.uidline{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;align-items:center}
.utag{font-size:10.5px;padding:2px 8px;border-radius:7px;font-weight:600;background:#EEF5FF;color:var(--brand-2)}
.utag.id{background:#F3F6FB;color:var(--text-2);font-family:inherit}
.utag.gold{background:linear-gradient(135deg,#FFD466,#F5A623);color:#fff}
.utag.blue{background:linear-gradient(135deg,#4EA8FF,#12B7F5);color:#fff}
.utag.gray{background:#F1F4F9;color:var(--text-2)}
.usign{font-size:13px;color:var(--text-2);margin-top:12px;line-height:1.7}
.ubtns{display:flex;gap:12px;margin-top:16px}
.ubtn{flex:1;height:44px;border:none;border-radius:12px;font-size:15px;font-weight:600;
	background:#EEF3FA;color:var(--text-1);cursor:pointer}
.ubtn.main{background:linear-gradient(135deg,#39A6FF,#1276F0);color:#fff;box-shadow:0 6px 16px rgba(18,118,240,.25)}

/* 我的页带封面 */
.profile-head.has-cover{color:#fff}
.profile-head.has-cover .ph .line,
.profile-head.has-cover .ph h2{color:#fff}
.profile-head.has-cover .tag{background:rgba(255,255,255,.22);color:#fff}

/* 渐变昵称（含官方） */
.gname{font-weight:800;background-size:100% 100%;background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* ============ 全局防复制 / 手机端适配 ============ */
html,body{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
*,*::before,*::after{-webkit-touch-callout:none}
input,textarea,select,[contenteditable="true"],.allow-select{-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-touch-callout:default}
img,a{ -webkit-user-drag:none;user-drag:none}
a,button,[role="button"]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
/* 手机端尺寸与安全区 */
@media (max-width:520px){
	body{font-size:14px}
	input,textarea,select{font-size:16px} /* 防止 iOS/安卓聚焦自动放大 */
	.btn-main,.btn-ghost,button{min-height:40px}
}
@supports (padding:env(safe-area-inset-bottom)){
	.tabbar,.bottom-bar,.composer{padding-bottom:calc(6px + env(safe-area-inset-bottom))}
}

/* ============ 低端机省电/流畅模式（html.lite 由 app.js 自动判定或手动开启） ============ */
html.lite *{
	-webkit-backdrop-filter:none !important; backdrop-filter:none !important;
	animation:none !important;
	box-shadow:none !important;
	text-shadow:none !important;
	transition-duration:.01s !important;
}
html.lite .auth-glow{display:none !important}
html.lite .toast{transition:none !important}
html.lite .mask{background:rgba(12,22,40,.55) !important}
html.lite img{image-rendering:auto}
/* 渐变昵称在低端机上退化为纯色，避免逐帧重绘 */
html.lite .nm-grad,html.lite .grad{background:none !important;-webkit-background-clip:initial !important;background-clip:initial !important;color:#2B6CB0 !important;-webkit-text-fill-color:#2B6CB0 !important}

/* 管理员徽章（非官方） */
.vbadge.adm{background:linear-gradient(135deg,#7A6CF5,#5B8DEF);box-shadow:0 1px 3px rgba(91,141,239,.28);color:#fff}

/* ===== 长按消息菜单 / 引用条 ===== */
.msg[data-mid]{position:relative}
.msg .bubble{transition:background .15s}
.msg.bp-hold .bubble{background:#E8F1FF}
.msg.bp-hold:not(.mine) .bubble{background:#E8F1FF}
.qbar{display:flex;align-items:center;gap:8px;padding:7px 10px;margin:0 10px 6px;border-radius:10px;
	background:#EEF5FF;font-size:12.5px;color:var(--text-2);border-left:3px solid var(--brand-2)}
.qbar .qtx{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qbar .qx{width:22px;height:22px;line-height:20px;text-align:center;border-radius:50%;background:#fff;color:var(--text-3);font-size:14px}
.quote-box{background:#F3F6FB;border-radius:8px;padding:5px 8px;margin-bottom:5px;font-size:12px;
	color:var(--text-2);border-left:2px solid var(--brand-2);line-height:1.4;max-width:100%}
.quote-box .qn{font-weight:600;color:var(--brand-2);margin-right:4px}
.mmsg{display:flex;flex-direction:column;gap:2px;padding:4px 2px}
.mmsg button{border:none;background:#fff;color:var(--text);font-size:14px;padding:11px 14px;border-radius:10px;
	text-align:left;box-shadow:0 1px 4px rgba(20,40,80,.08)}
.mmsg button.danger{color:var(--red)}

/* 引用块：自己的蓝色气泡里用深色字，别人气泡里保持灰底 */
.msg.mine .quote-box{background:rgba(255,255,255,.9);border-left-color:#fff;color:#22324A}
.msg.mine .quote-box .qn{color:#0B78C9}
.quote-box{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}


/* ---------------- 娱乐页 ---------------- */
.fun-seg{display:flex;gap:8px;padding:12px 14px 8px}
.fun-seg button{flex:1;height:38px;border-radius:12px;font-size:13.5px;font-weight:600;color:var(--text-2);background:#fff;box-shadow:0 2px 10px rgba(18,40,80,.06)}
.fun-seg button.on{color:#fff;background:linear-gradient(135deg,#4EA8FF,#12B7F5);box-shadow:0 6px 16px rgba(18,183,245,.28)}
.fun-body{padding:0 14px 92px}
.fun-search{display:flex;gap:8px;margin:4px 0 10px}
.fun-search input{flex:1;height:42px;padding:0 14px;border-radius:12px;border:1px solid #E6EBF3;background:#fff;font-size:14px;outline:none}
.fun-search button{height:42px;padding:0 18px;border-radius:12px;color:#fff;font-size:14px;font-weight:600;background:linear-gradient(135deg,#4EA8FF,#12B7F5)}
.fun-tip{font-size:12px;color:var(--text-3);padding:2px 2px 8px}
.fun-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(18,40,80,.05)}
.fun-row{display:flex;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid #F1F4F9}
.fun-row:last-child{border-bottom:0}
.fun-row.on{background:rgba(18,183,245,.07)}
.fun-row .fr-ico{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(18,183,245,.10);color:var(--brand-2);font-size:15px}
.fun-row .fr-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.fun-row .fr-main b{font-size:14px;font-weight:600;color:var(--text-1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fun-row .fr-main span{font-size:11.5px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fun-row .fr-time{font-size:11.5px;color:var(--text-3)}
.fun-vwrap{background:#000;border-radius:14px;overflow:hidden}
.fun-vwrap video{width:100%;max-height:62vh;display:block;background:#000}
.fun-vacts{display:flex;align-items:center;gap:10px;margin-top:10px}
.fun-vacts button{height:38px;padding:0 18px;border-radius:12px;color:#fff;font-size:13.5px;font-weight:600;background:linear-gradient(135deg,#4EA8FF,#12B7F5)}
.fun-vacts span{font-size:11.5px;color:var(--text-3)}

/* 娱乐页播放控制条 */
.fun-bar{
	position:fixed;left:12px;right:12px;z-index:60;
	bottom:calc(68px + env(safe-area-inset-bottom,0px));
	display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;
	background:rgba(255,255,255,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
	box-shadow:0 10px 28px rgba(18,40,80,.16);border:1px solid rgba(255,255,255,.7);
	animation:funBarIn .22s ease;
}
@keyframes funBarIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.fun-bar.hide{display:none}
.fun-bar .fb-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.fun-bar .fb-main b{font-size:14px;font-weight:600;color:var(--text-1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fun-bar .fb-main span{font-size:11.5px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fun-bar .fb-btns{display:flex;align-items:center;gap:6px}
.fun-bar .fb-btns button{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--text-2);background:#F3F6FB}
.fun-bar .fb-btns button:active{background:#E7EEF9}
.fun-bar .fb-play{width:44px;height:44px;color:#fff;background:linear-gradient(135deg,#4EA8FF,#12B7F5);box-shadow:0 6px 16px rgba(18,183,245,.3)}

/* 强制更新弹窗 */

/* ---------------- 下载最新版本面板 ---------------- */
.dl-url{font-size:11.5px;color:var(--text-3);word-break:break-all;margin:2px 0 10px;line-height:1.5}
.dl-state{font-size:12.5px;color:var(--text-2);margin-bottom:8px}
.dl-pct{font-size:26px;font-weight:800;color:var(--text-1);line-height:1.15}
.dl-pct small{font-size:13px;font-weight:700;color:var(--text-3);margin-left:1px}
.dl-track{height:7px;border-radius:999px;background:rgba(18,183,245,.12);overflow:hidden;margin:8px 0 6px}
.dl-fill{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#4EA8FF,#12B7F5);transition:width .18s linear}
.dl-meta{display:flex;justify-content:space-between;font-size:11.5px;color:var(--text-3);margin-bottom:14px}
.dl-go{width:100%;height:46px;border-radius:14px;font-size:15px;font-weight:700;color:#fff;
	background:linear-gradient(135deg,#4EA8FF,#12B7F5);box-shadow:0 10px 24px rgba(18,183,245,.28)}
.dl-go:disabled{opacity:.7}
.dl-tip{font-size:11.5px;color:var(--text-3);margin-top:10px;line-height:1.6;word-break:break-all}
.dl-acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.dl-act{flex:1;min-width:96px;height:40px;border-radius:12px;font-size:13px;font-weight:600;color:#fff;
	background:linear-gradient(135deg,#12B7F5,#4EA8FF)}
.dl-act.ghost{background:#F1F5FA;color:var(--text-2)}

/* ================= 自定义主题背景（html.themed 由 app.js 挂上） ================= */
html.themed .app{
	background:var(--theme-img,#E9EFF8) center center / cover no-repeat;
}
html.themed .app::before{
	content:'';position:absolute;inset:0;pointer-events:none;z-index:0;
	background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.10));
}
html.themed .topbar{background:rgba(255,255,255,.72)}
html.themed .tabs{background:rgba(255,255,255,.78)}
html.themed .page{background:transparent}

/* 主题设置面板 */
.th-preview{
	height:150px;border-radius:14px;border:1px solid var(--line);
	display:flex;align-items:center;justify-content:center;overflow:hidden;
	box-shadow:0 6px 20px rgba(20,60,120,.08);margin:4px 0 10px;
}
.th-empty{font-size:12.5px;color:var(--text-3)}
.th-hint{font-size:12px;color:var(--text-3);line-height:1.6;margin-bottom:12px}
.th-btns{display:flex;gap:8px}
.th-btn{flex:1;height:44px;border-radius:13px;font-size:14px;font-weight:700;color:var(--text-2);background:#F1F5FA}
.th-btn.go{color:#fff;background:linear-gradient(135deg,#4EA8FF,#12B7F5);box-shadow:0 10px 22px rgba(18,183,245,.26)}

/* ================= 液态玻璃（html.themed 开启自定义背景时生效） =================
   --glass-a / --glass-blur 由「可见度」滑杆写入，0% 时只剩边框和文字 */
html.themed{--glass-a:.32;--glass-blur:11px;--glass-line:rgba(255,255,255,.62)}
html.themed .phone{background:var(--theme-img,#E9EFF8) center center / cover no-repeat}
html.themed .app{background:transparent}
html.themed .app::before{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.02))}
/* 聊天页是 .app 的兄弟层，且 z-index:20 盖在主界面上。
   这里必须自己铺一遍壁纸（不能透明），否则背后的会话列表会透上来 */
html.themed .chat-page{
	background-image:
		linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.02)),
		var(--theme-img,#E9EFF8);
	background-size:cover,cover;
	background-position:center center,center center;
	background-repeat:no-repeat,no-repeat;
}
html.themed .chat-body{background:transparent}
html.themed .chat-head{background:rgba(255,255,255,calc(var(--glass-a) * .85));-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%);backdrop-filter:blur(var(--glass-blur)) saturate(160%);border-bottom:1px solid var(--glass-line)}
html.themed .chat-title b,
html.themed .chat-title span,
html.themed .msg-time{text-shadow:0 1px 2px rgba(255,255,255,.72)}
html.themed .chat-body .bubble{background:rgba(255,255,255,calc(var(--glass-a) + .16)) !important}

/* 卡片 / 列表 / 面板：只留一层很薄的玻璃，几乎只剩边框和文字 */
html.themed .search-box,
html.themed .entries,
html.themed .profile-head,
html.themed .set-group,
html.themed .fun-list,
html.themed .ucard,
html.themed .uavatar,
html.themed .sheet,
html.themed .card,
html.themed .field,
html.themed .chat-row,
html.themed .fun-search input,
html.themed .comment-input input,
html.themed .chat-input textarea{
	background:rgba(255,255,255,var(--glass-a)) !important;
	-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%) !important;
	backdrop-filter:blur(var(--glass-blur)) saturate(160%) !important;
	border:1px solid var(--glass-line) !important;
	box-shadow:0 6px 22px rgba(18,40,80,.08), inset 0 1px 0 rgba(255,255,255,.5) !important;
}
html.themed .chat-row{box-shadow:none !important;border:0 !important;border-bottom:1px solid rgba(255,255,255,.28) !important;border-radius:0 !important;background:rgba(255,255,255,var(--glass-a)) !important}
html.themed .chat-row:active{background:rgba(255,255,255,calc(var(--glass-a) + .18)) !important}

/* 顶栏 / 底栏 / 输入条 */
html.themed .topbar{background:rgba(255,255,255,calc(var(--glass-a) * .8));-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%);backdrop-filter:blur(var(--glass-blur)) saturate(160%);border-bottom:1px solid var(--glass-line)}
html.themed .tabs{background:rgba(255,255,255,calc(var(--glass-a) * .9));-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%);backdrop-filter:blur(var(--glass-blur)) saturate(160%)}
html.themed .chat-input{background:rgba(255,255,255,calc(var(--glass-a) * .8));-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%);backdrop-filter:blur(var(--glass-blur)) saturate(160%);border-top:1px solid var(--glass-line)}

/* 按钮：只显示边框和文字 */
html.themed .th-btn,
html.themed .dl-go,
html.themed .dl-act,
html.themed .send-btn,
html.themed .fun-seg button,
html.themed .sheet-actions button{
	background:transparent !important;
	border:1.5px solid var(--glass-line) !important;
	color:var(--text) !important;
	box-shadow:none !important;
	-webkit-backdrop-filter:blur(var(--glass-blur)) !important;
	backdrop-filter:blur(var(--glass-blur)) !important;
}
html.themed .th-btn.go,
html.themed .dl-go,
html.themed .send-btn,
html.themed .sheet-actions .primary{
	border-color:var(--brand) !important;
	color:var(--brand) !important;
	font-weight:700;
	background:rgba(255,255,255,calc(var(--glass-a) * .5)) !important;
}
html.themed .fun-seg button.on{border-color:var(--brand) !important;color:var(--brand) !important}

/* 聊天气泡 */
html.themed .bubble{
	background:rgba(255,255,255,calc(var(--glass-a) + .16)) !important;
	-webkit-backdrop-filter:blur(var(--glass-blur));
	backdrop-filter:blur(var(--glass-blur));
	border:1px solid var(--glass-line) !important;
	box-shadow:0 4px 14px rgba(18,40,80,.08) !important;
}
html.themed .msg.mine .bubble{
	background:var(--brand-grad) !important;color:#fff;border:0 !important;
	-webkit-backdrop-filter:none;backdrop-filter:none;
	box-shadow:0 6px 16px rgba(24,140,235,.24) !important;
}
html.themed .msg.sys .bubble{
	background:rgba(255,255,255,calc(var(--glass-a) + .1)) !important;
	border:0 !important;box-shadow:none !important;
}
html.themed .bubble.img-only{background:transparent !important;border:0 !important;box-shadow:none !important}

/* 文字：壁纸很亮时给一点描边，别糊成一片 */
html.themed .set-item .st,
html.themed .profile-head .line{text-shadow:0 1px 2px rgba(255,255,255,.72)}

/* 渐变昵称靠 background-clip:text 上色，文字本身是透明的。
   一旦父级继承了白色 text-shadow，阴影就会从透明字形里透出来，
   把渐变糊成一片灰白 —— 所以渐变名必须显式关掉阴影 */
html.themed .gname,
html.themed .profile-head h2,
html.themed .moment-head b,
html.themed .chat-row .nick{text-shadow:none !important}
html.themed .gname{
	-webkit-text-fill-color:transparent !important;
	color:transparent !important;
	background-size:100% 100% !important;
	background-repeat:no-repeat !important;
	-webkit-background-clip:text !important;
	background-clip:text !important;
}
/* 英文/数字渐变名在超浅色壁纸上不够醒目时，用一层极淡的深色底托 */
html.themed .gname:not(.gflow){-webkit-text-stroke:0.2px rgba(255,255,255,.55)}
html.themed .tab{color:#41506A}
html.themed .footer-note{text-shadow:0 1px 2px rgba(255,255,255,.8)}

/* 头像卡有封面时原来是白字，主题下改回深色，否则在壁纸上完全看不清 */
html.themed .profile-head.has-cover .ph .line,
html.themed .profile-head.has-cover .ph h2{color:var(--text)}
html.themed .profile-head.has-cover .tag{background:rgba(255,255,255,.5);color:var(--brand-2)}
html.themed .tag{background:rgba(255,255,255,.45)}
html.themed .set-item .si{background:rgba(255,255,255,.55)}

/* 0% 可见度时连描边都淡一点，纯玻璃边 */
html.themed.low-glass .set-item{border-bottom-color:rgba(255,255,255,.35)}

/* 低端机 / 流畅模式：关模糊，玻璃直接变实心白，保证可读也不卡 */
html.themed.lite *{-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
html.themed.lite .search-box,html.themed.lite .entries,html.themed.lite .profile-head,
html.themed.lite .set-group,html.themed.lite .fun-list,html.themed.lite .ucard,
html.themed.lite .sheet,html.themed.lite .card,html.themed.lite .field,
html.themed.lite .chat-row,html.themed.lite .fun-search input,
html.themed.lite .comment-input input,html.themed.lite .chat-input textarea{
	background:rgba(255,255,255,calc(var(--glass-a) * .5 + .55)) !important;
}
html.themed.lite .bubble{background:rgba(255,255,255,.88) !important}

/* 可见度滑杆 */
.th-range{margin:2px 0 12px}
.th-range-l{display:flex;justify-content:space-between;font-size:12.5px;color:var(--text-2);font-weight:600;margin-bottom:6px}
.th-range-l b{color:var(--brand-2)}
.th-slider{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;
	background:linear-gradient(90deg,#12B7F5,#4F7BFF);outline:none}
.th-slider::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;
	background:#fff;border:2px solid var(--brand);box-shadow:0 3px 10px rgba(18,183,245,.35);cursor:pointer}

/* ================= v10 新增样式 ================= */
/* 性别选择 */
.gender-pick{display:flex;align-items:center;gap:8px;padding:10px 14px 4px}
.gp-label{font-size:13px;color:var(--muted)}
.gender-pick button{flex:1;height:34px;border-radius:10px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.7);font-size:13px;color:#333;transition:.18s}
.gender-pick button.on{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(18,183,245,.28)}
.gender-tag{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;font-size:10px;margin-left:4px;font-weight:700}
.gender-tag.m{background:rgba(64,158,255,.14);color:#2b7bd6}
.gender-tag.f{background:rgba(255,105,140,.14);color:#e0457b}

/* 自定义表情面板 */
.sticker-panel{display:none;height:0;overflow:hidden;border-top:1px solid rgba(0,0,0,.05);background:rgba(255,255,255,.92);backdrop-filter:blur(14px);transition:height .2s}
.sticker-panel.on{display:block;height:216px}
.sp-head{display:flex;align-items:center;gap:8px;padding:8px 12px 4px;font-size:13px;color:var(--muted)}
.sp-head .sp-add{margin-left:auto;height:28px;padding:0 12px;border-radius:15px;background:var(--blue);color:#fff;font-size:12px;border:0}
.sp-head .sp-close{width:28px;height:28px;border-radius:14px;border:1px solid rgba(0,0,0,.12);background:transparent;color:var(--text-2);font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center}
.sp-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:8px 12px;overflow-y:auto;max-height:170px}
.sp-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#f4f6fa;display:flex;align-items:center;justify-content:center}
.sp-item img{width:100%;height:100%;object-fit:cover;display:block}
.sp-item .pin{position:absolute;top:2px;right:3px;font-size:10px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.sp-item.pinned{outline:2px solid var(--blue);outline-offset:-2px}
.sp-empty{grid-column:1/-1;text-align:center;color:var(--muted);font-size:12px;line-height:160px;height:160px}

/* 表情消息 */
.bubble.is-sticker{background:transparent!important;box-shadow:none!important;padding:0!important}
.bubble.is-sticker img{width:110px;height:110px;object-fit:contain;border-radius:8px}
.msg.row-me .bubble.is-sticker{background:transparent!important}

/* 文件消息 */
.bubble.is-file{width:200px;padding:10px 12px!important}
.file-row{display:flex;align-items:center;gap:9px}
.file-ico{width:38px;height:38px;border-radius:9px;background:linear-gradient(135deg,#4facfe,#12b7f5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex:0 0 38px}
.file-meta{min-width:0;flex:1}
.file-name{font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:132px}
.file-size{font-size:11px;color:var(--muted);margin-top:2px}
.msg.row-me .file-size{color:rgba(255,255,255,.75)}
.file-tri{margin-left:auto;font-size:18px;color:var(--muted)}

/* QQ 风格长按操作面板 */
.qq-actions{position:fixed;z-index:60;bottom:96px;left:50%;transform:translateX(-50%) translateY(8px);width:min(94vw,360px);border-radius:14px;background:rgba(38,40,46,.97);backdrop-filter:blur(18px);box-shadow:0 12px 40px rgba(0,0,0,.35);padding:10px 6px 6px;opacity:0;pointer-events:none;transition:.18s}
.qq-actions.on{opacity:1;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.qa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.qa-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px;border-radius:10px;color:#fff;font-size:11px;background:none;border:0}
.qa-item:active{background:rgba(255,255,255,.12)}
.qa-item.dis{opacity:.35}
.qa-ico{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:17px}
.qa-quote{margin:0 8px 6px;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.1);color:#dfe3ea;font-size:12px;max-height:54px;overflow:hidden;display:none}
.qa-quote.on{display:block}
.qa-quote b{color:#7fd0ff;font-weight:600}

/* 多选 */
.multicast{display:none;align-items:center;gap:10px;padding:8px 12px;background:rgba(255,255,255,.95);border-top:1px solid rgba(0,0,0,.06)}
.multicast.on{display:flex}
.multicast .mc-count{font-size:13px;color:var(--muted);margin-right:auto}
.multicast button{height:32px;padding:0 14px;border-radius:16px;border:0;font-size:13px}
.multicast .mc-del{background:#ffe8e8;color:#e53935}
.multicast .mc-fwd{background:#e8f4ff;color:#1477d1}
.multicast .mc-cancel{background:#f1f3f7;color:#555}
.msg.sel{background:rgba(18,183,245,.08)}
.msg-check{width:20px;height:20px;border-radius:50%;border:1.5px solid #c8cdd6;display:flex;align-items:center;justify-content:center;flex:0 0 20px;margin:0 4px;font-size:12px;color:#fff}
.msg-check.on{background:var(--blue);border-color:var(--blue)}

/* @ 选择器 */
.mention-bar{position:absolute;left:8px;right:8px;bottom:78px;margin-bottom:6px;max-height:220px;overflow-y:auto;background:rgba(255,255,255,.98);border-radius:12px;box-shadow:0 8px 26px rgba(0,0,0,.16);z-index:40;display:none}
.mention-bar.on{display:block}
.mn-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid rgba(0,0,0,.04)}
.mn-item:last-child{border-bottom:0}
.mn-ava{width:30px;height:30px;border-radius:50%;overflow:hidden;background:#eef2f7;display:flex;align-items:center;justify-content:center;font-size:15px}
.mn-ava img{width:100%;height:100%;object-fit:cover}
.mn-nick{font-size:14px;color:#222}
.mn-tip{padding:10px 12px;font-size:12px;color:var(--muted)}
.at-text{color:#1a8cff;font-weight:600}

/* 全服公告 / 更新弹窗（MD3 卡片，样式取自「公告弹窗」包） */
.notice-mask{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:80;display:none;align-items:center;justify-content:center;padding:16px;-webkit-tap-highlight-color:transparent}
.notice-mask.on{display:flex}
.md3-card{width:80%;max-width:360px;padding:24px 24px 16px;border-radius:28px;background:#FFFBFE;box-shadow:0 2px 6px rgba(0,0,0,.25),0 1px 3px rgba(0,0,0,.15);display:flex;flex-direction:column;gap:16px;text-align:left;animation:md3In .28s cubic-bezier(.2,0,0,1);color:#1C1B1F}
@keyframes md3In{from{opacity:0;transform:scale(.92) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
@media (orientation:landscape){.md3-card{width:70%;max-width:360px}.md3-card .card-content{max-height:24vh}}
.notice-mask .card-header{display:flex;align-items:center;gap:16px}
.notice-mask .card-icon{width:48px;height:48px;border-radius:24px;border:2px solid #6750A4;object-fit:cover;flex-shrink:0;background:#fff}
.notice-mask .card-title{font-size:18px;font-weight:600;color:#1C1B1F;word-break:break-word}
.notice-mask .support-chip{display:inline-flex;align-items:center;align-self:flex-start;height:28px;padding:0 12px;border-radius:14px;background:#E7E0EC;border:1px solid #79747E;font-size:12px;color:#49454F;letter-spacing:.03em}
.notice-mask .card-content{font-size:14px;color:rgba(0,0,0,.75);line-height:1.6;max-height:34vh;overflow-y:auto;-webkit-overflow-scrolling:touch;white-space:pre-wrap;word-break:break-word}
.notice-mask .card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.notice-mask .md3-btn{position:relative;height:40px;padding:0 20px;border-radius:20px;border:none;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;overflow:hidden;transition:background-color .2s ease,transform .1s ease;-webkit-tap-highlight-color:transparent}
.notice-mask .md3-btn:active{transform:scale(.97)}
.notice-mask .md3-btn.text{background:transparent;color:#6750A4}
.notice-mask .md3-btn.filled{background:#6750A4;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}

/* ============ 音乐播放器（无背景） ============ */
.music-shell{border:1px solid rgba(0,0,0,.06);background:#fff;border-radius:22px;padding:18px 18px 14px;box-shadow:0 12px 34px rgba(20,40,80,.08)}
.mp-main{display:flex;align-items:center;gap:14px}
.mp-cover{width:66px;height:66px;border-radius:18px;background:linear-gradient(135deg,#4facfe,#12b7f5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;flex:0 0 66px;box-shadow:0 8px 18px rgba(18,183,245,.25)}
.mp-info{flex:1;min-width:0}
.mp-title{font-size:16px;font-weight:600;color:#17202a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-artist{font-size:12px;color:#93a0b1;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-progress{margin:16px 2px 6px}
.mp-range{-webkit-appearance:none;width:100%;height:4px;border-radius:2px;background:#e6ecf5;outline:none}
.mp-range::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#12b7f5;box-shadow:0 2px 6px rgba(18,183,245,.5)}
.mp-time{display:flex;justify-content:space-between;font-size:11px;color:#9aa6b6;margin-top:6px}
.mp-ctrls{display:flex;align-items:center;justify-content:center;gap:26px;margin-top:8px}
.mp-btn{width:44px;height:44px;border-radius:50%;border:0;background:#f2f6fb;color:#33445c;font-size:16px;display:flex;align-items:center;justify-content:center}
.mp-btn.play{width:56px;height:56px;background:linear-gradient(135deg,#4facfe,#12b7f5);color:#fff;font-size:20px;box-shadow:0 8px 20px rgba(18,183,245,.32)}
.mp-btn:active{transform:scale(.94)}
.mp-vol{display:flex;align-items:center;gap:10px;margin-top:14px;padding-top:10px;border-top:1px solid rgba(0,0,0,.05);font-size:12px;color:#93a0b1}
.mp-vol .mp-range{flex:1}

/* 引用条 / @ 我的标记 / 引用消息 */
.quote-bar{display:none;align-items:center;gap:8px;padding:7px 12px;background:rgba(240,246,255,.96);border-top:1px solid rgba(18,183,245,.16)}
.quote-bar.on{display:flex}
.qb-text{flex:1;min-width:0;font-size:12.5px;color:#5c6b80;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-text b{color:#1477d1;margin-right:2px}
.quote-bar button{width:24px;height:24px;border-radius:50%;border:0;background:#e3ecf8;color:#5c6b80;font-size:14px}
.quote-in{font-size:12px;line-height:1.45;padding:6px 8px;margin-bottom:6px;border-radius:8px;background:rgba(0,0,0,.04);color:#59667a;border-left:2px solid #b7d6f2}
.msg.row-me? .quote-in{}
.msg .bubble .quote-in b{font-weight:600}
.at-me-tag{display:inline-block;font-size:11px;color:#fff;background:#ff8a3d;border-radius:4px;padding:0 4px;margin-right:4px;vertical-align:1px}

/* 动态：可见范围 / IP 属地 */
.vis-tag{display:inline-block;font-size:10px;color:#6b7c93;background:#eef3fa;border-radius:5px;padding:1px 5px;margin-left:5px;vertical-align:1px}
.moment-ip{font-size:11px;color:#9aa6b6;margin:-4px 0 8px}
.vis-pick{display:flex;gap:6px;margin-top:12px}
.vis-pick button{flex:1;height:34px;border-radius:9px;border:1px solid rgba(0,0,0,.07);background:#f6f9fd;color:#5c6b80;font-size:12px}
.vis-pick button.on{background:var(--blue);border-color:var(--blue);color:#fff}

/* 全服群标签 */
.sys-tag{background:linear-gradient(135deg,#ffd76b,#ff9f43);color:#6b4300;font-weight:700}
/* 消息 quote 在蓝色气泡里的对比 */
.msg.row-me .bubble .quote-in,.msg.mine .bubble .quote-in{background:rgba(255,255,255,.16);color:#eaf6ff;border-left-color:rgba(255,255,255,.6)}

/* ================= 字体颜色（只改文字，不动背景与主题） ================= */
html.fg-white{--text:#FFFFFF;--text-2:rgba(255,255,255,.86);--text-3:rgba(255,255,255,.66)}
html.fg-white body{text-shadow:0 1px 2px rgba(0,0,0,.45)}
html.fg-white .msg.mine .bubble,
html.fg-white .chat-name,
html.fg-white .topbar .title{text-shadow:0 1px 2px rgba(0,0,0,.45)}

/* 只改文字颜色，卡片/背景一律不动（按你的要求，白字时卡片保持原样） */

html.fg-black{--text:#0B1220;--text-2:#4E5A6B;--text-3:#7A8798}
html.fg-black body{text-shadow:none}

/* ================= 登录 / 注册页：深色皮肤 ================= */
.auth{
	background:
		radial-gradient(120% 70% at 8% -8%,rgba(18,183,245,.26),transparent 60%),
		radial-gradient(100% 60% at 100% 0%,rgba(79,123,255,.22),transparent 55%),
		linear-gradient(165deg,#0A1424,#0E1B2C 55%,#091320);
	color:#E8F1FB;
}
.auth-glow.g1{background:rgba(18,183,245,.24)}
.auth-glow.g2{background:rgba(79,123,255,.20)}
.brand h1{color:#FFFFFF;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.brand p{color:#7E93AE;letter-spacing:1.8px}
.auth-card{
	background:rgba(16,25,40,.86);
	border:1px solid rgba(255,255,255,.10);
	box-shadow:0 24px 60px rgba(0,0,0,.45);
	-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
}
.auth-tabs{gap:6px}
.auth-tab{color:#8FA3BC}
.auth-tab.on{color:#5AC8FF;background:rgba(24,160,240,.18)}
.field{background:#0D1826;border-color:#26364C}
.field:focus-within{background:#122134;border-color:rgba(24,183,245,.62);box-shadow:0 0 0 3px rgba(24,183,245,.14)}
.field .fi{color:#7FB6E8;opacity:.85}
.field input{color:#EAF2FB}
.field input::placeholder{color:#6C7C92}
.field .suffix{color:#5AC8FF}
.btn-main{color:#fff}
.auth-tip{color:#9DB1C8}
/* 可点的入口（老账号登录 / 返回）用亮青色 */
#toLegacy,#toMain{color:#5AC8FF !important;font-weight:700}
.avatar-pick .txt{color:#9DB1C8}
.avatar-pick .pick-btn{color:#5AC8FF;background:rgba(24,160,240,.18)}
.emoji-grid span{background:#0D1826;border-color:#26364C}
.emoji-grid span.on{background:#122134;border-color:#5AC8FF}
.gender-pick .gp-label{color:#8FA3BC}
.gender-pick button{background:#0D1826;border-color:#26364C;color:#C9D8E9}
.gender-pick button.on{background:#149FE8;border-color:#149FE8;color:#fff}

/* ---------------- 认证背景色（后台可设：金 > 紫 > 蓝） ---------------- */
.vbadge.vc-gold{background:linear-gradient(135deg,#FFE08A,#F5A623 60%,#D98A00);color:#3A2400;box-shadow:0 1px 3px rgba(214,150,30,.38)}
.vbadge.vc-purple{background:linear-gradient(135deg,#B06CFF,#7A5CFF);box-shadow:0 1px 3px rgba(122,92,255,.32)}
.vbadge.vc-blue{background:linear-gradient(135deg,#4EA8FF,#12B7F5);box-shadow:0 1px 3px rgba(18,183,245,.25)}

/* ---------------- 变幻名称（颜色流动） ---------------- */
/* 变幻名称：逐字实色 + 动画，不做 background-clip。
   父级 .gname 是"透明字 + 渐变裁剪"，主题下还会带白色描边，
   这两样一继承到逐字 span 上就会把字糊成白块，这里全部顶掉。 */
.gname.gflow,
html.themed .gname.gflow{
	background:none !important;background-image:none !important;
	-webkit-background-clip:border-box !important;background-clip:border-box !important;
	color:inherit !important;-webkit-text-fill-color:currentColor !important;
	-webkit-text-stroke:0 !important;text-shadow:none !important;font-weight:800;
}
.gname.gflow .gc{display:inline-block;font-style:normal;font-weight:800;-webkit-text-fill-color:currentColor !important;-webkit-text-stroke:0 !important;text-shadow:none !important;animation-duration:3.2s;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:both}
html.themed .gname.gflow .gc{-webkit-text-fill-color:currentColor !important;-webkit-text-stroke:0 !important}
@keyframes xyA_rainbow{0%{color:#FF2D55}17%{color:#FF7A00}33%{color:#FFC400}50%{color:#18C95B}67%{color:#00B8FF}83%{color:#7B5CFF}100%{color:#FF2D55}}
@keyframes xyA_neon{0%{color:#00E5FF}25%{color:#00FF9D}50%{color:#C6E800}75%{color:#FF00C8}100%{color:#00E5FF}}
@keyframes xyA_gold{0%{color:#FFB300}25%{color:#FF8A00}50%{color:#FFCB2E}75%{color:#E08A00}100%{color:#FFB300}}
@keyframes xyA_ice{0%{color:#3FB6FF}25%{color:#0E7FD4}50%{color:#5FE0FF}75%{color:#2B6CFF}100%{color:#3FB6FF}}
@keyframes xyA_sunset{0%{color:#FF4D6D}25%{color:#FF7A45}50%{color:#FF9E00}75%{color:#FF3D81}100%{color:#FF4D6D}}
@keyframes xyA_sakura{0%{color:#FF4D8D}25%{color:#FF77B4}50%{color:#FF5FA2}75%{color:#E8437F}100%{color:#FF4D8D}}
@keyframes xyA_aurora{0%{color:#00D2A8}25%{color:#00A8E8}50%{color:#7A5CFF}75%{color:#00E0B8}100%{color:#00D2A8}}
@keyframes xyA_flame{0%{color:#FF3B00}25%{color:#FF7A00}50%{color:#FFB000}75%{color:#FF2D00}100%{color:#FF3B00}}
@keyframes xyA_candy{0%{color:#FF4FA3}25%{color:#FF7A00}50%{color:#FFC400}75%{color:#00C2A8}100%{color:#FF4FA3}}
@keyframes xyA_cyber{0%{color:#00F0FF}25%{color:#FF00A8}50%{color:#7C00FF}75%{color:#00FF85}100%{color:#00F0FF}}


/* 申请认证 / 彩名 / 管理员 */
.ap-tiles{display:flex;flex-wrap:wrap;gap:8px}
.ap-tile{flex:1 1 30%;min-width:92px;padding:9px 0;border-radius:11px;text-align:center;color:#fff;font-size:12.5px;font-weight:700;background-size:100% 100%;border:2px solid transparent;text-shadow:0 1px 2px rgba(0,0,0,.22);cursor:pointer}
.ap-tile.on{border-color:#111;box-shadow:0 0 0 2px rgba(17,17,17,.12)}
.ap-tile.ganim-tile{background-size:100% 100%}
.ap-shots{display:flex;flex-wrap:wrap;gap:8px}
.ap-add{width:74px;height:74px;border-radius:12px;border:1.5px dashed #C8D3E4;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-3);font-size:17px;line-height:1.1;cursor:pointer;background:#F7FAFF}
.ap-shot{position:relative;width:74px;height:74px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.ap-shot img{width:100%;height:100%;object-fit:cover;display:block}
.ap-del{position:absolute;top:2px;right:2px;width:19px;height:19px;border-radius:50%;background:rgba(15,23,42,.62);color:#fff;font-size:13px;line-height:19px;text-align:center}
.ap-rec{padding:11px 2px;border-bottom:1px solid var(--line)}
.ap-rec:last-child{border-bottom:0}

/* ============ 视频号 ============ */
.vc-seg-btn{position:relative}
.vc-page{position:fixed;left:0;right:0;top:0;bottom:0;z-index:35;background:#000;display:flex;flex-direction:column;animation:vcIn .22s ease}
.vc-page.hide{display:none}
@keyframes vcIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.vc-top{position:absolute;left:0;right:0;top:0;z-index:3;display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,0))}
.vc-top b{flex:1;text-align:center;color:#fff;font-size:16px;letter-spacing:.5px}
.vc-top-btn{border:0;background:rgba(255,255,255,.16);color:#fff;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.vc-top-btn:first-child{font-size:18px;padding:4px 12px 6px}
.vc-feed{flex:1;overflow-y:scroll;overflow-x:hidden;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;background:#000}
.vc-item{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;background:#000;overflow:hidden}
.vc-video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
.vc-shade{position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.66));pointer-events:none}
.vc-rail{position:absolute;right:10px;bottom:132px;display:flex;flex-direction:column;align-items:center;gap:14px;z-index:2}
.vc-av{border:0;background:none;padding:0;position:relative}
.vc-av::after{content:'+';position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);width:16px;height:16px;line-height:14px;text-align:center;border-radius:50%;background:#FF2D55;color:#fff;font-size:12px;font-weight:700}
.vca{width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.85);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:20px;background:#233}
.vca img{width:100%;height:100%;object-fit:cover}
.vc-act{border:0;background:none;color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:600}
.vc-act .va-ico{font-size:24px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.45));transition:transform .12s ease}
.vc-act.on .va-ico{transform:scale(1.12)}
.vc-act.on .va-ico{filter:drop-shadow(0 0 8px rgba(255,60,110,.85))}
.vc-act .va-n{text-shadow:0 1px 3px rgba(0,0,0,.5);font-size:11.5px}
.vc-meta{position:absolute;left:0;right:64px;bottom:calc(18px + env(safe-area-inset-bottom, 0px));z-index:2;padding:0 14px;color:#fff}
.vc-author{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vc-name{border:0;background:none;padding:0;color:#fff;font-size:15px;font-weight:800;text-shadow:0 1px 4px rgba(0,0,0,.5);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vc-author .gname{font-size:15px;font-weight:800}
.vc-follow{border:0;border-radius:999px;padding:4px 10px;font-size:11.5px;font-weight:700;background:#FF2D55;color:#fff}
.vc-follow.on{background:rgba(255,255,255,.18);color:#fff}
.vc-title{font-size:13.5px;line-height:1.5;margin-top:8px;text-shadow:0 1px 3px rgba(0,0,0,.55);max-height:3em;overflow:hidden}
.vc-music{font-size:12px;opacity:.9;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vc-prog{margin-top:12px}
.vc-bar{position:relative;height:22px;display:flex;align-items:center;touch-action:none;cursor:pointer}
.vc-bar::before{content:'';position:absolute;left:0;right:0;height:3px;border-radius:3px;background:rgba(255,255,255,.4)}
.vc-fill{position:absolute;left:0;height:3px;border-radius:3px;background:#FF2D55;width:0}
.vc-dot{position:absolute;top:50%;left:0;width:14px;height:14px;margin-left:-7px;margin-top:-7px;border-radius:50%;background:#fff;box-shadow:0 0 6px rgba(0,0,0,.5)}
.vc-pline{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.vc-time{font-size:11px;opacity:.8;font-variant-numeric:tabular-nums}
.vc-speed{border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:3px 10px}
.vc-speeds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:2px 0 8px}
.vc-sp{border:0;border-radius:12px;padding:12px 0;font-size:14px;font-weight:700;background:rgba(18,183,245,.1);color:var(--text-2)}
.vc-sp.on{background:var(--brand,#12B7F5);color:#fff}
.vc-loading{color:#fff;text-align:center;padding:60px 0;font-size:13px;opacity:.85}
.vc-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:10px}
.vc-empty .ve-ico{font-size:44px}
.vc-empty p{font-size:13px;opacity:.8}
.vc-empty button{border:0;border-radius:999px;padding:9px 18px;background:#FF2D55;color:#fff;font-size:13px;font-weight:700}
.vc-tip{position:absolute;left:50%;bottom:calc(6px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);font-size:11px;color:rgba(255,255,255,.65);z-index:3;pointer-events:none}

/* 评论区 */
.vc-cmts-head{padding:0 0 8px;font-size:14px;color:var(--text-2)}
.vc-cmts{max-height:46vh;overflow-y:auto;padding-right:2px}
.vc-cmt{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid var(--line,#EEF2F8)}
.vc-cav{border:0;background:none;padding:0}
.vc-cmain{flex:1;min-width:0}
.vc-cname{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;flex-wrap:wrap}
.vc-ctime{font-weight:400;color:var(--text-3);font-size:11px;margin-left:2px}
.vc-ctext{font-size:13.5px;line-height:1.55;margin-top:4px;word-break:break-word}
.vc-cops{display:flex;gap:14px;margin-top:6px}
.vc-clike,.vc-creply{border:0;background:none;padding:0;font-size:11.5px;color:var(--text-3);font-weight:600}
.vc-clike.on{color:#FF2D55}
.vc-cempty{color:var(--text-3);font-size:13px;text-align:center;padding:26px 0}
.vc-cbar{display:flex;gap:8px;align-items:center;margin-top:10px}
.vc-cbar input{flex:1;height:38px;border-radius:12px;border:1px solid var(--line,#E3EBF6);background:var(--field,#F7FAFF);padding:0 12px;font-size:13.5px;color:var(--text-1)}
.vc-cbar button{border:0;border-radius:12px;padding:0 16px;height:38px;background:var(--brand,#12B7F5);color:#fff;font-weight:700;font-size:13px}
.vc-reply-tip{font-size:12px;color:var(--text-2);margin-top:6px}
.vc-reply-tip.hide{display:none}
.vc-reply-tip button{border:0;background:none;color:var(--brand,#12B7F5);font-size:12px;font-weight:700}

/* 主页九宫格 */
.vc-home{padding-top:2px}
.vc-hhead{display:flex;gap:12px;align-items:center;padding:4px 52px 12px 0}
.vc-hav{border:0;background:none;padding:0}
.vc-hinfo{flex:1;min-width:0}
.vc-hname{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:800;color:var(--text-1)}
.vc-hstat{font-size:11.5px;color:var(--text-3);margin-top:4px}
.vc-hpub{border:0;border-radius:999px;padding:7px 16px;background:var(--brand,#12B7F5);color:#fff;font-size:12.5px;font-weight:700}
.vc-htabs{display:flex;gap:8px;margin:2px 0 10px;flex-wrap:wrap}
.vc-htab{border:0;background:rgba(18,183,245,.1);color:var(--text-2);font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px}
.vc-htab.on{background:var(--brand,#12B7F5);color:#fff}
.vc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.vc-gitem{position:relative;padding-top:133%;border-radius:6px;overflow:hidden;background:#0E1622}
.vc-gitem img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vc-gph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px}
.vc-glike{position:absolute;left:5px;bottom:4px;color:#fff;font-size:10.5px;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.vc-gempty{grid-column:1/-1;text-align:center;color:var(--text-3);font-size:13px;padding:26px 0}

/* 发布 */
.vc-pub-pick{height:86px;border:1.5px dashed #C9D8EA;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--text-2);text-align:center;padding:0 12px;word-break:break-all}
.vc-pub-cover{margin-top:10px;height:150px;border-radius:14px;background:#0E1622 center/cover no-repeat;color:rgba(255,255,255,.7);font-size:12px;display:flex;align-items:center;justify-content:center}
#vcPubMusic,#vcPubGo{display:block;width:100%;box-sizing:border-box;margin-top:10px}
#vcPubTitle{display:block;width:100%;box-sizing:border-box;margin-top:10px}
.vc-pub-tip{font-size:12px;color:var(--text-3);margin-top:8px;text-align:center;min-height:16px}

/* 视频号里名字特效不因流畅模式消失：逐字颜色是行内色，流畅模式只是停掉动画，颜色仍在 */
html.lite .vc-page .gname.gflow .gc{-webkit-text-fill-color:currentColor !important}

/* 图文作品：左右滑动 */
.vc-imgs{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;background:#000}
.vc-imgs::-webkit-scrollbar{display:none}
.vc-img{flex:0 0 100%;scroll-snap-align:start;display:flex;align-items:center;justify-content:center;background:#000}
.vc-img img{width:100%;height:100%;object-fit:contain;display:block}
.vc-imgcount{position:absolute;right:10px;top:calc(env(safe-area-inset-top,0px) + 52px);z-index:3;color:#fff;font-size:11px;font-weight:700;background:rgba(0,0,0,.42);border-radius:999px;padding:3px 9px}
.vc-imgcount b{font-size:12.5px}
.vc-item.is-img .vc-meta{right:64px}

/* 发布：视频 / 图片切换 */
.vc-modes{display:flex;gap:8px;margin:2px 0 10px}
.vc-mode{flex:1;border:0;border-radius:12px;padding:9px 0;background:rgba(18,183,245,.1);color:var(--text-2);font-size:12.5px;font-weight:700}
.vc-mode.on{background:var(--brand,#12B7F5);color:#fff}
.vc-pub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.vc-pub-thumb{position:relative;padding-top:100%;border-radius:10px;overflow:hidden;background:#0E1622}
.vc-pub-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vc-pub-thumb button{position:absolute;right:4px;top:4px;width:20px;height:20px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:11px;line-height:20px;padding:0}
.vc-pub-add{position:relative;padding-top:100%;border:1.5px dashed #C9D8EA;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-3);font-size:22px;font-weight:700}
.vc-pub-add span{font-size:11px;font-weight:600;margin-top:2px}
.vc-pub-tip2{font-size:11.5px;color:var(--text-3);margin-top:8px}
.vc-curmusic{margin:2px 0 10px;padding:10px 12px;border-radius:12px;background:linear-gradient(120deg,rgba(18,183,245,.12),rgba(122,108,245,.12));font-size:12.5px;color:var(--text-2);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.vc-curmusic b{color:var(--text-1)}
.vc-curmusic span{color:var(--text-3);font-size:11.5px}

/* 暂停 / 删除 */
.vc-paused{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;pointer-events:none;background:rgba(0,0,0,.12)}
.vc-paused.hide{display:none}
.vc-paused span{width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.42);color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center;padding-left:3px}
.vc-del{display:inline-block;margin-top:8px;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.35);color:#fff;font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px}
.vc-gdel{position:absolute;right:4px;top:4px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:11px;line-height:22px;padding:0}
.vc-del-btns{display:flex;gap:10px}
.vc-del-btns .ubtn{flex:1}
