/* rpg.art.hax.cloud (RPG me, one of HAX Art's tools): the page is the network bar plus <rpg-me>, which draws
   its own header, content and footer with DDD */
html,
body {
  margin: 0;
  padding: 0;
  color-scheme: light dark;
  background-color: light-dark(#ffffff, #262626);
}
rpg-me:not(:defined) {
  display: block;
  min-height: 100vh;
}

/* first tab stop: past the network bar to the character builder (WCAG 2.4.1) */
/* outranks DDD's global body a:any-link colors */
body > a.skip-link[href] {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1000;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: light-dark(#ffffff, #262626);
  color: light-dark(#001e44, #ffffff);
  transform: translateY(-200%);
}
body > a.skip-link[href]:focus {
  transform: none;
  outline: 2px solid currentColor;
}
rpg-me:focus {
  outline: none;
}
