/* ===== Layout for params table & product detail pages ===== */

/* 浏览器原生 PDF 预览（file:// 下 pdf.js 无法 fetch 时回退） */
.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  display: block;
}

.page.params-page {
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Product detail page (product.html): must be scrollable on its own so
   all parameters / 其他参数 are reachable on small screens. */
.page:not(.params-page) {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}
.page:not(.params-page) .header {
  position: sticky;
  top: 0;
}

/* Sub-header bar */
.subbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.subbar .subbar-title {
  font-size: 16px;
  font-weight: 700;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subbar .subbar-title .count-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 10px;
  border-radius: 999px;
}

/* Search + filter */
.params-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 420px;
}
.params-search svg {
  position: absolute;
  left: 12px;
  width: 16px; height: 16px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.params-search input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.params-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.filter-select {
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.filter-select:focus { border-color: var(--accent); }

/* Scrollable table region */
.table-scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 16px 20px 8px;
  min-height: 0;
}

/* ===== Mobile card list (≤768px) ===== */
.mobile-list {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 2px 2px 6px;
}
.param-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(2,132,199,.06);
  transition: box-shadow .15s, transform .08s, border-color .15s;
}
.param-card:active { transform: translateY(1px); }
.param-card .pc-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.param-card .pc-top .cat-pill { margin-top: 2px; }
.param-card .pc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}
.param-card .pc-title.mono { font-family: SFMono-Regular, Consolas, monospace; }
.param-card .pc-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px dashed var(--border-color);
}
.param-card .pc-spec {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.param-card .pc-k {
  flex: 0 0 72px;
  color: var(--text-tertiary);
  font-weight: 600;
}
.param-card .pc-v {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-secondary);
  word-break: break-word;
}
.param-card .pc-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.param-card .pc-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2,132,199,.22);
}
.param-card .pc-pdf.disabled { background: var(--bg-secondary); color: var(--text-tertiary); box-shadow: none; }
.scroll-hint {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 12px;
  padding: 10px 0 14px;
}

/* Table */
table.params-table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 13.5px;
}
table.params-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(241, 245, 249, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-clip: padding-box;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  user-select: none;
  vertical-align: middle;
}
[data-theme="dark"] table.params-table thead th {
  background: rgba(15, 23, 42, 0.3);
}
th .th-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
th .th-icon { color: var(--text-tertiary); flex: 0 0 auto; opacity: .8; transition: color .15s, opacity .15s; }
th.sortable:hover .th-icon { color: var(--accent); opacity: 1; }
th.sorted .th-icon { color: var(--accent); opacity: 1; }
th .th-label { font-weight: 600; }
th .sort-ind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  width: 14px;
  font-size: 11px;
  color: var(--text-tertiary);
  opacity: .35;
  transition: opacity .15s, color .15s;
}
th .sort-ind.active { opacity: 1; color: var(--accent); font-weight: 700; }
/* Keep the first column (类别) pinned while scrolling horizontally, so the
   row identity is always visible on narrow phone screens. */
table.params-table th:first-child,
table.params-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}
table.params-table thead th:first-child { z-index: 4; }
table.params-table td.cat-cell { background: var(--bg-primary); }
table.params-table th.sortable { cursor: pointer; }
table.params-table th.sortable:hover { color: var(--accent); }
table.params-table th .sort-ind {
  display: inline-block;
  margin-left: 4px;
  opacity: .45;
  font-size: 11px;
}
table.params-table th.sorted .sort-ind { opacity: 1; color: var(--accent); }
table.params-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}
table.params-table tbody tr:last-child td { border-bottom: none; }
table.params-table tbody tr:hover { background: var(--bg-hover); }
table.params-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.params-table td.model { font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace; font-weight: 600; }
table.params-table td.sym-cell { width: 88px; text-align: center; }
table.params-table td.sym-cell .sym-img {
  max-width: 64px;
  max-height: 48px;
  object-fit: contain;
  vertical-align: middle;
  background: #fff;
  border-radius: 4px;
}
.sym-thumb {
  width: 66px;
  height: 50px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 4px;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(2,132,199,.06);
}
[data-theme="dark"] .sym-thumb { background: #f8fafc; }
.sym-thumb.broken { display: none; }

a.model-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
a.model-link:hover { border-bottom-color: var(--accent); }

/* 类别 pill */
.cat-cell { width: 116px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--pill, var(--accent));
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
  transition: transform .08s, filter .15s, box-shadow .15s;
}
a.cat-pill:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow:0 3px 8px rgba(0,0,0,.18); }
.cat-pill-static { cursor: default; opacity: .92; }
.cat-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  flex: 0 0 auto;
}

