/* Portal nav bridge — 墨金仪轨（无玻璃堆叠） */
.portal-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0c0c0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.portal-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(230,199,106,0.45), transparent 70%);
}
.portal-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.portal-bar a.portal-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ebe6dc;
  text-decoration: none;
  font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.88rem;
}
.portal-bar a.portal-home:hover { color: #f0d78c; text-decoration: none; }
.portal-bar .mark {
  width: 26px; height: 26px;
  border: 1px solid rgba(230, 199, 106, 0.45);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 400;
  font-family: "Instrument Serif", Georgia, serif;
  color: #f0d78c;
  background: transparent;
}
.portal-bar .sub {
  font-size: 0.65rem;
  color: #6a655c;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: none;
  margin-left: 2px;
}
.portal-links {
  display: flex; flex-wrap: wrap; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.portal-links a {
  display: block;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #9c968a;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.portal-links a:hover { color: #ebe6dc; border-color: rgba(255,255,255,0.06); text-decoration: none; }
.portal-links a.is-active {
  color: #f0d78c;
  border-color: rgba(201, 162, 39, 0.22);
}
.site-header .brand a { color: inherit; text-decoration: none; }
.site-header .brand a:hover { text-decoration: none; color: #f0d78c; }

.toolbar.is-stuck,
.toolbar {
  top: 49px;
}
@media (max-width: 640px) {
  .toolbar.is-stuck,
  .toolbar { top: 0; }
  .portal-bar { position: relative; }
}
