/* 指纹检测 · 设计规范落地 v1 */
:root {
  --primary: #2F6BFF;
  --primary-soft: rgba(47, 107, 255, 0.08);
  --nav-accent: #7C5CFF;
  --nav-soft: rgba(124, 92, 255, 0.12);
  --success: #2BA471;
  --warning: #C9A227; /* 琥珀黄：与红色更易区分 */
  --danger: #D54941;
  --text-1: #1F2329;
  --text-2: #646A73;
  --text-3: #8F959E;
  --text-4: #BBBFC4;
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --border: #E3E9F0;
  --border-2: #EEF2F7;
  --radius-card: 13px;
  --radius-btn: 9px;
  --radius-tag: 6px;
  --max: 1280px;
  --content: 1216px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-1);
  background:
    radial-gradient(1100px 420px at 10% -8%, rgba(47, 107, 255, 0.04), transparent 58%),
    radial-gradient(900px 380px at 96% 0%, rgba(90, 140, 190, 0.03), transparent 52%),
    linear-gradient(180deg, #F8FAFD 0%, var(--bg) 240px, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

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

.container {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid var(--border-2);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #5B8CFF);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.brand-logo svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}

.brand-slogan {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto; /* 与语言框一起靠右：导航在左，语言框在右 */
}

.header-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}

.header-nav a:hover {
  color: var(--text-1);
  background: var(--bg);
}

.header-nav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 500;
}

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

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  max-width: 200px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  transition: border-color 0.15s ease;
}

.lang-picker:focus-within {
  border-color: var(--primary);
}

.lang-flag {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
  width: 1.25em;
  text-align: center;
}

.lang-select {
  height: 100%;
  min-width: 0;
  max-width: 160px;
  padding: 0 2px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23646A73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 16px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-1);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--text-1);
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* —— Hero —— */
.hero {
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: stretch;
}

.hero-main,
.score-card,
.ip-card,
.quick-card,
.tool-card,
.cat-block,
.brand-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 0.2s, transform 0.2s;
}

.hero-main {
  padding: 22px 24px 20px;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.04), transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(47, 107, 255, 0.02) 18px,
      rgba(47, 107, 255, 0.02) 19px
    );
  pointer-events: none;
}

.hero-main > * {
  position: relative;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #2559DB;
}

.btn-ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--text-1);
}

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

.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}

.risk-legend {
  border-top: 1px dashed var(--border-2);
  padding-top: 12px;
  margin-top: auto;
}

.risk-legend-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 8px;
}

.risk-legend-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.risk-legend-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}

.risk-legend-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.risk-legend-item .dot.ok { background: var(--success); }
.risk-legend-item .dot.warn { background: var(--warning); }
.risk-legend-item .dot.bad { background: var(--danger); }

.risk-legend-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 2px;
}

.risk-legend-item p {
  margin: 0;
  font-size: 11px;
  color: var(--text-3);
}

.issue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.issue-tag {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  background: rgba(201, 162, 39, 0.12);
  color: var(--warning);
}

.issue-tag.bad {
  background: rgba(213, 73, 65, 0.12);
  color: var(--danger);
}

.issue-tag.ok {
  background: rgba(43, 164, 113, 0.12);
  color: var(--success);
}

.risk-count {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  background: rgba(201, 162, 39, 0.12);
  color: var(--warning);
}

.risk-count.bad {
  background: rgba(213, 73, 65, 0.12);
  color: var(--danger);
}

.risk-count.ok {
  background: rgba(43, 164, 113, 0.12);
  color: var(--success);
}

.detect-section {
  padding-top: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 18px 10px;
}

.detail-card h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-2);
  font-size: 15px;
  font-weight: 500;
}

.detail-rows {
  display: grid;
  gap: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
  align-items: start;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row .k {
  color: var(--text-3);
}

.detail-row .v {
  color: var(--text-1);
  font-weight: 500;
  word-break: break-all;
  line-height: 1.5;
}

.detail-row .v.ok { color: var(--success); }
.detail-row .v.warn { color: var(--warning); }
.detail-row .v.bad { color: var(--danger); }

.section-head .btn {
  flex-shrink: 0;
}

.fp-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  min-height: 78px;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  z-index: 1;
}

.fp-item.has-tip {
  cursor: help;
}

.fp-item.has-tip .fp-label {
  display: inline-block;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.28);
}

.fp-item.has-tip:hover,
.fp-item.has-tip:focus-within {
  z-index: 20;
  border-color: rgba(47, 107, 255, 0.35);
}

