/* 天迅扩展样式：液态玻璃 / 钱包 / 会员 / 通话 / 表情包 */

/* ---------------- 液态玻璃导航 ---------------- */
body {
  background:
    radial-gradient(1200px 700px at 12% -10%, #d8f3e3 0%, rgba(216, 243, 227, 0) 60%),
    radial-gradient(900px 600px at 100% 0%, #e2ecfb 0%, rgba(226, 236, 251, 0) 55%),
    radial-gradient(800px 600px at 60% 110%, #f7ecd9 0%, rgba(247, 236, 217, 0) 60%),
    #eef1f4;
  background-attachment: fixed;
}
#app {
  background: transparent;
}
.rail {
  background: rgba(38, 40, 44, 0.68) !important;
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(20, 30, 40, 0.18);
}
.panel {
  background: rgba(247, 248, 250, 0.62) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}
.panel-head {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.chat-head {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.composer {
  position: relative;
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.chat {
  background: rgba(245, 247, 249, 0.35);
}
.mobile-tabs {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 -8px 30px rgba(20, 40, 60, 0.08);
}
.login-card,
.auth-card {
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.72);
}

/* ---------------- 通用扩展页面 ---------------- */
.ext-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 18px 40px;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}
.ext-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ext-head h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.ext-head button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: none;
  background: transparent;
  color: #4a5568;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 8px;
}
.ext-head button:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ---------------- 钱包 ---------------- */
.wallet-card {
  border-radius: 18px;
  padding: 22px 22px 18px;
  color: #fff;
  background: linear-gradient(135deg, #07c160, #04a34f 60%, #02894a);
  box-shadow: 0 18px 40px rgba(7, 193, 96, 0.28);
}
.wc-label {
  font-size: 13px;
  opacity: 0.9;
}
.wc-balance {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 6px 0 2px;
}
.wc-name {
  font-size: 12px;
  opacity: 0.86;
}
.wc-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.wc-actions button {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.wc-actions button:hover {
  background: rgba(255, 255, 255, 0.28);
}
.wallet-notice {
  margin: 12px 0 4px;
  font-size: 12px;
  color: #8a6d3b;
  background: #fdf6e3;
  border: 1px solid #f3e2b7;
  padding: 8px 12px;
  border-radius: 8px;
}
.wallet-sec h4 {
  margin: 18px 0 8px;
  font-size: 14px;
  color: #333;
}
.txn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.txn-kind {
  font-size: 14px;
  color: #222;
}
.txn-note {
  font-size: 11px;
  color: #8b93a1;
  margin-top: 2px;
}
.txn-amt {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.txn-amt.in {
  color: #07a854;
}
.wallet-verify {
  max-width: 420px;
  margin: 30px auto;
  text-align: center;
}
.wv-ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #eafaf1;
  color: #07a854;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wv-ico svg {
  width: 30px;
  height: 30px;
}
.wallet-verify p {
  font-size: 13px;
  color: #7a8699;
  line-height: 1.7;
  margin: 8px 0 18px;
}
.wallet-verify .field {
  text-align: left;
}
.quick-amounts {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
}
.quick-amounts button {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid #e2e6ec;
  background: #f7f9fb;
  cursor: pointer;
  font-size: 13px;
}
.quick-amounts button:hover {
  border-color: #07c160;
  color: #07c160;
}
.pay-tip {
  font-size: 12px;
  color: #8b93a1;
  line-height: 1.7;
  margin: 10px 0;
}
.hint-text {
  color: #8b93a1;
  font-size: 13px;
}
.field {
  display: block;
  margin-bottom: 12px;
}
.field > span {
  display: block;
  font-size: 12px;
  color: #6b7688;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e6ec;
  background: #fff;
  font-size: 14px;
  outline: none;
}
.field input:focus {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.12);
}

/* ---------------- 收付款 ---------------- */
.paycenter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 20px auto;
}
.pc-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 14px;
  color: #2c3e50;
}
.pc-btn svg {
  width: 26px;
  height: 26px;
  color: #07a854;
}
.pc-btn:hover {
  border-color: #07c160;
}
.code-page {
  text-align: center;
}
.code-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  max-width: 340px;
  margin: 12px auto;
  box-shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
}
.code-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}
.code-card svg {
  width: 100%;
  max-width: 250px;
  height: auto;
}
.code-text {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #8b93a1;
  word-break: break-all;
  margin-top: 8px;
}
.qr-fallback {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
  padding: 20px;
  color: #333;
}
.qr-wrap {
  text-align: center;
  margin: 10px 0;
}
.qr-wrap svg {
  width: 190px;
  height: 190px;
}
.pay-body {
  text-align: center;
}
.pay-logo {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1b6fd6;
  font-size: 13px;
  font-weight: 600;
}
.pay-title-line {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
}
.pay-amount-line {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin: 4px 0;
}
.pay-trade {
  font-size: 11px;
  color: #9aa4b2;
  word-break: break-all;
}

