/* ==========================================================================
  羞羞色漫18 · 全站样式表
  bvdvman.cn
  ========================================================================== */

/* ==========================================================================
  Base
  ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1558b0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.3;
  color: #333333;
}

p {
  margin: 0 0 1em;
}

figure {
  margin: 0;
}

/* ==========================================================================
  Layout
  ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #1a73e8;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 13px;
  color: #888888;
  line-height: 1.4;
  display: none;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #333333;
  border-radius: 4px;
  line-height: 1.4;
}

.nav-list a:hover {
  color: #1a73e8;
  background-color: #f0f4fb;
}

.nav-list a.is-current {
  color: #1a73e8;
  background-color: #e8f0fe;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  min-height: 60vh;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e8ecf1;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer-info {
  flex: 1 1 300px;
  max-width: 400px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #777777;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-link-group h3 {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.footer-link-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-group a {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}

.footer-link-group a:hover {
  color: #1a73e8;
}

.footer-bottom {
  border-top: 1px solid #f0f2f5;
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: #999999;
}

/* ==========================================================================
  面包屑
  ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #888888;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #1a73e8;
}

.breadcrumb a:hover {
  color: #1558b0;
}

.breadcrumb-sep {
  color: #bbbbbb;
}

.breadcrumb-current {
  color: #555555;
}

/* ==========================================================================
  Components
  ========================================================================== */

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ecf1;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 720px;
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background-color: #1a73e8;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn-primary:hover {
  background-color: #1558b0;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a73e8;
  background-color: #ffffff;
  border: 1px solid #1a73e8;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.btn-secondary:hover {
  background-color: #e8f0fe;
  color: #1558b0;
}

/* FAQ 折叠 */
.faq-item {
  border: 1px solid #e8ecf1;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #1a73e8;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 16px 16px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555555;
}

/* 相关链接 */
.related-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8ecf1;
}

.related-links h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.related-links p {
  font-size: 14px;
  color: #666666;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links li {
  margin-bottom: 4px;
}

.related-links a {
  font-size: 14px;
}

/* ==========================================================================
  首页模块
  ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* 首屏 */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #333333;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 通用区块标题 */
.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-header p {
  font-size: 14px;
  color: #777777;
  margin-bottom: 0;
}

.section-more {
  text-align: center;
  margin-top: 24px;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
  color: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 6px;
  min-height: 40px;
  transition: background-color 0.2s ease;
}

.section-more a:hover {
  background-color: #e8f0fe;
}

/* 题材分类导航 */
.category-nav-section {
  padding: 32px 0;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #e0e4ea;
  border-radius: 20px;
  transition: all 0.2s ease;
  min-height: 40px;
}

.tag-item:hover {
  color: #1a73e8;
  border-color: #1a73e8;
  background-color: #f0f4fb;
}

/* 最近更新 */
.updates-section {
  padding: 32px 0;
}

.update-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.update-group {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px;
}

.update-group h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.update-item {
  border-bottom: 1px solid #f5f7fa;
}

.update-item:last-child {
  border-bottom: none;
}

.update-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.update-item a:hover {
  color: #1a73e8;
}