.fp-item.has-tip:hover .fp-label,
.fp-item.has-tip:focus-within .fp-label {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* 整卡悬停都显示说明（不只标题那一小块） */
.fp-item.has-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: auto;
  max-width: none;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1f2937;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.fp-item.has-tip::before {
  content: "";
  position: absolute;
  left: 22px;
  bottom: calc(100% + 2px);
  z-index: 31;
  border: 6px solid transparent;
  border-top-color: #1f2937;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.fp-item.has-tip:hover::after,
.fp-item.has-tip:hover::before,
.fp-item.has-tip:focus-within::after,
.fp-item.has-tip:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}

.fp-grid,
.fp-item {
  overflow: visible;
}

.fp-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
}

.fp-value {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.45;
  word-break: break-all;
}

.fp-item.is-warn .fp-status { background: var(--warning); }
.fp-item.is-bad .fp-status { background: var(--danger); }
.fp-item.is-ok .fp-status { background: var(--success); }

.fp-item.is-bad .fp-value {
  color: var(--danger);
  font-weight: 500;
}

.fp-item.is-warn .fp-value {
  color: var(--text-3);
}

.score-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.score-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-meta {
  flex: 1;
  min-width: 0;
}

.score-line {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 8px;
}

.score-line strong {
  font-size: 22px;
  font-weight: 500;
}

.score-hint {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
}

.fix-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.fix-list::-webkit-scrollbar {
  width: 6px;
}

.fix-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.fix-item {
  padding: 12px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border-2);
}

.fix-item.is-bad {
  background: rgba(213, 73, 65, 0.06);
  border-color: rgba(213, 73, 65, 0.22);
}

.fix-item.is-warn {
  background: rgba(201, 162, 39, 0.06);
  border-color: rgba(201, 162, 39, 0.22);
}

.fix-item.is-ok {
  background: rgba(43, 164, 113, 0.06);
  border-color: rgba(43, 164, 113, 0.2);
}

.fix-problem {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 6px;
}

.fix-item.is-bad .fix-problem { color: var(--danger); }
.fix-item.is-warn .fix-problem { color: #9A7B12; }
.fix-item.is-ok .fix-problem { color: var(--success); }

.fix-problem .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: var(--text-4);
}

.fix-problem .dot.warn { background: var(--warning); }
.fix-problem .dot.bad { background: var(--danger); }
.fix-problem .dot.ok { background: var(--success); }
.fix-problem .dot.loading,
.fix-item .dot.loading {
  background: var(--primary);
  animation: pulse 1s ease-in-out infinite;
}

.fix-tip {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.55;
  padding-left: 16px;
}

.fp-empty {
  grid-column: 1 / -1;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--success);
  background: rgba(43, 164, 113, 0.06);
  border: 1px solid rgba(43, 164, 113, 0.2);
  border-radius: 12px;
}

.fp-item[hidden] {
  display: none !important;
}

.detail-row.is-bad,
.detail-row.is-warn {
  background: rgba(213, 73, 65, 0.08);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}

.detail-row.is-bad .k,
.detail-row.is-bad .v,
.detail-row.is-warn .k,
.detail-row.is-warn .v,
.detail-row .v.warn,
.detail-row .v.bad {
  color: var(--danger) !important;
}

.detect-section[hidden] {
  display: none !important;
}

.section-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fp-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-4);
  flex-shrink: 0;
}

.fp-status.ok { background: var(--success); }
.fp-status.warn { background: var(--warning); }
.fp-status.bad { background: var(--danger); }
.fp-status.loading {
  background: var(--primary);
  animation: pulse 1s ease-in-out infinite;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.score-card {
  padding: 16px 18px;
  text-align: left;
  flex-shrink: 0;
}

.score-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  margin: 0;
}

.score-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.score-ring-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--border-2);
  stroke-width: 12;
}

.score-ring-fg {
  fill: none;
  stroke: var(--success);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1s ease, stroke 0.3s;
}

.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-num {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ip-card {
  padding: 14px 16px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ip-card .fix-list {
  flex: 1;
  min-height: 0;
}

.ip-card-title {
  font-size: 15px;
  font-weight: 500;
}

.risk-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-tag);
  font-size: 12px;
  font-weight: 500;
  background: rgba(43, 164, 113, 0.12);
  color: var(--success);
}

.risk-tag.warn {
  background: rgba(201, 162, 39, 0.12);
  color: var(--warning);
}

