:root {
  --bg: #04060c;
  --bg-elev: #0a101d;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.42);
  --gold: #f5c363;
  --ember: #df8f27;
  --cyan: #38bdf8;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 18% -10%, rgba(56, 189, 248, 0.12), transparent 60%),
              radial-gradient(900px 500px at 85% 0%, rgba(245, 195, 99, 0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* 顶栏：与官网首页保持一致的浮空毛玻璃导航 */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 16px;
}
.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 32px; width: auto; display: block; }
.brand-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.16); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-size: 18px; font-weight: 800; letter-spacing: 0.16em; }
.brand-txt small { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 8px;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.18s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { color: var(--gold); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--ember));
  color: #151007;
  box-shadow: 0 6px 20px rgba(245, 195, 99, 0.22);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--border-strong); }
.btn-cyan {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.32);
  color: #bae6fd;
}
.btn-cyan:hover { background: rgba(56, 189, 248, 0.22); }
.btn-disabled, .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
  transform: none;
}
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: var(--muted);
}
.user-chip b { color: var(--text); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ember);
  color: #111;
  font-size: 11px;
  font-weight: 800;
}

/* 主体容器 */
main.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 102px 20px 64px;
  flex: 1;
}

.hero {
  text-align: center;
  margin-bottom: 36px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 195, 99, 0.28);
  background: rgba(245, 195, 99, 0.08);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
}
.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero p {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
  font-size: 15.5px;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 20px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.trust-item i { color: var(--ok); font-style: normal; font-weight: 800; }

/* 列表卡片网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 195, 99, 0.36);
  background: var(--card-hover);
}
.product-card.out-of-stock {
  border-color: rgba(255, 255, 255, 0.08);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0c1220;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.03); }
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.tag-promo { background: rgba(245, 195, 99, 0.92); color: #1a1204; }
.tag-stock-ok { background: rgba(16, 185, 129, 0.88); color: #041d14; }
.tag-stock-out { background: rgba(239, 68, 68, 0.92); color: #fff; }
.tag-refurb { background: rgba(56, 189, 248, 0.88); color: #051c2c; }
.tag-5g { background: rgba(168, 85, 247, 0.90); color: #fff; }

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-model {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.product-title {
  margin: 6px 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}
.product-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}
.product-bullets {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}
.product-bullets li {
  padding-left: 16px;
  position: relative;
}
.product-bullets li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 900;
}
.product-price-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.price-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.price-orig {
  margin-left: 8px;
  font-size: 13.5px;
  color: var(--dim);
  text-decoration: line-through;
}
.price-meta {
  font-size: 11.5px;
  color: var(--ok);
}
.product-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 选型对比表 */
.section-block {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.section-block h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.section-block .sec-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.compare-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.02);
}

/* 产品详情页布局 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold); }

.detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}
.detail-gallery {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.detail-caption {
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.detail-info h1 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.28;
}
.detail-summary {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
.detail-price-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(245, 195, 99, 0.06);
  border: 1px solid rgba(245, 195, 99, 0.22);
  margin-bottom: 18px;
}
.detail-price-box .price-main { font-size: 32px; }
.detail-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}
.detail-perks span { display: inline-flex; align-items: center; gap: 5px; }
.detail-perks i { color: var(--ok); font-style: normal; font-weight: 800; }

.detail-highlights {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.detail-highlights li {
  padding-left: 20px;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}
.detail-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.qty-box button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.qty-box button:hover { background: rgba(255, 255, 255, 0.08); }
.qty-box input {
  width: 52px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stock-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  font-size: 13px;
  color: #fecaca;
}
.stock-notice a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}

/* 规格参数区 */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.spec-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.spec-card.full { grid-column: 1 / -1; }
.spec-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}
.spec-list {
  display: flex;
  flex-direction: column;
}
.spec-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.spec-row:first-child { border-top: 0; padding-top: 0; }
.spec-k { color: var(--muted); }
.spec-v { color: var(--text); }

.pkg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 13.5px;
}
.pkg-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

/* 弹窗（登录 / 下单 / 微信扫码支付 / 我的订单） */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-mask.open { display: flex; }
.modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: #0d1424;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}
.modal-box.wide { max-width: 820px; }
.modal-hd {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-hd h3 { margin: 0; font-size: 17px; font-weight: 800; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.modal-bd {
  padding: 20px 22px;
  overflow-y: auto;
}
.modal-ft {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.tabs button {
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.tabs button.on {
  background: rgba(245, 195, 99, 0.18);
  color: var(--gold);
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
  outline: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.input-inline {
  display: flex;
  gap: 8px;
}
.input-inline input { flex: 1; }

.alert-msg {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.alert-msg.err { display: block; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.35); color: #fecaca; }
.alert-msg.ok { display: block; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.alert-msg.info { display: block; background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: #bae6fd; }

.order-summary-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.qr-stage {
  text-align: center;
  padding: 8px 0;
}
.qr-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 232px;
  height: 232px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  margin: 14px auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.qr-frame img { width: 100%; height: 100%; display: block; }
.qr-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  font-size: 13px;
  font-weight: 600;
}
.qr-status.paid { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }

/* 我的订单列表卡片 */
.order-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.order-item-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.order-item-bd {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.pill.warn { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.pill.info { background: rgba(56, 189, 248, 0.16); color: var(--cyan); }
.pill.ok { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.pill.idle { background: rgba(255, 255, 255, 0.09); color: var(--muted); }
.pill.err { background: rgba(248, 113, 113, 0.16); color: var(--err); }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 28px 20px;
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
}
.site-footer a:hover { color: #fff; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .field-row, .pkg-list { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 100px 1fr; }
  .site-header-inner { padding: 0 10px; gap: 8px; }
  .brand-txt b { font-size: 16px; }
  .user-chip { display: none; }
}

/* 拼图人机验证 & 多身份选择 & 未注册引导注册 */
.cap-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 6, 14, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cap-mask.open { display: flex; }
.cap-box {
  width: 100%;
  max-width: 356px;
  background: #0f172a;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.cap-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14.5px;
  font-weight: 700;
}
.cap-stage {
  position: relative;
  width: 100%;
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.cap-bg { width: 100%; height: 100%; display: block; pointer-events: none; }
.cap-piece { position: absolute; left: 0; top: 0; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65)); }
.cap-slide {
  position: relative;
  height: 40px;
  margin-top: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  user-select: none;
  touch-action: none;
  overflow: hidden;
}
.cap-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(245, 195, 99, 0.25);
  pointer-events: none;
}
.cap-tip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--muted);
  pointer-events: none;
}
.cap-knob {
  position: absolute;
  left: 0;
  top: 0;
  height: 38px;
  width: 46px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  color: #151007;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.cap-knob:active { cursor: grabbing; }
.cap-msg {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  min-height: 18px;
}
.cap-msg.err { color: var(--err); }
.cap-ft {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.unreg-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(245, 195, 99, 0.08);
  border: 1px solid rgba(245, 195, 99, 0.32);
  margin-bottom: 14px;
}
.unreg-card h4 { margin: 0 0 6px; font-size: 15px; color: var(--gold); }
.unreg-card p { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, 0.84); }
.unreg-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.id-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.id-item {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.id-item:hover { border-color: var(--gold); background: rgba(245, 195, 99, 0.08); }
.id-item b { font-size: 14.5px; }
.id-item span { font-size: 12px; color: var(--muted); }
