:root {
  --site-top-bg: #0529ff;
  --panel-head-gradient: linear-gradient(135deg, #1a4fd6 0%, #0529ff 55%, #3d1a9e 100%);
  --border-radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 180;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--site-top-bg);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 41, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease,
    background 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #1a4fd6;
  box-shadow: 0 6px 20px rgba(5, 41, 255, 0.45);
}

.back-to-top:active {
  transform: translateY(1px);
}

.back-to-top.is-visible:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 0.75rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 全局滚动条：细窄、浅灰、圆角 */
html {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

body.body-scroll-locked {
  overflow: hidden;
}

html::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track {
  background: #f3f4f6;
}

html::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
  border: 2px solid #f3f4f6;
  background-clip: padding-box;
  transition: background 0.2s ease;
}

html::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
  background-clip: padding-box;
}

html::-webkit-scrollbar-corner {
  background: #f3f4f6;
}

.scrollbar-refined {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
  scroll-behavior: smooth;
}

.scrollbar-refined::-webkit-scrollbar {
  width: 5px;
}

.scrollbar-refined::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}

.scrollbar-refined::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.scrollbar-refined::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.scrollbar-refined.is-scrolling::-webkit-scrollbar-thumb {
  background: #b0b8c4;
}

/* 宽屏内容区 */
.site-container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1536px) {
  .site-container {
    max-width: 1680px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background-color: #0033cc;
  border-radius: 2px;
}

/* 合作推荐卡片 */
.partner-card__btn {
  flex: 1;
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.25;
  padding: 0.4rem 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  color: #6b7280;
  background: #fff;
  transition: background-color 0.15s, color 0.15s;
}

.partner-card__btn:hover {
  background: #f9fafb;
  color: #374151;
}

/* 最新文章动态加载 */
.article-feed-more__btn {
  font-size: 0.875rem;
  color: #0033cc;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  transition: color 0.2s;
}

.article-feed-more__btn:hover:not(:disabled) {
  text-decoration: underline;
}

.article-feed-more__btn:disabled {
  color: #9ca3af;
  cursor: default;
}

.article-feed__item.is-inserting {
  animation: articleFeedIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes articleFeedIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 统一内容卡片：白底 + 透明边 + 阴影 */
.card-white,
.hero-banner,
.daily-item__card,
.sidebar-square-ad,
.sidebar-ad__box--icon,
.sidebar-ad__box--green {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow);
  transition: all 0.3s ease-in-out;
}

.card-white:hover,
.hero-banner:hover,
.daily-item__card:hover,
.sidebar-square-ad:hover,
.sidebar-ad:hover .sidebar-ad__box--icon,
.sidebar-ad:hover .sidebar-ad__box--green {
  box-shadow: var(--shadow-hover);
}

/* 外层已有投影的卡片内：子块仅用浅边线，不再叠阴影 */
.card-white .partner-card,
.card-white .author-recommend-item,
.card-white .content-promo,
.card-white .report-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: var(--border-radius-sm);
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
}

.card-white .partner-card:hover,
.card-white .author-recommend-item:hover,
.card-white .content-promo:hover,
.card-white .report-card:hover {
  box-shadow: none;
  border-color: #e5e7eb;
  background: #fafafa;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 头部导航：始终固定在顶部，与顶部大背景同色 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--site-top-bg);
  overflow: visible;
  transition: box-shadow 0.3s ease;
}

.site-header-spacer {
  height: 64px;
  flex-shrink: 0;
}

/* 滚动后加深阴影 */
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 33, 120, 0.35);
}

/* 首页：未滚动时无阴影，与 nex_fully_top 视觉一体 */
.page-home .site-header:not(.is-scrolled) {
  box-shadow: none;
}

.page-home .site-header__deco {
  display: none;
}

/* 报告 / 资源页：未滚动时导航透明，与 Hero 渐变一体 */
.page-report .site-header:not(.is-scrolled),
.page-resource .site-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
}

.page-report .site-header:not(.is-scrolled) .site-header__deco,
.page-resource .site-header:not(.is-scrolled) .site-header__deco {
  display: none;
}

.site-header__deco {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 320px;
  pointer-events: none;
  opacity: 0.25;
}

.site-header__deco--left {
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 64' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 120,0 80,64 0,64' fill='%23ffffff'/%3E%3Cpolygon points='40,0 200,0 160,64 0,64' fill='%23ffffff' opacity='0.5'/%3E%3Cpolygon points='100,0 280,0 240,64 60,64' fill='%23ffffff' opacity='0.3'/%3E%3C/svg%3E")
    no-repeat left center;
  background-size: cover;
}

