/* ============================================================
   银匠铺 · 前台样式（银饰银条零售站风格）
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-soft: #10141c;
  --panel: #151a24;
  --panel-2: #1c2230;
  --line: #2a3143;
  --line-soft: #212736;
  --ink: #e9ecf4;
  --ink-2: #c3c9d8;
  --muted: #8f98ac;
  --gold: #dde6f0;
  --gold-2: #a9b8ca;
  --gold-soft: rgba(214, 226, 240, 0.12);
  --red: #d9534a;
  --green: #56c78b;
  --blue: #67a6ea;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 50% -180px, rgba(214, 226, 240, 0.10), transparent 65%),
    radial-gradient(760px 460px at 8% 32%, rgba(126, 152, 184, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: 0.02em; }

p { margin: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #eef4fb, #b9c6d8);
  color: #0f141b;
  border-color: #ccd8e7;
  box-shadow: 0 6px 18px rgba(170, 186, 206, 0.22);
}

.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent;
  border-color: var(--gold-2);
  color: var(--gold);
}

.btn-outline:hover { background: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); }

.btn.block { width: 100%; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.link-btn:hover { color: var(--gold); }

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.16s ease;
}

.icon-btn:hover { color: var(--gold); border-color: var(--gold-2); }

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, #1a212a, #0d1218);
  border: 1px solid var(--gold-2);
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  font-family: "STKaiti", "KaiTi", var(--font);
  box-shadow: inset 0 0 14px rgba(214, 226, 240, 0.18);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-text strong { font-size: 17px; letter-spacing: 0.06em; }

.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  font-size: 14px;
  color: var(--ink-2);
}

.nav a:hover, .nav .link-btn:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.auth-entry {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--gold-2);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.auth-entry:hover { background: rgba(214, 226, 240, 0.2); }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

.user-chip em { font-style: normal; font-weight: 600; color: var(--ink); }

.vip-badge {
  padding: 1px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, #eef4fb, #a9b8ca);
  color: #0f141b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.coin-balance { color: var(--gold); font-size: 13px; }

.coin-btn {
  padding: 5px 12px;
  border-radius: 5px;
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.coin-btn:hover { background: var(--gold-soft); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.cart-btn:hover { border-color: var(--gold-2); }

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--gold);
  color: #0f141b;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.announce {
  padding: 7px 0;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: linear-gradient(90deg, rgba(214, 226, 240, 0), rgba(214, 226, 240, 0.09), rgba(214, 226, 240, 0));
  border-top: 1px solid rgba(214, 226, 240, 0.12);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 226, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 226, 240, 0.035) 1px, transparent 1px),
    radial-gradient(620px 320px at 76% 42%, rgba(214, 226, 240, 0.12), transparent 68%),
    radial-gradient(520px 300px at 16% 78%, rgba(126, 152, 184, 0.10), transparent 70%);
  background-size: 56px 56px, 56px 56px, auto, auto;
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-notice {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 340px;
  padding-left: 22px;
  border-left: 2px solid rgba(214, 226, 240, 0.32);
  text-align: left;
}

.hero-notice p { margin: 0; }

.hn-line {
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.05em;
  color: rgba(214, 226, 240, 0.68);
}

.hn-strong {
  margin-top: 12px !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #dde6f0;
  text-shadow: 0 0 24px rgba(214, 226, 240, 0.22);
}

@media (max-width: 1080px) {
  .hero-notice {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 34px;
    padding: 18px 0 0 18px;
  }

  .hn-strong { font-size: 19px; }
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #ffffff 8%, #dde6f0 46%, #a9b8ca 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-points {
  list-style: none;
  display: flex;
  gap: 56px;
  margin: 52px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.hero-points li { display: flex; flex-direction: column; gap: 2px; }

.hero-points strong {
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.hero-points span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.1em; }

/* ---------------- 区块 ---------------- */

.section { padding: 78px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(21, 26, 36, 0.72), rgba(16, 20, 28, 0.4));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-head.center { justify-content: center; text-align: center; }

.section-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.06em; }

.section-head h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* ---------------- 分类筛选 ---------------- */

.filters { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  padding: 7px 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
  letter-spacing: 0.06em;
}

.chip:hover { border-color: var(--gold-2); color: var(--gold); }

