:root {
  --paper: #FDF6EA;
  --card: #FFFFFF;
  --ink: #1E2A44;
  --orange: #F2703A;
  --yellow: #FFC93C;
  --teal: #2FA79B;
  --muted: #7A6A57;
  --line: #E7DCCB;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(30, 42, 68, .07);
  --shadow-hover: 0 8px 20px rgba(30, 42, 68, .12);
  --wide: 1120px;
  --narrow: 760px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

/* ============ base ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: #d4551f;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

time {
  font-variant-numeric: tabular-nums;
}

.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;
}

/* ============ layout ============ */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.home-main {
  width: 100%;
}

.section {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 44px 24px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-narrow {
  max-width: var(--narrow);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--wide);
  margin: 0 auto;
}

.narrow {
  max-width: var(--narrow);
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============ header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 1px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.brand-tagline {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--paper);
  color: var(--orange);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--orange);
  font-weight: 700;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.nav-dropdown.is-open {
  display: block;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--orange);
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ breadcrumb & page head ============ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

.page-header {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 20px 0 0;
}

.page-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.page-head {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 14px 0 0;
}

.page-lead {
  max-width: var(--narrow);
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.page-facts,
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.fact-item,
.meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}

.fact-label {
  color: var(--muted);
}

.fact-value {
  color: var(--ink);
  font-weight: 600;
}

/* ============ buttons & links ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #d4551f;
  border-color: #d4551f;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
  transform: translateY(-1px);
}

.link-inline,
.text-link,
.inline-link,
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.link-inline::after,
.text-link::after,
.inline-link::after,
.link-more::after {
  content: "→";
  font-weight: 400;
}

.link-inline:hover,
.text-link:hover,
.inline-link:hover,
.link-more:hover {
  color: #d4551f;
  text-decoration: underline;
}

.section-foot-link {
  max-width: var(--wide);
  margin: 22px auto 0;
  text-align: right;
}

/* ============ tags ============ */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #5c4400;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}

.tag-genre {
  background: #fdf0d5;
  color: #8a6320;
}

.tag-mark,
.tag-continue {
  background: #dff2ef;
  color: #1c6e66;
}

.tag-new {
  background: var(--orange);
  color: #fff;
}

.tag-note {
  background: var(--line);
  color: var(--muted);
}

.tag-revise {
  background: #e6ebf5;
  color: #33456b;
}

.tag-primary {
  background: var(--orange);
  color: #fff;
}

/* ============ hero ============ */

.hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px 24px 52px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.3;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.hero-facts li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hero-timeline {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-timeline-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.mini-timeline {
  margin: 0 0 12px;
}

.mini-timeline-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.mini-timeline-item:last-child {
  border-bottom: 0;
}

.mini-date {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.mini-work {
  color: var(--ink);
  font-weight: 600;
}

.hero-timeline-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}

/* ============ section heads ============ */

.section-head {
  max-width: var(--wide);
  margin: 0 auto 24px;
}

.section-head h2 {
  margin: 0 0 8px;
}

.section-sub {
  max-width: var(--narrow);
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-title {
  margin: 0 0 10px;
  font-size: 22px;
}

.section-desc,
.section-intro,
.section-note,
.section-lead {
  max-width: var(--narrow);
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ============ summary / entry cards ============ */

.section-summary .section-lead {
  margin-bottom: 12px;
}

.entry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--wide);
  margin: 26px auto 0;
}

.entry-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.entry-card-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.entry-card-text {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.entry-card-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
}

/* ============ genre chips ============ */

.genre-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--wide);
  margin: 0 auto;
}

.genre-chip {
  margin: 0;
}

.genre-chip a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.genre-chip a:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.genre-chip-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.genre-chip-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ timeline ============ */

