/* ==========================================================================
   BigBeach Brand Code v2 — Glassmorphic Island, Seasonal Hero, Split Quick
   Actions & Dark Mobile Bottom Navigation (South Фучика / North Парнас)
   ========================================================================== */

:root {
    --bb-brand-dark: #22140D;
    --bb-island-bg: #24150E;
    --bb-bottom-nav-bg: #1A100B;
    --bb-bottom-nav-text: #C9BDB4;
    --bb-ico-accent: var(--bb-orange, #FF7418);
    --bb-hero-overlay: 0.52;
}

body {
    background-color: var(--bb-bg, #FAF6F1) !important;
    color: var(--bb-ink, #181512);
}

/* Neutralize legacy solid orange header wrapper when new stage is active */
.bb-stage-wrap {
    position: relative;
    z-index: 40;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Stage Container: holds Floating Glass Island + Hero Cover + Quick Buttons
   -------------------------------------------------------------------------- */
.bb-stage {
    position: relative;
    overflow: hidden;
    background-color: var(--bb-brand-dark, #22140D);
    background-image: var(--bb-stage-cover, none);
    background-size: cover;
    background-position: right center;
    color: #fff;
    padding: 14px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bb-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(92deg,
            var(--bb-brand-dark, #22140D) 0%,
            color-mix(in srgb, var(--bb-brand-dark, #22140D) 88%, transparent) 44%,
            rgba(10, 12, 16, var(--bb-hero-overlay, .52)) 100%),
        linear-gradient(180deg,
            rgba(8, 10, 14, .48) 0%,
            rgba(8, 10, 14, .12) 48%,
            rgba(8, 10, 14, .68) 100%);
    pointer-events: none;
    z-index: 0;
}

.bb-stage--compact {
    padding: 12px 0 14px;
}

.bb-stage--compact::before {
    background:
        linear-gradient(90deg,
            color-mix(in srgb, var(--bb-brand-dark, #22140D) 95%, #000) 0%,
            color-mix(in srgb, var(--bb-brand-dark, #22140D) 86%, transparent) 100%);
}

.bb-stage > .container {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   1. Floating Glassmorphic Island Header (.bb-island)
   -------------------------------------------------------------------------- */
.bb-island {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 14px 9px 18px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bb-island-bg, #24150E) 76%, transparent);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .10);
}

.bb-island__logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.bb-island__logo img {
    display: block;
    width: 88px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Segmented Arena Switcher Pill */
.bb-arena-seg {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    background: var(--bb-header-venue-bg, rgba(0, 0, 0, .28));
    border: 1px solid rgba(255, 255, 255, .11);
    flex: 0 0 auto;
}

.bb-arena-seg__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .74);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 13px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.bb-arena-seg__btn:hover {
    color: #fff;
}

.bb-arena-seg__btn.is-active {
    background: var(--bb-header-arena-bg, var(--bb-orange));
    color: var(--bb-header-arena-text, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.bb-arena-seg__sub {
    opacity: .84;
    font-weight: 600;
}

/* Secondary Links inside Desktop Island */
.bb-island__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.bb-island__links > a {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease;
}

.bb-island__links > a:hover,
.bb-island__links > a.is-active {
    background: var(--bb-header-menu-hover, rgba(255, 255, 255, .12));
    color: #fff !important;
}

/* Right Auth / Actions Cluster */
.bb-island__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.bb-island__bots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bb-island__bot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--bb-header-social-bg, rgba(255, 255, 255, .10));
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .9) !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s ease, transform .15s ease;
}

.bb-island__bot:hover {
    background: rgba(255, 255, 255, .20);
    color: #fff !important;
}

.bb-island__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--bb-header-btn-bg, rgba(255, 255, 255, .12));
    border: 1px solid var(--bb-header-border, rgba(255, 255, 255, .20));
    color: var(--bb-header-text, #fff) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .16s ease, border-color .16s ease;
}

.bb-island__pill:hover {
    background: var(--bb-header-btn-hover, rgba(255, 255, 255, .22));
    color: #fff !important;
}

.bb-island__bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bb-header-btn-bg, rgba(255, 255, 255, .12));
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff !important;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: background .16s ease;
}

.bb-island__bell:hover {
    background: var(--bb-header-btn-hover, rgba(255, 255, 255, .22));
}

.bb-island__bell svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bb-island__bell .bb-notif-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef3340;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.bb-island__user {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 3px 5px 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff !important;
    text-decoration: none !important;
}

.bb-island__user:hover {
    background: rgba(255, 255, 255, .18);
}

.bb-island__user-name {
    font-size: 13px;
    font-weight: 700;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bb-island__avatar {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bb-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
}

.bb-island__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.bb-island__avatar-fallback {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.bb-island__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .75) !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}

.bb-island__logout:hover {
    background: rgba(239, 51, 64, .28);
    color: #fff !important;
}

.bb-island__logout svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Controls inside Island */
.bb-island__mob-actions {
    display: none;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.bb-island__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: var(--bb-header-burger-bg, rgba(255, 255, 255, .12));
    color: #fff;
    cursor: pointer;
}

.bb-island__burger span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.bb-island__burger--avatar {
    position: relative;
    overflow: hidden;
    gap: 0;
    background: var(--bb-orange);
    border: 2px solid color-mix(in srgb, var(--bb-orange, #FF7418) 80%, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.bb-island__burger--avatar .bb-island__burger-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.bb-island__burger--avatar .bb-island__burger-initials {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

/* Mobile Drawer inside Stage */
.bb-island-drawer {
    display: none;
    margin-top: 10px;
    padding: 14px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--bb-island-bg, #24150E) 92%, #000);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
}

.bb-stage-wrap.is-open .bb-island-drawer {
    display: block;
}

.bb-island-drawer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.bb-island-drawer__grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 12px;
    background: var(--bb-header-mobile-link-bg, rgba(255, 255, 255, .10));
    border: 1px solid rgba(255, 255, 255, .10);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
}

.bb-island-drawer__auth {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.bb-island-drawer__auth .bb-btn {
    flex: 1 1 auto;
    text-align: center;
}

/* --------------------------------------------------------------------------
   2. Hero Cover Content (.bb-hero)
   -------------------------------------------------------------------------- */
.bb-hero {
    padding: 30px 4px 24px;
    max-width: 650px;
}

.bb-hero[hidden] {
    display: none !important;
}

.bb-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .95);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.bb-hero__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bb-orange);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
}

.bb-hero__eyebrow[hidden] {
    display: none !important;
}

.bb-hero__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 3.3vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.028em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.bb-hero__subtitle {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.48;
    max-width: 540px;
}

.bb-hero__subtitle[hidden] {
    display: none !important;
}

.bb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bb-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--bb-orange);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--bb-orange) 46%, transparent);
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.bb-hero__cta:hover,
.bb-hero__cta:focus {
    background: var(--bb-orange-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.bb-hero__cta[hidden] {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Split Menu: 5 Quick-Action Category Buttons (.bb-quick)
   -------------------------------------------------------------------------- */
.bb-quick-host--outside {
    margin-top: 12px;
}

.bb-quick {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bb-stage--compact .bb-quick {
    margin-top: 10px;
}

.bb-quick__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px 15px;
    border-radius: 18px;
    text-decoration: none !important;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.bb-quick__item:hover {
    transform: translateY(-1px);
}

.bb-quick__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.bb-quick__icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.bb-quick__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bb-quick__title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bb-quick__title--short {
    display: none;
}

.bb-quick__sub {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style A: Glassmorphic Island Tiles inside Cover (Default) */
.bb-quick[data-btn-style="glass-island"] .bb-quick__item {
    background: rgba(255, 255, 255, .11);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    border: 1px solid rgba(255, 255, 255, .19);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.bb-quick[data-btn-style="glass-island"] .bb-quick__item:hover,
.bb-quick[data-btn-style="glass-island"] .bb-quick__item.is-active {
    background: rgba(255, 255, 255, .20);
    border-color: var(--bb-orange);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .24), inset 0 0 0 1px var(--bb-orange);
}

.bb-quick[data-btn-style="glass-island"] .bb-quick__icon {
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.bb-quick[data-btn-style="glass-island"] .bb-quick__sub {
    color: rgba(255, 255, 255, .72);
}

/* Style A2: Dark Luxury Smoky Glass inside Cover (Matches Sunset Reference) */
.bb-quick[data-btn-style="dark-luxury-glass"] .bb-quick__item {
    background: rgba(22, 19, 17, .72);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.bb-quick[data-btn-style="dark-luxury-glass"] .bb-quick__item:hover,
.bb-quick[data-btn-style="dark-luxury-glass"] .bb-quick__item.is-active {
    background: rgba(34, 28, 24, .84);
    border-color: var(--bb-orange);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .42), inset 0 0 0 1px var(--bb-orange);
}

.bb-quick[data-btn-style="dark-luxury-glass"] .bb-quick__icon {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    --bb-ico-accent: #ffffff;
}

.bb-quick[data-btn-style="dark-luxury-glass"] .bb-quick__sub {
    color: rgba(255, 255, 255, .68);
}

/* Style B: Floating Light Cards */
.bb-quick[data-btn-style="floating-cards"] .bb-quick__item {
    background: #ffffff;
    border: 1px solid var(--bb-line, #EAE2D8);
    color: var(--bb-ink, #181512) !important;
    box-shadow: 0 6px 20px rgba(20, 22, 26, .08);
}

.bb-quick[data-btn-style="floating-cards"] .bb-quick__item:hover,
.bb-quick[data-btn-style="floating-cards"] .bb-quick__item.is-active {
    border-color: var(--bb-orange);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--bb-orange) 18%, transparent);
}

.bb-quick[data-btn-style="floating-cards"] .bb-quick__icon {
    background: var(--bb-orange-soft, #FFF2E7);
    color: var(--bb-ink, #181512);
}

.bb-quick[data-btn-style="floating-cards"] .bb-quick__sub {
    color: var(--bb-muted, #6E655E);
}

/* Style C: Colored Squircles (Super-App) */
.bb-quick[data-btn-style="color-squircles"] .bb-quick__item {
    background: #ffffff;
    border: 1px solid var(--bb-line, #EAE2D8);
    color: var(--bb-ink, #181512) !important;
    box-shadow: 0 6px 18px rgba(20, 22, 26, .07);
}

.bb-quick[data-btn-style="color-squircles"] .bb-quick__item.is-active {
    border-color: var(--bb-orange);
    background: var(--bb-orange-soft, #FFF2E7);
}

.bb-quick[data-btn-style="color-squircles"] .bb-quick__icon {
    background: var(--bb-sq-color, var(--bb-orange));
    color: #fff;
    --bb-ico-accent: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--bb-sq-color, var(--bb-orange)) 38%, transparent);
}

.bb-quick[data-btn-style="color-squircles"] .bb-quick__sub {
    color: var(--bb-muted, #6E655E);
}

/* Style D: Club Medallions */
.bb-quick[data-btn-style="medallions"] .bb-quick__item {
    background: #ffffff;
    border: 1px solid var(--bb-line, #EAE2D8);
    border-radius: 999px;
    padding: 9px 16px 9px 10px;
    color: var(--bb-ink, #181512) !important;
    box-shadow: 0 5px 16px rgba(20, 22, 26, .07);
}

.bb-quick[data-btn-style="medallions"] .bb-quick__item.is-active {
    border-color: var(--bb-orange);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--bb-orange) 26%, transparent);
}

.bb-quick[data-btn-style="medallions"] .bb-quick__icon {
    border-radius: 50%;
    background: var(--bb-orange-soft, #FFF2E7);
    border: 1.5px solid color-mix(in srgb, var(--bb-orange) 36%, transparent);
    color: var(--bb-ink, #181512);
}

.bb-quick[data-btn-style="medallions"] .bb-quick__sub {
    color: var(--bb-muted, #6E655E);
}

/* --------------------------------------------------------------------------
   4. Dark Mobile Bottom Tab Bar (.bb-bottom-nav)
   -------------------------------------------------------------------------- */
.bb-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .bb-island {
        padding: 7px 10px 7px 13px;
        gap: 8px;
    }

    .bb-island__logo img {
        width: 68px;
    }

    .bb-island__links,
    .bb-island__right {
        display: none !important;
    }

    .bb-island__mob-actions {
        display: inline-flex;
    }

    .bb-arena-seg__sub {
        display: none;
    }

    .bb-arena-seg__btn {
        font-size: 11.5px;
        padding: 7px 10px;
    }

    .bb-hero {
        padding: 20px 2px 16px;
    }

    .bb-hero__title {
        font-size: 25px;
        line-height: 1.12;
        margin-bottom: 8px;
    }

    .bb-hero__subtitle {
        font-size: 13.5px;
        margin-bottom: 15px;
        max-width: 88%;
    }

    .bb-hero__cta {
        min-height: 42px;
        padding: 0 18px;
        font-size: 13.5px;
    }

    /* Compact 5-tile mobile quick-action row (matches approved Glass Island mockup) */
    .bb-quick {
        gap: 6px;
        margin-top: 12px;
    }

    .bb-quick__item,
    .bb-quick[data-btn-style="medallions"] .bb-quick__item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding: 9px 4px 8px;
        border-radius: 15px;
    }

    .bb-quick__icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .bb-quick__icon svg {
        width: 20px;
        height: 20px;
    }

    .bb-quick__title--full {
        display: none;
    }

    .bb-quick__title--short {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: -.01em;
    }

    .bb-quick__sub {
        display: none;
    }

    /* Fixed Dark Mobile Bottom Tab Bar */
    .bb-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
        background: color-mix(in srgb, var(--bb-bottom-nav-bg, #1A100B) 94%, transparent);
        backdrop-filter: blur(20px) saturate(140%);
        -webkit-backdrop-filter: blur(20px) saturate(140%);
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 -8px 28px rgba(0, 0, 0, .30);
    }

    .bb-bottom-nav__link {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 48px;
        padding: 4px 2px;
        border-radius: 12px;
        color: var(--bb-bottom-nav-text, #C9BDB4) !important;
        font-size: 10.5px;
        font-weight: 700;
        line-height: 1.1;
        text-decoration: none !important;
        transition: color .15s ease, background .15s ease;
    }

    .bb-bottom-nav__link svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bb-bottom-nav__link.is-active {
        color: var(--bb-orange, #FF7418) !important;
    }

    .bb-bottom-nav__link.is-active::before {
        content: "";
        position: absolute;
        top: 0;
        width: 22px;
        height: 2.5px;
        border-radius: 999px;
        background: var(--bb-orange, #FF7418);
    }

    .bb-bottom-nav__badge {
        position: absolute;
        top: 2px;
        right: calc(50% - 18px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ef3340;
        color: #fff;
        font-size: 9.5px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bb-bottom-nav__badge[hidden] {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Homepage Current Events Strip (.bb-home-slots)
   -------------------------------------------------------------------------- */
.bb-home-slots {
    margin: 0 0 22px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--bb-line, #EAE2D8);
    border-radius: var(--bb-radius, 14px);
    box-shadow: 0 4px 18px rgba(20, 22, 26, .04);
}

.bb-home-slots__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bb-home-slots__head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--bb-ink);
}

.bb-home-slots__all {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bb-orange-dark) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.bb-home-slots__summary {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 10px;
}

.bb-home-slots__summary strong {
    font-size: 34px;
    line-height: 1;
    color: var(--bb-orange-dark);
}

.bb-home-slots__summary span {
    color: var(--bb-muted);
    font-size: 13.5px;
    font-weight: 700;
}

.bb-home-slots__counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.bb-home-slots__counts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--bb-bg, #FAF6F1);
    color: var(--bb-muted);
    font-size: 12.5px;
    font-weight: 700;
}

.bb-home-slots__counts b {
    color: var(--bb-ink);
}

.bb-home-slots__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bb-home-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bb-bg, #FAF6F1);
    border: 1px solid color-mix(in srgb, var(--bb-line, #EAE2D8) 80%, transparent);
    text-decoration: none !important;
    color: var(--bb-ink) !important;
    transition: border-color .15s ease, transform .15s ease;
}

.bb-home-slot:hover {
    border-color: var(--bb-orange);
    transform: translateY(-1px);
}

.bb-home-slot__main {
    min-width: 0;
}

.bb-home-slot__title {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--bb-ink);
    line-height: 1.3;
}

.bb-home-slot__meta {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--bb-muted);
}

.bb-home-slot__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--bb-orange);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.bb-home-slots__empty {
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: var(--bb-bg, #FAF6F1);
    color: var(--bb-muted);
    font-size: 13.5px;
    text-align: center;
}

@media (max-width: 600px) {
    .bb-home-slots {
        padding: 15px;
    }
    .bb-home-slots__head {
        align-items: flex-start;
    }
    .bb-home-slots__summary strong {
        font-size: 30px;
    }
    .bb-home-slot {
        padding: 11px 12px;
    }
    .bb-home-slot__title {
        font-size: 13.5px;
    }
}
