/* ============================================================
   base —— 全局基础样式
   ============================================================ */
:root {
  --ink: #0B0C10;
  --paper: #F7F4EA;
  --yellow: #FFD400;
  --orange: #FF4D00;
  --blue: #2E7CF6;
  --ink-soft: #3a3d4a;
  --paper-deep: #efe9d8;
  --line: #d8d2c0;
  --white: #ffffff;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --header-h: 72px;
  --container-w: 1120px;
  --content-w: 1040px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --shadow-card: 0 2px 8px rgba(11, 12, 16, 0.08);
  --shadow-lift: 0 8px 24px rgba(11, 12, 16, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.3;
  font-weight: 800;
}

p {
  margin-bottom: 1em;
}

figure {
  margin: 0;
}

/* 统一容器 */
.site-header .header-inner,
.site-main .inner-main,
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-main.inner-main {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 锁定骨架字体与颜色 */
.site-header,
.site-nav,
.site-main,
.inner-main,
.breadcrumb,
.page-header,
.page-title,
.site-footer {
  font-family: var(--font-body);
  color: var(--ink);
}

/* ============================================================
   layout —— 布局骨架
   ============================================================ */

/* 页头 */
.site-header {
  background: var(--ink);
  border-bottom: 4px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.06em;
}

.brand-name::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 桌面导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background: rgba(255, 212, 0, 0.15);
  color: var(--yellow);
}

.nav-list li a.is-current {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--yellow);
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 6px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(247, 244, 234, 0.8);
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: rgba(247, 244, 234, 0.8);
  font-size: 0.88rem;
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 244, 234, 0.15);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(247, 244, 234, 0.6);
  margin: 0;
}

/* 主内容区域 */
.site-main {
  min-height: 60vh;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 60px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb-sep {
  color: var(--ink-soft);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.page-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 48px;
  height: 4px;
  background: var(--orange);
}

.page-description {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 0;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 44px;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--yellow);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--yellow);
}

.btn-light {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--orange);
  font-size: 0.88rem;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--ink);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* 通用 section 标题元素 */
.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* 视觉隐藏（仅用于辅助文本） */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   components —— 通用组件
   ============================================================ */

/* 标签标签 */
.tag-label,
.pick-tag,
.news-tag,
.note-mini-tag,
.update-item-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* 封面卡（首页） */
.feature-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.feature-card figure {
  overflow: hidden;
  background: var(--paper-deep);
}

.feature-card img {
  width: 100%;
  object-fit: cover;
}

.feature-card .card-body {
  padding: 16px 18px 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 8px 0 6px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}

.featured-main figure {
  aspect-ratio: 16 / 9;
}

.feature-sub figure {
  aspect-ratio: 16 / 9;
}

/* 首页编辑重点推荐 */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.feature-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-main .card-body {
  padding: 20px 24px 24px;
}

.featured-main h3 {
  font-size: 1.3rem;
}

/* 题材标签行 */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-tags a:hover {
  background: var(--ink);
  color: var(--yellow);
}

/* ============================================================
   pages —— 首页
   ============================================================ */

/* 首页 hero */
.home-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 56px;
  border-bottom: 4px solid var(--yellow);
}

.hero-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.hero-copy h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-copy h1 .hero-accent {
  color: var(--yellow);
}

.hero-lead {
  font-size: 0.98rem;
  color: rgba(247, 244, 234, 0.85);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-figure {
  border: 3px solid var(--yellow);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 首页目录带 */
.home-index-band {
  border-bottom: 2px solid var(--ink);
  padding: 40px 0;
}

.index-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 2px solid var(--ink);
}

.index-item {
  border-right: 2px solid var(--ink);
  padding: 20px 24px;
  position: relative;
  min-height: 130px;
}

.index-item:nth-child(1) {
  background: var(--yellow);
}

.index-item:nth-child(2) {
  background: var(--paper);
}

.index-item:nth-child(3) {
  background: var(--paper-deep);
}

.index-item:nth-child(4) {
  background: var(--ink);
}

.index-num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.index-item:nth-child(4) .index-num {
  color: var(--yellow);
}

.index-item a h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.index-item:nth-child(4) a h2 {
  color: var(--paper);
}

.index-item p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

.index-item:nth-child(4) p {
  color: rgba(247, 244, 234, 0.7);
}

/* 首页编辑重点推荐 */
.home-featured {
  padding: 56px 0 24px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.featured-head h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0;
}

.featured-head p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  margin-left: auto;
  max-width: 440px;
}