/* ---------------- 会员 ---------------- */
.vip-banner {
  margin: 10px 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(120deg, #fdf0dc, #f8e3c0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: 1px solid rgba(240, 160, 75, 0.25);
}
.vip-banner.on {
  background: linear-gradient(120deg, #2f2a24, #4a3a26);
  color: #f7d9a8;
  border-color: rgba(247, 217, 168, 0.3);
}
.vip-banner .vb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.vip-banner .vb-badge {
  background: linear-gradient(135deg, #f5c26b, #d99a3e);
  color: #4a3413;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.vip-banner .vb-arrow {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  opacity: 0.8;
}
.vip-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, #2f2a24, #4a3a26);
  color: #f6e6cd;
  margin-bottom: 16px;
}
.vip-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5c26b, #d99a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a3413;
  font-weight: 700;
  overflow: hidden;
  flex: none;
}
.vip-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vip-hero-title {
  font-size: 16px;
  font-weight: 600;
}
.vip-hero-sub {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}
.vip-plans {
  display: grid;
  gap: 10px;
}
.vip-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vip-plan:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(120, 90, 40, 0.12);
}
.vp-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  flex: none;
}
.vp-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vp-main {
  flex: 1;
}
.vp-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.vp-desc {
  font-size: 12px;
  color: #8b93a1;
  margin-top: 2px;
}
.vp-price {
  font-size: 17px;
  font-weight: 700;
  color: #d4912f;
}

/* ---------------- 聊天扩展 ---------------- */
.quick-bar {
  display: flex;
  gap: 6px;
  padding: 6px 10px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-bar::-webkit-scrollbar {
  display: none;
}
.quick-bar button {
  flex: none;
  border: 1px solid #e6e9ee;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  color: #4a5568;
  cursor: pointer;
}
.quick-bar button:hover {
  border-color: #07c160;
  color: #07a854;
}
.tool-plus svg {
  width: 20px;
  height: 20px;
}
.plus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 6px 0;
}
.plus-grid button {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #4a5568;
}
.plus-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}
.quote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 12px 0;
  padding: 8px 10px;
  background: #eef2f6;
  border-left: 3px solid #07c160;
  border-radius: 8px;
  font-size: 12px;
  color: #5b6675;
}
.quote-bar b {
  color: #07a854;
  margin-right: 6px;
}
.quote-bar button {
  border: none;
  background: transparent;
  color: #8b93a1;
  cursor: pointer;
  padding: 2px;
}
.msg-quote {
  max-width: 320px;
  font-size: 12px;
  color: #6b7688;
  background: rgba(0, 0, 0, 0.05);
  border-left: 3px solid #b8c2cf;
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-row.self .msg-quote {
  margin-left: auto;
}
.fwd-tag {
  font-size: 11px;
  color: #8b93a1;
  margin-bottom: 4px;
}
.bubble-pay {
  min-width: 210px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0a04b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.pay-title {
  font-size: 14px;
  color: #222;
}
.pay-sub {
  font-size: 12px;
  color: #8b93a1;
}
.pay-amount {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-top: 8px;
}
.pay-status {
  font-size: 11px;
  color: #07a854;
  margin-top: 2px;
}
.bubble-red {
  min-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #fa6a5a, #e8443a);
  color: #fff;
  cursor: pointer;
}
.red-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.red-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f7d9a8;
  color: #c0392b;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.red-title {
  font-size: 14px;
}
.red-sub {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}
.red-foot {
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.bubble-card {
  min-width: 210px;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  cursor: pointer;
}
.card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-name {
  font-size: 14px;
  color: #222;
}
.card-sub {
  font-size: 11px;
  color: #8b93a1;
}
.card-foot {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #eef1f4;
  font-size: 11px;
  color: #9aa4b2;
}
.bubble-loc {
  min-width: 210px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.loc-map {
  height: 84px;
  background:
    linear-gradient(135deg, rgba(7, 193, 96, 0.12), rgba(90, 169, 230, 0.18)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.6) 0 8px, transparent 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07a854;
}
.loc-map svg {
  width: 28px;
  height: 28px;
}
.loc-info {
  padding: 8px 12px;
}
.loc-name {
  font-size: 13px;
  color: #222;
}
.loc-sub {
  font-size: 11px;
  color: #9aa4b2;
}
.bubble-sticker {
  background: transparent !important;
  padding: 0 !important;
}
.sticker-emoji {
  font-size: 68px;
  line-height: 1;
}
.sticker-img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
}
.sticker-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 78px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(20, 40, 60, 0.18);
  padding: 10px;
  z-index: 30;
  max-height: 300px;
  overflow-y: auto;
}
.sticker-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}
.sticker-tabs button {
  border: none;
  background: #f1f3f6;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  color: #4a5568;
}
.sticker-tabs button.active {
  background: #e6f9ef;
  color: #07a854;
}
.sticker-tabs .st-up {
  margin-left: auto;
  background: #07c160;
  color: #fff;
  width: 26px;
  height: 26px;
  padding: 0;
}
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.st-emoji {
  font-size: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 8px;
}
.st-emoji:hover {
  background: #f2f5f8;
}
.st-item {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px;
}
.st-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------------- 通话 ---------------- */
#callOverlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(1000px 600px at 50% 0%, #2c3844, #111820 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: callIn 0.22s ease;
}
@keyframes callIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.call-card {
  width: min(420px, 92vw);
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
}
.call-info {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
}
.call-name {
  font-size: 20px;
  font-weight: 600;
}
.call-status {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}
.call-avatar {
  width: 120px;
  height: 120px;
  margin: 70px auto 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}