.site-header__deco--right {
  right: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 64' preserveAspectRatio='none'%3E%3Cpolygon points='200,0 320,0 320,64 240,64' fill='%23ffffff'/%3E%3Cpolygon points='120,0 320,0 320,64 160,64' fill='%23ffffff' opacity='0.5'/%3E%3Cpolygon points='40,0 260,0 320,64 80,64' fill='%23ffffff' opacity='0.3'/%3E%3C/svg%3E")
    no-repeat right center;
  background-size: cover;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow: visible;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo__img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.site-footer-logo {
  display: block;
  line-height: 0;
}

.site-footer-logo__img {
  height: 36px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  display: block;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.site-footer-social__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.site-footer-social__item:hover,
.site-footer-social__item.is-active {
  color: #0033cc;
  border-color: #c7d2fe;
  background: #f8faff;
}

.site-footer-popover {
  position: fixed;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.site-footer-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer-popover__panel {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.875rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.site-footer-popover__panel::after {
  content: '';
  position: absolute;
  left: var(--popover-arrow-x, 50%);
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: translateX(-50%) rotate(45deg);
}

.site-footer-popover__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
  margin-bottom: 0.5rem;
}

.site-footer-popover__qr img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  object-fit: contain;
}

.site-footer-popover__phone {
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.8;
  white-space: nowrap;
}

.site-footer-popover__phone a {
  color: #0033cc;
}

.site-footer-popover__phone a:hover {
  text-decoration: underline;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-header__datetime {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  line-height: 1.25;
}

.site-header__icon-btn {
  color: #fff;
  padding: 0.375rem;
  line-height: 0;
  transition: color 0.2s;
}

.site-header__icon-btn:hover {
  color: #b3d4ff;
}

.site-header__icon {
  font-size: 1.375rem;
  line-height: 1;
  display: block;
}

.site-header__login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.85rem;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.site-header__login-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

/* 搜索 / 登录弹窗：滚动锁定由 js/scroll-lock.js 统一处理 */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-modal.is-open .search-modal__wrap {
  transform: translateY(0) scale(1);
}

.search-modal__panel {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 2rem 2.25rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.search-modal__form {
  margin-bottom: 1.25rem;
}

.search-modal__input {
  width: 100%;
  border: none;
  border-radius: 6px;
  background: #f0f2f5;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.search-modal__input::placeholder {
  color: #9ca3af;
}

.search-modal__input:focus {
  background: #eceff3;
  box-shadow: 0 0 0 2px rgba(5, 41, 255, 0.12);
}

.search-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.search-modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.25;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.search-modal__tag:hover {
  border-color: #c7d2fe;
  color: var(--site-top-bg);
  background: #f8faff;
}

.search-modal__tag-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  color: #9ca3af;
}

.search-modal__tag:hover .search-modal__tag-icon {
  color: var(--site-top-bg);
}

.search-modal__tag-text {
  white-space: nowrap;
}

.search-modal__tag-count {
  font-size: 0.8125rem;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0.125rem 0.45rem;
  border-radius: 999px;
  min-width: 1.25rem;
  text-align: center;
  line-height: 1.3;
}

.search-modal__close {
  margin-top: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.search-modal__close:hover {
  color: #4b5563;
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 640px) {
  .search-modal__panel {
    padding: 1.25rem 1rem 1rem;
  }

  .search-modal__tag {
    font-size: 0.875rem;
    padding: 0.45rem 0.625rem;
  }
}

/* 登录弹窗 */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 510;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.login-modal__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-modal.is-open .login-modal__wrap {
  transform: translateY(0) scale(1);
}

.login-modal__panel {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.login-modal__header {
  margin-bottom: 1.25rem;
}

.login-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.35rem;
}

.login-modal__subtitle {
  font-size: 0.9375rem;
  color: var(--site-top-bg);
  font-weight: 600;
  margin: 0;
}

.login-modal__qr-wrap {
  position: relative;
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 0.875rem;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.login-modal__qr-wrap:hover {
  border-color: rgba(5, 41, 255, 0.35);
  box-shadow: 0 4px 16px rgba(5, 41, 255, 0.12);
  transform: scale(1.02);
}

.login-modal__qr-wrap.is-scanning {
  pointer-events: none;
  border-color: rgba(5, 41, 255, 0.5);
}

.login-modal__hint {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0 0 0.75rem;
  text-align: center;
}

.login-modal__qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.login-modal__qr-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(5, 41, 255, 0.85), transparent);
  animation: login-qr-scan 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes login-qr-scan {
  0% {
    top: 8%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: 92%;
    opacity: 0;
  }
}

.login-modal__account {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1rem;
}

.login-modal__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
  background: #f9fafb;
  border-radius: 8px;
  padding: 0.625rem 0.75rem;
}

.login-modal__step {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.login-modal__step-num {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  background: var(--site-top-bg);
  border-radius: 50%;
  line-height: 1;
}

.login-modal__step-arrow {
  color: #d1d5db;
  font-size: 0.6875rem;
}

.login-modal__status {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}

.login-modal__status.is-success {
  color: #059669;
}

.login-modal__close {
  margin-top: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.login-modal__close:hover {
  color: #4b5563;
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 640px) {
  .login-modal__panel {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .login-modal__qr-wrap {
    width: 180px;
    height: 180px;
  }
}

/* 首页顶部大背景区（导航下方 + Banner 区域） */
.page-home {
  position: relative;
}

.nex_fully_top {
  width: 100%;
  min-width: 100%;
  background: var(--site-top-bg);
  position: absolute;
  height: 544px;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.nex_fully_bg {
  width: 100%;
  height: 190px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.nex_fully_bg div {
  position: absolute;
}

.nex_fully_bg img {
  display: block;
  max-width: none;
}

.nex_fully_bg_img1 {
  right: 0;
  top: -150px;
  opacity: 0.4;
}

.nex_fully_bg_img1 img {
  width: 420px;
}

.nex_fully_bg_img2 {
  left: 50%;
  bottom: 0;
  margin-left: -790px;
  animation: nex_b_t 15s linear infinite;
  opacity: 0.8;
}

.nex_fully_bg_img2 img {
  width: 320px;
}

.nex_fully_bg_img3 {
  left: 50%;
  top: -100px;
  margin-left: 300px;
}

.nex_fully_bg_img3 img {
  width: 200px;
}

.nex_fully_bg_img4 {
  left: 50%;
  top: 0;
  margin-left: -100px;
  animation: nex_t_b 15s linear infinite;
  opacity: 0.4;
}

.nex_fully_bg_img4 img {
  width: 70px;
}

.nex_fully_bg_img5 {
  left: -20px;
  top: -80px;
  opacity: 0.4;
}

.nex_fully_bg_img5 img {
  width: 380px;
}

.nex_waveBox {
  width: 100%;
  height: 130px;
  position: absolute;
  bottom: -85px;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.nex_waveBox canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
}

#myCanvas1 {
  z-index: 1;
}

#myCanvas2 {
  z-index: 2;
}

#myCanvas3 {
  z-index: 3;
}

@keyframes nex_t_b {
  0% {
    transform: translate(-100px, -200px);
  }
  100% {
    transform: translate(100px, 200px) rotate(360deg);
  }
}

@keyframes nex_b_t {
  0% {
    transform: translate(100px, 100px) rotate(360deg);
  }
  100% {
    transform: translate(-100px, -500px);
  }
}

.page-home main {
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .nex_fully_top {
    height: 480px;
  }

  .nex_fully_bg_img2 {
    margin-left: -500px;
  }

  .nex_fully_bg_img1 img,
  .nex_fully_bg_img5 img {
    width: 280px;
  }
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
  margin: 0 0.5rem;
  min-width: 0;
  overflow: visible;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-item.has-submenu {
  z-index: 10;
}

.nav-item.has-submenu:hover,
.nav-item.has-submenu.is-open {
  z-index: 310;
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  white-space: nowrap;
  line-height: 1.25;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #b3d4ff;
}

.site-header .nav-link.active {
  font-weight: 600;
}

.nav-item.has-submenu > .nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
  margin-top: 1px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 6px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 33, 120, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 320;
}

/* 消除一级菜单与下拉之间的空隙，避免鼠标移出时菜单消失 */
.nav-item.has-submenu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #374151;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-submenu a:hover {
  background: #f0f5ff;
  color: var(--site-top-bg);
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu.is-open .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .site-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item.has-submenu:hover .nav-submenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-item.has-submenu.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* 右侧窄栏（热搜） */
.sidebar-narrow .card-white {
  padding: 0.75rem;
}

.sidebar-narrow .section-title {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.sidebar-narrow li {
  font-size: 0.8125rem;
}

.sidebar-narrow .hot-count {
  font-size: 0.6875rem;
}

/* 作者推荐 */
.author-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.author-recommend-item {
  display: flex;
  gap: 0.625rem;
  padding: 0.625rem;
  margin: 0;
}

.author-recommend__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-recommend__info {
  flex: 1;
  min-width: 0;
}

.author-recommend__head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.author-recommend__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.author-recommend-item:hover .author-recommend__name {
  color: var(--site-top-bg);
}

.author-recommend__role {
  font-size: 0.6875rem;
  color: var(--site-top-bg);
  background: #eef3ff;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  line-height: 1.3;
  white-space: nowrap;
}

.author-recommend__desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 热文排行 */
.hot-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hot-article-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.hot-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-article-item:first-child {
  padding-top: 0;
}

.hot-article-rank {
  width: 1.125rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.hot-article-item:nth-child(1) .hot-article-rank,
.hot-article-item:nth-child(2) .hot-article-rank,
.hot-article-item:nth-child(3) .hot-article-rank {
  color: #ef4444;
  font-weight: 700;
}

.hot-article-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.hot-article-title {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-article-time {
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: #9ca3af;
  white-space: nowrap;
}

.hot-article-link:hover .hot-article-title {
  color: var(--site-top-bg);
}

/* 侧边栏广告位 */
.sidebar-ads {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sidebar-ad {
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-promo {
  display: block;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
}

.sidebar-ad:hover {
  transform: translateY(-1px);
}

.sidebar-ad__box {
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
}

.sidebar-ad__box--icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-ad__box--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.sidebar-ad__box--green {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sidebar-ad__box--purple {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
}

.sidebar-ad__logo {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-ad__logo--green {
  background: #22c55e;
}

.sidebar-ad__text {
  flex: 1;
  min-width: 0;
}

.sidebar-ad__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.sidebar-ad__name--light {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

.sidebar-ad__sub {
  display: block;
  font-size: 0.6875rem;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 0.125rem;
}

.sidebar-ad__tag {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.85;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.sidebar-narrow .sidebar-ad__box {
  padding: 0.625rem;
}

.sidebar-narrow .sidebar-ad__name {
  font-size: 0.75rem;
}

.sidebar-narrow .sidebar-ad__sub,
.sidebar-narrow .sidebar-ad__tag {
  font-size: 0.625rem;
}

.sidebar-narrow .sidebar-ad__name--light {
  font-size: 0.8125rem;
}

/* 方块图广告占位 */
.sidebar-square-ad {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.sidebar-square-ad__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  padding: 1rem;
  text-align: center;
}

.sidebar-square-ad__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
}

.sidebar-square-ad__size {
  font-size: 0.6875rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
}

/* 推荐标签 */
.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  line-height: 1.3;
  color: #4b5563;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hot-tag:hover {
  border-color: #c7d2fe;
  color: var(--site-top-bg);
  background: #f8faff;
}

.hot-tag__text {
  white-space: nowrap;
}

.hot-tag__count {
  font-size: 0.6875rem;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  min-width: 1.125rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hot-tag:hover .hot-tag__count {
  color: var(--site-top-bg);
  background: #eef3ff;
}

/* 跨境日报时间轴 */
.daily-panel {
  overflow: hidden;
}

.daily-panel__head {
  background: var(--panel-head-gradient);
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.daily-panel__head::before {
  content: '';
  position: absolute;
  right: -20%;
  top: -30%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.daily-panel__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
  position: relative;
  z-index: 1;
}

.daily-panel__subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  position: relative;
  z-index: 1;
}

.daily-panel__head.is-live::after {
  content: '实时更新';
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 0.6875rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  animation: dailyPulse 1.5s ease infinite;
}

@keyframes dailyPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.daily-timeline {
  position: relative;
  padding: 0.75rem 0.625rem 0.75rem 0.5rem;
  background: #f3f4f6;
  max-height: 720px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.daily-track {
  --daily-axis-col: 2rem;
  --daily-gap: 0.625rem;
  position: relative;
  min-width: 0;
}

.daily-page .daily-track {
  --daily-gap: 0.75rem;
}

.daily-track::before {
  content: '';
  position: absolute;
  left: calc(var(--daily-axis-col) / 2);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0;
  border-left: 2px solid #d1d5db;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.daily-date-group + .daily-date-group {
  margin-top: 1.25rem;
}

.daily-date-marker {
  display: grid;
  grid-template-columns: var(--daily-axis-col) minmax(0, 1fr);
  column-gap: var(--daily-gap);
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.daily-date-marker__text {
  grid-column: 2;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  align-self: center;
}

.daily-page .daily-date-marker__text {
  font-size: 1rem;
}

.daily-items {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--daily-gap);
}

.daily-item {
  display: grid;
  grid-template-columns: var(--daily-axis-col) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: var(--daily-gap);
  row-gap: 0.375rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.daily-item__rail {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

.daily-item__body {
  display: contents;
}

.daily-item__time {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
  margin: 0;
}

.daily-page .daily-item__time {
  font-size: 0.9375rem;
  color: #4b5563;
}

.daily-item__card {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.5rem 0.5rem;
}

.daily-item.is-new .daily-item__card {
  box-shadow: 0 2px 12px rgba(5, 41, 255, 0.15);
}

.daily-item.is-inserting {
  animation: dailyInsert 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dailyInsert {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.daily-dot {
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border: 2px solid var(--site-top-bg);
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.daily-item__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin: 0 0 0.25rem;
}

.daily-item__title a:hover {
  color: var(--site-top-bg);
}

.daily-item__excerpt {
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.daily-item__more {
  color: var(--site-top-bg);
  font-size: 0.8125rem;
  margin-left: 0.15rem;
}

.daily-item__more:hover {
  text-decoration: underline;
}

.daily-new-badge {
  display: inline-block;
  font-size: 0.625rem;
  color: #fff;
  background: #ef4444;
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  vertical-align: middle;
  animation: dailyBadgePop 0.4s ease;
}

@keyframes dailyBadgePop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 跨境日报独立页 */
.daily-page .daily-timeline {
  max-height: none;
  padding: 1rem 1rem 1.25rem 0.875rem;
}

.daily-item--page .daily-item__card {
  padding: 0.75rem 1rem;
}

.daily-item--page .daily-item__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.daily-item--page .daily-item__excerpt {
  font-size: 0.875rem;
}

.daily-page__pager {
  padding: 0.875rem 1.25rem;
  text-align: center;
  background: #fff;
}

.daily-page__more-btn {
  font-size: 0.875rem;
  color: #0033cc;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
}

.daily-page__more-btn:hover:not(:disabled) {
  text-decoration: underline;
}

.daily-page__more-btn:disabled {
  color: #9ca3af;
  cursor: default;
}

.daily-page__loading {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.daily-sidebar-qr {
  text-align: center;
}

.daily-sidebar-qr img {
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.daily-sidebar-qr__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.35rem;
}

.daily-sidebar-qr__sub {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.daily-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.daily-category-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.75rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #374151;
  background-size: cover;
  background-position: center;
}

.daily-category-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: background 0.2s;
}

.daily-category-item:hover::before {
  background: rgba(5, 41, 255, 0.55);
}

.daily-category-item__text {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 0 0.5rem;
}

.daily-hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.daily-hot-item + .daily-hot-item {
  margin-top: 0.75rem;
}

.daily-hot-item__link {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  position: relative;
}

.daily-hot-item__link:hover .daily-hot-item__title {
  color: #0033cc;
}

.daily-hot-item__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #fff;
  background: #9ca3af;
  padding: 0.05rem 0.3rem;
  line-height: 1.4;
}

.daily-hot-item__badge--1 {
  background: #ef4444;
}

.daily-hot-item__badge--2 {
  background: #f97316;
}

.daily-hot-item__badge--3 {
  background: #eab308;
}

.daily-hot-item__thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.daily-hot-item__body {
  flex: 1;
  min-width: 0;
  padding-top: 0.125rem;
}

.daily-hot-item__title {
  display: block;
  font-size: 0.8125rem;
  color: #1f2937;
  line-height: 1.45;
  margin-bottom: 0.25rem;
}

.daily-hot-item__time {
  font-size: 0.6875rem;
  color: #9ca3af;
}

/* 详情页相关文章：复用热门推荐图文，主栏双列 */
.detail-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.detail-related-list .daily-hot-item + .daily-hot-item {
  margin-top: 0;
}

@media (max-width: 640px) {
  .detail-related-list {
    grid-template-columns: 1fr;
  }
}

/* 文章详情页末尾 */
.article-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.article-declare {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
}

.article-declare p {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

.article-declare strong {
  color: #374151;
  font-weight: 600;
}

.article-tags-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #374151;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.25rem 0.75rem 0.25rem 0.35rem;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s;
}

.article-tag:hover {
  color: var(--site-top-bg);
  border-color: #c7d2fe;
}

.article-tag__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: var(--site-top-bg);
  border-radius: 50%;
  line-height: 1;
}

.article-share {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.article-share:hover {
  color: var(--site-top-bg);
  border-color: #c7d2fe;
  background: #eef3ff;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.article-nav__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  padding: 1rem 1.125rem;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 41, 255, 0.88) 0%, rgba(26, 79, 214, 0.82) 50%, rgba(45, 47, 150, 0.9) 100%),
    url('https://picsum.photos/seed/article-nav/800/400') center / cover no-repeat;
  transition: opacity 0.2s, transform 0.2s;
}

.article-nav__card:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.article-nav__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.article-nav__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.article-nav__card--prev .article-nav__label {
  align-self: flex-start;
}

.article-nav__card--next .article-nav__label {
  align-self: flex-end;
}

@media (max-width: 640px) {
  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-tags-row {
    flex-wrap: wrap;
  }
}

.list-pagination {
  justify-content: center;
  padding: 1rem 0 0.25rem;
}

/* Banner 统一背景区 */
.hero-banner {
  overflow: hidden;
}

.hero-banner__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  padding: 0.625rem;
}

.hero-banner__main {
  min-height: 200px;
  min-width: 0;
  display: flex;
}

.hero-banner__tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  min-width: 0;
}

.hero-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
  padding: 0.625rem 0.75rem;
  border-radius: 4px;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-tile:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-tile__label {
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-tile__title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-tile--purple {
  background: linear-gradient(135deg, #a855f7 0%, #6d28d9 100%);
}

.hero-tile--cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
}

.hero-tile--green {
  background: linear-gradient(135deg, #16a34a 0%, #14532d 100%);
}

.hero-tile--orange {
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

@media (min-width: 1024px) {
  .hero-banner__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    align-items: stretch;
  }

  .hero-banner__main {
    min-height: 240px;
  }

  .hero-banner__tiles {
    gap: 0.5rem;
    min-height: 240px;
    grid-template-rows: repeat(2, 1fr);
  }

  .hero-tile {
    min-height: 0;
    padding: 0.75rem;
  }

  .hero-slider {
    flex: 1;
    width: 100%;
    min-height: 240px;
    border-radius: 3px;
  }

  .hero-slider__slide {
    min-height: 240px;
    height: 240px;
    padding: 1.75rem 3rem 1.75rem 4.75rem;
  }
}

/* 主图幻灯片 */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  flex: 1;
  width: 100%;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slider__slide {
  flex: 0 0 100%;
  min-height: 200px;
  height: 100%;
  padding: 1.5rem 2.75rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.hero-slider__slide--blue {
  background: linear-gradient(135deg, #1a5fd4 0%, #0033cc 50%, #001f7a 100%);
}

.hero-slider__slide--cyan {
  background: linear-gradient(135deg, #0891b2 0%, #0369a1 50%, #0c4a6e 100%);
}

.hero-slider__slide--purple {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #3730a3 100%);
}

.hero-slider__deco {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.hero-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hero-slider__btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-slider__btn--prev {
  left: 10px;
}

.hero-slider__btn--next {
  right: 10px;
}

.hero-slider__slide .max-w-lg {
  margin-left: 0.5rem;
}

.hero-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__dot.active {
  background: #fff;
  transform: scale(1.15);
}

/* 报告 / 资源页 Hero */
.report-hero,
.resource-hero {
  /* 顶部与导航同色，自页顶延伸（无 spacer，padding 避让固定导航） */
  background: linear-gradient(
    180deg,
    var(--site-top-bg) 0%,
    #1a4fd6 22%,
    #0529ff 55%,
    #3d1a9e 100%
  );
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

/* 资源页 Hero：略偏青紫，与报告页区分 */
.resource-hero {
  background: linear-gradient(
    180deg,
    var(--site-top-bg) 0%,
    #0d5ae8 18%,
    #1a6fd6 42%,
    #2d4fd6 68%,
    #4a2a9e 100%
  );
}

.resource-hero::before {
  content: '';
  position: absolute;
  left: 8%;
  top: -25%;
  width: 38%;
  height: 110%;
  background: radial-gradient(circle, rgba(120, 220, 255, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.resource-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -35%;
  width: 45%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 200, 120, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.report-hero::before {
  content: '';
  position: absolute;
  right: -12%;
  top: -40%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.report-hero::after {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -30%;
  width: 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.report-hero__inner,
.resource-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.75rem;
  text-align: center;
}

.report-hero__title,
.resource-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.resource-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.resource-hero__title-icon {
  font-size: 1.375rem;
  opacity: 0.92;
}

.report-hero__subtitle,
.resource-hero__subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
}

.report-hero__tags,
.resource-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.report-hero__tag,
.resource-hero__tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  line-height: 1.4;
}

.resource-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.report-filters {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.report-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
}

.report-filter__label {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.75rem;
  min-width: 3.25rem;
}

.report-filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
}

.report-filter__chip {
  font-size: 0.8125rem;
  line-height: 1.25;
  color: #4b5563;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.report-filter__chip:hover {
  color: var(--site-top-bg);
  border-color: #c7d2fe;
  background: #f8faff;
}

.report-filter__chip.is-active {
  color: #fff;
  background: var(--site-top-bg);
  border-color: var(--site-top-bg);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .report-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .report-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.report-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  min-height: 100%;
}

.report-card__cover {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--border-radius-sm) - 2px);
  margin-bottom: 0.625rem;
}

.report-card__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.report-card:hover .report-card__cover img {
  transform: scale(1.04);
}

.report-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-card__title a:hover {
  color: var(--site-top-bg);
}

.report-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.report-card__tag {
  font-size: 0.6875rem;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  line-height: 1.4;
}

.report-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.375rem;
}

.report-card__stats {
  font-size: 0.6875rem;
  color: #9ca3af;
  line-height: 1.3;
  min-width: 0;
}

.report-card__download {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
  color: #fff;
  background: var(--site-top-bg);
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  transition: background 0.2s, transform 0.2s;
}

.report-card__download:hover {
  background: #1a4fd6;
  transform: translateY(-1px);
}

.report-pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
}

.report-pagination__btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.report-pagination__btn:hover {
  color: var(--site-top-bg);
  border-color: #c7d2fe;
}

.report-pagination__btn.is-active {
  color: #fff;
  background: var(--site-top-bg);
  border-color: var(--site-top-bg);
}

/* 导航门户页 */
.guide-layout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.guide-sidebar {
  width: 132px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  z-index: 10;
}

.guide-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem;
}

.guide-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #4b5563;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  line-height: 1.3;
  transition: color 0.2s, background 0.2s;
}

.guide-sidebar__link i {
  width: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

.guide-sidebar__link:hover {
  color: var(--site-top-bg);
  background: #f3f4f6;
}

.guide-sidebar__link.is-active {
  color: var(--site-top-bg);
  background: #eef3ff;
  font-weight: 600;
}

.guide-sidebar__link.is-active i {
  color: var(--site-top-bg);
}

.guide-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-section {
  background: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
}

.guide-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.guide-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.guide-section__more {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.guide-section__more:hover {
  color: var(--site-top-bg);
}

.guide-search {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.guide-search__select {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0 0.75rem;
  background: #f9fafb;
  min-width: 7rem;
}

.guide-search__input {
  flex: 1;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0.55rem 0.875rem;
  min-width: 0;
}

.guide-search__input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(5, 41, 255, 0.08);
}

.guide-search__btn {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #fff;
  background: var(--site-top-bg);
  border: none;
  border-radius: 4px;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.guide-search__btn:hover {
  opacity: 0.92;
}

.guide-market {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #f3f4f6;
}

.guide-market__label {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.guide-market__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.guide-market__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #4b5563;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}

.guide-market__flag:hover {
  border-color: #c7d2fe;
  color: var(--site-top-bg);
}

.guide-market__flag img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.guide-entry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.625rem;
}

.guide-entry-card {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 0.75rem;
  min-height: 108px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-entry-card:hover {
  border-color: #dbeafe;
  box-shadow: 0 2px 8px rgba(5, 41, 255, 0.06);
}

.guide-entry-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.guide-entry-card__logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}

.guide-entry-card__logo--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--site-top-bg);
}

.guide-entry-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin: 0;
}

.guide-entry-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.375rem;
  margin-top: 0.125rem;
}

.guide-entry-card__links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
  padding: 0.2rem 0.5rem;
  background: #f9fafb;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.guide-entry-card__links a:hover {
  color: var(--site-top-bg);
  background: #eef3ff;
}

.guide-quick {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.5rem;
}

.guide-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.35rem 0.25rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.guide-quick__item:hover {
  background: #f9fafb;
}

.guide-quick__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #fff;
}

.guide-quick__label {
  font-size: 0.6875rem;
  color: #4b5563;
  line-height: 1.3;
}

.guide-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #0529ff 0%, #1a5fd6 45%, #2d4fd6 100%);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow);
  color: #fff;
}

.guide-promo__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.guide-promo__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.guide-promo__btn {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--site-top-bg);
  background: #fff;
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.guide-promo__btn:hover {
  opacity: 0.92;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.5rem;
}

.guide-tab {
  font-size: 0.8125rem;
  color: #6b7280;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.guide-tab:hover {
  color: var(--site-top-bg);
}

.guide-tab.is-active {
  color: var(--site-top-bg);
  font-weight: 600;
  border-bottom-color: var(--site-top-bg);
}

.guide-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.guide-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.guide-tool-item:hover {
  background: #f0f7ff;
  border-color: #dbeafe;
}

.guide-tool-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: #eef3ff;
  color: var(--site-top-bg);
}

.guide-tool-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.15rem;
  line-height: 1.35;
}

.guide-tool-item__desc {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.guide-qr-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}

.guide-qr-card__img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  background: #f3f4f6;
}

.guide-qr-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
}

.guide-qr-card__desc {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.4;
}

.guide-course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.guide-course-card {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.guide-course-card:hover {
  box-shadow: var(--shadow-hover);
}

.guide-course-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
}

.guide-course-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-course-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.guide-course-card:hover .guide-course-card__play {
  opacity: 1;
}

.guide-course-card__body {
  padding: 0.625rem 0.75rem;
}

.guide-course-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.35rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-course-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
}

.guide-course-card__price {
  color: #ef4444;
  font-weight: 600;
}

.guide-course-card__price.is-free {
  color: #10b981;
}

.guide-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.guide-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-service-card:hover {
  border-color: #dbeafe;
  box-shadow: 0 2px 8px rgba(5, 41, 255, 0.06);
}

.guide-service-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.guide-service-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
}

.guide-service-card__desc {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.guide-service-card__btn {
  font-size: 0.6875rem;
  color: #fff;
  background: #f97316;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}

.guide-service-card__btn:hover {
  opacity: 0.9;
}

.guide-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.guide-news-item {
  display: flex;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.guide-news-item:hover {
  background: #f9fafb;
}

.guide-news-item__thumb {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  background: #e5e7eb;
}

.guide-news-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-news-item__meta {
  font-size: 0.6875rem;
  color: #9ca3af;
}

.guide-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.guide-file-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.guide-file-card:hover {
  border-color: #dbeafe;
  background: #f9fafb;
}

.guide-file-card__icon {
  width: 44px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}

.guide-file-card__icon--pdf {
  background: #ef4444;
}

.guide-file-card__icon--zip {
  background: #3b82f6;
}

.guide-file-card__icon--ppt {
  background: #f97316;
}

.guide-file-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-file-card__meta {
  font-size: 0.6875rem;
  color: #9ca3af;
}

.guide-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.guide-event-card {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.guide-event-card:hover {
  box-shadow: var(--shadow);
}

.guide-event-card__cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e5e7eb;
}

.guide-event-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-event-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  padding: 0.625rem 0.75rem;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-panel.is-hidden {
  display: none;
}

@media (max-width: 1280px) {
  .guide-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .guide-quick {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .guide-layout {
    flex-direction: column;
  }

  .guide-sidebar {
    width: 100%;
    position: static;
  }

  .guide-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .guide-tool-grid,
  .guide-course-grid,
  .guide-service-grid,
  .guide-event-grid,
  .guide-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-entry-grid,
  .guide-tool-grid,
  .guide-course-grid,
  .guide-service-grid,
  .guide-event-grid,
  .guide-qr-grid,
  .guide-file-grid,
  .guide-news-grid {
    grid-template-columns: 1fr;
  }

  .guide-quick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .guide-search {
    flex-direction: column;
  }

  .guide-search__select {
    width: 100%;
  }
}

/* 作者主页 */
.page-author {
  --author-accent: #ff6600;
}

.author-profile {
  overflow: hidden;
  margin-bottom: 1rem;
}

.author-profile__cover {
  height: 120px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)),
    url('https://picsum.photos/seed/author-cover/1600/400') center / cover no-repeat;
}

.author-profile__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem 1.25rem;
}

.author-profile__identity {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}

.author-profile__avatar {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  margin-top: -60px;
  border-radius: 6px;
  border: 3px solid #fff;
  object-fit: cover;
  background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.author-profile__info {
  min-width: 0;
  padding-top: 0.35rem;
}

.author-profile__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.author-profile__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.author-profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--author-accent);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  line-height: 1.4;
}

.author-profile__bio {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
  max-width: 52rem;
}

.author-profile__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.5rem;
}

.author-profile__btn {
  font-size: 0.875rem;
  line-height: 1.25;
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.author-profile__btn--primary {
  color: #fff;
  background: var(--author-accent);
  border: 1px solid var(--author-accent);
}

.author-profile__btn--primary:hover {
  opacity: 0.92;
}

.author-profile__btn--outline {
  color: var(--author-accent);
  background: #fff;
  border: 1px solid var(--author-accent);
}

.author-profile__btn--outline:hover {
  background: #fff7ed;
}

.author-panel {
  padding: 0;
  overflow: hidden;
}

.author-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.author-tab {
  font-size: 0.875rem;
  color: #6b7280;
  padding: 0.875rem 0;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.author-tab:hover {
  color: var(--author-accent);
}

.author-tab.is-active {
  color: var(--author-accent);
  font-weight: 600;
  border-bottom-color: var(--author-accent);
}

.author-list {
  padding: 0 1.25rem;
}

.author-article {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}

.author-article:last-child {
  border-bottom: none;
}

.author-article:hover {
  background: #fafafa;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.author-article__thumb {
  width: 168px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  background: #e5e7eb;
}

.author-article__body {
  flex: 1;
  min-width: 0;
}

.author-article__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.author-article__title a:hover {
  color: var(--author-accent);
}

.author-article__excerpt {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 0.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.author-article__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.author-article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.author-article__tag {
  color: #6b7280;
}

.author-follow-cta {
  text-align: center;
  padding: 1.5rem 1.25rem 1.75rem;
  border-top: 1px solid #f3f4f6;
}

.author-follow-cta__text {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0 0 0.875rem;
}

.author-follow-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #fff;
  background: var(--author-accent);
  border: 1px solid var(--author-accent);
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.author-follow-cta__btn:hover {
  opacity: 0.92;
}

.author-qr-sidebar {
  padding: 1.25rem 1rem;
  text-align: center;
}

.author-qr-sidebar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem;
}

.author-qr-sidebar__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.author-qr-sidebar__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.author-qr-sidebar__img {
  width: 140px;
  height: 140px;
  margin: 0 auto 0.5rem;
  display: block;
  border-radius: 4px;
  background: #f3f4f6;
}

.author-qr-sidebar__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
}

.author-qr-sidebar__desc {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.4;
}

.author-panel__empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.author-panel__panel.is-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .author-profile__main {
    flex-direction: column;
    align-items: stretch;
  }

  .author-profile__actions {
    padding-top: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .author-profile__main {
    padding: 0 1rem 1rem;
  }

  .author-profile__identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-profile__info {
    padding-top: 0;
  }

  .author-profile__name-row {
    justify-content: center;
  }

  .author-profile__actions {
    justify-content: center;
  }

  .author-article {
    flex-direction: column;
  }

  .author-article__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .author-tabs {
    gap: 0 1rem;
    padding: 0 1rem;
  }

  .author-tab {
    font-size: 0.8125rem;
  }

  .author-list {
    padding: 0 1rem;
  }
}

/* 下载详情页 */
.download-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.download-breadcrumb a:hover {
  color: var(--site-top-bg);
}

.download-breadcrumb__sep {
  color: #d1d5db;
}

.download-detail__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.625rem;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.download-detail__badge--report {
  color: var(--site-top-bg);
  background: #eef3ff;
  border: 1px solid #c7d2fe;
}

.download-detail__badge--resource {
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.download-detail__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.download-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.download-detail__tag {
  font-size: 0.6875rem;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
  line-height: 1.4;
}

.download-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.download-detail__cover-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 3 / 2;
}

.download-detail__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-file-icon {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.download-file-icon--pdf {
  background: #ef4444;
}

.download-file-icon--zip {
  background: #3b82f6;
}

.download-file-icon--ppt {
  background: #f97316;
}

.download-file-icon--xls {
  background: #10b981;
}

.download-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 0.875rem;
}

.download-meta__label {
  display: block;
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.download-meta__value {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.download-detail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--site-top-bg);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.download-detail__btn:hover {
  opacity: 0.92;
}

.download-detail__btn:active {
  transform: translateY(1px);
}

.download-detail__tip {
  font-size: 0.6875rem;
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.download-detail__section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.625rem;
}

.download-detail__desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
}

.download-detail__section {
  margin-bottom: 1.25rem;
}

.download-back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--site-top-bg);
}

.download-back-link:hover {
  opacity: 0.85;
}

.download-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.download-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #4b5563;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  border: 1px solid #f3f4f6;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.download-quick-link i {
  color: var(--site-top-bg);
  width: 1rem;
  text-align: center;
}

.download-quick-link:hover {
  color: var(--site-top-bg);
  background: #f9fafb;
  border-color: #dbeafe;
}

@media (max-width: 1024px) {
  .download-detail__hero {
    grid-template-columns: 1fr;
  }

  .download-detail__aside {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .download-meta {
    grid-template-columns: 1fr;
  }
}

/* 详情页作者栏 */
.detail-author-card {
  padding: 1.25rem 1rem 1.5rem;
}

.detail-author {
  display: block;
  text-align: center;
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.25rem 1rem 1.125rem;
  transition: background 0.2s;
}

.detail-author:hover {
  background: #f3f4f6;
}

.detail-author__avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
}

.detail-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #e5e7eb;
}

.detail-author__verified {
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff6600;
  color: #fff;
  border: 2px solid #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(255, 102, 0, 0.35);
}

.detail-author__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.detail-author:hover .detail-author__name {
  color: var(--site-top-bg);
}

.detail-author__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: #ff6600;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.detail-author__bio {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

/* 头部用户菜单 */
.site-header__user {
  position: relative;
  flex-shrink: 0;
}

.site-header__user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.site-header__user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: block;
  box-sizing: border-box;
}

.site-header__user-btn:hover .site-header__user-avatar,
.site-header__user:focus-within .site-header__user-avatar {
  background: rgba(255, 255, 255, 0.32);
  border-color: #fff;
}

.site-header__user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 156px;
  padding: 0.35rem 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.site-header__user:hover .site-header__user-menu,
.site-header__user:focus-within .site-header__user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__user-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.04);
}

.site-header__user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}

