:root {
  --ink: #070707;
  --ink-2: #0d0c0a;
  --ink-surface: rgba(16, 14, 10, 0.72);
  --ivory: #f4efe4;
  --ivory-2: #faf7f0;
  --white: #ffffff;
  --gold: #d4af37;
  --gold-2: #f3dc8a;
  --gold-deep: #9c7a1f;
  --gold-grad: linear-gradient(135deg, #f3dc8a 0%, #d4af37 48%, #9c7a1f 100%);
  --text-light: #f2ecdc;
  --muted-light: #a39b86;
  --dk-text: #16130e;
  --dk-muted: #6b6355;
  --line-gold: rgba(212, 175, 55, 0.24);
  --line-dark: rgba(255, 255, 255, 0.08);
  --dk-line: rgba(22, 19, 14, 0.12);
  --success: #1f7a3f;
  --success-bg: #eaf6ee;
  --warning-bg: #fbf3df;
  --warning-border: rgba(156, 122, 31, 0.35);
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 32px rgba(22, 19, 14, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--dk-text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Obsidian Sticky Header ===== */
.top-header {
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.brand-fallback {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-grad);
  color: #171205;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-top {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted-light);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 7px 16px;
  border-radius: 999px;
  color: rgba(242, 236, 220, 0.76);
  font-weight: 500;
  font-size: 13.5px;
  transition: all 0.2s;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.nav-btn:hover {
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.08);
}

.nav-btn.active {
  color: #171205;
  background: var(--gold-grad);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.nav-admin {
  font-size: 12px;
  color: var(--muted-light);
  border: 1px solid rgba(242, 236, 220, 0.18);
}
.nav-admin:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

/* ===== Obsidian Luxury Hero Band (Homepage) ===== */
.hero-band {
  background:
    radial-gradient(640px 280px at 82% 20%, rgba(212, 175, 55, 0.20), transparent 70%),
    radial-gradient(480px 240px at 12% 85%, rgba(156, 122, 31, 0.16), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--text-light);
  border-bottom: 1px solid var(--line-gold);
  padding: 40px 0 36px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text-light);
}

.hero-title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stat-card {
  background: var(--ink-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  padding: 16px 18px;
}

.hero-stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 4px;
}

/* ===== Main Content ===== */
.main-content {
  flex: 1;
  width: 100%;
  padding-top: 26px;
  padding-bottom: 64px;
}

/* Cards on Warm Ivory */
.card {
  background: var(--ivory-2);
  border: 1px solid var(--dk-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* Announcement Strip */
.announcement-card {
  border-left: 3px solid var(--gold-deep);
  background: linear-gradient(180deg, #fcfaf4 0%, var(--ivory-2) 100%);
}

.announcement-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dk-text);
}

.announcement-text {
  color: var(--dk-muted);
  white-space: pre-line;
  margin: 0 0 12px 0;
  font-size: 13.5px;
}

.support-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--dk-line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(212, 175, 55, 0.14);
  color: #6d520e;
  border: 1px solid rgba(156, 122, 31, 0.25);
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s;
}

.chip:hover {
  background: var(--gold-grad);
  color: #171205;
  border-color: transparent;
}

.chip-dark {
  background: var(--ink);
  color: var(--gold-2);
  border-color: var(--line-gold);
}
.chip-dark:hover {
  background: #1c1912;
  color: #fff;
}

.chip-gray {
  background: rgba(22, 19, 14, 0.05);
  color: var(--dk-muted);
  border-color: var(--dk-line);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.search-input, .select-input {
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--dk-line);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background: var(--white);
  color: var(--dk-text);
  font-family: var(--sans);
}

.search-input { flex: 1; min-width: 240px; }
.select-input { min-width: 220px; }

.search-input:focus, .select-input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

/* Category Card & Table */
.cat-card {
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  background: linear-gradient(90deg, #12100b 0%, #1b1710 100%);
  border-bottom: 1px solid var(--line-gold);
}

.cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
  background: linear-gradient(160deg, #242015, #0a0907);
  border: 1px solid rgba(243, 220, 138, 0.28);
  flex-shrink: 0;
}

.cat-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.cat-count {
  font-size: 12px;
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 2px 11px;
  border-radius: 999px;
  font-weight: 500;
}

.goods-table {
  width: 100%;
  border-collapse: collapse;
}

.goods-table th {
  text-align: left;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dk-muted);
  border-bottom: 1px solid var(--dk-line);
  background: var(--ivory-2);
}

.goods-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(22, 19, 14, 0.07);
  vertical-align: middle;
}

.goods-table tr:last-child td { border-bottom: none; }
.goods-table tbody tr:hover { background: #fbf8f1; }

.prod-name-cell {
  color: var(--dk-text);
  font-weight: 500;
  word-break: break-word;
}

.delivery-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}

.badge-auto { background: var(--success-bg); color: var(--success); }
.badge-manual { background: var(--warning-bg); color: var(--gold-deep); border: 1px solid var(--warning-border); }

.price-cell {
  white-space: nowrap;
  font-weight: 700;
  color: #8a6410;
  font-size: 15.5px;
}

.price-usdt-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--dk-muted);
}

