/* ==========================================================================
   麻豆HD · xbrclan.com 全站样式
   base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --sand: #f5f1e8;
  --sand-deep: #ece5d7;
  --ink: #1e2632;
  --ink-soft: #2a3441;
  --red: #a8382d;
  --green: #2c6a63;
  --line: #dcd4c4;
  --text: #3a3f47;
  --muted: #7a7e86;
  --paper: #fffdf8;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shell: 1120px;
  --read: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.site-body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.3;
}

.site-body p {
  margin: 0;
}

.site-body ul,
.site-body ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-body dl,
.site-body dd,
.site-body dt {
  margin: 0;
}

.site-body figure {
  margin: 0;
}

.site-body a {
  color: var(--ink);
  text-decoration: none;
}

.site-body a:hover {
  color: var(--red);
}

.site-body img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-body button {
  font-family: inherit;
  color: inherit;
}

.site-body :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. layout — 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--ink);
  border-bottom: 1px solid #2f3a49;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
}

.site-home .header-inner {
  min-height: 96px;
}

.brand {
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7f3ea;
  line-height: 1.2;
}

.brand:hover {
  color: #fff;
}

.site-home .brand {
  font-size: 1.45rem;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  color: #cfc9bd;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.is-current {
  color: #fff;
  border-bottom-color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #3d4a5b;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #e8e2d6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  background: var(--ink-soft);
  border-top: 1px solid #3d4a5b;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 24px 4px;
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list li {
  border-bottom: 1px solid #3a4656;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: #ddd7cb;
  font-size: 16px;
}

.drawer-link:hover {
  color: #fff;
}

.drawer-link.is-active {
  color: #fff;
  box-shadow: inset 3px 0 0 var(--red);
  padding-left: 14px;
}

.drawer-note {
  padding: 16px 0 20px;
  color: #98a1ad;
  font-size: 13px;
  line-height: 1.7;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  color: #b3aca0;
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 14px 0 0;
}

.page-title {
  max-width: 900px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.page-head {
  padding: 18px 0 0;
}

.page-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 32px;
}

.page-title-block {
  max-width: 780px;
  padding-top: 14px;
}

.page-lead {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.page-kicker {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.tag-list,
.tag-row,
.term-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid rgba(44, 106, 99, 0.45);
  border-radius: 3px;
  background: rgba(44, 106, 99, 0.06);
  color: var(--green);
  font-size: 13px;
  line-height: 1.7;
  white-space: nowrap;
}

.term-tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding-top: 36px;
}

.layout-main,
.content-main {
  min-width: 0;
}

.layout-aside,
.content-aside {
  min-width: 0;
  position: sticky;
  top: 24px;
}

.sidebar-left .page-layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.sidebar-left .page-layout .layout-aside,
.sidebar-left .page-layout .content-aside {
  order: -1;
}

/* --------------------------------------------------------------------------
   3. components — 通用组件
   -------------------------------------------------------------------------- */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.section-title,
.section-h2 {
  position: relative;
  padding-left: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.section-head h2::before,
.section-title::before,
.section-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 6px;
  height: 1em;
  background: var(--red);
}

.section-sub,
.section-note,
.section-intro {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-text {
  max-width: var(--read);
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.section-num {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--red);
}

.field-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid rgba(168, 56, 45, 0.35);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.text-link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.text-link:hover {
  color: #8a2b22;
  border-bottom-color: #8a2b22;
}

.figure-caption,
.media-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* 图片容器统一约束 */
.hero-figure,
.glance-figure,
.topic-feature-figure,
.topic-figure,
.content-media,
.archive-figure,
.figure,
.media-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--sand-deep);
}

.hero-figure img,
.glance-figure img,
.topic-feature-figure img,
.topic-figure img,
.content-media img,
.archive-figure img,
.figure img,
.media-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 题材标签 */
.tag-channel {
  background: rgba(44, 106, 99, 0.1);
}

/* 目录条目行 */
.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 12px 0 12px 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.18s ease;
}

.entry-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 2px;
  height: 12px;
  background: var(--red);
  transition: height 0.2s ease;
}

.entry-row:hover {
  background: rgba(255, 253, 248, 0.7);
}

.entry-row:hover::before {
  height: calc(100% - 28px);
}