.update-title {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.update-status {
  font-size: 12px;
  color: #ff8c00;
  background-color: #fff7ed;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 人气榜单预览 */
.ranking-preview-section {
  padding: 32px 0;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.ranking-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.ranking-num {
  font-size: 20px;
  font-weight: 600;
  color: #ff8c00;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.ranking-item img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ranking-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ranking-title {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
}

.ranking-reason {
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
}

/* 阅读指南入口 */
.guide-entry-section {
  padding: 32px 0;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-card {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  min-height: 40px;
}

.card-link:hover {
  color: #1558b0;
}

/* 更新公告摘要 */
.notice-summary-section {
  padding: 32px 0;
}

.notice-list {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
}

.notice-item {
  border-bottom: 1px solid #f0f2f5;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  transition: background-color 0.2s ease;
}

.notice-item a:hover {
  background-color: #f8fafc;
}

.notice-date {
  font-size: 13px;
  color: #999999;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-title {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

/* ==========================================================================
  内页通用
  ========================================================================== */

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* 分类页：侧栏 + 主内容 */
.sidebar-left {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  align-items: start;
}

.sidebar-panel {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 12px;
}

.sidebar-card a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
}

/* 分类页主内容 */
.page-categories .inner-main,
.inner-main {
  min-width: 0;
}

.category-section {
  margin-bottom: 40px;
}

.category-section h2,
.category-detail-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-card h3 {
  font-size: 16px;
  padding: 12px 16px 4px;
  margin: 0;
}

.category-card p {
  font-size: 13px;
  color: #777777;
  padding: 0 16px;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.category-card a {
  display: inline-flex;
  align-items: center;
  margin: 0 16px 16px;
  font-size: 13px;
  font-weight: 500;
  min-height: 36px;
}

.category-detail-section {
  margin-bottom: 32px;
}

.category-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.detail-item {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px;
}

.detail-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.detail-item p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
  阅读指南页
  ========================================================================== */

.guide-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  max-width: 720px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-step {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px;
}

.guide-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

.guide-visual {
  margin-bottom: 40px;
}

.guide-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #777777;
  text-align: center;
}

.guide-faq {
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
  人气榜单页
  ========================================================================== */

.ranking-section {
  margin-bottom: 40px;
}

.ranking-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-lead {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
  max-width: 720px;
}

.ranking-entry {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-entry:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.entry-cover {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.entry-info {
  flex: 1;
  min-width: 0;
}

.entry-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.entry-tags {
  font-size: 13px;
  color: #1a73e8;
  margin-bottom: 6px;
  line-height: 1.5;
}

.entry-reason {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.entry-info a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  min-height: 36px;
}

.ranking-notes {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px 24px;
}

.ranking-notes h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.ranking-notes p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ranking-notes p:last-child {
  margin-bottom: 0;
}

.ranking-notes a {
  font-size: 14px;
}

/* ==========================================================================
  追更技巧页
  ========================================================================== */

.tips-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 24px;
}

.tips-hero-media {
  border-radius: 8px;
  overflow: hidden;
}

.tips-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tips-hero-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.tips-hero-text p:last-child {
  margin-bottom: 0;
}

.tips-section {
  margin-bottom: 40px;
}

.tips-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8ecf1;
}

.tips-section > p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 720px;
}

.tips-section h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.tips-section h3:first-of-type {
  margin-top: 0;
}

.tips-faq {
  margin-bottom: 32px;
}

.tips-faq h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.tips-faq .faq-item {
  margin-bottom: 12px;
}

/* ==========================================================================
  更新公告页
  ========================================================================== */

.notice-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.module-block {
  min-width: 0;
}

.notice-list.module-block {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 20px;
}

.notice-list h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.notice-items {
  display: flex;
  flex-direction: column;
}

.notice-items .notice-item {
  border-bottom: 1px solid #f5f7fa;
}

.notice-items .notice-item:last-child {
  border-bottom: none;
}

.notice-items .notice-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
}

.notice-items .notice-date {
  font-size: 12px;
}

.notice-items .notice-title {
  font-size: 14px;
}

.notice-detail.module-block {
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 24px;
}

.notice-detail h2 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.notice-article {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f2f5;
}

.notice-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.notice-article h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.notice-meta {
  font-size: 13px;
  color: #999999;
  margin-bottom: 12px;
}

.notice-article p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.notice-article p:last-child {
  margin-bottom: 0;
}

.notice-article a {
  font-size: 14px;
}

.notice-figure {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
}

.notice-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.notice-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #777777;
  text-align: center;
}

/* ==========================================================================
  404 页面
  ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 20px;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 600;
  color: #1a73e8;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-tip {
  font-size: 13px;
  color: #999999;
  margin-bottom: 0;
}

/* ==========================================================================
  滚动渐显动画（增强，不影响初始可见性）
  ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
  响应式
  ========================================================================== */

@media (min-width: 769px) {
  .brand-slogan {
    display: inline;
  }
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-detail-content {
    grid-template-columns: 1fr 1fr;
  }

  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-step:last-child {
    grid-column: 1 / -1;
  }

  .notice-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8ecf1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    align-items: stretch;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 8px;
    border-radius: 4px;
    font-size: 15px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .update-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px 40px;
  }

  .sidebar-panel {
    position: static;
    order: 2;
  }

  .page-categories .inner-main {
    order: 1;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category-detail-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-step:last-child {
    grid-column: auto;
  }

  .tips-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .notice-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ranking-entry {
    flex-direction: column;
    gap: 12px;
  }

  .entry-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 200px;
  }

  .page-title {
    font-size: 24px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .brand-slogan {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .notice-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
