/* ============================================================
   wooxzy.com · 禁漫岛 全站样式
   视觉方向：明亮阅读馆风 · 米白纸感 · 墨蓝文字 · 浅金点缀
   结构：base / layout / components / pages / responsive
   ============================================================ */

/* ============================================================
   base —— 变量、重置、全局基础
   ============================================================ */
:root {
  --bg: #FAF8F2;
  --text: #26303B;
  --text-deep: #1D2530;
  --gold: #B99A5B;
  --gold-soft: rgba(185, 154, 91, 0.16);
  --mist: #F0EDE6;
  --card: #FFFFFF;
  --line: #E4DFD4;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(29, 37, 48, 0.06);
  --shadow-md: 0 6px 18px rgba(29, 37, 48, 0.08);
  --shadow-hover: 0 10px 24px rgba(29, 37, 48, 0.12);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 60px;
  --container: 1200px;
  --gap: 24px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--text-deep);
  line-height: 1.4;
  font-weight: 700;
}

h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

/* ============================================================
   layout —— 全站骨架：页头、页脚、主容器、栅格
   ============================================================ */

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-deep);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: var(--gold);
  display: none;
}

/* 主导航 */
.site-nav {
  height: 100%;
}

.nav-list {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  padding: 0 2px;
}

.nav-link:hover {
  color: var(--text-deep);
}

.nav-link.is-current {
  color: var(--text-deep);
  font-weight: 600;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* 页脚 */
.site-footer {
  background: var(--mist);
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gap) 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-tip {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px var(--gap);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text);
}

/* 主内容统一 */
.site-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 20px;
  padding-top: 20px;
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--gold);
}

/* 页面标题区（内页统一） */
.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--text);
  max-width: 720px;
  line-height: 1.85;
}

/* 双栏布局 */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}

.main-column {
  min-width: 0;
  min-width: 520px;
}

.side-panel {
  min-width: 0;
}

/* 侧栏模块 */
.side-panel .side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.side-panel .side-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-soft);
}

.side-panel .side-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.side-panel .side-link {
  display: inline-block;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.side-panel .side-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.side-panel .side-links a {
  font-size: 14px;
  color: var(--text);
}

.side-panel .side-links a:hover {
  color: var(--gold);
}

/* 侧栏卡片列表 */
.side-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card-item a {
  display: block;
  padding: 10px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.side-card-item a:hover {
  background: var(--gold-soft);
}

.side-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 4px;
}

.side-card-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

/* 相关链接横条（内页底部） */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 32px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-deep);
}

.related-links-item {
  font-size: 14px;
  color: var(--gold);
  padding: 6px 14px;
  background: var(--gold-soft);
  border-radius: 999px;
}

.related-links-item:hover {
  background: var(--gold);
  color: var(--card);
}

/* ============================================================
   components —— 通用组件
   ============================================================ */

/* 区块标题行 */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-deep);
}

.section-more {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.section-more:hover {
  color: var(--text-deep);
}

/* 标签 */
.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 500;
}

.status {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--text);
}

/* 图片容器 */
figure {
  margin: 0;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--text-deep);
  color: var(--card);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--card);
}

.btn-secondary {
  background: var(--card);
  color: var(--text-deep);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 通用卡片 hover */
.update-card,
.pick-card,
.entry-card,
.genre-block,
.side-card-item a {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-card:hover,
.pick-card:hover,
.entry-card:hover,
.genre-block:hover,
.side-card-item a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   pages —— 首页
   ============================================================ */

.home-main {
  padding-bottom: 0;
}

/* 通知条 */
.notice-bar {
  background: var(--gold-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.notice-text {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  font-size: 14px;
  color: var(--text);
  text-align: center;
}

.notice-text a {
  color: var(--gold);
  font-weight: 500;
  margin: 0 6px;
}

.notice-text a:hover {
  color: var(--text-deep);
}

/* hero 首屏 */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gap) 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 题材标签组 */
.genre-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.genre-tag {
  font-size: 14px;
  color: var(--text);
  padding: 8px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.genre-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

/* 首页通用区块 */
.recent-updates,
.editor-picks,
.ranking-compare,
.guide-notice {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gap);
}

.recent-updates {
  padding-top: 16px;
}

/* 最近更新 */
.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.update-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.update-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.update-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.update-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-deep);
  line-height: 1.4;
}

.update-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}

.update-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.update-meta .time {
  font-size: 12px;
  color: var(--text);
  margin-left: auto;
}

/* 编辑专题卡 */
.editor-picks {
  background: var(--mist);
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pick-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pick-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pick-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pick-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-deep);
}

.pick-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.pick-audience {
  font-size: 13px;
  color: var(--gold);
}

/* 人气榜比较区 */
.ranking-compare {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.ranking-main {
  min-width: 0;
}

.ranking-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.is-active {
  color: var(--text-deep);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* 榜单表格 */
.ranking-table,
.rank-table {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ranking-table th,
.rank-table th {
  background: var(--mist);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-deep);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.ranking-table td,
.rank-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
}

.ranking-table tr:last-child td,
.rank-table tr:last-child td {
  border-bottom: none;
}

.rank-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  width: 60px;
}

.rank-topic,
.rank-name {
  font-weight: 500;
  color: var(--text-deep);
}

/* 编辑推荐侧栏 */
.rank-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.side-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-soft);
}

.side-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.side-link {
  display: inline-block;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

/* 双入口 */
.guide-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 16px;
}

.entry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-deep);
}

.entry-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.entry-link {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.entry-link::after {
  content: " →";
}

/* ============================================================
   pages —— 题材分类 genres
   ============================================================ */

.genre-anchor {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.genre-anchor-item {
  font-size: 14px;
  color: var(--text);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--mist);
  transition: background 0.2s ease, color 0.2s ease;
}

.genre-anchor-item:hover {
  background: var(--gold-soft);
  color: var(--gold);
}

.genre-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.genre-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.genre-block-text {
  min-width: 0;
}

.genre-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 10px;
}

.genre-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.genre-scene {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 10px;
}

.genre-note {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--mist);
  border-radius: var(--radius-sm);
}

.genre-figure {
  width: 260px;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.genre-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-related {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.genre-related a {
  color: var(--gold);
  margin-right: 16px;
}

.genre-related a:hover {
  color: var(--text-deep);
}

/* ============================================================
   pages —— 更新速递 updates
   ============================================================ */

.week-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.week-summary .section-title {
  margin-bottom: 16px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-item {
  padding: 14px 18px;
  background: var(--mist);
  border-radius: var(--radius-sm);
}

.summary-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 4px;
}

.summary-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* 时间线 */
.update-timeline {
  margin-bottom: 32px;
}

.update-timeline .section-title {
  margin-bottom: 20px;
}

.timeline-group {
  margin-bottom: 28px;
}

.timeline-date {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold-soft);
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.update-thumb {
  width: 88px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 4px;
}

.update-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}

.update-genre,
.update-status,
.update-time {
  display: inline-block;
  font-size: 12px;
  color: var(--text);
  margin-right: 12px;
}

.update-genre {
  color: var(--gold);
}

/* ============================================================
   pages —— 人气榜 ranking
   ============================================================ */

.content-media-inline {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--mist);
}

.ranking-tabs {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.tab-switcher {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.tab-trigger {
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-trigger.is-active {
  color: var(--text-deep);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel .section-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.tab-panel .section-desc {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
}

.rank-table th {
  padding: 12px 16px;
}

.rank-table td {
  padding: 12px 16px;
}

.rank-top .rank-num {
  font-size: 22px;
}

/* 编辑点评 */
.side-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.side-item:last-child {
  border-bottom: none;
}

.side-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 6px;
}

.side-item-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   pages —— 编辑专题 picks
   ============================================================ */

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pick-grid .section-title {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.pick-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pick-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pick-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pick-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-deep);
}

.pick-scene {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.pick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pick-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
}

.pick-audience {
  font-size: 13px;
  color: var(--text);
}

.pick-link {
  margin-top: auto;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.pick-link::after {
  content: " →";
}

/* 专题说明 */
.pick-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.pick-note .section-title {
  margin-bottom: 12px;
}

.pick-note p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* 相关入口 */
.related-links .section-title {
  margin-bottom: 16px;
}

.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.related-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 6px;
}

.related-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.related-link {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.related-link::after {
  content: " →";
}

/* ============================================================
   pages —— 阅读指南 guide
   ============================================================ */

/* 目标说明 */
.goal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.goal-box .section-title {
  margin-bottom: 12px;
}

.goal-text {
  font-size: 16px;
  color: var(--text-deep);
  font-weight: 500;
  margin-bottom: 8px;
}

.goal-condition {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* 四步流程 */
.steps-flow {
  margin-bottom: 32px;
}

.steps-flow .section-title {
  margin-bottom: 16px;
}

.flow-figure {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.flow-image {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.flow-caption {
  font-size: 13px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--mist);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.step-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 40px;
}

.step-content {
  min-width: 0;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* FAQ */
.faq {
  margin-bottom: 32px;
}

.faq .section-title {
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-deep);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  padding: 0 20px 16px;
}

.faq-answer a {
  color: var(--gold);
  margin-right: 12px;
}

.faq-answer a:hover {
  color: var(--text-deep);
}

/* 术语提示 */
.term-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.term-item {
  padding: 12px;
  background: var(--mist);
  border-radius: var(--radius-sm);
}

.term-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 4px;
}

.term-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   pages —— 版权与反馈 notice
   ============================================================ */

.copyright-section,
.feedback-flow,
.boundary-section {
  margin-bottom: 40px;
}

.copyright-section .section-title,
.feedback-flow .section-title,
.boundary-section .section-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-soft);
}

.copyright-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.copyright-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.copyright-content p:last-child {
  margin-bottom: 0;
}

.copyright-figure {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
}

.copyright-figure img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.copyright-figure figcaption {
  font-size: 13px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--mist);
}

/* 反馈流程 */
.feedback-flow .section-desc {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
}

.feedback-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-step {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feedback-step .step-number {
  font-size: 24px;
}

.feedback-step .step-content {
  min-width: 0;
}

.feedback-step .step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 6px;
}

.feedback-step .step-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.feedback-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* 内容边界 */
.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.boundary-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.boundary-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-deep);
  margin-bottom: 8px;
}

