/*
 * Steam-inspired global controls preview.
 *
 * Intentionally limited to controls that should use the new
 * visual language on every page.
 */

/* ============================================================
   GLOBAL SCROLL TO TOP
   ============================================================ */

.scroll-to-top {
    color: #8fbedb;
    background:
        linear-gradient(
            180deg,
            #22384a 0%,
            #172533 100%
        );

    border: 1px solid #35566d;
    border-radius: 3px;

    -webkit-box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.28);
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.28);
}

/*
 * Keep the existing visibility/position animation from site.css.
 * Only change the visual interaction state.
 */
.scroll-to-top.is-visible:hover,
.scroll-to-top.is-visible:focus-visible {
    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            #31506a 0%,
            #223c51 100%
        );

    border-color: #66c0f4;

    outline: none;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.16),
        0 0 16px rgba(102, 192, 244, 0.12),
        0 7px 18px rgba(0, 0, 0, 0.30);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.16),
        0 0 16px rgba(102, 192, 244, 0.12),
        0 7px 18px rgba(0, 0, 0, 0.30);

    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.scroll-to-top:focus-visible {
    outline: 1px solid rgba(102, 192, 244, 0.68);
    outline-offset: 2px;
}

.scroll-to-top__icon {
    color: currentColor;
    width: 18px;
    height: 18px;
}

/* ===== GLOBAL MOBILE SCROLL FOOTER SAFE AREA ===== */

/*
 * The fixed scroll-to-top control sits in the lower-left corner.
 * Reserve only the copyright line for it; the disclaimer keeps
 * the full mobile width.
 */
@media (max-width: 900px) {
    .site-footer__copyright {
        box-sizing: border-box;
        min-height: 44px;
        padding-left: 60px;
    }
}

/* ===== END GLOBAL MOBILE SCROLL FOOTER SAFE AREA ===== */

/* ===== DESKTOP SCROLL FOOTER SAFE POSITION ===== */

/*
 * On desktop sidebar layouts the fixed scroll-to-top control
 * previously sat directly over the footer copyright line.
 *
 * Keep the existing horizontal Stage 9V alignment, but raise
 * the control by one button height plus a small gap.
 */
@media (min-width: 901px) {
    body:has(.site-body--with-sidebar)
    .scroll-to-top {
        bottom:
            calc(
                1.5rem
                + 44px
                + var(--space-2)
            );
    }
}

/* ===== END DESKTOP SCROLL FOOTER SAFE POSITION ===== */

/* ===== GLOBAL STEAM SITE CHROME V1 ===== */

/*
 * Canonical site-wide Steam header / navigation / footer.
 *
 * This intentionally changes site chrome only.
 * Individual page surfaces continue to own their own backgrounds.
 */

.site-header {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #0f1822 0%,
            #121c27 48%,
            #172333 100%
        );

    border-bottom:
        1px solid
        rgba(102, 192, 244, 0.18);

    -webkit-box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28);
}


.site-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(102, 192, 244, 0.34) 18%,
            rgba(102, 192, 244, 0.16) 50%,
            rgba(102, 192, 244, 0.34) 82%,
            transparent 100%
        );

    pointer-events: none;
}


.site-brand {
    color: #ffffff;

    letter-spacing: 0.02em;

    text-shadow:
        0 0 18px rgba(102, 192, 244, 0.14);
}


.site-nav__link {
    color: #d7e3ec;
}


.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.045);

    text-decoration: none;
}


.site-nav__link.is-active {
    color: #66c0f4;

    background:
        rgba(255, 255, 255, 0.055);

    border-color:
        rgba(255, 255, 255, 0.12);

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.08),
        0 0 14px rgba(102, 192, 244, 0.08);

    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.08),
        0 0 14px rgba(102, 192, 244, 0.08);
}


.site-nav__link.is-active:hover,
.site-nav__link.is-active:focus-visible {
    color: #7dccf6;

    background:
        rgba(255, 255, 255, 0.085);

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.28),
        0 0 16px rgba(102, 192, 244, 0.10);

    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.28),
        0 0 16px rgba(102, 192, 244, 0.10);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    color: #8fa1b2;

    background:
        linear-gradient(
            180deg,
            #121a24 0%,
            #171a21 100%
        );

    border-top:
        1px solid
        rgba(102, 192, 244, 0.14);

    -webkit-box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.02);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.02);
}


.site-footer__brand,
.site-footer__title {
    color: #d8e1e8;
}


.site-footer a,
.site-footer__logout {
    color: #8fa1b2;
}


.site-footer__link,
.site-footer__logout {
    box-sizing: border-box;

    padding-left: 10px;
    padding-right: 10px;

    margin-left: -10px;
    margin-right: -10px;

    border-radius: 3px;
}


.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer__link:hover,
.site-footer__link:focus-visible,
.site-footer__logout:hover,
.site-footer__logout:focus-visible {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.045);

    text-decoration: none;
}


.site-footer__link:focus-visible,
.site-footer__logout:focus-visible {
    outline:
        1px solid
        rgba(102, 192, 244, 0.42);

    outline-offset: 2px;
}

