/* ==========================================================================
   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: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0f3460;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e94560;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

strong {
  font-weight: 700;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-header {
  background-color: #1a1a2e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.brand-link:hover {
  color: #e94560;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-list a.is-current {
  color: #ffffff;
  font-weight: 700;
  background-color: #e94560;
}

.nav-list a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
}

.nav-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.nav-toggle .toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle .toggle-bar::before,
.nav-toggle .toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

.nav-toggle .toggle-bar::before {
  top: -7px;
}

.nav-toggle .toggle-bar::after {
  bottom: -7px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  background-color: #1a1a2e;
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-site-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand .footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav-list li {
  margin-bottom: 8px;
}

.footer-nav-list a,
.footer-info-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-info-list a:hover {
  color: #e94560;
}

.footer-info-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 8px;
}

.footer-copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ==========================================================================
   components
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: #666666;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #0f3460;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb-sep {
  color: #aaaaaa;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #666666;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  max-width: 860px;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 860px;
}

/* 章节小标题 */
.section-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

/* 标签 */
.tag,
.tag-link,
.category-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background-color: #ffffff;
  color: #0f3460;
  border: 1px solid #d0d5e0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag:hover,
.tag-link:hover,
.category-tag:hover {
  background-color: #e94560;
  border-color: #e94560;
  color: #ffffff;
}

/* 更新列表项 */
.update-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.update-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.update-item img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.4;
}

.update-meta {
  font-size: 14px;
  color: #888888;
  margin-bottom: 6px;
}

.update-date {
  font-size: 13px;
  color: #e94560;
  font-weight: 500;
}

/* 榜单条目 */
.rank-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s ease;
  position: relative;
}

.rank-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rank-number {
  font-size: 28px;
  font-weight: 700;
  color: #e94560;
  min-width: 48px;
  text-align: center;
  font-style: italic;
}

.rank-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.rank-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 更多链接 */
.more-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #e94560;
  padding: 8px 0;
}

.more-link:hover {
  color: #1a1a2e;
}

/* 相关链接 */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.related-list li {
  margin-bottom: 10px;
}

.related-list a {
  font-size: 15px;
  color: #0f3460;
  border-bottom: 1px solid #d0d5e0;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.related-list a:hover {
  color: #e94560;
  border-color: #e94560;
}

/* FAQ */
.faq-item {
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #e94560;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

/* 图文容器 */
.guide-figure,
.category-figure,
.rank-cover,
.hero-figure {
  margin: 0;
}

.guide-figure img,
.category-figure img,
.rank-cover img,
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-figure figcaption,
.category-figure figcaption,
.hero-figure figcaption {
  font-size: 13px;
  color: #888888;
  text-align: center;
  padding: 8px 0 0;
  line-height: 1.5;
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
  margin-top: 8px;
}

.text-link:hover {
  color: #1a1a2e;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- 首页 ---------- */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.stat-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e0e4ea;
}

.stat-item strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #e94560;
  line-height: 1.2;
}

.stat-item span {
  display: block;
  font-size: 13px;
  color: #888888;
  margin-top: 4px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

/* 题材分类导航带 */
.categories-nav-section {
  padding: 40px 0;
  border-top: 1px solid #e0e4ea;
}

.category-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tag {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d0d5e0;
}

/* 最近更新列表 */
.recent-list-section {
  padding: 40px 0;
  border-top: 1px solid #e0e4ea;
}

.recent-update-list {
  display: grid;
  gap: 12px;
}

/* 人气榜单预览 */
.rank-preview-section {
  padding: 40px 0;
  border-top: 1px solid #e0e4ea;
}

.rank-preview-list {
  display: grid;
  gap: 12px;
}

/* 指南入口 */
.guide-entry-section {
  padding: 40px 0 56px;
  border-top: 1px solid #e0e4ea;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #e0e4ea;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.guide-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}

.guide-card-text {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  flex: 1;
}

.card-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #e94560;
}

.card-link:hover {
  color: #1a1a2e;
}

/* ---------- 内页通用 ---------- */

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ---------- 分类页 ---------- */

.category-list {
  padding: 24px 0 8px;
}

.category-items {
  display: grid;
  gap: 16px;
}

.category-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  align-items: center;
  border: 1px solid #e0e4ea;
}

.category-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.category-item p {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
}

.category-figure {
  border-radius: 6px;
  overflow: hidden;
}

.category-figure img {
  aspect-ratio: 3 / 4;
}

.category-figure figcaption {
  font-size: 13px;
  color: #888888;
  text-align: center;
  padding-top: 6px;
}

.example-grid {
  padding: 32px 0 8px;
}

.example-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.example-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e0e4ea;
  transition: box-shadow 0.2s ease;
}

.example-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.example-item a {
  display: block;
}

.example-item a img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.example-item a h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

.example-item p {
  font-size: 13px;
  color: #888888;
  margin-top: 6px;
}

/* ---------- 阅读指南页 ---------- */

.executive-summary {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  border-left: 4px solid #e94560;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: center;
}

.executive-summary p {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
}