.timeline-list {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.timeline-item:first-child {
  border-top: 1px solid var(--line);
}

.timeline-item:hover {
  background: var(--card);
}

.timeline-date {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.8;
}

.timeline-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.timeline-work {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.timeline-desc {
  flex: 1 1 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ============ compare table ============ */

.compare-table {
  width: 100%;
  min-width: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.compare-table caption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.compare-table thead th {
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.compare-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.advice-block,
.conclusion-block {
  max-width: var(--narrow);
  margin: 26px auto 0;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--teal);
  border-left-width: 4px;
  border-radius: var(--radius);
}

.conclusion-block {
  margin-top: 20px;
}

.advice-title,
.conclusion-title {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.advice-block p,
.conclusion-block p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.advice-block p:last-child,
.conclusion-block p:last-child {
  margin-bottom: 0;
}

/* ============ specials ============ */

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--wide);
  margin: 0 auto;
}

.special-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .18s ease, transform .18s ease;
}

.special-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.special-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.special-figure {
  overflow: hidden;
  background: var(--paper);
}

.special-figure img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .25s ease;
}

.special-card-featured .special-figure {
  flex: 0 0 44%;
}

.special-card-featured .special-figure img {
  height: 100%;
  min-height: 240px;
}

.special-card:hover .special-figure img {
  transform: scale(1.03);
}

.special-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px;
}

.special-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.special-desc {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.special-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
}

/* ============ guide steps ============ */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--wide);
  margin: 0 auto;
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--yellow);
  color: #5c4400;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step-title {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-text {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.step-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
}

/* ============ notice ============ */

.section-notice .section-narrow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 0;
}

/* ============ footer ============ */

.site-footer {
  flex: 0 0 auto;
  margin-top: 40px;
  background: var(--ink);
  color: #e9eef7;
}

.footer-inner {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px 24px 28px;
}