.risk-tag.bad {
  background: rgba(213, 73, 65, 0.12);
  color: var(--danger);
}

.ip-rows {
  display: grid;
  gap: 10px;
}

.ip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.ip-row span:first-child {
  color: var(--text-3);
}

.ip-row span:last-child {
  color: var(--text-1);
  font-weight: 500;
  text-align: right;
}

/* —— 快检 —— */
.section {
  padding: 36px 0;
}

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

.section-title-wrap h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

.section-title-wrap p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.section-count {
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.section-count small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 6px;
  text-align: right;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.quick-card {
  position: relative;
  width: 100%;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.quick-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.quick-card.is-ok {
  border-color: rgba(43, 164, 113, 0.45);
}

.quick-card.is-warn {
  border-color: rgba(201, 162, 39, 0.5);
}

.quick-card.is-bad {
  border-color: rgba(213, 73, 65, 0.55);
}

.quick-card.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.quick-status {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.quick-card.is-ok .quick-status { background: var(--success); }
.quick-card.is-warn .quick-status { background: var(--warning); }
.quick-card.is-bad .quick-status { background: var(--danger); }
.quick-card.is-loading .quick-status {
  background: var(--primary);
  animation: pulse 1s ease-in-out infinite;
}

.quick-result {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.quick-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-2);
}

.quick-result-kicker {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 4px;
}

.quick-result-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.quick-result-badge {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  color: var(--text-2);
  flex-shrink: 0;
}

.quick-result-badge.ok {
  background: rgba(43, 164, 113, 0.12);
  color: var(--success);
}

.quick-result-badge.warn {
  background: rgba(201, 162, 39, 0.12);
  color: var(--warning);
}

.quick-result-badge.bad {
  background: rgba(213, 73, 65, 0.12);
  color: var(--danger);
}

.quick-result-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

.quick-card:hover,
.tool-card:hover,
.cat-block:hover,
.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.quick-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.quick-icon svg {
  width: 20px;
  height: 20px;
}

.quick-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
}

.quick-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

/* —— 工具区 —— */
.tools-section .search-bar {
  margin-bottom: 16px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
}

.search-bar:focus-within {
  border-color: var(--primary);
}

.search-bar svg {
  width: 16px;
  height: 16px;
  color: var(--text-3);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text-1);
}

.search-bar input::placeholder {
  color: var(--text-4);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.cat-block {
  padding: 16px;
  display: block;
}

.cat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.cat-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-tag);
  font-size: 12px;
  color: var(--text-2);
}

.cat-block h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
}

.cat-block p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

.cat-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tool-card {
  padding: 18px;
  display: block;
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.tool-tag {
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-tag);
  background: var(--bg);
  color: var(--text-2);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

.tool-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.tool-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
}

.section-more {
  text-align: center;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
}

.section-more a:hover {
  background: var(--primary-soft);
}

.list-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.list-crumb a {
  color: var(--primary);
}

.list-crumb a:hover {
  text-decoration: underline;
}

.list-empty {
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  padding: 32px 12px;
}

/* —— 分类页：左导航 + 右列表 —— */
.catalog-page {
  padding: 24px 0 48px;
  min-height: 70vh;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.catalog-side {
  position: sticky;
  top: 76px;
  align-self: start;
  max-height: calc(100vh - 96px);
}

/* 单卡片侧栏：分区 + 内部滚动 */
.catalog-side-panel {
  /* 低饱和色点缀：素但不单调 */
  --side-tone-blue: #5B7CBA;
  --side-tone-teal: #5B9A8B;
  --side-tone-amber: #B8955A;
  --side-tone-rose: #B07A8A;
  --side-tone-cyan: #6A93A5;
  --side-tone-green: #6B9B72;
  --side-tone-orange: #B8896A;
  --side-tone-slate: #7A8494;
  --side-tone-lime: #8A9A63;
  --side-tone-sky: #6A8BA8;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-height: inherit;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 10px 16px;
  box-shadow: 0 1px 0 rgba(31, 35, 41, 0.03);
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 35, 41, 0.14) transparent;
}

.catalog-side-panel::-webkit-scrollbar {
  width: 6px;
}

.catalog-side-panel::-webkit-scrollbar-thumb {
  background: rgba(31, 35, 41, 0.16);
  border-radius: 999px;
}

.catalog-side-panel::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-side-section + .catalog-side-section {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* 兼容旧 markup：多 block 时仍可用 */
.catalog-side-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 12px;
}