/* 材料号 chips */
.codes-cell { max-width: 360px; }
.code-chip {
  display: inline-block;
  font-size: 11px;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 2px 7px;
  border-radius: 6px;
  margin: 2px 4px 2px 0;
  font-weight: 600;
  line-height: 1.5;
}
.code-chip.muted { color: var(--text-tertiary); background: transparent; border-style: dashed; }

/* 参数总表内可点击链接（型号 / 符号图 / 材料号 → 对应页面） */
.model-link, .sym-link, .code-link { color: inherit; text-decoration: none; cursor: pointer; }
.model-link:hover, .sym-link:hover, .code-link:hover { color: var(--accent); }
.sym-link { display: inline-flex; line-height: 0; }
.sym-link:hover .sym-img { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 4px; }
.pc-sym { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-secondary); }
.pc-sym img { width: 100%; height: 100%; object-fit: contain; }
.pc-sym:hover { border-color: var(--accent); }
/* 表格中 3D 徽标行内固定距离 */
td .gi-3d { margin-left: 5px; vertical-align: middle; }

/* Merged 备注 cell */
.remark-cell { min-width: 180px; }
.remark-stack { display: flex; flex-direction: column; gap: 3px; }
.remark-line { font-size: 12.5px; line-height: 1.45; color: var(--text-secondary); }
.remark-line:first-child { color: var(--text-primary); }

.muted { color: var(--text-tertiary); }

