/* ==========================================================================
   Bikeball — Mitteilungen (zu mitteilungen.js). Baut auf profil.css auf.
   ========================================================================== */
.mi { max-width: 720px; }
.mi-kopf { display: grid; gap: .35rem; }
.mi-lede { margin: .2rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
.mi-geraet { position: relative; margin: 0; padding: .7rem .9rem .7rem 2rem; border-radius: 14px; font-size: .88rem; line-height: 1.4; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.mi-geraet::before { content: ""; position: absolute; left: .9rem; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.mi-geraet.an { color: #4fd18b; border-color: rgba(79, 209, 139, .35); }
.mi-geraet.an::before { background: #4fd18b; }
.mi-geraet.abgelehnt, .mi-geraet.geht-nicht { color: #ff8a65; border-color: rgba(255, 138, 101, .35); }
.mi-geraet.abgelehnt::before, .mi-geraet.geht-nicht::before { background: #ff8a65; }
.mi-geraet a, .mi-status a { color: var(--accent-2); }
.mi-ikon { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; color: var(--farbe, var(--fg)); background: color-mix(in srgb, var(--farbe, #fff) 14%, transparent); }
.mi-ikon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mi-ikon.matchday { --farbe: var(--md); }
.mi-ikon.news { --farbe: var(--accent-2); }
.mi-ikon.club { --farbe: var(--sp); }
.mi-turnier { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; padding: .75rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .025); }
.mi-turnier-haupt { flex: 1 1 14rem; min-width: 0; display: grid; gap: .15rem; color: var(--fg); text-decoration: none; }
.mi-turnier-haupt b { font-weight: 800; overflow-wrap: anywhere; }
.mi-turnier-haupt small { font-size: .8rem; color: var(--muted); }
.mi-turnier-haupt small:empty { display: none; }
.mi-stufe { font-size: .84rem; font-weight: 700; color: var(--md); }
.mi-stufe:empty { display: none; }
.mi-turnier-tun { display: flex; flex-wrap: wrap; gap: .4rem; }
.mi-schalter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .025); cursor: pointer; }
.mi-schalter input { appearance: none; -webkit-appearance: none; flex: none; width: 3rem; height: 1.8rem; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.mi-schalter input::after { content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #fff; transition: transform .15s; }
.mi-schalter input:checked { background: #2fd27a; }
.mi-schalter input:checked::after { transform: translateX(1.2rem); }
.mi-schalter input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.mi-schalter input:disabled { opacity: .6; }
.mi-status { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.mi-status:empty { display: none; }
.mi-status.schlimm { color: #ff8a65; }
.mi-fuss { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .mi-schalter input, .mi-schalter input::after { transition: none; } }
.mi-ikon.teams { --farbe: var(--accent-2); }
