/* ==========================================================================
   光棍影院111 · 全站样式表
   结构：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版基础
   -------------------------------------------------------------------------- */
:root {
  --line-blue: #1a5fb4;
  --line-blue-dark: #14498c;
  --line-orange: #e66100;
  --bg-page: #f6f7f9;
  --bg-card: #ffffff;
  --text-main: #1c1c1c;
  --text-soft: #5b6169;
  --text-faint: #7c838c;
  --border-line: #d4d7dc;
  --border-soft: #e6e9ed;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 2px rgba(28, 28, 28, 0.06);
  --shadow-lift: 0 6px 16px rgba(28, 28, 28, 0.1);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --wrap-wide: 1080px;
  --wrap-narrow: 1080px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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;
}

a {
  color: var(--line-blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--line-orange);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--line-orange);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout：页头、导航、主容器、面包屑、页脚
   -------------------------------------------------------------------------- */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 10px;
  height: 22px;
  border-radius: 3px;
  background: var(--line-blue);
  box-shadow: inset 0 -8px 0 var(--line-orange);
}

.brand:hover {
  color: var(--line-blue);
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--line-blue);
  background: #eef3fa;
}

.nav-link.is-current {
  color: var(--line-blue);
  font-weight: 600;
  border-bottom-color: var(--line-orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text-main);
}

.nav-toggle::before {
  top: 15px;
  box-shadow: 0 6px 0 var(--text-main);
}

.nav-toggle::after {
  bottom: 15px;
}

/* 主容器 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 20px var(--gutter) 56px;
}

.home-main {
  padding-bottom: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-faint);
  padding: 4px 0 12px;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--line-blue);
}

.breadcrumb-sep {
  color: var(--border-line);
}

.breadcrumb-current {
  color: var(--text-main);
}

/* 页面标题区 */
.page-header {
  padding: 4px 0 22px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
}

.page-description {
  margin-top: 10px;
  max-width: 780px;
  color: var(--text-soft);
  font-size: 15px;
}

/* 通用 section 骨架 */
.section {
  margin-bottom: 44px;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-main);
  padding-left: 12px;
  border-left: 4px solid var(--line-blue);
  line-height: 1.3;
}

.section-note,
.section-lead,
.section-intro {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
  max-width: 820px;
}

/* 页脚 */
.site-footer {
  flex-shrink: 0;
  background: #1f2328;
  color: #c9ced6;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 28px;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid #333941;
}

.footer-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  color: #a9b1bb;
  font-size: 13px;
  line-height: 1.6;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-brand {
  margin-top: 22px;
  color: #e4e8ee;
  font-size: 14px;
}

.footer-copy {
  margin-top: 6px;
  color: #868e99;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   components：按钮、频道行、卡片、步骤、表格、FAQ
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--line-blue);
  color: #ffffff;
  border-color: var(--line-blue);
}

.btn-primary:hover {
  background: var(--line-blue-dark);
  border-color: var(--line-blue-dark);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--line-blue);
  border-color: var(--line-blue);
}

.btn-ghost:hover {
  background: #eef3fa;
  color: var(--line-blue-dark);
  border-color: var(--line-blue-dark);
}

/* 频道行（首页 / 频道分类页共用） */
.channel-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-line);
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
  transition: background 0.18s ease;
}

.channel-row:hover {
  background: #eef3fa;
}

.channel-no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--line-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.channel-body {
  flex: 1 1 auto;
  min-width: 220px;
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
}

.channel-name a {
  color: var(--text-main);
}

.channel-name a:hover {
  color: var(--line-blue);
}

.channel-trend,
.channel-desc {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.channel-tag {
  flex: 0 0 auto;
  display: inline-block;
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--line-blue);
  background: #e9f0fa;
  border: 1px solid #cfe0f5;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.channel-enter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 13.5px;
  color: var(--line-blue);
  white-space: nowrap;
}

.channel-enter::after {
  content: "→";
  font-family: var(--font-mono);
}

.channel-enter:hover {
  color: var(--line-orange);
}

/* 图片容器 */
.channel-figure,
.guide-figure,
.field-visual {
  margin-top: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.channel-figure img,
.guide-figure img,
.field-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #e9ebee;
}

.channel-figure figcaption,
.guide-figure-caption,
.field-visual-caption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--border-soft);
}

