/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2B2B2B;
  background-color: #F5F2ED;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2B2B2B;
  text-decoration: none;
}

a:hover {
  color: #E8590C;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

details summary {
  cursor: pointer;
}

.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-header {
  background-color: #FFFFFF;
  border-bottom: 3px solid #2B2B2B;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: #2B2B2B;
}

.brand-slogan {
  font-size: 13px;
  color: #E8590C;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-list a:hover {
  color: #E8590C;
  border-bottom-color: #E8590C;
}

.nav-list a.is-current {
  color: #E8590C;
  border-bottom-color: #E8590C;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #2B2B2B;
  content: "";
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -8px;
  left: 0;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 8px;
  left: 0;
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6B6B6B;
  margin-bottom: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #D9D9D9;
}

.breadcrumb a {
  color: #6B6B6B;
}

.breadcrumb a:hover {
  color: #E8590C;
}

.breadcrumb-sep {
  color: #A8A8A8;
}

.breadcrumb-current {
  color: #2B2B2B;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid #2B2B2B;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #555555;
  max-width: 720px;
}

.site-footer {
  background-color: #FFFFFF;
  border-top: 3px solid #2B2B2B;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.footer-name {
  font-size: 20px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav a {
  font-size: 14px;
  color: #555555;
}

.footer-nav a:hover {
  color: #E8590C;
}

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid #D9D9D9;
  padding-top: 16px;
  margin-top: 8px;
}

.footer-meta p {
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
}

/* ==========================================================================
   components
   ========================================================================== */

/* 按钮 */

.btn-primary,
.btn-secondary {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  min-height: 44px;
  line-height: 1.4;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background-color: #E8590C;
  color: #FFFFFF;
  border: 2px solid #E8590C;
}

.btn-primary:hover {
  background-color: #D04E08;
  border-color: #D04E08;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: #2B2B2B;
  border: 2px solid #2B2B2B;
}

.btn-secondary:hover {
  background-color: #2B2B2B;
  color: #FFFFFF;
}

.btn-back {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  min-height: 44px;
  line-height: 1.4;
  border-radius: 4px;
  background-color: #E8590C;
  color: #FFFFFF;
  border: 2px solid #E8590C;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-back:hover {
  background-color: #D04E08;
  border-color: #D04E08;
  color: #FFFFFF;
}

/* 区块标题 */

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
}

.section-desc {
  font-size: 15px;
  color: #555555;
  margin-top: 6px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2B2B2B;
}

.section-link {
  font-size: 14px;
  font-weight: 500;
  color: #E8590C;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

/* 首页 hero */

.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #2B2B2B;
  line-height: 1.25;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #555555;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 520px;
  border: 3px solid #2B2B2B;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFFFF;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: #555555;
  background-color: #FFFFFF;
  border-top: 2px solid #D9D9D9;
}

/* 首页分类导航带 */

.category-nav-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 3px solid #2B2B2B;
}

.category-nav-section .section-title {
  margin-bottom: 8px;
}

.category-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.category-pill {
  display: inline-block;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  background-color: #FFFFFF;
  border: 2px solid #2B2B2B;
  border-radius: 4px;
  color: #2B2B2B;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.category-pill:hover {
  background-color: #E8590C;
  border-color: #E8590C;
  color: #FFFFFF;
}

/* 首页最近更新预览 */

.recent-updates-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 3px solid #2B2B2B;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.update-item {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.update-item:hover {
  border-color: #2B2B2B;
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
}

.update-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.update-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #D9D9D9;
}

.update-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.update-title {
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  line-height: 1.4;
}

.update-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  color: #E8590C;
  background-color: #F5F2ED;
  border: 1px solid #E8590C;
  border-radius: 3px;
  padding: 2px 8px;
}

.update-time {
  font-size: 13px;
  color: #888888;
  margin-top: auto;
}

/* 首页人气榜单预览 */

