/* 电脑版微信：登录页 + 三栏主窗口 */

body {
  background: #2b3a4a;
  background-image:
    radial-gradient(1200px 600px at 20% 10%, #3d5566 0%, transparent 60%),
    radial-gradient(900px 500px at 85% 80%, #24323f 0%, transparent 55%),
    linear-gradient(160deg, #33475a, #1e2a35);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
:root[data-theme="dark"] body {
  background-image:
    radial-gradient(1200px 600px at 20% 10%, #23303a 0%, transparent 60%),
    linear-gradient(160deg, #1d262e, #12181d);
}

/* ---------- 登录页 ---------- */

.login-screen { display: flex; align-items: center; justify-content: center; gap: 34px; }
.login-stage { display: flex; flex-direction: column; align-items: center; }

.login-card {
  width: 380px; min-height: 420px; background: var(--bg-card); border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); padding: 34px 30px 30px;
  display: flex; flex-direction: column; align-items: center;
}
.login-logo { margin-bottom: 22px; }

.qr-zone, .scanned-zone { display: flex; flex-direction: column; align-items: center; }
.qr-box {
  position: relative; width: 200px; height: 200px; background: #fff; border-radius: 6px;
  padding: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.qr-img { width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.qr-img svg { width: 100%; height: 100%; }
.wx-spin.dark { border-color: rgba(0, 0, 0, .15); border-top-color: var(--green); }
.qr-cover {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .94); border-radius: 6px;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
}
.qr-cover.show { display: flex; }
.qr-cover-text { color: #666; font-size: 13px; }
.qr-refresh { color: var(--green); font-size: 14px; }
.qr-tip { margin-top: 22px; font-size: 15px; color: var(--text); }
.qr-tip b { color: var(--green); font-weight: 500; }
.qr-sub { margin-top: 8px; font-size: 12px; color: var(--text-3); }

.scanned-zone { padding-top: 20px; }
.scanned-avatar { width: 96px; height: 96px; border-radius: 6px; }
.scanned-name { margin-top: 16px; font-size: 17px; }
.scanned-tip { margin: 10px 0 26px; font-size: 13px; color: var(--text-2); }

.login-actions { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.link-btn { color: #cfe3ef; font-size: 13px; opacity: .9; }
.link-btn:hover { opacity: 1; text-decoration: underline; }
.login-actions .sep { color: rgba(255, 255, 255, .35); }
.login-foot { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .38); }

.phone-sim { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone-frame {
  position: relative; width: 380px; height: 760px; background: #101418; border-radius: 42px;
  padding: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5), inset 0 0 0 2px #2b3238;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 24px; background: #101418; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: #fff; }
.phone-hint { color: rgba(255, 255, 255, .5); font-size: 12px; }

@media (max-height: 820px) {
  .phone-frame { width: 330px; height: 660px; }
}
@media (max-width: 900px) {
  .phone-sim { display: none !important; }
}

/* ---------- 主窗口 ---------- */

.wx-window {
  width: min(1220px, 96vw); height: min(780px, 94vh);
  display: grid; grid-template-columns: 56px 268px 1fr;
  /* 行高必须锁死，否则内容会把网格行撑高、再被 overflow:hidden 从中间裁掉 */
  grid-template-rows: minmax(0, 1fr);
  background: var(--bg-app); border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
.wx-window > * { min-height: 0; }
/* 朋友圈没有列表栏，整块居中显示，跟微信的独立窗口一致 */
.wx-window[data-view="moments"] { grid-template-columns: 56px 1fr; }
.wx-window[data-view="moments"] .col-list { display: none; }

.rail {
  background: var(--rail); display: flex; flex-direction: column; align-items: center;
  padding: 26px 0 16px; gap: 6px;
}
.rail-avatar { width: 34px; height: 34px; border-radius: 4px; margin-bottom: 22px; cursor: pointer; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rail-bottom { display: flex; flex-direction: column; gap: 4px; }
.rail-btn {
  position: relative; width: 38px; height: 38px; border-radius: 5px; color: #7f7f7f;
  display: flex; align-items: center; justify-content: center; transition: .12s;
}
.rail-btn:hover { color: #d0d0d0; background: var(--rail-hover); }
.rail-btn.on { color: var(--green); }
.rail-badge {
  position: absolute; top: -2px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; line-height: 16px;
  text-align: center;
}

.col-list { background: var(--bg-panel); display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.col-main { background: var(--bg-chat); display: flex; overflow: hidden; }

.list-head { display: flex; align-items: center; gap: 8px; padding: 14px 12px; }
.list-head.plain { padding: 18px 16px 8px; }
.list-title { font-size: 15px; font-weight: 500; }
.searchbar {
  flex: 1; display: flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .06);
  border-radius: 4px; padding: 5px 8px; color: var(--text-3);
}
:root[data-theme="dark"] .searchbar { background: rgba(255, 255, 255, .07); }
.searchbar input { flex: 1; border: 0; background: none; outline: none; font-size: 13px; min-width: 0; }
.add-btn {
  width: 26px; height: 26px; border-radius: 4px; background: rgba(0, 0, 0, .06);
  display: flex; align-items: center; justify-content: center; color: var(--text-2); flex: none;
}
:root[data-theme="dark"] .add-btn { background: rgba(255, 255, 255, .07); }
.add-btn:hover { background: rgba(0, 0, 0, .1); }
.list-body { flex: 1; min-height: 0; overflow-y: auto; }
.empty-tip { padding: 40px 20px; text-align: center; color: var(--text-3); font-size: 13px; }

/* 会话列表 */
.conv { display: flex; gap: 10px; padding: 11px 12px; cursor: pointer; align-items: center; }
.conv:hover { background: var(--bg-hover); }
.conv.on { background: var(--bg-active); }
.conv.pinned { background: rgba(0, 0, 0, .03); }
.conv.pinned.on, .conv.pinned:hover { background: var(--bg-active); }
.conv-avatar { position: relative; flex: none; }
.conv-avatar img { width: 40px; height: 40px; border-radius: 4px; }
.conv-avatar .badge { position: absolute; top: -5px; right: -6px; }
.conv-main { flex: 1; min-width: 0; }
.conv-row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.conv-name { font-size: 14px; }
.conv-time { font-size: 11px; color: var(--text-3); flex: none; }
.conv-row2 { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.conv-preview { font-size: 12px; color: var(--text-2); flex: 1; min-width: 0; }
.conv-preview .draft { color: var(--red); }
.muted-ico { color: var(--text-3); flex: none; }
.search-sec { padding: 8px 12px 4px; font-size: 12px; color: var(--text-3); }

/* ---------- 聊天窗口 ---------- */

.col-main > .chat { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.chat.dragging::after {
  content: '松开发送文件'; position: absolute; inset: 8px; border: 2px dashed var(--green);
  border-radius: 8px; background: rgba(7, 193, 96, .06); display: flex; align-items: center;
  justify-content: center; color: var(--green); font-size: 16px; z-index: 5;
}
.chat-head {
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; border-bottom: 1px solid var(--line); flex: none;
}
.chat-title { display: flex; align-items: baseline; gap: 6px; font-size: 16px; min-width: 0; }
.chat-count { color: var(--text-2); font-size: 13px; }
.chat-head-act { display: flex; gap: 4px; }
.hbtn {
  width: 30px; height: 30px; border-radius: 4px; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
}
.hbtn:hover { background: var(--bg-hover); color: var(--text); }

.chat-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 4px; }
.load-more { text-align: center; color: var(--blue); font-size: 12px; padding: 8px; cursor: pointer; }
.msg.flash .bubble { animation: flash 1.2s; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px rgba(7, 193, 96, .35); } }
.chat.multi .msg { cursor: pointer; }
.msg.picked .bubble { outline: 2px solid var(--green); }

.chat-typing { padding: 0 20px 4px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }

.chat-editor { flex: none; border-top: 1px solid var(--line); background: var(--bg-app); display: flex; flex-direction: column; }
:root[data-theme="dark"] .chat-editor { background: var(--bg-chat); }
.editor-tools { display: flex; align-items: center; gap: 2px; padding: 6px 14px 2px; }
.tbtn {
  width: 30px; height: 30px; border-radius: 4px; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
}
.tbtn:hover { background: var(--bg-hover); color: var(--text); }
.tools-gap { flex: 1; }
.quote-bar {
  margin: 0 14px 4px; padding: 5px 8px; background: rgba(125, 125, 125, .12); border-radius: 4px;
  font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px;
}
.quote-bar span { flex: 1; min-width: 0; }
.quote-x { color: var(--text-3); }
#editor {
  flex: 1; min-height: 92px; max-height: 210px; border: 0; outline: none; resize: none;
  background: none; padding: 4px 16px; font-size: 14px; line-height: 1.6;
}
.editor-foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 12px; }
.editor-hint { font-size: 11px; color: var(--text-3); }
.btn-send {
  background: var(--green); color: #fff; padding: 6px 20px; border-radius: 4px; font-size: 13px;
}
.btn-send:hover { background: var(--green-dark); }

.multi-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px; background: var(--bg-card);
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; gap: 10px;
}
.btn-plain.small, .btn-green.small { padding: 5px 12px; font-size: 12px; }
.btn-plain.wide, .btn-green.wide { width: 100%; }

.chat-empty {
  flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text);
}

/* 聊天信息面板 */
.chat-info { width: 260px; border-left: 1px solid var(--line); background: var(--bg-app); overflow-y: auto; flex: none; }
:root[data-theme="dark"] .chat-info { background: var(--bg-chat); }
.info-scroll { padding: 16px 14px; }
.info-members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; margin-bottom: 16px; }
.info-member { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.info-member img { width: 38px; height: 38px; border-radius: 4px; }
.info-member span { font-size: 11px; color: var(--text-2); max-width: 100%; }
.info-add {
  width: 38px; height: 38px; border: 1px dashed var(--line-2); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 20px;
}
.info-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 2px; border-top: 1px solid var(--line); font-size: 13px; cursor: pointer;
}
.info-row b { color: var(--text-2); font-weight: 400; max-width: 55%; text-align: right; }
.info-row.switch { cursor: default; }
.info-row.danger { color: var(--red); justify-content: center; }
.info-row:hover:not(.switch) { background: var(--bg-hover); }

.sw { position: relative; width: 38px; height: 22px; flex: none; cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw i {
  position: absolute; inset: 0; background: #d9d9d9; border-radius: 11px; transition: .2s;
}
.sw i::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.sw input:checked + i { background: var(--green); }
.sw input:checked + i::after { transform: translateX(16px); }

/* 表情面板 */
.emoji-pop {
  position: fixed; z-index: 9300; width: 380px; background: var(--bg-card); border-radius: 8px;
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.emoji-tabs { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.emoji-tabs button { padding: 4px 10px; border-radius: 4px; font-size: 12px; color: var(--text-2); }
.emoji-tabs button.on { background: var(--bg-hover); color: var(--text); }
.emoji-body { height: 200px; overflow-y: auto; padding: 8px; }
.emoji-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; }
.emoji-grid button { height: 32px; border-radius: 4px; font-size: 20px; }
.emoji-grid button:hover { background: var(--bg-hover); }
.sticker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sticker-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; cursor: pointer; }
.emoji-empty { padding: 40px 20px; text-align: center; color: var(--text-3); font-size: 12px; }

.mention-pop {
  position: fixed; z-index: 9300; width: 200px; max-height: 240px; overflow-y: auto;
  background: var(--bg-card); border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 4px 0;
}
.mention-item { display: flex; align-items: center; gap: 8px; padding: 6px 12px; cursor: pointer; font-size: 13px; }
.mention-item:hover { background: var(--bg-hover); }
.mention-item img { width: 24px; height: 24px; border-radius: 3px; }

/* ---------- 通讯录 ---------- */

.c-entries { padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.c-entry { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; font-size: 14px; }
.c-entry:hover { background: var(--bg-hover); }
.c-entry.on { background: var(--bg-active); }
.c-entry-ico {
  width: 30px; height: 30px; border-radius: 4px; color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.c-entry-ico.plain { background: var(--bg-active); color: var(--text-2); }
.c-entry .badge { margin-left: auto; }
.c-letter { padding: 6px 14px 2px; font-size: 11px; color: var(--text-3); position: sticky; top: 0; background: var(--bg-panel); }
.c-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; }
.c-row:hover { background: var(--bg-hover); }
.c-row.on { background: var(--bg-active); }
.c-row img { width: 32px; height: 32px; border-radius: 4px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: auto; }
.c-count { padding: 16px; text-align: center; color: var(--text-3); font-size: 12px; }

.detail { flex: 1; min-height: 0; display: flex; justify-content: center; padding-top: 60px; overflow-y: auto; }
.detail-card { width: 360px; }
.detail-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-name { font-size: 20px; display: flex; align-items: center; gap: 6px; }
.detail-sub { font-size: 12px; color: var(--text-2); margin-top: 8px; }
.detail-avatar { width: 64px; height: 64px; border-radius: 5px; }
.gender { font-size: 13px; }
.gender.male { color: #5b8cff; }
.gender.female { color: #f06292; }
.detail-lines { padding: 6px 0; }
.detail-line {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 13px;
  color: var(--text-2); border-bottom: 1px solid var(--line); cursor: pointer;
}
.detail-line b { color: var(--text); font-weight: 400; text-align: right; max-width: 70%; }
.detail-moments, .profile-moments { display: flex; gap: 4px; align-items: center; }
.detail-moments img, .profile-moments img { width: 32px; height: 32px; border-radius: 3px; object-fit: cover; }
.pm-time, .pm-text { font-size: 11px; color: var(--text-3); }
.detail-btns { display: flex; gap: 10px; margin-top: 24px; }

.panel-page { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.panel-head {
  height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 24px; border-bottom: 1px solid var(--line); font-size: 16px; flex: none;
}
.panel-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 24px 30px; }

.req-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.req-row img { width: 42px; height: 42px; border-radius: 4px; cursor: pointer; }
.req-main { flex: 1; min-width: 0; }
.req-name { font-size: 14px; }
.req-msg { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.req-src { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.req-act { display: flex; gap: 8px; flex: none; }
.req-state { font-size: 12px; color: var(--text-3); }

.g-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.g-row img { width: 40px; height: 40px; border-radius: 4px; }
.g-name { font-size: 14px; }
.g-sub { font-size: 12px; color: var(--text-2); margin-top: 3px; }

.tag-block { margin-bottom: 22px; }
.tag-name { font-size: 14px; margin-bottom: 10px; }
.tag-name span { color: var(--text-3); font-size: 12px; }
.tag-members { display: flex; flex-wrap: wrap; gap: 14px; }
.tag-member { width: 56px; text-align: center; cursor: pointer; }
.tag-member img { width: 40px; height: 40px; border-radius: 4px; margin: 0 auto 4px; }
.tag-member span { font-size: 11px; color: var(--text-2); display: block; }

/* ---------- 朋友圈 ---------- */

.mo-page { flex: 1; min-height: 0; overflow-y: auto; background: var(--bg-card); }
.mo-page > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.mo-cover {
  height: 260px; background-size: cover; background-position: center; position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 20px;
}
.mo-cover-actions { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; }
.mo-cover-actions .hbtn, .back-abs { background: rgba(0, 0, 0, .3); color: #fff; }
.mo-cover-actions .hbtn:hover, .back-abs:hover { background: rgba(0, 0, 0, .45); color: #fff; }
.back-abs { position: absolute; top: 16px; left: 16px; }
.mo-cover-user { display: flex; align-items: flex-end; gap: 12px; transform: translateY(28px); }
.mo-cover-user span { color: #fff; font-size: 16px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); padding-bottom: 30px; }
.mo-cover-user img { width: 68px; height: 68px; border-radius: 6px; border: 2px solid #fff; }
.mo-list { padding: 40px 30px 40px; }

.mo { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mo-avatar { width: 42px; height: 42px; border-radius: 5px; flex: none; cursor: pointer; }
.mo-main { flex: 1; min-width: 0; }
.mo-name { color: var(--blue); font-size: 14px; font-weight: 500; cursor: pointer; }
.mo-text { margin: 5px 0 8px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.mo-imgs { margin-bottom: 8px; }
.mo-link { display: flex; gap: 8px; align-items: center; background: var(--bg-panel); padding: 8px; border-radius: 3px; margin-bottom: 8px; cursor: pointer; max-width: 260px; }
.mo-link img { width: 36px; height: 36px; border-radius: 2px; object-fit: cover; }
.mo-link span { font-size: 13px; }
.mo-loc { font-size: 12px; color: var(--blue); margin-bottom: 6px; display: flex; align-items: center; gap: 3px; }
.mo-foot { display: flex; align-items: center; gap: 12px; }
.mo-time { font-size: 12px; color: var(--text-3); }
.mo-del { font-size: 12px; color: var(--text-3); }
.mo-del:hover { color: var(--red); }
.mo-act { margin-left: auto; background: var(--bg-panel); border-radius: 3px; padding: 2px 8px; color: var(--blue); }
.mo-inter { margin-top: 8px; background: var(--bg-panel); border-radius: 3px; padding: 6px 10px; font-size: 13px; }
:root[data-theme="dark"] .mo-inter { background: rgba(255, 255, 255, .05); }
.mo-likes { display: flex; flex-wrap: wrap; gap: 2px; color: var(--blue); align-items: center; padding-bottom: 4px; }
.mo-likes a { cursor: pointer; }
.mo-comments { border-top: 1px solid var(--line); padding-top: 4px; }
.mo-cmt { padding: 2px 0; line-height: 1.6; cursor: pointer; }
.mo-cmt a { color: var(--blue); }
.mo-input { display: flex; gap: 8px; margin-top: 8px; }
.mo-input input { flex: 1; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-input); outline: none; }
.mo-more, .mo-end { text-align: center; padding: 20px; color: var(--text-3); font-size: 13px; cursor: pointer; }
.mo-head { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
.mo-notices { padding: 10px 30px; }
.mo-notice { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.mo-notice img { width: 40px; height: 40px; border-radius: 4px; cursor: pointer; }
.mo-notice-main { flex: 1; }
.mo-notice-name { color: var(--blue); font-size: 14px; }
.mo-notice-text { font-size: 13px; margin-top: 3px; }
.mo-notice-time { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.mo-notice-cover { width: 44px; height: 44px; border-radius: 3px; object-fit: cover; }
.mo-notice-digest { width: 44px; height: 44px; background: var(--bg-panel); border-radius: 3px; font-size: 10px; color: var(--text-3); padding: 4px; overflow: hidden; }

/* ---------- 收藏 ---------- */

.fav-row { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.fav-row:hover { background: var(--bg-hover); }
.fav-row.on { background: var(--bg-active); }
.fav-row-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); }
.fav-kind { color: var(--green); }
.fav-digest { font-size: 13px; margin: 4px 0; }
.fav-src { font-size: 11px; color: var(--text-3); }
.fav-detail .fav-text { font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
.fav-img { max-width: 100%; border-radius: 4px; margin: 10px 0; cursor: zoom-in; }
.fav-link { display: flex; gap: 10px; background: var(--bg-panel); padding: 10px; border-radius: 4px; }
.fav-link img { width: 48px; height: 48px; border-radius: 3px; object-fit: cover; }
.fav-link-title { font-size: 14px; }
.fav-link-src { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.fav-file { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--bg-panel); border-radius: 4px; }
.fav-meta { margin-top: 20px; font-size: 12px; color: var(--text-3); }

/* ---------- 发现 / 小程序 ---------- */

.app-sec { font-size: 12px; color: var(--text-3); margin: 14px 0 10px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; }
.app-cell { text-align: center; cursor: pointer; padding: 10px 4px; border-radius: 6px; }
.app-cell:hover { background: var(--bg-hover); }
.app-icon {
  width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 8px; font-size: 26px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.app-name { font-size: 13px; }
.app-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.app-mask .wx-modal { background: transparent; }
.app-window {
  width: min(720px, 92vw); height: min(620px, 88vh); background: var(--bg-card);
  border-radius: 10px; overflow: hidden; display: flex; flex-direction: column;
}
.app-bar {
  height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-bottom: 1px solid var(--line); flex: none;
}
.app-bar-icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.app-bar-name { font-size: 14px; flex: 1; }
.app-stage { flex: 1; overflow-y: auto; }

.art-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.art-row:hover { background: var(--bg-hover); }
.art-main { flex: 1; min-width: 0; }
.art-title { font-size: 15px; margin-bottom: 6px; }
.art-digest { font-size: 12px; color: var(--text-2); }
.art-meta { font-size: 11px; color: var(--text-3); margin-top: 8px; }
.art-cover { width: 110px; height: 74px; object-fit: cover; border-radius: 4px; flex: none; }

.article-window {
  width: min(700px, 92vw); height: min(700px, 90vh); background: var(--bg-card);
  border-radius: 10px; display: flex; flex-direction: column; overflow: hidden;
}
.article-scroll { flex: 1; overflow-y: auto; padding: 26px 34px 40px; }
.article-h1 { font-size: 22px; line-height: 1.4; margin: 0 0 12px; }
.article-meta { font-size: 12px; color: var(--text-3); margin-bottom: 18px; }
.article-img { width: 100%; border-radius: 4px; margin-bottom: 18px; }
.article-content p { font-size: 15px; line-height: 1.9; margin: 0 0 16px; color: var(--text); }
.article-foot { display: flex; gap: 12px; justify-content: center; padding-top: 20px; border-top: 1px solid var(--line); }
.article-view { width: 400px; padding: 24px; }
.article-title { font-size: 17px; margin-bottom: 12px; }
.article-body { font-size: 13px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }

.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ch-cell { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; background: #000; }
.ch-cell img { width: 100%; aspect-ratio: 3/4; object-fit: cover; opacity: .92; }
.ch-play {
  position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0, 0, 0, .4); color: #fff; display: flex; align-items: center; justify-content: center;
}
.ch-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; }
.ch-title { font-size: 12px; line-height: 1.4; }
.ch-author { font-size: 11px; opacity: .8; margin-top: 4px; display: flex; align-items: center; gap: 3px; }
.ch-player { position: relative; width: min(420px, 92vw); height: min(740px, 88vh); background: #000; border-radius: 10px; overflow: hidden; }
.ch-player img { width: 100%; height: 100%; object-fit: cover; }
.ch-overlay { position: absolute; left: 16px; bottom: 24px; right: 80px; color: #fff; }
.ch-overlay-title { font-size: 15px; margin-bottom: 6px; }
.ch-overlay-author { font-size: 13px; opacity: .8; }
.ch-side { position: absolute; right: 14px; bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.ch-side button { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; }
.ch-side button.liked { color: var(--red); }

.nb-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.nb-row img { width: 42px; height: 42px; border-radius: 4px; }
.nb-main { flex: 1; }
.nb-name { font-size: 14px; }
.nb-sub { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.nb-dist { font-size: 11px; color: var(--text-3); text-align: right; }

.shake-page { align-items: center; }
.shake-tabs { display: flex; gap: 8px; justify-content: center; padding: 20px; }
.shake-tabs button { padding: 6px 18px; border-radius: 16px; background: var(--bg-panel); font-size: 13px; }
.shake-tabs button.on { background: var(--green); color: #fff; }
.shake-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px; }
.shake-hand { font-size: 64px; transition: transform .1s; }
.shake-stage.shaking .shake-hand { animation: shakeit .12s infinite; }
@keyframes shakeit { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.shake-result { padding: 0 30px 30px; }
.shake-card { display: flex; gap: 12px; align-items: center; background: var(--bg-card); padding: 14px 18px; border-radius: 8px; cursor: pointer; }
.shake-card img { width: 52px; height: 52px; border-radius: 5px; }
.shake-tv { font-size: 40px; }
.shake-name { font-size: 15px; }
.shake-sub { font-size: 12px; color: var(--text-2); margin-top: 4px; }

/* ---------- 设置 ---------- */

.settings-logout { padding: 20px 14px; }
.set-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.set-row.clickable { cursor: pointer; }
.set-row.clickable:hover { background: var(--bg-hover); }
.set-row b { color: var(--text-2); font-weight: 400; }
.set-tip { display: block; font-size: 11px; color: var(--text-3); font-style: normal; margin-top: 2px; }
.set-sec { margin: 22px 0 6px; font-size: 12px; color: var(--text-3); }
.set-note { margin-top: 18px; font-size: 12px; color: var(--text-3); line-height: 1.7; }
.set-select { padding: 5px 8px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--bg-input); }
.set-avatar { display: flex; align-items: center; gap: 16px; padding: 6px 0 18px; }
.set-avatar img { width: 64px; height: 64px; border-radius: 5px; }

.wallet-card {
  background: linear-gradient(135deg, #2e7d5b, #07c160); color: #fff; border-radius: 10px;
  padding: 22px; margin-bottom: 8px;
}
.wallet-label { font-size: 13px; opacity: .85; }
.wallet-balance { font-size: 34px; font-weight: 300; margin: 6px 0; }
.wallet-month { font-size: 12px; opacity: .85; }
.wallet-btns { display: flex; gap: 10px; margin-top: 18px; }
.wallet-btns .btn-plain { background: rgba(255, 255, 255, .18); border-color: transparent; color: #fff; }
.wallet-btns .btn-plain:hover { background: rgba(255, 255, 255, .3); }
.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bill-title { font-size: 14px; }
.bill-time { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.bill-amount { font-size: 15px; }
.bill-amount.in { color: #e8590c; }

.dev-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dev-ico { font-size: 24px; }
.dev-main { flex: 1; }
.dev-name { font-size: 14px; }
.dev-time { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.storage-bar { height: 10px; background: var(--bg-panel); border-radius: 5px; overflow: hidden; margin: 10px 0 8px; }
.storage-bar i { display: block; height: 100%; background: var(--green); }
.storage-legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-3); margin-bottom: 16px; }

.about { text-align: center; padding-top: 40px; }
.about-logo { font-size: 60px; }
.about-name { font-size: 18px; margin-top: 12px; }
.about-ver { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.about-text { max-width: 420px; margin: 24px auto; font-size: 13px; color: var(--text-2); line-height: 1.9; text-align: left; }
.about-links { font-size: 12px; color: var(--text-3); display: flex; flex-direction: column; gap: 4px; }

/* ---------- 弹窗类 ---------- */

.pay-mask .wx-modal, .picker-mask .wx-modal, .profile-mask .wx-modal { background: transparent; }
.pay-dialog { width: 380px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.pay-head, .picker-head {
  height: 48px; display: flex; align-items: center; padding: 0 18px; font-size: 15px;
  border-bottom: 1px solid var(--line); position: relative;
}
.pay-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 15px; }
.pay-body { padding: 18px 22px; }
.pay-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-row > span:first-child { width: 68px; color: var(--text-2); flex: none; }
.pay-input { flex: 1; border: 0; outline: none; background: none; font-size: 14px; min-width: 0; }
.pay-input.big { font-size: 22px; }
.pay-amount { text-align: center; font-size: 15px; margin: 20px 0 6px; }
.pay-amount b { font-size: 30px; }
.pay-balance { text-align: center; font-size: 12px; color: var(--text-3); }
.pay-foot { padding: 14px 22px 20px; display: flex; gap: 10px; justify-content: flex-end; }
.tf-to { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; font-size: 14px; }
.tf-to img { width: 36px; height: 36px; border-radius: 4px; }

.rp-mask .wx-modal { background: transparent; }
.rp-open {
  width: 300px; background: linear-gradient(180deg, #f0503c, #e13b28); border-radius: 12px;
  color: #fff; padding: 30px 24px 24px; position: relative; text-align: center; min-height: 380px;
}
.rp-open.result { background: linear-gradient(180deg, #f5f5f5, #fff); color: var(--text); min-height: 420px; }
:root[data-theme="dark"] .rp-open.result { background: var(--bg-card); }
.rp-open-close { position: absolute; right: 12px; top: 10px; color: rgba(255, 255, 255, .8); font-size: 16px; }
.rp-open.result .rp-open-close { color: var(--text-3); }
.rp-open-avatar { width: 54px; height: 54px; border-radius: 5px; margin: 0 auto 10px; }
.rp-open-from { font-size: 14px; opacity: .9; }
.rp-open-memo { font-size: 17px; margin-top: 14px; }
.rp-open-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(180deg, #fbdca0, #e0ac52); color: #7a3a12; font-size: 30px; font-weight: 600;
  margin: 44px auto 0; display: block; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.rp-open-btn.spin { animation: spin .7s linear infinite; }
.rp-got { padding: 18px 0 10px; }
.rp-got b { font-size: 34px; color: #e8590c; }
.rp-got-tip { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.rp-list-title { font-size: 12px; color: var(--text-3); padding: 10px 0; border-bottom: 1px solid var(--line); }
.rp-list { max-height: 220px; overflow-y: auto; text-align: left; }
.rp-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rp-item img { width: 34px; height: 34px; border-radius: 4px; }
.rp-item-main { flex: 1; }
.rp-item-name { font-size: 13px; }
.rp-best { color: #e8a13a; font-size: 11px; margin-left: 6px; }
.rp-item-time { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.rp-item-amount { font-size: 13px; }
.rp-empty { padding: 30px; text-align: center; color: var(--text-3); font-size: 12px; }
.rp-expired { margin-top: 20px; font-size: 12px; opacity: .8; }

.tf-detail { width: 320px; background: var(--bg-card); border-radius: 10px; padding: 30px 24px 24px; text-align: center; position: relative; }
.tf-detail-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.tf-detail-icon.received { background: var(--green); }
.tf-detail-status { font-size: 15px; color: var(--text-2); }
.tf-detail-amount { font-size: 32px; margin: 10px 0 4px; }
.tf-detail-memo { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.tf-detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.tf-detail-btns { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }

.picker { width: 640px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.picker-body { display: flex; height: 380px; }
.picker-left { flex: 1; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.picker-search { padding: 10px; }
.picker-search input { width: 100%; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-input); outline: none; }
.picker-list { flex: 1; overflow-y: auto; }
.picker-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; }
.picker-item:hover { background: var(--bg-hover); }
.picker-item img { width: 32px; height: 32px; border-radius: 4px; }
.picker-name { font-size: 13px; }
.picker-sub { font-size: 11px; color: var(--text-3); }
.picker-right { width: 230px; display: flex; flex-direction: column; }
.picker-chosen-title { padding: 14px; font-size: 12px; color: var(--text-3); }
.picker-chosen { flex: 1; overflow-y: auto; padding: 0 10px; }
.picker-chip { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.picker-chip:hover { background: var(--bg-hover); }
.picker-chip img { width: 26px; height: 26px; border-radius: 3px; }
.picker-chip span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chip b { color: var(--text-3); font-weight: 400; }
.picker-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.picker-empty { padding: 40px; text-align: center; color: var(--text-3); font-size: 12px; }

.profile { width: 320px; background: var(--bg-card); border-radius: 10px; padding: 26px 24px 20px; position: relative; }
.profile-top { display: flex; gap: 14px; }
.profile-avatar { width: 60px; height: 60px; border-radius: 5px; }
.profile-name { font-size: 17px; display: flex; align-items: center; gap: 5px; }
.profile-nick, .profile-wxid, .profile-region { font-size: 12px; color: var(--text-2); margin-top: 5px; }
.profile-sign { margin-top: 16px; font-size: 12px; color: var(--text-2); }
.profile-line { display: flex; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--text-2); align-items: center; }
.profile-line span { width: 48px; flex: none; }
.profile-line b { font-weight: 400; color: var(--text); }
.profile-btns { display: flex; gap: 10px; margin-top: 22px; }

.add-friend { width: 460px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.add-friend-body { padding: 16px 20px 22px; }
.af-search { display: flex; gap: 10px; }
.af-search input { flex: 1; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-input); outline: none; }
.af-result { margin-top: 16px; min-height: 120px; }
.af-tip { padding: 30px; text-align: center; color: var(--text-3); font-size: 12px; }
.af-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.af-item img { width: 42px; height: 42px; border-radius: 4px; }
.af-main { flex: 1; }
.af-name { font-size: 14px; }
.af-wxid { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.af-added { font-size: 12px; color: var(--text-3); }

.publish { width: 520px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.publish-body { padding: 16px 20px; }
#pb-text { width: 100%; height: 96px; border: 0; outline: none; resize: none; background: none; font-size: 15px; line-height: 1.7; }
.publish-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.pb-img { position: relative; width: 76px; height: 76px; }
.pb-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pb-img button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; }
.pb-add { width: 76px; height: 76px; border: 1px dashed var(--line-2); border-radius: 4px; color: var(--text-3); font-size: 26px; }
.publish-rows { border-top: 1px solid var(--line); }
.publish-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.publish-row > span { display: flex; align-items: center; gap: 5px; color: var(--text-2); width: 110px; }
.publish-row input, .publish-row select { flex: 1; border: 0; outline: none; background: none; }

.loc-pick { width: 380px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.loc-list { max-height: 340px; overflow-y: auto; }
.loc-item { padding: 12px 20px; cursor: pointer; border-bottom: 1px solid var(--line); }
.loc-item:hover { background: var(--bg-hover); }
.loc-item-n { font-size: 14px; }
.loc-item-a { font-size: 12px; color: var(--text-3); margin-top: 3px; }

.history-panel { width: 560px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.history-tabs { display: flex; gap: 6px; padding: 10px 16px 0; }
.history-tabs button { padding: 5px 14px; border-radius: 14px; font-size: 12px; background: var(--bg-panel); }
.history-tabs button.on { background: var(--green); color: #fff; }
.history-search { padding: 10px 16px; }
.history-search input { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-input); outline: none; }
.history-body { height: 340px; overflow-y: auto; padding: 0 16px 16px; }
.history-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history-row img { width: 34px; height: 34px; border-radius: 4px; }
.history-name { font-size: 12px; color: var(--text-2); display: flex; gap: 8px; }
.history-name span { color: var(--text-3); }
.history-text { font-size: 13px; margin-top: 4px; }
.history-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 10px; }
.history-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; cursor: pointer; }

.chatlog-view { width: 420px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.chatlog-list { max-height: 420px; overflow-y: auto; padding: 8px 18px 18px; }
.chatlog-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.chatlog-name { font-size: 12px; color: var(--text-2); display: flex; gap: 8px; }
.chatlog-name span { color: var(--text-3); }
.chatlog-text { font-size: 13px; margin-top: 4px; }

.voice-rec { width: 300px; background: var(--bg-card); border-radius: 10px; padding: 26px 22px 20px; text-align: center; }
.voice-rec-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; }
.voice-rec-wave i { width: 4px; background: var(--green); border-radius: 2px; animation: rec 1s infinite; }
.voice-rec-wave i:nth-child(1) { height: 12px; animation-delay: 0s; }
.voice-rec-wave i:nth-child(2) { height: 26px; animation-delay: .1s; }
.voice-rec-wave i:nth-child(3) { height: 38px; animation-delay: .2s; }
.voice-rec-wave i:nth-child(4) { height: 26px; animation-delay: .3s; }
.voice-rec-wave i:nth-child(5) { height: 12px; animation-delay: .4s; }
@keyframes rec { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.voice-rec-time { font-size: 22px; margin: 12px 0 4px; }
.voice-rec-tip { font-size: 12px; color: var(--text-3); }
.voice-rec-btns { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }

.myqr { width: 320px; background: var(--bg-card); border-radius: 10px; overflow: hidden; }
.myqr-card { padding: 24px; text-align: center; }
.myqr-top { display: flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 20px; }
.myqr-top img { width: 46px; height: 46px; border-radius: 5px; }
.myqr-name { font-size: 15px; }
.myqr-region { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.myqr-code { display: flex; justify-content: center; }
.myqr-code svg { border-radius: 4px; }
.myqr-tip { margin-top: 16px; font-size: 12px; color: var(--text-3); }

.paycode { width: 320px; background: var(--bg-card); border-radius: 10px; overflow: hidden; padding: 24px 22px 0; text-align: center; }
.paycode-head { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; }
.paycode-head img { width: 30px; height: 30px; border-radius: 4px; }
.paycode-bars { display: flex; align-items: flex-end; justify-content: center; height: 74px; margin: 22px 0 10px; gap: 0; }
.paycode-bars i { height: 100%; background: #191919; }
:root[data-theme="dark"] .paycode-bars i { background: #e6e6e6; }
.paycode-bars i.gap { background: transparent; }
.paycode-num { font-size: 15px; letter-spacing: 1px; color: var(--text-2); }
.paycode-tip { margin-top: 14px; font-size: 12px; color: var(--text-3); }

.call-mask .wx-modal { background: transparent; }
.call {
  width: min(420px, 92vw); height: min(620px, 86vh); background: #2b2b2b; border-radius: 12px;
  position: relative; overflow: hidden; color: #fff;
}
.call-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; }
.call-local { position: absolute; right: 14px; top: 14px; width: 110px; height: 150px; object-fit: cover; border-radius: 8px; background: #000; z-index: 2; }
.call-info { position: absolute; top: 70px; left: 0; right: 0; text-align: center; z-index: 3; }
.call-avatar { width: 88px; height: 88px; border-radius: 8px; margin: 0 auto 14px; }
.call-name { font-size: 19px; }
.call-status { font-size: 13px; opacity: .75; margin-top: 10px; }
.call-btns { position: absolute; bottom: 50px; left: 0; right: 0; display: flex; justify-content: center; gap: 60px; z-index: 3; }
.call-btn {
  width: 60px; height: 60px; border-radius: 50%; color: #fff; font-size: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
}
.call-btn span { position: absolute; bottom: -24px; font-size: 12px; opacity: .8; }
.call-btn.reject { background: #fa5151; }
.call-btn.accept { background: #07c160; }
