/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #F7F7F7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: #FF6B35;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e0551f;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.3;
  color: #333333;
}

h1 {
  font-size: 32px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

h4 {
  font-size: 16px;
  font-weight: 700;
}

p {
  margin-bottom: 0.5rem;
}

time {
  color: #999999;
  font-size: 14px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #eeeeee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #eeeeee;
  margin-top: auto;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 24px;
}

/* ============================================================
   COMPONENTS
   ============================================================ */
/* ---------- 品牌 Logo ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #FF6B35;
  display: inline-block;
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background-color: #2EC4B6;
}

.brand-logo {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}

.brand-logo:hover {
  color: #FF6B35;
}

/* ---------- 导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  color: #333333;
  font-size: 15px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #FFF0E8;
  color: #FF6B35;
}

.nav-list li a.is-current {
  background-color: #FF6B35;
  color: #FFFFFF;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 14px;
  color: #999999;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #999999;
}

.breadcrumb a:hover {
  color: #FF6B35;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #cccccc;
}

.breadcrumb-current {
  color: #333333;
}

/* ---------- 页面标题区 ---------- */
.page-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #FF6B35;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.page-description {
  color: #666666;
  font-size: 15px;
  max-width: 720px;
}

/* ---------- 通用标题 ---------- */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.section-desc {
  color: #666666;
  font-size: 15px;
  margin-bottom: 16px;
}

