/* ==========================================================================
   baojikj.com — 歪歪漫画 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #FBF6EC;
  --ink: #2B2118;
  --ochre: #C7582A;
  --moss: #5B7A5A;
  --wheat: #E7D7BE;
  --brown: #8C6A4A;
  --white: #FFFFFF;
  --line: #DCCBB0;
  --line-soft: #EADFCC;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-soft: 0 1px 2px rgba(43, 33, 24, 0.06);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --container: 1180px;
  --gutter: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

a {
  color: var(--ochre);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   layout — 站点骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 200ms ease;
}

.site-header.is-compact .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: font-size 200ms ease;
}

.brand:hover {
  color: var(--ochre);
}

.site-header.is-compact .brand {
  font-size: 19px;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover {
  color: var(--ochre);
}

.site-nav a.is-current {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  position: relative;
  flex-shrink: 0;
}

.nav-toggle-bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle-bar:nth-child(1) {
  top: 15px;
}

.nav-toggle-bar:nth-child(2) {
  top: 21px;
}

.nav-toggle-bar:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-drawer ul {
  padding: 8px var(--gutter) 16px;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-drawer a.is-current {
  color: var(--ochre);
  font-weight: 600;
}

.mobile-drawer.is-open {
  display: block;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 72px;
}

.home-main {
  padding-bottom: 0;
}

/* 面包屑 —— 全站统一 */
.breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--brown);
}

.breadcrumb a:hover {
  color: var(--ochre);
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 —— 全站统一 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}

.page-lead,
.page-summary {
  font-size: 16px;
  line-height: 1.85;
  color: var(--brown);
  max-width: 760px;
  margin-bottom: 10px;
}

.page-meta,
.page-belong {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--moss);
  margin-bottom: 0;
}

/* 页脚 —— 全站统一 */
.site-footer {
  background: var(--wheat);
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
}

.footer-about h2,
.footer-links h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 560px;
}

.footer-copy {
  margin-top: 14px;
  font-size: 13px;
  color: var(--brown);
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--ochre);
}

.back-top {
  margin-top: 16px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   components — 通用元件
   -------------------------------------------------------------------------- */

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-head p {
  font-size: 15px;
  color: var(--brown);
  max-width: 760px;
}

.section-lead {
  font-size: 15px;
  color: var(--brown);
  max-width: 760px;
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--ochre);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.text-link::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--ochre);
  color: var(--white);
  border-color: var(--ochre);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--wheat);
  border-color: var(--brown);
  color: var(--ink);
}

/* 编号徽标 —— 目录感 */
.cover-no,
.chapter-no,
.batch-no,
.entry-no,
.step-no,
.flow-num,
.layer-no,
.chapter-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brown);
}

/* 折叠问答 —— 全站共用 */
.qa-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.qa-item summary {
  position: relative;
  list-style: none;
  padding: 16px 48px 16px 18px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: var(--ochre);
  font-weight: 400;
}

.qa-item[open] summary {
  background: var(--wheat);
}

.qa-item[open] summary::after {
  content: "–";
}

.qa-item summary:hover {
  background: var(--wheat);
}

.qa-item > p,
.qa-item .qa-answer {
  padding: 14px 18px 18px;
  font-size: 15px;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
}

.qa-item .qa-answer p + p {
  margin-top: 8px;
}

/* 相关链接条 */
.related-links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brown);
}

.related-links-item {
  font-size: 14px;
  color: var(--ochre);
}

.related-links-item:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--moss);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--wheat);
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--brown);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-chapters {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.hero-chapters li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.hero-chapters .chapter-no {
  flex-shrink: 0;
  color: var(--ochre);
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--wheat);
  box-shadow: var(--shadow-soft);
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown);
}

/* 编辑推荐三联 */
.picks {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cover-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: background 160ms ease, border-color 160ms ease;
}

.cover-card:hover {
  background: var(--wheat);
  border-color: var(--brown);
}

.cover-card .cover-no {
  display: inline-block;
  margin-bottom: 10px;
}

.cover-card:hover .cover-no {
  color: var(--ochre);
}

.cover-media {
  margin-bottom: 14px;
}

.cover-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wheat);
}

.cover-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cover-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 0;
}

/* 题材索引速览 */
.genre-index {
  background: var(--wheat);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.genre-index .section-head,
.genre-index .genre-groups,
.genre-index .genre-foot {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.genre-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.genre-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.genre-group h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.genre-group p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 14px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.genre-tags a:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--white);
}

.genre-foot {
  margin-top: 24px;
}