.site-header__user-menu-item i {
  width: 1rem;
  font-size: 0.8125rem;
  color: #9ca3af;
  text-align: center;
}

.site-header__user-menu-item:hover {
  background: #f3f4f6;
  color: var(--site-top-bg);
}

.site-header__user-menu-item:hover i {
  color: var(--site-top-bg);
}

.site-header__user-menu-item--logout {
  color: #6b7280;
  border-top: 1px solid #f3f4f6;
  margin-top: 0.25rem;
  padding-top: 0.65rem;
}

.site-header__user-menu-item--logout:hover {
  color: #dc2626;
}

.site-header__user-menu-item--logout:hover i {
  color: #dc2626;
}

/* 用户中心 / 我的收藏 */
.page-user .user-breadcrumb {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.page-user .user-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.page-user .user-breadcrumb a:hover {
  color: var(--site-top-bg);
}

.uc-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.uc-profile__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 3px solid #f3f4f6;
  flex-shrink: 0;
}

.uc-profile__main {
  flex: 1;
  min-width: 0;
}

.uc-profile__name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.uc-profile__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.uc-profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  line-height: 1.4;
}

.uc-profile__meta {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0;
}

.uc-profile__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.uc-profile__stat {
  text-align: center;
}

.uc-profile__stat-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--site-top-bg);
  line-height: 1.2;
}

