/* ============================================================
   游戏设计博客 · 手绘草图风设计系统
   铅笔 × 网格纸 × 便签 × 荧光笔
   ============================================================ */

/* ---------- 自托管字体（拉丁子集，中文回退楷体/宋体） ---------- */
@font-face {
  font-family: 'Architects Daughter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/KtkxAKiDZI_td1Lkx62xHZHDtgO_Y-bvTYlg4w.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Wnz6HAc5bAfYB2Q7ZjYY.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2113, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Wnz6HAc5bAfYB2Q7ZjYY.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/LDI1apSQOAYtSuYWp8ZhfYe8XsLL.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2113, U+FEFF, U+FFFD;
}

/* ---------- 色板与字体变量 ---------- */
:root {
  --desk: oklch(0.86 0.018 245);
  --grid-line: oklch(0.80 0.02 250 / 0.45);
  --paper: oklch(0.975 0.006 95);
  --paper-warm: oklch(0.99 0.004 95);
  --ink: oklch(0.25 0.015 255);
  --ink-soft: oklch(0.46 0.02 255);
  --pencil: oklch(0.66 0.02 255);
  --hatch: oklch(0.62 0.025 250);
  --highlighter: oklch(0.91 0.19 98);
  --sticky-yellow: oklch(0.93 0.13 98);
  --sticky-pink: oklch(0.88 0.06 15);
  --focus: oklch(0.45 0.17 250);
  --shadow-ink: oklch(0.3 0.01 255 / 0.16);

  --font-display: "Caveat", "Kaiti SC", "STKaiti", "KaiTi", cursive;
  --font-marker: "Patrick Hand", "Architects Daughter", "Kaiti SC", "STKaiti", "KaiTi", cursive;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--desk);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--font-marker);
  line-height: 1.6;
  padding: 34px 16px 56px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--highlighter); }
a { color: var(--ink); }
img, svg { display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-marker);
  font-size: 16px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px dashed var(--focus); outline-offset: 3px; }

/* ---------- 纸张底板 ---------- */
.sheet {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px 13px 17px 12px / 13px 18px 12px 17px;
  box-shadow: 10px 12px 0 var(--shadow-ink);
  padding: 34px 40px 30px;
  transform: rotate(0.12deg);
}
.sheet::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 46px;
  width: 130px;
  height: 30px;
  background: oklch(0.92 0.03 90 / 0.75);
  border: 1px dashed oklch(0.5 0.02 90 / 0.35);
  transform: rotate(-3.5deg);
}

/* ---------- 页头 ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--pencil);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; transform: rotate(-0.5deg); }
.brand-pencil { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1.1; }
.brand-tagline { font-size: 16px; color: var(--ink-soft); font-style: italic; }

.site-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-tab {
  display: inline-block;
  padding: 9px 20px 8px;
  font-family: var(--font-marker);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: 12px 9px 13px 10px / 10px 13px 9px 12px;
  transition: transform .16s ease, background-color .16s ease;
}
.nav-tab:nth-child(1) { transform: rotate(-0.8deg); }
.nav-tab:nth-child(2) { transform: rotate(0.7deg); }
.nav-tab:nth-child(3) { transform: rotate(-0.6deg); }
.nav-tab:hover { background: oklch(0.94 0.02 250); transform: rotate(0deg) translateY(-2px); }
.nav-tab.is-active { position: relative; background: transparent; }
.nav-tab.is-active::before {
  content: "";
  position: absolute;
  inset: -3px -9px;
  background: var(--highlighter);
  transform: skewX(-8deg) rotate(-1deg);
  border-radius: 8px;
  z-index: -1;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sticky-yellow);
  border-style: dashed;
  transform: rotate(1.2deg);
}
.nav-cta:hover { background: var(--sticky-yellow); transform: rotate(0deg) translateY(-2px); }
.nav-cta svg { width: 22px; height: 20px; }

/* ---------- 标题带下划波浪线 ---------- */
.squiggle { display: block; height: 14px; margin-top: 8px; }

