/* ==========================================================================
   樱花动漫免费观看 · 全站样式
   分组：base / layout / components / pages / responsive
   字体：系统无衬线 / 主色 #2f6f6b / 辅色 #d98b9a / 底色 #f7f8f6
   ========================================================================== */

/* ==========================================================================
   1. base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: #f7f8f6;
  color: #23302f;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  color: #1d2a29;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #2f6f6b;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #1f5551;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #2f6f6b;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background-color: #2f6f6b;
  color: #ffffff;
  border-radius: 0 0 6px 0;
  font-size: 14px;
}

.skip-link:focus {
  left: 0;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   2. layout —— 全站骨架（锁定）
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #dfe4e2;
  box-shadow: 0 1px 3px rgba(35, 48, 47, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1d2a29;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover,
.brand:focus {
  color: #2f6f6b;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: #2f6f6b;
  box-shadow: inset 0 0 0 5px #d98b9a;
  flex-shrink: 0;
}

.brand-name {
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 20px 14px;
  color: #3d4d4b;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #2f6f6b;
  border-bottom-color: #b9d3d0;
  text-decoration: none;
}

.nav-link.is-current {
  color: #2f6f6b;
  font-weight: 600;
  border-bottom-color: #2f6f6b;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2f6f6b;
  border-radius: 2px;
}

.site-main {
  display: block;
  width: 100%;
}

.home-main {
  padding-bottom: 8px;
}

.inner-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* 顶部事实条 */

.fact-bar,
.top-fact-bar {
  background-color: #eef4f3;
  border-bottom: 1px solid #dfe4e2;
}

.fact-bar-text,
.top-fact-text {
  max-width: 1080px;
  margin: 0 auto;
  padding: 9px 20px;
  color: #4a5b59;
  font-size: 13px;
  line-height: 1.6;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 0 4px;
  color: #5c6b69;
  font-size: 13px;
}

.breadcrumb a {
  color: #2f6f6b;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #a9b5b3;
}

.breadcrumb-current {
  color: #5c6b69;
}

/* 页面标题区（内页统一） */

.page-header {
  padding: 12px 0 26px;
  border-bottom: 1px solid #dfe4e2;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #1d2a29;
  line-height: 1.35;
}

.page-description {
  max-width: 820px;
  margin-top: 12px;
  color: #5c6b69;
  font-size: 15px;
}

/* 页内锚点条 */

.anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anchor-link,
.anchor-list .anchor-item a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.anchor-link:hover,
.anchor-link:focus,
.anchor-list .anchor-item a:hover,
.anchor-list .anchor-item a:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 滚动锚点预留粘性页头高度 */

[id] {
  scroll-margin-top: 84px;
}

/* 页脚 */

.site-footer {
  margin-top: 40px;
  background-color: #ffffff;
  border-top: 1px solid #dfe4e2;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.footer-text {
  color: #5c6b69;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-text + .footer-text {
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.footer-links a {
  color: #2f6f6b;
  font-size: 13.5px;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px 26px;
  border-top: 1px solid #eef1f0;
}

.brand-footer .brand-name {
  font-size: 15px;
}

.footer-copy {
  color: #7b8a88;
  font-size: 13px;
}

.back-top {
  color: #2f6f6b;
  font-size: 13.5px;
  text-decoration: underline;
}

/* ==========================================================================
   3. components —— 通用组件
   ========================================================================== */

.section {
  padding: 44px 0;
  border-top: 1px solid #e7ebe9;
}

.home-main > .section:first-of-type {
  border-top: 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d2a29;
}

.section-desc,
.section-intro,
.section-lead {
  margin-top: 8px;
  color: #5c6b69;
  font-size: 14.5px;
  line-height: 1.8;
}

.section-more {
  margin-top: 20px;
}

.section-more a,
.section-note a {
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: underline;
}

.section-note {
  margin-top: 16px;
  color: #5c6b69;
  font-size: 14px;
}

.sub-title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #1d2a29;
}

.subsection-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: #2f6f6b;
  border: 1px solid #2f6f6b;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #245955;
  border-color: #245955;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: #ffffff;
  border: 1px solid #b9d3d0;
  color: #2f6f6b;
}

.btn-ghost:hover,
.btn-ghost:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

/* 标签 */

.tag {
  display: inline-block;
  padding: 2px 10px;
  background-color: #fbeef1;
  border: 1px solid #f0d5dc;
  border-radius: 6px;
  color: #a8556a;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: nowrap;
}