.entry-row .tag {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.entry-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.entry-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.entry-audience {
  grid-column: 2;
  grid-row: 3;
  font-size: 13px;
  color: var(--muted);
}

.entry-audience::before {
  content: "适合：";
  font-family: var(--font-mono);
  color: #a5a094;
}

/* 折叠问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question,
.faq-q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-question::-webkit-details-marker,
.faq-q::-webkit-details-marker {
  display: none;
}

.faq-question::after,
.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--red);
  line-height: 1;
}

.faq-item[open] .faq-question::after,
.faq-item[open] .faq-q::after {
  content: "−";
}

.faq-question:hover,
.faq-q:hover {
  color: var(--red);
}

.faq-answer,
.faq-a {
  padding: 0 0 18px;
  max-width: var(--read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.faq-a p {
  margin: 0;
}

.faq-a p + p {
  margin-top: 8px;
}

/* 侧栏 */
.aside-block {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.aside-block:last-child {
  margin-bottom: 0;
}

.aside-title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-list-item,
.aside-item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.aside-key {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
}

.aside-item .field-label {
  flex: 0 0 100%;
}

.aside-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.aside-links a:last-child {
  border-bottom: 0;
}

.aside-links a:hover {
  color: var(--red);
}

/* 入口带 */
.entry-band {
  border-top: 1px solid var(--line);
  background: var(--sand-deep);
}

.entry-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px;
}

.entry-band-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.entry-band-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.entry-band-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.entry-band-link:hover {
  background: var(--red);
  color: #fff;
}

/* 页脚 */
.site-footer {
  background: var(--sand-deep);
  border-top: 1px solid var(--line);
  color: var(--text);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 32px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 320px;
}

.footer-col-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.footer-list {
  display: flex;
  flex-direction: column;
}

.footer-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--text);
}

.footer-list a:hover {
  color: var(--red);
}

.footer-col-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink-soft);
  border-bottom: 1px solid #3a4656;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 24px;
}

.topbar-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: #c4beb2;
}

.topbar-link {
  flex: 0 0 auto;
  font-size: 13px;
  color: #e8e2d6;
  border-bottom: 1px solid rgba(232, 226, 214, 0.4);
}

.topbar-link:hover {
  color: #fff;
}

/* 首屏 */
.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  max-width: 560px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.scene-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.scene-item {
  border-bottom: 1px solid var(--line);
}

.scene-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  grid-template-areas:
    "index name arrow"
    "index desc arrow";
  align-items: center;
  gap: 2px 14px;
  padding: 14px 4px 14px 0;
  position: relative;
}

.scene-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 2px;
  height: 12px;
  background: var(--red);
  transition: height 0.2s ease;
}

.scene-link:hover::before {
  height: calc(100% - 32px);
}

.scene-index {
  grid-area: index;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  padding-left: 12px;
}

