/* ============================================================
   就我去购网 · 站点样式
   浅色主题，深蓝 + 橙，参考 Logo 配色
   ============================================================ */

:root {
  --ink: #16202e;
  --ink-2: #47566b;
  --ink-3: #7b8799;
  --bg: #f7f5f2;
  --bg-2: #f0f4f9;
  --card: #ffffff;
  --line: #e5e1da;
  --line-2: #e8edf4;
  --brand: #12457c;
  --brand-2: #1c62a6;
  --brand-soft: #eaf2fb;
  --accent: #e2621b;
  --accent-2: #f08a3c;
  --accent-soft: #fff2e7;
  --good: #1d8a5a;
  --good-soft: #e9f6ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 32, 46, .04), 0 8px 24px rgba(22, 32, 46, .05);
  --shadow-lg: 0 2px 4px rgba(22, 32, 46, .04), 0 18px 44px rgba(22, 32, 46, .08);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 4px 0; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
strong { font-weight: 700; }
em { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow { max-width: 760px; }
.muted { color: var(--ink-3); font-size: 14px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- 头部 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex; align-items: center; gap: 22px;
  height: 72px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; max-width: 186px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { background: var(--bg-2); color: var(--brand); }
.nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 700; }

/* 移动端导航里的搜索（桌面隐藏） */
.m-search { display: none; gap: 8px; padding: 8px 6px 10px; }
.m-search input {
  flex: 1 1 auto; min-width: 0; height: 42px; border: 1px solid var(--line);
  border-radius: 9px; padding: 0 12px; font: inherit; font-size: 15px; background: var(--bg); outline: none;
}

.head-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 4px 0 10px; height: 38px;
}
.search input {
  width: 132px; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 14px; color: var(--ink); padding: 0;
}
.search button {
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  display: flex; align-items: center; padding: 6px; border-radius: 6px;
}
.search button:hover { color: var(--brand); background: var(--bg-2); }
.menu-btn {
  display: none; width: 40px; height: 38px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 10px 9px;
}
.menu-btn span { display: block; height: 2px; background: var(--ink-2); border-radius: 2px; margin: 3px 0; }

.notice {
  background: var(--accent-soft);
  border-top: 1px solid #f7e2cf;
  font-size: 13.5px; color: #8a4a1c;
}
.notice-in { display: flex; align-items: center; gap: 10px; padding: 7px 20px; min-height: 34px; }
.notice-tag {
  flex: 0 0 auto; background: var(--accent); color: #fff; font-size: 11px;
  padding: 2px 7px; border-radius: 4px; letter-spacing: .05em;
}
.notice-txt { flex: 1 1 auto; min-width: 0; }
.notice-link { flex: 0 0 auto; color: #8a4a1c; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(18, 69, 124, .18); }
.btn-primary:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

.link { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.link::after { content: " →"; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(900px 380px at 82% -10%, #e8f1fb 0%, rgba(232, 241, 251, 0) 62%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 56px;
}
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 44px; align-items: start;
}
.kicker {
  display: inline-block; margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase;
}
.hero h1 { font-size: 44px; line-height: 1.24; margin-bottom: 18px; letter-spacing: -.02em; }
.lead { font-size: 16.5px; color: var(--ink-2); line-height: 1.78; margin-bottom: 22px; }
.hero-act { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-points li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-3);
}
.hero-points li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.card-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-bottom: 1px solid var(--line-2);
  background: #fcfcfa;
}
.card-hd h2 { margin: 0; font-size: 15px; }
.card-hd .tag {
  margin-left: auto; font-size: 11.5px; color: var(--good);
  background: var(--good-soft); padding: 3px 8px; border-radius: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.card-bd { padding: 18px 20px 20px; }

.mini-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-calc label { display: flex; flex-direction: column; gap: 5px; }
.mini-calc span { font-size: 12.5px; color: var(--ink-3); }
.mini-calc input {
  height: 40px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; outline: none; width: 100%;
}
.mini-calc input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(28, 98, 166, .1); }

.mini-out {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft), #f6faff);
  border: 1px solid #dbe8f7;
}
.mo-main { display: flex; align-items: baseline; gap: 10px; }
.mo-label { font-size: 13px; color: var(--ink-2); }
.mo-value { font-size: 30px; color: var(--brand); letter-spacing: -.02em; }
.mo-sub { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.mo-sub b { color: var(--accent); }
.mini-note { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ---------------- 数据条 ---------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: -28px;
  position: relative; z-index: 2; box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 20px 22px; display: flex; align-items: baseline; gap: 8px; }
.stat strong { font-size: 28px; color: var(--brand); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* ---------------- 区块 ---------------- */
.sec { padding: 54px 20px 6px; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 24px;
}
.sec-head h2 { margin: 0; font-size: 27px; }
.sec-head .kicker { margin-bottom: 8px; }
.sec-sub { max-width: 420px; margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.more { flex: 0 0 auto; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.more:hover { color: var(--accent); border-color: var(--accent); }

.grid { display: grid; gap: 16px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

/* 步骤 */
.steps { margin-bottom: 6px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative;
}
.step-no {
  position: absolute; right: 18px; top: 14px;
  font-size: 26px; font-weight: 800; color: #eef1f6; letter-spacing: -.03em;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }

/* 文章卡片 */
.acards { gap: 18px; }
.a-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 16px; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.a-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8d2c8; color: inherit; }
.a-tag {
  align-self: flex-start; font-size: 11.5px; color: var(--brand);
  background: var(--brand-soft); padding: 2px 8px; border-radius: 5px; margin-bottom: 10px;
}
.a-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.a-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.a-foot { margin-top: auto; font-size: 12px; color: var(--ink-3); }

/* 品类卡 */
.band { background: var(--bg-2); border-block: 1px solid var(--line-2); padding: 46px 0 50px; margin-top: 56px; }
.ccards { gap: 14px; }
.c-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 18px; color: inherit; transition: all .18s ease;
}
.c-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); color: inherit; transform: translateY(-2px); }
.c-name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.c-card p { font-size: 13px; color: var(--ink-2); line-height: 1.65; margin-bottom: 10px; }
.c-foot { margin-top: auto; font-size: 11.5px; color: var(--ink-3); }
.ccards-lg .c-card { padding: 22px; }
.c-kicker { color: var(--accent) !important; font-size: 12.5px !important; margin-bottom: 8px !important; }
.c-desc { color: var(--ink-2) !important; }

/* 时间线 */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tl-item {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 16px;
  padding: 14px 0 14px 22px; position: relative; color: inherit;
  border-bottom: 1px dashed var(--line-2);
}
.tl-item:last-child { border-bottom: 0; }
.tl-item:hover { color: inherit; background: rgba(255, 255, 255, .75); border-radius: 0 10px 10px 0; }
.tl-dot {
  position: absolute; left: -7px; top: 21px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent-2);
}
.tl-when { font-size: 13px; color: var(--ink-3); font-weight: 600; padding-top: 1px; }
.tl-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-name { font-weight: 700; font-size: 15.5px; color: var(--brand); }
.tl-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

/* 工具卡 */
.tcards { gap: 14px; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; color: inherit; transition: all .18s ease;
}
.t-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); color: inherit; }
.t-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--brand); }
.t-card p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.7; }