.stock-cell {
  white-space: nowrap;
  color: var(--dk-text);
  font-weight: 600;
}

.action-cell {
  white-space: nowrap;
  text-align: right;
  width: 108px;
}

.expand-bar {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--dk-line);
  background: var(--ivory-2);
}

/* ===== Pill Buttons (Poseidon Signature) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--dk-line);
  background: var(--white);
  color: var(--dk-text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none !important;
  font-family: var(--sans);
}

.btn:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 12.5px; }
.btn-lg { height: 44px; padding: 0 26px; font-size: 14.5px; }

.btn-primary {
  background: var(--gold-grad);
  border-color: transparent;
  color: #171205 !important;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.34);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-2) !important;
}
.btn-dark:hover {
  background: #1d1a13;
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(242, 236, 220, 0.26);
  color: var(--text-light) !important;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2) !important;
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
  color: #fff !important;
}

.btn-link {
  border: none;
  background: transparent;
  color: var(--gold-deep);
  height: auto;
  padding: 4px 10px;
}

/* ===== Product Detail & Checkout ===== */
.detail-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 34px;
  background: var(--white);
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 18px;
}

.meta-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
}
.meta-row.full { grid-column: 1 / -1; }
.meta-label { font-weight: 700; color: var(--dk-text); white-space: nowrap; }
.meta-value { color: var(--dk-muted); }
.meta-price { color: var(--gold-deep); font-weight: 700; font-size: 20px; }
.meta-stock { color: var(--dk-text); font-weight: 700; }

.notice-section {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 12px;
  padding: 16px 20px;
  color: #5c4314;
  font-size: 13.5px;
  line-height: 1.8;
  margin: 20px 0 24px;
  white-space: pre-line;
}

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13.5px;
  color: var(--dk-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-label .req { color: var(--danger); margin-right: 3px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dk-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.stepper button {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--ivory-2);
  color: var(--dk-text);
  font-size: 16px;
  cursor: pointer;
}
.stepper button:hover { background: #ede5d4; }

.stepper input {
  width: 66px;
  height: 38px;
  border: none;
  border-left: 1px solid var(--dk-line);
  border-right: 1px solid var(--dk-line);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.total-display {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-deep);
}

.rate-hint { font-size: 12.5px; color: var(--dk-muted); }

.form-control {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--dk-line);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background: var(--white);
  color: var(--dk-text);
  font-family: var(--sans);
}
.form-control:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.coupon-row { display: flex; gap: 10px; }

.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; }

.pay-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1.5px solid var(--dk-line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  min-width: 148px;
  transition: all 0.15s;
  font-weight: 600;
}

.pay-tile:hover { border-color: var(--gold-deep); }
.pay-tile.selected {
  border-color: var(--gold-deep);
  background: var(--warning-bg);
  color: #5c4314;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.22);
}

.pay-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.pay-alipay { background: #1677ff; }
.pay-usdt { background: #26a17b; }
.pay-balance { background: var(--ink); color: var(--gold-2); }

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--dk-line);
}

