/* FIFA World Cup 2026 hub — page styles. Scoped to .wc2026-* classes only. */

.wc2026-hub,
.wc2026-page,
.wc2026-match-page {
    max-width: 1180px;
    margin: 24px auto;
    padding: 0 16px;
    color: var(--bodyText, #1a1a1a);
}

/* ===== Wrapper that encloses comp-header + tabs + page content ===== */
.wc2026-app {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    width: 100%;
}
.wc2026-app > .wc2026-hub,
.wc2026-app > .wc2026-page,
.wc2026-app > .wc2026-match-page {
    max-width: none;
    margin: 16px 0 24px;
    padding: 0;
}

/* ===== Comp header + tab bar (persistent across all WC pages) ===== */
.wc2026-comp-header {
    margin: 24px 0 0;
    padding: 0;
    box-sizing: border-box;
}
.wc2026-comp-header__inner {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px 14px 0 0;
    padding: 18px 22px;
    border-bottom: 0;
    box-sizing: border-box;
}
.wc2026-comp-header__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wc2026-comp-trophy {
    flex-shrink: 0;
    line-height: 0;
}
.wc2026-comp-trophy img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.wc2026-comp-header__titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wc2026-comp-header__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--titleText, #1a1a1a);
    margin: 0;
    line-height: 1.2;
}
.wc2026-comp-header__subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.wc2026-tabs {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 14px 14px;
    padding: 0 22px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.wc2026-tabs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    min-width: max-content;
}
.wc2026-tabs__link {
    display: block;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
}
.wc2026-tabs__link:hover {
    color: #002868;
}
.wc2026-tabs__item.is-active .wc2026-tabs__link {
    color: var(--bodyText, #1a1a1a);
    border-bottom-color: #002868;
}
.wc2026-intro + .wc2026-tabs {
    border-radius: 14px;
    margin: 14px 0 18px;
}

/* When the comp header is present, page content sits below it without its own outer margin */
.wc2026-comp-header + .wc2026-hub,
.wc2026-comp-header + .wc2026-page,
.wc2026-comp-header + .wc2026-match-page {
    margin-top: 16px;
}

/* ===== Lead paragraph (intro section) ===== */
.wc2026-lead {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #4a5568;
}
.wc2026-intro__copy {
    font-size: 15px;
    line-height: 1.7;
    margin: 14px 0 0;
    color: #4a5568;
}

/* ===== Inner page header ===== */
.wc2026-pageheader {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    /* Override site-wide `header { background: linear-gradient(...) }` from style-15.css */
    background: none;
    color: inherit;
}
.wc2026-pageheader h1 {
    font-size: 26px;
    margin: 8px 0 6px;
    font-weight: 800;
    color: #002868;
}
.wc2026-pageheader p {
    margin: 0;
    color: #4a5568;
    font-size: 15px;
}
.wc2026-breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}
.wc2026-breadcrumb a {
    color: #002868;
    text-decoration: none;
}
.wc2026-breadcrumb a:hover { text-decoration: underline; }

