* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Drop the generated wallpaper at this path and it just shows up — no code
     change needed. Until then the file 404s and the flat navy fallback shows. */
  background: #04223d url("assets/backgrounds/wallpaper.jpg") center / cover no-repeat fixed;
  color: #eaf4ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#admin-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10;
  padding: 0.4rem 0.8rem;
  background: #ffb703;
  color: #04223d;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
}
#admin-link:hover { background: #ffc93c; }

#login-screen {
  text-align: center;
  max-width: 320px;
}

#login-screen h1 {
  font-size: 1.4rem;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#login-form input, #login-form button {
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #3a6ea5;
}

#login-form button {
  background: #ffb703;
  color: #04223d;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.error {
  color: #ff6b6b;
  min-height: 1.2em;
}

#game-root {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