.ranking-preview-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 3px solid #2B2B2B;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}

.ranking-item:hover {
  border-color: #2B2B2B;
}

.ranking-number {
  font-size: 32px;
  font-weight: 700;
  color: #E8590C;
  line-height: 1;
  min-width: 40px;
  flex-shrink: 0;
}

.ranking-content {
  flex: 1;
}

.ranking-title {
  font-size: 17px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 6px;
}

.ranking-reason {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

/* 首页指南与解析入口 */

.guide-analysis-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 3px solid #2B2B2B;
}

.guide-analysis-entry .section-title {
  margin-bottom: 20px;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entry-card {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.entry-card:hover {
  border-color: #2B2B2B;
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
}

.entry-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.entry-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #D9D9D9;
}

.entry-body {
  padding: 18px;
  flex: 1;
}

.entry-title {
  font-size: 18px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.entry-text {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

/* 题材分类页 */

.layout-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left .layout-shell {
  grid-template-columns: 260px 1fr;
}

.sidebar-left .layout-shell .category-index {
  order: 0;
}

.sidebar-left .layout-shell .category-detail {
  order: 1;
}

.layout-shell .category-index {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.layout-shell .category-index h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  padding-bottom: 10px;
  border-bottom: 2px solid #2B2B2B;
  margin-bottom: 14px;
}

.index-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-list a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #2B2B2B;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.index-list a:hover {
  color: #E8590C;
  border-left-color: #E8590C;
  background-color: #F5F2ED;
}

.category-detail {
  min-width: 0;
}

.category-description {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.category-description > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 10px;
}

.category-description > p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
}

.genre-item {
  padding: 20px 0;
  border-bottom: 1px solid #D9D9D9;
}

.genre-item:last-child {
  border-bottom: none;
}

.genre-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.genre-item p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.genre-figure {
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
}

.genre-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.genre-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #555555;
  background-color: #F5F2ED;
  border-top: 1px solid #D9D9D9;
}

.genre-note {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 24px;
}

.genre-note h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 10px;
}

.genre-note p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.genre-note a {
  color: #E8590C;
  font-weight: 500;
}

.genre-note a:hover {
  text-decoration: underline;
}

/* 阅读指南页 */

.guide-section {
  margin-bottom: 40px;
}

.guide-section > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2B2B2B;
}

.section-lead {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.guide-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-step {
  display: flex;
  gap: 16px;
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
}

.guide-step .step-number {
  font-size: 28px;
  font-weight: 700;
  color: #E8590C;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.guide-step .step-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 6px;
}

.guide-step .step-body p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.guide-step .step-body a {
  color: #E8590C;
}

.guide-step .step-body a:hover {
  text-decoration: underline;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
}

.tip-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.guide-figure {
  margin: 32px 0;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: #555555;
  background-color: #F5F2ED;
  border-top: 1px solid #D9D9D9;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #E8590C;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
}

/* 最近更新页 */

.update-section {
  margin-bottom: 40px;
}

.update-section > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2B2B2B;
}

.section-intro {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.update-section .update-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  margin-bottom: 16px;
}

.update-section .update-cover {
  width: 160px;
  flex-shrink: 0;
}

.update-section .update-cover img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border: 2px solid #D9D9D9;
  border-radius: 4px;
}

.update-section .update-info {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.update-section .update-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2B2B2B;
}

.update-section .update-info h3 a {
  color: #2B2B2B;
}

.update-section .update-info h3 a:hover {
  color: #E8590C;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #888888;
}

.update-meta .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #E8590C;
  background-color: #F5F2ED;
  border: 1px solid #E8590C;
  border-radius: 3px;
  padding: 2px 8px;
}

.update-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.update-tip {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
  margin-top: 32px;
}

.update-tip h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.update-tip p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.update-tip a {
  color: #E8590C;
  font-weight: 500;
}

.update-tip a:hover {
  text-decoration: underline;
}

/* 人气榜单页 */