.chip.active {
  background: linear-gradient(180deg, #eef4fb, #b9c6d8);
  border-color: #ccd8e7;
  color: #0f141b;
  font-weight: 700;
}

/* ---------------- 商品卡 ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
  gap: 20px;
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 14px;
}

.product {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.product:hover {
  border-color: rgba(214, 226, 240, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 226, 240, 0.08);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(circle at 50% 42%, #232a3a, #11151d 72%);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product:hover .product-thumb img { transform: scale(1.045); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(11, 13, 18, 0.78);
  border: 1px solid rgba(214, 226, 240, 0.45);
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.product-cat {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  margin-bottom: 6px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.price small { font-size: 13px; margin-right: 1px; font-weight: 600; }

.add-btn {
  padding: 8px 14px;
  border-radius: 5px;
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}

.add-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #eef4fb, #b9c6d8);
  color: #0f141b;
  border-color: #ccd8e7;
}

.add-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------------- 故事 / 保障 ---------------- */

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; letter-spacing: 0.06em; }

.story-text p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

.story-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.story-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.story-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold-2);
  font-size: 11px;
  top: 2px;
}

.story-media {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: url('/img/silver/story-silver.jpg?v=20261127h') center/cover no-repeat, #0f131b;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(10, 13, 20, 0.55), rgba(10, 13, 20, 0) 58%);
  pointer-events: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: all 0.18s ease;
}

.service-card:hover { border-color: rgba(214, 226, 240, 0.45); transform: translateY(-3px); }

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(214, 226, 240, 0.3);
  font-family: "STKaiti", "KaiTi", var(--font);
}

.service-card h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: 0.06em; }

.service-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------------- 页脚 ---------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #080a0e;
  padding: 54px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand strong { font-size: 18px; letter-spacing: 0.08em; }

.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 6px; }

.footer-contact { color: var(--ink-2) !important; }

.footer-contact span { color: var(--gold); }

.footer-cols { display: flex; gap: 64px; }

.footer-cols h4 { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; letter-spacing: 0.14em; }

.footer-cols a, .footer-cols .link-btn {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  text-align: left;
}

.footer-cols a:hover, .footer-cols .link-btn:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7385;
  letter-spacing: 0.08em;
}

.icp-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(214, 226, 240, 0.34);
  border-radius: 999px;
  background: rgba(214, 226, 240, 0.06);
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.icp-btn:hover {
  border-color: rgba(214, 226, 240, 0.7);
  color: var(--gold);
  background: rgba(214, 226, 240, 0.12);
}

/* ---------------- 抽屉 ---------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 6, 10, 0.68);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.26s ease;
  box-shadow: var(--shadow);
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.drawer-head h3 { font-size: 17px; letter-spacing: 0.08em; }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }

.cart-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 60px 0; line-height: 2; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-item img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-item h4 { font-size: 14px; margin-bottom: 4px; }

.cart-price { color: var(--gold); font-size: 14px; font-weight: 700; }

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.qty button {
  width: 28px;
  height: 26px;
  border: 0;
  background: var(--panel);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 15px;
}

.qty button:hover { color: var(--gold); }

.qty span { min-width: 34px; text-align: center; font-size: 13px; }

.remove-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}

.remove-btn:hover { color: var(--red); }

.drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line-soft);
}

.cart-total { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.cart-total strong { color: var(--gold); font-size: 24px; margin-left: 6px; }

/* ---------------- 弹层 ---------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(3px);
}

.modal.open { display: flex; }

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a202c, #12161f);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal-close { position: absolute; top: 14px; right: 14px; background: var(--panel); }

.modal-title { font-size: 19px; letter-spacing: 0.08em; margin-bottom: 20px; }

.product-card { width: min(880px, 100%); padding: 0; }

.product-detail { display: grid; grid-template-columns: 1fr 1.05fr; }

.detail-media {
  background: radial-gradient(circle at 50% 45%, #222938, #0e121a 75%);
  display: grid;
  place-items: center;
  min-height: 340px;
  border-right: 1px solid var(--line-soft);
}

.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { padding: 34px 32px; }

.detail-info h2 { font-size: 23px; margin: 6px 0 14px; letter-spacing: 0.04em; }

.detail-specs {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
}

.detail-specs div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }

.detail-specs dt { color: var(--muted); }

.detail-specs dd { margin: 0; color: var(--ink-2); text-align: right; }

.detail-desc { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

.detail-buy { display: flex; gap: 12px; margin-top: 24px; }

.detail-buy .btn { flex: 1; }

/* ---------------- 表单 ---------------- */

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.form input, .form textarea, .form select {
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0d111a;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.16s ease;
  width: 100%;
}

