/* ==========================================================================
   吃瓜网在线 · 全站样式表
   站点：jscsdy888.com
   结构：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base —— 变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --paper: #faf6ef;
  --paper-2: #f2ece1;
  --ink: #22201d;
  --ink-soft: #5c574f;
  --accent: #d1502a;
  --accent-2: #2f6f7a;
  --line: #ded5c6;
  --line-strong: #c8bca8;
  --radius-sm: 5px;
  --radius-md: 8px;
  --shell-max: 1160px;
  --shell-pad: 24px;
  --shadow-card: 0 6px 18px rgba(34, 32, 29, 0.08);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-num: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

p {
  max-width: 68ch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout —— 外壳、容器、页头、页脚、主区
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

/* ---- 页头 ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ---- 主导航 ---- */

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-item > a {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-item > a:hover {
  background-color: var(--paper-2);
  color: var(--accent);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--accent);
  font-weight: 600;
  background-color: var(--paper-2);
}

.header-shortcuts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shortcut-link {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.shortcut-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- 汉堡按钮：桌面隐藏 ---- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
}

/* ---- 移动端抽屉（桌面隐藏） ---- */

.mobile-nav {
  display: none;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 6px var(--shell-pad) 14px;
}

.mobile-nav-list li > a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list li:last-child > a {
  border-bottom: 0;
}

.mobile-nav-list li > a.is-current {
  color: var(--accent);
  font-weight: 600;
}

/* ---- 主区 ---- */

.site-main {
  flex: 1 0 auto;
  display: block;
  padding-bottom: 56px;
}

.inner-main {
  padding-top: 18px;
}

/* ---- 面包屑 ---- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line-strong);
}

/* ---- 页面标题区 ---- */

.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  max-width: 30ch;
}

.page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 68ch;
}

.page-hero {
  margin-bottom: 32px;
}

/* ---- 页脚 ---- */

.site-footer {
  flex: 0 0 auto;
  margin-top: 40px;
  padding-top: 40px;
  background-color: var(--paper-2);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 8px;
}

.footer-brand-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34ch;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: none;
}

/* --------------------------------------------------------------------------
   3. components —— 通用组件
   -------------------------------------------------------------------------- */

/* ---- 区块标题组 ---- */

.section-head {
  margin-bottom: 20px;
}

.section-head h2,
.section-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-desc,
.section-intro,
.section-summary {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 68ch;
}

.section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* ---- 按钮 ---- */

.btn,
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: #b9421f;
  border-color: #b9421f;
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- 标签 chip ---- */

.tag-chip {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  font-size: 14px;
  color: var(--accent-2);
  white-space: nowrap;
}

.tag-chip:hover {
  background-color: var(--paper-2);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.mini-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  font-size: 12px;
  color: var(--accent-2);
  white-space: nowrap;
}

/* ---- 摘要块 ---- */

.page-brief {
  padding: 18px 20px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-brief h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-brief > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}

