@font-face { font-family: "Mono"; src: url("/fonts/mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root { --bg: #030303; --ink: #ece6da; --dim: #6f6a62; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body { -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }

#atom { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; touch-action: none; opacity: 0; transition: opacity 3.5s ease; }
#atom.on { opacity: 1; }

.mark, .state {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom));
  margin: 0;
  font-family: "Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}
.mark { left: max(28px, env(safe-area-inset-left)); color: var(--ink); }
.state { right: max(28px, env(safe-area-inset-right)); color: var(--dim); letter-spacing: 0.12em; text-transform: none; transition: opacity 2s ease; }

body.nogl { background: #030303 url("/og.png") center / cover no-repeat; }

@media (max-width: 520px) {
  .mark, .state { bottom: max(22px, env(safe-area-inset-bottom)); font-size: 10px; }
  .mark { left: 18px; }
  .state { right: 18px; }
}
@media (prefers-reduced-motion: reduce) { #atom { transition: none; } }
@media (max-width: 380px) {
  .state { bottom: auto; top: max(22px, env(safe-area-inset-top)); }
}

a.mark { text-decoration: none; pointer-events: auto; }
.nowhere { position: fixed; inset: 0; margin: 0; display: grid; place-items: center; font-family: "Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }
