/* ==========================================================================
   36漫画 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版
   -------------------------------------------------------------------------- */
:root {
  --bg-page: #fbf7f0;
  --bg-card: #fffdf9;
  --text-main: #233043;
  --text-sub: #6b7a86;
  --zone: #3f7d8c;
  --zone-deep: #2f6270;
  --route: #c96f4a;
  --route-deep: #ac5734;
  --line: #e4dccd;
  --line-strong: #d3c8b4;
  --radius: 8px;
  --radius-sm: 4px;
  --shell: 1120px;
  --pad: 32px;
  --pad-m: 20px;
  --shadow-card: 0 1px 2px rgba(35, 48, 67, 0.05);
  --shadow-lift: 0 6px 16px rgba(35, 48, 67, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--zone-deep);
  text-decoration: none;
}

a:hover {
  color: var(--route-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------------
   layout：页头、导航、抽屉、主容器、页脚、通用区块
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-page);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--route-deep);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: var(--route-deep);
  border-bottom-color: var(--route);
}

.nav-link.is-current {
  color: var(--route-deep);
  border-bottom-color: var(--route);
}

.header-quick {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-link {
  font-size: 14px;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 1px solid var(--line-strong);
}

.quick-link:hover {
  color: var(--route-deep);
  border-bottom-color: var(--route);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  padding: 12px var(--pad-m) 20px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  display: block;
  padding: 12px 4px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--text-main);
}

.drawer-link:hover {
  color: var(--route-deep);
}

.drawer-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.drawer-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-sub);
}

.drawer-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.drawer-quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-page);
}

.drawer-quick-link:hover {
  border-color: var(--route);
  color: var(--route-deep);
}

.site-main {
  display: block;
}

.home-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad) 56px;
}

.inner-main {
  min-width: 0;
}

/* 内页两栏骨架：主内容在前，页内目录在后 */
.page-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
}

.page-layout > .inner-main,
.page-layout > .content-main {
  min-width: 0;
}

.layout-shell {
  max-width: var(--shell);
}

.page-toc {
  position: sticky;
  top: 88px;
  width: 240px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zone-deep);
  letter-spacing: 0.06em;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  display: block;
  padding: 7px 8px 7px 12px;
  font-size: 14px;
  color: var(--text-sub);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.toc-link:hover {
  color: var(--text-main);
  background: rgba(63, 125, 140, 0.07);
}

.toc-link.is-active {
  color: var(--text-main);
  border-left-color: var(--route);
}

.toc-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-sub);
}

.toc-toggle {
  display: none;
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 0 12px;
  text-align: left;
  background: var(--bg-page);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--pad) 0;
  font-size: 13px;
  color: var(--text-sub);
}

.page-layout .breadcrumb,
.inner-main .breadcrumb {
  max-width: none;
  margin: 0 0 14px;
  padding: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--text-sub);
}

.breadcrumb-item a:hover {
  color: var(--route-deep);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--text-main);
}

/* 页面标题区：全站统一 */
.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.page-head,
.page-heading,
.page-title-block,
.page-title > .page-title-inner {
  margin-bottom: 26px;
}

.page-title-block,
.page-title > .page-title-inner {
  padding-top: 12px;
}

.page-tag,
.page-label,
.page-heading .page-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zone-deep);
  letter-spacing: 0.08em;
}

.page-lead {
  max-width: 720px;
  font-size: 17px;
  color: var(--text-sub);
}

/* 通用区块 */
.section {
  margin-bottom: 48px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.section > h2 {
  font-size: 22px;
}

.section-desc,
.section-intro,
.section-lead {
  max-width: 720px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.section-more {
  margin-top: 18px;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--route-deep);
  border-bottom: 1px solid var(--line-strong);
}

.text-link:hover {
  border-bottom-color: var(--route);
}

/* 相关入口条 */
.section-related,
.related-bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--pad) 40px;
  border-top: 1px solid var(--line);
}

.related-title {
  margin-bottom: 14px;
  font-size: 18px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related-item {
  display: block;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-link {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.related-link:hover {
  color: var(--route-deep);
}

.related-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-sub);
}

.related-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--text-sub);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.related-links-item:hover {
  border-color: var(--route);
  color: var(--route-deep);
}

/* 页脚 */
.site-footer {
  background: #f4ede1;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--pad) 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-sub);
}

