/* ============================================================
 * 「你的商品被拍下」弹卡（卖家拍下提醒）
 *
 * 改动日期：2026-10-23
 *
 * 原来整张卡是"棕橙系"：奶油渐变底 + 橙色边框 + 棕色文字，
 * 看着老气；提示文字靠一条虚线分隔，两个按钮是 40px 胶囊。
 * 现在改成现代卡片风：纯白底 + 大圆角 + 柔和多层阴影，
 * 橙色只留在标签、金额、状态和「进群」按钮上做点缀。
 * 只改样式，DOM 和逻辑一行没动。
 * ============================================================ */

/* 遮罩：略深一点、模糊一点，让卡片更跳出来 */
.pxbuy-mask {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 22, 14, .46);
  backdrop-filter: blur(3px);
  animation: pxbuy-fade .18s ease-out;
}

/* 卡片本体：纯白、大圆角、柔和双层阴影，去掉橙色边框 */
.pxbuy-modal {
  box-sizing: border-box;
  width: 100%;
  max-width: 322px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 6px rgba(83, 42, 10, .06), 0 22px 48px -12px rgba(83, 42, 10, .3);
  animation: pxbuy-pop .24s cubic-bezier(.2, .9, .3, 1.15);
}

/* 顶部一行：标签 + 金额 */
.pxbuy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 标签：浅橙底 + 橙字 + 细边框，比实心橙块精致 */
.pxbuy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff4e8;
  border: 1px solid #ffdcb8;
  color: #d9660a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.pxbuy-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f07816;
  opacity: 1;
}

/* 金额：更大更沉 */
.pxbuy-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e8590c;
  letter-spacing: -.3px;
}

/* 商品名：近黑、行距放宽 */
.pxbuy-title {
  margin: 14px 0 10px;
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 600;
  color: #1d1d1f;
  overflow-wrap: anywhere;
}

/* 编号 / 状态 */
.pxbuy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .75rem;
  color: #86868b;
}
.pxbuy-no {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .2px;
}
.pxbuy-state {
  color: #f07816;
  font-weight: 700;
}

/* 提示：换成浅灰圆角块，不再用一条虚线硬隔 */
.pxbuy-hint {
  margin: 14px 0 16px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f6f7f9;
  border: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: #5f6470;
}

/* 两个按钮 */
.pxbuy-actions {
  display: flex;
  gap: 10px;
}
.pxbuy-actions button {
  flex: 1;
  height: 42px;
  border-radius: 14px;
  font-size: .87rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, filter .18s ease, background .18s ease;
}
.pxbuy-later {
  background: #f2f3f5;
  color: #4b5563;
}
.pxbuy-later:active {
  background: #e7e9ee;
  transform: scale(.985);
}
.pxbuy-go {
  background: linear-gradient(180deg, #ff8f33 0%, #f07816 100%);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(240, 120, 22, .62);
}
.pxbuy-go:active {
  transform: scale(.985);
  filter: brightness(.96);
}
.pxbuy-go:disabled {
  opacity: .5;
  box-shadow: none;
  cursor: default;
}

@keyframes pxbuy-fade {
  from { opacity: 0 }
  to { opacity: 1 }
}
@keyframes pxbuy-pop {
  from { opacity: 0; transform: translateY(12px) scale(.95) }
  to { opacity: 1; transform: none }
}

/* ---- 下面这些是「稍后处理」小条，样式沿用原来那套，只跟着调了圆角和对齐 ---- */
.pxbuy-later-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 12px 2px;
}
.pxbuy-later-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ecedf0;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}
.pxbuy-later-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pxbuy-later-title {
  font-size: .82rem;
  font-weight: 600;
  color: #1d1d1f;
}
.pxbuy-later-sub {
  font-size: .72rem;
  color: #86868b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pxbuy-later-go {
  flex: none;
  height: 30px;
  padding: 0 13px;
  border: none;
  border-radius: 999px;
  background: #f07816;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}
.pxbuy-later-close {
  flex: none;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #b0b3ba;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.pxbuy-actions a.pxbuy-go,
.pxbuy-actions button.pxbuy-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 42px;
  border-radius: 14px;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}
a.pxbuy-go[aria-disabled="true"] {
  opacity: .5;
  box-shadow: none;
  pointer-events: auto;
  cursor: default;
}
a.pxbuy-later-go[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}
a.pxbuy-later-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