/* ===== Order & Query Views ===== */
.center-card {
  max-width: 680px;
  margin: 20px auto;
  padding: 30px 34px;
  background: var(--white);
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.status-unpaid { background: var(--warning-bg); color: var(--gold-deep); }
.status-paid_pending_delivery { background: #eff6ff; color: #1d4ed8; }
.status-delivered { background: var(--success-bg); color: var(--success); }
.status-cancelled { background: var(--danger-bg); color: var(--danger); }

.pay-box {
  background: var(--ivory-2);
  border: 1px solid var(--dk-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}

.code-box {
  background: var(--ink);
  color: var(--gold-2);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 12px 0;
}

/* ===== Account Center (Poseidon Obsidian + Ivory Contrast) ===== */
.auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 24px auto;
}

.auth-hero {
  background:
    radial-gradient(420px 220px at 90% 10%, rgba(212, 175, 55, 0.25), transparent 70%),
    var(--ink);
  color: var(--text-light);
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-hero .tag {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 10px;
}

.auth-hero h2 {
  font-family: var(--serif);
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--text-light);
}

.auth-hero ul {
  padding-left: 18px;
  margin: 0;
  line-height: 2.1;
  color: var(--muted-light);
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--dk-line);
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--dk-muted);
  cursor: pointer;
}

.tab-btn.active {
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
}

/* ===== Obsidian Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  border-top: 1px solid var(--line-gold);
  padding: 28px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-tagline {
  font-size: 12.5px;
  color: var(--muted-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-links a { color: var(--text-light); opacity: 0.82; }
.footer-links a:hover { color: var(--gold-2); opacity: 1; text-decoration: none; }

/* ===== Floating Gold Telegram FAB ===== */
.tg-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #171205 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.38);
  z-index: 80;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tg-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.5);
}

/* ===== Modal & Toast ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-card {
  background: var(--ivory-2);
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--ink);
  color: var(--gold-2);
  border-bottom: 1px solid var(--line-gold);
}
.modal-header h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }

.modal-close {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted-light);
}
.modal-close:hover { color: var(--gold-2); }

.modal-body {
  padding: 22px 24px;
  white-space: pre-line;
  color: var(--dk-text);
  line-height: 1.85;
}

.modal-footer {
  padding: 12px 24px 22px;
  text-align: right;
}

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--gold-2);
  border: 1px solid var(--line-gold);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hidden { display: none !important; }
.loading-box { text-align: center; padding: 64px 20px; color: var(--dk-muted); }

@media (max-width: 860px) {
  .hero-inner, .meta-grid, .auth-grid { grid-template-columns: 1fr; }
  .detail-card, .center-card { padding: 20px; }
  .goods-table th:nth-child(3), .goods-table td:nth-child(3) { display: none; }
}

/* ==================== USDT TRC20 ON-CHAIN PAYMENT ==================== */
.usdt-pay-box {
  background: linear-gradient(180deg, #fffdf7 0%, #f9f4e7 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  padding: 20px;
}

.usdt-pay-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(201, 162, 39, 0.35);
}

.usdt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #15803d;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: usdtPulse 1.8s infinite;
}

@keyframes usdtPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.usdt-countdown {
  background: #0a0c10;
  color: #f3dc8a;
  font-family: 'Inter', monospace;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  white-space: nowrap;
}

.usdt-pay-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.usdt-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.usdt-qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid rgba(201, 162, 39, 0.55);
  box-shadow: 0 6px 18px rgba(10, 12, 16, 0.08);
  line-height: 0;
}

.usdt-qr-tip {
  font-size: 11px;
  color: #7a7469;
  font-weight: 500;
}

.usdt-pay-info {
  flex: 1;
  min-width: 240px;
}

.usdt-amount-card {
  background: #0d1016;
  color: #f8f5ec;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.usdt-amount-card .usdt-amount-label {
  color: #d6cbb5;
}

.usdt-amount-label {
  font-size: 12px;
  color: #6b6457;
}

.usdt-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.usdt-amount-val {
  font-size: 24px;
  color: #f3dc8a;
  letter-spacing: 0.3px;
}

.usdt-amount-val span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.usdt-txid-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(201, 162, 39, 0.35);
}

.status-expired {
  background: #fee2e2;
  color: #b91c1c;
}

.usdt-fee-guide {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(243, 220, 138, 0.25);
  font-size: 12px;
  color: #e6dcc8;
  line-height: 1.75;
}

.usdt-fee-guide code {
  background: rgba(243, 220, 138, 0.16);
  color: #f3dc8a;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.usdt-mini-copy {
  background: rgba(243, 220, 138, 0.18);
  color: #f3dc8a;
  border: 1px solid rgba(243, 220, 138, 0.4);
  border-radius: 4px;
  font-size: 11px;
  padding: 1px 6px;
  margin-left: 3px;
  cursor: pointer;
}

.usdt-mini-copy:hover {
  background: rgba(243, 220, 138, 0.32);
}
