/* Marca Gowit sobre el tema "purple" de Scalar. */
:root {
  --gw-header-height: 56px;
  --scalar-custom-header-height: var(--gw-header-height);
  --gw-bg: #181818;
  --gw-fg: #f5f5f7;
  --gw-accent: #8b7cff;
}
html, body { margin: 0; background: var(--gw-bg); }
.gw-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--gw-header-height); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; background: var(--gw-bg); color: var(--gw-fg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.gw-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.gw-logo { height: 26px; width: auto; filter: invert(1); }
.gw-title { opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-nav { display: flex; gap: 16px; }
.gw-nav a { color: var(--gw-fg); opacity: 0.8; text-decoration: none; white-space: nowrap; }
.gw-nav a:hover { opacity: 1; color: var(--gw-accent); }
.dark-mode { --scalar-color-accent: var(--gw-accent); --scalar-background-1: #181818; --scalar-background-2: #1f1f22; --scalar-background-3: #26262b; }
.light-mode { --scalar-color-accent: #5b45e0; }
@media (max-width: 560px) { .gw-title { display: none; } .gw-nav a:last-child { display: none; } }