.footer-nav a:hover {
  color: var(--route-deep);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   components：卡片、徽标、时间线、清单、表格、折叠块
   -------------------------------------------------------------------------- */
/* 图片容器统一约束 */
.hero-visual img,
.coverwall-figure img,
.pick-figure img,
.feature-figure img,
.genre-media img,
.feature-media img,
.cover-media img,
.pick-media img,
.rhythm-figure img,
.route-figure img,
.notes-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-visual,
.coverwall-figure,
.pick-figure,
.feature-figure,
.genre-media,
.feature-media,
.cover-media,
.pick-media,
.rhythm-figure,
.route-figure,
.notes-figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #eee6d8;
}

/* 封面卡（首页精选 + 本周入选名单） */
.pick-card,
.cover-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pick-card:hover,
.cover-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.pick-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  color: var(--text-main);
}

.pick-figure {
  aspect-ratio: 3 / 4;
  margin-bottom: 10px;
}

.pick-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--zone-deep);
  letter-spacing: 0.06em;
}

.pick-point {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

.cover-media {
  aspect-ratio: 3 / 4;
  margin: 12px 12px 0;
}

.cover-body {
  padding: 12px 14px 16px;
}

.cover-body h3 {
  font-size: 16px;
}

.cover-body p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

.cover-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--zone-deep);
}

/* 题材分区条（首页速览） */
.genre-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.genre-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.genre-badge {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(63, 125, 140, 0.12);
  color: var(--zone-deep);
  font-size: 14px;
  font-weight: 700;
}

.genre-body {
  min-width: 0;
}

.genre-name {
  font-size: 16px;
}

.genre-desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-sub);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.genre-tags li,
.genre-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--zone-deep);
  background: rgba(63, 125, 140, 0.1);
  border-radius: var(--radius-sm);
}

/* 一周节奏条 */
.rhythm-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.rhythm-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-name {
  font-size: 14px;
  font-weight: 600;
}

.rhythm-level {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

.rhythm-low {
  background: #cfd9d6;
}

.rhythm-mid {
  background: #8fb3b6;
}

.rhythm-high {
  background: var(--route);
}

.rhythm-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.rhythm-note {
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-note h3 {
  font-size: 16px;
}

.rhythm-note p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

/* 专题卡 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-main);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-link:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.feature-figure,
.feature-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
}

.feature-name {
  font-size: 16px;
}

.feature-meta {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

.feature-level,
.feature-note {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--route-deep);
  background: rgba(201, 111, 74, 0.12);
  border-radius: var(--radius-sm);
}

.feature-note {
  color: var(--text-sub);
  background: transparent;
  padding: 0;
  margin-top: 6px;
  font-size: 14px;
}

/* 时间线（首页速览 + 入门路线总览） */
.route-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-node {
  position: relative;
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.route-node::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -16px;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

.route-node:last-child::after {
  display: none;
}

.route-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--route);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.route-name {
  font-size: 16px;
}

.route-goal {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

/* 首页内容说明入口 */
.notes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.notes-item {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notes-question {
  font-size: 16px;
}

.notes-answer {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

/* 勾选式清单 */
.checklist-group {
  margin-bottom: 24px;
}

.checklist-group h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.checklist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  font-size: 15px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  border: 2px solid var(--zone);
  border-radius: 3px;
}

/* 表格 */
.rhythm-table {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rhythm-table caption {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--text-sub);
}

.rhythm-table th,
.rhythm-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  border-top: 1px solid var(--line);
}

.rhythm-table thead th {
  background: rgba(63, 125, 140, 0.08);
  color: var(--zone-deep);
  font-weight: 600;
}

.rhythm-table tbody th {
  font-weight: 600;
}

/* 折叠问答 */
.faq-group {
  margin-bottom: 26px;
}

.faq-group-title {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--zone-deep);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--route);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  max-width: 680px;
  font-size: 15px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
  padding: 44px 0 48px;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--zone-deep);
  letter-spacing: 0.1em;
}

.hero h1 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.3;
}

.hero-lead {
  max-width: 560px;
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-sub);
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-scope li {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--zone-deep);
  background: rgba(63, 125, 140, 0.1);
  border-radius: var(--radius-sm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--route);
  color: #fff;
}

.btn-primary:hover {
  background: var(--route-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--route);
  color: var(--route-deep);
}

