.outpost-scope {
  --outpost-night: #181b1c;
  --outpost-surface: #232725;
  --outpost-raised: #2d312e;
  --outpost-text: #f3f3ef;
  --outpost-muted: #b7bdb6;
  --outpost-line: #ffffff26;
  --outpost-ember: #e3b87f;
  --outpost-link: #eac899;
  --outpost-gutter: clamp(16px, 4.5vw, 68px);
  --outpost-width: 1184px;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: var(--font-body);
  --blue: var(--outpost-text);
  --soft-blue: var(--outpost-text);
  --muted-blue: var(--outpost-muted);
  --neon-blue: var(--outpost-ember);
  --bright-blue: var(--outpost-ember);
}

.outpost-bar {
  position: relative;
  z-index: 12;
  min-height: 64px;
  border-bottom: 1px solid var(--outpost-line);
  background: var(--outpost-night);
}

.outpost-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 2 * var(--outpost-gutter)), 1360px);
  min-height: 63px;
  margin-inline: auto;
}

.outpost-wordmark {
  justify-self: start;
  color: var(--outpost-text);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -1px;
  text-decoration: none;
}

.outpost-places { display: flex; gap: 6px; align-items: center; }

.outpost-places a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-inline: 12px;
  color: var(--outpost-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms, background-color 160ms;
}

.outpost-places a:hover,
.outpost-places a:focus-visible { color: var(--outpost-text); background: #ffffff0b; }
.outpost-account { justify-self: end; flex: 0 0 auto; }
.outpost-scope :focus-visible { outline: 2px solid var(--outpost-ember); outline-offset: 3px; }

.outpost-scope .auth-widget--mounted .auth-trigger {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding-inline: 10px;
  border: 1px solid var(--outpost-line);
  border-radius: 3px;
  gap: 7px;
  color: var(--outpost-text);
  background: transparent;
  box-shadow: none;
}

.outpost-scope .auth-widget--mounted .auth-trigger:hover,
.outpost-scope .auth-widget--mounted .auth-trigger:focus-visible,
.outpost-scope .auth-widget--mounted.is-open .auth-trigger {
  border-color: var(--outpost-ember);
  background: #ffffff10;
  transform: none;
}

.outpost-scope .auth-trigger-label { color: var(--outpost-text); }
.outpost-scope .auth-initial {
  border-color: #e3b87f65;
  color: var(--outpost-link);
  background: #e3b87f16;
}

.outpost-scope .auth-menu,
.outpost-scope .auth-dialog {
  border-color: #ffffff38;
  color: var(--outpost-text);
  background: #232725;
  box-shadow: 0 16px 42px #0007;
}

.outpost-scope .auth-widget--mounted .auth-menu {
  right: 0;
  left: auto;
  width: min(240px, calc(100vw - 28px));
}

.outpost-scope .auth-dialog { width: min(calc(100% - 28px), 455px); padding: 0; }
.outpost-scope .auth-dialog::backdrop { background: #0c0e0ed0; backdrop-filter: blur(3px); }
.outpost-scope .auth-dialog-content::before { display: none; }
.outpost-scope .auth-view h2 { font-size: 26px; font-weight: 550; }
.outpost-scope .auth-menu-user,
.outpost-scope .auth-role-code,
.outpost-scope .auth-danger { border-color: var(--outpost-line); }
.outpost-scope .auth-menu-button { color: var(--outpost-text); text-shadow: none; }
.outpost-scope .auth-menu-button:hover,
.outpost-scope .auth-menu-button:focus-visible { background: #ffffff12; }
.outpost-scope .auth-owner-button,
.outpost-scope .auth-link { color: var(--outpost-link); }
.outpost-scope .auth-close,
.outpost-scope .auth-view input,
.outpost-scope .auth-view textarea,
.outpost-scope .auth-account-card,
.outpost-scope .auth-role {
  border-color: var(--outpost-line);
  background: var(--outpost-night);
  color: var(--outpost-text);
}

.outpost-scope .auth-close:hover,
.outpost-scope .auth-view input:focus,
.outpost-scope .auth-view textarea:focus { border-color: var(--outpost-ember); box-shadow: none; }

.outpost-scope .auth-view .auth-submit.button,
.outpost-scope .outpost-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--outpost-ember);
  border-radius: 3px;
  color: #241d16;
  background: var(--outpost-ember);
  box-shadow: none;
  font: 600 14px/1.35 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms, border-color 160ms;
}

.outpost-scope .auth-view .auth-submit.button:hover,
.outpost-scope .outpost-action:hover { border-color: #f2d5ac; background: #f2d5ac; }
.outpost-scope .auth-view .auth-submit.button:focus-visible { outline-offset: 3px; }
.outpost-scope .auth-hidden { display: none; }

@media (max-width: 540px) {
  .outpost-bar-inner { gap: 8px; }
  .outpost-wordmark { font-size: 21px; }
  .outpost-places { gap: 2px; }
  .outpost-places a { padding-inline: 6px; font-size: 13px; }
  .outpost-scope .outpost-account .auth-trigger { width: 40px; padding: 0; }
  .outpost-scope .outpost-account .auth-trigger-label,
  .outpost-scope .outpost-account .auth-trigger-chevron { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .outpost-bar *, .outpost-account *, .auth-dialog * { transition: none; }
}
