/* ── Einstellungs-Bausteine (lib/features/settings/settings_hub_page.dart, widgets/settings_widgets.dart) ──
   Gemeinsam für die Screens ich, benachrichtigungen, privatsphaere, profil (die anderen drei binden diese Datei
   per <link> ein). Kopf wie buildSettingsAppBar: 56 hoch, runder Zurück-Knopf 44 mit Rand, Titel nur gescrollt. */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-subhead { height: 56px; margin-bottom: 0; grid-template-columns: 44px 1fr 44px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-subhead .vf-iconbtn { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--a-divider); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-subhead strong { letter-spacing: -.2px; }

/* Scrollbereich unter dem Kopf (Inhalt läuft beim Scrollen unter die AppBar) */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-scroll { position: relative; height: calc(100% - 110px); margin: 0 -16px; padding: 0 16px; overflow: hidden; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-body { padding-top: 8px; transition: transform .45s cubic-bezier(.3,.7,.2,1); }

/* AppPageTitle: Eyebrow, großer Titel, Untertitel */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-title small { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--a-muted); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-title h2 { font-size: 28px; line-height: 1.12; font-weight: 800; letter-spacing: -.8px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-title p { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--a-muted); }

/* SettingsSectionLabel */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-label { display: block; padding: 24px 0 10px 4px; font-size: 12px; line-height: 1.26; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--a-muted); }

/* SettingsGroup + Zeilen (SettingsTile / SettingsToggleRow / SettingsActionRow): Trennlinie ab 64 eingerückt */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-group { background: var(--a-card); border: 1px solid var(--a-divider); border-radius: 20px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-row { position: relative; display: flex; align-items: center; padding: 12px 16px; border-radius: 19px; transition: opacity .25s, transform .15s; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-row + .vf-ich-row { margin-top: 1px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-row + .vf-ich-row::before { content: ''; position: absolute; top: -1px; left: 64px; right: 0; height: 1px; background: var(--a-divider); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-ibox { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--a-field); color: var(--a-text); transition: background-color .2s, color .2s; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-ibox.is-accent { background: var(--a-soft); color: var(--a-blue-t); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-ibox svg { width: 18px; height: 18px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-txt { flex: 1; min-width: 0; margin-left: 12px; display: flex; flex-direction: column; gap: 2px; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-txt b { font-size: 15px; line-height: 1.26; font-weight: 600; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-txt small { font-size: 12.5px; line-height: 1.3; color: var(--a-muted); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-row--tile small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-chev { margin-left: 8px; color: var(--a-dim); }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-row--danger :is(b, .vf-ich-ibox) { color: var(--a-red); }

/* Switch.adaptive auf iOS (Cupertino-Maße 51 × 31 in 60 × 48, Farben aus switchTheme: an = primary, aus = bgDark + Rand) */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-sw { position: relative; flex-shrink: 0; width: 51px; height: 31px; margin: 8.5px 4.5px 8.5px 12.5px; border-radius: 16px; background: var(--a-field); box-shadow: inset 0 0 0 1.5px var(--a-divider); transition: background-color .25s, box-shadow .25s, transform .15s; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-sw::after { content: ''; position: absolute; left: 1.5px; top: 1.5px; width: 28px; height: 28px; border-radius: 50%; background: var(--a-muted); box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); transition: transform .25s cubic-bezier(.3,.7,.2,1), background-color .25s; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-sw.is-on { background: var(--a-blue-t); box-shadow: none; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-sw.is-on::after { transform: translateX(20px); background: #fff; }

/* InfoNoteCard: zarte Akzentfläche, Info-Icon */
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-note { display: flex; gap: 12px; padding: 16px; border-radius: 20px; background: var(--a-soft); font-size: 13px; line-height: 1.45; font-weight: 500; }
:is(.vf-screen--ich, .vf-screen--benachrichtigungen, .vf-screen--privatsphaere, .vf-screen--profil) .vf-ich-note .hi { width: 20px; height: 20px; color: var(--a-blue-t); }

/* ── Screen „Ich“ ───────────────────────────────────────────────────────── */
/* Gescrollter Zustand (nur mit hl auf ein Element unten): AppBar zeigt Mini-Profilbild + Name */
.vf-screen--ich .vf-ich-ctitle { display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(50%); transition: opacity .14s, transform .18s; }
.vf-screen--ich .vf-ich-mini { width: 28px; height: 28px; font-size: 11px; font-weight: 800; }
.vf-screen--ich:has(.vf-ich-low.is-hl) .vf-ich-ctitle { opacity: 1; transform: none; }
/* ganz unten: Ende der Liste + Padding 48 + Home-Indikator 34 (sprachunabhängig, daher bottom statt Verschiebung) */
.vf-screen--ich:has(.vf-ich-low.is-hl) .vf-ich-body { position: absolute; left: 16px; right: 16px; bottom: 82px; }

/* Profilkopf: Teilnahme-Ring 88 um Bild 76, Name, Kennzahlen, Bearbeiten-Knopf */
.vf-screen--ich .vf-ich-hero { display: flex; align-items: center; padding: 8px 0; border-radius: 20px; }
.vf-screen--ich .vf-ich-ring { position: relative; width: 88px; height: 88px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; }
.vf-screen--ich .vf-ich-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke: var(--a-divider); stroke-width: 3.5; }
.vf-screen--ich .vf-ich-ring .is-val { stroke: var(--a-blue-t); stroke-linecap: round; stroke-dasharray: 82 100; }
.vf-screen--ich .vf-ich-av { width: 76px; height: 76px; font-size: 26px; font-weight: 800; }
.vf-screen--ich .vf-ich-who { flex: 1; min-width: 0; margin: 0 8px 0 16px; }
.vf-screen--ich .vf-ich-who strong { display: block; font-size: 24px; line-height: 1.26; font-weight: 800; letter-spacing: -.5px; }
.vf-screen--ich .vf-ich-who small { display: flex; align-items: center; gap: 4px; height: 18px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--a-muted); }
.vf-screen--ich .vf-ich-who small .hi { width: 14px; height: 14px; color: var(--a-orange); }
.vf-screen--ich .vf-ich-who small span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-screen--ich .vf-ich-edit { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); }
.vf-screen--ich .vf-ich-hero + .vf-ich-label { margin-top: 8px; }

/* Werkzeuge: drei Spalten, Kachel 108 hoch, Radius 22 */
.vf-screen--ich .vf-ich-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vf-screen--ich .vf-ich-tool { height: 108px; display: flex; flex-direction: column; padding: 14px 12px 12px; border-radius: 22px; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); }
.vf-screen--ich .vf-ich-tool i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: var(--a-field); }
.vf-screen--ich .vf-ich-tool i .hi { width: 19px; height: 19px; }
.vf-screen--ich .vf-ich-tool b { margin-top: auto; font-size: 13px; line-height: 1.25; font-weight: 700; }

/* Abmelden, Social-Links, Version */
.vf-screen--ich .vf-ich-out { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 24px; border-radius: 18px; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); color: var(--a-red); font-size: 15px; font-weight: 700; }
.vf-screen--ich .vf-ich-social { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.vf-screen--ich .vf-ich-social span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); }
.vf-screen--ich .vf-ich-social .hi { width: 22px; height: 22px; }
.vf-screen--ich .vf-ich-ver { display: block; margin-top: 16px; text-align: center; font-size: 12px; font-weight: 500; color: var(--a-dim); }