/* 条款列表（题材标签说明 / 榜单调整 / 收录边界） */

.clause-list {
  display: grid;
  gap: 14px;
}

.clause-item {
  padding: 16px 18px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.clause-title {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.clause-text {
  color: #5c6b69;
  font-size: 14.5px;
}

/* 要点列表 */

.point-list {
  display: grid;
  gap: 10px;
}

.point-list li {
  position: relative;
  padding-left: 18px;
  color: #45534f;
  font-size: 14.5px;
  line-height: 1.8;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d98b9a;
}

/* 相关栏目入口带 */

.related-band {
  padding: 36px 0;
  border-top: 1px solid #e7ebe9;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  display: inline-block;
  padding: 9px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.related-links a:hover,
.related-links a:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

.related-nav {
  padding: 36px 0 8px;
  border-top: 1px solid #e7ebe9;
}

.related-title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #1d2a29;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-item a {
  display: inline-block;
  padding: 9px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: none;
}

.related-item a:hover,
.related-item a:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: block;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.related-card:hover,
.related-card:focus {
  border-color: #2f6f6b;
  text-decoration: none;
}

.related-name {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.related-desc {
  display: block;
  color: #5c6b69;
  font-size: 13.5px;
  line-height: 1.75;
}

/* ==========================================================================
   4. pages
   ========================================================================== */

/* ------------------------------------------------------------------
   4.1 首页
   ------------------------------------------------------------------ */

.hero {
  padding: 44px 0 40px;
  background-color: #eef4f3;
  border-bottom: 1px solid #dfe4e2;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  background-color: #ffffff;
  border: 1px solid #b9d3d0;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 13px;
}

.hero-title {
  font-size: 30px;
  font-weight: 600;
  color: #1d2a29;
  line-height: 1.35;
}

.hero-desc {
  margin-top: 14px;
  color: #45534f;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: #4a5b59;
  font-size: 14px;
  line-height: 1.75;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2f6f6b;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  background-color: #ffffff;
}

.hero-media-caption {
  margin-top: 10px;
  color: #5c6b69;
  font-size: 13px;
  line-height: 1.7;
}

/* 题材分类速览（首页单列逐行） */

.topic-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7ebe9;
}

.topic-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid #e7ebe9;
}

.topic-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 600;
  color: #d98b9a;
}

.topic-body {
  min-width: 0;
}

.topic-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d2a29;
}

.topic-note {
  margin-top: 4px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.75;
}

.topic-sample {
  margin-top: 6px;
  color: #7b8a88;
  font-size: 13.5px;
}

.topic-sample a {
  color: #2f6f6b;
  text-decoration: underline;
}

.topic-enter {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 13.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.topic-enter:hover,
.topic-enter:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

/* 封面墙与最近更新 */

.shelf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.shelf-main {
  min-width: 0;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cover-card {
  min-width: 0;
}

.cover-link {
  display: block;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.cover-link:hover,
.cover-link:focus {
  border-color: #2f6f6b;
  text-decoration: none;
}

.cover-figure {
  overflow: hidden;
  background-color: #f2f4f3;
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cover-link:hover .cover-figure img,
.cover-link:focus .cover-figure img {
  transform: scale(1.02);
}

.cover-meta {
  display: block;
  padding: 12px 14px 14px;
}

.cover-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #1d2a29;
  line-height: 1.5;
}

.cover-state {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 9px;
  background-color: #eef4f3;
  border: 1px solid #d3e2e0;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 12.5px;
}

.shelf-aside {
  min-width: 0;
}

.update-list {
  display: grid;
  gap: 12px;
}

.update-item {
  min-width: 0;
}

.update-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.update-link:hover,
.update-link:focus {
  border-color: #2f6f6b;
  text-decoration: none;
}

.update-thumb {
  overflow: hidden;
  border-radius: 6px;
  background-color: #f2f4f3;
}

.update-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.update-body {
  min-width: 0;
}

.update-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #1d2a29;
  line-height: 1.5;
}

.update-note {
  margin-top: 5px;
  color: #5c6b69;
  font-size: 13px;
  line-height: 1.7;
}

.aside-more {
  margin-top: 14px;
}

.aside-more a {
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: underline;
}

/* 站内排行榜（首页单列逐行） */

.rank-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7ebe9;
}

.rank-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid #e7ebe9;
}

