/* ═══════════════════════════════════════════════════════════════
   浮层：商品详情 → 确认订单 → 付款 在同一个浮层内切换（不再关一个开一个）
   桌面为居中对话框；手机为底部弹层，可下滑关闭；系统返回键逐级返回
   ═══════════════════════════════════════════════════════════════ */

.ov-root { position: relative; z-index: 80; }
html.is-locked, html.is-locked body { overflow: hidden; }

.ov { position: fixed; inset: 0; z-index: 80; display: flex; }
.ov__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  touch-action: none;
  transition: opacity var(--d-5) var(--ease-out);
}
.ov.is-open .ov__scrim { opacity: 1; }
.ov.is-closing .ov__scrim { opacity: 0; transition: opacity var(--d-3) var(--ease-in); }
/* 叠在另一个浮层上方时，遮罩更轻，不会越叠越黑 */
.ov + .ov .ov__scrim { background: rgba(5, 5, 20, .4); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ── 面板：手机端为底部弹层 ── */
.ov__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 20px);
  margin-top: auto;
  background: linear-gradient(180deg, #17183F 0, #0F1030 240px);
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -24px 80px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translate3d(0, 100%, 0);
  transition: transform var(--sheet-in, var(--d-5)) var(--ease-sheet);   /* 时长随面板高度变化，见 overlay.js */
  overscroll-behavior: contain;
  outline: none;
}
.ov.is-open .ov__panel { transform: none; }
.ov.is-closing .ov__panel { transform: translate3d(0, 100%, 0); transition: transform 300ms var(--ease-in); }
.ov.is-dragging .ov__panel, .ov.is-dragging .ov__scrim { transition: none; }

.ov__grab { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 24px; display: grid; place-items: center; pointer-events: none; }  /* 只做视觉提示；拖动由标题栏与内容区接管，不再遮住关闭按钮的上半部分 */
.ov__grab::before { content: ""; width: 38px; height: 4px; border-radius: 2px; background: var(--line-3); }

.ov__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 62px;
  padding: 16px 12px 8px 22px;
  flex: none;
  touch-action: none;
}
.ov__head.has-back { padding-left: 10px; }
.ov__back { animation: fade-in var(--d-3) var(--ease-out); }
.ov__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov__step { flex: none; margin-right: 2px; font-family: var(--font-latin); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--ink-3); }
/* 购买进度：商品 → 确认订单 → 付款 */
.ov__progress {
  position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--line);
  overflow: hidden;
}
.ov__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  transition: transform var(--d-5) var(--ease-out);
}

.ov__views { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.ov__view { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: inherit; }
.ov__view.is-leaving { position: absolute; inset: 0; pointer-events: none; }
.ov__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 14px 22px 26px;
}
.ov__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(14, 15, 44, .94);
}

@media (min-width: 768px) {
  .ov { align-items: center; justify-content: center; padding: 24px; }
  .ov__grab { display: none; }
  .ov__panel {
    width: min(520px, 100%);
    max-height: min(86vh, 860px);
    margin: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2), 0 0 80px -30px rgba(140, 108, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: translate3d(0, 14px, 0) scale(.98);
    opacity: 0;
    transition: transform var(--d-5) var(--ease-out), opacity var(--d-3) var(--ease-out);
  }
  .ov.is-open .ov__panel { transform: none; opacity: 1; }
  .ov.is-closing .ov__panel { transform: translate3d(0, 6px, 0) scale(.985); opacity: 0; transition: transform var(--d-3) var(--ease-in), opacity 200ms var(--ease-in); }
  /* 从点击位置展开、关闭时朝来处收回（transform-origin 由 overlay.js 设为点击点） */
  .ov.ov--from .ov__panel { transform: scale(.93); transition: transform 440ms var(--ease-out), opacity 220ms var(--ease-out); }
  .ov.ov--from.is-open .ov__panel { transform: none; }
  .ov.ov--from.is-closing .ov__panel { transform: scale(.96); transition: transform var(--d-3) var(--ease-in), opacity 200ms var(--ease-in); }
  .ov--wide .ov__panel { width: min(560px, 100%); }
  .ov__head { padding: 18px 16px 10px 28px; min-height: 66px; }
  .ov__head.has-back { padding-left: 14px; }
  .ov__progress { left: 28px; right: 28px; }
  .ov__body { padding: 18px 28px 30px; }
  .ov__foot { padding: 16px 28px; border-radius: 0 0 var(--r-xl) var(--r-xl); }
}

