:root { --blau:#1F5FAF; --tinte:#1E2A3A; --grau:#5b6b7d; --grund:#fff; --rand:#c9d3df; --fehler:#c23; }
@media (prefers-color-scheme: dark) { :root { --blau:#5b9be6; --tinte:#e8eef6; --grau:#9fb0c3; --grund:#10161d; --rand:#2c3a49; --fehler:#ff7b7b; } }
* { box-sizing: border-box; }
html, body { margin:0; background:var(--grund); color:var(--tinte); font:16px/1.5 system-ui, sans-serif; }
main { max-width:26rem; margin:0 auto; padding:2.5rem 1rem 4rem; }
header { text-align:center; margin-bottom:1.5rem; }
header img { width:72px; height:72px; }
h1 { margin:.5rem 0 .25rem; font-size:1.5rem; }
h2 { font-size:1.15rem; margin:0 0 1rem; }
p { color:var(--grau); margin:.25rem 0; }
.status { display:inline-block; margin-top:.75rem; padding:.2rem .8rem; border-radius:999px; border:1px solid var(--grau); font-size:.85rem; color:var(--tinte); }
.status.ok { border-color:var(--blau); color:var(--blau); }
.status.fehler { border-color:var(--fehler); color:var(--fehler); }
section { border:1px solid var(--rand); border-radius:12px; padding:1.25rem; margin-top:1rem; }
label { display:block; margin:.75rem 0 .25rem; font-weight:600; }
input { width:100%; padding:.6rem .7rem; font:inherit; color:var(--tinte); background:var(--grund); border:1px solid var(--rand); border-radius:8px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline:3px solid var(--blau); outline-offset:2px; }
button { font:inherit; font-weight:600; cursor:pointer; margin-top:1rem; width:100%; padding:.65rem; border:0; border-radius:8px; background:var(--blau); color:#fff; }
@media (prefers-color-scheme: dark) { button { color:#0b1118; } }
button.zweit { background:transparent; color:var(--blau); border:1px solid var(--blau); }
button.gefahr { background:var(--fehler); color:#fff; }
button:disabled { opacity:.6; cursor:wait; }
nav { display:flex; justify-content:space-between; gap:.5rem; margin-top:1rem; font-size:.9rem; }
nav a { color:var(--blau); }
#meldung { margin-top:1rem; padding:.6rem .8rem; border-radius:8px; border:1px solid var(--rand); }
#meldung.ok { border-color:var(--blau); }
#meldung.fehler { border-color:var(--fehler); color:var(--fehler); }
.hinweis { font-size:.85rem; }
#f-verlauf { display:flex; flex-direction:column; gap:.5rem; margin:.75rem 0; }
.blase { padding:.5rem .75rem; border-radius:12px; max-width:90%; white-space:pre-wrap; overflow-wrap:anywhere; border:1px solid var(--rand); }
.blase.nutzer { align-self:flex-end; border-color:var(--blau); }
#f-liste { padding-left:1.1rem; margin:.25rem 0; font-size:.9rem; }
[hidden] { display:none !important; }
