/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3498DB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #E74C3C;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #2C3E50;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-header {
  background-color: #2C3E50;
  border-bottom: 3px solid #E74C3C;
  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: 72px;
}

.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.site-nav .nav-list a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list a:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-list a.is-current {
  color: #FFFFFF;
  background-color: rgba(231, 76, 60, 0.85);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  min-height: 400px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.site-footer {
  background-color: #2C3E50;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.875rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  font-size: 0.9375rem;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer-col ul a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  margin-bottom: 24px;
  color: #7f8c8d;
}

.breadcrumb a {
  color: #3498DB;
}

.breadcrumb a:hover {
  color: #E74C3C;
}

.breadcrumb-sep {
  color: #bdc3c7;
}

.breadcrumb-current {
  color: #7f8c8d;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ECF0F1;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Section Title */
.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  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: #E74C3C;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background-color: #E74C3C;
  color: #FFFFFF;
  border: 2px solid #E74C3C;
}

.btn-primary:hover {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: #3498DB;
  border: 2px solid #3498DB;
}

.btn-secondary:hover {
  background-color: #3498DB;
  color: #FFFFFF;
}

/* Channel Tag */
.channel-tag {
  display: inline-block;
  padding: 8px 18px;
  background-color: #ECF0F1;
  color: #2C3E50;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.channel-tag:hover {
  background-color: #3498DB;
  color: #FFFFFF;
}

/* News Item */
.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #ECF0F1;
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.news-item h3 a {
  color: #2C3E50;
}

.news-item h3 a:hover {
  color: #E74C3C;
}

.news-summary {
  font-size: 0.9375rem;
  color: #7f8c8d;
  margin-bottom: 8px;
  line-height: 1.6;
}

.news-item time {
  font-size: 0.8125rem;
  color: #bdc3c7;
  margin-right: 12px;
}

.news-channel {
  font-size: 0.8125rem;
  color: #3498DB;
  background-color: #ECF0F1;
  padding: 2px 10px;
  border-radius: 3px;
  display: inline-block;
}

.news-channel:hover {
  background-color: #3498DB;
  color: #FFFFFF;
}

/* Topic Card */
.topic-card {
  background-color: #FFFFFF;
  border: 1px solid #ECF0F1;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.topic-card h3 a {
  color: #2C3E50;
}

.topic-card h3 a:hover {
  color: #E74C3C;
}

.topic-card p {
  font-size: 0.875rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3498DB;
}

.card-link:hover {
  color: #E74C3C;
}

.topic-card-body {
  padding: 20px;
}

/* More Link */
.more-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3498DB;
}

.more-link:hover {
  color: #E74C3C;
}

/* Pick Item */
.pick-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ECF0F1;
  align-items: start;
}

.pick-item:last-child {
  border-bottom: none;
}

.pick-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #ECF0F1;
  color: #2C3E50;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 6px;
}

.pick-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.pick-item h3 a {
  color: #2C3E50;
}

.pick-item h3 a:hover {
  color: #E74C3C;
}

.pick-item p {
  font-size: 0.875rem;
  color: #7f8c8d;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Related Links */
.related-links {
  background-color: #F8F9FA;
  border: 1px solid #ECF0F1;
  border-radius: 8px;
  padding: 24px;
}

.related-links h2,
.related-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C3E50;
}

.related-links ul li {
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.related-links ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3498DB;
}

.related-links ul a {
  font-size: 0.875rem;
  color: #3498DB;
}

.related-links ul a:hover {
  color: #E74C3C;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #2C3E50;
}

.hero-lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: #E74C3C;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.9375rem;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Channels Nav */
.channels-nav-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
}

.channels-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Latest News */
.latest-news-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
}

/* Topics Recommend */
.topics-recommend-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
}

.topics-recommend-section .topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Updates Preview */
.updates-preview-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
}

.updates-preview-list {
  margin-bottom: 8px;
}

.updates-preview-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #ECF0F1;
}

.updates-preview-list li:last-child {
  border-bottom: none;
}

.updates-preview-list time {
  font-size: 0.8125rem;
  color: #bdc3c7;
  white-space: nowrap;
  min-width: 72px;
}

.updates-preview-list a {
  font-size: 0.9375rem;
  color: #2C3E50;
}

.updates-preview-list a:hover {
  color: #E74C3C;
}

/* Editor Picks */
.editor-picks-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
}

/* Info Feedback */
.info-feedback-section {
  padding: 40px 0;
  border-top: 1px solid #ECF0F1;
  background-color: #F8F9FA;
  border-radius: 8px;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 8px;
}

.info-feedback-section p {
  font-size: 0.9375rem;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ==========================================================================
   Channels Page
   ========================================================================== */

.channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.channel-card {
  border: 1px solid #ECF0F1;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  background-color: #FFFFFF;
}

.channel-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}