.catalog-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.01em;
}

.catalog-side-head small,
.catalog-side-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 3px 9px;
  line-height: 1.4;
}

.catalog-side-subhead {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.catalog-side-subhead small,
.catalog-side-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  line-height: 1.4;
}

.cat-side-nav,
.cat-side-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cat-side-commons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.cat-side-ico,
.cat-side-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.cat-side-ico svg {
  width: 15px;
  height: 15px;
}

.cat-side-avatar {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cat-side-ico.tone-blue,
.cat-side-avatar.tone-blue { background: #EEF2F8; color: var(--side-tone-blue); }
.cat-side-ico.tone-teal,
.cat-side-avatar.tone-teal { background: #EEF5F3; color: var(--side-tone-teal); }
.cat-side-ico.tone-amber,
.cat-side-avatar.tone-amber { background: #F7F3EC; color: var(--side-tone-amber); }
.cat-side-ico.tone-rose,
.cat-side-avatar.tone-rose { background: #F6F0F2; color: var(--side-tone-rose); }
.cat-side-ico.tone-cyan,
.cat-side-avatar.tone-cyan { background: #EFF4F6; color: var(--side-tone-cyan); }
.cat-side-ico.tone-green,
.cat-side-avatar.tone-green { background: #F0F5F1; color: var(--side-tone-green); }
.cat-side-ico.tone-orange,
.cat-side-avatar.tone-orange { background: #F6F1ED; color: var(--side-tone-orange); }
.cat-side-ico.tone-slate,
.cat-side-avatar.tone-slate { background: #F2F3F5; color: var(--side-tone-slate); }
.cat-side-ico.tone-lime,
.cat-side-avatar.tone-lime { background: #F3F5EE; color: var(--side-tone-lime); }
.cat-side-ico.tone-sky,
.cat-side-avatar.tone-sky { background: #EFF3F6; color: var(--side-tone-sky); }

.cat-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.cat-side-link > span:not(.cat-side-ico) {
  flex: 1;
  min-width: 0;
}

.cat-side-link::after {
  content: "›";
  color: var(--text-4);
  font-size: 16px;
  line-height: 1;
  opacity: 0.65;
}

.cat-side-link:hover {
  background: var(--bg);
  color: var(--text-1);
}

.cat-side-link:hover .cat-side-ico {
  box-shadow: none;
}

.cat-side-link.is-active {
  background: #3D7BFF;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.cat-side-link.is-active::after {
  color: #fff;
  opacity: 0.85;
}

.cat-side-link.is-active .cat-side-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

.cat-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.cat-side-name {
  flex: 1;
  min-width: 0;
}

.cat-side-item:hover {
  background: var(--bg);
  color: var(--text-1);
}

.cat-side-item:hover .cat-side-ico {
  box-shadow: none;
}

.cat-side-item.is-active {
  background: #F0F4FA;
  color: #3D7BFF;
  font-weight: 600;
}

.cat-side-item.is-active .cat-side-ico {
  box-shadow: none;
}

.cat-side-count {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 1.4;
  min-width: auto;
  text-align: right;
}

.cat-side-item.is-active .cat-side-count {
  color: #3D7BFF;
  background: transparent;
}

.cat-side-common {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border-2);
  text-align: center;
  min-width: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cat-side-common .cat-side-avatar {
  display: none;
}

.cat-side-common > span:not(.cat-side-avatar) {
  flex: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-side-common:hover {
  background: #EEF2F8;
  color: var(--text-1);
  border-color: var(--border);
}

.catalog-main {
  min-width: 0;
}

.catalog-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.catalog-desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-3);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.catalog-search .search-bar {
  flex: 1;
  margin: 0;
}

.catalog-search-count {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}

.cat-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.cat-banner-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.cat-banner-text strong {
  font-size: 15px;
  font-weight: 600;
}

.cat-banner-text span {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg);
  border-radius: 999px;
  padding: 1px 8px;
}

.cat-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}

.cat-grouped {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cat-group .cat-banner {
  margin-bottom: 12px;
}

.cat-group-more {
  margin-left: auto;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.cat-group-more:hover {
  text-decoration: underline;
}

.cat-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cat-tool-card {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 18px 18px;
  min-height: 110px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cat-tool-card:hover {
  border-color: #c5d4ff;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.08);
}

.cat-tool-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--text-4);
  font-size: 14px;
}

.cat-tool-card h3 {
  margin: 0 28px 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
}

.cat-tool-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
}

.cat-brand-card {
  display: block;
}

@media (max-width: 980px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-side {
    position: static;
    max-height: min(58vh, 520px);
  }

  .cat-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-title {
    font-size: 22px;
  }

  .cat-tool-grid,
  .catalog-main .brand-grid {
    grid-template-columns: 1fr;
  }

  .catalog-search {
    flex-direction: column;
    align-items: stretch;
  }
}

/* —— 品牌导航（与上方同色） —— */
.brands-band {
  padding: 36px 0;
  background: transparent;
  color: var(--text-1);
}

.brands-band .search-bar {
  margin-bottom: 16px;
}

.brand-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.brand-cat-grid .brand-cat {
  min-height: 108px;
}

.brand-cat {
  display: block;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  color: var(--text-1);
}

.brand-cat:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.brand-cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.brand-cat h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.brand-cat .badge-count {
  border-color: var(--border);
  color: var(--text-2);
  background: transparent;
}

.brand-cat p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-3);
}

.brand-cat .cat-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.brand-card {
  padding: 18px;
  position: relative;
  display: block;
  background: var(--card);
  color: var(--text-1);
}

.brand-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-3);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.brand-card:hover .brand-arrow {
  background: var(--primary-soft);
  color: var(--primary);
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 36px;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.brand-avatar.c1 { background: #6B8FC9; }
.brand-avatar.c2 { background: #8B7BA8; }
.brand-avatar.c3 { background: #6A9B84; }
.brand-avatar.c4 { background: #B49A5E; }
.brand-avatar.c5 { background: #B0767A; }

.brand-identity h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 500;
}

.brand-domain {
  font-size: 12px;
  color: var(--text-3);
}

.brand-card > p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-tag);
  background: var(--bg);
  color: var(--text-2);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

/* —— 页脚 —— */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border-2);
  padding: 28px 0;
}

.footer-map {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px 40px;
}

.footer-map-col h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}

.footer-map-col:last-child {
  align-self: end;
}

.footer-map-col:last-child h3 {
  margin: 0;
  line-height: 18px;
}

.footer-map-col h3 a {
  color: inherit;
}

.footer-map-col h3 a:hover {
  color: var(--primary);
}

.footer-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-map-links a {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

.footer-map-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

.footer-lang {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
  font-size: 12px;
  color: var(--text-3);
  max-width: 720px;
  justify-content: flex-end;
}

.footer-lang-label {
  margin-right: 2px;
  color: var(--text-3);
}

.footer-lang a {
  color: var(--text-2);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

.footer-lang a.is-active,
.footer-lang a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

@media (max-width: 720px) {
  .footer-map {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-lang {
    justify-content: flex-start;
    max-width: 100%;
  }
}


/* —— 响应式 —— */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-grid,
  .brand-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-legend-items {
    grid-template-columns: 1fr;
  }

  .hero-title {
    white-space: normal;
  }

  .hero-top {
    flex-direction: column;
  }

  .hero-actions {
    padding-top: 0;
  }

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

  .fix-list {
    max-height: 240px;
  }
}

@media (max-width: 640px) {
  .brand-slogan,
  .brand-divider {
    display: none;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 2px;
  }

  .header-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 20px 0;
  }

  .hero-main {
    padding: 22px 18px;
  }

  .hero-title,
  .section-title-wrap h2 {
    font-size: 22px;
  }

  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-row {
    grid-template-columns: 110px 1fr;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .cat-grid,
  .brand-cat-grid,
  .tool-grid,
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-count {
    font-size: 36px;
  }
}

/* —— 品牌详情页（左导航 + 头图/广告/目录双栏） —— */
.brand-detail-main {
  min-width: 0;
}

.brand-hero-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(31, 35, 41, 0.03);
}

.brand-hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 12px;
  align-self: start;
  padding: 22px 16px 18px;
  border-radius: 16px;
  background: #f3f6fb;
}

.brand-hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 35, 41, 0.08);
}

.brand-hero-mark.c1 { background: #2F6BFF; }
.brand-hero-mark.c2 { background: #7C5CFF; }
.brand-hero-mark.c3 { background: #0F9F6E; }
.brand-hero-mark.c4 { background: #C9A227; }
.brand-hero-mark.c5 { background: #D54941; }

.brand-hero-mark.has-icon {
  background: #fff;
  border: none;
  box-shadow: 0 1px 2px rgba(31, 35, 41, 0.06);
  padding: 12px;
}

.brand-hero-mark.has-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-hero-logo-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.brand-hero-logo-name {
  font-size: 16px;
  font-weight: 600;
  color: #3e5168;
  line-height: 1.35;
  word-break: break-word;
}

.brand-hero-logo-url {
  font-size: 12px;
  color: #98a2b3;
  line-height: 1.4;
  word-break: break-all;
}

.brand-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-hero-info h1 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.brand-hero-desc {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

.brand-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 12px;
}

.brand-hero-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

/* 详情页：顶部 hero 以下 */
.brand-below {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.brand-ad-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.brand-ad-img {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
  transition: border-color 0.15s, opacity 0.15s;
}

.brand-ad-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-ad-img:hover {
  border-color: #C9CED6;
  opacity: 0.96;
}

.bd-block-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #2A3340;
  letter-spacing: -0.01em;
}

.bd-panel .bd-toc-panel {
  margin: 16px 0 8px;
  background: linear-gradient(180deg, #F4F8FD 0%, #F8FBFE 100%);
  border: 1px solid #DCE8F4;
  border-radius: 12px;
  padding: 18px 20px 14px;
}

.brand-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}

.bd-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-radius: 8px;
  color: #4A5568;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.bd-toc-link:hover {
  color: #3D7BFF;
  background: transparent;
}

.bd-toc-num {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #9AA3AF;
  font-size: 14px;
  font-weight: 500;
  display: inline;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 1.2em;
}

.bd-toc-link:hover .bd-toc-num {
  background: transparent;
  color: #3D7BFF;
}

.brand-detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.brand-detail-body {
  min-width: 0;
}

.bd-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 28px 36px;
}

.bd-section {
  padding: 28px 0 8px;
  border-top: none;
  scroll-margin-top: 84px;
}

.bd-section + .bd-section {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--border-2);
}

.bd-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #2A3340;
  letter-spacing: -0.02em;
}

.bd-section > p {
  margin: 0;
  color: #5C6570;
  font-size: 15px;
  line-height: 1.85;
}

.bd-section > p + p {
  margin-top: 16px;
}

.bd-list {
  margin: 0;
  padding-left: 1.2em;
  color: #5C6570;
  font-size: 15px;
  line-height: 1.8;
}

.bd-list li + li {
  margin-top: 10px;
}

.bd-scenes {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bd-scene h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #2a3340;
}

.bd-scene-where {
  margin: 0 0 8px;
  color: #5c6570;
  font-size: 15px;
  line-height: 1.7;
}

.bd-scene-where span,
.bd-scene li span {
  color: #2a3340;
  font-weight: 600;
}

.bd-scene .bd-list {
  margin: 0;
}

.bd-scene .bd-list li + li {
  margin-top: 6px;
}

.bd-related-panel {
  position: sticky;
  top: 80px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
}

.brand-related {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-related-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #F5F8FC;
  transition: background 0.15s, border-color 0.15s;
}

.bd-related-item:hover {
  border-color: #DCE3EC;
  background: #EEF4FA;
}

.bd-related-item .brand-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 10px;
}

.bd-related-text {
  min-width: 0;
}

.bd-related-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  color: #2A3340;
}

.bd-related-text small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #8F959E;
  font-size: 12px;
  line-height: 1.5;
}

.bd-muted {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
}

.bd-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-faq-item {
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: #F8FAFC;
  padding: 0 16px;
}

.bd-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  font-size: 14px;
  color: #2A3340;
}

.bd-faq-item summary::-webkit-details-marker {
  display: none;
}

.bd-faq-item summary::after {
  content: "+";
  float: right;
  color: #9AA3AF;
  font-weight: 400;
}

.bd-faq-item[open] summary::after {
  content: "–";
}

.bd-faq-item p {
  margin: 0 0 14px;
  color: #5C6570;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .brand-detail-split {
    grid-template-columns: 1fr;
  }

  .bd-related-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .brand-hero-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .brand-hero-logo {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-hero-logo-meta {
    align-items: flex-start;
    width: auto;
  }

  .brand-hero-mark {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    font-size: 28px;
  }

  .brand-ad-row {
    grid-template-columns: 1fr;
  }

  .brand-toc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-hero-card,
  .bd-panel,
  .bd-toc-panel,
  .bd-related-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-hero-actions {
    flex-direction: column;
  }

  .brand-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .bd-section h2 {
    font-size: 18px;
  }
}

/* —— 出海导航页 —— */
.chuhai-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15px;
}

.chuhai-main > .list-crumb {
  margin-bottom: 0;
  font-size: 14px;
}

.chuhai-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  padding: 40px 28px 38px;
  background-color: #F5F8FC;
  background-image:
    linear-gradient(180deg, rgba(245, 248, 252, 0.78) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(245, 248, 252, 0.82) 100%),
    radial-gradient(560px 200px at 50% 0%, rgba(61, 123, 255, 0.1), transparent 72%),
    url("../img/chuhai-hero-bg.jpg?v=1");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: none;
  text-align: center;
}