.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.ranking-section {
  margin-bottom: 40px;
}

.ranking-section .section-title {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2B2B2B;
}

.ranking-section .ranking-list {
  counter-reset: rank;
}

.ranking-section .ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.ranking-section .rank-number {
  font-size: 28px;
  font-weight: 700;
  color: #E8590C;
  line-height: 1;
  min-width: 36px;
  flex-shrink: 0;
  text-align: center;
}

.rank-media {
  width: 120px;
  flex-shrink: 0;
}

.rank-media img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #D9D9D9;
  border-radius: 4px;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 4px;
}

.rank-tags {
  font-size: 13px;
  color: #E8590C;
  margin-bottom: 4px;
}

.rank-reason {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.content-side {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.side-module {
  margin-bottom: 24px;
}

.side-module:last-child {
  margin-bottom: 0;
}

.side-title {
  font-size: 17px;
  font-weight: 700;
  color: #2B2B2B;
  padding-bottom: 8px;
  border-bottom: 2px solid #2B2B2B;
  margin-bottom: 12px;
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-links a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #2B2B2B;
  border-bottom: 1px solid #F0EDE8;
}

.side-links a:hover {
  color: #E8590C;
}

/* 作品解析页 */

.analysis-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.analysis-article {
  max-width: 780px;
  min-width: 0;
}

.analysis-section {
  margin-bottom: 40px;
}

.analysis-section > h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2B2B2B;
}

.analysis-section > p {
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.analysis-figure {
  margin: 20px 0;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
}

.analysis-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.analysis-figure figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: #555555;
  background-color: #F5F2ED;
  border-top: 1px solid #D9D9D9;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.character-card {
  background-color: #FFFFFF;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  padding: 16px;
}

.character-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid #E8590C;
  display: inline-block;
}

.character-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-top: 8px;
}

.analysis-section > p a {
  color: #E8590C;
  font-weight: 500;
}

.analysis-section > p a:hover {
  text-decoration: underline;
}

/* 404 页 */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #E8590C;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* 首页 body 不需要额外样式，内页统一样式由 .site-inner 控制 */

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-side {
    position: static;
    order: 2;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-left .layout-shell .category-index {
    position: static;
    order: 0;
  }

  .sidebar-left .layout-shell .category-detail {
    order: 1;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    order: 2;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-top: 2px solid #2B2B2B;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid #F0EDE8;
    border-left: 3px solid transparent;
  }

  .nav-list a:hover {
    border-left-color: #E8590C;
  }

  .nav-list a.is-current {
    border-left-color: #E8590C;
  }

  .hero-section {
    padding: 32px 16px 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .category-nav-section,
  .recent-updates-section,
  .ranking-preview-section,
  .guide-analysis-entry {
    padding: 32px 16px;
  }

  .update-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .character-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-section .update-item {
    flex-direction: column;
    gap: 12px;
  }

  .update-section .update-cover,
  .update-section .update-cover img {
    width: 100%;
    height: 160px;
  }

  .ranking-section .ranking-item {
    flex-wrap: wrap;
  }

  .rank-media,
  .rank-media img {
    width: 100%;
    height: 160px;
  }

  .rank-info {
    width: 100%;
    flex-basis: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-meta {
    grid-column: 1;
  }

  .inner-main {
    padding: 16px 16px 48px;
  }

  .page-title {
    font-size: 24px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-content {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 390px) {
  .brand-slogan {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .category-pill {
    padding: 8px 14px;
    font-size: 14px;
  }

  .ranking-item {
    flex-direction: column;
    gap: 12px;
  }

  .ranking-number {
    font-size: 24px;
  }

  .update-section .update-cover,
  .update-section .update-cover img {
    height: 140px;
  }

  .rank-media,
  .rank-media img {
    height: 140px;
  }

  .guide-step {
    flex-direction: column;
    gap: 10px;
  }

  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 14px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 8px;
  }
}