/* ---------- 按钮（手绘风） ---------- */
.btn-hand {
  display: inline-block;
  padding: 11px 26px 10px;
  font-family: var(--font-marker);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, var(--hatch) 7px 9px);
  border: 2px solid var(--ink);
  border-radius: 10px 12px 9px 11px / 11px 9px 12px 10px;
  transform: rotate(0.4deg);
  transition: transform .16s ease, background-color .16s ease;
}
.btn-hand:hover { background-color: var(--highlighter); transform: rotate(0deg) translateY(-2px); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: stretch;
  border: 2.5px solid var(--ink);
  border-radius: 16px 11px 15px 12px / 11px 16px 12px 15px;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, oklch(0.62 0.025 250 / 0.14) 11px 13px),
    var(--paper-warm);
  padding: 30px 34px 26px;
  margin-bottom: 34px;
  transform: rotate(-0.25deg);
  overflow: hidden;
}
.hero-copy { flex: 1; min-width: 0; }
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 14px 2px;
  background: var(--highlighter);
  transform: rotate(-2deg);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: .02em;
}
.hero-desc { margin-top: 12px; font-size: 18px; color: var(--ink-soft); max-width: 36em; }
.hero-meta { margin-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
.hero-cta { margin-top: 18px; }
.hero-art {
  flex: none;
  width: 260px;
  align-self: center;
  transform: rotate(1.4deg);
}
.hero-art svg { width: 100%; height: auto; }

/* ---------- 区块标题 ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 36px 0 18px; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 32px; }
.section-more { font-family: var(--font-marker); font-size: 18px; color: var(--ink-soft); text-decoration: none; border-bottom: 2px dashed var(--pencil); padding-bottom: 2px; transform: rotate(-0.4deg); }
.section-more:hover { color: var(--ink); border-bottom-style: solid; background: var(--highlighter); }

/* ---------- 文章卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px dashed var(--ink);
  border-radius: 13px 10px 14px 11px / 10px 13px 11px 14px;
  background: var(--paper-warm);
  padding: 16px 18px 18px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.post-card:nth-child(odd) { transform: rotate(-0.5deg); }
.post-card:nth-child(even) { transform: rotate(0.5deg); }
.post-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 5px 7px 0 var(--shadow-ink); }
.card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, transparent 0 7px, oklch(0.62 0.025 250 / 0.15) 7px 9px),
    var(--paper);
  margin-bottom: 12px;
}
.card-thumb svg { width: 150px; height: 92px; }
.card-title { margin-top: 8px; font-family: var(--font-serif); font-weight: 700; font-size: 21px; line-height: 1.4; }
.card-title a { text-decoration: none; border-bottom: 2px solid transparent; }
.card-title a:hover { border-bottom-color: var(--ink); background: linear-gradient(transparent 62%, var(--highlighter) 62%); }
.card-desc { margin-top: 7px; font-size: 16px; color: var(--ink-soft); }
.meta-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.chip {
  display: inline-block;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 13px 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  background: var(--paper);
  transform: rotate(-2deg);
}

/* ---------- 栏目便签 ---------- */
.cat-notes { display: flex; gap: 16px; flex-wrap: wrap; }
.cat-note {
  flex: 1;
  min-width: 150px;
  text-decoration: none;
  padding: 18px 20px 15px;
  border-radius: 4px;
  box-shadow: 4px 5px 0 var(--shadow-ink);
  transition: transform .16s ease;
}
.cat-note:hover { transform: translateY(-4px) rotate(0deg); }
.cat-note-yellow { background: var(--sticky-yellow); transform: rotate(-1.4deg); }
.cat-note-pink { background: var(--sticky-pink); transform: rotate(1.2deg); }
.cat-note-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.cat-note-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 列表页 ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  padding: 7px 18px 6px;
  font-family: var(--font-marker);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  transform: rotate(-0.6deg);
  transition: transform .15s ease, background-color .15s ease;
}
.filter-btn:hover { transform: rotate(0deg); background: oklch(0.94 0.02 250); }
.filter-btn.is-active { background: var(--highlighter); border-style: dashed; }

.post-rows { display: flex; flex-direction: column; gap: 18px; }
.post-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 2px dashed var(--ink);
  border-radius: 13px 10px 14px 11px / 10px 13px 11px 14px;
  background: var(--paper-warm);
  padding: 16px 20px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.post-row:nth-child(odd) { transform: rotate(-0.3deg); }