/* States */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 20px;
  color: var(--text-secondary);
  text-align: center;
  flex: 1;
}
.state-box .spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inline PDF button */
table.params-table td.pdf-cell { width: 56px; text-align: center; }
.pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: background .15s, color .15s, border-color .15s;
}
.pdf-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Pagination footer ===== */
.pager {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}
.pager-info { font-size: 13px; color: var(--text-secondary); }
.pager-info b { color: var(--text-primary); }
.pager-controls { display: flex; align-items: center; gap: 6px; }
.pager-controls button {
  height: 34px;
  min-width: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pager-controls button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pager-controls button:disabled { opacity: .4; cursor: not-allowed; }
.pager-controls input[type="number"] {
  width: 56px;
  height: 34px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}
.pager-controls input[type="number"]:focus { border-color: var(--accent); }
.pager-size { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pager-size select {
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

/* ===== Category banner (params.html ?cat= view) ===== */
.cat-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--cat-color, #0284c7);
  background-image: linear-gradient(135deg, rgba(255,255,255,.20), rgba(0,0,0,.14));
  color: #fff;
  flex-shrink: 0;
}
.cat-banner .banner-sym {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.cat-banner .banner-sym img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-banner .banner-text { min-width: 0; }
.cat-banner .banner-crumb {
  font-size: 12.5px;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cat-banner .banner-crumb a { color: #fff; text-decoration: none; opacity: .85; }
.cat-banner .banner-crumb a:hover { opacity: 1; text-decoration: underline; }
.cat-banner .banner-crumb .sep { opacity: .6; }
.cat-banner .banner-title { font-size: 24px; font-weight: 800; margin-top: 4px; line-height: 1.2; }
.cat-banner .banner-sub { font-size: 13px; opacity: .92; margin-top: 5px; }

/* ===== Subcategory tabs ===== */
.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px 0;
  background: var(--bg-primary);
  flex-shrink: 0;
}
.subtab {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.subtab:hover { border-color: var(--accent); color: var(--accent); }
.subtab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Product detail page ===== */
.detail-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--accent); }
.detail-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}
.detail-head {
  padding: 22px 24px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.detail-head .model-name {
  font-size: 26px;
  font-weight: 800;
  font-family: SFMono-Regular, Consolas, monospace;
  letter-spacing: .5px;
}
.detail-head .model-cat {
  font-size: 13px;
  opacity: .9;
  margin-top: 4px;
}
.detail-head .cat-pill {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}
.detail-head .detail-symbol {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.detail-symbol-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-headinfo { flex: 1 1 auto; min-width: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.param-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
}
.param-row.full { grid-column: 1 / -1; }
.param-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: .3px;
}
.param-value {
  font-size: 15px;
  color: var(--text-primary);
  word-break: break-word;
}
.param-value.mono { font-family: SFMono-Regular, Consolas, monospace; font-weight: 600; }
.param-value.empty { color: var(--text-tertiary); }
.extra-block {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
}
.extra-block .extra-title {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.detail-actions {
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-secondary);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s, box-shadow .15s, background .15s;
}
.btn:hover { box-shadow: 0 4px 14px rgba(2,132,199,.18); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-gradient); border: none; color: #fff; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ===== Home category cards → jump to per-category param page ===== */
.empty-state .stat-card.cat-card { text-decoration: none; color: inherit; }
.empty-state .stat-card.cat-card:hover {
  border-color: var(--cat-color, var(--accent));
  box-shadow: 0 12px 28px rgba(2,132,199,.18);
  transform: translateY(-3px);
}
.empty-state .stat-card .stat-label {
  font-size: 13px;
  color: var(--text-primary);
  margin-top: 6px;
  font-weight: 700;
  letter-spacing: .2px;
}
.empty-state .stat-card .stat-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.empty-state .stat-card.all-card { --cat-color: #0f172a; }
.empty-state .stat-card.all-card:hover {
  border-color: #0f172a;
  box-shadow: 0 12px 28px rgba(15,23,42,.20);
  transform: translateY(-3px);
}
.empty-state .stat-card.cat-card .stat-icon { overflow: hidden; }
.empty-state .stat-card.cat-card .stat-sym {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ===== Icon / nav buttons ===== */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--bg-hover); border-color: var(--border-hover); }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover { background: var(--bg-hover); border-color: var(--accent); color: var(--accent); }
.nav-link.active { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
  /* Keep nav links reachable on phone (overrides the global .header-info hide) */
  .page.params-page .header-info,
  .page:not(.params-page) .header-info { display: flex; }

  /* 紧凑布局：小屏减少留白，提升信息密度 */
  .cat-banner {
    padding: 8px 12px;
    gap: 8px;
  }
  .cat-banner .banner-sym { width: 40px; height: 40px; border-radius: 8px; padding: 4px; }
  .cat-banner .banner-title { font-size: 15px; margin-top: 1px; }
  .cat-banner .banner-sub { font-size: 10px; margin-top: 2px; }
  .cat-banner .banner-crumb { font-size: 10px; }

  /* Subbar: title on its own line, search + filter below, full width */
  .subbar { padding: 6px 12px; gap: 6px; }
  .subbar .subbar-title { font-size: 13px; width: 100%; margin-right: 0; }
  .params-search { max-width: none; flex: 1 1 100%; min-width: 0; }
  .filter-select { flex: 1 1 auto; }

  /* Subcategory tabs: horizontal scroll instead of stacking many rows */
  .subtabs {
    padding: 6px 12px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }
  .subtab { flex: 0 0 auto; height: 30px; padding: 0 12px; font-size: 12px; }

  .table-scroll { padding: 8px 8px 6px; }
  .mobile-list { padding: 2px 8px 6px; }

  /* 移动端：隐藏宽表，改用卡片列表（规避 sticky 表头遮挡 + 横滑卡顿） */
  .table-scroll .params-table { display: none; }
  .mobile-list { display: flex; }
  .scroll-hint { display: none !important; }

  .pager {
    gap: 4px 6px;
    padding: 6px 10px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
    font-size: 12px;
  }
  .pager-size { margin-left: 0; }
  .pager-controls { flex-wrap: wrap; }
  .pager button, .pager input { height: 34px; min-width: 34px; font-size: 12px; }
  /* 移动端触控优化 */
  .params-search input { height: 44px; font-size: 15px; }
  .filter-select { height: 40px; font-size: 13px; }
  .subtab { height: 32px; padding: 0 14px; font-size: 12px; }
  .nav-link { min-height: 40px; height: auto; padding: 8px 12px; font-size: 13px; }
  .params-table thead th { padding: 10px 8px; font-size: 12px; }
  .code-chip { height: 28px; padding: 0 8px; line-height: 28px; font-size: 11px; }
  .pc-sym { width: 36px; height: 36px; }
  .param-card { padding: 10px; gap: 6px; }
  .param-card .pc-top { gap: 6px; }
  .param-card .pc-title { font-size: 13px; }
  .param-card .pc-spec { font-size: 11px; padding: 2px 0; }
  .param-card .pc-actions { gap: 6px; }
}

@media (max-width: 480px) {
  .header-logo .dual-logos { height: 30px; padding: 0 4px; }
  .header-logo .dual-logos .logo-shikai,
  .header-logo .dual-logos .logo-hf { height: 20px; }
  .cat-banner .banner-sym { width: 44px; height: 44px; }
  .cat-banner .banner-title { font-size: 16px; }
  .detail-container { padding: 16px 12px calc(32px + env(safe-area-inset-bottom)); }
  .detail-head { padding: 16px; }
  .detail-head .model-name { font-size: 20px; }
  .detail-head .detail-symbol { width: 72px; height: 72px; }
  .param-row, .extra-block { padding: 14px 16px; }
  .detail-actions { padding: 16px; }
}