.chuhai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 70%, rgba(56, 189, 248, 0.08), transparent 28%),
    radial-gradient(circle at 82% 35%, rgba(61, 123, 255, 0.07), transparent 30%);
  pointer-events: none;
}

.chuhai-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chuhai-hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.chuhai-hero h1 {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.15;
}

.chuhai-hero-desc {
  margin: 0 0 20px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

.chuhai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chuhai-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chuhai-pill:hover {
  border-color: #C5CAD3;
  color: var(--text-1);
  background: var(--bg);
}

.chuhai-pill.is-primary {
  background: #3D7BFF;
  border-color: #3D7BFF;
  color: #fff;
  box-shadow: none;
}

.chuhai-pill.is-primary:hover {
  color: #fff;
  background: #356FE6;
  border-color: #356FE6;
}

.chuhai-featured {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chuhai-featured .chuhai-note,
.chuhai-note {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-3);
}

.chuhai-ad-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.chuhai-ad-img {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
  transition: border-color 0.15s, opacity 0.15s;
}

.chuhai-ad-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chuhai-ad-img:hover {
  border-color: #C9CED6;
  opacity: 0.96;
}

.chuhai-search-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 16px;
  box-shadow: none;
}

.chuhai-search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.chuhai-search-label {
  display: block;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}