.channel-link {
  display: block;
}

.channel-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.channel-body {
  padding: 20px;
}

.channel-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #2C3E50;
}

.channel-body p {
  font-size: 0.875rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 0;
}

.channels-intro {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ECF0F1;
}

.intro-content p {
  font-size: 0.9375rem;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 12px;
}

.channels-list .related-links {
  margin-top: 32px;
}

/* ==========================================================================
   Topics Page
   ========================================================================== */

.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.topics-section {
  margin-bottom: 48px;
}

.topics-summary-section {
  padding-top: 32px;
  border-top: 1px solid #ECF0F1;
}

.summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.summary-item {
  background-color: #F8F9FA;
  border: 1px solid #ECF0F1;
  border-radius: 8px;
  padding: 24px;
}

.summary-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.summary-item p {
  font-size: 0.875rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 12px;
}

.summary-item a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3498DB;
}

.summary-item a:hover {
  color: #E74C3C;
}

.related-links-section {
  margin-top: 48px;
}

.related-links-section .related-links {
  background-color: #F8F9FA;
}

/* ==========================================================================
   Guide Page
   ========================================================================== */

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section .section-title {
  margin-bottom: 16px;
}

.lead-text {
  font-size: 0.9375rem;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.guide-steps {
  counter-reset: guide-step;
}

.guide-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ECF0F1;
}

.guide-step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3498DB;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.875rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 0;
}

.guide-figure {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ECF0F1;
}

.guide-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #7f8c8d;
  background-color: #F8F9FA;
}

.guide-layout .related-links {
  position: sticky;
  top: 88px;
}

/* ==========================================================================
   Updates Page
   ========================================================================== */

.update-timeline {
  position: relative;
  padding-left: 24px;
}

.update-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: #ECF0F1;
}

.update-item {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #ECF0F1;
  align-items: start;
}

.update-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E74C3C;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px #E74C3C;
}

.update-media {
  border-radius: 8px;
  overflow: hidden;
}

.update-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.update-content {
  min-width: 0;
}

.update-title {
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: #2C3E50;
}

.update-date {
  font-size: 0.8125rem;
  color: #bdc3c7;
  margin-bottom: 8px;
}

.update-summary {
  font-size: 0.875rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 0;
}

.updates-detail-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ECF0F1;
}

.detail-notes {
  background-color: #F8F9FA;
  border: 1px solid #ECF0F1;
  border-radius: 8px;
  padding: 24px;
}

.detail-notes p {
  font-size: 0.9375rem;
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 12px;
}

.detail-notes p:last-child {
  margin-bottom: 0;
}

.detail-notes a {
  font-weight: 600;
}

.updates-section .related-links {
  margin-top: 32px;
}

/* ==========================================================================
   Long-tail Page
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-content {
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #2C3E50;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content a {
  font-weight: 600;
}

.article-hero-figure {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #ECF0F1;
}

.article-hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.article-hero-figure figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #7f8c8d;
  background-color: #F8F9FA;
}

.article-section {
  margin-top: 32px;
}

.article-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #2C3E50;
  padding-bottom: 8px;
  border-bottom: 1px solid #ECF0F1;
}

.method-list {
  margin: 16px 0;
  padding: 0;
}

.method-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.9375rem;
  line-height: 1.6;
  border-bottom: 1px solid #ECF0F1;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3498DB;
}

.method-list li:last-child {
  border-bottom: none;
}

.method-list strong {
  color: #2C3E50;
  font-weight: 600;
}

.page-layout .related-links {
  position: sticky;
  top: 88px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: #E74C3C;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: #7f8c8d;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #E74C3C;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  line-height: 1.4;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #c0392b;
  color: #FFFFFF;
}

.error-link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3498DB;
  border: 2px solid #3498DB;
  border-radius: 6px;
  min-height: 44px;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-link:hover {
  background-color: #3498DB;
  color: #FFFFFF;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
  .channels-grid {
    grid-template-columns: 1fr;
  }

  .summary-list {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-layout .related-links {
    position: static;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-layout .related-links {
    position: static;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-media img {
    height: 160px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 64px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9375rem;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .inner-main {
    padding: 24px 16px 40px;
  }

  .home-main {
    padding: 0 16px 40px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-figure img {
    height: 220px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .topics-recommend-section .topics-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .updates-preview-list li {
    flex-direction: column;
    gap: 4px;
  }

  .updates-preview-list time {
    min-width: 0;
  }

  .pick-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .pick-badge {
    width: 40px;
    height: 40px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 3rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn,
  .error-link {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .brand-slogan {
    font-size: 0.6875rem;
  }

  .channels-tag-list {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .update-timeline {
    padding-left: 16px;
  }

  .update-item::before {
    left: -16px;
  }

  .article-hero-figure img {
    height: 180px;
  }

  .guide-figure img {
    height: 160px;
  }
}
