/* 备案版静态站专用样式（由构建脚本复制到站点根目录；不影响原平台页面） */

/* 1. 不显示右上角与手机菜单里的"登录"入口（静态站没有登录功能） */
#headerCta,
#mobileHeaderCta {
  display: none !important;
}

/* 2. 点击测评入口时出现在导航栏正上方的提示条（不遮挡导航栏本身） */
.yc-static-toast {
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 9999;
  transform: translate(-50%, -16px);
  max-width: calc(100vw - 32px);
  padding: 13px 26px;
  border: 1px solid rgba(197, 160, 89, 0.65);
  border-radius: 999px;
  background: #0B192C;
  color: #C5A059;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 34px rgba(11, 25, 44, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.yc-static-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 3. 页脚备案号（备案通过并填写配置后才会出现） */
.footer-bottom .icp-number {
  margin: 0 0 6px;
  text-align: center;
  font-size: 0.8125rem;
}
.footer-bottom .icp-number a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom .icp-number a:hover {
  text-decoration: underline;
}
.footer-bottom .icp-number .police-record {
  margin-left: 14px;
}
/* 电脑端页脚底栏是横向不换行排列：让备案号独占一整行并居中，版权与条款仍分列左右 */
@media (min-width: 769px) {
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-bottom .icp-number {
    flex: 0 0 100%;
  }
}

/* 4. 手机端提示条位置（导航栏高约 80px，提示条放它正下方）。
      团队版与优势解读服务两页的手机排版修法已同步进原平台页面（2026-11-29，
      youcai-frontend/team.html、analysis-intro.html 的本地样式块），静态站构建从源页面继承，此处不保留副本。 */
@media (max-width: 768px) {
  .yc-static-toast {
    top: 90px;
    font-size: 0.875rem;
    padding: 11px 20px;
  }
}