.brief-list,
.brief-points,
.page-brief-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-list li,
.brief-points li,
.page-brief-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.brief-list li::before,
.brief-points li::before,
.page-brief-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.brief-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ---- 步骤序号（通用骨架） ---- */

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.step-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.step-text,
.step-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-link,
.step-entry a {
  display: inline-block;
  font-size: 14px;
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.step-link:hover,
.step-entry a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 步骤列表（内页通用纵向） ---- */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-list .step-node {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-list .step-node .step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.step-list .step-node .step-desc,
.step-list .step-node .step-text {
  grid-column: 2;
}

/* ---- 有限提示框 ---- */

.tag-layer-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tag-layer-col {
  padding: 14px 16px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.tag-layer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.tag-layer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---- 图片容器 ---- */

figure {
  margin: 0;
}

figcaption,
.figure-caption,
.cal-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---- 下一步入口链接组 ---- */

.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.next-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.next-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.next-link-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.next-link-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---- 文本链接 ---- */

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages —— 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-bottom: 56px;
}

/* ---- 公告栏首屏 ---- */

.hero-notice {
  padding: 40px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-brief {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}

.hero-brief h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  max-width: 24ch;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-2);
}

.status-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

/* ---- 题材标签带 ---- */

.tag-band {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- 作品封面墙 ---- */

.cover-wall {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cover-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cover-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cover-thumb {
  margin: 0;
}

.cover-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
}

.cover-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.cover-name a {
  color: var(--ink);
}

.cover-name a:hover {
  color: var(--accent);
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cover-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---- 更新区 ---- */

.update-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cal-panel {
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.cal-title,
.feed-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.cal-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cal-table {
  font-size: 13px;
  table-layout: fixed;
}

.cal-table th {
  padding: 6px 0;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.cal-table td {
  padding: 3px;
  text-align: center;
  vertical-align: top;
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--ink);
}

.cal-day.is-empty {
  background-color: transparent;
  border-color: transparent;
  color: var(--line-strong);
}

.cal-foot {
  margin-top: 12px;
  font-size: 14px;
}

.cal-foot a {
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
}

.cal-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.update-feed {
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.feed-title {
  margin-bottom: 12px;
}

.feed-list {
  display: flex;
  flex-direction: column;
}

.update-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.update-row:first-child {
  border-top: 0;
}

.update-date {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.update-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.update-name a {
  color: var(--ink);
}

.update-name a:hover {
  color: var(--accent);
}

.update-range {
  grid-column: 2;
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--ink-soft);
}

.update-tag {
  grid-column: 2;
  font-size: 13px;
  color: var(--accent-2);
}

.feed-foot {
  margin-top: 12px;
  font-size: 14px;
}

.feed-foot a {
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
}

.feed-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 榜单摘要 ---- */

.rank-summary {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rank-col {
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.rank-col-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rank-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.rank-name a {
  color: var(--ink);
}

.rank-name a:hover {
  color: var(--accent);
}

.rank-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rank-status {
  font-size: 12px;
  color: var(--accent-2);
}

.rank-foot {
  margin-top: 16px;
  font-size: 14px;
}

.rank-foot a {
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
}

.rank-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 新读者四步路径 ---- */

.start-steps {
  padding: 34px 0 8px;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-row .step-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.start-foot {
  margin-top: 18px;
  font-size: 14px;
}

.start-foot a {
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
}

.start-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 相关内容导航 ---- */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: var(--shell-max);
  margin: 28px auto 0;
  padding: 16px var(--shell-pad) 0;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 14px;
  color: var(--ink-soft);
}

.related-links-item {
  font-size: 14px;
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. pages —— 内页通用与各页专属
   -------------------------------------------------------------------------- */

/* ---- 入门指引：主栏 + 右栏 ---- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.side-block {
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.side-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.side-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.side-checklist li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.side-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-2);
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.side-links a {
  font-size: 14px;
  color: var(--accent-2);
}

.side-links a:hover {
  color: var(--accent);
}

/* 入门指引：五步路径总览 */

.step-overview {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.guide-figure {
  margin: 16px 0;
}

.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

.step-overview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.step-overview-list li {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}

.step-overview-list li:last-child {
  border-bottom: 0;
}

.step-overview-list a {
  font-size: 15px;
  color: var(--accent-2);
}

.step-overview-list a:hover {
  color: var(--accent);
}

/* 入门指引：五个步骤分节 */

.step-article {
  padding: 30px 0 6px;
  border-top: 1px solid var(--line);
}

.step-article > h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-block {
  padding: 16px;
  margin-bottom: 14px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-block .step-index {
  margin-bottom: 8px;
}

.step-block h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.step-block p:last-child {
  margin-bottom: 0;
}

.step-entry {
  font-size: 14px;
}

/* 入门指引：阅读门槛 */

.threshold-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.threshold-section > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.threshold-item {
  padding: 14px 16px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.threshold-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.threshold-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 入门指引：衔接 */

.handoff-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.handoff-section > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.handoff-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.handoff-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.handoff-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* 入门指引：核查清单 */

.checklist-section {
  padding: 30px 0 6px;
  border-top: 1px solid var(--line);
}

.checklist-section > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.checklist-wrong,
.checklist-right {
  font-size: 14px;
  line-height: 1.75;
  min-width: 0;
}

.checklist-wrong {
  color: var(--ink-soft);
}

.checklist-right {
  color: var(--ink);
  border-left: 2px solid var(--accent-2);
  padding-left: 12px;
}

/* ---- 题材分类 ---- */

.page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 28px;
  align-items: center;
}

.page-hero-text {
  min-width: 0;
}

.page-hero-media {
  margin: 0;
  min-width: 0;
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

.section-tag-groups .tag-group {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.section-tag-groups .tag-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.tag-name {
  min-width: 0;
}

.tag-name h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 6px;
}

.tag-name p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.tag-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tag-combo,
.tag-threshold,
.tag-scene {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.tag-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  font-size: 12px;
  color: var(--accent-2);
}

/* 相邻标签关系 */

.adjacent-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}

.adjacent-row:first-of-type {
  border-top: 0;
}

.adjacent-cell {
  min-width: 0;
}

.adjacent-cell h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.adjacent-cell p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-footnote {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-footnote a {
  color: var(--accent-2);
  border-bottom: 1px solid var(--line-strong);
  margin-right: 12px;
}

.section-footnote a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 作品档案 ---- */

.page-hero-inner {
  padding: 18px 20px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.field-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.field-item {
  padding: 14px 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.field-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.archive-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.archive-cover {
  margin: 0;
}

.archive-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
}

.archive-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.archive-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  margin: 0;
  font-size: 13px;
}

.archive-meta dt {
  color: var(--ink-soft);
  white-space: nowrap;
}

.archive-meta dd {
  margin: 0;
  color: var(--ink);
}

.mark-btn {
  align-self: flex-start;
  margin-top: 2px;
  padding: 8px 14px;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  font-size: 14px;
  color: var(--ink);
}

.mark-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mark-btn.is-marked {
  border-color: var(--accent-2);
  background-color: var(--paper-2);
  color: var(--accent-2);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.compare-table {
  min-width: 720px;
  font-size: 14px;
}

.table-caption {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background-color: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--ink-soft);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-flow .step-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

/* ---- 更新记录 ---- */

.page-head {
  padding-bottom: 22px;
}

.brief-section {
  padding-top: 0;
  border-top: 0;
}

.calendar-section .cal-figure {
  margin-bottom: 18px;
}

.cal-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

.calendar-section .cal-panel {
  max-width: 640px;
}

.cal-month {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 52px;
  padding: 4px 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--ink);
}

.cal-cell.is-empty {
  background-color: transparent;
  border-color: transparent;
  color: var(--line-strong);
}

.cal-count {
  font-size: 11px;
  color: var(--accent);
}

.day-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.day-group {
  padding: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.day-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.update-list {
  display: flex;
  flex-direction: column;
}

.update-list .update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.update-list .update-row:first-child {
  border-top: 0;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.update-title a {
  color: var(--ink);
}

.update-title a:hover {
  color: var(--accent);
}

.update-list .update-range {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.update-list .update-tag {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--accent-2);
}

.rhythm-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rhythm-note {
  padding: 13px 15px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  min-width: 0;
}

.next-section .next-links {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.next-section .next-links li {
  display: flex;
}

.next-section .next-links a {
  display: block;
  width: 100%;
  padding: 13px 15px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--accent-2);
}

.next-section .next-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- 榜单推荐 ---- */

.criteria-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.criteria-item {
  padding: 15px 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
}

.criteria-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.criteria-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-figure {
  margin-bottom: 18px;
}

.section-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

.rank-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rank-columns-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

/* ---- 阅读帮助 ---- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  float: right;
  margin-left: 12px;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] .faq-question::after {
  content: "－";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-top: 12px;
}

.mark-figure {
  margin-bottom: 16px;
}

.mark-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--paper-2);
}

.mark-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.mark-point {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.mark-point::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-2);
}

.mark-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-clear-mark {
  padding: 11px 18px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background-color: var(--paper);
  font-size: 15px;
  color: var(--ink);
}

.btn-clear-mark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mark-actions-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

.content-path-section .step-list .step-node {
  grid-template-columns: 30px minmax(0, 1fr);
}

.content-path-section .step-list .step-link {
  grid-column: 2;
}

/* ---- 404 ---- */

.error-main {
  padding-top: 34px;
}

.error-panel {
  padding: 34px 24px;
  background-color: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.error-code {
  font-family: var(--font-num);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  max-width: none;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 10px 0 12px;
}

.error-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-links {
  padding-top: 30px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.error-link-list a {
  display: block;
  padding: 13px 15px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--accent-2);
}

.error-link-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   6. responsive —— 断点 960px / 640px
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .header-shell {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-shortcuts {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-brief h1 {
    font-size: 30px;
    max-width: none;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .update-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-row,
  .step-flow,
  .rank-columns,
  .criteria-list,
  .threshold-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-columns-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .side-block {
    flex: 1 1 260px;
  }

  .page-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell-pad: 16px;
  }

  body {
    font-size: 16px;
  }

  .header-shell {
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-mark {
    font-size: 17px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .site-main {
    padding-bottom: 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-head h2,
  .section-title {
    font-size: 20px;
  }

  .hero-notice {
    padding: 26px 0 24px;
  }

  .hero-brief h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 150px;
    min-height: 44px;
  }

  .chip-list {
    gap: 8px;
  }

  .tag-chip {
    padding: 8px 12px;
  }

  .cover-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cover-card,
  .archive-card {
    padding: 10px;
  }

  .step-row,
  .step-flow,
  .rank-grid,
  .rank-columns,
  .rank-columns-two,
  .criteria-list,
  .threshold-grid,
  .field-list,
  .rhythm-notes,
  .next-links,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-row {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .update-list .update-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-list .update-range {
    grid-column: 1;
    grid-row: auto;
  }

  .section-tag-groups .tag-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .adjacent-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .checklist-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .checklist-right {
    border-left: 0;
    border-top: 2px solid var(--accent-2);
    padding-left: 0;
    padding-top: 8px;
  }

  .cal-cell {
    min-height: 44px;
    font-size: 12px;
  }

  .cal-table .cal-day {
    min-height: 40px;
    font-size: 12px;
  }

  .page-sidebar {
    flex-direction: column;
  }

  .side-block {
    flex: 1 1 auto;
  }

  .mark-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-clear-mark {
    width: 100%;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-brand-text,
  .footer-brand-note {
    max-width: none;
  }

  .compare-table {
    min-width: 640px;
  }

  .error-panel {
    padding: 26px 18px;
  }

  .error-code {
    font-size: 34px;
  }

  .error-title {
    font-size: 22px;
  }
}

/* --------------------------------------------------------------------------
   7. 动效增强 —— 不影响初始可见性
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .cover-card,
  .archive-card,
  .next-link,
  .tag-chip {
    transition: border-color 160ms ease, transform 160ms ease,
      box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
