/*
 * Bulima - Design auf Basis von Camino: Hauptfarbe Grasgruen, Rasen als Hintergrund,
 * weisse Karten mit Tabellen, Badges und Ergebnis-Panel (wie bulima_ausw/get_data.php), Aufstellung als Spielfeld.
 */

/* ---------- Farben und Grundlagen ---------- */
body,
body.theme-forest-mist {
    --color-primary-75: #9ad77f;
    --color-primary-100: #3a9b2e;
    --color-neutral-0: #ffffff;
    --color-neutral-10: #f2f8ef;
    --color-neutral-20: #e2efdc;
    --color-neutral-30: #c8dcc0;
    --color-neutral-40: #a6c19c;
    --color-neutral-50: #86a17c;
    --color-neutral-60: #617a59;
    --color-neutral-70: #3f533a;
    --color-neutral-80: #2a3a27;
    --color-neutral-90: #112010;

    --bl-green: #3a9b2e;        /* Grasgruen */
    --bl-green-dark: #24701d;
    --bl-green-deep: #164d13;
    --bl-green-soft: #e6f4df;
    --bl-green-row: #d3eec8;
    --bl-green-row-half: #ecf8e6;
    --bl-lawn-1: #4a9e3a;
    --bl-lawn-2: #43932f;
    --bl-card: #ffffff;
    --bl-line: #dfe9da;
    --bl-text: #1b2a18;
    --bl-muted: #6c8066;
    --bl-red: #cf222e;
    --bl-orange: #bf6b00;
    --bl-blue: #1f5fbf;
    --bl-radius: 16px;
    --bl-gap: 28px;
}

/* Rasen: gemaehte Streifen */
body {
    color: var(--bl-text);
    background-color: var(--bl-lawn-1);
    background-image: repeating-linear-gradient(180deg, var(--bl-lawn-1) 0 90px, var(--bl-lawn-2) 90px 180px);
    background-attachment: fixed;
}

h1, h2, h3, h4, .headline, [class*="headline"] {
    font-family: "Open Sans", Arial, sans-serif !important;
}

/* Camino-Flaechen durchsichtig, damit der Rasen sichtbar ist */
.page__content,
.component,
.component--bg-100,
.component--bg-90,
.component--bg-10 {
    background: transparent !important;
}

/* Inhalt breiter, Abstand zum Kopf */
.component__content:has(.bulima),
.component__content:has(.rich-text) {
    max-width: 1440px;
}

.page__content {
    padding-top: 12px;
    padding-bottom: 48px;
}

/* ---------- Kopf: links Logo von Akki, Mitte Menue, rechts Bulima-Schriftzug ---------- */
.header {
    background: linear-gradient(120deg, var(--bl-green-deep), var(--bl-green-dark));
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.header__content {
    max-width: 1440px;
    gap: 20px;
    align-items: center;
}

.bulima-akki {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px 2px;
    flex: none;
}

.bulima-akki img {
    display: block;
}

.bulima-akki figcaption {
    font-size: 10px;
    color: var(--bl-muted);
    white-space: nowrap;
}

.bulima-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    flex: none;
}

.bulima-wordmark {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    color: #fff;
    text-decoration: none;
}

.bulima-wordmark:hover {
    color: #fff;
}

.bulima-wordmark__title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bulima-wordmark__claim {
    font-size: 11px;
    opacity: .8;
}

.bulima-user {
    color: #fff;
    font-size: 13px;
    text-align: right;
    line-height: 1.35;
}

.bulima-user a {
    color: #fff;
    text-decoration: underline;
}

.bulima-user__team {
    opacity: .8;
}

@media (min-width: 1024px) {
    .header__nav-item {
        font-size: 15px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 1100px) {
    .bulima-user,
    .bulima-wordmark__claim {
        display: none;
    }
}

/* ---------- Inhaltsbereich ---------- */
.bulima {
    display: flex;
    flex-direction: column;
    gap: var(--bl-gap);
    font-size: 15px;
}

/* Seitentitel als weisse Karte auf dem Rasen: erstes div ohne Klasse, auch wenn davor Meldungen (.bulima-flash) stehen */
.bulima > div:not([class]):not(div:not([class]) ~ *) {
    background: rgba(255, 255, 255, .94);
    border-radius: var(--bl-radius);
    padding: 22px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.bulima h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: var(--bl-green-deep);
}

.bulima h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.bulima-lead {
    color: var(--bl-muted);
    margin: 0;
}

.bulima-card {
    background: var(--bl-card);
    border-radius: var(--bl-radius);
    padding: 24px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.bulima-card--flush {
    padding: 0;
    overflow: hidden;
}

.bulima-card--flush > h3 {
    padding: 22px 26px 0;
}

.bulima-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: var(--bl-gap);
    align-items: start;
}

@media (max-width: 1100px) {
    .bulima-grid { grid-template-columns: 1fr; }
}

.bulima-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--bl-gap);
}

/* ---------- Werkzeugleiste / Formulare ---------- */
.bulima-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: end;
    margin: 0;
    background: rgba(255, 255, 255, .94);
    border-radius: var(--bl-radius);
    padding: 16px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.bulima-toolbar .bulima-toolbar {
    background: none;
    box-shadow: none;
    padding: 0;
}

.bulima-toolbar label,
.bulima-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--bl-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bulima select,
.bulima input[type=text],
.bulima input[type=number],
.bulima input[type=date],
.bulima input[type=search],
.bulima textarea {
    border: 1px solid var(--bl-line);
    border-radius: 8px;
    padding: 7px 10px;
    font: inherit;
    background: #fff;
    color: var(--bl-text);
    min-height: 38px;
}

.bulima textarea {
    width: 100%;
}

.bulima select:focus,
.bulima input:focus,
.bulima textarea:focus {
    outline: 2px solid var(--color-primary-75);
    border-color: var(--bl-green);
}

.bulima-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--bl-green);
    color: #fff;
    padding: 10px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.bulima-button:hover {
    background: var(--bl-green-dark);
    color: #fff;
}

.bulima-button--ghost {
    background: transparent;
    color: var(--bl-green-dark);
    border: 1px solid var(--bl-green);
    padding: 6px 14px;
}

.bulima-button--ghost:hover {
    background: var(--bl-green-soft);
    color: var(--bl-green-deep);
}

.bulima-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bulima-tabs a {
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--bl-line);
    color: var(--bl-text);
    text-decoration: none;
    background: #fff;
}

.bulima-tabs a.is-active {
    background: var(--bl-green);
    border-color: var(--bl-green);
    color: #fff;
}

.bulima-flash {
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--bl-green-soft);
    border: 1px solid var(--color-primary-75);
}

.bulima-flash--error {
    background: #ffebe9;
    border-color: #ffc1bc;
}

/* Warnungen (z. B. Spieltag hat begonnen) orange statt gruen wie Erfolgsmeldungen */
.bulima-flash--warning {
    background: #fff4e5;
    border-color: #f5c27a;
}

.bulima-flash {
    color: var(--color-neutral-100, #112010);
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

/* ---------- Tabellen ---------- */
.bulima-tablewrap {
    overflow-x: auto;
}

.bulima-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bulima-table th {
    text-align: left;
    /* alle Spaltenkoepfe oben ausrichten (zweizeilige Koepfe mit <small> verschieben die anderen sonst nach unten) */
    vertical-align: top;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bl-muted);
    padding: 12px 8px;
    border-bottom: 2px solid var(--bl-line);
    white-space: nowrap;
    background: #f8fbf6;
}

.bulima-table th small {
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.bulima-table td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--bl-line);
    vertical-align: middle;
}

.bulima-table tbody tr:hover td {
    background: #f6fbf3;
}