.footer-brand {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand-name {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.footer-brand-desc {
  margin: 0;
  color: #b9c3d6;
  font-size: 14px;
  line-height: 1.75;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0 20px;
}

.footer-col-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-list {
  margin: 0;
}

.footer-list li {
  margin: 0 0 6px;
}

.footer-list a {
  color: #b9c3d6;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-source,
.footer-copyright {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #97a3ba;
  font-size: 13px;
  line-height: 1.8;
}

.footer-copyright {
  border-top: 0;
  padding-top: 6px;
}

/* ============ media figures ============ */

.media-figure,
.content-figure,
.guide-figure,
.section-media {
  overflow: hidden;
  margin: 0 0 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-figure img,
.content-figure img,
.guide-figure img,
.section-media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.media-figure figcaption,
.content-figure figcaption,
.guide-figure figcaption,
.section-media figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ genres page ============ */

.overview .overview-list {
  margin: 8px 0 0;
}

.overview-list {
  margin: 0;
}

.overview-list li,
.overview-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.overview-list li::before,
.overview-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.genres-grid {
  padding: 40px 24px;
}

.genres-grid .section-title,
.genres-grid .section-desc {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.genre-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.genre-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--wide);
  margin: 0 auto;
}

.genres-grid .section-title,
.genres-grid .section-desc {
  grid-column: 1 / -1;
}

.genre-name {
  margin: 0 0 8px;
  font-size: 18px;
}

.genre-taste {
  flex: 1 1 auto;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.genre-tags .tag {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}

.genre-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
}

.minor .section-title {
  margin-bottom: 16px;
}

.minor-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.minor-item:last-child {
  border-bottom: 1px solid var(--line);
}

.minor-name {
  margin: 0 0 6px;
  font-size: 17px;
}

.minor-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.related {
  padding: 40px 24px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--wide);
  margin: 0 auto;
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-item a {
  font-size: 16px;
  font-weight: 600;
}

.related-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ============ specials page ============ */

.section-overview .narrow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.special-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  max-width: var(--wide);
  margin: 0 auto 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.special-feature-media {
  overflow: hidden;
  background: var(--paper);
}

.special-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.special-feature-body {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
}

.special-feature-title {
  margin: 10px 0 10px;
  font-size: 21px;
}

.special-feature-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.special-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.meta-term {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.meta-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.special-card-media {
  overflow: hidden;
  background: var(--paper);
}

.special-card-media img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .25s ease;
}

.special-card:hover .special-card-media img {
  transform: scale(1.03);
}

.special-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px;
}

.special-card-title {
  margin: 0 0 8px;
  font-size: 17px;
}

.special-card-desc {
  flex: 1 1 auto;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.special-card-order {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.story-flow {
  display: grid;
  gap: 16px;
  max-width: var(--narrow);
  margin: 0 auto;
}

.story-step {
  position: relative;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.story-step .step-index {
  margin-bottom: 10px;
}

.story-step-title {
  margin: 0 0 8px;
  font-size: 17px;
}

.story-step-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-compare .conclusion {
  max-width: var(--narrow);
  margin: 20px auto 0;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--teal);
  border-left-width: 4px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-archive .narrow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-archive .link-more {
  margin-top: 6px;
}

.section-related {
  padding: 40px 24px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-links-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.related-links-item {
  font-size: 15px;
  font-weight: 600;
}

/* ============ updates page ============ */

.updates-overview,
.updates-timeline,
.updates-grouped,
.updates-legend,
.updates-archive,
.updates-figure,
.related-entries {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px 0;
}

.updates-overview h2,
.updates-timeline h2,
.updates-grouped h2,
.updates-legend h2,
.updates-archive h2,
.updates-figure h2,
.related-entries h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.updates-overview .narrow p,
.updates-archive .narrow p,
.updates-figure .narrow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.legend-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.updates-timeline .timeline-list {
  margin-top: 8px;
}

.grouped-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grouped-block {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.grouped-title {
  margin: 0 0 12px;
  font-size: 17px;
}

.grouped-title a {
  color: var(--ink);
  text-decoration: none;
}

.grouped-title a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.grouped-list {
  margin: 0;
}

.grouped-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.grouped-item:last-child {
  border-bottom: 0;
}

.grouped-item time {
  color: var(--ink);
  font-weight: 600;
}

.legend-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.legend-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legend-card h3 {
  margin: 10px 0 8px;
  font-size: 17px;
}

.legend-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.archive-link {
  margin: 12px 0 0;
}

/* ============ ranking page ============ */

.ranking-dimensions,
.ranking-top,
.ranking-table,
.ranking-compare,
.ranking-advice,
.ranking-cycle,
.related-strip {
  padding: 40px 0;
}

.ranking-dimensions h2,
.ranking-top h2,
.ranking-table h2,
.ranking-compare h2,
.ranking-advice h2,
.ranking-cycle h2,
.related-strip h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.dimension-card {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dimension-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.dimension-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.top-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.top-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.top-card-figure {
  overflow: hidden;
  background: var(--paper);
}

.top-card-figure img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .25s ease;
}

.top-card:hover .top-card-figure img {
  transform: scale(1.03);
}

.top-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.top-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.top-card-genre {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.top-card-body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.rank-table {
  width: 100%;
  min-width: 620px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.rank-table caption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.rank-table th,
.rank-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.rank-table thead th {
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rank-table tbody td {
  color: var(--muted);
}

.rank-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.rank-table tbody tr:last-child th,
.rank-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
}

.ranking-advice .advice-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

.ranking-advice .advice-list li {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.ranking-advice .advice-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.ranking-advice .advice-list p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.ranking-cycle p {
  max-width: var(--narrow);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.ranking-cycle .text-link {
  margin-top: 4px;
}

.related-strip .related-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

/* ============ reading guide page ============ */

.guide-steps,
.guide-updates,
.guide-combine,
.guide-faq {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px 0;
}

.guide-steps h2,
.guide-updates h2,
.guide-combine h2,
.guide-faq h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.guide-steps .guide-figure {
  margin: 26px 0 0;
}

.guide-updates > p {
  max-width: var(--narrow);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.legend-list {
  max-width: var(--narrow);
  margin: 18px 0 0;
}

.legend-list .legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legend-list .legend-item:last-child {
  border-bottom: 0;
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #5c4400;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}

.legend-list .legend-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.combine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.combine-col {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.combine-col h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.combine-col p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: var(--narrow);
  margin: 20px 0 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-question {
  padding: 16px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.guide-faq .related-list {
  margin-top: 24px;
}

/* ============ notices page ============ */

.content-note,
.usage,
.feedback,
.exclude {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px 0;
}

.content-note h2,
.usage h2,
.feedback h2,
.exclude h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.content-note .narrow h3,
.feedback .narrow h3 {
  margin: 20px 0 8px;
  font-size: 17px;
}

.content-note .narrow p,
.usage .narrow p,
.feedback .narrow p,
.exclude .narrow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.note-line {
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--yellow);
  border-left-width: 4px;
  border-radius: var(--radius);
}

.feedback-list,
.check-list,
.exclude-list {
  margin: 0 0 8px;
}

.feedback-item,
.check-item,
.exclude-item {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.feedback-item::before,
.exclude-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.check-list {
  counter-reset: check;
}

.check-item {
  counter-increment: check;
}

.check-item::before {
  content: counter(check);
  position: absolute;
  top: 4px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  color: #5c4400;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.exclude .related-list {
  margin-top: 24px;
}

/* ============ 404 ============ */

.error-main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.error-block {
  max-width: var(--narrow);
  margin: 0 auto 40px;
  text-align: center;
}

.error-code {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 48px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.error-title {
  margin: 0 0 12px;
  font-size: 28px;
}

.error-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-paths-title {
  margin: 0 0 16px;
  font-size: 20px;
  text-align: center;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--narrow);
  margin: 0 auto;
}

.error-path-item {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-path-name {
  margin: 0 0 6px;
  font-size: 17px;
}

.error-path-name a {
  color: var(--ink);
  text-decoration: none;
}

.error-path-name a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.error-path-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ============ motion ============ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise .4s ease both;
  }

  @keyframes rise {
    from {
      transform: translateY(10px);
    }

    to {
      transform: translateY(0);
    }
  }
}

/* ============ responsive ============ */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-figure img {
    height: 240px;
  }

  .genre-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .genres-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grouped-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legend-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }

  .entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .special-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-feature-media img {
    min-height: 220px;
  }

  .top-three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-list,
  .related-strip .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1,
  .page-title {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .inner-main,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .genres-grid,
  .related,
  .section-related {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding: 32px 16px 36px;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-figure img {
    height: 200px;
  }

  .entry-cards,
  .genre-chips,
  .special-grid,
  .step-list,
  .genres-grid,
  .grouped-grid,
  .legend-cards,
  .dimension-grid,
  .top-three-grid,
  .related-list,
  .related-strip .related-list,
  .combine-grid,
  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-card-featured {
    flex-direction: column;
  }

  .special-card-featured .special-figure {
    flex: 0 0 auto;
  }

  .special-card-featured .special-figure img {
    height: 200px;
    min-height: 0;
  }

  .special-figure img,
  .special-card-media img,
  .top-card-figure img {
    height: 180px;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .media-figure img,
  .content-figure img,
  .guide-figure img,
  .section-media img {
    height: 200px;
  }

  .special-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .footer-inner {
    padding: 32px 16px 24px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .related-links {
    padding: 16px;
  }

  .error-main {
    padding: 40px 16px 32px;
  }

  .error-code {
    font-size: 40px;
  }

  .error-title {
    font-size: 24px;
  }
}

/* ============ print ============ */

@media print {
  .site-header,
  .related-links,
  .footer-nav {
    display: none;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .footer-brand-name,
  .footer-source,
  .footer-copyright {
    color: #000;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
