#site-promo-center[hidden],
#site-promo-bottom[hidden] { display: none !important; }

#site-promo-center, #site-promo-center *,
#site-promo-bottom, #site-promo-bottom * { box-sizing: border-box; }

html.site-promo-scroll-lock { overflow: hidden; }

#site-promo-center {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 32px);
    background: rgba(4,12,24,.72);
    backdrop-filter: blur(4px);
}
#site-promo-center .site-promo-panel {
    --promo-gap: 10px;
    position: relative;
    width: min(430px, 92vw, calc(94vh - 64px));
    max-height: 94vh;
}
#site-promo-center .site-promo-center-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--promo-gap);
    width: 100%;
    color: #fff;
    text-decoration: none;
}
#site-promo-center .site-promo-art {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    line-height: 0;
}
#site-promo-center .site-promo-art img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}
#site-promo-center .site-promo-coins, #site-promo-center .site-promo-type {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
#site-promo-center .site-promo-coins { z-index: 2; }
#site-promo-center .site-promo-type {
    z-index: 3;
    transform-origin: 50% 73%;
    will-change: transform;
    animation: site-promo-text-pulse 1.9s cubic-bezier(.22,.75,.3,1) infinite;
}
#site-promo-center .site-promo-x {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(19,27,41,.92);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
    font: 700 30px/1 Arial,sans-serif;
    cursor: pointer;
}
#site-promo-center .site-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 46px;
    padding: 11px 24px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg,#e21b22,#ff7a22);
    font: 800 15px/1.2 Arial,sans-serif;
    white-space: nowrap;
    letter-spacing: .01em;
    animation: site-promo-button-pulse 1.9s cubic-bezier(.22,.75,.3,1) infinite;
}
#site-promo-center :is(.site-promo-x, .site-promo-center-link):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
@keyframes site-promo-text-pulse {
    0%,58%,100% { transform: scale(1); }
    12% { transform: scale(1.16); }
    22% { transform: scale(.965); }
    32% { transform: scale(1.095); }
    42% { transform: scale(.99); }
    50% { transform: scale(1.035); }
}
@keyframes site-promo-button-pulse {
    0%,49%,60%,100% { transform: scale(1); box-shadow: 0 7px 20px rgba(0,0,0,.26); }
    14% { transform: scale(1.1); box-shadow: 0 9px 24px rgba(0,0,0,.3); }
    25% { transform: scale(.98); box-shadow: 0 7px 20px rgba(0,0,0,.26); }
    36% { transform: scale(1.055); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
}
#site-promo-bottom {
    position: fixed;
    z-index: 2147482000;
    inset: auto 0 0;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    color: #fff;
    background: transparent;
    pointer-events: none;
}
#site-promo-bottom .site-promo-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    place-items: center;
    width: min(100%,1200px);
    min-width: 0;
    gap: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #fff2df;
    line-height: 0;
    pointer-events: auto;
}
#site-promo-bottom .site-promo-strip img {
    position: static;
    transform: none;
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 600 / 74;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
#site-promo-bottom .site-promo-strip:focus-visible {
    outline: 2px solid #075dcb;
    outline-offset: -2px;
}
#site-promo-bottom .site-promo-bottom-close {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    min-height: 40px;
    padding: 10px 18px;
    margin: 0;
    border: 0;
    border-radius: 5px;
    background: #d62036;
    color: #fff;
    font: 700 14px/20px Arial,sans-serif;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
}
#site-promo-bottom .site-promo-bottom-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) {
    #site-promo-bottom .site-promo-strip {
        grid-template-columns: minmax(0,1fr);
        width: min(100%,600px);
    }
    #site-promo-bottom .site-promo-bottom-close {
        bottom: calc(100% + 6px);
        min-width: 132px;
        min-height: 36px;
        padding: 8px 14px;
        font-size: 12px;
    }
}
@media (max-width: 520px) {
    #site-promo-center { padding: 8px; }
    #site-promo-center .site-promo-panel { --promo-gap: 8px; width: min(392px,94vw,calc(94vh - 64px)); }
    #site-promo-center .site-promo-x { top: 9px; right: 9px; width: 38px; height: 38px; font-size: 27px; }
    #site-promo-center .site-promo-cta { min-width: 210px; min-height: 44px; padding: 10px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    #site-promo-center .site-promo-type, #site-promo-center .site-promo-cta { animation: none; }
}
