.lbct-wrap,
.lbct-compact,
.lbct-wrap *,
.lbct-compact * {
    box-sizing: border-box;
}

.lbct-wrap,
.lbct-compact {
    --lbct-bg: #191919;
    --lbct-panel: #202020;
    --lbct-row: #2c2c2c;
    --lbct-line: #343434;
    --lbct-text: #f4f4f4;
    --lbct-muted: #aaaeb4;
    --lbct-green: #2fc24f;
    --lbct-green-dark: #178f36;
    --lbct-red: #ff3656;
    color: var(--lbct-text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.lbct-wrap img,
.lbct-compact img {
    max-width: 100%;
}

.lbct-wrap .screen-reader-text,
.lbct-compact .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lbct-directory,
.lbct-competition,
.lbct-setup-state {
    width: 100%;
    overflow: hidden;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    background: var(--lbct-bg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.lbct-directory {
    padding: 34px;
}

.lbct-directory-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--lbct-line);
}

.lbct-eyebrow,
.lbct-page-title,
.lbct-page-subtitle,
.lbct-country-title,
.lbct-competition-title,
.lbct-panel-title,
.lbct-date-title,
.lbct-compact-title,
.lbct-setup-state p {
    margin: 0;
}

.lbct-eyebrow {
    margin-bottom: 7px;
    color: var(--lbct-green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lbct-page-title {
    color: var(--lbct-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.lbct-page-subtitle {
    max-width: 720px;
    margin-top: 12px;
    color: #c6c6c6;
    font-size: 17px;
    line-height: 1.55;
}

.lbct-search {
    flex: 0 1 360px;
}

.lbct-search input {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #3a3a3a !important;
    border-radius: 9px !important;
    outline: 0;
    color: #fff !important;
    background: #242424 !important;
    box-shadow: none !important;
    font: inherit;
}

.lbct-search input:focus {
    border-color: var(--lbct-green) !important;
}

.lbct-directory-groups {
    padding-top: 10px;
}

.lbct-country-group {
    padding: 28px 0 8px;
}

.lbct-country-group[hidden],
.lbct-league-card[hidden] {
    display: none !important;
}

.lbct-country-title {
    margin-bottom: 15px;
    color: #aeb2b8;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.lbct-league-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lbct-league-card {
    min-width: 0;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #303030;
    border-radius: 9px;
    color: #fff !important;
    background: #222;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.lbct-league-card:hover,
.lbct-league-card:focus-visible {
    border-color: rgba(47, 194, 79, .7);
    color: #fff !important;
    background: #282828;
    transform: translateY(-1px);
}

.lbct-league-card-copy {
    min-width: 0;
    flex: 1;
}

.lbct-league-card-name,
.lbct-league-card-meta {
    display: block;
}

.lbct-league-card-name {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.lbct-league-card-meta {
    margin-top: 4px;
    color: var(--lbct-muted);
    font-size: 13px;
}

.lbct-card-arrow {
    color: #777;
    font-size: 28px;
    line-height: 1;
}

.lbct-league-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lbct-league-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.lbct-league-icon-card {
    width: 48px;
    height: 48px;
}

.lbct-league-icon-compact {
    width: 46px;
    height: 46px;
}

.lbct-league-icon-title {
    width: 54px;
    height: 54px;
}

.lbct-league-icon-table {
    width: 26px;
    height: 26px;
}

.lbct-league-fallback,
.lbct-team-fallback {
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--lbct-green), var(--lbct-green-dark));
    font-size: 12px;
    font-weight: 800;
}

.lbct-no-search {
    margin: 30px 0 0;
    color: #bbb;
    text-align: center;
}

.lbct-compact {
    width: 100%;
    padding: 26px 24px;
    border: 1px solid #292929;
    border-radius: 8px;
    background: var(--lbct-bg);
}

.lbct-compact-title {
    margin-bottom: 24px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.lbct-compact-title span {
    margin-right: 12px;
}

.lbct-compact-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lbct-compact-link {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #eee !important;
    font-size: 20px;
    line-height: 1.25;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease;
}

.lbct-compact-link:hover,
.lbct-compact-link:focus-visible {
    color: #fff !important;
    background: #262626;
}

.lbct-topbar {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--lbct-line);
    background: #151515;
}

.lbct-back {
    color: #d0d0d0 !important;
    font-size: 15px;
    text-decoration: none !important;
}

.lbct-back:hover {
    color: var(--lbct-green) !important;
}

.lbct-season-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lbct-muted);
    font-size: 14px;
}

.lbct-season-label select {
    height: 38px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 1px solid #3a3a3a !important;
    border-radius: 7px !important;
    color: #fff !important;
    background: #252525 !important;
    box-shadow: none !important;
}

.lbct-competition-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(360px, 1fr);
    min-height: 650px;
}

.lbct-schedule-panel {
    min-width: 0;
    padding: 28px 22px 38px;
    border-right: 1px solid var(--lbct-line);
}

.lbct-standings-panel {
    min-width: 0;
    padding: 28px 18px 38px;
}

.lbct-competition-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lbct-competition-title {
    color: #fff;
    font-size: clamp(25px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.2;
}

.lbct-panel-title {
    margin-bottom: 27px;
    color: #fff;
    font-size: 31px;
    font-weight: 800;
}

.lbct-panel-title span {
    margin-right: 10px;
}

.lbct-round-nav {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: stretch;
    margin: 26px 0 34px;
    border-bottom: 1px solid var(--lbct-line);
}

.lbct-round-arrow {
    width: 42px;
    min-width: 42px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    outline: 0;
    color: #aaa !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 31px;
    line-height: 48px;
    cursor: pointer;
}

.lbct-round-arrow:hover {
    color: #fff !important;
}

.lbct-rounds {
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 9px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.lbct-rounds::-webkit-scrollbar {
    display: none;
}

.lbct-round-link {
    position: relative;
    flex: 0 0 auto;
    min-width: 96px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #9da1a6 !important;
    font-size: 16px;
    white-space: nowrap;
    text-decoration: none !important;
}

.lbct-round-link::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 4px;
    background: transparent;
    content: "";
}

.lbct-round-link.is-active {
    color: #fff !important;
}

.lbct-round-link.is-active::after {
    background: var(--lbct-green);
}

.lbct-date-group + .lbct-date-group {
    margin-top: 30px;
}

.lbct-date-title {
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--lbct-line);
    color: #c8c8c8;
    font-size: 17px;
}

.lbct-fixture-row {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 8px 18px;
    border-radius: 8px;
}

.lbct-fixture-row:nth-child(odd) {
    background: var(--lbct-row);
}

.lbct-fixture-row.is-live {
    box-shadow: inset 3px 0 0 var(--lbct-red);
}

.lbct-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.lbct-team-home {
    justify-content: flex-end;
    text-align: right;
}

.lbct-team-away {
    justify-content: flex-start;
    text-align: left;
}

.lbct-team-name {
    min-width: 0;
    overflow: hidden;
    color: #ddd;
    font-size: 21px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.lbct-team-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lbct-team-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.lbct-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #eee;
    font-size: 21px;
    text-align: center;
    white-space: nowrap;
}

.lbct-live-dot {
    color: var(--lbct-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.lbct-table-head {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 13px;
    border-radius: 9px;
    color: #fff;
    background: var(--lbct-green);
}

.lbct-table-league {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

.lbct-table-league > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbct-table-labels {
    flex: 0 0 142px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    text-align: center;
}

.lbct-group-tabs {
    display: flex;
    gap: 6px;
    margin: 13px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.lbct-group-tab {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 12px;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    color: #999 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    cursor: pointer;
}

.lbct-group-tab.is-active {
    border-bottom-color: var(--lbct-green) !important;
    color: #fff !important;
}

.lbct-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.lbct-table-wrap[hidden] {
    display: none !important;
}

.lbct-table {
    width: 100%;
    min-width: 450px;
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0 3px;
    color: #d7d7d7;
    background: transparent !important;
    font-size: 15px;
}

.lbct-table th,
.lbct-table td {
    height: 54px;
    padding: 7px 6px;
    border: 0 !important;
    color: inherit;
    background: transparent;
    text-align: center;
    vertical-align: middle;
}

.lbct-table thead th {
    height: 38px;
    color: #9ba0a5;
    font-size: 12px;
    font-weight: 500;
}

.lbct-table thead th:nth-child(2) {
    text-align: left;
}

.lbct-table tbody tr:nth-child(even) td {
    background: var(--lbct-row);
}

.lbct-table tbody tr:nth-child(even) td:first-child {
    border-radius: 8px 0 0 8px;
}

.lbct-table tbody tr:nth-child(even) td:last-child {
    border-radius: 0 8px 8px 0;
}

.lbct-table th:first-child,
.lbct-table td:first-child {
    width: 32px;
}

.lbct-table th:nth-child(2),
.lbct-table td:nth-child(2) {
    width: 58%;
    text-align: left;
}

.lbct-table-team {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lbct-table-team .lbct-team-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
}

.lbct-empty-state,
.lbct-message {
    padding: 32px 22px;
    border: 1px dashed #3b3b3b;
    border-radius: 9px;
    color: #b9b9b9;
    background: #202020;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.lbct-setup-state {
    padding: 36px;
}

.lbct-setup-state > p {
    margin-top: 22px;
    color: #c9c9c9;
    font-size: 17px;
    line-height: 1.6;
}

.lbct-admin-hint {
    padding: 13px 16px;
    border-left: 4px solid var(--lbct-green);
    background: #232323;
}

@media (max-width: 1180px) {
    .lbct-league-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lbct-competition-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr);
    }

    .lbct-team-name {
        font-size: 18px;
    }

    .lbct-fixture-row {
        grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
        padding-right: 10px;
        padding-left: 10px;
    }

    .lbct-team-logo {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }
}

@media (max-width: 900px) {
    .lbct-directory {
        padding: 26px 20px;
    }

    .lbct-directory-head {
        align-items: stretch;
        flex-direction: column;
    }

    .lbct-search {
        flex-basis: auto;
    }

    .lbct-competition-grid {
        grid-template-columns: 1fr;
    }

    .lbct-schedule-panel {
        border-right: 0;
        border-bottom: 1px solid var(--lbct-line);
    }

    .lbct-standings-panel {
        padding-top: 34px;
    }
}

@media (max-width: 620px) {
    .lbct-league-grid {
        grid-template-columns: 1fr;
    }

    .lbct-topbar {
        align-items: stretch;
        flex-direction: column;
        padding: 15px 16px;
    }

    .lbct-season-label {
        justify-content: space-between;
    }

    .lbct-schedule-panel,
    .lbct-standings-panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .lbct-competition-title-row {
        gap: 11px;
    }

    .lbct-league-icon-title {
        width: 42px;
        height: 42px;
    }

    .lbct-round-nav {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        margin-top: 20px;
    }

    .lbct-round-arrow {
        width: 32px;
        min-width: 32px;
    }

    .lbct-round-link {
        min-width: 80px;
        padding: 0 10px;
        font-size: 14px;
    }

    .lbct-fixture-row {
        min-height: 88px;
        grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
        gap: 6px;
        padding: 10px 5px;
    }

    .lbct-team {
        gap: 6px;
    }

    .lbct-team-home,
    .lbct-team-away {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .lbct-team-home .lbct-team-name {
        order: 2;
    }

    .lbct-team-name {
        width: 100%;
        display: -webkit-box;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }

    .lbct-team-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .lbct-score {
        font-size: 16px;
    }

    .lbct-panel-title {
        font-size: 26px;
    }

    .lbct-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lbct-table-labels {
        display: none;
    }

    .lbct-compact {
        padding: 22px 16px;
    }

    .lbct-compact-title {
        font-size: 25px;
    }

    .lbct-compact-link {
        font-size: 17px;
    }

    .lbct-setup-state {
        padding: 24px 18px;
    }
}
