/* 微信浅色风格覆盖层（在 style.css 之后加载） */
:root {
  --bg: #ededed;
  --panel: #ffffff;
  --line: #e5e5e5;
  --text: #111111;
  --sub: #8c8c8c;
  --green: #07c160;
  --danger: #fa5151;
}

html,
body {
  background: #ededed !important;
  color: #111 !important;
}

.phone,
#app,
.main {
  background: #ededed !important;
}

.page,
.subpage,
.chat-page,
.auth {
  background: #ededed !important;
  color: #111 !important;
}

.topbar,
.chat-header {
  background: #ededed !important;
  color: #111 !important;
  border-bottom: 1px solid #d9d9d9 !important;
  justify-content: center !important;
  position: relative;
}

.topbar h1,
.topbar h2,
.chat-name {
  color: #111 !important;
  text-align: center;
}

.topbar-side {
  position: absolute !important;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar .back-btn,
.chat-header .back-btn {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #111 !important;
}

.icon-btn,
.back-btn {
  color: #111 !important;
}

.list,
.contact-list {
  background: #ededed !important;
}

.row {
  background: #ffffff !important;
  color: #111 !important;
  border-bottom: 1px solid #f0f0f0;
}

.row:active {
  background: #f2f2f2 !important;
}

.row-name {
  color: #111 !important;
}

.row-time,
.row-summary,
.row-sub,
.muted,
.empty,
.muted,
.msg-time,
.msg-sender,
.section-title {
  color: #999 !important;
}

.section-title {
  background: #ededed !important;
  color: #888 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 16px !important;
  border: 0 !important;
}

.entry-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex: 0 0 auto;
}

.entry-icon.orange {
  background: #fa9d3b !important;
}

.entry-icon.green {
  background: #07c160 !important;
}

.entry-arrow {
  color: #c8c8c8 !important;
}

.contact-search {
  background: #ededed !important;
  padding: 8px 12px;
}

