/* ==========================================================================
   91漫画网 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础重置
   -------------------------------------------------------------------------- */
:root {
  --paper: #f6f4ef;
  --paper-soft: #fbfaf7;
  --ink: #17212b;
  --ink-soft: #3c4753;
  --deep: #123a5f;
  --deep-dark: #0d2c49;
  --yellow: #e8b53a;
  --line: #d8d3c8;
  --muted: #6b7480;

  --street-suspense: #2f6f8f;
  --street-healing: #3f8a6a;
  --street-action: #c7763a;
  --street-fantasy: #8c5aa8;
  --street-reality: #b0463f;
  --street-scifi: #4a6bd6;
  --street-others: #7a6a58;
  --street-sports: #2f8f86;

  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1120px;
  --pad: 32px;
  --shadow-card: 0 1px 2px rgba(23, 33, 43, .06);
  --shadow-lift: 0 6px 18px rgba(23, 33, 43, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.site-body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--deep);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--deep-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架：页头 / 主导航 / 主容器 / 页脚
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--deep);
  color: #fff;
  border-bottom: 3px solid var(--yellow);
}

.header-top {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--pad) 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}

.brand-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

.brand-slogan {
  margin: 0;
  font-size: 13px;
  color: #c3d3e2;
}

.site-nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
}

.nav-list > li {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: #e4ecf3;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
  text-decoration: none;
}

.nav-link.is-current {
  color: #fff;
  border-bottom-color: var(--yellow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 15px;
  height: 2px;
  background-color: #fff;
  box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
}

.mobile-nav {
  display: none;
  background-color: var(--deep-dark);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.mobile-nav-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 6px var(--pad) 12px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  color: #dbe6ef;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-nav-link.is-current {
  color: var(--yellow);
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px var(--pad) 48px;
}

.inner-main {
  padding-top: 22px;
}

.home-main {
  padding-top: 26px;
}

/* 面包屑与页面标题区（全站内页统一） */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--deep);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  margin-bottom: 10px;
}

.page-title {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.home-main .page-title {
  font-size: 34px;
}

.page-lead,
.page-desc,
.page-subtitle {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 46em;
}

/* 通用两栏布局：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
  position: sticky;
  top: 16px;
}

/* 页脚 */
.site-footer {
  background-color: var(--deep);
  color: #d7e2ec;
  margin-top: 8px;
}

.footer-section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-section:last-child {
  border-bottom: 0;
}

.footer-section h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: #c9d8e5;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-support p,
.footer-about p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #a9bccd;
  max-width: 60em;
}

.footer-copyright {
  color: #8fa6ba;
}

/* 移动端底部任务栏（桌面隐藏） */
.bottom-taskbar {
  display: none;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--yellow);
  color: #23180a;
  border-color: var(--yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #f0c458;
  color: #23180a;
}

.btn-ghost {
  background-color: transparent;
  color: var(--deep);
  border-color: var(--deep);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--deep);
  color: #fff;
}

/* 区块标题 */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.section-head h2 {
  font-size: 22px;
}

.section-note {
  font-size: 13px;
  color: var(--muted);
}

.section-note a {
  color: var(--deep);
}

.section-intro {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 46em;
}

/* 状态徽标 */
.status {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.status-serial {
  color: #1f6b4a;
  background-color: #e6f2ec;
}

.status-gap {
  color: #8a5a12;
  background-color: #faf0da;
}

.status-done {
  color: #4a5563;
  background-color: #eceef1;
}

/* 题材标签（排期表 / 榜单通用） */
.tag,
.genre-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
  background-color: #eceae4;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.tag-suspense,
.genre-tag--mystery {
  color: #1f4f68;
  background-color: #e3eef4;
  border-color: #bcd6e2;
}

.tag-heal,
.genre-tag--slice {
  color: #276046;
  background-color: #e4f1ea;
  border-color: #bfdccf;
}

.tag-shonen,
.genre-tag--action {
  color: #8a4f1c;
  background-color: #f8ece0;
  border-color: #e8cfb4;
}

.tag-fantasy,
.genre-tag--fantasy {
  color: #5d3875;
  background-color: #f0e8f5;
  border-color: #d9c6e4;
}

.tag-real,
.genre-tag--real {
  color: #7d2f2a;
  background-color: #f7e6e4;
  border-color: #e5c3c0;
}

.tag-scifi,
.genre-tag--scifi {
  color: #2f4694;
  background-color: #e7ebfa;
  border-color: #c5cfee;
}

/* 表格通用 */
.table-scroll,
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
}

