/* Anmelden im Overlay – „Dunkles Ticket“ (26.11.2026, Bert). Hintergrund unscharf und abgedunkelt wie beim großen Bild. */
html.mk-lo-open, html.mk-lo-open body { overflow: hidden; }
.mk-lo[hidden] { display: none !important; }
.mk-lo { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px 16px; box-sizing: border-box; font-family: Lato, Arial, sans-serif; }
.mk-lo-backdrop { position: absolute; inset: 0; background: rgba(18, 22, 19, .58); -webkit-backdrop-filter: blur(7px) saturate(.8); backdrop-filter: blur(7px) saturate(.8); opacity: 0; transition: opacity .18s ease; }
.mk-lo-ticket { position: relative; display: flex; width: 470px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .55)); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .18s ease, transform .18s ease; }
.mk-lo.is-in .mk-lo-backdrop, .mk-lo.is-in .mk-lo-ticket { opacity: 1; transform: none; }

.mk-lo-main { flex: 1 1 auto; min-width: 0; box-sizing: border-box; overflow-y: auto; margin: 0; padding: 30px 34px; display: flex; flex-direction: column; gap: 16px; background: #262b27; border-radius: 14px 0 0 14px; color: #f1f2ec; }
.mk-lo-top { display: flex; align-items: center; gap: 10px; }
.mk-lo-slot { width: 34px; height: 10px; border-radius: 6px; background: #4c534c; }
.mk-lo-dot { width: 12px; height: 12px; border-radius: 50%; background: #c9ccc4; }
.mk-lo-brand { margin-left: 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 12px; font-weight: 700; letter-spacing: .28em; color: #c9ccc4; }
.mk-lo .mk-lo-title { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; font: 900 32px/1.15 Lato, Arial, sans-serif; letter-spacing: -.01em; color: #f1f2ec; text-transform: none; }
.mk-lo-title svg { flex: 0 0 auto; fill: none; stroke: #f1f2ec; stroke-width: 2; stroke-linecap: round; }
.mk-lo-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #4a2620; color: #ffd9cf; font-size: 14px; line-height: 1.45; }
.mk-lo-field { display: flex; flex-direction: column; gap: 6px; }
.mk-lo-field label { margin: 0; font-size: 13px; font-weight: 700; color: #c9ccc4; }
.mk-lo-field input { box-sizing: border-box; width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #4a5148; border-radius: 8px; background: #1c201d; color: #f1f2ec; font: 16px Lato, Arial, sans-serif; box-shadow: none; }
.mk-lo-field input:focus { outline: 2px solid #a7b86a; outline-offset: 1px; border-color: #6e7a52; }
.mk-lo-check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 400; color: #d6d8d0; cursor: pointer; }
.mk-lo-check input { width: 18px; height: 18px; margin: 0; accent-color: #8a9a52; }
.mk-lo-submit { height: 48px; border: 0; border-radius: 8px; background: #8a9a52; color: #fff; font: 900 16px Lato, Arial, sans-serif; cursor: pointer; transition: background-color .15s ease; }
.mk-lo-submit:hover { background: #7a8a46; }
.mk-lo-submit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mk-lo-submit:disabled { opacity: .75; cursor: progress; }
.mk-lo-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 0; font-size: 14px; color: #a9ada3; }
.mk-lo-links a { color: #d9e1bd; text-decoration: none; }
.mk-lo-links a:hover { color: #fff; text-decoration: underline; }

.mk-lo-stub { flex: 0 0 54px; display: flex; align-items: center; justify-content: center; background: #8c9670; border-left: 3px dotted #262b27; border-radius: 0 14px 14px 0; }
.mk-lo-stub span { transform: rotate(90deg); white-space: nowrap; font-family: Georgia, 'Times New Roman', serif; font-size: 14px; font-weight: 700; letter-spacing: .4em; color: #2b3027; }

/* Schließen wie beim großen Bild: rundes weißes Kreuz oben rechts. */
.mk-lo-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: #111411; color: #fff; font: 900 20px/1 Arial, sans-serif; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); cursor: pointer; }
.mk-lo-close:focus-visible { outline: 2px solid #a7b86a; outline-offset: 2px; }

@media (max-width: 520px) {
    .mk-lo { align-items: flex-end; padding: 0; }
    .mk-lo-ticket { width: 100%; max-height: 92vh; max-height: 92dvh; transform: translateY(40px); }
    .mk-lo-main { padding: 26px 20px 24px; border-radius: 16px 16px 0 0; }
    .mk-lo-stub { display: none; }
    .mk-lo-close { top: 12px; right: 12px; width: 44px; height: 44px; border-width: 2px; }
    .mk-lo .mk-lo-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-lo-backdrop, .mk-lo-ticket { transition: none; }
}

/* ---- Konto anlegen im Ticket (26.11.2026): Formular der Registrierungsseite, dunkel eingefärbt ---- */
.mk-lo-main[hidden] { display: none !important; }
.mk-lo-reg { gap: 12px; }
.mk-lo-loading { margin: 8px 0; color: #b9bdb3; font-size: 15px; }
.mk-lo-regbody { display: block; }
.mk-lo-regbody .mk-members-form { margin: 0; }
.mk-lo-regbody .mk-members-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: #c9ccc4; }
.mk-lo-regbody .mk-members-field { margin: 0 0 14px; }
.mk-lo-regbody .mk-members-field label { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #c9ccc4; }
.mk-lo-regbody .form-control { box-sizing: border-box; width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #4a5148; border-radius: 8px; background: #1c201d; color: #f1f2ec; font: 16px Lato, Arial, sans-serif; box-shadow: none; }
.mk-lo-regbody .form-control:focus { outline: 2px solid #a7b86a; outline-offset: 1px; border-color: #6e7a52; }
.mk-lo-regbody .mk-members-field input[aria-invalid="true"] { border-color: #e0715f; }
.mk-lo-regbody .mk-members-hint { margin: 5px 0 0; font-size: 12.5px; line-height: 1.45; color: #9fa499; }
.mk-lo-regbody .mk-members-hint em { color: #c9ccc4; }
.mk-lo-regbody .mk-members-status { color: #b9bdb3; }
.mk-lo-regbody .mk-members-status.is-ok { color: #b6d27a; }
.mk-lo-regbody .mk-members-status.is-bad, .mk-lo-regbody .mk-members-invalid { color: #ff9f8c; }
.mk-lo-regbody .mk-members-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #4a2620; color: #ffd9cf; font-size: 14px; }
.mk-lo-regbody .mk-members-reveal { height: 46px; padding: 0 12px; border: 1px solid #4a5148; border-radius: 8px; background: #30362f; color: #e5ead2; font-size: 14px; }
.mk-lo-regbody .mk-members-check { margin: 10px 0 2px; }
.mk-lo-regbody .mk-members-check label { font-size: 14.5px; color: #d6d8d0; }
.mk-lo-regbody .mk-members-check input { accent-color: #8a9a52; }
.mk-lo-regbody a { color: #d9e1bd; }
.mk-lo-regbody a:hover { color: #fff; }
.mk-lo-regbody .btn.btn-primary.mk-members-submit { width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 8px; background: #8a9a52; color: #fff; font: 900 16px Lato, Arial, sans-serif; box-shadow: none; }
.mk-lo-regbody .btn.btn-primary.mk-members-submit:hover { background: #7a8a46; }
.mk-lo-regbody .mk-members-alt { margin: 14px 0 0; font-size: 14px; color: #a9ada3; }
.mk-lo-regbody .mk-members-box { margin: 0; padding: 16px 18px; border: 0; border-radius: 10px; background: #30362f; color: #e5e7df; font-size: 15px; line-height: 1.55; }
.mk-lo-regbody .mk-members-box--ok { background: #34402a; }
.mk-lo-regbody .mk-members-box h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; color: #f1f2ec; }
.mk-lo-regbody .mk-members-box:focus { outline: none; }
@media (min-width: 521px) { .mk-lo[data-mode="register"] .mk-lo-ticket { width: 520px; } }

/* ---- Passwort vergessen im Ticket (26.11.2026) ---- */
.mk-lo-rec-body { display: flex; flex-direction: column; gap: 16px; }
.mk-lo-lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: #c9ccc4; }
.mk-lo-ok { padding: 16px 18px; border-radius: 10px; background: #34402a; color: #e5e7df; font-size: 15px; line-height: 1.6; }
.mk-lo-ok strong { font-size: 17px; color: #f1f2ec; }
.mk-lo-ok:focus { outline: none; }
.mk-lo-rec .mk-lo-links { justify-content: flex-start; }
.mk-lo-rec .mk-lo-title { font-size: 27px; white-space: nowrap; }
