/* Lex-Profil: native Auswahl, echte Avatarbilder, neutrale Flächen. */
.nw .profil-bild { display: inline-grid; place-items: center; flex: none; width: var(--profil-bildgroesse,44px); height: var(--profil-bildgroesse,44px); overflow: hidden; border-radius: 50%; background: #ffffff; color: #090909; font-size: calc(var(--profil-bildgroesse,44px) * .4); font-weight: 650; line-height: 1; }
.nw .profil-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw dialog.profil-dialog { width: 100%; max-width: 720px; max-height: 92vh; max-height: 92dvh; padding: 0; margin: auto auto 0; border: 1px solid #363636; border-bottom: 0; border-radius: var(--nw-radius-large) var(--nw-radius-large) 0 0; background: #141414; color: #f5f5f5; }
.nw .profil-dialog::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.nw .profil-formular { display: flex; flex-direction: column; max-height: calc(92vh - 2px); max-height: calc(92dvh - 2px); margin: 0; }
.nw .profil-inhalt { overflow-y: auto; padding: 24px; min-height: 0; }
.nw .profil-inhalt h2 { margin: 6px 0 24px; font-size: 26px; line-height: 1.2; }
.nw .profil-felder, .nw .profil-avatargruppe { min-width: 0; padding: 0; margin: 0; border: 0; }
.nw .profil-avatargruppe { margin-top: 24px; }
.nw .profil-avatargruppe legend { margin-bottom: 12px; padding: 0; font-weight: 600; }
.nw .profil-hilfe { margin: 0; color: #b0b0b0; font-size: 13px; line-height: 1.45; }
.nw .profil-login { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font-size: 14px; padding: 12px 14px; border: 1px solid #363636; border-radius: var(--nw-radius-small); }
.nw .profil-login > span { color: #b0b0b0; }
.nw .profil-login > strong { overflow-wrap: anywhere; font-weight: 600; }
.nw .profil-avatare { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.nw .profil-avatarwahl { position: relative; display: block; min-width: 0; cursor: pointer; }
.nw .profil-avatarwahl > input, .nw .profil-datei { position: absolute; width: 1px; min-height: 0; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw .profil-avatarinhalt { display: flex; flex-direction: column; align-items: center; gap: 9px; position: relative; min-height: 115px; padding: 13px 7px 11px; border: 1px solid #363636; border-radius: var(--nw-radius-medium); background: #202020; }
.nw .profil-avatarname { font-size: 13px; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.nw .profil-wahlhaken { position: absolute; right: 6px; top: 6px; display: none; width: 18px; height: 18px; color: var(--gw-aktiv,#a8c6e2); }
.nw .profil-wahlhaken svg { width: 100%; height: 100%; }
.nw .profil-avatarwahl > input:checked + .profil-avatarinhalt { border-color: var(--gw-aktiv,#a8c6e2); }
.nw .profil-avatarwahl > input:checked + .profil-avatarinhalt .profil-wahlhaken { display: block; }
.nw .profil-avatarwahl > input:focus-visible + .profil-avatarinhalt { outline: 2px solid var(--gw-aktiv,#a8c6e2); outline-offset: 3px; }
.nw .profil-felder:disabled .profil-avatarwahl { cursor: default; }
.nw .profil-upload { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding-top: 22px; border-top: 1px solid #363636; }
.nw .profil-uploadtext { min-width: 0; }
.nw .profil-uploadtext > p:first-child { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.nw .profil-uploadtext .profil-hilfe { margin-bottom: 12px; }
.nw .profil-dateiknopf { min-height: 44px; cursor: pointer; white-space: normal; text-align: center; font-size: 14px; }
.nw .profil-datei:focus-visible + .profil-dateiknopf { outline: 2px solid var(--gw-aktiv,#a8c6e2); outline-offset: 2px; }
.nw .profil-uploadtext > .knopf { margin: 8px 0 0; }
.nw .profil-leseschrift { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 0; margin-top: 20px; cursor: pointer; }
.nw .profil-leseschrift input { flex: none; width: 20px; min-height: 20px; height: 20px; accent-color: #ffffff; }
.nw .profil-leseschrift span { font-size: 15px; line-height: 1.4; }
.nw .profil-leseschrift small { display: block; font-size: 13px; color: #b0b0b0; }
.nw .profil-fehler { color: var(--gw-fehler,#e4a29b); font-size: 14px; line-height: 1.45; margin: 16px 0 0; }
.nw .profil-status { color: var(--gw-aktiv,#a8c6e2); font-size: 14px; line-height: 1.45; margin: 16px 0 0; }
.nw :is(.profil-fehler,.profil-status):empty { display: none; }
.nw .profil-fuss { display: flex; gap: 10px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: #141414; border-top: 1px solid #363636; flex: none; }
.nw .profil-fuss > .knopf { flex: 1; min-width: 0; min-height: 48px; }
@media (min-width:640px) { .nw dialog.profil-dialog { width: min(720px,calc(100vw - 48px)); margin: auto; border: 1px solid #363636; border-radius: var(--nw-radius-large); } .nw .profil-inhalt { padding: 28px 32px; } .nw .profil-fuss { padding-inline: 32px; } .nw .profil-avatare { grid-template-columns: repeat(6,minmax(0,1fr)); } }
@media (max-width:350px) { .nw .profil-inhalt { padding: 20px 16px; } .nw .profil-fuss { padding-inline: 16px; } .nw .profil-upload { gap: 12px; } .nw .profil-vorschau .profil-bild { width: 52px; height: 52px; } .nw .profil-avatare { gap: 8px; } .nw .profil-avatarwahl .profil-bild { width: 56px; height: 56px; } }
