/* ==========================================================
   糖心网站 · 全站样式表
   xingtaiquanxin.cn
   ========================================================== */

/* ==========================================================
   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", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #34495e;
  background-color: #ecf0f1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #e67e22;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c06a1a;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================
   Layout
   ========================================================== */

/* 全站页头 */
.site-header {
  background-color: #2c3e50;
  border-bottom: 3px solid #e67e22;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-area {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-link:hover {
  color: #e67e22;
}

.brand-name {
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  color: #ecf0f1;
  font-size: 15px;
  border-radius: 4px;
  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;
  background-color: #e67e22;
  font-weight: 600;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

/* 页面布局容器 */
.page-layout,
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

/* 首页布局 */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

/* 主内容区 */
.site-main {
  min-width: 0;
}

.inner-main {
  min-width: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 24px;
  padding: 10px 0;
  border-bottom: 1px solid #d5dbdb;
}

.breadcrumb a {
  color: #e67e22;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #bdc3c7;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #2c3e50;
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e67e22;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: #5d6d7e;
  max-width: 720px;
}

/* 侧栏通用 */
.sidebar,
.sidebar-area,
.home-aside {
  min-width: 0;
}

.aside-inner,
.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-section,
.sidebar-card,
.sidebar-module {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #d5dbdb;
}

.aside-title,
.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e67e22;
}

.aside-text,
.sidebar-text {
  font-size: 14px;
  color: #5d6d7e;
  margin-bottom: 14px;
  line-height: 1.7;
}

.aside-link,
.sidebar-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.aside-link:hover,
.sidebar-link:hover {
  color: #c06a1a;
  text-decoration: underline;
}

.sidebar-link-list,
.sidebar-list,
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link-list a,
.sidebar-list a,
.sidebar-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #34495e;
  border-bottom: 1px solid #ecf0f1;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-link-list a:hover,
.sidebar-list a:hover,
.sidebar-links a:hover {
  color: #e67e22;
  padding-left: 6px;
}

/* 页脚 */
.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  margin-top: 40px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 20px;
}

.footer-home-link {
  display: inline-block;
  color: #ecf0f1;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid #e67e22;
  transition: color 0.2s ease;
}

.footer-home-link:hover {
  color: #e67e22;
}

.footer-links-group {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-list a {
  color: #bdc3c7;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: #e67e22;
}

.footer-bottom {
  background-color: #1a252f;
  padding: 20px;
  text-align: center;
}

.footer-slogan {
  font-size: 14px;
  color: #bdc3c7;
  margin-bottom: 6px;
}

.copyright {
  font-size: 13px;
  color: #7f8c8d;
}

/* ==========================================================
   Components
   ========================================================== */

/* 通用 section 标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: #5d6d7e;
  margin-bottom: 24px;
  max-width: 760px;
}

.section-intro {
  font-size: 15px;
  color: #5d6d7e;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* 首页首屏 */
.hero-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.hero-media {
  min-width: 0;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hero-content {
  min-width: 0;
}

.home-hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-intro {
  font-size: 16px;
  color: #5d6d7e;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e67e22;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.cta-link:hover {
  background-color: #c06a1a;
  color: #ffffff;
}

/* 频道分类导航带 */
.channel-nav-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  padding: 8px 18px;
  background-color: #ecf0f1;
  color: #2c3e50;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #d5dbdb;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.channel-tag:hover {
  background-color: #e67e22;
  color: #ffffff;
  border-color: #e67e22;
}

/* 专题推荐区 */
.featured-topics {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d5dbdb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.topic-figure {
  overflow: hidden;
}

.topic-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.topic-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  padding: 16px 16px 6px;
}

.topic-excerpt {
  font-size: 14px;
  color: #5d6d7e;
  padding: 0 16px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.topic-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
  padding: 0 16px 16px;
}

.topic-link:hover {
  text-decoration: underline;
}

/* 观看指南入口 */
.guide-entry-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #d5dbdb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.guide-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.guide-card-text {
  font-size: 14px;
  color: #5d6d7e;
  margin-bottom: 14px;
  line-height: 1.6;
}

.guide-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.guide-link:hover {
  text-decoration: underline;
}

/* 入口核验提示 */
.entry-check-teaser {
  background-color: #fdf2e6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #f5cba7;
}

.teaser-content {
  max-width: 760px;
}

.teaser-text {
  font-size: 15px;
  color: #5d6d7e;
  margin-bottom: 16px;
  line-height: 1.7;
}

.teaser-link {
  display: inline-block;
  padding: 8px 18px;
  background-color: #e67e22;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.teaser-link:hover {
  background-color: #c06a1a;
  color: #ffffff;
}

/* 相关链接导航 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  border: 1px solid #d5dbdb;
  margin-bottom: 30px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.related-links-item {
  display: inline-block;
  padding: 4px 12px;
  background-color: #ecf0f1;
  color: #2c3e50;
  font-size: 13px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  background-color: #e67e22;
  color: #ffffff;
}

/* 频道分类页 */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.channel-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d5dbdb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.channel-media {
  overflow: hidden;
}

.channel-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.channel-info {
  padding: 20px;
}

.channel-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.channel-info p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
}

.channel-guide-section {
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #d5dbdb;
}

.channel-guide-section p {
  font-size: 15px;
  color: #5d6d7e;
  margin-bottom: 14px;
  line-height: 1.7;
}

