/* 积分兑换 — 对齐主站白底黑字 + 交易所票据感，列表小卡 */

.rd-page {
  --rd-ink: #111111;
  --rd-muted: rgba(17, 17, 17, 0.55);
  --rd-line: rgba(17, 17, 17, 0.12);
  --rd-line-strong: rgba(17, 17, 17, 0.2);
  --rd-soft: #f7f8fa;
  --rd-ticket: #f7f2e8;
  --rd-gold: #b8860b;
  --rd-danger: #b42318;
  --rd-ok: #2f6b45;
  --rd-font: var(--font-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif);
  --rd-display: var(--font-serif, "Songti SC", "STSong", "SimSun", serif);
  --rd-mono: var(--font-code, ui-monospace, Consolas, monospace);
  position: relative;
  min-height: 68vh;
  color: var(--rd-ink);
  font-family: var(--rd-font);
  background: #ffffff;
  padding-bottom: 48px;
  overflow-x: hidden;
}

.rd-sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--rd-soft) 0%, #ffffff 100%);
}

.rd-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 12px 40px;
}

/* ── 柜台头 ── */
.rd-counter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 14px;
  align-items: stretch;
}
@media (min-width: 720px) {
  .rd-counter:not(.rd-counter--slim) {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
}

.rd-counter-plate {
  position: relative;
  background-color: var(--rd-ticket);
  background-image:
    radial-gradient(rgba(26, 23, 20, 0.04) 0.5px, transparent 0.7px),
    linear-gradient(165deg, #fffef9 0%, var(--rd-ticket) 55%, #ebe2d2 100%);
  background-size: 4px 4px, auto;
  border: 1px solid var(--rd-line-strong);
  border-radius: 6px;
  padding: 14px 14px 12px 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    3px 3px 0 rgba(17, 17, 17, 0.07);
  overflow: hidden;
  animation: rdPlateIn 0.35s ease-out both;
}
.rd-counter-plate::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background:
    repeating-linear-gradient(
      180deg,
      var(--rd-gold) 0 3px,
      color-mix(in srgb, var(--rd-gold) 55%, #111) 3px 4px
    );
}
@keyframes rdPlateIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.rd-plate-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.rd-bureau {
  display: inline-flex;
  align-items: center;
  font-family: var(--rd-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--rd-gold) 72%, #111);
  padding: 3px 7px;
  border: 1.5px dashed color-mix(in srgb, var(--rd-gold) 48%, #111);
  border-radius: 2px;
  background: color-mix(in srgb, var(--rd-ticket) 65%, #fff);
  transform: rotate(-1deg);
}
.rd-window-no {
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border: 1px dashed var(--rd-muted);
  color: var(--rd-muted);
  border-radius: 2px;
}
.rd-back-desk {
  font-size: 12px;
  font-weight: 700;
  color: var(--rd-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rd-line-strong);
}
.rd-back-desk:hover { color: var(--rd-danger); border-bottom-color: var(--rd-danger); }

.rd-mast {
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}
.rd-mast-zh {
  font-family: var(--rd-display);
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rd-ink);
}
.rd-mast-en {
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--rd-muted);
  font-weight: 600;
}
.rd-lede {
  margin: 0 0 12px;
  max-width: 42em;
  font-size: 13px;
  line-height: 1.65;
  color: var(--rd-muted);
}

.rd-counter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  border-top: 1px dashed var(--rd-line);
  padding-top: 10px;
}
.rd-wallet {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 12px;
  background: #111;
  color: #fff;
  border-radius: 4px;
  flex: 1;
  min-width: 130px;
}
.rd-wallet-lab {
  font-size: 11px;
  opacity: 0.65;
}
.rd-wallet strong {
  font-family: var(--rd-mono);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rd-wallet-unit {
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.rd-manifest-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--rd-line-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  min-height: 38px;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.rd-manifest-link:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.rd-manifest-arrow {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.rd-manifest-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.rd-seal {
  display: none;
  place-items: center;
  padding: 4px;
}
@media (min-width: 720px) {
  .rd-seal { display: grid; }
}
.rd-seal-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2.5px double var(--rd-danger);
  color: var(--rd-danger);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transform: rotate(-12deg);
  opacity: 0.85;
  animation: rdStampIn 0.5s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1.1) both;
  background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(180, 35, 24, 0.05) 59%);
}
@keyframes rdStampIn {
  from { opacity: 0; transform: rotate(-24deg) scale(1.2); }
  to { opacity: 0.85; transform: rotate(-12deg) scale(1); }
}
.rd-seal-top,
.rd-seal-bot {
  font-family: var(--rd-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.rd-seal-mid {
  font-family: var(--rd-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.rd-shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  padding: 0 2px;
}
.rd-shelf-mark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.rd-shelf-hint {
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--rd-muted);
}

/* ── 小卡网格（对齐交易所 compact） ── */
.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 560px) {
  .rd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 860px) {
  .rd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rd-line-strong);
  border-radius: 6px;
  overflow: hidden;
  min-height: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  animation: rdCardIn 0.3s ease-out both;
}
.rd-card:nth-child(2) { animation-delay: 0.03s; }
.rd-card:nth-child(3) { animation-delay: 0.06s; }
.rd-card:nth-child(4) { animation-delay: 0.09s; }
@keyframes rdCardIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (hover: hover) {
  .rd-card:hover {
    border-color: #111;
    box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.08);
  }
}
.rd-card.is-out { opacity: 0.65; filter: grayscale(0.25); }

