/* ==========================================================================
   汗汗漫画 niupijin.com — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base — 变量、重置、排版
   -------------------------------------------------------------------------- */
:root {
  --bg-page: #f7f5f0;
  --bg-panel: #ffffff;
  --bg-soft: #efece4;
  --text-main: #1f2a44;
  --text-sub: #6b7280;
  --line: #e2ded4;
  --line-strong: #cfc9bb;
  --brand: #1f2a44;
  --accent: #e07a3f;
  --c-spirit: #e07a3f;
  --c-youth: #2f8f83;
  --c-fantasy: #6b5aa6;
  --c-city: #b4553f;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 68, 0.06);
  --shadow-md: 0 4px 14px rgba(31, 42, 68, 0.08);
  --container: 1180px;
  --container-narrow: 860px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout — 骨架：header / nav / main / footer / 容器
   -------------------------------------------------------------------------- */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 60;
  padding: 10px 16px;
  background-color: var(--text-main);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(247, 245, 240, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--text-main);
  box-shadow: inset 0 0 0 3px var(--bg-page), inset 0 0 0 6px var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.brand-slogan {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.4;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--text-main);
  font-size: 15px;
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item a:focus-visible {
  color: var(--accent);
}

.nav-item.is-current a,
.nav-item a.is-current {
  border-bottom-color: var(--accent);
  color: var(--text-main);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--text-main);
}