/* 更新日历带 */
.calendar-band {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.week-calendar h2,
.batch-list h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.band-note,
.calendar-note {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 16px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.day-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 160ms ease, background 160ms ease;
}

.day-cell:hover {
  border-color: var(--brown);
  background: #FFFDF8;
}

.day-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.day-theme {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex: 1;
}

.field-tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--moss);
  background: rgba(91, 122, 90, 0.1);
  border-radius: 3px;
  padding: 2px 6px;
}

.day-cell.is-rest {
  background: transparent;
  border-style: dashed;
}

.day-cell.is-rest .day-theme {
  color: var(--brown);
  font-size: 12px;
}

.batch-list {
  min-width: 0;
}

.batch-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.batch-row:hover {
  background: var(--wheat);
}

.batch-row .batch-no {
  color: var(--ochre);
}

.batch-theme {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  min-width: 0;
}

.batch-field {
  font-size: 12px;
  color: var(--moss);
  white-space: nowrap;
}

.batch-row .text-link {
  font-size: 13px;
  white-space: nowrap;
}

.batch-list .band-note {
  margin-top: 16px;
  margin-bottom: 0;
}

/* 年度回看预览 */
.review-preview {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.review-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.review-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius-sm);
  padding: 18px;
  min-width: 0;
}

.review-item .chapter-no {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ochre);
}

.review-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.review-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 0;
}

.caliber-note {
  background: var(--wheat);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 16px;
}

/* 阅读问答速览 */
.qa-preview {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.qa-list {
  max-width: 860px;
}

/* 上架流程入口摘要 */
.flow-entry {
  background: var(--wheat);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.flow-entry .section-head,
.flow-entry .flow-steps {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.flow-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.flow-step .step-no {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ochre);
}

.flow-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   pages — 内页通用双栏
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.layout-shell {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

/* --------------------------------------------------------------------------
   pages — 作品索引
   -------------------------------------------------------------------------- */

.genre-nav {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.genre-nav h2 {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.genre-nav ul {
  display: grid;
  gap: 2px;
}

.genre-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background 160ms ease, color 160ms ease;
}

.genre-nav a:hover {
  background: var(--wheat);
  color: var(--ochre);
}

.genre-groups {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.genre-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
  scroll-margin-top: 100px;
}

.genre-block h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.genre-scope {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 16px;
}

.genre-figure {
  margin: 0 0 16px;
}

.genre-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wheat);
}

.genre-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--brown);
}

.entry-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.4fr) minmax(0, 0.7fr) auto minmax(0, 1.6fr);
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-top: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: background 160ms ease;
}

.entry-row:hover {
  background: var(--wheat);
}

.entry-row:hover .entry-no {
  color: var(--ochre);
}

.entry-no {
  color: var(--brown);
}

.entry-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

.entry-vol {
  font-size: 13px;
  color: var(--brown);
  white-space: nowrap;
}

.entry-state {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--moss);
  background: rgba(91, 122, 90, 0.1);
  border-radius: 3px;
  padding: 2px 8px;
  white-space: nowrap;
}

.entry-tip {
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown);
  min-width: 0;
}

.field-notes {
  margin-top: 40px;
}

.field-notes h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.field-notes table {
  min-width: 620px;
}

.field-notes caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--brown);
  border-bottom: 1px solid var(--line-soft);
}

.field-notes th,
.field-notes td {
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.field-notes th {
  background: var(--wheat);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.field-notes tbody tr:last-child td {
  border-bottom: 0;
}

.next-entry {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-entry h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.next-entry p {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 14px;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.next-links a {
  font-size: 15px;
  color: var(--ochre);
}

.next-links a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 更新日历
   -------------------------------------------------------------------------- */

.update-calendar .calendar-band,
.calendar-band {
  min-width: 0;
}

.page-update-calendar .calendar-band {
  max-width: none;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
}

.page-update-calendar .day-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.batch-body {
  min-width: 0;
}

.batch-scope {
  font-size: 12px;
  line-height: 1.6;
  color: var(--brown);
  margin: 2px 0 0;
}

.batch-link {
  font-size: 13px;
  color: var(--ochre);
  white-space: nowrap;
}

.batch-link:hover {
  color: var(--ink);
}

.page-update-calendar .batch-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.calendar-media {
  margin: 40px 0 0;
}

.calendar-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--wheat);
}

.calendar-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown);
}

.rules {
  margin-top: 48px;
}

.rules h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.rule-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.rule-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.rule-item p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 0;
}

.related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.related-list a {
  font-size: 15px;
  color: var(--ochre);
}