/* 首页新作 + 热度双栏 */
.home-info-duo {
  padding: 40px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}

.duo-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.duo-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.duo-head h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0;
}

.news-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.newbie-tip {
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 16px;
}

.newbie-tip strong {
  display: block;
  margin-bottom: 4px;
}

.duo-rank .rank-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.rank-bars li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.rank-bars li:last-child {
  border-bottom: none;
}

.rank-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rank-bar {
  display: block;
  height: 8px;
  background: var(--ink);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rank-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--yellow);
  border-radius: 4px;
}

.rank-bars li:nth-child(1) .rank-bar::after {
  width: 88%;
}

.rank-bars li:nth-child(2) .rank-bar::after {
  width: 74%;
}

.rank-bars li:nth-child(3) .rank-bar::after {
  width: 65%;
}

.rank-bars li:nth-child(4) .rank-bar::after {
  width: 52%;
}

.rank-bars p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

/* 首页题材速查 */
.home-genre-grid {
  padding: 56px 0 40px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.genre-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.genre-head h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0;
}

.genre-grid-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-left: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
}

.genre-cell {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 20px 16px;
  background: var(--paper);
  transition: background 0.2s ease;
  min-height: 120px;
}

.genre-cell:hover {
  background: var(--yellow);
}

.genre-cell h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.genre-cell h3 a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--orange);
}

.genre-cell p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 首页边界提示带 */
.home-boundary-strip {
  background: var(--ink);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.home-boundary-strip p {
  color: var(--paper);
  font-size: 0.95rem;
  margin: 0;
  max-width: 640px;
}

/* ============================================================
   pages —— 通用内页布局
   ============================================================ */

/* 内页双栏布局（tuijian / shouce / guanyu） */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* 侧栏 */
.sidebar-area,
.guide-sidebar,
.about-sidebar {
  min-width: 0;
}

.sidebar-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.sidebar-links li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.sidebar-links span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ============================================================
   pages —— tuijian.html 编辑选读
   ============================================================ */

.editorial-note {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.editorial-note .section-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.editorial-note p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.editorial-note p:last-child {
  margin-bottom: 0;
}

.reading-list {
  margin-bottom: 40px;
}

.reading-list > .section-title {
  font-size: 1.5rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.pick-group {
  margin-bottom: 40px;
}

.pick-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pick-tag {
  flex-shrink: 0;
}

.pick-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0;
}

.pick-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 16px;
  align-items: start;
}

.pick-figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}

.pick-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pick-info .pick-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.pick-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.pick-fit {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.pick-next {
  font-size: 0.84rem;
}

/* ============================================================
   pages —— fenlei.html 题材目录
   ============================================================ */

.section-heading {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.section-heading p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.genre-catalog-section {
  margin-bottom: 48px;
}

.genre-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border-bottom: 2px solid var(--line);
  padding: 24px 0;
  align-items: start;
}

.genre-row:first-of-type {
  border-top: 2px solid var(--line);
}

.genre-media figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
}

.genre-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.genre-info h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.genre-info h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--orange);
  margin-right: 8px;
  border-radius: 2px;
}

.genre-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.genre-fit {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.genre-fit strong {
  color: var(--ink);
}

.genre-watch {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.genre-info a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

/* 分词墙 */
.genre-tagwall-section {
  margin-bottom: 48px;
}

.tagwall-group {
  margin-bottom: 24px;
}

.tagwall-group h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tagwall-group h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: var(--yellow);
  border: 1px solid var(--ink);
}

.tagwall-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tagwall-list li {
  font-size: 0.82rem;
  padding: 4px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}

/* 底部入口 */
.genre-more-section {
  background: var(--ink);
  padding: 32px;
  border-radius: var(--radius-md);
}

.genre-more-inner h2 {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.genre-more-inner p {
  color: var(--paper);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.genre-more-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.genre-more-links a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
}

.genre-more-links a:hover {
  background: var(--orange);
  color: var(--white);
}

/* ============================================================
   pages —— gengxin.html 新作情报
   ============================================================ */

.update-note-section {
  margin-bottom: 48px;
}

.update-note-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.update-note-head .section-title {
  margin-bottom: 0;
}

.update-note-head p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.update-note-head p a {
  color: var(--orange);
  font-weight: 600;
}

.update-note-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.note-mini-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 12px;
  align-items: center;
}

.note-mini-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.note-mini-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.note-mini-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--yellow);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.note-mini-text {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 双列清单 */
.update-list-section {
  margin-bottom: 20px;
}

.update-list-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.update-list-head .section-title {
  margin-bottom: 4px;
}

.update-list-head p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.update-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.update-column {
  border-top: 3px solid var(--ink);
}

.update-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}

