.wildcats-hbf {
    position: relative;
    color: inherit;
    font: inherit;
    font-size: 16px;
}

.wildcats-hbf-title,
.wildcats-hbf-round {
    margin: 1rem 0 0.4rem;
    font-weight: 700;
}

.wildcats-hbf-title {
    margin-top: 0;
}

.wildcats-hbf-kicker,
.wildcats-hbf-muted {
    color: #555;
    font-size: 0.92em;
}

.wildcats-hbf-scroll {
    overflow-x: auto;
}

.wildcats-hbf-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 36rem;
}

.wildcats-hbf-table th,
.wildcats-hbf-table td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid #e4e4e4;
    text-align: left;
    vertical-align: middle;
}

.wildcats-hbf-table th {
    font-weight: 700;
    white-space: nowrap;
}

.wildcats-hbf-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wildcats-hbf-team {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wildcats-hbf-fixture {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
}

.wildcats-hbf-upcoming .wildcats-hbf-fixture {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.45rem;
}

.wildcats-hbf-crest-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
}

.wildcats-hbf-crest {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    object-position: center;
}

.wildcats-hbf-highlight {
    background: rgba(198, 22, 36, 0.2);
}

.wildcats-hbf-scoreline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.5rem 0 0.75rem;
}

.wildcats-hbf-score {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wildcats-hbf-facts {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0.25rem 0.75rem;
    margin: 0 0 1rem;
}

.wildcats-hbf-facts dt {
    color: #555;
}

.wildcats-hbf-facts dd {
    margin: 0;
}

.wildcats-hbf-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.25rem;
}

.wildcats-hbf-loading,
.wildcats-hbf-error,
.wildcats-hbf-empty {
    margin: 0;
}

.wildcats-hbf-error {
    color: #8d1d1d;
}

.wildcats-hbf-stack,
.wildcats-hbf-standings-list {
    display: none;
}

.wildcats-hbf-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .wildcats-hbf {
        font-size: 14px;
    }

    .wildcats-hbf-facts {
        grid-template-columns: 1fr;
    }

    .wildcats-hbf-scoreline {
        flex-direction: column;
        align-items: flex-start;
    }

    .wildcats-hbf-upcoming > .wildcats-hbf-scroll {
        display: none;
    }

    .wildcats-hbf-upcoming > .wildcats-hbf-stack {
        display: block;
    }

    .wildcats-hbf-match {
        margin-bottom: 1.75rem;
        padding: 20px;
        background: #fff;
        border-radius: 3px;
        border-bottom: none;
        box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.2);
    }

    .wildcats-hbf-match + .wildcats-hbf-match {
        margin-top: 0;
    }

    .wildcats-hbf-kickoff,
    .wildcats-hbf-hall,
    .wildcats-hbf-competition,
    .wildcats-hbf-result {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        padding: 0.35rem 0;
    }

    .wildcats-hbf-kickoff,
    .wildcats-hbf-hall {
        margin-bottom: 0 !important;
        color: #666666;
        font-weight: 600;
        font-size: 12px;
    }

    .wildcats-hbf-kickoff {
        margin-bottom: 0.25em !important;
    }

    .wildcats-hbf-kickoff .material-symbols-outlined,
    .wildcats-hbf-hall .material-symbols-rounded {
        flex: none;
        font-size: 20px;
        line-height: 1;
    }

    .wildcats-hbf-match-rule {
        margin: 1em 0;
        border: 0;
        border-top: 1px solid #e4e4e4;
    }

    .wildcats-hbf-stack-clubs {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        width: max-content;
        max-width: 100%;
    }

    .wildcats-hbf-standings {
        overflow-x: hidden;
    }

    .wildcats-hbf-standings > .wildcats-hbf-scroll {
        display: none;
    }

    .wildcats-hbf-standings > .wildcats-hbf-standings-list {
        display: block;
    }

    .wildcats-hbf-standing {
        padding: 0.65rem 0.15rem 0.55rem 0;
        border-bottom: 1px solid #e4e4e4;
    }

    .wildcats-hbf-standing-main {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
    }

    .wildcats-hbf-place {
        flex: none;
        width: 1.75rem;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        text-align: right;
    }

    .wildcats-hbf-standing-main .wildcats-hbf-team {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wildcats-hbf-name {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .wildcats-hbf-points {
        flex: none;
        margin-left: auto;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .wildcats-hbf-more {
        margin: 5px 0 0 2.25rem;
    }

    .wildcats-hbf-more summary {
        cursor: pointer;
        font-size: 12px;
        font-weight: 600;
        color: #666666;
    }

    .wildcats-hbf-more dl {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 1rem;
        margin: 0.4rem 0 0;
    }

    .wildcats-hbf-more div {
        display: flex;
        gap: 0.4rem;
    }

    .wildcats-hbf-more dt {
        color: #555;
    }

    .wildcats-hbf-more dd {
        margin: 0;
        font-variant-numeric: tabular-nums;
    }
}