.hero-visual {
  aspect-ratio: 16 / 11;
}

.hero-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
}

.coverwall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.coverwall-item {
  min-width: 0;
}

.coverwall-figure {
  aspect-ratio: 4 / 5;
}

.coverwall-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* --------------------------------------------------------------------------
   pages：题材地图
   -------------------------------------------------------------------------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.genre-detail {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.genre-media {
  aspect-ratio: 4 / 3;
}

.genre-body {
  min-width: 0;
}

.genre-body h3 {
  font-size: 18px;
}

.genre-reader,
.genre-direction,
.genre-order {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.genre-order {
  color: var(--route-deep);
}

.pairing-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pairing-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pairing-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.pairing-name {
  color: var(--zone-deep);
}

.pairing-link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-main);
}

.pairing-link:hover {
  color: var(--route-deep);
  border-bottom-color: var(--route);
}

.pairing-body {
  min-width: 0;
  font-size: 15px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：更新日历
   -------------------------------------------------------------------------- */
.year-jump {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

.year-jump-item {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-main);
}

.year-jump-item:hover {
  border-color: var(--route);
}

.year-jump-item.is-current {
  border-color: var(--route);
  background: rgba(201, 111, 74, 0.08);
}

.year-jump-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-sub);
}

.month-index {
  margin-top: 8px;
}

.year-block {
  margin-top: 26px;
}