/* 步骤清单（首页 / 指引页共用基础） */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: none;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.step-no,
.step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--line-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.step-body {
  flex: 1 1 auto;
  min-width: 220px;
}

.step-name {
  font-size: 16px;
  font-weight: 600;
}

.step-desc,
.step-text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--line-blue);
}

.link-more::after {
  content: "→";
  font-family: var(--font-mono);
}

.link-more:hover {
  color: var(--line-orange);
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
}

.fields-table {
  min-width: 560px;
  font-size: 14px;
}

.fields-table th,
.fields-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.fields-table thead th {
  background: #eef3fa;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border-line);
}

.fields-table tbody tr:last-child td {
  border-bottom: none;
}

.fields-table tbody tr:hover {
  background: #fafbfd;
}

.field-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--line-blue);
  white-space: nowrap;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 4px 18px;
}

.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 14px 26px 14px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--line-orange);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  color: var(--text-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */
.home-main .hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 40px;
  align-items: center;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 44px var(--gutter) 40px;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--line-orange);
  background: #fdf0e6;
  border: 1px solid #f6d3b6;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-desc {
  margin-top: 16px;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 15.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-line);
  background: #e9ebee;
}

.hero-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* 首页频道总览 */
.channels-overview,
.collections-preview,
.guide-steps {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 44px var(--gutter) 0;
}

/* 首页片单速览 */
.collection-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #b9c3d0;
}

.collection-name {
  font-size: 17px;
  font-weight: 600;
}

.collection-name a {
  color: var(--text-main);
}

.collection-name a:hover {
  color: var(--line-blue);
}

.collection-scope {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
}

.collection-points {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.collection-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-orange);
}

.guide-more {
  margin-top: 22px;
}

/* 首页底部留白 */
.home-main > .guide-steps {
  padding-bottom: 56px;
}

/* --------------------------------------------------------------------------
   pages：频道分类页
   -------------------------------------------------------------------------- */
.channels-list .channel-rows {
  border-top: 1px solid var(--border-line);
}

.channel-advice .advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.advice-card {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-left: 4px solid var(--line-blue);
  border-radius: var(--radius-md);
}

.advice-title {
  font-size: 16px;
  font-weight: 600;
}

.advice-desc {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.advice-pick {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-line);
  font-size: 13.5px;
  color: var(--line-blue);
}

.advice-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 14px;
}

.advice-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--line-blue);
}

.advice-note a:hover {
  color: var(--line-orange);
}

/* --------------------------------------------------------------------------
   pages：专题片单页
   -------------------------------------------------------------------------- */
.collections-index .index-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-line);
}

.index-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
}

.index-row:hover {
  background: #eef3fa;
}

.index-no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--line-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
}

.index-body {
  flex: 1 1 auto;
  min-width: 220px;
}

.index-name {
  font-size: 16px;
  font-weight: 600;
}

.index-name a {
  color: var(--text-main);
}

.index-name a:hover {
  color: var(--line-blue);
}

.index-topic {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.index-tag {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--line-orange);
  background: #fdf0e6;
  border: 1px solid #f6d3b6;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.collection-scope .scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scope-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
}

.scope-media {
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e9ebee;
}

.scope-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.scope-name {
  font-size: 16.5px;
  font-weight: 600;
}

.scope-range,
.scope-points {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13.8px;
}

.scope-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  font-size: 12px;
  color: var(--line-blue);
  background: #e9f0fa;
  border-radius: var(--radius-sm);
}

.scope-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-line);
  font-size: 13.5px;
}

.scope-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--line-blue);
}

.scope-meta a:hover {
  color: var(--line-orange);
}

.collection-tips .tips-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.tips-main {
  min-width: 0;
}

.tips-main .tips-text {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 14.5px;
}

.tips-aside {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
}

.aside-title {
  font-size: 15.5px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.aside-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-item {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.aside-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-blue);
}

/* --------------------------------------------------------------------------
   pages：条目字段说明页
   -------------------------------------------------------------------------- */
.field-visual {
  margin-bottom: 32px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.boundary-card {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--line-blue);
}

.boundary-excluded {
  border-top-color: var(--line-orange);
}

.boundary-title {
  font-size: 16px;
  font-weight: 600;
}

.boundary-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-blue);
}

.boundary-excluded .boundary-list li::before {
  background: var(--line-orange);
}

