/* ==========================================================================
   女神动漫最新版app · 漫画条目索引站
   base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #191c20;
  background-color: #f3f4f6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2a5fd6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #2a5fd6;
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 120;
  padding: 10px 16px;
  font-size: 14px;
  color: #ffffff;
  background-color: #2a5fd6;
  border-radius: 4px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 8px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #191c20;
  background-color: #f3f4f6;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #d7dce2;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  height: 56px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  color: #191c20;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #191c20;
}

.brand-tag {
  font-size: 12px;
  font-weight: 400;
  color: #5b636e;
}

/* 主导航 */

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 400;
  color: #191c20;
  background: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: #2a5fd6;
  text-decoration: none;
}

.nav-link.is-current {
  font-weight: 600;
  color: #2a5fd6;
  border-bottom-color: #2a5fd6;
}

.nav-menu-trigger {
  position: relative;
  padding-right: 24px;
}

.nav-menu-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.nav-menu-trigger[aria-expanded="true"]::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  min-width: 196px;
  padding: 6px 0;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(25, 28, 32, 0.08);
  display: none;
}

.nav-menu.is-open {
  display: block;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #191c20;
  text-decoration: none;
}

.nav-menu a:hover {
  color: #2a5fd6;
  background-color: #f3f4f6;
  text-decoration: none;
}

/* 汉堡按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  margin-left: auto;
  font-size: 13px;
  color: #191c20;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background-color: #191c20;
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0 0;
  font-size: 13px;
  color: #5b636e;
}

.breadcrumb a {
  color: #2a5fd6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #5b636e;
}

.breadcrumb-current {
  color: #5b636e;
}

/* 页标题区 */

.page-header {
  padding: 14px 0 18px;
  border-bottom: 1px solid #d7dce2;
}

.page-title {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: #191c20;
}

/* 页脚 */

.site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid #d7dce2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #191c20;
}

.footer-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.footer-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #191c20;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

.footer-nav a {
  display: inline-block;
  padding: 3px 0;
  font-size: 13px;
  color: #5b636e;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #2a5fd6;
  text-decoration: underline;
}

.footer-feedback p {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.footer-feedback .link-arrow {
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid #d7dce2;
}

.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 12px;
  color: #5b636e;
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #ffffff;
  background-color: #2a5fd6;
  border-color: #2a5fd6;
}

.btn-primary:hover {
  background-color: #234fb4;
  border-color: #234fb4;
}

.btn-secondary {
  color: #2a5fd6;
  background-color: #ffffff;
  border-color: #2a5fd6;
}

.btn-secondary:hover {
  background-color: #eef2fc;
}

.btn-ghost {
  color: #5b636e;
  background-color: #ffffff;
  border-color: #d7dce2;
}

.btn-ghost:hover {
  color: #191c20;
  border-color: #5b636e;
}

/* 箭头链接 */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #2a5fd6;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* 状态标签 */

.status-tag,
.tag-status {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 3px;
  white-space: nowrap;
}

.status-ongoing,
.tag-status-ongoing {
  color: #1a7a4f;
  background-color: #e6f4ed;
  border: 1px solid #b8dfcd;
}

.status-hiatus,
.tag-status-hiatus {
  color: #a8701a;
  background-color: #faf1e0;
  border: 1px solid #e8d3a8;
}

.status-completed,
.tag-status-completed {
  color: #6b7484;
  background-color: #eef0f3;
  border: 1px solid #d7dce2;
}

.status-pending,
.tag-status-pending {
  color: #9a2f2f;
  background-color: #f8e8e8;
  border: 1px solid #e5c1c1;
}

/* 题材标签 */

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  font-size: 12px;
  line-height: 1;
  border-radius: 3px;
  white-space: nowrap;
}

.tag-genre {
  color: #5b636e;
  background-color: #f3f4f6;
  border: 1px solid #d7dce2;
}

/* 数据表格 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.data-table {
  min-width: 100%;
  font-size: 13px;
  color: #191c20;
}

.data-table caption {
  padding: 12px 14px 0;
  font-size: 13px;
  color: #5b636e;
  text-align: left;
}

.data-table thead th {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #5b636e;
  text-align: left;
  white-space: nowrap;
  background-color: #f3f4f6;
  border-bottom: 1px solid #d7dce2;
}

.data-table tbody td,
.data-table tbody th {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #191c20;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d7dce2;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background-color: #f7f8fa;
}

.data-table tbody th {
  font-weight: 600;
}

.data-table a {
  color: #2a5fd6;
  text-decoration: none;
}

.data-table a:hover {
  text-decoration: underline;
}

.col-date,
.col-mono,
.cell-code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.col-date {
  text-align: right;
}

.data-table thead th.col-date {
  text-align: right;
}

/* 区块标题组（首页） */

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

