/* Theme toggle (the light palette for the rest of the site is generated into light-theme.css). */
.av-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #ffffff; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.av-theme-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.av-theme-toggle__sun { display: none; }
.av-theme-toggle__moon { display: block; }
:root[data-theme="light"] .av-theme-toggle__sun { display: block; }
:root[data-theme="light"] .av-theme-toggle__moon { display: none; }

/* Hero and card art: the dark picture is the default; light theme shows its light partner. */
img.av-art--light { display: none !important; }
:root[data-theme="light"] img.av-art--light { display: block !important; }
:root[data-theme="light"] img.av-art--dark { display: none !important; }