.bulima-table .num {
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.bulima-table .strong {
    font-weight: 700;
}

.bulima .muted {
    color: var(--bl-muted);
}

.bulima-table tr.group td {
    background: var(--bl-green-soft);
    color: var(--bl-green-deep);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 8px 12px;
}

.bulima-table tr.is-own td {
    background: #eff8ea;
}

.bulima-table tr.is-own td:first-child {
    box-shadow: inset 4px 0 0 var(--bl-green);
}

.bulima-table tr.is-sold td,
.bulima-table tr.inactive td {
    color: var(--bl-muted);
}

.bulima-table tr.marked td {
    background: var(--bl-green-row);
}

.bulima-table tr.marked_half td {
    background: var(--bl-green-row-half);
}

.bulima-table td.name {
    font-weight: 600;
    white-space: nowrap;
}

.bulima-table td.match {
    font-size: 11px;
    line-height: 1.3;
    color: var(--bl-muted);
    min-width: 120px;
    max-width: 170px;
}

.bulima-table input.scp,
.bulima-table input.gtp {
    width: 54px;
    text-align: center;
    min-height: 32px;
    padding: 4px;
}

.bulima-rank {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--bl-green-soft);
    color: var(--bl-green-deep);
    font-weight: 700;
    font-size: 13px;
}

.bulima-score {
    display: inline-block;
    min-width: 46px;
    text-align: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    background: #eef2ec;
}

.bulima-score--win { background: var(--bl-green-row); color: var(--bl-green-deep); }
.bulima-score--draw { background: #fff3cd; color: #7a5b00; }
.bulima-score--loss { background: #ffe3e0; color: #a31620; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    margin: 1px 0;
}

.badge.red { background: #ffebe9; color: var(--bl-red); }
.badge.yr { background: #fff1d6; color: var(--bl-orange); }
.badge.pen { background: #e8f0ff; color: var(--bl-blue); }
.badge.good { background: var(--bl-green-soft); color: var(--bl-green-deep); }
.badge.mdt { background: #fff1d6; color: #9a6700; }
.badge.joker { background: #f3e8ff; color: #7a2cbf; }

.off {
    color: #a8b8a2;
    font-weight: 400;
}

/* ---------- Auswertung: Wertungsknoepfe und Panel ---------- */
.toggle {
    border: 1px solid var(--bl-line);
    background: #fff;
    border-radius: 999px;
    padding: 3px 11px;
    cursor: pointer;
    font-size: 12px;
}

tr.marked .toggle.full,
tr.marked_half .toggle.half {
    background: var(--bl-green);
    color: #fff;
    border-color: var(--bl-green);
}

td.rating {
    white-space: nowrap;
}

td.rating label {
    font-size: 12px;
    color: var(--bl-muted);
    margin-left: 6px;
    cursor: pointer;
}

.bulima-panel {
    position: sticky;
    top: 110px;
}

.bulima-panel .score {
    font-size: 50px;
    font-weight: 800;
    text-align: center;
    color: var(--bl-green-deep);
    margin: 6px 0 16px;
}

.kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--bl-line);
}

.kv span:first-child {
    color: var(--bl-muted);
}

.bulima-panel .warn {
    color: var(--bl-orange);
    font-size: 13px;
    margin-top: 8px;
}

.bulima-panel small {
    display: block;
    color: var(--bl-muted);
    margin-top: 12px;
    font-size: 12px;
}

.bulima-panel form {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bulima-panel .bulima-field input {
    width: 100%;
}

.bulima-panel .bulima-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ---------- Aufstellung: Kader | Spielfeld | Bank ---------- */
.bl-board {
    display: grid;
    grid-template-columns: 270px minmax(460px, 1fr) 270px;
    gap: var(--bl-gap);
    align-items: start;
}

@media (max-width: 1200px) {
    .bl-board { grid-template-columns: 1fr; }
}

.bl-pool,
.bl-bench {
    padding: 18px;
}

.bl-pool__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bl-pool__filter button {
    border: 1px solid var(--bl-line);
    background: #fff;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
}

.bl-pool__filter button.is-active {
    background: var(--bl-green);
    border-color: var(--bl-green);
    color: #fff;
}

.bl-pool__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 760px;
    overflow-y: auto;
    padding: 4px;
    border-radius: 10px;
}

.bl-pool__list.is-over {
    background: #fff4f2;
    outline: 2px dashed var(--bl-red);
}

.bl-pool__group {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bl-green-deep);
    margin: 8px 0 2px;
}

/* Spielerkarte */
.bl-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--bl-line);
    border-radius: 12px;
    padding: 5px 8px 5px 5px;
    cursor: grab;
    user-select: none;
    min-width: 0;
}

.bl-card:active {
    cursor: grabbing;
}

.bl-card.is-placed {
    background: #f4faf1;
    border-color: var(--color-primary-75);
}

.bl-card.is-selected {
    outline: 3px solid #ffcf3a;
}

.bl-card__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.bl-card__text strong {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-card__text small {
    font-size: 11px;
    color: var(--bl-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-card__text em {
    font-size: 10px;
    font-style: normal;
    color: var(--bl-green-dark);
    font-weight: 600;
}

/* Foto oder Silhouette */
.bl-photo {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #dde8d7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='8' fill='%23a3b99a'/%3E%3Cpath d='M5 40c1-10 7-15 15-15s14 5 15 15z' fill='%23a3b99a'/%3E%3C/svg%3E") center / cover;
}

.bl-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Spielfeld */
.bl-pitch {
    position: relative;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 18px;
    min-height: 760px;
    padding: 34px 22px;
    border-radius: 18px;
    border: 4px solid rgba(255, 255, 255, .9);
    background: repeating-linear-gradient(180deg, #3f9a31 0 70px, #47a637 70px 140px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 60px rgba(0, 0, 0, .15);
    overflow: hidden;
}

/* Linien: Mittellinie, Mittelkreis, Strafraeume */
.bl-pitch__lines,
.bl-pitch__lines::before,
.bl-pitch__lines::after {
    position: absolute;
    pointer-events: none;
}

.bl-pitch__lines {
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) center / 100% 3px no-repeat,
        radial-gradient(circle at 50% 50%, transparent 68px, rgba(255, 255, 255, .7) 69px, rgba(255, 255, 255, .7) 71px, transparent 72px);
}

.bl-pitch__lines::before,
.bl-pitch__lines::after {
    content: "";
    left: 22%;
    right: 22%;
    height: 15%;
    border: 3px solid rgba(255, 255, 255, .7);
}

.bl-pitch__lines::before {
    top: -3px;
    border-top: 0;
}

.bl-pitch__lines::after {
    bottom: -3px;
    border-bottom: 0;
}

.bl-pitch__row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}

/* Plaetze */
.bl-slot {
    position: relative;
    border-radius: 14px;
    transition: transform .1s, box-shadow .1s;
}

.bl-slot--pitch {
    width: 140px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
    border: 2px dashed rgba(255, 255, 255, .6);
}

.bl-slot--pitch .bl-card {
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 8px 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.bl-slot--pitch .bl-photo {
    width: 52px;
    height: 52px;
    border: 3px solid var(--bl-green);
}

.bl-slot--pitch .bl-card__text {
    align-items: center;
    max-width: 100%;
}

.bl-slot--bench {
    min-height: 50px;
    background: #f5f9f3;
    border: 2px dashed var(--bl-line);
    display: flex;
    align-items: center;
    padding-left: 26px;
}

.bl-slot--bench .bl-card {
    flex: 1;
    padding-right: 52px;
}

.bl-slot__empty {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .05em;
}

.bl-slot--bench .bl-slot__empty {
    color: var(--bl-muted);
    font-weight: 600;
    padding: 0 8px;
}

.bl-slot__prio {
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
}

.bl-slot--bench .bl-slot__prio {
    top: 50%;
    transform: translateY(-50%);
    color: var(--bl-muted);
}

.bl-slot.is-target {
    box-shadow: 0 0 0 3px #ffcf3a;
}

.bl-slot.is-blocked {
    opacity: .45;
}

.bl-slot.is-over {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px #ffcf3a, 0 8px 18px rgba(0, 0, 0, .25);
}

/* Joker und Entfernen auf der Karte */
.bl-joker,
.bl-remove {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    padding: 0;
    cursor: pointer;
}

.bl-joker {
    top: -8px;
    left: -8px;
    background: #ece4f5;
    color: #7a2cbf;
}

.bl-joker.is-on {
    background: #7a2cbf;
    color: #fff;
    box-shadow: 0 0 0 2px #fff;
}

.bl-remove {
    top: -8px;
    right: -8px;
    background: #fff;
    color: var(--bl-red);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.bl-slot--bench .bl-joker {
    top: 50%;
    left: auto;
    right: 30px;
    transform: translateY(-50%);
}

.bl-slot--bench .bl-remove {
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
}

.bl-bench__group {
    margin-bottom: 16px;
}

.bl-bench__group h4 {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bl-green-deep);
}

.bl-bench__slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bl-lineup-footer {
    display: grid;
    gap: 12px;
}

.bl-lineup-status .bl-warn {
    color: var(--bl-red);
    font-size: 13px;
}

.bl-credits summary {
    cursor: pointer;
    font-weight: 600;
}

.bl-credits ul {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 12px;
    color: var(--bl-muted);
    columns: 2;
}

/* ---------- Terminabfrage ---------- */
.bulima-poll td.is-weekend {
    background: #fafcf8;
}

.bulima-poll input {
    width: 110px;
    min-height: 32px;
    padding: 4px 8px;
}

/* ---------- Archiv: PDF-Downloads ---------- */
.bulima-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bulima-docs a::before {
    content: "PDF ";
    font-weight: 800;
    font-size: 10px;
    color: var(--bl-red);
}

/* ---------- Regeln (Fliesstext-Element) ---------- */
.textpic {
    background: #fff;
    border-radius: var(--bl-radius);
    padding: 32px 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.rich-text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
}

.rich-text h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--bl-green-deep);
    margin: 40px 0 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--bl-green);
}

.rich-text h2:first-of-type {
    margin-top: 8px;
}

.rich-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--bl-text);
    margin: 24px 0 6px;
}

