:root {
    --oesc-pink: #ec3e82;
    --oesc-yellow: #efb33d;
    --oesc-text: #f6f9fc;
    --oesc-muted: #aab9c7;
    --oesc-line: #ec3e82;
    --oesc-black: #000;
}

.oesc-topline,
.oesc-main-nav,
.oesc-final-footer {
    box-sizing: border-box;
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.oesc-topline *,
.oesc-main-nav *,
.oesc-final-footer * {
    box-sizing: border-box;
}

.oesc-shell-wrap {
    width: min(100% - 56px, 1200px);
    margin-inline: auto;
}

.oesc-topline {
    position: sticky;
    top: 0;
    z-index: 600;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 6px 22px;
    border-bottom: 1px solid var(--oesc-pink);
    background: var(--oesc-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.oesc-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.oesc-countdown > span {
    display: grid;
    min-width: 35px;
    text-align: center;
}

.oesc-countdown b {
    font-size: 16px;
    line-height: 1;
}

.oesc-countdown small {
    margin-top: 2px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.oesc-main-nav {
    position: sticky;
    top: 42px;
    z-index: 590;
    border-bottom: 1px solid var(--oesc-pink);
    background: #000;
    color: var(--oesc-text);
}

.oesc-nav-row {
    position: relative;
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 25px;
}

.oesc-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    margin-right: auto;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.oesc-brand img {
    width: 42px !important;
    height: 42px !important;
    margin-right: 9px;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain;
    box-shadow: none !important;
}

.oesc-brand em {
    color: var(--oesc-pink);
    font-style: normal;
}

.oesc-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.oesc-nav-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    border-bottom: 2px solid transparent;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    opacity: 1 !important;
}

.oesc-nav-links a:hover,
.oesc-nav-links a:focus-visible {
    border-bottom-color: var(--oesc-pink);
    color: var(--oesc-pink) !important;
    outline: none;
}

.oesc-nav-links i {
    color: var(--oesc-pink);
    font-size: 13px;
}

.oesc-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oesc-donate {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid var(--oesc-pink);
    background: var(--oesc-pink);
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    opacity: 1 !important;
}

.oesc-donate:hover,
.oesc-donate:focus-visible {
    background: #fff;
    color: #000 !important;
    outline: none;
}

.oesc-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--oesc-pink);
    border-radius: 0;
    background: #000;
    cursor: pointer;
}

.oesc-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.oesc-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.oesc-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.oesc-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Existing club heroes use CSS grids; allow long titles to shrink on mobile. */
.oesc-main-nav + .hero .hero-inner,
.oesc-main-nav + .hero .hero-inner > * {
    min-width: 0;
    max-width: 100%;
}

.oesc-final-footer {
    padding: 55px 0 24px;
    border-top: 1px solid var(--oesc-pink);
    background: #000;
    color: var(--oesc-text);
}

.oesc-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr .9fr;
    gap: 58px;
}

.oesc-footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.oesc-footer-brand img {
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain;
    box-shadow: none !important;
}

.oesc-footer-brand span {
    color: var(--oesc-pink);
}

.oesc-final-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.oesc-final-footer p,
.oesc-final-footer a {
    color: var(--oesc-muted) !important;
    font-size: 11px;
    line-height: 1.5;
}

.oesc-final-footer a {
    display: block;
    margin: 7px 0;
    text-decoration: none !important;
    opacity: 1 !important;
}

.oesc-final-footer a:hover,
.oesc-final-footer a:focus-visible {
    color: var(--oesc-pink) !important;
    outline: none;
}

.oesc-footer-links,
.oesc-footer-languages {
    columns: 2;
}

.oesc-social-links {
    display: flex;
    gap: 9px;
    margin-top: 17px;
}

.oesc-social-links a {
    display: grid;
    width: 36px;
    height: 36px;
    margin: 0;
    place-items: center;
    border: 1px solid #263746;
    color: #fff !important;
}

.oesc-footer-question {
    margin-top: 23px;
    padding-top: 17px;
    border-top: 1px solid #263746;
}

.oesc-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid #263746;
    color: #71889a;
    font-size: 10px;
}

@media (max-width: 980px) {
    .oesc-nav-links {
        gap: 12px;
    }

    .oesc-nav-links a span {
        display: none;
    }
}

@media (max-width: 850px) {
    .oesc-shell-wrap {
        width: min(100% - 28px, 1200px);
    }

    .oesc-nav-row {
        min-height: 62px;
    }

    .oesc-brand span {
        display: none;
    }

    .oesc-donate {
        display: none;
    }

    .oesc-mobile-toggle {
        display: block;
    }

    .oesc-nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--oesc-pink);
        border-top: 0;
        background: #000;
    }

    .oesc-nav-links.active {
        display: grid;
    }

    .oesc-nav-links a {
        width: 100%;
        min-height: 47px;
        padding: 0 10px;
        border: 1px solid #263746;
    }

    .oesc-nav-links a span {
        display: inline;
    }

    .oesc-footer-grid {
        grid-template-columns: 1.4fr 1fr;
    }

    .oesc-footer-grid > div:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .oesc-topline {
        gap: 8px;
        padding-inline: 8px;
        font-size: 9px;
    }

    .oesc-countdown {
        gap: 2px;
    }

    .oesc-countdown > span {
        min-width: 29px;
    }

    .oesc-countdown b {
        font-size: 14px;
    }

    .oesc-countdown small {
        font-size: 7px;
    }

    .oesc-final-footer {
        padding-top: 42px;
    }

    .oesc-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .oesc-footer-grid > div:first-child {
        grid-column: auto;
    }

    .oesc-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}
