:root {
  --c-bg: #faf9fc;
  --c-surface: #ffffff;
  --c-ink: #212438;
  --c-ink-soft: #626a83;
  --c-brand: #e2668f;
  --c-brand-deep: #b94a71;
  --c-accent: #6f86e8;
  --c-line: #ebe8f0;
  --r-card: 8px;
  --r-chip: 6px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(33, 36, 56, 0.04);
  --shadow-hover: 0 6px 18px rgba(33, 36, 56, 0.09);
  --w-container: 1180px;
  --w-side: 300px;
  --gap-col: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--c-brand-deep);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

time,
.rank-no,
.update-time,
.rank-date,
.board-facts dd {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  display: block;
  min-height: 100vh;
  background-color: var(--c-bg);
}

.site-main {
  display: block;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 22px 20px 8px;
}

.inner-main {
  padding-top: 16px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--w-side);
  gap: var(--gap-col);
  align-items: start;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: var(--w-side) minmax(0, 1fr);
}

.page-layout.sidebar-left > .main-col {
  order: 2;
}

.page-layout.sidebar-left > .side-col {
  order: 1;
}

.main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==========================================================================
   components — header / nav / footer skeleton
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 10px 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.3;
  color: var(--c-ink-soft);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions {
  margin-left: auto;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.header-actions a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.header-actions a.is-current {
  border-color: var(--c-brand);
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

#site-nav {
  border-top: 1px solid var(--c-line);
}

#site-nav ul {
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

#site-nav ul::-webkit-scrollbar {
  display: none;
}

#site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--c-ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

#site-nav a:hover {
  color: var(--c-brand-deep);
}

#site-nav a.is-current {
  color: var(--c-brand-deep);
  font-weight: 600;
  border-bottom-color: var(--c-brand);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: var(--c-ink);
  box-shadow: 0 -6px 0 var(--c-ink), 0 6px 0 var(--c-ink);
}

.site-footer {
  margin-top: 32px;
  background-color: var(--c-surface);
  border-top: 1px solid var(--c-line);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.footer-col h2 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--c-ink-soft);
}

.footer-col a:hover {
  color: var(--c-brand-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--c-line);
}

.footer-brand {
  font-size: 13px;
  font-weight: 600;
}

.footer-desc {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   components — breadcrumb / page head / section heads
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--c-ink-soft);
}

.breadcrumb a {
  color: var(--c-ink-soft);
}

.breadcrumb a:hover {
  color: var(--c-brand-deep);
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-ink);
}

.page-header {
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.page-head {
  margin-bottom: 20px;
}

.site-brand-heading {
  font-size: 13px;
  color: var(--c-ink-soft);
}

.page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  max-width: 900px;
}

.page-tags,
.page-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.page-tags li,
.page-facts li,
.info-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background-color: #f5f2fa;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.section-head {
  margin-bottom: 12px;
}

.section-head h2,
.inner-main section > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.section-head h2::before,
.inner-main section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.section-head p,
.section-note,
.section-lead,
.section-intro {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.section-more {
  margin-top: 10px;
  font-size: 13px;
}

.section-more a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

.section-more a::after {
  content: " →";
}

.section-foot {
  margin-top: 12px;
  font-size: 13px;
}

.section-foot a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

/* ==========================================================================
   components — chips / buttons / cards / lists
   ========================================================================== */

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.tag-chip:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.tag-chip-all {
  background-color: #fdf1f5;
  border-color: #f3cfdd;
  color: var(--c-brand-deep);
  font-weight: 600;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-card);
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--c-brand);
  border: 1px solid var(--c-brand);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--c-brand-deep);
  border-color: var(--c-brand-deep);
  color: #ffffff;
}

.btn-ghost {
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
}

.btn-ghost:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.next-step {
  margin-top: 26px;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.next-step > h2 {
  font-size: 17px;
  font-weight: 600;
}

.next-step-grid,
.next-grid,
.next-cards,
.next-step-cards,
.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.next-step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.next-step-card,
.next-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 12px 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.next-step-card:hover,
.next-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.next-step-name,
.next-step-title,
.next-card-title,
.next-name,
.next-title {
  font-size: 14px;
  font-weight: 600;
}

.next-step-desc,
.next-card-desc,
.next-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
}

.related-links-label {
  color: var(--c-ink-soft);
}

.related-links-item {
  color: var(--c-brand-deep);
}