.scene-name {
  grid-area: name;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.scene-desc {
  grid-area: desc;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.scene-arrow {
  grid-area: arrow;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
}

.scene-link:hover .scene-arrow {
  color: var(--red);
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

/* 最新目录速览 */
.glance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.glance-figure img {
  aspect-ratio: 3 / 4;
}

.glance-figure .figure-caption {
  margin-top: 10px;
}

.glance-note {
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.glance-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.note-fields {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-field {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.note-field dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
}

.note-field dd {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.glance-note .text-link {
  margin-top: 18px;
}

/* 专题策划精选 */
.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.topic-feature-figure img {
  aspect-ratio: 16 / 10;
}

.topic-feature-body {
  min-width: 0;
}

.topic-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.topic-feature-title {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.topic-feature-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.topic-feature-body .text-link {
  margin-top: 16px;
}

.topic-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.topic-card {
  min-width: 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.topic-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.topic-card-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.topic-card-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.topic-card .text-link {
  margin-top: 14px;
}

/* 时间归档近期批次 */
.month-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.month-group {
  min-width: 0;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.month-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.month-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.batch-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
}

.month-items {
  display: flex;
  flex-direction: column;
}

.month-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.month-item:last-child {
  border-bottom: 0;
}

.month-item-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.month-item-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.archive-more {
  margin-top: 28px;
}

/* 使用流程四步 */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.2;
}

.step-name {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.step-criteria {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.flow-strip .text-link {
  margin-top: 28px;
}

/* 使用帮助摘要 */
.help-brief .faq-list {
  max-width: var(--read);
}

.help-brief .text-link {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   4. pages — 内容目录
   -------------------------------------------------------------------------- */

.catalog-section {
  padding-bottom: 12px;
}

.catalog-section .section-title {
  margin-bottom: 20px;
}

.content-media {
  margin-bottom: 20px;
}

.content-media img {
  aspect-ratio: 16 / 9;
}

.content-media figcaption {
  padding: 0 2px;
}

.catalog-section .section-intro {
  margin-bottom: 28px;
}

.channel-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.channel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.channel-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.channel-desc {
  max-width: var(--read);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.channel-block .entry-row {
  grid-template-columns: 84px minmax(0, 1fr);
}

.field-section {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.field-section .section-title {
  margin-bottom: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 20px;
}

.field-item {
  min-width: 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--green);
}

.field-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   4. pages — 专题策划
   -------------------------------------------------------------------------- */

.content-main .breadcrumb {
  padding-top: 20px;
}

.content-main .page-header {
  padding-top: 14px;
}

.content-main .page-title {
  margin-bottom: 0;
}

.content-main section.page-title {
  padding-top: 18px;
}

.featured-topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-media {
  min-width: 0;
}

.topic-figure img {
  aspect-ratio: 16 / 10;
}

.featured-body {
  min-width: 0;
}

.featured-body h2 {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.featured-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.featured-order {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.featured-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.featured-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.featured-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 1px;
  background: var(--red);
}

.featured-body .text-link {
  margin-top: 18px;
}

.editor-basis {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.editor-basis h2 {
  position: relative;
  padding-left: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.editor-basis h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 6px;
  height: 1em;
  background: var(--red);
}

.basis-intro {
  max-width: var(--read);
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.basis-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  max-width: var(--read);
}

.basis-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.basis-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1px;
  background: var(--green);
}

.topic-list-section {
  padding: 32px 0 8px;
}

.topic-list-section h2 {
  position: relative;
  padding-left: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.topic-list-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 6px;
  height: 1em;
  background: var(--red);
}

.topic-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.topic-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.topic-index {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.5;
}

.topic-row-body {
  min-width: 0;
}

.topic-row-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.topic-row-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.topic-row-meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.field-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.field-list dt {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--green);
}

.field-list dd {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.field-list dd:last-of-type {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   4. pages — 时间归档
   -------------------------------------------------------------------------- */

.archive-figure {
  margin-bottom: 28px;
}

.archive-figure img {
  aspect-ratio: 21 / 9;
}

.archive-section {
  padding-bottom: 12px;
}

.archive-section .section-title {
  margin-bottom: 12px;
}

.batch-group {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.batch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 10px;
}

.batch-month {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.batch-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.batch-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.batch-list {
  display: flex;
  flex-direction: column;
}

.batch-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 12px 0 12px 12px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}

.batch-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 2px;
  height: 12px;
  background: var(--red);
}

.batch-item:last-child {
  border-bottom: 0;
}

.batch-item .tag {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.batch-item-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.batch-item-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.aside-block-note {
  background: var(--sand-deep);
}

.meaning-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meaning-item {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.meaning-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   4. pages — 使用流程
   -------------------------------------------------------------------------- */

.flow-intro .section-title {
  margin-bottom: 18px;
}

.figure-wide img {
  aspect-ratio: 21 / 9;
}

.flow-steps .section-title {
  margin-bottom: 20px;
}

.flow-steps {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.flow-intro {
  padding-bottom: 32px;
}

.step-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.step-block:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--red);
}

.step-block .step-name {
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.step-text {
  max-width: var(--read);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.step-block .step-criteria {
  max-width: var(--read);
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border-left: 2px solid var(--green);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.step-block .step-criteria .field-label {
  margin-right: 8px;
}

.flow-check {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.flow-check .section-title {
  margin-bottom: 10px;
}

.check-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  border-bottom: 1px solid var(--line);
}

.check-row:last-child {
  border-bottom: 0;
}

.check-head {
  background: var(--sand-deep);
}

.check-cell {
  min-width: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.check-cell + .check-cell {
  border-left: 1px solid var(--line);
}

.check-head .check-cell {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

.flow-boundary {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.flow-boundary .section-title {
  margin-bottom: 10px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--read);
  margin-top: 16px;
}

.boundary-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.boundary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1px;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   4. pages — 使用帮助
   -------------------------------------------------------------------------- */

.inner-shell {
  max-width: 860px;
  padding-top: 18px;
}

.inner-shell .page-title {
  padding-top: 0;
}

.inner-shell .page-title .page-lead {
  max-width: 100%;
}

.help-prep,
.help-faq,
.help-next,
.help-related {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.help-prep {
  margin-top: 28px;
}

.help-prep .section-h2,
.help-faq .section-h2,
.help-next .section-h2,
.help-related .section-h2 {
  margin-bottom: 10px;
}

.media-figure {
  margin: 18px 0 24px;
}

.media-figure img {
  aspect-ratio: 16 / 9;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 20px;
}

.prep-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prep-item {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.prep-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.prep-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.help-faq .faq-list {
  margin-top: 16px;
}

.help-next-text {
  max-width: var(--read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.help-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 16px;
}

.help-next-links .text-link {
  min-height: 44px;
}

.related-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.related-item {
  border-bottom: 1px solid var(--line);
}

.related-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  color: var(--ink);
}

.related-link::before {
  content: "·";
  margin-right: 10px;
  color: var(--red);
  font-weight: 700;
}

.related-link:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   4. pages — 反馈说明
   -------------------------------------------------------------------------- */

.section-feedback-types,
.section-feedback-fields,
.section-feedback-scope {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section-feedback-types {
  margin-top: 28px;
}

.section-feedback-fields .field-grid {
  margin-top: 20px;
}

.feedback-type-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.feedback-type-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feedback-type-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.feedback-type-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.status-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.status-accept {
  background: rgba(44, 106, 99, 0.1);
  border: 1px solid rgba(44, 106, 99, 0.4);
  color: var(--green);
}

.feedback-type-desc {
  max-width: var(--read);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.feedback-type-example {
  max-width: var(--read);
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.feedback-figure {
  margin: 20px 0 0;
}

.field-block {
  min-width: 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field-block .field-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--green);
}

.field-hint {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.scope-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.scope-accept {
  border-top: 2px solid var(--green);
}

.scope-decline {
  border-top: 2px solid var(--red);
}

.scope-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.scope-accept .scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--green);
}

.scope-decline .scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--red);
}

.scope-note {
  max-width: var(--read);
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.scope-note a {
  color: var(--red);
  border-bottom: 1px solid rgba(168, 56, 45, 0.35);
}

.scope-note a:hover {
  color: #8a2b22;
}

.section-feedback-scope + .entry-band {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   4. pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.error-block {
  max-width: 640px;
  padding-top: 64px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
}

.error-title {
  margin-top: 16px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

.error-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.error-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.error-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1px;
  background: var(--red);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
}

.error-home-link,
.error-sub-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}

.error-home-link {
  background: var(--red);
  color: #fff;
}

.error-home-link:hover {
  background: #8a2b22;
  color: #fff;
}

.error-sub-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.error-sub-link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-inner {
    gap: 40px;
  }

  .glance-grid {
    gap: 28px;
  }

  .page-layout {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .site-home .header-inner {
    min-height: 64px;
  }

  .site-home .brand {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 24px 48px;
  }

  .hero-figure {
    order: 2;
  }

  .glance-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .glance-note {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .topic-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .month-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-aside,
  .content-aside {
    position: static;
  }

  .sidebar-left .page-layout .layout-aside,
  .sidebar-left .page-layout .content-aside {
    order: 0;
  }

  .featured-topic {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 16px;
  }

  .topbar-tagline {
    font-size: 12px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .drawer-nav {
    padding: 8px 16px 4px;
  }

  .inner-main {
    padding: 0 16px 56px;
  }

  .section {
    padding: 40px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .hero-inner {
    padding: 32px 16px 40px;
    gap: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .scene-link {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    padding: 12px 0 12px 0;
    min-height: 52px;
  }

  .scene-index {
    padding-left: 10px;
  }

  .glance-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .glance-figure {
    order: 3;
  }

  .glance-note {
    order: 1;
    padding-top: 0;
    border-top: 0;
  }

  .glance-grid .entry-list {
    order: 2;
  }

  .glance-figure img {
    aspect-ratio: 16 / 10;
  }

  .entry-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-left: 12px;
  }

  .entry-row .tag {
    grid-column: 1;
    grid-row: 1;
  }

  .entry-title {
    grid-column: 1;
    grid-row: 2;
  }

  .entry-desc {
    grid-column: 1;
    grid-row: 3;
  }

  .entry-audience {
    grid-column: 1;
    grid-row: 4;
  }

  .entry-row::before {
    top: 16px;
  }

  .topic-secondary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .month-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .step-item {
    padding-top: 12px;
  }

  .entry-band-inner {
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .entry-band-text {
    flex: 0 0 auto;
  }

  .entry-band-link {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 32px 16px 24px;
  }

  .footer-copy {
    padding: 14px 16px;
  }

  .page-header {
    padding-top: 12px;
  }

  .page-head-inner {
    gap: 12px;
  }

  .page-title-block {
    padding-top: 12px;
  }

  .page-lead {
    font-size: 16px;
  }

  .page-layout {
    padding-top: 24px;
    gap: 28px;
  }

  .content-main .breadcrumb {
    padding-top: 16px;
  }

  .channel-block {
    padding: 20px 0;
  }

  .channel-block .entry-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-item {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 12px;
  }

  .batch-item .tag {
    grid-column: 1;
    grid-row: 1;
  }

  .batch-item-title {
    grid-column: 1;
    grid-row: 2;
  }

  .batch-item-desc {
    grid-column: 1;
    grid-row: 3;
  }

  .field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .prep-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .check-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-cell + .check-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .topic-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .topic-index {
    font-size: 0.95rem;
  }

  .feedback-type-item {
    padding: 16px 0;
  }

  .error-main {
    padding: 0 16px 64px;
  }

  .error-block {
    padding-top: 44px;
  }

  .error-code {
    font-size: 2.4rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-home-link,
  .error-sub-link {
    justify-content: center;
  }

  .inner-shell {
    padding-top: 12px;
  }

  .help-prep {
    margin-top: 20px;
  }

  .section-feedback-types {
    margin-top: 20px;
  }

  .help-next-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