.contact-search-input {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: #ffffff !important;
  color: #111 !important;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}

.contact-search-input::placeholder {
  color: #b2b2b2;
}

.contact-index {
  position: fixed;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #666;
  font-size: 11px;
  line-height: 1.2;
}

.contact-index span {
  padding: 0 2px;
}

.contact-row .row-main {
  justify-content: center;
}

.online-dot {
  border-color: #ffffff;
}

.row-name-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.row-name-wrap .row-name {
  flex: 0 1 auto;
}

.presence-tag {
  flex: 0 0 auto;
  color: #aaaaaa;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.presence-tag.on {
  color: #07c160;
}

.tabbar {
  background: #f7f7f7 !important;
  border-top: 1px solid #d9d9d9 !important;
}

.tab {
  color: #7f7f7f !important;
}

.tab.active {
  color: #07c160 !important;
}

.tab-icon {
  color: inherit !important;
}

.badge,
.tab-badge {
  background: #fa5151 !important;
  color: #fff !important;
}

.chat-page {
  background: #ededed !important;
}

.msg-row {
  color: #111 !important;
}

.bubble {
  color: #111 !important;
}

.bubble.other {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #111 !important;
}

.bubble.mine {
  background: #95ec69 !important;
  color: #111 !important;
}

.bubble.mine .msg-text,
.bubble.other .msg-text {
  color: #111 !important;
}

.msg-sender,
.msg-time {
  color: #b2b2b2 !important;
}

.composer {
  background: #f7f7f7 !important;
  border-top: 1px solid #e5e5e5 !important;
}

.input-box {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #111 !important;
}

.input-box::placeholder {
  color: #b2b2b2;
}

.round-btn {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #333 !important;
}

.send-btn,
.btn.primary {
  background: #07c160 !important;
  color: #ffffff !important;
}

.btn.ghost {
  background: #ffffff !important;
  color: #333 !important;
  border: 1px solid #e5e5e5 !important;
}

.btn.danger {
  background: #fa5151 !important;
  color: #fff !important;
}

.auth {
  background: #ededed !important;
}

.auth-box {
  background: #ffffff !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
  border: 0 !important;
}

.auth-title,
.auth-sub,
.auth-hint,
.auth-tab {
  color: #111 !important;
}

.auth-tab {
  background: #f7f7f7 !important;
  color: #666 !important;
}

.auth-tab.active {
  background: #07c160 !important;
  color: #fff !important;
}

.auth-box input,
.modal-input,
.search-input,
.field input,
.field textarea,
select,
textarea {
  background: #f7f7f7 !important;
  color: #111 !important;
  border: 1px solid #e5e5e5 !important;
}

.search-bar {
  background: #ededed !important;
}

.me-card,
.detail-row,
.pick-row,
.group-row,
.request-row,
.card,
.panel {
  background: #ffffff !important;
  color: #111 !important;
  border-color: #f0f0f0 !important;
}

.me-name,
.detail-label,
.detail-value,
.group-name,
.request-name {
  color: #111 !important;
}

.me-bio,
.me-username,
.detail-arrow {
  color: #999 !important;
}

.sheet,
.sheet-box,
.modal-box,
.editor-box,
.confirm-box,
.confirm {
  background: #ffffff !important;
  color: #111 !important;
}

.sheet-item,
.modal-title,
.modal-text,
.sheet-title {
  color: #111 !important;
  border-color: #f0f0f0 !important;
}

.sheet-mask,
.modal-mask {
  background: rgba(0, 0, 0, 0.45) !important;
}

.call-hint {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #e5e5e5 !important;
}

.call-hint-join {
  background: #07c160 !important;
  color: #fff !important;
}

.call-hint-close {
  background: #f2f2f2 !important;
  color: #666 !important;
}

.empty-icon {
  color: #c8c8c8 !important;
}

/* ---------- 微信头像 ---------- */
.avatar {
  border-radius: 6px !important;
  background-color: #e6e6e6 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='23' r='12' fill='%23b9b9b9'/%3E%3Cpath d='M8 60c2-14 12-20 24-20s22 6 24 20' fill='%23b9b9b9'/%3E%3C/svg%3E") !important;
  background-size: 56% 56% !important;
  background-position: center 62% !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
}

.avatar.sm {
  border-radius: 5px !important;
}

.avatar.lg {
  border-radius: 8px !important;
}

img.avatar {
  background-image: none !important;
  background-color: #f2f2f2 !important;
}

.avatar.group {
  background-color: #f2f2f2 !important;
  background-image:
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9),
    linear-gradient(#d9d9d9, #d9d9d9) !important;
  background-size: 26% 26% !important;
  background-position:
    5% 5%, 50% 5%, 95% 5%,
    5% 50%, 50% 50%, 95% 50%,
    5% 95%, 50% 95%, 95% 95% !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
}

/* ---------- 群聊 ---------- */
.chat-member-count {
  margin-left: 2px;
  color: #999 !important;
  font-size: 14px;
  font-weight: 400;
}

.chat-sub {
  display: none !important;
}

.chat-call-btn,
.chat-profile-btn {
  color: #111 !important;
  background: transparent !important;
}

.group-card,
.wx-member-card {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 10px !important;
}

.group-name {
  color: #111 !important;
}

.group-meta {
  color: #999 !important;
}

.announcement-block {
  background: #f7f7f7 !important;
  border-radius: 8px !important;
}

.announcement-title,
.announcement-text {
  color: #666 !important;
}

.action-tile {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #f0f0f0 !important;
}

.member-row {
  background: #ffffff !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.member-row:active {
  background: #f2f2f2 !important;
}

.member-name {
  color: #111 !important;
}

.member-sub {
  display: none !important;
}

.me-tag,
.mute-tag {
  background: #f2f2f2 !important;
  color: #999 !important;
}

.role-badge.owner {
  background: #fff3e0 !important;
  color: #f5a623 !important;
}

.role-badge.admin {
  background: #e8f7ee !important;
  color: #07c160 !important;
}

.group-footer .btn.ghost {
  background: #ffffff !important;
  color: #fa5151 !important;
  border: 1px solid #f0f0f0 !important;
}

.group-footer .btn.danger {
  background: #fa5151 !important;
  color: #ffffff !important;
}

.wx-member-card {
  padding: 14px 12px;
}

.wx-member-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px 8px;
}

.wx-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  color: #666 !important;
  font-size: 11px;
}

.wx-member .avatar {
  width: 46px;
  height: 46px;
}

.wx-member-name {
  max-width: 54px;
  color: #666 !important;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wx-member-add .wx-add-circle {
  width: 46px;
  height: 46px;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  background: #fafafa;
  color: #b2b2b2;
  font-size: 24px;
  line-height: 44px;
  text-align: center;
}

.form-label {
  color: #666 !important;
}

.form-input {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #e5e5e5 !important;
}

.pick-row {
  background: #ffffff !important;
  color: #111 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.pick-name {
  color: #111 !important;
}

.friend-time,
.group-meta,
.empty-text {
  color: #999 !important;
}


/* ---------- 新消息横幅 ---------- */
.msg-banner {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: 8px;
  right: 8px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  animation: wxBannerIn 0.22s ease-out;
}

