:root {
  --paper: #F6F3EC;
  --ink: #152A2E;
  --brand: #2E7F70;
  --accent: #E08A3C;
  --line: #C9C2B4;
  --surface: #FFFFFF;
  --muted: #5C6B6C;
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1160px;
  --content: 1040px;
  --gutter: 24px;
  --header-h: 68px;
}

/* ==========================================================================
   base
   ========================================================================== */

*,
*::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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt,
figure,
figcaption {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

details summary {
  cursor: pointer;
}

/* ==========================================================================
   layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-main {
  display: block;
}

.inner-main {
  padding-bottom: 56px;
}

section {
  scroll-margin-top: 84px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  position: relative;
  padding-bottom: 10px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.section-lead,
.section-intro,
.section-sub {
  margin-top: 12px;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

.section-more {
  margin-top: 22px;
}

.section-more a {
  font-weight: 600;
}

.section-more a::after {
  content: " →";
  font-weight: 400;
}

/* ==========================================================================
   header / navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.brand:hover,
.brand:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.nav-list a {
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--brand);
}

.nav-list a.is-current {
  color: var(--brand);
  font-weight: 600;
  border-bottom-color: var(--brand);
}

/* ==========================================================================
   breadcrumb / page header
   ========================================================================== */

.breadcrumb {
  padding: 20px 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 22px 0 0;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
}

.page-head {
  padding: 18px 0 0;
}

.page-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.page-head-text {
  flex: 1 1 420px;
  min-width: 0;
}

.page-label,
.page-kicker,
.page-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

.page-lead {
  margin-top: 8px;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   components
   ========================================================================== */

.tag-row,
.genre-tags,
.rhythm-tags,
.rank-tags,
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.genre-tags li,
.rhythm-tags li,
.rank-tags li,
.scope-tags li {
  display: inline-block;
  padding: 3px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--accent);
  background-color: rgba(224, 138, 60, 0.1);
  border: 1px solid rgba(224, 138, 60, 0.28);
  border-radius: var(--radius-sm);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.data-table,
.tag-table {
  min-width: 560px;
  font-size: 15px;
}

.data-table caption,
.tag-table caption {
  padding: 14px 16px 0;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.data-table th,
.data-table td,
.tag-table th,
.tag-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.tag-table thead th {
  background-color: rgba(46, 127, 112, 0.07);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:last-child td,
.tag-table tbody tr:last-child td {
  border-bottom: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
}

.faq-item summary {
  padding: 16px 30px 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.related-nav {
  padding: 48px 0 0;
}

.related-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 24px;
  font-size: 22px;
}

.related-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.related-card a,
.related-item a {
  display: block;
  padding: 18px 20px;
  color: var(--ink);
}

.related-card a:hover,
.related-card a:focus-visible,
.related-item a:hover,
.related-item a:focus-visible {
  color: var(--brand);
}

.related-name,
.related-item .related-name,
.related-item .related-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.related-card a:hover .related-name,
.related-card a:hover .related-title,
.related-item a:hover .related-name,
.related-item a:hover .related-title {
  color: var(--brand);
}

.related-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.related-card h3 {
  font-size: 17px;
}

.related-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-item {
  position: relative;
  padding: 18px 20px 18px 62px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-index {
  position: absolute;
  left: 20px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  background-color: var(--brand);
  border-radius: 50%;
}

.step-item h3 {
  font-size: 17px;
}

.step-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages: index
   ========================================================================== */

.home-main {
  padding-bottom: 40px;
}

.hero {
  padding: 56px 0 64px;
  background-color: rgba(46, 127, 112, 0.06);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 600;
}

.hero-copy h1 {
  margin-top: 12px;
  font-size: 36px;
  font-weight: 700;
}

.hero-lead {
  margin-top: 16px;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
}

.hero-entries {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.entry-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 13px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.entry-link:hover,
.entry-link:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.entry-name {
  font-size: 16px;
  font-weight: 600;
}

.entry-desc {
  font-size: 14px;
  color: var(--muted);
}

.hero-media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.genre-wall,
.update-rhythm,
.ranking-dimensions,
.reader-paths,
.column-map,
.faq {
  padding: 60px 0 0;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.genre-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.genre-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.genre-media {
  border-bottom: 1px solid var(--line);
  background-color: rgba(46, 127, 112, 0.05);
}

.genre-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.genre-body {
  padding: 18px 20px 20px;
}

.genre-name {
  font-size: 18px;
  font-weight: 600;
}

.genre-point {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.genre-body .tag-row {
  margin-top: 14px;
}

.rhythm-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rhythm-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
}

.rhythm-name {
  font-size: 17px;
}

.rhythm-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.rhythm-item .tag-row {
  margin-top: 14px;
}

.dimension-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dimension-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.dimension-index {
  flex: 0 0 auto;
  width: 34px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.dimension-body {
  flex: 1 1 auto;
  min-width: 0;
}

.dimension-name {
  font-size: 17px;
}

.dimension-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.dimension-link {
  flex: 0 0 auto;
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.path-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.path-media {
  border-bottom: 1px solid var(--line);
  background-color: rgba(224, 138, 60, 0.06);
}

.path-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.path-name {
  padding: 18px 20px 0;
  font-size: 18px;
}

.path-for,
.path-genre {
  padding: 8px 20px 0;
  color: var(--muted);
  font-size: 15px;
}

.path-link {
  display: inline-block;
  margin: 16px 20px 20px;
  font-size: 14px;
  font-weight: 600;
}

.path-link::after {
  content: " →";
  font-weight: 400;
}

.map-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.map-group {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-title {
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.map-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.map-list a {
  font-size: 15px;
}

.site-note {
  margin-top: 60px;
  padding: 40px 0;
  background-color: var(--ink);
  color: var(--paper);
}

.site-note-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-note-copy {
  flex: 1 1 480px;
  min-width: 0;
}

.site-note-copy h2 {
  font-size: 20px;
  color: var(--paper);
}

.site-note-copy p {
  margin-top: 10px;
  max-width: 720px;
  font-size: 15px;
  color: rgba(246, 243, 236, 0.78);
}

.site-note-link {
  flex: 0 0 auto;
  display: inline-block;
  padding: 12px 22px;
  min-height: 44px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.site-note-link:hover,
.site-note-link:focus-visible {
  color: var(--ink);
  background-color: #f0a05a;
}

/* ==========================================================================
   pages: genres
   ========================================================================== */

.genre-blocks {
  padding: 44px 0 0;
}

.genre-blocks h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 26px;
}

.genre-blocks h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.genre-block {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.genre-block:first-of-type {
  padding-top: 0;
}

.genre-block:last-of-type {
  border-bottom: none;
}

.genre-block .genre-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.genre-block .genre-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.genre-text {
  min-width: 0;
}

.genre-text h3 {
  font-size: 20px;
}

.genre-define {
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
}

.genre-text .genre-point {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.genre-text .genre-tags {
  margin-top: 14px;
}

.genre-links {
  margin-top: 14px;
  font-size: 15px;
}

.genre-links a + a {
  margin-left: 18px;
}

.genre-tags {
  padding: 52px 0 0;
}

.genre-tags h2,
.pick-order h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.genre-tags h2::after,
.pick-order h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.pick-order {
  padding: 52px 0 0;
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-list li {
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

.order-text {
  font-size: 16px;
  font-weight: 600;
}

.order-reason {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages: updates
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 40px;
  align-items: start;
  padding-top: 8px;
  max-width: var(--container);
}

.page-layout .inner-main {
  min-width: 0;
  padding-bottom: 0;
}

.rhythm-intro {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: rgba(46, 127, 112, 0.05);
}

.rhythm-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rhythm-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.rhythm-intro p {
  color: var(--muted);
  font-size: 15px;
}

.rhythm-group {
  margin-top: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.rhythm-group:last-of-type {
  border-bottom: none;
}

.rhythm-group h2 {
  position: relative;
  padding-bottom: 10px;
  font-size: 20px;
}

.rhythm-group h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background-color: var(--accent);
}

.rhythm-group p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.rhythm-group .rhythm-tags {
  margin-top: 14px;
}

.rhythm-link {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.rhythm-link a::after {
  content: " →";
  font-weight: 400;
}

.status-legend {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-legend h2 {
  position: relative;
  padding-bottom: 10px;
  font-size: 19px;
}

.status-legend h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background-color: var(--accent);
}

.legend-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.legend-list {
  margin-top: 16px;
  display: grid;
  gap: 0;
}

.legend-list dt {
  padding-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.legend-list dd {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--muted);
}

.legend-list dd:last-of-type {
  border-bottom: none;
}

.legend-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.judge-angles {
  padding: 56px 0 0;
}

.judge-angles h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.judge-angles h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.angle-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.angle-list li {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.angle-list h3 {
  font-size: 17px;
}

.angle-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages: ranking
   ========================================================================== */

.ranking-rule {
  padding: 44px 0 0;
}

.ranking-rule h2,
.ranking-list h2,
.usage-tips h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.ranking-rule h2::after,
.ranking-list h2::after,
.usage-tips h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.rule-body p {
  color: var(--muted);
  font-size: 15px;
}

.rule-body p + p {
  margin-top: 12px;
}

.rule-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.rule-list li {
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.ranking-list {
  padding: 52px 0 0;
}

.ranking-items {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.ranking-items-late {
  margin-top: 0;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.rank-number {
  flex: 0 0 auto;
  width: 44px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.rank-body {
  flex: 1 1 auto;
  min-width: 0;
}

.rank-title {
  font-size: 19px;
}

.rank-reason {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
}

.rank-audience {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.rank-tags {
  margin-top: 12px;
}

.rank-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.rank-link::after {
  content: " →";
  font-weight: 400;
}

.rank-figure {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.rank-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.rank-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.usage-tips {
  padding: 52px 0 0;
}

.tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.tip-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.tip-item h3 {
  font-size: 17px;
}

.tip-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages: reader-paths
   ========================================================================== */

.layout-shell {
  padding-top: 8px;
}

.page-main {
  min-width: 0;
}

.path-cards {
  padding: 40px 0 0;
}

.path-cards h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.path-cards h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.path-cards .path-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 0;
  margin-bottom: 20px;
}

.path-cards .path-card:last-child {
  margin-bottom: 0;
}

.path-cards .path-media {
  border-bottom: none;
  border-right: 1px solid var(--line);
}

.path-cards .path-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
  object-fit: cover;
}

.path-cards .path-card .path-body {
  padding: 20px 22px;
  min-width: 0;
}

.path-cards .path-card .path-name {
  padding: 0;
  font-size: 18px;
}

.path-meta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.path-meta dt {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.path-meta dd {
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}

.path-entry {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.path-entry a::after,
.link-arrow::after {
  content: " →";
  font-weight: 400;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-aside h2 {
  position: relative;
  padding-bottom: 10px;
  font-size: 19px;
}

.page-aside h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background-color: var(--accent);
}

.aside-intro {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.path-table .table-scroll {
  margin-top: 16px;
}

.path-table .data-table {
  min-width: 480px;
  font-size: 14px;
}

.aside-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.path-to-genre {
  padding: 56px 0 0;
}

.path-to-genre h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.path-to-genre h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.path-to-genre .step-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ==========================================================================
   pages: reading-guide
   ========================================================================== */

.guide-body {
  display: block;
  max-width: 760px;
  padding: 40px 0 0;
}

.guide-body section {
  padding-bottom: 34px;
}

.guide-body section + section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.guide-body h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.guide-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.guide-body p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.guide-intro p:first-of-type {
  margin-top: 0;
}

.guide-media {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.guide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.guide-fields .table-scroll {
  margin-top: 20px;
}

.guide-order .step-list {
  margin-top: 20px;
}

.guide-order .step-item {
  padding-left: 20px;
}

.status-read {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.status-read dt {
  font-size: 15px;
  font-weight: 600;
}

.status-read dd {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.rhythm-tips {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.rhythm-tip {
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-tip h3 {
  font-size: 16px;
}

.rhythm-tip p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.guide-faq {
  max-width: 760px;
  padding: 40px 0 0;
}

.guide-faq h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.guide-faq h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

/* ==========================================================================
   pages: glossary
   ========================================================================== */

.glossary-head {
  padding-top: 24px;
}

.page-head-media {
  flex: 0 1 360px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.page-head-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.term-list {
  padding: 48px 0 0;
}

.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--accent);
}

.term-items {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.term-item {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.term-name {
  min-width: 0;
}

.term-word {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.term-reading {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.term-body {
  min-width: 0;
}

.term-define {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.term-explain,
.term-sample {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.term-links {
  margin-top: 12px;
  font-size: 15px;
}

.term-links a + a {
  margin-left: 16px;
}

.term-scope {
  padding: 52px 0 0;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.scope-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-title {
  font-size: 17px;
}

.scope-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   pages: site-notes
   ========================================================================== */

.scope,
.column-division,
.collection-rule,
.cut-standard,
.correction {
  padding: 48px 0 0;
}

.scope .section-head,
.column-division .section-head,
.collection-rule .section-head,
.cut-standard .section-head,
.correction .section-head {
  margin-bottom: 24px;
}

.scope-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 32px;
  align-items: start;
}

.scope-text {
  min-width: 0;
  max-width: 760px;
}

.scope-text p {
  color: var(--muted);
  font-size: 15px;
}

.scope-text p + p {
  margin-top: 12px;
}

.scope-tags {
  margin-top: 18px;
}

.scope-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.scope-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scope-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.division-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.division-item {
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

.division-item h3 {
  font-size: 17px;
}

.division-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.rule-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
}

.rule-item h3 {
  font-size: 17px;
}

.rule-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.cut-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.cut-list li {
  position: relative;
  padding: 14px 18px 14px 42px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--muted);
}

.cut-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 2px;
}

.correction-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.correction-step {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.correction-step h3 {
  font-size: 17px;
}

.correction-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.correction-note {
  margin-top: 20px;
  max-width: 760px;
  padding: 16px 18px;
  background-color: rgba(46, 127, 112, 0.07);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
}

/* ==========================================================================
   pages: 404
   ========================================================================== */

.error-main {
  padding: 72px 0;
}

.error-inner {
  max-width: 720px;
  text-align: left;
}

.error-code {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.error-main h1 {
  margin-top: 12px;
  font-size: 32px;
}

.error-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.error-links {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.error-links a {
  display: block;
  padding: 14px 18px;
  min-height: 44px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.error-links a:hover,
.error-links a:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

.error-hint {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

/* ==========================================================================
   footer
   ========================================================================== */

.site-footer {
  margin-top: 64px;
  background-color: var(--ink);
  color: rgba(246, 243, 236, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.footer-intro {
  margin-top: 12px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 243, 236, 0.7);
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.18);
}

.footer-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  color: rgba(246, 243, 236, 0.78);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-boundary {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(246, 243, 236, 0.18);
}

.footer-boundary p {
  max-width: 860px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(246, 243, 236, 0.62);
}

.footer-copy {
  margin-top: 10px;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 32px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhythm-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-intro {
    max-width: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .header-inner {
    min-height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    min-height: 48px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list a.is-current {
    color: var(--brand);
    border-bottom-color: var(--line);
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .genre-grid,
  .rhythm-strip,
  .path-grid,
  .map-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .status-legend,
  .page-aside {
    position: static;
  }

  .rhythm-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .path-cards .path-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-cards .path-media {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .path-cards .path-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .term-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .scope-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-head-inner {
    flex-direction: column;
  }

  .page-head-media {
    flex: 1 1 auto;
    width: 100%;
  }

  .dimension-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dimension-link {
    align-self: flex-start;
  }

  .ranking-item {
    gap: 14px;
  }

  .rank-number {
    width: 34px;
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
  }

  .site-note {
    margin-top: 48px;
    padding: 32px 0;
  }

  .site-note-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: 20px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .page-title {
    font-size: 26px;
  }

  .entry-link {
    padding: 12px 14px;
  }

  .genre-body,
  .path-cards .path-card .path-body {
    padding: 16px;
  }

  .path-name {
    padding: 16px 16px 0;
  }

  .path-for,
  .path-genre {
    padding-left: 16px;
    padding-right: 16px;
  }

  .path-link {
    margin: 14px 16px 18px;
  }

  .step-item {
    padding: 16px 16px 16px 54px;
  }

  .step-index {
    left: 16px;
    top: 16px;
  }

  .faq-item {
    padding: 0 14px;
  }

  .error-main {
    padding: 48px 0;
  }

  .error-main h1 {
    font-size: 26px;
  }

  .related-card a,
  .related-item a {
    padding: 16px;
  }
}

/* 减少动效偏好下关闭过渡与位移 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .genre-card:hover,
  .path-card:hover,
  .entry-link:hover,
  .related-card:hover {
    transform: none;
  }
}
