* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f3460;
  --navy-dark: #1a1a2e;
  --ink: #1a1a2e;
  --muted: #666;
  --faint: #999;
  --line: #e8e8ee;
  --bg: #f7f8fa;
  --accent: #a8d8ea;
}

body {
  font-family: "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* Header */
.app-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 20px 16px 14px;
  border-radius: 0 0 18px 18px;
}
.header-row { display: flex; justify-content: space-between; align-items: flex-start; }
.app-header h1 { font-size: 21px; font-weight: 800; letter-spacing: 0.5px; }
.tagline { font-size: 12px; opacity: 0.65; margin-top: 2px; }
.auth-btn {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; flex-shrink: 0;
}
.auth-btn.authed { background: #2e7d32; border-color: #2e7d32; }

.mode-switch { display: flex; gap: 8px; margin-top: 14px; }
.mode-btn {
  flex: 1; padding: 9px 0; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.mode-btn.active { background: #fff; color: var(--navy); border-color: #fff; }

/* Layout */
.container { max-width: 500px; margin: 0 auto; padding: 14px 14px 40px; }

/* Controls */
.controls { display: flex; flex-direction: column; gap: 10px; }
.controls input {
  width: 100%; padding: 11px 12px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); outline: none;
}
.controls input:focus { border-color: var(--navy); }

/* Category bar（分類按鈕排，取代下拉選單） */
.cat-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 4px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; /* 平滑的觸控左右滑 */
  scroll-snap-type: x proximity;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 0 0 auto; min-width: 64px; /* 不伸縮：總寬超過一屏時會左右捲動 */
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 6px 7px; cursor: pointer; color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
}
.cat-chip .cat-ico { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.cat-chip .cat-ico img { width: 22px; height: 22px; object-fit: contain; }
.cat-chip .cat-emoji { font-size: 19px; line-height: 1; }
.cat-chip .cat-name { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cat-chip.active {
  border-color: var(--navy); background: #eef3fb; color: var(--navy);
}
.cat-chip.active .cat-ico img { /* SVG 依 active 用深藍 */ }

.stats { font-size: 12.5px; color: var(--faint); margin: 12px 2px 8px; }

/* 搜索列：搜索框（縮短）+ 品牌篩選並排 */
.search-row { display: flex; gap: 8px; align-items: stretch; }
.search-row input { flex: 1 1 auto; min-width: 0; } /* min-width:0 讓 flex 子項可縮短 */
.brand-filter {
  flex: 0 0 auto; width: 38%; max-width: 150px; min-width: 100px;
  padding: 11px 8px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); outline: none; cursor: pointer; text-overflow: ellipsis;
}
.brand-filter:focus { border-color: var(--navy); }
.brand-filter:disabled { color: var(--faint); background: #f4f7fa; cursor: default; }

/* 統計列 + 檢視切換鈕（列表 ⇄ 方格） */
.stats-row { display: flex; align-items: center; gap: 8px; }
.stats-row .stats { flex: 1 1 auto; min-width: 0; }
.view-toggle {
  flex: 0 0 auto; padding: 6px 12px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--navy); cursor: pointer; white-space: nowrap;
}
.view-toggle:active { opacity: 0.8; }

/* 方格（網格）排列：手機 2 欄，較寬螢幕 3 欄 */
#list.grid-mode { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.grid-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
}
.grid-card:active { transform: scale(0.985); }
.grid-thumb {
  width: 100%; aspect-ratio: 1 / 1; background: #f7f9fb;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.grid-thumb img { width: 100%; height: 100%; object-fit: contain; }
.grid-thumb.noimg { color: var(--faint); }
.grid-thumb.noimg .cat-ico { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; opacity: 0.45; }
.grid-thumb.noimg .cat-ico img { width: 56px; height: 56px; object-fit: contain; }
.grid-thumb.noimg .cat-emoji { font-size: 40px; opacity: 0.55; }
.grid-name {
  font-size: 12.5px; font-weight: 600; line-height: 1.35; padding: 7px 8px 9px;
  color: var(--ink); word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 560px) {
  #list.grid-mode { grid-template-columns: repeat(3, 1fr); }
}

/* Cards */
.item-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.item-title { font-weight: 700; font-size: 15px; }
.item-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.item-feat { font-size: 12px; color: var(--faint); margin-top: 4px; }
.item-actions { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
/* 卡片分類徽章 */
.item-head { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #eef3fb; color: var(--navy); border-radius: 6px;
  font-size: 10.5px; font-weight: 600; padding: 1px 7px 1px 4px;
}
.cat-badge img { width: 13px; height: 13px; object-fit: contain; }
.cat-badge .cat-emoji { font-size: 11px; }
.cat-badge .cat-ico { width: 13px; height: 13px; display: inline-flex; align-items: center; justify-content: center; }
.price-link {
  display: inline-block; font-size: 13px;
  background: #fff7e6; border: 1px solid #ffd591; border-radius: 16px;
  padding: 3px 12px; color: #ad6800; text-decoration: none;
}
.action-btn {
  font-size: 13px; border-radius: 16px; padding: 3px 12px;
  border: 1px solid var(--navy); background: #fff; color: var(--navy);
  cursor: pointer; font-weight: 600;
}
.action-btn.primary { background: var(--navy); color: #fff; }
.action-btn:disabled { opacity: 0.4; cursor: default; }

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

/* Pager */
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pager button {
  padding: 9px 16px; border-radius: 10px; font-size: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-weight: 600; cursor: pointer;
}
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager span { font-size: 13px; color: var(--faint); }

/* Modal */
.modal {
  position: fixed; inset: 0; background: rgba(15,20,40,0.55);
  display: flex; align-items: center; justify-content: center; z-index: 50;
  padding: 24px;
}
.modal-card {
  background: #fff; border-radius: 16px; padding: 22px 20px;
  width: 100%; max-width: 340px;
}
.modal-card h2 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.modal-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.modal-card input {
  width: 100%; padding: 11px 12px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; outline: none;
  margin-bottom: 10px;
}
.modal-card input:last-of-type { margin-bottom: 0; }
.modal-card input:focus { border-color: var(--navy); }
.login-error { color: #c0392b; font-size: 12.5px; margin-top: 8px; }
.modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.btn-ghost, .btn-primary {
  flex: 1; padding: 10px 0; border-radius: 10px; font-size: 14px;
  font-weight: 700; cursor: pointer;
}
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.btn-primary { background: var(--navy); border: 1px solid var(--navy); color: #fff; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%);
  background: var(--navy-dark); color: #fff; font-size: 13.5px;
  padding: 10px 18px; border-radius: 22px; z-index: 60;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: opacity 0.3s;
}

.hidden { display: none !important; }

@media (min-width: 520px) {
  .app-header { border-radius: 0 0 22px 22px; }
}

/* ============ 收藏管家 v2 追加樣式 ============ */

/* Header 右側：新增 + 登入 */
.header-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.add-btn {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff; font-size: 22px; font-weight: 700; line-height: 1;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; margin-right: 2px;
}
.add-btn:active { background: rgba(255,255,255,0.3); }

/* 列表卡片 v2：可點進詳情 */
.item-card { cursor: pointer; transition: box-shadow .15s; }
.item-card:active { box-shadow: 0 1px 8px rgba(0,0,0,0.12); }
.card-main { display: flex; gap: 11px; align-items: flex-start; }
.card-thumb {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 9px;
  background: #f0f2f7; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.card-thumb .cat-emoji { font-size: 26px; }
.card-info { flex: 1; min-width: 0; }
.gain-line { font-size: 12px; margin-top: 4px; }
.gain-line .up { color: #c0392b; font-weight: 700; }   /* 紅 = 漲（香港慣例） */
.gain-line .down { color: #1e8449; font-weight: 700; } /* 綠 = 跌 */
.gain-line .flat { color: var(--faint); }
.scan-tips { background: #fff7e0; border-left: 3px solid #f0a020; padding: 6px 10px; border-radius: 6px; font-size: 12px; color: #6b4f1a; margin: 6px 0; }
.card-actions { display: flex; gap: 8px; margin-top: 9px; align-items: center; flex-wrap: wrap; }

/* 詳情對話框 */
.detail-card { max-width: 380px; max-height: 92vh; overflow-y: auto; }
.d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.icon-close {
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.d-img-wrap {
  width: 100%; background: #f0f2f7; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; overflow: hidden; min-height: 150px;
}
.d-img-wrap img { width: 100%; max-height: 320px; object-fit: contain; }
.d-img-wrap.noimg { min-height: 90px; }
.d-img-wrap.noimg::after { content: "📷 尚未上圖"; color: var(--faint); font-size: 13px; }
/* 詳情頁多圖：縮圖條（只在 >1 張時顯示） */
.d-thumbs {
  display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px;
  margin-top: -6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.d-thumb {
  flex: 0 0 auto; width: 56px; height: 56px; padding: 0; line-height: 0;
  border: 2px solid var(--line); border-radius: 9px; background: #f0f2f7;
  cursor: pointer; overflow: hidden; transition: border-color .12s;
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-thumb.active { border-color: #2563eb; }
.d-name { font-size: 18px; margin-bottom: 2px; }
.d-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.d-prices { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.price-cell { flex: 1; text-align: center; padding: 10px 4px; background: #fafbfc; }
.price-cell + .price-cell { border-left: 1px solid var(--line); }
.pc-label { display: block; font-size: 11px; color: var(--faint); margin-bottom: 3px; }
.pc-val { display: block; font-size: 15px; font-weight: 700; }
.pc-val .up { color: #c0392b; }
.pc-val .down { color: #1e8449; }
.d-cur-edit { margin-bottom: 10px; }
.cur-edit-row { display: flex; gap: 6px; align-items: center; }
.cur-edit-row input { flex: 1; margin-bottom: 0; }
.btn-primary.small, .btn-ghost.small { flex: 0 0 auto; padding: 8px 12px; font-size: 13px; width: auto; }
.d-feat { font-size: 13.5px; color: var(--ink); background: #fafbfc; border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; white-space: pre-wrap; }
.d-status { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.d-preorder { border: 1px solid #e3d7f2; background: #f7f2fc; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.dp-title { font-size: 12.5px; font-weight: 700; color: #6d4fa0; margin-bottom: 7px; }
.dp-row { display: flex; align-items: baseline; gap: 8px; font-size: 13px; padding: 3px 0; }
.dp-label { color: var(--muted); flex: 0 0 auto; min-width: 56px; }
.dp-val { color: var(--ink); word-break: break-all; }
.dp-val a { color: #0f6bd4; text-decoration: none; }
.dp-val a:active { opacity: 0.7; }
.d-platforms { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.pl-label { font-size: 12.5px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 7px; }
.pl-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.pl-btn {
  font-size: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy);
  border-radius: 15px; padding: 4px 11px; text-decoration: none; font-weight: 600;
}
.pl-btn:active { background: #eef3fb; }
.pl-hint { font-size: 11px; color: var(--faint); margin-top: 7px; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.d-actions .btn-primary, .d-actions .btn-ghost, .d-actions .btn-danger {
  flex: 1 1 auto; padding: 9px 6px; font-size: 13px; min-width: 0;
}
.btn-danger {
  background: #fff; border: 1px solid #e74c3c; color: #c0392b;
  border-radius: 10px; font-weight: 700; cursor: pointer;
}

/* 新增 / 編輯表單 */
.form-card { max-width: 380px; max-height: 92vh; overflow-y: auto; }
.f-field { display: block; margin-bottom: 11px; }
.f-field > span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 10px 11px; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  color: var(--ink); outline: none; font-family: inherit;
}
.f-field textarea { resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--navy); }
.f-row { display: flex; gap: 10px; }
.f-row .f-field { flex: 1; }
/* 輸入建議（autocomplete）下拉 */
.suggest-wrap { position: relative; display: block; }
.suggest-wrap input { width: 100%; }
.suggest-dd {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12); max-height: 220px; overflow-y: auto;
}
.suggest-dd.show { display: block; }
.suggest-item {
  padding: 9px 12px; font-size: 14px; color: var(--ink); cursor: pointer;
  border-top: 1px solid #f2f2f5;
}
.suggest-item:first-child { border-top: none; }
.suggest-item:hover, .suggest-item:active { background: #eef4fb; }
.preorder-fields {
  border: 1px dashed #c8b6e0; background: #faf7fd;
  border-radius: 10px; padding: 12px 12px 2px; margin-bottom: 11px;
}
.preorder-fields.hidden { display: none; }
.f-hint { font-size: 11px; color: var(--faint); margin-top: 3px; }
.f-img-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.f-img-thumb { position: relative; }
.f-img-thumb img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.f-img-del {
  position: absolute; top: -6px; right: -6px; width: 19px; height: 19px;
  background: #c0392b; color: #fff; border: none; border-radius: 50%;
  font-size: 11px; line-height: 1; cursor: pointer;
}

/* 圖片不存在時的兜底徽章 */
.cat-badge .cat-ico { vertical-align: middle; }

/* ---------- 設定：分類管理 ---------- */
.settings-card { max-width: 420px; max-height: 88vh; overflow-y: auto; }
.settings-head { display: flex; align-items: center; justify-content: space-between; }
.settings-head h2 { margin: 0; }
.set-list { margin: 10px 0 12px; }
.set-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 6px;
  border-bottom: 1px solid var(--line);
}
.set-ico { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.set-ico .cat-ico { font-size: 22px; line-height: 1; }
.set-ico img { width: 32px; height: 32px; object-fit: contain; }
.set-name { flex: 1; font-size: 15px; color: var(--ink); word-break: break-all; }
.set-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.set-btns .mini, .mini {
  width: 30px; height: 30px; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; font-size: 15px; line-height: 1; cursor: pointer; color: var(--ink);
}
.set-btns .mini:disabled { opacity: 0.35; cursor: default; }
.set-btns .mini:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.flex-spacer { flex: 1; }
.cat-icon-prev { margin: 6px 0; min-height: 56px; display: flex; align-items: center; gap: 8px; }
.cat-icon-prev .cat-ico { font-size: 30px; line-height: 1; }
.cat-icon-prev img { width: 56px; height: 56px; object-fit: contain; }
.cat-icon-prev-img { width: 56px; height: 56px; object-fit: contain; border: 1px dashed var(--line); border-radius: 8px; }


/* 入手價幣種 + 匯率設定 */
.price-input-row { display: flex; gap: 6px; align-items: stretch; }
.price-input-row input { flex: 1; min-width: 0; }
.currency-select {
  width: 64px; flex: 0 0 64px;
  padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 14px; color: var(--ink);
}
.fx-eq { color: var(--faint); font-size: 0.85em; }

.fx-settings {
  background: #f0f4f8; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; margin-bottom: 14px;
}
.fx-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.fx-head span { font-weight: 700; font-size: 14px; }
.fx-head small { color: var(--muted); font-size: 12px; }
.fx-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fx-row input {
  flex: 1; min-width: 90px; padding: 10px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; color: var(--ink);
}
.fx-row .btn-ghost, .fx-row .btn-primary { padding: 10px 14px; }

/* 條碼掃碼 */
.barcode-row { display: flex; gap: 8px; }
.barcode-row input { flex: 1; }
.barcode-scan-btn {
  flex: 0 0 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 18px; cursor: pointer; color: var(--navy);
}
.barcode-scan-btn:active { background: #eef3fb; }

.search-scan-btn {
  padding: 11px 14px; border: 1px solid var(--navy); border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.search-scan-btn:active { opacity: 0.85; }

.d-barcode { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.d-barcode .bc-chip {
  display: inline-block; background: #f0f4f8; border: 1px solid var(--line);
  border-radius: 8px; padding: 2px 8px; font-family: monospace; font-size: 12px;
  color: var(--ink);
}

/* 掃碼彈窗 */
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-head h2 { margin-bottom: 0; }
.icon-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.scan-modal { max-width: 460px; }
.scan-body { text-align: center; }
.scan-tips { background: #fff7e0; border-left: 3px solid #f0a020; padding: 6px 10px; border-radius: 6px; font-size: 12px; color: #6b4f1a; margin: 6px 0; text-align: left; }
.scan-video { width: 100%; border-radius: 12px; overflow: hidden; background: #000; min-height: 240px; }
.scan-video video,
.scan-video img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 12px;
}
/* 關鍵：html5-qrcode 會對 video 設 inline style，用 !important 強制正確尺寸；
   同時確保 video 即使被父容器 flex/inline 影響，也維持 display:block 撐滿寬度 */

.scan-manual { margin-top: 4px; }
.scan-manual .barcode-row input { font-size: 15px; }
#scanStatus.err { color: #c0392b; font-weight: 500; }

/* 版本更新提示條 */
.update-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: #fff7e6; border-bottom: 1px solid #f0d9a8;
  font-size: 14px; font-weight: 600; color: #8a5a00;
  position: sticky; top: 0; z-index: 40;
}
.update-bar span { flex: 1; }
.update-bar .btn-primary { padding: 7px 14px; font-size: 13px; }
.update-bar .icon-close { font-size: 18px; color: #8a5a00; }

.scan-divider {
  display: flex; align-items: center; gap: 8px; margin: 12px 0 8px;
  color: var(--muted); font-size: 12.5px; font-weight: 500;
}
.scan-divider::before, .scan-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
