/* ==========================================================================
   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: #2c3e50;
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #217dbb;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: #2c3e50;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-inner {
  flex: 1;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 24px;
  padding-bottom: 56px;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---------- header ---------- */

.site-header {
  background-color: #2c3e50;
  border-bottom: 3px solid #3498db;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 8px 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ecf0f1;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: rgba(236, 240, 241, 0.7);
  margin-top: 2px;
}

.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.site-nav .nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: rgba(236, 240, 241, 0.85);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-list a.is-current {
  color: #fff;
  font-weight: 600;
  background-color: #3498db;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(236, 240, 241, 0.4);
  border-radius: 4px;
  color: #ecf0f1;
}

.nav-toggle-icon {
  width: 18px;
  height: 14px;
  position: relative;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after,
.nav-toggle-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ecf0f1;
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon span {
  top: 6px;
}

.nav-toggle-icon::after {
  top: 12px;
}

.nav-toggle-text {
  font-size: 14px;
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #3498db;
}

.breadcrumb a:hover {
  color: #217dbb;
}

.breadcrumb-sep {
  color: #bdc3c7;
}

.breadcrumb-current {
  color: #7f8c8d;
}

/* ---------- page header ---------- */

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #ecf0f1;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 760px;
}

/* ---------- section title ---------- */

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #3498db;
}

.section-desc,
.section-intro,
.section-description {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 16px;
  max-width: 780px;
}

/* ---------- buttons ---------- */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #3498db;
  color: #fff;
}

.btn-primary:hover {
  background-color: #2980b9;
  color: #fff;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background-color: #ecf0f1;
  color: #2c3e50;
}

.btn-secondary:hover {
  background-color: #dfe6e9;
  color: #2c3e50;
}

/* ---------- footer ---------- */

.site-footer {
  background-color: #2c3e50;
  color: rgba(236, 240, 241, 0.8);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ecf0f1;
  display: block;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(236, 240, 241, 0.6);
  max-width: 420px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ecf0f1;
  margin-bottom: 12px;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(236, 240, 241, 0.6);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 240, 241, 0.15);
  padding-top: 16px;
  font-size: 13px;
  color: rgba(236, 240, 241, 0.5);
  text-align: center;
}

/* ---------- related links ---------- */

.related-links,
.ranking-related-links {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 24px;
}

.related-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
}

.related-list li {
  margin-bottom: 10px;
}

.related-list a {
  font-size: 14px;
  color: #3498db;
  line-height: 1.5;
  display: inline-block;
}

