/* ============================================================
   v=lr · 客服会话（顾客端）
   ------------------------------------------------------------
   骨架学微信 / 淘宝客服（左右气泡 + 底部输入），
   皮肤还是渡仓那套：液态玻璃、大圆角、--ink / --accent 变量。
   ============================================================ */
html,
body.chat-body {
  height: 100%;
}

body.chat-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f2f4f8;
  background-image:
    radial-gradient(900px 420px at 12% -8%, rgba(122, 167, 255, 0.16), transparent 62%),
    radial-gradient(760px 380px at 92% 4%, rgba(186, 152, 255, 0.14), transparent 60%);
  overflow: hidden;
}

/* 顶栏 */
.chat-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 14px rgba(22, 40, 70, 0.05);
  z-index: 20;
}

.chat-back,
.chat-menu {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  cursor: pointer;
}

.chat-back svg,
.chat-menu svg {
  width: 18px;
  height: 18px;
}

.chat-title-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.chat-sub {
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* 消息区 */
.chat-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-loading {
  margin: auto;
  font-size: 12.5px;
  color: var(--ink-3);
}

.chat-empty {
  margin: auto;
  text-align: center;
  padding: 20px;
}

.chat-empty-ico {
  font-size: 34px;
  margin-bottom: 8px;
}

.chat-empty-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.chat-empty-sub {
  margin-top: 5px;
  font-size: 12px;
  color: var(--ink-3);
}

/* 一行消息 */
.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.chat-row.is-mine {
  justify-content: flex-end;
}

.chat-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9fb8e8, #6b86c0);
  margin-top: 2px;
}

.chat-avatar.is-mine-avatar {
  background: linear-gradient(135deg, #ffb27a, #ff7a5c);
}

.chat-bubble-wrap {
  max-width: 74%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-row.is-mine .chat-bubble-wrap {
  align-items: flex-end;
}

.chat-sender {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 3px;
  padding-left: 3px;
}

.chat-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 3px 12px rgba(22, 40, 70, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.chat-row.is-mine .chat-bubble {
  background: linear-gradient(135deg, #7aa7ff, #5b7fb8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 127, 184, 0.26);
}

.chat-time {
  margin-top: 3px;
  font-size: 10px;
  color: var(--ink-3);
  padding: 0 3px;
}

/* 图片 / 视频 */
.chat-bubble:has(.chat-media) {
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
}

.chat-row.is-mine .chat-bubble:has(.chat-media) {
  background: rgba(255, 255, 255, 0.7);
}

.chat-media {
  display: block;
  border-radius: 11px;
  overflow: hidden;
  line-height: 0;
}

.chat-media-img img {
  display: block;
  width: 168px;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  cursor: zoom-in;
}

.chat-media-video video {
  display: block;
  width: 200px;
  max-height: 260px;
  border-radius: 11px;
  background: #000;
}

/* 商品 / 订单卡片 */
.chat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 218px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: var(--ink);
}

.chat-card-cover {
  flex: none;
  width: 48px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(120, 140, 170, 0.12);
}

.chat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-card-body b {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chat-card-body i {
  font-size: 10.5px;
  font-style: normal;
  color: var(--accent);
}

/* 快捷问题 */
.chat-quick {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 10px;
}

.chat-quick-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 170, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}

.chat-quick-btn:active {
  background: rgba(255, 255, 255, 0.95);
}

/* 输入栏 */
.chat-bar {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(252, 253, 255, 0.5);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 20;
}

.chat-plus {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(120, 140, 170, 0.2);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-2);
  cursor: pointer;
}

.chat-plus svg {
  width: 20px;
  height: 20px;
}

.chat-input-box {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 18px;
  background: transparent;
  border: 1px solid rgba(120, 140, 170, 0.18);
}

.chat-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 30px;
  max-height: 96px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;
  color: var(--ink);
  outline: none;
  resize: none;
  overflow-y: auto;
}

.chat-send {
  flex: none;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7aa7ff, #5b7fb8);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(91, 127, 184, 0.3);
}

.chat-send:disabled {
  opacity: 0.45;
  box-shadow: none;
}

/* 更多面板 */
.chat-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(10, 16, 24, 0.36);
}

.chat-sheet-mask.on {
  display: block;
}

