/* Apollo OS 环境条（Beta / 开发原型） */
.portal-env-bar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  flex-shrink: 0;
}

body[data-env="beta"] .portal-env-bar {
  background: #6366f1;
  color: #fff;
}

body[data-env="dev"] .portal-env-bar {
  background: #f59e0b;
  color: #1c1917;
}

body.has-portal-env-bar .portal-hero {
  padding-top: calc(120px + 28px);
}

.portal-footer-build {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.apollo-icp-link {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  opacity: 0.85;
}

.apollo-icp-link:hover {
  text-decoration: underline;
  opacity: 1;
}

.portal-footer-icp {
  margin: 6px 0 0;
  text-align: right;
}

.auth-icp {
  margin: 20px 0 0;
  text-align: center;
}

.auth-icp .apollo-icp-link {
  color: var(--text-muted, #64748b);
  font-size: 11px;
}

.portal-docs-icp {
  margin: 28px 0 0;
  text-align: center;
}

.portal-docs-icp .apollo-icp-link {
  color: var(--text-muted, #64748b);
}

.pro-sidebar-icp {
  margin: 8px 0 0;
  padding: 0 14px;
  text-align: center;
}

.pro-sidebar-icp .apollo-icp-link {
  font-size: 10px;
  color: var(--pro-text-secondary, #94a3b8);
}

.uc-icp,
.bt-icp,
.lite-sidebar-icp,
.adm-icp {
  margin: 16px 0 0;
  text-align: center;
}

.uc-icp .apollo-icp-link,
.bt-icp .apollo-icp-link,
.lite-sidebar-icp .apollo-icp-link,
.adm-icp .apollo-icp-link {
  font-size: 11px;
  color: var(--text-muted, #64748b);
}

body.has-auth-env-bar .auth-main {
  padding-top: 8px;
}

.apollo-beta-agent-hint {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}