/* 术语云 */
.term-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.term-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; color: var(--ink-2);
}
.term-chip span { font-size: 11px; color: #fff; background: var(--brand-2); border-radius: 999px; padding: 1px 6px; }
.term-chip:hover { border-color: var(--accent); color: var(--accent); }

/* 广告位容器：无广告时自动收起，不占版面 */
.ad-wrap { padding: 24px 20px 4px; }
.ad-slot { display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ad-slot ins { max-width: 100%; }

/* 收尾 */
.closing {
  padding: 56px 20px 64px;
}
.closing h2 { font-size: 24px; }
.closing p { color: var(--ink-2); font-size: 15.5px; max-width: 730px; }

/* ---------------- 面包屑 / 页头 ---------------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 20px 0 0; font-size: 13px; color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: #c8c2b8; }
.breadcrumb em { color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-head { padding: 22px 20px 30px; }
.page-head h1, .page-head .lead, .page-head .page-tagline { max-width: 840px; }
.page-head h1 { font-size: 34px; margin-bottom: 12px; }
.page-head .lead { margin-bottom: 0; }
.page-tagline { margin: 12px 0 0; font-size: 13.5px; color: var(--accent); }

/* ---------------- 文章 ---------------- */
.art-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px; align-items: start; padding-top: 6px;
}
.art { min-width: 0; }
.art-head { padding: 8px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.art-head h1 { font-size: 33px; line-height: 1.32; margin-bottom: 12px; }
.art-desc { font-size: 15.5px; color: var(--ink-2); margin-bottom: 14px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--ink-3); align-items: center; }
.art-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.art-tags em { background: var(--bg-2); color: var(--ink-2); padding: 1px 8px; border-radius: 4px; font-size: 11.5px; }

.toc {
  background: #fcfcfa; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 24px;
}
.toc-title { font-size: 12px; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 8px; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2; column-gap: 26px; }
.toc li { font-size: 13.5px; margin: 3px 0; break-inside: avoid; position: relative; padding-left: 14px; }
.toc li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.toc a { color: var(--brand-2); }

.art-body { font-size: 16.5px; line-height: 1.86; color: #2a3444; }
.art-body h2 {
  font-size: 23px; margin: 36px 0 14px; padding-top: 6px;
  scroll-margin-top: 96px;
}
.art-body h3 { font-size: 17.5px; margin: 24px 0 8px; color: var(--brand); }
.art-body p { margin: 0 0 16px; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 24px; }
.art-body li { margin: 6px 0; }
.art-body strong { color: var(--ink); background: linear-gradient(transparent 62%, #ffe9d6 62%); padding: 0 1px; }
.art-body a { color: var(--brand-2); border-bottom: 1px solid #cfe1f5; }
.art-body a:hover { color: var(--accent); border-color: var(--accent); }
.art-body table { font-size: 14px; margin: 8px 0 18px; background: #fff; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.art-body th { background: #f8f6f2; font-weight: 700; font-size: 13.5px; }
.art-body tr:nth-child(even) td { background: #fdfcfa; }
.h-anchor { opacity: 0; margin-left: 8px; font-size: 15px; color: var(--ink-3) !important; border: 0 !important; }
.art-body h2:hover .h-anchor { opacity: 1; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap-inline { overflow-x: auto; }

.callout {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 12px; padding: 14px 16px; margin: 22px 0;
  border: 1px solid #f0dcc6; background: #fffaf3;
}
.callout-label {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 5px; margin-top: 2px;
}
.callout-body { font-size: 14.5px; color: #5a4a3a; line-height: 1.75; }
.callout-body p:last-child { margin-bottom: 0; }
.callout-tip { border-color: #cfe6d8; background: #f4fbf7; }
.callout-tip .callout-label { background: var(--good); }
.callout-tip .callout-body { color: #2f5344; }
.callout-warn { border-color: #f0cccc; background: #fff6f6; }
.callout-warn .callout-label { background: #c0392b; }
.callout-warn .callout-body { color: #6b3232; }
.callout-note { border-color: #d9e3ef; background: #f7fafd; }
.callout-note .callout-label { background: var(--brand-2); }
.callout-note .callout-body { color: #334a63; }

.art-foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.art-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); }
.art-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.art-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.side-title { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 10px; text-transform: uppercase; }
.side-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
}
.side-link span { font-size: 11.5px; color: var(--ink-3); }
.side-link:hover { background: var(--bg-2); color: var(--brand); }

/* ---------------- 品类页 ---------------- */
.cat-blocks { display: grid; gap: 18px; margin-bottom: 8px; }
.cat-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.cat-block h2 { font-size: 18px; margin-bottom: 14px; }
.cat-block table { font-size: 14px; }
.cat-block th, .cat-block td { border-bottom: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.cat-block th { background: #faf8f5; font-size: 13px; color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; font-size: 14px; }
.checklist strong { color: var(--brand); font-size: 14px; }
.checklist span { color: var(--ink-2); }
.pitfalls { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.pitfalls li { margin: 8px 0; }
.pitfalls li::marker { color: var(--accent); }

/* 品类页相关攻略 */
.rel-block { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fcfcfa; }
.rel-block .side-title { margin-bottom: 8px; }
.rel-list { display: grid; gap: 2px; }
.rel-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-radius: 8px; color: inherit; }
.rel-item span { font-size: 14.5px; font-weight: 600; color: var(--brand); }
.rel-item em { font-style: normal; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.rel-item:hover { background: #fff; color: inherit; }
.rel-item:hover span { color: var(--accent); }

/* ---------------- 大促日历 ---------------- */
.cal { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-row {
  display: grid; grid-template-columns: 76px 190px 56px 1fr 1.35fr;
  gap: 14px; align-items: center;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px;
}
.cal-row:last-child { border-bottom: 0; }
.cal-row:nth-child(even) { background: #fdfcfa; }
.cal-month { font-weight: 700; color: var(--brand); }
.cal-name { font-weight: 600; }
.cal-power {
  justify-self: start; font-size: 11.5px; padding: 2px 8px; border-radius: 20px; font-weight: 700;
}
.power-high { background: var(--accent-soft); color: #b04a10; }
.power-mid { background: var(--brand-soft); color: var(--brand); }
.power-low { background: #f1f1ef; color: var(--ink-3); }
.cal-buy { color: var(--ink-2); font-size: 13.5px; }
.cal-note { color: var(--ink-3); font-size: 12.5px; }
.cal-tip { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* ---------------- 工具 ---------------- */
.tool {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 18px; align-items: start;
}
.tool-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.tf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tf > span:first-child { font-size: 12.5px; color: var(--ink-2); }
.tf-in {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 0 10px; height: 44px;
}
.tf-in:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(28, 98, 166, .1); }
.tf-in input, .tf-in select {
  flex: 1 1 auto; min-width: 0; width: 100%; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 15.5px; color: var(--ink); height: 100%;
  appearance: none; -webkit-appearance: none;
}
.tf-in select { cursor: pointer; font-size: 14px; }
.tf-in i { flex: 0 0 auto; font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.tf-hint { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

.tool-out {
  background: linear-gradient(160deg, #f4f8fd 0%, #fdfcf9 100%);
  border: 1px solid #dce7f4; border-radius: var(--radius); padding: 22px;
  position: sticky; top: 96px;
}
.out-main { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px dashed #d8e3f0; }
.out-label { font-size: 12.5px; color: var(--ink-2); }
.out-num { font-size: 38px; line-height: 1.15; color: var(--brand); letter-spacing: -.02em; }
.out-num.out-text { font-size: 25px; }
.out-badge {
  align-self: flex-start; font-size: 12px; font-weight: 700;
  background: var(--good-soft); color: var(--good); border-radius: 20px; padding: 2px 10px; margin-top: 4px;
}
.out-badge.warn { background: #fdeeea; color: #b3402a; }
.out-list { margin: 14px 0 0; display: grid; gap: 9px; }
.out-list > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.out-list dt { font-size: 13px; color: var(--ink-2); }
.out-list dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.out-note { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.65; }
.out-bar { display: flex; height: 9px; border-radius: 6px; overflow: hidden; margin-top: 16px; background: #eceff4; }
.out-bar i { display: block; height: 100%; }
.out-bar .b1 { background: var(--brand-2); }
.out-bar .b2 { background: var(--accent-2); }
.out-bar .b3 { background: #cfd8e3; }

.tier-table { margin-top: 16px; display: grid; gap: 6px; }
.tier-table .tier {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--ink-2);
  padding: 7px 10px; border-radius: 7px; background: rgba(255, 255, 255, .7);
}
.tier-table .tier b { color: var(--brand); }

.tbig { gap: 18px; }
.t-big {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; color: inherit; transition: all .18s ease;
}
.t-big:hover { border-color: var(--brand-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.t-big h2 { font-size: 20px; color: var(--brand); margin-bottom: 10px; }
.t-big p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.t-go { font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* ---------------- 百科 ---------------- */
.bgroups { gap: 18px; }
.b-group {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; color: inherit; position: relative;
  transition: all .18s ease;
}
.b-group:hover { border-color: var(--brand-2); box-shadow: var(--shadow); color: inherit; }
.b-count {
  position: absolute; right: 20px; top: 20px; font-size: 11.5px;
  color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 20px;
}
.b-group h2 { font-size: 20px; margin-bottom: 8px; }
.b-group p { font-size: 13.5px; color: var(--ink-2); line-height: 1.72; }
.b-preview { font-size: 12px; color: var(--ink-3); }

.terms { display: grid; gap: 0; }
.term { padding: 16px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 96px; }
.term:last-child { border-bottom: 0; }
.term h2 { font-size: 18px; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.term-idx { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.term p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.78; }

/* ---------------- 搜索 / 404 ---------------- */
.search-form { display: flex; gap: 10px; margin: 6px 0 12px; }
.search-form input {
  flex: 1 1 auto; min-width: 0; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; outline: none; background: #fff;
}
.search-form input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(28, 98, 166, .1); }
.hits { display: grid; gap: 12px; padding-bottom: 40px; }
.hit {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; color: inherit;
}
.hit:hover { border-color: var(--brand-2); color: inherit; box-shadow: var(--shadow); }
.hit-type { font-size: 11.5px; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 5px; }
.hit h2 { font-size: 17px; margin: 8px 0 6px; }
.hit p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.empty { padding: 24px 0 48px; }
.empty p { color: var(--ink-2); font-size: 14.5px; }
.empty-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.nf { padding: 60px 20px 80px; text-align: center; }
.nf-code { font-size: 76px; font-weight: 800; color: #e4e0d8; margin: 0; letter-spacing: -.04em; line-height: 1; }
.nf h1 { font-size: 30px; margin: 10px 0 12px; }
.nf .lead { max-width: 520px; margin: 0 auto 22px; }
.nf-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.nf-hot { margin-top: 36px; text-align: left; max-width: 620px; margin-inline: auto; }
.nf-hot p { font-size: 13px; color: var(--ink-3); }
.nf-hot ul { padding-left: 20px; }
.nf-hot li { font-size: 14px; }

.static-body { font-size: 16px; }
.static-body h2 { font-size: 21px; margin-top: 30px; }

/* ---------------- 页脚 ---------------- */
.site-foot {
  margin-top: 40px; background: #fff; border-top: 1px solid var(--line);
  padding: 44px 0 20px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
}
.foot-brand img { height: 36px; width: auto; max-width: 168px; margin-bottom: 12px; }
.foot-brand p { font-size: 13px; color: var(--ink-2); line-height: 1.7; max-width: 320px; }
.foot-note { color: var(--ink-3) !important; font-size: 12px !important; margin-top: 10px; }
.foot-col h3 { font-size: 13px; color: var(--ink); margin-bottom: 10px; letter-spacing: .04em; }
.foot-col a { display: block; font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-3);
}
.beian { color: var(--ink-3); }
.beian:hover { color: var(--brand); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .art-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .cal-row { grid-template-columns: 70px 160px 50px 1fr; }
  .cal-note { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 12px 14px; display: none;
    box-shadow: 0 12px 24px rgba(22, 32, 46, .08);
  }
  .nav.open { display: flex; }
  .nav.open .m-search { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 8px; font-size: 16px; }
  .menu-btn { display: block; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero { padding: 36px 0 46px; }
  .hero h1 { font-size: 32px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -20px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool { grid-template-columns: minmax(0, 1fr); }
  .tool-out { position: static; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .toc ol { columns: 1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .head-in { height: 62px; gap: 12px; }
  .brand img { height: 33px; max-width: 152px; }
  .search { display: none; }
  .notice-in { padding: 6px 16px; font-size: 12.5px; gap: 8px; }
  .notice-link { display: none; }
  .hero { padding: 28px 0 36px; }
  .hero h1 { font-size: 27px; letter-spacing: -.01em; }
  .lead { font-size: 15px; }
  .hero-act .btn { flex: 1 1 auto; }
  .mini-calc { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 16px; flex-direction: column; gap: 0; align-items: flex-start; }
  .stat strong { font-size: 23px; }
  .sec { padding: 38px 20px 4px; }
  .sec-head h2 { font-size: 22px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .page-head h1, .art-head h1 { font-size: 26px; }
  h1 { font-size: 26px; }
  .art-body { font-size: 16px; line-height: 1.82; }
  .art-body h2 { font-size: 20px; margin-top: 28px; }
  .art-body th, .art-body td { padding: 8px 10px; font-size: 13px; }
  .tf-grid { grid-template-columns: minmax(0, 1fr); }
  .out-num { font-size: 32px; }
  .cal-row { grid-template-columns: 62px minmax(0, 1fr) 44px; gap: 8px; padding: 11px 14px; }
  .cal-buy { grid-column: 2 / -1; font-size: 12.5px; }
  .cal-note { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .art-side { grid-template-columns: minmax(0, 1fr); }
  .timeline { margin-left: 4px; }
  .tl-item { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding-left: 16px; }
  .checklist li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .nf-code { font-size: 60px; }
  .ad-wrap { padding: 28px 16px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