.related-list a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 主题书架
   -------------------------------------------------------------------------- */

.shelf-intro {
  margin-bottom: 32px;
}

.shelf-intro h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.shelf-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 760px;
}

.shelf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 12px;
  font-size: 13px;
  color: var(--moss);
  background: rgba(91, 122, 90, 0.1);
  border-radius: 999px;
}

.shelf-list h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.shelf-layer {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  min-width: 0;
}

.layer-media {
  min-width: 0;
}

.layer-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wheat);
}

.layer-media figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--brown);
}

.layer-body {
  min-width: 0;
}

.layer-no {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ochre);
}

.layer-body h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.layer-facts {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.layer-facts dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--moss);
}

.layer-facts dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.layer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  font-size: 14px;
  color: var(--ochre);
}

.layer-link::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
}

.layer-link:hover {
  color: var(--ink);
}

.shelf-exit {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.shelf-exit h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.shelf-exit p {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 14px;
}

.exit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.exit-links a {
  font-size: 15px;
  color: var(--ochre);
}

.exit-links a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 年度回看
   -------------------------------------------------------------------------- */

.chapter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.chapter-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.chapter-bar a:hover {
  background: var(--wheat);
  border-color: var(--brown);
  color: var(--ochre);
}

.chapter-bar .chapter-num {
  color: var(--ochre);
}

.review-body h2#review-body-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.chapter-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.chapter-block:last-child {
  border-bottom: 0;
}

.chapter-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.chapter-block h2 .chapter-num {
  color: var(--ochre);
}

.chapter-digest {
  font-size: 15px;
  line-height: 1.85;
  color: var(--brown);
  background: var(--wheat);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 16px;
  max-width: 760px;
}

.chapter-points {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.chapter-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.chapter-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ochre);
}

.review-media {
  margin: 0 0 40px;
}

.review-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--wheat);
}

.review-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown);
}

.caliber-note h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.note-bar {
  background: var(--wheat);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 18px;
}

.note-bar p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 0;
}

.caliber-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.caliber-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.caliber-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.check-log {
  margin-top: 44px;
}

.check-log h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.check-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.check-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.7;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-item {
  font-weight: 600;
  color: var(--ink);
}

.check-place {
  color: var(--brown);
}

.check-result {
  color: var(--moss);
}

.related-entry {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-entry h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   pages — 阅读问答
   -------------------------------------------------------------------------- */

.qa-intro {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}

.qa-media {
  min-width: 0;
}

.qa-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wheat);
}

.qa-media figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--brown);
}

.qa-intro-copy {
  min-width: 0;
}

.qa-intro-copy h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.qa-intro-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.qa-group {
  margin-bottom: 40px;
}

.qa-group h2 {
  font-size: 22px;
  margin-bottom: 8px;
  scroll-margin-top: 100px;
}

.group-note {
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 16px;
}

.fix-path {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.fix-path h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.fix-path > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--brown);
  max-width: 760px;
  margin-bottom: 20px;
}

.fix-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fix-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.fix-list h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.fix-list p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 12px;
}

.fix-list a {
  font-size: 14px;
  color: var(--ochre);
}

.fix-list a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 选材与上架
   -------------------------------------------------------------------------- */

.flow-overview {
  margin-bottom: 44px;
}

.flow-overview h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.flow-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.flow-item .flow-num {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ochre);
}

.flow-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.flow-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--brown);
  margin-bottom: 0;
}

.flow-detail h2#detail-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.flow-card {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
  min-width: 0;
}

.role-col {
  min-width: 0;
}

.role-col .flow-num {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ochre);
}

.role-col h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.role-col > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown);
}

.flow-figure {
  margin-top: 14px;
}

.flow-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wheat);
}

.flow-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--brown);
}

.method-col {
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line-soft);
}

.method-col h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.method-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--moss);
  margin-bottom: 4px;
}

.method-col p:not(.method-label) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 14px;
}

.method-col p:not(.method-label) a {
  color: var(--ochre);
}

.method-col p:not(.method-label) a:hover {
  color: var(--ink);
}

.flow-exit {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.flow-exit h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--gutter) 96px;
}

.error-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--ochre);
  margin-bottom: 16px;
}

.error-inner h1 {
  font-size: 28px;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--brown);
  margin-bottom: 32px;
}

.error-routes {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.error-routes h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.error-route-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
}

.error-route-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.error-route-list a:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--white);
}

.error-action {
  margin-bottom: 0;
}

.error-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--ochre);
  border-radius: var(--radius);
  transition: background 160ms ease;
}