.boundary-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* 相关入口（notice 页） */
.related-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.related-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-deep);
}

.related-card-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   pages —— 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 300px);
  padding: 64px var(--gap);
}

.error-panel {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
}

.error-code {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-home-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--text-deep);
  color: var(--card);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
}

.error-home-link:hover {
  background: var(--gold);
  color: var(--card);
}

/* ============================================================
   responsive —— 响应式
   ============================================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-figure {
    max-width: 560px;
  }

  .update-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-block {
    grid-template-columns: 1fr;
  }

  .genre-figure {
    width: 100%;
    height: 180px;
  }

  .ranking-compare {
    grid-template-columns: 1fr;
  }

  .rank-side {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .boundary-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }

  /* 页头 */
  .site-header {
    height: 56px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    height: auto;
  }

  .nav-link {
    display: block;
    height: auto;
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-current::after {
    display: none;
  }

  .nav-link.is-current {
    background: var(--gold-soft);
    color: var(--gold);
  }

  /* 主内容 */
  .site-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .breadcrumb {
    padding-top: 12px;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 双栏变单栏 */
  .page-layout {
    display: block;
  }

  .main-column {
    min-width: 0;
    margin-bottom: 32px;
  }

  .side-panel {
    margin-top: 0;
  }

  /* 首页 hero */
  .hero {
    padding: 32px 16px 24px;
    display: block;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-figure {
    margin-bottom: 24px;
  }

  .genre-tags {
    gap: 8px;
    padding-top: 20px;
  }

  .genre-tag {
    font-size: 13px;
    padding: 6px 14px;
  }

  /* 首页区块 */
  .recent-updates,
  .editor-picks,
  .ranking-compare,
  .guide-notice {
    padding: 32px 16px;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .pick-grid {
    grid-template-columns: 1fr;
  }

  .ranking-compare {
    display: block;
  }

  .ranking-main {
    margin-bottom: 24px;
  }

  .tab-btn {
    padding: 10px 12px;
    font-size: 14px;
  }

  .ranking-table th,
  .ranking-table td,
  .rank-table th,
  .rank-table td {
    padding: 10px 8px;
    font-size: 13px;
  }

  .rank-num {
    font-size: 16px;
    width: 40px;
  }

  .guide-notice {
    grid-template-columns: 1fr;
  }

  .entry-card {
    padding: 20px;
  }

  /* 题材分类 */
  .genre-anchor {
    padding: 12px;
    gap: 8px;
  }

  .genre-anchor-item {
    font-size: 13px;
    padding: 5px 12px;
  }

  .genre-block {
    padding: 16px;
    gap: 16px;
  }

  .genre-figure {
    height: 160px;
  }

  /* 更新速递 */
  .week-summary {
    padding: 16px;
  }

  .summary-item {
    padding: 12px;
  }

  .update-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .update-thumb {
    width: 100%;
    height: 120px;
  }

  /* 人气榜 */
  .ranking-tabs {
    padding: 16px;
  }

  .tab-trigger {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* 阅读指南 */
  .goal-box {
    padding: 16px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .step-item {
    padding: 16px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  /* 版权与反馈 */
  .copyright-content {
    padding: 16px;
  }

  .feedback-step {
    padding: 16px;
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .related-cards {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 32px 16px 16px;
    gap: 24px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  /* 404 */
  .error-main {
    min-height: calc(100vh - 56px - 400px);
    padding: 40px 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-panel h1 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .notice-text {
    font-size: 13px;
    line-height: 1.6;
    padding: 0 12px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-more {
    font-size: 13px;
  }

  .genre-tags {
    gap: 6px;
  }

  .genre-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .update-meta {
    gap: 6px;
  }

  .update-meta .tag,
  .update-meta .status {
    font-size: 11px;
    padding: 3px 8px;
  }

  .update-meta .time {
    font-size: 11px;
  }

  .pick-body {
    padding: 16px;
  }

  .pick-title {
    font-size: 17px;
  }

  .boundary-item {
    padding: 16px;
  }

  .related-card {
    padding: 18px;
  }

  .rank-table th,
  .rank-table td {
    padding: 10px 6px;
    font-size: 12px;
  }

  .rank-table .rank-num {
    font-size: 15px;
    width: 32px;
  }

  .feedback-step {
    gap: 12px;
  }

  .feedback-step .step-number {
    font-size: 20px;
    min-width: 32px;
  }

  .term-item {
    padding: 10px;
  }
}

/* 动效增强：不影响初始可见性 */
@media (prefers-reduced-motion: no-preference) {
  .update-card,
  .pick-card,
  .entry-card,
  .genre-block {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-figure img {
    transition: transform 0.4s ease;
  }

  .hero-figure:hover img {
    transform: scale(1.02);
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .pick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