/* ===== Sections ===== */
.wc2026-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 22px;
}
.wc2026-section h2 {
    font-size: 20px;
    margin: 0 0 16px;
    font-weight: 700;
    color: #002868;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}
.wc2026-empty {
    color: #6b7280;
    font-style: italic;
    padding: 12px 0;
    margin: 0;
}

/* ===== Match list ===== */
.wc2026-match-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-match-row {
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-match-row:last-child { border-bottom: 0; }
.wc2026-match-link {
    display: grid;
    grid-template-columns: 92px 1fr 160px;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}
.wc2026-match-link:hover {
    background: #f8fafc;
}
.wc2026-match-date,
.wc2026-match-time {
    font-weight: 600;
    color: #002868;
    font-size: 14px;
}
.wc2026-match-time { font-size: 15px; }
.wc2026-match-teams {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    flex-wrap: wrap;
}
.wc2026-match-teams img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.wc2026-match-teams .vs {
    color: #9ca3af;
    margin: 0 4px;
}
.wc2026-match-meta {
    color: #6b7280;
    font-size: 13px;
    text-align: right;
}

/* ===== Day header on schedule (legacy, kept for compatibility) ===== */
.wc2026-day {
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.wc2026-day h2 {
    background: #002868;
    color: #fff;
    margin: 0;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
}

/* ===== Fixtures page (fotmob-style) ===== */
.wc2026-filterpills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.wc2026-filterpill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--white, #fff);
    border: 1px solid var(--statGrey, #e5e7eb);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--titleText, #1a1a1a);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.wc2026-filterpill:hover {
    border-color: var(--blue, #002868);
}
.wc2026-filterpill.is-active {
    background-color: var(--blue, #002868);
    border-color: var(--blue, #002868);
    color: var(--white, #fff);
}

.wc2026-paginator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 0 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 8px;
}
.wc2026-paginator__btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #4a5568;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 0;
    transition: background 0.12s ease;
}
.wc2026-paginator__btn:hover { background: #e2e8f0; }
.wc2026-paginator__btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.wc2026-paginator__label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 160px;
    text-align: center;
}

.wc2026-secfilter {
    margin: 0 0 16px;
}
.wc2026-secfilter__select {
    width: 100%;
    max-width: 360px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
}
.wc2026-secfilter--compact {
    display: flex;
    justify-content: center;
    padding: 12px 0 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 8px;
}
.wc2026-secfilter--compact form {
    display: block;
}
.wc2026-teamselect {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.wc2026-teamselect__flag {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wc2026-teamselect__flag img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 2px;
}

/* ===== Custom flag dropdown for "Po reprezentaciji" ===== */
.wc2026-tdrop {
    position: relative;
    display: inline-block;
}
.wc2026-tdrop__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    min-width: 220px;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.wc2026-tdrop__trigger:hover {
    border-color: #002868;
}
.wc2026-tdrop__trigger[aria-expanded="true"] {
    border-color: #002868;
    box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.1);
}
.wc2026-tdrop__flag {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wc2026-tdrop__flag:empty,
.wc2026-tdrop__item-flag:empty {
    display: none;
}
.wc2026-tdrop__flag img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
}
.wc2026-tdrop__label {
    flex: 1;
    text-align: left;
}
.wc2026-tdrop__chevron {
    flex-shrink: 0;
    transition: transform 0.15s ease;
}
.wc2026-tdrop__trigger[aria-expanded="true"] .wc2026-tdrop__chevron {
    transform: rotate(180deg);
}

.wc2026-tdrop__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    max-height: 360px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 30;
    display: none;
    flex-direction: column;
}
.wc2026-tdrop__panel.is-open {
    display: flex;
}
.wc2026-tdrop__search {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 14px;
    font-size: 13px;
    color: #1a1a1a;
    background: #f8fafc;
    outline: none;
}
.wc2026-tdrop__search:focus {
    background: #fff;
    border-bottom-color: #002868;
}
.wc2026-tdrop__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    flex: 1;
    max-height: 300px;
}
.wc2026-tdrop__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.1s ease;
}
.wc2026-tdrop__item:hover {
    background: #f1f5f9;
}
.wc2026-tdrop__item.is-selected {
    background: #eff6ff;
    color: #002868;
    font-weight: 600;
}
.wc2026-tdrop__item-flag {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wc2026-tdrop__item-flag img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
}
.wc2026-tdrop__item-name {
    flex: 1;
}
.wc2026-secfilter--compact .wc2026-secfilter__select {
    display: block;
    width: 220px;
    max-width: none;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    text-align: center;
    text-align-last: center;
    font-weight: 600;
    cursor: pointer;
}

.wc2026-fixtures__day {
    background: #f8fafc;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    margin: 14px 0 0;
    text-align: center;
}
.wc2026-fixtures__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-fixrow {
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-fixrow:last-child { border-bottom: 0; }
.wc2026-fixrow__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 14px 12px 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}
.wc2026-fixrow__caption {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.wc2026-fixrow__link:hover {
    background: #f8fafc;
}
.wc2026-fixrow__link a {
    text-decoration: none;
}
.wc2026-fixrow__link a:hover {
    color: #002868;
    text-decoration: underline;
}
.wc2026-fixrow__team {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--bodyText, #1a1a1a);
}
.wc2026-fixrow__team span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wc2026-fixrow__team--home span {
    margin-right: 4px;
}
.wc2026-fixrow__team--away span {
    margin-left: 4px;
}
.wc2026-fixrow__team img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-fixrow__team--home { justify-content: flex-end; text-align: right; }
.wc2026-fixrow__team--away { justify-content: flex-start; text-align: left; }
.wc2026-fixrow__center {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    min-width: 64px;
    text-align: center;
    padding: 4px 10px;
}
.wc2026-fixrow__center.is-finished {
    color: #1a1a1a;
    font-weight: 800;
    font-size: 15px;
}

@media (max-width: 640px) {
    .wc2026-fixrow__link {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        text-align: center;
    }
    .wc2026-fixrow__team,
    .wc2026-fixrow__team--home,
    .wc2026-fixrow__team--away {
        flex-direction: row;
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 0;
        font-size: 12px;
        line-height: 1.2;
    }
    .wc2026-fixrow__team--home {
        flex-direction: row;
    }
    .wc2026-fixrow__center {
        justify-self: center;
        align-self: center;
        min-width: 54px;
        padding: 4px 8px;
    }
    .wc2026-fixrow__caption {
        text-align: center;
    }
}

/* ===== Hub 2-column grid (left=groups, right=sidebar) ===== */
.wc2026-hub-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
    align-items: start;
}
.wc2026-hub-grid__left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.wc2026-hub-grid__right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.wc2026-hub-grid__right > * { width: 100%; box-sizing: border-box; }
.wc2026-group-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
}
.wc2026-group-card__title {
    color: var(--titleText, #1a1a1a);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}
.wc2026-group-table th,
.wc2026-group-table td {
    padding: 6px 4px;
    font-size: 14px;
}
.wc2026-group-table,
.wc2026-team-standings-table {
    table-layout: fixed;
}
.wc2026-group-table th:first-child,
.wc2026-group-table td:first-child {
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-group-table th:nth-child(2),
.wc2026-group-table td:nth-child(2) {
    padding-left: 6px;
}
.wc2026-group-table td:nth-child(2),
.wc2026-team-standings-table td:nth-child(2) {
    color: var(--bodyText, #1a1a1a);
    font-weight: 600;
}
.wc2026-group-table th:nth-child(3),
.wc2026-group-table td:nth-child(3),
.wc2026-group-table th:nth-child(4),
.wc2026-group-table td:nth-child(4),
.wc2026-group-table th:nth-child(5),
.wc2026-group-table td:nth-child(5),
.wc2026-group-table th:nth-child(6),
.wc2026-group-table td:nth-child(6),
.wc2026-group-table th:nth-child(8),
.wc2026-group-table td:nth-child(8),
.wc2026-team-standings-table th:nth-child(3),
.wc2026-team-standings-table td:nth-child(3),
.wc2026-team-standings-table th:nth-child(4),
.wc2026-team-standings-table td:nth-child(4),
.wc2026-team-standings-table th:nth-child(5),
.wc2026-team-standings-table td:nth-child(5),
.wc2026-team-standings-table th:nth-child(6),
.wc2026-team-standings-table td:nth-child(6),
.wc2026-team-standings-table th:nth-child(8),
.wc2026-team-standings-table td:nth-child(8) {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-group-table th:nth-child(7),
.wc2026-group-table td:nth-child(7),
.wc2026-team-standings-table th:nth-child(7),
.wc2026-team-standings-table td:nth-child(7) {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-group-table th:nth-child(9),
.wc2026-group-table td:nth-child(9),
.wc2026-team-standings-table th:nth-child(9),
.wc2026-team-standings-table td:nth-child(9) {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    text-align: center;
}

/* ===== Sidebar widgets (rounds, scorers, tips) ===== */
.wc2026-side {
    padding: 14px 14px;
}
.wc2026-side__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--titleText, #1a1a1a);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.02em;
}
.wc2026-side__paginator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-side__round {
    font-size: 14px;
    font-weight: 700;
    color: var(--titleText, #1a1a1a);
    flex: 1;
    text-align: center;
}
.wc2026-side__day {
    background: #f8fafc;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 0 0;
}
.wc2026-side__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-side__row {
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-side__row:last-child { border-bottom: 0; }
.wc2026-side__link {
    display: grid;
    grid-template-columns: 1fr auto auto auto 1fr;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    text-decoration: none;
    color: inherit;
    font-size: 12px;
    transition: background 0.12s ease;
}
.wc2026-side__link:hover { background: #f8fafc; }
.wc2026-side__home {
    text-align: right;
    margin-right: 4px;
}
.wc2026-side__away {
    text-align: left;
    margin-left: 4px;
}
.wc2026-side__home,
.wc2026-side__away {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wc2026-side__home-flag,
.wc2026-side__away-flag {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wc2026-side__home-flag img,
.wc2026-side__away-flag img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
}
.wc2026-side__time {
    color: #6b7280;
    font-weight: 600;
    font-size: 11px;
    min-width: 42px;
    text-align: center;
}
.wc2026-side__time--score {
    color: #002868;
    font-weight: 800;
    font-size: 13px;
}
.wc2026-side__more {
    margin: 12px 0 0;
}

@media (max-width: 760px) {
    .wc2026-hub-grid {
        grid-template-columns: 1fr;
    }
    .wc2026-hub-grid__right {
        order: 2;
    }
}

/* ===== Groups grid (used on /grupe/ full page) ===== */
.wc2026-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.wc2026-groups-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wc2026-groups-grid--full {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (max-width: 720px) {
    .wc2026-groups-grid--three {
        grid-template-columns: 1fr;
    }
    .wc2026-group-analysis__grid {
        grid-template-columns: 1fr;
    }
}
.wc2026-group-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}
.wc2026-group-card h2,
.wc2026-group-card h3 {
    font-size: 15px;
    color: var(--titleText, #1a1a1a);
    margin: 0 0 12px;
    font-weight: 700;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}
.wc2026-group-analysis {
    margin-top: 22px;
}
.wc2026-group-analysis__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}
.wc2026-group-analysis__item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}
.wc2026-group-analysis__item h3 {
    margin: 0 0 8px;
    color: var(--titleText, #1a1a1a);
    font-size: 16px;
    font-weight: 800;
}
.wc2026-group-analysis__item p {
    margin: 0;
    color: var(--bodyText, #1a1a1a);
    font-size: 14px;
    line-height: 1.55;
}
.wc2026-group-analysis__item p + p {
    margin-top: 8px;
}
.wc2026-group-analysis__prediction strong {
    color: var(--titleText, #1a1a1a);
}

/* ===== Tables ===== */
.wc2026-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.wc2026-table th,
.wc2026-table td {
    padding: 7px 8px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-table th {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.wc2026-table.wc2026-group-table th,
.wc2026-table.wc2026-group-table td,
.wc2026-table.wc2026-team-standings-table th,
.wc2026-table.wc2026-team-standings-table td {
    padding-left: 4px;
    padding-right: 4px;
}
.wc2026-table.wc2026-group-table th:nth-child(3),
.wc2026-table.wc2026-group-table td:nth-child(3),
.wc2026-table.wc2026-group-table th:nth-child(4),
.wc2026-table.wc2026-group-table td:nth-child(4),
.wc2026-table.wc2026-group-table th:nth-child(5),
.wc2026-table.wc2026-group-table td:nth-child(5),
.wc2026-table.wc2026-group-table th:nth-child(6),
.wc2026-table.wc2026-group-table td:nth-child(6),
.wc2026-table.wc2026-group-table th:nth-child(8),
.wc2026-table.wc2026-group-table td:nth-child(8),
.wc2026-table.wc2026-team-standings-table th:nth-child(3),
.wc2026-table.wc2026-team-standings-table td:nth-child(3),
.wc2026-table.wc2026-team-standings-table th:nth-child(4),
.wc2026-table.wc2026-team-standings-table td:nth-child(4),
.wc2026-table.wc2026-team-standings-table th:nth-child(5),
.wc2026-table.wc2026-team-standings-table td:nth-child(5),
.wc2026-table.wc2026-team-standings-table th:nth-child(6),
.wc2026-table.wc2026-team-standings-table td:nth-child(6),
.wc2026-table.wc2026-team-standings-table th:nth-child(8),
.wc2026-table.wc2026-team-standings-table td:nth-child(8) {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-table.wc2026-group-table th:nth-child(7),
.wc2026-table.wc2026-group-table td:nth-child(7),
.wc2026-table.wc2026-team-standings-table th:nth-child(7),
.wc2026-table.wc2026-team-standings-table td:nth-child(7) {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-table td:first-child,
.wc2026-table th:first-child {
    width: 24px;
    color: #9ca3af;
}
.wc2026-group-table th:first-child,
.wc2026-group-table td:first-child,
.wc2026-team-standings-table th:first-child,
.wc2026-team-standings-table td:first-child {
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}
.wc2026-table td img {
    vertical-align: middle;
    margin-right: 6px;
}
.wc2026-group-table td img,
.wc2026-team-cell img,
.wc2026-side__home-flag img,
.wc2026-side__away-flag img,
.wc2026-fixrow__team img,
.wc2026-team-next__team img,
.wc2026-team-fixture__teams img,
.wc2026-mhead__team-flag,
.wc2026-team-hero__identity img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-table tbody tr:hover { background: #f8fafc; }
.wc2026-table tbody tr td:nth-last-child(1) { text-align: center; }
.wc2026-team-link {
    color: var(--bodyText, #1a1a1a);
    font-weight: 600;
    text-decoration: none;
}
.wc2026-team-link:hover {
    color: #002868;
    text-decoration: underline;
}
.wc2026-table-more {
    margin: 10px 0 0;
}

.wc2026-scorers-table th,
.wc2026-scorers-table td { text-align: center; }
.wc2026-scorers-table td:nth-child(2),
.wc2026-scorers-table td:nth-child(3),
.wc2026-scorers-table th:nth-child(2),
.wc2026-scorers-table th:nth-child(3) { text-align: left; }

/* ===== Tip blocks ===== */
.wc2026-tip-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-tip-row {
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-tip-row:last-child { border-bottom: 0; }
.wc2026-tip-row a {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 8px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}
.wc2026-tip-row a:hover { background: #f8fafc; }
.wc2026-tip-pick {
    color: #bf0a30;
    font-weight: 600;
    font-size: 14px;
}
.wc2026-tip-author {
    color: #6b7280;
    font-size: 13px;
    margin-left: auto;
}

/* ===== Form dots (W/L/D circles) ===== */
.wc2026-form {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-top: 6px;
}
.wc2026-form.is-empty {
    color: #9ca3af;
    font-size: 12px;
}
.wc2026-form__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #94a3b8;
    letter-spacing: 0;
}
.wc2026-form__dot--w { background: #10b981; }
.wc2026-form__dot--l { background: #ef4444; }
.wc2026-form__dot--d { background: #94a3b8; }
.wc2026-form--lg .wc2026-form__dot {
    width: 22px; height: 22px; font-size: 11px;
}

/* ===== About-the-match narrative ===== */
.wc2026-about p {
    line-height: 1.7;
    color: #1f2937;
    font-size: 15px;
    margin: 0;
}
.wc2026-about code {
    background: #f1f5f9;
    color: #1a1a1a;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ===== Mini standings highlight ===== */
.wc2026-row-highlight {
    background: #eff6ff;
    box-shadow: inset 3px 0 0 #002868;
}

/* ===== Injuries 2-col block ===== */
.wc2026-injuries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.wc2026-injuries__col h3 {
    font-size: 14px;
    margin: 0 0 10px;
    color: #002868;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}
.wc2026-injuries__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-injuries__list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.wc2026-injuries__list li:last-child { border-bottom: 0; }
.wc2026-injuries__list img {
    border-radius: 50%;
    object-fit: cover;
}
.wc2026-injuries__name {
    font-weight: 600;
    color: #1a1a1a;
}
.wc2026-injuries__reason {
    color: #6b7280;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .wc2026-injuries { grid-template-columns: 1fr; }
}

/* ===== Match page header (legacy, kept for compatibility) ===== */
.wc2026-match-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

/* ===== Match page 2-column grid (main + sidebar) ===== */
.wc2026-match-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
    align-items: start;
}
.wc2026-match-grid__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.wc2026-match-grid__main > .wc2026-section { margin-bottom: 0; }
.wc2026-match-grid__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.wc2026-match-grid__side > * {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

@media (max-width: 880px) {
    .wc2026-match-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Stadium card (sidebar) ===== */
.wc2026-stadium__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f1f5f9;
}
.wc2026-stadium__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.wc2026-stadium__row > svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.wc2026-stadium__name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.3;
}
.wc2026-stadium__loc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}
.wc2026-stadium__facts,
.wc2026-weather__facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
}
.wc2026-stadium__facts div,
.wc2026-weather__facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #eef2f7;
}
.wc2026-stadium__facts dt,
.wc2026-weather__facts dt {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}
.wc2026-stadium__facts dd,
.wc2026-weather__facts dd {
    margin: 0;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}
.wc2026-weather__main {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wc2026-weather__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: #002868;
}
.wc2026-weather__main-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}
.wc2026-weather__main strong {
    color: #002868;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}
.wc2026-weather__main span {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
}
.wc2026-weather__note {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

/* ===== Match page header — fotmob-style ===== */
.wc2026-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.wc2026-mhead {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}
.wc2026-mhead__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-mhead__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 14px 6px 10px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.12s ease;
}
.wc2026-mhead__back:hover { background: #e2e8f0; }
.wc2026-mhead__comp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: center;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
}
.wc2026-mhead__comp-title--mobile {
    display: none;
}
.wc2026-mhead__trophy {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.wc2026-mhead__top-spacer {
    /* placeholder kept so the comp title stays centered */
    width: 100px;
}

.wc2026-mhead__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 14px 18px;
    color: #4a5568;
    font-size: 13px;
    border-top: 1px solid #f1f5f9;
}
.wc2026-mhead__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wc2026-mhead__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 24px 24px 28px;
}
.wc2026-mhead__team {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.wc2026-mhead__team--home {
    align-items: center;
    text-align: center;
}
.wc2026-mhead__team--away {
    align-items: center;
    text-align: center;
}
.wc2026-mhead__teamname {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.wc2026-mhead__teamname:hover {
    color: #002868;
    text-decoration: underline;
}
.wc2026-mhead__center {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 200px;
    justify-content: center;
}
.wc2026-mhead__team-flag,
.wc2026-mhead__flag {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-mhead__center-mid {
    text-align: center;
    min-width: 80px;
}
.wc2026-mhead__score {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}
.wc2026-mhead__time {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
}
.wc2026-mhead__when {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .wc2026-mhead__top {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        justify-items: center;
        gap: 0;
        padding: 0 0 16px;
    }
    .wc2026-mhead__back {
        justify-self: start;
        width: 34px;
        height: 34px;
        padding: 10px;
        box-sizing: border-box;
        justify-content: center;
        border-radius: 999px;
    }
    .wc2026-mhead__back span { display: none; }
    .wc2026-mhead__back svg {
        width: 12px;
        height: 12px;
    }
    .wc2026-mhead__comp {
        width: auto;
        min-width: 0;
        justify-content: center;
        gap: 6px;
        font-size: 14px;
        white-space: nowrap;
    }
    .wc2026-mhead__comp-title--desktop {
        display: none;
    }
    .wc2026-mhead__comp-title--mobile {
        display: inline;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wc2026-mhead__trophy {
        width: 16px;
        height: 16px;
    }
    .wc2026-mhead__top-spacer {
        display: block;
        width: 34px;
        height: 34px;
    }
    .wc2026-mhead__teamname {
        font-size: 15px;
        line-height: 1.2;
    }
    .wc2026-mhead__team-flag,
    .wc2026-mhead__flag {
        width: 24px;
        height: 24px;
        object-fit: cover;
        border-radius: 4px;
    }
    .wc2026-mhead__score { font-size: 26px; }
    .wc2026-mhead__time { font-size: 20px; }
    .wc2026-mhead__teams {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        padding: 18px 12px;
    }
    .wc2026-mhead__center {
        min-width: 64px;
        gap: 0;
    }
    .wc2026-mhead__center-mid {
        min-width: 58px;
    }
}
.wc2026-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.wc2026-match-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.wc2026-match-teamname {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}
.wc2026-match-center {
    text-align: center;
    min-width: 140px;
}
.wc2026-match-score {
    font-size: 34px;
    font-weight: 800;
    color: #002868;
    letter-spacing: 0.02em;
}
.wc2026-match-time {
    font-size: 28px;
    font-weight: 700;
    color: #002868;
}
.wc2026-match-date {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.wc2026-match-venue {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.wc2026-tip-analysis {
    margin: 12px 0;
    line-height: 1.6;
    color: #374151;
}
.wc2026-tip-meta {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

/* ===== Predictions ===== */
.wc2026-prediction-advice {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 0 0 14px;
    font-weight: 500;
}
.wc2026-prediction-percents {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.wc2026-prediction-percents li {
    background: #f8fafc;
    padding: 14px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* ===== Odds ===== */
.wc2026-odds-books {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.wc2026-odds-book {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}
.wc2026-odds-book h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #1a1a1a;
}
.wc2026-odds-market {
    margin-top: 14px;
}
.wc2026-odds-market:first-of-type {
    margin-top: 0;
}
.wc2026-odds-market h4 {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6b7280;
}
.wc2026-odds-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.wc2026-odds-list li {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ===== Team page ===== */
.wc2026-team-hero {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 24px 0;
    margin-bottom: 16px;
}
.wc2026-team-back {
    display: none;
}
.wc2026-team-hero__identity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}
.wc2026-team-hero__identity img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
}
.wc2026-team-hero h1 {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 26px;
    line-height: 1.15;
}
.wc2026-team-hero p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}
.wc2026-team-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.wc2026-team-tabs a {
    display: block;
    padding: 14px 12px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.wc2026-team-tabs a:hover {
    color: #002868;
}
.wc2026-team-tabs a.is-active {
    color: #1a1a1a;
    border-bottom-color: #002868;
}
.wc2026-team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}
.wc2026-team-layout > * {
    min-width: 0;
}
.wc2026-team-page .wc2026-section {
    overflow-x: auto;
}
.wc2026-team-aside {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
}
.wc2026-team-aside .wc2026-side {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.wc2026-team-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
}
.wc2026-team-cards--overview {
    margin-bottom: 22px;
}
.wc2026-team-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    min-height: 120px;
    min-width: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.06);
}
.wc2026-team-card h3 {
    margin: 0 0 14px;
    color: #1a1a1a;
    font-size: 16px;
}
.wc2026-team-next {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    text-decoration: none;
    min-width: 0;
}
.wc2026-team-next__team {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.wc2026-team-next__team--home {
    justify-content: flex-end;
    text-align: right;
}
.wc2026-team-next__team--away {
    justify-content: flex-start;
    text-align: left;
}
.wc2026-team-next__team span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wc2026-team-next__team img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-team-next strong {
    font-size: 22px;
    color: #002868;
    text-align: center;
}
.wc2026-team-next small {
    grid-column: 1 / -1;
    color: #6b7280;
    text-align: center;
}
.wc2026-team-fixtures {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-team-fixture {
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-team-fixture:last-child {
    border-bottom: 0;
}
.wc2026-team-fixture a {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 150px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    color: #1a1a1a;
    text-decoration: none;
}
.wc2026-team-fixture a:hover {
    color: #002868;
}
.wc2026-team-fixture__date,
.wc2026-team-fixture__round {
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}
.wc2026-team-fixture__round {
    text-align: center;
}
.wc2026-team-fixture__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    font-weight: 600;
    min-width: 0;
}
.wc2026-team-fixture__team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.wc2026-team-fixture__team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wc2026-team-fixture__team--home span {
    margin-right: 4px;
}
.wc2026-team-fixture__team--away span {
    margin-left: 4px;
}
.wc2026-team-fixture__team--home {
    justify-content: flex-end;
    text-align: right;
}
.wc2026-team-fixture__team--away {
    justify-content: flex-start;
    text-align: left;
}
.wc2026-team-fixture__teams img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-team-fixture__teams strong {
    color: #002868;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 4px 8px;
    white-space: nowrap;
    min-width: 64px;
    text-align: center;
}
.wc2026-team-stadium {
    display: grid;
    gap: 8px;
    color: #4a5568;
    font-size: 14px;
}
.wc2026-team-stadium strong {
    color: #1a1a1a;
    font-size: 16px;
}
.wc2026-team-standings-table {
    table-layout: fixed;
    min-width: 680px;
}
.wc2026-team-standings-table--compact {
    min-width: 0;
}
.wc2026-team-standings-table th,
.wc2026-team-standings-table td {
    text-align: center;
}
.wc2026-team-standings-table th:first-child,
.wc2026-team-standings-table td:first-child {
    width: 16px;
}
.wc2026-team-standings-table th:nth-child(2),
.wc2026-team-standings-table td:nth-child(2) {
    width: 46%;
    text-align: left;
}
.wc2026-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.wc2026-team-cell img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.wc2026-team-cell span {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    color: var(--bodyText, #1a1a1a);
    font-weight: 600;
}
.wc2026-squad-table,
.wc2026-player-stats-table {
    table-layout: fixed;
}
.wc2026-squad-table {
    min-width: 420px;
}
.wc2026-player-stats-table {
    min-width: 620px;
}
.wc2026-squad-table th,
.wc2026-squad-table td,
.wc2026-player-stats-table th,
.wc2026-player-stats-table td {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.wc2026-squad-table th:first-child,
.wc2026-squad-table td:first-child {
    width: 62%;
    text-align: left;
    color: #1a1a1a;
}
.wc2026-player-stats-table th:first-child,
.wc2026-player-stats-table td:first-child {
    width: 160px;
    text-align: left;
    color: #1a1a1a;
}
.wc2026-player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.wc2026-player-cell img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}
.wc2026-player-cell span {
    min-width: 0;
    line-height: 1.25;
    white-space: nowrap;
}
.wc2026-player-cell small {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    margin-left: 12px;
    white-space: nowrap;
}
.wc2026-player-stats-table .wc2026-player-cell span {
    overflow: visible;
    text-overflow: clip;
}
.wc2026-squad-table td.wc2026-player-cell,
.wc2026-player-stats-table td.wc2026-player-cell {
    display: table-cell;
    vertical-align: middle;
}
.wc2026-squad-table td.wc2026-player-cell img,
.wc2026-player-stats-table td.wc2026-player-cell img {
    vertical-align: middle;
    margin-right: 10px;
}
.wc2026-squad-table td.wc2026-player-cell span,
.wc2026-player-stats-table td.wc2026-player-cell span {
    display: inline-block;
    max-width: calc(100% - 54px);
    vertical-align: middle;
}
.wc2026-team-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.wc2026-team-stat-grid div {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.wc2026-team-stat-grid strong {
    display: block;
    color: #002868;
    font-size: 26px;
    line-height: 1.1;
}
.wc2026-team-stat-grid span {
    color: #6b7280;
    font-size: 13px;
}
.wc2026-section-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 12px;
}
.wc2026-section-headline h2 {
    border-bottom: 0;
    padding-bottom: 8px;
    margin-bottom: 0;
}
.wc2026-section-headline a {
    color: #002868;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.wc2026-section-headline a:hover {
    text-decoration: underline;
}
.wc2026-team-overview-list h2 {
    margin-bottom: 0;
}
.wc2026-team-player-list,
.wc2026-team-absence-list,
.wc2026-event-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc2026-team-player-list li,
.wc2026-team-absence-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #1a1a1a;
}
.wc2026-team-player-list li:last-child,
.wc2026-team-absence-list li:last-child {
    border-bottom: 0;
}
.wc2026-team-player-list img,
.wc2026-team-absence-list img {
    border-radius: 50%;
    object-fit: cover;
}
.wc2026-team-player-list__name,
.wc2026-team-absence-list strong {
    min-width: 0;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wc2026-team-player-list strong {
    color: #002868;
    font-variant-numeric: tabular-nums;
}
.wc2026-team-absence-list li {
    grid-template-columns: auto minmax(0, 1fr);
}
.wc2026-team-absence-list span {
    min-width: 0;
}
.wc2026-team-absence-list small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}
.wc2026-team-absence-list--full li {
    padding: 12px 0;
}
.wc2026-team-profile-card {
    color: var(--bodyText, #1a1a1a);
}
.wc2026-team-profile-card .wc2026-side__title {
    text-align: left;
    margin-bottom: 8px;
}
.wc2026-team-profile-card > p,
.wc2026-team-profile-card__block p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}
.wc2026-team-profile-card > p + p,
.wc2026-team-profile-card__block p + p {
    margin-top: 6px;
}
.wc2026-team-profile-card__block {
    margin-top: 10px;
}
.wc2026-team-profile-card__block h3 {
    margin: 0 0 4px;
    color: var(--titleText, #1a1a1a);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}
.wc2026-team-profile-card strong {
    color: var(--titleText, #1a1a1a);
}

/* ===== Lineups ===== */
.wc2026-lineups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.wc2026-lineup h3 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #002868;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}
.wc2026-formation {
    color: #6b7280;
    font-weight: 400;
    font-size: 13px;
    margin-left: 6px;
}
.wc2026-lineup-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wc2026-lineup-list li {
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px dashed #f1f5f9;
}
.wc2026-shirt {
    display: inline-block;
    width: 26px;
    height: 22px;
    text-align: center;
    background: #002868;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 8px;
    line-height: 22px;
}

/* ===== Match event timeline ===== */
.wc2026-event-timeline__item {
    display: grid;
    grid-template-columns: 48px 120px minmax(0, 1fr) minmax(110px, auto);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #1a1a1a;
}
.wc2026-event-timeline__item:last-child {
    border-bottom: 0;
}
.wc2026-event-timeline__item time {
    color: #002868;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.wc2026-event-timeline__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 9px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
}
.wc2026-event-timeline__item--yellow .wc2026-event-timeline__badge {
    background: #fef3c7;
    color: #92400e;
}
.wc2026-event-timeline__item--red .wc2026-event-timeline__badge {
    background: #fee2e2;
    color: #991b1b;
}
.wc2026-event-timeline__item strong,
.wc2026-event-timeline__item small {
    display: block;
}
.wc2026-event-timeline__item small,
.wc2026-event-timeline__item em {
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
}

/* ===== H2H ===== */
.wc2026-h2h-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wc2026-h2h-list li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.wc2026-h2h-comp {
    color: #6b7280;
    font-size: 12px;
    margin-left: 6px;
}

/* ===== Stats table ===== */
.wc2026-stats-table {
    text-align: center;
}
.wc2026-stats-table th:nth-child(2),
.wc2026-stats-table td:nth-child(2) {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== Scorer preview list (hub) ===== */
.wc2026-scorer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: scorer;
}
.wc2026-scorer-list li {
    counter-increment: scorer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.wc2026-scorer-list li::before {
    content: counter(scorer);
    background: #002868;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.wc2026-scorer-team {
    color: #6b7280;
    font-size: 13px;
}
.wc2026-scorer-goals {
    margin-left: auto;
    color: #bf0a30;
    font-weight: 700;
}

/* ===== Round section (legacy knockout list) ===== */
.wc2026-round {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 18px;
}
.wc2026-round h2 {
    color: #bf0a30;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    margin-top: 0;
}

/* ===== Knockout bracket (fotmob-style visual) ===== */
.wc2026-bk-wrap {
    overflow-x: auto;
    padding: 16px 8px;
}
.wc2026-bracket {
    display: grid;
    grid-template-columns:
        minmax(120px, 1fr)  /* R32 left  */
        minmax(120px, 1fr)  /* R16 left  */
        minmax(120px, 1fr)  /* QF  left  */
        minmax(160px, 1.2fr) /* SF + Final + Bronze */
        minmax(120px, 1fr)  /* QF  right */
        minmax(120px, 1fr)  /* R16 right */
        minmax(120px, 1fr); /* R32 right */
    gap: 14px;
    min-width: 1100px;
    align-items: stretch;
}

.wc2026-bk-col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
}

/* The center column has its own internal layout */
.wc2026-bk-col--center {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    justify-items: stretch;
    gap: 12px;
}
.wc2026-bk-center__sf-l,
.wc2026-bk-center__sf-r {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wc2026-bk-center__final-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.wc2026-bk-trophy {
    text-align: center;
    margin-bottom: 4px;
}
.wc2026-bk-trophy img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto;
}
.wc2026-bk-trophy__label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
    margin-top: 4px;
}
.wc2026-bk-center__final,
.wc2026-bk-center__bronze {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
}
.wc2026-bk-tag {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin: 0 auto;
}
.wc2026-bk-tag--final {
    background: #fde68a;
    color: #92400e;
}
.wc2026-bk-tag--bronze {
    background: #bfdbfe;
    color: #1e3a8a;
}

/* Cell */
.wc2026-bk-cell {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px 6px;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.wc2026-bk-cell:hover {
    border-color: #002868;
    box-shadow: 0 1px 4px rgba(0, 40, 104, 0.12);
}
.wc2026-bk-cell.has-teams {
    border-color: #cbd5e1;
}
.wc2026-bk-cell.is-finished {
    background: #f8fafc;
}
.wc2026-bk-cell__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.wc2026-bk-cell__shield {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wc2026-bk-cell__shield img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
}
.wc2026-bk-cell__labels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0;
}
.wc2026-bk-cell__label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.04em;
}
.wc2026-bk-cell__date {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

/* Connector lines between rounds — subtle horizontal stubs */
.wc2026-bk-col--r16-l .wc2026-bk-cell,
.wc2026-bk-col--r16-r .wc2026-bk-cell,
.wc2026-bk-col--qf-l  .wc2026-bk-cell,
.wc2026-bk-col--qf-r  .wc2026-bk-cell {
    position: relative;
}

.wc2026-bk-legend {
    margin: 24px 8px 0;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    line-height: 1.7;
}
.wc2026-bk-legend strong { color: #1a1a1a; margin-right: 8px; }
.wc2026-bk-legend span { display: inline-block; margin-right: 16px; }
.wc2026-bk-legend b { color: #002868; }

/* Mobile: bracket scrolls horizontally; rest stacks tighter */
@media (max-width: 900px) {
    .wc2026-bracket {
        gap: 8px;
        min-width: 1000px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
    .wc2026-comp-header--mobile-hidden {
        display: none;
    }
    .wc2026-hub,
    .wc2026-page,
    .wc2026-match-page {
        margin: 14px auto;
        padding: 0 12px;
    }
    .wc2026-app > .wc2026-hub,
    .wc2026-app > .wc2026-page,
    .wc2026-app > .wc2026-match-page {
        margin-top: 12px;
    }
    .wc2026-comp-header {
        margin-top: 12px;
    }
    .wc2026-comp-header__inner {
        padding: 14px 16px;
    }
    .wc2026-comp-header__brand {
        gap: 12px;
    }
    .wc2026-comp-trophy img {
        width: 44px;
        height: 44px;
    }
    .wc2026-comp-header__title {
        font-size: 18px;
    }
    .wc2026-tabs {
        padding: 0 8px;
        scrollbar-width: none;
    }
    .wc2026-tabs__list {
        gap: 0;
        justify-content: space-between;
        min-width: 0;
        width: 100%;
    }
    .wc2026-tabs::-webkit-scrollbar,
    .wc2026-team-tabs::-webkit-scrollbar {
        display: none;
    }
    .wc2026-tabs__link {
        padding: 12px 4px;
        font-size: 11px;
    }
    .wc2026-intro + .wc2026-tabs {
        margin: 12px 0 16px;
    }
    .wc2026-side__link {
        grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
        gap: 4px;
        justify-items: stretch;
        text-align: initial;
        padding: 12px 4px;
    }
    .wc2026-side__link .wc2026-side__home { text-align: right; }
    .wc2026-side__link .wc2026-side__away { text-align: left; }
    .wc2026-side__home,
    .wc2026-side__away {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wc2026-side__home-flag,
    .wc2026-side__away-flag {
        margin: 0;
    }
    .wc2026-side__time {
        min-width: 54px;
    }
    .wc2026-pageheader h1 { font-size: 20px; }
    .wc2026-section { padding: 16px 14px; }
    .wc2026-team-hero {
        position: relative;
        padding: 18px 16px 0;
    }
    .wc2026-team-back {
        display: inline-flex;
        width: 34px;
        height: 34px;
        padding: 10px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #f1f5f9;
        color: #1a1a1a;
        text-decoration: none;
        margin-bottom: 10px;
    }
    .wc2026-team-back svg {
        width: 12px;
        height: 12px;
    }
    .wc2026-team-hero h1 { font-size: 22px; }
    .wc2026-team-tabs {
        scrollbar-width: none;
    }
    .wc2026-team-tabs a {
        padding: 12px 10px;
        font-size: 13px;
    }
    .wc2026-team-next {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        justify-items: center;
        align-items: center;
        gap: 8px;
    }
    .wc2026-team-next__team,
    .wc2026-team-next__team--home,
    .wc2026-team-next__team--away {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 6px;
    }
    .wc2026-team-next__team--home {
        flex-direction: column-reverse;
    }
    .wc2026-team-next small {
        grid-column: 2;
    }
    .wc2026-team-layout,
    .wc2026-team-cards,
    .wc2026-team-stat-grid {
        grid-template-columns: 1fr;
    }
    .wc2026-team-fixture a {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .wc2026-team-fixture__date,
    .wc2026-team-fixture__round {
        text-align: center;
    }
    .wc2026-team-fixture__teams {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        gap: 8px;
    }
    .wc2026-team-fixture__team,
    .wc2026-team-fixture__team--home,
    .wc2026-team-fixture__team--away {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 6px;
        font-size: 12px;
        line-height: 1.2;
    }
    .wc2026-team-fixture__team--home {
        flex-direction: column-reverse;
    }
    .wc2026-team-fixture__teams strong {
        align-self: center;
        min-width: 54px;
        padding: 4px 8px;
    }
    .wc2026-team-standings-table th:first-child,
    .wc2026-team-standings-table td:first-child {
        width: 16px;
        min-width: 16px;
        max-width: 16px;
        font-size: 12px;
    }
    .wc2026-team-standings-table th:nth-child(2),
    .wc2026-team-standings-table td:nth-child(2) {
        width: 38%;
    }
    .wc2026-team-standings-table--compact {
        min-width: 100%;
    }
    .wc2026-group-table,
    .wc2026-team-standings-table {
        table-layout: fixed;
    }
    .wc2026-team-standings-table--compact th:first-child,
    .wc2026-team-standings-table--compact td:first-child {
        width: 16px;
        min-width: 16px;
        max-width: 16px;
        padding-left: 1px;
        padding-right: 1px;
    }
    .wc2026-team-standings-table--compact th:nth-child(2),
    .wc2026-team-standings-table--compact td:nth-child(2) {
        width: 38%;
    }
    .wc2026-team-standings-table--form th:nth-child(2),
    .wc2026-team-standings-table--form td:nth-child(2) {
        width: 34%;
    }
    .wc2026-team-standings-table--form th:last-child,
    .wc2026-team-standings-table--form td:last-child {
        width: 28px;
        min-width: 28px;
        max-width: 28px;
    }
    .wc2026-team-standings-table--compact th,
    .wc2026-team-standings-table--compact td {
        padding-left: 3px;
        padding-right: 3px;
        font-size: 11px;
    }
    .wc2026-group-table th:nth-child(4),
    .wc2026-group-table td:nth-child(4),
    .wc2026-group-table th:nth-child(5),
    .wc2026-group-table td:nth-child(5),
    .wc2026-group-table th:nth-child(6),
    .wc2026-group-table td:nth-child(6),
    .wc2026-group-table th:nth-child(9),
    .wc2026-group-table td:nth-child(9),
    .wc2026-team-standings-table th:nth-child(4),
    .wc2026-team-standings-table td:nth-child(4),
    .wc2026-team-standings-table th:nth-child(5),
    .wc2026-team-standings-table td:nth-child(5),
    .wc2026-team-standings-table th:nth-child(6),
    .wc2026-team-standings-table td:nth-child(6),
    .wc2026-team-standings-table th:nth-child(9),
    .wc2026-team-standings-table td:nth-child(9) {
        display: none;
    }
    .wc2026-group-table th:nth-child(2),
    .wc2026-group-table td:nth-child(2),
    .wc2026-team-standings-table th:nth-child(2),
    .wc2026-team-standings-table td:nth-child(2) {
        width: auto;
    }
    .wc2026-group-table th:nth-child(3),
    .wc2026-group-table td:nth-child(3),
    .wc2026-group-table th:nth-child(8),
    .wc2026-group-table td:nth-child(8),
    .wc2026-team-standings-table th:nth-child(3),
    .wc2026-team-standings-table td:nth-child(3),
    .wc2026-team-standings-table th:nth-child(8),
    .wc2026-team-standings-table td:nth-child(8) {
        width: 22px;
        min-width: 22px;
        max-width: 22px;
        padding-left: 1px;
        padding-right: 1px;
        text-align: center;
    }
    .wc2026-group-table th:nth-child(7),
    .wc2026-group-table td:nth-child(7),
    .wc2026-team-standings-table th:nth-child(7),
    .wc2026-team-standings-table td:nth-child(7) {
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        padding-left: 1px;
        padding-right: 1px;
        text-align: center;
    }
    .wc2026-group-table td:nth-child(2),
    .wc2026-team-standings-table td:nth-child(2) {
        white-space: nowrap;
    }
    .wc2026-group-table td:nth-child(2) img,
    .wc2026-team-cell img {
        width: 20px;
        height: 20px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 8px;
    }
    .wc2026-team-cell {
        gap: 8px;
    }
    .wc2026-team-standings-table--form {
        min-width: 100%;
    }
    .wc2026-group-table th:first-child,
    .wc2026-group-table td:first-child {
        width: 16px;
        min-width: 16px;
        max-width: 16px;
    }
    .wc2026-squad-table {
        min-width: 100%;
    }
    .wc2026-squad-table th:first-child,
    .wc2026-squad-table td:first-child {
        width: 60%;
    }
    .wc2026-player-stats-table {
        min-width: 100%;
        width: 100%;
    }
    .wc2026-player-stats-table th:first-child,
    .wc2026-player-stats-table td:first-child {
        width: 46%;
    }
    .wc2026-squad-table th,
    .wc2026-squad-table td,
    .wc2026-player-stats-table th,
    .wc2026-player-stats-table td {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 12px;
    }
    .wc2026-team-standings-table th,
    .wc2026-squad-table th,
    .wc2026-player-stats-table th {
        letter-spacing: 0;
    }
    .wc2026-player-stats-table th,
    .wc2026-player-stats-table td {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 11px;
    }
    .wc2026-player-stats-table .wc2026-player-cell {
        gap: 5px;
    }
    .wc2026-player-stats-table .wc2026-player-cell img {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    .wc2026-player-stats-table .wc2026-player-cell span {
        display: inline-block;
        min-width: 0;
        max-width: calc(100% - 38px);
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wc2026-section-headline {
        align-items: flex-start;
    }
    .wc2026-section-headline h2 {
        font-size: 18px;
    }
    .wc2026-section-headline a {
        font-size: 12px;
        padding-top: 3px;
    }
    .wc2026-team-player-list__name,
    .wc2026-team-absence-list strong {
        font-size: 13px;
    }
    .wc2026-team-cell img {
        width: 20px;
        height: 20px;
    }
    .wc2026-form__dot {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    .wc2026-match-link {
        grid-template-columns: 64px 1fr;
        row-gap: 4px;
    }
    .wc2026-match-meta {
        grid-column: 1 / -1;
        text-align: left;
    }
    .wc2026-match-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wc2026-lineups,
    .wc2026-prediction-percents {
        grid-template-columns: 1fr;
    }
    .wc2026-event-timeline__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 6px 10px;
    }
    .wc2026-event-timeline__badge {
        justify-self: start;
    }
    .wc2026-event-timeline__item em {
        grid-column: 2;
    }
    .wc2026-match-team img { width: 48px; height: 48px; }
    .wc2026-match-score { font-size: 28px; }
}

/* ===========================================================
   Shared match-page widgets (used by sp2026-match.php)
   - Pre-match odds (.match-odds__*)
   - Head-to-Head (.h2h__*)
   - Section chrome (.tip-section__*, .match-odds container)
   Extracted from staging analize.css. On staging these live in
   analize.css; on prod we scope them to /sp-2026 only so the rest
   of the site is untouched.
   =========================================================== */

/* ===========================================================
   Pre-match odds widget (match-odds)
   =========================================================== */
.match-odds {
    border-radius: 12px;
    padding: 20px;
    background: var(--white);
}

.tip-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tip-section__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--titleText);
}

.tip-section__collapse {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 8px;
    cursor: pointer;
    color: var(--bodyText);
    flex-shrink: 0;
}

.tip-section__collapse svg {
    width: 18px;
    height: 18px;
    transition: transform 150ms ease;
}

.tip-section--collapsed .tip-section__collapse svg {
    transform: rotate(180deg);
}

.tip-section__body {
    margin-top: 18px;
}

.tip-section--collapsed .tip-section__body {
    display: none;
}

.match-odds__periods.is-hidden {
    display: none;
}

.match-odds__periods {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.match-odds__period-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--bodyText);
}

.match-odds__period-radio input {
    accent-color: var(--primary, #0e77a9);
}

.match-odds__period {
    display: none;
}

.match-odds__period.is-active {
    display: block;
}

.match-odds__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.match-odds__chip {
    padding: 8px 14px;
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 999px;
    background: var(--white);
    color: var(--bodyText);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.match-odds__chip.is-active {
    background: var(--primary, #1756D4);
    color: #fff;
    border-color: var(--primary, #1756D4);
}

.match-odds__market {
    display: none;
}

.match-odds__market.is-active {
    display: block;
}

.match-odds__table {
    border-top: 1px solid rgba(150, 150, 150, 0.25);
}

.match-odds__row {
    display: grid;
    grid-template-columns: minmax(140px, 1.4fr) repeat(var(--mo-cols, 3), 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(150, 150, 150, 0.18);
}

.match-odds__row--head {
    color: #6c757d;
    font-size: 13px;
}

.match-odds__row--head .match-odds__bk,
.match-odds__row--head .match-odds__cell {
    color: #6c757d;
    font-weight: 600;
    text-align: center;
}

.match-odds__row--head .match-odds__bk {
    justify-content: flex-start;
    text-align: left;
}

.match-odds__bk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--titleText);
    font-weight: 600;
}

.match-odds__bk-logo {
    height: 40px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    border-radius: 4px;
}

.match-odds__bk--link {
    text-decoration: none;
}

.match-odds__cell {
    text-align: center;
    font-size: 14px;
    color: var(--titleText);
}

.match-odds__cell.is-empty {
    color: var(--bodyText);
}

.match-odds__odd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 6px;
    background: var(--white);
    color: var(--titleText);
    text-decoration: none;
    font-weight: 600;
}

.match-odds__odd.is-best {
    background: #D0F2DA;
    border-color: #D0F2DA;
    color: var(--titleText);
}

.match-odds__row--best {
    font-weight: 700;
}

/* Best-row cells reuse the boxed .match-odds__odd look */
.match-odds__cell--best {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.match-odds__best-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    border: 1px solid #D0F2DA;
    border-radius: 6px;
    background: #D0F2DA;
    color: var(--titleText);
    font-size: 14px;
    font-weight: 600;
}

.match-odds__best-logo {
    height: 32px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.match-odds__bk-name {
    display: none;
}

@media (max-width: 768px) {
    .match-odds {
        padding: 14px;
    }

    .match-odds__row {
        grid-template-columns: minmax(96px, 1fr) repeat(var(--mo-cols, 3), 1fr);
        gap: 6px;
    }

    .match-odds__bk-logo {
        height: 32px;
        width: auto;
    }

    .match-odds__best-logo {
        height: 26px;
        width: 100%;
        max-width: 100%;
    }

    .match-odds__cell,
    .match-odds__odd {
        font-size: 13px;
    }
}

/* ===========================================================
   Head-to-Head (Međusobni susreti)
   =========================================================== */
.h2h__bar {
    margin-bottom: 20px;
}

.h2h__bar-track {
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef0f2;
    margin-bottom: 14px;
}

.h2h__seg {
    height: 100%;
    transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.h2h__seg--home { background: var(--blueLight, #54C273); }
.h2h__seg--draw { background: var(--statGrey); }
.h2h__seg--away { background: var(--blueDark, #0769de); }

.h2h__legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.h2h__legend-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h2h__legend-side--right {
    flex-direction: row;
    text-align: right;
}

.h2h__legend-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.h2h__legend-mid {
    text-align: center;
}

.h2h__pct {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.h2h__pct--home { color: var(--blueLight); }
.h2h__pct--draw { color: #6c757d; }
.h2h__pct--away { color: var(--blueDark); }

.h2h__wl {
    font-size: 13px;
    color: #6c757d;
}

.h2h__list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    margin-top: 6px;
    border-top: 1px solid rgba(150, 150, 150, 0.2);
}

.h2h__list-title {
    font-size: 14px;
    font-weight: 700;
    color: #6c757d;
}

.h2h__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 10px;
    border-radius: 999px;
    background: var(--boxGrey);
    color: var(--darkGrey);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.h2h__toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.h2h__toggle-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c4c9d0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 150ms ease, background 150ms ease;
}

.h2h__toggle-dot svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transition: opacity 150ms ease;
}

.h2h__toggle:has(input:checked) {
    background: var(--mediumBlue);
    color: var(--primaryAlt);
}

.h2h__toggle:has(input:checked) .h2h__toggle-dot {
    border-color: var(--primaryAlt);
    background: var(--primaryAlt);
}

.h2h__toggle:has(input:checked) .h2h__toggle-dot svg {
    opacity: 1;
}

.h2h__list {
    display: none;
}

.h2h__list.is-active {
    display: block;
}

.h2h__row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
}

.h2h__row:last-child {
    border-bottom: none;
}

.h2h__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.h2h__date {
    font-size: 13px;
    font-weight: 600;
    color: var(--titleText);
}

.h2h__league {
    font-size: 12px;
    color: #6c757d;
}

.h2h__teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.h2h__team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    min-width: 0;
}

.h2h__team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.h2h__team.is-winner {
    color: var(--titleText);
    font-weight: 700;
}

.h2h__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.h2h__scores {
    display: flex;
    align-items: stretch;
}

.h2h__score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 26px;
    font-size: 14px;
    color: var(--darkGrey);
}

.h2h__score-col--ft {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
    color: var(--titleText);
    font-weight: 700;
}

.h2h__empty {
    text-align: center;
    color: var(--bodyText);
    padding: 16px 0;
}

@media (max-width: 768px) {
    .h2h__row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "meta meta"
            "teams scores";
        gap: 6px 10px;
    }

    .h2h__meta {
        grid-area: meta;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .h2h__date::after {
        content: "•";
        margin-left: 8px;
        color: var(--darkGrey);
    }

    .h2h__teams {
        grid-area: teams;
    }

    .h2h__scores {
        grid-area: scores;
    }

    .h2h__team {
        font-size: 13px;
    }

    .h2h__pct {
        font-size: 18px;
    }

    .h2h__legend-logo {
        width: 28px;
        height: 28px;
    }
}

/* "Današnje utakmice" section — sits under the WC2026 hub intro */
.wc2026-today .wc2026-side__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.wc2026-today__date {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    text-transform: lowercase;
}
.wc2026-today__list {
    margin-top: 8px;
}

/* ===========================================================
   Post-match block (used by sp2026-match.php via renderPostMatchBlock)
   - .match-tl  : chronological events timeline (goals + cards)
   - .match-postmatch : container + section chrome
   - .match-postmatch__players : "Najbolji igrači"
   - .match-postmatch__stats : "Ključna statistika" bars
   Extracted from staging analize.css. Scoped to /sp-2026 only.
   =========================================================== */

.match-postmatch {
    display: grid;
}

.match-postmatch__section {
    display: grid;
    gap: 12px;
    margin-top: 1.5rem;
}

.match-postmatch__section h2 {
    margin: 0;
    color: var(--titleText);
    font-size: 18px;
}

/* ============================================================

/* Post-match section title (restored) */
.match-postmatch__head { margin: 0; }
.match-postmatch__title {
    margin: 0;
    color: var(--titleText, #262424);
    font-size: 18px;
    font-weight: 700;
}

/* ---- Match events timeline (post-match + live) ----
   Centered minute badge; home events branch left, away branch right. */
.match-tl {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.match-tl__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.match-tl__side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.match-tl__side--home { justify-content: flex-end; text-align: right; }
.match-tl__side--away { justify-content: flex-start; text-align: left; }
.match-tl__min {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: #F0F1F3;
    color: var(--titleText, #262424);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.05;
    text-align: center;
}
.match-tl__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
    line-height: 0;
}
.match-tl__card {
    display: inline-block;
    width: 11px;
    height: 15px;
    border-radius: 2px;
}
.match-tl__card--red { background: var(--error, #D23D3D); }
.match-tl__card--yellow { background: #F4C430; }
.match-tl__player {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}
.match-tl__row--home .match-tl__player { align-items: flex-end; }
.match-tl__name { font-size: 14px; color: var(--titleText, #262424); }
.match-tl__score { font-size: 14px; color: var(--bodyText, #3C3C3C); }
.match-tl__score .is-scorer { color: var(--success, #54C273); }
.match-tl__assist { font-size: 12px; color: var(--darkGrey, #7C848E); }
.match-tl__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 6px;
    margin-bottom: 4px;
}
.match-tl__divider span {
    font-weight: 700;
    font-size: 13px;
    color: var(--titleText, #262424);
}

/* Top players — flex rows: photo | name+team | rating */
.match-postmatch__players {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.match-postmatch__player {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 10px;
}
.match-postmatch__player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 40px;
}
.match-postmatch__player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}
.match-postmatch__player-info strong {
    font-size: 14px;
    color: var(--titleText, #262424);
    font-weight: 600;
}
.match-postmatch__player-info span {
    font-size: 12px;
    color: var(--bodyText, #7C848E);
}
.match-postmatch__player-rating {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--success, #54C273);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* Stats with H2H-style bars */
.match-postmatch__stats { display: flex; flex-direction: column; gap: 14px; }
.match-postmatch__stat { display: flex; flex-direction: column; gap: 6px; }
.match-postmatch__stat-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.match-postmatch__stat-head strong { color: var(--titleText, #262424); }
.match-postmatch__stat-head strong:last-child { text-align: right; }
.match-postmatch__stat-head span { text-align: center; color: var(--bodyText, #7C848E); font-size: 13px; }
.match-postmatch__stat-bar {
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef0f2;
}
.match-postmatch__stat-seg { height: 100%; transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1); }
.match-postmatch__stat-seg--home { background: var(--success, #54C273); }
.match-postmatch__stat-seg--away { background: var(--blueDark, #0769de); }

.match-postmatch__ai {
    padding: 12px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-radius: 12px;
}

.match-postmatch__ai p {
    margin: 0;
    color: var(--bodyText);
}

/* ============================================================
   Lineups — single combined pitch (both teams).

@media (max-width: 768px) {
    .match-tl__row { gap: 8px; }
    .match-tl__name { font-size: 13px; }
}

/* ===========================================================
   Sastavi pitch view (used by renderLineupsBlock)
   - .lineups-field + .lineups-team headers
   - .pitch with .pitch__half / .pitch__line / .pitch__player
   - .lineups-coaches with .sastav__trener tooltip
   Extracted from staging analize.css. Scoped to /sp-2026 only;
   tip-details on prod still uses the older flat-list layout in
   style-15.css.
   =========================================================== */

.lineups-field {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    max-width: 100%;
}

/* Gray team header bars */
.lineups-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  color: var(--titleText);
  border: 1px solid var(--boxGrey);
    box-sizing: border-box;
}
.lineups-team__logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 22px; }
.lineups-team__name { font-weight: 500; font-size: 14px; }
.lineups-team__formation { margin-left: auto; font-size: 13px; opacity: 0.85; }
.lineups-team--home { flex: 1 1 50%; order: 1; border-radius: 8px 0 0 0; }
.lineups-team--away { flex: 1 1 50%; order: 2; border-radius: 0 8px 0 0; flex-direction: row-reverse; text-align: right; }
.lineups-team--away .lineups-team__formation { margin-left: 0; margin-right: auto; }

/* The pitch */
.pitch {
    flex: 1 1 100%;
    order: 3;
    display: flex;
    flex-direction: row;
    min-width: 0;
    max-width: 100%;
    min-height: 360px;
    padding: 12px 0;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
    position: relative;
    overflow: hidden;
    background: repeating-linear-gradient(90deg, #2f8049 0 48px, #2b7644 48px 96px);
}
.pitch::before { /* halfway line */
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}
.pitch::after { /* centre circle */
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 80px; height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.pitch__half { flex: 1 1 0; display: flex; min-width: 0; position: relative; z-index: 1; }
.pitch__half--home { flex-direction: row; }
.pitch__half--away { flex-direction: row-reverse; }
/* Penalty box / goal line at each end of the field */
.pitch__half--home::before,
.pitch__half--away::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 58%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}
.pitch__half--home::before { left: 0; border-left: 0; border-radius: 0 6px 6px 0; }
.pitch__half--away::before { right: 0; border-right: 0; border-radius: 6px 0 0 6px; }
/* Goal area (small box) */
.pitch__half--home::after,
.pitch__half--away::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 30%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}
.pitch__half--home::after { left: 0; border-left: 0; border-radius: 0 4px 4px 0; }
.pitch__half--away::after { right: 0; border-right: 0; border-radius: 4px 0 0 4px; }

/* Coaches row below the pitch */
.lineups-coaches {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 16px;
}
.lineups-coaches .sastav__trener { flex: 1 1 0; margin-top: 0; }
.pitch__line {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 6px;
    min-width: 0;
}
.pitch__player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 74px;
    max-width: 100%;
    text-align: center;
}
.pitch__avatar {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}
.pitch__photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #fff;
}
.pitch__num {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}
.pitch__name {
    max-width: 74px;
    font-size: 10px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .lineups-field { flex-direction: column; }
    .lineups-team--home { flex: 1 1 100%; border-radius: 8px 8px 0 0; }
    .lineups-team--away {
        flex: 1 1 100%;
        order: 3;
        border-radius: 0 0 8px 8px;
        flex-direction: row;
        text-align: left;
    }
    .lineups-team--away .lineups-team__formation { margin-left: auto; margin-right: 0; }
    .pitch {
        order: 2;
        flex-direction: column;
        border-radius: 0;
        min-height: 540px;
        padding: 0 12px;
        background: repeating-linear-gradient(180deg, #2f8049 0 48px, #2b7644 48px 96px);
    }
    .pitch::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; }
    .pitch__half--home { flex-direction: column; }
    .pitch__half--away { flex-direction: column-reverse; }
    .pitch__line { flex-direction: row; }
    /* Players share the row width and shrink so the line never overflows */
    .pitch__line .pitch__player { width: auto; flex: 1 1 0; min-width: 0; }
    .pitch__line .pitch__name { max-width: 100%; }
    /* Penalty boxes rotate to the top/bottom ends */
    .pitch__half--home::before,
    .pitch__half--away::before {
        top: auto; bottom: auto;
        left: 50%; right: auto;
        transform: translateX(-50%);
        width: 58%; height: 34px;
    }
    .pitch__half--home::before { top: 0; border: 2px solid rgba(255,255,255,0.3); border-top: 0; border-radius: 0 0 6px 6px; }
    .pitch__half--away::before { bottom: 0; border: 2px solid rgba(255,255,255,0.3); border-bottom: 0; border-radius: 6px 6px 0 0; }
    .pitch__half--home::after,
    .pitch__half--away::after {
        top: auto; bottom: auto;
        left: 50%; right: auto;
        transform: translateX(-50%);
        width: 30%; height: 16px;
    }
    .pitch__half--home::after { top: 0; border: 2px solid rgba(255,255,255,0.3); border-top: 0; border-radius: 0 0 4px 4px; }
    .pitch__half--away::after { bottom: 0; border: 2px solid rgba(255,255,255,0.3); border-bottom: 0; border-radius: 4px 4px 0 0; }
}

.sastav__trener {
    position: relative;

.sastav__trener {
    position: relative;
    margin-top: 16px;
    outline: none;
}

.sastav__trener:focus-visible {
    box-shadow: 0 0 0 3px rgba(40, 69, 134, 0.22);
}

.sastav__trenerImg {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.sastav__trenerMain {
    display: grid;
    gap: 4px;
}

.sastav__trenerMain span {
    color: var(--bodyText);
    font-size: 12px;
}

.sastav__trenerMain strong {
    color: var(--titleText);
}

.sastav__trenerCareer {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    z-index: 5;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadowButton);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sastav__trener:hover .sastav__trenerCareer,
.sastav__trener:focus-within .sastav__trenerCareer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sastav__trenerCareer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sastav__trenerCareer li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--bodyText);
    font-size: 14px;
}

.sastav__trenerCareer small,
.sastav__trenerCareer p {
    margin: 0;
    color: var(--bodyText);
    font-size: 12px;
}

/* ===========================================================
   Match-page helpers now emit .wc2026-section directly (not .tip-container),
   so the global .wc2026-section card style applies and the page has one
   consistent surface. The lineups wrapper uses .wc2026-postave instead of
   .lineups-container to dodge style-15.css's display:flex rule cleanly.
   =========================================================== */

