@charset "UTF-8";
/* ==========================================================================
   梗大全 · geng2026
   配色取自站标：橙 #f26522 / 蓝 #0d7fc4 / 纸白 #fffdf8
   ========================================================================== */

:root{
  --orange:#f26522;
  --orange-d:#d4501a;
  --blue:#0d7fc4;
  --ink:#161513;
  --ink-2:#3d3a35;
  --gray:#6b665d;
  --gray-2:#9a9388;
  --line:#ece5d8;
  --paper:#fffdf8;
  --cream:#fbf7ef;
  --shadow:0 2px 10px rgba(60,45,20,.05);
  --shadow-h:0 10px 26px rgba(60,45,20,.10);
  --r:14px;
  --wrap:1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-2);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:15px;
  line-height:1.75;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; border:0; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--orange); }
h1,h2,h3,h4{ margin:0; color:var(--ink); font-weight:800; letter-spacing:-.2px; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:#ffe2cf; color:#3a1c08; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px; }

/* ---------- 页头 ---------- */
.site-header{ background:#fff; border-bottom:1px solid var(--line); }
.head-inner{
  height:88px; display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:14px; min-width:0; }
.brand img{ height:42px; width:auto; }
.brand-div{ width:1px; height:30px; background:var(--line); }
.brand-text{ display:flex; flex-direction:column; line-height:1.35; min-width:0; }
.brand-text strong{ font-size:15px; color:var(--ink); letter-spacing:.5px; }
.brand-text em{ font-style:normal; font-size:11.5px; color:var(--gray-2); letter-spacing:.4px; }

.search-form{ display:flex; align-items:center; background:var(--cream); border:1px solid var(--line); border-radius:999px; padding:4px 4px 4px 16px; width:360px; max-width:100%; }
.search-form input[type=search]{
  flex:1; min-width:0; border:0; background:transparent; outline:none;
  font-size:13.5px; color:var(--ink); padding:6px 0;
}
.search-form input::placeholder{ color:#b0a99c; }
.search-form button{
  width:36px; height:36px; border:0; border-radius:50%; background:var(--orange); color:#fff;
  display:flex; align-items:center; justify-content:center; flex:none; transition:background .18s;
}
.search-form button:hover{ background:var(--orange-d); }

/* 导航条 */
.nav-bar{ background:#17150f; }
.nav-inner{ display:flex; align-items:center; gap:16px; height:52px; }
.nav-list{ display:flex; align-items:center; gap:2px; flex-wrap:nowrap; }
.nav-list li{ position:relative; }
.nav-list li a{
  display:block; padding:0 13px; line-height:52px; font-size:14.5px; color:#ded8cc;
  white-space:nowrap; transition:color .16s;
}
.nav-list li a:hover{ color:#fff; }
.nav-list li.current-menu-item > a,
.nav-list li.current-menu-ancestor > a{ color:var(--orange); font-weight:700; }
.nav-list li.current-menu-item > a::after{
  content:""; position:absolute; left:13px; right:13px; bottom:0; height:3px; background:var(--orange);
}
.nav-note{ margin-left:auto; font-size:12px; color:#7d766a; letter-spacing:1px; white-space:nowrap; }
.nav-toggle{ display:none; }

/* 公告 */
.announce-bar{ background:#fff5e7; border-bottom:1px solid #f6e3cd; }
.announce-inner{ display:flex; align-items:center; gap:12px; min-height:44px; padding-top:6px; padding-bottom:6px; }
.announce-tag{
  flex:none; background:var(--orange); color:#fff; font-size:11.5px; font-weight:700;
  letter-spacing:2px; padding:3px 9px; border-radius:4px;
}
.announce-text{ font-size:13.5px; color:#7a4a20; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.announce-link{ margin-left:auto; flex:none; font-size:12.5px; color:var(--orange-d); font-weight:700; }

/* ---------- 布局 ---------- */
.site-main{ padding:28px 0 56px; }
.layout{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:32px; align-items:start; }
.layout.no-side{ grid-template-columns:minmax(0,1fr); }
.content-col{ min-width:0; }

/* ---------- Hero ---------- */
.hero{
  display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:26px;
  background:linear-gradient(135deg,#fff6ec 0%,#fdfaf3 48%,#eef6fd 100%);
  border:1px solid #f2e8d8; border-radius:20px; padding:36px 34px;
}
.hero-kicker{ display:inline-block; font-size:11.5px; letter-spacing:4px; color:var(--orange); font-weight:700; margin-bottom:12px; }
.hero h1{ font-size:38px; line-height:1.28; letter-spacing:-.8px; }
.hero-sub{ margin-top:16px; font-size:14.5px; line-height:1.95; color:var(--gray); max-width:520px; }
.hero-stats{ display:flex; gap:26px; margin-top:22px; font-size:12.5px; color:var(--gray-2); }
.hero-stats b{ display:block; font-size:22px; color:var(--ink); line-height:1.2; }

.hero-card{
  background:#fff; border:1px solid #f1e7d6; border-top:4px solid var(--orange);
  border-radius:16px; padding:20px 22px 18px; box-shadow:var(--shadow); display:flex; flex-direction:column;
}
.hc-head{ display:flex; align-items:center; justify-content:space-between; }
.hc-tag{ font-size:11.5px; font-weight:700; letter-spacing:2px; color:var(--orange); }
.hc-date{ font-size:11.5px; color:var(--gray-2); }
.hc-title{ margin-top:12px; font-size:19px; line-height:1.5; font-weight:800; color:var(--ink); }
.hc-desc{ margin-top:10px; font-size:13px; line-height:1.85; color:var(--gray); }
.hc-foot{ margin-top:auto; padding-top:16px; display:flex; align-items:center; gap:14px; }
.hc-btn{ font-size:13px; font-weight:700; color:var(--orange); }
.hc-hot{ margin-left:auto; flex:none; white-space:nowrap; font-size:11px; color:var(--gray-2); display:flex; align-items:center; gap:6px; }
.hc-hot i{ display:block; width:56px; height:5px; border-radius:3px; background:linear-gradient(90deg,var(--orange),#ffb27f); }

/* ---------- 速查 ---------- */
.quick{ margin-top:22px; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px 22px; }
.quick-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:12px; }
.quick-head h2{ font-size:16px; }
.quick-head span{ font-size:12.5px; color:var(--gray-2); }
.quick-list{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{
  display:inline-block; padding:6px 15px; border:1px solid var(--line); border-radius:999px;
  font-size:13.5px; color:var(--ink-2); background:var(--paper); transition:.16s;
}
.chip:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }

/* ---------- 排行 / 推荐 ---------- */
.split{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:22px; margin-top:22px; }
.rank-box,.pick-box{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:20px 22px; }
.box-head{ display:flex; align-items:baseline; gap:10px; margin-bottom:6px; }
.box-head h2{ font-size:16px; display:flex; align-items:center; gap:9px; }
.bar{ display:inline-block; width:4px; height:16px; border-radius:2px; background:var(--orange); }
.bar-blue{ background:var(--blue); }
.bar-teal{ background:#0f766e; }
.bar-amber{ background:#ca8a04; }
.box-en{ margin-left:auto; font-size:10.5px; letter-spacing:2px; color:#cfc7b8; font-weight:700; }

.rank-list li{ display:flex; gap:12px; padding:11px 0; border-bottom:1px dashed #f0e9db; }
.rank-list li:last-child{ border-bottom:0; }
.rk{ flex:none; font-size:17px; font-weight:900; color:#d8d0c0; line-height:1.5; font-family:Georgia,serif; }
.rk-1{ color:var(--orange); }
.rk-2{ color:#e08a3c; }
.rk-3{ color:#c9a227; }
.rk-main{ min-width:0; }
.rk-main a{ display:block; font-size:14.5px; font-weight:600; color:var(--ink); line-height:1.55; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rk-main em{ display:block; font-style:normal; font-size:12px; color:var(--gray-2); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.pick-item{ display:block; padding:12px 0; border-bottom:1px dashed #f0e9db; }
.pick-item:last-child{ border-bottom:0; }
.pick-item strong{ display:block; font-size:14.5px; color:var(--ink); font-weight:600; }
.pick-item span{ display:block; margin-top:3px; font-size:12px; color:var(--gray-2); line-height:1.7; }
.pick-item:hover strong{ color:var(--orange); }

/* ---------- 栏目区块 ---------- */
.cat-sec{ margin-top:34px; }
.sec-head{ display:flex; align-items:center; gap:12px; padding-bottom:12px; border-bottom:2px solid var(--ink); margin-bottom:18px; }
.sec-title{ display:flex; align-items:center; gap:10px; }
.sec-sq{ width:9px; height:9px; border-radius:2px; background:var(--c,var(--orange)); }
.sec-title h2{ font-size:19px; }
.sec-title h2 a:hover{ color:var(--c,var(--orange)); }
.sec-en{ font-size:10.5px; letter-spacing:2px; color:#c3bbab; font-weight:700; }
.sec-note{ font-size:12px; color:var(--gray-2); margin-left:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sec-more{ margin-left:auto; flex:none; font-size:12.5px; color:var(--gray); }
.sec-more:hover{ color:var(--orange); }

.card-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-h); border-color:#e3d9c6; }
.card-thumb{
  display:flex; align-items:flex-end; justify-content:space-between; position:relative;
  height:96px; padding:12px 14px;
  background:linear-gradient(135deg,var(--c,#f26522) 0%,var(--c2,#ffc9a8) 100%);
}
.card-thumb::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.28),transparent 55%);
}
.card-thumb .tw{ position:relative; z-index:1; font-size:19px; font-weight:900; color:#fff; letter-spacing:.5px; text-shadow:0 1px 6px rgba(0,0,0,.12); }
.card-thumb .ti{ position:relative; z-index:1; font-family:Georgia,serif; font-size:34px; font-weight:700; color:rgba(255,255,255,.34); line-height:1; }
.card-body{ padding:13px 15px 15px; }
.card-cat{ display:inline-block; font-size:11.5px; font-weight:700; margin-bottom:5px; }
.card-body h3{ font-size:15.5px; line-height:1.55; font-weight:700; }
.card-body h3 a{ display:block; overflow:hidden; }
.card-body p{ margin-top:7px; font-size:12.5px; line-height:1.8; color:var(--gray); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-meta{ margin-top:11px; display:flex; gap:12px; font-size:11.5px; color:#b3ab9c; }

/* ---------- 词典列表 ---------- */
.dict-sec{ margin-top:34px; }
.dict-list li{ border-bottom:1px solid var(--line); }
.dict-list li:first-child{ border-top:1px solid var(--line); }
.dict-list a{ display:flex; align-items:center; gap:16px; padding:14px 4px; }
.dl-t{ flex:none; width:230px; font-size:14.5px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dl-d{ flex:1; min-width:0; font-size:12.5px; color:var(--gray-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dl-a{ flex:none; font-size:12px; color:var(--orange); opacity:0; transition:opacity .16s; }
.dict-list a:hover .dl-t{ color:var(--orange); }
.dict-list a:hover .dl-a{ opacity:1; }

/* ---------- 结尾说明 ---------- */
.closing{ margin-top:36px; background:var(--cream); border:1px solid var(--line); border-radius:var(--r); padding:24px 26px; }
.closing h2{ font-size:16px; margin-bottom:10px; }
.closing p{ font-size:13.5px; line-height:2; color:var(--gray); }
.closing p + p{ margin-top:8px; }

/* ---------- 侧栏 ---------- */
.sidebar{ display:flex; flex-direction:column; gap:18px; position:sticky; top:18px; }
.widget{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px 18px 16px; }
.w-title{ font-size:14.5px; display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.w-chips{ display:flex; flex-wrap:wrap; gap:7px; }
.w-chips a{ padding:4px 11px; background:var(--cream); border:1px solid var(--line); border-radius:999px; font-size:12.5px; color:var(--ink-2); }
.w-chips a:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }

.w-list li{ display:flex; gap:10px; padding:9px 0; border-bottom:1px dashed #f1eade; }
.w-list li:last-child{ border-bottom:0; padding-bottom:0; }
.w-num{ flex:none; font-family:Georgia,serif; font-size:15px; font-weight:700; color:#d9d1c1; line-height:1.6; }
.w-list a{ display:block; font-size:13px; line-height:1.6; color:var(--ink-2); }
.w-list em{ display:block; font-style:normal; font-size:11px; color:#b3ab9c; margin-top:2px; }

.w-cats li{ display:flex; align-items:center; justify-content:space-between; padding:7px 0; border-bottom:1px dashed #f1eade; }
.w-cats li:last-child{ border-bottom:0; }
.w-cats a{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-2); }
.dot{ width:7px; height:7px; border-radius:50%; flex:none; }
.w-cats b{ font-size:11.5px; color:#c3bbab; font-weight:600; }

.w-tip{ background:#fffaf0; border-color:#f3e6cd; }
.w-tip p{ font-size:12.5px; line-height:1.9; color:#7a6a4d; }
.w-tip-sm{ margin-top:8px; color:#a2947a !important; font-size:11.5px !important; }

/* ---------- 面包屑 ---------- */
.crumbs{ font-size:12.5px; color:var(--gray-2); margin-bottom:16px; display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.crumbs a{ color:var(--gray); }
.crumbs .sep{ color:#d3cbbd; }

/* ---------- 文章页 ---------- */
.post{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:34px 40px 30px; }
.post-head{ padding-bottom:20px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.cat-badge{
  display:inline-block; color:#fff; font-size:11.5px; font-weight:700; letter-spacing:.5px;
  padding:4px 11px; border-radius:5px; margin-bottom:12px;
}
.post-head h1{ font-size:30px; line-height:1.42; letter-spacing:-.6px; }
.post-meta{ margin-top:14px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12.5px; color:var(--gray-2); }
.dot-sep{ color:#d8d0c0; }

.post-body{ font-size:16px; line-height:2; color:#2f2c27; }
.post-body > *:first-child{ margin-top:0; }
.post-body p{ margin:0 0 16px; }
.post-body .lede{
  font-size:16.5px; line-height:1.95; color:#201d19; font-weight:500;
  background:#fdf8f0; border-left:4px solid var(--c,var(--orange));
  border-radius:0 10px 10px 0; padding:15px 20px; margin-bottom:24px;
}
.post-body h2{
  font-size:19.5px; line-height:1.5; margin:32px 0 12px; padding-left:12px;
  border-left:4px solid var(--c,var(--orange)); letter-spacing:-.2px;
}
.post-body h3{ font-size:16.5px; margin:24px 0 10px; color:#1c1a17; }
.post-body ul{ margin:0 0 18px; padding:0; }
.post-body ul li{ position:relative; padding-left:18px; margin-bottom:8px; line-height:1.95; }
.post-body ul li::before{ content:""; position:absolute; left:2px; top:12px; width:6px; height:6px; border-radius:50%; background:var(--c,var(--orange)); opacity:.55; }
.post-body ol{ margin:0 0 18px; padding-left:20px; list-style:decimal; }
.post-body ol li{ margin-bottom:8px; line-height:1.95; }
.post-body blockquote{
  margin:20px 0; padding:14px 18px; background:#fdf7ee; border-left:4px solid var(--c,var(--orange));
  border-radius:0 10px 10px 0; color:#6b5b45; font-size:14.5px; line-height:1.9;
}
.post-body blockquote p:last-child{ margin-bottom:0; }
.post-body strong{ color:#12100d; font-weight:700; }
.post-body a{ color:var(--orange-d); text-decoration:underline; text-underline-offset:3px; }
.post-body code{ background:#f4efe5; padding:1px 6px; border-radius:4px; font-size:13.5px; color:#8a4a12; }
.post-body hr{ border:0; border-top:1px dashed #e5ddcd; margin:26px 0; }
.post-body table{ width:100%; border-collapse:collapse; margin:18px 0; font-size:14px; }
.post-body th,.post-body td{ border:1px solid var(--line); padding:9px 12px; text-align:left; }
.post-body th{ background:var(--cream); font-weight:700; color:var(--ink); }
.post-body img{ border-radius:10px; margin:18px 0; }

/* 梗档案 */
.term-card{ margin-top:30px; background:#fbf8f1; border:1px dashed #e6dbc5; border-radius:12px; padding:18px 22px; }
.term-card h3{ font-size:14px; letter-spacing:2px; color:var(--orange-d); margin-bottom:12px; }
.term-card dl{ display:grid; grid-template-columns:82px minmax(0,1fr); gap:8px 14px; margin:0; }
.term-card dt{ font-size:12.5px; color:var(--gray-2); }
.term-card dd{ margin:0; font-size:13px; color:var(--ink-2); line-height:1.75; }

.post-tags{ margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12.5px; color:var(--gray-2); }
.post-tags a{ padding:4px 11px; border:1px solid var(--line); border-radius:999px; color:var(--gray); }
.post-tags a:hover{ border-color:var(--orange); color:var(--orange); }

.post-nav{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:28px; }
.pn{ display:block; padding:14px 16px; background:var(--cream); border:1px solid var(--line); border-radius:10px; transition:.16s; }
.pn:hover{ border-color:#e0d3b8; background:#fdfaf3; }
.pn em{ display:block; font-style:normal; font-size:11px; color:var(--gray-2); letter-spacing:1px; margin-bottom:4px; }
.pn span{ display:block; font-size:13.5px; color:var(--ink); line-height:1.6; }
.pn-next{ text-align:right; }

.related{ margin-top:32px; }

/* ---------- 归档 ---------- */
.arch-head{ background:linear-gradient(135deg,#fff6ec,#f3f9fd); border:1px solid #f1e7d6; border-radius:16px; padding:26px 30px; }
.arch-en{ display:inline-block; font-size:10.5px; letter-spacing:3px; color:var(--c,var(--orange)); font-weight:700; margin-bottom:8px; }
.arch-head h1{ font-size:27px; line-height:1.4; }
.arch-head p{ margin-top:10px; font-size:13.5px; line-height:1.9; color:var(--gray); }

.cat-strip{ display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 20px; }
.strip-item{
  display:inline-flex; align-items:center; gap:7px; padding:5px 12px; font-size:12.5px;
  border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink-2);
}
.strip-item b{ font-size:11px; color:#c3bbab; font-weight:600; }
.strip-item:hover{ border-color:#e2d6bf; }
.strip-item.on{ background:#17150f; border-color:#17150f; color:#fff; }
.strip-item.on b{ color:#8d8577; }

.pager{ margin-top:30px; text-align:center; }
.pager .nav-links{ display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap; }
.pager .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:0 12px;
  border:1px solid var(--line); border-radius:8px; font-size:13px; color:var(--ink-2); background:#fff;
}
.pager .page-numbers.current{ background:var(--ink); border-color:var(--ink); color:#fff; }
.pager .page-numbers:hover{ border-color:var(--orange); color:var(--orange); }
.pager .screen-reader-text{ display:none; }

/* ---------- 搜索 ---------- */
.search-inline{ width:100%; margin-bottom:22px; background:#fff; }
.search-inline button{ width:auto; padding:0 20px; border-radius:999px; font-size:13px; font-weight:600; }
.search-list{ display:flex; flex-direction:column; gap:14px; }
.sr-item{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px 22px; }
.sr-cat{ font-size:11.5px; font-weight:700; margin-bottom:4px; }
.sr-item h2{ font-size:17px; line-height:1.55; }
.sr-item p{ margin-top:6px; font-size:13px; line-height:1.85; color:var(--gray); }
.sr-meta{ margin-top:8px; font-size:11.5px; color:#b3ab9c; }

.no-result{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:40px 30px; text-align:center; }
.no-result h2{ font-size:18px; }
.no-result p{ margin-top:10px; font-size:13.5px; color:var(--gray); line-height:1.9; }
.no-links{ margin-top:18px; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.no-links a{ padding:5px 13px; border:1px solid var(--line); border-radius:999px; font-size:12.5px; }
.btn{ display:inline-block; margin-top:18px; padding:9px 22px; background:var(--orange); color:#fff; border-radius:8px; font-size:13.5px; font-weight:600; }
.btn:hover{ background:var(--orange-d); color:#fff; }

/* ---------- 404 ---------- */
.err-wrap{ max-width:620px; margin:60px auto; text-align:center; padding:0 4px; }
.err-code{ font-family:Georgia,serif; font-size:96px; font-weight:700; line-height:1; color:#f0e6d3; letter-spacing:4px; }
.err-wrap h1{ font-size:26px; margin-top:8px; }
.err-wrap p{ margin-top:12px; font-size:13.5px; line-height:1.95; color:var(--gray); }
.err-search{ margin:24px auto 0; width:100%; max-width:420px; background:#fff; }
.err-search button{ width:auto; padding:0 22px; border-radius:999px; font-size:13px; }
.err-links{ margin-top:22px; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.err-links a{ padding:6px 14px; border:1px solid var(--line); border-radius:999px; font-size:12.5px; color:var(--gray); background:#fff; }
.err-links a:hover{ border-color:var(--orange); color:var(--orange); }

/* ---------- 页脚 ---------- */
.site-footer{ background:#17150f; color:#a8a194; padding:44px 0 22px; margin-top:20px; }
.foot-top{ display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr); gap:40px; }
.foot-brand img{ background:#fff; padding:7px 10px; border-radius:8px; height:40px; width:auto; }
.foot-brand p{ margin-top:14px; font-size:12.5px; line-height:1.95; color:#8e8779; max-width:430px; }
.foot-col h4{ font-size:13px; color:#e8e2d6; margin-bottom:12px; letter-spacing:1px; }
.foot-col li{ margin-bottom:8px; }
.foot-col a{ font-size:12.5px; color:#8e8779; }
.foot-col a:hover{ color:var(--orange); }
.foot-bottom{
  margin-top:32px; padding-top:16px; border-top:1px solid #2a261e;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:11.5px; color:#6f6a5f;
}

/* 回到顶部 */
.to-top{
  position:fixed; right:22px; bottom:26px; width:42px; height:42px; border:0; border-radius:50%;
  background:var(--orange); color:#fff; font-size:18px; line-height:1; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(242,101,34,.35); opacity:0; visibility:hidden; transform:translateY(8px);
  transition:.22s; z-index:60;
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .layout{ grid-template-columns:minmax(0,1fr); }
  .sidebar{ position:static; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .hero h1{ font-size:33px; }
  .dl-t{ width:190px; }
}
@media (max-width:900px){
  .head-inner{ height:auto; padding-top:14px; padding-bottom:14px; flex-wrap:wrap; gap:12px; }
  .search-form{ width:100%; order:3; }
  .nav-toggle{
    display:flex; flex-direction:column; justify-content:center; gap:4px; width:38px; height:38px;
    background:transparent; border:1px solid #3a352b; border-radius:8px; padding:0 9px;
  }
  .nav-toggle span{ display:block; height:2px; background:#ded8cc; border-radius:2px; transition:.2s; }
  .nav-toggle.is-on span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
  .nav-toggle.is-on span:nth-child(2){ opacity:0; }
  .nav-toggle.is-on span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
  .nav-inner{ height:52px; position:relative; }
  .main-nav{
    display:none; position:absolute; left:0; right:0; top:52px; z-index:50;
    background:#17150f; border-top:1px solid #2a261e; border-radius:0 0 10px 10px;
    box-shadow:0 14px 30px rgba(0,0,0,.28);
  }
  .main-nav.is-open{ display:block; }
  .nav-list{ display:block; padding:6px 0 10px; }
  .nav-list li a{ line-height:44px; padding:0 20px; font-size:14px; }
  .nav-list li.current-menu-item > a::after{ display:none; }
  .nav-note{ display:none; }
  .hero{ grid-template-columns:minmax(0,1fr); padding:28px 24px; }
  .split{ grid-template-columns:minmax(0,1fr); }
  .card-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .foot-top{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
  .foot-brand{ grid-column:1 / -1; }
}
@media (max-width:680px){
  body{ font-size:14.5px; }
  .wrap{ padding:0 15px; }
  .site-main{ padding:18px 0 40px; }
  .brand img{ height:36px; }
  .brand-text{ display:none; }
  .brand-div{ display:none; }
  .hero h1{ font-size:27px; letter-spacing:-.4px; }
  .hero-sub{ font-size:13.5px; }
  .hero-stats{ gap:18px; }
  .hero-stats b{ font-size:19px; }
  .quick{ padding:16px 16px; }
  .quick-head{ flex-direction:column; gap:2px; align-items:flex-start; }
  .rank-box,.pick-box{ padding:16px 16px; }
  .sec-head{ flex-wrap:wrap; gap:6px 10px; }
  .sec-note{ display:none; }
  .sec-more{ margin-left:auto; }
  .card-grid{ grid-template-columns:minmax(0,1fr); }
  .card-thumb{ height:88px; }
  .dl-t{ width:auto; flex:1 1 100%; white-space:normal; }
  .dict-list a{ flex-wrap:wrap; gap:4px 12px; }
  .dl-d{ flex:1 1 100%; white-space:normal; }
  .dl-a{ display:none; }
  .sidebar{ grid-template-columns:minmax(0,1fr); }
  .post{ padding:22px 18px 22px; border-radius:12px; }
  .post-head h1{ font-size:23px; }
  .post-body{ font-size:15.5px; line-height:1.95; }
  .post-body .lede{ font-size:15.5px; padding:13px 15px; }
  .hc-hot{ display:none; }
  .hero-card{ padding:18px 18px 16px; }
  .post-body h2{ font-size:18px; margin-top:26px; }
  .term-card{ padding:14px 16px; }
  .term-card dl{ grid-template-columns:66px minmax(0,1fr); }
  .post-nav{ grid-template-columns:minmax(0,1fr); }
  .pn-next{ text-align:left; }
  .arch-head{ padding:20px 18px; border-radius:12px; }
  .arch-head h1{ font-size:22px; }
  .announce-text{ white-space:normal; font-size:12.5px; line-height:1.6; }
  .announce-inner{ align-items:flex-start; padding:8px 0; }
  .announce-link{ display:none; }
  .foot-top{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .foot-bottom{ flex-direction:column; gap:6px; }
  .err-code{ font-size:70px; }
  .to-top{ right:14px; bottom:18px; width:38px; height:38px; }
}
