/* Anmeldeseite: gleiche Steinoptik wie die Karte, ohne Karte und ohne Skripte außer der Tag/Nacht-Wahl */
@font-face { font-family: "Jersey UI"; src: url("/fonts/jersey10.woff2?v=1.0.2") format("woff2"); size-adjust: 120%; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/fonts/atkinson-next.woff2?v=1.0.2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --text: #f6f2e6; --muted: #d1ccbd; --gold: #f2c230; --accent: #ff6a55; --panel: #353534; --frame: #111;
  --sky1: #8fc3ee; --sky2: #d8ecf8; --ground: #5f9a3b;
  color-scheme: dark;
}
:root[data-mode="night"] { --panel: #232322; --sky1: #0b1426; --sky2: #1b2740; --ground: #1b2c14; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  display: grid; place-items: center; padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  font: 16px/1.4 "Jersey UI", ui-sans-serif, system-ui, sans-serif; color: var(--text); font-synthesis-weight: none;
  background: linear-gradient(var(--sky1), var(--sky2) 62%, var(--ground) 62%, var(--ground)); background-attachment: fixed;
}
.panel {
  background: url("/textures/ui-stone.png?v=1.0.2") 0 0 / 64px 64px repeat, var(--panel); image-rendering: pixelated;
  border: 3px solid var(--frame);
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .26), inset -3px -3px 0 rgba(0, 0, 0, .55), 0 6px 0 rgba(0, 0, 0, .35);
}
:root[data-mode="night"] .panel { background: url("/textures/ui-stone-dark.png?v=1.0.2") 0 0 / 64px 64px repeat, var(--panel); }
.karte { width: min(100%, 420px); padding: 24px 22px 18px; text-align: center; }
.logo { image-rendering: pixelated; display: block; margin: 0 auto 6px; }
h1 { margin: 4px 0 6px; font-size: 30px; letter-spacing: .02em; text-shadow: 3px 3px 0 rgba(0, 0, 0, .5); }
.unter { margin: 0 0 18px; color: var(--muted); }
form { display: grid; gap: 6px; text-align: left; }
label { font-weight: 600; margin-top: 8px; }
label span { font-weight: 400; color: var(--muted); font-size: 14px; }
input {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 3px solid var(--frame); border-radius: 0;
  background: #1c1c1b; color: var(--text); font: 17px/1.2 "Atkinson Next", system-ui, sans-serif;
  box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .5);
}
input:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.meldung { min-height: 1.4em; margin: 8px 0 4px; color: var(--accent); font-weight: 600; }
.meldung:empty { min-height: 0; margin: 0; }
.stone-btn {
  min-height: 52px; border: 3px solid var(--frame); border-radius: 0; color: #fff; cursor: pointer;
  font: 18px/1 "Jersey UI", system-ui, sans-serif; text-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
  background: url("/textures/ui-button.png?v=1.0.2") 0 0 / 64px 64px repeat, #727271; image-rendering: pixelated;
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .38), inset -3px -4px 0 rgba(0, 0, 0, .45);
}
.stone-btn.primary { background: url("/textures/ui-button.png?v=1.0.2") 0 0 / 64px 64px repeat, #9be07a; background-blend-mode: multiply; }
.stone-btn:active { background-image: url("/textures/ui-button-down.png?v=1.0.2"); box-shadow: inset 3px 4px 0 rgba(0, 0, 0, .45); }
.klein { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: left; }
