/* ===== Fussball-Menue (system/fussball_menue.php): Fenster der unteren Leiste + Wettbewerbe im Hamburger-Menue ===== */
.fbm-overlay { position: fixed; inset: 0; background: rgba(20,8,8,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 99999; display: none; align-items: center; justify-content: center; }
.fbm-overlay.active { display: flex; }
.fbm-sheet { background: #fff; width: 94%; max-width: 640px; max-height: 88vh; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.45); animation: fbmIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes fbmIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.fbm-griff { display: none; width: 44px; height: 5px; border-radius: 3px; background: #d9d0d0; margin: 8px auto 0; }
.fbm-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 26px 12px; }
.fbm-kopf h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #2d1f1f; }
.fbm-kopf p { margin: 3px 0 0; font-size: .85rem; color: #8a7e7e; }
.fbm-zu { border: none; background: #f4efef; color: #7a6e6e; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; flex-shrink: 0; }
.fbm-zu:hover { background: #ebe3e3; color: #2d1f1f; }
.fbm-body { padding: 2px 26px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fbm-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.fbm-kachel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #faf5f5; border: 1px solid #efe3e3; color: #2d1f1f; text-decoration: none; min-width: 0; transition: box-shadow .12s, transform .12s; }
.fbm-kachel:hover { box-shadow: 0 6px 18px rgba(206,44,44,.12); transform: translateY(-1px); }
.fbm-kachel > i { width: 38px; height: 38px; border-radius: 11px; background: #CE2C2C; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fbm-kachel:first-child { background: linear-gradient(135deg,#CE2C2C,#7d0606); border-color: transparent; color: #fff; }
.fbm-kachel:first-child > i { background: rgba(255,255,255,.18); }
.fbm-kachel:first-child small { color: rgba(255,255,255,.8); }
.fbm-kachel span { display: flex; flex-direction: column; min-width: 0; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.fbm-kachel small { font-weight: 500; font-size: .74rem; color: #8a7e7e; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbm-abschnitt { margin: 20px 0 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #CE2C2C; }
.fbm-suche { display: flex; align-items: center; gap: 10px; background: #f4efef; border-radius: 12px; padding: 0 14px; margin: 0 0 8px; }
.fbm-suche i { color: #a89c9c; font-size: .9rem; }
.fbm-suche input { flex: 1; border: none; background: none; outline: none; padding: 12px 0; font-size: 16px; color: #2d1f1f; min-width: 0; }
.fbm-liste .fbm-wb { border-bottom: 1px solid #f1e7e7; }
.fbm-wb > summary { display: flex; align-items: center; gap: 14px; padding: 10px 8px; cursor: pointer; list-style: none; border-radius: 12px; color: #2d1f1f; }
.fbm-wb > summary::-webkit-details-marker { display: none; }
.fbm-wb > summary:hover { background: #fbf1f1; }
.fbm-wb > summary img, .fbm-wb > summary > .fa-trophy { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.fbm-wb > summary > .fa-trophy { display: flex; align-items: center; justify-content: center; color: #CE2C2C; }
.fbm-wb-name { flex: 1; min-width: 0; font-weight: 700; font-size: .97rem; }
.fbm-pf { color: #b9abab; font-size: .8rem; transition: transform .2s; }
.fbm-wb[open] > summary .fbm-pf { transform: rotate(180deg); }
.fbm-wb-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; padding: 2px 8px 14px 58px; }
.fbm-wb-links a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #faf5f5; color: #2d1f1f; text-decoration: none; font-size: .87rem; font-weight: 600; }
.fbm-wb-links a:hover { background: #f6e4e4; color: #CE2C2C; }
.fbm-wb-links a i { width: 16px; text-align: center; color: #CE2C2C; font-size: .85rem; }
.fbm-leer { text-align: center; color: #8a7e7e; padding: 22px 0 6px; font-size: .9rem; }
.fbm-leer a { color: #CE2C2C; font-weight: 700; }
@media (max-width: 640px) {
    .fbm-overlay { align-items: flex-end; }
    .fbm-sheet { width: 100%; max-width: none; max-height: 90vh; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
    .fbm-griff { display: block; }
    .fbm-kopf { padding: 14px 18px 10px; }
    .fbm-body { padding: 2px 18px 22px; }
    .fbm-kacheln { grid-template-columns: 1fr 1fr; }
    .fbm-wb-links { grid-template-columns: 1fr 1fr; padding-left: 8px; }
}

/* ===== im Hamburger-Menue (roter Hintergrund, weisse Schrift) ===== */
html body .navigation.mn .mn-unter .fbm-wb > summary { color: #fff; padding: 8px 12px; gap: 11px; font-size: .88rem; border-radius: 10px; }
html body .navigation.mn .mn-unter .fbm-wb > summary:hover { background: rgba(255,255,255,.12); }
html body .navigation.mn .mn-unter .fbm-wb > summary img { width: 22px; height: 22px; background: #fff; border-radius: 5px; padding: 2px; }
html body .navigation.mn .mn-unter .fbm-wb > summary > .fa-trophy { width: 22px; height: 22px; color: #fff; }
html body .navigation.mn .mn-unter .fbm-wb-name { font-size: .88rem; font-weight: 600; }
html body .navigation.mn .mn-unter .fbm-pf { color: rgba(255,255,255,.7); }
html body .navigation.mn .mn-unter .fbm-wb-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 10px 44px; }
html body .navigation.mn .mn-unter .fbm-wb-links a { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: .8rem; }
html body .navigation.mn .mn-unter .fbm-wb-links a:hover { background: rgba(255,255,255,.26); }
html body .navigation.mn .mn-unter .fbm-wb-links a i { width: auto; color: #fff; font-size: .75rem; }

/* ===== Artikel-Zaehler "heute neu" ===== */
.art-heute-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #CE2C2C; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #fff; }
.mfn-item .art-heute-badge { position: absolute; top: -6px; right: -10px; }
html body .navigation.mn .mn-punkt .art-heute-badge { background: #fff; color: #CE2C2C; box-shadow: none; margin-left: auto; margin-right: 6px; }
