/* shared.css — reset, header, navigation (all pages) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

#header {
  background: #1a1a2e; color: #fff; height: 44px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
  position: relative; z-index: 2000;
}
.header-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand {
  font-size: 14px; font-weight: 700; white-space: nowrap; margin: 0;
  line-height: 1.05;
}
.brand a { color: #fff; text-decoration: none; }
.brand-tag {
  display: block; font-weight: 400; font-size: 11px;
  opacity: 0.6; letter-spacing: 0.3px; margin-top: 1px;
}
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-disclaimer {
  flex: 1; text-align: center; font-size: 12px; color: #fff37f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 12px;
}

#nav { display: flex; align-items: center; gap: 8px; position: relative; margin-left: 6px; }

.nav-menu-toggle {
  background: none; border: none; color: #a0a0b0; font-size: 18px;
  cursor: pointer; padding: 2px 4px; line-height: 1;
}
.nav-menu-toggle:hover { color: #fff; }
.nav-menu {
  display: none; position: absolute; top: 34px; left: 0;
  background: #1a1a2e; border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); min-width: 160px; z-index: 100;
}
.nav-menu.open { display: block; }
.nav-menu .header-link {
  display: block; padding: 10px 16px; font-size: 13px; color: #a0a0b0; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-menu .header-link:hover { color: #fff; }
.nav-menu .header-link.active { color: #fff; font-weight: 600; }
.nav-menu .header-link:last-child { border-bottom: none; }

@media (max-width: 600px) {
  .header-disclaimer { display: none; }
}