.chuhai-clear-btn {
  flex-shrink: 0;
  font-size: 14px;
}

.chuhai-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.chuhai-search-bar {
  flex: 1;
  margin: 0;
  height: 44px;
  border-radius: 10px;
  border-color: var(--border);
  background: var(--bg);
  box-shadow: none;
  font-size: 15px;
}

.chuhai-search-bar:focus-within {
  border-color: #B8C0CC;
  box-shadow: 0 0 0 3px rgba(61, 123, 255, 0.08);
  background: #fff;
}

.chuhai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.is-tool-page .catalog-search {
  margin-bottom: 22px;
}

.chuhai-tag {
  appearance: none;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--text-2);
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.chuhai-tag:hover {
  background: #EBEEF2;
  color: var(--text-1);
}

.chuhai-tag.is-active {
  background: #3D7BFF;
  border-color: transparent;
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

.ai-region {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.ai-region-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.ai-region-btn:hover {
  border-color: #C9CED6;
  color: var(--text-1);
}

.ai-region-btn.is-active {
  background: #EAF0FA;
  border-color: transparent;
  color: #3D7BFF;
  font-weight: 600;
}

.chuhai-group-more {
  margin-left: auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: #5B7CBA;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.chuhai-group-more:hover {
  color: #3D7BFF;
}

.ai-group-note {
  margin: -6px 0 12px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

.ai-origin {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.ai-origin.is-cn {
  background: #EEF5F3;
  color: #4E8F7A;
}

.ai-origin.is-global {
  background: #EEF2F8;
  color: #5B7CBA;
}

.is-ai-hub .chuhai-grid {
  grid-template-columns: repeat(3, 1fr);
}

.is-ai-hub .brand-avatar.has-icon {
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px;
  overflow: hidden;
}

.is-ai-hub .brand-avatar.has-icon img,
.bd-related-item .brand-avatar.has-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bd-related-item .brand-avatar.has-icon {
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .is-ai-hub .chuhai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .is-ai-hub .chuhai-grid {
    grid-template-columns: 1fr;
  }
}

.chuhai-meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}

.chuhai-group {
  margin-bottom: 8px;
}

.chuhai-group + .chuhai-group {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.chuhai-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chuhai-group-head::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #3D7BFF;
  flex-shrink: 0;
}

.chuhai-group-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.chuhai-group-count {
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.chuhai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.chuhai-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-1);
  min-height: 0;
  transition: border-color 0.15s, background 0.15s;
}

.chuhai-card:hover {
  border-color: #C9CED6;
  background: #FCFCFD;
}

.chuhai-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chuhai-card .brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 15px;
  flex-shrink: 0;
}

.chuhai-card-title {
  min-width: 0;
}

.chuhai-card-top h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-ai-hub .chuhai-card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.is-ai-hub .chuhai-card-top h3 {
  margin: 0;
}

.chuhai-card-domain {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chuhai-chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: #EEF2F8;
  color: #5B7CBA;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chuhai-chip.tone-blue { background: #EEF2F8; color: #5B7CBA; }
.chuhai-chip.tone-teal { background: #EEF5F3; color: #5B9A8B; }
.chuhai-chip.tone-amber { background: #F7F3EC; color: #B8955A; }
.chuhai-chip.tone-rose { background: #F6F0F2; color: #B07A8A; }
.chuhai-chip.tone-cyan { background: #EFF4F6; color: #6A93A5; }
.chuhai-chip.tone-green { background: #F0F5F1; color: #6B9B72; }
.chuhai-chip.tone-orange { background: #F6F1ED; color: #B8896A; }
.chuhai-chip.tone-slate { background: #F2F3F5; color: #7A8494; }
.chuhai-chip.tone-lime { background: #F3F5EE; color: #8A9A63; }
.chuhai-chip.tone-sky { background: #EFF3F6; color: #6A8BA8; }

.chuhai-card > p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.chuhai-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}

.chuhai-card-go {
  color: #5B7CBA;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.chuhai-card:hover .chuhai-card-go {
  color: #3D7BFF;
}

@media (max-width: 1200px) {
  .chuhai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .chuhai-ad-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .chuhai-hero {
    padding: 28px 18px 26px;
  }

  .chuhai-hero h1 {
    font-size: 28px;
  }

  .chuhai-search-head {
    flex-direction: column;
    align-items: stretch;
  }

  .chuhai-grid {
    grid-template-columns: 1fr;
  }
}

.fp-compare {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 12px;
}

.fp-compare-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fp-compare h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}

.fp-compare-head p {
  margin: 0;
  max-width: 460px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.fp-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.fp-compare-actions .btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.fp-compare-meta {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.fp-compare-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.fp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fp-compare-table th {
  text-align: left;
  color: var(--text-3);
  font-weight: 500;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.fp-compare-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: top;
  color: var(--text-1);
}

.fp-compare-table tr.is-changed td {
  background: rgba(213, 73, 65, 0.06);
}

.cmp-flag {
  font-size: 12px;
  white-space: nowrap;
}

.cmp-flag.is-changed {
  color: var(--danger);
  font-weight: 600;
}

.cmp-flag.is-same {
  color: var(--text-3);
}

.util-kicker {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.util-card,
.util-result,
.util-help {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 18px 16px;
}

.util-card {
  margin-top: 14px;
}

.util-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.util-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 13px;
}

.util-field input,
.util-field select,
.util-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
}

.util-field input,
.util-field select {
  height: 40px;
  padding: 0 12px;
}

.util-field textarea {
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
}

.util-field.is-wide {
  grid-column: 1 / -1;
}

.util-qr {
  display: block;
  width: 220px;
  height: auto;
  background: #fff;
}

.util-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.util-result {
  margin-top: 12px;
}

.util-result h2,
.util-help h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.util-lead {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
}

.util-clocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.util-clock {
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg);
}

.util-clock span {
  display: block;
  color: var(--text-3);
  font-size: 12px;
  margin-bottom: 4px;
}

.util-clock strong {
  font-size: 15px;
  font-weight: 600;
}

.util-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.util-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 14px;
}

.util-lines li:last-child {
  border-bottom: 0;
}

.util-help {
  margin-top: 16px;
}

.util-help ol {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

.util-help p {
  margin: 0 0 12px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

.util-faq {
  border-top: 1px solid var(--border-2);
  padding-top: 8px;
}

.util-faq details {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-2);
}

.util-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-1);
}

.util-faq p {
  margin: 8px 0 0;
}

.util-related {
  margin-top: 16px;
}

.util-related h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.util-note {
  margin: 10px 0 0;
  color: var(--text-3);
  font-size: 12px;
}

@media (max-width: 860px) {
  .fp-compare-head,
  .util-fields,
  .util-clocks {
    grid-template-columns: 1fr;
    display: grid;
  }

  .fp-compare-head {
    display: block;
  }

  .fp-compare-actions {
    margin-top: 10px;
  }
}
