/*
 * /clubs visual experiment
 * Steam-inspired dark catalog direction.
 *
 * This stylesheet is loaded ONLY by publicclublist/default.htm.
 * It intentionally does not change the shared site.css design system.
 */

/* ============================================================
   PAGE / GLOBAL TONE FOR /CLUBS ONLY
   ============================================================ */

html,
body {
    background: #171d25;
}

body {
    color: #c7d5e0;
}

.site-shell {
    background: #171d25;
}

.site-header {
    background:
        linear-gradient(
            180deg,
            #171d25 0%,
            #171a21 100%
        );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.28);
}

.site-brand {
    color: #ffffff;
    text-shadow:
        0 0 18px rgba(102, 192, 244, 0.16);
}

.site-nav__link {
    color: #d6d7d8;
    transition:
        color 140ms ease,
        background-color 140ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

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

.site-main {
    position: relative;
    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%
        );
    min-height: 72vh;
}

.site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.018),
            transparent 30%,
            transparent 70%,
            rgba(102, 192, 244, 0.018)
        );
}

.site-main > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.club-catalog-page .breadcrumbs,
.club-catalog-page .breadcrumb {
    color: #7f98aa;
}

.club-catalog-page .breadcrumbs a,
.club-catalog-page .breadcrumb a {
    color: #8fbedb;
}

.club-catalog-page .breadcrumbs a:hover,
.club-catalog-page .breadcrumb a:hover {
    color: #ffffff;
}

/* ============================================================
   REMOVE THE WHITE "CLOUD"
   ============================================================ */

.club-catalog-page .club-catalog-surface {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.club-catalog-page .club-catalog-surface__body {
    padding: 0;
}

.club-catalog-page .club-catalog-surface__header {
    margin-bottom: 18px;
}

.club-catalog-page .page-title {
    color: #ffffff;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.42);
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */

.filter-sidebar--clubs {
    overflow: hidden;
    color: #c7d5e0;
    background:
        linear-gradient(
            180deg,
            rgba(27, 42, 56, 0.98) 0%,
            rgba(20, 32, 44, 0.98) 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.20);
    border-radius: 3px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.20);
}

.filter-sidebar--clubs .card__body,
.filter-sidebar--clubs .filter-sidebar__body {
    background: transparent;
}

.filter-sidebar--clubs .form-label {
    color: #c7d5e0;
    font-weight: 500;
}

.filter-sidebar--clubs .form-control,
.filter-sidebar--clubs input,
.filter-sidebar--clubs select {
    color: #dfe8ef;
    color-scheme: dark;
    background: #101822;
    border-color: #35566d;
    border-radius: 2px;
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 0.35);
}

.filter-sidebar--clubs .form-control:hover,
.filter-sidebar--clubs input:hover,
.filter-sidebar--clubs select:hover {
    border-color: #4d7895;
}

.filter-sidebar--clubs .form-control:focus,
.filter-sidebar--clubs input:focus,
.filter-sidebar--clubs select:focus {
    border-color: #66c0f4;
    outline: none;
    box-shadow:
        0 0 0 1px rgba(102, 192, 244, 0.35),
        inset 0 1px 4px rgba(0, 0, 0, 0.30);
}

.filter-sidebar--clubs .filter-sidebar__apply {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #47bfff 0%,
            #1a9fff 100%
        );
    border: 0;
    border-radius: 2px;
    box-shadow:
        0 0 8px rgba(102, 192, 244, 0.20);
}

.filter-sidebar--clubs .filter-sidebar__apply:hover,
.filter-sidebar--clubs .filter-sidebar__apply:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #67c9ff 0%,
            #2ba9ff 100%
        );
}

.filter-sidebar--clubs .filter-sidebar__clear {
    color: #c7d5e0;
    background: #24384a;
    border-color: #35566d;
    border-radius: 2px;
}

.filter-sidebar--clubs .filter-sidebar__clear:hover,
.filter-sidebar--clubs .filter-sidebar__clear:focus-visible {
    color: #ffffff;
    background: #31506a;
    border-color: #4d7895;
}

/* ============================================================
   CLUB GRID
   ============================================================ */

.club-catalog-page .card-grid--clubs {
    gap: 14px;
}

.club-catalog-page .club-catalog-card {
    position: relative;
    overflow: hidden;
    color: #c7d5e0;
    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.14);
    border-radius: 3px;
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20);
    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.club-catalog-page .club-catalog-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    opacity: 0;
    background:
        linear-gradient(
            180deg,
            #66c0f4,
            #2b78a8
        );
    transition: opacity 150ms ease;
}

.club-catalog-page .club-catalog-card:hover {
    transform: translateY(-2px);
    background:
        linear-gradient(
            135deg,
            #29475e 0%,
            #20384b 58%,
            #1b3041 100%
        );
    border-color: rgba(102, 192, 244, 0.40);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.30),
        0 0 18px rgba(102, 192, 244, 0.05);
}

.club-catalog-page .club-catalog-card:hover::before {
    opacity: 1;
}

.club-catalog-page .club-catalog-card > .card__body {
    background: transparent;
}

.club-catalog-page .entity-card__title,
.club-catalog-page .entity-card__title a {
    color: #ffffff;
}

.club-catalog-page .entity-card__title a:hover,
.club-catalog-page .entity-card__title a:focus-visible {
    color: #66c0f4;
}

.club-catalog-page .entity-card__excerpt,
.club-catalog-page .entity-card__meta,
.club-catalog-page .entity-meta,
.club-catalog-page .entity-meta__item {
    color: #a8b6c2;
}

.club-catalog-page .club-catalog-card__terms {
    margin: 0;
    min-width: 0;
    max-width: 100%;
}

.club-catalog-page .club-catalog-card__terms-label {
    color: #c7d5e0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
}

.club-catalog-page .club-catalog-card__terms-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: 0.25em 0 0;
    max-height: calc(1.45em * 3);
    color: #b8c7d3;
    font-size: 0.875rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.club-catalog-page .text-link {
    color: #66c0f4;
}

.club-catalog-page .text-link:hover,
.club-catalog-page .text-link:focus-visible {
    color: #ffffff;
}

/* ============================================================
   LOGOS
   ============================================================ */

.club-catalog-page .entity-card__logo {
    background:
        linear-gradient(
            145deg,
            #263d50,
            #152430
        );
    border-color: rgba(102, 192, 244, 0.18);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24);
}

.club-catalog-page .entity-card__logo img {
    display: block;
}

/* ============================================================
   STATUS / RATING
   ============================================================ */

.club-catalog-page .club-card__status-chip,
.club-catalog-page .club-card__rating {
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.club-catalog-page .club-card__rating {
    color: #d6e3eb;
    background: rgba(10, 18, 25, 0.48);
}

.club-catalog-page .club-card__rating-star {
    color: #f5c451;
}

/* ============================================================
   CARD ACTIONS
   ============================================================ */

.club-catalog-page .club-catalog-card__footer {
    border-top-color: rgba(255, 255, 255, 0.07);
}

.club-catalog-page .club-catalog-card__view-button {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #47bfff 0%,
            #1a9fff 100%
        );
    border: 0;
    border-radius: 2px;
    box-shadow:
        0 0 8px rgba(102, 192, 244, 0.14);
}

.club-catalog-page .club-catalog-card__view-button:hover,
.club-catalog-page .club-catalog-card__view-button:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #67c9ff 0%,
            #2ba9ff 100%
        );
}

.club-catalog-page .club-favorite-button {
    color: #b9c7d2;
    background: rgba(13, 22, 30, 0.66);
    border-color: rgba(121, 158, 184, 0.24);
}

.club-catalog-page .club-favorite-button:hover,
.club-catalog-page .club-favorite-button:focus-visible {
    color: #ffffff;
    background: rgba(42, 72, 94, 0.92);
    border-color: rgba(102, 192, 244, 0.55);
}

/* ============================================================
   EMPTY STATE / PAGINATION
   ============================================================ */

.club-catalog-page .empty-state {
    color: #aebdca;
    background: rgba(19, 31, 42, 0.72);
    border-color: rgba(102, 192, 244, 0.14);
}

.club-catalog-page .pagination a {
    color: #c7d5e0;
    background: #22384a;
    border-color: #35566d;
}

.club-catalog-page .pagination a:hover,
.club-catalog-page .pagination a:focus-visible {
    color: #ffffff;
    background: #31506a;
    border-color: #66c0f4;
}

/* ============================================================
   MOBILE FILTER BUTTON / DRAWER
   ============================================================ */

.site-sidebar-trigger--filters {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #2b78a8,
            #1a9fff
        );
    border-color: rgba(102, 192, 244, 0.40);
}

@media (max-width: 900px) {
    .site-sidebar--filters {
        background: #172533;
    }

    .site-sidebar--filters .site-sidebar__inner {
        background: #172533;
    }
}

/* ============================================================
   FOOTER — COMPLETE THE DARK PREVIEW
   ============================================================ */

.site-footer {
    color: #8f98a0;
    background: #171a21;
    border-top-color: rgba(255, 255, 255, 0.05);
}

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

.site-footer a {
    color: #8f98a0;
}

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

/* ============================================================
   SMALL SCREENS
   ============================================================ */

@media (max-width: 640px) {
    .club-catalog-page .page-title {
        font-size: 30px;
    }

    .club-catalog-page .card-grid--clubs {
        gap: 12px;
    }

    .club-catalog-page .club-catalog-card {
        border-radius: 2px;
    }
}

/* ===== STEAM PREVIEW POLISH V2 ===== */

/* ------------------------------------------------------------
   Header / top nav
   ------------------------------------------------------------ */

.site-header {
    position: relative;
    background:
        linear-gradient(
            180deg,
            #0f1822 0%,
            #121c27 48%,
            #172333 100%
        );
    border-bottom: 1px solid rgba(102, 192, 244, 0.18);
    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);
}

.site-nav__link.is-active {
    color: #66c0f4;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.08),
        0 0 14px rgba(102, 192, 244, 0.08);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
    color: #8fa1b2;
    background:
        linear-gradient(
            180deg,
            #121a24 0%,
            #171a21 100%
        );
    border-top: 1px solid rgba(102, 192, 244, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

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

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

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

/* ------------------------------------------------------------
   Breadcrumbs — make current page visible
   ------------------------------------------------------------ */

.club-catalog-page .breadcrumbs,
.club-catalog-page .breadcrumb,
.club-catalog-page .breadcrumbs li,
.club-catalog-page .breadcrumb-item {
    color: #7f98aa;
}

.club-catalog-page .breadcrumbs a,
.club-catalog-page .breadcrumb a,
.club-catalog-page .breadcrumb-item a {
    color: #8fbedb;
}

.club-catalog-page .breadcrumbs a:hover,
.club-catalog-page .breadcrumb a:hover,
.club-catalog-page .breadcrumb-item a:hover {
    color: #ffffff;
}

/* Current crumb / "Poker Clubs" */
.club-catalog-page .breadcrumbs li:last-child,
.club-catalog-page .breadcrumbs li:last-child a,
.club-catalog-page .breadcrumbs span:last-child,
.club-catalog-page .breadcrumb li:last-child,
.club-catalog-page .breadcrumb li:last-child a,
.club-catalog-page .breadcrumb-item:last-child,
.club-catalog-page .breadcrumb-item.active {
    color: #c7d5e0 !important;
    opacity: 1 !important;
}

/* ------------------------------------------------------------
   Search field in filters — same style as other inputs
   ------------------------------------------------------------ */

.filter-sidebar--clubs input[name="q"],
.filter-sidebar--clubs input[type="search"],
.filter-sidebar--clubs input[type="text"] {
    color: #dfe8ef !important;
    background: #101822 !important;
    border: 1px solid #35566d !important;
    border-radius: 2px !important;
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.filter-sidebar--clubs input[name="q"]:hover,
.filter-sidebar--clubs input[type="search"]:hover,
.filter-sidebar--clubs input[type="text"]:hover {
    border-color: #4d7895 !important;
}

.filter-sidebar--clubs input[name="q"]:focus,
.filter-sidebar--clubs input[type="search"]:focus,
.filter-sidebar--clubs input[type="text"]:focus {
    border-color: #66c0f4 !important;
    box-shadow:
        0 0 0 1px rgba(102, 192, 244, 0.35),
        inset 0 1px 4px rgba(0, 0, 0, 0.30) !important;
}

.filter-sidebar--clubs input[name="q"]::placeholder,
.filter-sidebar--clubs input[type="search"]::placeholder,
.filter-sidebar--clubs input[type="text"]::placeholder {
    color: #7f98aa;
}

/* ------------------------------------------------------------
   Divider line in filters
   Replace white line with field-border color
   ------------------------------------------------------------ */

.filter-sidebar--clubs hr,
.filter-sidebar--clubs .filter-sidebar__divider,
.filter-sidebar--clubs .form-divider,
.filter-sidebar--clubs .section-divider {
    border: 0 !important;
    border-top: 1px solid #35566d !important;
    background: transparent !important;
    box-shadow: none !important;
}

.filter-sidebar--clubs .filter-sidebar__actions,
.filter-sidebar--clubs .filter-sidebar__footer {
    border-top: 1px solid #35566d !important;
    padding-top: 12px;
}

/* ------------------------------------------------------------
   Slightly stronger panel definition for the filter box
   ------------------------------------------------------------ */

.filter-sidebar--clubs {
    background:
        linear-gradient(
            180deg,
            rgba(28, 43, 58, 0.98) 0%,
            rgba(20, 31, 43, 0.98) 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.22);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24);
}

/* ------------------------------------------------------------
   Optional: make title block breathe a little more cleanly
   ------------------------------------------------------------ */

.club-catalog-page .club-catalog-surface__header {
    margin-bottom: 22px;
}

/* ===== END STEAM PREVIEW POLISH V2 ===== */

/* ===== STEAM FOOTER LINK HOVER FIX ===== */

/*
 * Keep the text aligned with the footer columns, but give the
 * interactive hover surface proper horizontal breathing room.
 */
.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;
    overflow: visible;
}

.site-footer__nav,
.site-footer__list,
.site-footer__item {
    overflow: 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.07);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.16);
    text-decoration: none;
}

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

/* ===== END STEAM FOOTER LINK HOVER FIX ===== */

/* ===== STEAM HEADER HOVER + SEARCH HEIGHT ===== */

/* ------------------------------------------------------------
   Header navigation — same interaction language as footer links
   ------------------------------------------------------------ */

.site-nav__link {
    border-radius: 3px;
    text-decoration: none;
    transition:
        color 140ms ease,
        background-color 140ms ease,
        box-shadow 140ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.16);
    text-decoration: none;
}

.site-nav__link:focus-visible {
    outline: 1px solid rgba(102, 192, 244, 0.58);
    outline-offset: 2px;
}

/*
 * Keep the current section visually distinct while retaining
 * the same bordered Steam-style interaction surface.
 */
.site-nav__link.is-active {
    color: #66c0f4;
    background: rgba(255, 255, 255, 0.055);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.16),
        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);
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.28),
        0 0 16px rgba(102, 192, 244, 0.10);
}

/* ------------------------------------------------------------
   Club search — same visual height as the filter selects
   ------------------------------------------------------------ */

.filter-sidebar--clubs input[name="q"] {
    box-sizing: border-box !important;
    width: 100%;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    line-height: 40px !important;
}

/* ===== END STEAM HEADER HOVER + SEARCH HEIGHT ===== */

/* ===== STEAM MOBILE FILTER DRAWER ===== */

@media (max-width: 900px) {

    /*
     * The base drawer is a white surface.
     * Override the whole off-canvas shell, not only the filter card,
     * so no white frame remains around the filters.
     */
    body
    .site-body--sidebar-filters
    > .site-sidebar {
        color: #c7d5e0;
        background:
            linear-gradient(
                180deg,
                #172533 0%,
                #121c27 100%
            );
        border-right: 1px solid #35566d;

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

    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__inner {
        background: transparent;
    }

    /*
     * Drawer toolbar belongs to the same dark surface.
     */
    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__toolbar {
        margin-bottom: 12px;
        padding-bottom: 12px;

        background: transparent;
        border-bottom: 1px solid #35566d;
    }

    /*
     * Steam-style Close button.
     */
    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__close {
        min-height: 40px;
        padding: 8px 14px;

        color: #dfe8ef;
        background: #22384a;

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

        outline: none;

        -webkit-box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.18);
        box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.18);

        transition:
            color 140ms ease,
            background-color 140ms ease,
            border-color 140ms ease,
            box-shadow 140ms ease;
    }

    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__close:hover,
    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__close:focus-visible {
        color: #ffffff;
        background: #31506a;
        border-color: #66c0f4;

        outline: none;

        -webkit-box-shadow:
            inset 0 0 0 1px rgba(102, 192, 244, 0.16),
            0 5px 14px rgba(0, 0, 0, 0.24);
        box-shadow:
            inset 0 0 0 1px rgba(102, 192, 244, 0.16),
            0 5px 14px rgba(0, 0, 0, 0.24);
    }

    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__close:focus-visible {
        outline: 1px solid rgba(102, 192, 244, 0.64);
        outline-offset: 2px;
    }

    /*
     * Keep the actual filter card integrated into the drawer.
     */
    body
    .site-body--sidebar-filters
    > .site-sidebar
    .filter-sidebar--clubs {
        margin: 0;
    }

    /*
     * Darken the page behind the open drawer.
     */
    .site-sidebar-backdrop {
        background: rgba(4, 10, 16, 0.76);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
}

/* ===== END STEAM MOBILE FILTER DRAWER ===== */

/* ===== STEAM MOBILE DRAWER TOP POLISH ===== */

@media (max-width: 900px) {
    body
    .site-body--sidebar-filters
    > .site-sidebar
    .site-sidebar__toolbar {
        padding-top: 10px;
    }
}

/* ===== END STEAM MOBILE DRAWER TOP POLISH ===== */

/* ===== STEAM CLUB NETWORK META ROWS ===== */

/*
 * Keep "Poker Room: PPPoker" and
 * "Poker Union: Pinoy Donks" on one row when space allows.
 */
.club-catalog-page
.club-catalog-card
.entity-meta__item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 6px;
}

/*
 * Older shared styles may make text links block-level.
 * In the catalog metadata they belong inline with the label.
 */
.club-catalog-page
.club-catalog-card
.entity-meta__item
.text-link {
    display: inline;
    width: auto;
    margin: 0;
}

/* ===== END STEAM CLUB NETWORK META ROWS ===== */

/* ===== STEAM SHARED ENTITY CATALOG EXTENSION ===== */

/*
 * Poker Rooms and Poker Unions reuse the approved /clubs
 * catalog presentation.
 */


/* ============================================================
   ROOM / UNION PRIMARY LOGOS
   ============================================================ */

.club-catalog-page
.entity-card__logo--catalog-primary {
    width: 80px;
    height: 80px;

    margin: 0 0 14px;
    padding: 0;

    overflow: hidden;

    background: transparent;
    border: 0;
    border-radius: 14px;
}

.club-catalog-page
.entity-card__logo--catalog-primary
img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: inherit;
}


/* ============================================================
   ROOM CATALOG GEOMETRY
   ============================================================ */

/*
 * Preserve the existing two-column Room grid contract.
 * Cards themselves use club-catalog-card presentation.
 */
.room-catalog-page
.card-grid--rooms {
    margin: 0;
}
/* ============================================================
   UNION CARD TOP ROW — MATCH CLUB CARD
   ============================================================ */

.union-catalog-page
.union-catalog-card
.union-catalog-card__top {
    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    width: 100%;

    gap: 16px;

    margin: 0 0 12px;
}

.union-catalog-page
.union-catalog-card
.union-catalog-card__top
.entity-card__logo--catalog-primary {
    flex: 0 0 80px;

    margin: 0 !important;
}

.union-catalog-page
.union-catalog-card
.union-catalog-card__network-logos {
    flex: 0 0 auto;

    margin: 0 0 0 auto !important;

    align-self: flex-start;
}

/*
 * Union avatar deliberately reuses entity-card__logo--club,
 * so border, shadow, hover and image treatment stay identical
 * to the approved Poker Club card.
 */


/* ============================================================
   UNION DESCRIPTION FLOW
   ============================================================ */

/*
 * Match the breathing room between catalog metadata
 * and the description on the approved Club card.
 */
.union-catalog-page
.union-catalog-card
.union-catalog-card__meta {
    margin-bottom: 16px !important;
}

.union-catalog-page
.union-catalog-card
.club-catalog-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    max-height: calc(1.45em * 3);
    margin-top: 0 !important;
    margin-bottom: 0;
}

.union-catalog-page
.union-catalog-card
.union-catalog-card__logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
}

.entity-image-placeholder {
    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;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #152433;
    color: #7f95a6;
}

.entity-image-placeholder__icon {
    display: block;
    width: 28px;
    height: 28px;
}

.entity-card__logo--club-detail
.entity-image-placeholder__icon {
    width: 36px;
    height: 36px;
}

.club-card__network-logo
.entity-image-placeholder__icon {
    width: 16px;
    height: 16px;
}

/*
 * /unions results sit in a CSS grid. Its gap stacks on top of
 * the shared pagination margin and opens a larger hole than
 * the Club tournament list. The pagination margin is the gap.
 */
.union-catalog-page
.club-catalog-surface__content {
    gap: 0;
}

.union-catalog-page
.union-catalog-card
.union-catalog-card__description {
    min-width: 0;
}

.union-catalog-page
.union-catalog-card
.union-catalog-card__description
.club-card__read-more {
    margin-top: 8px;
    margin-bottom: 0;
}


/* ============================================================
   UNION CATALOG GEOMETRY — MATCH /CLUBS
   ============================================================ */

/*
 * Use the same effective desktop geometry as the /clubs catalog.
 *
 * The content area is divided into two equal columns.
 * Do not force a 335px Union card width — the cards stretch
 * to their grid tracks exactly like Club cards do.
 */
@media (min-width: 1200px) {
    .union-catalog-page
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        justify-content: stretch !important;
        align-items: stretch !important;
    }

    .union-catalog-page
    .union-catalog-card {
        box-sizing: border-box !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        min-height: 0 !important;
    }
}

/*
 * Keep the catalog comfortable before the layout has enough
 * horizontal room for two Club-sized cards.
 */