.related-links-item::after {
  content: " →";
}

/* ==========================================================================
   pages — index
   ========================================================================== */

.home-main {
  padding-top: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  line-height: 1.32;
}

.hero-lead {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  font-size: 12px;
  color: var(--c-ink-soft);
}

.hero-facts dd {
  font-size: 15px;
  font-weight: 600;
}

.hero-media {
  position: relative;
  min-height: 220px;
  border-radius: var(--r-card);
  overflow: hidden;
  background-color: #f5f2fa;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: #ffffff;
  background-color: rgba(33, 36, 56, 0.62);
}

.tag-strip {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cover-wall {
  margin-top: 26px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cover-card {
  min-width: 0;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.cover-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cover-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.cover-card-feature {
  grid-column: span 2;
}

.cover-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f2fa;
}

.cover-card-feature .cover-media {
  aspect-ratio: 16 / 10;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--c-brand-deep);
}

.cover-title {
  padding: 10px 12px 0;
  font-size: 15px;
  font-weight: 600;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px 12px;
}

.cover-tags span {
  padding: 1px 8px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-ink-soft);
}

.home-main .page-layout {
  margin-top: 26px;
}

.update-list,
.ranking,
.tag-overview,
.reading-brief {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.update-rows {
  display: flex;
  flex-direction: column;
}

.update-row {
  display: grid;
  grid-template-columns: 62px 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}

.update-row:last-child {
  border-bottom: 0;
}

.update-time {
  font-size: 12px;
  color: var(--c-ink-soft);
}

.update-thumb {
  width: 40px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.update-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-progress {
  font-size: 12px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.update-status,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  white-space: nowrap;
}

.update-status,
.status-ongoing {
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

.status-finished {
  background-color: #eef1fb;
  color: var(--c-accent);
}

.ranking-list {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}

.ranking-item:last-child {
  border-bottom: 0;
}

.rank-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  text-align: center;
}

.rank-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-genre {
  padding: 1px 8px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-ink-soft);
}

.rank-date {
  grid-column: 2 / 4;
  font-size: 11px;
  color: var(--c-ink-soft);
}

.tag-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
}

.tag-group:last-child {
  border-bottom: 0;
}

.tag-group h3 {
  font-size: 14px;
  font-weight: 600;
}