/* ===== END GLOBAL STEAM SITE CHROME V1 ===== */

/* ===== CLUB AUTH MODAL HEADER POLISH V2 ===== */

/*
 * Club authentication dialogs.
 *
 * Keep the title and Close button in their current position,
 * but give the header extra space underneath them so the
 * divider no longer visually touches the Close button border.
 *
 * Applies to:
 * - Join modal on Club Detail;
 * - Join modal on Tournaments;
 * - Rate / Review auth modal;
 * - other Club Detail auth-required dialogs.
 */

body:has(.club-detail-page)
.site-modal
.site-modal__header {
    box-sizing:
        border-box
        !important;

    padding-bottom:
        14px
        !important;

    border-bottom:
        1px solid
        rgba(103, 143, 171, 0.34)
        !important;
}


/*
 * Explicitly keep Close aligned with the title rather than
 * allowing the added bottom padding to affect its placement.
 */
body:has(.club-detail-page)
.site-modal
.site-modal__close {
    align-self:
        flex-start
        !important;
}


/*
 * Preserve a clean breathing gap from divider to modal copy.
 */
body:has(.club-detail-page)
.site-modal
.site-modal__body {
    padding-top:
        14px
        !important;
}

/* ===== END CLUB AUTH MODAL HEADER POLISH V2 ===== */

/* ===== MTT GLOBAL VISUAL CONTRACT V1 ===== */

/*
 * This is the canonical visual contract for EVERY page
 * rendered through the default MTT Clubs layout.
 *
 * Do not create page-specific page backgrounds or H1 typography.
 */

:root {
    --mtt-page-base:
        #171d25;

    --mtt-page-gradient-top:
        #1b2838;

    --mtt-page-gradient-middle:
        #192532;

    --mtt-page-gradient-bottom:
        #121a24;

    --mtt-text-main:
        #c7d5e0;

    --mtt-heading:
        #ffffff;

    --mtt-panel-top:
        rgba(28, 43, 58, 0.98);

    --mtt-panel-bottom:
        rgba(20, 31, 43, 0.98);

    --mtt-panel-border:
        rgba(103, 143, 171, 0.22);

    --mtt-control-bg:
        #101822;

    --mtt-control-border:
        #35566d;

    --mtt-control-hover:
        #4d7895;

    --mtt-accent:
        #66c0f4;
}


/* ============================================================
   1. ONE BACKGROUND FOR THE ENTIRE SITE
   Same background family as /clubs.
   ============================================================ */

html,
body,
.site-shell {
    background:
        var(--mtt-page-base)
        !important;
}


body {
    color:
        var(--mtt-text-main);
}


html body
.site-shell.site-shell
.site-main.site-main {
    position:
        relative;

    min-height:
        72vh;

    background:
        radial-gradient(
            circle at 70% -10%,
            rgba(43, 92, 129, 0.45) 0,
            rgba(43, 92, 129, 0) 42%
        ),
        radial-gradient(
            circle at 15% 8%,
            rgba(31, 71, 101, 0.34) 0,
            rgba(31, 71, 101, 0) 34%
        ),
        linear-gradient(
            180deg,
            var(--mtt-page-gradient-top) 0%,
            var(--mtt-page-gradient-middle) 48%,
            var(--mtt-page-gradient-bottom) 100%
        )
        !important;
}


/* ============================================================
   2. ONE H1 FOR THE ENTIRE SITE
   Same type, size, and spacing as the Club detail H1.
   Loaded by the default layout, so new pages inherit it.
   ============================================================ */

html body
.site-shell.site-shell
.site-main.site-main
h1,

html body
.site-shell.site-shell
.site-main.site-main
h1.page-title,

html body
.site-shell.site-shell
.site-main.site-main
.page-title {
    margin:
        0
        !important;

    padding:
        0
        !important;

    color:
        #ffffff
        !important;

    background:
        transparent
        !important;

    border:
        0
        !important;

    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
        !important;

    font-size:
        clamp(30px, 3vw, 38px)
        !important;

    font-weight:
        300
        !important;

    font-style:
        normal
        !important;

    line-height:
        1.25
        !important;

    letter-spacing:
        0.01em
        !important;

    text-transform:
        none
        !important;

    text-shadow:
        0 1px 2px
        rgba(0, 0, 0, 0.42)
        !important;
}


@media (max-width: 640px) {

    html body
    .site-shell.site-shell
    .site-main.site-main
    h1,

    html body
    .site-shell.site-shell
    .site-main.site-main
    h1.page-title,

    html body
    .site-shell.site-shell
    .site-main.site-main
    .page-title {
        font-size:
            30px
            !important;
    }
}


/* ============================================================
   3. ACCOUNT / DASHBOARD SIDEBAR
   Exact same panel/control palette as /clubs filter sidebar.
   ============================================================ */

