/* DNF86 推广站（xhdnf.com）。样式沿用官网 website/css/site.css，后半是新闻中心。 */
:root {
  --bg: #0a0a11;
  --bg-2: #10101a;
  --panel: #161622;
  --panel-2: #1c1c2b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(242, 196, 109, 0.35);
  --text: #ebe8f3;
  --muted: #9d99b0;
  --gold: #f2c46d;
  --gold-hi: #fcd27e;
  --gold-deep: #b8862e;
  --purple: #9b7bff;
  --red: #ff6b6b;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.75 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
p { margin: 0 0 0.8em; }
ul, ol { margin: 0 0 0.8em; padding-left: 1.3em; }
li { margin: 0.25em 0; }
strong { color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* —— 顶部导航 —— */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 17, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand small { font: 12px var(--sans); color: var(--muted); letter-spacing: 0; }
#nav { display: flex; gap: 4px; margin-left: auto; }
#nav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
#nav a:hover, #nav a.active { color: var(--gold-hi); background: rgba(242, 196, 109, 0.08); text-decoration: none; }
#nav a.nav-recharge { color: var(--gold-hi); border: 1px solid var(--line-strong); }
.topbar .btn { margin-left: 8px; }
#nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 40px; height: 36px; font-size: 18px; cursor: pointer; }

/* —— 按钮 —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { color: #2a1b00; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 6px 24px rgba(242, 196, 109, 0.25); }
.btn-gold:hover { box-shadow: 0 8px 30px rgba(242, 196, 109, 0.4); }
.btn-ghost { color: var(--text); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-lg { padding: 15px 34px; font-size: 18px; border-radius: 12px; }

/* —— 首屏 —— */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  background: #07070c url("/static/img/hero.jpg") center 30% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 12, 0.92) 0%, rgba(7, 7, 12, 0.7) 45%, rgba(7, 7, 12, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 17, 0) 30%);
}
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 80px; }
.hero-tag { display: inline-block; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 14px; font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(44px, 9vw, 92px); letter-spacing: 6px; color: #fff; text-shadow: 0 4px 30px rgba(155, 123, 255, 0.45); }
.hero h1 span { background: linear-gradient(180deg, #fff3d4, var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2.2vw, 20px); color: #d9d5e6; max-width: 560px; margin: 14px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(155, 123, 255, 0.14); border: 1px solid rgba(155, 123, 255, 0.35); color: #d8ccff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ref-badge { display: none; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ref-badge b { color: var(--gold-hi); letter-spacing: 2px; }
.has-ref .ref-badge { display: block; }

/* —— 章节 —— */
section { padding: 84px 0; }
.hero + section { padding-top: 40px; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--purple); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; }
.section-head h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); margin: 8px 0 10px; color: #fff; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* 特色卡片 */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature .icon { font-size: 26px; margin-bottom: 10px; }
.feature h3 { font-size: 18px; color: var(--gold-hi); margin-bottom: 8px; }
.feature p { color: #cfcbdc; margin: 0; }
.highlight {
  margin-top: 16px; padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: radial-gradient(120% 140% at 0% 0%, rgba(242, 196, 109, 0.14), rgba(22, 22, 34, 0.9) 60%);
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.highlight h3 { font-family: var(--serif); font-size: 24px; color: var(--gold-hi); }
.highlight p { margin: 4px 0 0; color: #d9d5e6; }
.showcase { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* 新手步骤 */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.step-body { position: relative; padding-left: 64px; }
.step-body::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font: 700 20px var(--serif); color: #2a1b00;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
}
.step-body h3 { font-size: 20px; color: #fff; margin: 8px 0 10px; }
.step-body .tip { color: var(--gold-hi); }
.shots { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot figcaption { font-size: 12px; color: var(--muted); padding: 6px 10px; background: var(--panel); }
.shot.small { max-width: 240px; }
.callout { border-left: 3px solid var(--gold); background: rgba(242, 196, 109, 0.07); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.callout.big { font-size: 18px; font-weight: 700; color: var(--gold-hi); }

/* 图鉴正文 */
.guide h3 { font-size: 19px; color: var(--gold-hi); margin: 0 0 12px; }
.guide h4 { font-size: 16px; color: #fff; margin: 14px 0 6px; }
.guide .card { margin-bottom: 16px; }
.build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.build-grid .card { margin: 0; }
.build-grid .card:first-child { grid-column: 1 / -1; }
.guide blockquote { margin: 0 0 24px; padding: 12px 16px; border-radius: 10px; background: rgba(155, 123, 255, 0.08); border: 1px solid rgba(155, 123, 255, 0.25); color: #cfc6ee; font-size: 14px; }
.note { color: var(--muted); font-size: 13px; }

/* 表格（手机上变成卡片） */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 600; background: rgba(242, 196, 109, 0.05); white-space: nowrap; }
td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }

/* 流派图鉴（可展开） */
.styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
details.style { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details.style[open] { border-color: var(--line-strong); }
details.style summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 700; color: #fff; }
details.style summary::-webkit-details-marker { display: none; }
details.style summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 20px; color: var(--gold); transition: transform 0.2s; }
details.style[open] summary::after { transform: rotate(45deg); }
details.style summary small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
details.style[open] summary small { display: none; }
details.style .style-body { padding: 0 16px 14px; font-size: 14px; color: #d4d0e0; }
details.style .style-body ul ul { margin-top: 4px; }

/* 职业速查标签 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs [role="tab"] { background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 14px var(--sans); cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { color: #2a1b00; background: var(--gold); border-color: var(--gold); font-weight: 700; }

/* 成型路径 */
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.path li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin: 0; }
.path li b { color: var(--gold-hi); }

/* 福利 */
.perks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perks li { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 14px; align-items: flex-start; }
.perks li span.n { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(155, 123, 255, 0.18); color: #d8ccff; font-weight: 700; }
.gifts { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.gifts figure { flex: none; width: 190px; margin: 0; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gifts figcaption { padding: 8px 12px; font-weight: 700; color: var(--gold-hi); }

/* 常见问题 */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: #fff; }
.faq details p { color: #cfcbdc; padding-bottom: 14px; margin: 0; }

/* 下载 */
.download {
  background: radial-gradient(80% 120% at 50% 0%, rgba(155, 123, 255, 0.18), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line); text-align: center;
}
.download .btn-lg { margin: 6px 0 14px; }
.dl-meta { color: var(--muted); font-size: 14px; }
.dl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 26px; text-align: left; }
.dl-steps .card b { color: var(--gold-hi); display: block; margin-bottom: 4px; }
.reqs { display: inline-grid; grid-template-columns: auto auto; gap: 4px 18px; text-align: left; font-size: 14px; color: #cfcbdc; }
.reqs dt { color: var(--muted); }
.reqs dd { margin: 0; }
#download-tip { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.7); display: grid; place-items: center; padding: 16px; }
#download-tip[hidden] { display: none; }
#download-tip .card { max-width: 420px; width: 100%; text-align: center; }
#download-tip code { display: block; word-break: break-all; background: #0b0b12; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin: 12px 0; color: var(--gold-hi); font-size: 13px; }
#download-tip .row { display: flex; gap: 10px; justify-content: center; }

/* 页脚 */
footer { padding: 36px 0 44px; color: var(--muted); font-size: 13px; text-align: center; border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }

/* —— 窄屏 —— */
@media (max-width: 960px) {
  #nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: rgba(10, 10, 17, 0.97); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  #nav.open { display: flex; }
  #nav a { padding: 10px 8px; font-size: 15px; }
  #nav-toggle { display: block; }
  .topbar .btn { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 1fr; }
  .styles, .build-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding: 60px 0; }
  .hero { min-height: auto; background-image: url("/static/img/hero-m.jpg"); background-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 12, 0.78) 40%, rgba(7, 7, 12, 0.55) 100%); }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { letter-spacing: 3px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .grid-3, .grid-2, .perks, .dl-steps { grid-template-columns: 1fr; }
  .step-body { padding-left: 0; padding-top: 58px; }
  .path li { grid-template-columns: 1fr; gap: 2px; }
  /* 表格变卡片 */
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 6px 0; }
  td { border: 0; padding: 4px 14px; white-space: normal !important; }
  td::before { content: attr(data-label) "："; color: var(--gold); font-weight: 600; }
  td:first-child::before { content: none; }
  td:first-child { font-size: 16px; color: var(--gold-hi); }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ———— 推广站：首屏 H1 和列表化的旧组件 ———— */
.hero h1 { display: flex; flex-direction: column-reverse; }
.hero h1 small { display: block; font-size: clamp(18px, 2.6vw, 24px); letter-spacing: 4px; color: var(--gold); text-shadow: none; margin-bottom: 6px; }
.chips, .steps, .news-list, .guide-grid, .article-list, .side-list { list-style: none; padding: 0; margin: 0; }
.chips li, .steps li, .news-list li, .guide-grid li, .article-list li { margin: 0; }
.chips { margin-bottom: 30px; }
.showcase figcaption { font-size: 13px; color: var(--muted); padding: 8px 14px; background: var(--panel); }
.faq summary h3 { display: inline; font-size: 15px; color: #fff; }
.more { text-align: center; margin-top: 24px; }
.dl-meta + .reqs { margin-top: 14px; }

/* 标签 */
.tag { display: inline-block; font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: 6px; margin-right: 8px; background: rgba(155, 123, 255, 0.16); color: #d8ccff; white-space: nowrap; }
a.tag:hover { text-decoration: none; }
.tag-notice { background: rgba(242, 196, 109, 0.16); color: var(--gold-hi); }
.tag-event { background: rgba(255, 107, 107, 0.16); color: #ffb3b3; }
.tag-guide { background: rgba(92, 200, 160, 0.16); color: #9be6c8; }
.tag-pin { background: var(--gold); color: #2a1b00; font-weight: 700; }

/* 首页资讯 */
.news-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-list li { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.news-list a { flex: 1; min-width: 0; display: flex; align-items: center; color: var(--text); }
.news-list a .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover .t { color: var(--gold-hi); }
.news-list time, .meta time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-grid .card { display: block; height: 100%; color: var(--text); transition: border-color 0.15s; }
.guide-grid .card:hover { border-color: var(--line-strong); text-decoration: none; }
.guide-grid h3 { font-size: 16px; color: var(--gold-hi); margin-bottom: 6px; }
.guide-grid p { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 面包屑 */
.crumbs { padding-top: 16px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span:last-child { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* 列表页 */
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(28px, 4.5vw, 40px); color: #fff; margin-bottom: 8px; }
.page-head p { color: var(--muted); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-tabs a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 14px; }
.cat-tabs a:hover { text-decoration: none; color: var(--gold-hi); }
.cat-tabs a.on { background: var(--gold); border-color: var(--gold); color: #2a1b00; font-weight: 700; }
.list-body { padding: 20px 0 70px; }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list article { padding: 20px 0; }
.article-list article.has-cover { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px; }
.article-list .cover { grid-row: 1 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); align-self: start; }
.article-list .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-list h2 { font-size: 19px; margin-bottom: 6px; }
.article-list h2 a { color: #fff; }
.article-list h2 a:hover { color: var(--gold-hi); }
.article-list .meta { margin-bottom: 6px; }
.article-list p:last-child { color: #c9c5d6; font-size: 14px; margin: 0; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.pager a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; }

/* 文章页 */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 20px; padding-bottom: 70px; align-items: start; }
.post-head h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); color: #fff; margin-bottom: 12px; }
.post-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.post-head .meta .tag { margin: 0; }
.post-cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-body { font-size: 16px; line-height: 1.9; color: #ddd9e8; }
.post-body h2 { font-family: var(--serif); font-size: 24px; color: #fff; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold); }
.post-body h3 { font-size: 19px; color: var(--gold-hi); margin: 26px 0 10px; }
.post-body p { margin: 0 0 1em; }
.post-body figure { margin: 18px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.post-body figure img { margin: 0 auto; }
.post-body figcaption { font-size: 13px; color: var(--muted); padding: 8px 12px; background: var(--panel); text-align: center; }
.post-body blockquote { margin: 0 0 1em; padding: 12px 16px; border-radius: 10px; background: rgba(155, 123, 255, 0.08); border: 1px solid rgba(155, 123, 255, 0.25); color: #cfc6ee; font-size: 15px; }
.post-body .table-wrap { margin: 0 0 1.2em; }
.post-cta { margin: 34px 0 24px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 0% 0%, rgba(242, 196, 109, 0.14), rgba(22, 22, 34, 0.9) 60%); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.post-cta p { margin: 0; flex: 1 1 320px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); }
.post-nav a:hover { border-color: var(--line-strong); text-decoration: none; }
.post-nav a.next { text-align: right; grid-column: 2; }
.post-nav small { display: block; color: var(--muted); font-size: 12px; }
.side { display: grid; gap: 16px; position: sticky; top: 76px; }
.side h2 { font-size: 16px; color: var(--gold-hi); margin-bottom: 10px; }
.side-dl p { font-size: 13px; color: var(--muted); }
.side-dl .btn { width: 100%; }
.side-list li { margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border: 0; }
.side-list a { color: var(--text); }
.side-list a:hover { color: var(--gold-hi); }
.page-head .side-list { max-width: 560px; margin-top: 16px; }

.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; }
.foot-links a { color: var(--muted); }

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
  .news-list time { display: none; }
  .article-list article.has-cover { grid-template-columns: 110px 1fr; column-gap: 14px; }
  .article-list .cover { grid-row: 1 / 3; }
  .article-list article.has-cover p:last-child { grid-column: 1 / -1; margin-top: 8px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { grid-column: 1; }
  .brand small { display: none; }
}
