.odds-hub {
    --oh-text: #1d2330;
    --oh-muted: #6b7280;
    --oh-border: #e3e6eb;
    --oh-bg: #ffffff;
    --oh-head: #f5f7fa;
    --oh-hover: #fafbfc;
    --oh-accent: #1f8a4c;
    --oh-accent-bg: #e9f6ef;
    --oh-btn-text: #ffffff;
    --oh-radius: 10px;
    color: var(--oh-text);
    font-size: 15px;
    line-height: 1.4;
    margin: 1.5em 0;
}

@supports (color: color-mix(in srgb, red 10%, white)) {
    .odds-hub {
        --oh-accent-bg: color-mix(in srgb, var(--oh-accent) 12%, transparent);
    }
}

.odds-hub--theme-dark {
    --oh-text: #e8eaf0;
    --oh-muted: #9aa3b2;
    --oh-border: #2c3340;
    --oh-bg: #171b22;
    --oh-head: #1f2530;
    --oh-hover: #1c222b;
}

.odds-hub *,
.odds-hub *::before,
.odds-hub *::after {
    box-sizing: border-box;
}

.odds-hub__heading {
    margin: 0 0 .75em;
}

.odds-hub__league {
    margin: 0 0 1.75em;
}

.odds-hub__title {
    font-size: 1.1em;
    margin: 0 0 .6em;
}

.odds-hub__team {
    font-weight: 600;
}

.odds-hub__vs {
    color: var(--oh-muted);
    font-size: .85em;
    margin: 0 .35em;
}

.odds-hub__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55em 1.15em;
    border: 2px solid var(--oh-btn-bg, var(--oh-accent));
    border-radius: calc(var(--oh-radius) * .6);
    font-size: .95em;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .15s ease, background-color .15s ease, color .15s ease;
}

.odds-hub__btn.is-solid {
    background: var(--oh-btn-bg, var(--oh-accent));
    color: var(--oh-btn-text) !important;
}

.odds-hub__btn.is-outline {
    background: transparent;
    color: var(--oh-btn-bg, var(--oh-accent)) !important;
}

.odds-hub__btn.is-solid:hover,
.odds-hub__btn.is-solid:focus {
    filter: brightness(1.1);
}

.odds-hub__btn.is-outline:hover,
.odds-hub__btn.is-outline:focus {
    background: var(--oh-btn-bg, var(--oh-accent));
    color: var(--oh-btn-text) !important;
}

.odds-hub__btn--lg {
    padding: .8em 1.9em;
    font-size: 1.05em;
}

.odds-hub__bonus {
    margin: 0 0 1.25em;
    text-align: center;
}

.odds-hub--cta {
    margin: 1em 0;
}

.odds-hub--align-left {
    text-align: left;
}

.odds-hub--align-center {
    text-align: center;
}

.odds-hub--align-right {
    text-align: right;
}

.odds-hub .odds-hub__table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--oh-bg);
    border: 1px solid var(--oh-border);
    border-radius: var(--oh-radius);
    overflow: hidden;
    font-variant-numeric: tabular-nums;
    table-layout: auto;
}

.odds-hub .odds-hub__table th,
.odds-hub .odds-hub__table td {
    padding: .65em .75em;
    text-align: center;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid var(--oh-border);
    background: transparent;
    color: var(--oh-text);
}

.odds-hub .odds-hub__table thead th {
    background: var(--oh-head);
    color: var(--oh-muted);
    font-size: .8em;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.odds-hub .odds-hub__table tbody tr:last-child td {
    border-bottom: 0;
}

.odds-hub .odds-hub__table tbody tr:hover td {
    background: var(--oh-hover);
}

.odds-hub .odds-hub__table .odds-hub__date {
    text-align: left;
    white-space: nowrap;
    color: var(--oh-muted);
    font-size: .9em;
}

.odds-hub .odds-hub__table .odds-hub__match {
    text-align: left;
}

.odds-hub .odds-hub__table td.odds-hub__odd,
.odds-hub .odds-hub__table td.odds-hub__total {
    white-space: nowrap;
    min-width: 3.5em;
}

.odds-hub .odds-hub__table td.is-pick {
    color: var(--oh-accent);
    font-weight: 700;
    background: var(--oh-accent-bg);
}

.odds-hub__odd-value {
    color: inherit !important;
    text-decoration: none !important;
}

a.odds-hub__odd-value:hover {
    text-decoration: underline !important;
}

.odds-hub__point {
    color: var(--oh-muted);
    font-size: .8em;
    font-weight: 400;
    margin-right: .3em;
}

.odds-hub .odds-hub__table .odds-hub__pick {
    text-align: left;
    white-space: nowrap;
    min-width: 11em;
}

.odds-hub .odds-hub__table .odds-hub__cta {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.odds-hub__pick-row {
    display: flex;
    align-items: center;
    gap: .45em;
}

.odds-hub__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8em;
    height: 1.8em;
    padding: 0 .4em;
    border-radius: calc(var(--oh-radius) * .6);
    background: var(--oh-accent);
    color: #fff;
    font-size: .85em;
    font-weight: 700;
}

.odds-hub__pick-name {
    font-size: .9em;
}

.odds-hub__prob {
    margin-left: auto;
    font-weight: 700;
}

.odds-hub__bar {
    display: block;
    height: 4px;
    margin-top: .4em;
    border-radius: 2px;
    background: var(--oh-border);
    overflow: hidden;
}

.odds-hub__bar > span {
    display: block;
    height: 100%;
    background: var(--oh-accent);
}

.odds-hub__list {
    background: var(--oh-bg);
    border: 1px solid var(--oh-border);
    border-radius: var(--oh-radius);
    overflow: hidden;
}

.odds-hub__item {
    display: flex;
    align-items: center;
    gap: 1em 1.25em;
    padding: 1em 1.25em;
    border-bottom: 1px solid var(--oh-border);
}

.odds-hub__item:last-child {
    border-bottom: 0;
}

.odds-hub__item:hover {
    background: var(--oh-hover);
}

.odds-hub__time {
    flex: 0 0 auto;
    min-width: 5.5em;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.odds-hub__item .odds-hub__match {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.05em;
}

.odds-hub__item .odds-hub__team {
    font-weight: 400;
}

.odds-hub__item .odds-hub__vs {
    color: var(--oh-text);
    font-size: 1em;
    font-weight: 700;
}

.odds-hub__tip {
    display: block;
    margin-top: .3em;
    color: var(--oh-muted);
    font-size: .8em;
}

.odds-hub__tip strong {
    color: var(--oh-accent);
}

.odds-hub__prices {
    flex: 0 0 auto;
    display: flex;
    gap: .5em;
}

.odds-hub__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3em;
}

.odds-hub__price-label {
    color: var(--oh-muted);
    font-size: .85em;
    white-space: nowrap;
}

.odds-hub__price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2em;
    height: 2.8em;
    padding: 0 .5em;
    border: 1px solid var(--oh-border);
    border-radius: calc(var(--oh-radius) * .6);
    background: var(--oh-head);
    color: var(--oh-text) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none !important;
    transition: border-color .15s ease;
}