/* ── 通用小块 ── */
.blk { display: grid; gap: 12px; }
.blk__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }
.blk__h em { font-style: normal; font-size: 13px; letter-spacing: .02em; color: var(--ink-3); }
.blk .qty { justify-self: start; }

.note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }
.note b { color: var(--ink); font-weight: 600; }
.note button { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(139, 233, 255, .4); text-underline-offset: 3px; transition: text-decoration-color var(--d-2); }
@media (hover: hover) { .note button:hover { text-decoration-color: var(--cyan); } }
.note--warn { border-color: rgba(246, 200, 120, .28); background: rgba(246, 200, 120, .06); }
.note--warn .i { color: var(--warn); }
/* 内置浏览器提示：说明 + 复制按钮（复制订单信息 / 本站网址），不出现客服用户名 */
.note__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.note .note__acts .copy-btn { text-decoration: none; color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }

.total { display: grid; gap: 3px; margin-right: auto; min-width: 0; }
.total > span:first-child { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.total .price { font-size: 23px; }
.ov__foot .btn { flex: 0 1 220px; }
.ov__foot .btn--block { flex: 1 1 auto; }
@media (max-width: 380px) { .ov__foot .btn { flex-basis: 180px; padding: 0 16px; } }

/* ═════════ 商品详情 ═════════ */
.pd { display: grid; gap: 22px; }
.pd__top { display: flex; align-items: center; gap: 16px; }
.pd__name { font-family: var(--font-cn); font-weight: 800; font-size: clamp(20px, .8vw + 15px, 23px); line-height: 1.4; letter-spacing: .02em; }
.pd__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.pd__sub { color: var(--ink-2); line-height: 1.75; margin-top: -6px; }
.pd__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.pd__price .price { font-size: 38px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pd__stock { font-size: 13px; color: var(--ink-3); }
.pd__stock.is-low { color: var(--warn); }
.pd__alt { flex-basis: 100%; font-family: var(--font-latin); font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.pd__qtyhint { font-size: 13px; color: var(--cyan); line-height: 1.5; animation: fade-in var(--d-3) var(--ease-out); }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.opt {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 11px 14px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--surface);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color var(--d-2) var(--ease-out), background-color var(--d-2) var(--ease-out), box-shadow var(--d-3) var(--ease-out), transform var(--d-4) var(--ease-spring);
}
.opt b { font-weight: 600; font-size: 15px; padding-right: 14px; line-height: 1.4; }
.opt span { font-family: var(--font-latin); font-size: 13px; color: var(--ink-3); transition: color var(--d-2); }
.opt::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(0);
  transition: transform var(--d-4) var(--ease-spring);
}
@media (hover: hover) { .opt:hover:not(:disabled) { border-color: var(--line-3); } }
.opt:is(:active, .is-pressed):not(:disabled) { transform: scale(.97); transition-duration: var(--d-1); }
.opt[aria-checked="true"] { border-color: rgba(139, 233, 255, .7); background: rgba(139, 233, 255, .07); box-shadow: inset 0 0 0 1px rgba(139, 233, 255, .25); }
.opt[aria-checked="true"] span { color: var(--cyan); }
.opt[aria-checked="true"]::after { transform: scale(1); }
.opt:disabled { opacity: .38; cursor: not-allowed; }

.pd__desc p { color: var(--ink-2); line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; }
/* 还没填写介绍：一个紧凑的虚线框 + 去咨询的出口 */
.pd__empty { padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.pd__empty button { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(139, 233, 255, .4); text-underline-offset: 3px; }
.pd__desc p + p { margin-top: 8px; }
.pd__notice li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.pd__notice li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 4px; height: 4px; border-radius: 50%; background: var(--lilac); }

/* ═════════ 确认订单（收银台） ═════════ */
.cashier { display: grid; gap: 22px; }
.sum {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.sum__info { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sum__name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum__spec { font-size: 13px; color: var(--ink-3); }
.sum .price { font-size: 20px; }

.methods { display: grid; gap: 8px; transition: opacity var(--d-3); }
.methods.is-busy { pointer-events: none; opacity: .6; }
/* 没选支付方式就点了提交：不用禁用按钮让人猜，而是把注意力引到要做的事上（柔和的描边提示，不抖动、不报错色） */
.methods.is-hint .method { animation: hint-glow 1100ms var(--ease-out); }
@keyframes hint-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(139, 233, 255, 0); }
  25% { box-shadow: inset 0 0 0 1px rgba(139, 233, 255, .85), 0 0 0 4px rgba(139, 233, 255, .12); }
}
.methods__msg { font-size: 13px; color: var(--cyan); line-height: 1.5; }
.method__tag { font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--surface-3); font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; }
.method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--surface);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color var(--d-2) var(--ease-out), background-color var(--d-2) var(--ease-out), box-shadow var(--d-3) var(--ease-out), transform var(--d-4) var(--ease-spring);
}
@media (hover: hover) { .method:hover { border-color: var(--line-3); } }
.method:is(:active, .is-pressed) { transform: scale(.985); transition-duration: var(--d-1); }
.method[aria-checked="true"] { border-color: rgba(139, 233, 255, .7); background: rgba(139, 233, 255, .06); box-shadow: inset 0 0 0 1px rgba(139, 233, 255, .22); }
.method__logo { width: 36px; height: 36px; flex: none; }
.method__logo svg { width: 100%; height: 100%; }
.method__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.method__txt b { font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.method__txt span { font-size: 13px; color: var(--ink-3); }
.method__radio { position: relative; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-3); transition: border-color var(--d-2); }
.method__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scale(0); transition: transform var(--d-4) var(--ease-spring); }
.method[aria-checked="true"] .method__radio { border-color: var(--cyan); }
.method[aria-checked="true"] .method__radio::after { transform: scale(1); }