.post-row:nth-child(even) { transform: rotate(0.3deg); }
.post-row:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 5px 7px 0 var(--shadow-ink); }
.post-row[hidden] { display: none; }
.row-thumb {
  flex: none;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, transparent 0 7px, oklch(0.62 0.025 250 / 0.15) 7px 9px),
    var(--paper);
}
.row-thumb svg { width: 118px; height: 74px; }
.row-body { flex: 1; min-width: 0; }
.row-title { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.4; }
.row-title a { text-decoration: none; border-bottom: 2px solid transparent; }
.row-title a:hover { border-bottom-color: var(--ink); background: linear-gradient(transparent 62%, var(--highlighter) 62%); }
.row-desc { margin-top: 5px; font-size: 16px; color: var(--ink-soft); }
.row-empty { display: none; padding: 40px 20px; text-align: center; font-size: 19px; color: var(--ink-soft); border: 2px dashed var(--pencil); border-radius: 14px; transform: rotate(-0.3deg); }

/* ---------- 文章页排版 ---------- */
.post-head { margin-bottom: 26px; }
.crumb { font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em; color: var(--ink-soft); }
.crumb a { color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px dashed var(--pencil); }
.crumb a:hover { color: var(--ink); }
.post-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.3;
  margin-top: 14px;
}
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.post-meta .meta-mini { padding-top: 0; margin-top: 0; }

.post-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin: 26px 0 10px;
  border: 2.5px solid var(--ink);
  border-radius: 14px 10px 13px 11px / 10px 14px 11px 13px;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, oklch(0.62 0.025 250 / 0.14) 11px 13px),
    var(--paper-warm);
  transform: rotate(-0.2deg);
}
.post-art svg { width: 340px; height: 170px; }
.post-art-caption { margin: 14px 0 0; text-align: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); transform: rotate(-0.2deg); }

.prose {
  margin: 30px auto 0;
  max-width: 42em;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 2;
  color: var(--ink);
}
.prose p { margin: 0 0 1.4em; }
.prose h2 {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.5;
  margin: 2.2em 0 1em;
}
.prose h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 9px;
  margin-top: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 9'%3E%3Cpath d='M2 6 C 20 2, 40 8, 60 5 S 90 3, 94 6' fill='none' stroke='%2396a0b4' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 96px 9px;
}
.prose h3 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; margin: 1.8em 0 .9em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--ink-soft); }
.prose blockquote {
  position: relative;
  margin: 1.9em 0;
  padding: 18px 26px 16px;
  font-family: var(--font-marker);
  font-size: 21px;
  line-height: 1.7;
  border: 2px dashed var(--ink);
  border-radius: 12px 9px 13px 10px / 10px 12px 9px 13px;
  background: oklch(0.93 0.16 98 / 0.65);
  transform: rotate(-0.3deg);
}
.prose blockquote::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 24px;
  width: 88px;
  height: 26px;
  background: oklch(0.92 0.03 90 / 0.75);
  border: 1px dashed oklch(0.5 0.02 90 / 0.35);
  transform: rotate(-4deg);
}
.prose blockquote p { margin: 0; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--paper-warm);
  border: 1.5px dashed var(--pencil);
  border-radius: 6px;
  padding: 2px 7px 1px;
}
.prose hr {
  border: none;
  height: 14px;
  margin: 2.6em auto;
  width: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14'%3E%3Cpath d='M6 9 C 40 3, 80 12, 110 7 S 180 5, 214 9' fill='none' stroke='%2396a0b4' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 220px 14px;
}
.prose .kicker {
  display: inline-block;
  font-family: var(--font-marker);
  font-size: 16px;
  font-weight: 700;
  background: var(--highlighter);
  padding: 2px 10px 1px;
  border-radius: 6px;
  transform: rotate(-1deg);
  margin-bottom: .4em;
}