.call-avatar .avatar {
  width: 120px !important;
  height: 120px !important;
  font-size: 42px !important;
}
.remote-slot {
  min-height: 300px;
}
.remote-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}
.local-video {
  position: absolute;
  right: 10px;
  bottom: 120px;
  width: 110px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.call-btns {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}
.call-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.16);
}
.call-btn.hangup {
  background: #e8443a;
}
.call-btn.accept {
  background: #07c160;
}
.call-btn.mute.on {
  background: #f0a04b;
}

/* ---------------- 其他弹窗内容 ---------------- */
.fwd-list {
  max-height: 320px;
  overflow-y: auto;
}
.fwd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.fwd-item:hover {
  background: #f5f7f9;
}
.fwd-item .card-no {
  margin-left: auto;
  font-size: 11px;
  color: #9aa4b2;
}
.rp-detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 14px;
}
.rp-note {
  font-size: 15px;
  color: #222;
}
.rp-claims {
  max-height: 240px;
  overflow-y: auto;
  border-top: 1px solid #eef1f4;
}
.rp-claim {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border-bottom: 1px solid #f4f6f8;
  font-size: 13px;
}
.rp-claim b {
  margin-left: auto;
  color: #d4912f;
}
.rp-mine {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #07a854;
}
.scan-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  height: 260px;
}
.scan-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #07c160, transparent);
  animation: scanMove 2.2s linear infinite;
}
@keyframes scanMove {
  0% { top: 10%; }
  50% { top: 88%; }
  100% { top: 10%; }
}
.scan-manual {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.scan-manual input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e6ec;
  outline: none;
}
.camera-box {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  height: 280px;
}
.camera-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.angel-now {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 14px;
}
.angel-now b {
  color: #07a854;
}

/* ---------------- 免打扰会话 ---------------- */
.mute-section {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(120, 135, 150, 0.12);
}
.mute-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 7px;
  color: #87909c;
  font-size: 12px;
  font-weight: 500;
}
.mute-section-head svg {
  width: 15px;
  height: 15px;
}
.mute-section-head em {
  min-width: 18px;
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 999px;
  background: #c4c9cf;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  text-align: center;
}
.unread-badge.muted {
  background: #c4c9cf;
}

/* ---------------- 举报证据 ---------------- */
.report-evidence {
  max-height: 130px;
  margin-bottom: 16px;
  padding: 11px 12px;
  overflow-y: auto;
  border-left: 3px solid #e2a65d;
  border-radius: 8px;
  background: #f7f8fa;
  color: #606b78;
  font-size: 13px;
  line-height: 1.65;
  word-break: break-word;
}
.field select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e2e6ec;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  outline: none;
}
.field select:focus {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.12);
}

/* ---------------- 礼物消息与选择 ---------------- */
.bubble-gift {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #ffb75d, #ed8a32);
  color: #fff;
}
.gift-msg-icon {
  width: 44px;
  height: 44px;
  margin: 13px 0 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 25px;
  overflow: hidden;
}
.gift-msg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift-msg-main {
  min-width: 0;
  padding: 12px 14px 7px 0;
}
.gift-msg-title {
  font-size: 15px;
  font-weight: 600;
}
.gift-msg-sub {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.9;
}
.gift-msg-foot {
  grid-column: 1 / -1;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
}
.gift-balance {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7eb;
  color: #6d5b41;
  font-size: 13px;
}
.gift-balance b {
  color: #d98424;
}
.gift-balance span {
  margin-left: auto;
  color: #9a8a74;
  font-size: 11px;
  text-align: right;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  margin-bottom: 16px;
  overflow-y: auto;
}
.gift-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 5px 8px;
  border: 1px solid #eceff2;
  border-radius: 12px;
  background: #fafbfc;
  cursor: pointer;
}
.gift-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gift-option:has(input:checked) {
  border-color: #ed9a43;
  background: #fff7eb;
  box-shadow: 0 0 0 2px rgba(237, 154, 67, 0.12);
}
.gift-option-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  font-size: 27px;
}
.gift-option-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift-option b {
  max-width: 100%;
  overflow: hidden;
  color: #3b4350;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gift-option em {
  color: #d98424;
  font-size: 11px;
  font-style: normal;
}
.gift-option input:checked ~ b {
  color: #c87522;
}
.gift-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 6px 0 2px;
  color: #687382;
  font-size: 13px;
}
.gift-total b {
  color: #dd8126;
  font-size: 21px;
}

