/* Light/dark switch button in the header (js/theme.js). site.css is untouched. */
/* The button sits in the very top-right corner of the page (it scrolls away with the header).
   Where the menu would run under it (mid-width screens with the menu beside the name), the header
   leaves room for it; on phones the menu wraps under the name, and on wide screens the page column
   ends well before the corner. */
@media (min-width: 40rem) and (max-width: 76rem) { .site-head { padding-right: calc(var(--gutter) + 2.5rem); } }
.theme-toggle {
  position: absolute; right: .75rem; top: .75rem; z-index: 5;
  width: 2.1rem; height: 2.1rem; padding: 0;
  border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; color: var(--ink);
  font: 1.05rem/1 system-ui, sans-serif; cursor: pointer;
}
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--brass); color: var(--brass); }
.theme-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media print { .theme-toggle { display: none; } }

/* Holiday gold follows the chosen theme, not only the system setting (holiday.css). */
:root[data-theme="dark"] .holiday { --hd-gold: #d4a64a; }
:root[data-theme="light"] .holiday { --hd-gold: #b8892f; }
