/* 设计令牌：全站唯一样式源（ADR-0002 手写 CSS，无构建链）。
   浅灰底、白卡、系统蓝主色、价格红；移动优先（320px 不溢出），
   桌面 ≥820px 起双列。
   优化5（用户 14~27 项）：品牌「流量超市」头部三入口（客服/通查弹窗）、
   筛选胶囊（归属地+排序弹窗）、运营商 LOGO tab、关键字分色标签、
   双 banner/推荐角标/口碑行移除。 */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #1b1f27;
  --ink-2: #5b6472;
  --ink-3: #98a1ad;
  --brand: #0a5cd6;
  --brand-deep: #084bb3;
  --brand-weak: #e9f1fc;
  --price: #e02e24;
  --line: #e6e8ed;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(27, 31, 39, 0.05);
  --tap: 44px; /* 最小触达高度（票据验收） */
}

* { box-sizing: border-box; }

/* hidden 属性必须恒生效：.modal-mask 等组件自带 display，
   不加此守卫会压过 UA 的 [hidden]{display:none}——透明遮罩常驻吞掉全页点击 */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  /* 真机浏览器「字体大小」设置会放大文字字形，nowrap 文本溢出盒子会把页面
     撑出横向滚动（用户实测可左右滑）。clip 不产生滚动容器、不破坏 sticky，
     老内核忽略 = 维持原状。 */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

img { max-width: 100%; }

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

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container { max-width: 920px; margin: 0 auto; padding: 0 12px; }

/* ---- 店铺头部（优化5 三入口）：logo 标 + 店名 + 客服/查单/通查 ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 54px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.shop-id { display: flex; align-items: center; gap: 8px; min-width: 0; }
.shop-logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #6f5bff);
  border-radius: 50%;
}
.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
}
.shop-entries { display: flex; align-items: center; gap: 0; }
.shop-entry {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  min-height: 46px;
  padding: 4px 5px;
  font-size: 11px;
  font-family: inherit;
  color: var(--ink);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.shop-entry svg { width: 20px; height: 20px; color: var(--ink); }
.shop-entry:active { background: var(--bg); }

/* ---- 弹窗（优化5）：客服二维码 / 通查百宝箱 / 收货地 / 排序 ---- */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 20, 30, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.modal-mask.show { opacity: 1; }
.modal {
  position: relative;
  width: min(92vw, 380px);
  max-height: 84vh;
  overflow-y: auto;
  padding: 20px 16px 18px;
  background: var(--surface);
  border-radius: 16px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.18s ease;
}
.modal-mask.show .modal { transform: none; }
.modal-wide { width: min(94vw, 420px); }
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-2);
  background: #f2f3f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.modal-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}
.kefu-qr {
  display: block;
  width: min(100%, 300px);
  margin: 0 auto;
  border-radius: 12px;
}
.kefu-tip {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
  text-align: center;
}
.kefu-tip b { color: var(--brand-deep); }
/* 通查百宝箱：分组卡片 */
.tc-sec { padding: 12px 2px; border-top: 1px solid var(--line); }
.tc-sec:first-of-type { border-top: none; }
.tc-sec h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}
.tc-sec h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 12px;
  margin-right: 7px;
  background: var(--brand);
  border-radius: 2px;
}
.tc-sec p {
  margin: 0 0 9px;
  font-size: 12px;
  color: var(--ink-3);
}
.tc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-btns a,
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-weak);
  border-radius: var(--radius-pill);
}
.tc-btns a:active { background: #dbe8fa; }
.tc-btn-main { color: #fff; background: var(--brand); }
.tc-btn-main:active { background: var(--brand-deep); }
.tc-steps {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.tc-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
/* 底部弹层（收货地 / 排序） */
.sheet-modal {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 80vh;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  transform: translateY(48px);
  transition: transform 0.2s ease;
}
.modal-mask.show .sheet-modal { transform: none; }
.sm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.sm-locate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-weak);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.sm-locate.busy { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.sm-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-right: 62px; /* 视觉居中：抵消左侧定位钮宽 */
}
.sm-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-2);
  background: #f2f3f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.sm-cols {
  display: flex;
  min-height: 0;
  overflow: hidden;
}
.sm-col {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  max-height: 52vh;
}
.sm-col:first-child { border-right: 1px solid var(--line); }
.sm-col li {
  padding: 11px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f5f6f8;
  cursor: pointer;
}
.sm-col li.on {
  color: var(--brand-deep);
  font-weight: 600;
  background: var(--brand-weak);
}
/* 未选省时右列的引导提示（不可点） */
.sm-col li.ph {
  color: var(--ink-3);
  text-align: center;
  cursor: default;
}
.sm-ok {
  flex: none;
  min-height: 44px;
  margin: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.sm-ok:active { background: var(--brand-deep); }
.sm-sort { padding-bottom: 0; }
.sort-opts {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow-y: auto;
}
.sort-opts li {
  position: relative;
  padding: 11px 44px 11px 18px;
  font-size: 15px;
  cursor: pointer;
}
.sort-opts li span {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  color: var(--ink-3);
}
.sort-opts li.on { color: var(--brand-deep); font-weight: 600; }
.sort-opts li.on::after {
  content: "✓";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
}
.sm-cancel {
  min-height: 44px;
  margin: 4px 12px 12px;
  font-size: 15px;
  color: var(--ink);
  background: #f2f3f5;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* ---- toast（优化5：分享复制成功等轻提示）---- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 99;
  max-width: 80vw;
  padding: 9px 18px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  background: rgba(23, 28, 38, 0.92);
  border-radius: var(--radius-pill);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
#toast.show {
  transform: translateX(-50%);
  opacity: 1;
}

/* ---- 返回顶部悬浮钮：外圈滚动进度环，顶部时隐藏 ---- */
#backTop {
  position: fixed;
  right: 14px;
  bottom: 96px;
  z-index: 30;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--surface);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(27, 31, 39, 0.22);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