.rich-text p,
.rich-text li,
.rich-text dd {
    font-size: 16px;
}

.rich-text p.stand {
    color: var(--bl-muted);
    font-size: 13px;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 16px;
    font-size: 15px;
}

.rich-text th,
.rich-text td {
    border-bottom: 1px solid var(--bl-line);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.rich-text th {
    background: var(--bl-green-soft);
    color: var(--bl-green-deep);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.rich-text dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 6px 16px;
}

.rich-text dt {
    font-weight: 700;
}

.rich-text dd {
    margin: 0;
}

.rich-text dd p {
    margin: 0;
}

.rich-text .box {
    background: var(--bl-green-soft);
    border-left: 4px solid var(--bl-green);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
}

.rich-text .bsp {
    color: var(--bl-muted);
    font-style: italic;
    font-size: 14px;
}

/* ---------- Login-Seite ----------
 * Camino gibt keine Klasse .frame-type-felogin_login aus, sondern .component: Karte ueber den Inhalt erkennen
 * (Login, "Passwort vergessen", Neusetzen), sonst steht alles samt gruenem Link direkt auf dem Rasen. */
.frame-type-felogin_login,
.page__content .component:has(form[action*="tx_felogin_login"]),
.page__content .component:has(a[href*="tx_felogin_login"]) {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
    /* !important: .component ist global transparent (!important) */
    background: #fff !important;
    border-radius: var(--bl-radius);
    padding: 28px 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.bl-champion > span:last-child {
    text-align: right;
}

.bl-champion .bulima-docs {
    justify-content: flex-end;
    gap: 4px 8px;
    font-size: 11px;
}

/* Kopf: Menue zwischen Logo und Schriftzug, kompakt und zentriert */
@media (min-width: 1024px) {
    .header__menu {
        flex: 1;
        min-width: 0;
    }
    .header__nav {
        justify-content: center;
    }
    .header__nav-list {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0;
    }
    .header__nav-item {
        font-size: 14px;
        padding-left: 7px;
        padding-right: 7px;
        white-space: nowrap;
    }
}

@media (max-width: 1500px) {
    .bulima-user__team {
        display: none;
    }
}

.bl-result-form input,
.bl-result-form select {
    width: 100%;
}

/* Menue einzeilig halten */
@media (min-width: 1024px) {
    .header__content {
        gap: 14px;
    }
    .header__nav-item {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 1700px) {
    .bulima-user__team,
    .bulima-wordmark__claim {
        display: none;
    }
    .bulima-wordmark__title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .header__nav-list {
        flex-wrap: nowrap;
    }
}

/* Camino begrenzt den Kopf auf --content-max-width (1244px): fuer Bulima breiter */
.header .header__content {
    max-width: 1440px !important;
}

/* Titelkarte mit Handlungsaufforderung (Tabelle: "Ergebnis eintragen") */
.bulima-headline-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    background: rgba(255, 255, 255, .94);
    border-radius: var(--bl-radius);
    padding: 22px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.bulima-button--cta {
    font-size: 17px;
    padding: 14px 30px;
    box-shadow: 0 4px 14px rgba(58, 155, 46, .45);
}

/* Versteigerung: Spielername als Bearbeiten-Link (Admin) */
.bl-edit-link {
    color: var(--bl-green-dark);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.bl-edit-link:hover {
    color: var(--bl-green-deep);
    text-decoration-style: solid;
}

/* Handy: Tabellen duerfen nicht aus dem Bildschirm laufen */
@media (max-width: 700px) {
    .bulima-table {
        font-size: 13px;
    }
    .bulima-table td,
    .bulima-table th {
        padding-left: 6px;
        padding-right: 6px;
    }
    .bulima-table td.name {
        white-space: normal;
    }
    .bulima-card,
    .bulima-toolbar,
    .bulima-headline-card,
    .bulima > div:not([class]):not(div:not([class]) ~ *) {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ---------- Hintergrund: Rasen mit Maehstreifen und Spielfeldmarkierungen ---------- */
body {
    background-color: #3f922f;
    background-image:
        url("../Images/pitch-lines.svg"),
        url("../Images/grass.svg"),
        repeating-linear-gradient(90deg, #3c8d2d 0 5.6vw, #47a036 5.6vw 11.2vw),
        radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18) 85%);
    /* Spielfeldlinien auf die volle Fensterflaeche gezogen (leicht verzerrt), damit alle Seitenlinien sichtbar sind */
    background-size: 100% 100%, 240px 240px, auto, auto;
    background-position: center, 0 0, 0 0, center;
    background-repeat: no-repeat, repeat, repeat, no-repeat;
    background-attachment: fixed, fixed, fixed, fixed;
}

/* Beruehmter Spielzug als Kreidezeichnung (plays.js zeichnet ein SVG in Fenstergroesse), deckungsgleich mit den Spielfeldlinien, hinter allen Inhalten */
.bl-play {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bl-play svg {
    display: block;
}
@media print {
    .bl-play, .bl-play-toggle { display: none !important; }
}

/* Knopf links am Tor: Inhalt ausblenden, Spielzug ganz zeigen */
.bl-play-toggle {
    position: fixed;
    left: 14px;
    top: 50%;
    z-index: 50;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(22, 77, 19, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: background .2s, transform .2s;
}
.bl-play-toggle:hover,
.bl-play-toggle:focus-visible { background: var(--bl-green-dark); transform: scale(1.06); }
.bl-play-toggle[aria-pressed="true"] { background: #fff; color: var(--bl-green-deep); }
.page__content, .footer { transition: opacity .3s; }
body.bl-show-play .page__content,
body.bl-show-play .footer,
body.bl-show-play .bulima-to-top { opacity: .04; pointer-events: none; }
body.bl-show-play .bl-play { opacity: 1; }
/* Kopf beim Anzeigen des Spielzugs ausblenden, damit das ganze Feld zu sehen ist */
.header { transition: opacity .3s; }
body.bl-show-play .header { opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
    /* Handy: Knopf klein oben links unter dem Kopf */
    .bl-play-toggle { left: 8px; top: 68px; width: 32px; height: 32px; margin-top: 0; border-width: 1.5px; }
    .bl-play-toggle svg { width: 18px; height: 18px; }
    /* Handy (Hochformat): Spielfeld um 90 Grad gedreht, linkes Tor oben; plays.js zeichnet die Spielzuege passend dazu */
    body {
        background-image:
            url("../Images/pitch-lines-portrait.svg"),
            url("../Images/grass.svg"),
            repeating-linear-gradient(180deg, #3c8d2d 0 5.6vh, #47a036 5.6vh 11.2vh),
            radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18) 85%);
        background-size: 100% 100%, 240px 240px, auto, auto;
    }
}

/* Inhalte leicht durchsichtig, damit der Spielzug im Hintergrund durchscheint (Dialoge bleiben deckend) */
.bulima > div:not([class]):not(div:not([class]) ~ *),
.bulima-card,
.bulima-toolbar,
.bulima-headline-card,
.textpic {
    background: rgba(255, 255, 255, .86);
}

/* Rasen hinter der Startelf-Grafik der Aufstellung ebenfalls mit Struktur */
.bl-pitch {
    background:
        url("../Images/grass.svg") 0 0 / 240px 240px,
        repeating-linear-gradient(180deg, #3f9a31 0 70px, #47a637 70px 140px);
}

/* ---------- Knopf "nach oben" ---------- */
.bulima-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    width: 52px;
    height: 52px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--bl-green-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity .2s, transform .2s, background .2s;
}

.bulima-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.bulima-to-top:hover {
    background: var(--bl-green);
}

@media (max-width: 700px) {
    .bulima-to-top {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }
}

/* ---------- Aufstellung: Bank jeweils rechts neben der Reihe auf dem Spielfeld ---------- */
.bl-board {
    grid-template-columns: 260px minmax(0, 1fr);
}

.bl-field {
    position: relative;
    display: grid;
    grid-template-columns: minmax(440px, 1fr) 300px;
    grid-template-rows: repeat(4, minmax(170px, auto));
    column-gap: 22px;
    row-gap: 14px;
}

/* das gruene Feld liegt hinter allen vier Reihen der linken Spalte */
.bl-field > .bl-pitch {
    grid-column: 1;
    grid-row: 1 / 5;
    min-height: 0;
    padding: 0;
    display: block;
}

.bl-field > .bl-pitch__row {
    grid-column: 1;
    padding: 18px 20px;
}

.bl-row-1 { grid-row: 1; }
.bl-row-2 { grid-row: 2; }
.bl-row-3 { grid-row: 3; }
.bl-row-4 { grid-row: 4; }

.bl-field > .bl-bench {
    grid-column: 2;
    align-self: center;
    background: rgba(255, 255, 255, .95);
    border-radius: 14px;
    padding: 10px 12px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.bl-field > .bl-bench h4 {
    margin: 0 0 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bl-green-deep);
}

/* Bankplaetze kompakt in zwei Spalten */
.bl-field .bl-bench__slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.bl-field .bl-slot--bench {
    min-height: 44px;
    padding-left: 18px;
}

.bl-field .bl-slot--bench .bl-card {
    padding: 4px 34px 4px 4px;
    gap: 6px;
}

.bl-field .bl-slot--bench .bl-photo {
    width: 30px;
    height: 30px;
}

.bl-field .bl-slot--bench .bl-card__text small {
    display: none;
}

.bl-field .bl-slot--bench .bl-joker {
    right: 20px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
}

.bl-field .bl-slot--bench .bl-remove {
    right: 2px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.bl-field .bl-slot--bench .bl-slot__prio {
    left: 4px;
}

/* schmale Bildschirme: Reihe und ihre Bank untereinander, jede Reihe mit eigenem Rasen */
@media (max-width: 1200px) {
    .bl-board {
        grid-template-columns: 1fr;
    }
    .bl-field {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .bl-field > .bl-pitch {
        display: none;
    }
    .bl-field > .bl-pitch__row,
    .bl-field > .bl-bench {
        grid-column: 1;
        grid-row: auto;
    }
    .bl-field > .bl-pitch__row {
        border-radius: 14px;
        min-height: 120px;
        flex-wrap: wrap;
        background: url("../Images/grass.svg") 0 0 / 240px 240px, #43a035;
        border: 3px solid rgba(255, 255, 255, .8);
    }
}

@media (min-width: 1201px) {
    .bl-field {
        grid-template-columns: minmax(420px, 1fr) 350px;
    }
}

.bl-field .bl-slot--bench .bl-card__text strong {
    font-size: 12px;
}

/* Bankplaetze: Karte bleibt im Platz, Name endet vor Joker/Entfernen */
.bl-field .bl-bench__slots > .bl-slot {
    min-width: 0;
}

.bl-field .bl-slot--bench .bl-card {
    min-width: 0;
    max-width: 100%;
    padding-right: 44px;
}

/* Bank einspaltig: Namen vollstaendig lesbar */
.bl-field .bl-bench__slots {
    grid-template-columns: 1fr;
    gap: 5px;
}

.bl-field .bl-slot--bench {
    min-height: 40px;
}

/* ---------- Aufstellung: Bank links | Spielfeld | Kader rechts ---------- */
@media (min-width: 1201px) {
    .bl-board {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
    .bl-field {
        grid-template-columns: 300px minmax(420px, 1fr);
    }
    .bl-field > .bl-pitch,
    .bl-field > .bl-pitch__row {
        grid-column: 2;
    }
    .bl-field > .bl-bench {
        grid-column: 1;
    }
    .bl-pool {
        position: sticky;
        top: 20px;
    }
}

/* Auswertung: Abschnitte der Spielsimulation unter dem Spieler (klein, grau) */
.bulima-table td.name .bl-segments { list-style: none; margin: 2px 0 0; padding: 0; font-size: 9px; line-height: 1.35; font-weight: 400; color: #8a8f8a; white-space: normal; max-width: 130px; }
.bulima-table td.name .bl-segments li { margin: 0; }
.bulima-table td.name .bl-segments .bl-segments__foreign { font-style: italic; }

/* Auswertung: kompakter, damit die Tabelle samt Wertungsspalte in die Karte passt */
.JS_bulima-evaluation .bulima-table td,
.JS_bulima-evaluation .bulima-table th { padding-left: 6px; padding-right: 6px; }
.JS_bulima-evaluation td.grade .off { display: inline-block; white-space: normal; max-width: 52px; font-size: 11px; line-height: 1.2; }
.JS_bulima-evaluation td.rating { white-space: normal; min-width: 150px; }
.JS_bulima-evaluation .toggle { padding: 2px 8px; font-size: 11px; }
.JS_bulima-evaluation td.rating label { font-size: 11px; margin-left: 4px; white-space: nowrap; }

/* Spielsimulation: Startelf als kleines Spielfeld (Sturm oben, Tor unten) */
.bl-startxi {
    display: grid;
    gap: 8px;
    padding: 14px 10px;
    margin: 0 0 16px;
    border-radius: 12px;
    background:
        linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) center / 100% 1px no-repeat,
        repeating-linear-gradient(0deg, #3f9f33 0 28px, #46a83a 28px 56px);
    border: 2px solid rgba(255, 255, 255, .6);
}
.bl-startxi__row { display: flex; justify-content: space-evenly; gap: 6px; flex-wrap: wrap; }
.bl-startxi__player {
    background: #fff;
    color: var(--bl-green-deep, #1f5e18);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.bl-startxi__player small { font-weight: 400; color: #8a8f8a; font-size: 10px; }
.bl-startxi__player.is-empty { background: rgba(255, 255, 255, .55); color: #6b736b; font-weight: 400; }
.bl-startxi { max-width: 520px; gap: 14px; padding: 18px 12px; }
.bl-simulation__log { list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; }
.bl-simulation__log li { padding: 3px 0; border-bottom: 1px solid var(--bl-line, #e3e8e1); }
.bl-simulation__min { display: inline-block; min-width: 42px; font-weight: 700; color: var(--bl-green-deep, #1f5e18); }

/* Spielsimulation kompakt: kleinere Schrift, enge Zeilen, Luft zwischen den Bloecken */
.bl-simulation { font-size: 12px; line-height: 1.35; }
.bl-simulation h3 { margin-bottom: 4px; }
.bl-simulation h4 { font-size: 12px; margin: 0 0 6px; }
.bl-simulation .bulima-lead { font-size: 12px; line-height: 1.4; margin: 0 0 12px; }
.bl-simulation .bl-simulation__log { font-size: 11px; line-height: 1.3; margin: 0 0 28px; max-width: 520px; }
.bl-simulation .bl-simulation__log li { padding: 1px 0; }
.bl-simulation .bl-simulation__min { min-width: 34px; }
.bl-simulation .bulima-table td { font-size: 11px; line-height: 1.3; padding: 3px 6px; }
.bl-simulation > small { display: block; margin-top: 10px; font-size: 10px; }

/* Hauptmenue mit Icons: Desktop Icon ueber dem Label, mobil daneben */
.header__nav-item { display: inline-flex; align-items: center; gap: 8px; }
.bl-nav-icon { flex: none; opacity: .9; }
.header__nav-item--active .bl-nav-icon,
.header__nav-item:hover .bl-nav-icon { opacity: 1; }
@media (min-width: 1024px) {
    .header .header__nav-item {
        flex-direction: column;
        gap: 3px;
        font-size: 16px;
        font-weight: 600;
        padding: 6px 10px;
        line-height: 1.1;
    }
}
@media (min-width: 1024px) and (max-width: 1350px) {
    .header .header__nav-item { font-size: 15px; padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 1023px) {
    .header__nav-item { font-size: 17px; }
}
.header .header__nav-list .header__nav-item { display: inline-flex; align-items: center; }
@media (min-width: 1351px) {
    .header .header__nav-list .header__nav-item { font-size: 17px; padding-left: 11px; padding-right: 11px; }
    .header .bl-nav-icon { width: 24px; height: 24px; }
}

/* Menue zentriert zwischen Logo (links) und Login-Info (rechts) */
@media (min-width: 1024px) {
    .header .header__nav,
    .header .header__nav-list { justify-content: center; }
}
@media (min-width: 1024px) {
    .header .header__nav { margin-left: 0; }
}

/* Auswertung: Lesezeichen-Knopf "kicker-Daten holen" (Admin) */
.bl-kicker-import { font-size: 13px; }
.bl-kicker-import summary { cursor: pointer; font-weight: 600; }
.bl-kicker-import ol { margin: 10px 0 8px 18px; padding: 0; line-height: 1.7; }
.bl-kicker-import .bl-kicker-import__button { display: inline-block; padding: 4px 14px; font-size: 13px; cursor: grab; }

/* Aufstellung: kurze Saisonstatistik auf der Spielerkarte (Erklaerung per title) */
.bl-card .bl-stats { display: flex; flex-wrap: wrap; gap: 0 5px; margin-top: 1px; font-size: 9.5px; line-height: 1.3; color: #7b847b; font-style: normal; }
.bl-card .bl-stats span { cursor: help; white-space: nowrap; }
.bl-card .bl-stats .bl-stats__none { font-style: italic; }

/* Kader: Statistik-Spalten mit Erklaerung im Spaltenkopf */
.bulima-table th.bl-stat-col { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }

/* Kopf sticky, beim Scrollen kompakter (Klasse is-compact aus to-top.js) */
.header {
    position: sticky;
    top: 0;
    transition: padding .2s ease, box-shadow .2s ease, height .2s ease;
}
.header .bulima-akki img,
.header .bl-nav-icon,
.header .header__nav-item,
.header .bulima-akki figcaption { transition: all .2s ease; }
.header.is-compact { height: auto; padding-top: 4px; padding-bottom: 4px; box-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.header.is-compact .bulima-akki { padding: 2px 6px; }
.header.is-compact .bulima-akki img { width: 64px; height: auto; }
.header.is-compact .bulima-akki figcaption { font-size: 0; line-height: 0; opacity: 0; }
.header.is-compact .bulima-user { font-size: 12px; }
@media (min-width: 1024px) {
    .header.is-compact .header__nav-list .header__nav-item { font-size: 14px; padding-top: 2px; padding-bottom: 2px; gap: 1px; }
    .header.is-compact .bl-nav-icon { width: 17px; height: 17px; }
}

/* Aufstellung: Vorschlag-Knopf (nur ohne gespeicherte Aufstellung) */
.bl-suggest { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.bl-suggest small { font-size: 12px; }
.bl-card .bl-next { display: block; font-size: 9.5px; line-height: 1.3; color: #5f8f57; font-style: normal; cursor: help; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Seite "Passwort aendern" */
.bl-password-card { max-width: 420px; }
.bl-password-card input { width: 100%; box-sizing: border-box; }

/* ---------- Mobil: Menue einspaltig und kompakter ---------- */
@media (max-width: 1023px) {
    .header .header__nav-list {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
    }
    .header .header__nav-list-item { width: 100%; min-height: 0; }
    .header .header__nav-list .header__nav-item {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        gap: 10px;
        min-height: 0;
        padding: 7px 20px;
        font-size: 14px;
        line-height: 1.3;
    }
    .header .bl-nav-icon { width: 17px; height: 17px; }
}

/* ---------- Regeln (Text mit Tabellen) duerfen die Box nicht sprengen ---------- */
.textpic__text,
.rich-text { min-width: 0; }
@media (max-width: 767px) {
    .textpic { grid-template-columns: minmax(0, 1fr); }
    .page__content:has(.rich-text) { padding: 12px 0; }
    .textpic:has(.rich-text) { padding: 18px 16px; }
    .rich-text { font-size: 15px; overflow-wrap: break-word; hyphens: auto; }
    .rich-text h2 { font-size: 21px; margin-top: 28px; }
    .rich-text table { display: block; overflow-x: auto; font-size: 13px; -webkit-overflow-scrolling: touch; }
    .rich-text th, .rich-text td { padding: 6px 7px; }
    .rich-text th { font-size: 11px; }
    .rich-text dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .rich-text dd { margin-bottom: 10px; }
}

/* Archiv: Kader frueherer Saisons, je Team aufklappbar */
.bl-archive-squads h3 { margin-bottom: 10px; }
.bl-archive-squad { border-top: 1px solid var(--bl-line, #e3e8e1); }
.bl-archive-squad summary { cursor: pointer; padding: 10px 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.bl-archive-squad summary:hover { background: var(--bl-green-soft, #eef6ec); }
.bl-archive-squad__meta { margin-left: auto; color: var(--bl-muted, #6b736b); font-size: 13px; }
.bl-archive-squad[open] summary { font-weight: 600; }
/* aufgeklappter Kader eingerueckt, mit Fuehrungslinie links */
.bl-archive-squad > .bulima-tablewrap { margin: 0 0 14px 22px; padding-left: 12px; border-left: 3px solid var(--bl-green-soft, #e6f4df); }
@media (max-width: 640px) { .bl-archive-squad > .bulima-tablewrap { margin-left: 8px; padding-left: 8px; } }
.bl-archive-squads > small { display: block; margin-top: 12px; }

/* Tabelle: Verlauf der Tabellenplaetze (rank-chart.js); Farben = Standardpalette Kategorien 1-6 */
.bl-rank { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948; }
.bl-rank__lead { font-size: 13px; margin: -4px 0 10px; }
.bl-rank__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.bl-rank__key { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13px; color: var(--bl-text, #1d2b1d); cursor: pointer; }
.bl-rank__key[aria-pressed="false"] { opacity: .4; text-decoration: line-through; }
.bl-rank__key.is-own { font-weight: 700; }
.bl-rank__swatch { display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: currentColor; }
.bl-rank__plot { position: relative; }
.bl-rank__plot > svg { display: block; width: 100%; height: auto; }
.bl-rank__grid line { stroke: #e6ebe4; stroke-width: 1; }
.bl-rank__half { stroke: #c9d3c6 !important; stroke-dasharray: 3 4; }
.bl-rank__axis { font-size: 10px; fill: #7b847b; }
.bl-rank__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: opacity .15s; }
.bl-rank__team.is-own .bl-rank__line { stroke-width: 3.5; }
.bl-rank__end { stroke: #fff; stroke-width: 2; }
svg.is-focus .bl-rank__team:not(.is-focused) { opacity: .15; }
.bl-rank__cross { stroke: #9aa59a; stroke-width: 1; }
.bl-rank__dot { stroke: #fff; stroke-width: 2; }
.bl-rank__tip { position: absolute; z-index: 5; pointer-events: none; background: #fff; border: 1px solid #dfe5dc; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.15); padding: 8px 10px; font-size: 12px; line-height: 1.5; white-space: nowrap; color: #1d2b1d; }
.bl-rank__tiprow.is-own { font-weight: 700; }
.bl-rank__tiprow .bl-rank__swatch { margin-right: 6px; vertical-align: middle; }
/* Farben je Serie: Linie, Punkt und Legendenstrich */
.bl-rank__s1 { color: var(--s1); stroke: var(--s1); fill: var(--s1); } .bl-rank__s2 { color: var(--s2); stroke: var(--s2); fill: var(--s2); }
.bl-rank__s3 { color: var(--s3); stroke: var(--s3); fill: var(--s3); } .bl-rank__s4 { color: var(--s4); stroke: var(--s4); fill: var(--s4); }
.bl-rank__s5 { color: var(--s5); stroke: var(--s5); fill: var(--s5); } .bl-rank__s6 { color: var(--s6); stroke: var(--s6); fill: var(--s6); }
.bl-rank__s7 { color: var(--s7); stroke: var(--s7); fill: var(--s7); } .bl-rank__s8 { color: var(--s8); stroke: var(--s8); fill: var(--s8); }
.bl-rank__team .bl-rank__line { fill: none; }
.bl-rank__s1 .bl-rank__line, .bl-rank__s1.bl-rank__line { stroke: var(--s1); }
.bl-rank__key .bl-rank__swatch { background: currentColor; }
.bl-rank__key { color: var(--bl-text, #1d2b1d); }
.bl-rank__key .bl-rank__s1 { color: var(--s1); } .bl-rank__key .bl-rank__s2 { color: var(--s2); } .bl-rank__key .bl-rank__s3 { color: var(--s3); }
.bl-rank__key .bl-rank__s4 { color: var(--s4); } .bl-rank__key .bl-rank__s5 { color: var(--s5); } .bl-rank__key .bl-rank__s6 { color: var(--s6); }

/* Formularfelder einheitlich hoch: alle rechnen mit Rand und Innenabstand (vorher waren Zahlenfelder/Auswahl
   content-box = 54 px, Textfelder border-box = 38 px, z. B. "Note" auf "Ergebnis eintragen") */
.bulima select,
.bulima input[type=text],
.bulima input[type=number],
.bulima input[type=date],
.bulima input[type=search],
.bulima input[type=password] {
    box-sizing: border-box;
    min-height: 44px;
}
.bulima-table input.scp,
.bulima-table input.gtp,
.bulima-poll input { min-height: 32px; }

/* Sicherheitsabfrage (confirm.js) */
.bl-confirm {
    border: 0;
    border-radius: var(--bl-radius);
    padding: 0;
    width: min(420px, calc(100vw - 32px));
    color: var(--bl-text);
    background: var(--bl-card);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}

.bl-confirm::backdrop {
    background: rgba(22, 77, 19, .45);
}

.bl-confirm__box {
    padding: 22px 24px 20px;
}

.bl-confirm__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.bl-confirm__text {
    margin: 0 0 20px;
    line-height: 1.45;
}

.bl-confirm__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.bl-confirm__actions .bulima-button--ghost {
    padding: 10px 22px;
}

/* Ergebnis speichern/aendern gesperrt, solange der Spieltag nicht abgeschlossen ist */
.bulima-button:disabled,
.bulima-button:disabled:hover {
    background: #b9c4b5;
    color: #fff;
    cursor: not-allowed;
}

.bl-matchday-open {
    display: block;
    margin-top: 8px;
    color: var(--bl-orange);
    font-size: 13px;
}

/* Archiv-Kader: im Laufe der Saison verkaufte Spieler (fehlen in spaeteren Kaderlisten) */
.bulima-table tr.bl-sold td { color: #9aa59a; }
.bulima-table tr.bl-sold td.name { font-weight: 400; }
.bl-sold__note { font-size: 11px; color: #9aa59a; font-style: italic; white-space: nowrap; }

/* Admin: Ergebnis loeschen (Ergebnisse-Seite) */
.bulima-table .bl-actions {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.bl-actions form {
    margin: 0;
}

.bl-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
}

.bl-delete:hover,
.bl-delete:focus-visible {
    color: #b42318;
    border-color: #f1b8b2;
    background: #fdecea;
}

.bulima-button--danger {
    background: #b42318;
}

.bulima-button--danger:hover {
    background: #8f1c13;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Aufstellung: gesperrt nach Beginn des Spieltags, Knoepfe Speichern/Zuruecksetzen */
.bl-lineup-locked {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 4px solid var(--bl-orange);
    border-radius: 8px;
    background: #fff4e5;
}

.bl-lineup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ---------- Mobiles Menue: volle Breite, direkt unter dem mitlaufenden Kopf ----------
 * Camino setzt beim Oeffnen per JS overflow:hidden (Inline-Style) auf body. Dadurch verliert der Kopf "sticky" und springt
 * samt Menue an den Seitenanfang. Gesperrt wird stattdessen html, der Kopf bleibt oben im Bild.
 * Das Menue haengt am Kopf (top: 100%) statt an der Seite, ohne festen 380-px-Kasten. */
@media (max-width: 1279px) {
    body.body--menu-open { overflow: visible !important; }
    html:has(body.body--menu-open) { overflow: hidden; }
    .header .header__menu--open {
        --nav-width: auto;
        --nav-position: static;
        --nav-right: auto;
        --nav-margin-top: 0;
        --nav-padding-bottom: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
        max-height: calc(100dvh - 56px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: transparent;
    }
    /* nur so breit wie die Eintraege, rechts unter dem Menue-Knopf */
    .header .header__menu--open .header__nav {
        width: max-content;
        max-width: calc(100% - 24px);
        margin: 8px 12px 12px auto;
    }
    .header .header__menu--open .header__nav-list .header__nav-item {
        padding-right: 28px;
    }
}

/* Ergebnisse: Schnellnavigation zu den Teamdetails (rechts neben der Saisonauswahl) */
.bl-jump { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bl-jump__label { font-size: 13px; font-weight: 600; color: var(--bl-green-dark); }
.bl-jump__list { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-jump__list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 12px;
    border: 1px solid var(--bl-green);
    border-radius: 999px;
    color: var(--bl-green-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.bl-jump__list a:hover,
.bl-jump__list a:focus-visible { background: var(--bl-green-soft); color: var(--bl-green-deep); }
.bl-jump__short { display: none; }
/* Sprungziel nicht unter dem mitlaufenden Kopf verstecken */
.bl-jump-target { scroll-margin-top: 110px; }
@media (max-width: 767px) {
    .bl-jump__long { display: none; }
    .bl-jump__short { display: inline; }
    .bl-jump__list a { min-width: 40px; justify-content: center; padding: 4px 8px; }
    .bl-jump-target { scroll-margin-top: 72px; }
}

/* Versteigerung nach Verein/Team: Zwischenzeile je Bereich (Tor, Abwehr, Mittelfeld, Sturm) */
.bulima-table tr.subgroup td {
    padding: 10px 12px 3px;
    border-top: 2px solid var(--bl-green-soft);
    background: #fbfdf9;
    color: var(--bl-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bulima-table tr.group + tr.subgroup td { border-top: 0; }

/* Versteigerung nach Verein: kleinere Sprungknoepfe; Seitenleiste nach Team mit Links */
.bl-jump--small .bl-jump__list { gap: 4px; }
.bl-jump--small .bl-jump__list a { min-height: 26px; padding: 2px 9px; font-size: 12px; }
@media (max-width: 767px) {
    .bl-jump--small .bl-jump__list a { min-width: 0; padding: 2px 8px; }
}
.bl-panel-link { color: inherit; font-weight: 600; text-decoration: underline dotted; text-underline-offset: 3px; }
.bl-panel-link:hover { color: var(--bl-green-dark); text-decoration-style: solid; }

/* Versteigerung nach Team: Saisonstatistik in der Tabelle (wie auf den Spielerkarten der Aufstellung) */
.bulima-table .bl-stats { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; line-height: 1.4; color: #6b746b; font-style: normal; }
.bulima-table .bl-stats span { cursor: help; white-space: nowrap; }
.bulima-table .bl-stats .bl-stats__none { font-style: italic; }
.bulima-table td.bl-stats-cell { min-width: 220px; }

/* Versteigerung: Preis brutto, abweichender Nettopreis in eckigen Klammern */
.bulima-table td.bl-price { white-space: nowrap; }
.bl-price__net { color: var(--bl-muted); font-size: 12px; }

/* Terminabfrage: Auswahl ja / nein / von-bis, bei von/bis rechts daneben die Bemerkung */
.bl-poll-answer { display: flex; align-items: center; gap: 6px; }
.bl-poll-answer select { min-width: 82px; }
.bl-poll-answer input { width: 130px; min-width: 0; }
.bl-poll-answer input[hidden] { display: none; }
.bl-poll-no { color: var(--bl-muted); }
.bl-poll-vb { color: #9a5b00; font-weight: 600; white-space: nowrap; }
/* Camino gibt Eingabefeldern volle Breite: in der Terminabfrage feste, kompakte Breiten erzwingen */
.bulima .bulima-poll .bl-poll-answer select { width: auto; min-width: 98px; flex: 0 0 auto; }
.bulima .bulima-poll .bl-poll-answer input[type="text"] { width: 140px; max-width: 140px; flex: 0 0 140px; }

/* ---------- Regeln: Knopf "Als PDF speichern" und Drucklayout ---------- */
/* klein, ohne Kasten, rechts oben ueber dem Regeltext (Download, erzeugt vom Server) */
.bl-rules-pdf { display: flex; justify-content: flex-end; margin: 0 0 6px; }
.bulima-button.bl-rules-pdf__button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: 13px; line-height: 1.4; text-decoration: none; }
.bl-print-title { display: none; }
/* Aufstellung: PDF-Knopf rechts in der Werkzeugleiste (nur bei gespeicherter Aufstellung) */
.bulima-toolbar .bl-lineup-pdf { margin-left: auto; align-self: center; }

@media print {
    @page { margin: 16mm 14mm; }
    html, body { background: #fff !important; }
    body::before, body::after { display: none !important; }
    .header, .footer, .bl-rules-pdf, .bl-to-top, .bulima-to-top, [class*="to-top"], .breadcrumb { display: none !important; }
    .page__content, .component, .textpic, .textpic__text, .rich-text {
        background: #fff !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        width: auto !important;
        color: #000 !important;
    }
    .textpic { display: block !important; }
    .bl-print-title { display: block; margin: 0 0 8mm; font-size: 20pt; color: #164d13; }
    .rich-text { font-size: 10.5pt; line-height: 1.45; }
    .rich-text h2 { font-size: 14pt; margin-top: 8mm; break-after: avoid; }
    .rich-text h3 { break-after: avoid; }
    .rich-text table { display: table !important; width: 100%; overflow: visible !important; border-collapse: collapse; font-size: 9.5pt; }
    .rich-text tr { break-inside: avoid; }
    .rich-text th, .rich-text td { border: 1px solid #bbb; padding: 3px 5px; }
    .rich-text a { color: #000; text-decoration: none; }
}

/* ---------- Vereinswappen (<bl:crest>): Groesse in em, passt sich der Schrift an ----------
 * Runde Plaketten (120x120) -> Breite = Hoehe; leere Platzhalter (alte Teams) gleich breit, damit Texte buendig bleiben.
 * Negativer Rand: das Wappen ist groesser als die Schrift, ohne die Zeilenhoehe zu veraendern. */
.bl-crest {
    --bl-crest-size: 1.45em;
    display: inline-block;
    flex: none;
    height: var(--bl-crest-size);
    width: var(--bl-crest-size);
    margin: calc((1em - var(--bl-crest-size)) / 2) .4em calc((1em - var(--bl-crest-size)) / 2) 0;
    vertical-align: middle;
    object-fit: contain;
}
.bl-crest--table { --bl-crest-size: 1.9em; margin-right: .5em; }
.bl-crest--head { --bl-crest-size: 1.7em; display: block; margin: 0 auto 4px; }
.bulima-table th.bl-matrix-head { text-align: center; }
.bl-jump__list a .bl-crest { --bl-crest-size: 1.35em; margin-right: .35em; }
.bulima-user__team .bl-crest { --bl-crest-size: 1.3em; }

/* Schalter Sperren (Admin, Auswertung) und Testmodus-Hinweis */
.bl-locks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; font-size: 14px; }
.badge.bl-badge-warn { background: #fff4e5; color: #9a5b00; border: 1px solid #f5c27a; }
.bl-lineup-testmode { margin: 0 0 12px; padding: 8px 12px; border-left: 4px solid var(--bl-orange); border-radius: 8px; background: #fff4e5; font-size: 14px; }

/* ---------- Aufstellung: Versionen mit Diff (ganz unten auf der Seite) ---------- */
.bl-versions h3 {
    margin-top: 0;
}

.bl-versions__legend {
    font-size: 13px;
}

.bl-versions__list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.bl-versions__item {
    padding: 8px 0;
    border-top: 1px solid var(--bl-line);
}

.bl-versions__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    cursor: pointer;
}

.bl-versions__tag {
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--bl-green);
    color: #fff;
}

.bl-versions__changes {
    margin: 8px 0 6px;
    padding-left: 18px;
    font-size: 14px;
}

.bl-versions__diff {
    display: grid;
    gap: 6px;
    margin: 8px 0;
}

.bl-diff-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
    align-items: baseline;
    font-size: 13px;
}

.bl-diff-row__label {
    color: var(--bl-muted);
    font-weight: 600;
}

.bl-diff-row__items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bl-diff-sep {
    color: var(--bl-muted);
    padding: 0 2px;
}

.bl-diff {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f3f5f2;
    border: 1px solid transparent;
    font-size: 13px;
}

.bl-diff.is-starter {
    font-weight: 600;
}

.bl-diff small {
    font-weight: 400;
}

.bl-diff--new {
    background: #e3f4dc;
    border-color: #8fca7f;
}

.bl-diff--moved {
    background: #fff4d6;
    border-color: #e8c35c;
}

.bl-diff--joker {
    background: #e4ecfb;
    border-color: #8eaee6;
}

.bl-diff--removed {
    background: #fbe4e2;
    border-color: #e39a93;
    text-decoration: line-through;
}

.bl-diff--removed small {
    text-decoration: none;
}

.bl-versions__remark {
    font-size: 13px;
}

@media (max-width: 600px) {
    .bl-diff-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.bl-versions__changes li {
    margin: 0;
    line-height: 1.45;
}

.bl-versions__list,
.bl-versions__legend,
.bl-versions__changes {
    max-width: none;
}

/* Versionen: Knopf "Uebernehmen" rechts in der Kopfzeile */
.bl-restore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--bl-green);
    border-radius: 50%;
    background: #fff;
    color: var(--bl-green);
    cursor: pointer;
}

.bl-restore:hover,
.bl-restore:focus-visible {
    background: var(--bl-green);
    color: #fff;
}

.bl-restore.is-disabled {
    border-color: var(--bl-line);
    color: #b9c2b5;
    cursor: default;
}

.bl-restore.is-disabled:hover {
    background: #fff;
    color: #b9c2b5;
}

/* Abmelden im Hauptmenue nur mobil (dort ist die Benutzerbox ausgeblendet), mit Trennlinie */
.header__nav-list-item.bl-nav-logout { display: none; }
@media (max-width: 1279px) {
    .header__nav-list-item.bl-nav-logout { display: block; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 4px; padding-top: 4px; }
}

/* Aufstellung aus Foto */
.bl-photo-button { display: inline-flex; align-items: center; gap: 6px; }
.bl-photo-button.is-busy { cursor: progress; opacity: .75; }
.bl-photo-button.is-busy svg { animation: bl-photo-pulse 1s ease-in-out infinite alternate; }
@keyframes bl-photo-pulse { from { opacity: 1; } to { opacity: .3; } }
.JS_lineup-suggest-note.bl-photo-error { color: #b3261e; }

/* Slowakische Auswertung (Overlay auf der Auswertung): wehende slowakische Flagge aus 16 Streifen */
.bl-flag {
    --w: 30px;
    --h: 20px;
    position: relative;
    display: inline-flex;
    flex: none;
    width: var(--w);
    height: var(--h);
    vertical-align: middle;
}
.bl-flag i {
    flex: 1 1 0;
    height: 100%;
    background: url("../Images/flag-sk.svg") no-repeat;
    background-size: var(--w) var(--h);
    background-position: calc(var(--i) * var(--w) / -16) 0;
    /* Ausschlag waechst von der Stange weg, Phase laeuft wie eine Welle durch */
    --amp: calc(var(--i) * var(--h) / 90);
    animation: bl-flag-wave 1.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -.11s);
}
.bl-flag i:first-child { --amp: 0px; }
.bl-flag--large {
    --w: 96px;
    --h: 64px;
    margin-left: 6px;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .18));
}
/* Fahnenstange */
.bl-flag--large::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -6px;
    bottom: -22px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8a8f8a, #d5d9d5 45%, #6b736b);
}
@keyframes bl-flag-wave {
    0%, 100% { transform: translateY(calc(var(--amp) * -1)); filter: brightness(1.06); }
    50% { transform: translateY(var(--amp)); filter: brightness(.86); }
}
@media (prefers-reduced-motion: reduce) {
    .bl-flag i { animation: none; }
}

.bl-slovak-button { gap: 8px; }
.bl-slovak-button.is-loading { opacity: .7; cursor: progress; }

.bl-slovak {
    border: 0;
    border-radius: var(--bl-radius);
    padding: 0;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    color: var(--bl-text);
    background: var(--bl-card);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.bl-slovak::backdrop { background: rgba(11, 78, 162, .4); }
.bl-slovak__box { padding: 22px 24px 20px; }
.bl-slovak__head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #d9dde3 0 33%, #0b4ea2 33% 66%, #ee1c25 66%) 1;
}
.bl-slovak__head > div { flex: 1; min-width: 0; }
.bl-slovak__head h3 { margin: 0 0 2px; font-size: 1.35rem; }
.bl-slovak__head p { margin: 0; font-size: 13px; }
.bl-slovak__close {
    align-self: flex-start;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    color: var(--bl-text);
    padding: 0 6px;
}
.bl-slovak__close:hover { color: #ee1c25; }
.bl-slovak__virtual {
    margin: 0 0 14px;
    padding: 6px 10px;
    font-size: 12px;
    border-left: 4px solid #0b4ea2;
    background: rgba(11, 78, 162, .07);
}
.bl-slovak__results { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.bl-slovak__result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 170px;
    padding: 10px 14px;
    border: 1px solid var(--bl-line, #e3e8e1);
    border-radius: var(--bl-radius);
    font-size: 13px;
}
.bl-slovak__result.is-best { border: 2px solid #0b4ea2; background: rgba(11, 78, 162, .05); }
.bl-slovak__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6b736b; }
.bl-slovak__score { font-size: 28px; line-height: 1.1; color: var(--bl-green-deep, #1f5e18); }
.bl-slovak__result.is-best .bl-slovak__score { color: #0b4ea2; }
.bl-slovak__lead { font-size: 12px; line-height: 1.45; margin: 0 0 14px; }
.bl-slovak__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; font-size: 12px; }
.bl-slovak h4 { font-size: 12px; margin: 0 0 6px; }
.bl-slovak .bl-startxi { margin-bottom: 14px; }
.bl-slovak .bl-simulation__log { font-size: 11px; line-height: 1.3; }
.bl-slovak .bulima-table td { font-size: 11px; line-height: 1.3; padding: 3px 6px; }
.bl-slovak__area { display: flex; gap: 10px; margin-bottom: 8px; }
.bl-slovak__area-label { flex: 0 0 74px; color: #6b736b; }
.bl-slovak .bl-slovak__area ol { margin: 0; padding-left: 18px; flex: 1; font-size: 12px; line-height: 1.35; }
.bl-slovak .bl-slovak__area li { padding: 1px 0; margin: 0; font-size: 12px; }
.bl-slovak__area li.is-starter { font-weight: 700; }
.bl-slovak__grade { float: right; color: #6b736b; font-weight: 400; }
.bl-slovak__area + h4 { margin-top: 14px; }
.bl-slovak__foot { display: block; margin-top: 14px; font-size: 10px; line-height: 1.4; }
@media (max-width: 760px) {
    .bl-slovak__box { padding: 16px; }
    .bl-slovak__cols { grid-template-columns: 1fr; }
    .bl-slovak__head { gap: 14px; }
    .bl-flag--large { --w: 60px; --h: 40px; }
}
/* Slowakische Auswertung immer in eigener Zeile unter Spieltag/Team (nicht mitwandernd neben der Aufstellungsinfo) */
.bulima-toolbar .bl-slovak-row { flex: 0 0 100%; margin-top: -4px; }
/* Schliessen im Overlay der Slowakischen Auswertung: runder gruener Knopf */
.bl-slovak .bl-slovak__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline-offset: 2px;
    background: var(--bl-green, #3a9b2e);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    transition: background-color .15s ease;
}
.bl-slovak .bl-slovak__close:hover,
.bl-slovak .bl-slovak__close:focus-visible {
    background: var(--bl-green-deep, #1f5e18);
    color: #fff;
}
