/* =========================================================================
   星同道 · 共享站点外壳样式
   配合 /shared/site-shell.js 使用，提供统一顶栏（logo + 导航 + 登录态）
   ========================================================================= */
.dy-shell-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: 46px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-5);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}
.dy-shell-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.dy-shell-logo img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  background: #050813;
}
.dy-shell-logo .dy-shell-word {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-gold);
  letter-spacing: 2px;
}
.dy-shell-logo:hover .dy-shell-word { color: var(--color-gold); }
.dy-shell-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.dy-shell-nav::-webkit-scrollbar { display: none; }
.dy-shell-link {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: var(--fs-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all .15s;
}
.dy-shell-link:hover { color: var(--color-gold); background: var(--color-gold-glow); }
.dy-shell-link.active { color: var(--color-gold); background: var(--color-gold-dim); }
.dy-shell-user { display: flex; align-items: center; gap: var(--space-3); white-space: nowrap; }
.dy-shell-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1408; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-family: var(--font-serif);
}
.dy-shell-nick { font-size: 12px; color: var(--color-text); }
.dy-shell-wallet { font-size: 11px; color: var(--color-gold-soft); }
.dy-shell-member-badge {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}
.dy-shell-login { font-size: 12px; }
@media (max-width: 768px) {
  .dy-shell-header { padding: 0 var(--space-3); gap: var(--space-2); }
  .dy-shell-link { padding: var(--space-2); font-size: var(--fs-xs); }
  .dy-shell-nick { display: none; }
}