.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(214, 226, 240, 0.1);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pay-tip { font-size: 12.5px; color: var(--muted); }

.checkout-summary {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(13, 17, 26, 0.7);
  margin-bottom: 16px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 5px 0;
}

.row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 600;
}

.row.total strong { color: var(--gold); font-size: 19px; }

.checkout-user { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.checkout-user strong { color: var(--ink-2); }

/* ---------------- 登录 ---------------- */

.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: #0d111a;
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
}

.auth-tab {
  flex: 1;
  padding: 9px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.auth-tab.active { background: var(--gold-soft); color: var(--gold); font-weight: 600; }

.auth-mode { display: flex; gap: 18px; margin-bottom: 16px; }

.auth-mode button {
  background: none;
  border: 0;
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
}

.auth-mode button.active { color: var(--gold); border-bottom-color: var(--gold); }

.auth-form label.full { margin-bottom: 14px; }

/* ---------------- 查询结果 ---------------- */

.lookup-result { margin-top: 18px; }

.lookup-card {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(13, 17, 26, 0.7);
}

.lookup-card h4 { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }

.status {
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--gold-soft);
  color: var(--gold);
}

.status.pending { background: rgba(214, 226, 240, 0.14); color: var(--gold); }

.status.paid { background: rgba(86, 199, 139, 0.14); color: var(--green); }

.status.shipped { background: rgba(103, 166, 234, 0.14); color: var(--blue); }

.status.completed { background: rgba(154, 163, 184, 0.14); color: var(--muted); }

.status.cancelled, .status.refunded { background: rgba(217, 83, 74, 0.14); color: var(--red); }

.status.refunding { background: rgba(214, 226, 240, 0.14); color: var(--gold-2); }

/* ---------------- 金币充值 ---------------- */

.coin-hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid rgba(214, 226, 240, 0.28);
  background: linear-gradient(135deg, rgba(214, 226, 240, 0.12), rgba(214, 226, 240, 0.03));
  margin-bottom: 12px;
}

.coin-hero span { font-size: 13px; color: var(--ink-2); }

.coin-hero strong { font-size: 28px; color: var(--gold); font-variant-numeric: tabular-nums; }

.coin-rate { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }

.recharge-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }

.recharge-quick button {
  flex: 1;
  min-width: 72px;
  padding: 9px 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-2);
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
}

.recharge-quick button:hover { border-color: var(--gold-2); color: var(--gold); }

.recharge-demo { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

.recharge-demo p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

.recharge-logs { margin-top: 20px; max-height: 200px; overflow-y: auto; }

.recharge-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 14px 0; }

.recharge-log {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.recharge-no { color: var(--muted); }

.recharge-state { padding: 1px 8px; border-radius: 4px; background: var(--gold-soft); color: var(--gold); }

.recharge-state.paid, .recharge-state.credited { background: rgba(86, 199, 139, 0.14); color: var(--green); }

.recharge-state.pending { background: var(--gold-soft); color: var(--gold); }

.recharge-state.cancelled, .recharge-state.closed { background: rgba(217, 83, 74, 0.14); color: var(--red); }

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 120;
  transform: translate(-50%, 20px);
  padding: 11px 22px;
  border-radius: 6px;
  background: rgba(21, 26, 36, 0.96);
  border: 1px solid var(--gold-2);
  color: var(--ink);
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s ease;
  box-shadow: var(--shadow);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1000px) {
  .nav { display: none; }
  .story { grid-template-columns: 1fr; gap: 34px; }
  .story-media { min-height: 260px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .detail-media { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 62px; gap: 12px; }
  .brand-text em { display: none; }
  .header-actions { gap: 8px; }
  .coin-balance { display: none; }
  .hero { padding: 62px 0 52px; }
  .hero-points { gap: 28px; margin-top: 36px; }
  .hero-points strong { font-size: 21px; }
  .section { padding: 54px 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-body { padding: 12px 13px 14px; }
  .product-name { font-size: 14px; }
  .price { font-size: 18px; }
  .add-btn { padding: 7px 10px; font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; }
  .modal { padding: 12px; }
  .modal-card { padding: 22px 18px; }
  .detail-info { padding: 22px 20px; }
}
