/* Australian coverage: let the actual bookmaker brands carry the section. */
.country-odds-page--au .us-implementation {
    padding-top: 0;
}

.country-odds-page--au .bookmaker-request-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 0;
}

.country-odds-page--au .bookmaker-request-facts code {
    white-space: normal;
    overflow-wrap: anywhere;
}

.bookmaker-runner-response {
    overflow: hidden;
    border: 1px solid var(--glass-border-muted);
    border-radius: var(--radius);
    background: var(--code-surface);
}

.bookmaker-runner-response summary {
    min-height: 48px;
    padding: 12px 16px;
    cursor: pointer;
    color: var(--text);
    font-size: 0.875rem;
}

.bookmaker-runner-response summary:hover {
    color: var(--accent);
}

.bookmaker-runner-response summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.bookmaker-runner-response pre {
    max-height: 320px;
    margin: 0;
    padding: 16px;
    overflow: auto;
    border-top: 1px solid var(--glass-border-muted);
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.country-odds-page--au .country-stat-examples li {
    align-items: center;
    font-size: 0.875rem;
}

.country-odds-page--au .country-stat-bookmaker {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 4px;
    object-fit: contain;
}

[data-au-bookmakers] {
    --au-space: 8px;
    --au-grid-line: var(--glass-border-muted);
    padding: 48px 0;
    border-block: 1px solid var(--au-grid-line);
    background: transparent;
    scroll-margin-top: 88px;
}

.au-bookmakers-heading {
    max-width: 720px;
    margin-bottom: calc(var(--au-space) * 3);
}

.au-bookmakers-heading h2 {
    margin: 0;
    font-size: var(--type-section-title-size);
    line-height: var(--type-section-title-line-height);
    letter-spacing: -0.035em;
}

.au-bookmakers-heading p {
    margin: var(--au-space) 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: var(--type-lead-line-height);
}

.au-bookmakers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 1px;
    list-style: none;
    background: var(--au-grid-line);
}

.au-bookmakers-grid > li {
    min-width: 0;
    background: var(--code-bg);
}

[data-au-bookmakers] .au-bookmaker {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    min-height: calc(var(--au-space) * 11);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--au-space);
    padding: var(--au-space) calc(var(--au-space) / 2);
    color: var(--text);
    text-align: center;
}

a.au-bookmaker:hover {
    background: var(--code-surface);
    color: var(--accent);
}

a.au-bookmaker:focus-visible {
    z-index: 1;
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.au-bookmaker-logo {
    display: flex;
    width: 100%;
    height: calc(var(--au-space) * 5);
    align-items: center;
    justify-content: center;
}

.au-bookmaker-logo img {
    width: auto;
    height: auto;
    max-width: calc(var(--au-space) * 6);
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

.au-bookmaker-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.au-bookmakers-footer {
    text-align: center;
}

.au-bookmakers-footer p {
    margin: calc(var(--au-space) * 2) 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

[data-au-bookmakers] .au-bookmakers-more {
    display: flex;
    min-height: calc(var(--au-space) * 10);
    align-items: center;
    justify-content: center;
    gap: calc(var(--au-space) * 2);
    padding: calc(var(--au-space) * 2);
    border: 1px solid var(--au-grid-line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--code-surface);
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.au-bookmakers-more-count {
    flex-shrink: 0;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.au-bookmakers-more svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

[data-au-bookmakers] .au-bookmakers-more:hover {
    background: var(--accent-soft);
}

[data-au-bookmakers] .au-bookmakers-more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

@media (min-width: 360px) {
    .au-bookmakers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .au-bookmakers-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    [data-au-bookmakers] .au-bookmaker {
        min-height: calc(var(--au-space) * 12);
    }

    .au-bookmaker-logo {
        height: calc(var(--au-space) * 6);
    }

    .au-bookmaker-logo img {
        max-width: calc(var(--au-space) * 7);
    }

}

@media (min-width: 1024px) {
    .au-bookmakers-grid {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}

