/* The only stylesheet every skin shares (skins/README.md). Everything else a page wears is its skin's own
   skins/<id>/skin.css. `:where()` keeps these at no specificity, so any rule of a skin wins. */
:where(*, ::before, ::after) {
  box-sizing: border-box;
}
:where(html, body) {
  margin: 0;
}
/* a skin with no night version stays light whatever the browser prefers */
:where(html) {
  color-scheme: light dark;
}
:where(html:has([data-skin][data-night="false"])) {
  color-scheme: light;
}
/* the one thing a page holds unseen: what a screen shows once a wait is over (lib/skin/render.ts, `unless: "wait"`).
   Not in :where(): a skin's `display` on the element must not show it early. */
[hidden] {
  display: none !important;
}
