/* Teamseite (partials/screens/team.php) – group_single_page.dart, EntityHeroCard, TeamStatsGauges, Kalender, Bereiche */
.vf-phone .vf-screen--team { --a-on-green: #06210F; }
[data-theme="light"] .vf-phone .vf-screen--team { --a-on-green: #FFFFFF; }

/* Statusleiste liegt auf dem Foto: helle Symbole */
.vf-screen--team .vf-status { position: relative; z-index: 2; color: #fff; }

/* Randloser Kopf bis unter die Statusleiste; unten ragt die Seite mit runden Ecken (16) über das Bild */
.vf-screen--team .vf-team-hero { position: relative; height: 306px; margin: -54px -16px 0; background: var(--a-hero); color: #F2F4F8; overflow: hidden; }
.vf-screen--team .vf-team-hero .team-pic { position: absolute; inset: 0; }
.vf-screen--team .vf-team-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(rgba(0,0,0,.3), transparent 30%, rgba(0,0,0,.8)); }
.vf-screen--team .vf-team-hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 16px; border-radius: 16px 16px 0 0; background: var(--a-bg); }
.vf-screen--team .vf-team-btns { position: absolute; z-index: 2; top: 66px; left: 22px; right: 22px; display: flex; gap: 8px; }
.vf-screen--team .vf-team-btns > i { flex: 1; }
.vf-screen--team .vf-team-btns > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; }
.vf-screen--team .vf-team-btns .hi { width: 20px; height: 20px; }
.vf-screen--team .vf-team-fav { color: var(--a-red) !important; }
.vf-screen--team .vf-team-title { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 36px; }
.vf-screen--team .vf-team-title h2 { font-size: 28px; font-weight: 800; letter-spacing: -.8px; line-height: 1.12; }
.vf-screen--team .vf-team-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vf-screen--team .vf-team-pills span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; }
.vf-screen--team .vf-team-pills .hi { width: 13px; height: 13px; }
.vf-screen--team .vf-team-pills .is-premium { background: var(--a-green); color: var(--a-on-green); }

/* Kennzahlen: Label | Mini-Histogramm (10 Säulen) | Wert */
.vf-screen--team .vf-team-stats { margin: 8px 0 16px; }
.vf-screen--team .vf-team-stat { display: flex; align-items: center; height: 28px; }
.vf-screen--team .vf-team-stat small { width: 100px; font-size: 12px; font-weight: 700; color: var(--a-muted); }
.vf-screen--team .vf-team-stat b { width: 44px; margin-left: 10px; text-align: right; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vf-screen--team .vf-team-hist { flex: 1; height: 18px; display: flex; align-items: flex-end; gap: 2px; --max: 4; }
.vf-screen--team .vf-team-stat + .vf-team-stat .vf-team-hist { --max: 5; }
.vf-screen--team .vf-team-hist i { flex: 1; height: calc(3px + 15px * var(--h) / var(--max)); border-radius: 2px; background: var(--a-blue); }
.vf-screen--team .vf-team-hist i[style="--h:0"] { background: var(--a-field); }
.vf-screen--team .vf-team-hist i.is-ok { background: var(--a-green); }

/* Mitglieder: Kopf (44) + waagrechte Avatar-Reihe */
.vf-screen--team .vf-team-members header { display: flex; align-items: center; height: 44px; }
.vf-screen--team .vf-team-members h3 { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.vf-screen--team .vf-team-members header span { padding: 0 4px; font-size: 14px; font-weight: 700; color: var(--a-blue-t); }
.vf-screen--team .vf-team-people { display: flex; gap: 8px; margin: 8px -16px 0; padding: 0 16px; overflow: hidden; }
.vf-screen--team .vf-team-person { flex: 0 0 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vf-screen--team .vf-team-person.is-absent { opacity: .6; }
.vf-screen--team .vf-team-face { position: relative; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 1px var(--a-divider); }
.vf-screen--team .vf-team-face .vf-av { width: 60px; height: 60px; font-size: 18px; font-weight: 800; }
.vf-screen--team .vf-team-face > i { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.4); color: #fff; }
.vf-screen--team .vf-team-face > i .hi { width: 24px; height: 24px; }
.vf-screen--team .vf-team-person small { max-width: 68px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kalender (Woche) in einer Karte */
.vf-screen--team .vf-team-cal { margin-top: 24px; padding: 8px 8px 8px; border-radius: 20px; background: var(--a-card); border: 1px solid var(--a-divider); }
.vf-screen--team .vf-team-cal header { display: flex; align-items: center; gap: 4px; height: 44px; padding-left: 8px; margin-bottom: 4px; }
.vf-screen--team .vf-team-cal strong { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.vf-screen--team .vf-team-fmt { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--a-field); font-size: 13px; font-weight: 700; }
.vf-screen--team .vf-team-fmt .hi { width: 16px; height: 16px; }
.vf-screen--team .vf-team-nav { width: 34px; height: 34px; margin: 0 3px; border-radius: 50%; display: grid; place-items: center; background: var(--a-field); }
.vf-screen--team .vf-team-week { display: grid; grid-template-columns: repeat(7, 1fr); }
.vf-screen--team .vf-team-week small { height: 28px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--a-muted); }
.vf-screen--team .vf-team-week > span { height: 56px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vf-screen--team .vf-team-week b { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vf-screen--team .vf-team-week .is-today b { background: var(--a-soft); color: var(--a-blue-t); font-weight: 800; }
.vf-screen--team .vf-team-week .hi, .vf-screen--team .vf-team-week span > i { width: 12px; height: 12px; }
.vf-screen--team .vf-team-week .is-training { color: var(--a-blue-t); }
.vf-screen--team .vf-team-week .is-game { color: var(--a-green); }

/* Bereiche: Termine | Umfragen | Beiträge | Kasse (Pillen-Umschalter mit Symbol + Zähler) */
.vf-screen--team .vf-team-tabs { display: flex; margin: 32px 0 16px; padding: 4px; height: 56px; border-radius: 999px; background: var(--a-card); border: 1px solid var(--a-divider); box-sizing: border-box; }
.vf-screen--team .vf-team-tabs > span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--a-muted); }
.vf-screen--team .vf-team-tabs > .is-active { background: var(--a-tab); color: var(--a-on-tab); }
.vf-screen--team .vf-team-tabs i { position: relative; width: 24px; height: 18px; display: grid; place-items: center; }
.vf-screen--team .vf-team-tabs i .hi { width: 16px; height: 16px; }
.vf-screen--team .vf-team-tabs em { position: absolute; top: -4px; right: -2px; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font: 700 8px/1 var(--font-body); font-style: normal; background: var(--a-tab); color: var(--a-on-tab); border: 1px solid var(--a-card); box-sizing: border-box; }
.vf-screen--team .vf-team-tabs .is-active em { background: var(--a-on-tab); color: var(--a-tab); border-color: var(--a-tab); }
