:root {
  color-scheme: dark;
  --mv-bg: #0E0D0B;
  --mv-nav: var(--mv-bg);
  --mv-card: #191815;
  --mv-raised: #302D26;
  --mv-inset: var(--mv-raised);
  --mv-selected: #493A26;
  --mv-border: #6B604E;
  --mv-divider: var(--mv-border);
  --mv-control-border: var(--mv-border);
  --mv-text: #FFFAF0;
  --mv-muted: #E3D9C7;
  --mv-soft: var(--mv-muted);
  --mv-blue: #FFD185;
  --mv-action: var(--mv-blue);
  --mv-action-hover: var(--mv-text);
  --mv-on-action: var(--mv-bg);
  --mv-focus-ring: var(--mv-blue);
  --mv-orange: #FF5A1F;
  --mv-peach: #FF9A6B;
  --mv-warm-bg: #382720;
  --mv-warm-border: #88503B;
  --mv-danger-bg: #382327;
  --mv-danger-text: #FFB7AC;
  --mv-on-orange: #0B1220;
  --mv-danger-border: #956865;
}
:root[data-tema="claro"] {
  color-scheme: light;
  --mv-bg: #f1f5fa;
  --mv-nav: #102039;
  --mv-card: #ffffff;
  --mv-raised: #e3ebf4;
  --mv-inset: #f7f9fc;
  --mv-selected: #dbe9fb;
  --mv-border: #c3cfdd;
  --mv-divider: #dce4ee;
  --mv-control-border: #6b8099;
  --mv-text: #14243b;
  --mv-soft: #2a415c;
  --mv-muted: #495e77;
  --mv-blue: #184e86;
  --mv-action: var(--mv-orange);
  --mv-action-hover: var(--mv-peach);
  --mv-on-action: var(--mv-on-orange);
  --mv-focus-ring: var(--mv-peach);
  --mv-orange: #ad3a0e;
  --mv-peach: #913209;
  --mv-on-orange: #ffffff;
  --mv-warm-bg: #fff0e4;
  --mv-warm-border: #c66e46;
  --mv-danger-bg: #fce8e4;
  --mv-danger-text: #932d24;
  --mv-danger-border: #aa534b;
}
::selection {
  color: var(--mv-on-action);
  background: var(--mv-focus-ring);
}

.marca-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--marca-texto, var(--mv-text));
  text-decoration: none;
  white-space: nowrap;
}
.marca-simbolo {
  display: block;
  flex: none;
  width: 43px;
  height: 41px;
  object-fit: cover;
  border-radius: 9px;
}
.marca-escrita {
  display: grid;
  gap: 5px;
  line-height: 1;
}
.marca-escrita strong {
  font-size: 16px;
  letter-spacing: .5px;
  font-weight: 750;
  text-transform: uppercase;
}
.marca-escrita small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--marca-descricao, var(--mv-muted));
}
.tema-escolha {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  padding: 2px;
  border: 1px solid var(--mv-control-border);
  border-radius: 8px;
  background: var(--mv-card);
}
.tema-escolha[hidden] { display: none; }
.tema-escolha button.tema-opcao {
  font: 600 12px/1.3 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--mv-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  margin: 0;
  padding: 6px 8px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.tema-escolha button.tema-opcao:hover {
  background: var(--mv-raised);
  color: var(--mv-text);
}
.tema-escolha button.tema-opcao[aria-pressed="true"] {
  background: var(--mv-selected);
  color: var(--mv-blue);
  box-shadow: inset 0 -2px var(--mv-action);
}
.tema-escolha button.tema-opcao:focus-visible {
  outline: 3px solid var(--mv-focus-ring);
  outline-offset: 1px;
  position: relative;
  z-index: 1;
}
.tema-opcao svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 480px) {
  .tema-escolha button.tema-opcao { padding: 5px 7px; }
  .tema-escolha button.tema-opcao svg { display: none; }
}
@media (forced-colors: active) {
  .tema-escolha button.tema-opcao[aria-pressed="true"] { border: 2px solid Highlight; }
}