.chat-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  transform: translateY(102%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  background: rgba(250, 251, 253, 0.66);
  backdrop-filter: blur(34px) saturate(200%);
  -webkit-backdrop-filter: blur(34px) saturate(200%);
  box-shadow: 0 -10px 36px rgba(20, 34, 56, 0.18);
}

.chat-sheet.on {
  transform: translateY(0);
}

.chat-sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(120, 140, 170, 0.24);
}

.chat-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.chat-sheet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 170, 0.14);
  background: rgba(246, 248, 252, 0.9);
  color: var(--ink-2);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.chat-sheet-item:active {
  background: rgba(238, 242, 249, 1);
}

.chat-sheet-ico {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(22, 40, 70, 0.07);
}

.chat-sheet-ico svg {
  width: 21px;
  height: 21px;
}

/* 订单选择弹层 */
.chat-order-sheet {
  max-height: 76vh;
  display: flex;
  flex-direction: column;
}

.chat-sheet-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 140, 170, 0.12);
}

.chat-sheet-head b {
  font-size: 14.5px;
  color: var(--ink);
}

.chat-sheet-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(120, 140, 170, 0.14);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.chat-order-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 8px;
}

.chat-order-tip {
  padding: 26px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.chat-order-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  margin-bottom: 6px;
  border-radius: 11px;
  border: 1px solid rgba(120, 140, 170, 0.14);
  background: rgba(248, 250, 253, 0.9);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.chat-order-row:active {
  background: rgba(238, 243, 250, 1);
}

.chat-order-no {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.chat-order-status {
  font-size: 11px;
  color: var(--ink-3);
}

.chat-order-amount {
  font-size: 13px;
  font-weight: 700;
  color: #ff3b58;
}

/* 大图 */
.chat-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 10, 16, 0.92);
}

.chat-viewer.on {
  display: flex;
}

.chat-viewer img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