@media (min-width: 901px) and (max-width: 1199px) {
    .union-catalog-page
    .card-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .union-catalog-page
    .union-catalog-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

/* ============================================================
   DIRECTORY SIDEBAR
   ============================================================ */

@media (min-width: 901px) {
    .site-sidebar--public
    > .site-sidebar__inner {
        padding: 14px;

        color: #c7d5e0;

        background:
            linear-gradient(
                180deg,
                #192b3a 0%,
                #142433 100%
            );

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

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

.site-sidebar--public
.account-nav__title {
    color: #8f98a0;
}

.site-sidebar--public
.account-nav__link {
    color: #c7d5e0;

    background: #142433;

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

    -webkit-box-shadow: none;
    box-shadow: none;

    transition:
        color 140ms ease,
        background-color 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease;
}

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

    background: #22384a;

    border-color: #66c0f4;

    text-decoration: none;

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

.site-sidebar--public
.account-nav__link.is-active,
.site-sidebar--public
.account-nav__link.is-section-active {
    color: #ffffff;

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

    border-color: #66c0f4;

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


/* ============================================================
   MOBILE DIRECTORY DRAWER
   ============================================================ */

@media (max-width: 900px) {
    body
    .site-body--sidebar-account
    > .site-sidebar {
        color: #c7d5e0;

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

        border-right: 1px solid #35566d;

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

/* ===== END STEAM SHARED ENTITY CATALOG EXTENSION ===== */

/* ===== STEAM NEWS CATALOG ===== */

/*
 * News cards use the approved Club card shell.
 * The wide editorial image is the intentional content-specific
 * difference.
 */

.news-catalog-page
.news-card-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(
                min(100%, 335px),
                335px
            )
        );

    gap: 20px;

    align-items: stretch;

    margin: 0;
}


.news-catalog-page
.news-catalog-card {
    width: 100%;
    max-width: 335px;

    min-height: 100%;

    overflow: hidden;
}


.news-catalog-page
.news-card__media {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0e1924;

    border-bottom: 1px solid #35566d;
}


.news-catalog-page
.news-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}


.news-catalog-page
.news-catalog-card:hover
.news-card__media img {
    transform: scale(1.025);
}


.news-catalog-page
.news-card__body {
    flex: 1;

    padding-top: 16px;
}


.news-catalog-page
.news-card__date {
    display: block;

    margin: 0 0 8px;

    color: #8f98a0;

    font-size: 0.8125rem;
    line-height: 1.35;
}


.news-catalog-page
.news-card__title {
    margin:
        0
        0
        10px;
}


.news-catalog-page
.news-card__title a {
    color: #ffffff;

    text-decoration: none;
}


.news-catalog-page
.news-card__title a:hover,
.news-catalog-page
.news-card__title a:focus-visible {
    color: #66c0f4;

    text-decoration: none;
}


.news-catalog-page
.news-card__excerpt {
    margin: 0;

    color: #aebdca;

    line-height: 1.55;
}


/*
 * No-image articles keep the same card height language without
 * creating an empty media placeholder.
 */
.news-catalog-page
.news-card--no-image
.news-card__body {
    padding-top: 18px;
}


/* News search uses the exact /clubs input geometry. */
.filter-sidebar--news
input[name="q"] {
    box-sizing: border-box !important;

    width: 100%;

    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;

    line-height: 40px !important;
}


/*
 * Keep the News filter form visually identical to /clubs.
 */
.filter-sidebar--news
select {
    width: 100%;
}


/* ===== END STEAM NEWS CATALOG ===== */

/* ===== STEAM CLUB DETAIL CATALOG REBUILD ===== */

/*
 * Club detail is intentionally built from the same visual
 * language as the approved /clubs catalog.
 */


/* ============================================================
   PAGE / HERO SURFACE
   ============================================================ */

.club-detail-page.club-catalog-page
> article.card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page.club-catalog-page
> article.card
> .card__body {
    background: transparent !important;
}


/*
 * Keep H1 visually in the same family as /clubs.
 * Stage 10 hero geometry remains responsible for layout.
 */
.club-detail-page.club-catalog-page
.club-detail-hero__title
.page-title {
    color: #ffffff;
}


/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.club-detail-page
.club-detail-content__section,
.club-detail-page
#club-reviews,
.club-detail-page
#club-reviews
> .club-reviews {
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* ============================================================
   H2 — SIMPLE CATALOG HEADING
   No blue vertical stripe / no blue panel.
   ============================================================ */

.club-detail-page
.club-detail-content__section
> .entity-section__title,
.club-detail-page
.club-reviews__header
> .entity-section__title,
.club-detail-page
.club-news-section__heading {
    box-sizing: border-box;

    margin: 0 0 14px !important;
    padding: 0 0 10px !important;

    color: #ffffff !important;
    background: transparent !important;

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

    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.club-news-section__heading
> .entity-section__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* Remove any inherited vertical accent. */
.club-detail-page
.club-detail-content__section
> .entity-section__title,
.club-detail-page
.club-reviews__header
> .entity-section__title,
.club-detail-page
.club-news-section__heading {
    border-left: 0 !important;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.club-detail-page
.club-detail-description,
.club-detail-page
.club-detail-description
.prose-plain,
.club-detail-page
.club-detail-description
.rich-content,
.club-detail-page
.club-detail-description p,
.club-detail-page
.club-detail-description li {
    color: #c7d5e0 !important;
}


/* ============================================================
   TOURNAMENT GRID
   ============================================================ */

.club-detail-page
.club-news-list {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px !important;

    margin: 0 !important;

    align-items: stretch;
}


/*
 * Tournament cards now also carry .club-catalog-card,
 * so their base/hover gradient comes directly from /clubs.
 */
.club-detail-page
.club-news-card.club-catalog-card {
    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    min-width: 0;
    height: 100%;

    padding: 16px;
}


.club-detail-page
.club-news-card__header {
    margin: 0 0 10px;
}


.club-detail-page
.club-news-card__title {
    margin: 0 0 6px;

    font-size: 1.05rem;
    line-height: 1.25;
}


.club-detail-page
.club-news-card__meta {
    color: #8f98a0 !important;
}


/* ============================================================
   TOURNAMENT IMAGE — FIXED 16:9 CARD MEDIA
   ============================================================ */

.club-detail-page
.club-news-card__image {
    -webkit-appearance: none;
    appearance: none;

    box-sizing: border-box;

    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    margin: 0 0 12px;
    padding: 0;

    overflow: hidden;

    background: #0b1117;

    border: 0 !important;
    border-radius: 2px !important;

    cursor: pointer;
}


.club-detail-page
.club-news-card__image
img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ============================================================
   TOURNAMENT TEXT PREVIEW
   Avoid one post becoming a giant vertical card.
   ============================================================ */

.club-detail-page
.club-news-card__body,
.club-detail-page
.club-news-card__body.rich-content {
    position: relative;

    max-height: 9rem;

    margin: 0;

    overflow: hidden;

    color: #a8b6c2 !important;
}


.club-detail-page
.club-news-card__body p,
.club-detail-page
.club-news-card__body li,
.club-detail-page
.club-news-card__body span {
    color: #a8b6c2 !important;
}


.club-detail-page
.club-news-card__body strong,
.club-detail-page
.club-news-card__body b {
    color: #dce7ee !important;
}


.club-detail-page
.club-news-card__footer {
    margin-top: auto;
    padding-top: 14px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07) !important;
}


/* ============================================================
   TOURNAMENT PRIMARY ACTION
   Uses same blue action as /clubs.
   ============================================================ */

.club-detail-page
.club-tournament-details-link {
    min-height: 40px;

    padding: 0 14px !important;

    color: #ffffff !important;

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

    border: 0 !important;
    border-radius: 2px !important;

    text-decoration: none !important;

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


.club-detail-page
.club-tournament-details-link:hover,
.club-detail-page
.club-tournament-details-link:focus-visible {
    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #66c0f4 0%,
            #2aa8ee 100%
        ) !important;

    outline: none;

    -webkit-box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.25) !important;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.25) !important;
}


/* ============================================================
   LIKE / COMMENTS / SHARE
   ============================================================ */

.club-detail-page
.club-news-card__actions
.player-news-reactions__btn,
.club-detail-page
.club-news-comments-action,
.club-detail-page
.club-news-card__actions
.club-share-button {
    color: #a8b6c2 !important;
    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    outline: none !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.club-news-card__actions
.player-news-reactions__btn:not(.is-static):hover,
.club-detail-page
.club-news-card__actions
.player-news-reactions__btn:not(.is-static):focus-visible,
.club-detail-page
.club-news-comments-action:hover,
.club-detail-page
.club-news-comments-action:focus-visible,
.club-detail-page
.club-news-card__actions
.club-share-button:hover,
.club-detail-page
.club-news-card__actions
.club-share-button:focus-visible {
    color: #ffffff !important;
    background: #31506a !important;

    border-color: #66c0f4 !important;
}


/* ============================================================
   VIEW ALL TOURNAMENTS / REVIEWS
   ============================================================ */

.club-detail-page
.club-news-section__footer,
.club-detail-page
.club-reviews__view-all {
    margin: 14px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    text-align: left !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.club-news-section__footer
.btn,
.club-detail-page
.club-reviews__view-all
.text-link {
    box-sizing: border-box;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    color: #ffffff !important;

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

    border: 0 !important;
    border-radius: 2px !important;

    text-decoration: none !important;

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


/* ============================================================
   REVIEWS — SAME CARD LANGUAGE AS /CLUBS
   ============================================================ */

.club-detail-page
[data-club-reviews-mode="preview"]
.club-reviews__action.card,
.club-detail-page
[data-club-reviews-mode="preview"]
.club-review-card {
    position: relative;

    overflow: hidden;

    color: #c7d5e0;

    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        ) !important;

    border:
        1px solid rgba(103, 143, 171, 0.14) !important;

    border-radius: 3px !important;

    -webkit-box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20) !important;
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20) !important;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}


.club-detail-page
[data-club-reviews-mode="preview"]
.club-review-card:hover {
    background:
        linear-gradient(
            135deg,
            #29475e 0%,
            #20384b 58%,
            #1b3041 100%
        ) !important;

    border-color:
        rgba(102, 192, 244, 0.40) !important;

    -webkit-box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.30) !important;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.30) !important;

    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}


.club-detail-page
.club-reviews__preview-title {
    margin: 18px 0 10px;

    color: #dce7ee !important;

    font-size: 1rem;
}


/* Shared rating-summary card lives in site.css; page spacing only here. */
.club-detail-page
[data-club-reviews-mode="preview"]
.club-reviews__header
.club-review-rating-summary {
    margin-top: 0;
    margin-bottom: 14px;
}


.club-detail-page
[data-club-reviews-mode="preview"]
.club-reviews__guest-lead {
    margin: 0;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 600;
}


.club-detail-page
[data-club-reviews-mode="preview"]
.club-reviews__guest-copy {
    color: #c7d5e0;
}


.club-detail-page
[data-club-reviews-mode="preview"]
.club-reviews__preview
.empty-state__text {
    color: #8f98a0;
}


.club-detail-page
.club-review-card,
.club-detail-page
.club-review-card p,
.club-detail-page
.club-review-card li {
    color: #c7d5e0;
}


.club-detail-page
.club-review-card__author,
.club-detail-page
.club-review-card__facet-label {
    color: #ffffff !important;
}


.club-detail-page
.club-review-card__date,
.club-detail-page
.club-review-card__edited {
    color: #8f98a0 !important;
}


/* Review CTA */
.club-detail-page
.club-reviews__action
.btn,
.club-detail-page
.club-reviews__guest-cta,
.club-detail-page
.club-reviews__join-cta {
    color: #ffffff !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.14) !important;
    box-shadow:
        0 0 8px rgba(102, 192, 244, 0.14) !important;
}


/* Helpful controls */
.club-detail-page
[data-club-reviews]
.club-review-helpful__vote {
    color: #a8b6c2 !important;
    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
[data-club-reviews]
.club-review-helpful__vote:not(:disabled):hover,
.club-detail-page
[data-club-reviews]
.club-review-helpful__vote:not(:disabled):focus-visible,
.club-detail-page
[data-club-reviews]
.club-review-helpful__vote.is-selected,
.club-detail-page
[data-club-reviews]
.club-review-helpful__vote[aria-pressed="true"] {
    color: #ffffff !important;
    background: #31506a !important;

    border-color: #66c0f4 !important;
}


/* Representative discussion */
.club-detail-page
[data-club-reviews]
.club-review-discussion {
    color: #c7d5e0 !important;
    background: #142433 !important;

    border:
        1px solid rgba(103, 143, 171, 0.28) !important;

    border-radius: 2px !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
[data-club-reviews]
.club-review-reply,
.club-detail-page
[data-club-reviews]
.club-review-reply p {
    color: #c7d5e0 !important;
}


.club-detail-page
[data-club-reviews]
.club-review-reply--representative {
    border-left: 3px solid #66c0f4 !important;
}


.club-detail-page
[data-club-reviews]
.club-review-reply__badge {
    color: #ffffff !important;
}


.club-detail-page
[data-club-reviews]
.club-review-reply__date,
.club-detail-page
.club-review-helpful__prompt {
    color: #8f98a0 !important;
}


/* ============================================================
   FAQ — SAME OBJECT CARD FAMILY
   ============================================================ */

.club-detail-page
.club-faq__list {
    display: grid;
    gap: 10px;
}


.club-detail-page
.club-faq__item {
    color: #c7d5e0;

    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        ) !important;

    border:
        1px solid rgba(103, 143, 171, 0.14) !important;

    border-radius: 3px !important;

    -webkit-box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20) !important;
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20) !important;
}


.club-detail-page
details.club-faq__item
> summary.club-faq__summary,
.club-detail-page
.club-faq__summary {
    margin: 0 !important;
    padding: 14px !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
}


.club-detail-page
.club-faq__question {
    color: #ffffff !important;
}


.club-detail-page
.club-faq__summary:hover {
    background:
        rgba(102, 192, 244, 0.06) !important;
}


.club-detail-page
.club-faq__item[open]
> .club-faq__summary {
    margin-bottom: 0 !important;

    background:
        rgba(102, 192, 244, 0.08) !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07) !important;
}


.club-detail-page
.club-faq__answer {
    margin: 0 !important;
    padding: 14px !important;

    color: #c7d5e0 !important;
    background: #142433 !important;

    border: 0 !important;
    border-radius: 0 !important;
}


.club-detail-page
.club-faq__answer p,
.club-detail-page
.club-faq__answer li {
    color: #c7d5e0 !important;
}


.club-detail-page
.club-faq__summary::after {
    color: #66c0f4 !important;
    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;
}


/* ============================================================
   CLUB SIDEBAR — COMPACT CARD, NOT A TALL RAIL
   ============================================================ */