.update-item-index {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.4;
  flex-shrink: 0;
  width: 28px;
}

.update-item-content {
  flex: 1;
  min-width: 0;
}

.update-item-tag {
  margin-bottom: 6px;
}

.update-item-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
}

.update-item-text {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}

.update-item-link a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
}

/* ============================================================
   pages —— paihang.html 人气榜
   ============================================================ */

.page-header-content .page-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 4px;
}

.page-header-content .page-lead {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 0;
}

/* 榜单说明 */
.rank-note-section {
  margin-bottom: 48px;
}

.rank-note-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.rank-note-text .section-title {
  color: var(--yellow);
}

.rank-note-text p {
  color: rgba(247, 244, 234, 0.85);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.rank-note-figure {
  border: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rank-note-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rank-note-figure figcaption {
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.78rem;
  padding: 6px 10px;
  text-align: center;
  font-weight: 600;
}

/* 热度条 */
.rank-trends-section {
  margin-bottom: 48px;
}

.rank-trends-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.rank-trends-head .section-title {
  margin-bottom: 4px;
}

.rank-trends-head p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.rank-trend-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.rank-tier-high {
  border-left: 8px solid var(--orange);
}

.rank-tier-mid {
  border-left: 8px solid var(--yellow);
}

.rank-tier-steady {
  border-left: 8px solid var(--blue);
}

.rank-trend-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rank-tier-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--yellow);
  padding: 3px 10px;
  border-radius: 2px;
}

.rank-tier-high .rank-tier-label {
  background: var(--orange);
  color: var(--white);
}

.rank-trend-name {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0;
}

.rank-trend-tagline {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.rank-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rank-bar {
  display: block;
  height: 10px;
  background: var(--paper-deep);
  border-radius: 5px;
  overflow: hidden;
  flex: 1;
  position: relative;
}

.rank-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}

.rank-bar-high::after {
  width: 90%;
  background: var(--orange);
}

.rank-bar-mid::after {
  width: 72%;
  background: var(--yellow);
}

.rank-bar-steady::after {
  width: 55%;
  background: var(--blue);
}