.field-path-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-line);
}

.field-path-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
  font-size: 14px;
}

.field-path-label {
  flex: 0 0 auto;
  min-width: 96px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--line-orange);
  font-size: 13.5px;
}

.field-path-text {
  flex: 1 1 auto;
  min-width: 220px;
  color: var(--text-soft);
}

.field-path-text a {
  color: var(--line-blue);
}

.field-path-text a:hover {
  color: var(--line-orange);
}

/* --------------------------------------------------------------------------
   pages：查阅路径指引页
   -------------------------------------------------------------------------- */
.guide-visual {
  margin-bottom: 40px;
}

.guide-visual .section-title,
.guide-tips .section-title,
.adjustment-log .section-title,
.feedback-note .section-title {
  margin-bottom: 14px;
}

.guide-steps {
  margin-bottom: 44px;
  padding: 0;
  max-width: none;
}

.guide-steps .step-list {
  margin-top: 16px;
}

.guide-tips .tip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.tip-item {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
}

.tip-name {
  font-size: 15.5px;
  font-weight: 600;
}

.tip-text {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.adjustment-log .log-list {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-line);
  margin-top: 16px;
  padding-left: 0;
}

.log-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0 12px 20px;
}

.log-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-blue);
  border: 2px solid var(--bg-page);
}

.log-date {
  flex: 0 0 auto;
  min-width: 96px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--line-orange);
}

.log-text {
  flex: 1 1 auto;
  min-width: 220px;
  color: var(--text-soft);
  font-size: 14px;
}

.feedback-note .note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.note-item {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
}

.note-name {
  font-size: 15.5px;
  font-weight: 600;
}

.note-text {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 48px var(--gutter) 56px;
}

.error-panel {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-left: 5px solid var(--line-orange);
  border-radius: var(--radius-lg);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--line-orange);
  letter-spacing: 0.04em;
}

.error-title {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 600;
}

.error-text {
  margin-top: 12px;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 14.5px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-links {
  margin-top: 40px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.error-link-list li a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-main);
}

.error-link-list li a:hover {
  border-color: var(--line-blue);
  color: var(--line-blue);
}

/* --------------------------------------------------------------------------
   responsive：平板与手机
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .hero-media img {
    height: 260px;
  }

  .collection-cards,
  .channel-advice .advice-grid,
  .collection-scope .scope-grid,
  .guide-tips .tip-list,
  .error-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-tips .tips-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 14.5px;
  }

  .header-inner {
    min-height: 56px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--border-soft);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 46px;
    padding: 0 8px;
    border-bottom: 1px solid var(--border-soft);
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .nav-link.is-current {
    border-bottom-color: var(--border-soft);
    border-left-color: var(--line-orange);
    background: #eef3fa;
  }

  .inner-main {
    padding: 16px var(--gutter) 44px;
  }

  .page-header {
    padding-bottom: 18px;
    margin-bottom: 22px;
  }

  .page-title {
    font-size: 24px;
  }

  .section {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: 19px;
  }

  .hero-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .hero-media img {
    height: 200px;
  }

  .channels-overview,
  .collections-preview,
  .guide-steps {
    padding-top: 32px;
  }

  .home-main > .guide-steps {
    padding-bottom: 40px;
  }

  .channel-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 12px;
  }

  .channel-no {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .channel-body {
    flex-basis: calc(100% - 48px);
    min-width: 0;
  }

  .channel-tag {
    margin-left: 48px;
  }

  .channel-enter {
    margin-left: auto;
  }

  .channel-figure img,
  .guide-figure img,
  .field-visual img {
    height: 190px;
  }

  .collection-cards,
  .channel-advice .advice-grid,
  .collection-scope .scope-grid,
  .guide-tips .tip-list,
  .boundary-grid,
  .feedback-note .note-grid,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-item {
    padding: 14px;
    gap: 12px;
  }

  .log-item {
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
  }

  .log-date {
    min-width: 0;
  }

  .field-path-item {
    flex-direction: column;
    gap: 4px;
  }

  .field-path-label {
    min-width: 0;
  }

  .footer-inner {
    padding: 32px var(--gutter) 24px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-title {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 23px;
  }

  .btn {
    flex: 1 1 auto;
    padding: 0 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .channel-tag {
    margin-left: 0;
  }
}
