:root {
  color-scheme: light;
  --picker-bg: #efe2c4;
  --picker-ink: #344c3b;
  --picker-line: #9e987c;
  --picker-focus: #a03c16;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --night-page: #30291f;
  --night-edge: #211c17;
  --night-panel: #393127;
  --night-inset: #231f1a;
  --night-raised: #453a2d;
  --night-ink: #f2e3c3;
  --night-muted: #c9b89c;
  --night-line: #9c896a;
  --night-divider: #675740;
  --night-leaf: #d6bd8c;
  --night-on-leaf: #30261b;
  --night-rust: #dc9b75;
  --picker-bg: #393127;
  --picker-ink: #f2e3c3;
  --picker-line: #9c896a;
  --picker-focus: #dc9b75;
  background: var(--night-edge);
}
twigged-theme {display: inline-flex; flex: none; vertical-align: middle}
twigged-theme:not(:defined) {visibility: hidden}
twigged-theme button.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; min-width: 76px; margin: 0; padding: 8px 12px;
  background: var(--picker-bg); color: var(--picker-ink);
  border: 1px solid var(--picker-line); border-radius: 24px;
  font: 600 14px/1.1 Georgia, serif; cursor: pointer;
}
twigged-theme svg {width: 16px; height: 16px; flex: none}
twigged-theme button:hover {text-decoration: underline; text-underline-offset: 3px}
twigged-theme button:focus-visible {outline: 2px solid var(--picker-focus); outline-offset: 3px}
.mast-inner twigged-theme,.masthead twigged-theme {margin-left: auto}
.mast-inner twigged-theme {margin-right: 8px}
@media(max-width: 500px) {
  .mast-inner twigged-theme {margin-right: 0}
  twigged-theme button.theme-toggle {min-width: 70px; padding-inline: 9px}
}
@media(forced-colors: active) {
  twigged-theme button {border-color: ButtonText}
}

html[data-theme="dark"] img[src$="/art/wren.webp"],
html[data-theme="dark"] .bird-art.mascot {
  background-color:#e7dbc2;
  background-blend-mode:normal;
  mix-blend-mode:normal;
  filter:none;
  border-radius:50% / 44%;
  padding:clamp(4px, 1.4%, 10px);
  box-sizing:border-box;
  background-origin:content-box;
}