.rank-bar-note {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.rank-trend-reason {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* 底部关联 */
.rank-next-section {
  margin-bottom: 20px;
}

.rank-next-shell {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.rank-next-text .section-title {
  margin-bottom: 6px;
}

.rank-next-text p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.rank-next-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rank-next-link {
  display: block;
  background: var(--ink);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-next-link:hover {
  transform: translateY(-2px);
  background: var(--orange);
}

.rank-next-link-title {
  display: block;
  font-weight: 800;
  color: var(--yellow);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.rank-next-link:hover .rank-next-link-title {
  color: var(--white);
}

.rank-next-link-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(247, 244, 234, 0.7);
  line-height: 1.6;
}

/* ============================================================
   pages —— shouce.html 阅读手册
   ============================================================ */

.guide-section {
  margin-bottom: 40px;
}

.guide-section > h2 {
  font-size: 1.4rem;
  font-weight: 900;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.guide-section .section-intro {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}

.guide-path-list {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.guide-path-item {
  display: flex;
  gap: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  align-items: flex-start;
}

.path-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.guide-path-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.guide-path-item p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 4px;
}

.guide-path-item p:last-of-type {
  margin-bottom: 0;
}

.guide-figure {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-figure figcaption {
  background: var(--paper-deep);
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 8px 16px;
  text-align: center;
}

/* FAQ */
.faq-section {
  margin-bottom: 40px;
}

.faq-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  transition: background 0.2s ease;
  list-style: none;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-item summary:hover {
  background: var(--yellow);
}

.faq-item[open] summary {
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.faq-item > p {
  padding: 14px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 0;
  background: var(--paper);
}

/* 引导侧栏 */
.guide-sidebar .sidebar-card {
  background: var(--yellow);
}

.guide-footer-link {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.guide-footer-link p {
  color: var(--paper);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.guide-footer-link .text-link {
  color: var(--yellow);
}

/* ============================================================
   pages —— guanyu.html 关于本站
   ============================================================ */

.about-article {
  min-width: 0;
}

.about-article h2 {
  font-size: 1.3rem;
  font-weight: 900;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
  margin-top: 24px;
}

.about-article h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  margin-top: 16px;
}

.about-article p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.about-media {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.about-media figcaption {
  background: var(--paper-deep);
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 8px 16px;
  text-align: center;
}

.about-sidebar {
  min-width: 0;
}

.about-sidebar h2 {
  font-size: 1rem;
  font-weight: 900;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
  margin-top: 24px;
}

.about-sidebar h2:first-child {
  margin-top: 0;
}

.column-list li,
.boundary-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
  line-height: 1.6;
}

.column-list li:last-child,
.boundary-list li:last-child {
  border-bottom: none;
}

.column-list a {
  font-weight: 700;
}

.boundary-list li {
  color: var(--ink-soft);
  position: relative;
  padding-left: 20px;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.closing-statement {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 40px;
}

.closing-statement p {
  color: var(--paper);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

/* ============================================================
   pages —— 404.html
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  padding: 48px 24px;
  max-width: 560px;
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}

.error-section h1 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.error-home-link {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 24px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.error-home-link:hover {
  background: var(--orange);
  color: var(--white);
}

.error-suggest {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.error-suggest a {
  color: var(--orange);
  font-weight: 600;
  margin: 0 4px;
}

/* ============================================================
   responsive —— 响应式
   ============================================================ */

@media (max-width: 1024px) {
  .genre-grid-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .index-band-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-item:nth-child(2n) {
    border-right: none;
  }

  .rank-next-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  /* 页头移动导航 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    z-index: 99;
    border-bottom: 3px solid var(--yellow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(247, 244, 234, 0.1);
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a.is-current {
    background: var(--yellow);
    color: var(--ink);
  }

  /* 页头高度保持 */
  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 内页双栏变单栏 */
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar-area,
  .guide-sidebar,
  .about-sidebar {
    order: 2;
  }

  .main-content {
    order: 1;
  }

  /* 首页 hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-figure {
    max-width: 480px;
  }

  /* 首页目录带 */
  .index-band-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* 首页双栏 */
  .duo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* 编辑重点卡 */
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .feature-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* 新作情报卡 */
  .update-note-cards {
    grid-template-columns: 1fr;
  }

  .update-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 题材目录 */
  .genre-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .genre-media {
    max-width: 240px;
  }

  /* 人气榜 */
  .rank-note-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rank-trend-top {
    align-items: flex-start;
  }

  /* 阅读手册 */
  .pick-card {
    grid-template-columns: 1fr;
  }

  .pick-figure {
    max-width: 240px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .genre-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-cell {
    min-height: auto;
  }

  .feature-side {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  /* 首页边界提示带 */
  .home-boundary-strip {
    padding: 28px 16px;
    text-align: left;
  }

  .home-boundary-strip p {
    font-size: 0.88rem;
  }

  /* 编辑推荐卡 */
  .featured-main .card-body {
    padding: 16px 18px 18px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  /* 首页 hero */
  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    gap: 6px;
  }

  /* 首页目录带 */
  .index-band-inner {
    grid-template-columns: 1fr;
  }

  .index-item {
    min-height: auto;
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }

  .index-item:last-child {
    border-bottom: none;
  }

  /* 首页题材网格 */
  .genre-grid-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .genre-cell {
    padding: 14px 12px;
  }

  .genre-cell h3 {
    font-size: 0.9rem;
  }

  .genre-cell p {
    font-size: 0.75rem;
  }

  /* 首页双栏 */
  .duo-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 编辑重点卡 */
  .featured-grid {
    gap: 16px;
  }

  /* 侧栏 */
  .sidebar-card {
    padding: 16px;
  }

  /* 选读卡 */
  .pick-card {
    padding: 12px;
  }

  .pick-figure {
    max-width: 100%;
  }

  /* 新作情报 */
  .note-mini-card {
    grid-template-columns: 1fr;
  }

  .note-mini-media {
    max-width: 200px;
  }

  /* 人气榜 */
  .rank-note-shell {
    padding: 20px;
  }

  .rank-trend-item {
    padding: 16px 14px;
  }

  .rank-bar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .rank-bar {
    width: 100%;
  }

  /* 阅读手册 */
  .guide-path-item {
    flex-direction: column;
    padding: 14px;
  }

  .path-number {
    margin-bottom: 4px;
  }

  .guide-footer-link {
    padding: 16px;
  }

  /* 关于页 */
  .closing-statement {
    padding: 20px;
  }

  /* 404 */
  .error-code {
    font-size: 4rem;
  }

  /* 页脚 */
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 内页通用 */
  .page-layout {
    gap: 24px;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