.uc-profile__stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.uc-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uc-sidebar-nav__item + .uc-sidebar-nav__item {
  border-top: 1px solid #f3f4f6;
}

.uc-sidebar-nav__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  color: #4b5563;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.uc-sidebar-nav__link i {
  width: 1.125rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

.uc-sidebar-nav__link:hover {
  background: #f9fafb;
  color: var(--site-top-bg);
}

.uc-sidebar-nav__link:hover i {
  color: var(--site-top-bg);
}

.uc-sidebar-nav__link.is-active {
  color: var(--site-top-bg);
  font-weight: 600;
  background: #f0f4ff;
}

.uc-sidebar-nav__link.is-active i {
  color: var(--site-top-bg);
}

.uc-section {
  margin-bottom: 1rem;
}

.uc-section:last-child {
  margin-bottom: 0;
}

.uc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.uc-section__more {
  font-size: 0.8125rem;
  color: #9ca3af;
  text-decoration: none;
}

.uc-section__more:hover {
  color: var(--site-top-bg);
}

.uc-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uc-info-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}

.uc-info-list__item:last-child {
  border-bottom: none;
}

.uc-info-list__label {
  color: #6b7280;
}

.uc-info-list__value {
  color: #111827;
  font-weight: 500;
}

.uc-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uc-recent-item + .uc-recent-item {
  border-top: 1px solid #f3f4f6;
}