.section-head p {
  margin-top: 6px;
  font-size: 14px;
  color: #5b636e;
}

/* 内页通用区块 */

.section {
  padding: 28px 0;
  border-bottom: 1px solid #d7dce2;
}

.section:last-of-type {
  border-bottom: 0;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

.section-desc,
.section-lead,
.section-intro {
  margin-top: 6px;
  font-size: 14px;
  color: #5b636e;
}

.section-note {
  margin-top: 12px;
  font-size: 13px;
  color: #5b636e;
}

.section-note a {
  color: #2a5fd6;
}

/* 相关入口列表（首页 / 题材 / 答疑） */

.related-links {
  padding: 28px 0;
}

.related-links h2 {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-list li {
  font-size: 14px;
}

.related-list a {
  color: #2a5fd6;
  text-decoration: none;
}

.related-list a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.home-main > section {
  padding: 32px 0;
  border-bottom: 1px solid #d7dce2;
}

.home-main > section:last-child {
  border-bottom: 0;
}

/* 首屏 */

.hero {
  padding-top: 36px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: #191c20;
}

.hero-lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #191c20;
}

.hero-sub {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d7dce2;
}

.hero-quick li {
  font-size: 13px;
}

.hero-quick a {
  color: #2a5fd6;
  text-decoration: none;
}

.hero-quick a:hover {
  text-decoration: underline;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.hero-media figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

/* 任务入口 */

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.task-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.task-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #191c20;
}

.task-card p {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.task-card .link-arrow {
  align-self: flex-start;
}

/* 精选条目 */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.entry-cover {
  margin-bottom: 10px;
}

.entry-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  background-color: #f3f4f6;
}

.entry-card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.entry-card h3 a {
  color: #191c20;
  text-decoration: none;
}

.entry-card h3 a:hover {
  color: #2a5fd6;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* 题材速选表 / 跟踪速览 */

.genre-table th[scope="row"],
.genre-table tbody th {
  width: 16%;
  white-space: nowrap;
}

.genre-table td:nth-child(2) {
  color: #5b636e;
}

.genre-table td:last-child {
  width: 96px;
  white-space: nowrap;
}

.tracker-table .col-date {
  width: 96px;
}

.tracker-table td:nth-child(2) {
  font-weight: 600;
}

.tracker-table td:last-child {
  width: 96px;
  white-space: nowrap;
}

.block-foot {
  margin-top: 12px;
  text-align: right;
}

/* 阅读边界与反馈 */

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.boundary-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-left: 3px solid #d7dce2;
  border-radius: 4px;
}

.boundary-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #191c20;
}

.boundary-item p {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.boundary-item .link-arrow {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   pages · 内页通用
   -------------------------------------------------------------------------- */

.inner-main .page-head {
  padding: 0 0 20px;
  border-bottom: 1px solid #d7dce2;
}

.inner-main .page-head + .section {
  border-top: 0;
}

.page-lead {
  font-size: 15px;
  line-height: 1.65;
  color: #191c20;
}

.page-lead + .page-lead,
.page-lead-sub,
.page-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

.page-description {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #191c20;
}

.page-summary-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

/* --------------------------------------------------------------------------
   pages · 作品条目 catalog
   -------------------------------------------------------------------------- */

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-text {
  font-size: 13px;
  color: #5b636e;
}

.fields-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 16px;
  align-items: start;
}

.fields-figure {
  min-width: 0;
}

.fields-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.fields-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

.fields-body {
  min-width: 0;
}

.fields-intro {
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

.fields-list {
  display: grid;
  grid-template-columns: minmax(96px, max-content) minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d7dce2;
}

.fields-list dt {
  font-size: 13px;
  font-weight: 600;
  color: #191c20;
  white-space: nowrap;
}

.fields-list dd {
  font-size: 13px;
  line-height: 1.55;
  color: #5b636e;
}

.table-section .table-wrap {
  margin-top: 14px;
}

.catalog-table {
  min-width: 860px;
}

.catalog-table .cell-name {
  width: 22%;
  font-weight: 600;
}

.catalog-table .cell-name a {
  font-weight: 600;
}

.catalog-table .cell-code {
  width: 104px;
}

.catalog-table td:last-child {
  width: 88px;
  white-space: nowrap;
}

.more-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.link-card:hover {
  border-color: #2a5fd6;
  text-decoration: none;
}

.link-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #2a5fd6;
}

.link-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

/* --------------------------------------------------------------------------
   pages · 题材速选 genres
   -------------------------------------------------------------------------- */

.genre-table-section,
.reading-paths,
.genre-picks {
  padding: 28px 0;
  border-bottom: 1px solid #d7dce2;
}

.genre-table-section h2,
.reading-paths h2,
.genre-picks h2 {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

.genre-table-section .table-wrap {
  margin-top: 14px;
}

.genre-table tbody th {
  width: 16%;
  font-weight: 600;
  white-space: nowrap;
}

.genre-table td:nth-child(2) {
  color: #5b636e;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  counter-reset: path;
}

.path-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.path-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #2a5fd6;
  background-color: #eef2fc;
  border: 1px solid #c8d6f5;
  border-radius: 3px;
}

.path-title {
  font-size: 15px;
  font-weight: 600;
  color: #191c20;
}

.path-desc {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.path-item .link-arrow {
  align-self: flex-start;
}

.genre-figure {
  margin-top: 16px;
}

.genre-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.genre-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

.pick-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin-top: 20px;
}

.pick-col {
  min-width: 0;
}

.pick-heading {
  padding-bottom: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #191c20;
  border-bottom: 1px solid #d7dce2;
}

.pick-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed #d7dce2;
}

