/* Login-Bildschirm vor der App */
.authgate { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px 18px; overflow-y: auto; }
.authgate[hidden] { display: none; }
.authbox { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; animation: up .3s ease; }
.authbox .hub-title { margin: 0; }
.authsub { margin: 0 0 8px; color: var(--muted); }
/* Felder mit Mono-Label in Versalien darüber */
.authbox { position: relative; }
.authclose { position: absolute; top: 0; right: 0; }
.authlbl { display: flex; flex-direction: column; gap: 6px; }
.authlbl[hidden], .authlinks[hidden], #authForm[hidden], .authtabs[hidden] { display: none; }
.authlbl > span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.authcode { font-family: var(--mono); font-size: 24px; letter-spacing: .4em; text-align: center; }
.authlinks { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.authlinks .linkbtn { margin: 0; font-size: 14px; }
.authlinks .linkbtn:disabled { color: var(--muted); cursor: default; }
.authtabs { display: flex; gap: 6px; }
.authtabs button { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; cursor: pointer; }
.authtabs button.on { color: var(--text); border-color: var(--text); }
#authForm { display: flex; flex-direction: column; gap: 10px; }
#authForm .btn { padding: 14px; }
.autherr { margin: 0; color: var(--bad, #e5484d); font-size: 14px; }
.authhint { margin: 0; color: var(--muted); font-size: 14px; }
.authhint[hidden] { display: none; }
.authgoogle { padding: 14px; }
.authgoogle[hidden] { display: none; }
.authguest { margin-top: 6px; padding: 12px; border: none; background: none; color: var(--text); font: inherit; text-decoration: underline; cursor: pointer; }
.authnote { text-align: center; color: var(--muted); }
/* Konto-Fenster */
.accid { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 16px; }
.accid small { color: var(--muted); }
.toggle.danger, .toggle.danger span { color: var(--bad, #e5484d); }
.accconfirm { margin-top: 12px; padding: 14px; border: 1px solid var(--bad, #e5484d); border-radius: 14px; }
.accconfirm p { margin: 0 0 12px; }
.dangerbtn { background: var(--bad, #e5484d); color: #fff; border-color: transparent; }
.accconfirm .authlbl { margin-bottom: 12px; }
.profacc { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
/* Auge im Passwortfeld: zeigt alle Passwörter, die Wahl bleibt gespeichert */
.passwrap { position: relative; display: block; }
.passwrap .field { padding-right: 48px; }
.passeye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.passeye[aria-pressed="true"] { color: var(--text); }
.passeye[aria-pressed="true"] .passeye-x { display: none; }