@media (min-width: 901px) {

    .site-sidebar--public.site-sidebar--club,
    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card {
        box-sizing: border-box;

        padding: 14px !important;

        color: #c7d5e0;

        background:
            linear-gradient(
                180deg,
                #192b3a 0%,
                #172735 100%
            ) !important;

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

        -webkit-box-shadow:
            0 5px 14px rgba(0, 0, 0, 0.20) !important;
        box-shadow:
            0 5px 14px rgba(0, 0, 0, 0.20) !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav,
    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details,
    .site-sidebar--public.site-sidebar--club
    .club-public-details {
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav {
        margin: 0 !important;
        padding: 0 0 12px !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details {
        margin: 0 !important;
        padding: 12px 0 0 !important;

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


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details::before {
        display: none !important;
        content: none !important;
    }


    .site-sidebar--public.site-sidebar--club
    .account-nav__link {
        color: #d8e4ec;

        background: #142433;

        border: 1px solid #35566d;
        border-radius: 2px;
    }


    .site-sidebar--public.site-sidebar--club
    .account-nav__link:hover,
    .site-sidebar--public.site-sidebar--club
    .account-nav__link:focus-visible {
        color: #ffffff;

        background: #31506a;

        border-color: #66c0f4;
    }


    .site-sidebar--public.site-sidebar--club
    .club-public-details__label,
    .site-sidebar--public.site-sidebar--club
    .club-public-details__group-label,
    .site-sidebar--public.site-sidebar--club
    .club-public-details__key,
    .site-sidebar--public.site-sidebar--club
    .club-public-details__game {
        color: #dce7ee !important;
    }


    .site-sidebar--public.site-sidebar--club
    .club-public-details__value {
        color: #8fa1b2 !important;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .club-detail-page
    .club-news-list {
        grid-template-columns: 1fr;
        gap: 12px !important;
    }


    .club-detail-page
    .club-news-card.club-catalog-card {
        padding: 14px;
    }


    .club-detail-page
    .club-news-card:hover,
    .club-detail-page
    .club-review-card:hover {
        -webkit-transform: none;
        transform: none;
    }
}

/* ===== STEAM CLUB DETAIL CATALOG POLISH V2 ===== */

/*
 * Final cleanup after moving Club detail to the /clubs
 * visual language:
 *
 * - remove the legacy white unified content surface;
 * - remove the legacy blue H2 pseudo accent;
 * - reset old full-width H2 band geometry;
 * - make Club Details tables dark.
 */


/* ============================================================
   MAIN DETAIL CONTENT — REMOVE LEGACY WHITE SURFACE
   ============================================================ */

.club-detail-page
.club-detail-content {
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    overflow: visible !important;
}


.club-detail-page
.club-detail-content
> .club-detail-content__section {
    background: transparent !important;

    border-top-color:
        rgba(103, 143, 171, 0.20) !important;
}


.club-detail-page
.club-detail-content
> .club-detail-content__section:first-child {
    border-top: 0 !important;
}


/* ============================================================
   H2 — REMOVE OLD BAND GEOMETRY + BLUE PSEUDO STRIPE
   ============================================================ */

.club-detail-page
.club-detail-content
.entity-section__title {
    box-sizing: border-box !important;

    width: 100% !important;

    margin:
        0
        0
        14px
        0 !important;

    padding:
        0
        0
        10px
        0 !important;

    color: #ffffff !important;
    background: transparent !important;

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

    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/*
 * The original Club detail creates the blue vertical line
 * with ::before, not with border-left.
 */
.club-detail-page
.club-detail-content
.entity-section__title::before {
    content: none !important;
    display: none !important;
}


/*
 * Tournaments has an extra heading wrapper.
 * Only the H2 owns the separator.
 */
.club-detail-page
.club-detail-content
.club-news-section__heading {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* ============================================================
   REVIEWS HEADING / PREVIEW
   ============================================================ */

.club-detail-page
.club-reviews__header {
    background: transparent !important;
}


.club-detail-page
.club-reviews__preview-title {
    color: #dce7ee !important;
}


/* ============================================================
   CLUB DETAILS SIDEBAR TABLES
   ============================================================ */

.site-sidebar--public.site-sidebar--club
.club-public-details__list {
    background: #142433 !important;

    border-color: #35566d !important;
    border-radius: 2px !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game,
.site-sidebar--public.site-sidebar--club
.club-public-details__value,
.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link {
    background: transparent !important;

    border-color:
        rgba(103, 143, 171, 0.30) !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game {
    color: #dce7ee !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__value {
    color: #8fa1b2 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link {
    color: #66c0f4 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link:hover,
.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link:focus-visible {
    color: #ffffff !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
+ .club-public-details__item
> * {
    border-top-color:
        rgba(103, 143, 171, 0.30) !important;
}


/* ============================================================
   FAQ OUTER SECTION
   ============================================================ */

.club-detail-page
.club-faq {
    background: transparent !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

    /*
     * Override the old mobile full-width H2 band geometry too.
     */
    .club-detail-page
    .club-detail-content
    .entity-section__title {
        width: 100% !important;

        margin:
            0
            0
            12px
            0 !important;

        padding:
            0
            0
            9px
            0 !important;
    }
}

/* ===== END STEAM CLUB DETAIL CATALOG POLISH V2 ===== */

/* ===== STEAM CLUB DETAIL ALIGNMENT V3 ===== */

/*
 * Final geometry / legacy-control cleanup for Club detail.
 *
 * Match the approved /clubs catalog language:
 * - full 248px public sidebar surface;
 * - breadcrumbs / H1 / hero aligned on one left edge;
 * - no leftover detail-page surface;
 * - complete tournament images;
 * - Steam dark/blue interaction controls;
 * - no legacy green hover / selected states.
 */


/* ============================================================
   PAGE SURFACE / LEFT ALIGNMENT
   ============================================================ */

.club-detail-page.club-catalog-page {
    background: transparent !important;
}

.club-detail-page.club-catalog-page
> article.card,
.club-detail-page.club-catalog-page
> article.card
> .card__body {
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/*
 * The old generic .card__body padding moves the H1 and avatar
 * to the right of the breadcrumbs.
 */
.club-detail-page.club-catalog-page
> article.card
> .card__body {
    padding: 0 !important;
}


/* ============================================================
   CLUB PUBLIC SIDEBAR
   ============================================================ */

/*
 * Stage 9G adds padding to public sidebar__inner.
 * /clubs filter sidebar uses the complete 248px column.
 * Remove that extra wrapper only for the Club sidebar.
 */
.site-sidebar--public.site-sidebar--club
> .site-sidebar__inner {
    box-sizing: border-box;

    width: 100% !important;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* ============================================================
   HERO
   ============================================================ */

.club-detail-page.club-catalog-page
.club-detail-hero {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.club-detail-page.club-catalog-page
.club-detail-hero__identity,
.club-detail-page.club-catalog-page
.club-detail-hero__title,
.club-detail-page.club-catalog-page
.club-detail-hero__media {
    margin-left: 0 !important;
}

.club-detail-page.club-catalog-page
.club-detail-hero__title
.page-title {
    margin-left: 0 !important;
}


/* ============================================================
   TOURNAMENT IMAGES
   ============================================================ */

/*
 * Do not crop tournament uploads.
 * Keep the media frame, but fit the whole source inside it.
 */
.club-detail-page
.club-detail-content
.club-news-card__image {
    display: flex !important;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #0b1117 !important;
}

.club-detail-page
.club-detail-content
.club-news-card__image
img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #0b1117;
}


/*
 * Union tournament without an uploaded image.
 *
 * Keep exactly the same media footprint as a normal tournament
 * image so body text starts at the same vertical position.
 * The empty slot is only slightly darker than the card itself.
 */
.union-detail-tournaments
.club-news-card__image--placeholder,

.club-detail-page.club-catalog-page
#club-news
.club-news-card__image--placeholder {
    background: #152b3b !important;
}


/* ============================================================
   TOURNAMENT LIKE / COMMENTS / SHARE
   Stronger than legacy Stage 9 rules.
   ============================================================ */

.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-news-comments-action,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-share-button {
    color: #a8b6c2 !important;

    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    outline: none !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}


/* Interactive Steam hover */
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn:not(.is-static):hover,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn:not(.is-static):focus-visible,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-news-comments-action:hover,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-news-comments-action:focus-visible,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-share-button:hover,
.club-detail-page
.club-detail-content
.club-news-card__actions
.club-share-button:focus-visible {
    color: #ffffff !important;

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

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.22) !important;
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.22) !important;

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


/* Active Like — blue Steam state, never legacy green. */
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-active,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-active:hover,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-active:focus,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-active:focus-visible {
    color: #ffffff !important;

    background: #244762 !important;

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.20) !important;
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.20) !important;
}


/* Static count remains dark and does not light up on hover. */
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-static,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-static:hover,
.club-detail-page
.club-detail-content
.club-news-card__actions
.player-news-reactions__btn.is-static:focus {
    color: #8fa1b2 !important;

    background: #142433 !important;

    border-color: #35566d !important;

    outline: none !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}


/* ============================================================
   REVIEW HELPFUL YES / NO
   Explicitly beat legacy Stage 9T green states.
   ============================================================ */

.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote {
    color: #a8b6c2 !important;

    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    outline: none !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}


.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote:not(.is-disabled):not(:disabled):hover,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote:not(.is-disabled):not(:disabled):focus-visible {
    color: #ffffff !important;

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

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.22) !important;
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.22) !important;

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


/* Selected Yes / No — Steam blue instead of old green. */
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote.is-selected,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote[aria-pressed="true"],
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote.is-selected:hover,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote[aria-pressed="true"]:hover,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote.is-selected:focus,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote[aria-pressed="true"]:focus,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote.is-selected:focus-visible,
.club-detail-page
.club-detail-content
[data-club-reviews-mode="preview"]
.club-review-helpful__vote[aria-pressed="true"]:focus-visible {
    color: #ffffff !important;

    background: #244762 !important;

    border-color: #66c0f4 !important;

    outline: none !important;

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

    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {
    .club-detail-page.club-catalog-page
    > article.card
    > .card__body {
        padding: 0 !important;
    }
}

/* ===== END STEAM CLUB DETAIL ALIGNMENT V3 ===== */

/* ===== STEAM CLUB DETAIL POLISH V4 ===== */

/*
 * Club detail V4:
 * - stable catalog background independent of page height;
 * - sidebar uses the same dark input/card language as /clubs;
 * - remove detail-only horizontal content inset;
 * - remove legacy white tournament sibling borders;
 * - add Steam hover to section navigation;
 * - style the global Share modal.
 */


/* ============================================================
   STABLE CATALOG BACKGROUND
   ============================================================ */

/*
 * Previously the gradient stretched over the complete document.
 * A long Club detail page therefore stayed blue much longer than
 * the short /clubs page.
 *
 * Keep the approved gradient, but give it a fixed 900px visual
 * depth. Below that point the normal Steam dark base continues.
 */
.site-main {
    background-color: #121a24;

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

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

.site-main::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;

    height: 900px;
}


/* ============================================================
   CLUB DETAIL CONTENT ALIGNMENT
   ============================================================ */

/*
 * The old unified Club surface keeps horizontal padding on every
 * section even though the white surface itself is now removed.
 * Remove only left/right padding so Description, Tournaments,
 * Reviews and FAQ align with the Hero.
 */
.club-detail-page
.club-detail-content
> .club-detail-content__section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ============================================================
   CLUB SIDEBAR — ONE /CLUBS-STYLE PANEL
   ============================================================ */

@media (min-width: 901px) {

    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        box-sizing: border-box;

        width: 100% !important;

        padding: 14px !important;

        color: #c7d5e0 !important;

        background:
            linear-gradient(
                180deg,
                #192b3a 0%,
                #142433 100%
            ) !important;

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

        -webkit-box-shadow:
            0 5px 14px rgba(0, 0, 0, 0.16) !important;
        box-shadow:
            0 5px 14px rgba(0, 0, 0, 0.16) !important;
    }
}


/*
 * Navigation and Club Details are parts of ONE sidebar card now,
 * rather than two separately coloured blocks.
 */
.site-sidebar--public.site-sidebar--club
.public-sidebar-nav {
    margin: 0 !important;

    padding:
        0
        0
        12px
        0 !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #35566d !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-club__details {
    margin: 0 !important;

    padding:
        12px
        0
        0
        0 !important;

    color: #c7d5e0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* Remove the extra legacy separator pseudo-element / spacing. */
.site-sidebar--public.site-sidebar--club
.public-sidebar-club__details::before {
    content: none !important;
    display: none !important;
}


/* Menu controls use the same dark field family as /clubs filters. */
.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link {
    margin-bottom: 8px !important;

    padding: 10px 11px !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.24);
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 0.24);
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__item:last-child
.account-nav__link {
    margin-bottom: 0 !important;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link:hover,
.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link:focus-visible {
    color: #ffffff !important;

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

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.14) !important;
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.14) !important;
}


/* ============================================================
   CLUB DETAILS TABLE
   ============================================================ */

.site-sidebar--public.site-sidebar--club
.club-public-details {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__label,
.site-sidebar--public.site-sidebar--club
.club-public-details__group-label {
    color: #dfe8ef !important;

    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__label {
    margin:
        0
        0
        8px
        0 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__group + .club-public-details__group {
    margin-top: 12px !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__list {
    background: #101822 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    overflow: hidden;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item {
    background: transparent !important;

    border-color:
        rgba(103, 143, 171, 0.30) !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item,
.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game,
.site-sidebar--public.site-sidebar--club
.club-public-details__value,
.site-sidebar--public.site-sidebar--club
.club-public-details
.text-link {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game {
    color: #dfe8ef !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__value {
    color: #a8b6c2 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details
.text-link {
    color: #66c0f4 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details
.text-link:hover,
.site-sidebar--public.site-sidebar--club
.club-public-details
.text-link:focus-visible {
    color: #ffffff !important;
}


/* ============================================================
   TOURNAMENT CARD BORDER CLEANUP
   ============================================================ */

/*
 * Legacy list CSS adds a separate top border to every card after
 * the first. In a two-column grid this becomes the white stripe.
 */
.club-detail-page
.club-detail-content
.club-news-list
> .club-news-card
+ .club-news-card {
    border-top:
        1px solid rgba(103, 143, 171, 0.18) !important;
}


/* Keep every card border in one identical Steam colour. */
.club-detail-page
.club-detail-content
.club-news-card {
    border-color:
        rgba(103, 143, 171, 0.18) !important;
}


.club-detail-page
.club-detail-content
.club-news-card:hover {
    border-color:
        rgba(102, 192, 244, 0.42) !important;
}


/* ============================================================
   VIEW ALL TOURNAMENTS / VIEW ALL REVIEWS HOVER
   ============================================================ */

.club-detail-page
.club-detail-content
.club-news-section__footer
.btn,
.club-detail-page
.club-detail-content
.club-reviews__view-all
.text-link {
    transition:
        background 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease !important;
}


.club-detail-page
.club-detail-content
.club-news-section__footer
.btn:hover,
.club-detail-page
.club-detail-content
.club-news-section__footer
.btn:focus-visible,
.club-detail-page
.club-detail-content
.club-reviews__view-all
.text-link:hover,
.club-detail-page
.club-detail-content
.club-reviews__view-all
.text-link:focus-visible {
    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #66c0f4 0%,
            #2a8fd4 100%
        ) !important;

    outline: none !important;

    -webkit-box-shadow:
        0 0 16px rgba(102, 192, 244, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.24) !important;
    box-shadow:
        0 0 16px rgba(102, 192, 244, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.24) !important;

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


.club-detail-page
.club-detail-content
.club-news-section__footer
.btn:active,
.club-detail-page
.club-detail-content
.club-reviews__view-all
.text-link:active {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}


/* ============================================================
   SHARE MODAL — STEAM
   ============================================================ */

/*
 * Share modal lives in the shared layout, outside .club-detail-page.
 * Therefore the previous detail selectors could never style it.
 */
.club-share-modal
.site-modal__backdrop {
    background: rgba(4, 10, 16, 0.82) !important;

    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}


.club-share-modal
.site-modal__dialog,
.club-share-modal
.site-modal__content {
    color: #c7d5e0 !important;

    background:
        linear-gradient(
            180deg,
            #192b3a 0%,
            #142433 100%
        ) !important;

    border-color: #35566d !important;
    border-radius: 3px !important;
}


.club-share-modal
.site-modal__dialog {
    border:
        1px solid #35566d !important;

    -webkit-box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.50) !important;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.50) !important;
}


.club-share-modal
.site-modal__header {
    border-bottom-color:
        rgba(103, 143, 171, 0.28) !important;
}


.club-share-modal
.site-modal__title {
    color: #ffffff !important;
}


.club-share-modal
.club-share-modal__club-name {
    color: #8fbedb !important;
}


.club-share-modal
.site-modal__close {
    color: #a8b6c2 !important;

    background: #101822 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;
}


.club-share-modal
.site-modal__close:hover,
.club-share-modal
.site-modal__close:focus-visible {
    color: #ffffff !important;

    background: #31506a !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


.club-share-modal
.club-share-modal__action {
    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.24) !important;
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 0.24) !important;

    transition:
        color 140ms ease,
        background 140ms ease,
        border-color 140ms ease,
        transform 140ms ease,
        box-shadow 140ms ease !important;
}


.club-share-modal
.club-share-modal__action:hover,
.club-share-modal
.club-share-modal__action:focus-visible {
    color: #ffffff !important;

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

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.14),
        0 4px 10px rgba(0, 0, 0, 0.24) !important;
    box-shadow:
        inset 0 0 0 1px rgba(102, 192, 244, 0.14),
        0 4px 10px rgba(0, 0, 0, 0.24) !important;

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

/* ===== END STEAM CLUB DETAIL POLISH V4 ===== */

/* ===== END STEAM CLUB DETAIL CATALOG REBUILD ===== */

/* ===== STEAM CLUB DETAIL CLEANUP V5 ===== */

/*
 * The sidebar content itself is already styled correctly.
 *
 * Do not paint the entire sticky sidebar column down the page.
 * Only the actual Navigation / Club Details / Time cards should
 * own a visible surface.
 */
@media (min-width: 901px) {
    .site-sidebar--public.site-sidebar--club {
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

/* ===== END STEAM CLUB DETAIL CLEANUP V5 ===== */

/* ===== STEAM CLUB DETAIL UI POLISH V6 ===== */

/*
 * Club detail final UI alignment:
 *
 * - sidebar uses the full /clubs sidebar track;
 * - sidebar starts on the same vertical line as /clubs;
 * - characteristics are readable rows, not a cramped table;
 * - H2 uses the same light typography language as H1;
 * - every membership CTA uses the Steam control language;
 * - operational status is no longer the legacy white pill;
 * - guest Join modal uses the Steam dark presentation.
 */


/* ============================================================
   CLUB SIDEBAR — SAME TRACK AS /CLUBS
   ============================================================ */

@media (min-width: 901px) {
    .site-body--sidebar-public
    > .site-sidebar--club {
        box-sizing: border-box !important;

        width: var(--site-sidebar-width) !important;
        min-width: var(--site-sidebar-width) !important;
        max-width: var(--site-sidebar-width) !important;

        margin: 0 !important;
        padding: 0 !important;

        justify-self: stretch !important;
    }

    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        /*
         * Club sidebar was visually about 12px lower than
         * the /clubs filter surface.
         */
        margin:
            -12px
            0
            0 !important;

        padding: 0 !important;
    }
}


/* ============================================================
   CLUB SIDEBAR — /CLUBS STEAM PALETTE
   ============================================================ */

.site-sidebar--public.site-sidebar--club
.public-sidebar-nav,
.site-sidebar--public.site-sidebar--club
.public-sidebar-club__details {
    color: #c7d5e0 !important;

    background:
        linear-gradient(
            180deg,
            #172533 0%,
            #121c27 100%
        ) !important;

    border-color: #35566d !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-nav {
    padding:
        14px
        14px
        11px !important;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-club__details {
    padding:
        0
        14px
        14px !important;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link {
    min-height: 42px;

    padding:
        9px
        11px !important;

    color: #dce7ee !important;
    background: #101822 !important;

    border-color: #35566d !important;
    border-radius: 2px !important;

    font-size: 0.875rem;
    font-weight: 650;
}


.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link:hover,
.site-sidebar--public.site-sidebar--club
.public-sidebar-nav
.account-nav__link:focus-visible {
    color: #ffffff !important;

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

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px
        rgba(102, 192, 244, 0.12) !important;

    box-shadow:
        inset 0 0 0 1px
        rgba(102, 192, 244, 0.12) !important;
}


/* ============================================================
   CLUB CHARACTERISTICS
   Remove the old cramped "table" geometry.
   ============================================================ */

.site-sidebar--public.site-sidebar--club
.club-public-details__label,
.site-sidebar--public.site-sidebar--club
.club-public-details__group-label {
    margin:
        0
        0
        8px !important;

    color: #dce7ee !important;

    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__group
+ .club-public-details__group {
    margin-top: 14px !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__list {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item {
    display: grid !important;

    grid-template-columns:
        76px
        minmax(0, 1fr) !important;

    column-gap: 9px !important;
    align-items: start !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding:
        7px
        0 !important;

    background: transparent !important;

    border: 0 !important;
    border-top:
        1px solid
        rgba(103, 143, 171, 0.24) !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item:first-child {
    border-top: 0 !important;
}


/*
 * Game abbreviations need less label space,
 * leaving more room for Micro / Medium / High.
 */
.site-sidebar--public.site-sidebar--club
.club-public-details__group--games
.club-public-details__item {
    grid-template-columns:
        50px
        minmax(0, 1fr) !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
> * {
    border-top: 0 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game,
.site-sidebar--public.site-sidebar--club
.club-public-details__value,
.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link {
    grid-column: auto !important;

    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: normal !important;

    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    border: 0 !important;

    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__game {
    color: #dce7ee !important;

    font-weight: 650 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__value {
    color: #a9bac7 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link {
    display: block !important;

    width: auto !important;

    color: #66c0f4 !important;
}


.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link:hover,
.site-sidebar--public.site-sidebar--club
.club-public-details__item
> .text-link:focus-visible {
    color: #ffffff !important;
}


/*
 * Explicitly undo the previous desktop nowrap contract.
 * Long timezone / stake values may now wrap instead of clipping.
 */
.site-sidebar--public.site-sidebar--club
.club-public-details__item--timezone
.club-public-details__key,
.site-sidebar--public.site-sidebar--club
.club-public-details__value--timezone {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}


/* Time card follows the same visual language. */


/* ============================================================
   H2 — SAME TYPOGRAPHIC LANGUAGE AS H1
   ============================================================ */

.club-detail-page
.club-detail-content
.entity-section__title,
.club-detail-page
.club-reviews
.entity-section__title {
    box-sizing: border-box !important;

    width: auto !important;

    margin:
        0
        0
        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: inherit !important;

    font-size: 2rem !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;

    letter-spacing: -0.025em !important;
}


.club-detail-page
.club-detail-content
.entity-section__title::before,
.club-detail-page
.club-detail-content
.entity-section__title::after,
.club-detail-page
.club-reviews
.entity-section__title::before,
.club-detail-page
.club-reviews
.entity-section__title::after {
    content: none !important;
    display: none !important;
}


/* ============================================================
   MEMBERSHIP CTA — ALL STATES
   guest / join / rejoin / secondary actions
   ============================================================ */

.club-detail-page
.club-detail-hero__membership-cta-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;

    margin: 0 !important;
}


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 42px !important;

    margin: 0 !important;

    padding:
        0
        16px !important;

    border-radius: 2px !important;

    font-size: 0.875rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-align: center !important;
    text-decoration: none !important;

    transition:
        color 140ms ease,
        background 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease !important;
}


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--primary {
    color: #ffffff !important;

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

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

    -webkit-box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.18) !important;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.18) !important;
}


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--primary:hover,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--primary:focus-visible {
    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #318bbd 0%,
            #27b1f5 100%
        ) !important;

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        0 0 16px rgba(102, 192, 244, 0.16),
        0 6px 16px rgba(0, 0, 0, 0.24) !important;

    box-shadow:
        0 0 16px rgba(102, 192, 244, 0.16),
        0 6px 16px rgba(0, 0, 0, 0.24) !important;

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


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--secondary {
    color: #dce7ee !important;

    background: #142433 !important;

    border: 1px solid #35566d !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--secondary:hover,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn--secondary:focus-visible {
    color: #ffffff !important;

    background: #22384a !important;

    border-color: #66c0f4 !important;

    outline: none !important;

    -webkit-box-shadow:
        inset 0 0 0 1px
        rgba(102, 192, 244, 0.12) !important;

    box-shadow:
        inset 0 0 0 1px
        rgba(102, 192, 244, 0.12) !important;

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


.club-detail-page
.club-detail-hero__membership-cta-actions
.btn[disabled],
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn:disabled,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn.is-disabled {
    opacity: 0.48 !important;

    color: #8fa0ad !important;
    background: #1a2733 !important;
    border-color: #35566d !important;

    cursor: not-allowed !important;
    pointer-events: none !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.club-detail-page
.club-detail-hero__membership-cta-actions
.btn[disabled]:hover,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn:disabled:hover,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn.is-disabled:hover,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn[disabled]:focus,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn:disabled:focus,
.club-detail-page
.club-detail-hero__membership-cta-actions
.btn.is-disabled:focus {
    color: #8fa0ad !important;
    background: #1a2733 !important;
    border-color: #35566d !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;

    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}


.club-detail-page
.club-detail-hero__membership-cta-message {
    color: #9fb0be !important;
}


/* ============================================================
   CLUB OPERATIONAL STATUS — STEAM DARK CHIP
   ============================================================ */

.club-detail-page
.club-status-chip {
    box-sizing: border-box !important;

    width: auto !important;
    max-width: 100% !important;

    min-height: 36px !important;

    margin: 0 !important;

    padding:
        0
        10px !important;

    color: #dce7ee !important;

    background:
        linear-gradient(
            180deg,
            #22384a 0%,
            #172533 100%
        ) !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    -webkit-box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18) !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18) !important;
}


.club-detail-page
.club-status-chip
.club-status-chip__content {
    min-height: 34px !important;
}


.club-detail-page
.club-status-chip
.club-status-chip__label,
.club-detail-page
.club-status-chip
.club-detail-hero__status-label {
    color: #dce7ee !important;

    font-size: 0.8125rem !important;
    font-weight: 700 !important;
}


.club-detail-page
.club-status-chip__help-button {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;

    padding: 0 !important;

    color: #8fbedb !important;
    background: #101822 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.club-status-chip__help-button:hover,
.club-detail-page
.club-status-chip__help-button:focus-visible {
    color: #ffffff !important;
    background: #22384a !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


.club-detail-page
.club-status-chip__tooltip {
    color: #dce7ee !important;

    background: #0d1822 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    -webkit-box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.36) !important;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.36) !important;
}


/*
 * Status meaning remains visible through the small dot,
 * while the actual chip stays in the same Steam palette.
 */
.club-detail-page
.club-status-chip.club-detail-hero__status--active
.club-detail-hero__status-dot {
    background: #16a34a !important;
    color: #16a34a !important;
    -webkit-box-shadow: 0 0 6px #16a34a !important;
    box-shadow: 0 0 6px #16a34a !important;
}


.club-detail-page
.club-status-chip.club-detail-hero__status--unmanaged
.club-detail-hero__status-dot {
    background: #8fa1b2 !important;
}


.club-detail-page
.club-status-chip.club-detail-hero__status--inactive
.club-detail-hero__status-dot {
    background: #f0b35a !important;
}


.club-detail-page
.club-status-chip.club-detail-hero__status--scam
.club-detail-hero__status-dot {
    background: #d66b6b !important;
}


/*
 * Kill legacy status-specific white / green / orange / red
 * backgrounds while retaining semantic dot colours above.
 */
.club-detail-page
.club-status-chip.club-detail-hero__status--active,
.club-detail-page
.club-status-chip.club-detail-hero__status--unmanaged,
.club-detail-page
.club-status-chip.club-detail-hero__status--inactive,
.club-detail-page
.club-status-chip.club-detail-hero__status--scam {
    color: #dce7ee !important;

    background:
        linear-gradient(
            180deg,
            #22384a 0%,
            #172533 100%
        ) !important;

    border-color: #35566d !important;
}


/* ============================================================
   CLUB DETAIL AUTH MODALS — STEAM PRESENTATION
   ============================================================ */

.club-detail-page
.site-modal
.site-modal__backdrop {
    background: rgba(4, 10, 16, 0.82) !important;

    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}


.club-detail-page
.site-modal
.site-modal__dialog {
    width: min(520px, calc(100vw - 32px)) !important;
    max-width: 520px !important;
}


.club-detail-page
.site-modal
.site-modal__content {
    color: #c7d5e0 !important;

    background:
        linear-gradient(
            180deg,
            #1d3142 0%,
            #142433 100%
        ) !important;

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

    -webkit-box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.52) !important;

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.52) !important;
}


.club-detail-page
.site-modal
.site-modal__header {
    background: transparent !important;

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


.club-detail-page
.site-modal
.site-modal__title {
    color: #ffffff !important;

    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;

    letter-spacing: -0.02em !important;
}


.club-detail-page
.site-modal
.site-modal__body {
    color: #aebdca !important;
    background: transparent !important;
}


.club-detail-page
.site-modal
.site-modal__body
p {
    color: #aebdca !important;
}


.club-detail-page
.site-modal
.site-modal__close {
    color: #dce7ee !important;

    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.club-detail-page
.site-modal
.site-modal__close:hover,
.club-detail-page
.site-modal
.site-modal__close:focus-visible {
    color: #ffffff !important;

    background: #22384a !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


.club-detail-page
.site-modal
.site-modal__actions {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;

    width: 100% !important;

    margin-top: 16px !important;
}


.club-detail-page
.site-modal
.site-modal__actions
> * {
    box-sizing: border-box !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;

    margin: 0 !important;

    border-radius: 2px !important;

    font-weight: 700 !important;

    text-decoration: none !important;
}


.club-detail-page
.site-modal
.site-modal__actions
.btn--secondary {
    color: #dce7ee !important;

    background: #101822 !important;

    border: 1px solid #35566d !important;
}


.club-detail-page
.site-modal
.site-modal__actions
.btn--secondary:hover,
.club-detail-page
.site-modal
.site-modal__actions
.btn--secondary:focus-visible {
    color: #ffffff !important;

    background: #22384a !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


.club-detail-page
.site-modal
.site-modal__actions
.btn--primary {
    color: #ffffff !important;

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

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


.club-detail-page
.site-modal
.site-modal__actions
.btn--primary:hover,
.club-detail-page
.site-modal
.site-modal__actions
.btn--primary:focus-visible {
    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #318bbd 0%,
            #27b1f5 100%
        ) !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {
    .club-detail-page
    .club-detail-content
    .entity-section__title,
    .club-detail-page
    .club-reviews
    .entity-section__title {
        font-size: 1.625rem !important;
    }

    .club-detail-page
    .club-detail-hero__membership-cta-actions {
        align-items: stretch !important;
    }

    .club-detail-page
    .club-detail-hero__membership-cta-actions
    .btn {
        width: 100% !important;
    }

    .club-detail-page
    .site-modal
    .site-modal__actions {
        grid-template-columns: 1fr !important;
    }

    /*
     * Mobile: Terms must span the full identity width.
     * Screenshot row always reserves three equal slots above Terms.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity:has(> .club-detail-hero__shots) {
        grid-template-areas:
            "title title"
            "media logos"
            "controls controls"
            "shots shots"
            !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity:has(> .club-detail-hero__shots):has(> .club-detail-hero__terms) {
        grid-template-areas:
            "title title"
            "media logos"
            "controls controls"
            "shots shots"
            "terms terms"
            !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shots {
        -ms-grid-row: auto;
        -ms-grid-column: 1;
        grid-area: shots !important;
        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-top: var(--space-3, 12px) !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shots-grid {
        display: -ms-grid !important;
        display: grid !important;

        -ms-grid-columns: 1fr 6px 1fr 6px 1fr;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        -webkit-column-gap: 6px !important;
        -moz-column-gap: 6px !important;
        column-gap: 6px !important;
        -webkit-row-gap: 0 !important;
        -moz-row-gap: 0 !important;
        row-gap: 0 !important;

        width: 100% !important;
        min-width: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shot {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;

        -webkit-box-align: center !important;
        -webkit-align-items: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;

        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;

        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
        min-height: 72px !important;
        overflow: hidden !important;

        color: #7f95a6 !important;
        text-align: left !important;

        background: #152433 !important;
        border: 1px solid #35566d !important;
        -webkit-border-radius: 8px !important;
        border-radius: 8px !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    button.club-detail-hero__shot {
        cursor: pointer !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shot--empty {
        cursor: default !important;
        pointer-events: none !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shot
    .entity-image-placeholder__icon {
        width: 22px !important;
        height: 22px !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shot img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        -o-object-fit: cover !important;
        object-fit: cover !important;
        -o-object-position: center !important;
        object-position: center !important;
        pointer-events: none !important;
    }

    .club-detail-page
    .club-detail-hero__terms {
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;

        grid-area: terms !important;
        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        max-height: none !important;

        margin-top: var(--space-3, 12px) !important;
        padding: 10px 12px !important;

        overflow: hidden !important;

        background: #101822 !important;
        border: 1px solid #35566d !important;
        -webkit-border-radius: 12px !important;
        border-radius: 12px !important;

        justify-self: stretch !important;
    }

    .club-detail-page
    .club-detail-hero__terms-body {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 12 !important;
        line-clamp: 12 !important;
        overflow: hidden !important;
        max-height: none !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }
}

/* ===== END STEAM CLUB DETAIL UI POLISH V6 ===== */

/* ===== STEAM CLUB DETAIL HERO V7 ===== */

/*
 * V7:
 *
 * 1. /clubs and Club detail already share the same 248px
 *    sidebar track. Undo the V6 -12px visual lift so their
 *    top geometry matches again.
 *
 * 2. Remove the distant right-side network-logo rail.
 *    Room and Union now live directly beside the Club avatar.
 *
 * 3. Network logos use the same square Steam / frosted-glass
 *    surface language as the new status and CTA controls.
 */


/* ============================================================
   SIDEBAR — EXACT TOP ALIGNMENT WITH /CLUBS
   ============================================================ */

@media (min-width: 901px) {
    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        margin:
            0
            !important;
    }
}


/* ============================================================
   CLUB HERO — ROOM / UNION BESIDE AVATAR
   ============================================================ */

@media (min-width: 901px) {

    /*
     * The old third 72px column existed only for Room/Union.
     * Remove it. The main controls column now uses that space.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity {
        grid-template-columns:
            160px
            minmax(0, 1fr)
            !important;

        grid-template-areas:
            "title title"
            "media controls"
            !important;
    }


    /*
     * The side wrapper must not create an implicit third
     * grid column after the explicit side column is removed.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__side {
        display: contents !important;

        grid-area: auto !important;

        width: auto !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
    }


    /*
     * Favorite already belongs to the avatar geometry.
     * Keep that existing placement unchanged.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__actions {
        grid-area: media !important;
    }


    /*
     * Room + Union occupy the top of the controls cell,
     * immediately to the right of the 160px Club avatar.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__network-logos {
        grid-area: controls !important;

        position: relative !important;
        z-index: 2;

        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;

        gap: 10px !important;

        width: auto !important;
        min-width: 0 !important;

        height: 52px !important;
        min-height: 52px !important;

        margin: 0 !important;

        align-self: start !important;
        justify-self: start !important;
    }


    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__network-logos
    > * + * {
        margin: 0 !important;
    }


    /*
     * Reserve the first 64px of the controls column for
     * network logos. Status starts directly underneath them.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls {
        box-sizing: border-box !important;

        grid-area: controls !important;

        padding-top: 64px !important;
    }


    /*
     * There is an intentional nested controls wrapper in
     * the current membership CTA markup. It must not add
     * another 160px minimum height.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__controls {
        min-height: 0 !important;

        padding-top: 0 !important;
    }


    /* ========================================================
       FROSTED NETWORK LOGO TILES
       ======================================================== */

    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo {
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex:
            0
            0
            52px
            !important;

        width: 52px !important;
        height: 52px !important;

        margin: 0 !important;
        padding: 5px !important;

        overflow: hidden !important;

        color: #c7d5e0 !important;

        background:
            linear-gradient(
                145deg,
                rgba(49, 80, 106, 0.78) 0%,
                rgba(23, 37, 51, 0.82) 58%,
                rgba(16, 24, 34, 0.88) 100%
            )
            !important;

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

        border-radius:
            2px
            !important;

        -webkit-backdrop-filter:
            blur(6px)
            saturate(115%);

        backdrop-filter:
            blur(6px)
            saturate(115%);

        -webkit-box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            inset 0 0 12px rgba(102, 192, 244, 0.035),
            0 4px 12px rgba(0, 0, 0, 0.22)
            !important;

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            inset 0 0 12px rgba(102, 192, 244, 0.035),
            0 4px 12px rgba(0, 0, 0, 0.22)
            !important;

        transition:
            background 140ms ease,
            border-color 140ms ease,
            box-shadow 140ms ease,
            transform 140ms ease
            !important;
    }


    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo:hover,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo:hover {
        background:
            linear-gradient(
                145deg,
                rgba(49, 80, 106, 0.94) 0%,
                rgba(34, 60, 81, 0.94) 58%,
                rgba(20, 36, 51, 0.96) 100%
            )
            !important;

        border-color:
            #66c0f4
            !important;

        -webkit-box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 0 14px rgba(102, 192, 244, 0.06),
            0 0 16px rgba(102, 192, 244, 0.11),
            0 6px 16px rgba(0, 0, 0, 0.26)
            !important;

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 0 14px rgba(102, 192, 244, 0.06),
            0 0 16px rgba(102, 192, 244, 0.11),
            0 6px 16px rgba(0, 0, 0, 0.26)
            !important;

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

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

        transform:
            translateY(-1px);
    }


    /*
     * Make the link itself fill the complete glass tile.
     */
    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo
    > a,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo
    > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-decoration: none !important;
    }


    /*
     * Do not stretch the source artwork to the tile edges.
     * The dark frosted frame must remain visible.
     */
    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo
    img,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo
    img {
        display: block !important;

        width: auto !important;
        height: auto !important;

        max-width: 100% !important;
        max-height: 100% !important;

        object-fit:
            contain
            !important;

        border-radius:
            0
            !important;
    }


    /*
     * Empty Room / Union slot keeps exactly the same frame.
     */
    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__network-slot--empty {
        border:
            1px solid
            rgba(102, 192, 244, 0.22)
            !important;
    }
}

/* ===== END STEAM CLUB DETAIL HERO V7 ===== */

/* ===== STEAM CLUB DETAIL HERO V8 ===== */

/*
 * V8:
 *
 * - Room / Union artwork reaches the thin blue outline;
 * - no visible inner glass frame around network artwork;
 * - status and membership CTA use a simple vertical flow;
 * - Club avatar receives the same restrained Steam outline
 *   and hover glow.
 */


/* ============================================================
   DESKTOP HERO CONTROL FLOW
   ============================================================ */

@media (min-width: 901px) {

    /*
     * Desktop equal logo / status / Join spacing is owned by the
     * nested left/terms hero block (real 160px flex controls column).
     *
     * Keep membership CTA width resets below; do not reintroduce
     * the old 64px logo reserve, Join auto-margin, or display:contents
     * promotion of status/Join into the identity-row grid.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-status-chip {
        grid-area: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;

        margin: 0 !important;
    }


    /*
     * Current guest / membership projection intentionally
     * contains one nested controls wrapper.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__controls {
        grid-area: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__membership-cta {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
    }


    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__membership-cta-actions {
        width: 100% !important;

        margin: 0 !important;

        justify-content: flex-start !important;
        align-items: flex-start !important;
    }


    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__membership-cta-actions
    .btn {
        margin: 0 !important;

        align-self: flex-start !important;
    }
}


/* ============================================================
   ROOM / UNION — ARTWORK FILLS COMPLETE TILE
   ============================================================ */

@media (min-width: 901px) {

    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo {
        box-sizing: border-box !important;

        width: 52px !important;
        height: 52px !important;

        flex:
            0
            0
            52px
            !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        background:
            #101923
            !important;

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

        border-radius:
            2px
            !important;

        -webkit-backdrop-filter:
            none
            !important;

        backdrop-filter:
            none
            !important;

        -webkit-box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(102, 192, 244, 0.025)
            !important;

        box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(102, 192, 244, 0.025)
            !important;
    }


    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo
    > a,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo
    > a {
        box-sizing: border-box !important;

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }


    /*
     * Fill the entire tile.
     * Only the 1px outer blue line remains visible.
     */
    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo
    img,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo
    img {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit:
            cover
            !important;

        object-position:
            center
            !important;

        border:
            0
            !important;

        border-radius:
            0
            !important;
    }


    .club-detail-page:not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo:hover,

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__union-logo:hover {
        border-color:
            #66c0f4
            !important;

        -webkit-box-shadow:
            0 0 14px rgba(102, 192, 244, 0.16),
            0 5px 13px rgba(0, 0, 0, 0.28)
            !important;

        box-shadow:
            0 0 14px rgba(102, 192, 244, 0.16),
            0 5px 13px rgba(0, 0, 0, 0.28)
            !important;
    }


    /*
     * Outer shots/terms two-row identity grid removed.
     * Canonical layout: CLUB HERO NESTED LEFT / TERMS V2 (below).
     */
}


/* ===== CLUB HERO NESTED LEFT / TERMS V2 ===== */

/*
 * Desktop outer body = ONE row, TWO columns: LEFT | TERMS.
 * LEFT = normal-flow identity-row + screenshot thumbs.
 * No fixed outer height. No grid-area: terms/shots on the outer grid.
 * Kill site.css .club-detail-hero__body border-top (H1 separator).
 */

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity {
    display: -ms-grid !important;
    display: grid !important;

    -ms-grid-columns: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;

    grid-template-areas:
        "title"
        "body"
        !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__title {
    grid-area: title !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__body {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-area: body !important;

    display: -ms-grid !important;
    display: grid !important;

    -ms-grid-columns: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__left,
.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__terms,
.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shots {
    -ms-grid-row: auto !important;
    -ms-grid-column: auto !important;
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__left {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;

    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: 384px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity-row {
    display: -ms-grid !important;
    display: grid !important;

    -ms-grid-columns: 160px minmax(0, 1fr);
    grid-template-columns:
        160px
        minmax(0, 1fr)
        !important;

    grid-template-areas: "media controls" !important;

    -webkit-column-gap: var(--space-4) !important;
    -moz-column-gap: var(--space-4) !important;
    column-gap: var(--space-4) !important;
    gap: var(--space-4) !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity-row
> .club-detail-hero__media {
    grid-area: media !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity-row
> .club-detail-hero__controls {
    grid-area: controls !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity-row
.club-detail-hero__side {
    display: contents !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__identity-row
.club-detail-hero__actions {
    grid-area: media !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shots {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-top: var(--space-5) !important;
    overflow: hidden !important;
    position: relative !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shots-grid {
    display: -ms-grid !important;
    display: grid !important;

    -ms-grid-columns: minmax(0, 1fr) 8px minmax(0, 1fr) 8px minmax(0, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    -webkit-column-gap: 8px !important;
    -moz-column-gap: 8px !important;
    column-gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shot {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;

    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;

    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;

    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    color: #7f95a6 !important;

    /* Same tile frame as approved room / union logo tiles. */
    background: #101923 !important;
    border: 1px solid rgba(102, 192, 244, 0.58) !important;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;

    -webkit-box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    -webkit-transition:
        border-color 140ms ease,
        box-shadow 140ms ease
        !important;
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease
        !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
button.club-detail-hero__shot {
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
button.club-detail-hero__shot:hover,
.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
button.club-detail-hero__shot:focus-visible {
    border-color: #66c0f4 !important;

    -webkit-box-shadow:
        0 0 14px rgba(102, 192, 244, 0.16),
        0 5px 13px rgba(0, 0, 0, 0.28)
        !important;
    box-shadow:
        0 0 14px rgba(102, 192, 244, 0.16),
        0 5px 13px rgba(0, 0, 0, 0.28)
        !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shot--empty {
    cursor: default !important;
    pointer-events: none !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shot
.entity-image-placeholder__icon {
    width: 22px !important;
    height: 22px !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__shot img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    -o-object-position: center !important;
    object-position: center !important;
    border: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    pointer-events: none !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__terms {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;

    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;

    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;

    overflow: hidden !important;

    /* Same frame language as approved room / union logo tiles. */
    background: #101923 !important;
    border: 1px solid rgba(102, 192, 244, 0.58) !important;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;

    -webkit-box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__terms-label {
    margin: 0 0 6px !important;

    color: #c7d5e0 !important;

    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
.club-detail-hero--stacked-title
.club-detail-hero__terms-body {
    -webkit-box-flex: 1 !important;
    -webkit-flex: 1 1 auto !important;
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 12 !important;
    line-clamp: 12 !important;

    overflow: hidden !important;

    max-height: none !important;
    min-height: 0 !important;

    color: #b8c7d3 !important;

    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
}

@media (min-width: 901px) {
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__body--with-terms {
        -ms-grid-columns: minmax(0, 384px) 16px minmax(0, 1fr);
        grid-template-columns:
            minmax(0, 384px)
            minmax(0, 1fr)
            !important;
        grid-template-rows: auto !important;

        -webkit-column-gap: 16px !important;
        -moz-column-gap: 16px !important;
        column-gap: 16px !important;

        -webkit-align-items: stretch !important;
        -ms-flex-align: stretch !important;
        align-items: stretch !important;

        height: auto !important;
        max-height: none !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__body--with-terms
    > .club-detail-hero__left {
        max-width: none !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__body--with-terms
    > .club-detail-hero__terms {
        -webkit-align-self: stretch !important;
        -ms-flex-item-align: stretch !important;
        align-self: stretch !important;
        justify-self: stretch !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        margin-top: 0 !important;
    }

    /*
     * Desktop controls column = real 160px flex box (avatar height).
     *
     * Markup order inside controls:
     *   network-logos → status chip → nested Join wrapper
     *
     * justify-content:space-between distributes the three zones
     * with equal free space. No display:contents on desktop controls,
     * no 3-row identity-row, no auto-margin / 64px padding.
     */
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row {
        -ms-grid-columns: 160px minmax(0, 1fr);
        grid-template-columns:
            160px
            minmax(0, 1fr)
            !important;

        grid-template-rows: auto !important;

        grid-template-areas: "media controls" !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        -webkit-row-gap: 0 !important;
        -moz-row-gap: 0 !important;
        row-gap: 0 !important;
        -webkit-column-gap: var(--space-4) !important;
        -moz-column-gap: var(--space-4) !important;
        column-gap: var(--space-4) !important;
        gap: 0 var(--space-4) !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls {
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;

        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;

        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -webkit-flex-direction: column !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;

        -webkit-box-pack: justify !important;
        -webkit-justify-content: space-between !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;

        -webkit-box-align: start !important;
        -webkit-align-items: flex-start !important;
        -ms-flex-align: start !important;
        align-items: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__network-logos {
        -webkit-box-flex: 0 !important;
        -webkit-flex: 0 0 auto !important;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;

        grid-area: auto !important;
        margin: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-status-chip {
        -webkit-box-flex: 0 !important;
        -webkit-flex: 0 0 auto !important;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;

        margin: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__controls {
        -webkit-box-flex: 0 !important;
        -webkit-flex: 0 0 auto !important;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;

        width: 100% !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 900px) {
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__body,
    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__body--with-terms {
        -ms-grid-columns: minmax(0, 1fr);
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto !important;

        -webkit-column-gap: 0 !important;
        -moz-column-gap: 0 !important;
        column-gap: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__left {
        max-width: none !important;
        width: 100% !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row {
        -ms-grid-columns: 96px minmax(0, 1fr);
        grid-template-columns:
            96px
            minmax(0, 1fr)
            !important;

        /*
         * network-logos now lives inside controls in markup. Promote its
         * children via display:contents so mobile keeps:
         *   [ avatar | logos ]
         *   [ status         ]
         *   [ Join           ]
         */
        grid-template-areas:
            "media logos"
            "status status"
            "join join"
            !important;

        -webkit-column-gap: var(--space-4) !important;
        -moz-column-gap: var(--space-4) !important;
        column-gap: var(--space-4) !important;
        -webkit-row-gap: var(--space-3, 12px) !important;
        -moz-row-gap: var(--space-3, 12px) !important;
        row-gap: var(--space-3, 12px) !important;
        gap: var(--space-3, 12px) var(--space-4) !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity {
        -webkit-row-gap: var(--space-4) !important;
        -moz-row-gap: var(--space-4) !important;
        row-gap: var(--space-4) !important;
        gap: var(--space-4) !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__title {
        margin-bottom: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls {
        display: contents !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__network-logos {
        grid-area: logos !important;
        margin: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-status-chip {
        grid-area: status !important;
        margin: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__identity-row
    > .club-detail-hero__controls
    > .club-detail-hero__controls {
        grid-area: join !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shots {
        margin-top: var(--space-4) !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shots-grid {
        -webkit-column-gap: 6px !important;
        -moz-column-gap: 6px !important;
        column-gap: 6px !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__shot {
        aspect-ratio: 9 / 16 !important;
        min-height: 0 !important;
    }

    .club-detail-page:not(.union-detail-page):not(.club-tournaments-page)
    .club-detail-hero--stacked-title
    .club-detail-hero__terms {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-top: var(--space-3, 12px) !important;
    }
}

/* ===== END CLUB HERO NESTED LEFT / TERMS V2 ===== */


/* ===== UNION DETAIL HERO IDENTITY V1 ===== */

/*
 * Union shares stacked-title markup with Club, but must NOT inherit the
 * Club 3-column "media | 1fr controls | side" rail. That parks the room
 * logo at the far right when controls are absent.
 *
 * Desktop target: [ UNION AVATAR ] gap [ X Poker logo ] as one left group.
 */

@media (min-width: 901px) {
    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__identity {
        -ms-grid-columns: 160px var(--space-4) auto;
        grid-template-columns:
            160px
            auto
            !important;

        grid-template-rows: auto auto !important;

        grid-template-areas:
            "title title"
            "media side"
            !important;

        -webkit-column-gap: var(--space-4) !important;
        -moz-column-gap: var(--space-4) !important;
        column-gap: var(--space-4) !important;
        -webkit-row-gap: var(--space-4) !important;
        -moz-row-gap: var(--space-4) !important;
        row-gap: var(--space-4) !important;
        gap: var(--space-4) !important;

        -webkit-box-pack: start !important;
        -webkit-justify-content: start !important;
        -ms-flex-pack: start !important;
        justify-content: start !important;
        -webkit-justify-items: start !important;
        justify-items: start !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__title {
        grid-area: title !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__media {
        grid-area: media !important;
        justify-self: start !important;
        align-self: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__side {
        display: block !important;
        grid-area: side !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        -webkit-align-self: start !important;
        -ms-flex-item-align: start !important;
        align-self: start !important;
        justify-self: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__network-logos {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;

        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -webkit-flex-direction: row !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;

        -webkit-box-align: start !important;
        -webkit-align-items: flex-start !important;
        -ms-flex-align: start !important;
        align-items: flex-start !important;

        -webkit-box-pack: start !important;
        -webkit-justify-content: flex-start !important;
        -ms-flex-pack: start !important;
        justify-content: flex-start !important;

        grid-area: auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

        -webkit-align-self: start !important;
        -ms-flex-item-align: start !important;
        align-self: start !important;
        justify-self: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo,
    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__network-placeholder {
        -webkit-align-self: flex-start !important;
        -ms-flex-item-align: start !important;
        align-self: flex-start !important;
        margin: 0 !important;
    }
}

@media (max-width: 900px) {
    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__identity {
        -ms-grid-columns: 96px var(--space-4) auto;
        grid-template-columns:
            96px
            auto
            !important;

        grid-template-areas:
            "title title"
            "media logos"
            !important;

        -webkit-column-gap: var(--space-4) !important;
        -moz-column-gap: var(--space-4) !important;
        column-gap: var(--space-4) !important;
        -webkit-row-gap: var(--space-4) !important;
        -moz-row-gap: var(--space-4) !important;
        row-gap: var(--space-4) !important;
        gap: var(--space-4) !important;

        -webkit-justify-items: start !important;
        justify-items: start !important;
        -webkit-box-pack: start !important;
        -webkit-justify-content: start !important;
        -ms-flex-pack: start !important;
        justify-content: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__title {
        grid-area: title !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__media {
        grid-area: media !important;
        justify-self: start !important;
        align-self: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__side {
        display: contents !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__network-logos {
        grid-area: logos !important;

        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;

        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -webkit-flex-direction: row !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;

        -webkit-box-align: start !important;
        -webkit-align-items: flex-start !important;
        -ms-flex-align: start !important;
        align-items: flex-start !important;

        -webkit-box-pack: start !important;
        -webkit-justify-content: flex-start !important;
        -ms-flex-pack: start !important;
        justify-content: flex-start !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

        -webkit-align-self: start !important;
        -ms-flex-item-align: start !important;
        align-self: start !important;
        justify-self: start !important;
    }

    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__room-logo,
    .union-detail-page
    .club-detail-hero--stacked-title
    .club-detail-hero__network-placeholder {
        -webkit-align-self: flex-start !important;
        -ms-flex-item-align: start !important;
        align-self: flex-start !important;
        margin: 0 !important;
    }

    .union-detail-page
    .club-telegram-cta--flow {
        margin-top: var(--space-4) !important;
        margin-bottom: var(--space-4) !important;
    }
}

/* ===== END UNION DETAIL HERO IDENTITY V1 ===== */


/* ============================================================
   CLUB AVATAR — SAME STEAM EDGE LANGUAGE
   ============================================================ */

.club-detail-page
.entity-card__logo--club.entity-card__logo--club-detail {
    box-sizing: border-box !important;

    padding: 0 !important;

    overflow: hidden !important;

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

    border-radius:
        3px
        !important;

    -webkit-box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    transition:
        border-color 140ms ease,
        box-shadow 140ms ease
        !important;
}


.club-detail-page
.entity-card__logo--club.entity-card__logo--club-detail:hover {
    border-color:
        #66c0f4
        !important;

    -webkit-box-shadow:
        0 0 18px rgba(102, 192, 244, 0.14),
        0 7px 18px rgba(0, 0, 0, 0.30)
        !important;

    box-shadow:
        0 0 18px rgba(102, 192, 244, 0.14),
        0 7px 18px rgba(0, 0, 0, 0.30)
        !important;
}


/*
 * If the logo class is placed on a wrapper rather than
 * directly on the image, make the child artwork fill it too.
 */
.club-detail-page
.entity-card__logo--club.entity-card__logo--club-detail
img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit:
        cover
        !important;

    border-radius:
        0
        !important;
}

/* ===== END STEAM CLUB DETAIL HERO V8 ===== */

/* ===== STEAM CLUB DETAIL MOBILE V9 ===== */

/*
 * Mobile Club overview:
 *
 * - the desktop sidebar disappears at <=900px;
 * - Club Details is rendered again inside the main flow;
 * - legacy site.css still gives that second copy the old white
 *   table treatment;
 * - the old global Club/You pill is fixed and overlaps content.
 *
 * Keep desktop unchanged and explicitly give the mobile copy
 * the same Steam language as the approved Club detail/sidebar.
 */

@media (max-width: 900px) {

    /* ========================================================
       MOBILE CLUB DETAILS WRAPPER
       ======================================================== */

    .club-detail-page
    .club-details-main {
        width: 100% !important;
        min-width: 0 !important;

        margin:
            18px
            0
            0 !important;

        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details {
        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;
    }


    /* ========================================================
       GROUP HEADINGS
       ======================================================== */

    .club-detail-page
    .club-details-main
    .club-public-details__label,
    .club-detail-page
    .club-details-main
    .club-public-details__group-label {
        margin:
            0
            0
            8px !important;

        color: #dce7ee !important;

        font-size: 0.875rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__group
    + .club-public-details__group {
        margin-top: 16px !important;
    }


    /* ========================================================
       REMOVE LEGACY WHITE TABLE
       ======================================================== */

    .club-detail-page
    .club-details-main
    .club-public-details__list {
        display: block !important;

        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;

        list-style: none !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /*
     * Characteristics are no longer a cramped bordered table.
     * A quiet two-column Steam row keeps labels aligned while
     * values retain enough width to wrap naturally.
     */
    .club-detail-page
    .club-details-main
    .club-public-details__item {
        display: grid !important;

        grid-template-columns:
            92px
            minmax(0, 1fr) !important;

        column-gap: 10px !important;
        align-items: start !important;

        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding:
            8px
            0 !important;

        background: transparent !important;

        border: 0 !important;
        border-top:
            1px solid
            rgba(103, 143, 171, 0.24) !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__item:first-child {
        border-top: 0 !important;
    }


    /*
     * Game names are short, so give more room to stake values.
     */
    .club-detail-page
    .club-details-main
    .club-public-details__group--games
    .club-public-details__item {
        grid-template-columns:
            54px
            minmax(0, 1fr) !important;
    }


    /*
     * Undo every legacy cell border/padding coming from
     * site.css's display:contents table implementation.
     */
    .club-detail-page
    .club-details-main
    .club-public-details__item
    > * {
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-top: 0 !important;
        border-right: 0 !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__key,
    .club-detail-page
    .club-details-main
    .club-public-details__game,
    .club-detail-page
    .club-details-main
    .club-public-details__value,
    .club-detail-page
    .club-details-main
    .club-public-details__item
    > .text-link {
        grid-column: auto !important;

        min-width: 0 !important;
        max-width: 100% !important;

        font-size: 0.8125rem !important;
        line-height: 1.4 !important;

        white-space: normal !important;

        overflow: visible !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__key,
    .club-detail-page
    .club-details-main
    .club-public-details__game {
        color: #dce7ee !important;
        font-weight: 650 !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__value {
        color: #a9bac7 !important;
        font-weight: 400 !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__item
    > .text-link {
        display: block !important;

        width: auto !important;

        color: #66c0f4 !important;
    }


    .club-detail-page
    .club-details-main
    .club-public-details__item
    > .text-link:hover,
    .club-detail-page
    .club-details-main
    .club-public-details__item
    > .text-link:focus-visible {
        color: #ffffff !important;
    }


    /*
     * Timezone is the longest common value and must never
     * force horizontal scrolling.
     */
    .club-detail-page
    .club-details-main
    .club-public-details__item--timezone
    .club-public-details__key,
    .club-detail-page
    .club-details-main
    .club-public-details__value--timezone {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }


}

/* ===== END STEAM CLUB DETAIL MOBILE V9 ===== */

/* ===== STEAM CLUB DETAIL MOBILE NETWORK V10 ===== */

/*
 * Mobile Room / Union tiles.
 *
 * Desktop V8 already uses the approved square Steam treatment.
 * Reproduce the same language on mobile without changing the
 * current hero geometry.
 *
 * Two 44px tiles + 8px gap fit beside the 96px Club avatar.
 */

@media (max-width: 900px) {

    .club-detail-page
    .club-detail-hero__network-logos {
        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }


    /* ========================================================
       ROOM / UNION TILE
       ======================================================== */

    .club-detail-page
    .club-detail-hero__room-logo,

    .club-detail-page
    .club-detail-hero__union-logo {
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex:
            0
            0
            44px
            !important;

        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        color: #c7d5e0 !important;

        background:
            #101923
            !important;

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

        border-radius:
            2px
            !important;

        -webkit-box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(102, 192, 244, 0.025)
            !important;

        box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(102, 192, 244, 0.025)
            !important;

        transition:
            border-color 140ms ease,
            box-shadow 140ms ease,
            transform 140ms ease;
    }


    /* ========================================================
       LINK FILLS COMPLETE TILE
       ======================================================== */

    .club-detail-page
    .club-detail-hero__room-logo
    > a,

    .club-detail-page
    .club-detail-hero__union-logo
    > a {
        box-sizing: border-box !important;

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        border-radius: 0 !important;
    }


    /* ========================================================
       ARTWORK FILLS COMPLETE TILE
       ======================================================== */

    .club-detail-page
    .club-detail-hero__room-logo
    img,

    .club-detail-page
    .club-detail-hero__union-logo
    img {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover !important;
        object-position: center !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /* ========================================================
       STEAM HOVER / KEYBOARD FOCUS
       ======================================================== */

    .club-detail-page
    .club-detail-hero__room-logo:hover,

    .club-detail-page
    .club-detail-hero__union-logo:hover,

    .club-detail-page
    .club-detail-hero__room-logo:focus-within,

    .club-detail-page
    .club-detail-hero__union-logo:focus-within {
        border-color:
            #66c0f4
            !important;

        -webkit-box-shadow:
            0 0 0 1px rgba(102, 192, 244, 0.14),
            0 0 14px rgba(102, 192, 244, 0.18),
            0 5px 14px rgba(0, 0, 0, 0.30)
            !important;

        box-shadow:
            0 0 0 1px rgba(102, 192, 244, 0.14),
            0 0 14px rgba(102, 192, 244, 0.18),
            0 5px 14px rgba(0, 0, 0, 0.30)
            !important;

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


    .club-detail-page
    .club-detail-hero__room-logo
    > a:focus-visible,

    .club-detail-page
    .club-detail-hero__union-logo
    > a:focus-visible {
        outline: none !important;
    }


    /* ========================================================
       EMPTY / NO-LOGO STATE
       ======================================================== */

    .club-detail-page
    .club-detail-hero__network-placeholder {
        box-sizing: border-box !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 3px !important;

        color: #8fa1b2 !important;
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        font-size: 0.55rem !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }
}

/* ===== END STEAM CLUB DETAIL MOBILE NETWORK V10 ===== */

/* ===== STEAM CLUB DETAIL DESKTOP SIDEBAR V11 ===== */

/*
 * Desktop Club detail sidebar.
 *
 * Match the visual construction of /clubs:
 *
 * 1. one visible sidebar surface;
 * 2. one outer border;
 * 3. one 16px content inset;
 * 4. no nested painted panels around Navigation / Club Details;
 * 5. no separate painted Time card;
 * 6. same dark Steam field language for navigation buttons.
 *
 * Mobile is intentionally untouched.
 */

@media (min-width: 901px) {

    /* ========================================================
       OUTER TRACK
       Keep the shared layout width; do not create another card.
       ======================================================== */

    .site-sidebar--public.site-sidebar--club {
        box-sizing: border-box !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /* ========================================================
       THE ONE AND ONLY SIDEBAR SURFACE
       ======================================================== */

    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 16px !important;

        color: #c7d5e0 !important;

        background:
            linear-gradient(
                180deg,
                #1e3346 0%,
                #172533 56%,
                #15222e 100%
            )
            !important;

        border:
            1px solid
            #35566d
            !important;

        border-radius:
            2px
            !important;

        -webkit-box-shadow:
            none
            !important;

        box-shadow:
            none
            !important;
    }


    /* ========================================================
       REMOVE NESTED NAV / DETAILS SURFACES
       ======================================================== */

    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav,

    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details {
        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        color: inherit !important;
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details::before {
        content: none !important;
        display: none !important;
    }


    /* ========================================================
       NAVIGATION
       Same geometry as /clubs form controls.
       ======================================================== */

    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .account-nav__section {
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .account-nav__list {
        display: grid !important;

        gap: 8px !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;

        background: transparent !important;
        border: 0 !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .account-nav__item {
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .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:
            #101822
            !important;

        border:
            1px solid
            #35566d
            !important;

        border-radius:
            2px
            !important;

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

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

        font-weight:
            650
            !important;

        text-decoration:
            none
            !important;

        transition:
            color 140ms ease,
            background-color 140ms ease,
            border-color 140ms ease,
            box-shadow 140ms ease,
            transform 140ms ease;
    }


    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .account-nav__link:hover,

    .site-sidebar--public.site-sidebar--club
    .public-sidebar-nav
    .account-nav__link:focus-visible {
        color:
            #ffffff
            !important;

        background:
            #22384a
            !important;

        border-color:
            #66c0f4
            !important;

        outline:
            none
            !important;

        -webkit-box-shadow:
            inset 0 0 0 1px rgba(102, 192, 244, 0.14),
            0 4px 12px rgba(0, 0, 0, 0.20)
            !important;

        box-shadow:
            inset 0 0 0 1px rgba(102, 192, 244, 0.14),
            0 4px 12px rgba(0, 0, 0, 0.20)
            !important;

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

        transform:
            translateY(-1px);
    }


    /* ========================================================
       CLUB DETAILS
       One separator, then content directly on sidebar.
       ======================================================== */

    .site-sidebar--public.site-sidebar--club
    .public-sidebar-club__details {
        margin-top:
            14px
            !important;

        padding-top:
            14px
            !important;

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


    .site-sidebar--public.site-sidebar--club
    .club-public-details {
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    .site-sidebar--public.site-sidebar--club
    .club-public-details__label {
        margin:
            0
            0
            8px
            !important;

        color:
            #dce7ee
            !important;
    }


}

/* ===== END STEAM CLUB DETAIL DESKTOP SIDEBAR V11 ===== */

/* ===== STEAM CLUB CATALOG BRAND EFFECTS V1 ===== */

/*
 * Bring /clubs brand presentation into the same visual language
 * as the approved Club Detail hero without changing card geometry.
 *
 * - Club avatar: thin Steam-blue edge + restrained glow.
 * - Room / Union: square Steam tiles, artwork to the edge.
 * - Operational status: dark Steam control instead of legacy
 *   light / rounded pill.
 */


/* ============================================================
   CLUB AVATAR
   ============================================================ */

.club-catalog-page
.club-catalog-card
.entity-card__logo--club {
    box-sizing: border-box !important;

    padding: 0 !important;

    overflow: hidden !important;

    background: transparent !important;

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

    border-radius:
        3px
        !important;

    -webkit-box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    transition:
        border-color 140ms ease,
        box-shadow 140ms ease
        !important;
}


.club-catalog-page
.club-catalog-card
.entity-card__logo--club:hover {
    border-color:
        #66c0f4
        !important;

    -webkit-box-shadow:
        0 0 18px rgba(102, 192, 244, 0.14),
        0 7px 18px rgba(0, 0, 0, 0.30)
        !important;

    box-shadow:
        0 0 18px rgba(102, 192, 244, 0.14),
        0 7px 18px rgba(0, 0, 0, 0.30)
        !important;
}


.club-catalog-page
.club-catalog-card
.entity-card__logo--club
img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* ============================================================
   ROOM / UNION LOGOS
   ============================================================ */

.club-catalog-page
.club-catalog-card
.club-card__network-logo {
    box-sizing: border-box !important;

    overflow: hidden !important;

    padding: 0 !important;

    background:
        linear-gradient(
            145deg,
            rgba(38, 61, 80, 0.94),
            rgba(21, 36, 48, 0.94)
        )
        !important;

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

    border-radius:
        2px
        !important;

    -webkit-box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease
        !important;
}


.club-catalog-page
.club-catalog-card
.club-card__network-logo:hover,
.club-catalog-page
.club-catalog-card
.club-card__network-logo:focus-within {
    border-color:
        #66c0f4
        !important;

    -webkit-box-shadow:
        0 0 0 1px rgba(102, 192, 244, 0.14),
        0 0 14px rgba(102, 192, 244, 0.18),
        0 5px 14px rgba(0, 0, 0, 0.30)
        !important;

    box-shadow:
        0 0 0 1px rgba(102, 192, 244, 0.14),
        0 0 14px rgba(102, 192, 244, 0.18),
        0 5px 14px rgba(0, 0, 0, 0.30)
        !important;

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


.club-catalog-page
.club-catalog-card
.club-card__network-logo
> a {
    box-sizing: border-box !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
}


.club-catalog-page
.club-catalog-card
.club-card__network-logo
> a:focus-visible {
    outline: none !important;
}


.club-catalog-page
.club-catalog-card
.club-card__network-logo
img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;

    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/*
 * Keep absent Room / Union slots invisible exactly as before.
 */
.club-catalog-page
.club-catalog-card
.club-card__network-logo--empty {
    visibility: hidden !important;
}


/* ============================================================
   OPERATIONAL STATUS — SAME DARK STEAM LANGUAGE AS DETAIL
   ============================================================ */

.club-catalog-page
.club-catalog-card
.club-card__status-chip {
    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;

    height: 36px !important;
    min-height: 36px !important;

    margin: 0 !important;

    padding:
        0
        11px
        !important;

    gap: 8px !important;

    color:
        #d6e3eb
        !important;

    background:
        linear-gradient(
            180deg,
            rgba(38, 61, 80, 0.96) 0%,
            rgba(24, 42, 56, 0.96) 100%
        )
        !important;

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

    border-radius:
        2px
        !important;

    -webkit-box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(102, 192, 244, 0.025)
        !important;

    font-size:
        0.8125rem
        !important;

    font-weight:
        700
        !important;

    line-height:
        1
        !important;

    white-space:
        nowrap
        !important;

    transition:
        border-color 140ms ease,
        box-shadow 140ms ease
        !important;
}


.club-catalog-page
.club-catalog-card
.club-card__status-chip:hover {
    border-color:
        #66c0f4
        !important;

    -webkit-box-shadow:
        0 0 12px rgba(102, 192, 244, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.26)
        !important;

    box-shadow:
        0 0 12px rgba(102, 192, 244, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.26)
        !important;
}


/*
 * Preserve semantic status colours in the small indicator,
 * while the chip surface itself stays consistently Steam-dark.
 */
.club-catalog-page
.club-catalog-card
.club-card__status-chip
.club-detail-hero__status-dot {
    width: 8px !important;
    height: 8px !important;

    margin: 0 !important;

    flex:
        0 0 8px
        !important;

    border-radius:
        50%
        !important;

    -webkit-box-shadow:
        0 0 6px currentColor;

    box-shadow:
        0 0 6px currentColor;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .club-catalog-page
    .club-catalog-card
    .entity-card__logo--club,

    .club-catalog-page
    .club-catalog-card
    .club-card__network-logo,

    .club-catalog-page
    .club-catalog-card
    .club-card__status-chip {
        transition: none !important;
    }


    .club-catalog-page
    .club-catalog-card
    .club-card__network-logo:hover,

    .club-catalog-page
    .club-catalog-card
    .club-card__network-logo:focus-within {
        -webkit-transform: none !important;
        transform: none !important;
    }
}

/* ===== END STEAM CLUB CATALOG BRAND EFFECTS V1 ===== */

/* ===== STEAM CLUB DETAIL SIDEBAR V12 ===== */

/*
 * Desktop Club sidebar:
 *
 * - main Club navigation/details surface matches the approved
 *   /clubs filter sidebar;
 * - the main surface ends with its real content instead of
 *   stretching down the page;
 * - mobile remains untouched.
 */

@media (min-width: 901px) {

    /* ========================================================
       SIDEBAR TRACK
       Invisible structural column only.
       ======================================================== */

    .site-sidebar--public.site-sidebar--club {
        box-sizing: border-box !important;

        align-self: stretch !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /*
     * Keep a full-height invisible containing block so the
     * separate sticky time card has the complete page distance
     * available for its sticky travel.
     *
     * IMPORTANT:
     * the height belongs to this invisible structural wrapper,
     * never to the visible Club card.
     */
    .site-sidebar--public.site-sidebar--club
    > .site-sidebar__inner {
        box-sizing: border-box !important;

        position: static !important;
        top: auto !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 100% !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /* ========================================================
       MAIN CLUB SIDEBAR CARD
       Exact /clubs panel language.
       ======================================================== */

    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card {
        box-sizing: border-box !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;

        padding:
            14px
            !important;

        overflow: hidden !important;

        color:
            #c7d5e0
            !important;

        /*
         * Same final panel surface used by the approved
         * Poker Clubs filter sidebar.
         */
        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;
    }


    /*
     * Club-specific content remains content only.
     * Do not let old generic public-sidebar styles create
     * another painted card inside club-sidebar-card.
     */
    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card
    [data-public-club-sidebar],

    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card
    .public-sidebar-nav,

    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card
    .public-sidebar-club__details,

    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card
    .club-public-details {
        box-sizing: border-box !important;

        width: 100% !important;
        min-width: 0 !important;

        background: transparent !important;

        border-left: 0 !important;
        border-right: 0 !important;

        border-radius: 0 !important;

        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    /*
     * Main content itself should determine the height of
     * the visible Club panel.
     */
    .site-sidebar--public.site-sidebar--club
    .club-sidebar-card
    [data-public-club-sidebar] {
        height: auto !important;
        min-height: 0 !important;

        margin-bottom: 0 !important;
    }


}

/* ===== END STEAM CLUB DETAIL SIDEBAR V12 ===== */

/* ===== STEAM CLUB TOURNAMENT PREVIEW CLAMP V13 ===== */

/*
 * Club overview tournament previews.
 *
 * Use the same compact text treatment as the full Tournaments
 * archive:
 *
 * - desktop: 6 lines;
 * - mobile: 5 lines;
 * - overflow hidden;
 * - visual ellipsis;
 * - full content remains available through View details.
 *
 * Scope is deliberately limited to tournament cards inside
 * the Club overview content surface.
 */

.club-detail-page.club-catalog-page
.club-detail-content
.club-news-card__body.rich-content {
    display:
        -webkit-box
        !important;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        7;

    line-clamp:
        7;

    max-width:
        100%
        !important;

    max-height:
        calc(1.55em * 7);

    overflow:
        hidden
        !important;

    line-height:
        1.55;

    text-overflow:
        ellipsis;
}


/*
 * Rich-content children must never escape the preview card.
 */
.club-detail-page.club-catalog-page
.club-detail-content
.club-news-card__body.rich-content
* {
    max-width:
        100%
        !important;

    overflow-wrap:
        anywhere;

    word-break:
        normal;
}


@media (max-width: 900px) {

    .club-detail-page.club-catalog-page
    .club-detail-content
    .club-news-card__body.rich-content {
        -webkit-line-clamp:
            7;

        line-clamp:
            7;

        max-height:
            calc(1.55em * 7);
    }
}

/* ===== END STEAM CLUB TOURNAMENT PREVIEW CLAMP V13 ===== */

/* ===== TOURNAMENT CARD FOOTER GAP V1 ===== */

/*
 * Small visual gap between truncated tournament text
 * and the divider / actions footer.
 *
 * Apply only to tournament cards on:
 * - Club page
 * - Tournaments archive page
 *
 * Do not affect individual tournament detail page.
 */
.club-detail-page:not(.club-news-detail) .club-news-card__footer,
.club-tournaments-page:not(.club-news-detail) .club-news-card__footer {
    margin-top: 10px !important;
}

/* ===== END TOURNAMENT CARD FOOTER GAP V1 ===== */


/* ===== FULL REVIEWS STEAM V1 ===== */

/*
 * Standalone:
 *
 * /clubs/{room}/{club}/reviews
 *
 * Reuse the approved visual language from the Reviews preview
 * already shown on Club Detail.
 *
 * Functional behaviour is intentionally untouched:
 * polling, filters, pagination, helpful votes, representative
 * discussion, edit / withdraw and auth modals remain unchanged.
 */


/* ============================================================
   1. PAGE / OUTER SURFACE
   ============================================================ */

.club-reviews-full.club-catalog-page {
    box-sizing:
        border-box;

    color:
        #c7d5e0
        !important;

    background:
        transparent
        !important;

    border:
        0
        !important;

    border-radius:
        0
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface {
    box-sizing:
        border-box;

    width:
        100%;

    min-width:
        0;

    margin:
        0;

    padding:
        0;

    color:
        #c7d5e0;

    background:
        transparent
        !important;

    border:
        0
        !important;

    border-radius:
        0
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


/* ============================================================
   2. H1 + RATING SUMMARY
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews-full__header {
    margin:
        0 0 18px;

    padding:
        0;

    background:
        transparent
        !important;

    border:
        0
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__header
.page-title {
    margin:
        0 0 10px
        !important;

    padding:
        0
        !important;

    color:
        #ffffff
        !important;

    background:
        transparent
        !important;

    border:
        0
        !important;
}


/* Shared rating-summary card lives in site.css; page spacing only here. */
.club-reviews-full.club-catalog-page
.club-reviews-full__header
.club-review-rating-summary {
    margin-top: 0;
    margin-bottom: 14px;
}


/* ============================================================
   3. RATE / REVIEW ACTION CARD
   Same object-card family as Club Detail
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews__action.card {
    position:
        relative;

    overflow:
        hidden;

    margin:
        0 0 18px
        !important;

    color:
        #c7d5e0;

    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        )
        !important;

    border:
        1px solid rgba(103, 143, 171, 0.14)
        !important;

    border-radius:
        3px
        !important;

    -webkit-box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20)
        !important;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20)
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews__action.card
.card__body {
    padding:
        16px
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews__guest-lead {
    margin:
        0;

    color:
        #ffffff;

    font-size:
        1rem;

    font-weight:
        600;
}


.club-reviews-full.club-catalog-page
.club-reviews__guest-copy,
.club-reviews-full.club-catalog-page
.club-reviews__join-copy,
.club-reviews-full.club-catalog-page
.club-reviews__own-status {
    color:
        #c7d5e0
        !important;
}


/* ============================================================
   4. BUTTON FAMILY
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
.btn {
    box-sizing:
        border-box;

    min-height:
        38px;

    color:
        #c7d5e0
        !important;

    background:
        #142433
        !important;

    border:
        1px solid #35566d
        !important;

    border-radius:
        2px
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface
.btn:not(:disabled):hover,
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
.btn:not(:disabled):focus-visible {
    color:
        #ffffff
        !important;

    background:
        #1d3a50
        !important;

    border-color:
        #66c0f4
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface
.btn--primary,
.club-reviews-full.club-catalog-page
.club-reviews__guest-cta,
.club-reviews-full.club-catalog-page
.club-reviews__join-cta {
    color:
        #ffffff
        !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.14)
        !important;

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


/*
 * Helpful Yes / No keeps the compact Steam treatment
 * instead of inheriting the larger generic button height.
 */
.club-reviews-full.club-catalog-page
.club-review-helpful__vote {
    min-height:
        30px
        !important;

    padding:
        0 10px
        !important;

    color:
        #a8b6c2
        !important;

    background:
        #142433
        !important;

    border:
        1px solid #35566d
        !important;
}


/* ============================================================
   5. FILTERS / FORM CONTROLS
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
select,
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
input[type="text"],
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
input[type="search"],
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
input[type="email"],
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
textarea {
    box-sizing:
        border-box;

    color:
        #d6d7d8
        !important;

    background:
        #101b26
        !important;

    border:
        1px solid #35566d
        !important;

    border-radius:
        2px
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface
select:focus,
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
input:focus,
.club-reviews-full.club-catalog-page
.club-reviews-full__surface
textarea:focus {
    border-color:
        #66c0f4
        !important;

    outline:
        none;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface
select
option {
    color:
        #d6d7d8;

    background:
        #101b26;
}


.club-reviews-full.club-catalog-page
.club-reviews-full__surface
label {
    color:
        #dce7ee;
}


/* ============================================================
   6. FULL REVIEW CARDS
   Same gradient as approved preview cards
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews__list {
    gap:
        14px
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-card {
    position:
        relative;

    overflow:
        hidden;

    color:
        #c7d5e0
        !important;

    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        )
        !important;

    border:
        1px solid rgba(103, 143, 171, 0.14)
        !important;

    border-radius:
        3px
        !important;

    -webkit-box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20)
        !important;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.20)
        !important;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}


.club-reviews-full.club-catalog-page
.club-review-card:hover {
    background:
        linear-gradient(
            135deg,
            #29475e 0%,
            #20384b 58%,
            #1b3041 100%
        )
        !important;

    border-color:
        rgba(102, 192, 244, 0.40)
        !important;

    -webkit-box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.30)
        !important;

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

    -webkit-transform:
        translateY(-2px);

    transform:
        translateY(-2px);
}


.club-reviews-full.club-catalog-page
.club-review-card,
.club-reviews-full.club-catalog-page
.club-review-card p,
.club-reviews-full.club-catalog-page
.club-review-card li {
    color:
        #c7d5e0;
}


.club-reviews-full.club-catalog-page
.club-review-card__author,
.club-reviews-full.club-catalog-page
.club-review-card__facet-label {
    color:
        #ffffff
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-card__date,
.club-reviews-full.club-catalog-page
.club-review-card__edited,
.club-reviews-full.club-catalog-page
.club-review-helpful__prompt {
    color:
        #8f98a0
        !important;
}


/* ============================================================
   7. CLUB REPRESENTATIVE DISCUSSION
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-review-discussion {
    color:
        #c7d5e0
        !important;

    background:
        #142433
        !important;

    border:
        1px solid rgba(103, 143, 171, 0.28)
        !important;

    border-radius:
        2px
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-reply,
.club-reviews-full.club-catalog-page
.club-review-reply
p {
    color:
        #c7d5e0
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-reply--representative {
    border-left:
        3px solid #66c0f4
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-reply__badge {
    color:
        #ffffff
        !important;
}


.club-reviews-full.club-catalog-page
.club-review-reply__date {
    color:
        #8f98a0
        !important;
}


/* ============================================================
   8. DESKTOP / MOBILE SPACING
   ============================================================ */

@media (min-width: 901px) {

    .club-reviews-full.club-catalog-page
    .club-reviews-full__surface {
        min-width:
            0;
    }
}


@media (max-width: 900px) {

    /*
     * Same breathing room below breadcrumbs that we approved
     * on Tournament archive/detail.
     */
    .club-reviews-full.club-catalog-page
    >
    .club-reviews-full__surface {
        margin-top:
            16px
            !important;
    }


    .club-reviews-full.club-catalog-page
    .club-reviews-full__header {
        margin-bottom:
            16px;
    }


    .club-reviews-full.club-catalog-page
    .club-review-card:hover {
        -webkit-transform:
            none;

        transform:
            none;
    }
}

/* ===== END FULL REVIEWS STEAM V1 ===== */


/* ===== FULL REVIEWS STEAM V2 ===== */

/*
 * Final desktop geometry + future pagination.
 *
 * Breadcrumbs already match Club Detail.
 * The Reviews content surface currently starts about 11px
 * above the approved Club Detail content position.
 *
 * Move the complete Reviews surface as one unit:
 * H1 + rating + CTA + filters + review cards + pagination.
 *
 * Mobile keeps the dedicated 16px breadcrumb gap from V1.
 */


/* ============================================================
   1. DESKTOP SURFACE ALIGNMENT
   ============================================================ */

@media (min-width: 901px) {

    .club-reviews-full.club-catalog-page
    >
    .club-reviews-full__surface {
        position:
            relative
            !important;

        top:
            11px
            !important;

        margin-bottom:
            11px
            !important;
    }
}


/* ============================================================
   2. FULL REVIEWS PAGINATION
   Steam dark compact controls.
   ============================================================ */

/*
 * Cover both the current pagination partial and ordinary
 * pagination markup so the visual treatment remains correct
 * if the partial is expanded later.
 */

.club-reviews-full.club-catalog-page
.club-reviews-pagination,

.club-reviews-full.club-catalog-page
.pagination,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="page" i],

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="review" i] {
    box-sizing:
        border-box;

    margin:
        20px 0 0
        !important;

    padding:
        0
        !important;

    background:
        transparent
        !important;

    border:
        0
        !important;

    border-radius:
        0
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


/*
 * Horizontal button group.
 */

.club-reviews-full.club-catalog-page
.club-reviews-pagination,

.club-reviews-full.club-catalog-page
.pagination__list,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="page" i]
ul,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="review" i]
ul {
    display:
        flex
        !important;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        flex-start;

    gap:
        10px
        !important;

    margin:
        20px 0 0
        !important;

    padding:
        0
        !important;

    list-style:
        none
        !important;
}


/*
 * Previous / page / next controls.
 */

.club-reviews-full.club-catalog-page
.club-reviews-pagination
a,

.club-reviews-full.club-catalog-page
.club-reviews-pagination
button,

.club-reviews-full.club-catalog-page
.pagination
a,

.club-reviews-full.club-catalog-page
.pagination
button,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="page" i]
a,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="page" i]
button,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="review" i]
a,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="review" i]
button {
    box-sizing:
        border-box;

    display:
        inline-flex
        !important;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        42px;

    min-height:
        36px;

    margin:
        0
        !important;

    padding:
        0 12px
        !important;

    color:
        #c7d5e0
        !important;

    background:
        #142433
        !important;

    border:
        1px solid #35566d
        !important;

    border-radius:
        2px
        !important;

    font-weight:
        600;

    line-height:
        1;

    text-decoration:
        none
        !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;

    transition:
        color 150ms ease,
        background 150ms ease,
        border-color 150ms ease;
}


.club-reviews-full.club-catalog-page
.club-reviews-pagination
a:hover,

.club-reviews-full.club-catalog-page
.club-reviews-pagination
button:not(:disabled):hover,

.club-reviews-full.club-catalog-page
.pagination
a:hover,

.club-reviews-full.club-catalog-page
.pagination
button:not(:disabled):hover,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="page" i]
a:hover,

.club-reviews-full.club-catalog-page
.club-reviews-full__surface
nav[aria-label*="review" i]
a:hover {
    color:
        #ffffff
        !important;

    background:
        #1d3a50
        !important;

    border-color:
        #66c0f4
        !important;
}


/* ============================================================
   3. CURRENT PAGE
   ============================================================ */

.club-reviews-full.club-catalog-page
.pagination
[aria-current="page"],

.club-reviews-full.club-catalog-page
.club-reviews-pagination
[aria-current="page"],

.club-reviews-full.club-catalog-page
.pagination__item--active
a,

.club-reviews-full.club-catalog-page
.pagination__item.is-active
a,

.club-reviews-full.club-catalog-page
.pagination__current {
    color:
        #ffffff
        !important;

    background:
        #31506a
        !important;

    border-color:
        #66c0f4
        !important;

    cursor:
        default;
}


/* ============================================================
   4. DISABLED PREVIOUS / NEXT
   ============================================================ */

.club-reviews-full.club-catalog-page
.club-reviews-pagination
button:disabled,

.club-reviews-full.club-catalog-page
.pagination
button:disabled,

.club-reviews-full.club-catalog-page
.pagination
[aria-disabled="true"],

.club-reviews-full.club-catalog-page
.club-reviews-pagination
[aria-disabled="true"],

.club-reviews-full.club-catalog-page
.pagination__item--disabled
a,

.club-reviews-full.club-catalog-page
.pagination__item.is-disabled
a {
    color:
        #5f7484
        !important;

    background:
        #101b26
        !important;

    border-color:
        #263f52
        !important;

    opacity:
        0.72;

    cursor:
        default
        !important;

    pointer-events:
        none;
}


/* ============================================================
   5. PAGE COUNTER / NON-LINK ITEMS
   ============================================================ */

.club-reviews-full.club-catalog-page
.pagination__current,

.club-reviews-full.club-catalog-page
.pagination__summary,

.club-reviews-full.club-catalog-page
.club-reviews-pagination
span {
    box-sizing:
        border-box;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        36px;

    margin:
        0;

    padding:
        0 12px;

    color:
        #dce7ee;

    background:
        #182b3b;

    border:
        1px solid #35566d;

    border-radius:
        2px;

    font-weight:
        600;
}


/* ============================================================
   6. MOBILE PAGINATION
   ============================================================ */

@media (max-width: 900px) {

    .club-reviews-full.club-catalog-page
    .club-reviews-pagination,

    .club-reviews-full.club-catalog-page
    .pagination__list,

    .club-reviews-full.club-catalog-page
    .club-reviews-full__surface
    nav[aria-label*="page" i]
    ul,

    .club-reviews-full.club-catalog-page
    .club-reviews-full__surface
    nav[aria-label*="review" i]
    ul {
        gap:
            8px
            !important;
    }


    .club-reviews-full.club-catalog-page
    .club-reviews-pagination
    a,

    .club-reviews-full.club-catalog-page
    .club-reviews-pagination
    button,

    .club-reviews-full.club-catalog-page
    .pagination
    a,

    .club-reviews-full.club-catalog-page
    .pagination
    button {
        min-height:
            38px;

        padding:
            0 11px
            !important;
    }
}

/* ===== END FULL REVIEWS STEAM V2 ===== */

/* ===== CLUB TOURNAMENT CARD BOTTOM ALIGNMENT V1 ===== */

/*
 * Club overview tournament grid.
 *
 * Cards in the same grid row must keep their action controls
 * on the same baseline even when one tournament has no image.
 *
 * The previously approved body/footer spacing remains unchanged.
 */
.club-detail-page.club-catalog-page
.club-detail-content
.club-news-card {
    display:
        flex
        !important;

    flex-direction:
        column
        !important;
}

.club-detail-page.club-catalog-page
.club-detail-content
.club-news-card__footer {
    margin-top:
        auto
        !important;
}

/* ===== END CLUB TOURNAMENT CARD BOTTOM ALIGNMENT V1 ===== */

/* ===== TOURNAMENT LIKE AUTH MODAL VIEWPORT FIX V4 ===== */

/*
 * The page-level tournament Like auth modal is intentionally
 * rendered inside the Steam page root so it inherits the
 * approved dark modal design.
 *
 * The outer page uses stack spacing for direct children.
 * A margin applied to the fixed .site-modal shifts its
 * viewport backdrop down and exposes a thin strip at the top.
 *
 * Keep the modal inside the Steam scope, but explicitly remove
 * any stack-generated outer spacing from this one modal.
 */
#club-news-like-auth-modal {
    margin:
        0
        !important;

    margin-top:
        0
        !important;

    margin-block-start:
        0
        !important;
}

/* ===== END TOURNAMENT LIKE AUTH MODAL VIEWPORT FIX V4 ===== */
/* ===== FULL REVIEWS STATUS PREVIEW SPACING V6 ===== */

/*
 * Withdrawn / hidden review notice on standalone Reviews page.
 *
 * Match the exact body spacing used by the Reviews preview
 * on Club Detail:
 *
 *     .card__body { padding: var(--space-5); }
 *
 * No artificial height, min-height, flex or grid.
 * Equal top/bottom padding provides the same natural
 * vertical alignment as the Club page.
 */

.club-reviews-full.club-catalog-page
.club-reviews__action.card:has(
    > .card__body > .club-reviews__withdrawn
)
> .card__body,

.club-reviews-full.club-catalog-page
.club-reviews__action.card:has(
    > .card__body > .club-reviews__hidden
)
> .card__body {
    padding:
        var(--space-5)
        var(--space-5)
        var(--space-1)
        !important;
}


.club-reviews-full.club-catalog-page
.club-reviews__action.card
.club-reviews__withdrawn,

.club-reviews-full.club-catalog-page
.club-reviews__action.card
.club-reviews__hidden {
    margin:
        0
        !important;
}

/* ===== END FULL REVIEWS STATUS PREVIEW SPACING V6 ===== */


/* ============================================================
   POKER UNION DETAIL — CLUB DETAIL VISUAL SYSTEM
   ============================================================ */

.union-detail-page .union-detail-hero__meta {
    min-width: 0;
}

.union-detail-page .union-detail-hero__meta .entity-meta {
    margin: 0;
}

.union-detail-page .union-detail-hero__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.union-detail-page .union-detail-hero__room-logo {
    text-decoration: none;
}

.union-detail-page .union-detail-description__body {
    white-space: normal;
}

.union-detail-page .union-detail-clubs__grid {
    align-items: stretch;
}

.union-detail-page .union-detail-club-card {
    min-height: 0 !important;
}

.union-detail-page .union-detail-club-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin: 0 0 12px;
}

.union-detail-page .union-detail-club-card__room-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin: 0 0 0 auto;
    text-decoration: none;
}

.union-detail-page .union-detail-club-card__room-logo img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.union-detail-section__footer {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--space-5);
}

.union-tournament-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.union-tournament-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.union-tournament-card > .card__body {
    flex: 1 1 auto;
}

.union-tournament-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.union-tournament-card__title {
    min-width: 0;
    margin: 0;
}

.union-tournament-card__meta {
    margin-bottom: var(--space-4);
}

.union-tournament-card__times {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.union-tournament-time {
    display: grid;
    grid-template-columns: minmax(80px, auto) minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(8, 18, 29, 0.24);
}

.union-tournament-time__label {
    font-size: var(--text-sm);
    font-weight: 700;
}

.union-tournament-time__value {
    min-width: 0;
    font-size: var(--text-sm);
}

.union-tournament-time__zone {
    display: block;
    margin-top: 3px;
    opacity: 0.72;
}

@media (max-width: 900px) {
    .union-tournament-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .union-detail-section__footer .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .union-tournament-time {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .union-tournament-card__header {
        flex-direction: column;
    }
}

/* ===== END POKER UNION DETAIL ===== */

/* ===== UNION DETAIL CLUB CARDS V1 ===== */


/* ============================================================
   CLUB GRID
   ============================================================ */

.union-detail-page
.union-detail-clubs__grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(300px, 336px)
        )
        !important;

    align-items: stretch !important;

    gap: 16px !important;
}


/* ============================================================
   CLUB CARD — STEAM DARK SURFACE
   ============================================================ */

.union-detail-page
.union-detail-club-card {
    overflow: hidden !important;

    min-width: 0 !important;

    color: #c7d5e0 !important;

    background:
        linear-gradient(
            145deg,
            #1d3142 0%,
            #172838 55%,
            #101822 100%
        )
        !important;

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

    border-radius: 3px !important;

    -webkit-box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035)
        !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035)
        !important;

    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease
        !important;
}


.union-detail-page
.union-detail-club-card:hover {
    border-color:
        rgba(102, 192, 244, 0.48)
        !important;

    -webkit-box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05)
        !important;

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05)
        !important;

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


.union-detail-page
.union-detail-club-card
> .card__body {
    padding: 16px !important;
}


/* ============================================================
   TOP ROW — CLUB AVATAR + ROOM LOGO
   ============================================================ */

.union-detail-page
.union-detail-club-card__top {
    display: flex !important;

    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 14px !important;

    margin: 0 0 12px !important;
}


.union-detail-page
.union-detail-club-card
.entity-card__logo--club {
    box-sizing: border-box !important;

    width: 76px !important;
    height: 76px !important;

    min-width: 76px !important;
    min-height: 76px !important;

    margin: 0 !important;
    padding: 5px !important;

    overflow: hidden !important;

    background:
        linear-gradient(
            145deg,
            rgba(49, 80, 106, 0.88) 0%,
            rgba(23, 37, 51, 0.92) 60%,
            rgba(16, 24, 34, 0.96) 100%
        )
        !important;

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

    border-radius: 3px !important;

    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 5px 14px rgba(0, 0, 0, 0.24)
        !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 5px 14px rgba(0, 0, 0, 0.24)
        !important;
}


.union-detail-page
.union-detail-club-card
.entity-card__logo--club
img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    border-radius: 2px !important;
}


/*
 * Poker Room tile uses the same frosted language as Union Hero.
 */
.union-detail-page
.union-detail-club-card__room-logo {
    box-sizing: border-box !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 4px !important;

    overflow: hidden !important;

    background:
        linear-gradient(
            145deg,
            rgba(49, 80, 106, 0.78) 0%,
            rgba(23, 37, 51, 0.82) 58%,
            rgba(16, 24, 34, 0.88) 100%
        )
        !important;

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

    border-radius: 2px !important;

    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.22)
        !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.22)
        !important;

    transition:
        border-color 140ms ease,
        background 140ms ease,
        transform 140ms ease
        !important;
}


.union-detail-page
.union-detail-club-card__room-logo:hover,
.union-detail-page
.union-detail-club-card__room-logo:focus-visible {
    background:
        linear-gradient(
            145deg,
            rgba(49, 80, 106, 0.94) 0%,
            rgba(34, 60, 81, 0.94) 58%,
            rgba(20, 36, 51, 0.96) 100%
        )
        !important;

    border-color: #66c0f4 !important;

    outline: none !important;

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


.union-detail-page
.union-detail-club-card__room-logo
img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
}


/* ============================================================
   CARD TYPOGRAPHY
   ============================================================ */

.union-detail-page
.union-detail-club-card
.club-catalog-card__title {
    margin:
        0
        0
        8px
        !important;

    color: #f2f6fa !important;

    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


.union-detail-page
.union-detail-club-card
.entity-card__meta {
    margin:
        0
        0
        10px
        !important;
}


.union-detail-page
.union-detail-club-card
.badge--verified {
    color: #bfe6fa !important;

    background:
        rgba(102, 192, 244, 0.09)
        !important;

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

    border-radius: 2px !important;

    -webkit-box-shadow:
        inset 0 0 10px rgba(102, 192, 244, 0.04)
        !important;

    box-shadow:
        inset 0 0 10px rgba(102, 192, 244, 0.04)
        !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__excerpt {
    margin:
        0
        0
        10px
        !important;

    color: #b8c7d3 !important;

    font-size: 0.875rem !important;
    line-height: 1.55 !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__terms {
    margin: 0 0 10px !important;
    min-width: 0 !important;
    max-width: 100% !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__terms-label {
    color: #c7d5e0 !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__terms-text {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    margin: 0.25em 0 0 !important;
    max-height: calc(1.45em * 3) !important;
    color: #b8c7d3 !important;
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}


.union-detail-page
.union-detail-club-card
.club-card__read-more {
    margin:
        auto
        0
        0
        !important;
}


.union-detail-page
.union-detail-club-card
.text-link {
    color: #66c0f4 !important;
}


.union-detail-page
.union-detail-club-card
.text-link:hover,
.union-detail-page
.union-detail-club-card
.text-link:focus-visible {
    color: #ffffff !important;
}


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

.union-detail-page
.union-detail-club-card
.club-catalog-card__footer {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    padding: 12px 16px !important;

    background:
        rgba(8, 16, 24, 0.42)
        !important;

    border-top:
        1px solid
        rgba(102, 192, 244, 0.16)
        !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__view-button {
    min-height: 38px !important;

    color: #dce7ee !important;

    background:
        #142433
        !important;

    border:
        1px solid
        #35566d
        !important;

    border-radius: 2px !important;
}


.union-detail-page
.union-detail-club-card
.club-catalog-card__view-button:hover,
.union-detail-page
.union-detail-club-card
.club-catalog-card__view-button:focus-visible {
    color: #ffffff !important;

    background:
        #22384a
        !important;

    border-color:
        #66c0f4
        !important;

    outline: none !important;
}


.union-detail-page
.union-detail-club-card
.club-card-actions {
    display: flex !important;

    align-items: center !important;

    gap: 8px !important;
}


.union-detail-page
.union-detail-club-card
.club-favorite-button,
.union-detail-page
.union-detail-club-card
.club-share-button {
    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;

    background:
        #142433
        !important;

    border:
        1px solid
        #35566d
        !important;

    border-radius: 2px !important;

    -webkit-box-shadow:
        none
        !important;

    box-shadow:
        none
        !important;
}


.union-detail-page
.union-detail-club-card
.club-favorite-button:hover,
.union-detail-page
.union-detail-club-card
.club-favorite-button:focus-visible,
.union-detail-page
.union-detail-club-card
.club-share-button:hover,
.union-detail-page
.union-detail-club-card
.club-share-button:focus-visible {
    background:
        #22384a
        !important;

    border-color:
        #66c0f4
        !important;

    outline: none !important;
}


/* ============================================================
   VIEW ALL CLUBS
   ============================================================ */

.union-detail-page
.union-detail-section__footer {
    margin-top: 16px !important;
}


.union-detail-page
.union-detail-section__footer
.btn--secondary {
    color: #dce7ee !important;

    background: #142433 !important;

    border:
        1px solid
        #35566d
        !important;

    border-radius: 2px !important;
}


.union-detail-page
.union-detail-section__footer
.btn--secondary:hover,
.union-detail-page
.union-detail-section__footer
.btn--secondary:focus-visible {
    color: #ffffff !important;

    background: #22384a !important;

    border-color: #66c0f4 !important;

    outline: none !important;
}


/* ============================================================
   TOURNAMENT EMPTY STATE
   ============================================================ */

.union-detail-page
.union-detail-tournaments
.empty-state {
    color: #9fb0be !important;

    background:
        linear-gradient(
            145deg,
            rgba(29, 49, 66, 0.82) 0%,
            rgba(20, 36, 51, 0.88) 100%
        )
        !important;

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

    border-radius: 3px !important;

    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025)
        !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025)
        !important;
}


.union-detail-page
.union-detail-tournaments
.empty-state__text {
    color: #9fb0be !important;
}


@media (max-width: 520px) {

    .union-detail-page
    .union-detail-clubs__grid {
        grid-template-columns:
            minmax(0, 1fr)
            !important;
    }


    .union-detail-page
    .union-detail-club-card
    > .card__body {
        padding: 14px !important;
    }


    .union-detail-page
    .union-detail-club-card
    .entity-card__logo--club {
        width: 68px !important;
        height: 68px !important;

        min-width: 68px !important;
        min-height: 68px !important;
    }

}

/* ===== END UNION DETAIL CLUB CARDS V1 ===== */

/* ===== SHARED STEAM TOURNAMENT PAGINATION ===== */

/*
 * ONE pagination control shared by:
 *
 * - /clubs/.../tournaments
 * - /unions/...#union-tournaments
 *
 * This block deliberately comes from clubs-steam-preview.css,
 * which is loaded after site.css, and explicitly replaces the
 * legacy white / rounded .club-news-pagination treatment.
 */

.steam-tournament-pagination {
    margin: 20px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


.steam-tournament-pagination .pagination {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


.steam-tournament-pagination .pagination__list {
    display: flex !important;

    align-items: center !important;
    justify-content: flex-start !important;

    flex-wrap: wrap !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.steam-tournament-pagination .pagination__item,
.steam-tournament-pagination
.pagination__item + .pagination__item {
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Previous / Next */

.steam-tournament-pagination .pagination__link {
    box-sizing: border-box !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 42px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #c7d5e0 !important;

    background: #142433 !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    font-weight: 600 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transform: none !important;

    transition:
        color 140ms ease,
        background-color 140ms ease,
        border-color 140ms ease !important;
}


.steam-tournament-pagination
a.pagination__link:hover,
.steam-tournament-pagination
a.pagination__link:focus-visible {
    color: #ffffff !important;

    background: #1d3a50 !important;

    border-color: #66c0f4 !important;

    box-shadow: none !important;

    transform: none !important;
}


.steam-tournament-pagination
a.pagination__link:focus-visible {
    outline:
        2px solid rgba(102, 192, 244, 0.28) !important;

    outline-offset: 2px !important;
}


/* Page X of Y */

.steam-tournament-pagination .pagination__summary,
.steam-tournament-pagination .pagination__current {
    box-sizing: border-box !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 42px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #dce7ee !important;

    background: #182b3b !important;

    border: 1px solid #35566d !important;
    border-radius: 2px !important;

    font-weight: 600 !important;
    line-height: 1 !important;

    white-space: nowrap !important;

    box-shadow: none !important;
}


/* Disabled Previous / Next */

.steam-tournament-pagination
.pagination__link--disabled {
    color: #5f7484 !important;

    background: #101b26 !important;

    border-color: #263f52 !important;
    border-radius: 2px !important;

    opacity: 0.72 !important;

    box-shadow: none !important;

    cursor: default !important;

    pointer-events: none !important;

    transform: none !important;
}


.steam-tournament-pagination
.pagination__link--disabled:hover,
.steam-tournament-pagination
.pagination__link--disabled:focus,
.steam-tournament-pagination
.pagination__link--disabled:focus-visible {
    color: #5f7484 !important;

    background: #101b26 !important;

    border-color: #263f52 !important;

    box-shadow: none !important;

    transform: none !important;
}


/*
 * Keep the existing Previous / Next arrows from the shared
 * pagination partial, but do not allow old spacing rules to
 * distort the compact controls.
 */

.steam-tournament-pagination
.pagination__item:first-child
.pagination__link::before {
    margin-right: 7px !important;
}


.steam-tournament-pagination
.pagination__item:last-child
.pagination__link::after {
    margin-left: 7px !important;
}


@media (max-width: 640px) {

    .steam-tournament-pagination {
        margin: 18px 0 0 !important;
    }


    .steam-tournament-pagination
    .pagination__list {
        gap: 8px !important;
    }


    .steam-tournament-pagination
    .pagination__item:nth-child(2) {
        flex: 0 0 auto !important;
    }


    .steam-tournament-pagination
    .pagination__link,
    .steam-tournament-pagination
    .pagination__summary,
    .steam-tournament-pagination
    .pagination__current {
        width: auto !important;

        min-height: 38px !important;

        padding-left: 11px !important;
        padding-right: 11px !important;

        border-radius: 2px !important;
    }
}

/* ===== END SHARED STEAM TOURNAMENT PAGINATION ===== */


/* ===== SHARED TOURNAMENT MEDIA SLOT BACKGROUND ===== */

/*
 * Every tournament image lives inside the same dark media surface.
 *
 * This means:
 * - a card without an image uses this background;
 * - a portrait / narrow image gets the same background around it;
 * - a small image gets the same background around it;
 * - image proportions are preserved instead of being cropped.
 */


/* Union detail tournament cards. */
.union-detail-tournaments
.club-news-card__image,

/* Club overview tournament cards. */
.club-detail-page.club-catalog-page
#club-news
.club-news-card__image,

/* Full Club tournaments archive. */
.club-tournaments-page
.club-news-card__image {
    background:
        #152b3b
        !important;
}


/*
 * Keep the complete image visible.
 * Any unused part of the fixed media area shows the surface above.
 */
.union-detail-tournaments
.club-news-card__image
img,

.club-detail-page.club-catalog-page
#club-news
.club-news-card__image
img,

.club-tournaments-page
.club-news-card__image
img {
    width:
        100%
        !important;

    height:
        100%
        !important;

    object-fit:
        contain
        !important;

    object-position:
        center
        center
        !important;

    background:
        transparent
        !important;
}


/* Empty slots use exactly the same media surface. */
.union-detail-tournaments
.club-news-card__image--placeholder,

.club-detail-page.club-catalog-page
#club-news
.club-news-card__image--placeholder,

.club-tournaments-page
.club-news-card__image--placeholder {
    background:
        #152b3b
        !important;
}

/* ===== END SHARED TOURNAMENT MEDIA SLOT BACKGROUND ===== */


/* ===== UNION TOURNAMENT MEDIA COLOR PARITY ===== */

/*
 * Keep Union tournament media slots visually identical
 * to the Club overview tournament media slots.
 *
 * Club reference color: #152b3b.
 */
.union-detail-page
.union-detail-tournaments
.club-news-card
.club-news-card__image,

.union-detail-page
.union-detail-tournaments
.club-news-card
.club-news-card__image--placeholder {
    background: #152b3b !important;
    background-color: #152b3b !important;
}

/* ===== END UNION TOURNAMENT MEDIA COLOR PARITY ===== */


/* ===== UNION DESCRIPTION RICH TEXT ===== */

/*
 * Preserve the HTML paragraphs from the October CMS rich editor,
 * but keep the same typography/color as the public Union page.
 */
.union-detail-page
.union-detail-description__body {
    margin: 0 !important;
    padding: 0 !important;

    color: #d7e3ed !important;
}


/* Paragraph rhythm without extra space above/below the whole block. */
.union-detail-page
.union-detail-description__body p {
    margin: 0 0 14px !important;

    color: inherit !important;
}


.union-detail-page
.union-detail-description__body p:first-child {
    margin-top: 0 !important;
}


.union-detail-page
.union-detail-description__body p:last-child {
    margin-bottom: 0 !important;
}


/*
 * Rich editor inline formatting must not reintroduce
 * the default dark rich-content text color.
 */
.union-detail-page
.union-detail-description__body strong,

.union-detail-page
.union-detail-description__body b,

.union-detail-page
.union-detail-description__body em,

.union-detail-page
.union-detail-description__body i,

.union-detail-page
.union-detail-description__body span,

.union-detail-page
.union-detail-description__body li {
    color: inherit !important;
}


/* Lists from the CMS editor keep normal spacing. */
.union-detail-page
.union-detail-description__body ul,

.union-detail-page
.union-detail-description__body ol {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}


/* No artificial bottom gap after the final rich-text element. */
.union-detail-page
.union-detail-description__body > :first-child {
    margin-top: 0 !important;
}


.union-detail-page
.union-detail-description__body > :last-child {
    margin-bottom: 0 !important;
}

/* ===== END UNION DESCRIPTION RICH TEXT ===== */

/* ===== FULL REVIEWS FILTER CONTROL HEIGHT PARITY ===== */

/*
 * Sort, Rating and Apply must have the same rendered height.
 * Base form controls use 44px, so the Apply action follows
 * that exact control height on the full Reviews page only.
 */
.club-reviews-full
.club-review-filters__actions
.btn {
    box-sizing: border-box !important;

    height: 44px !important;
    min-height: 44px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ===== END FULL REVIEWS FILTER CONTROL HEIGHT PARITY ===== */

/* ===== CLUB TOURNAMENT MODAL READER V2 ===== */

/*
 * Card preview:
 *
 * - six visible text lines;
 * - native ellipsis at the end;
 * - no partially visible seventh line;
 * - one complete line of breathing room before the divider.
 *
 * Block elements are flattened only inside the small card preview.
 * The modal remains normal rich text.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body {
    position: relative;

    display: -webkit-box !important;

    -webkit-box-orient: vertical !important;

    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;

    max-height: calc(1.55em * 6) !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    overflow: hidden !important;

    line-height: 1.55 !important;

    text-overflow: ellipsis !important;
}


/*
 * Rich editor paragraphs/lists are block elements.
 * Inside a line-clamped preview they can expose the top edge
 * of the next line. Flatten them only in the card preview so
 * the clamp behaves as one continuous text flow.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body p,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body ul,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body ol,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body li,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body blockquote,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h1,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h2,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h3,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h4,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h5,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body h6 {
    display: inline !important;

    margin: 0 !important;
    padding: 0 !important;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body p::after,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body li::after,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__body blockquote::after {
    content: " ";
}


/*
 * Read more exists only when the six-line preview really
 * overflows. Keep one full text line empty before the divider.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post.is-truncated
.club-tournament-post__footer {
    margin-top: 1.55em !important;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__footer[hidden] {
    display: none !important;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__footer {
    justify-content: flex-start !important;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__toggle {
    appearance: none;

    margin: 0 !important;
    padding: 0 !important;

    color: #66c0f4 !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__toggle:hover,

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__toggle:focus-visible {
    color: #ffffff !important;

    text-decoration: underline;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post__toggle:focus-visible {
    outline: 2px solid rgba(102, 192, 244, 0.32);
    outline-offset: 4px;
}


/* ============================================================
   Reader modal
   ============================================================ */

.club-tournament-reader-modal
.club-tournament-reader-modal__dialog {
    width: min(
        860px,
        calc(100vw - 32px)
    ) !important;

    max-width: 860px !important;

    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__content {
    display: flex !important;
    flex-direction: column !important;

    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;

    overflow: hidden !important;
}


.club-tournament-reader-modal
.site-modal__header {
    flex: 0 0 auto;
}


/*
 * Only the post itself scrolls.
 * The underlying Club page remains at its current scroll position.
 */

.club-tournament-reader-modal
.club-tournament-reader-modal__body {
    min-height: 0;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior: contain;

    scrollbar-gutter: stable;
}


.club-tournament-reader-modal__meta {
    display: block;

    margin: 0 0 14px;

    color: #8f98a0;
}


.club-tournament-reader-modal__media {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 0 18px;

    padding: 0;

    overflow: hidden;

    background: #152b3b;
}


.club-tournament-reader-modal__image {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: 440px;

    object-fit: contain;
    object-position: center;
}


.club-tournament-reader-modal__text {
    margin: 0 !important;
    padding: 0 !important;

    color: #d7e3ed !important;
}


.club-tournament-reader-modal__text > :first-child {
    margin-top: 0 !important;
}


.club-tournament-reader-modal__text > :last-child {
    margin-bottom: 0 !important;
}


@media (max-width: 640px) {

    .club-tournament-reader-modal
    .club-tournament-reader-modal__dialog {
        width: calc(100vw - 20px) !important;

        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
    }


    .club-tournament-reader-modal
    .club-tournament-reader-modal__content {
        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
    }


    .club-tournament-reader-modal__image {
        max-height: 52vh;
        max-height: 52dvh;
    }
}

/* ===== END CLUB TOURNAMENT MODAL READER V2 ===== */

/* ===== CLUB TOURNAMENT READER STEAM V3 ===== */


/* ============================================================
   1. TOURNAMENT CARD ROW FOOTER ALIGNMENT
   ============================================================ */

/*
 * Cards in one grid row must stretch to the same height.
 *
 * This lets the shorter-title card grow downward in its
 * text/free-space area while keeping the divider + Read more
 * on exactly the same horizontal line as its neighbour.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-news-list {
    align-items: stretch !important;
}


.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post {
    display: flex !important;
    flex-direction: column !important;

    height: 100% !important;
    min-height: 100% !important;
}


/*
 * Keep at least one text-line worth of breathing room
 * between the truncated text and the footer divider.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post.is-truncated
.club-tournament-post__body {
    margin-bottom: 1.55em !important;
}


/*
 * The remaining free height belongs visually to the text area.
 * Footer itself always sits at the bottom of the stretched card.
 */

.club-detail-page.club-catalog-page
:is(#club-news, #union-tournaments, #room-tournaments, #tournaments, [data-tournament-catalog-grid])
.club-tournament-post.is-truncated
.club-tournament-post__footer {
    /*
     * The shared actions row now owns bottom placement.
     * Do not push Read more to the bottom inside that row.
     */
    margin-top: 0 !important;
}


/* ============================================================
   2. TOURNAMENT READER — STEAM SURFACE
   ============================================================ */

/*
 * Keep the reader above every page control,
 * including the fixed Back to top button.
 */

.club-tournament-reader-modal {
    z-index: 15000 !important;
}


.club-tournament-reader-modal
.site-modal__backdrop {
    background:
        rgba(7, 15, 23, 0.86)
        !important;

    -webkit-backdrop-filter:
        blur(2px);

    backdrop-filter:
        blur(2px);
}


.club-tournament-reader-modal
.club-tournament-reader-modal__dialog {
    width:
        min(
            860px,
            calc(100vw - 32px)
        )
        !important;

    max-width:
        860px
        !important;

    max-height:
        calc(100vh - 32px)
        !important;

    max-height:
        calc(100dvh - 32px)
        !important;

    margin:
        auto
        !important;

    color:
        #c7d5e0
        !important;

    background:
        transparent
        !important;

    border:
        0
        !important;

    border-radius:
        2px
        !important;

    box-shadow:
        none
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__content {
    display:
        flex
        !important;

    flex-direction:
        column
        !important;

    max-height:
        calc(100vh - 32px)
        !important;

    max-height:
        calc(100dvh - 32px)
        !important;

    overflow:
        hidden
        !important;

    color:
        #c7d5e0
        !important;

    background:
        linear-gradient(
            180deg,
            #20394c 0%,
            #172b3b 100%
        )
        !important;

    border:
        1px solid #3d6078
        !important;

    border-radius:
        2px
        !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.58)
        !important;
}


/* ============================================================
   3. FIXED MODAL HEADER
   ============================================================ */

.club-tournament-reader-modal
.site-modal__header {
    flex:
        0 0 auto
        !important;

    display:
        flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        space-between
        !important;

    gap:
        18px
        !important;

    margin:
        0
        !important;

    padding:
        18px 20px
        !important;

    background:
        #1b3243
        !important;

    border-bottom:
        1px solid rgba(102, 192, 244, 0.20)
        !important;
}


.club-tournament-reader-modal
.site-modal__title {
    min-width:
        0;

    margin:
        0
        !important;

    padding:
        0
        !important;

    color:
        #f5f7fa
        !important;

    font-size:
        26px
        !important;

    font-weight:
        700
        !important;

    line-height:
        1.2
        !important;

    overflow-wrap:
        anywhere;
}


/* ============================================================
   4. CLOSE BUTTON
   ============================================================ */

.club-tournament-reader-modal
.site-modal__close {
    flex:
        0 0 36px;

    display:
        inline-flex
        !important;

    align-items:
        center
        !important;

    justify-content:
        center
        !important;

    width:
        36px
        !important;

    height:
        36px
        !important;

    min-width:
        36px
        !important;

    min-height:
        36px
        !important;

    margin:
        0
        !important;

    padding:
        0
        !important;

    color:
        #c7d5e0
        !important;

    background:
        #132838
        !important;

    border:
        1px solid #3b5c72
        !important;

    border-radius:
        2px
        !important;

    box-shadow:
        none
        !important;

    font-size:
        20px
        !important;

    font-weight:
        400
        !important;

    line-height:
        1
        !important;

    cursor:
        pointer;
}


.club-tournament-reader-modal
.site-modal__close:hover,

.club-tournament-reader-modal
.site-modal__close:focus-visible {
    color:
        #ffffff
        !important;

    background:
        #214a64
        !important;

    border-color:
        #66c0f4
        !important;
}


/* ============================================================
   5. SCROLLABLE POST BODY
   ============================================================ */

.club-tournament-reader-modal
.club-tournament-reader-modal__body {
    min-height:
        0
        !important;

    margin:
        0
        !important;

    padding:
        20px
        !important;

    overflow-x:
        hidden
        !important;

    overflow-y:
        auto
        !important;

    color:
        #c7d5e0
        !important;

    background:
        #172b3b
        !important;

    overscroll-behavior:
        contain;

    scrollbar-gutter:
        stable;

    scrollbar-width:
        thin;

    scrollbar-color:
        #46677c #122431;
}


/* WebKit scrollbar. */

.club-tournament-reader-modal
.club-tournament-reader-modal__body::-webkit-scrollbar {
    width:
        10px;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__body::-webkit-scrollbar-track {
    background:
        #122431;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__body::-webkit-scrollbar-thumb {
    background:
        #46677c;

    border:
        2px solid #122431;

    border-radius:
        10px;
}


/* ============================================================
   6. DATE
   ============================================================ */

.club-tournament-reader-modal
.club-tournament-reader-modal__meta {
    display:
        block;

    margin:
        0 0 16px
        !important;

    padding:
        0
        !important;

    color:
        #8fa4b5
        !important;

    font-size:
        14px
        !important;
}


/* ============================================================
   7. IMAGE SURFACE
   ============================================================ */

.club-tournament-reader-modal
.club-tournament-reader-modal__media {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    margin:
        0 0 20px
        !important;

    padding:
        0;

    overflow:
        hidden;

    background:
        #152b3b
        !important;

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


.club-tournament-reader-modal
.club-tournament-reader-modal__image {
    display:
        block;

    width:
        100%
        !important;

    height:
        auto
        !important;

    max-width:
        100%
        !important;

    max-height:
        440px
        !important;

    object-fit:
        contain
        !important;

    object-position:
        center
        !important;

    background:
        transparent
        !important;
}


/* ============================================================
   8. RICH TEXT
   ============================================================ */

.club-tournament-reader-modal
.club-tournament-reader-modal__text {
    margin:
        0
        !important;

    padding:
        0
        !important;

    color:
        #d7e3ed
        !important;

    font-size:
        15px
        !important;

    line-height:
        1.6
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__text p,

.club-tournament-reader-modal
.club-tournament-reader-modal__text li,

.club-tournament-reader-modal
.club-tournament-reader-modal__text span,

.club-tournament-reader-modal
.club-tournament-reader-modal__text strong,

.club-tournament-reader-modal
.club-tournament-reader-modal__text b,

.club-tournament-reader-modal
.club-tournament-reader-modal__text em,

.club-tournament-reader-modal
.club-tournament-reader-modal__text i {
    color:
        inherit
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__text a {
    color:
        #66c0f4
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__text a:hover {
    color:
        #ffffff
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__text > :first-child {
    margin-top:
        0
        !important;
}


.club-tournament-reader-modal
.club-tournament-reader-modal__text > :last-child {
    margin-bottom:
        0
        !important;
}


/* ============================================================
   9. MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .club-tournament-reader-modal
    .club-tournament-reader-modal__dialog {
        width:
            calc(100vw - 20px)
            !important;

        max-height:
            calc(100vh - 20px)
            !important;

        max-height:
            calc(100dvh - 20px)
            !important;
    }


    .club-tournament-reader-modal
    .club-tournament-reader-modal__content {
        max-height:
            calc(100vh - 20px)
            !important;

        max-height:
            calc(100dvh - 20px)
            !important;
    }


    .club-tournament-reader-modal
    .site-modal__header {
        padding:
            14px 14px
            !important;
    }


    .club-tournament-reader-modal
    .site-modal__title {
        font-size:
            21px
            !important;
    }


    .club-tournament-reader-modal
    .club-tournament-reader-modal__body {
        padding:
            14px
            !important;
    }


    .club-tournament-reader-modal
    .club-tournament-reader-modal__image {
        max-height:
            52vh
            !important;

        max-height:
            52dvh
            !important;
    }
}

/* ===== END CLUB TOURNAMENT READER STEAM V3 ===== */


/* ===== STEAM ROOM CATALOG LOGO FIT V1 ===== */

/*
 * /rooms deliberately carries entity-card__logo--club so the approved
 * /clubs Steam edge, shadow, radius and hover effect are shared.
 *
 * Poker Room artwork differs only in fitting: logos must never crop.
 */
.room-catalog-page
.room-card
.room-catalog-card__logo
img {
    object-fit: contain !important;
    object-position: center !important;
}

/* ===== END STEAM ROOM CATALOG LOGO FIT V1 ===== */


/* ===== ROOM / UNION / CLUB CARD PARITY V2 ===== */

/*
 * /clubs is the visual source of truth.
 *
 * Room and Union cards:
 * - same 80px top-row rhythm;
 * - same Club metadata grid;
 * - same desktop effective card height;
 * - no CSS line clamping;
 * - description shortening remains server-side and word-safe.
 */


/* ------------------------------------------------------------
   ROOM TOP ROW — SAME GEOMETRY AS UNION / CLUB
   ------------------------------------------------------------ */

.room-catalog-page
.room-card
.room-catalog-card__top {
    box-sizing: border-box !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 80px !important;

    gap: 16px !important;

    margin: 0 0 12px !important;
}


/* ------------------------------------------------------------
   ROOM PRIMARY AVATAR — SAME VERTICAL RHYTHM AS UNION
   ------------------------------------------------------------ */

.room-catalog-page
.room-card
.room-catalog-card__top
.entity-card__logo--catalog-primary {
    flex: 0 0 80px !important;

    width: 80px !important;
    height: 80px !important;

    margin: 0 !important;

    align-self: flex-start !important;
}


/* ------------------------------------------------------------
   METADATA — EXACT CLUB CARD RHYTHM
   ------------------------------------------------------------ */

.room-catalog-page
.room-card
.club-card__network-meta,

.union-catalog-page
.union-catalog-card
.club-card__network-meta {
    display: grid !important;

    gap: 6px !important;

    margin: 0 0 14px !important;
    padding: 0 !important;

    list-style: none !important;
}


.room-catalog-page
.room-card
.club-card__network-meta
.entity-meta__item,

.union-catalog-page
.union-catalog-card
.club-card__network-meta
.entity-meta__item {
    display: grid !important;

    grid-template-columns:
        88px
        minmax(0, 1fr)
        !important;

    gap: 6px !important;

    align-items: baseline !important;

    min-width: 0 !important;

    margin: 0 !important;
}


/* ------------------------------------------------------------
   DESCRIPTION — SERVER-SIDE WORD EXCERPT ONLY
   ------------------------------------------------------------ */

.room-catalog-page
.room-card
.club-catalog-card__excerpt,

.union-catalog-page
.union-catalog-card
.club-catalog-card__excerpt {
    display: block !important;

    margin: 0 !important;

    min-height: 0 !important;
    max-height: none !important;

    overflow: visible !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;

    line-clamp: unset !important;
}


/* ------------------------------------------------------------
   DESKTOP CARD HEIGHT — MATCH APPROVED /CLUBS GEOMETRY
   ------------------------------------------------------------ */

@media (min-width: 1200px) {

    .room-catalog-page
    .room-card.club-catalog-card,

    .union-catalog-page
    .union-catalog-card {
        box-sizing: border-box !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}


/* Tablet/mobile remain content-driven. */
@media (max-width: 1199px) {

    .room-catalog-page
    .room-card.club-catalog-card,

    .union-catalog-page
    .union-catalog-card {
        height: auto !important;
        max-height: none !important;
    }
}


/* Narrow metadata follows the Club card mobile pattern. */
@media (max-width: 420px) {

    .room-catalog-page
    .room-card
    .club-card__network-meta
    .entity-meta__item,

    .union-catalog-page
    .union-catalog-card
    .club-card__network-meta
    .entity-meta__item {
        grid-template-columns: 1fr !important;
    }
}

/* ===== END ROOM / UNION / CLUB CARD PARITY V2 ===== */


/* ===== ROOM ACTIVE CLUBS ROW V2 ===== */

/*
 * Room catalog + Room detail:
 * keep both metadata rows on one line:
 *
 * Poker Room: PPPoker
 * Active clubs: 2
 *
 * even though the generic mobile metadata rules switch
 * metadata rows to one-column grid.
 */
.club-catalog-page
.club-catalog-card
.entity-meta__item.room-poker-room-row,

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-active-clubs-row {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;

    gap: 6px !important;

    min-width: 0 !important;

    white-space: nowrap !important;
}

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-poker-room-row
.club-card__meta-label,

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-active-clubs-row
.club-card__meta-label {
    flex: 0 0 auto !important;
}

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-poker-room-row
> span:last-child,

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-active-clubs-row
> span:last-child {
    flex: 0 0 auto !important;
}

.club-catalog-page
.club-catalog-card
.entity-meta__item.room-poker-room-row
.text-link {
    display: inline !important;

    width: auto !important;
    margin: 0 !important;

    white-space: nowrap !important;
}

/* ===== END ROOM ACTIVE CLUBS ROW V2 ===== */


/* ===== TOURNAMENT CURRENT TIME REFERENCE V1 ===== */

/*
 * Tournament post stays free-form.
 *
 * This footer only provides a timezone reference:
 *
 * Your time
 * Club time
 * Difference
 *
 * No tournament start datetime is stored.
 */

.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-tournament-post__actions {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    flex-wrap: nowrap !important;

    gap: 14px !important;

    width: 100%;
    min-width: 0;

    margin-top: auto !important;
    padding-top: 16px;

    border-top:
        1px solid
        rgba(103, 193, 245, 0.12);
}


/*
 * The old Read more footer used to own the divider and
 * bottom alignment itself. It now lives inside the shared
 * actions row.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-tournament-post__actions
> .club-tournament-post__footer {
    flex: 1 1 auto !important;

    align-self: center;

    width: auto !important;
    min-width: 0 !important;

    margin:
        0
        !important;

    padding:
        0
        !important;

    border:
        0
        !important;
}


/*
 * hidden must stay authoritative because
 * club-tournament-cards.js decides whether Read more is needed.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-tournament-post__footer[hidden] {
    display: none !important;
}


/* ------------------------------------------------------------
   TIME PANEL
   ------------------------------------------------------------ */

.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference {
    box-sizing: border-box;

    flex:
        0
        0
        auto;

    min-width: 148px;

    margin-left: auto;

    padding:
        7px
        9px;

    background:
        linear-gradient(
            180deg,
            rgba(27, 51, 69, 0.98),
            rgba(18, 37, 51, 0.98)
        );

    border:
        1px solid
        rgba(102, 192, 244, 0.28);

    border-radius: 3px;

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


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference[hidden] {
    display: none !important;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__row {
    display: flex;

    align-items: baseline;
    justify-content: space-between;

    gap: 12px;

    white-space: nowrap;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__row
+ .tournament-time-reference__row {
    margin-top: 4px;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__label {
    color: #7f98aa;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.25;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__value {
    color: #c7d5e0;

    font-size: 12px;
    font-weight: 700;
    font-variant-numeric:
        tabular-nums;

    line-height: 1.25;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__value--local {
    color: #66c0f4;
}


.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.tournament-time-reference__difference {
    color: #a4d7f5;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 640px) {

    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .club-tournament-post__actions {
        gap: 10px !important;

        padding-top: 14px;
    }


    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .tournament-time-reference {
        min-width: 137px;

        padding:
            6px
            7px;
    }


    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .tournament-time-reference__row {
        gap: 8px;
    }


    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .tournament-time-reference__label {
        font-size: 10px;
    }


    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .tournament-time-reference__value {
        font-size: 11px;
    }
}


/*
 * On the very narrowest cards preserve both controls
 * without allowing the timezone panel to overflow.
 */
@media (max-width: 380px) {

    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .club-tournament-post__actions {
        gap: 8px !important;
    }


    .club-detail-page.club-catalog-page
    :is(
        #club-news,
        #union-tournaments,
        #room-tournaments,
        #tournaments,
        [data-tournament-catalog-grid]
    )
    .tournament-time-reference {
        min-width: 132px;
    }

}

/* ===== END TOURNAMENT CURRENT TIME REFERENCE V1 ===== */


/* ===== SHORT TOURNAMENT POST SPACING V2 ===== */

/*
 * The divider belongs to the following actions block.
 *
 * Therefore short body text needs outer bottom spacing,
 * not inner padding.
 *
 * Match the breathing room already used by truncated cards.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-tournament-post:not(.is-truncated)
.club-tournament-post__body {
    margin-bottom: 1.55em !important;
}

/* ===== END SHORT TOURNAMENT POST SPACING V2 ===== */\n


/* ===== HOMEPAGE TOP CLUBS V1 ===== */

.homepage-page {
    min-width: 0;
}


.homepage-surface
> .homepage-surface__body {
    padding: 0;
    overflow: hidden;
}


.homepage-hero {
    padding:
        var(--space-6)
        var(--space-6)
        var(--space-5);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.homepage-hero__copy {
    max-width: 820px;
}


.homepage-hero__eyebrow,
.homepage-room-section__eyebrow,
.homepage-sidebar-nav__eyebrow {
    display: block;

    margin: 0 0 6px;

    color: var(--text-muted);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.homepage-hero__title {
    margin-bottom: var(--space-3);
}


.homepage-hero__intro {
    max-width: 760px;

    margin:
        0
        0
        var(--space-4);

    color: var(--text-muted);

    line-height: 1.65;
}


.homepage-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}


.homepage-club-groups {
    min-width: 0;
}


.homepage-room-section {
    padding:
        var(--space-5)
        var(--space-6);

    scroll-margin-top: 92px;
}


.homepage-room-section
+ .homepage-room-section {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.homepage-room-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: var(--space-4);

    margin-bottom: var(--space-4);
}


.homepage-room-section__heading {
    min-width: 0;
}


.homepage-room-section__title {
    margin-bottom: 6px;
}


.homepage-room-section__intro {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.55;
}


.homepage-room-section__grid {
    margin-top: var(--space-3);
}


.homepage-room-section__empty {
    margin-top: var(--space-3);
}


.homepage-room-section__footer {
    display: flex;
    justify-content: flex-end;

    margin-top: var(--space-4);
}


.homepage-room-section__view-all {
    min-width: 190px;
}


.homepage-sidebar-nav__header {
    padding:
        0
        0
        var(--space-2);
}


.homepage-sidebar-nav
.account-nav__link {
    scroll-behavior: smooth;
}


@media (max-width: 760px) {

    .homepage-hero {
        padding:
            var(--space-4)
            var(--space-4)
            var(--space-4);
    }


    .homepage-room-section {
        padding:
            var(--space-4)
            var(--space-4);

        scroll-margin-top: 76px;
    }


    .homepage-room-section__header {
        display: block;
    }


    .homepage-room-section__footer {
        justify-content: stretch;
    }


    .homepage-room-section__view-all {
        width: 100%;
        min-width: 0;
    }

}

/* ===== END HOMEPAGE TOP CLUBS V1 ===== */


/* ===== HOMEPAGE TOP CLUBS TITLE POLISH V1 ===== */

/*
 * entity-section__title has legacy styling intended for older
 * light surfaces. Homepage uses the approved dark Steam surface.
 */
.homepage-room-section__title {
    color: #f5f7fa !important;
    font-weight: 700;
}


.homepage-room-section__view-all {
    text-decoration: none;
}

/* ===== END HOMEPAGE TOP CLUBS TITLE POLISH V1 ===== */


/* ===== HOMEPAGE HERO / PREVIEW RHYTHM V1 ===== */

/*
 * Source of truth for heading → content gap:
 * shared H2 rule uses margin-bottom: 18px
 * (steam-global-controls-preview.css).
 *
 * Source of truth for preview → View All gap:
 * .steam-tournament-pagination { margin: 20px 0 0 }
 * used on /dashboard/my-tournaments.
 */
.homepage-page {
    --homepage-heading-content-gap: var(--public-heading-content-gap, 18px);
    --homepage-preview-actions-gap: 20px;
}

/*
 * Catalog surfaces optically lift H1 by -12px for text-only
 * headers. Homepage starts with the X Poker avatar, which must
 * share the same top edge as the filter sidebar panel.
 */
@media (min-width: 901px) {
    .homepage-page
    > .public-page-surface
    > .public-page-surface__body
    > .homepage-hero-header.public-page-surface__header,
    .homepage-page
    > .public-page-surface
    > .club-catalog-surface__body
    > .homepage-hero-header.club-catalog-surface__header {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

.homepage-page
.homepage-hero-header.club-catalog-surface__header,
.homepage-page
.homepage-hero-header.public-page-surface__header {
    margin: 0 0 var(--homepage-heading-content-gap);
}

.homepage-page .homepage-hero-logo {
    margin-top: 0;
}

.homepage-page .homepage-intro,
.homepage-page .homepage-intro.rich-content,
.homepage-page .homepage-intro p,
.homepage-page .homepage-intro li {
    color: #c7d5e0 !important;
}

.homepage-page .homepage-intro strong,
.homepage-page .homepage-intro b,
.homepage-page .homepage-intro em,
.homepage-page .homepage-intro i,
.homepage-page .homepage-intro span {
    color: inherit !important;
}

.homepage-page .homepage-intro p {
    margin: 0 0 14px;
    line-height: 1.65;
}

.homepage-page .homepage-intro p:last-child {
    margin-bottom: 0;
}

.homepage-page .homepage-intro a {
    color: #66c0f4;
    text-decoration: underline;
}

.homepage-page .homepage-intro a:hover,
.homepage-page .homepage-intro a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

/* Shared preview CTA row (homepage + union-detail tournament View All). */
.home-preview-actions {
    margin: var(--homepage-preview-actions-gap, 20px) 0 0;
}

/*
 * Homepage unions reuse .card-grid--clubs (2 desktop columns).
 * Mobile already collapses via shared club-grid breakpoints.
 */
.homepage-page .homepage-union-grid {
    width: 100%;
    max-width: none;
}

/* ===== END HOMEPAGE HERO / PREVIEW RHYTHM V1 ===== */


/* ===== HOMEPAGE FAQ ACCORDION V1 ===== */

/*
 * Native details/summary FAQ after tournaments.
 * Visual language mirrors club-detail Steam FAQ cards.
 */
/* ===== HOMEPAGE SEO EDITORIAL CONTENT V1 ===== */

.homepage-page .homepage-seo-content {
    width: 100%;
    max-width: none;
}

.homepage-page .homepage-seo-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.homepage-page .homepage-seo-section__body {
    width: 100%;
    max-width: none;
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.homepage-page .homepage-seo-section__body > p {
    margin: 0 0 14px;
    color: #c7d5e0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.homepage-page .homepage-seo-section__body > p:last-child {
    margin-bottom: 0;
}

.homepage-page .homepage-seo-section__body strong {
    color: #e6edf3;
    font-weight: 700;
}

.homepage-page .homepage-seo-section__body a {
    color: #66c0f4;
    text-decoration: underline;
}

.homepage-page .homepage-seo-section__body a:hover,
.homepage-page .homepage-seo-section__body a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== END HOMEPAGE SEO EDITORIAL CONTENT V1 ===== */


.homepage-page .homepage-faq {
    width: 100%;
    max-width: none;
}

.homepage-page .homepage-faq > .entity-section__title {
    margin: 0 0 var(--homepage-heading-content-gap) !important;
}

/*
 * Item-to-item spacing source of truth from /club FAQ:
 *   .club-detail-page .club-faq__list { display: grid; gap: 10px; }
 *   .club-detail-content .club-faq__item + .club-faq__item {
 *       margin-top: var(--space-3);
 *   }
 * Both apply on club detail; mirror both here.
 */
.homepage-page .homepage-faq__list {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: none;
}

.homepage-page .homepage-faq__item {
    color: #c7d5e0;
    overflow: hidden;
    background:
        -webkit-linear-gradient(
            315deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.14);
    border-radius: 3px;
    -webkit-box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
}

.homepage-page .homepage-faq__item + .homepage-faq__item {
    margin-top: var(--space-3);
}

.homepage-page
details.homepage-faq__item
> summary.homepage-faq__summary,
.homepage-page .homepage-faq__summary {
    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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 14px;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color 0.15s ease;
    -o-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
}

.homepage-page
details.homepage-faq__item
> summary.homepage-faq__summary::-webkit-details-marker,
.homepage-page .homepage-faq__summary::-webkit-details-marker {
    display: none;
}

.homepage-page
details.homepage-faq__item
> summary.homepage-faq__summary::marker,
.homepage-page .homepage-faq__summary::marker {
    content: "";
    font-size: 0;
}

.homepage-page .homepage-faq__summary:hover {
    background: rgba(102, 192, 244, 0.06);
}

.homepage-page .homepage-faq__summary:focus {
    outline: none;
}

.homepage-page .homepage-faq__summary:focus-visible {
    outline: 1px solid rgba(102, 192, 244, 0.55);
    outline-offset: -1px;
    -webkit-box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
    box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
}

.homepage-page .homepage-faq__question {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 12px;
    color: #ffffff;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.homepage-page .homepage-faq__summary::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    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;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    content: "+";
    width: 1.875rem;
    height: 1.875rem;
    margin: 0;
    color: #66c0f4;
    background: #142433;
    border: 1px solid #35566d;
    border-radius: 2px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.homepage-page
.homepage-faq__item[open]
> .homepage-faq__summary {
    background: rgba(102, 192, 244, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.homepage-page
.homepage-faq__item[open]
> .homepage-faq__summary:hover {
    background: rgba(102, 192, 244, 0.08);
}

.homepage-page
.homepage-faq__item[open]
> .homepage-faq__summary::after {
    content: "\2212";
}

.homepage-page .homepage-faq__answer {
    margin: 0;
    padding: 14px;
    color: #c7d5e0;
    background: #142433;
    font-size: 0.925rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.homepage-page .homepage-faq__answer > p {
    margin: 0;
    max-width: 100%;
    color: #c7d5e0;
}

.homepage-page .homepage-faq__answer > p + p {
    margin-top: 12px;
}

.homepage-page .homepage-faq__answer strong {
    color: #e6edf3;
    font-weight: 700;
}

.homepage-page .homepage-faq__answer a {
    color: #66c0f4;
    text-decoration: underline;
}

.homepage-page .homepage-faq__answer a:hover,
.homepage-page .homepage-faq__answer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .homepage-page .homepage-faq__summary {
        padding: 12px;
        min-height: 2.75rem;
    }

    .homepage-page .homepage-faq__question {
        margin-right: 10px;
        font-size: 0.95rem;
    }

    .homepage-page .homepage-faq__summary::after {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }

    .homepage-page .homepage-faq__answer {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ===== END HOMEPAGE FAQ ACCORDION V1 ===== */


/* ===== CLUB CATALOG PER-PAGE TOOLBAR V1 ===== */

.club-catalog-toolbar {
    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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.club-catalog-toolbar.steam-tournament-pagination {
    margin: 20px 0 0 !important;
}

.club-catalog-toolbar__pagination {
    min-width: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.club-catalog-toolbar__pagination .pagination {
    margin: 0 !important;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.club-catalog-toolbar__per-page {
    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;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 0;
    color: #c7d5e0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.club-catalog-toolbar__label,
.club-catalog-toolbar__suffix {
    margin: 0;
    white-space: nowrap;
}

.club-catalog-toolbar__label {
    margin-right: 8px;
}

.club-catalog-toolbar__suffix {
    margin-left: 8px;
}

.club-catalog-toolbar__select {
    width: auto;
    min-width: 4.5rem;
    max-width: 5.5rem;
    height: 36px;
    margin: 0;
    padding: 0 28px 0 10px;
    color: #c7d5e0 !important;
    background-color: #1b2838 !important;
    border: 1px solid #35566d !important;
    border-radius: 3px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.club-catalog-toolbar__select:hover,
.club-catalog-toolbar__select:focus,
.club-catalog-toolbar__select:focus-visible {
    color: #ffffff !important;
    border-color: #4d7895 !important;
    outline: 1px solid rgba(102, 192, 244, 0.45);
    outline-offset: 1px;
}

@media (max-width: 640px) {
    .club-catalog-toolbar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .club-catalog-toolbar__per-page {
        margin: 12px 0 0;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

/* ===== END CLUB CATALOG PER-PAGE TOOLBAR V1 ===== */


/* ===== HOMEPAGE MOBILE FIND A CLUB V1 ===== */

/*
 * Desktop already has the dedicated left sidebar.
 * This block is only for the existing hamburger navigation.
 */
.site-nav__home-sections {
    display: none;
}


@media (max-width: 900px) {

    .site-nav__list
    > .site-nav__home-sections {
        display: block;

        margin-top: var(--space-3);
        padding-top: var(--space-3);

        border-top:
            1px solid
            rgba(103, 193, 245, 0.18);
    }


    .site-nav__home-sections-label {
        display: block;

        margin:
            0
            var(--space-2)
            var(--space-2);

        color: #8f98a0;

        font-size: 0.72rem;
        font-weight: 700;

        letter-spacing: 0.08em;
        text-transform: uppercase;
    }


    .site-nav__home-sections-list {
        margin: 0;
        padding: 0;

        list-style: none;
    }


    .site-nav__home-sections-list
    > li
    + li {
        margin-top: var(--space-1);
    }


    .site-nav__home-section-link {
        width: 100%;

        color: #c7d5e0;

        background:
            rgba(23, 42, 58, 0.62);

        border:
            1px solid
            rgba(103, 193, 245, 0.2);
    }


    .site-nav__home-section-link:hover,
    .site-nav__home-section-link:focus-visible {
        color: #ffffff;

        background:
            rgba(103, 193, 245, 0.12);

        border-color:
            rgba(103, 193, 245, 0.42);
    }

}

/* ===== END HOMEPAGE MOBILE FIND A CLUB V1 ===== */

/* ===== HOMEPAGE TOURNAMENT FEED V4 — ROOM PARITY ===== */

/*
 * Tournament cards deliberately have no homepage-specific
 * presentation.
 *
 * Cards, images, empty-image placeholders, body truncation,
 * Read more, time reference and reader modal use the shared
 * Poker Room / Union / Club tournament implementation.
 */

.homepage-tournaments {
    margin-top: var(--public-section-gap);
    padding-top: 0;
    border-top: 1px solid rgba(103, 193, 245, 0.14);
    scroll-margin-top: 24px;
}

@media (max-width: 640px) {
    .homepage-tournaments {
        margin-top: var(--public-section-gap);
        padding-top: 0;
    }
}

/* ===== END HOMEPAGE TOURNAMENT FEED V4 — ROOM PARITY ===== */

/* ===== SHARED TOURNAMENT MEDIA BACKGROUND V1 ===== */

/*
 * Tournament image area uses one Steam-blue surface
 * whether the post has an uploaded image or not.
 *
 * This rule is shared by Club, Union, Poker Room
 * and Homepage tournament cards.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-news-card__image {
    background: #152b3b !important;
}

/*
 * Uploaded images sit transparently on the shared media surface.
 * This is especially visible for portrait / narrow images.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-news-card__image img {
    background: transparent !important;
}

/*
 * Empty media area is not interactive.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
        [data-tournament-catalog-grid]
)
.club-news-card__image--placeholder {
    cursor: default !important;
}

/* ===== END SHARED TOURNAMENT MEDIA BACKGROUND V1 ===== */


/* ===== SHARED TOURNAMENT IMAGE INTRINSIC SIZE V1 ===== */

/*
 * Public tournament cards (homepage, /tournaments, club, union, room):
 * keep the uploaded image at its intrinsic size.
 *
 * - small images do NOT upscale to card width
 * - large images shrink with max-width: 100%
 * - aspect ratio stays native (no forced 16:9 fill / crop)
 *
 * Empty placeholders keep the previous 16:9 media footprint
 * so cards without uploads still align.
 */
.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
    [data-tournament-catalog-grid]
)
.club-news-card__image:not(.club-news-card__image--placeholder) {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;

    -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;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    aspect-ratio: auto !important;

    overflow: hidden;
}

.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
    [data-tournament-catalog-grid]
)
.club-news-card__image:not(.club-news-card__image--placeholder)
img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;

    -o-object-fit: contain !important;
    object-fit: contain !important;
    -o-object-position: center center !important;
    object-position: center center !important;
}

.club-detail-page.club-catalog-page
:is(
    #club-news,
    #union-tournaments,
    #room-tournaments,
    #tournaments,
    [data-tournament-catalog-grid]
)
.club-news-card__image--placeholder {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
}

/* ===== END SHARED TOURNAMENT IMAGE INTRINSIC SIZE V1 ===== */


/* ===== HOMEPAGE CLEAN DESIGN V2 ===== */

/*
 * Hero is now pure content: no eyebrow, CTA or divider.
 */
.homepage-hero {
    border-bottom: 0 !important;
}


.homepage-hero__intro {
    margin-bottom: 0;
}


/*
 * Top Poker Clubs uses the shared entity H2 presentation,
 * exactly like Latest Poker Tournaments.
 */
.homepage-room-section__header {
    margin-bottom: 18px;
}


.homepage-room-section__grid {
    margin-top: 0;
}


/*
 * Remove the separator before Latest Poker Tournaments.
 */
.homepage-tournaments {
    padding-top: 0 !important;
    border-top: 0 !important;
}


/* ===== END HOMEPAGE CLEAN DESIGN V2 ===== */


/* ===== HOMEPAGE CLEAN VISUAL V5 ===== */


/* ------------------------------------------------------------
   HERO WIDTH

   Remove the old homepage horizontal padding so the H1,
   description, Top Poker Clubs and tournaments all start and
   finish on exactly the same main-column boundaries.
   ------------------------------------------------------------ */

.homepage-hero {
    padding-left:
        0
        !important;

    padding-right:
        0
        !important;

    border-bottom:
        0
        !important;
}


.homepage-hero__copy,
.homepage-hero__title,
.homepage-hero__intro {
    box-sizing:
        border-box;

    width:
        100%
        !important;

    max-width:
        none
        !important;
}


/* ------------------------------------------------------------
   TOP CLUBS / TOURNAMENTS SHARED WIDTH
   ------------------------------------------------------------ */

.homepage-room-section,
.homepage-tournaments {
    box-sizing:
        border-box;

    width:
        100%
        !important;

    max-width:
        none
        !important;

    padding-left:
        0
        !important;

    padding-right:
        0
        !important;
}


/* ------------------------------------------------------------
   IDENTICAL H2 PRESENTATION
   ------------------------------------------------------------ */

.homepage-room-section
.entity-section__title,

.homepage-tournaments
.entity-section__title {
    margin:
        0
        0
        18px
        !important;

    color:
        #f5f7fa
        !important;

    font-family:
        inherit
        !important;

    font-size:
        1.75rem
        !important;

    font-weight:
        400
        !important;

    line-height:
        1.2
        !important;

    letter-spacing:
        0
        !important;

    text-shadow:
        none
        !important;
}


.homepage-room-section__header {
    margin-bottom:
        0
        !important;

    gap:
        0
        !important;
}


/* ------------------------------------------------------------
   CLUB GRID = TOURNAMENT GRID WIDTH
   ------------------------------------------------------------ */

.homepage-room-section__grid {
    box-sizing:
        border-box;

    width:
        100%
        !important;

    max-width:
        none
        !important;

    margin-top:
        0
        !important;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        )
        !important;
}


.homepage-room-section__grid
.club-catalog-card {
    box-sizing:
        border-box;

    width:
        100%
        !important;

    max-width:
        none
        !important;
}


/* ------------------------------------------------------------
   VIEW ALL BUTTON

   Keep the already approved left-side arrow button.
   ------------------------------------------------------------ */

.homepage-room-section__view-all-btn {
    display:
        inline-flex
        !important;

    align-items:
        center
        !important;

    margin-left:
        0
        !important;

    margin-right:
        auto
        !important;
}


.homepage-room-section
div:has(> .homepage-room-section__view-all-btn),

.homepage-room-section
p:has(> .homepage-room-section__view-all-btn) {
    display:
        flex
        !important;

    justify-content:
        flex-start
        !important;

    text-align:
        left
        !important;
}


/* ------------------------------------------------------------
   AVATAR FALLBACK

   V4 added fallback spans after logo images. A [hidden] fallback
   must really stay hidden while the normal image is available.
   ------------------------------------------------------------ */

.homepage-club-card__avatar-fallback[hidden] {
    display:
        none
        !important;
}


.homepage-club-card__avatar-fallback:not([hidden]) {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        68px;

    height:
        68px;

    box-sizing:
        border-box;

    border:
        1px solid
        rgba(103, 193, 245, 0.28);

    border-radius:
        4px;

    background:
        #142b3d;

    color:
        #67c1f5;

    font-size:
        1.75rem;

    line-height:
        1;
}


/* ------------------------------------------------------------
   TOURNAMENT DIVIDER
   ------------------------------------------------------------ */

.homepage-tournaments {
    padding-top:
        0
        !important;

    border-top:
        0
        !important;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 760px) {

    .homepage-room-section__grid {
        grid-template-columns:
            minmax(0, 1fr)
            !important;
    }

}


/* ===== END HOMEPAGE CLEAN VISUAL V5 ===== */


/* ===== CATALOG CARD FOOTER + HOME GRIDS + ROOM STATUS V1 ===== */

/*
 * Union catalog rows share the tallest card from tablet up.
 * The description slot is clamped, and the footer stays at
 * the bottom of that row. Mobile stays content-sized.
 */
@media (min-width: 641px) {
    .union-catalog-page:not(.poker-room-detail-v2) .card-grid {
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch {
        height: 100%;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch > .card__body {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch > .card__footer {
        margin-top: auto !important;
        position: static !important;
    }

    .union-catalog-page .union-catalog-card__description {
        min-height: calc(1.45em * 3 + 1.75rem);
    }
}

@media (max-width: 640px) {
    .union-catalog-page:not(.poker-room-detail-v2) .card-grid {
        -webkit-box-align: start;
        -webkit-align-items: start;
        -ms-flex-align: start;
        align-items: start;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch {
        height: auto;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch > .card__body {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 auto !important;
        -ms-flex: 0 1 auto !important;
        flex: 0 1 auto !important;
    }

    .union-catalog-page:not(.poker-room-detail-v2) .union-catalog-card.card--stretch > .card__footer {
        margin-top: 0 !important;
        position: static !important;
    }

    .union-catalog-page .union-catalog-card__description {
        min-height: 0;
    }
}

/*
 * Room catalog rows share the height of the tallest card.
 * No fixed pixel height: the grid row sizes the cards,
 * and the footer sits at the bottom of that row.
 */
@media (min-width: 641px) {
    .room-catalog-page .card-grid--rooms {
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .room-catalog-page .card-grid--rooms > .room-card.club-catalog-card {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .room-catalog-page .room-card.card--stretch > .card__body {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
    }

    .room-catalog-page .room-card.card--stretch > .card__footer {
        margin-top: auto !important;
        position: static !important;
    }
}

@media (max-width: 640px) {
    .room-catalog-page .card-grid--rooms > .room-card.club-catalog-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .room-catalog-page .room-card.card--stretch > .card__body {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 auto !important;
        -ms-flex: 0 1 auto !important;
        flex: 0 1 auto !important;
    }

    .room-catalog-page .room-card.card--stretch > .card__footer {
        margin-top: 0 !important;
        position: static !important;
    }
}

.homepage-tournaments .club-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 760px) {
    .homepage-tournaments .club-news-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/*
 * Room detail reuses .club-detail-page. The shared active dot
 * above is already catalog green; this keeps the room indicator
 * on the same #16a34a token.
 */
.poker-room-detail-v2 .club-status-chip.club-detail-hero__status--active .club-detail-hero__status-dot {
    background: #16a34a !important;
    color: #16a34a !important;
    -webkit-box-shadow: 0 0 6px #16a34a !important;
    box-shadow: 0 0 6px #16a34a !important;
}

/* ===== END CATALOG CARD FOOTER + HOME GRIDS + ROOM STATUS V1 ===== */

/*
 * Games & Stakes only.
 * The shared value color #a9bac7 is more specific than a single class,
 * so these states repeat the games group and beat that gray.
 */
.club-public-details__group--games
.club-public-details__value.club-game-availability.club-game-availability--yes {
    color: #16a34a !important;
    font-weight: 700 !important;
}

.club-public-details__group--games
.club-public-details__value.club-game-availability.club-game-availability--no {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.club-public-details__group--games
.club-public-details__value.club-game-availability.club-game-availability--na {
    color: #8f98a0 !important;
    font-weight: 600 !important;
}


/* ===== PUBLIC PAGE VERTICAL RHYTHM V1 ===== */

/*
 * Source of truth (homepage):
 *   H1/H2 → content: --public-heading-content-gap (18px)
 *   content → footer: .site-main padding-bottom (--space-12)
 * Breadcrumb → H1: --public-breadcrumb-title-gap (--space-5)
 *
 * Scope: public catalog/detail/reviews pages that load this CSS.
 * Do not change internal FAQ/card/pagination density.
 */

.club-catalog-page,
.club-reviews-full {
    --public-heading-content-gap: 18px;
    --public-breadcrumb-title-gap: var(--space-5, 1.25rem);
}

/* A. Breadcrumbs → H1 */
.club-catalog-page > .breadcrumbs,
.club-reviews-full > .breadcrumbs {
    margin: 0 0 var(--public-breadcrumb-title-gap) !important;
}

.club-catalog-page.stack--lg > .breadcrumbs + *,
.club-reviews-full.stack--lg > .breadcrumbs + * {
    margin-top: 0 !important;
}

/* B. H1 block → first content (catalog surfaces) */
.club-catalog-page:not(.homepage-page)
.club-catalog-surface__header,
.club-catalog-page:not(.homepage-page)
.public-page-surface__header {
    margin: 0 0 var(--public-heading-content-gap) !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.club-catalog-page:not(.homepage-page)
.public-page-surface__header
.page-title,
.club-catalog-page:not(.homepage-page)
.club-catalog-surface__header
.page-title {
    margin: 0 !important;
}

/* Tournaments: subtitle under H1 is the first semantic content */
.club-catalog-page:not(.homepage-page)
.public-page-surface__header
.page-title + .entity-card__meta {
    margin: var(--public-heading-content-gap) 0 0 !important;
}

/* B. H1 → first content (club/union stacked hero) */
.club-detail-page.club-catalog-page
.club-detail-hero--stacked-title
.club-detail-hero__identity {
    -webkit-row-gap: var(--public-heading-content-gap) !important;
    -moz-row-gap: var(--public-heading-content-gap) !important;
    row-gap: var(--public-heading-content-gap) !important;
}

.club-detail-page.club-catalog-page
.club-detail-hero--stacked-title:not(.club-detail-hero--tournaments)
.club-detail-hero__title {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

/* Reviews full: H1 → rating summary */
.club-reviews-full.club-catalog-page
.club-reviews-full__header
.page-title {
    margin: 0 0 var(--public-heading-content-gap) !important;
}

.club-reviews-full.club-catalog-page
.club-reviews-full__header {
    margin: 0 0 var(--public-heading-content-gap) !important;
}

/*
 * D. Page content → footer divider.
 * .site-main { padding-bottom: var(--space-12) } is authoritative.
 * Remove Reviews optical-alignment hacks that distort bottom rhythm.
 */
.club-reviews-full.club-catalog-page
> .club-reviews-full__surface {
    position: relative !important;
    top: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* C. H2 → content — keep homepage 18px token (defeat older 14px leftovers) */
.club-detail-page.club-catalog-page
.club-detail-content
.entity-section__title,
.club-detail-page.club-catalog-page
.club-detail-content__section
> .entity-section__title,
.club-detail-page.club-catalog-page
.club-faq
> .entity-section__title,
.club-detail-page.club-catalog-page
.club-reviews__header
> .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap) !important;
    padding: 0 !important;
    border-bottom: 0 !important;
}

@media (max-width: 900px) {
    .club-catalog-page > .breadcrumbs,
    .club-reviews-full > .breadcrumbs {
        margin: 0 0 var(--public-breadcrumb-title-gap) !important;
    }

    .club-reviews-full.club-catalog-page
    > .club-reviews-full__surface {
        margin-top: 0 !important;
    }

    .club-reviews-full.club-catalog-page
    .club-reviews-full__header {
        margin-bottom: var(--public-heading-content-gap) !important;
    }
}

/* ===== END PUBLIC PAGE VERTICAL RHYTHM V1 ===== */


/* ===== UNION CATALOG SEO / INTRO / FAQ V1 ===== */

.union-catalog-page .union-catalog-intro,
.union-catalog-page .union-catalog-intro.rich-content,
.union-catalog-page .union-catalog-intro p,
.union-catalog-page .union-catalog-intro li {
    color: #c7d5e0 !important;
}

.union-catalog-page .union-catalog-intro strong,
.union-catalog-page .union-catalog-intro b,
.union-catalog-page .union-catalog-intro em,
.union-catalog-page .union-catalog-intro i,
.union-catalog-page .union-catalog-intro span {
    color: inherit !important;
}

.union-catalog-page .union-catalog-intro p {
    margin: 0 0 14px;
    line-height: 1.65;
}

.union-catalog-page .union-catalog-intro p:last-child {
    margin-bottom: 0;
}

.union-catalog-page .union-catalog-intro a {
    color: #66c0f4;
    text-decoration: underline;
}

.union-catalog-page .union-catalog-intro a:hover,
.union-catalog-page .union-catalog-intro a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.union-catalog-page > .public-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.union-catalog-page .union-catalog-seo-content {
    width: 100%;
    max-width: none;
}

.union-catalog-page .union-catalog-seo-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.union-catalog-page .union-catalog-seo-section__body {
    width: 100%;
    max-width: none;
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.union-catalog-page .union-catalog-seo-section__body > p {
    margin: 0 0 14px;
    color: #c7d5e0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.union-catalog-page .union-catalog-seo-section__body > p:last-child {
    margin-bottom: 0;
}

.union-catalog-page .union-catalog-seo-section__body strong {
    color: #e6edf3;
    font-weight: 700;
}

.union-catalog-page .union-catalog-seo-section__body a {
    color: #66c0f4;
    text-decoration: underline;
}

.union-catalog-page .union-catalog-seo-section__body a:hover,
.union-catalog-page .union-catalog-seo-section__body a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.union-catalog-page .union-catalog-faq {
    width: 100%;
    max-width: none;
}

.union-catalog-page .union-catalog-faq > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.union-catalog-page .union-catalog-faq__list {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: none;
}

.union-catalog-page .union-catalog-faq__item {
    color: #c7d5e0;
    overflow: hidden;
    background:
        -webkit-linear-gradient(
            315deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.14);
    border-radius: 3px;
    -webkit-box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
}

.union-catalog-page .union-catalog-faq__item + .union-catalog-faq__item {
    margin-top: var(--space-3);
}

.union-catalog-page
details.union-catalog-faq__item
> summary.union-catalog-faq__summary,
.union-catalog-page .union-catalog-faq__summary {
    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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 14px;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color 0.15s ease;
    -o-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
}

.union-catalog-page
details.union-catalog-faq__item
> summary.union-catalog-faq__summary::-webkit-details-marker,
.union-catalog-page .union-catalog-faq__summary::-webkit-details-marker {
    display: none;
}

.union-catalog-page
details.union-catalog-faq__item
> summary.union-catalog-faq__summary::marker,
.union-catalog-page .union-catalog-faq__summary::marker {
    content: "";
    font-size: 0;
}

.union-catalog-page .union-catalog-faq__summary:hover {
    background: rgba(102, 192, 244, 0.06);
}

.union-catalog-page .union-catalog-faq__summary:focus {
    outline: none;
}

.union-catalog-page .union-catalog-faq__summary:focus-visible {
    outline: 1px solid rgba(102, 192, 244, 0.55);
    outline-offset: -1px;
    -webkit-box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
    box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
}

.union-catalog-page .union-catalog-faq__question {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 12px;
    color: #ffffff;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.union-catalog-page .union-catalog-faq__summary::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    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;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    content: "+";
    width: 1.875rem;
    height: 1.875rem;
    margin: 0;
    color: #66c0f4;
    background: #142433;
    border: 1px solid #35566d;
    border-radius: 2px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.union-catalog-page
.union-catalog-faq__item[open]
> .union-catalog-faq__summary {
    background: rgba(102, 192, 244, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.union-catalog-page
.union-catalog-faq__item[open]
> .union-catalog-faq__summary:hover {
    background: rgba(102, 192, 244, 0.08);
}

.union-catalog-page
.union-catalog-faq__item[open]
> .union-catalog-faq__summary::after {
    content: "\2212";
}

.union-catalog-page .union-catalog-faq__answer {
    margin: 0;
    padding: 14px;
    color: #c7d5e0;
    background: #142433;
    font-size: 0.925rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.union-catalog-page .union-catalog-faq__answer > p {
    margin: 0;
    max-width: 100%;
    color: #c7d5e0;
}

.union-catalog-page .union-catalog-faq__answer > p + p {
    margin-top: 12px;
}

.union-catalog-page .union-catalog-faq__answer strong {
    color: #e6edf3;
    font-weight: 700;
}

.union-catalog-page .union-catalog-faq__answer a {
    color: #66c0f4;
    text-decoration: underline;
}

.union-catalog-page .union-catalog-faq__answer a:hover,
.union-catalog-page .union-catalog-faq__answer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .union-catalog-page .union-catalog-faq__summary {
        padding: 12px;
        min-height: 2.75rem;
    }

    .union-catalog-page .union-catalog-faq__question {
        margin-right: 10px;
        font-size: 0.95rem;
    }

    .union-catalog-page .union-catalog-faq__summary::after {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }

    .union-catalog-page .union-catalog-faq__answer {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ===== END UNION CATALOG SEO / INTRO / FAQ V1 ===== */

/* ===== TOURNAMENT CATALOG SEO / INTRO / FAQ V1 ===== */

.tournament-catalog-page .tournament-catalog-intro,
.tournament-catalog-page .tournament-catalog-intro.rich-content,
.tournament-catalog-page .tournament-catalog-intro p,
.tournament-catalog-page .tournament-catalog-intro li {
    color: #c7d5e0 !important;
}

.tournament-catalog-page .tournament-catalog-intro strong,
.tournament-catalog-page .tournament-catalog-intro b,
.tournament-catalog-page .tournament-catalog-intro em,
.tournament-catalog-page .tournament-catalog-intro i,
.tournament-catalog-page .tournament-catalog-intro span {
    color: inherit !important;
}

.tournament-catalog-page .tournament-catalog-intro p {
    margin: 0 0 14px;
    line-height: 1.65;
}

.tournament-catalog-page .tournament-catalog-intro p:last-child {
    margin-bottom: 0;
}

.tournament-catalog-page .tournament-catalog-intro a {
    color: #66c0f4;
    text-decoration: underline;
}

.tournament-catalog-page .tournament-catalog-intro a:hover,
.tournament-catalog-page .tournament-catalog-intro a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.tournament-catalog-page > .public-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.tournament-catalog-page .tournament-catalog-seo-content {
    width: 100%;
    max-width: none;
}

.tournament-catalog-page .tournament-catalog-seo-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.tournament-catalog-page .tournament-catalog-seo-section__body {
    width: 100%;
    max-width: none;
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.tournament-catalog-page .tournament-catalog-seo-section__body > p {
    margin: 0 0 14px;
    color: #c7d5e0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.tournament-catalog-page .tournament-catalog-seo-section__body > p:last-child {
    margin-bottom: 0;
}

.tournament-catalog-page .tournament-catalog-seo-section__body strong {
    color: #e6edf3;
    font-weight: 700;
}

.tournament-catalog-page .tournament-catalog-seo-section__body a {
    color: #66c0f4;
    text-decoration: underline;
}

.tournament-catalog-page .tournament-catalog-seo-section__body a:hover,
.tournament-catalog-page .tournament-catalog-seo-section__body a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.tournament-catalog-page .tournament-catalog-faq {
    width: 100%;
    max-width: none;
}

.tournament-catalog-page .tournament-catalog-faq > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.tournament-catalog-page .tournament-catalog-faq__list {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: none;
}

.tournament-catalog-page .tournament-catalog-faq__item {
    color: #c7d5e0;
    overflow: hidden;
    background:
        -webkit-linear-gradient(
            315deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    background:
        linear-gradient(
            135deg,
            #22384a 0%,
            #1b2c3b 58%,
            #172533 100%
        );
    border: 1px solid rgba(103, 143, 171, 0.14);
    border-radius: 3px;
    -webkit-box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
}

.tournament-catalog-page .tournament-catalog-faq__item + .tournament-catalog-faq__item {
    margin-top: var(--space-3);
}

.tournament-catalog-page
details.tournament-catalog-faq__item
> summary.tournament-catalog-faq__summary,
.tournament-catalog-page .tournament-catalog-faq__summary {
    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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 14px;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color 0.15s ease;
    -o-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
}

.tournament-catalog-page
details.tournament-catalog-faq__item
> summary.tournament-catalog-faq__summary::-webkit-details-marker,
.tournament-catalog-page .tournament-catalog-faq__summary::-webkit-details-marker {
    display: none;
}

.tournament-catalog-page
details.tournament-catalog-faq__item
> summary.tournament-catalog-faq__summary::marker,
.tournament-catalog-page .tournament-catalog-faq__summary::marker {
    content: "";
    font-size: 0;
}

.tournament-catalog-page .tournament-catalog-faq__summary:hover {
    background: rgba(102, 192, 244, 0.06);
}

.tournament-catalog-page .tournament-catalog-faq__summary:focus {
    outline: none;
}

.tournament-catalog-page .tournament-catalog-faq__summary:focus-visible {
    outline: 1px solid rgba(102, 192, 244, 0.55);
    outline-offset: -1px;
    -webkit-box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
    box-shadow: inset 0 0 0 1px rgba(102, 192, 244, 0.35);
}

.tournament-catalog-page .tournament-catalog-faq__question {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 12px;
    color: #ffffff;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.tournament-catalog-page .tournament-catalog-faq__summary::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    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;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    content: "+";
    width: 1.875rem;
    height: 1.875rem;
    margin: 0;
    color: #66c0f4;
    background: #142433;
    border: 1px solid #35566d;
    border-radius: 2px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.tournament-catalog-page
.tournament-catalog-faq__item[open]
> .tournament-catalog-faq__summary {
    background: rgba(102, 192, 244, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tournament-catalog-page
.tournament-catalog-faq__item[open]
> .tournament-catalog-faq__summary:hover {
    background: rgba(102, 192, 244, 0.08);
}

.tournament-catalog-page
.tournament-catalog-faq__item[open]
> .tournament-catalog-faq__summary::after {
    content: "\2212";
}

.tournament-catalog-page .tournament-catalog-faq__answer {
    margin: 0;
    padding: 14px;
    color: #c7d5e0;
    background: #142433;
    font-size: 0.925rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.tournament-catalog-page .tournament-catalog-faq__answer > p {
    margin: 0;
    max-width: 100%;
    color: #c7d5e0;
}

.tournament-catalog-page .tournament-catalog-faq__answer > p + p {
    margin-top: 12px;
}

.tournament-catalog-page .tournament-catalog-faq__answer strong {
    color: #e6edf3;
    font-weight: 700;
}

.tournament-catalog-page .tournament-catalog-faq__answer a {
    color: #66c0f4;
    text-decoration: underline;
}

.tournament-catalog-page .tournament-catalog-faq__answer a:hover,
.tournament-catalog-page .tournament-catalog-faq__answer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .tournament-catalog-page .tournament-catalog-faq__summary {
        padding: 12px;
        min-height: 2.75rem;
    }

    .tournament-catalog-page .tournament-catalog-faq__question {
        margin-right: 10px;
        font-size: 0.95rem;
    }

    .tournament-catalog-page .tournament-catalog-faq__summary::after {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }

    .tournament-catalog-page .tournament-catalog-faq__answer {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ===== END TOURNAMENT CATALOG SEO / INTRO / FAQ V1 ===== */

/* ===== UNION DETAIL SEO EDITORIAL V1 ===== */

.union-detail-page .union-detail-intro {
    margin-top: var(--public-heading-content-gap, 18px);
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
}

.union-detail-page .union-detail-intro > p {
    margin: 0 0 14px;
    color: #c7d5e0;
}

.union-detail-page .union-detail-intro > p:last-child {
    margin-bottom: 0;
}

.union-detail-page .union-detail-seo-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.union-detail-page .union-detail-seo-section__body {
    width: 100%;
    max-width: none;
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.union-detail-page .union-detail-seo-section__body > p {
    margin: 0 0 14px;
    color: #c7d5e0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.union-detail-page .union-detail-seo-section__body > p:last-child {
    margin-bottom: 0;
}

.union-detail-page .union-detail-seo-section__body a {
    color: #66c0f4;
    text-decoration: underline;
}

.union-detail-page .union-detail-seo-section__body a:hover,
.union-detail-page .union-detail-seo-section__body a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.union-detail-page .union-detail-tournaments__note {
    margin: 0 0 14px;
    color: #c7d5e0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.union-detail-page .union-detail-tournaments__catalog-link {
    margin: 0 0 10px;
}

/* ===== END UNION DETAIL SEO EDITORIAL V1 ===== */

/* ===== CLUB DETAIL SEO EDITORIAL + DETAILS V1 ===== */

/*
 * Intro uses .rich-content, which sets color: var(--color-text)
 * (#111827). On the dark Steam club page that makes the new
 * editorial intro unreadable. Match the approved union-detail
 * body-text token (#c7d5e0) already used by club-detail-description.
 */
.club-detail-page .club-detail-intro,
.club-detail-page .club-detail-intro.rich-content,
.club-detail-page .club-detail-intro.public-detail-description {
    margin-top: var(--public-heading-content-gap, 18px);
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
}

.club-detail-page .club-detail-intro > p,
.club-detail-page .club-detail-intro.rich-content > p {
    margin: 0 0 14px;
    color: #c7d5e0;
}

.club-detail-page .club-detail-intro > p:last-child {
    margin-bottom: 0;
}

/*
 * Club SEO sections reuse the union-detail-seo-section markup, but
 * live under .club-detail-page. Mirror the union body-text contract
 * without changing union-detail selectors.
 */
.club-detail-page .union-detail-seo-section > .entity-section__title {
    margin: 0 0 var(--public-heading-content-gap, 18px) !important;
}

.club-detail-page .union-detail-seo-section__body {
    width: 100%;
    max-width: none;
    color: #c7d5e0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.club-detail-page .union-detail-seo-section__body > p {
    margin: 0 0 14px;
    color: #c7d5e0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.club-detail-page .union-detail-seo-section__body > p:last-child {
    margin-bottom: 0;
}

.club-detail-page .union-detail-seo-section__body a {
    color: #66c0f4;
    text-decoration: underline;
}

.club-detail-page .union-detail-seo-section__body a:hover,
.club-detail-page .union-detail-seo-section__body a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

/*
 * Main-column Club Details / Available Games previously inherited the
 * light site.css table shell (white surface). Dark Steam overrides are
 * scoped to the club detail content column only so union-detail and
 * other surfaces are untouched.
 */
.club-detail-page
.club-detail-content
.club-public-details {
    min-width: 0;
    color: #c7d5e0;
}

.club-detail-page
.club-detail-content
.club-public-details__label,
.club-detail-page
.club-detail-content
.club-public-details__group-label {
    margin: 0 0 8px;
    color: #dce7ee;
    font-size: 0.875rem;
    line-height: 1.3;
    font-weight: 700;
}

.club-detail-page
.club-detail-content
.club-public-details__group + .club-public-details__group {
    margin-top: 16px;
}

.club-detail-page
.club-detail-content
.club-public-details__list {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    background: #101822 !important;
    border: 1px solid #35566d !important;
    border-radius: 3px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.club-detail-page
.club-detail-content
.club-public-details__item {
    display: contents !important;
}

.club-detail-page
.club-detail-content
.club-public-details__key,
.club-detail-page
.club-detail-content
.club-public-details__game,
.club-detail-page
.club-detail-content
.club-public-details__value,
.club-detail-page
.club-detail-content
.club-public-details__item > .text-link {
    min-width: 0;
    max-width: 100%;
    padding: 8px 10px;
    font-size: 0.875rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    background: transparent !important;
}

.club-detail-page
.club-detail-content
.club-public-details__key,
.club-detail-page
.club-detail-content
.club-public-details__game {
    grid-column: 1;
    border-right: 1px solid rgba(103, 143, 171, 0.30);
    color: #dce7ee !important;
    font-weight: 650;
}

.club-detail-page
.club-detail-content
.club-public-details__value,
.club-detail-page
.club-detail-content
.club-public-details__item > .text-link {
    grid-column: 2;
    color: #a9bac7 !important;
}

.club-detail-page
.club-detail-content
.club-public-details__item > .text-link {
    color: #66c0f4 !important;
}

.club-detail-page
.club-detail-content
.club-public-details__item > .text-link:hover,
.club-detail-page
.club-detail-content
.club-public-details__item > .text-link:focus-visible {
    color: #ffffff !important;
}

.club-detail-page
.club-detail-content
.club-public-details__item
+ .club-public-details__item > * {
    border-top: 1px solid rgba(103, 143, 171, 0.30) !important;
}

.club-detail-page
.club-detail-content
.club-public-details__item--timezone
.club-public-details__key,
.club-detail-page
.club-detail-content
.club-public-details__value--timezone {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 640px) {
    .club-detail-page
    .club-detail-content
    .club-public-details__list {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .club-detail-page
    .club-detail-content
    .club-public-details__key,
    .club-detail-page
    .club-detail-content
    .club-public-details__game,
    .club-detail-page
    .club-detail-content
    .club-public-details__value,
    .club-detail-page
    .club-detail-content
    .club-public-details__item > .text-link {
        padding: 8px;
        font-size: 0.8125rem;
    }
}

/* ===== END CLUB DETAIL SEO EDITORIAL + DETAILS V1 ===== */

/* ===== UNION DETAIL NAV + TELEGRAM CTA V1 ===== */

.site-sidebar--public.site-sidebar--club
.public-union-sidebar
.account-nav__link,
.site-sidebar--public.site-sidebar--club
.public-club-sidebar
.account-nav__link {
    white-space: normal;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.union-detail-page > .public-detail-hero .club-telegram-cta--flow {
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
}

/* ===== END UNION DETAIL NAV + TELEGRAM CTA V1 ===== */

/* Match Club-card placeholder proportions inside hero Union slot. */
.club-detail-hero__union-logo .entity-image-placeholder__icon {
    width: 23px;
    height: 23px;
}
