*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  color: #e8e8e8;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}
.card {
  text-align: center;
  padding: 3rem 4rem;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: #131313;
  min-width: 22rem;
}
h1 { font-size: 2rem; font-weight: 300; letter-spacing: 0.2em; color: #c8a96e; }
p  { margin-top: 1rem; font-size: 0.8rem; color: #555; }
.userbar {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.7rem;
  color: #777;
  z-index: 10;
}
.userbar a { color: #c8a96e; text-decoration: none; }
.userbar a:hover { text-decoration: underline; }
.admin-bat {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -2px;
  margin-right: 0.35rem;
}
.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid #c8a96e;
  border-radius: 4px;
  color: #c8a96e;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.btn:hover { background: #c8a96e; color: #0d0d0d; }
.err { color: #c46e6e; }

/* Admin Easter egg: hidden by default, fades in only while an admin
   holds Ctrl+Shift (see the keydown/keyup wiring in renderAuthed). */
.maze-egg {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 64px;
  height: auto;
  opacity: 0.55;
  cursor: pointer;
  z-index: 40;
  display: none;
  transition: opacity 0.15s ease-out;
}
.maze-egg:hover { opacity: 1; }
body.maze-active .maze-egg { display: block; }

.admin-back {
  margin-top: 1.5rem;
  font-size: 0.75rem;
}

[x-cloak] { display: none !important; }
