/* ===== Zentrale Spielersuche /spieler/ (spieler/suche.php) ===== */
.ss { max-width: 1200px; margin: 0 auto; padding: 18px 14px 40px; color: #1f1a1a; }
.ss-kopf h1 { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.ss-kopf h1 span { color: #CE2C2C; font-weight: 700; }
.ss-kopf p { margin: 4px 0 0; color: #6f6464; font-size: .9rem; }
.ss-kopf p a { color: #CE2C2C; font-weight: 700; text-decoration: none; }

/* Schnellfilter + Jahre: systemweiter Kicker-Reiter-Stil (kicker_reiter.css/.js), hier nur Abstaende */
.ss-schnell { margin-top: 14px; }
.ss-jahre { margin-top: 2px; }

.ss-raster { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; margin-top: 10px; }
.ss-filter { position: sticky; top: 80px; background: #fff; border: 1px solid #eee4e4; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 100px); overflow-y: auto; }
.ss-filter-kopf { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.ss-filter-kopf i { color: #CE2C2C; }
.ss-zu { display: none; border: none; background: #f4efef; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: #6f6464; }
.ss-feld { display: flex; flex-direction: column; gap: 5px; }
.ss-feld > span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8a7e7e; }
.ss-feld input, .ss-feld select { width: 100%; box-sizing: border-box; border: 1px solid #e3d9d9; border-radius: 10px; padding: 9px 10px; font-size: 15px; background: #fff; color: #1f1a1a; min-width: 0; }
.ss-feld input:focus, .ss-feld select:focus { outline: none; border-color: #CE2C2C; box-shadow: 0 0 0 3px rgba(206,44,44,.12); }
.ss-feld select:disabled { background: #f7f3f3; color: #a99d9d; }
.ss-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ss-pillen { display: flex; flex-wrap: wrap; gap: 5px; }
.ss-pillen label { cursor: pointer; }
.ss-pillen input { position: absolute; opacity: 0; pointer-events: none; }
.ss-pillen span { display: inline-block; padding: 6px 11px; border-radius: 999px; background: #f6f0f0; font-size: .82rem; font-weight: 700; color: #4a3e3e; }
.ss-pillen input:checked + span { background: #CE2C2C; color: #fff; }
.ss-pillen input:focus-visible + span { outline: 2px solid #CE2C2C; outline-offset: 2px; }
.ss-knoepfe { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.ss-btn { display: block; text-align: center; border: none; border-radius: 12px; padding: 11px; background: #CE2C2C; color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; text-decoration: none; }
.ss-btn.zweit { background: #f4efef; color: #4a3e3e; }

.ss-leiste { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ss-filter-auf { display: none; border: 1px solid #e3d9d9; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: .9rem; color: #2d2222; cursor: pointer; }
.ss-filter-auf i { color: #CE2C2C; }
.ss-filter-auf b { display: inline-flex; min-width: 18px; height: 18px; border-radius: 9px; background: #CE2C2C; color: #fff; font-size: .7rem; align-items: center; justify-content: center; margin-left: 4px; }
.ss-anzahl { font-size: .85rem; color: #8a7e7e; font-weight: 700; margin-left: auto; }

.ss-liste { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee4e4; border-radius: 16px; overflow: hidden; }
.ss-karte { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid #f3ecec; }
.ss-karte:hover { background: #fdf6f6; }
.ss-foto { position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #f1e6e6; display: flex; align-items: center; justify-content: center; }
.ss-foto b { color: #b08f8f; font-size: .95rem; }
.ss-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #f1e6e6; }
.ss-haupt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ss-name { font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-zeile { font-size: .82rem; color: #6f6464; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-verein { display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: #3a2f2f; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-verein img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.ss-verein small { font-weight: 500; color: #8a7e7e; overflow: hidden; text-overflow: ellipsis; }
.ss-los { color: #CE2C2C; }
.ss-los i { font-size: .8rem; }
.ss-werte { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.ss-mw { font-weight: 800; font-size: .98rem; color: #1f1a1a; white-space: nowrap; }
.ss-klein { font-size: .75rem; color: #8a7e7e; white-space: nowrap; }
.ss-ausfall { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; color: #fff; background: #CE2C2C; border-radius: 999px; padding: 2px 8px; }
.ss-mehr { display: block; text-align: center; padding: 14px; font-weight: 800; color: #CE2C2C; text-decoration: none; background: #fdf8f8; }
.ss-mehr:hover { background: #fbeeee; }
.ss-leer { text-align: center; padding: 50px 20px; background: #fff; border: 1px solid #eee4e4; border-radius: 16px; color: #6f6464; }
.ss-leer i { font-size: 1.8rem; color: #d8c4c4; }
.ss-leer a { color: #CE2C2C; font-weight: 800; }
.ss-schleier { display: none; }

@media (max-width: 900px) {
    .ss { padding: 12px 10px 30px; }
    .ss-kopf h1 { font-size: 1.35rem; }
    .ss-raster { grid-template-columns: 1fr; }
    .ss-filter-auf { display: inline-flex; align-items: center; gap: 6px; }
    .ss-filter { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 100001; max-height: 86vh; border-radius: 22px 22px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(0,0,0,.3); }
    body.ss-filter-offen .ss-filter { transform: none; }
    .ss-zu { display: block; }
    body.ss-filter-offen .ss-schleier { display: block; position: fixed; inset: 0; background: rgba(20,8,8,.5); z-index: 100000; }
    body.ss-filter-offen { overflow: hidden; }
    .ss-knoepfe { position: sticky; bottom: -16px; background: #fff; padding: 8px 0 4px; }
    .ss-karte { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 12px; }
    .ss-foto { width: 44px; height: 44px; }
    .ss-name { font-size: .95rem; }
    .ss-verein small { display: none; }
}
@media (max-width: 420px) {
    .ss-karte .ss-klein { display: none; }
}
.ss-unbekannt { color: #a99d9d; font-weight: 600; }

/* ===== Vereinssuche /vereine/ (vereine/index.php) nutzt dieselben Klassen; nur Wappen statt Foto ===== */
.vs-wappen { border-radius: 10px; background: #f7f2f2; }
.vs-wappen img { object-fit: contain; object-position: center; padding: 5px; box-sizing: border-box; background: #fff; }
.vs-wappen i { color: #d4c2c2; font-size: 1.2rem; }
.vs-karte .ss-verein i { color: #CE2C2C; font-size: .78rem; }
.vs-rwe { background: #fff7f7; }