/* USDT 金额：选中 USDT 的同时展开 */
.usdt-pop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-4) var(--ease-out); }
.usdt-pop.is-on { grid-template-rows: 1fr; }
.usdt-pop > div { overflow: hidden; }
.usdt-pop__card {
  margin-top: 2px;
  padding: 16px 18px 17px;
  border-radius: var(--r-md);
  border: 1px solid rgba(38, 161, 123, .5);
  background: linear-gradient(180deg, rgba(38, 161, 123, .15), rgba(38, 161, 123, .04));
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--d-3) var(--ease-out), transform var(--d-4) var(--ease-out);
}
.usdt-pop.is-on .usdt-pop__card { opacity: 1; transform: none; transition-delay: 80ms; }
.usdt-pop__k { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; }
.usdt-pop__k span:last-child { color: var(--ink-3); }

.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; line-height: 1.1; }
.amount__num { font-family: var(--font-latin); font-weight: 600; font-size: 34px; letter-spacing: .01em; font-variant-numeric: tabular-nums; -webkit-user-select: all; user-select: all; }
.amount__num em { font-style: normal; color: var(--mint); text-shadow: 0 0 16px rgba(92, 230, 200, .55); box-shadow: inset 0 -2px 0 rgba(92, 230, 200, .6); }
.amount__unit { font-family: var(--font-latin); font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; }
.usdt-pop__hint { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.usdt-pop__hint b { color: var(--mint); font-weight: 600; }

/* ═════════ 付款 ═════════ */
.pay { display: grid; gap: 18px; }
.pay__hero { display: grid; justify-items: center; gap: 10px; text-align: center; padding-top: 2px; }
.check {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(92, 230, 200, .45), rgba(92, 230, 200, .1));
  box-shadow: inset 0 0 0 1px rgba(92, 230, 200, .5), 0 0 30px rgba(92, 230, 200, .3);
  animation: pop 560ms var(--ease-spring) backwards;
}
.check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw-check 420ms var(--ease-out) 260ms forwards; }
/* 订单生成的那一刻：打勾之后，一圈品牌色光环向外扩散一次（只播放一次，不循环）。
   体验的整体评价很大程度取决于结尾时刻（peak-end，Kahneman et al., 1993） */
