.auth-card .login-history-field { position:relative; }
.auth-card .login-history[hidden] { display:none; }
.auth-card .login-history {
    position:absolute; inset:100% 0 auto; z-index:3; margin:3px 0 0; padding:4px;
    max-height:224px; overflow:auto; list-style:none; background:#fff;
    border:1px solid var(--app-border,#ddd); border-radius:10px; box-shadow:0 6px 16px #0002;
}
.auth-card .login-history li { display:flex; align-items:center; gap:4px; }
.auth-card .login-history button {
    min-height:34px; padding:5px 8px; font:inherit; color:#222; border:0;
    border-radius:5px; background:transparent; cursor:pointer;
}
.auth-card .login-history button:hover, .auth-card .login-history button:focus-visible { background:#eee; }
.auth-card .login-history-choice { flex:1; min-width:0; text-align:left; overflow-wrap:anywhere; }
.auth-card .login-history-remove { flex:none; }
.auth-card label.login-remember { display:flex; align-items:center; gap:8px; margin-top:12px; }
.auth-card label.login-remember input { width:auto; min-height:0; margin:0; }
.auth-card .login-autofill-decoy {
    position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%);
    pointer-events:none;
}
.auth-card :is(#lieblingszahl,#lieblingsfarbe):focus {
    outline:none;
    box-shadow:none;
    border-color:var(--app-border,#ddd);
    background:var(--app-surface,#fff);
}
.auth-card :is(#lieblingszahl,#lieblingsfarbe):focus-visible { border-color:var(--app-text-muted,#777); }
.auth-card :is(#lieblingszahl,#lieblingsfarbe):-webkit-autofill {
    -webkit-text-fill-color:var(--app-text,#222);
    caret-color:var(--app-text,#222);
    -webkit-box-shadow:0 0 0 100px var(--app-surface,#fff) inset;
}
.auth-card .dev-field-label { display:block; margin-bottom:8px; font-size:14px; font-weight:600; }
.auth-card .dev-field-stack { position:relative; isolation:isolate; width:100%; height:50px; }
.auth-card .dev-field-stack input:not([type=checkbox]) {
    position:absolute; inset:0; box-sizing:border-box; width:100%; height:100%; margin:0; padding:0;
}
.auth-card .dev-field-stack input[aria-hidden="true"] { z-index:0; pointer-events:none; }
.auth-card .dev-field-stack input:not([aria-hidden="true"]) { z-index:1; background:#fff; padding-inline-start:12px; }
.auth-card #lieblingsfarbe { -webkit-text-security:disc; }
@supports not (-webkit-text-security:disc) {
    .auth-card #lieblingsfarbe[type="text"] { visibility:hidden; }
}