.rank-no {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 16px;
  font-weight: 600;
  color: #d98b9a;
}

.rank-body {
  min-width: 0;
}

.rank-name {
  font-size: 15.5px;
  font-weight: 600;
  color: #1d2a29;
}

.rank-reason {
  margin-top: 4px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.75;
}

/* 阅读说明摘要 */

.guide-section .guide-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.guide-col {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.guide-more {
  margin-top: 18px;
}

.guide-more a {
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: underline;
}

/* 站内栏目索引 */

.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.index-item {
  min-width: 0;
}

.index-link {
  display: block;
  height: 100%;
  padding: 18px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.index-link:hover,
.index-link:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

.index-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.index-note {
  display: block;
  margin-top: 6px;
  color: #5c6b69;
  font-size: 13px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   4.2 题材分类页
   ------------------------------------------------------------------ */

.section-overview,
.section-detail,
.section-tags,
.section-related,
.section-order {
  padding: 36px 0;
  border-top: 1px solid #e7ebe9;
}

.inner-main .section-overview {
  border-top: 0;
  padding-top: 30px;
}

.topic-row-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7ebe9;
}

.topic-row-list .topic-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid #e7ebe9;
}

.topic-row-body {
  min-width: 0;
}

.topic-row-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2a29;
}

.topic-row-desc {
  margin-top: 4px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.75;
}

.topic-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.topic-row-meta a {
  color: #2f6f6b;
  font-size: 13.5px;
  text-decoration: underline;
}

.topic-row-enter {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 13.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.topic-row-enter:hover,
.topic-row-enter:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

/* 各题材方向说明 */

.topic-block {
  padding: 26px 0;
  border-top: 1px solid #e7ebe9;
}

.section-detail .topic-block:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.topic-block-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d2a29;
}

.topic-figure {
  max-width: 480px;
  margin: 16px 0;
}

.topic-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  background-color: #ffffff;
}

.topic-figure-caption {
  margin-top: 8px;
  color: #7b8a88;
  font-size: 13px;
  line-height: 1.7;
}

.topic-block-text {
  max-width: 860px;
  color: #45534f;
  font-size: 14.5px;
  line-height: 1.85;
}

.work-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.work-card {
  min-width: 0;
}

.work-card-link {
  display: block;
  height: 100%;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.work-card-link:hover,
.work-card-link:focus {
  border-color: #2f6f6b;
  text-decoration: none;
}

.work-card-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #1d2a29;
}

.work-card-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 9px;
  background-color: #fbeef1;
  border: 1px solid #f0d5dc;
  border-radius: 6px;
  color: #a8556a;
  font-size: 12.5px;
}

.work-card-status {
  display: block;
  margin-top: 8px;
  color: #5c6b69;
  font-size: 13px;
}

/* 题材间的浏览顺序建议 */

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-item {
  min-width: 0;
  padding: 18px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.step-index {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  color: #d98b9a;
}

.step-title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.step-text {
  margin-top: 6px;
  color: #5c6b69;
  font-size: 13.5px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------
   4.3 最近更新页
   ------------------------------------------------------------------ */

.update-overview,
.update-timeline,
.update-topics,
.update-advice {
  padding: 36px 0;
  border-top: 1px solid #e7ebe9;
}

.inner-main .update-overview {
  border-top: 0;
  padding-top: 30px;
}

.overview-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.overview-fact {
  min-width: 0;
}

.overview-fact dt {
  color: #7b8a88;
  font-size: 13px;
}

.overview-fact dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.overview-note {
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.8;
}

.overview-note a {
  color: #2f6f6b;
  text-decoration: underline;
}

.timeline-group {
  padding: 24px 0;
  border-top: 1px solid #e7ebe9;
}

.update-timeline .timeline-group:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.timeline-title {
  font-size: 17px;
  font-weight: 600;
  color: #1d2a29;
}

.timeline-meta {
  color: #7b8a88;
  font-size: 13px;
}

.update-timeline .update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.update-timeline .update-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.update-timeline .update-thumb {
  overflow: hidden;
  border-radius: 6px;
  background-color: #f2f4f3;
}

.update-timeline .update-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.update-timeline .update-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.update-desc {
  margin-top: 5px;
  color: #5c6b69;
  font-size: 13.5px;
  line-height: 1.75;
}

.update-tags {
  margin-top: 8px;
}

.update-tags .tag + .tag {
  margin-left: 6px;
}

/* 更新涉及的题材与作品 */

.topic-touch-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7ebe9;
}

.topic-touch-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid #e7ebe9;
}

