/* =========================================================
   91动漫 - 全局样式
   艺术展览风：暖灰背景、深墨蓝主色、展览金强调
   ========================================================= */

/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
  background-color: #f6f4f0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1f2a44;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c99a4a;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 视觉隐藏，仅供屏幕阅读器 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout 骨架 ---------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e0d8;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(31, 42, 68, 0.08);
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.3s ease;
}

.site-header.is-scrolled .header-shell {
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f2a44;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: #6b6b6b;
  letter-spacing: 0.06em;
}

/* 主导航 */
.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;
  font-size: 15px;
  color: #333333;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #1f2a44;
  background-color: #f0ece6;
}

.nav-list li a.is-current {
  color: #c99a4a;
  font-weight: 600;
  background-color: rgba(201, 154, 74, 0.08);
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1f2a44;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #1f2a44;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 页脚 */
.site-footer {
  background-color: #1f2a44;
  color: #c9c4bc;
  margin-top: 64px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #9a958c;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col li a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: #9a958c;
  min-height: 28px;
}

.footer-col li a:hover {
  color: #c99a4a;
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  font-size: 13px;
  color: #6e6a64;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 内页公共骨架 */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  padding: 24px 0 8px;
  font-size: 13px;
  color: #6b6b6b;
}

.breadcrumb a {
  color: #6b6b6b;
}

.breadcrumb a:hover {
  color: #c99a4a;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #b5b0a8;
}

.breadcrumb-current {
  color: #1f2a44;
}

.page-header {
  padding: 16px 0 32px;
  border-bottom: 1px solid #e5e0d8;
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.page-description {
  font-size: 15px;
  color: #6b6b6b;
  max-width: 720px;
}

/* 通用文字链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  color: #1f2a44;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid #c99a4a;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #c99a4a;
  border-color: #c99a4a;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.4;
}

/* ---------- Components ---------- */

/* 封面卡片（通用） */
.rec-card,
.work-card,
.genre-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rec-card:hover,
.work-card:hover,
.genre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.1);
}

.rec-card img,
.work-card img,
.genre-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* 按钮 */
.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  color: #1f2a44;
  border: 1px solid #1f2a44;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background-color: #1f2a44;
  color: #ffffff;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background-color: #1f2a44;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #c99a4a;
  color: #ffffff;
}

/* 相关链接条（首页与内页底部） */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  color: #6b6b6b;
}

.related-links-item {
  font-size: 14px;
  color: #1f2a44;
  padding: 6px 12px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #e5e0d8;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: #c99a4a;
  color: #c99a4a;
}

/* =========================================================
   首页
   ========================================================= */

/* 封面墙首屏 */
.hero-wall {
  background-color: #f0ece6;
  border-bottom: 1px solid #e5e0d8;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-feature {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(31, 42, 68, 0.06);
}

.feature-cover {
  margin: 0;
}

.feature-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-caption {
  padding: 24px 28px 28px;
}

.feature-caption h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 6px;
  line-height: 1.4;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #c99a4a;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 最近更新侧栏 */
.recent-updates {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(31, 42, 68, 0.06);
}

.aside-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e0d8;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece6;
}

.update-item:last-child {
  border-bottom: none;
}

