/* Golf tournament loading overlay — full-screen #2eb872 (matches GIF) */

.golf-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2eb872;
}

.golf-loader--fullscreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10000;
}

.golf-loader--inline {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    min-height: 200px;
}

.golf-loader__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.golf-loader__gif {
    display: block;
    width: min(320px, 78vw);
    height: auto;
    max-height: min(240px, 58vh);
    object-fit: contain;
}

.golf-loader--fullscreen .golf-loader__gif {
    width: min(420px, 88vw);
    max-height: min(320px, 70vh);
}

.golf-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.golf-loader-scroll-lock {
    overflow: hidden !important;
    background-color: #2eb872 !important;
}
