/* ============================================================
   Talko v6 feature styles — pink theme, auth, moments dual-mode,
   polls, jielong, mini-apps, notice. Original design.
   ============================================================ */

/* ============ themes ============ */
:root[data-theme='pink'] {
  --accent: #f0568f;
  --accent-2: #ff7ba9;
  --accent-deep: #d63d7a;
  --accent-soft: rgba(255, 123, 169, .14);
  --accent-grad: linear-gradient(135deg, #ff8fb8 0%, #ee5295 100%);
  --bg: #fbf2f6;
  --shadow-float: 0 10px 34px rgba(214, 61, 122, .24);
}
:root[data-theme='pink'] .avatar { background: linear-gradient(135deg, #ffa5c6, #ee5295); box-shadow: 0 3px 9px rgba(214,61,122,.22); }
:root[data-theme='pink'] .msg-row.mine .msg-bubble { background: var(--accent-grad); box-shadow: 0 5px 15px rgba(214,61,122,.3); }
:root[data-theme='pink'] .nav-brand { background: linear-gradient(90deg, #ff7ba9, #ee5295); -webkit-background-clip: text; background-clip: text; }
:root[data-theme='pink'] .tab.active { background: var(--accent-grad); box-shadow: 0 6px 18px rgba(214, 61, 122, .4); }
:root[data-theme='pink'] .btn-primary, :root[data-theme='pink'] .btn-send { background: var(--accent-grad); box-shadow: 0 6px 18px rgba(214,61,122,.3); }
:root[data-theme='pink'] .input:focus { border-color: #ff7ba9; box-shadow: 0 0 0 3.5px rgba(255,123,169,.16); }
:root[data-theme='pink'] .ico-teal { background: linear-gradient(145deg, #ff8fb8, #ee5295); }
:root[data-theme='pink'] .notice-bar { border-color: #ff9dc2; }

/* ============ auth (aurora + glass) ============ */
.login-view {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(168deg, #0d2e36 0%, #087c86 46%, #04262e 100%);
}
.login-view::before, .login-view::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(74px); opacity: .5;
  pointer-events: none; animation: drift 15s ease-in-out infinite alternate;
}
.login-view::before { width: 350px; height: 350px; left: -120px; top: -90px;
  background: radial-gradient(circle, #2fd9c8, transparent 70%); }
.login-view::after { width: 400px; height: 400px; right: -140px; bottom: -130px;
  background: radial-gradient(circle, #1290a8, transparent 70%); animation-delay: -7.5s; }
:root[data-theme='pink'] .login-view { background: linear-gradient(168deg, #43142c 0%, #b3346f 46%, #4e1330 100%); }
:root[data-theme='pink'] .login-view::before { background: radial-gradient(circle, #ff9dc2, transparent 70%); }
:root[data-theme='pink'] .login-view::after { background: radial-gradient(circle, #f0568f, transparent 70%); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, 34px) scale(1.18); } }

.login-logo {
  width: 92px; height: 92px; border-radius: 28px; margin-bottom: 14px; position: relative; z-index: 2;
  background: linear-gradient(145deg, #3fe0d0, #12a5b0);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 48px rgba(2, 40, 46, .55), inset 0 2px 8px rgba(255,255,255,.4);
  animation: floatY 4.5s ease-in-out infinite;
}
:root[data-theme='pink'] .login-logo { background: linear-gradient(145deg, #ffb3cd, #ee5295); box-shadow: 0 18px 48px rgba(80, 8, 40, .5), inset 0 2px 8px rgba(255,255,255,.4); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.login-title { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: 3.5px; z-index: 2;
  text-shadow: 0 3px 18px rgba(0,0,0,.4); }
.login-slogan { color: rgba(255,255,255,.7); font-size: 13px; margin: 8px 0 28px; z-index: 2; letter-spacing: 1px; }
.auth-card, .login-card {
  width: 100%; max-width: 350px; border-radius: 24px; padding: 26px 22px; z-index: 2;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 26px 70px rgba(2, 40, 46, .45);
  animation: fadeUp .45s ease;
}
:root[data-theme='pink'] .auth-card, :root[data-theme='pink'] .login-card { box-shadow: 0 26px 70px rgba(80, 8, 40, .45); }
.auth-card .field, .login-card .field { margin-bottom: 13px; }
.auth-card .input, .login-card .input { width: 100%; background: rgba(255,255,255,.92); }
.auth-alt { text-align: center; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.75); }
.login-card .auth-alt { color: var(--text-2); }
.auth-alt a { color: #fff; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.login-card .auth-alt a { color: var(--accent); text-decoration: none; }
#authSubmit { width: 100%; }

.gender-row { display: flex; gap: 12px; margin-bottom: 16px; }
.gender-card {
  flex: 1; border: 2px solid transparent; border-radius: 17px; padding: 15px 8px;
  text-align: center; cursor: pointer; background: rgba(240, 244, 246, .95); transition: all .18s;
}
.gender-card svg { width: 37px; height: 37px; display: block; margin: 0 auto 7px; }
.gender-card span { display: block; font-size: 13.5px; color: var(--text-2); font-weight: 700; }
.gender-card.male svg { color: #16b8bd; }
.gender-card.female svg { color: #ff7ba9; }
.gender-card.sel { transform: translateY(-3px); }
.gender-card.sel.male { border-color: #16b8bd; background: var(--accent-soft); box-shadow: 0 6px 16px rgba(10,109,117,.18); }
.gender-card.sel.female { border-color: #ff7ba9; background: #ffe8f1; box-shadow: 0 6px 16px rgba(214,61,122,.18); }

.uid-field { position: relative; }
.uid-field .input { padding-right: 50px; }
.uid-dice { position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  border: none; background: none; width: 34px; height: 34px; color: var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.uid-dice svg { width: 21px; height: 21px; }
.uid-dice:active { background: var(--accent-soft); }

/* ============ fullpage + fnav ============ */
.fullpage { position: fixed; inset: 0; background: var(--bg); z-index: 20;
  display: flex; flex-direction: column; overflow: hidden; animation: fadeUp .2s ease; }
.fnav { height: calc(var(--nav-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0;
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.86);
  backdrop-filter: blur(20px) saturate(160%); border-bottom: .5px solid var(--line); position: sticky; top: 0; z-index: 6; }
.bar-action { margin-left: auto; border: none; color: #fff; font-size: 13px; font-weight: 700;
  background: var(--accent-grad); border-radius: 999px; padding: 8px 15px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 140, 150, .3); transition: transform .13s; }
.bar-action:active { transform: scale(.94); }
.bar-mode { display: flex; background: rgba(120,130,140,.12); border-radius: 999px; padding: 3px; margin-left: 4px; }
.mode-btn { border: none; background: transparent; padding: 6.5px 15px; font-size: 13px;
  border-radius: 999px; color: var(--text-2); cursor: pointer; font-weight: 600; transition: all .16s; }
.mode-btn.active { background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 2px 8px rgba(15,40,50,.14); }

/* ============ 朋友圈 · 瀑布流 ============ */
.masonry { flex: 1; overflow-y: auto; padding: 13px; column-count: 2; column-gap: 11px; }
.m-card {
  break-inside: avoid; margin-bottom: 11px; background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-1); cursor: pointer; transition: transform .14s;
  animation: fadeUp .26s ease both;
}
.m-card:active { transform: scale(.975); }
.m-card img { width: 100%; display: block; }
.m-card .m-text { padding: 10px 13px 5px; font-size: 14px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.m-card .m-meta { display: flex; align-items: center; gap: 7px; padding: 8px 13px 12px;
  font-size: 11.5px; color: var(--text-2); }
.m-card .m-meta .m-name { color: var(--accent); font-weight: 700; }
.m-card .m-meta .spacer { flex: 1; }
.m-ico-mini { display: inline-flex; align-items: center; gap: 3.5px; }
.m-ico-mini svg { width: 13.5px; height: 13.5px; }
.m-only-text .m-text { -webkit-line-clamp: 12; font-size: 15px; }

/* ============ 朋友圈 · 沉浸刷 ============ */
.feed { flex: 1; overflow-y: auto; scroll-snap-type: y mandatory; background: #000; }
.feed-card {
  height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
}
.feed-card .f-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed-card .f-plain { position: absolute; inset: 0; }
.feed-card .f-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.14) 34%, rgba(0,0,0,.68)); }
.feed-card .f-content { position: relative; z-index: 2; color: #fff; padding: 0 78px 96px 20px; width: 100%; }
.feed-card .f-author { font-weight: 800; font-size: 16.5px; margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.feed-card .f-text { font-size: 15px; line-height: 1.55; white-space: pre-wrap;
  text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.feed-card .f-time { font-size: 11.5px; opacity: .75; margin-top: 9px; }
.feed-card .f-actions { position: absolute; right: 13px; bottom: 104px; z-index: 3;
  display: flex; flex-direction: column; gap: 19px; align-items: center; }
.feed-card .f-act { display: flex; flex-direction: column; align-items: center; gap: 4.5px;
  font-size: 12px; font-weight: 700; background: rgba(255,255,255,.15); border: none; color: #fff; cursor: pointer;
  padding: 9.5px 12px; border-radius: 999px; backdrop-filter: blur(10px); transition: transform .14s, background .14s; }
.feed-card .f-act:active { transform: scale(1.16); }
.feed-card .f-act .ico { display: flex; }
.feed-card .f-act .ico svg { width: 25px; height: 25px; }
.feed-card .f-act.liked { background: rgba(250, 81, 81, .32); }
.feed-card .f-act.liked .ico { color: #ff5e7d; animation: heartPop .32s ease; }
@keyframes heartPop { 0% { transform: scale(.5); } 60% { transform: scale(1.45); } 100% { transform: scale(1); } }
.feed-hint { position: absolute; top: 74px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.6); font-size: 12px; z-index: 3; pointer-events: none; letter-spacing: 1px; }

/* ============ 动态详情 / 评论 ============ */
.moment-detail img.wide { width: 100%; border-radius: 14px; margin: 9px 0; display: block; cursor: zoom-in; }
.comment-row { display: flex; gap: 8px; padding: 10px 0; border-top: .5px solid var(--line);
  font-size: 14px; align-items: baseline; }
.comment-row .c-name { color: var(--accent); font-weight: 700; flex: none; }
.comment-row .c-time { margin-left: auto; color: var(--text-2); font-size: 11px; flex: none; }
.comment-input-row { display: flex; gap: 8px; margin-top: 13px; }
.comment-input-row .input { flex: 1; }

/* ============ composer ============ */
.composer textarea { width: 100%; min-height: 114px; border: 1.2px solid transparent;
  border-radius: var(--r-md); padding: 13px; font-size: 15.5px; resize: none;
  background: #eef0f4; outline: none; font-family: inherit; transition: border .15s, background .15s; }
.composer textarea:focus { border-color: var(--accent-2); background: #fff; }
.img-pick-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.img-thumb { width: 76px; height: 76px; border-radius: 13px; object-fit: cover; }
.img-add { width: 76px; height: 76px; border-radius: 13px; border: 1.7px dashed #c6cdd3; background: #eef0f4;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #98a1ac; }
.img-add svg { width: 27px; height: 27px; }

/* ============ profile card ============ */
.profile-hero { display: flex; gap: 16px; align-items: center; padding: 6px 2px 16px; }
.profile-hero .avatar { width: 72px; height: 72px; border-radius: 22px; font-size: 30px; }
.profile-actions { display: flex; gap: 10px; margin-top: 15px; }
.profile-actions .btn-primary { flex: 1; padding: 12.5px; }
.profile-actions .btn-mini { padding: 12.5px 16px; }

/* ============ channels ============ */
.channel-list { flex: 1; overflow-y: auto; padding: 13px; }
.channel-card { background: var(--card); border-radius: var(--r-lg); padding: 14px; margin-bottom: 11px;
  display: flex; gap: 13px; align-items: center; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .13s; }
.channel-card:active { transform: scale(.98); }
.channel-card .ch-logo { width: 50px; height: 50px; border-radius: 15px; flex: none;
  background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; box-shadow: 0 4px 11px rgba(0,120,130,.25); }
.channel-card .ch-name { font-weight: 700; font-size: 15.5px; }
.channel-card .ch-bio { font-size: 12.5px; color: var(--text-2); margin-top: 2.5px; }
.channel-card .ch-subs { margin-left: auto; text-align: right; font-size: 11.5px; color: var(--text-2); flex: none; }
.ch-post { background: var(--card); border-radius: var(--r-lg); padding: 14px; margin-bottom: 11px; box-shadow: var(--shadow-1); }
.ch-post .p-author { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.ch-post .p-time { font-size: 11px; color: var(--text-2); margin-left: 8px; }
.ch-post img { width: 100%; border-radius: 12px; margin-top: 9px; }

/* ============ nearby ============ */
.nearby-body { flex: 1; overflow-y: auto; padding: 13px; }
.nearby-tip { font-size: 12.5px; color: var(--text-2); padding: 4px 4px 11px; }
.nearby-card { background: var(--card); border-radius: var(--r-lg); padding: 13px 14px; margin-bottom: 11px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-1); }
.nearby-card .n-dist { margin-left: auto; text-align: right; flex: none; font-size: 12px;
  color: var(--accent); font-weight: 800; }
.nearby-card .n-btns { display: flex; flex-direction: column; gap: 6px; }

/* ============ group info ============ */
.member-grid { display: flex; flex-wrap: wrap; gap: 11px; padding: 9px 2px 15px; }
.member-cell { width: 58px; text-align: center; font-size: 11px; color: var(--text-2); }
.member-cell .avatar { width: 50px; height: 50px; margin: 0 auto 4px; border-radius: 16px; }
.member-cell.add { cursor: pointer; }
.member-cell.add .avatar { background: #f0f2f4; color: #98a1ac; font-size: 23px; box-shadow: none; }
.group-ops .cell { justify-content: space-between; }

/* ============ poll & jielong ============ */
.poll-opt { display: flex; align-items: center; gap: 9px; padding: 11.5px 13px;
  border: 1.5px solid var(--line); border-radius: 13px; margin-bottom: 8px; cursor: pointer;
  position: relative; overflow: hidden; transition: border .14s, background .14s; }
.poll-opt.sel { border-color: var(--accent-2); background: var(--accent-soft); }
.poll-opt .bar { position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent-soft); z-index: 0; opacity: .85; transition: width .3s ease; }
.poll-opt .o-label { position: relative; z-index: 1; flex: 1; }
.poll-opt .o-count { position: relative; z-index: 1; font-size: 12px; color: var(--text-2); }
.jielong-entry { display: flex; gap: 8px; padding: 10px 0; border-top: 1px dashed var(--line);
  font-size: 14.5px; align-items: baseline; }
.jielong-entry .j-idx { color: var(--accent); font-weight: 800; flex: none; }
.jielong-entry .j-time { margin-left: auto; color: var(--text-2); font-size: 11px; flex: none; }

/* ============ notice bar ============ */
.notice-bar { display: flex; align-items: center; gap: 9px; margin: 10px 12px 0;
  background: linear-gradient(90deg, var(--accent-soft), rgba(255,255,255,.55));
  border: 1px solid var(--accent-2); border-radius: 15px; padding: 10px 13px; font-size: 13px;
  animation: fadeUp .25s ease; }
:root[data-mode='dark'] .notice-bar { background: rgba(0,194,184,.08); }
.notice-bar .nb-tag { background: var(--accent-grad); color: #fff; font-size: 10.5px; font-weight: 800;
  border-radius: 7px; padding: 3px 8px; flex: none; }
.notice-bar .nb-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-bar .nb-x { border: none; background: none; color: var(--text-2); font-size: 14px; flex: none; }

/* ============ add friend / mini apps / workspace ============ */
.af-body { padding: 15px; }
.af-search-row { display: flex; gap: 9px; margin-bottom: 9px; }
.af-search-row .input { flex: 1; }
.af-tip { font-size: 12px; color: var(--text-2); padding: 10px 4px; text-align: center; }
.mini-body { flex: 1; overflow-y: auto; padding: 13px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { background: var(--card); border-radius: var(--r-lg); padding: 19px 15px;
  cursor: pointer; box-shadow: var(--shadow-1); transition: transform .13s; }
.mini-card:active { transform: scale(.97); }
.mini-card.dim { opacity: .55; }
.mini-ico { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; color: #fff; margin-bottom: 10px; }
.mini-ico svg { width: 22px; height: 22px; }
.mini-card b { font-size: 15.5px; display: block; }
.mini-card .wx-sub { margin-top: 3px; }
.work-hero { display: flex; gap: 14px; align-items: center; background: var(--card);
  border-radius: var(--r-lg); padding: 17px; margin-bottom: 12px; box-shadow: var(--shadow-1); }
.work-hero svg { width: 42px; height: 42px; color: var(--accent); flex: none; }
.feature-note { font-size: 12px; color: var(--text-2); padding: 13px 20px; text-align: center; letter-spacing: .5px; }
.theme-picker { display: flex; gap: 6px; }
.theme-picker .btn-mini.on { background: var(--accent-grad); color: #fff; border-color: transparent; }
#walkaway, .settings-cell { }

/* ============ calculator & dice ============ */
.calc-screen { background: var(--card); border-radius: var(--r-md); padding: 17px;
  font-size: 27px; font-weight: 800; text-align: right; margin-bottom: 10px;
  min-height: 60px; word-break: break-all; box-shadow: var(--shadow-1); }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.calc-key { padding: 14.5px 0; font-size: 17.5px; border: none; border-radius: 13px;
  background: var(--card); color: var(--text); cursor: pointer; box-shadow: var(--shadow-1);
  transition: transform .1s; }
.calc-key:active { transform: scale(.94); background: var(--accent-soft); }
.calc-key.eq { background: var(--accent-grad); color: #fff; }
.dice-face { font-size: 80px; transition: transform .2s; line-height: 1.1; display: inline-block; }

/* ============ discover cells helpers ============ */
.cell { justify-content: space-between; }
.wx-group .cell { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.wx-group .cell + .cell { border-top: .5px solid var(--line); }
.wx-group .cell > span:first-child { flex: 1; font-size: 15.5px; font-weight: 500; }

/* v6.1 — 会话置顶/长按菜单/时间分割线 */
.msg-time { text-align: center; font-size: 11.5px; color: var(--text-2);
  background: rgba(120, 130, 140, .1); border-radius: 999px; padding: 4.5px 14px;
  margin: 4px auto 13px; max-width: 60%; width: fit-content; }
.list li.sticky { background: linear-gradient(90deg, var(--accent-soft), transparent 60%); }
.act-row { display: block; width: 100%; border: none; background: #f4f5f7; color: var(--text);
  padding: 15px; border-radius: 13px; font-size: 15.5px; font-weight: 600; margin-bottom: 9px; cursor: pointer; }
.act-row:active { background: var(--accent-soft); }
.act-row.danger { color: var(--danger); }

/* v6.2 — extras: 引用/拍一拍/收藏/群公告/搜索 */
.quote-block { border-left: 3px solid var(--accent-2); background: rgba(120, 130, 140, .1);
  border-radius: 8px; padding: 6px 9px; font-size: 12.5px; color: inherit; opacity: .75;
  margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-row.mine .quote-block { background: rgba(255, 255, 255, .18); }
.msg-pat { color: var(--accent); font-weight: 600; }
.reply-bar { display: flex; align-items: center; gap: 9px; padding: 8px 14px;
  background: var(--accent-soft); border-top: .5px solid var(--line); }
.reply-bar .rb-tag { background: var(--accent-grad); color: #fff; font-size: 10.5px;
  font-weight: 700; border-radius: 6px; padding: 2.5px 7px; flex: none; }
.reply-bar .rb-text { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-bar .rb-x { border: none; background: none; color: var(--text-2); font-size: 14px; flex: none; }
.gav { width: 100% !important; height: 100% !important; border-radius: 3px !important;
  font-size: 10px !important; box-shadow: none !important; }
.btn-mini.danger { color: var(--danger); border-color: var(--danger); }

/* v6.4 — 语音/位置/名片消息 + @高亮 + 录音态 */
.voice-bubble { display: flex; align-items: center; gap: 8px; min-width: 96px; cursor: pointer; }
.voice-bubble .vb-ico { display: flex; width: 20px; height: 20px; }
.voice-bubble .vb-ico svg { width: 20px; height: 20px; }
.voice-bubble.playing { opacity: .65; }
.loc-bubble { cursor: pointer; min-width: 150px; }
.loc-bubble .loc-label { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.loc-bubble .loc-label svg { width: 16px; height: 16px; color: var(--accent); }
.loc-bubble .loc-geo { font-size: 11.5px; color: var(--text-2); margin-top: 4px; }
.card-bubble { cursor: pointer; min-width: 150px; }
.card-bubble .card-cap { font-size: 11px; color: var(--text-2); letter-spacing: 1px; }
.card-bubble .card-uid { font-weight: 700; font-size: 15px; margin-top: 4px; color: var(--accent); }
.at-hl { color: var(--accent); font-weight: 700; }
.input-extra.recording { color: var(--danger); animation: recPulse 1s ease-in-out infinite; }
@keyframes recPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.msg-row.mine .loc-bubble .loc-label svg, .msg-row.mine .loc-bubble .loc-geo { color: rgba(255,255,255,.9); }

/* v8 — 情侣头像框/标签 + 深色对比修复 */
.av-couple-wrap { position: relative; display: inline-flex; flex: none; }
.av-couple-wrap .av-couple { border: 2.5px solid #ff7ba9 !important; box-shadow: 0 0 0 2px rgba(255,123,169,.25) !important; }
.av-heart { position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg,#ff9dc2,#ee5295); color: #fff; font-size: 10px; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(214,61,122,.4); font-style: normal; }
.couple-chip { font-size: 10.5px; color: #fff; background: linear-gradient(135deg,#ff9dc2,#ee5295);
  padding: 2px 8px; border-radius: 999px; vertical-align: 2px; font-weight: 700; }
.couple-row { background: rgba(255,123,169,.1); border: 1px solid rgba(255,123,169,.35);
  border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 13.5px; display: flex;
  align-items: center; gap: 8px; flex-wrap: wrap; }
:root[data-mode='dark'] .couple-row { background: rgba(255,123,169,.12); }
:root[data-mode='dark'] .fnav { background: rgba(22,24,27,.95) !important; }
:root[data-mode='dark'] .moments-bar { background: rgba(22,24,27,.95) !important; }
:root[data-mode='dark'] .fnav .chat-title, :root[data-mode='dark'] .moments-bar .chat-title { color: #eef2f5; }
:root[data-mode='dark'] .mode-btn { color: #9aa2ab; }
:root[data-mode='dark'] .mode-btn.active { background: #3a4149; color: #7de3c9; }
:root[data-mode='dark'] .bar-mode { background: rgba(255,255,255,.09); }
:root[data-mode='dark'] .empty svg { opacity: .8; color: #5c666e; }
:root[data-mode='dark'] .tab i, :root[data-mode='dark'] .tab svg { color: #8b939c; }
:root[data-mode='dark'] .tab.active i, :root[data-mode='dark'] .tab.active svg { color: #07c160; }

/* v9 — 二维码名片 / 扫一扫 / 表情墙 */
.qr-box { text-align: center; padding: 26px 16px; }
.qr-box canvas { border-radius: 16px; box-shadow: var(--shadow-1); background: #fff; padding: 6px; }
.qr-name { font-size: 18px; font-weight: 700; margin-top: 14px; }
.qr-uid { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.scan-wrap { position: relative; height: 100%; min-height: 70vh; background: #000; display: flex; flex-direction: column; }
.scan-wrap video { flex: 1; width: 100%; object-fit: cover; }
.scan-frame { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); width: 62vw; height: 62vw; max-width: 280px;
  max-height: 280px; border: 3px solid #7de3c9; border-radius: 20px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); }
.scan-tip { position: absolute; bottom: 22%; left: 0; right: 0; text-align: center; color: #fff; font-size: 13.5px; }
.scan-manual { display: flex; gap: 8px; padding: 12px; background: rgba(0,0,0,.7); }
.scan-manual .input { flex: 1; background: rgba(255,255,255,.12); color: #fff; }
.sticker-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px; }
.sticker-cell { font-size: 26px; background: var(--card); border: none; border-radius: 12px; padding: 8px 0;
  cursor: pointer; box-shadow: var(--shadow-1); }
.sticker-cell:active { background: var(--accent-soft); transform: scale(.92); }
/* v9.1 — 底栏层级提升（全屏页上可直接切页）+ 细节打磨 */
.tabbar { z-index: 45 !important; }
.tab { -webkit-tap-highlight-color: transparent; }
.wx-cell:active, .list li:active { transition: background .08s; }
.fnav { box-shadow: 0 1px 0 rgba(0,0,0,.04); }

/* v9.2 — ActionSheet 样式（修复长按菜单看不清）/ 深色 act-row */
.as-item { display:block; width:100%; padding:15px; font-size:16px; font-weight:600; background:var(--card); color:var(--text); border:none; border-radius:13px; margin-bottom:9px; cursor:pointer; text-align:center; }
.as-item:active { background:var(--accent-soft); }
.as-item.danger { color:var(--danger); }
.as-item.as-cancel { background:rgba(120,130,140,.14); color:var(--text-2); font-weight:500; }
:root[data-mode='dark'] .as-item { background:#242a31; color:#eef2f5; }
:root[data-mode='dark'] .as-item.as-cancel { background:#2a3138; color:#9aa2ab; }
:root[data-mode='dark'] .act-row { background:#242a31; color:#eef2f5; }
:root[data-mode='dark'] .act-row.danger { color:#ff6b6b; }
:root[data-mode='dark'] .img-add { background:#1f242a; border-color:#3a4149; }

/* v9.3 — 下拉面板 / 猜拳 / 情侣横幅 */
.pull-panel { display:none; margin:8px 12px 0; background:var(--card); border-radius:16px; padding:12px; box-shadow:var(--shadow-1); }
.pull-panel.open { display:block; animation:fadeUp .2s ease; }
.pp-label { font-size:12px; color:var(--text-2); margin:4px 4px 8px; }
.pp-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:8px; }
.pp-item { display:flex; flex-direction:column; align-items:center; gap:5px; padding:8px 0; cursor:pointer; border-radius:12px; }
.pp-item:active { background:var(--accent-soft); }
.pp-item i { font-style:normal; font-size:11px; color:var(--text-2); }
.pp-hint { text-align:center; font-size:11px; color:var(--text-2); padding-top:2px; }
.rps-row { display:flex; gap:10px; }
.rps-btn { flex:1; padding:16px 0; font-size:16px; font-weight:700; border:none; border-radius:14px; background:var(--card); color:var(--text); box-shadow:var(--shadow-1); cursor:pointer; }
.rps-btn:active { background:var(--accent-soft); }
.couple-ask { display:flex; align-items:center; gap:8px; margin:6px 12px 0; padding:9px 12px; background:rgba(255,123,169,.12); border:1px solid rgba(255,123,169,.4); border-radius:13px; font-size:13px; }
.couple-ask span { flex:1; display:flex; align-items:center; gap:5px; }
.couple-ask svg { width:13px; height:13px; color:#ee5295; }
#btnCoupleBar.on { color:#ee5295; }
:root[data-mode='dark'] .rps-btn { background:#242a31; }
:root[data-mode='dark'] .pull-panel { background:var(--card); }

/* v9.4 — 聊天信息页/开关/公告编辑器/语音提示 */
.ci-avatars { display:flex; gap:14px; padding:16px 14px; background:var(--card); margin-bottom:8px; }
.ci-cell { display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; }
.ci-av { width:56px !important; height:56px !important; border-radius:14px !important; font-size:22px; }
.ci-cell i { font-style:normal; font-size:11px; color:var(--text-2); max-width:64px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ci-add { width:56px; height:56px; border-radius:14px; border:1.6px dashed #c3c9cf; display:flex; align-items:center; justify-content:center; font-size:24px; color:#98a1ac; }
.switch { width:48px; height:28px; border-radius:999px; background:rgba(120,130,140,.35); position:relative; transition:background .2s; flex:none; cursor:pointer; }
.switch::after { content:''; position:absolute; top:2px; left:2px; width:24px; height:24px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.25); transition:left .2s; }
.switch.on { background:#07c160; }
.switch.on::after { left:22px; }
.ann-text { width:100%; min-height:220px; border:none; background:var(--card); border-radius:14px; padding:14px; font-size:15px; line-height:1.7; color:var(--text); resize:vertical; outline:none; }
.ann-tools { display:flex; gap:9px; margin-top:10px; }
.voice-hint { position:absolute; bottom:84px; left:50%; transform:translateX(-50%); background:rgba(24,30,36,.9); color:#fff; font-size:13px; padding:9px 18px; border-radius:999px; z-index:30; }
.input-extra.recording { color:var(--danger); animation:recPulse 1s infinite; }

.flash-row .msg-bubble { animation: flashHl 1.6s ease; }
@keyframes flashHl { 0%,60% { background-color: rgba(255,193,7,.45); } 100% { background-color: transparent; } }
.msg-list[style*=url] .msg-bubble { box-shadow: 0 1px 4px rgba(0,0,0,.18); }

/* v9.5 — 群通话条 / 群二维码风格 */
.gcall-bar { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(84px + env(safe-area-inset-bottom)); z-index:44; display:flex; align-items:center; gap:10px; background:rgba(24,30,36,.92); color:#fff; border-radius:999px; padding:9px 14px; box-shadow:0 10px 30px rgba(0,0,0,.35); font-size:13.5px; }
.gc-dot { width:9px; height:9px; border-radius:50%; background:#07c160; animation:recPulse 1.2s infinite; }
.gcall-bar .btn-mini { border-color:#5a6a72; color:#e8eef1; background:transparent; }
.gcall-bar .btn-mini.danger { border-color:#ff6b6b; color:#ff6b6b; }
@media (min-width:960px) { .gcall-bar { left: calc(50% + 240px); } }

/* v9.6 - @提及 / 多选转发 / 群二维码 */
.at-me-tag { color:#fa5151; font-weight:600; }
.at-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(74px,1fr)); gap:10px; padding:6px 2px 12px; }
.at-cell { display:flex; flex-direction:column; align-items:center; gap:5px; font-size:12px; color:var(--text-2); cursor:pointer; }
.at-cell .avatar { width:46px; height:46px; border-radius:50%; }
.at-cell span { max-width:70px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-hl { color:#576b95; }
.ms-bar { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(74px + env(safe-area-inset-bottom)); z-index:46; display:flex; align-items:center; gap:9px; background:rgba(28,34,40,.94); color:#fff; border-radius:999px; padding:9px 15px; box-shadow:0 10px 30px rgba(0,0,0,.35); font-size:13.5px; }
.ms-bar .btn-mini { background:transparent; border:1px solid #6b7a82; color:#eef3f5; }
.ms-bar .btn-mini.danger { border-color:#ff6b6b; color:#ff6b6b; }
#msgList.ms-mode .msg-row { cursor:pointer; }
#msgList.ms-mode .msg-row::after { content:"; position:absolute; right:6px; top:50%; width:16px; height:16px; margin-top:-8px; border:1.5px solid rgba(140,150,160,.7); border-radius:50%; }
#msgList.ms-mode .msg-row.ms-sel::after { background:#07c160; border-color:#07c160; box-shadow:inset 0 0 0 3px #fff; }
.msg-row { position:relative; }
.fwd-tabs { display:flex; gap:8px; margin:4px 0 10px; }
.fwd-tab { flex:1; padding:8px 0; border:none; background:var(--card); color:var(--text-2); border-radius:9px; font-size:13.5px; }
.fwd-tab.active { background:#07c160; color:#fff; }
.fwd-list { max-height:46vh; overflow:auto; }
.fwd-item { display:flex; align-items:center; gap:10px; padding:11px 4px; border-bottom:1px solid var(--line); font-size:14.5px; }
.fwd-item.on { color:#07c160; font-weight:600; }
@media (min-width:960px) { .ms-bar { left:calc(50% + 240px); } }

/* v9.7 - 正在输入 / 引用跳转 */
.typing-bar { padding:6px 16px 4px; font-size:12.5px; color:var(--text-2); }
.typing-bar::after { content:"; display:inline-block; width:6px; height:6px; margin-left:5px; border-radius:50%; background:#07c160; animation:recPulse 1.2s infinite; vertical-align:middle; }
.quote-block.quote-jump { cursor:pointer; }
.msg-bubble.flash-hl { animation:flashHl 1.6s ease; }
@keyframes flashHl { 0%,60% { background-color:rgba(255,193,7,.45); } 100% { background-color:transparent; } }
.fwd-tabs .fwd-tab { cursor:pointer; }

/* v9.8 - 通话/录音可用性打磨 */
.call-controls { padding-bottom: calc(26px + env(safe-area-inset-bottom)) !important; }
.call-ctl { min-width: 68px; }
.call-ctl i { letter-spacing: .5px; }
#btnHangup { transform: scale(1.06); }
#btnVoice.will-cancel { background: #fa5151 !important; color: #fff !important; }
#btnVoice.recording { background: #07c160 !important; color: #fff !important; }
.voice-hint { bottom: 96px !important; font-variant-numeric: tabular-nums; }
.chat-input-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important; }

/* v10.0 UI 打磨批次一：通话页 + 聊天气泡 + 底部栏 */
.call-overlay { background: radial-gradient(120% 80% at 50% 0%, #14343a 0%, #0a1418 55%, #060c0f 100%) !important; }
.call-avatar { width: 132px !important; height: 132px !important; border-radius: 50%; box-shadow: 0 0 0 8px rgba(7,193,96,.10), 0 0 0 20px rgba(7,193,96,.05); animation: callPulse 2.6s ease-in-out infinite; }
@keyframes callPulse { 0%,100% { box-shadow: 0 0 0 8px rgba(7,193,96,.10), 0 0 0 20px rgba(7,193,96,.05); } 50% { box-shadow: 0 0 0 12px rgba(7,193,96,.16), 0 0 0 28px rgba(7,193,96,.07); } }
.call-status { font-size: 15px !important; letter-spacing: .6px; color: rgba(255,255,255,.82) !important; }
.call-ctl { width: 66px !important; height: 66px !important; border-radius: 50% !important; backdrop-filter: blur(6px); }
.call-ctl span { font-size: 24px !important; }
.call-ctl.danger { box-shadow: 0 8px 22px rgba(250,81,81,.35); }
.ring-overlay { background: radial-gradient(120% 80% at 50% 0%, #14343a 0%, #0a1418 60%) !important; }
.ring-avatar .avatar, .ring-avatar img { width: 120px !important; height: 120px !important; border-radius: 50%; }
.msg-bubble { border-radius: 16px !important; padding: 10px 14px !important; line-height: 1.55 !important; }
.msg-bubble-img { padding: 3px !important; border-radius: 14px !important; overflow: hidden; }
.msg-img { border-radius: 12px !important; }
.msg-row { margin-bottom: 4px; }
.sender { font-size: 12px !important; color: var(--text-2) !important; margin-bottom: 3px; }
.msg-list { padding: 12px 14px 18px !important; }
.tabbar { backdrop-filter: blur(18px) saturate(160%); background: color-mix(in srgb, var(--card) 88%, transparent) !important; }

/* v10.1 UI 打磨批次二：列表细节 / 输入栏 / 空状态 / 对比度 */
.msg-list { scroll-behavior: smooth; }
.msg-divider { display:flex; align-items:center; justify-content:center; margin:14px 0 10px; }
.msg-divider span { font-size:11.5px; color:var(--text-3); background:color-mix(in srgb, var(--bg) 70%, transparent); border-radius:999px; padding:3px 10px; }
.msg-row.continue .avatar { visibility:hidden; }
.msg-row.continue .sender { display:none; }
.msg-row.continue { margin-top:-2px; }
.msg-row .msg-col { max-width: min(74vw, 430px); }
.voice-bubble { min-width:86px; display:inline-flex; align-items:center; gap:7px; }
.voice-bubble .vb-ico { display:inline-flex; opacity:.85; }
.voice-bubble.playing .vb-ico { animation: vbSpin 1.1s linear infinite; }
@keyframes vbSpin { to { transform: rotate(360deg); } }
.chat-input-bar { background:color-mix(in srgb, var(--card) 94%, transparent); border-top:1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.chat-input-bar input { transition: background .2s ease, box-shadow .2s ease; }
.chat-input-bar input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.input-extra { transition: transform .12s ease, color .2s ease; }
.input-extra:active { transform: scale(.9); }
.empty { color: var(--text-2); }
.empty-sub { color: var(--text-3); font-size:12.5px; }
.typing-bar { background: color-mix(in srgb, var(--card) 70%, transparent); border-radius: 12px; margin: 0 12px 6px; padding: 7px 12px; }
.at-me-tag { font-size:11.5px; padding:1px 6px; border-radius:6px; background:color-mix(in srgb, #fa5151 12%, transparent); }
.badge { font-variant-numeric: tabular-nums; }

/* v10.2 UI 打磨批次三：发现/我的/资料卡片 */
.me-hero { border-radius: 22px !important; overflow: hidden; position: relative; }
.me-hero::after { content: ""; position:absolute; inset:0; background: linear-gradient(160deg, rgba(10,109,117,.10), transparent 60%); pointer-events:none; }
.me-name { font-size: 20px !important; font-weight: 750 !important; letter-spacing:.3px; }
.me-uid { font-size:12.5px; color: var(--text-2); }
.me-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.me-grid .cell { flex-direction: column !important; align-items:center; justify-content:center; gap:6px; padding: 13px 4px !important; border-radius: 16px !important; background: color-mix(in srgb, var(--card) 92%, transparent); }
.me-grid .cell span:first-child { font-size: 22px !important; color: var(--accent); }
.me-grid .cell-sub { font-size: 11.5px !important; }
.disc-card { border-radius: 18px !important; box-shadow: 0 2px 10px rgba(15,40,50,.06); transition: transform .14s ease, box-shadow .2s ease; }
.disc-card:active { transform: scale(.985); }
.profile-card { border-radius: 20px !important; }
.profile-hero { border-radius: 20px 20px 0 0 !important; }
.avatar-ring { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.stat-row { display:flex; gap: 10px; }
.stat-row .stat { flex:1; text-align:center; padding: 11px 4px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.stat-row .stat b { display:block; font-size:18px; font-variant-numeric: tabular-nums; }
.stat-row .stat i { font-style: normal; font-size: 11.5px; color: var(--text-2); }
.btn-primary { transition: transform .12s ease, filter .2s ease; }
.btn-primary:active { transform: scale(.98); filter: brightness(1.04); }
.btn-mini { transition: transform .12s ease; }
.btn-mini:active { transform: scale(.95); }
.list .cell { transition: background .18s ease; }
.list .cell:active { background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* v10.3 UI 打磨批次四：朋友圈/频道/附近的人 */
.feed-card { border-radius: 20px !important; overflow:hidden; box-shadow: 0 3px 14px rgba(15,40,50,.10); }
.feed-card .f-content { padding-bottom: 108px !important; }
.feed-card .f-actions { right: 14px !important; bottom: 116px !important; gap: 10px !important; }
.f-actions .f-act { display:flex; flex-direction:column; align-items:center; gap:3px; font-size:11px; }
.f-actions .f-act span { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.f-actions .f-act:active span { transform: scale(.9); }
.feed-hint { font-size:12px; opacity:.8; }
.mom-grid { gap: 10px !important; }
.mom-card { border-radius: 16px !important; overflow:hidden; box-shadow: 0 2px 10px rgba(15,40,50,.07); transition: transform .14s ease; }
.mom-card:active { transform: scale(.985); }
.mom-card img { transition: opacity .25s ease; }
.ch-post { border-radius: 16px !important; box-shadow: 0 2px 10px rgba(15,40,50,.06); }
.ch-logo { border-radius: 14px !important; box-shadow: 0 2px 8px rgba(15,40,50,.12); }
.ch-name { font-weight: 700; letter-spacing:.2px; }
.ch-bio { font-size:12.5px; color: var(--text-2); }
.ch-subs { font-size:11.5px; color: var(--text-3); }
.nearby-body { border-radius: 18px !important; }
.nearby-tip { font-size:12px; color: var(--text-2); }
.moment-detail { border-radius: 20px 20px 0 0 !important; }
.jielong-entry { border-radius: 12px !important; }

/* v10.4 UI 打磨批次五：深色模式对比度 + 空状态/骨架屏 */
body.dark .feed-card, body.dark .mom-card, body.dark .ch-post, body.dark .panel { box-shadow: 0 2px 14px rgba(0,0,0,.4) !important; }
body.dark .cell-sub, body.dark .empty-sub, body.dark .ch-bio, body.dark .nearby-tip { color: rgba(230,238,242,.72) !important; }
body.dark .at-me-tag { background: rgba(250,81,81,.18); }
body.dark .typing-bar { background: rgba(255,255,255,.06); }
body.dark .ms-bar, body.dark .gcall-bar { background: rgba(20,26,32,.96); }
body.dark .msg-divider span { background: rgba(255,255,255,.08); color: rgba(230,238,242,.8); }
body.dark .f-actions .f-act span { background: rgba(255,255,255,.18); }
.skel { border-radius: 12px; background: linear-gradient(100deg, color-mix(in srgb, var(--line) 45%, transparent) 20%, color-mix(in srgb, var(--line) 20%, transparent) 40%, color-mix(in srgb, var(--line) 45%, transparent) 60%) 0 0 / 220% 100%; animation: skel 1.3s ease-in-out infinite; }
@keyframes skel { to { background-position: -220% 0; } }
.skel-line { height: 12px; border-radius: 6px; margin: 8px 0; }
.skel-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.skel-card { height: 180px; border-radius: 16px; }
.empty-state { display:flex; flex-direction:column; align-items:center; gap:10px; padding: 42px 20px; text-align:center; }
.empty-state .es-ico { width:74px; height:74px; border-radius:24px; display:flex; align-items:center; justify-content:center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.empty-state .es-ico span { font-size: 34px; }
.empty-state .es-title { font-size:15px; font-weight:650; color: var(--text); }
.empty-state .es-sub { font-size:12.5px; color: var(--text-2); line-height:1.7; max-width: 260px; }
.pull-hint { font-size:12px; color: var(--text-3); text-align:center; padding: 4px 0 10px; }

/* v10.5 UI 打磨批次六：候选面板 / 转发面板 / 朋友圈细节 / 点赞动画 */
.at-cell { padding: 12px 6px; border-radius: 16px; background: color-mix(in srgb, var(--card) 92%, transparent); transition: transform .12s ease, background .2s ease; }
.at-cell:active { transform: scale(.94); }
.at-cell .avatar { width: 52px !important; height: 52px !important; }
.at-cell span { max-width: 76px; font-size:12.5px; color: var(--text); }
.at-grid { gap: 12px !important; }
.fwd-item { padding: 12px 10px; border-radius: 14px; border: 1.5px solid transparent; transition: background .18s ease, border-color .18s ease; }
.fwd-item.on { background: color-mix(in srgb, var(--accent) 9%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.fwd-item input { width: 19px; height: 19px; accent-color: var(--accent); }
.fwd-tab { border-radius: 10px !important; padding: 9px 0 !important; }
.mom-grid { gap: 12px !important; }
.mom-card .mom-foot { display:flex; align-items:center; gap:7px; padding: 9px 11px 11px; }
.mom-card .mom-foot .avatar { width:26px; height:26px; }
.mom-card .mom-foot b { font-size:12.5px; font-weight:600; }
.mom-like { color:#fa5151; }
.mom-like.beat { animation: likeBeat .45s ease; }
@keyframes likeBeat { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.feed-card .f-img { border-radius: 14px; }
.feed-card .f-text { font-size:14.5px; line-height:1.62; }
.waterfall { column-count: 2; column-gap: 10px; }
.waterfall .mom-card { break-inside: avoid; margin-bottom: 10px; }

/* v10.6 设计令牌：圆角/间距/字号/阴影/动效统一（后续换肤只改这里） */
:root {
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-xl: 26px; --r-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 22px; --sp-6: 32px;
  --fs-11: 11.5px; --fs-12: 12.5px; --fs-13: 13.5px; --fs-14: 14.5px; --fs-15: 15.5px; --fs-17: 17.5px; --fs-20: 20px;
  --sh-1: 0 1px 4px rgba(15,40,50,.07); --sh-2: 0 3px 14px rgba(15,40,50,.10); --sh-3: 0 10px 30px rgba(0,0,0,.28);
  --ease: cubic-bezier(.22,.61,.36,1); --dur-fast: .14s; --dur: .22s;
}
body.dark { --sh-1: 0 1px 4px rgba(0,0,0,.4); --sh-2: 0 3px 14px rgba(0,0,0,.45); --sh-3: 0 10px 30px rgba(0,0,0,.6); }
.msg-bubble { border-radius: var(--r-md); }
.cell, .panel, .mom-card, .ch-post, .feed-card { border-radius: var(--r-md); }
.sheet-card { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.btn-primary, .btn-mini, .fwd-item, .at-cell, .me-grid .cell { border-radius: var(--r-sm); }
.gcall-bar, .ms-bar, .voice-hint, .typing-bar { border-radius: var(--r-pill); }
.tabbar .tab-ico { transition: transform var(--dur-fast) var(--ease); }
.tabbar .tab:active .tab-ico { transform: translateY(-1px) scale(1.06); }

/* v10.7 UI 打磨批次八：骨架屏行 / 长按菜单重做 / 视频流 */
.skel-row { pointer-events:none; align-items:center; gap:12px; }
.skel-row .cell-main { display:flex; flex-direction:column; gap:7px; }
.skel-row .skel-line:first-child { width: 44% !important; height: 13px !important; }
.skel-row .skel-line:last-child { width: 70% !important; }
.as-sheet { border-radius: var(--r-xl) var(--r-xl) 0 0 !important; padding: 6px 10px calc(14px + env(safe-area-inset-bottom)) !important; }
.as-item { border-radius: var(--r-sm) !important; padding: 15px 12px !important; font-size: var(--fs-14) !important; transition: background .16s ease, transform .12s ease; }
.as-item:active { background: color-mix(in srgb, var(--accent) 8%, transparent); transform: scale(.99); }
.as-item.danger { color: var(--danger) !important; }
.as-item + .as-item { margin-top: 2px; }
.as-cancel { border-radius: var(--r-sm) !important; padding: 14px !important; font-weight: 600; color: var(--text-2) !important; margin-top: 4px; }
.feed-card .f-actions .f-act b { font-weight: 600; }
.feed-card video, .feed-card .f-video { border-radius: 14px; background:#000; }
.f-video-wrap { position:relative; border-radius:14px; overflow:hidden; }
.f-video-wrap .fv-play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.f-video-wrap .fv-play span { width:52px; height:52px; border-radius:50%; background:rgba(0,0,0,.42); color:#fff; display:flex; align-items:center; justify-content:center; backdrop-filter: blur(4px); }
.feed-card .f-dur { position:absolute; right:10px; bottom:10px; font-size:11px; color:#fff; background:rgba(0,0,0,.45); border-radius:6px; padding:2px 6px; }

/* v10.8 操作菜单图标布局 */
.as-item { display:flex !important; align-items:center; gap:11px; text-align:left; }
.as-item .as-ico { display:inline-flex; width:22px; justify-content:center; color: var(--text-2); }
.as-item .as-ico svg { width:21px; height:21px; }
.as-item.danger .as-ico { color: var(--danger); }
.as-item .as-label { flex:1; }
.as-cancel { justify-content:center !important; }