/* 主内容 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.site-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--text-sub);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 700;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 24px;
}

.page-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.page-lead {
  max-width: 760px;
  margin: 0 0 8px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.8;
}

.page-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

/* 页脚 */
.site-footer {
  background-color: var(--text-main);
  color: #e8e6e0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-intro {
  margin: 0 0 10px;
  color: #c9c7c0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-copy {
  margin: 0;
  color: #9a9891;
  font-size: 13px;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-list {
  margin: 0;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  color: #c9c7c0;
  font-size: 14px;
  line-height: 1.9;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #fff;
}

/* --------------------------------------------------------------------------
   components — 通用组件
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--text-main);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent);
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--text-main);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* 区块通用头部 */
.section-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head-text {
  min-width: 0;
}

.section-head h2,
.section-head-text h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.section-desc {
  margin: 0;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

.section-lead {
  margin: 0 0 16px;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

.section-more {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.section-more:hover,
.section-more:focus-visible {
  color: var(--text-main);
}

.section {
  margin-bottom: 48px;
}

/* 标签 */
.tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background-color: var(--bg-soft);
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.7;
}

.tag--spirit {
  border-color: var(--c-spirit);
  color: var(--c-spirit);
}

.tag--youth {
  border-color: var(--c-youth);
  color: var(--c-youth);
}

.tag--fantasy {
  border-color: var(--c-fantasy);
  color: var(--c-fantasy);
}

.tag--city {
  border-color: var(--c-city);
  color: var(--c-city);
}

/* 折叠问答 */
.faq-list {
  margin: 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--line);
}

.faq-answer {
  padding: 12px 16px 4px;
}

.faq-answer p {
  margin: 0 0 10px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */
.home-main {
  display: block;
}

/* 首屏 */
.hero {
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 44px;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.hero-text h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.28;
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 560px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.path-menu {
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.path-item {
  min-width: 0;
}

.path-item a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.path-item a:hover,
.path-item a:focus-visible {
  border-color: var(--accent);
}

.path-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.path-desc {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--bg-panel);
}

.hero-caption {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 13px;
}

/* 快速入口路线条 */
.quick-route {
  padding: 44px 0 8px;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.route-node {
  min-width: 0;
}

.route-node a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.route-node a:hover,
.route-node a:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.route-node--genre a {
  border-left-color: var(--c-spirit);
}

.route-node--updates a {
  border-left-color: var(--c-youth);
}

.route-node--ranking a {
  border-left-color: var(--c-fantasy);
}

.route-node--guide a {
  border-left-color: var(--c-city);
}

.route-step {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
}

.route-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.route-desc {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* 最近更新封面墙 */
.update-wall {
  padding: 44px 0;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.cover-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.cover-card:hover {
  box-shadow: var(--shadow-md);
}

.cover-card--spirit {
  border-top-color: var(--c-spirit);
}

.cover-card--youth {
  border-top-color: var(--c-youth);
}

.cover-card--fantasy {
  border-top-color: var(--c-fantasy);
}

.cover-card--city {
  border-top-color: var(--c-city);
}

.cover-figure {
  margin: 0;
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: var(--bg-soft);
}

.cover-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.cover-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.cover-tags {
  margin: 0;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.cover-batch {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

/* 人气榜维度三栏 */
.ranking-columns {
  padding: 44px 0;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.rank-column {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.rank-column--genre {
  border-top: 4px solid var(--c-spirit);
}

.rank-column--active {
  border-top: 4px solid var(--c-youth);
}

.rank-column--follow {
  border-top: 4px solid var(--c-fantasy);
}

.column-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.column-desc {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.75;
}

.column-list {
  margin: 0;
}

.column-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.column-list li:last-child {
  border-bottom: 0;
}

/* 题材分区索引表 */
.genre-index {
  padding: 44px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
}

.genre-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.genre-table caption {
  padding: 12px 16px;
  color: var(--text-sub);
  font-size: 14px;
  text-align: left;
}

.genre-table th,
.genre-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.genre-table thead th {
  background-color: var(--bg-soft);
  font-weight: 700;
  white-space: nowrap;
}

.genre-table tbody tr:last-child th,
.genre-table tbody tr:last-child td {
  border-bottom: 0;
}

.genre-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

/* 更新路线批次节点 */
.update-route {
  padding: 44px 0;
}

.batch-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.batch-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--c-fantasy);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.batch-no {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.batch-date {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.batch-genre {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

/* 阅读指南流程纵线 */
.guide-flow {
  padding: 44px 0;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.flow-step {
  position: relative;
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background-color: var(--text-main);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.flow-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.flow-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.75;
}

/* 首页答疑入口 */
.faq-entry {
  padding: 44px 0;
}

/* 站点说明条 */
.about-strip {
  padding: 0 0 52px;
}

.about-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
}

.about-strip-text {
  margin: 0;
  min-width: 0;
  max-width: 780px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages — 内页通用布局（双栏 / 窄容器）
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.page-layout .main-content {
  min-width: 0;
}

/* 题材地图页：地图面板 */
.genre-map {
  margin-bottom: 40px;
}

.map-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.map-legend {
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.map-legend-title,
.map-route-title {
  margin: 0 0 10px;
  font-size: 16px;
}

.legend-list {
  margin: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
}

.legend-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: var(--line-strong);
}

.legend-item--spirit .legend-dot {
  background-color: var(--c-spirit);
}

.legend-item--youth .legend-dot {
  background-color: var(--c-youth);
}

.legend-item--fantasy .legend-dot {
  background-color: var(--c-fantasy);
}

.legend-item--city .legend-dot {
  background-color: var(--c-city);
}

.map-route {
  min-width: 0;
}

.map-route .route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-route .route-node {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.map-route .route-node:nth-child(4n + 1) {
  border-left-color: var(--c-spirit);
}

.map-route .route-node:nth-child(4n + 2) {
  border-left-color: var(--c-youth);
}

.map-route .route-node:nth-child(4n + 3) {
  border-left-color: var(--c-fantasy);
}

.map-route .route-node:nth-child(4n + 4) {
  border-left-color: var(--c-city);
}

.map-route .route-step {
  display: block;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
}

.map-route .route-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.map-route .route-desc {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.map-figure {
  margin-top: 18px;
}

.map-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

/* 题材地图页：分区说明列表 */
.genre-list {
  margin-bottom: 40px;
}

.genre-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.genre-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease;
}

.genre-item:hover {
  box-shadow: var(--shadow-md);
}

.genre-item--spirit {
  border-left-color: var(--c-spirit);
}

.genre-item--youth {
  border-left-color: var(--c-youth);
}

.genre-item--fantasy {
  border-left-color: var(--c-fantasy);
}

.genre-item--city {
  border-left-color: var(--c-city);
}

.genre-name {
  margin: 0 0 6px;
  font-size: 19px;
}

.genre-tags {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.genre-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

/* 题材地图页：关系与建议 */
.genre-relation {
  margin-bottom: 40px;
}

.relation-text {
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.relation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.relation-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  font-size: 15px;
  font-weight: 700;
}

.relation-links a:hover,
.relation-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.genre-advice {
  margin-bottom: 40px;
}

.advice-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advice-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.advice-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.advice-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

/* 侧栏 */
.sidebar {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.sidebar-intro {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.75;
}

.sidebar-links {
  margin: 0;
}

.sidebar-links li {
  border-bottom: 1px solid var(--line);
}

.sidebar-links li:last-child {
  border-bottom: 0;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
}

.sidebar-links a:hover,
.sidebar-links a:focus-visible {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages — 更新路线页
   -------------------------------------------------------------------------- */
.batch-route .batch-track {
  margin-bottom: 14px;
}

.batch-note {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.genre-flows .flows-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-col {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.flow-col--fantasy {
  border-top-color: var(--c-fantasy);
}

.flow-col--youth {
  border-top-color: var(--c-youth);
}

.flow-col--mystery {
  border-top-color: var(--c-spirit);
}

.flow-col--urban {
  border-top-color: var(--c-city);
}

.genre-flows .flow-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.genre-flows .flow-list {
  margin: 0;
}

.genre-flows .flow-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.genre-flows .flow-item:last-child {
  border-bottom: 0;
}

.genre-flows .flow-work {
  min-width: 0;
  font-weight: 700;
}

.genre-flows .flow-batch {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
}

.follow-method .method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.follow-method .method-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.follow-method .method-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.follow-method .method-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.follow-method .method-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.route-explanation .explain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.route-explanation .explain-text {
  min-width: 0;
}

.route-explanation .explain-text p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.route-explanation .explain-figure {
  min-width: 0;
}

.route-explanation .explain-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.related-entry .related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.related-entry .related-item {
  min-width: 0;
}

.related-entry .related-item a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.related-entry .related-item a:hover,
.related-entry .related-item a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages — 人气榜
   -------------------------------------------------------------------------- */
.page-title--ranking {
  margin-bottom: 24px;
}

.ranking-dimension .dimension-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dimension-col {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.dimension-col--genre {
  border-top-color: var(--c-spirit);
}

.dimension-col--active {
  border-top-color: var(--c-youth);
}

.dimension-col--follow {
  border-top-color: var(--c-fantasy);
}

.dimension-name {
  margin: 0 0 8px;
  font-size: 18px;
}

.dimension-text {
  margin: 0 0 8px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.dimension-note {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.ranking-block {
  margin-bottom: 44px;
}

.ranking-figure {
  margin-bottom: 18px;
}

.ranking-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.rank-list {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  overflow: hidden;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 130px 110px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-item:hover {
  background-color: var(--bg-soft);
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.rank-title {
  min-width: 0;
  font-weight: 700;
}

.rank-genre,
.rank-follow {
  color: var(--text-sub);
  font-size: 14px;
}

.rank-mark {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.ranking-note .note-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 16px;
}

.ranking-note .note-step {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.ranking-note .note-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.ranking-note .note-text {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.ranking-note .note-tail {
  margin: 0;
  font-size: 15px;
}

.ranking-note .note-tail a {
  color: var(--accent);
  font-weight: 700;
}

.ranking-note .note-tail a:hover,
.ranking-note .note-tail a:focus-visible {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   pages — 阅读指南
   -------------------------------------------------------------------------- */
.layout-shell {
  min-width: 0;
}

.layout-shell--narrow {
  max-width: var(--container-narrow);
}

.guide-block {
  margin-bottom: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.guide-block h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.guide-intro {
  margin: 0 0 16px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.guide-goal .goal-list {
  margin: 0;
}

.guide-goal .goal-item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.guide-goal .goal-item:last-child {
  border-bottom: 0;
}

.guide-goal .goal-name {
  flex: 0 0 150px;
  font-weight: 700;
}

.guide-goal .goal-desc {
  flex: 1 1 240px;
  min-width: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.guide-requirements .requirement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.guide-requirements .requirement-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.guide-requirements .requirement-name {
  margin: 0 0 6px;
  font-size: 17px;
}

.guide-requirements .requirement-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.guide-steps .step-list {
  margin: 0;
}

.guide-steps .step-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.guide-steps .step-item:last-child {
  border-bottom: 0;
}

.guide-steps .step-index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--text-main);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.guide-steps .step-body {
  min-width: 0;
}

.guide-steps .step-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.guide-steps .step-desc {
  margin: 0 0 8px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.guide-steps .step-tip {
  margin: 0;
  padding: 8px 12px;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-soft);
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.7;
}

.guide-check .check-list {
  margin: 0 0 16px;
}

.guide-check .check-item {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.guide-check .check-item:last-child {
  border-bottom: 0;
}

.guide-check .check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-youth);
  border-radius: 3px;
}

.guide-check .check-next {
  margin: 0;
  font-size: 15px;
}

.guide-check .check-next a {
  color: var(--accent);
  font-weight: 700;
  margin-right: 12px;
}

.guide-check .check-next a:hover,
.guide-check .check-next a:focus-visible {
  color: var(--text-main);
}

.guide-figure {
  margin: 0 0 40px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

/* --------------------------------------------------------------------------
   pages — 追更答疑
   -------------------------------------------------------------------------- */
.faq-group {
  margin-bottom: 40px;
}

.faq-group-head {
  margin-bottom: 14px;
}

.faq-group-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.faq-group-desc {
  margin: 0;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

.faq-group-media {
  margin: 0 0 16px;
}

.faq-group-media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  font-size: 14px;
  font-weight: 700;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages — 站点说明
   -------------------------------------------------------------------------- */
.about-positioning,
.about-scope,
.about-rules,
.about-feedback {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.about-positioning {
  border-top: 0;
  padding-top: 8px;
}

.about-positioning h2,
.about-scope h2,
.about-rules h2,
.about-feedback h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.positioning-text {
  max-width: 820px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.positioning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.tag-item {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background-color: var(--bg-panel);
  color: var(--text-main);
  font-size: 13px;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scope-col {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.scope-col h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.scope-col p {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.scope-col a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.scope-col a:hover,
.scope-col a:focus-visible {
  color: var(--text-main);
}

.rules-list {
  margin: 0;
}

.rule-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rule-item:last-child {
  border-bottom: 0;
}

.rule-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rule-item p {
  margin: 0;
  max-width: 820px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.feedback-text {
  max-width: 820px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.feedback-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feedback-path {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.feedback-path h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feedback-path p {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.78;
}

.feedback-path a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.feedback-path a:hover,
.feedback-path a:focus-visible {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.error-code {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.error-panel h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.error-text {
  margin: 0 0 20px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   responsive — 960px / 640px
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-item.is-current a,
  .nav-item a.is-current {
    border-bottom-color: var(--line);
    color: var(--accent);
  }

  .inner-main,
  .site-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title,
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 32px 16px 30px;
  }

  .path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .column-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .map-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-legend {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .genre-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .advice-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-flows .flows-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .follow-method .method-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-explanation .explain-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-entry .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-dimension .dimension-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-item {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 4px;
  }

  .rank-genre,
  .rank-follow,
  .rank-mark {
    grid-column: 2;
  }

  .ranking-note .note-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-requirements .requirement-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 32px 16px 26px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand-slogan {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2,
  .section-head-text h2,
  .faq-group-head h2,
  .about-positioning h2,
  .about-scope h2,
  .about-rules h2,
  .about-feedback h2 {
    font-size: 22px;
  }

  .hero-eyebrow {
    font-size: 13px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-title {
    font-size: 15px;
  }

  .batch-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-flows .flows-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-entry .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-block {
    padding: 18px 16px;
  }

  .guide-goal .goal-name {
    flex: 0 0 100%;
  }

  .guide-steps .step-item {
    gap: 10px;
  }

  .rank-item {
    padding: 10px 12px;
  }

  .about-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-col--brand {
    grid-column: auto;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-code {
    font-size: 36px;
  }
}