.uc-recent-item__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
}

.uc-recent-item__link:hover .uc-recent-item__title {
  color: var(--site-top-bg);
}

.uc-recent-item__thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.uc-recent-item__title {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favorites-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.favorites-header__count {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.favorites-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.favorites-item:last-child {
  border-bottom: none;
}

.favorites-item__link {
  display: flex;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.favorites-item__link:hover .favorites-item__title {
  color: var(--site-top-bg);
}

.favorites-item__thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.favorites-item__body {
  flex: 1;
  min-width: 0;
}

.favorites-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favorites-item__excerpt {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 0 0.625rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favorites-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.favorites-item__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.favorites-item__remove {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: #fff7ed;
  color: #f97316;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.favorites-item__remove:hover {
  background: #ffedd5;
  color: #ea580c;
  transform: scale(1.05);
}

.user-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.user-empty__icon {
  font-size: 2.5rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.user-empty__title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem;
}

.user-empty__desc {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0 0 1.25rem;
}

.user-empty__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: #fff;
  background: var(--site-top-bg);
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.user-empty__btn:hover {
  opacity: 0.9;
  color: #fff;
}

/* 搜索结果页 */
.search-bar__form {
  margin-bottom: 0.75rem;
}

.search-bar__wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar__wrap:focus-within {
  border-color: rgba(5, 41, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(5, 41, 255, 0.08);
  background: #fff;
}

.search-bar__icon {
  color: #9ca3af;
  font-size: 1rem;
  flex-shrink: 0;
}

.search-bar__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  color: #111827;
  outline: none;
  line-height: 1.5;
  padding: 0.5rem 0;
}

.search-bar__input::placeholder {
  color: #9ca3af;
}

.search-bar__submit {
  flex-shrink: 0;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--site-top-bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.search-bar__submit:hover {
  opacity: 0.92;
}

.search-bar__summary {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.search-bar__summary strong {
  color: #111827;
  font-weight: 600;
}

.search-panel {
  overflow: hidden;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  color: #6b7280;
  padding: 0.875rem 0;
  margin-bottom: -1px;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.search-tab:hover {
  color: var(--site-top-bg);
}

.search-tab.is-active {
  color: var(--site-top-bg);
  font-weight: 600;
  border-bottom-color: var(--site-top-bg);
}

.search-tab__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  line-height: 1.4;
  min-width: 1.25rem;
  text-align: center;
}

.search-tab.is-active .search-tab__count {
  color: var(--site-top-bg);
  background: #eef2ff;
}

.search-panel__body {
  min-height: 240px;
}

.search-article-list .list-article:last-child {
  border-bottom: none;
}

.search-highlight {
  background: #fef3c7;
  color: #92400e;
  padding: 0 0.1em;
  border-radius: 2px;
}

.search-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.search-empty__icon {
  font-size: 2.25rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.search-empty__title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem;
}

.search-empty__desc {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0 0 1.25rem;
}

.search-empty__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: #fff;
  background: var(--site-top-bg);
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.search-empty__btn:hover {
  opacity: 0.9;
  color: #fff;
}

.search-tag-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-tag-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.search-tag-card:hover {
  border-color: #c7d2fe;
  background: #f8faff;
  box-shadow: 0 2px 8px rgba(5, 41, 255, 0.06);
}

.search-tag-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--site-top-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.search-tag-card__body {
  flex: 1;
  min-width: 0;
}

.search-tag-card__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.2rem;
}

.search-tag-card:hover .search-tag-card__name {
  color: var(--site-top-bg);
}

.search-tag-card__meta {
  font-size: 0.75rem;
  color: #9ca3af;
}

.search-tag-card__arrow {
  color: #d1d5db;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.search-tag-card:hover .search-tag-card__arrow {
  color: var(--site-top-bg);
}

/* 热门标签列表页 */
.tags-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tags-hero__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tags-hero__title i {
  color: var(--site-top-bg);
}

.tags-hero__desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.tags-hero__stat {
  font-size: 0.875rem;
  color: #6b7280;
  white-space: nowrap;
}

.tags-hero__stat strong {
  color: var(--site-top-bg);
  font-size: 1.125rem;
}

.tags-hero__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.tags-hero__search:focus-within {
  border-color: rgba(5, 41, 255, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 41, 255, 0.08);
}

.tags-hero__search i {
  color: #9ca3af;
  flex-shrink: 0;
}

.tags-hero__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  outline: none;
  padding: 0.5rem 0;
}

.tags-hero__search-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--site-top-bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.tags-filter-row {
  margin-bottom: 0;
}

.tags-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags-rank-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.tags-rank-item:last-child {
  border-bottom: none;
}

.tags-rank-item__badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tags-rank-item__badge--top1 {
  background: #fef3c7;
  color: #d97706;
}

.tags-rank-item__badge--top2 {
  background: #f3f4f6;
  color: #6b7280;
}

.tags-rank-item__badge--top3 {
  background: #ffedd5;
  color: #ea580c;
}

.tags-rank-item__main {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.tags-rank-item__name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.15rem;
}

.tags-rank-item__name i {
  color: #9ca3af;
  font-size: 0.75rem;
}

.tags-rank-item__main:hover .tags-rank-item__name {
  color: var(--site-top-bg);
}

.tags-rank-item__meta {
  font-size: 0.75rem;
  color: #9ca3af;
}

.tags-rank-item__count {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.tags-grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.tags-grid-item:hover {
  border-color: #c7d2fe;
  background: #f8faff;
}

.tags-grid-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.tags-grid-item:hover .tags-grid-item__name {
  color: var(--site-top-bg);
}

.tags-grid-item__count {
  font-size: 0.75rem;
  color: var(--site-top-bg);
  font-weight: 600;
}

.tags-grid-item__cat {
  font-size: 0.6875rem;
  color: #9ca3af;
}

@media (max-width: 640px) {
  .tags-hero__head {
    flex-direction: column;
  }

  .tags-grid {
    grid-template-columns: 1fr;
  }

  .search-bar__wrap {
    padding-left: 0.75rem;
  }

  .search-bar__submit {
    padding: 0.5rem 0.85rem;
  }

  .search-tabs {
    gap: 0 1rem;
    padding: 0 1rem;
  }

  .uc-profile {
    flex-direction: column;
    text-align: center;
  }

  .uc-profile__stats {
    justify-content: center;
  }

  .favorites-item__link {
    flex-direction: column;
  }

  .favorites-item__thumb {
    width: 100%;
    height: 140px;
  }
}

/* ===== 加载更多按钮（dposts-ajax-load）状态样式 ===== */
.article-feed-more__btn.is-loading,
.daily-page__more-btn.is-loading {
  position: relative;
  color: #9ca3af;
  cursor: progress;
  pointer-events: none;
}
.article-feed-more__btn.is-end,
.daily-page__more-btn.is-end {
  color: #d1d5db;
  cursor: default;
  pointer-events: none;
}

/* ===== ThinkPHP Bootstrap 分页适配（amzcm 新版前台） ===== */
/* 让后端 paginate() 默认输出的 <ul class="pagination"> 套上新设计的视觉风格 */
.list-pager-wrap {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.pagination li {
  list-style: none;
}
ul.pagination li > a,
ul.pagination li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.625rem;
  font-size: 0.8125rem;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}
ul.pagination li > a:hover {
  color: var(--site-top-bg, #0033cc);
  border-color: #c7d2fe;
  background: #f8faff;
}
ul.pagination li.active > span {
  color: #fff;
  background: var(--site-top-bg, #0033cc);
  border-color: var(--site-top-bg, #0033cc);
  cursor: default;
}
ul.pagination li.disabled > span {
  color: #d1d5db;
  background: #f9fafb;
  border-color: #f3f4f6;
  cursor: not-allowed;
}
/* 隐藏不存在的 iconfont 图标（新设计未引入 iconfont 字体） */
ul.pagination .iconfont {
  display: none;
}
/* 上一页 / 下一页 用文字箭头替代图标 */
ul.pagination li:first-child > a::after,
ul.pagination li:first-child > span::after {
  content: '‹';
  font-size: 1rem;
  line-height: 1;
}
ul.pagination li:last-child > a::after,
ul.pagination li:last-child > span::after {
  content: '›';
  font-size: 1rem;
  line-height: 1;
}


/* ===== 首页 hero 侧边广告位（banner position=2） ===== */
.hero-tile {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 标题底部渐变显示，带阴影保证可读性 */
.hero-tile__title {
  position: relative;
  z-index: 1;
  margin-top: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