.related-list a:hover {
  color: #217dbb;
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- homepage: featured ---------- */

.featured-module {
  background-color: #fff;
  border-bottom: 1px solid #ecf0f1;
  padding: 48px 0;
  margin: 0 -24px 48px;
  padding-left: 24px;
  padding-right: 24px;
}

.featured-module .section-title {
  font-size: 28px;
  margin-bottom: 24px;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}

.featured-desc {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.7;
}

.featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-media {
  display: flex;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ---------- homepage: categories nav ---------- */

.categories-nav-module {
  margin-bottom: 48px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.tag-item {
  display: inline-block;
  padding: 8px 20px;
  font-size: 15px;
  color: #2c3e50;
  background-color: #fff;
  border: 1px solid #dce1e6;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tag-item:hover {
  border-color: #3498db;
  color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.12);
}

/* ---------- homepage: recent updates ---------- */

.recent-updates-module {
  margin-bottom: 48px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.update-item {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.update-item:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
  transform: translateY(-2px);
}

.update-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.update-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-status {
  font-size: 12px;
  color: #2ecc71;
  background-color: rgba(46, 204, 113, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  align-self: flex-start;
  font-weight: 500;
}

.update-excerpt {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.read-link {
  font-size: 13px;
  font-weight: 500;
  color: #3498db;
  margin-top: 4px;
}

.read-link:hover {
  color: #217dbb;
}

.list-more {
  margin-top: 20px;
  text-align: center;
}

.list-more a {
  display: inline-block;
  padding: 8px 28px;
  font-size: 14px;
  color: #3498db;
  background-color: #fff;
  border: 1px solid #3498db;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.list-more a:hover {
  background-color: #3498db;
  color: #fff;
}

/* ---------- homepage: ranking preview ---------- */

.ranking-preview-module {
  margin-bottom: 48px;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rank-card {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease;
}

.rank-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.rank-number {
  font-size: 28px;
  font-weight: 700;
  color: #3498db;
  line-height: 1;
  min-width: 32px;
  text-align: center;
  padding-top: 4px;
}

.rank-card img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.rank-reason {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-link {
  font-size: 13px;
  font-weight: 500;
  color: #3498db;
  margin-top: 2px;
}

/* ---------- homepage: guide entry ---------- */

.guide-entry-module {
  margin-bottom: 48px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.guide-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.guide-card p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

.guide-link {
  font-size: 14px;
  font-weight: 500;
  color: #3498db;
  margin-top: auto;
}

/* ---------- categories page ---------- */

.category-section {
  margin-bottom: 48px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  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 16px rgba(44, 62, 80, 0.08);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
}

.card-desc {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.5;
  flex: 1;
}

.card-body a {
  font-size: 14px;
  font-weight: 500;
  color: #3498db;
  margin-top: 8px;
}

.represent-section {
  margin-bottom: 48px;
}

.represent-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.represent-item {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.represent-index {
  font-size: 20px;
  font-weight: 700;
  color: #3498db;
  line-height: 1;
  padding-top: 4px;
  min-width: 28px;
}

.represent-content {
  flex: 1;
}

.represent-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.represent-content p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.5;
}

.category-tip {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 28px;
}

.category-tip p {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.7;
}

.category-tip a {
  color: #3498db;
  font-weight: 500;
}

/* ---------- guide page ---------- */

.content-article {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.guide-section {
  margin-bottom: 32px;
}

.guide-section .section-title {
  font-size: 20px;
}

.step-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  position: relative;
  padding: 20px 20px 20px 56px;
  background-color: #f8f9fa;
  border-radius: 6px;
  counter-increment: step;
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #3498db;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

.guide-media {
  margin: 24px 0;
}

.media-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.guide-media figcaption {
  font-size: 13px;
  color: #95a5a6;
  text-align: center;
  padding: 8px 0 0;
}

/* ---------- full-version page ---------- */

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.article-content {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 32px;
}

.content-block {
  margin-bottom: 32px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  padding-left: 14px;
  position: relative;
}

.content-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: #3498db;
}

.content-block p {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.media-figure {
  margin: 16px 0;
}

.media-figure img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.media-figure figcaption {
  font-size: 13px;
  color: #95a5a6;
  text-align: center;
  padding: 8px 0 0;
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.chapter-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 14px;
  color: #2c3e50;
}

.chapter-label {
  font-weight: 600;
  color: #3498db;
  min-width: 48px;
}

/* ---------- ranking page ---------- */

.ranking-list-module {
  margin-bottom: 48px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow 0.2s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.ranking-item .rank-number {
  font-size: 24px;
  min-width: 36px;
}

.rank-cover {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.rank-reason {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
}

.rank-tag {
  font-size: 12px;
  color: #2ecc71;
  background-color: rgba(46, 204, 113, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  align-self: flex-start;
  font-weight: 500;
  margin-top: 4px;
}

.reader-recommendations {
  margin-bottom: 48px;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recommendation-card {
  background-color: #fff;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rec-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.rec-text {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  flex: 1;
}

.rec-link {
  font-size: 14px;
  font-weight: 500;
  color: #3498db;
  margin-top: auto;
}

/* ---------- 404 page ---------- */

.error-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  margin-bottom: 40px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: #3498db;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  background-color: #3498db;
  color: #fff;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #2980b9;
  color: #fff;
}

.error-more {
  text-align: center;
}

.error-more-tip {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 16px;
}

.error-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-links a {
  font-size: 15px;
  color: #3498db;
  font-weight: 500;
}

.error-links a:hover {
  color: #217dbb;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .update-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding: 0 16px 40px;
  }

  .inner-main {
    padding-top: 16px;
  }

  .header-inner {
    padding: 0 16px;
    min-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .brand-slogan {
    display: none;
  }

  .featured-module {
    margin: 0 -16px 40px;
    padding: 32px 16px;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure {
    max-width: 100%;
  }

  .hero-figure img {
    height: 240px;
  }

  .update-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ranking-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .represent-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .content-article {
    padding: 24px 20px;
  }

  .step-item {
    padding: 16px 16px 16px 48px;
  }

  .step-item::before {
    left: 12px;
    top: 16px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-content {
    padding: 24px 20px;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ranking-item {
    padding: 14px 16px;
    gap: 14px;
  }

  .rank-cover {
    width: 56px;
    height: 76px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .error-code {
    font-size: 72px;
  }
}

@media (max-width: 480px) {
  .update-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .update-info {
    padding: 10px;
  }

  .update-title {
    font-size: 14px;
  }

  .update-excerpt {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-media {
    aspect-ratio: 16 / 8;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .featured-module {
    padding: 24px 16px;
  }

  .featured-title {
    font-size: 20px;
  }

  .featured-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .ranking-item {
    flex-wrap: wrap;
  }

  .ranking-item .rank-number {
    min-width: 28px;
  }

  .rank-info {
    min-width: 0;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }
}