.error-home:hover {
  background: var(--ink);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 36px;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .picks-grid {
    gap: 18px;
  }

  .genre-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-band,
  .page-update-calendar .calendar-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .review-chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-steps,
  .flow-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-shell,
  .sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .genre-nav {
    position: static;
  }

  .genre-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .genre-nav a {
    min-height: 40px;
    padding: 6px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .shelf-layer {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .flow-card {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 24px;
  }

  .method-col {
    padding-left: 24px;
  }

  .fix-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .site-header.is-compact .brand {
    font-size: 18px;
  }

  .inner-main {
    padding-top: 18px;
    padding-bottom: 48px;
  }

  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .page-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-lead,
  .page-summary {
    font-size: 15px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .picks {
    padding-bottom: 48px;
  }

  .picks-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .cover-media img {
    aspect-ratio: 16 / 10;
  }

  .genre-index {
    padding: 40px 0;
  }

  .genre-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .calendar-band,
  .page-update-calendar .calendar-band {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-update-calendar .calendar-band {
    padding-top: 0;
    padding-bottom: 0;
  }

  .day-grid,
  .page-update-calendar .day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .day-cell {
    min-height: 104px;
  }

  .batch-row,
  .page-update-calendar .batch-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 12px 4px;
  }

  .batch-field,
  .batch-row .text-link,
  .batch-link {
    grid-column: 2;
    justify-self: start;
  }

  .review-preview {
    padding-bottom: 48px;
  }

  .review-chapters {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .qa-preview {
    padding-bottom: 48px;
  }

  .flow-entry {
    padding: 40px 0;
  }

  .flow-steps,
  .flow-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .related-links {
    padding-top: 16px;
    padding-bottom: 20px;
    gap: 6px 14px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 内页模块 */
  .genre-block {
    padding: 18px;
  }

  .entry-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 12px 4px;
  }

  .entry-vol {
    grid-column: 2;
    justify-self: start;
  }

  .entry-state {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .entry-tip {
    grid-column: 2 / -1;
  }

  .entry-name {
    grid-column: 2;
  }

  .entry-no {
    grid-row: 1 / span 2;
    align-self: start;
  }

  .field-notes {
    margin-top: 32px;
  }

  .next-entry {
    margin-top: 32px;
  }

  .calendar-media {
    margin-top: 28px;
  }

  .calendar-media img,
  .review-media img {
    aspect-ratio: 16 / 9;
  }

  .rules {
    margin-top: 32px;
  }

  .related {
    margin-top: 32px;
  }

  .shelf-layer {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    margin-bottom: 18px;
  }

  .layer-media img {
    aspect-ratio: 16 / 10;
  }

  .layer-facts {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 12px;
  }

  .shelf-exit {
    margin-top: 28px;
  }

  .chapter-bar {
    padding: 8px 0 16px;
    margin-bottom: 24px;
    gap: 6px;
  }

  .chapter-bar a {
    min-height: 38px;
    padding: 5px 10px;
    font-size: 13px;
  }

  .review-body h2#review-body-title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .chapter-block {
    margin-bottom: 28px;
    padding-bottom: 22px;
  }

  .chapter-block h2 {
    font-size: 19px;
  }

  .chapter-digest {
    padding: 12px 14px;
    font-size: 14px;
  }

  .chapter-points li,
  .caliber-list li {
    font-size: 14px;
  }

  .review-media {
    margin-bottom: 28px;
  }

  .check-log {
    margin-top: 32px;
  }

  .check-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px;
  }

  .check-result {
    color: var(--moss);
  }

  .related-entry {
    margin-top: 32px;
  }

  .qa-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    margin-bottom: 32px;
  }

  .qa-media img {
    aspect-ratio: 16 / 10;
  }

  .qa-group {
    margin-bottom: 32px;
  }

  .qa-group h2 {
    font-size: 19px;
  }

  .qa-item summary {
    padding: 14px 42px 14px 14px;
    font-size: 15px;
  }

  .qa-item > p,
  .qa-item .qa-answer {
    padding: 12px 14px 16px;
    font-size: 14px;
  }

  .fix-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .flow-overview {
    margin-bottom: 32px;
  }

  .flow-overview h2,
  .flow-detail h2#detail-title {
    font-size: 19px;
  }

  .flow-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    margin-bottom: 18px;
  }

  .method-col {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .flow-exit {
    margin-top: 28px;
  }

  .error-main {
    padding: 48px var(--gutter) 64px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-inner h1 {
    font-size: 22px;
  }

  .error-lead {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