@keyframes wxBannerIn {
  from { transform: translateY(-18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.msg-banner .avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  font-size: 16px;
}

.msg-banner-main {
  flex: 1;
  min-width: 0;
}

.msg-banner-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.msg-banner-count {
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.msg-banner-text {
  margin-top: 2px;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-banner-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 14px;
  background: #f2f2f2;
  color: #999;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

/* ---------- 设置 ---------- */
.settings-body {
  padding: 8px 0 calc(24px + var(--safe-bottom)) !important;
}

.settings-group {
  margin: 8px 0;
  background: #ffffff !important;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.settings-body .settings-group:first-child {
  margin-top: 0;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  background: #ffffff !important;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  color: #111 !important;
  font-size: 16px;
  text-align: left;
}

.settings-row:last-child {
  border-bottom: 0;
}

.settings-row.muted {
  opacity: 0.45;
}

.settings-row.settings-center {
  justify-content: center;
}

.settings-row.danger-text {
  color: #fa5151 !important;
}

.settings-arrow {
  color: #c8c8c8;
  font-size: 20px;
  line-height: 1;
  margin-left: 8px;
}

.settings-value {
  color: #999;
  font-size: 15px;
  margin-left: auto;
}

.settings-row .settings-value + .settings-arrow {
  margin-left: 6px;
}

.settings-note {
  padding: 6px 16px 10px;
  color: #999;
  font-size: 13px;
  line-height: 1.5;
}

.settings-tip {
  padding: 8px 16px;
  color: #fa5151;
  font-size: 13px;
  line-height: 1.5;
}

.settings-tip a {
  color: #576b95;
  text-decoration: none;
  margin-left: 4px;
}

.settings-warn {
  color: #fa5151 !important;
}

.permission-modal {
  max-height: 86vh;
  overflow-y: auto;
}

.permission-list {
  margin: 6px 0 2px;
  border-top: 1px solid #f0f0f0;
}

.permission-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
}

.permission-main {
  flex: 1;
  min-width: 0;
}

.permission-name {
  color: #111;
  font-size: 14px;
  font-weight: 500;
}

.permission-desc {
  color: #999;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 2px;
}

.permission-ok {
  color: #07c160;
  font-size: 13px;
  flex: 0 0 auto;
}

.permission-btn {
  flex: 0 0 auto;
  border: 1px solid #07c160;
  background: #ffffff;
  color: #07c160;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  padding: 7px 11px;
}

.permission-btn:active {
  background: #e8f7ef;
}

.permission-note {
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 9px;
}

.permission-note a {
  color: #576b95;
  text-decoration: none;
}

.wx-switch {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 14px;
  background: #e5e5e5;
  padding: 0;
  transition: background 0.18s;
}

.wx-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s;
}

.wx-switch.on {
  background: #07c160;
}

.wx-switch.on::after {
  transform: translateX(20px);
}

.settings-block-row {
  margin: 0 16px 8px;
  border-radius: 10px;
  border-bottom: 0 !important;
}

.settings-page .empty {
  padding-top: 40px;
}

/* ---------- 字体大小 ---------- */
.bubble,
.msg-text {
  font-size: var(--msg-font, 15px);
}

.font-preview {
  margin: 16px 16px 24px;
  padding: 18px;
  background: #ffffff;
  border-radius: 10px;
  color: #111;
  line-height: 1.6;
  min-height: 84px;
}

.font-slider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 24px 24px;
}

.font-slider input[type="range"] {
  flex: 1;
  accent-color: #07c160;
}

.font-a {
  color: #333;
  font-weight: 600;
}

.font-a.small {
  font-size: 14px;
}

.font-a.large {
  font-size: 22px;
}

/* ---------- 关于 ---------- */
.about-brand {
  padding: 28px 16px 24px;
  text-align: center;
}

.about-brand .brand-logo {
  margin: 0 auto 10px;
}

.about-name {
  color: #111;
  font-size: 18px;
  font-weight: 600;
}

.about-version {
  color: #999;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- 通用弹窗 ---------- */
.modal-info {
  max-height: 76vh;
}

.modal-scroll {
  max-height: 48vh;
  overflow-y: auto;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 8px 0 4px;
}

.modal-text {
  color: #333 !important;
  white-space: pre-wrap;
}

.modal-input {
  color: #111 !important;
  background: #f7f7f7 !important;
  border-color: #e5e5e5 !important;
}

/* ---------- 弹窗（微信浅色） ---------- */
.modal {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  color: #111 !important;
}

.modal-title {
  color: #111 !important;
  font-size: 17px;
  font-weight: 600;
}

.modal-text {
  color: #555 !important;
}

.modal-actions .btn.ghost {
  background: #f2f2f2 !important;
  color: #111 !important;
  border-color: #f2f2f2 !important;
}

.modal-actions .btn.primary {
  background: #07c160 !important;
  color: #ffffff !important;
  border-color: #07c160 !important;
}

.modal-actions .btn.danger {
  background: #fa5151 !important;
  color: #ffffff !important;
  border-color: #fa5151 !important;
}

.sheet {
  background: #ffffff !important;
  color: #111 !important;
}

.sheet-title {
  color: #888 !important;
}

.sheet-item {
  background: #ffffff !important;
  color: #111 !important;
  border-top: 1px solid #f0f0f0;
}

.sheet-item.cancel {
  color: #666 !important;
}

.sheet-item.danger {
  color: #fa5151 !important;
}

/* ---------- 注册头像 ---------- */
.auth-avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 6px auto 6px;
  cursor: pointer;
}

.auth-avatar-img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  color: #b2b2b2;
  font-size: 30px;
  border: 1px solid #e5e5e5;
}