/* 撕边改为顶条细带，不占横向宽度 */
.rd-card-perf {
  height: 5px;
  flex-shrink: 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--rd-gold) 0 4px,
      #111 4px 5px
    );
}

.rd-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.rd-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--rd-soft);
  border-bottom: 1px solid var(--rd-line);
  overflow: hidden;
}
.rd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-card-sku {
  position: absolute;
  left: 5px;
  bottom: 5px;
  font-family: var(--rd-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rd-line-strong);
  border-radius: 2px;
  padding: 1px 4px;
  color: var(--rd-muted);
}

.rd-card-body {
  padding: 8px 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.rd-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-card-desc {
  display: none; /* 小卡不挤描述 */
}
.rd-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--rd-line);
}
.rd-cost {
  font-family: var(--rd-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--rd-ink);
}
.rd-cost small {
  font-size: 10px;
  font-weight: 600;
  color: var(--rd-muted);
  margin-left: 2px;
}
.rd-stock {
  display: none;
}

.rd-btn {
  appearance: none;
  border: 1px solid var(--rd-line-strong);
  background: #fff;
  color: var(--rd-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  cursor: pointer;
  line-height: 1.2;
  border-radius: 3px;
  transition: background 0.12s ease, color 0.12s ease;
}
.rd-btn:active { transform: translateY(1px); }
.rd-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.rd-btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
  padding: 5px 9px;
}
.rd-btn-ghost { background: transparent; }
.rd-btn-danger {
  color: var(--rd-danger);
  border-color: var(--rd-danger);
  background: #fff;
}
.rd-btn-stamp {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  background: #111;
  border-color: #111;
  color: #fff;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.rd-btn-stamp span { position: relative; z-index: 1; }

.rd-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--rd-muted);
  border: 1px dashed var(--rd-line-strong);
  border-radius: 6px;
  background: var(--rd-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rd-empty[hidden] {
  display: none !important;
}
.rd-empty-stamp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--rd-muted);
  display: grid;
  place-items: center;
  font-family: var(--rd-display);
  font-size: 18px;
  color: var(--rd-muted);
  transform: rotate(-8deg);
  opacity: 0.65;
}
.rd-empty p { margin: 0; font-size: 13px; }
.rd-more-wrap { text-align: center; margin-top: 14px; }

/* ── 运单弹层 ── */
.rd-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.rd-sheet[hidden] { display: none !important; }
.rd-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}
.rd-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(94vh, 720px);
  overflow: auto;
  background: transparent;
  padding: 0 10px 12px;
  animation: rdWayIn 0.25s ease-out;
}
@keyframes rdWayIn {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (min-width: 640px) {
  .rd-sheet { align-items: center; padding: 20px; }
  .rd-sheet-panel { padding: 0; max-height: 90vh; }
}
.rd-sheet-x {
  position: absolute;
  right: 18px;
  top: 12px;
  z-index: 3;
  border: 1px solid var(--rd-line-strong);
  background: #fff;
  font-family: var(--rd-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--rd-ink);
  border-radius: 3px;
}

.rd-waybill {
  background: #fff;
  border: 1px solid var(--rd-line-strong);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(17, 17, 17, 0.18);
  overflow: hidden;
}
.rd-waybill-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: #111;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.rd-waybill-copy {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1px 6px;
  border-radius: 2px;
  opacity: 0.85;
}
.rd-waybill-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--rd-soft);
  border-bottom: 1px solid var(--rd-line);
  overflow: hidden;
  touch-action: pan-y;
}
.rd-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}
.rd-gallery-slide {
  flex: 0 0 auto;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}
.rd-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.rd-gallery-empty {
  background: var(--rd-soft);
}
.rd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rd-line-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--rd-ink);
  font-size: 22px;
  line-height: 1;
  border-radius: 3px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rd-gallery-prev { left: 8px; }