.check { position: relative; }
.check::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(92, 230, 200, .7);
  opacity: 0;
  animation: ring-out 900ms var(--ease-out) 320ms;
  pointer-events: none;
}
@keyframes ring-out { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
.check--wait::after { display: none; }
.check--wait path, .check--wait circle { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.check--wait svg { animation: fade-in var(--d-5) var(--ease-out) 200ms backwards; }
.check--wait { background: radial-gradient(circle at 35% 30%, rgba(139, 233, 255, .4), rgba(139, 233, 255, .08)); box-shadow: inset 0 0 0 1px rgba(139, 233, 255, .5), 0 0 30px rgba(139, 233, 255, .25); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.pay__title { font-family: var(--font-cn); font-weight: 800; font-size: 20px; letter-spacing: .05em; line-height: 1.4; }
.pay__lead { font-size: 14px; color: var(--ink-2); line-height: 1.75; max-width: 27em; text-wrap: pretty; }

.kv { display: grid; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.kv__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; min-height: 48px; }
.kv__row + .kv__row { border-top: 1px solid var(--line); }
.kv__k { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.kv__v { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; text-align: right; font-size: 15px; }
.kv__v .mono { font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.kv__v .copy-btn { margin-right: -8px; }
.kv__note { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.kv__v .price { font-size: 17px; }

/* 订单号：页面上最重要的一串字，单独成卡 */
.orderno {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 16px 10px;
  border-radius: var(--r-md);
  border: 1px solid rgba(139, 233, 255, .32);
  background: linear-gradient(180deg, rgba(139, 233, 255, .08), rgba(139, 233, 255, .02));
  box-shadow: var(--lit);
  text-align: center;
}
.orderno__k { font-size: 13px; color: var(--ink-3); letter-spacing: .12em; }
.orderno__v {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(21px, 5.4vw, 27px);
  letter-spacing: .05em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(139, 233, 255, .4);
  -webkit-user-select: all;
  user-select: all;
}

.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.steps li::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.steps b { color: var(--ink); font-weight: 600; }

/* USDT 付款详情 */
.usdt-box { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-md); border: 1px solid rgba(38, 161, 123, .45); background: linear-gradient(180deg, rgba(38, 161, 123, .13), rgba(38, 161, 123, .03)); transition: opacity var(--d-4); }
.usdt-box.is-dim { opacity: .55; }
.usdt-box__amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.qr-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.qr { width: 128px; height: 128px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 30px -6px rgba(92, 230, 200, .4); }
.qr svg { width: 100%; height: 100%; }
.addr { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.addr__k { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.addr__v { font-family: var(--font-mono); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.addr .copy-btn { margin-left: -10px; }
.net { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(38, 161, 123, .25); color: #7CE6C2; font-family: var(--font-latin); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
@media (max-width: 400px) { .qr-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; } .addr { justify-items: center; text-align: center; } .addr .copy-btn { margin-left: 0; } }

.timer { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.timer b { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.timer svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 2.6; }
.timer .t-bg { stroke: var(--line-2); }
.timer .t-fg { stroke: var(--mint); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.timer.is-low b, .timer.is-low { color: var(--warn); }
.timer.is-low .t-fg { stroke: var(--warn); }

.pay__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pay__actions .btn--ghost { flex: 1 1 100%; }

/* ═════════ 我的订单 ═════════ */
.orders { display: grid; gap: 14px; }
.olist { display: grid; gap: 8px; }
.orow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color var(--d-2) var(--ease-out), background-color var(--d-2) var(--ease-out), transform var(--d-4) var(--ease-spring);
}
@media (hover: hover) { .orow:hover { border-color: var(--line-2); background: var(--surface-2); } }
.orow:is(:active, .is-pressed) { transform: scale(.985); transition-duration: var(--d-1); }
.orow__no { font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.orow__name { grid-column: 1; font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow__amt { grid-row: 2; grid-column: 2; justify-self: end; font-family: var(--font-latin); font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.orow .status { justify-self: end; }
.orders__empty { display: grid; justify-items: center; gap: 6px; padding: 28px 8px 18px; text-align: center; color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.orders__empty .empty__art { width: 76px; height: 76px; margin-bottom: 10px; }

/* ═════════ 客服面板 ═════════ */
.svs { display: grid; gap: 18px; }
.svs .scard__head { margin-top: 2px; }
.svs__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  transition: border-color var(--d-2) var(--ease-out), color var(--d-2) var(--ease-out), transform var(--d-4) var(--ease-spring);
}
.svs__switch b { color: var(--ink); font-weight: 600; }
@media (hover: hover) { .svs__switch:hover { border-color: var(--line-2); color: var(--ink); } }
.svs__switch:is(:active, .is-pressed) { transform: scale(.985); transition-duration: var(--d-1); }
.svs__switch .i { width: 16px; height: 16px; }
.svs .safety { margin-top: 0; }