.auth-avatar-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.auth-avatar-tip {
  margin: 0 0 14px;
  text-align: center;
  color: #999;
  font-size: 12px;
}

/* ---------- 微信式语音输入 ---------- */
.voice-toggle {
  font-size: 19px;
}

.voice-talk-btn {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #ffffff;
  color: #111;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
}

.voice-talk-btn:active {
  background: #e9e9e9;
  color: #555;
}

.voice-hold-mask {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.voice-hold-card {
  width: 190px;
  padding: 22px 16px 18px;
  border-radius: 14px;
  background: rgba(25, 25, 25, 0.88);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.voice-hold-card.cancel {
  background: rgba(184, 45, 45, 0.92);
}

.voice-hold-mic {
  font-size: 34px;
  line-height: 1.1;
}

.voice-hold-main {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

.voice-hold-time {
  margin-top: 4px;
  font-size: 14px;
  color: #e6e6e6;
}

.voice-hold-sub {
  margin-top: 10px;
  font-size: 12px;
  color: #cfcfcf;
}

.settings-row > span:first-child {
  flex: 1;
  min-width: 0;
}

@media (max-width: 360px) {
  .composer-row {
    gap: 5px;
  }
  .round-btn {
    width: 34px;
    height: 34px;
  }
  .send-btn {
    padding: 0 10px;
  }
  .voice-talk-btn {
    font-size: 14px;
  }
  .msg-banner {
    left: 6px;
    right: 6px;
  }
}

/* ---------- 发送状态 ---------- */
.msg-send-state {
  margin-top: 2px;
  color: #b2b2b2;
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.msg-send-state.failed {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fa5151;
  font-size: 11px;
}

/* ---------- 会员 ---------- */
.member-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f7e6b5;
  color: #8a6100;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}

.member-hero {
  margin: 10px 0 16px;
  padding: 26px 16px;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  border: 1px solid #e5e5e5;
}

.member-hero.active {
  background: linear-gradient(160deg, #fff8e6, #ffffff);
  border-color: #f0d9a0;
}

.member-hero-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 27px;
  background: #f7e6b5;
  color: #8a6100;
  font-size: 26px;
  font-weight: 700;
  line-height: 54px;
}

.member-hero-name {
  color: #111;
  font-size: 17px;
  font-weight: 600;
}

.member-hero-status {
  margin-top: 4px;
  color: #8a6100;
  font-size: 13px;
}

.member-hero-exp {
  margin-top: 4px;
  color: #999;
  font-size: 12px;
}

/* ---------- 主动定位 ---------- */
.location-card {
  margin: 10px 0 16px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
}

.location-title {
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

.location-tip {
  margin: 6px 0 14px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

.location-error {
  margin-top: 12px;
  color: #fa5151;
  font-size: 13px;
  line-height: 1.5;
}

.location-result {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  color: #333;
  font-size: 13px;
  line-height: 1.8;
  word-break: break-all;
}

.location-ok {
  color: #07c160;
  font-size: 13px;
}

/* ---------- 右上角图标（通讯录添加） ---------- */
.topbar .icon-btn {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px;
  color: #111 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar .icon-btn:active {
  background: #e5e5e5 !important;
}

.topbar .icon-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ---------- 网络状态提示 ---------- */
.network-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 330;
  height: 28px;
  line-height: 28px;
  padding: 0 12px;
  background: rgba(30, 30, 30, 0.88);
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 一对一视频全屏高清 ---------- */
.call-video-grid.call-video-single {
  grid-template-columns: 1fr;
  align-content: stretch;
  padding: 0;
}

.call-video-grid.call-video-single .call-video-tile {
  height: 100%;
  min-height: 0;
  border-radius: 0;
}
