/* Tab „Teams“ (partials/screens/teams.php) – teams_page.dart, TeamBannerCard, TeamTodosStrip */

/* „+“ im Kopf: AppCircleIconButton filled (44, Akzent) */
.vf-screen--teams .vf-teams-add { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--a-blue); color: #fff; }
.vf-screen--teams .vf-teams-add .hi { width: 20px; height: 20px; }

/* Umschalter Teams | Verein (AppSegmentedControl) + Liste/Raster (48er Kreis) */
.vf-screen--teams .vf-teams-bar { display: flex; gap: 8px; align-items: center; margin: 8px 0 16px; }
.vf-screen--teams .vf-teams-seg { flex: 1; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--a-card); border: 1px solid var(--a-divider); }
.vf-screen--teams .vf-teams-seg > span { position: relative; display: flex; justify-content: center; align-items: center; height: 38px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--a-muted); }
.vf-screen--teams .vf-teams-seg > .is-active { background: var(--a-tab); color: var(--a-on-tab); }
.vf-screen--teams .vf-teams-cnt { margin-left: 6px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; font: 800 10px/1 var(--font-body); font-style: normal; background: #fff; color: var(--a-tab); }
.vf-screen--teams .vf-teams-toggle { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--a-card); border: 1px solid var(--a-divider); }
.vf-screen--teams .vf-teams-toggle .hi { width: 22px; height: 22px; }

/* To-dos über alle Teams: wischbar, randlos bis zum Rand */
.vf-screen--teams .vf-teams-todos { display: flex; gap: 10px; margin: 0 -16px 12px; padding: 0 16px; overflow: hidden; }
.vf-screen--teams .vf-teams-todo { flex: 0 0 230px; height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: var(--a-card); border: 1px solid var(--a-divider); }
.vf-screen--teams .vf-teams-todo > i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--a-soft); color: var(--a-blue-t); }
.vf-screen--teams .vf-teams-todo > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vf-screen--teams .vf-teams-todo b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-screen--teams .vf-teams-todo small { font-size: 12px; font-weight: 600; color: var(--a-muted); }

/* Teamkarte: Banner (Liste: Breite/1,9) + vier Sprünge */
.vf-screen--teams .vf-teams-card { border-radius: 26px; background: var(--a-card); border: 1px solid var(--a-divider); overflow: hidden; margin-bottom: 12px; }
.vf-screen--teams .vf-teams-banner { position: relative; height: 190px; background: var(--a-field); color: var(--a-text); }
.vf-screen--teams .vf-teams-banner .team-pic { position: absolute; inset: 0; }
.vf-screen--teams .vf-teams-banner.is-photo { color: #fff; }
.vf-screen--teams .vf-teams-banner.is-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.6)); }
.vf-screen--teams .vf-teams-fav { position: absolute; z-index: 1; top: 10px; left: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--a-red); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.vf-screen--teams .vf-teams-fav .hi { width: 13px; height: 13px; }
.vf-screen--teams .vf-teams-role { position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 6px; background: var(--a-blue); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.vf-screen--teams .vf-teams-name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 11px; display: flex; flex-direction: column; gap: 2px; }
.vf-screen--teams .vf-teams-name strong { font-size: 20px; font-weight: 800; letter-spacing: -.3px; line-height: 1.15; }
.vf-screen--teams .vf-teams-name small { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; color: var(--a-dim); white-space: nowrap; }
.vf-screen--teams .is-photo .vf-teams-name small { color: rgba(255,255,255,.88); }
.vf-screen--teams .vf-teams-name small .hi { width: 13px; height: 13px; }
.vf-screen--teams .vf-teams-acts { display: flex; padding: 10px 7px; }
.vf-screen--teams .vf-teams-acts > span { position: relative; flex: 1; margin: 0 3px; height: 58px; border-radius: 16px; background: var(--a-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.vf-screen--teams .vf-teams-acts .hi { width: 20px; height: 20px; }
.vf-screen--teams .vf-teams-acts small { max-width: 100%; padding: 0 4px; font-size: 11.5px; font-weight: 700; color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-screen--teams .vf-teams-acts i { position: absolute; top: 5px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--a-blue); color: #fff; border: 1.5px solid var(--a-bg); font: 800 10px/1 var(--font-body); font-style: normal; box-sizing: border-box; }

/* „Beitreten“-Pille schwebt über der Tab-Leiste */
.vf-screen--teams .vf-teams-join { position: absolute; z-index: 2; left: 50%; bottom: 98px; transform: translateX(-50%); height: 36px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--a-blue); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.vf-screen--teams .vf-teams-join .hi { width: 16px; height: 16px; }
