/* Triad palette shared by public, account, and administration pages. */
:root {
  color-scheme: dark;
  --brand-bg: #0b1020;
  --brand-panel: #121a2e;
  --brand-raised: #18233b;
  --brand-border: #293754;
  --brand-border-strong: #405278;
  --brand-text: #f2f5ff;
  --brand-muted: #a7b4d0;
  --brand-subtle: #8394b5;
  --brand-primary: #7148e8;
  --brand-primary-hover: #7950e8;
  --brand-violet: #ad8aff;
  --brand-cyan: #26dbe5;
  --brand-coral: #ff746e;
  --brand-gold: #ffb449;
  --brand-tint: #211b42;
  --brand-action: linear-gradient(120deg, #7148e8, #425eeb);
}

::selection { background: #7148e880; color: #fff; }

/* The approved Triad artwork keeps its synchronized vertical gradients.
   Picture sources provide a still image when reduced motion is requested. */
.obsidian-brand-mark {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 11px;
  line-height: 0;
}

.obsidian-brand-mark > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  transform: scale(1.6);
}

.sidebar-studio .brand-symbol {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}

.admin-access-state > .obsidian-brand-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

@media (max-width: 780px) {
  .auth-brand .obsidian-brand-mark { width: 36px; height: 36px; }
}

@media (max-width: 600px) {
  .brand .obsidian-brand-mark { width: 36px; height: 36px; }
}