/* ---------- 参与讨论卡片 ---------- */
.join-card {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  max-width: 42em;
  margin: 44px auto 0;
  padding: 24px 28px 22px;
  background: var(--sticky-pink);
  border-radius: 4px;
  box-shadow: 4px 6px 0 var(--shadow-ink);
  transform: rotate(0.6deg);
}
.join-card::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  margin-left: -56px;
  width: 112px;
  height: 28px;
  background: oklch(0.92 0.03 90 / 0.75);
  border: 1px dashed oklch(0.5 0.02 90 / 0.35);
  transform: rotate(-4deg);
}
.join-chat { width: 64px; height: 56px; flex: none; transform: rotate(-3deg); }
.join-title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.2; }
.join-desc { margin: 6px 0 14px; font-size: 17px; color: var(--ink-soft); }
.join-btn { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 角落便签（桌面固定） ---------- */
.corner-note {
  position: fixed;
  z-index: 50;
  right: 26px;
  bottom: 24px;
  display: block;
  padding: 14px 20px 12px;
  text-decoration: none;
  background: var(--sticky-yellow);
  border-radius: 4px;
  box-shadow: 4px 6px 0 var(--shadow-ink);
  transform: rotate(1.6deg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.corner-note:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 7px 10px 0 oklch(0.3 0.01 255 / 0.18); }
.corner-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.2; }
.corner-title svg { width: 26px; height: 22px; }
.corner-sub { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; letter-spacing: .03em; }

/* ---------- 上一篇 / 下一篇 ---------- */
.pager { display: flex; gap: 16px; max-width: 42em; margin: 26px auto 0; }
.pager a {
  flex: 1;
  display: block;
  text-decoration: none;
  border: 2px dashed var(--ink);
  border-radius: 12px 9px 13px 10px / 10px 12px 9px 13px;
  background: var(--paper-warm);
  padding: 13px 18px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.pager a:first-child { transform: rotate(-0.4deg); }
.pager a:last-child { transform: rotate(0.4deg); text-align: right; }
.pager a:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 4px 6px 0 var(--shadow-ink); }
.pager .dir { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .08em; }
.pager .t { display: block; margin-top: 3px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; }

/* ---------- 关于页 ---------- */
.about-card {
  display: flex;
  gap: 26px;
  align-items: center;
  border: 2px dashed var(--ink);
  border-radius: 15px 11px 14px 12px / 11px 15px 12px 14px;
  background: var(--paper-warm);
  padding: 28px 30px;
  transform: rotate(-0.3deg);
  margin-bottom: 26px;
}
.avatar {
  width: 116px;
  height: 116px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px dashed var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  transform: rotate(-2deg);
}
.about-name { font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.about-bio { margin-top: 8px; font-size: 17px; color: var(--ink-soft); }

.subscribe-box {
  position: relative;
  border: 2px dashed var(--ink);
  border-radius: 15px 11px 14px 12px / 11px 15px 12px 14px;
  background: var(--paper-warm);
  padding: 26px 30px 22px;
  transform: rotate(0.3deg);
  margin-bottom: 26px;
}
.subscribe-box .tape {
  position: absolute;
  top: -13px;
  left: 50%;
  margin-left: -56px;
  width: 112px;
  height: 28px;
  background: oklch(0.92 0.03 90 / 0.75);
  border: 1px dashed oklch(0.5 0.02 90 / 0.35);
  transform: rotate(-4deg);
}
.field-row { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.input-box {
  flex: 1;
  min-width: 200px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-marker);
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-0.3deg);
}
.input-box:focus { outline: 3px dashed var(--focus); outline-offset: 3px; }
.sub-hint { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: rotate(-4deg);
}

/* ---------- 页脚 ---------- */
.site-foot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 2px dashed var(--pencil);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  transform: rotate(-0.15deg);
}
.site-foot a { color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px dashed var(--pencil); padding-bottom: 1px; }
.site-foot a:hover { color: var(--ink); border-bottom-style: solid; background: var(--highlighter); }
.foot-line { margin-bottom: 6px; letter-spacing: .03em; }
.foot-discuss { font-weight: 700; color: var(--ink) !important; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: 60px 20px 70px; }
.lost-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 76px); line-height: 1.2; }
.lost-doodle { width: 200px; height: 150px; margin: 26px auto; transform: rotate(1.6deg); }
.lost-desc { font-size: 19px; color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  body { padding: 18px 10px 40px; }
  .sheet { padding: 26px 22px 22px; }
  .brand-name { font-size: 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; padding: 24px 24px 22px; }
  .hero-art { width: 200px; align-self: center; }
  .post-row { flex-direction: column; align-items: stretch; }
  .row-thumb { width: 100%; height: 120px; }
  .join-card { flex-direction: column; text-align: center; padding: 26px 20px 22px; }
  .join-chat { align-self: center; }
  .pager { flex-direction: column; }
  .pager a:last-child { text-align: left; }
  .about-card { flex-direction: column; text-align: center; }
  .avatar { align-self: center; }
  .prose { font-size: 18px; }
  .corner-note { display: none; }
}

@media (max-width: 640px) {
  .site-head { flex-direction: column; align-items: flex-start; }
  .nav-tab { padding: 7px 14px 6px; font-size: 17px; }
  .brand-name { font-size: 29px; }
  .section-title { font-size: 27px; }
  .post-art { height: 170px; }
  .post-art svg { width: 260px; height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
