/* Konten: Anmeldefenster, Profil, Nutzerliste */
/* Blanke Anmeldeseite: deckt die ganze Seite lückenlos ab (nichts scheint durch, kein Logo) */
.login-hinter {
  position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: #0b0b0d;
}
.login-hinter.zu { opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.login-fenster {
  width: min(380px, 100%); display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 22px;
  background: #141417; border: 1px solid rgba(255,255,255,.09); border-radius: 26px;
}
/* Passwort-Fenster */
.pw-zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pw-code { font-size: 20px; letter-spacing: .1em; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.07); user-select: all; word-break: break-all; }
.pw-haken { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; margin-bottom: 8px; }
.login-hinweis { margin: 0; text-align: center; }
.login-reiter { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); }
.login-reiter button { flex: 1; justify-content: center; border: 0; background: transparent; border-radius: 999px; }
.login-reiter button.active { background: var(--pill); color: var(--pill-ink); }
.konto-feld { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.konto-feld input { width: 100%; box-sizing: border-box; }
.login-fenster button.primary { margin-top: 6px; justify-content: center; }
.konto-fehler { min-height: 18px; font-size: 12px; color: var(--bad); }
.konto-ok { min-height: 18px; font-size: 12px; color: var(--ok); }

/* Profil */
.modal-konto { width: min(780px, 100%); }
.konto-reiter { display: inline-flex; margin-bottom: 12px; }
.konto-reiter button { flex: none; padding: 5px 16px; }
.konto-zaehler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.konto-zaehler > div { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.04); }
.konto-zaehler b { font-size: 18px; font-weight: 600; }
.konto-zaehler span { font-size: 11px; color: var(--muted); }
.konto-titel { margin: 16px 0 6px; font-size: 13px; font-weight: 600; }
.modal-konto .konto-feld { margin: 6px 0; }
.konto-codes { display: flex; flex-direction: column; gap: 6px; }
.konto-code { display: flex; align-items: center; gap: 8px; }
.konto-code code { font-size: 15px; letter-spacing: .12em; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.konto-code button { padding: 3px 10px; }
.konto-tabelle-rahmen { overflow-x: auto; max-height: 50vh; overflow-y: auto; }
.konto-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.konto-tabelle th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); padding: 4px 8px; white-space: nowrap; }
.konto-tabelle td { padding: 7px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.konto-tabelle td.zahl { font-variant-numeric: tabular-nums; }
.konto-aktion { display: flex; gap: 6px; justify-content: flex-end; }
.konto-aktion button { padding: 3px 10px; }
.konto-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .5; margin-right: 8px; }
.konto-punkt.online { background: var(--ok); opacity: 1; box-shadow: 0 0 8px var(--ok); }

/* Profil-Knopf in der Kopfzeile */
button.profil-knopf { height: 32px; padding: 0 12px 0 8px; gap: 6px; }
button.profil-knopf .ico { width: 16px; height: 16px; }
button.profil-knopf span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.profil-knopf.admin { color: var(--accent); }
