/* =========================================================
   Insecta Atlas · 自定义样式覆盖层
   ---------------------------------------------------------
   本文件为 fork 自定义样式，不会被 upstream (SeanWong17/Insecta-atlas)
   触碰。所有对原项目的样式修改都写在这里，src/style.css 保持
   与 upstream 一致，便于内容更新时自动合并。

   加载顺序：index.html 中 custom.css 在 style.css 之后加载，
   相同优先级下后加载的规则覆盖先加载的。需要更强覆盖力时
   使用更高优先级的选择器，慎用 !important。
   ========================================================= */

/* 示例：调整色板（变量来自 style.css :root） */
/*
:root {
  --ink: #2a1f12;
  --paper: #f7efe0;
  --accent: #8a4b1f;
  --line: #e6d9c1;
}
*/

/* 示例：自定义页头 */
/*
.site-header { background: #3a261a; }
*/

/* 在此追加你的自定义规则 */

/* ---------- 顶部导航：多个链接横排 ---------- */
.header-nav { display: flex; gap: 18px; align-items: end; }

/* ---------- 底部说明与版权声明 ---------- */
.site-footer {
  max-width: 1440px;
  margin: 48px auto 0;
  padding: 36px 32px 52px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--accent-soft) 100%);
  border-top: 1px solid var(--line);
}
.footer-about {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 2;
  letter-spacing: 0.02em;
  text-indent: 2em;
  text-align: justify;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.footer-notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 2;
  letter-spacing: 0.02em;
  text-indent: 2em;
  text-align: justify;
}

/* ---------- 返回顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 34, 31, 0.08);
}
.back-to-top:hover { background: var(--accent-soft); }
.back-to-top[hidden] { display: none; }