.topic-touch-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.topic-touch-name a {
  color: #2f6f6b;
  text-decoration: underline;
}

.topic-touch-desc {
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.75;
}

/* 追更浏览建议 */

.advice-list {
  display: grid;
  gap: 14px;
}

.advice-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.advice-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 600;
  color: #d98b9a;
}

.advice-body {
  min-width: 0;
}

.advice-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.advice-text {
  margin-top: 6px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.8;
}

/* ------------------------------------------------------------------
   4.4 排行榜页
   ------------------------------------------------------------------ */

.rank-rules,
.rank-list,
.rank-by-topic,
.rank-changes {
  padding: 36px 0;
  border-top: 1px solid #e7ebe9;
}

.inner-main .rank-rules {
  border-top: 0;
  padding-top: 30px;
}

.rank-rules-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.rank-rules-col {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.rule-list {
  display: grid;
  gap: 12px;
}

.rule-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.rule-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  color: #d98b9a;
}

.rule-text {
  color: #45534f;
  font-size: 14px;
  line-height: 1.8;
}

.rank-items {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7ebe9;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid #e7ebe9;
}

.rank-item .rank-no {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 16px;
  font-weight: 600;
  color: #d98b9a;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 6px;
  background-color: #f2f4f3;
}

.rank-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.rank-item .rank-body {
  min-width: 0;
}

.rank-item .rank-name {
  font-size: 15.5px;
  font-weight: 600;
  color: #1d2a29;
}

.rank-topic {
  margin-top: 6px;
  color: #a8556a;
  font-size: 13px;
}

.rank-item .rank-reason {
  margin-top: 8px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.8;
}

/* 按题材查看的榜单分组 */

.topic-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-group {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.topic-group-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.topic-group-list {
  display: grid;
  gap: 10px;
}

.topic-group-item {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e7ebe9;
}

.topic-group-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.topic-group-item a {
  color: #2f6f6b;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: underline;
}

.topic-group-note {
  color: #5c6b69;
  font-size: 13px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   4.5 阅读说明页
   ------------------------------------------------------------------ */

.content-section {
  padding: 36px 0;
  border-top: 1px solid #e7ebe9;
}

.inner-main .section-browse {
  border-top: 0;
  padding-top: 30px;
}

.browse-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.browse-text {
  min-width: 0;
}

.browse-paragraph {
  color: #45534f;
  font-size: 14.5px;
  line-height: 1.85;
}

.browse-paragraph + .browse-paragraph {
  margin-top: 12px;
}

.browse-paragraph a {
  color: #2f6f6b;
  text-decoration: underline;
}

.browse-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.browse-point {
  position: relative;
  padding-left: 18px;
  color: #45534f;
  font-size: 14.5px;
  line-height: 1.8;
}

.browse-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2f6f6b;
}

.browse-figure {
  min-width: 0;
}

.browse-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  background-color: #ffffff;
}

.figure-caption {
  margin-top: 8px;
  color: #7b8a88;
  font-size: 13px;
  line-height: 1.7;
}

/* 字段含义表 */

.field-table {
  border: 1px solid #dfe4e2;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.field-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid #e7ebe9;
}

.field-row-head {
  border-top: 0;
  background-color: #eef4f3;
}

.field-cell {
  min-width: 0;
  color: #45534f;
  font-size: 14px;
  line-height: 1.75;
}

.field-row-head .field-cell {
  font-weight: 600;
  color: #1d2a29;
}

.field-name {
  font-weight: 600;
  color: #1d2a29;
}

.field-sample {
  color: #7b8a88;
}

/* 收录边界 */

.boundary-list {
  display: grid;
  gap: 14px;
}

.boundary-item {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.boundary-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d2a29;
}

.boundary-text {
  margin-top: 6px;
  color: #5c6b69;
  font-size: 14px;
  line-height: 1.8;
}

/* 反馈入口与整理记录 */