.channel-guide-section b {
  color: #2c3e50;
}

/* 观看指南页 */
.guide-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.step-item {
  padding-left: 20px;
  border-left: 3px solid #e67e22;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
}

.step-text {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
}

.guide-figure {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.guide-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  background-color: #f8f9fa;
  font-size: 13px;
  color: #7f8c8d;
  border: 1px solid #d5dbdb;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.section-note {
  font-size: 14px;
  color: #5d6d7e;
  background-color: #fdf2e6;
  border-radius: 6px;
  padding: 14px 18px;
  line-height: 1.7;
}

.section-note a {
  font-weight: 600;
  color: #e67e22;
}

.section-note a:hover {
  text-decoration: underline;
}

.guide-summary {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #d5dbdb;
}

.summary-text {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* 专题推荐页 */
.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card-link {
  display: block;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d5dbdb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.topic-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.topic-media {
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.topic-card-body {
  padding: 20px;
}

.topic-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.topic-card-desc {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 12px;
}

.topic-card-more {
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.topic-card-more:hover {
  text-decoration: underline;
}

.topic-reasons {
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #d5dbdb;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.reason-list li {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.reason-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #e67e22;
  border-radius: 50%;
}

.reason-list strong {
  color: #2c3e50;
}

.topic-reasons > p {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
}

.topic-reasons > p a {
  font-weight: 600;
}

.topic-reasons > p a:hover {
  text-decoration: underline;
}

/* 入口核验页 */
.verify-method-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.method-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #d5dbdb;
}

.method-name {
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.method-desc {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
}

.invalid-entry-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #d5dbdb;
}

.entry-check-figure {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.entry-check-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.entry-check-figure figcaption {
  padding: 10px 14px;
  background-color: #f8f9fa;
  font-size: 13px;
  color: #7f8c8d;
  border: 1px solid #d5dbdb;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.invalid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.invalid-item {
  background-color: #fdf2e6;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid #f5cba7;
}

.invalid-title {
  font-size: 16px;
  font-weight: 700;
  color: #c06a1a;
  margin-bottom: 6px;
}

.invalid-item p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
}

/* 常见问题页 */
.faq-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #d5dbdb;
}

.content-media-inline {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.content-media-inline figcaption {
  padding: 8px 14px;
  background-color: #f8f9fa;
  font-size: 13px;
  color: #7f8c8d;
  border: 1px solid #d5dbdb;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #d5dbdb;
  overflow: hidden;
}

.faq-question {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.2s ease;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #e67e22;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question {
  background-color: #fdf2e6;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.help-note {
  background-color: #fdf2e6;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #f5cba7;
}

.help-note p {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
}

.help-note a {
  font-weight: 600;
}

.help-note a:hover {
  text-decoration: underline;
}

/* 404 页面 */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 50px 40px;
  border: 1px solid #d5dbdb;
  max-width: 560px;
  width: 100%;
}

.error-title {
  font-size: 48px;
  font-weight: 700;
  color: #e67e22;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.error-tip {
  font-size: 15px;
  color: #5d6d7e;
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-home-link {
  display: inline-block;
  padding: 12px 28px;
  background-color: #e67e22;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-home-link:hover {
  background-color: #c06a1a;
  color: #ffffff;
}

/* ==========================================================
   Pages
   ========================================================== */

/* 首页 */
.home-main {
  min-width: 0;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1024px) {
  .page-layout,
  .layout-shell,
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    padding: 0 16px;
  }

  .brand-link {
    font-size: 18px;
  }

  /* 汉堡按钮显示 */
  .nav-toggle {
    display: block;
  }

  /* 导航列表收起 */
  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 400px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list a.is-current {
    border-radius: 0;
  }

  /* 布局改为单列 */
  .page-layout,
  .layout-shell,
  .home-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 16px 40px;
  }

  /* 主内容在前 */
  .site-main {
    order: 1;
  }

  /* 侧栏在后 */
  .sidebar,
  .sidebar-area,
  .home-aside {
    order: 2;
    margin-top: 30px;
  }

  /* 首页首屏 */
  .hero-directory {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .hero-figure img {
    height: 180px;
  }

  .home-hero-title {
    font-size: 24px;
  }

  /* 卡片栅格 */
  .topic-card-grid,
  .guide-card-grid,
  .channel-grid,
  .topic-cards,
  .method-list,
  .invalid-list {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-top {
    padding: 24px 16px 16px;
  }

  .footer-links-group {
    padding: 0 16px 24px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-link {
    font-size: 16px;
  }

  .page-layout,
  .layout-shell,
  .home-layout {
    padding: 16px 12px 32px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 21px;
  }

  .hero-directory,
  .channel-nav-section,
  .featured-topics,
  .guide-entry-section,
  .entry-check-teaser,
  .guide-section,
  .guide-summary,
  .topic-reasons,
  .verify-method-section,
  .invalid-entry-section,
  .faq-section,
  .help-note {
    padding: 20px;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .error-content {
    padding: 30px 20px;
  }

  .error-title {
    font-size: 36px;
  }

  .step-item {
    padding-left: 14px;
  }

  .guide-figure img,
  .guide-img,
  .entry-check-figure img,
  .content-media-inline img {
    height: 150px;
  }

  .topic-figure img,
  .topic-media img,
  .channel-media img {
    height: 130px;
  }
}
