@charset "utf-8";
/* ============ AI 军火库 · 页面设计层 v2 ============ */
/* 依赖 ref/style.css（reference.css）里的 :root 变量 */

/* ---------- 背景质感 ---------- */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% -6%, rgba(255,140,50,.10), transparent 60%),
    radial-gradient(820px 420px at 96% 4%, rgba(41,75,98,.12), transparent 62%);
}

/* ---------- 动效系统（.js 存在时启用，渐进增强） ---------- */
.js body .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js body .reveal.is-visible { opacity: 1; transform: none; }
.js body .reveal[data-delay="1"] { transition-delay: .08s; }
.js body .reveal[data-delay="2"] { transition-delay: .16s; }
.js body .reveal[data-delay="3"] { transition-delay: .24s; }
.js body .reveal[data-delay="4"] { transition-delay: .32s; }
.js body .reveal[data-delay="5"] { transition-delay: .40s; }
@keyframes floatY { from { transform: translateY(-3px); } to { transform: translateY(6px); } }
@keyframes pulseGlow { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
#header.is-scrolled { box-shadow: 0 12px 32px rgba(23,49,74,.12); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js body .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 58px 0 52px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(560px 300px at 22% 40%, #000, transparent 72%);
  mask-image: radial-gradient(560px 300px at 22% 40%, #000, transparent 72%);
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -70px; top: -90px; z-index: -1;
  background: radial-gradient(circle at center, rgba(255,140,50,.22), transparent 68%);
  animation: pulseGlow 6s var(--ease) infinite;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero h1 {
  color: var(--ink); font-size: clamp(38px, 6vw, 58px); line-height: 1.08; font-weight: 850;
  letter-spacing: -.02em; margin: 0; white-space: nowrap;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { color: #5f7688; margin-top: 16px; font-size: 16px; max-width: 560px; line-height: 1.75; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.directory-count {
  display: flex; flex-wrap: wrap; gap: 22px 44px; align-items: flex-end; justify-content: center;
  flex: 0 0 auto; padding: 28px 34px;
  background: linear-gradient(160deg, #fff, #f4f8fb);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 16px 44px rgba(23,49,74,.10), inset 0 1px 0 #fff;
}
.dc-pair { display: flex; flex-direction: column; align-items: flex-start; }
.directory-count strong { font-size: 34px; color: var(--ink); font-weight: 850; letter-spacing: -.02em; line-height: 1; }
.directory-count span { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

/* ============ 区块标题（编号式） ============ */
.category-section, .tool-section { padding-top: 40px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-heading h2 {
  display: flex; align-items: baseline; gap: 14px;
  color: var(--ink); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em; margin: 0;
}
.section-heading h2 .sec-no {
  font-size: 13px; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: .1em;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.section-heading h2::before { display: none; }
.section-heading > span, .section-heading > a { font-size: 13px; color: var(--muted); white-space: nowrap; }
.section-heading > a { position: relative; font-weight: 600; color: var(--accent-deep); }
.section-heading > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--accent); transition: right .28s var(--ease); }
.section-heading > a:hover::after { right: 0; }
.tool-facts h2 { color: var(--ink); font-size: 16px; font-weight: 700; }
.tool-facts h2::before { display: none; }

/* ============ 分类网格 ============ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.category-grid li { min-width: 0; }
.category-grid a {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px; height: 100%;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.category-grid a:hover {
  transform: translateY(-4px); border-color: #ffd9b8; background: linear-gradient(160deg, #fff, #fff7ef);
  box-shadow: 0 14px 30px rgba(23,49,74,.09);
}
.category-icon {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 12px; background: linear-gradient(150deg, #fff2e4, #ffe4c8);
  color: var(--accent-deep); font-size: 22px;
  transition: transform .35s var(--ease);
}
.category-grid a:hover .category-icon { transform: rotate(-8deg) scale(1.06); }
.category-grid strong { color: var(--ink); display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
.category-grid small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.category-arrow { margin-left: auto; color: #c3d0da; transition: transform .3s var(--ease), color .3s; }
.category-grid a:hover .category-arrow { transform: translateX(4px); color: var(--accent); }

/* ============ 工具卡片 ============ */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.tool-card {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  padding: 16px; border: 1px solid #e9eef2; border-radius: 16px; background: var(--card);
  box-shadow: 0 2px 10px rgba(16,35,51,.04);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.tool-card::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.tool-card:hover { transform: translateY(-5px); border-color: #d8e2ea; box-shadow: 0 22px 48px rgba(23,49,74,.13); }
.tool-card:hover::before { transform: scaleX(1); }
.tool-card:hover .card-more span { transform: translate(3px, -3px); }
.tool-card:hover .tool-avatar { transform: rotate(-5deg) scale(1.05); }
.card-stretch { position: absolute; inset: 0; z-index: 3; border-radius: 16px; text-decoration: none; }
.category-label, .card-more, .tool-avatar { position: relative; z-index: 4; }
.card-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.card-heading > div { min-width: 0; }
.tool-avatar {
  position: relative; display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px;
  background: linear-gradient(150deg, #eef5f9, #e2edf3); border-radius: 12px; overflow: hidden;
  font-size: 21px; font-weight: 800; color: var(--ink-2);
  transition: transform .35s var(--ease);
}
.tool-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; }
.tool-avatar.large {
  width: 64px; height: 64px; flex-basis: 64px; font-size: 32px;
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(16,35,51,.08);
}
.tool-card h3 { margin-bottom: 0; line-height: 1.3; overflow-wrap: anywhere; font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.tool-card h3::before { display: none; }
.category-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-intro {
  font-size: 13.5px; color: #63788a; line-height: 1.7; min-height: 58px; margin: 12px 0 14px; overflow-wrap: anywhere;
}
.card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; border-top: 1px solid #eef2f5; padding-top: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: #edf4f8; color: #536f80; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge.price { background: #e9f6ef; color: #2f7a5c; }
.card-more { font-size: 12px; margin-left: auto; white-space: nowrap; font-weight: 600; }
.card-more span { display: inline-block; color: var(--accent-deep); font-size: 15px; transition: transform .28s var(--ease); }

/* ============ 文章卡片 ============ */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border: 1px solid #e9eef2; border-radius: 18px; background: var(--card);
  box-shadow: 0 2px 10px rgba(16,35,51,.04); position: relative; overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.article-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.article-card:hover { transform: translateY(-6px); border-color: #ffd9b8; box-shadow: 0 22px 48px rgba(23,49,74,.12); }
.article-card:hover::before { transform: scaleY(1); }
.article-card strong { font-size: 18px; line-height: 1.4; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.article-card p { font-size: 14px; color: #63788a; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card time { font-size: 12px; color: var(--muted); margin-top: auto; }
.article-board { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: linear-gradient(120deg, #fff2e4, #ffe7cf); color: var(--accent-deep); }

/* ============ 面包屑 + 页头 ============ */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); padding-top: 26px; overflow-wrap: anywhere;
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb span + span { color: #b8c6d1; }
.page-heading { padding: 26px 0 8px; }
.page-heading h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 850; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 12px; }
.page-heading p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ============ 分页 ============ */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 40px; }
.pagination a, .pagination button {
  background: var(--card); border: 1px solid #dbe7ee; border-radius: 10px;
  padding: 10px 16px; color: #31566f; font-weight: 650; font-size: 14px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, color .22s;
}
.pagination a:hover, .pagination button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(23,49,74,.1); border-color: #ffd9b8; color: var(--accent-deep); }
.pagination [aria-current="page"] { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-color: var(--ink); color: #fff; }

/* ============ 详情页 ============ */
.tool-overview {
  position: relative; overflow: hidden; margin-top: 26px; padding: 34px;
  border-radius: 22px; background: var(--card);
  box-shadow: 0 4px 22px rgba(16,35,51,.06);
}
.tool-overview::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}
.detail-heading { display: flex; align-items: center; gap: 20px; }
.detail-heading > div { min-width: 0; }
.detail-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tool-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 12px; min-height: 48px; padding: 12px 26px;
  font-weight: 750; font-size: 15px; letter-spacing: .02em; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(255,124,32,.32);
}
.button.primary:hover { filter: brightness(1.07); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,124,32,.42); }
.button.primary:active { transform: scale(.98); }
.button.secondary { background: #f5f8fa; border-color: #dae4ea; color: #31566f; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(23,49,74,.1); }
.button:disabled { opacity: .6; cursor: wait; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin: 34px 0; }
.tool-description { padding-top: 0; }
.content h2 { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 30px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 22px; color: var(--ink); font-weight: 750; }
.content p { margin-bottom: 16px; line-height: 1.85; }
.content ul, .content ol { list-style: revert; padding-left: 26px; margin-bottom: 16px; }
.content ul li, .content ol li { line-height: 1.8; margin-bottom: 6px; }
.content pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.tool-facts { align-self: start; position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 24px; box-shadow: 0 4px 18px rgba(16,35,51,.05); }
.tool-facts dl { margin: 0; }
.tool-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; }
.tool-facts dt:first-of-type { margin-top: 0; }
.tool-facts dd { margin-top: 6px; overflow-wrap: anywhere; font-size: 14px; }
.tool-facts p { font-size: 12px; color: var(--muted); margin-top: 24px; border-top: 1px dashed var(--line); padding-top: 16px; }
.empty-state { padding: 40px 0; color: var(--muted); font-size: 15px; text-align: center; }

/* ============ 文章列表 / 板块 ============ */
.article-list { display: grid; gap: 4px; max-width: 900px; }
.article-list-item { border-bottom: 1px solid var(--line); padding: 24px 0; transition: padding-left .3s var(--ease); }
.article-list-item:last-child { border-bottom: 0; }
.article-list-item:hover { padding-left: 6px; }
.article-list-item h2 { font-size: 22px; margin: 8px 0; font-weight: 800; letter-spacing: -.01em; }
.article-list-item h2 a { color: var(--ink); }
.article-list-item h2 a:hover { color: var(--accent-deep); }
.article-summary { color: var(--muted); line-height: 1.8; }
.article-list-item time { color: var(--muted); font-size: 12px; margin-left: 10px; }
.board-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; }
.board-filters a {
  padding: 9px 16px; border: 1px solid #dbe7ee; border-radius: 999px; color: #31566f; font-weight: 600; font-size: 14px;
  transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s;
}
.board-filters a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.board-filters a[aria-current="page"] { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-color: var(--ink); color: #fff; }
.gpu-filters { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px 12px; }
.gpu-filters-label { margin-top: 9px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.gpu-filter-options { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.gpu-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.gpu-tag { display: inline-flex; max-width: 100%; padding: 3px 10px; background: rgba(41,75,98,.08); border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; font-weight: 650; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }

/* ============ 文章正文 ============ */
.article-heading { padding: 34px 0 26px; max-width: 900px; }
.article-heading h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 850; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 10px 0 14px; }
.article-body { min-width: 0; max-width: 900px; line-height: 1.9; font-size: 16px; overflow-wrap: anywhere; }
.article-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-top: 40px; color: var(--ink); }
.article-body h3 { font-size: 20px; font-weight: 750; margin-top: 28px; color: var(--ink); }
.article-body pre.codeblock {
  background: #16232f; color: #e5eef4; border-radius: 14px; overflow-x: auto;
  padding: 20px; white-space: pre; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6;
  border: 1px solid #24384a; box-shadow: 0 8px 24px rgba(16,35,51,.14);
}
.article-body pre.codeblock code { color: inherit; }
.article-body code { background: #eef3f7; color: #375266; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article-body pre code { background: none; padding: 0; }
.article-body table { display: block; max-width: 100%; border-collapse: collapse; width: 100%; margin: 22px 0; border-radius: 12px; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid #dbe4ea; padding: 11px 14px; text-align: left; }
.article-body th { background: #f4f8fb; font-weight: 700; color: var(--ink); }
.article-body img { border-radius: 12px; margin: 20px 0; }
.article-body blockquote { border-left: 4px solid var(--accent); background: #fff7f0; padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 22px 0; color: #5f7688; }
.article-neighbors { display: flex; justify-content: space-between; gap: 16px; max-width: 900px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-neighbors a { font-weight: 650; }

/* ============ 搜索 / 筛选 ============ */
.query-row { display: flex; gap: 12px; }
.query-row input { flex: 1; width: 100%; height: 52px; border: 1px solid #dbe7ee; border-radius: 12px; padding: 0 18px; background: #fff; font-size: 15px; transition: border-color .25s, box-shadow .25s; }
.query-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 24px; margin-top: 24px; }
.filter-row > label:not(.check-label) { display: grid; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.filter-row select { border: 1px solid #dbe7ee; background: #fff; padding: 10px 14px; border-radius: 10px; min-height: 44px; min-width: 180px; font-weight: 500; }
.filter-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.check-label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 550; }
input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent-deep); border-radius: 5px; }
.reset-button { color: #31566f; background: none; border: 0; min-height: 44px; text-decoration: underline; font-weight: 600; }
.reset-button:hover { color: var(--accent-deep); }
.search-status { margin: 30px 0 20px; font-size: 14px; color: var(--muted); }

/* ============ 投稿表单 ============ */
.submission-form { max-width: 760px; }
.submission-form > label, .form-columns > label { display: grid; gap: 9px; font-weight: 700; margin-bottom: 22px; color: var(--ink); font-size: 14px; }
.submission-form .check-label { display: flex; font-weight: 500; }
.submission-form .fipt {
  width: 100%; background: #fff; font-weight: 400; border: 1px solid #dbe7ee;
  border-radius: 12px; padding: 13px 16px; min-height: 48px; font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}
.submission-form .fipt:focus, .fipt:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.fipt { border: 1px solid #dbe7ee; border-radius: 10px; max-width: 100%; padding: 10px 12px; }
.muted { color: var(--muted); font-size: 12px; }
#description-count { margin: -14px 0 20px; color: var(--accent-deep); font-weight: 600; }
#submission-status { margin-top: 18px; color: var(--accent-deep); font-weight: 700; }
.about-content { max-width: 800px; line-height: 1.85; }
.about-content h1 { font-size: 34px; font-weight: 850; letter-spacing: -.02em; margin-bottom: 18px; color: var(--ink); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  #topbox { gap: 20px; }
  .directory-count { gap: 18px 30px; padding: 24px; }
  .detail-layout { gap: 28px; }
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 34px; display: block; }
  .hero::before, .hero::after { display: none; }
  .hero-copy { font-size: 15px; max-width: none; }
  .directory-count { width: 100%; margin-top: 28px; padding: 22px; }
  .directory-count strong { font-size: 26px; }
  .directory-count span { margin-top: 6px; }
  .dc-pair { flex: 1 1 0; align-items: center; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .category-grid a { gap: 10px; padding: 14px; }
  .category-grid strong { font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .tool-facts { position: static; }
  .detail-heading { align-items: flex-start; gap: 14px; }
  .tool-avatar.large { flex-basis: 56px; width: 56px; height: 56px; }
  .tool-overview { padding: 24px; }
  .tool-actions .button { padding: 11px 16px; font-size: 14px; }
  .submit-link { background: transparent; border: 1px solid rgba(255,140,50,.75); box-shadow: none; padding: 9px 14px; }
  .submit-link:hover { background: rgba(255,140,50,.12); }
  .nav-toplink { padding: 12px 0; }
  #navbox { margin-top: 8px; }
  .form-columns { grid-template-columns: 1fr; }
  .filter-row > label:not(.check-label) { width: calc(50% - 12px); }
  .filter-row select { min-width: 0; width: 100%; }
  .article-neighbors { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
  .card-intro { min-height: 0; }
  .page-heading { padding-top: 20px; }
  .filter-row > label:not(.check-label) { width: 100%; }
  .directory-count { gap: 14px 12px; }
  .directory-count strong { font-size: 22px; }
  .detail-heading h1 { font-size: 26px; }
  .tool-overview { padding: 20px; }
  .sipt { padding-left: 36px; }
  .hero h1 { font-size: 32px; white-space: normal; }
}

/* ============ 首页改版：方案 B + 数据驱动板块 ============ */
#header { top: 0; }
#topbox { min-height: 68px; }
#header.is-scrolled #topbox { min-height: 68px; }
.brand { font-size: 18px; }
.brand-mark { flex-basis: 40px; width: 40px; height: 40px; border-radius: 8px; }
.brand-caption { margin-top: 2px; }
.sipt, .sbtn { height: 42px; }

#navbox {
  position: sticky; top: 68px; z-index: 55; margin: 0;
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(23,49,74,.05);
}
.scene-pill-row {
  display: flex; align-items: center; gap: 8px; max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
}
.scene-pill-row::-webkit-scrollbar { display: none; }
.scene-home-link, .scene-pill, .scene-all-link {
  display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 34px;
  border: 1px solid transparent; color: var(--muted); white-space: nowrap;
  font-size: 13px; font-weight: 650; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.scene-home-link { padding: 6px 13px; border-radius: 999px; color: var(--ink); }
.scene-pill { gap: 7px; padding: 6px 8px 6px 13px; border-radius: 999px; }
.scene-pill small {
  display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: #edf2f5; color: #708594; font-size: 10px; line-height: 1;
}
.scene-home-link:hover, .scene-pill:hover, .scene-all-link:hover { color: var(--ink); background: #f3f6f8; }
.scene-home-link.is-current, .scene-pill.is-current {
  border-color: var(--ink); background: var(--ink); color: #fff;
}
.scene-pill.is-current small { background: rgba(255,255,255,.16); color: #fff; }
.scene-pill-spacer { flex: 1 0 18px; }
.scene-all-link { gap: 6px; padding: 6px 4px 6px 12px; color: var(--accent-deep); }
.scene-all-link:hover span { transform: translateX(3px); }
.scene-all-link span { transition: transform .2s var(--ease); }

.home-main { min-height: 70vh; }
.home-wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.home-hero { border-bottom: 1px solid var(--line); background: #fff; }
.home-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; row-gap: 28px;
  padding-top: 52px; padding-bottom: 36px;
}
.home-kicker, .dark-kicker, .home-section-heading p, .submit-band > p {
  margin: 0 0 10px; color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.4;
}
.home-hero-copy h1 { margin: 0; color: var(--ink); font-size: 48px; font-weight: 850; line-height: 1.08; letter-spacing: 0; }
.home-hero-copy h1 span { color: var(--accent-deep); }
.home-hero-copy > p:last-child { max-width: 590px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.home-stats {
  display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); align-self: end; margin: 0;
  border: 1px solid var(--line); border-radius: 8px; background: #f8fafb; overflow: hidden;
}
.home-stats div { min-width: 0; padding: 19px 21px; border-left: 1px solid var(--line); }
.home-stats div:first-child { border-left: 0; }
.home-stats dt { color: var(--ink); font-size: 27px; font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; }
.home-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.intent-row { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 9px; }
.intent-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px 7px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: #f8fafb; color: var(--ink-2); font-size: 13px; font-weight: 650;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.intent-pill::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
.intent-pill small { min-width: 20px; color: var(--muted); font-size: 10px; text-align: center; }
.intent-pill:hover { transform: translateY(-2px); border-color: #ffc593; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(23,49,74,.08); }

.home-sections { padding-top: 30px; }
.local-zone {
  position: relative; display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 34px;
  padding: 38px 40px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; overflow: hidden;
  background: linear-gradient(120deg, #17314a, #294b62); color: #fff; box-shadow: 0 18px 46px rgba(16,35,51,.18);
}
.local-zone::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(255,176,95,.35); }
.local-zone-copy, .local-tools { position: relative; z-index: 1; min-width: 0; }
.dark-kicker { color: var(--accent-2); }
.local-zone h2 { margin: 0; color: #fff; font-size: 30px; line-height: 1.2; }
.local-zone h2 span { color: var(--accent-2); }
.local-zone-copy > p:not(.dark-kicker) { max-width: 520px; margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.8; }
.local-rank-lead, .local-tool-card {
  display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,25,39,.4);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.local-rank-lead { position: relative; min-height: 158px; margin-top: 22px; padding: 23px 20px; overflow: hidden; }
.local-rank-lead:hover, .local-tool-card:hover { color: #fff; border-color: rgba(255,176,95,.5); background: rgba(8,25,39,.58); transform: translateY(-2px); }
.local-rank-number { position: absolute; right: 12px; bottom: -13px; color: rgba(255,255,255,.06); font-size: 82px; font-weight: 900; line-height: 1; }
.local-rank-avatar { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 12px; font-size: 21px; }
.local-rank-copy { position: relative; min-width: 0; }
.local-rank-copy small { display: block; overflow: hidden; color: var(--accent-2); font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.local-rank-copy strong { display: block; margin-top: 5px; overflow: hidden; color: #fff; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.local-rank-copy em { display: -webkit-box; margin-top: 7px; overflow: hidden; color: rgba(255,255,255,.6); font-size: 11px; font-style: normal; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-arrow { margin-left: auto; flex: 0 0 auto; color: var(--accent-2); transition: transform .2s var(--ease); }
a:hover > .card-arrow { transform: translateX(3px); }
.local-tools { display: flex; flex-direction: column; gap: 14px; }
.local-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.local-tools-grid .local-tool-card { gap: 9px; min-height: 72px; padding: 10px; }
.local-tools-grid .tool-avatar { flex: 0 0 38px; width: 38px; height: 38px; }
.local-tools-label { margin: 0 0 2px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.local-tool-rank { flex: 0 0 19px; color: rgba(255,255,255,.38); font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.local-tool-copy { min-width: 0; }
.local-tool-copy strong { display: block; overflow: hidden; color: #fff; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.local-tool-copy small { display: block; margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.5); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.local-more { align-self: center; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 650; }
.local-more:hover { color: var(--accent-2); }
.dark-empty { margin: 0; padding: 18px; border: 1px dashed rgba(255,255,255,.2); border-radius: 8px; color: rgba(255,255,255,.6); text-align: center; font-size: 12px; }

.home-section { padding-top: 46px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.home-section-heading p { margin-bottom: 5px; }
.home-section-heading h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 820; line-height: 1.2; letter-spacing: 0; }
.home-section-heading h2 small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.home-section-heading > a { flex: 0 0 auto; padding-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 650; }
.home-section-heading > a:hover { color: var(--accent-deep); }
.home-section-heading > a span { display: inline-block; transition: transform .2s var(--ease); }
.home-section-heading > a:hover span { transform: translateX(3px); }

.article-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: stretch; }
.article-featured {
  display: flex; flex-direction: column; min-height: 320px; padding: 27px;
  border-radius: 8px; background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff;
}
.article-board { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255,140,50,.17); color: var(--accent-2); font-size: 11px; font-weight: 700; }
.article-board:hover { color: #fff; }
.article-featured h3 { margin: 16px 0 0; font-size: 20px; line-height: 1.48; }
.article-featured h3 a { color: #fff; }
.article-featured > p { margin: 11px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.75; }
.article-gpus { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.article-gpus span { padding: 3px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 10px; }
.article-read { margin-top: 15px; color: var(--accent-2); font-size: 12px; font-weight: 700; }
.article-read:hover { color: #fff; }
.article-rail { display: flex; flex-direction: column; justify-content: center; min-height: 320px; padding: 5px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.article-rail-row { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-rail-row:last-child { border-bottom: 0; }
.article-number { flex: 0 0 36px; color: #d2dce3; font-size: 21px; font-weight: 850; font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
.article-rail-copy { min-width: 0; }
.article-rail-copy strong { display: block; font-size: 14px; line-height: 1.45; }
.article-rail-copy small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.article-meta { margin-left: auto; flex: 0 0 auto; color: var(--muted); font-size: 10px; text-align: right; }
.article-meta b { display: block; color: var(--ink-2); font-size: 11px; }
.article-rail-row:hover .article-number { color: var(--accent); }
.article-coming { display: flex; align-items: center; gap: 16px; color: #d2dce3; }
.article-coming > span { font-size: 26px; font-weight: 850; }
.article-coming p { margin: 0; }
.article-coming strong { display: block; color: var(--ink); font-size: 15px; }
.article-coming small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scene-tile {
  display: flex; align-items: center; gap: 15px; min-width: 0; padding: 17px 19px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.scene-tile:hover { transform: translateY(-3px); border-color: #ffc18c; color: var(--ink); box-shadow: 0 14px 30px rgba(23,49,74,.09); }
.scene-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; color: #fff; font-size: 18px; font-weight: 850; }
.scene-copy { min-width: 0; }
.scene-copy > strong { display: block; font-size: 15px; }
.scene-logos { display: flex; align-items: center; min-height: 30px; margin-top: 7px; }
.scene-logo { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-right: -6px; border: 2px solid #fff; border-radius: 8px; overflow: hidden; color: #fff; font-size: 11px; font-weight: 800; }
.scene-logo img, .home-tool-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.scene-logos > small { color: #96a8b5; font-size: 11px; }
.scene-count { margin-left: auto; flex: 0 0 auto; text-align: right; }
.scene-count b { display: block; color: var(--ink); font-size: 16px; }
.scene-count small { color: var(--muted); font-size: 10px; }

.latest-zone { margin-top: 46px; padding: 32px 34px 34px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: linear-gradient(120deg, #17314a, #294b62); box-shadow: 0 18px 46px rgba(16,35,51,.16); }
.latest-zone.home-section { padding-top: 32px; }
.latest-zone .home-section-heading h2 { color: #fff; }
.latest-zone .home-section-heading p { color: var(--accent-2); }
.latest-zone .home-section-heading > a { color: rgba(255,255,255,.66); }
.latest-zone .home-section-heading > a:hover { color: var(--accent-2); }
.latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.latest-card {
  display: flex; align-items: center; gap: 13px; min-width: 0; padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,25,39,.4); color: #fff;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.latest-card:hover { transform: translateY(-3px); border-color: rgba(255,176,95,.55); color: #fff; background: rgba(8,25,39,.56); box-shadow: 0 14px 30px rgba(8,25,39,.2); }
.latest-avatar { position: relative; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; color: #fff; font-size: 16px; font-weight: 850; }
.latest-copy { min-width: 0; flex: 1; }
.latest-copy strong { display: block; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.latest-copy small { display: block; margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.54); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.latest-tag { align-self: center; flex: 0 0 auto; padding: 3px 9px; border: 1px solid rgba(255,176,95,.24); border-radius: 999px; background: rgba(255,140,50,.14); color: var(--accent-2); font-size: 10px; white-space: nowrap; }

.submit-band { margin-top: 46px; padding: 38px 28px; border-radius: 16px; background: linear-gradient(120deg, #17314a, #294b62); color: #fff; text-align: center; }
.submit-band > p { margin-bottom: 7px; color: var(--accent-2); }
.submit-band h2 { margin: 0; color: #fff; font-size: 24px; }
.submit-band > span { display: block; margin-top: 8px; color: rgba(255,255,255,.64); font-size: 13px; }
.submit-band > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 20px; border-radius: 8px; background: var(--accent); color: #1d2b35; font-size: 13px; font-weight: 800; transition: transform .2s var(--ease), background .2s var(--ease); }
.submit-band > a:hover { transform: translateY(-2px); background: var(--accent-2); color: #1d2b35; }
.submit-band > a b { transition: transform .2s var(--ease); }
.submit-band > a:hover b { transform: translateX(3px); }

.tone-1 { background: #4a6fa5; }
.tone-2 { background: #d1495b; }
.tone-3 { background: #2e7d5b; }
.tone-4 { background: #8a5fb0; }
.tone-5 { background: #c77b1e; }
.tone-6 { background: #3a8ea5; }
.tone-7 { background: #a5524a; }
.tone-8 { background: #5b6f8a; }
.tone-9 { background: #7a5fa5; }
.tone-10 { background: #c24a6f; }
.tone-11 { background: #4a8a5f; }
.tone-12 { background: #8a7a3a; }

@media (max-width: 1024px) {
  .home-hero-inner { column-gap: 30px; }
  .home-stats div { padding-inline: 16px; }
  .local-zone { grid-template-columns: 1fr; gap: 28px; }
  .local-tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  #topbox, #header.is-scrolled #topbox {
    display: flex; flex-wrap: wrap; gap: 10px; min-height: 68px; padding: 10px 16px;
  }
  .brand { min-width: 0; font-size: 16px; }
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .brand-caption { font-size: 9px; }
  #sobox { display: none; }
  .nav-toplink { margin-left: auto; padding: 8px 2px; }
  .submit-link { padding: 8px 11px; }
  #navbox { top: 68px; }
  .scene-pill-row { padding: 9px 16px; }
  .home-wrap { width: min(100% - 32px, 1200px); }
  .home-hero-inner { display: block; padding-top: 38px; padding-bottom: 30px; }
  .home-hero-copy h1 { font-size: 36px; }
  .home-hero-copy > p:last-child { font-size: 14px; }
  .home-stats { margin-top: 24px; }
  .home-stats div { padding: 15px 12px; }
  .home-stats dt { font-size: 23px; }
  .intent-row { margin-top: 22px; }
  .local-zone { padding: 27px 22px; border-radius: 12px; }
  .local-zone h2 { font-size: 25px; }
  .article-duo { grid-template-columns: 1fr; }
  .article-featured, .article-rail { min-width: 0; min-height: 0; }
  .article-featured { padding: 23px; }
  .article-gpus { margin-top: 8px; }
  .scene-grid { grid-template-columns: 1fr; }
  .latest-zone { padding: 27px 22px; border-radius: 12px; }
  .submit-band { border-radius: 12px; }
}

@media (max-width: 560px) {
  .scene-pill-spacer { display: none; }
  .scene-all-link { padding-left: 8px; }
  .home-wrap { width: calc(100% - 28px); }
  .home-kicker { font-size: 9px; }
  .home-hero-copy h1 { font-size: 32px; }
  .home-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stats dd { font-size: 9px; }
  .intent-row { flex-wrap: nowrap; margin-inline: -14px; padding: 0 14px 4px; overflow-x: auto; scrollbar-width: none; }
  .intent-row::-webkit-scrollbar { display: none; }
  .intent-pill { flex: 0 0 auto; }
  .home-section { padding-top: 38px; }
  .home-section-heading { align-items: end; gap: 12px; }
  .home-section-heading h2 { font-size: 21px; }
  .home-section-heading h2 small { display: block; margin: 5px 0 0; }
  .local-zone { gap: 24px; padding: 24px 18px; }
  .local-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-rank-lead { min-height: 142px; padding: 18px 16px; }
  .local-rank-avatar { flex-basis: 52px; width: 52px; height: 52px; }
  .local-tools-grid .local-tool-card { min-height: 58px; }
  .article-rail { padding-inline: 16px; }
  .article-meta { display: none; }
  .scene-tile { padding: 15px; }
  .latest-grid { grid-template-columns: 1fr; }
  .latest-zone { margin-top: 38px; padding: 24px 18px; }
  .latest-card { padding: 12px 13px; }
  .latest-tag { max-width: 88px; overflow: hidden; text-overflow: ellipsis; }
  .submit-band { margin-top: 38px; padding: 31px 18px; }
  .submit-band h2 { font-size: 21px; }
}

@media (max-width: 390px) {
  #topbox, #header.is-scrolled #topbox { padding-inline: 12px; }
  .brand { font-size: 15px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
  .brand-caption { display: none; }
  .nav-toplink { font-size: 12px; }
  .submit-link { font-size: 12px; padding: 7px 9px; }
  .scene-pill-row { padding-inline: 12px; }
  .home-stats div { padding-inline: 8px; }
  .home-stats dt { font-size: 21px; }
  .ranking-category { display: none; }
  .ranking-arrow { margin-left: auto; }
}

/* ============ 页脚（多列 + 友情链接 + 邮箱） ============ */
#footer { padding: 52px 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
}
.footer-brand strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.footer-brand p { font-size: 13px; margin-top: 10px; color: #9fb6c6; letter-spacing: .02em; line-height: 1.7; }
.footer-mail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 15px;
  background: rgba(255,140,50,.12); border: 1px solid rgba(255,140,50,.35);
  color: var(--accent-2); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  border-radius: 10px; transition: background .18s ease, transform .18s ease;
}
.footer-mail:hover { background: rgba(255,140,50,.22); transform: translateY(-2px); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: #7f97a9; text-transform: uppercase; margin-bottom: 6px;
}
.footer-col a {
  color: #c4d5e2; font-size: 13px; width: fit-content;
  position: relative; padding-bottom: 2px;
}
.footer-col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .28s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { right: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom .footer-note { flex: 0 1 auto; margin-top: 0; padding-top: 0; border-top: 0; font-size: 12px; color: #93a9bb; line-height: 1.8; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