.feedback-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.feedback-col {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.feedback-paragraph {
  color: #45534f;
  font-size: 14.5px;
  line-height: 1.8;
}

.feedback-steps {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.feedback-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.feedback-step .step-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  color: #d98b9a;
}

.feedback-step .step-text {
  color: #45534f;
  font-size: 14px;
  line-height: 1.8;
}

.log-list {
  display: grid;
  gap: 12px;
}

.log-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.log-tag {
  display: inline-block;
  padding: 2px 8px;
  background-color: #eef4f3;
  border: 1px solid #d3e2e0;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 12.5px;
  text-align: center;
}

.log-text {
  color: #5c6b69;
  font-size: 13.5px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------
   4.6 404 页
   ------------------------------------------------------------------ */

.error-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 20px 72px;
}

.error-panel {
  max-width: 620px;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 8px;
}

.error-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 40px;
  font-weight: 600;
  color: #d98b9a;
  line-height: 1.1;
}

.error-panel h1 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
  color: #1d2a29;
}

.error-text {
  margin-top: 12px;
  color: #5c6b69;
  font-size: 14.5px;
  line-height: 1.8;
}

.error-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.error-paths a {
  display: inline-block;
  padding: 9px 16px;
  background-color: #ffffff;
  border: 1px solid #dfe4e2;
  border-radius: 6px;
  color: #2f6f6b;
  font-size: 14px;
  text-decoration: none;
}

.error-paths a:hover,
.error-paths a:focus {
  background-color: #eef4f3;
  border-color: #2f6f6b;
  text-decoration: none;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 22px;
  background-color: #2f6f6b;
  border: 1px solid #2f6f6b;
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.error-home:hover,
.error-home:focus {
  background-color: #245955;
  border-color: #245955;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   5. responsive
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    gap: 12px;
  }

  .nav-link {
    padding: 20px 10px;
    font-size: 14.5px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-media {
    order: 2;
  }

  .hero-title {
    font-size: 26px;
  }

  .shelf-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .guide-section .guide-layout,
  .rank-rules-layout,
  .feedback-layout,
  .overview-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-grid,
  .topic-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .update-timeline .update-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .browse-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 14.5px;
  }

  .fact-bar-text,
  .top-fact-text {
    padding: 8px 16px;
    font-size: 12.5px;
  }

  .header-inner {
    height: 56px;
    gap: 10px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 16px 14px;
    background-color: #ffffff;
    border-bottom: 1px solid #dfe4e2;
    box-shadow: 0 8px 16px rgba(35, 48, 47, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid #eef1f0;
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: block;
    padding: 13px 2px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    font-size: 15px;
  }

  .nav-link:hover,
  .nav-link:focus {
    border-bottom: 0;
    border-left-color: #b9d3d0;
  }

  .nav-link.is-current {
    border-bottom: 0;
    border-left-color: #2f6f6b;
  }

  .inner-main {
    padding: 0 16px 44px;
  }

  .breadcrumb {
    padding: 14px 0 2px;
    font-size: 12.5px;
  }

  .page-header {
    padding: 10px 0 20px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-description {
    margin-top: 10px;
    font-size: 14px;
  }

  .anchor-bar {
    gap: 6px;
    margin-top: 14px;
  }

  .anchor-link,
  .anchor-list .anchor-item a {
    padding: 6px 12px;
    font-size: 12.5px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 18px;
  }

  .section-desc,
  .section-intro,
  .section-lead {
    font-size: 14px;
  }

  .hero {
    padding: 28px 0 30px;
  }

  .hero-inner {
    padding: 0 16px;
    gap: 20px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .topic-row,
  .topic-row-list .topic-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 2px;
  }

  .topic-enter,
  .topic-row-enter {
    grid-column: 2 / 3;
    justify-self: start;
    padding: 7px 14px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .update-link {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 2px;
  }

  .rank-row .tag {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .related-grid,
  .topic-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-row-list {
    border-top: 0;
  }

  .topic-touch-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .advice-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .rule-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-item {
    grid-template-columns: 34px 68px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 2px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 16px;
  }

  .field-row-head {
    display: none;
  }

  .field-row .field-cell {
    font-size: 13.5px;
  }

  .field-row .field-mean::before {
    content: "含义：";
    color: #7b8a88;
  }

  .field-row .field-sample::before {
    content: "示例：";
    color: #7b8a88;
  }

  .feedback-step {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .log-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .error-main {
    padding: 40px 16px 52px;
  }

  .error-panel {
    padding: 24px 20px;
  }

  .error-code {
    font-size: 32px;
  }

  .error-panel h1 {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 30px 16px 22px;
  }

  .footer-bottom {
    padding: 14px 16px 22px;
    gap: 10px;
  }
}
