/* ==========================================================================
   歪歪漫画网 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F7F4EF;
  --card: #FFFFFF;
  --ink: #1B1A18;
  --muted: #6E665C;
  --line: #DED7CB;
  --accent: #A33A2A;
  --tag: #35414D;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 通用文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 15px;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.text-link::after {
  content: "→";
  font-family: var(--sans);
  font-size: 14px;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--accent);
}

/* 说明引用块 */
.note-quote {
  margin: 24px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.note-quote p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. layout：页头 / 导航 / 主容器 / 页脚
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 30;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.brand-tagline {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -1px;
  border-top: 2px solid currentColor;
}

.site-nav {
  flex: 0 0 100%;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px 72px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--line);
}

/* 页面标题区 */
.page-header {
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.page-title {
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.34;
}

.page-lead {
  margin-top: 12px;
  max-width: 760px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

/* 两栏骨架：主内容在前、侧栏在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.content-main,
.content-column,
.layout-main {
  min-width: 0;
}

.content-aside,
.side-column,
.layout-aside {
  min-width: 0;
  font-size: 14px;
}

/* 页脚 */
.site-footer {
  background-color: var(--paper);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 28px 32px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.footer-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 380px;
}

.footer-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--ink);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 28px 24px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   3. components：模块标题 / 条目行 / 标签 / 折叠 / 卡片 / 侧栏
   -------------------------------------------------------------------------- */

.section-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  margin-bottom: 44px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.section-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.section-lead {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.section-more {
  margin-top: 22px;
  font-size: 15px;
}

/* 状态标签 */
.entry-status,
.status-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  white-space: nowrap;
}

.entry-status.is-published,
.status-tag.status-published {
  background-color: var(--tag);
  color: #F7F4EF;
}

.entry-status.is-updated,
.status-tag.status-updated {
  background-color: transparent;
  color: var(--tag);
  border: 1px solid var(--tag);
}

/* 档案编号 */
.entry-code,
.archive-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 题材标签 */
.entry-genre,
.archive-tag {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}

/* 折叠问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  display: block;
  padding: 16px 34px 16px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent);
}

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-answer {
  padding: 0 34px 18px 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.faq-answer p {
  margin: 0;
}

/* 侧栏通用块 */
.aside-block,
.side-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.aside-block:first-child,
.side-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.aside-title,
.side-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.aside-list,
.aside-link-list,
.aside-links,
.side-list,
.side-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-list li,
.aside-link-list li,
.aside-links li,
.side-list li,
.side-links li {
  font-size: 14px;
  line-height: 1.7;
}

.aside-list a,
.aside-link-list a,
.aside-links a,
.side-list a,
.side-links a {
  color: var(--ink);
}

.aside-list a:hover,
.aside-link-list a:hover,
.aside-links a:hover,
.side-list a:hover,
.side-links a:hover {
  color: var(--accent);
}

.aside-note,
.side-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.aside-note a,
.side-note a {
  color: var(--accent);
}

/* 图注 */
.hero-caption,
.media-caption,
.figure-caption,
figcaption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   4. pages：首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

/* 4.1 档案题头 */
.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 28px 52px;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-text h1 {
  margin-top: 14px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
}

.hero-lead {
  margin-top: 18px;
  max-width: 540px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 560px;
}

.hero-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-link-note {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-figure {
  margin: 0;
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-figure figcaption {
  margin-top: 10px;
}

/* 4.2 年份刻度条 */
.year-scale {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.year-scale .section-title {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.year-scale .section-note {
  margin-top: 6px;
  font-size: 13px;
}

.year-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 16px;
}

.year-link {
  display: inline-block;
  min-height: 32px;
  padding: 4px 2px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.year-link:hover,
.year-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 4.3 最近整理的条目清单 */
.recent-entries {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.entry-group {
  margin-top: 26px;
}

.entry-group-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 8px;
}

.entry-list {
  border-top: 1px solid var(--line);
}

.entry-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) 92px 76px minmax(0, 2fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.16s ease;
}

.entry-row:hover {
  background-color: #FBF9F5;
}

.entry-row:hover .entry-code {
  color: var(--accent);
}

.entry-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.entry-name:hover,
.entry-name:focus-visible {
  color: var(--accent);
}

.entry-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 4.4 题材分类总览 */
.genre-overview {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.genre-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.genre-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.genre-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  transition: border-color 0.16s ease;
}

.genre-card:hover {
  border-color: var(--accent);
}

.genre-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.genre-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.genre-entry-list {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.genre-entry-list li {
  font-size: 14px;
  line-height: 1.7;
}

.genre-entry-list a {
  color: var(--ink);
}

.genre-entry-list a:hover,
.genre-entry-list a:focus-visible {
  color: var(--accent);
}

/* 4.5 榜单摘要 */
.ranking-digest {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.ranking-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.ranking-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}

.ranking-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

.ranking-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.ranking-name:hover,
.ranking-name:focus-visible {
  color: var(--accent);
}

.ranking-basis {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 4.6 阅读指引摘要 */
.guide-digest {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.guide-digest .faq-list {
  margin-top: 26px;
}

/* 4.7 纠错与反馈入口 */
.feedback-entry {
  padding: 52px 0 16px;
}

.feedback-entry .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: center;
}

.feedback-figure {
  margin: 0;
  min-width: 0;
}

.feedback-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feedback-text {
  min-width: 0;
}

.feedback-text p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 560px;
}

.feedback-text .section-more {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   4. pages：内页共用结构
   -------------------------------------------------------------------------- */

.page-title-block {
  padding: 26px 0 0;
}

.page-title-block .page-lead {
  margin-top: 0;
}

.page-intro {
  padding: 4px 0 0;
}

.page-intro .page-lead {
  margin-top: 0;
}

/* 图片容器统一约束 */
.page-figure,
.genre-figure,
.rank-figure,
.media-figure,
.intro-figure,
.result-figure {
  margin: 0 0 30px;
  min-width: 0;
}

.page-figure img,
.genre-figure img,
.rank-figure img,
.media-figure img,
.intro-figure img,
.result-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-figure figcaption,
.genre-figure figcaption,
.rank-figure figcaption,
.media-caption,
.intro-figure figcaption,
.figure-caption {
  margin-top: 10px;
}

/* 内页 section 竖向节奏 */
.content-main > section,
.content-column > section,
.layout-main > section,
.inner-main > section {
  margin-bottom: 44px;
}

.content-main > section:last-child,
.content-column > section:last-child,
.layout-main > section:last-child {
  margin-bottom: 0;
}

/* 内页 h2 统一 */
.content-main h2,
.content-column h2,
.layout-main h2,
.rank-basis h2,
.rank-list-block h2,
.rank-limits h2,
.related-entry h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. pages：作品档案 catalog
   -------------------------------------------------------------------------- */

.field-intro p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.field-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.field-intro-item {
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.field-intro-item h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.field-intro-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.archive-list > .section-note {
  margin-top: 10px;
}

.archive-group {
  margin-top: 26px;
}

.archive-group-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 8px;
}

.archive-rows {
  border-top: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) 92px 76px minmax(0, 1.8fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.16s ease;
}

.archive-row:hover {
  background-color: #FBF9F5;
}

.archive-row:hover .archive-code {
  color: var(--accent);
}

.archive-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.archive-name:hover,
.archive-name:focus-visible {
  color: var(--accent);
}

.archive-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.status-legend p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.status-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 18px;
}

.status-legend-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.cross-jump p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.cross-jump-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.cross-jump-col {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.cross-jump-col h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cross-jump-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cross-jump-list li {
  font-size: 14px;
  line-height: 1.7;
}

.cross-jump-list a {
  color: var(--ink);
}

.cross-jump-list a:hover,
.cross-jump-list a:focus-visible {
  color: var(--accent);
}

.aside-list-plain {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-list-plain li {
  font-size: 14px;
  line-height: 1.7;
}

.aside-list-plain a {
  color: var(--ink);
}

.aside-list-plain a:hover,
.aside-list-plain a:focus-visible {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages：题材分类 genres
   -------------------------------------------------------------------------- */

.genre-overview > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.genre-table {
  margin-top: 22px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.genre-table caption {
  text-align: left;
  padding: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.genre-table th,
.genre-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}

.genre-table thead th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  background-color: #FBF9F5;
}

.genre-table tbody tr:last-child td {
  border-bottom: 0;
}

.genre-table td:first-child {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.genre-section {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.genre-section > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 720px;
}

.genre-scope-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.genre-scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.genre-scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background-color: var(--line);
}

.genre-section .genre-entry-list {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.genre-section .genre-entry-list li {
  font-size: 14px;
}

.genre-section .genre-entry-list a {
  color: var(--accent);
}

.genre-cross {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.genre-cross > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 720px;
}

.genre-cross-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.genre-cross-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}

.genre-cross-list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--accent);
}

.genre-cross > p:last-child {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}

.genre-cross > p:last-child a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.genre-cross > p:last-child a:hover {
  border-bottom-color: var(--accent);
}

.side-list strong {
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. pages：更新记录 updates
   -------------------------------------------------------------------------- */

.update-types .section-title {
  margin-bottom: 20px;
}

.update-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.update-type-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.update-type-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.update-type-block p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-month {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-month:first-of-type {
  border-top: 0;
}

.timeline-month-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.6;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.timeline-item {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-item .entry-code {
  margin-right: 8px;
}

.timeline-item .entry-name {
  margin-right: 8px;
  font-size: 15px;
}

.entry-change {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.update-code-map .section-lead {
  margin-top: 10px;
}

.code-map-table {
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-caption {
  text-align: left;
  padding: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.code-map-table th,
.code-map-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}

.code-map-table thead th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  background-color: #FBF9F5;
}

.code-map-table tbody tr:last-child td {
  border-bottom: 0;
}

.code-map-table td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.timeline-item strong,
.aside-list strong {
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. pages：榜单说明 rankings
   -------------------------------------------------------------------------- */

.rank-basis > p,
.rank-list-block > p,
.rank-limits > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.basis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.basis-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.basis-item h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.basis-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.basis-item a {
  color: var(--accent);
}

.rank-group {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.rank-group h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.rank-group-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.rank-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.rank-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

.rank-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.rank-reason {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.limit-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.limit-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.limit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background-color: var(--line);
}

.related-entry .entry-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.related-entry .entry-list li {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.related-entry .entry-list a {
  color: var(--ink);
}

.related-entry .entry-list a:hover,
.related-entry .entry-list a:focus-visible {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages：阅读指引 reading-guide
   -------------------------------------------------------------------------- */

.guide-flow .section-note,
.guide-faq .section-note {
  margin-top: 8px;
}

.flow-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.flow-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  line-height: 1;
}

.flow-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.flow-step p {
  grid-column: 2;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.guide-faq .faq-list {
  margin-top: 22px;
}

.field-table {
  margin-top: 12px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.field-table th,
.field-table td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}

.field-table thead th {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.field-table td:first-child {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. pages：纠错与反馈 feedback
   -------------------------------------------------------------------------- */

.feedback-scope .section-note,
.feedback-elements .section-note,
.feedback-result .section-note {
  margin-top: 8px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.scope-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.scope-in {
  border-left: 3px solid var(--accent);
}

.scope-out {
  border-left: 3px solid var(--tag);
}

.scope-heading {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.scope-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background-color: var(--line);
}

.element-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.element-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.element-index {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.element-body {
  min-width: 0;
}

.element-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.element-body p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.result-figure {
  margin-top: 22px;
}

.result-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.result-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  min-width: 0;
}

.result-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.result-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.related-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.related-links li {
  font-size: 15px;
}

.related-links a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.related-links a:hover,
.related-links a:focus-visible {
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages：404
   -------------------------------------------------------------------------- */

.error-main {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 28px 88px;
}

.error-panel {
  max-width: 640px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.error-title {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.34;
}

.error-lead {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.error-paths {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.error-paths li {
  font-size: 15px;
}

.error-paths a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  line-height: 1.6;
}

.error-paths a:hover,
.error-paths a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.error-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.error-note a {
  color: var(--accent);
}

.error-home-link {
  display: inline-block;
  min-height: 44px;
  margin-top: 26px;
  padding: 10px 20px;
  background-color: var(--tag);
  color: #F7F4EF;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
}

.error-home-link:hover,
.error-home-link:focus-visible {
  background-color: var(--accent);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .content-aside,
  .side-column,
  .layout-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .content-aside > .aside-block,
  .side-column > .side-block,
  .layout-aside > .aside-block {
    border-top: 0;
    padding-top: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 36px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .entry-row,
  .archive-row {
    grid-template-columns: 88px minmax(0, 1fr) 84px 70px;
  }

  .entry-row .entry-desc,
  .archive-row .archive-desc {
    grid-column: 2 / -1;
    margin-top: 2px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 14px 18px;
    gap: 10px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    padding-top: 0;
    border-top: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    padding: 4px 0 8px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 2px;
    border-bottom: 0;
    font-size: 16px;
  }

  .nav-link.is-current {
    color: var(--accent);
  }

  .inner-main {
    padding: 0 18px 56px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 12px;
  }

  .page-header {
    padding: 10px 0 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
    line-height: 1.36;
  }

  .page-lead {
    font-size: 14px;
  }

  .section-inner {
    padding: 0 18px;
  }

  .section-title,
  .content-main h2,
  .content-column h2,
  .layout-main h2,
  .rank-basis h2,
  .rank-list-block h2,
  .rank-limits h2,
  .related-entry h2 {
    font-size: 20px;
  }

  /* 首页题头：文字在上、图在下 */
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 34px 18px 32px;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.32;
  }

  .hero-lead {
    font-size: 15px;
    margin-top: 14px;
  }

  .hero-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
    max-width: none;
  }

  .hero-link {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  /* 年份刻度条横向可滑 */
  .year-scale {
    padding: 22px 0;
  }

  .year-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .year-link {
    white-space: nowrap;
  }

  /* 条目行改为两行式 */
  .entry-row,
  .archive-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 12px 2px;
  }

  .entry-row .entry-code,
  .archive-row .archive-code {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }

  .entry-row .entry-name,
  .archive-row .archive-name {
    grid-column: 1;
    grid-row: 2;
    font-size: 16px;
  }

  .entry-row .entry-genre,
  .archive-row .archive-tag {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    font-size: 11px;
  }

  .entry-row .entry-status,
  .archive-row .status-tag {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-size: 11px;
  }

  .entry-row .entry-desc,
  .archive-row .archive-desc {
    grid-column: 1 / -1;
    grid-row: 4;
    font-size: 13px;
    margin-top: 2px;
  }

  .genre-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 22px;
  }

  .ranking-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 12px 2px;
  }

  .ranking-num {
    font-size: 19px;
  }

  .ranking-basis {
    grid-column: 2;
    font-size: 13px;
  }

  .feedback-entry .section-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .feedback-figure img {
    aspect-ratio: 16 / 9;
  }

  /* 内页辅助侧栏落到正文之后 */
  .content-aside,
  .side-column,
  .layout-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .field-intro-grid,
  .basis-grid,
  .update-type-grid,
  .scope-columns,
  .result-list,
  .cross-jump-grid,
  .flow-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-figure img,
  .genre-figure img,
  .rank-figure img,
  .media-figure img,
  .intro-figure img,
  .result-figure img {
    aspect-ratio: 16 / 10;
  }

  .timeline-month {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
  }

  .timeline-month-label {
    font-size: 13px;
  }

  .rank-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 12px 2px;
  }

  .rank-num {
    font-size: 19px;
  }

  .rank-reason {
    grid-column: 2;
    font-size: 13px;
  }

  .flow-step {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px;
  }

  .flow-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .flow-name {
    font-size: 16px;
  }

  .element-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 2px;
  }

  .element-index {
    font-size: 19px;
  }

  /* 表格：允许容器内横向滚动，不撑破页面 */
  .genre-table,
  .code-map-table,
  .field-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .genre-table thead,
  .genre-table tbody,
  .code-map-table thead,
  .code-map-table tbody,
  .field-table thead,
  .field-table tbody {
    display: table;
    width: 100%;
    min-width: 480px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 18px 26px;
  }

  .footer-note {
    max-width: none;
  }

  .footer-bottom p {
    padding: 14px 18px 22px;
  }

  .error-main {
    padding: 36px 18px 64px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-title {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .header-inner {
    padding: 12px 14px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 24px;
  }

  .inner-main,
  .section-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .error-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-bottom p {
    padding-left: 14px;
    padding-right: 14px;
  }

  .entry-row,
  .archive-row {
    gap: 5px 10px;
  }

  .nav-toggle {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