.rd-gallery-next { right: 8px; }
@media (min-width: 640px) {
  .rd-gallery-nav { display: inline-flex; }
}
.rd-gallery-nav:hover {
  background: #fff;
  border-color: #111;
}
.rd-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.rd-gallery-dots button {
  pointer-events: auto;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.2);
  cursor: pointer;
}
.rd-gallery-dots button.is-on {
  background: #111;
  box-shadow: none;
}
.rd-waybill-corner {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  font-family: var(--rd-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  background: #fff;
  border: 1px solid var(--rd-line-strong);
  border-radius: 2px;
}

.rd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rd-lightbox[hidden] { display: none !important; }
.rd-lightbox-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}
.rd-lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 960px);
  max-height: 86vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: #111;
}
.rd-lightbox-x {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: var(--rd-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 3px;
}
.rd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 3px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rd-lightbox-prev { left: 16px; }
.rd-lightbox-next { right: 16px; }
@media (min-width: 640px) {
  .rd-lightbox-nav { display: inline-flex; }
}
.rd-waybill-meta { padding: 12px 14px 2px; }
.rd-sheet-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  padding-right: 56px;
}
.rd-waybill-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--rd-muted);
}
.rd-waybill-price b {
  font-family: var(--rd-mono);
  font-size: 22px;
  color: var(--rd-ink);
  font-weight: 700;
}
.rd-waybill-price em {
  font-style: normal;
  font-family: var(--rd-mono);
  font-size: 11px;
}
.rd-sheet-desc {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rd-muted);
  white-space: pre-wrap;
}

.rd-form {
  padding: 8px 14px 16px;
  border-top: 1px dashed var(--rd-line);
  margin-top: 4px;
}
.rd-form-cap {
  margin: 0 0 8px;
  font-family: var(--rd-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--rd-gold);
  font-weight: 700;
}
.rd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 380px) {
  .rd-form-row { grid-template-columns: 1fr; }
}
.rd-field { display: block; margin-bottom: 8px; }
.rd-field > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rd-muted);
  margin-bottom: 3px;
}
.rd-field input,
.rd-field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--rd-line-strong);
  background: var(--rd-soft);
  padding: 9px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--rd-ink);
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
}
.rd-field input:focus,
.rd-field textarea:focus {
  background: #fff;
  border-color: #111;
}
.rd-field textarea { resize: vertical; min-height: 68px; }
.rd-form-tip {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--rd-muted);
  line-height: 1.4;
}

/* ── 运单列表 ── */
.rd-ord-list { display: flex; flex-direction: column; gap: 8px; }
.rd-ord {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  background: #fff;
  border: 1px solid var(--rd-line-strong);
  border-radius: 6px;
  overflow: hidden;
  animation: rdCardIn 0.3s ease-out both;
}
@media (max-width: 400px) {
  .rd-ord { grid-template-columns: 64px 1fr; }
}
.rd-ord-img {
  background: var(--rd-soft);
  border-right: 1px solid var(--rd-line);
  min-height: 100%;
}
.rd-ord-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 88px;
}
.rd-ord-body {
  padding: 10px 12px 11px;
  position: relative;
}
.rd-ord-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 4px;
}
.rd-ord-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 72%;
}
.rd-stamp-mark {
  position: absolute;
  right: 8px;
  top: 42%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--rd-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: rotate(-16deg);
  opacity: 0.45;
  pointer-events: none;
}
.rd-stamp-mark.pending { color: var(--rd-gold); }
.rd-stamp-mark.cancel_requested { color: #b45309; }
.rd-stamp-mark.shipped { color: var(--rd-ok); }
.rd-stamp-mark.cancelled { color: #888; }

.rd-ord-meta {
  margin: 0;
  font-size: 12px;
  color: var(--rd-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.rd-ord-meta .rd-ono {
  font-family: var(--rd-mono);
  font-size: 11px;
  color: var(--rd-ink);
}
.rd-ord-meta .rd-track {
  display: block;
  margin-top: 3px;
  color: var(--rd-ok);
  font-weight: 600;
  font-family: var(--rd-mono);
  font-size: 11px;
}
.rd-ord-actions {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.rd-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1300;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  max-width: 90vw;
  text-align: center;
  border-radius: 4px;
}
.rd-toast[hidden] { display: none !important; }
.rd-toast.err { background: var(--rd-danger); }

/* 提示弹窗 */
.rd-alert {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rd-alert[hidden] { display: none !important; }
.rd-alert-mask {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
}
.rd-alert-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 8px;
  padding: 18px 16px 14px;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.22);
  animation: rdPlateIn 0.2s ease-out;
}
.rd-alert-box.is-err .rd-alert-title { color: var(--rd-danger); }
.rd-alert-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}
.rd-alert-msg {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.72);
  word-break: break-word;
}
.rd-alert-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.rd-alert-actions .rd-btn {
  min-width: 88px;
  padding: 8px 14px;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}
