:root { color-scheme: dark; font: 1rem/1.25 system-ui, sans-serif; }
* { box-sizing: border-box; }
body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #080a0a;
  color: #f6f4e7;
}
header {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr);
  align-items: center;
  column-gap: .4rem;
  background: #10120e;
  box-shadow: inset 0 -1px #383d30;
  padding: env(safe-area-inset-top) max(.5rem, env(safe-area-inset-right)) 0 max(.5rem, env(safe-area-inset-left));
}
h1 { font-size: .875rem; margin: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
nav { display: flex; }
a, button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: 0 .45rem;
  background: transparent;
  border: 0;
  color: #cef275;
  font: 650 .875rem/1 system-ui, sans-serif;
  text-decoration: none;
  touch-action: manipulation;
  cursor: pointer;
}
button { justify-self: end; }
button[hidden], #notice:empty { display: none; }
#notice { grid-column: 1 / -1; padding: .3rem; font-size: .8rem; text-align: right; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
iframe { display: block; width: 100%; height: 100%; border: 0; }
