:root {
  --paper: #F7F5F2;
  --paper-alt: #EFEBE6;
  --ink: #16161A;
  --ink-soft: #6E6A66;
  --line: #D8D4CE;
  --line-strong: #B9B3AB;
  --red: #C8202A;
  --red-soft: rgba(200, 32, 42, 0.08);
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1120px;
  --gutter: 32px;
  --header-h: 64px;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ============ base ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: 32px;
  line-height: 1.35;
}

h2 {
  font-size: 22px;
  line-height: 1.4;
}

h3 {
  font-size: 18px;
  line-height: 1.5;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

dt,
dd {
  margin: 0;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 8px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.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;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ============ layout ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  padding: 4px 0 4px 10px;
  border-left: 3px solid var(--red);
}

.brand:hover {
  color: var(--ink);
}

.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li {
  min-width: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-list a.is-current {
  color: var(--red);
  font-weight: 700;
}

.nav-list a.is-current::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  position: relative;
  flex: 0 0 auto;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle::before {
  top: 15px;
}

.menu-toggle::after {
  bottom: 15px;
}

.menu-toggle:hover::before,
.menu-toggle:hover::after {
  background: var(--red);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--gutter) 20px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-close-row {
  margin: 0 0 8px;
  display: flex;
  justify-content: flex-end;
}

.menu-close {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.menu-close::after {
  content: "关闭菜单";
  margin-left: 8px;
  color: var(--ink-soft);
}

.menu-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list a.is-current {
  color: var(--red);
  font-weight: 700;
}

.site-main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.home-main {
  padding-bottom: 56px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-about {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ============ components ============ */

.eyebrow,
.section-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 10px;
}

.text-link,
.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid var(--red-soft);
}

.text-link:hover,
.link-more:hover {
  border-bottom-color: var(--red);
}

.text-link::after,
.link-more::after {
  content: "→";
  margin-left: 6px;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.section-head {
  margin-bottom: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.section-head h2 {
  margin-bottom: 6px;
}

.section-note,
.section-desc,
.section-intro,
.aside-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.section-foot {
  margin-top: 16px;
}

.genre-tag {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tag,
.tag-series {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.page-hero {
  margin-bottom: 32px;
}

.page-lead,
.page-lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}

.page-meta {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.field-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.field-key {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.field-val {
  font-size: 14px;
  color: var(--ink);
}

.anchor-row,
.page-anchors ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.anchor-row a,
.page-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-soft);
}

.anchor-row a:hover,
.page-anchors a:hover {
  border-color: var(--red);
  color: var(--red);
}

.page-anchors {
  margin-bottom: 26px;
}

/* ============ pages: index ============ */

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}

.hero-lead {
  min-width: 0;
}

.hero-lead h1 {
  margin-bottom: 14px;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 40em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 22px;
}

.hero-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-fields li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.hero-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cover-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--paper);
  transition: border-color 0.16s ease;
}

.cover-card:hover {
  border-color: var(--ink);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
}

.cover-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.cover-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.genre-strip,
.update-list,
.route-strip,
.dual-track,
.faq-brief,
.rules-brief {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-tags li {
  min-width: 0;
}

.genre-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.genre-chip:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.genre-chip .chip-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.genre-chip .chip-dir {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.update-rows {
  border-top: 1px solid var(--line);
}

.update-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.9fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.update-row:nth-child(odd) {
  background: var(--paper-alt);
}

.update-row .row-title {
  font-weight: 700;
  color: var(--ink);
}

.update-row .row-series,
.update-row .row-change,
.update-row .row-batch {
  color: var(--ink-soft);
  font-size: 13px;
}

.update-row .row-link {
  font-size: 13px;
  color: var(--red);
  white-space: nowrap;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.route-strip .route-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-strip .route-card h3 {
  font-size: 18px;
}

.route-strip .route-card .route-items {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: normal;
}

.route-strip .route-card .route-scene {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  overflow-wrap: break-word;
  word-break: normal;
}

.route-strip .route-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.dual-track-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.track-main {
  min-width: 0;
}

.track-main h2 {
  margin-bottom: 12px;
}

.track-main p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.field-read {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.field-read li {
  display: grid;
  grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.track-side {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.side-block {
  min-width: 0;
}

.side-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.side-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
}

.side-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.side-links a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "＋";
  flex: 0 0 auto;
  color: var(--red);
  font-size: 14px;
  line-height: 1;
}

.faq-item[open] summary::before {
  content: "－";
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-brief .faq-item > p {
  padding: 0 16px 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-brief .faq-item > p:last-child {
  padding-bottom: 16px;
}

.faq-brief .faq-more {
  padding-top: 4px;
}

.rules-rows {
  border-top: 1px solid var(--line);
}

.rule-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.rule-row .rule-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.rule-row .rule-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ============ pages: genres ============ */

.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.sidebar-left .page-layout {
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
}

.layout-aside {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.aside-block {
  min-width: 0;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.genre-index-list {
  display: grid;
  gap: 2px;
}

.genre-index-list a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.genre-index-list a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.field-table {
  font-size: 13px;
  line-height: 1.7;
}

.field-table thead th {
  text-align: left;
  padding: 8px 10px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}

.field-table tbody th,
.field-table tbody td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 400;
  vertical-align: top;
}

.field-table tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.layout-main {
  min-width: 0;
}

.section-block {
  margin-bottom: 40px;
}

.section-block > h2 {
  margin-bottom: 8px;
}

.section-block > .section-desc {
  margin-bottom: 20px;
}

.genre-entry {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.genre-entry h3 {
  font-size: 18px;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.genre-def {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}

.genre-entry .genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.genre-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
}

.genre-picks a {
  color: var(--red);
  border-bottom: 1px solid var(--red-soft);
}

.genre-picks a:hover {
  border-bottom-color: var(--red);
}

.adjacent-list {
  border-top: 1px solid var(--line);
}

.adjacent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.adjacent-pair {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.adjacent-rule {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-related {
  margin-bottom: 40px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cover-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--paper);
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
}

.cover-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cover-link {
  font-size: 13px;
  color: var(--red);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.related-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

.genre-index-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

/* ============ pages: series ============ */

.page-hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
}

.series-overview {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
}

.series-overview > h2 {
  margin-bottom: 8px;
}

.series-overview > .section-intro {
  margin-bottom: 20px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overview-card h3 {
  font-size: 18px;
}

.overview-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.overview-card .link-more {
  margin-top: auto;
  align-self: flex-start;
}

.series-figure {
  max-width: var(--shell);
  margin: 32px auto 0;
  padding: 0 var(--gutter);
}

.series-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.layout-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 40px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-main .breadcrumb {
  padding-top: 20px;
}

.content-aside {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.content-aside .aside-block > h2 {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.content-aside .aside-intro {
  margin-bottom: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.field-row dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-mono);
}

.field-row dd {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-links h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.aside-link-list {
  display: grid;
  gap: 2px;
}

.aside-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.aside-link-list a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.series-group {
  margin-bottom: 40px;
}

.series-group > h2 {
  margin-bottom: 8px;
}

.series-group > .section-intro {
  margin-bottom: 18px;
}

.entry-list {
  border-top: 1px solid var(--line);
}

.entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.entry-row:nth-child(odd) {
  background: var(--paper-alt);
}

.entry-row .entry-name {
  font-weight: 700;
  color: var(--ink);
}

.entry-row .entry-vol,
.entry-row .entry-status,
.entry-row .entry-length {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.entry-row .entry-link {
  font-size: 13px;
  color: var(--red);
  white-space: nowrap;
}

/* ============ pages: updates ============ */

.page-figure {
  max-width: var(--shell);
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}

.page-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.batch-section {
  margin-bottom: 44px;
}

.batch-band {
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 22px;
}

.batch-band-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.batch-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 6px;
}

.batch-band-head h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.batch-summary {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.batch-items {
  padding: 4px 20px 14px;
}

.batch-item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.batch-item:last-child {
  border-bottom: none;
}

.batch-item .item-name {
  font-weight: 700;
  color: var(--ink);
}

.batch-item .item-sequence,
.batch-item .item-change,
.batch-item .item-stage {
  font-size: 13px;
  color: var(--ink-soft);
}

.batch-item a {
  font-size: 13px;
  color: var(--red);
  white-space: nowrap;
}

.change-section {
  margin-bottom: 44px;
}

.change-table {
  border-top: 1px solid var(--ink);
}

.change-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.change-row-head {
  background: var(--paper-alt);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

.change-row:not(.change-row-head):nth-child(odd) {
  background: var(--paper-alt);
}

.change-row .change-name {
  font-weight: 700;
  color: var(--ink);
}

.change-row span:not(.change-name) {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.recall-section {
  margin-bottom: 44px;
}

.recall-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: recall;
}

.recall-steps li {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  counter-increment: recall;
}

.recall-steps li h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.recall-steps li h3::before {
  content: counter(recall) ".";
  color: var(--red);
  margin-right: 6px;
  font-family: var(--font-mono);
}

.recall-steps li p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.recall-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.recall-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.recall-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============ pages: routes ============ */

.route-figure {
  max-width: var(--shell);
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}

.route-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.page-routes .route-card {
  max-width: var(--shell);
  margin: 0 auto 24px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.route-col {
  min-width: 0;
}

.route-col-intro h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.route-col-intro > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.route-col-intro .route-meta {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.route-entry {
  margin-top: 10px;
}

.route-col-order h3,
.route-col-judge h3 {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.route-order-list {
  counter-reset: order;
  display: grid;
  gap: 10px;
}

.route-order-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  counter-increment: order;
}

.route-order-list .item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.route-order-list .item-name::before {
  content: counter(order) ".";
  color: var(--red);
  margin-right: 6px;
  font-family: var(--font-mono);
  font-weight: 400;
}

.route-order-list .order-note {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.judge-list {
  display: grid;
  gap: 10px;
}

.judge-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.judge-list .judge-cond {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.judge-list .judge-act {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.route-notes {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
}

.route-notes > h2 {
  margin-bottom: 18px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.note-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}

.note-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.note-block p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.note-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink);
}

.note-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============ pages: faq ============ */

.faq-index {
  margin-bottom: 40px;
}

.faq-index > h2 {
  margin-bottom: 8px;
}

.faq-index > .section-intro {
  margin-bottom: 18px;
}

.faq-index-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-index-item {
  min-width: 0;
}

.faq-index-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.faq-index-item a:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.faq-index-item .faq-index-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-index-item .faq-index-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 40px;
  align-items: start;
}

.faq-main {
  min-width: 0;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group > h2 {
  margin-bottom: 8px;
}

.faq-group > .section-intro {
  margin-bottom: 16px;
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.faq-answer .faq-answer-more {
  margin-top: 6px;
}

.faq-check {
  margin-bottom: 12px;
}

.faq-check > h2 {
  margin-bottom: 8px;
}

.faq-check > .section-intro {
  margin-bottom: 18px;
}

.check-steps {
  counter-reset: check;
  display: grid;
  gap: 12px;
}

.check-step {
  min-width: 0;
  border-left: 2px solid var(--line-strong);
  padding: 2px 0 2px 16px;
  counter-increment: check;
}

.check-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.check-step h3::before {
  content: counter(check) ".";
  color: var(--red);
  margin-right: 6px;
  font-family: var(--font-mono);
}

.check-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-step-link {
  color: var(--red);
  border-bottom: 1px solid var(--red-soft);
}

.check-step-link:hover {
  border-bottom-color: var(--red);
}

.faq-side {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}

.faq-side > h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-side > .aside-intro {
  margin-bottom: 16px;
}

.aside-media {
  margin-bottom: 18px;
}

.aside-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
}

.faq-side-table {
  font-size: 13px;
  margin-bottom: 18px;
}

.faq-side-table th,
.faq-side-table td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}

.faq-side-table thead th {
  background: var(--paper-alt);
  color: var(--ink);
  font-weight: 700;
}

.faq-side-table tbody th {
  color: var(--ink);
  font-weight: 700;
  width: 40%;
}

.faq-side-table tbody td {
  color: var(--ink-soft);
}

.faq-side .aside-links h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============ pages: terms ============ */

.terms-block,
.marks-block,
.rules-block {
  margin-bottom: 44px;
}

.block-head {
  margin-bottom: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.block-head h2 {
  margin-bottom: 6px;
}

.block-head p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.terms-table {
  border-top: 1px solid var(--line);
}

.terms-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: baseline;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.terms-row-head {
  background: var(--paper-alt);
}

.terms-row-head .terms-cell {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.terms-row:not(.terms-row-head):nth-child(odd) {
  background: var(--paper-alt);
}

.terms-cell {
  min-width: 0;
  line-height: 1.75;
}

.terms-cell-term {
  font-weight: 700;
  color: var(--ink);
}

.terms-cell-mean,
.terms-cell-use {
  font-size: 14px;
  color: var(--ink-soft);
}

.terms-cell-use a {
  color: var(--red);
  border-bottom: 1px solid var(--red-soft);
}

.terms-cell-use a:hover {
  border-bottom-color: var(--red);
}

.block-figure {
  margin-top: 24px;
}

.block-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.marks-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marks-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}

.marks-item .mark-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid var(--red);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.marks-item .mark-mean {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 6px;
}

.marks-item .mark-where {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rules-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}

.rules-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.rules-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.rules-unified,
.rules-dropped {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.7;
}

.rules-unified {
  border: 1px solid var(--red);
  color: var(--red);
}

.rules-dropped {
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  text-decoration: line-through;
}

.rules-reason {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.related-row a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.related-row a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============ pages: 404 ============ */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.error-panel {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  margin-bottom: 40px;
}

.error-panel h1 {
  margin-bottom: 12px;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 46em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.error-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.error-paths h2 {
  margin-bottom: 8px;
}

.error-paths > p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}

.error-link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============ responsive ============ */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .dual-track-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .route-cards,
  .overview-grid,
  .cover-grid,
  .recall-steps,
  .marks-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .faq-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-routes .route-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-routes .route-col-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    gap: 16px;
  }

  h1,
  .page-title {
    font-size: 27px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .update-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .update-row .row-title,
  .update-row .row-series,
  .update-row .row-change,
  .update-row .row-batch {
    grid-column: 1;
  }

  .update-row .row-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .entry-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .entry-row .entry-name,
  .entry-row .entry-vol,
  .entry-row .entry-status,
  .entry-row .entry-length {
    grid-column: 1;
  }

  .entry-row .tag,
  .entry-row .entry-link {
    grid-column: 2;
    justify-self: end;
  }

  .batch-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .batch-item .item-name,
  .batch-item .item-sequence,
  .batch-item .item-change,
  .batch-item .item-stage {
    grid-column: 1;
  }

  .batch-item a {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .change-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .change-row-head {
    display: none;
  }

  .change-row:not(.change-row-head) {
    border-left: 2px solid var(--line);
    padding-left: 14px;
  }

  .terms-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .terms-row-head {
    display: none;
  }

  .terms-table {
    border-top: none;
  }

  .terms-cell-term {
    font-size: 15px;
  }

  .terms-cell-mean::before {
    content: "含义：";
    color: var(--ink);
    font-weight: 700;
  }

  .terms-cell-use::before {
    content: "使用场景：";
    color: var(--ink);
    font-weight: 700;
  }

  .page-routes .route-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .page-routes .route-col-intro {
    grid-column: auto;
  }

  .notes-grid,
  .rules-list,
  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .adjacent-row,
  .rule-row,
  .field-read li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .series-figure img,
  .page-figure img,
  .route-figure img,
  .block-figure img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  h1,
  .page-title {
    font-size: 22px;
  }

  h2 {
    font-size: 19px;
  }

  .hero-inner {
    padding-top: 30px;
  }

  .hero-covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cover-grid,
  .route-cards,
  .overview-grid,
  .recall-steps,
  .marks-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .genre-tags li {
    flex: 0 0 auto;
  }

  .genre-chip {
    min-width: 150px;
  }

  .side-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    flex: 1 1 200px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .faq-side {
    padding: 16px;
  }
}