.executive-summary img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.toc {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e0e4ea;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.toc-list li {
  padding: 6px 0;
}

.toc-list a {
  font-size: 15px;
  color: #0f3460;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #e94560;
  border-radius: 50%;
  flex-shrink: 0;
}

.toc-list a:hover {
  color: #e94560;
}

.content-sections {
  display: grid;
  gap: 24px;
}

.guide-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e0e4ea;
}

.guide-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 12px;
}

.guide-section p:last-child {
  margin-bottom: 0;
}

.guide-section strong {
  color: #1a1a2e;
  font-weight: 600;
}

.guide-section .guide-figure {
  margin-top: 16px;
}

.guide-section .guide-figure img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

/* ---------- 最近更新页 ---------- */

.recent-section {
  padding: 24px 0 8px;
}

.recent-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.recent-section .update-item {
  margin-bottom: 12px;
}

.update-media {
  flex-shrink: 0;
}

.update-media img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
}

.update-status {
  margin-top: 4px;
}

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #e94560;
  background-color: rgba(233, 69, 96, 0.1);
  border-radius: 4px;
}

/* ---------- 人气榜单页 ---------- */

.rank-section {
  padding: 24px 0 8px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-list .rank-item {
  display: grid;
  grid-template-columns: 56px 80px 1fr;
  align-items: center;
}

.rank-list .rank-number {
  font-size: 32px;
  min-width: auto;
}

.rank-cover {
  width: 80px;
  height: 108px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.rank-tags .tag {
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 4px;
}

.editor-picks {
  padding: 32px 0 8px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pick-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e0e4ea;
}

.pick-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.pick-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.rank-related {
  padding-top: 32px;
}

/* ---------- 追更技巧页 ---------- */

.method-steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.step-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e0e4ea;
  position: relative;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  padding-left: 40px;
  position: relative;
}

.step-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background-color: #e94560;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card:nth-child(2) h3::before {
  content: "1";
}

.step-card:nth-child(3) h3::before {
  content: "2";
}

.step-card:nth-child(4) h3::before {
  content: "3";
}

.step-card:nth-child(5) h3::before {
  content: "4";
}

.step-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 10px;
}

.step-card p:last-child {
  margin-bottom: 0;
}

/* ---------- 404 页 ---------- */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-section {
  text-align: center;
  max-width: 560px;
  padding: 48px 32px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e4ea;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #e94560;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-back-home,
.btn-browse-categories {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-back-home {
  background-color: #e94560;
  color: #ffffff;
}

.btn-back-home:hover {
  background-color: #d63a52;
  color: #ffffff;
}

.btn-browse-categories {
  background-color: #f5f5f5;
  color: #0f3460;
  border: 1px solid #d0d5e0;
}

.btn-browse-categories:hover {
  background-color: #e94560;
  border-color: #e94560;
  color: #ffffff;
}

.error-tip {
  font-size: 13px;
  color: #999999;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure {
    max-width: 480px;
  }

  .executive-summary {
    grid-template-columns: 1fr;
  }

  .executive-summary img {
    max-width: 320px;
  }

  .example-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-item {
    grid-template-columns: 1fr 140px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #1a1a2e;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 6px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-copyright {
    grid-column: 1;
  }

  .site-main {
    padding: 0;
  }

  .home-main {
    padding: 0 16px;
  }

  .inner-main {
    padding: 0 16px 32px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-header {
    padding: 20px 16px 4px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-section {
    padding: 24px 0;
    gap: 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat-item {
    padding: 12px 8px;
  }

  .stat-item strong {
    font-size: 20px;
  }

  .stat-item span {
    font-size: 12px;
  }

  .hero-tags {
    gap: 8px;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .category-items {
    gap: 12px;
  }

  .category-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-figure {
    max-width: 160px;
  }

  .example-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .picks-grid {
    grid-template-columns: 1fr;
  }

  .rank-list .rank-item {
    grid-template-columns: 40px 64px 1fr;
    gap: 12px;
  }

  .rank-number {
    font-size: 24px;
  }

  .rank-cover {
    width: 64px;
    height: 88px;
  }

  .update-item {
    gap: 12px;
  }

  .update-item img {
    width: 80px;
    height: 108px;
  }

  .update-media img {
    width: 80px;
    height: 108px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-back-home,
  .btn-browse-categories {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:last-child {
    grid-column: 1 / -1;
  }

  .example-items {
    grid-template-columns: 1fr;
  }

  .category-tag {
    padding: 8px 14px;
    font-size: 14px;
  }

  .rank-list .rank-item {
    grid-template-columns: 32px 56px 1fr;
    gap: 10px;
  }

  .rank-number {
    font-size: 20px;
  }

  .rank-cover {
    width: 56px;
    height: 76px;
  }

  .update-item {
    flex-direction: column;
  }

  .update-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-width: 120px;
  }

  .update-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-width: 120px;
  }

  .guide-card {
    padding: 20px;
  }

  .executive-summary {
    padding: 20px;
  }

  .step-card {
    padding: 20px;
  }

  .step-card h3 {
    padding-left: 36px;
  }

  .step-card h3::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}
