/* BankSupermarket H5 聊天 · 对齐 EasyGlobal App 精选聊天（jxcs / jxcr / jxcc） */
html, body { margin: 0; }
body.jxcr-page .og-totop,
body.jxcr-page .ed-totop,
body.jxcr-page .ed-float-dock,
body.jxcs-page .og-totop,
body.jxcs-page .ed-totop,
body.jxcs-page .ed-float-dock {
  display: none !important;
}
html, body.jxcr-page { height: 100%; overflow: hidden; }
.jxcs-page, .jxcr-page {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  color: #0f172a;
}
.jxcs-page { background: #f5f7fb; }
.jxcr-page {
  background: #eef2f7;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.jxcs-top, .jxcr-top {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-top: env(safe-area-inset-top);
}
.jxcs-nav, .jxcr-nav {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 6px 12px 6px 8px;
}
.jxcs-nav-back, .jxcr-nav-back, .jxcr-nav-more, .jxcr-nav-call, .jxcs-nav-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #333;
  text-decoration: none;
  background: none; border: 0; padding: 0;
}
.jxcr-nav-call {
  border-radius: 8px;
  background: #f1f5f9;
  margin-left: 4px;
}
.jxcs-nav-title {
  flex: 1; text-align: center;
  font-size: 19px; font-weight: 900; color: #000;
}
.jxcs-nav-actions { display: flex; align-items: center; }
.jxcs-plus-mask, .jxcr-more-mask {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(15,23,42,.25);
}
.jxcs-plus, .jxcr-more {
  position: absolute; right: 12px; top: calc(56px + env(safe-area-inset-top));
  min-width: 160px; padding: 6px; border-radius: 10px; background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.18);
}
.jxcs-plus__item, .jxcr-more__item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: #0f172a;
  background: none; border: 0; width: 100%; text-align: left;
}
.jxcs-section { padding: 10px 12px 0; }
.jxcs-section__title {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 800; color: #475569;
}
.jxcs-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; margin-bottom: 8px;
  border-radius: 12px; background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  text-decoration: none; color: inherit;
  overflow: visible;
}
.jxcs-item__avatar {
  position: relative;
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: visible; color: #fff; font-weight: 800;
}
.jxcs-unread {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  z-index: 8;
  pointer-events: none;
}
.jxcs-item__avatar--group { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.jxcs-item__avatar--private { background: linear-gradient(135deg,#0ea5e9,#0284c7); }
.jxcs-item__body { flex: 1; min-width: 0; }
.jxcs-item__title { display: block; font-size: 15px; font-weight: 800; color: #0f172a; }
.jxcs-item__desc { display: block; margin-top: 3px; font-size: 12px; color: #64748b; }
.jxcs-item__chev { color: #94a3b8; font-size: 18px; }
.jxcs-empty {
  padding: 14px; margin-bottom: 8px; border-radius: 12px; background: #fff;
  border: 1px dashed rgba(15,23,42,.12); text-align: center; font-size: 12px; color: #94a3b8;
}
.jxcs-card {
  margin: 10px 12px; padding: 12px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}
.jxcs-card label { display: block; font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.jxcs-row { display: flex; gap: 8px; }
.jxcs-row input {
  flex: 1; height: 36px; border: 0; border-radius: 999px; background: #f1f5f9;
  padding: 0 14px; font-size: 14px;
}
.jxcs-row button, .jxcs-save {
  height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  color: #fff; font-size: 14px; font-weight: 700;
}
.jxcs-err { color: #b91c1c; font-size: 12px; margin: 6px 0 0; }
.jca {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; flex-shrink: 0; overflow: hidden;
}

.jxcr-nav-peer {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.jxcr-nav-peer__meta { max-width: 48%; display: flex; flex-direction: column; min-width: 0; }
.jxcr-nav-title {
  font-size: 16px; font-weight: 800; color: #0f172a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jxcr-nav-sub { margin-top: 1px; font-size: 10px; color: #94a3b8; }
.jxcr-nav-more__dots {
  font-size: 20px; font-weight: 900; color: #0f172a; letter-spacing: 1px;
  line-height: 1; transform: translateY(-2px);
}
.jxcr-msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 12px;
  display: flex; flex-direction: column;
}
.jxcr-mode-tip { display: none !important; }
.jxcr-row {
  display: flex; align-items: flex-start; gap: 7px;
  margin-bottom: 11px; max-width: 100%;
}
.jxcr-row--mine { justify-content: flex-end; }
.jxcr-col { max-width: calc(100% - 50px); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.jxcr-col--mine { align-items: flex-end; }
.jxcr-nick {
  margin-bottom: 4px; padding: 0 3px;
  font-size: 11px; color: #64748b;
}
.jxcr-time {
  margin-top: 3px; padding: 0 3px;
  font-size: 10px; color: #94a3b8; line-height: 1.3;
}
.jxcr-time--mine { text-align: right; }
.jxcr-read {
  margin-top: 2px; padding: 0 3px;
  font-size: 10px; color: #2563eb; font-weight: 700; line-height: 1.3;
}
.jxcr-read--ok { color: #94a3b8; font-weight: 600; }
.jxcr-msg {
  max-width: 100%; padding: 9px 11px; border-radius: 10px;
  background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
.jxcr-msg--mine { background: #dbeafe; }
.jxcr-msg__text { font-size: 14px; color: #0f172a; line-height: 1.5; word-break: break-word; }
.jxcr-csbrief {
  max-width: 100%; padding: 10px 12px; border-radius: 10px;
  background: #f8fafc; border: 1px solid #e2e8f0;
  font-size: 13px; color: #334155; line-height: 1.55; white-space: pre-wrap;
}
.jxcr-msg__img { display: block; max-width: 58vw; width: 210px; border-radius: 8px; }
.jxcr-call-card {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 9px; border-radius: 8px; background: #eff6ff;
  font-size: 12px; color: #1e3a8a; font-weight: 600;
}
.jxcr-composer {
  position: relative;
  flex-shrink: 0;
  z-index: 12;
  background: #fff; border-top: 1px solid rgba(0,0,0,.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.jxcr-input-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 8px;
}
.jxcr-more__item--danger { color: #dc2626; }
.jxcr-tool {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #f1f5f9; border: 0; font-size: 18px;
}
.jxcr-hold {
  flex: 1; min-width: 0; height: 36px; border-radius: 999px;
  background: #e2e8f0; border: 0; font-size: 14px; font-weight: 700; color: #0f172a;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.jxcr-hold--on { background: #bfdbfe; }
.jxcr-hold[hidden] { display: none !important; }
.jxcr-rec-tip {
  padding: 4px 12px 8px; text-align: center; color: #dc2626; font-size: 12px; font-weight: 700;
}
.jxcr-rec-tip[hidden] { display: none !important; }
.jxcr-voice {
  min-width: 90px; max-width: 180px; padding: 8px 10px;
  border-radius: 8px; background: #fff; border: 0;
  display: flex; align-items: center; gap: 6px;
}
.jxcr-voice--mine { background: #dbeafe; }
.jxcr-voice__dur { font-size: 13px; font-weight: 700; color: #0f172a; }
.jxcr-voice__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.jxcr-voice__bar {
  width: 3px; border-radius: 2px; background: #64748b; height: 6px;
}
.jxcr-voice__bar:nth-child(2) { height: 11px; }
.jxcr-voice__bar:nth-child(3) { height: 8px; }
.jxcr-voice--playing .jxcr-voice__bar { animation: jxcr-voice-wave .8s ease-in-out infinite; }
@keyframes jxcr-voice-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.6); }
}
.jxcr-msg--media { background: transparent !important; padding: 0 !important; box-shadow: none !important; }
.jxcr-msg__stk { font-size: 48px; line-height: 1.1; font-family: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif; }
.jxcr-panel--stk { display: flex; flex-direction: column; height: 240px; }
.jxcr-panel[hidden], .jxcr-panel--stk[hidden] { display: none !important; }
.jxcr-packs {
  display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; white-space: nowrap;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.jxcr-pack-tab {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  background: #e2e8f0; border: 0; font-size: 12px; font-weight: 700; color: #334155;
}
.jxcr-pack-tab--on { background: #2563eb; color: #fff; }
.jxcr-stk-grid { display: flex; flex-wrap: wrap; padding: 6px 4px 12px; overflow: auto; flex: 1; }
.jxcr-stk-cell {
  width: 25%; height: 56px; border: 0; background: none; font-size: 32px;
}
.jxcr-nav-sub--online { color: #16a34a; font-weight: 700; }
.jxcr-input[hidden], .jxcr-send[hidden] { display: none !important; }
.jxcr-input {
  flex: 1; min-width: 0; height: 36px; padding: 0 11px;
  border: 0; border-radius: 999px; background: #f1f5f9; font-size: 14px;
}
.jxcr-send {
  flex-shrink: 0; min-width: 54px; height: 36px; padding: 0 10px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  color: #fff; font-size: 14px; font-weight: 700;
}
.jxcr-panel {
  height: 210px; border-top: 1px solid rgba(15,23,42,.06); background: #f8fafc;
  overflow: auto;
}
.jxcr-emoji-grid { display: flex; flex-wrap: wrap; padding: 6px 4px 12px; }
.jxcr-emoji-cell {
  width: 12.5%; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; font-size: 20px;
}

.jxcc {
  position: fixed; inset: 0; z-index: 99999;
  background: #0b1f4d;
}
.jxcc[hidden] { display: none !important; }
.jxcc-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,77,.35) 0%, rgba(11,31,77,.88) 72%);
  pointer-events: none;
}
.jxcc-body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 80px 20px 40px; box-sizing: border-box;
}
.jxcc-peer { display: flex; flex-direction: column; align-items: center; }
.jxcc-avatar {
  width: 84px; height: 84px; border-radius: 20px;
  background: linear-gradient(145deg, #1e3a8a, #0b1f4d);
  border: 2px solid rgba(201,163,92,.55);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: #f8fafc; font-size: 32px; font-weight: 800;
}
.jxcc-name { font-size: 22px; font-weight: 800; color: #fff; }
.jxcc-status { margin-top: 6px; font-size: 13px; color: rgba(248,250,252,.78); }
.jxcc-dur {
  margin-top: 10px; font-size: 22px; font-weight: 700;
  color: #c9a35c; letter-spacing: 3px;
}
.jxcc-dur[hidden] { display: none !important; }
.jxcc-row {
  width: 100%; display: flex; align-items: flex-end; justify-content: space-around;
  padding-bottom: 12px;
}
.jxcc-act {
  width: 70px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: none; border: 0; color: #e2e8f0; font-size: 11px;
}
.jxcc-act--on .jxcc-round--tool {
  background: rgba(201, 163, 92, 0.35);
  border-color: #c9a35c;
}
.jxcc-round {
  width: 56px; height: 56px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.jxcc-round--reject { background: #dc2626; }
.jxcc-round--accept { background: #16a34a; }
.jxcc-round--tool {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.18);
  font-size: 18px;
}
.jxcc-round--hang { background: #dc2626; transform: rotate(135deg); }
.jxcc-row[hidden] { display: none !important; }
.jxcc-act[hidden] { display: none !important; }
.jxcc-video {
  position: absolute; inset: 0; z-index: 1;
  background: #000; display: none;
}
.jxcc-video video {
  width: 100%; height: 100%; object-fit: contain; background: #000; display: block;
}
.jxcc--video {
  background: #000;
}
.jxcc--video .jxcc-video { display: block; }
.jxcc--video .jxcc-avatar { display: none; }
.jxcc--video .jxcc-shade {
  background: linear-gradient(180deg, rgba(11,31,77,0) 0%, rgba(11,31,77,0) 58%, rgba(11,31,77,.72) 100%);
}
.jxcc-h5-hits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 200;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 24px 36px;
  box-sizing: border-box;
}
.jxcc-h5-hits[hidden] { display: none !important; }
.jxcc-h5-hit {
  width: 88px;
  height: 88px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.01);
  opacity: 0.02;
  pointer-events: auto;
  z-index: 201;
}
.jxcc-act, .jxcc-h5-hit { touch-action: manipulation; }