/* ---------------- 银行卡 ---------------- */
.wallet-bank-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}
.wallet-bank-summary h4 {
  margin: 0 0 4px;
}
.wallet-bank-summary p {
  margin: 0;
  color: #7c8794;
  font-size: 12px;
  line-height: 1.5;
}
.wallet-bank-summary button {
  flex: none;
}
.bank-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.bank-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 17px;
  background: linear-gradient(135deg, #536d87, #2e435b);
  box-shadow: 0 12px 28px rgba(38, 57, 76, 0.18);
  color: #fff;
}
.bank-card-logo {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #3d5974;
  font-size: 20px;
  font-weight: 700;
}
.bank-card-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.bank-card-item p {
  margin: 0 0 7px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 17px;
  letter-spacing: 1px;
}
.bank-card-item span {
  font-size: 11px;
  opacity: 0.75;
}
.bank-bind-btn {
  width: 100%;
  padding: 11px 16px;
}
.bank-bind-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ---------------- 移动端 ---------------- */
@media (max-width: 860px) {
  .ext-page {
    padding: 14px 14px 96px;
  }
  .wc-balance {
    font-size: 32px;
  }
  .sticker-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .sticker-panel {
    bottom: 70px;
    left: 8px;
    right: 8px;
  }
  .quick-bar {
    padding: 4px 8px 6px;
  }
  .vip-banner {
    margin: 8px 10px 0;
  }
  .local-video {
    bottom: 140px;
  }
  .plus-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gift-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gift-balance {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .gift-balance span {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .panel {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .app.wide .main {
    height: calc(100dvh - 82px - env(safe-area-inset-bottom));
  }
  .mobile-tabs {
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    height: 66px;
    padding: 5px;
    box-sizing: border-box;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 34px;
    background: rgba(248, 251, 253, 0.78) !important;
    box-shadow: 0 8px 28px rgba(60, 88, 105, 0.14), inset 0 0 0 1px rgba(206, 224, 232, 0.28);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
  }
  .mtab {
    min-width: 0;
    margin: 0;
    border-radius: 28px;
    color: #82909a;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease;
  }
  .mtab.active {
    background: rgba(218, 240, 245, 0.82);
    color: #35aebe;
  }
  .mtab .rail-ico {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mtab .rail-ico svg {
    width: 24px;
    height: 24px;
  }
  .mtab .rail-badge {
    top: 4px;
  }
  .mtab .rail-dot {
    top: 8px;
  }
  .bank-card-item {
    padding: 16px;
  }
  .bank-card-item p {
    font-size: 15px;
  }
}

/* ============================== APP 云更新弹窗 ============================== */
.txu-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 32, 40, 0.46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: txuFade .18s ease-out;
}
.txu-card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 40, 55, 0.22);
  animation: txuUp .22s cubic-bezier(.2, .9, .3, 1.1);
}
.txu-head {
  padding: 22px 22px 12px;
  text-align: center;
}
.txu-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(53, 174, 190, 0.12);
  color: #35aebe;
  font-size: 11px;
  letter-spacing: .5px;
}
.txu-title {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: #22323d;
}
.txu-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #8b9aa6;
}
.txu-body {
  max-height: 34vh;
  overflow-y: auto;
  padding: 0 22px;
}
.txu-notes {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f9fb;
  color: #55656f;
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}
.txu-tip {
  min-height: 18px;
  padding: 8px 22px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8b9aa6;
}
.txu-tip.warn {
  color: #d98324;
}
.txu-actions {
  display: flex;
  gap: 10px;
  padding: 14px 22px 20px;
}
.txu-btn {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.txu-btn:active {
  transform: scale(.98);
}
.txu-btn.ghost {
  background: #f1f5f7;
  color: #61727d;
}
.txu-btn.primary {
  background: linear-gradient(135deg, #4fc3d4, #35aebe);
  color: #fff;
  box-shadow: 0 6px 16px rgba(53, 174, 190, 0.28);
}
.txu-btn:disabled {
  opacity: .65;
  cursor: default;
}
@keyframes txuFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes txuUp {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