#backTop:active { transform: scale(0.92); }
#backTop[hidden] { display: none; }
#backTop .bt-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
#backTop .bt-arrow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  color: var(--brand);
}

/* ---- 筛选条（优化5，用户 17 项）：归属地+排序两胶囊，弹窗选择即查 ---- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
}
.f-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.f-pill:active { background: var(--bg); }
.f-pill .f-caret { width: 12px; height: 12px; color: var(--ink-3); }
.f-pill-label { white-space: nowrap; }
/* 无 JS 兜底：原生下拉表单 */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 2px;
}
.filter-form select {
  min-height: 36px;
  padding: 0 8px;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: var(--radius-pill); }

.btn {
  min-height: var(--tap);
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-ghost { background: var(--brand-weak); color: var(--brand-deep); }

/* ---- 运营商 tab（优化5：LOGO + 名称，单行横滑；无「全部」，点选中项取消）---- */
.tabs {
  display: flex;
  gap: 8px;
  padding: 10px 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  background: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
}
.tab.active { background: var(--brand); color: #fff; font-weight: 600; }
.tab-logo { width: 20px; height: 20px; flex: none; object-fit: contain; background: #fff; border-radius: 4px; }
.tab.active .tab-logo { box-shadow: none; }

/* ---- 商品卡片流（优化5 收窄：图 84 / padding 10，320px 不溢出）---- */
.card-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.card {
  position: relative;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease;
  overflow: hidden; /* 兜底：个别真机字体放大时卡内元素不撑破页面（防横向溢出） */
}
.card:active { background: #fafbfc; }
/* 整卡铺满锚点（优化1 直达语义不变）：浮于内容之上、按钮之下 */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card-link:focus-visible { outline-offset: -2px; }
.card-main {
  display: flex;
  gap: 10px;
  position: relative; /* 使内容位于 .card-link 之下的视觉层，但保证 flex 布局正常 */
}
.card-media {
  flex: none;
  width: 84px;
  height: 84px;
  overflow: hidden; /* 破图时 alt 文本不撑破容器（防 CLS） */
  background: var(--bg);
  border-radius: var(--radius-md);
}
.card-pic {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 电信/广电长图完整展示，不裁切（白底衬图） */
  background: #fff;
  display: block;
}
.card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px; /* 给右上角运营商 LOGO 留位 */
}
.card-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere; /* 长【】名不断行也不横向溢出 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1;
  border-radius: 4px;
  background: #eef4ff;
  color: #3a6ea8;
}
/* 说明关键字分色（优化5，用户 21 项）：全站同一关键字同色 */
.tag-promo { background: #fdecec; color: #d63333; } /* 限时/优惠/券 → 红 */
.tag-ship { background: #e8f7ee; color: #1d7c4a; } /* 三照/发全国 → 绿 */
.tag-act { background: #fff4e8; color: #c05e12; } /* 先激活后发货 → 橙 */
.tag-warn { background: #fff2e8; color: #b3541e; } /* 需传照片 → 橙 */
.tag-official { background: #e8f4ff; color: #1470a0; } /* 官方/正品 → 蓝 */
.tag-long { background: #f3f0ff; color: #6a5acf; } /* 长期/永久 → 紫 */
.tag-foot { background: #eef4ff; color: #3a6ea8; } /* 缺省 */
.tag-sales { background: #e8f4ff; color: #1470a0; } /* 领取量徽标 */
/* 卡片右上角运营商 LOGO（优化5：官方 LOGO 图片，不再用单字徽章） */
.card-logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
/* 详情页运营商标注里的 LOGO */
.tag-logo {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  vertical-align: -3px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
}
/* 四列参数面板（原型：大数值彩色 + 小标签灰） */
.card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 9px;
  padding: 8px 2px 6px;
  background: #f7f8fa;
  border-radius: var(--radius-md);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden; /* 真机字体放大时 nowrap 文本不撑出参数面板 */
}
.stat-v {
  max-width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-price { color: var(--price); }
.stat span {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}
/* 年龄 + 分享/办理操作行（可交互元素浮于整卡锚点之上）；
   flex-wrap：真机字体放大时按钮行换行而不是撑破卡宽 */
.card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}
.card-age {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-age svg { flex: none; color: var(--ink-2); }
.card-cta { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--ink-2);
  background: #f2f3f5;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden; /* 字体放大时文字不撑出按钮盒 */
  white-space: nowrap;
}
.share-btn:active { background: #e8eaee; }
.go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-pill);
  overflow: hidden;
  white-space: nowrap;
}
.go:active { background: var(--brand-deep); }
/* 卡底亮点标签行（说明关键字分色 + 领取量） */
.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}
.card-spec { font-size: 13px; color: var(--ink-2); }
.degraded-hint { color: var(--ink-3); }

/* ---- 空态 ---- */
.empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 40px 16px;
  margin-bottom: 16px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.empty-title { margin: 0; font-size: 16px; font-weight: 600; }
.empty-sub { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---- 商品详情（06 号票）---- */
.crumbs {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  margin: 8px 0;
}
.crumbs a {
  font-size: 14px;
  color: var(--ink-2);
}
.sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden; /* 圆角裁住大图 */
}
.detail-pic {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain; /* 长图不裁切 */
  background: #fff;
}
.detail-body {
  display: grid;
  gap: 12px;
  padding: 16px 14px 18px;
}
.detail-name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.detail-degraded { font-size: 13px; }
.detail-tags { margin-top: -2px; }
.detail-price { font-size: 28px; }
.spec {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-row {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row dt {
  flex: none;
  width: 76px;
  color: var(--ink-3);
}
.spec-row dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.spec-warn dd { color: #b3541e; }
.detail-links { display: grid; }
.official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-weak);
  border-radius: var(--radius-md);
}
.official-link:active { background: #dbe8fa; }
.disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---- 立即办理吸底 CTA（转化点：移动端不滚丢）---- */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 10px rgba(27, 31, 39, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.cta-price {
  flex: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--price);
  white-space: nowrap;
}
.cta-price i {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
}
.cta-btn {
  flex: 1;
  min-height: 48px;
  font-size: 17px;
  text-align: center;
}
.cta-note {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
main.container { padding-bottom: 20px; }
body.has-cta main.container { padding-bottom: 96px; } /* 吸底 CTA 不盖内容 */

/* ---- 下架态 ---- */
.off-shelf-banner {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 48px 16px;
  text-align: center;
}
.off-shelf-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-2);
}
.off-shelf-sub { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---- 页脚 ---- */
.footer {
  padding: 16px 0 28px;
  font-size: 12px;
  text-align: center;
  color: var(--ink-3);
}

/* ---- 桌面（≥820px）：双列卡片、筛选条收窄居中 ---- */
@media (min-width: 820px) {
  .card-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-media { width: 104px; height: 104px; }
  .filter-bar, .filter-form { max-width: 720px; margin-left: auto; margin-right: auto; }
}

@media (hover: hover) {
  .card:hover { border-color: #c9d4e6; }
  .tab:hover:not(.active) { background: #fafbfc; }
  .btn-primary:hover { background: var(--brand-deep); }
  .f-pill:hover { border-color: #c9d4e6; }
  .share-btn:hover { background: #e8eaee; }
  .go:hover { background: var(--brand-deep); }
}
