/* Preserve the approved artwork and transparent edges. Night uses a pale gold ink. */
img.mr-wordmark {
  display: block;
  width: 120px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(91%) sepia(27%) saturate(465%) hue-rotate(342deg) brightness(104%);
}
.footer img.mr-wordmark { width: 148px; }
html[data-theme="light"] img.mr-wordmark { filter: none; }
@media (max-width: 600px) {
  .brand img.mr-wordmark { width: 106px; }
  .footer img.mr-wordmark { width: 136px; }
}
/* On a narrow phone the logo competes with Menu, Cart and two theme labels.
   Present the switch as the action available: Day at night, Night during the day. */
@media (max-width: 420px) {
  .header .theme-switch button[aria-pressed="true"] { display: none; }
  .header .theme-switch { margin-inline-start: 0; }
  .header .theme-switch button { min-height: 36px; }
}
@media (max-width: 340px) {
  .header .wrap { width: 100%; padding-inline: max(10px, env(safe-area-inset-left)); gap: 2px; }
  .header .tools { gap: 2px; }
  .header .mr-cart-open { padding-inline: 7px; }
  .header .theme-switch button { padding-inline: 6px; }
}