a.odds-hub__price-box:hover {
    border-color: var(--oh-accent);
}

.odds-hub__price.is-pick .odds-hub__price-box {
    border-color: var(--oh-accent);
    background: var(--oh-accent-bg);
    color: var(--oh-accent) !important;
}

.odds-hub__action {
    flex: 0 0 auto;
}

.odds-hub__empty,
.odds-hub__updated {
    margin: .5em 0 0;
    color: var(--oh-muted);
    font-size: .85em;
}

.odds-hub--theme-minimal .odds-hub__table,
.odds-hub--theme-minimal .odds-hub__list {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.odds-hub--theme-minimal .odds-hub__table thead th {
    background: transparent;
    border-bottom: 2px solid var(--oh-border);
}

.odds-hub--theme-minimal .odds-hub__item {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 760px) {
    .odds-hub__item {
        flex-wrap: wrap;
        padding: .9em 1em;
    }

    .odds-hub__time {
        min-width: 0;
        font-size: .9em;
    }

    .odds-hub__prices {
        flex: 1 1 100%;
    }

    .odds-hub__price {
        flex: 1 1 0;
    }

    .odds-hub__price-box {
        width: 100%;
        min-width: 0;
    }

    .odds-hub__action {
        flex: 1 1 100%;
    }

    .odds-hub__action .odds-hub__btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .odds-hub .odds-hub__table,
    .odds-hub .odds-hub__table tbody {
        display: block;
        border: 0;
        border-radius: 0;
        background: none;
        overflow: visible;
    }

    .odds-hub .odds-hub__table thead {
        display: none;
    }

    .odds-hub .odds-hub__table tbody tr {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        margin: 0 0 .75em;
        background: var(--oh-bg);
        border: 1px solid var(--oh-border);
        border-radius: var(--oh-radius);
        overflow: hidden;
    }

    .odds-hub .odds-hub__table tbody tr:hover td {
        background: transparent;
    }

    .odds-hub .odds-hub__table td {
        border-bottom: 0;
        padding: .55em .75em;
    }

    .odds-hub .odds-hub__table td.odds-hub__date,
    .odds-hub .odds-hub__table td.odds-hub__match,
    .odds-hub .odds-hub__table td.odds-hub__pick,
    .odds-hub .odds-hub__table td.odds-hub__cta {
        grid-column: span 6;
        text-align: left;
    }

    .odds-hub .odds-hub__table td.odds-hub__date {
        padding-bottom: 0;
        font-size: .8em;
    }

    .odds-hub .odds-hub__table td.odds-hub__odd {
        grid-column: span 2;
        border-top: 1px solid var(--oh-border);
    }

    .odds-hub .odds-hub__table td.odds-hub__total {
        grid-column: span 3;
        border-top: 1px solid var(--oh-border);
    }

    .odds-hub .odds-hub__table td.odds-hub__odd + td.odds-hub__odd,
    .odds-hub .odds-hub__table td.odds-hub__total + td.odds-hub__total {
        border-left: 1px solid var(--oh-border);
    }

    .odds-hub .odds-hub__table td.odds-hub__odd::before,
    .odds-hub .odds-hub__table td.odds-hub__total::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .15em;
        color: var(--oh-muted);
        font-size: .72em;
        font-weight: 400;
        text-transform: uppercase;
    }

    .odds-hub .odds-hub__table td.odds-hub__total .odds-hub__point {
        display: none;
    }

    .odds-hub .odds-hub__table td.odds-hub__pick {
        border-top: 1px solid var(--oh-border);
        min-width: 0;
    }

    .odds-hub .odds-hub__table td.odds-hub__cta {
        width: auto;
        padding-top: 0;
    }

    .odds-hub .odds-hub__table td.odds-hub__cta .odds-hub__btn {
        width: 100%;
    }
}