.section-intro {
  color: #666666;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ---------- 页脚 ---------- */
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.footer-nav {
  margin-bottom: 12px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav ul li a {
  color: #666666;
  font-size: 14px;
}

.footer-nav ul li a:hover {
  color: #FF6B35;
}

.copyright {
  color: #999999;
  font-size: 13px;
  margin-top: 16px;
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
}

/* ---------- 图片约束 ---------- */
figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: #999999;
  text-align: center;
  margin-top: 8px;
}

/* ---------- 详情折叠 ---------- */
details.faq-item {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background-color: #FFFFFF;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #333333;
  outline: none;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: #FF6B35;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin-top: 12px;
  color: #666666;
  font-size: 15px;
}

/* ============================================================
   PAGES
   ============================================================ */
/* ---------- 首页 ---------- */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* 首屏 */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-lead {
  color: #666666;
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-cta {
  display: inline-block;
  background-color: #FF6B35;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background-color: #e0551f;
  color: #FFFFFF;
}

.hero-figure {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 题材分类导航带 */
.category-strip {
  padding: 32px 0;
  border-top: 1px solid #eeeeee;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tags li a {
  display: inline-block;
  background-color: #FFFFFF;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 10px 20px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.category-tags li a:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  background-color: #FFF0E8;
}

/* 最近更新预览 */
.updates-preview {
  padding: 32px 0;
  border-top: 1px solid #eeeeee;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading-row .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 14px;
  color: #FF6B35;
  font-weight: 700;
}

.section-link:hover {
  color: #e0551f;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.update-item img {
  width: 72px;
  height: 96px;
  border-radius: 6px;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.update-info h3 a {
  color: #333333;
}

.update-info h3 a:hover {
  color: #FF6B35;
}

.update-chapter {
  display: block;
  color: #2EC4B6;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.update-date {
  font-size: 13px;
  color: #999999;
}

/* 人气榜单预览 */
.rankings-preview {
  padding: 32px 0;
  border-top: 1px solid #eeeeee;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: flex;
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex: 1;
  min-width: 0;
}

.rank-number {
  font-size: 28px;
  font-weight: 700;
  color: #FF6B35;
  width: 40px;
  flex-shrink: 0;
  text-align: center;
}

.rank-card img {
  width: 56px;
  height: 72px;
  border-radius: 6px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.rank-reason {
  color: #666666;
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 阅读指南入口 */
.guide-entry {
  padding: 32px 0;
  border-top: 1px solid #eeeeee;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-top: 3px solid #2EC4B6;
}

.guide-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-card h3 a {
  color: #333333;
}

.guide-card h3 a:hover {
  color: #FF6B35;
}

.guide-card p {
  color: #666666;
  font-size: 15px;
  margin: 0;
}

/* 版权与反馈说明 */
.notice-section {
  padding: 24px 0;
  border-top: 1px solid #eeeeee;
}

.notice-section p {
  color: #666666;
  font-size: 14px;
  max-width: 800px;
}

/* ---------- 题材分类页 ---------- */
.layout-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left .category-aside {
  grid-column: 1;
  grid-row: 1;
}

.sidebar-left .category-content {
  grid-column: 2;
  grid-row: 1;
}

.category-aside {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 84px;
}

.category-aside h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FF6B35;
}

.category-index {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.category-index li a {
  display: block;
  padding: 8px 12px;
  color: #333333;
  border-radius: 6px;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-index li a:hover {
  background-color: #FFF0E8;
  color: #FF6B35;
}

.aside-note {
  background-color: #F7F7F7;
  border-radius: 8px;
  padding: 16px;
}

.aside-note p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 8px;
}

.aside-link {
  color: #FF6B35;
  font-size: 14px;
  font-weight: 700;
}

.category-list {
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.category-card img {
  width: 100%;
  height: 160px;
}

.category-card h3 {
  padding: 16px 16px 4px;
  font-size: 17px;
}

.category-card h3 a {
  color: #333333;
}

.category-card h3 a:hover {
  color: #FF6B35;
}

.category-card p {
  padding: 0 16px;
  color: #666666;
  font-size: 14px;
}

.category-card .card-example {
  color: #2EC4B6;
  font-size: 13px;
  font-weight: 700;
}

.category-card a {
  display: inline-block;
  margin: 8px 16px 16px;
  font-size: 14px;
  font-weight: 700;
}

.category-detail {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.detail-block {
  background-color: #F7F7F7;
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid #2EC4B6;
}

.detail-block h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.detail-block p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.detail-note {
  margin-top: 16px;
  color: #999999;
  font-size: 13px;
}

/* ---------- 最近更新页 ---------- */
.update-group {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.update-group h3 {
  font-size: 18px;
  color: #FF6B35;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 16px;
}

.update-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-thumb {
  width: 64px;
  height: 84px;
  border-radius: 6px;
  flex-shrink: 0;
}

.update-info h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.update-info h4 a {
  color: #333333;
}

.update-info h4 a:hover {
  color: #FF6B35;
}

.update-info p {
  color: #2EC4B6;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.update-meta {
  color: #999999;
  font-size: 13px;
}

.date-note {
  background-color: #FFF0E8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.date-note h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.date-note p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.date-note a {
  font-weight: 700;
}

.related-links {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-links h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FF6B35;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.related-links ul li a {
  color: #333333;
  font-size: 15px;
}

.related-links ul li a:hover {
  color: #FF6B35;
}

/* ---------- 人气榜单页 ---------- */
.ranking-section {
  margin-bottom: 40px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ranking-item img {
  width: 64px;
  height: 84px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.ranking-no {
  font-size: 24px;
  font-weight: 700;
  color: #FF6B35;
  flex-shrink: 0;
}

.ranking-head h3 {
  font-size: 17px;
  flex: 1;
  min-width: 0;
}

.tag {
  display: inline-block;
  background-color: #E8F7F5;
  color: #2EC4B6;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 10px;
  flex-shrink: 0;
}

.ranking-reason {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.recommend-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.reason-card {
  background-color: #F7F7F7;
  border-radius: 8px;
  padding: 16px;
}

.reason-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #2EC4B6;
}

.reason-card p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.reason-note {
  margin-top: 16px;
  color: #666666;
  font-size: 14px;
}

.reason-note a {
  font-weight: 700;
}

.related-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-links a {
  color: #333333;
  font-size: 14px;
}

.related-links a:hover {
  color: #FF6B35;
}

/* ---------- 阅读指南页 ---------- */
.guide-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-step-card {
  background-color: #F7F7F7;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: left;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #FF6B35;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-step-card p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 12px;
}

.guide-step-card a {
  font-size: 14px;
  font-weight: 700;
}

.page-guide .faq-list {
  margin-top: 16px;
}

.related-title {
  font-size: 20px;
  margin-bottom: 16px;
}

/* ---------- 追更技巧页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.content-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-item {
  background-color: #F7F7F7;
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid #FF6B35;
}

.method-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.method-item p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.content-media-inline {
  margin: 16px 0;
}

.content-media-inline img {
  width: 100%;
  height: 240px;
  border-radius: 8px;
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
}

.aside-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.aside-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FF6B35;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links li a {
  color: #333333;
  font-size: 14px;
  display: block;
  padding: 6px 0;
}

.aside-links li a:hover {
  color: #FF6B35;
}

/* ---------- 404 页 ---------- */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  width: 100%;
}

.error-panel {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  color: #666666;
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.error-home {
  display: inline-block;
  background-color: #FF6B35;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.error-home:hover {
  background-color: #e0551f;
  color: #FFFFFF;
}

.error-suggest {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.error-suggest h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.error-suggest ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.error-suggest ul li a {
  color: #333333;
}

.error-suggest ul li a:hover {
  color: #FF6B35;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    gap: 24px;
  }

  .hero-figure {
    height: 280px;
  }
}

@media (max-width: 768px) {
  /* 导航 */
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .site-header {
    position: relative;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    padding: 32px 0 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-figure {
    height: 220px;
    order: -1;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  /* 内页 */
  .inner-main {
    padding: 16px 16px 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-left .category-aside {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }

  .sidebar-left .category-content {
    grid-column: 1;
    grid-row: 1;
  }

  .category-aside {
    position: static;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .aside-card {
    flex: 1;
    min-width: 200px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .guide-steps-grid {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    flex-wrap: wrap;
  }

  .ranking-head {
    flex-wrap: wrap;
  }

  .ranking-head .tag {
    margin-left: 0;
  }

  .ranking-head h3 {
    flex-basis: calc(100% - 60px);
  }
}

@media (max-width: 480px) {
  .header-shell {
    padding: 0 16px;
  }

  .brand-logo {
    font-size: 16px;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-figure {
    height: 180px;
  }

  .update-item {
    padding: 10px 12px;
  }

  .update-item img {
    width: 56px;
    height: 76px;
  }

  .rank-card {
    padding: 10px 12px;
  }

  .rank-card img {
    width: 48px;
    height: 64px;
  }

  .rank-number {
    font-size: 22px;
    width: 32px;
  }

  .ranking-item {
    padding: 12px;
  }

  .ranking-item img {
    width: 52px;
    height: 68px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-panel {
    padding: 32px 16px;
  }

  .content-media-inline img {
    height: 180px;
  }
}
