/* layout.css — 顶部导航 / 页脚 / 容器 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  height: var(--header-height);
  background: rgba(11, 15, 26, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { position: relative; display: flex; align-items: center; height: 100%; }

/* 导航：整页绝对居中 */
.site-nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 30px;
}
.nav-link { color: var(--text-secondary); transition: color .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text-on-dark); }

/* 右侧：品牌（死的）+ 用户区 */
.header-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* 品牌：纯展示，不可点击 */
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 700; color: var(--color-primary-light);
  white-space: nowrap; cursor: default;
}
.logo-mark { width: 27px; height: 27px; flex: 0 0 auto; }

.page-main { margin-top: 24px; }

/* 贴屏幕最右边：脱离 1200 容器限制（首页登录注册、控制台退出登录） */
.edge-right {
  position: fixed; right: 20px; top: 0; z-index: 11;
  height: var(--header-height); display: flex; align-items: center;
}

.site-footer {
  margin-top: 60px; padding: 30px 0; text-align: center;
  color: var(--text-secondary); font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.06);
}