.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag-links a {
  padding: 2px 9px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.tag-links a:hover {
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.brief-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — updates
   ========================================================================== */

.update-group {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.update-group h2 {
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
}

.update-group h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.update-group h2 {
  position: relative;
}

.serial-note,
.rhythm-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.note-col {
  min-width: 0;
  padding: 12px 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.note-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rhythm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.rhythm-list li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rhythm-list strong {
  color: var(--c-ink);
}

.category-shortcut,
.reading-shortcut,
.side-card,
.quick-entry,
.side-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.category-shortcut h2,
.reading-shortcut h2,
.side-card h2,
.quick-entry h2,
.side-note h2 {
  position: relative;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
}

.category-shortcut h2::before,
.reading-shortcut h2::before,
.side-card h2::before,
.quick-entry h2::before,
.side-note h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.category-shortcut ul,
.reading-shortcut ul,
.quick-entry ul,
.side-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.category-shortcut a,
.reading-shortcut a,
.quick-entry a,
.side-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
  font-size: 13px;
  color: var(--c-ink-soft);
}

.category-shortcut a:hover,
.reading-shortcut a:hover,
.quick-entry a:hover,
.side-links a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.side-note p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — ranking
   ========================================================================== */

.board-steady,
.board-genre,
.board-length,
.board-note {
  margin-top: 24px;
}

.board-steady > h2,
.board-genre > h2,
.board-length > h2,
.board-note > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.board-steady > h2::before,
.board-genre > h2::before,
.board-length > h2::before,
.board-note > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.board-row {
  display: grid;
  grid-template-columns: 34px 84px minmax(0, 1fr) minmax(0, 200px);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.board-row:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.board-thumb {
  width: 84px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.board-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-info {
  min-width: 0;
}

.board-info h3 {
  font-size: 15px;
  font-weight: 600;
}

.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.board-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  font-size: 12px;
}

.board-facts dt {
  color: var(--c-ink-soft);
}

.board-facts dd {
  font-weight: 600;
}

.genre-group {
  margin-top: 18px;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.genre-title {
  font-size: 15px;
  font-weight: 600;
}

.genre-title a {
  color: var(--c-brand-deep);
}

.board-list-compact {
  gap: 8px;
  margin-top: 10px;
}

.board-list-compact .board-row {
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 8px 10px;
  background-color: var(--c-bg);
}

.length-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.length-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.length-title {
  font-size: 15px;
  font-weight: 600;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.note-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.note-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — categories
   ========================================================================== */

.filter-bar,
.dimension-note,
.category-groups,
.category-vs-tag {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.filter-bar > h2,
.dimension-note > h2,
.category-groups > h2,
.category-vs-tag > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.filter-bar > h2::before,
.dimension-note > h2::before,
.category-groups > h2::before,
.category-vs-tag > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.filter-label {
  flex: 0 0 72px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-soft);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.filter-chips a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px dashed var(--c-brand);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-brand-deep);
}

.content-media {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.content-media img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.content-media figcaption,
.flow-figure figcaption,
.page-figure figcaption,
.site-figure figcaption {
  padding: 8px 2px 0;
  font-size: 12px;
  color: var(--c-ink-soft);
}

.dimension-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dimension-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.dimension-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.dimension-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.group-block {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.group-block h3 {
  font-size: 15px;
  font-weight: 600;
}

.group-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.group-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
}

.group-list a {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-meta {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--c-ink-soft);
}

.vs-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.vs-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.vs-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.vs-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — tags
   ========================================================================== */

.tag-meaning,
.tag-groups,
.tag-vs-category {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-meaning > h2,
.tag-groups > h2,
.tag-vs-category > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.tag-meaning > h2::before,
.tag-groups > h2::before,
.tag-vs-category > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.tag-def {
  margin-top: 14px;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-def h3 {
  font-size: 15px;
  font-weight: 600;
}

.tag-def-list {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 13px;
}

.tag-def-list dt {
  color: var(--c-ink-soft);
}

.tag-def-list dd {
  line-height: 1.8;
}

.tag-group {
  margin-top: 14px;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-group h3 {
  font-size: 15px;
  font-weight: 600;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.work-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.work-cover {
  width: 56px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.work-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-ink-soft);
}

.work-status {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 1px 8px;
  background-color: #fdf1f5;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-brand-deep);
}

.compare-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.compare-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.compare-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.compare-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.compare-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

/* ==========================================================================
   pages — reading
   ========================================================================== */

.reading-flow,
.chapter-structure,
.tracking-rhythm,
.reading-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.reading-flow > h2,
.chapter-structure > h2,
.tracking-rhythm > h2,
.reading-note > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.reading-flow > h2::before,
.chapter-structure > h2::before,
.tracking-rhythm > h2::before,
.reading-note > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.flow-figure {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.flow-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.flow-step {
  position: relative;
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.flow-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--c-brand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.flow-step h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.flow-step p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.flow-step a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-brand-deep);
}

.flow-step a::after {
  content: " →";
}

.structure-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.structure-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.structure-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.structure-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.structure-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.structure-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.structure-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.tracking-rhythm .rhythm-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.rhythm-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.rhythm-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.rhythm-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.note-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — faq
   ========================================================================== */

.faq-group {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.faq-group > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.faq-group > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.page-figure {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.page-figure img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.faq-item {
  margin-top: 10px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  font-size: 16px;
  color: var(--c-brand-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 14px 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.faq-answer a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

/* ==========================================================================
   pages — site
   ========================================================================== */

.scope,
.workflow,
.tag-rule,
.correction {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.scope > h2,
.workflow > h2,
.tag-rule > h2,
.correction > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.scope > h2::before,
.workflow > h2::before,
.tag-rule > h2::before,
.correction > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.scope > p,
.workflow > p,
.tag-rule > p,
.correction > p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.scope-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.scope-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.scope-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.scope-col li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.scope-include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

.scope-exclude li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.workflow-step {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.workflow-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--c-accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.workflow-step h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.workflow-step p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.site-figure {
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.site-figure img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.rule-list,
.correction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.rule-list li,
.correction-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rule-list li::before,
.correction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 28px 24px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand-deep);
}

.error-panel h1 {
  margin-top: 6px;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
}

.error-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.error-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.error-reasons li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.error-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.error-reasons a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   components — mobile task bars
   ========================================================================== */

.task-bar,
.bottom-bar,
.tabbar,
.tab-bar,
.mobile-taskbar {
  display: none;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cover-card-feature {
    grid-column: span 2;
  }

  .board-row {
    grid-template-columns: 30px 72px minmax(0, 1fr);
  }

  .board-row .board-facts {
    grid-column: 3 / 4;
  }

  .board-thumb {
    width: 72px;
  }
}

@media (max-width: 900px) {
  .page-layout,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout.sidebar-left > .main-col,
  .page-layout.sidebar-left > .side-col {
    order: initial;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    min-height: 200px;
  }

  .hero-media img {
    min-height: 200px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-row {
    grid-template-columns: 28px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .board-thumb {
    width: 64px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
    padding-bottom: 60px;
  }

  .site-main {
    padding: 16px 14px 8px;
  }

  .inner-main {
    padding-top: 12px;
  }

  .header-top {
    padding: 8px 14px;
    gap: 10px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  #site-nav {
    display: none;
  }

  #site-nav.is-open {
    display: block;
  }

  #site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 14px 12px;
    overflow-x: visible;
  }

  #site-nav a {
    min-height: 44px;
    padding: 0 6px;
    border-bottom: 1px solid var(--c-line);
  }

  #site-nav a.is-current {
    border-bottom-color: var(--c-line);
    color: var(--c-brand-deep);
  }

  .page-title,
  .hero-copy h1,
  .error-panel h1 {
    font-size: 24px;
  }

  .hero {
    padding: 16px;
    gap: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 140px;
  }

  .hero-facts {
    gap: 10px 20px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-card-feature {
    grid-column: span 2;
  }

  .cover-card-feature .cover-media {
    aspect-ratio: 3 / 2;
  }

  .update-list,
  .ranking,
  .tag-overview,
  .reading-brief,
  .update-group,
  .serial-note,
  .rhythm-note,
  .filter-bar,
  .dimension-note,
  .category-groups,
  .category-vs-tag,
  .tag-meaning,
  .tag-groups,
  .tag-vs-category,
  .reading-flow,
  .chapter-structure,
  .tracking-rhythm,
  .reading-note,
  .faq-group,
  .scope,
  .workflow,
  .tag-rule,
  .correction {
    padding: 14px;
  }

  .update-row {
    grid-template-columns: 48px 34px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .update-thumb {
    width: 34px;
    height: 44px;
  }

  .update-progress {
    display: none;
  }

  .ranking-item {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .note-cols,
  .length-cols,
  .group-grid,
  .vs-cols,
  .structure-cols,
  .scope-cols,
  .compare-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
  }

  .board-thumb {
    grid-column: 1 / 3;
    width: 100%;
    max-width: 120px;
    aspect-ratio: 3 / 2;
  }

  .board-row .board-facts {
    grid-column: 2 / 3;
  }

  .board-list-compact .board-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .filter-label {
    flex-basis: 100%;
  }

  .tag-def-list {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .work-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 14px 16px;
  }

  .footer-bottom {
    padding: 12px 14px 20px;
  }

  .next-step {
    padding: 14px;
  }

  .next-step-grid,
  .next-grid,
  .next-cards,
  .next-step-cards,
  .next-links,
  .next-step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-bar,
  .bottom-bar,
  .tabbar,
  .tab-bar,
  .mobile-taskbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background-color: var(--c-surface);
    border-top: 1px solid var(--c-line);
  }

  .task-bar a,
  .bottom-bar a,
  .tabbar a,
  .tab-bar a,
  .mobile-taskbar a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 12px;
    color: var(--c-ink-soft);
    text-align: center;
  }

  .task-bar a.is-current,
  .bottom-bar a.is-current,
  .tabbar a.is-current,
  .tab-bar a.is-current,
  .mobile-taskbar a.is-current {
    color: var(--c-brand-deep);
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  .cover-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-card-feature {
    grid-column: span 1;
  }

  .update-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .update-thumb {
    display: none;
  }
}
</parameter>
<parameter name="final">:root {
  --c-bg: #faf9fc;
  --c-surface: #ffffff;
  --c-ink: #212438;
  --c-ink-soft: #626a83;
  --c-brand: #e2668f;
  --c-brand-deep: #b94a71;
  --c-accent: #6f86e8;
  --c-line: #ebe8f0;
  --r-card: 8px;
  --r-chip: 6px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(33, 36, 56, 0.04);
  --shadow-hover: 0 6px 18px rgba(33, 36, 56, 0.09);
  --w-container: 1180px;
  --w-side: 300px;
  --gap-col: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--c-brand-deep);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

time,
.rank-no,
.update-time,
.rank-date,
.board-facts dd {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  display: block;
  min-height: 100vh;
  background-color: var(--c-bg);
}

.site-main {
  display: block;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 22px 20px 8px;
}

.inner-main {
  padding-top: 16px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--w-side);
  gap: var(--gap-col);
  align-items: start;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: var(--w-side) minmax(0, 1fr);
}

.page-layout.sidebar-left > .main-col {
  order: 2;
}

.page-layout.sidebar-left > .side-col {
  order: 1;
}

.main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==========================================================================
   components — header / nav / footer skeleton
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 10px 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.3;
  color: var(--c-ink-soft);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions {
  margin-left: auto;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.header-actions a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.header-actions a.is-current {
  border-color: var(--c-brand);
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

#site-nav {
  border-top: 1px solid var(--c-line);
}

#site-nav ul {
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

#site-nav ul::-webkit-scrollbar {
  display: none;
}

#site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--c-ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

#site-nav a:hover {
  color: var(--c-brand-deep);
}

#site-nav a.is-current {
  color: var(--c-brand-deep);
  font-weight: 600;
  border-bottom-color: var(--c-brand);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: var(--c-ink);
  box-shadow: 0 -6px 0 var(--c-ink), 0 6px 0 var(--c-ink);
}

.site-footer {
  margin-top: 32px;
  background-color: var(--c-surface);
  border-top: 1px solid var(--c-line);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.footer-col h2 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--c-ink-soft);
}

.footer-col a:hover {
  color: var(--c-brand-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  width: 100%;
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--c-line);
}

.footer-brand {
  font-size: 13px;
  font-weight: 600;
}

.footer-desc {
  font-size: 12px;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   components — breadcrumb / page head / section heads
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--c-ink-soft);
}

.breadcrumb a {
  color: var(--c-ink-soft);
}

.breadcrumb a:hover {
  color: var(--c-brand-deep);
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-ink);
}

.page-header {
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.page-head {
  margin-bottom: 20px;
}

.site-brand-heading {
  font-size: 13px;
  color: var(--c-ink-soft);
}

.page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  max-width: 900px;
}

.page-tags,
.page-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.page-tags li,
.page-facts li,
.info-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background-color: #f5f2fa;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.section-head {
  margin-bottom: 12px;
}

.section-head h2,
.inner-main section > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.section-head h2::before,
.inner-main section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.section-head p,
.section-note,
.section-lead,
.section-intro {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.section-more {
  margin-top: 10px;
  font-size: 13px;
}

.section-more a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

.section-more a::after {
  content: " →";
}

.section-foot {
  margin-top: 12px;
  font-size: 13px;
}

.section-foot a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

/* ==========================================================================
   components — chips / buttons / cards / lists
   ========================================================================== */

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.tag-chip:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.tag-chip-all {
  background-color: #fdf1f5;
  border-color: #f3cfdd;
  color: var(--c-brand-deep);
  font-weight: 600;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-card);
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--c-brand);
  border: 1px solid var(--c-brand);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--c-brand-deep);
  border-color: var(--c-brand-deep);
  color: #ffffff;
}

.btn-ghost {
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
}

.btn-ghost:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.next-step {
  margin-top: 26px;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.next-step > h2 {
  font-size: 17px;
  font-weight: 600;
}

.next-step-grid,
.next-grid,
.next-cards,
.next-step-cards,
.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.next-step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.next-step-card,
.next-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 12px 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.next-step-card:hover,
.next-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.next-step-name,
.next-step-title,
.next-card-title,
.next-name,
.next-title {
  font-size: 14px;
  font-weight: 600;
}

.next-step-desc,
.next-card-desc,
.next-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
}

.related-links-label {
  color: var(--c-ink-soft);
}

.related-links-item {
  color: var(--c-brand-deep);
}

.related-links-item::after {
  content: " →";
}

/* ==========================================================================
   pages — index
   ========================================================================== */

.home-main {
  padding-top: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  line-height: 1.32;
}

.hero-lead {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  font-size: 12px;
  color: var(--c-ink-soft);
}

.hero-facts dd {
  font-size: 15px;
  font-weight: 600;
}

.hero-media {
  position: relative;
  min-height: 220px;
  border-radius: var(--r-card);
  overflow: hidden;
  background-color: #f5f2fa;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: #ffffff;
  background-color: rgba(33, 36, 56, 0.62);
}

.tag-strip {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cover-wall {
  margin-top: 26px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cover-card {
  min-width: 0;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.cover-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cover-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.cover-card-feature {
  grid-column: span 2;
}

.cover-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f2fa;
}

.cover-card-feature .cover-media {
  aspect-ratio: 16 / 10;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--c-brand-deep);
}

.cover-title {
  padding: 10px 12px 0;
  font-size: 15px;
  font-weight: 600;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px 12px;
}

.cover-tags span {
  padding: 1px 8px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-ink-soft);
}

.home-main .page-layout {
  margin-top: 26px;
}

.update-list,
.ranking,
.tag-overview,
.reading-brief {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.update-rows {
  display: flex;
  flex-direction: column;
}

.update-row {
  display: grid;
  grid-template-columns: 62px 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}

.update-row:last-child {
  border-bottom: 0;
}

.update-time {
  font-size: 12px;
  color: var(--c-ink-soft);
}

.update-thumb {
  width: 40px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.update-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-progress {
  font-size: 12px;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.update-status,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  white-space: nowrap;
}

.update-status,
.status-ongoing {
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

.status-finished {
  background-color: #eef1fb;
  color: var(--c-accent);
}

.ranking-list {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}

.ranking-item:last-child {
  border-bottom: 0;
}

.rank-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  text-align: center;
}

.rank-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-genre {
  padding: 1px 8px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-ink-soft);
}

.rank-date {
  grid-column: 2 / 4;
  font-size: 11px;
  color: var(--c-ink-soft);
}

.tag-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
}

.tag-group:last-child {
  border-bottom: 0;
}

.tag-group h3 {
  font-size: 14px;
  font-weight: 600;
}

.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag-links a {
  padding: 2px 9px;
  background-color: #f5f2fa;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.tag-links a:hover {
  background-color: #fdf1f5;
  color: var(--c-brand-deep);
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.brief-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — updates
   ========================================================================== */

.update-group {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.update-group h2 {
  position: relative;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
}

.update-group h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.serial-note,
.rhythm-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.note-col {
  min-width: 0;
  padding: 12px 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.note-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rhythm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.rhythm-list li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rhythm-list strong {
  color: var(--c-ink);
}

.category-shortcut,
.reading-shortcut,
.side-card,
.quick-entry,
.side-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.category-shortcut h2,
.reading-shortcut h2,
.side-card h2,
.quick-entry h2,
.side-note h2 {
  position: relative;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
}

.category-shortcut h2::before,
.reading-shortcut h2::before,
.side-card h2::before,
.quick-entry h2::before,
.side-note h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.category-shortcut ul,
.reading-shortcut ul,
.quick-entry ul,
.side-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.category-shortcut a,
.reading-shortcut a,
.quick-entry a,
.side-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
  font-size: 13px;
  color: var(--c-ink-soft);
}

.category-shortcut a:hover,
.reading-shortcut a:hover,
.quick-entry a:hover,
.side-links a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.side-note p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — ranking
   ========================================================================== */

.board-steady,
.board-genre,
.board-length,
.board-note {
  margin-top: 24px;
}

.board-steady > h2,
.board-genre > h2,
.board-length > h2,
.board-note > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.board-steady > h2::before,
.board-genre > h2::before,
.board-length > h2::before,
.board-note > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.board-row {
  display: grid;
  grid-template-columns: 34px 84px minmax(0, 1fr) minmax(0, 200px);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.board-row:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.board-thumb {
  width: 84px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.board-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-info {
  min-width: 0;
}

.board-info h3 {
  font-size: 15px;
  font-weight: 600;
}

.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.board-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  font-size: 12px;
}

.board-facts dt {
  color: var(--c-ink-soft);
}

.board-facts dd {
  font-weight: 600;
}

.genre-group {
  margin-top: 18px;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.genre-title {
  font-size: 15px;
  font-weight: 600;
}

.genre-title a {
  color: var(--c-brand-deep);
}

.board-list-compact {
  gap: 8px;
  margin-top: 10px;
}

.board-list-compact .board-row {
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 8px 10px;
  background-color: var(--c-bg);
}

.length-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.length-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.length-title {
  font-size: 15px;
  font-weight: 600;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.note-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.note-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.note-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — categories
   ========================================================================== */

.filter-bar,
.dimension-note,
.category-groups,
.category-vs-tag {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.filter-bar > h2,
.dimension-note > h2,
.category-groups > h2,
.category-vs-tag > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.filter-bar > h2::before,
.dimension-note > h2::before,
.category-groups > h2::before,
.category-vs-tag > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.filter-label {
  flex: 0 0 72px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-soft);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-ink-soft);
}

.filter-chips a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-deep);
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px dashed var(--c-brand);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--c-brand-deep);
}

.content-media {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.content-media img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.content-media figcaption,
.flow-figure figcaption,
.page-figure figcaption,
.site-figure figcaption {
  padding: 8px 2px 0;
  font-size: 12px;
  color: var(--c-ink-soft);
}

.dimension-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dimension-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.dimension-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.dimension-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.group-block {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.group-block h3 {
  font-size: 15px;
  font-weight: 600;
}

.group-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.group-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-chip);
}

.group-list a {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-meta {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--c-ink-soft);
}

.vs-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.vs-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.vs-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.vs-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ==========================================================================
   pages — tags
   ========================================================================== */

.tag-meaning,
.tag-groups,
.tag-vs-category {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-meaning > h2,
.tag-groups > h2,
.tag-vs-category > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.tag-meaning > h2::before,
.tag-groups > h2::before,
.tag-vs-category > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.tag-def {
  margin-top: 14px;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-def h3 {
  font-size: 15px;
  font-weight: 600;
}

.tag-def-list {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 13px;
}

.tag-def-list dt {
  color: var(--c-ink-soft);
}

.tag-def-list dd {
  line-height: 1.8;
}

.tag-groups .tag-group {
  margin-top: 14px;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.tag-groups .tag-group h3 {
  font-size: 15px;
  font-weight: 600;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.work-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.work-cover {
  width: 56px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f5f2fa;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.work-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-ink-soft);
}

.work-status {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 1px 8px;
  background-color: #fdf1f5;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--c-brand-deep);
}

.compare-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.compare-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.compare-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.compare-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.compare-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

/* ==========================================================================
   pages — reading
   ========================================================================== */

.reading-flow,
.chapter-structure,
.tracking-rhythm,
.reading-note {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.reading-flow > h2,
.chapter-structure > h2,
.tracking-rhythm > h2,
.reading-note > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.reading-flow > h2::before,
.chapter-structure > h2::before,
.tracking-rhythm > h2::before,
.reading-note > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.flow-figure {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.flow-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.flow-step {
  position: relative;
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.flow-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--c-brand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.flow-step h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.flow-step p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.flow-step a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-brand-deep);
}

.flow-step a::after {
  content: " →";
}

.structure-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.structure-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.structure-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.structure-col p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.structure-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.structure-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.structure-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.tracking-rhythm .rhythm-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.rhythm-item {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.rhythm-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.rhythm-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.note-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — faq
   ========================================================================== */

.faq-group {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.faq-group > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.faq-group > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.page-figure {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.page-figure img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.faq-item {
  margin-top: 10px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  font-size: 16px;
  color: var(--c-brand-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 14px 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.faq-answer a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

/* ==========================================================================
   pages — site
   ========================================================================== */

.scope,
.workflow,
.tag-rule,
.correction {
  padding: 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.scope > h2,
.workflow > h2,
.tag-rule > h2,
.correction > h2 {
  position: relative;
  padding-left: 10px;
  font-size: 19px;
  font-weight: 600;
}

.scope > h2::before,
.workflow > h2::before,
.tag-rule > h2::before,
.correction > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 3px;
  height: 0.9em;
  background-color: var(--c-brand);
  border-radius: 2px;
}

.scope > p,
.workflow > p,
.tag-rule > p,
.correction > p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.scope-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.scope-col {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.scope-col h3 {
  font-size: 15px;
  font-weight: 600;
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.scope-col li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.scope-include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

.scope-exclude li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.workflow-step {
  min-width: 0;
  padding: 14px;
  background-color: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.workflow-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--c-accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.workflow-step h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.workflow-step p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.site-figure {
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--r-card);
}

.site-figure img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.rule-list,
.correction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.rule-list li,
.correction-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.rule-list li::before,
.correction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-brand);
  border-radius: 50%;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 28px 24px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand-deep);
}

.error-panel h1 {
  margin-top: 6px;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
}

.error-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.error-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.error-reasons li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.error-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

.error-reasons a {
  color: var(--c-brand-deep);
  font-weight: 600;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   components — mobile task bars
   ========================================================================== */

.task-bar,
.bottom-bar,
.tabbar,
.tab-bar,
.mobile-taskbar {
  display: none;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cover-card-feature {
    grid-column: span 2;
  }

  .board-row {
    grid-template-columns: 30px 72px minmax(0, 1fr);
  }

  .board-row .board-facts {
    grid-column: 3 / 4;
  }

  .board-thumb {
    width: 72px;
  }
}

@media (max-width: 900px) {
  .page-layout,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout.sidebar-left > .main-col,
  .page-layout.sidebar-left > .side-col {
    order: initial;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    min-height: 200px;
  }

  .hero-media img {
    min-height: 200px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-row {
    grid-template-columns: 28px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .board-thumb {
    width: 64px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
    padding-bottom: 60px;
  }

  .site-main {
    padding: 16px 14px 8px;
  }

  .inner-main {
    padding-top: 12px;
  }

  .header-top {
    padding: 8px 14px;
    gap: 10px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  #site-nav {
    display: none;
  }

  #site-nav.is-open {
    display: block;
  }

  #site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 14px 12px;
    overflow-x: visible;
  }

  #site-nav a {
    min-height: 44px;
    padding: 0 6px;
    border-bottom: 1px solid var(--c-line);
  }

  #site-nav a.is-current {
    border-bottom-color: var(--c-line);
    color: var(--c-brand-deep);
  }

  .page-title,
  .hero-copy h1,
  .error-panel h1 {
    font-size: 24px;
  }

  .hero {
    padding: 16px;
    gap: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 140px;
  }

  .hero-facts {
    gap: 10px 20px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-card-feature {
    grid-column: span 2;
  }

  .cover-card-feature .cover-media {
    aspect-ratio: 3 / 2;
  }

  .update-list,
  .ranking,
  .tag-overview,
  .reading-brief,
  .update-group,
  .serial-note,
  .rhythm-note,
  .filter-bar,
  .dimension-note,
  .category-groups,
  .category-vs-tag,
  .tag-meaning,
  .tag-groups,
  .tag-vs-category,
  .reading-flow,
  .chapter-structure,
  .tracking-rhythm,
  .reading-note,
  .faq-group,
  .scope,
  .workflow,
  .tag-rule,
  .correction {
    padding: 14px;
  }

  .update-row {
    grid-template-columns: 48px 34px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .update-thumb {
    width: 34px;
    height: 44px;
  }

  .update-progress {
    display: none;
  }

  .ranking-item {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .note-cols,
  .length-cols,
  .group-grid,
  .vs-cols,
  .structure-cols,
  .scope-cols,
  .compare-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
  }

  .board-thumb {
    grid-column: 1 / 3;
    width: 100%;
    max-width: 120px;
    aspect-ratio: 3 / 2;
  }

  .board-row .board-facts {
    grid-column: 2 / 3;
  }

  .board-list-compact .board-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .filter-label {
    flex-basis: 100%;
  }

  .tag-def-list {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .work-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 14px 16px;
  }

  .footer-bottom {
    padding: 12px 14px 20px;
  }

  .next-step {
    padding: 14px;
  }

  .next-step-grid,
  .next-grid,
  .next-cards,
  .next-step-cards,
  .next-links,
  .next-step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-bar,
  .bottom-bar,
  .tabbar,
  .tab-bar,
  .mobile-taskbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background-color: var(--c-surface);
    border-top: 1px solid var(--c-line);
  }

  .task-bar a,
  .bottom-bar a,
  .tabbar a,
  .tab-bar a,
  .mobile-taskbar a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 12px;
    color: var(--c-ink-soft);
    text-align: center;
  }

  .task-bar a.is-current,
  .bottom-bar a.is-current,
  .tabbar a.is-current,
  .tab-bar a.is-current,
  .mobile-taskbar a.is-current {
    color: var(--c-brand-deep);
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  .cover-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-card-feature {
    grid-column: span 1;
  }

  .update-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .update-thumb {
    display: none;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .cover-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