.pick-list li:last-child {
  border-bottom: 0;
}

.pick-list a {
  font-size: 14px;
  color: #2a5fd6;
  text-decoration: none;
}

.pick-list a:hover {
  text-decoration: underline;
}

.related-list .text-card {
  color: #2a5fd6;
}

/* --------------------------------------------------------------------------
   pages · 连载跟踪 serial-tracker
   -------------------------------------------------------------------------- */

.tracker-notes,
.tracker-table-section,
.status-meaning {
  padding: 28px 0;
  border-bottom: 1px solid #d7dce2;
}

.tracker-notes h2,
.tracker-table-section h2,
.status-meaning h2 {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.note-item {
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.note-item h3 {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #191c20;
}

.note-item p {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.tracker-table-section .table-wrap {
  margin-top: 14px;
}

.tracker-table {
  min-width: 720px;
}

.tracker-table th.col-date {
  text-align: right;
}

.tracker-table .col-name {
  width: 26%;
  font-weight: 600;
}

.tracker-table .col-chapter {
  width: 120px;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.tracker-table .col-change {
  width: 130px;
  color: #5b636e;
}

.tracker-table .col-status {
  width: 96px;
  white-space: nowrap;
}

.tracker-figure {
  padding: 28px 0;
  border-bottom: 1px solid #d7dce2;
}

.tracker-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.tracker-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

.status-list {
  margin-top: 16px;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.status-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid #d7dce2;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row .status-tag {
  justify-self: start;
  margin-top: 2px;
}

.status-body p {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.status-body .link-arrow {
  margin-top: 6px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.related-card:hover {
  border-color: #2a5fd6;
  text-decoration: none;
}

.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #2a5fd6;
}

.related-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.related-links > h2 {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

/* --------------------------------------------------------------------------
   pages · 阅读答疑 reading-faq
   -------------------------------------------------------------------------- */

.page-title-block {
  padding: 0 0 20px;
  border-bottom: 1px solid #d7dce2;
}

.page-summary {
  font-size: 15px;
  line-height: 1.65;
  color: #191c20;
}

.page-summary + .page-summary {
  margin-top: 8px;
  font-size: 14px;
  color: #5b636e;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
  padding: 28px 0;
}

.faq-main {
  min-width: 0;
}

.faq-group {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d7dce2;
}

.faq-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.faq-group .section-title {
  font-size: 19px;
  font-weight: 700;
  color: #191c20;
}

.faq-figure {
  margin: 14px 0 18px;
}

.faq-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.faq-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-question {
  position: relative;
  display: block;
  padding: 13px 40px 13px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #191c20;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: #5b636e;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #d7dce2;
}

.faq-answer {
  padding: 12px 16px 14px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer .faq-conclusion {
  font-size: 14px;
  font-weight: 600;
  color: #191c20;
}

.faq-answer a {
  color: #2a5fd6;
}

.faq-side {
  min-width: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.side-title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #191c20;
  border-bottom: 1px solid #d7dce2;
}

.side-group + .side-group {
  margin-top: 14px;
}

.side-group-title {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5b636e;
}

.side-list li {
  padding: 3px 0;
}

.side-list a {
  font-size: 13px;
  line-height: 1.5;
  color: #2a5fd6;
  text-decoration: none;
}

.side-list a:hover {
  text-decoration: underline;
}

.side-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #d7dce2;
}

.side-note p {
  font-size: 12px;
  line-height: 1.6;
  color: #5b636e;
}

.side-note .link-arrow {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   pages · 站点说明 about
   -------------------------------------------------------------------------- */

.about-block {
  padding: 28px 0;
  border-bottom: 1px solid #d7dce2;
}

.about-block:last-of-type {
  border-bottom: 0;
}

.about-block .section-title {
  margin-bottom: 12px;
}

.prose {
  max-width: 760px;
}

.prose p {
  font-size: 15px;
  line-height: 1.7;
  color: #191c20;
}

.prose p + p {
  margin-top: 10px;
  color: #5b636e;
}

.compare-table-wrap {
  max-width: 760px;
  margin-top: 14px;
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.compare-table {
  min-width: 520px;
}

.compare-table thead th {
  width: 50%;
}

.compare-table tbody td {
  width: 50%;
  font-size: 13px;
  line-height: 1.6;
}

.compare-table tbody td:first-child {
  color: #1a7a4f;
  background-color: #f7fbf9;
}

.compare-table tbody td:last-child {
  color: #9a2f2f;
  background-color: #fdf8f8;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin-top: 14px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  counter-increment: step;
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #2a5fd6;
}

.step-title {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #191c20;
}

.step-item p {
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

.about-figure {
  max-width: 760px;
  margin-top: 16px;
}

.about-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid #d7dce2;
  border-radius: 4px;
  background-color: #ffffff;
}

.about-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b636e;
}

.link-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}

.link-card-list .link-card {
  padding: 0;
  background: none;
  border: 0;
}

.link-card-list .link-card a {
  font-size: 14px;
  font-weight: 600;
  color: #2a5fd6;
  text-decoration: none;
}

.link-card-list .link-card a:hover {
  text-decoration: underline;
}

.link-card-list .link-card p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #5b636e;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.error-panel {
  max-width: 620px;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #d7dce2;
  border-radius: 4px;
}

.error-code {
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #9a2f2f;
}

.error-title {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: #191c20;
}

.error-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b636e;
}

.error-text + .error-text {
  margin-top: 6px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #d7dce2;
}

.error-links a {
  font-size: 13px;
  color: #2a5fd6;
  text-decoration: none;
}

.error-links a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .boundary-grid,
  .notes-grid,
  .path-list,
  .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }

  .footer-inner {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .fields-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .fields-figure {
    max-width: 240px;
  }

  .boundary-grid,
  .notes-grid,
  .path-list,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 12px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    display: block;
    padding: 8px 16px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #d7dce2;
    box-shadow: 0 8px 20px rgba(25, 28, 32, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid #d7dce2;
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    width: 100%;
    height: 46px;
    padding: 0 4px;
    font-size: 15px;
    border-bottom: 0;
    justify-content: flex-start;
  }

  .nav-link.is-current {
    border-bottom: 0;
    color: #2a5fd6;
  }

  .nav-menu-trigger {
    justify-content: space-between;
    padding-right: 28px;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 2px solid #d7dce2;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 9px 8px;
    font-size: 14px;
  }

  .site-main.inner-main {
    padding: 0 16px 40px;
  }

  .home-main {
    padding: 0 16px 36px;
  }

  .breadcrumb {
    padding-top: 12px;
    font-size: 12px;
  }

  .page-header {
    padding: 10px 0 14px;
  }

  .page-title,
  .hero-copy h1,
  .error-title {
    font-size: 23px;
  }

  .home-main > section {
    padding: 24px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .task-grid,
  .boundary-grid,
  .notes-grid,
  .path-list,
  .step-list,
  .pick-columns,
  .more-links-grid,
  .related-grid,
  .link-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 22px 0;
  }

  .faq-side {
    padding: 14px;
  }

  .side-group + .side-group {
    margin-top: 12px;
  }

  .status-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .status-row .status-tag {
    margin-top: 0;
  }

  .tracker-figure,
  .genre-table-section,
  .reading-paths,
  .genre-picks,
  .tracker-notes,
  .tracker-table-section,
  .status-meaning,
  .about-block,
  .section,
  .related-links {
    padding: 22px 0;
  }

  .fields-figure {
    max-width: 200px;
  }

  .prose,
  .compare-table-wrap,
  .about-figure {
    max-width: 100%;
  }

  .error-main {
    padding: 40px 16px 48px;
  }

  .error-panel {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .task-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-quick {
    flex-direction: column;
    gap: 6px;
  }

  .hero-quick a {
    display: inline-block;
    padding: 4px 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 16px 20px;
  }

  .footer-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom p {
    padding: 12px 16px;
  }

  .fields-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .fields-list dd {
    margin-bottom: 8px;
  }

  .data-table thead th,
  .data-table tbody td,
  .data-table tbody th {
    padding: 8px 10px;
  }

  .block-foot {
    text-align: left;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .brand-tag {
    display: none;
  }

  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-cover img {
    aspect-ratio: 4 / 3;
  }

  .page-title,
  .hero-copy h1,
  .error-title {
    font-size: 21px;
  }

  .section-head h2,
  .section-title,
  .genre-table-section h2,
  .reading-paths h2,
  .genre-picks h2,
  .tracker-notes h2,
  .tracker-table-section h2,
  .status-meaning h2,
  .related-links h2,
  .related-links > h2 {
    font-size: 17px;
  }
}
