/* 客服底部弹层 — 简洁、丝滑 */
.almas-svc-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

.almas-svc-sheet-mask.is-show {
  opacity: 1;
}

.almas-svc-sheet-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  max-height: min(82vh, 560px);
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  direction: rtl;
  font-family: 'Almas Num', 'UKIJ Tor', -apple-system, sans-serif;
  overflow: hidden;
}

.almas-svc-sheet-panel.is-show {
  transform: translate3d(0, 0, 0);
}

.almas-svc-sheet-handle {
  width: 40px;
  height: 4px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: #e5e5e5;
}

.almas-svc-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.almas-svc-sheet-head--close-only {
  margin-bottom: 6px;
}

.almas-svc-sheet-title {
  flex: 1;
  min-width: 0;
}

.almas-svc-sheet-title h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.almas-svc-sheet-title p {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

.almas-svc-sheet-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 16px;
  background: #f3f3f3;
  color: #666;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.almas-svc-sheet-wx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f8f8;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.almas-svc-sheet-wx-info {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.almas-svc-sheet-wx-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

.almas-svc-sheet-wx-id {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  direction: ltr;
  text-align: left;
  word-break: break-all;
}

.almas-svc-sheet-copy {
  flex-shrink: 0;
  border: 0;
  border-radius: 20px;
  padding: 0 16px;
  height: 36px;
  line-height: 36px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff9a1a, #ff7700);
  cursor: pointer;
  font-family: inherit;
}

.almas-svc-sheet-copy:active {
  opacity: 0.88;
}

.almas-svc-sheet-qr-wrap {
  text-align: center;
  padding: 4px 0 2px;
}

.almas-svc-sheet-qr {
  display: block;
  max-width: 100%;
  max-height: 38vh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
  background: #fafafa;
}

.almas-svc-sheet-tip {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  line-height: 1.45;
}