.account-nav.steam-sidebar-panel--account {
    box-sizing:
        border-box
        !important;

    width:
        100%
        !important;

    margin:
        0
        !important;

    padding:
        16px
        !important;

    overflow:
        hidden
        !important;

    color:
        var(--mtt-text-main)
        !important;

    background:
        linear-gradient(
            180deg,
            var(--mtt-panel-top) 0%,
            var(--mtt-panel-bottom) 100%
        )
        !important;

    border:
        1px solid
        var(--mtt-panel-border)
        !important;

    border-radius:
        3px
        !important;

    box-shadow:
        0 10px 24px
        rgba(0, 0, 0, 0.24)
        !important;
}


/*
 * Kill old section separators completely.
 * No white line between Account / My Club / Owned Clubs.
 */

.account-nav.steam-sidebar-panel--account
.account-nav__section,

.account-nav.steam-sidebar-panel--account
.account-nav__section
+ .account-nav__section {
    border:
        0
        !important;

    border-top:
        0
        !important;

    border-bottom:
        0
        !important;

    box-shadow:
        none
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__section
+ .account-nav__section {
    margin-top:
        16px
        !important;

    padding-top:
        0
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__list--clubs {
    margin-top:
        8px
        !important;

    padding-top:
        0
        !important;

    border:
        0
        !important;

    border-top:
        0
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__item,

.account-nav.steam-sidebar-panel--account
.account-nav__item
+ .account-nav__item {
    margin:
        0
        !important;

    border:
        0
        !important;

    border-top:
        0
        !important;

    border-bottom:
        0
        !important;
}


.account-nav.steam-sidebar-panel--account
hr,

.account-nav.steam-sidebar-panel--account
.account-nav__divider,

.account-nav.steam-sidebar-panel--account
.section-divider,

.account-nav.steam-sidebar-panel--account
.form-divider {
    display:
        none
        !important;

    border:
        0
        !important;
}


/* Sidebar title */

.account-nav.steam-sidebar-panel--account
.account-nav__title {
    margin:
        0 0 10px
        !important;

    padding:
        0
        !important;

    color:
        var(--mtt-text-main)
        !important;

    font-size:
        0.8125rem
        !important;

    line-height:
        1.25
        !important;

    font-weight:
        650
        !important;

    letter-spacing:
        0.06em
        !important;

    text-transform:
        uppercase
        !important;

    border:
        0
        !important;
}


/* Navigation */

.account-nav.steam-sidebar-panel--account
.account-nav__list {
    display:
        grid
        !important;

    gap:
        8px
        !important;

    margin:
        0
        !important;

    padding:
        0
        !important;

    list-style:
        none
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__link {
    box-sizing:
        border-box
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    width:
        100%
        !important;

    min-height:
        42px
        !important;

    margin:
        0
        !important;

    padding:
        0 12px
        !important;

    color:
        #dfe8ef
        !important;

    background:
        var(--mtt-control-bg)
        !important;

    border:
        1px solid
        var(--mtt-control-border)
        !important;

    border-radius:
        2px
        !important;

    box-shadow:
        inset 0 1px 4px
        rgba(0, 0, 0, 0.35)
        !important;

    text-decoration:
        none
        !important;

    font-weight:
        500
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__link:hover,

.account-nav.steam-sidebar-panel--account
.account-nav__link:focus-visible {
    color:
        #ffffff
        !important;

    background:
        var(--mtt-control-bg)
        !important;

    border-color:
        var(--mtt-control-hover)
        !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__link.is-active,

.account-nav.steam-sidebar-panel--account
.account-nav__link.is-section-active {
    color:
        #ffffff
        !important;

    background:
        linear-gradient(
            90deg,
            #47bfff 0%,
            #1a9fff 100%
        )
        !important;

    border-color:
        transparent
        !important;

    box-shadow:
        0 0 8px
        rgba(102, 192, 244, 0.20)
        !important;

    font-weight:
        700
        !important;
}


/* ============================================================
   4. MOBILE DASHBOARD BUTTON / DRAWER
   ============================================================ */

.site-sidebar-trigger--account,
.site-sidebar-trigger--my-club {
    color:
        #ffffff
        !important;

    background:
        linear-gradient(
            90deg,
            #2b78a8 0%,
            #1a9fff 100%
        )
        !important;

    border:
        1px solid
        rgba(102, 192, 244, 0.40)
        !important;

    border-radius:
        3px
        !important;

    box-shadow:
        none
        !important;

    font-weight:
        650
        !important;
}


.site-sidebar-trigger--account:hover,
.site-sidebar-trigger--my-club:hover,

.site-sidebar-trigger--account:focus-visible,
.site-sidebar-trigger--my-club:focus-visible,

.site-sidebar-trigger--account[aria-expanded="true"],
.site-sidebar-trigger--my-club[aria-expanded="true"] {
    color:
        #ffffff
        !important;

    background:
        linear-gradient(
            90deg,
            #3288b9 0%,
            #20a6ff 100%
        )
        !important;

    border-color:
        var(--mtt-accent)
        !important;
}


@media (max-width: 900px) {

    .site-sidebar--account,

    body
    .site-body--sidebar-account
    > .site-sidebar {
        background:
            #172533
            !important;

        border-right:
            1px solid
            var(--mtt-control-border)
            !important;

        box-shadow:
            12px 0 32px
            rgba(0, 0, 0, 0.38)
            !important;
    }


    .site-sidebar--account
    .site-sidebar__inner,

    body
    .site-body--sidebar-account
    > .site-sidebar
    .site-sidebar__inner {
        background:
            #172533
            !important;
    }


    .site-sidebar--account
    .account-nav.steam-sidebar-panel--account {
        margin:
            0
            !important;

        width:
            100%
            !important;
    }
}

/* ===== END MTT GLOBAL VISUAL CONTRACT V1 ===== */

/* ===== DASHBOARD SIDEBAR RHYTHM FINAL ===== */

/*
 * Canonical Dashboard sidebar spacing:
 *
 * 8px  = elements inside one logical group
 * 16px = separate logical groups
 *
 * This block intentionally lives last in the global stylesheet.
 */


/* ------------------------------------------------------------
   OUTER PANEL
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account {
    padding:
        16px !important;
}


/* ------------------------------------------------------------
   DASHBOARD TITLE -> OVERVIEW
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account
.account-nav__title {
    margin:
        0 0 8px !important;
}


/* ------------------------------------------------------------
   RESET OLD SECTION GEOMETRY
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account
.account-nav__section {
    margin:
        0 !important;

    padding:
        0 !important;

    border:
        0 !important;
}


/* Account group -> My Club group */
.account-nav.steam-sidebar-panel--account
.account-nav__section
+ .account-nav__section {
    margin-top:
        16px !important;

    padding-top:
        0 !important;

    border:
        0 !important;
}


/* ------------------------------------------------------------
   BUTTONS INSIDE A GROUP
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account
.account-nav__list {
    display:
        grid !important;

    gap:
        8px !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__item {
    margin:
        0 !important;

    padding:
        0 !important;
}


.account-nav.steam-sidebar-panel--account
.account-nav__link {
    margin:
        0 !important;
}


/* ------------------------------------------------------------
   JOIN REQUESTS -> FIRST OWNED CLUB

   This is a NEW logical group, therefore 16px,
   not the normal 8px button spacing.
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account
.account-nav__list--clubs {
    display:
        grid !important;

    gap:
        8px !important;

    margin:
        16px 0 0 !important;

    padding:
        0 !important;

    border:
        0 !important;
}


/* ------------------------------------------------------------
   ABSOLUTELY NO SEPARATOR LINES
   ------------------------------------------------------------ */

.account-nav.steam-sidebar-panel--account
.account-nav__section,

.account-nav.steam-sidebar-panel--account
.account-nav__list,

.account-nav.steam-sidebar-panel--account
.account-nav__item {
    border-top:
        0 !important;

    border-bottom:
        0 !important;
}


/* ------------------------------------------------------------
   MOBILE USES EXACTLY THE SAME RHYTHM
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    .site-sidebar--account
    .account-nav.steam-sidebar-panel--account {
        padding:
            16px !important;
    }


    .site-sidebar--account
    .account-nav__section
    + .account-nav__section {
        margin-top:
            16px !important;
    }


    .site-sidebar--account
    .account-nav__list {
        gap:
            8px !important;
    }


    .site-sidebar--account
    .account-nav__list--clubs {
        margin-top:
            16px !important;

        gap:
            8px !important;
    }
}

/* ===== END DASHBOARD SIDEBAR RHYTHM FINAL ===== */

/* ===== GLOBAL PAGE HEIGHT INDEPENDENT SURFACE V7 ===== */

/*
 * One page background regardless of document height.
 *
 * Previously the gradient stretched over the complete .site-main height.
 * A page with 14 posts therefore showed a visibly different shade from a
 * short page even though both used the same gradient declaration.
 *
 * The gradient now has a fixed visual depth. Everything below it uses the
 * same canonical base colour.
 */
/*
 * V8:
 * Do not impose a fixed-height background here.
 * The canonical global page surface defined above is allowed
 * to follow the complete page height, exactly like other pages.
 */



/*
 * My Club was introduced after the original shared-sidebar contract.
 * Explicitly make it use the same Steam surface/palette as the other
 * sidebar modes.
 */
.site-shell--sidebar-my-club
.site-sidebar__surface--my-club,
.site-shell--sidebar-my-club
.steam-sidebar-panel--my-club {
    box-sizing:
        border-box;

    background:
        linear-gradient(
            180deg,
            var(--mtt-panel-top),
            var(--mtt-panel-bottom)
        )
        !important;

    border:
        1px solid
        var(--mtt-panel-border)
        !important;

    border-radius:
        2px
        !important;

    box-shadow:
        0 10px 24px
        rgba(0, 0, 0, .18)
        !important;
}


/*
 * The wrapper itself must never introduce a second background.
 */
.site-shell--sidebar-my-club
.site-sidebar,
.site-shell--sidebar-my-club
.site-sidebar__inner {
    background:
        transparent
        !important;
}

/* ===== END GLOBAL PAGE HEIGHT INDEPENDENT SURFACE V7 ===== */

/* ===== GLOBAL PUBLIC CLUB BACKGROUND LOCK V9 ===== */

/*
 * ONE page canvas for the entire site.
 *
 * This is the public Club page visual contract.
 * Individual sections/pages must not replace the page canvas.
 */

html {
    background: #121a24 !important;
}

body,
.site-shell,
.site-shell .site-main {
    background-color: #171d25 !important;

    background-image:
        linear-gradient(
            180deg,
            #1b2838 0%,
            #192532 42%,
            #121a24 100%
        ) !important;

    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-attachment: scroll !important;
}

/*
 * Sidebar modes are layout modes only.
 * They must NOT introduce another page background.
 */

.site-shell--with-sidebar,
.site-shell--sidebar-public,
.site-shell--sidebar-filters,
.site-shell--sidebar-account,
.site-shell--sidebar-my-club {
    background: transparent !important;
}

.site-shell--with-sidebar .site-main,
.site-shell--sidebar-public .site-main,
.site-shell--sidebar-filters .site-main,
.site-shell--sidebar-account .site-main,
.site-shell--sidebar-my-club .site-main {
    background-color: #171d25 !important;

    background-image:
        linear-gradient(
            180deg,
            #1b2838 0%,
            #192532 42%,
            #121a24 100%
        ) !important;

    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
}

/* ===== END GLOBAL PUBLIC CLUB BACKGROUND LOCK V9 ===== */

/* ===== GLOBAL PUBLIC CLUB BACKGROUND EXACT V10 ===== */

/*
 * Exact page canvas used by the approved public Club design.
 *
 * Applies to EVERY page rendered through default.htm.
 * Header and footer retain their own surfaces.
 */

html {
    background:
        #121a24
        !important;
}

body,
.site-shell {
    background:
        #171d25
        !important;
}


/*
 * Exact public Club .site-main background:
 *
 * - blue glow in upper-right
 * - softer blue glow in upper-left
 * - Steam vertical dark gradient underneath
 */

html body
.site-shell.site-shell
.site-main.site-main {
    position:
        relative;

    min-height:
        72vh;

    background:
        radial-gradient(
            circle at 70% -10%,
            rgba(43, 92, 129, 0.45) 0,
            rgba(43, 92, 129, 0) 42%
        ),
        radial-gradient(
            circle at 15% 8%,
            rgba(31, 71, 101, 0.34) 0,
            rgba(31, 71, 101, 0) 34%
        ),
        linear-gradient(
            180deg,
            #1b2838 0%,
            #192532 48%,
            #121a24 100%
        )
        !important;

    background-repeat:
        no-repeat
        !important;
}


/*
 * Same extremely subtle light texture used by
 * the approved public Club canvas.
 */

html body
.site-shell.site-shell
.site-main.site-main::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.018),
            transparent 30%,
            transparent 70%,
            rgba(102, 192, 244, 0.018)
        )
        !important;
}


/*
 * Page content stays above the texture layer.
 */

html body
.site-shell.site-shell
.site-main.site-main > * {
    position:
        relative;

    z-index:
        1;
}


/*
 * Sidebar layout wrappers must not paint another
 * page canvas over the global one.
 */

.site-shell--with-sidebar,
.site-shell--sidebar-public,
.site-shell--sidebar-filters,
.site-shell--sidebar-account,
.site-shell--sidebar-my-club {
    background:
        transparent
        !important;
}

/* ===== END GLOBAL PUBLIC CLUB BACKGROUND EXACT V10 ===== */

/* ===== GLOBAL PUBLIC CLUB BACKGROUND STABLE V11 ===== */

/*
 * WHY THIS EXISTS:
 *
 * The public Club page is the visual reference.
 *
 * The old global rule used percentage gradients directly on
 * .site-main. Since .site-main has a different height on every
 * page, short pages such as /rooms became much darker than a
 * long Club detail page.
 *
 * Keep the approved Club detail page unchanged.
 *
 * Everywhere else, render the SAME gradient on a fixed-height
 * visual canvas so its appearance no longer depends on content
 * height.
 */

body:not(:has(.club-detail-page))
.site-main {
    background-color:
        #121a24
        !important;

    background-image:
        radial-gradient(
            circle at 70% -10%,
            rgba(43, 92, 129, 0.45) 0,
            rgba(43, 92, 129, 0) 42%
        ),
        radial-gradient(
            circle at 15% 8%,
            rgba(31, 71, 101, 0.34) 0,
            rgba(31, 71, 101, 0) 34%
        ),
        linear-gradient(
            180deg,
            #1b2838 0%,
            #192532 48%,
            #121a24 100%
        )
        !important;

    /*
     * Fixed canvas is the key difference from V10.
     * All three layers use the same vertical geometry.
     */
    background-size:
        100% 2400px,
        100% 2400px,
        100% 2400px
        !important;

    background-position:
        center top,
        center top,
        center top
        !important;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat
        !important;
}


/*
 * Prevent sidebar/layout wrappers from painting another opaque
 * page background over the common canvas.
 */
body:not(:has(.club-detail-page))
.site-main
> .container,

body:not(:has(.club-detail-page))
.site-main
> .container
.site-body,

body:not(:has(.club-detail-page))
.site-main
.site-main-panel {
    background:
        transparent
        !important;
}

/* ===== END GLOBAL PUBLIC CLUB BACKGROUND STABLE V11 ===== */

/* ===== DEFAULT PAGE CANVAS: /rooms ===== */

/*
 * Default page background for every page that uses the site layout,
 * including pages added later.
 *
 * This is the Poker Rooms canvas: the same two glows and vertical
 * gradient, with a fixed 900px depth so a long page does not stretch
 * the fade. Below that depth the base colour continues.
 *
 * Header and footer keep their own surfaces.
 * Do not add a second page background in a new page stylesheet.
 */

html {
    background-color:
        #121a24
        !important;
}

html body,
html body .site-shell.site-shell {
    background-color:
        #121a24
        !important;

    background-image:
        none
        !important;
}

html body
.site-shell.site-shell
.site-main.site-main {
    background-color:
        #121a24
        !important;

    background-image:
        radial-gradient(
            circle at 70% -10%,
            rgba(43, 92, 129, 0.45) 0,
            rgba(43, 92, 129, 0) 42%
        ),
        radial-gradient(
            circle at 15% 8%,
            rgba(31, 71, 101, 0.34) 0,
            rgba(31, 71, 101, 0) 34%
        ),
        linear-gradient(
            180deg,
            #1b2838 0%,
            #192532 48%,
            #121a24 100%
        )
        !important;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat
        !important;

    background-position:
        center top,
        center top,
        center top
        !important;

    background-size:
        100% 900px,
        100% 900px,
        100% 900px
        !important;

    background-attachment:
        scroll
        !important;
}

html body
.site-shell.site-shell
.site-main.site-main::before {
    height:
        900px
        !important;

    bottom:
        auto
        !important;
}

/* ===== END DEFAULT PAGE CANVAS: /rooms ===== */

/* ============================================================
   SHARED SIDEBAR CHROME
   Same panel, fields, and buttons as the /clubs filter sidebar.
   Each sidebar keeps its own content.
   ============================================================ */

html body .site-sidebar--public > .site-sidebar__inner,
html body .site-sidebar--account > .site-sidebar__inner,
html body .site-sidebar--my-club > .site-sidebar__inner,
html body .site-sidebar--filters > .site-sidebar__inner {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

html body .site-sidebar .filter-sidebar,
html body .site-sidebar > .site-sidebar__inner > .account-nav,
html body .site-sidebar.site-sidebar--public.site-sidebar--club .club-sidebar-card {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: #c7d5e0 !important;
    background: -webkit-linear-gradient(top, rgba(28, 43, 58, 0.98) 0%, rgba(20, 31, 43, 0.98) 100%) !important;
    background: linear-gradient(180deg, rgba(28, 43, 58, 0.98) 0%, rgba(20, 31, 43, 0.98) 100%) !important;
    border: 1px solid rgba(103, 143, 171, 0.22) !important;
    border-radius: 3px !important;
    -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

html body .site-sidebar > .site-sidebar__inner > .account-nav,
html body .site-sidebar.site-sidebar--public.site-sidebar--club .club-sidebar-card {
    padding: 1rem !important;
}

html body .site-sidebar .filter-sidebar .card__body,
html body .site-sidebar .filter-sidebar .filter-sidebar__body,
html body .site-sidebar.site-sidebar--club .public-sidebar-nav,
html body .site-sidebar.site-sidebar--club .public-sidebar-club__details {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

html body .site-sidebar .filter-sidebar__body {
    display: grid;
    gap: 0.875rem;
    padding: 1rem !important;
}

html body .site-sidebar .form-field {
    min-width: 0;
    margin: 0 !important;
}

html body .site-sidebar .form-label {
    display: block;
    margin: 0 0 0.375rem !important;
    color: #c7d5e0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

html body .site-sidebar .form-control,
html body .site-sidebar input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
html body .site-sidebar select,
html body .site-sidebar textarea {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0;
    padding: 0 12px !important;
    color: #dfe8ef !important;
    color-scheme: dark;
    background: #101822 !important;
    border: 1px solid #35566d !important;
    border-radius: 2px !important;
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    line-height: 40px !important;
}

html body .site-sidebar textarea {
    height: auto;
    min-height: 96px;
    max-height: none;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    line-height: 1.4 !important;
}

html body .site-sidebar .form-control:hover,
html body .site-sidebar input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):hover,
html body .site-sidebar select:hover,
html body .site-sidebar textarea:hover {
    border-color: #4d7895 !important;
}

html body .site-sidebar .form-control:focus,
html body .site-sidebar input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):focus,
html body .site-sidebar select:focus,
html body .site-sidebar textarea:focus {
    border-color: #66c0f4 !important;
    outline: none;
    -webkit-box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.35), inset 0 1px 4px rgba(0, 0, 0, 0.30) !important;
    box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.35), inset 0 1px 4px rgba(0, 0, 0, 0.30) !important;
}

html body .site-sidebar input::-webkit-input-placeholder,
html body .site-sidebar textarea::-webkit-input-placeholder {
    color: #7f98aa;
}

html body .site-sidebar input::-moz-placeholder,
html body .site-sidebar textarea::-moz-placeholder {
    color: #7f98aa;
    opacity: 1;
}

html body .site-sidebar input::placeholder,
html body .site-sidebar textarea::placeholder {
    color: #7f98aa;
}

html body .site-sidebar .filter-sidebar__rating-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
}

html body .site-sidebar .filter-sidebar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
    margin: 0.125rem 0 0 !important;
    padding-top: 0.875rem !important;
    border-top: 1px solid #35566d !important;
}

html body .site-sidebar .filter-sidebar__actions > * {
    width: 100%;
    margin: 0 !important;
}

html body .site-sidebar .filter-sidebar__apply,
html body .site-sidebar .btn--primary {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.625rem;
    color: #ffffff !important;
    background: -webkit-linear-gradient(left, #47bfff 0%, #1a9fff 100%) !important;
    background: linear-gradient(90deg, #47bfff 0%, #1a9fff 100%) !important;
    border: 0 !important;
    border-radius: 2px !important;
    -webkit-box-shadow: 0 0 8px rgba(102, 192, 244, 0.20) !important;
    box-shadow: 0 0 8px rgba(102, 192, 244, 0.20) !important;
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

html body .site-sidebar .filter-sidebar__apply:hover,
html body .site-sidebar .filter-sidebar__apply:focus-visible,
html body .site-sidebar .btn--primary:hover,
html body .site-sidebar .btn--primary:focus-visible {
    color: #ffffff !important;
    background: -webkit-linear-gradient(left, #67c9ff 0%, #2ba9ff 100%) !important;
    background: linear-gradient(90deg, #67c9ff 0%, #2ba9ff 100%) !important;
}

html body .site-sidebar .filter-sidebar__clear,
html body .site-sidebar .btn--ghost {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.625rem;
    color: #c7d5e0 !important;
    background: #24384a !important;
    border: 1px solid #35566d !important;
    border-radius: 2px !important;
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

html body .site-sidebar .filter-sidebar__clear:hover,
html body .site-sidebar .filter-sidebar__clear:focus-visible,
html body .site-sidebar .btn--ghost:hover,
html body .site-sidebar .btn--ghost:focus-visible {
    color: #ffffff !important;
    background: #31506a !important;
    border-color: #4d7895 !important;
}

html body .site-sidebar .account-nav__list {
    display: grid;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body .site-sidebar .account-nav__link {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    min-height: 42px;
    margin: 0 !important;
    padding: 0 12px !important;
    color: #dfe8ef !important;
    background: #101822 !important;
    border: 1px solid #35566d !important;
    border-radius: 2px !important;
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

html body .site-sidebar .account-nav__link:hover,
html body .site-sidebar .account-nav__link:focus-visible {
    color: #ffffff !important;
    border-color: #4d7895 !important;
}

html body .site-sidebar .account-nav__title {
    margin: 0 0 10px !important;
    color: #c7d5e0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

@media (max-width: 900px) {
    html body .site-body--with-sidebar > .site-sidebar {
        color: #c7d5e0;
        background: -webkit-linear-gradient(top, #172533 0%, #121c27 100%) !important;
        background: linear-gradient(180deg, #172533 0%, #121c27 100%) !important;
        border-right: 1px solid #35566d !important;
        -webkit-box-shadow: 12px 0 32px rgba(0, 0, 0, 0.38) !important;
        box-shadow: 12px 0 32px rgba(0, 0, 0, 0.38) !important;
    }

    html body .site-body--with-sidebar > .site-sidebar .site-sidebar__close {
        min-height: 40px;
        padding: 8px 14px;
        color: #dfe8ef;
        background: #22384a;
        border: 1px solid #35566d;
        border-radius: 3px;
    }
}

/* ===== END SHARED SIDEBAR CHROME ===== */

/* ============================================================
   SHARED BREADCRUMBS
   Same colors, type, and spacing as /clubs.
   ============================================================ */

html body .site-shell .site-main .breadcrumbs {
    margin: 0 0 1.25rem !important;
    color: #7f98aa !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
}

html body .site-shell .site-main .breadcrumbs__list {
    margin: 0 !important;
    padding: 0 !important;
}

html body .site-shell .site-main .breadcrumbs__item {
    margin: 0 !important;
    padding: 0 !important;
    color: #7f98aa !important;
    font-family: inherit !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    opacity: 1 !important;
}

html body .site-shell .site-main .breadcrumbs__link {
    color: #8fbedb !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-decoration: none !important;
}

html body .site-shell .site-main .breadcrumbs__link:hover,
html body .site-shell .site-main .breadcrumbs__link:focus-visible {
    color: #ffffff !important;
    text-decoration: underline !important;
}

html body .site-shell .site-main .breadcrumbs__item:last-child,
html body .site-shell .site-main .breadcrumbs__item:last-child .breadcrumbs__current,
html body .site-shell .site-main .breadcrumbs__current {
    color: #c7d5e0 !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

html body .site-shell .site-main .breadcrumbs__item + .breadcrumbs__item::before,
html body .site-shell .site-main .breadcrumbs__item:not(:last-child)::after {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

@media (max-width: 640px) {
    html body .site-shell .site-main .breadcrumbs,
    html body .site-shell .site-main .breadcrumbs__item {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
    }

    html body .site-shell .site-main .breadcrumbs__item + .breadcrumbs__item::before,
    html body .site-shell .site-main .breadcrumbs__item:not(:last-child)::after {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }
}

/* ===== END SHARED BREADCRUMBS ===== */

/* ============================================================
   SHARED FIELDS AND BORDERS
   Same field chrome and stroke as the /clubs sidebar.
   Hover only on controls that are interactive.
   ============================================================ */

html body .site-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="reset"]),
html body .site-shell select,
html body .site-shell textarea,
html body .site-shell .form-control {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #dfe8ef !important;
    color-scheme: dark;
    background: #101822 !important;
    border: 1px solid #35566d !important;
    border-radius: 2px !important;
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

html body .site-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="reset"]),
html body .site-shell select,
html body .site-shell .form-control:not(textarea) {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0 12px !important;
    line-height: 40px !important;
}

html body .site-shell textarea,
html body .site-shell textarea.form-control {
    height: auto;
    min-height: 96px;
    max-height: none;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
}

html body .site-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="reset"]):hover,
html body .site-shell select:hover,
html body .site-shell textarea:hover,
html body .site-shell .form-control:hover {
    border-color: #4d7895 !important;
}

html body .site-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):not([type="reset"]):focus,
html body .site-shell select:focus,
html body .site-shell textarea:focus,
html body .site-shell .form-control:focus {
    border-color: #66c0f4 !important;
    outline: none;
    -webkit-box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.35), inset 0 1px 4px rgba(0, 0, 0, 0.30) !important;
    box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.35), inset 0 1px 4px rgba(0, 0, 0, 0.30) !important;
}

html body .site-shell input::-webkit-input-placeholder,
html body .site-shell textarea::-webkit-input-placeholder {
    color: #7f98aa;
}

html body .site-shell input::-moz-placeholder,
html body .site-shell textarea::-moz-placeholder {
    color: #7f98aa;
    opacity: 1;
}

html body .site-shell input::placeholder,
html body .site-shell textarea::placeholder {
    color: #7f98aa;
}

html body .site-shell .form-label {
    color: #c7d5e0 !important;
    font-weight: 500 !important;
}

html body .site-shell hr,
html body .site-shell .card__header,
html body .site-shell .card__footer,
html body .site-shell .form-divider,
html body .site-shell .section-divider,
html body .site-shell .entity-section__title {
    border-color: #35566d !important;
}

html body .site-shell .card:not(.filter-sidebar),
html body .site-shell .entity-card,
html body .site-shell .club-catalog-card,
html body .site-shell .public-page-surface,
html body .site-shell .empty-state,
html body .site-shell table,
html body .site-shell th,
html body .site-shell td,
html body .site-shell .site-header,
html body .site-shell .site-footer,
html body .site-shell .btn--ghost,
html body .site-shell .btn--secondary {
    border-color: #35566d !important;
}

html body .site-shell .club-catalog-card:hover,
html body .site-shell .club-catalog-card:focus-visible,
html body .site-shell .entity-card:hover,
html body .site-shell .entity-card:focus-visible,
html body .site-shell a.card:hover,
html body .site-shell a.card:focus-visible,
html body .site-shell .btn--ghost:hover,
html body .site-shell .btn--ghost:focus-visible,
html body .site-shell .btn--secondary:hover,
html body .site-shell .btn--secondary:focus-visible {
    border-color: #4d7895 !important;
}

/* ===== END SHARED FIELDS AND BORDERS ===== */

/* ============================================================
   SHARED H2
   Same type, size, and spacing as Club detail section H2.
   Default for every current and future page on this layout.
   ============================================================ */

html body
.site-shell.site-shell
.site-main.site-main
h2,

html body
.site-shell.site-shell
.site-main.site-main
h2.entity-section__title {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
    padding: 0 !important;
    color: #e6edf3 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    text-transform: none !important;
    text-shadow: none !important;
}

html body
.site-shell.site-shell
.site-main.site-main
h2::before,

html body
.site-shell.site-shell
.site-main.site-main
h2::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 900px) {
    html body
    .site-shell.site-shell
    .site-main.site-main
    h2,

    html body
    .site-shell.site-shell
    .site-main.site-main
    h2.entity-section__title {
        font-size: 1.625rem !important;
    }
}

/* ===== END SHARED H2 ===== */