.update-item img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-meta {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.update-status {
  display: block;
  font-size: 12px;
  color: #c99a4a;
  margin-top: 2px;
}

.recent-updates .text-link {
  margin-top: 12px;
}

/* 通用区块 */
.section-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* 今日推荐精选 */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rec-card {
  padding-bottom: 16px;
}

.rec-card img {
  margin-bottom: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
  padding: 0 16px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.card-tag {
  font-size: 13px;
  color: #c99a4a;
  padding: 0 16px;
}

/* 题材目录索引 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.genre-block {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.genre-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
}

.genre-name {
  font-size: 17px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 4px;
}

.genre-desc {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.genre-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  margin-top: auto;
}

/* 更新日历预览 */
.week-preview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-col {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid #e5e0d8;
}

.day-col.is-today {
  background-color: #1f2a44;
  border-color: #1f2a44;
}

.day-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 6px;
}

.day-status {
  display: inline-block;
  font-size: 12px;
  color: #c99a4a;
  background-color: rgba(201, 154, 74, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}

.day-col.is-today .day-name {
  color: #ffffff;
}

.day-col.is-today .day-status {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* 漫迷中心 */
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.library-panel {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 24px;
  border-top: 3px solid #c99a4a;
}

.panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.panel-text {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 专题企划预告 */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.1);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  padding: 16px 20px 4px;
}

.feature-card-desc {
  font-size: 14px;
  color: #6b6b6b;
  padding: 0 20px 20px;
  line-height: 1.6;
}

/* 阅读帮助提示带 */
.help-tip {
  padding-bottom: 56px;
}

.help-tip-inner {
  background-color: #1f2a44;
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.help-tip-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  max-width: 640px;
}

.help-tip .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
  flex-shrink: 0;
}

.help-tip .btn-outline:hover {
  background-color: #ffffff;
  color: #1f2a44;
}

/* =========================================================
   今日推荐页
   ========================================================= */

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tag {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
  border-color: #c99a4a;
  color: #c99a4a;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommendation-item {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.25s ease;
}

.recommendation-item:hover {
  box-shadow: 0 6px 20px rgba(31, 42, 68, 0.08);
}

.rec-cover {
  flex-shrink: 0;
  width: 150px;
}

.rec-cover img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.rec-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rec-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.rec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.rec-tag {
  font-size: 12px;
  color: #c99a4a;
  background-color: rgba(201, 154, 74, 0.1);
  padding: 2px 12px;
  border-radius: 12px;
}

.rec-copy {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 12px;
  flex: 1;
}

.rec-link {
  font-size: 14px;
  color: #1f2a44;
  font-weight: 500;
  border-bottom: 1px solid #c99a4a;
  align-self: flex-start;
}

.rec-link:hover {
  color: #c99a4a;
}

/* 页内相关链接 */
.today-related {
  margin-top: 48px;
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.related-copy {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 16px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-list li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-list li a:hover {
  border-color: #c99a4a;
  color: #c99a4a;
}

/* =========================================================
   题材目录页
   ========================================================= */

.genre-tag-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.genre-tag-nav a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.genre-tag-nav a:hover {
  border-color: #c99a4a;
  color: #c99a4a;
}

.genre-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.genre-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px;
  scroll-margin-top: 88px;
}

.genre-intro {
  padding-top: 4px;
}

.genre-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.genre-intro .genre-desc {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
}

.genre-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.genre-card {
  padding-bottom: 10px;
}

.genre-card img {
  margin-bottom: 8px;
}

.genre-work-title {
  font-size: 14px;
  color: #333333;
  padding: 0 10px;
  line-height: 1.4;
}

/* 题材页脚注 */
.genre-note {
  margin: 48px 0 24px;
  background-color: #ffffff;
  border-left: 3px solid #c99a4a;
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
}

.genre-note-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.genre-note-text {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
}

.genre-note-text a {
  color: #1f2a44;
  border-bottom: 1px solid #c99a4a;
  margin: 0 4px;
}

.genre-note-text a:hover {
  color: #c99a4a;
}

/* =========================================================
   更新日历页
   ========================================================= */

.update-rules {
  margin-bottom: 40px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.rule-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px 24px;
}

.rule-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 6px;
}

.rule-text {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.6;
}

.weekly-calendar-wrap {
  margin-bottom: 48px;
}

.weekly-calendar-wrap .section-title {
  margin-bottom: 20px;
}

.weekly-calendar {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.weekly-calendar th {
  background-color: #1f2a44;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 12px;
  text-align: center;
}

.weekly-calendar td {
  vertical-align: top;
  padding: 16px 12px;
  border: 1px solid #e5e0d8;
  min-height: 120px;
}

.day-cell.is-today {
  background-color: rgba(201, 154, 74, 0.06);
  border: 2px solid #c99a4a;
}

.day-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 10px;
}

.day-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.day-list li {
  font-size: 13px;
  color: #333333;
  line-height: 1.4;
  padding: 4px 8px;
  background-color: #f6f4f0;
  border-radius: 4px;
}

/* 今日更新列表 */
.today-updates {
  margin-bottom: 24px;
}

.section-desc {
  font-size: 14px;
  color: #6b6b6b;
  margin: 8px 0 20px;
}

.today-update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.update-item {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  align-items: center;
}

.update-figure {
  flex-shrink: 0;
  margin: 0;
}

.update-figure img {
  width: 80px;
  height: 104px;
  object-fit: cover;
  border-radius: 4px;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 4px;
}

.update-tags {
  font-size: 13px;
  color: #c99a4a;
}

/* 日历页相关链接 */
.calendar-related {
  margin-top: 32px;
}

/* =========================================================
   专题企划页
   ========================================================= */

.feature-tag-nav {
  margin-bottom: 40px;
}

.feature-tag-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag-nav a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feature-tag-nav a:hover {
  border-color: #c99a4a;
  color: #c99a4a;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-project {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-top: 88px;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.feature-content {
  padding: 28px 32px 32px;
}

.feature-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.feature-summary {
  font-size: 15px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #e5e0d8;
  border-bottom: 1px solid #e5e0d8;
  margin-bottom: 20px;
}

.feature-details h3 {
  font-size: 14px;
  font-weight: 700;
  color: #c99a4a;
  margin-bottom: 4px;
}

.feature-details p {
  font-size: 14px;
  color: #333333;
  line-height: 1.6;
}

.feature-collection-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 16px;
}

.feature-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-card {
  padding-bottom: 10px;
}

.work-card img {
  margin-bottom: 8px;
}

.work-card figcaption {
  font-size: 14px;
  color: #333333;
  padding: 0 10px;
  line-height: 1.4;
}

/* 专题相关链接 */
.feature-related-links {
  margin: 48px 0 24px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
}

.feature-related-links h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 8px;
}

.feature-related-links p {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 16px;
}

.feature-related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-related-links ul a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #f6f4f0;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.feature-related-links ul a:hover {
  background-color: #1f2a44;
  color: #ffffff;
}

/* =========================================================
   阅读帮助页
   ========================================================= */