.schedule-table {
  min-width: 620px;
  font-size: 14px;
}

.schedule-table caption {
  padding: 10px 14px 0;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  white-space: nowrap;
}

.schedule-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.schedule-table tbody tr:last-child {
  border-bottom: 0;
}

.schedule-table tbody th,
.schedule-table tbody td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  color: var(--ink-soft);
}

.schedule-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.schedule-table tbody tr:nth-child(even) {
  background-color: #f1eee8;
}

.schedule-table .col-num,
.schedule-table .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 字段定义表 */
.field-table {
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
  overflow: hidden;
}

.field-table caption {
  padding: 10px 14px 0;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.field-table th,
.field-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.field-table thead th {
  background-color: var(--deep);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.field-table tbody th {
  width: 34%;
  min-width: 120px;
  font-weight: 700;
  color: var(--ink);
  background-color: #f1eee8;
}

.field-table tbody td {
  color: var(--ink-soft);
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 相关支持入口带 */
.support-band {
  margin-top: 32px;
  padding: 18px 20px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.support-item,
.support-list > li {
  min-width: 0;
}

.support-item a,
.support-list > li > a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.support-item a:hover,
.support-list > li > a:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.support-name,
.support-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
}

.support-desc {
  font-size: 13px;
  color: var(--muted);
}

.support-icon {
  font-size: 13px;
  color: var(--muted);
}

/* 路线提示条 */
.route-hints {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.route-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--paper-soft);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
}

.route-part {
  font-weight: 600;
  color: var(--ink);
}

.route-arrow {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.hero-lead {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  font-size: 13px;
  color: #23180a;
  background-color: var(--yellow);
  border-radius: var(--radius-sm);
}

.hero-lead h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  min-width: 0;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #e6e2da;
}

.hero-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 编辑部头条区 */
.editorial-picks {
  margin-top: 30px;
}

.editorial-picks h2 {
  font-size: 22px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.editorial-main {
  min-width: 0;
  padding: 18px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
}

.editorial-main h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.editorial-main p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 34em;
}

.editorial-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.editorial-side {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.editorial-item {
  padding: 14px 16px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.editorial-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.editorial-item p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 34em;
}

/* 更新排期表 */
.update-schedule {
  margin-top: 34px;
}

/* 题材街区地图 */
.genre-map {
  margin-top: 34px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.map-blocks {
  min-width: 0;
}

.map-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 12px 14px;
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.map-block:hover,
.map-block:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.map-name {
  font-size: 16px;
  font-weight: 700;
}

.map-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
}

.map-suspense { background-color: var(--street-suspense); }
.map-healing { background-color: var(--street-healing); }
.map-shonen { background-color: var(--street-action); }
.map-fantasy { background-color: var(--street-fantasy); }
.map-reality { background-color: var(--street-reality); }
.map-scifi { background-color: var(--street-scifi); }

.map-legend {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.dot-suspense { background-color: var(--street-suspense); }
.dot-healing { background-color: var(--street-healing); }
.dot-shonen { background-color: var(--street-action); }
.dot-fantasy { background-color: var(--street-fantasy); }
.dot-reality { background-color: var(--street-reality); }
.dot-scifi { background-color: var(--street-scifi); }

.map-panel {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-panel h3 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.panel-entry-list {
  display: grid;
  gap: 8px;
}

.panel-entry-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.panel-entry-list li:last-child {
  border-bottom: 0;
}

.panel-entry-list a {
  font-size: 15px;
  font-weight: 600;
}

.entry-tag {
  font-size: 12px;
  color: var(--muted);
}

.panel-empty-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* 条目资料卡带 */
.entry-cards {
  margin-top: 34px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 14px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.entry-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-card);
}

.card-cover {
  flex: 0 0 84px;
  width: 84px;
}

.card-cover img {
  display: block;
  width: 84px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #e6e2da;
  transition: transform .2s ease;
}

.entry-card:hover .card-cover img {
  transform: scale(1.04);
}

.card-body {
  min-width: 0;
  flex: 1 1 auto;
}

.card-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.card-field {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* 阅读说明提要 */
.reading-brief {
  margin-top: 34px;
}

.brief-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brief-item {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--deep);
  border-radius: var(--radius);
}

.brief-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.brief-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

.brief-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}

.link-inline::after {
  content: "→";
  margin-left: 6px;
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   pages · 题材街区（genres）
   -------------------------------------------------------------------------- */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.genres-main {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.genres-legend {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  position: sticky;
  top: 16px;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legend-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.legend-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.legend-list {
  display: grid;
  gap: 6px;
}

.legend-item {
  min-width: 0;
}

.legend-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 6px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
}

.legend-link:hover {
  background-color: #fff;
  color: var(--deep);
  text-decoration: none;
}

.legend-swatch,
.street-swatch,
.swatch-mystery,
.swatch-healing,
.swatch-action,
.swatch-fantasy,
.swatch-reality,
.swatch-scifi,
.swatch-others,
.swatch-sports {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex: 0 0 14px;
}

.swatch-mystery { background-color: var(--street-suspense); }
.swatch-healing { background-color: var(--street-healing); }
.swatch-action { background-color: var(--street-action); }
.swatch-fantasy { background-color: var(--street-fantasy); }
.swatch-reality { background-color: var(--street-reality); }
.swatch-scifi { background-color: var(--street-scifi); }
.swatch-others { background-color: var(--street-others); }
.swatch-sports { background-color: var(--street-sports); }

.genres-overview h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.genre-street {
  margin-top: 20px;
  padding: 18px 20px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.street-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.street-name {
  font-size: 18px;
}

.street-scope,
.street-format,
.street-direction {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  max-width: 46em;
}

.street-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.sample-item {
  min-width: 0;
  flex: 1 1 180px;
  padding: 8px 12px;
  font-size: 14px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.street-mystery { border-left: 4px solid var(--street-suspense); }
.street-healing { border-left: 4px solid var(--street-healing); }
.street-action { border-left: 4px solid var(--street-action); }
.street-fantasy { border-left: 4px solid var(--street-fantasy); }
.street-reality { border-left: 4px solid var(--street-reality); }
.street-scifi { border-left: 4px solid var(--street-scifi); }
.street-others { border-left: 4px solid var(--street-others); }
.street-sports { border-left: 4px solid var(--street-sports); }

.genres-format {
  margin-top: 30px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.format-block {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.format-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.format-block p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 34em;
}

.genres-routes {
  margin-top: 30px;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-item {
  min-width: 0;
  padding: 14px 16px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
}

.route-path {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.route-desc {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}

.genres-entry,
.entry-links {
  margin-top: 30px;
}

.entry-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.entry-link-card {
  display: block;
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.entry-link-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.entry-link-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.entry-link-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

.entry-link-item {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

/* --------------------------------------------------------------------------
   pages · 更新排期（updates）
   -------------------------------------------------------------------------- */
.schedule-section {
  margin-bottom: 32px;
}

.schedule-section h2,
.status-notes h2,
.field-notes h2,
.entry-links h2 {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.schedule-figure {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.schedule-figure img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #e6e2da;
}

.schedule-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.filter-tag:hover,
.filter-tag:focus-visible {
  border-color: var(--yellow);
  color: var(--deep);
  text-decoration: none;
}

.filter-tag[aria-current="true"],
.filter-tag.is-active {
  color: #23180a;
  background-color: var(--yellow);
  border-color: var(--yellow);
}

.status-notes,
.field-notes,
.entry-links {
  margin-bottom: 32px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.status-block {
  min-width: 0;
  padding: 16px 18px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.status-block p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 34em;
}

.field-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
  overflow: hidden;
}

.field-list dt {
  padding: 10px 14px 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background-color: #f1eee8;
}

.field-list dd {
  margin: 0;
  padding: 2px 14px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.field-list dd:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 追更榜单（rankings）
   -------------------------------------------------------------------------- */
.rankings-banner {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.rankings-banner img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background-color: #e6e2da;
}

.rankings-banner figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.rank-block {
  margin-bottom: 28px;
  min-width: 0;
}

.rank-block-head {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.rank-block-head h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.rank-basis {
  font-size: 14px;
  color: var(--muted);
  max-width: 46em;
}

.rank-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fff;
  overflow: hidden;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: border-color .18s ease, background-color .18s ease;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row:hover {
  background-color: var(--paper-soft);
  border-left: 3px solid var(--yellow);
}

.rank-no {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

.rank-name {
  font-size: 15px;
  font-weight: 600;
  min-width: 0;
}

.rank-field {
  font-size: 13px;
  color: var(--muted);
  min-width: 0;
}

.rank-group {
  margin-bottom: 18px;
  min-width: 0;
}

.rank-group h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.rank-mini-list {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
  padding: 10px 14px;
}

.rank-mini-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}

.rank-mini-list li:last-child {
  border-bottom: 0;
}

.rank-mini-field {
  font-size: 13px;
  color: var(--muted);
}

.layout-aside {
  min-width: 0;
  position: sticky;
  top: 16px;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.layout-aside h2 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.criteria-list {
  display: grid;
  gap: 12px;
}

.criteria-item {
  min-width: 0;
}

.criteria-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.criteria-item p {
  font-size: 13px;
  color: var(--ink-soft);
}

.criteria-note {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   pages · 本期专题（feature）
   -------------------------------------------------------------------------- */
.feature-article {
  max-width: 720px;
  margin: 0 auto;
}

.feature-hero {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.feature-hero img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #e6e2da;
}

.feature-hero figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.feature-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 0 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.feature-meta {
  font-size: 13px;
  color: var(--muted);
}

.feature-body {
  min-width: 0;
}

.feature-segment {
  margin-bottom: 26px;
}

.feature-segment h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-segment p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  max-width: 34em;
}

.feature-entry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feature-entry {
  min-width: 0;
  flex: 1 1 180px;
}

.feature-entry a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.feature-entry a:hover {
  border-color: var(--yellow);
  text-decoration: none;
}

.feature-media {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: #e6e2da;
}

.feature-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reader-fit {
  margin-top: 30px;
}

.reader-fit h2 {
  font-size: 22px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.reader-fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reader-fit-col {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reader-fit-col h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.reader-fit-col p {
  font-size: 14px;
  color: var(--ink-soft);
}

.related-entries {
  margin-top: 30px;
}

.related-entries h2 {
  font-size: 22px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.related-entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.related-entry {
  min-width: 0;
}

.related-entry a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.related-entry a:hover {
  border-color: var(--yellow);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 阅读说明（reading-guide）
   -------------------------------------------------------------------------- */
.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.guide-col {
  min-width: 0;
}

.guide-col h2 {
  font-size: 22px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.guide-col h2 + .guide-intro {
  margin-top: 0;
}

.guide-intro {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 34em;
}

.guide-figure {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #e6e2da;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.guide-col .field-table {
  margin-bottom: 26px;
}

.rule-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
  overflow: hidden;
}

.rule-list dt {
  padding: 10px 14px 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background-color: #f1eee8;
}

.rule-list dd {
  margin: 0;
  padding: 2px 14px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.rule-list dd:last-child {
  border-bottom: 0;
}

.order-block {
  margin-bottom: 18px;
  padding: 16px 18px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--deep);
  border-radius: var(--radius);
}

.order-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.order-block p {
  font-size: 14px;
  color: var(--ink-soft);
}

.order-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.faq-block {
  display: grid;
  gap: 10px;
}

.faq-item {
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  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: 18px;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--deep);
}

.faq-item p {
  padding: 0 14px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 34em;
}

.guide-related {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.guide-related p {
  font-size: 14px;
  color: var(--muted);
}

.guide-related a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages · 内容说明（content-notes）
   -------------------------------------------------------------------------- */
.notes-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
}

.notes-figure img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background-color: #e6e2da;
}

.notes-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.notes-body {
  max-width: 880px;
}

.notes-section {
  margin-bottom: 30px;
}

.notes-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.notes-section > p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 46em;
}

.notes-section .field-table {
  margin-bottom: 4px;
}

.changing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.changing-item {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.changing-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.changing-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

.tag-rules-list {
  display: grid;
  gap: 14px;
}

.tag-rule {
  min-width: 0;
  padding: 14px 16px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
}

.tag-rule h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.tag-rule p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}

.correction-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.correction-step {
  min-width: 0;
  padding: 14px 16px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--deep);
  border-radius: var(--radius);
}

.correction-step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.correction-step p {
  font-size: 13px;
  color: var(--ink-soft);
}

.correction-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 40px;
}

.error-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 26px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  text-align: center;
}

.error-code {
  font-size: 42px;
  font-weight: 700;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.error-panel h1 {
  font-size: 26px;
  margin-bottom: 12px;
}

.error-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 20px;
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background-color: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.error-home:hover {
  background-color: var(--deep-dark);
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive · 断点
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .correction-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 16px;
  }

  .site-header {
    position: relative;
  }

  .header-top {
    padding: 14px var(--pad) 10px;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    flex: 1 1 100%;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: var(--pad);
  }

  .site-nav {
    border-top: 0;
    padding: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--pad) 12px;
    background-color: var(--deep-dark);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    display: block;
  }

  .nav-link {
    display: flex;
    width: 100%;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-left: 3px solid transparent;
  }

  .nav-link.is-current {
    border-bottom-color: rgba(255, 255, 255, .12);
    border-left-color: var(--yellow);
  }

  .mobile-nav.is-open {
    display: block;
  }

  .site-main {
    padding: 20px var(--pad) 40px;
  }

  .home-main .page-title,
  .page-title {
    font-size: 24px;
  }

  .hero-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-lead h1 {
    font-size: 26px;
  }

  .hero-figure img {
    height: 210px;
  }

  .editorial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brief-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout,
  .layout-shell,
  .guide-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .genres-main,
  .genres-legend {
    grid-column: 1;
    grid-row: auto;
  }

  .genres-legend {
    position: static;
    order: -1;
  }

  .layout-aside {
    position: static;
  }

  .rank-row {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 4px;
  }

  .rank-row .rank-field,
  .rank-row .genre-tag {
    grid-column: 2;
    justify-self: start;
  }

  .reader-fit-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-article {
    max-width: 100%;
  }

  .feature-hero img,
  .feature-media img,
  .rankings-banner img,
  .notes-figure img,
  .schedule-figure img,
  .guide-figure img {
    height: 190px;
  }

  .notes-body {
    max-width: 100%;
  }

  .correction-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-section {
    padding: 18px var(--pad);
  }

  .footer-links {
    gap: 6px 18px;
  }

  .bottom-taskbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background-color: var(--deep);
    border-top: 2px solid var(--yellow);
  }

  .taskbar-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .taskbar-item {
    min-width: 0;
  }

  .taskbar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 2px;
    font-size: 12px;
    color: #cfdcea;
    text-align: center;
    line-height: 1.3;
  }

  .taskbar-link.is-current {
    color: var(--yellow);
    background-color: rgba(255, 255, 255, .08);
  }

  .site-footer {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 17px;
  }

  .hero-lead h1 {
    font-size: 22px;
  }

  .page-title {
    font-size: 21px;
  }

  .map-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-card {
    flex-direction: column;
  }

  .card-cover,
  .card-cover img {
    width: 100%;
  }

  .card-cover img {
    height: 180px;
  }

  .support-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-panel {
    padding: 22px 16px;
  }

  .error-code {
    font-size: 34px;
  }
}

/* 动效增强：脚本未加载时内容默认完整可见 */
@media (prefers-reduced-motion: no-preference) {
  .entry-card,
  .rank-row,
  .brief-item {
    transition: opacity .35s ease, transform .35s ease, border-color .18s ease, box-shadow .18s ease;
  }

  .entry-card.is-visible,
  .rank-row.is-visible,
  .brief-item.is-visible {
    opacity: 1;
    transform: none;
  }
}