/* v=lr：商品 / 订单卡片自己就是一张白卡，别再套一层蓝气泡 */
.chat-bubble:has(.chat-card) {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.chat-row.is-mine .chat-bubble:has(.chat-card) {
  background: transparent;
  box-shadow: none;
}

/* 图片加载失败（商品下架、文件被清理）时不留裂图 */
.chat-media-img img.is-broken,
.chat-card-cover.is-broken {
  visibility: hidden;
}

/* ============================================================
   v=lt：带商品/订单进来时的「要不要发过去」提示条
   ============================================================ */
.chat-attach-tip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(122, 167, 255, 0.4);
  box-shadow: 0 6px 20px rgba(22, 40, 70, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chat-attach-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-attach-body b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chat-attach-body span {
  font-size: 10.5px;
  color: var(--ink-3);
}

.chat-attach-send {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7aa7ff, #5b7fb8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(91, 127, 184, 0.28);
}

.chat-attach-send:disabled {
  opacity: 0.6;
  box-shadow: none;
}

.chat-attach-x {
  flex: none;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(120, 140, 170, 0.14);
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* ============================================================
   v=lv · 客服页升级成液态玻璃 + iOS 26/27 胶囊
   ------------------------------------------------------------
   原来这一页是「白卡 + 白底」的微信仿制稿：顶栏 78% 白、气泡 92% 白、
   输入栏一条通栏白条。放在首页/下单页旁边明显不是一套东西。
   这一层只做皮肤，不动结构：
     ① 背景交给 .ambient-bg（和全站同一条光晕），body 不再自己画色；
     ② 所有「白」都压到 0.42~0.58 并加 backdrop-filter，
        再加「上/左高光、右/下冷暗边」的不均匀边框 —— 玻璃体积感；
     ③ 输入栏改成悬浮胶囊（离屏幕边缘 12px、圆角 26px、外投影），
        这是 iOS 26 之后聊天输入区的标准形态，不再是通栏白条；
     ④ 气泡圆角 14 → 18，自己的消息改成半透明蓝渐变 + 内高光。
   ============================================================ */

body.chat-body {
  /* 颜色由 .ambient-bg 画，body 只做兜底；原来的 #f2f4f8 + 两团径向光会盖住主题色 */
  background: transparent;
}

/* ===== 顶栏：磨砂玻璃 ===== */
.chat-top {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 70%),
    rgba(252, 253, 255, 0.42);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(148, 166, 194, 0.14),
    0 10px 28px -22px rgba(23, 37, 56, 0.6);
}

.chat-back,
.chat-menu {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(148, 166, 194, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.14s var(--ease-press), background 0.16s ease;
}

.chat-back:active,
.chat-menu:active {
  transform: scale(0.93);
  background: rgba(255, 255, 255, 0.72);
}

/* ===== 消息区：桌面端跟全站一样收在 520px 里，别铺满整屏 ===== */
.chat-main {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 气泡：玻璃 ===== */
.chat-bubble {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-right-color: rgba(148, 166, 194, 0.2);
  border-bottom-color: rgba(148, 166, 194, 0.2);
  box-shadow:
    0 8px 20px -14px rgba(23, 37, 56, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.chat-row.is-mine .chat-bubble {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, rgba(122, 167, 255, 0.94), rgba(91, 127, 184, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-right-color: rgba(70, 110, 170, 0.4);
  border-bottom-color: rgba(70, 110, 170, 0.4);
  box-shadow:
    0 12px 24px -14px rgba(70, 120, 200, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

/* 图片 / 视频气泡沿用玻璃壳，别再单独压一层白 */
.chat-bubble:has(.chat-media),
.chat-row.is-mine .chat-bubble:has(.chat-media) {
  background: rgba(255, 255, 255, 0.42);
}

/* 商品卡 / 订单卡：玻璃小卡 */
.chat-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-right-color: rgba(148, 166, 194, 0.22);
  border-bottom-color: rgba(148, 166, 194, 0.22);
  box-shadow: 0 8px 20px -16px rgba(23, 37, 56, 0.6);
}

/* ===== 快捷问题：玻璃胶囊 ===== */
.chat-quick {
  width: calc(100% - 24px);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.chat-quick-btn {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(148, 166, 194, 0.22);
  color: var(--ink-2);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.14s var(--ease-press), background 0.16s ease;
}

.chat-quick-btn:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.78);
}

/* ===== 输入栏：悬浮胶囊（离边 12px，不再通栏） ===== */
.chat-bar {
  width: calc(100% - 24px);
  max-width: 520px;
  margin: 4px auto calc(10px + env(safe-area-inset-bottom, 0px));
  padding: 6px 6px 6px 8px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 42%),
    rgba(252, 253, 255, 0.5);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-right-color: rgba(148, 166, 194, 0.22);
  border-bottom-color: rgba(148, 166, 194, 0.22);
  box-shadow:
    0 20px 44px -26px rgba(23, 37, 56, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chat-plus {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(148, 166, 194, 0.24);
  color: var(--ink-2);
  transition: transform 0.14s var(--ease-press), background 0.16s ease;
}

.chat-plus:active {
  transform: scale(0.92) rotate(90deg);
  background: rgba(255, 255, 255, 0.8);
}

/* 输入框本身不再画第二层白底 —— 整条已经是玻璃了 */
.chat-input-box {
  padding: 4px 2px 4px 4px;
  background: transparent;
  border: 0;
  border-radius: 20px;
}

.chat-send {
  height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, #7aa7ff, #5b7fb8);
  box-shadow:
    0 10px 22px -12px rgba(70, 120, 200, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.14s var(--ease-press), opacity 0.16s ease;
}

.chat-send:active:not(:disabled) {
  transform: scale(0.95);
}

/* ===== 底部面板：玻璃 + 28 圆角 ===== */
.chat-sheet {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.06) 34%),
    rgba(250, 251, 253, 0.66);
  backdrop-filter: blur(34px) saturate(200%);
  -webkit-backdrop-filter: blur(34px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  box-shadow:
    0 -18px 50px -24px rgba(20, 34, 56, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.chat-sheet-mask {
  background: rgba(10, 16, 24, 0.34);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

.chat-sheet-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(148, 166, 194, 0.22);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: transform 0.14s var(--ease-press), background 0.16s ease;
}

.chat-sheet-item:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.78);
}

.chat-sheet-ico {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px -6px rgba(23, 37, 56, 0.5);
}

.chat-sheet-head {
  border-bottom: 1px solid rgba(148, 166, 194, 0.16);
}

.chat-order-row {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(148, 166, 194, 0.2);
}

/* ===== 带商品/订单进来的提示条 ===== */
.chat-attach-tip {
  width: calc(100% - 24px);
  max-width: 520px;
  margin: 0 auto 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(122, 167, 255, 0.42);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    0 12px 28px -20px rgba(23, 37, 56, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chat-attach-send {
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow:
    0 8px 18px -10px rgba(70, 120, 200, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