.year-block-title {
  margin-bottom: 14px;
  font-size: 18px;
  color: var(--zone-deep);
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.month-card {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.month-card-title {
  font-size: 16px;
}

.month-density,
.month-zones,
.month-summary {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.month-density {
  color: var(--route-deep);
  font-weight: 600;
}

.weekly-rhythm {
  margin-top: 34px;
}

.rhythm-figure {
  aspect-ratio: 16 / 7;
  margin-top: 18px;
}

.rhythm-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.dense-zones {
  margin-top: 34px;
}

.zone-bar-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(200px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.zone-bar-label {
  font-size: 15px;
  font-weight: 600;
}

.zone-bar-track {
  height: 10px;
  border-radius: 5px;
  background: var(--line);
  overflow: hidden;
}

.zone-bar-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #8fb3b6;
}

.zone-bar-fill--high {
  width: 88%;
  background: var(--route);
}

.zone-bar-fill--mid {
  width: 62%;
  background: #8fb3b6;
}

.zone-bar-fill--low {
  width: 38%;
  background: #cfd9d6;
}

.zone-bar-note {
  min-width: 0;
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：本周精选
   -------------------------------------------------------------------------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.picks-roster-row .cover-card {
  min-width: 0;
}

.group-block {
  margin-bottom: 26px;
}

.group-title {
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--zone-deep);
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pick-card {
  min-width: 0;
}

.group-cards .pick-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.pick-media {
  aspect-ratio: 3 / 4;
}

.pick-body {
  min-width: 0;
}

.pick-reason {
  font-size: 15px;
}

.pick-audience {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.rule-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rule-col {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rule-col h3 {
  font-size: 16px;
}

.rule-col p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.next-step {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.next-desc {
  font-size: 15px;
  color: var(--text-sub);
}

.next-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--route-deep);
  border-bottom: 1px solid var(--line-strong);
}

.next-link:hover {
  border-bottom-color: var(--route);
}

/* --------------------------------------------------------------------------
   pages：精选专题
   -------------------------------------------------------------------------- */
.feature-overview .feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-block {
  padding: 18px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-block-name {
  font-size: 18px;
}

.feature-block-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.feature-block-part {
  min-width: 0;
}

.feature-block-part h4 {
  font-size: 15px;
  color: var(--zone-deep);
}

.feature-block-part p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-sub);
}

.extend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extend-item {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.extend-text {
  font-size: 15px;
  color: var(--text-sub);
}

.extend-text a {
  color: var(--route-deep);
  border-bottom: 1px solid var(--line-strong);
}

.extend-text a:hover {
  border-bottom-color: var(--route);
}

/* --------------------------------------------------------------------------
   pages：入门路线
   -------------------------------------------------------------------------- */
.route-overview .route-timeline {
  margin-top: 22px;
}

.route-figure {
  aspect-ratio: 16 / 7;
}

.route-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.stage-block {
  padding: 18px;
  margin-bottom: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage-block h3 {
  font-size: 18px;
}

.stage-goal {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.stage-fields {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 16px;
}

.stage-fields dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--zone-deep);
}

.stage-fields dd {
  min-width: 0;
  font-size: 15px;
  color: var(--text-sub);
}

.stage-fields dd a {
  color: var(--route-deep);
  border-bottom: 1px solid var(--line-strong);
}

.stage-checklist .checklist-group {
  margin-bottom: 22px;
}

.after-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.after-card {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.after-card h3 {
  font-size: 16px;
}

.after-card h3 a {
  color: var(--text-main);
}

.after-card h3 a:hover {
  color: var(--route-deep);
}

.after-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：内容说明
   -------------------------------------------------------------------------- */
.notes-point-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.notes-point {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notes-point h3 {
  font-size: 16px;
}

.notes-point p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.notes-point p a {
  color: var(--route-deep);
  border-bottom: 1px solid var(--line-strong);
}

.notes-figure {
  aspect-ratio: 16 / 7;
  margin-bottom: 20px;
}

.notes-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scope-col {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-col h3 {
  font-size: 16px;
}

.scope-col--in h3 {
  color: var(--zone-deep);
}

.scope-col--out h3 {
  color: var(--route-deep);
}

.scope-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: var(--text-sub);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.scope-col--in .scope-list li::before {
  background: var(--zone);
}

.scope-col--out .scope-list li::before {
  background: var(--route);
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feedback-step {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-step h3 {
  font-size: 16px;
}

.feedback-step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px var(--pad) 72px;
}

.error-hero {
  max-width: 640px;
}

.error-code {
  font-size: 13px;
  font-weight: 600;
  color: var(--route-deep);
  letter-spacing: 0.1em;
}

.error-hero h1 {
  margin-top: 10px;
  font-size: 30px;
}

.error-lead {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-sub);
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--route);
  border-radius: var(--radius-sm);
}

.error-home-link:hover {
  background: var(--route-deep);
  color: #fff;
}

.error-paths {
  margin-top: 52px;
}

.error-paths h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.error-path-item {
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-path-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.error-path-link:hover {
  color: var(--route-deep);
}

.error-path-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   responsive：1024px 与 720px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --pad: 24px;
  }

  .header-inner {
    gap: 18px;
  }

  .nav-list {
    gap: 18px;
  }

  .header-quick {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0 40px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .genre-list,
  .feature-grid,
  .notes-list,
  .rhythm-notes,
  .rule-columns,
  .after-route-grid,
  .feedback-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-node::after {
    display: none;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-toc {
    position: static;
    width: auto;
    order: 2;
  }

  .genre-detail {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .pairing-row {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .feature-block-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  body.site-body {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-lead {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .coverwall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .genre-list,
  .feature-grid,
  .notes-list,
  .rhythm-notes,
  .rule-columns,
  .after-route-grid,
  .feedback-steps,
  .scope-columns,
  .notes-point-list,
  .next-steps,
  .group-cards,
  .feature-block-body,
  .checklist-list,
  .month-grid,
  .genre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .picks-grid,
  .card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .route-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-node {
    padding: 14px;
  }

  .rhythm-week {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .rhythm-day {
    flex: 0 0 84px;
  }

  .year-jump {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .year-jump-item {
    flex: 0 0 220px;
  }

  .genre-detail,
  .pairing-row,
  .group-cards .pick-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-media,
  .pick-media {
    aspect-ratio: 16 / 10;
  }

  .zone-bar-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .stage-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .stage-fields dd {
    margin-bottom: 8px;
  }

  .rhythm-table th,
  .rhythm-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .page-toc {
    padding: 14px;
  }

  .toc-toggle {
    display: block;
  }

  .toc-list {
    margin-top: 6px;
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-related,
  .related-bar {
    padding: 22px var(--pad) 32px;
  }

  .error-main {
    padding: 44px var(--pad) 56px;
  }

  .error-hero h1 {
    font-size: 24px;
  }

  .footer-nav {
    gap: 14px;
  }
}

/* 尊重系统减弱动效设置 */
@media (prefers-reduced-motion: reduce) {
  .pick-card,
  .cover-card,
  .feature-link,
  .btn,
  .nav-link {
    transition: none;
  }

  .pick-card:hover,
  .cover-card:hover,
  .feature-link:hover {
    transform: none;
  }
}