.help-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* 侧边导航 */
.sidebar-nav {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px 20px;
  position: sticky;
  top: 88px;
}

.sidebar-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e0d8;
  margin-bottom: 12px;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
}

.sidebar-nav-list li a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #333333;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav-list li a:hover {
  background-color: #f6f4f0;
  color: #1f2a44;
}

/* 帮助内容区 */
.help-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.help-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
  scroll-margin-top: 88px;
}

.help-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 12px;
}

.help-section p {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
}

.section-intro a {
  color: #1f2a44;
  border-bottom: 1px solid #c99a4a;
}

.section-intro a:hover {
  color: #c99a4a;
}

/* 栏目导览列表 */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.guide-list li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #1f2a44;
  border-bottom: 1px solid #f0ece6;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.guide-list li a:hover {
  color: #c99a4a;
  padding-left: 6px;
}

/* 权益目录 */
.benefit-list {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-list li {
  font-size: 14px;
  color: #333333;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #c99a4a;
  border-radius: 50%;
}

.benefit-list strong {
  color: #1f2a44;
  font-weight: 600;
}

/* 使用记录配图 */
.record-figure {
  margin: 16px 0;
}

.record-figure img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.record-figure figcaption {
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 6px;
}

/* FAQ 手风琴 */
.faq-item {
  border-bottom: 1px solid #e5e0d8;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: #1f2a44;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color 0.2s ease;
}

.faq-item summary:hover {
  color: #c99a4a;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 18px;
  color: #c99a4a;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14px;
  color: #6b6b6b;
  padding: 0 0 14px;
  line-height: 1.7;
}

/* =========================================================
   版权与反馈页
   ========================================================= */

.feedback-layout {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.content-boundary,
.feedback-path,
.privacy-note,
.correction-principle {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
}

.content-boundary h2,
.feedback-path h2,
.privacy-note h2,
.correction-principle h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 12px;
}

.content-media-inline {
  margin: 16px 0;
}

.content-media-inline img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 6px;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 6px;
}

.boundary-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.boundary-item,
.privacy-item {
  background-color: #f6f4f0;
  border-radius: 6px;
  padding: 16px 20px;
}

.boundary-item h3,
.privacy-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 6px;
}

.boundary-item p,
.privacy-item p {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.6;
}

.feedback-path-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.path-item {
  background-color: #f6f4f0;
  border-radius: 6px;
  padding: 16px 20px;
}

.path-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 6px;
}

.path-item p {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.6;
}

.principle-list {
  margin: 12px 0;
  padding-left: 20px;
  list-style: disc;
}

.principle-list li {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 6px;
}

.principle-link {
  font-size: 14px;
}

.principle-link a {
  color: #1f2a44;
  border-bottom: 1px solid #c99a4a;
}

.principle-link a:hover {
  color: #c99a4a;
}

/* =========================================================
   404 页
   ========================================================= */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: #c99a4a;
  line-height: 1;
  margin-bottom: 12px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #6b6b6b;
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-panel .btn-primary {
  margin-bottom: 24px;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.error-links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #1f2a44;
  background-color: #f6f4f0;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-links a:hover {
  background-color: #1f2a44;
  color: #ffffff;
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-block {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .genre-works {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-works {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-layout {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e0d8;
    box-shadow: 0 8px 16px rgba(31, 42, 68, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 8px;
    font-size: 15px;
    border-bottom: 1px solid #f0ece6;
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .footer-shell {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .help-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-nav {
    position: static;
    order: 2;
  }

  .help-content {
    order: 1;
  }

  .today-update-list {
    grid-template-columns: 1fr;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .boundary-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-shell {
    padding: 14px 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .inner-main {
    padding: 0 16px;
  }

  .page-header {
    padding: 12px 0 24px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .hero-layout {
    padding: 24px 16px 32px;
    gap: 24px;
  }

  .feature-caption {
    padding: 16px 20px 20px;
  }

  .feature-caption h1 {
    font-size: 20px;
  }

  .recent-updates {
    padding: 20px;
  }

  .section-block {
    padding: 40px 16px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .genre-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .week-preview {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .library-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-tip-inner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    padding: 32px 16px 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .copyright {
    padding: 12px 16px 20px;
  }

  /* 今日推荐页 */
  .recommendation-item {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .rec-cover,
  .rec-cover img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .rec-cover img {
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }

  /* 题材目录页 */
  .genre-block {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .genre-works {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 更新日历页 */
  .weekly-calendar-wrap {
    overflow-x: auto;
  }

  .weekly-calendar {
    min-width: 640px;
  }

  /* 专题页 */
  .feature-content {
    padding: 20px;
  }

  .feature-works {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-details {
    grid-template-columns: 1fr;
  }

  /* 帮助页 */
  .help-section {
    padding: 20px;
  }

  /* 反馈页 */
  .content-boundary,
  .feedback-path,
  .privacy-note,
  .correction-principle {
    padding: 20px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }
}

@media (max-width: 420px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .genre-works {
    grid-template-columns: 1fr;
  }

  .feature-works {
    grid-template-columns: 1fr;
  }

  .week-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-tagline {
    display: none;
  }
}
