/*
 * Canonical responsive navigation.
 * This file is the only geometry owner for the mobile/tablet dock and page
 * actions. SiteNavigation.js portals the active page action into the cluster,
 * so Apply/Buy/Continue/Contact never compete as separately fixed layers.
 */
:root {
    --bt-nav-ink: #070400;
    --bt-nav-mid: #160b00;
    --bt-nav-gold: #d4af37;
    --bt-nav-gold-light: #f5deb3;
    --bt-nav-gold-dark: #8f7000;
    --bt-nav-text: #fff6e9;
    --bt-nav-muted: #c9bcae;
    --bt-nav-danger: #ff8585;
    --bt-nav-border: rgba(212, 175, 55, 0.28);
    --bt-nav-dock-height: 72px;
    --bt-nav-safe-bottom: env(safe-area-inset-bottom, 0px);
    --bt-nav-z-cluster: 1030;
    --bt-nav-z-backdrop: 1040;
    --bt-nav-z-sheet: 1050;
    --bt-nav-z-header: 1030;
    --bt-nav-z-dropdown: 1060;
    --bt-nav-action-height: 0px;
    --bt-nav-profile-height: 0px;
    --bt-nav-join-overlap: 6px;
    --bt-nav-stack-height: calc(var(--bt-nav-dock-height) + var(--bt-nav-safe-bottom) + var(--bt-nav-action-height) + var(--bt-nav-profile-height));
}

body.bt-has-responsive-nav {
    --bt-nav-stack-height: calc(var(--bt-nav-dock-height) + var(--bt-nav-safe-bottom) + var(--bt-nav-action-height) + var(--bt-nav-profile-height));
    padding-bottom: 100px;
    padding-bottom: calc(var(--bt-nav-stack-height) + 16px);
}

body.bt-has-responsive-nav.bt-has-profile-rail {
    --bt-nav-profile-height: 44px;
}

body.bt-has-responsive-nav.bt-has-nav-action {
    padding-bottom: 172px;
    padding-bottom: calc(var(--bt-nav-stack-height) + 20px);
}

/* Standard layouts use the shared renderer exclusively. This also protects
   cached page fragments from reviving a legacy page-level mobile tab bar. */
body.bt-has-responsive-nav .m-tab-bar {
    display: none !important;
}

/* The active page control is rendered inside the cluster's natural flow. */
@media (max-width: 1199.98px) {
    body.bt-has-responsive-nav [data-nav-action-suppressed="true"] {
        display: none !important;
    }

    body.bt-has-responsive-nav .bt-nav-action-host > [data-nav-offset="action"][data-nav-action-active="true"] {
        position: relative !important;
        inset: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        display: var(--bt-nav-action-display, block) !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        isolation: auto;
        transform: none !important;
        z-index: auto !important;
    }

    body.bt-nav-scroll-lock .bt-nav-action-host {
        pointer-events: none !important;
        visibility: hidden !important;
    }

    body.bt-has-responsive-nav .bt-nav-action-host > [data-nav-offset="action"]::after {
        display: none !important;
    }

    body.bt-has-responsive-nav .bt-nav-action-host > [data-nav-offset="action"] > .container,
    body.bt-has-responsive-nav .bt-nav-action-host > [data-nav-offset="action"] > .container-fluid {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 8px 12px !important;
    }

    body.bt-has-responsive-nav .bt-nav-action-host a,
    body.bt-has-responsive-nav .bt-nav-action-host button,
    body.bt-has-responsive-nav .bt-nav-action-host input[type="button"],
    body.bt-has-responsive-nav .bt-nav-action-host input[type="submit"] {
        min-height: 44px;
    }

    body.bt-has-responsive-nav .bt-nav-action-host a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions {
        min-height: 66px;
        padding: 8px 10px !important;
    }

    body.bt-has-responsive-nav .bt-nav-action-host > .bits-wizard-actions button,
    body.bt-has-responsive-nav .bt-nav-action-host > .bits-wizard-actions a,
    body.bt-has-responsive-nav .bt-nav-action-host > .bt-actions button,
    body.bt-has-responsive-nav .bt-nav-action-host > .bt-actions a {
        min-height: 44px;
        padding: 8px 14px !important;
        border-radius: 10px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions__inner {
        display: flex;
        width: 100%;
        min-height: 50px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-inline: 4px;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions__secondary {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border: 0;
        color: var(--bt-nav-muted);
        background: transparent;
        font-size: .82rem;
        font-weight: 700;
        text-decoration: none;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions__secondary:hover {
        color: var(--bt-nav-text);
        text-decoration: none;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions__primary,
    body.bt-has-responsive-nav .bt-job-flow-actions .btn-next,
    body.bt-has-responsive-nav .bt-job-flow-actions .checkout-continue-btn {
        display: inline-flex;
        width: auto !important;
        min-width: 132px;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 10px 18px !important;
        border: 1px solid rgba(255, 255, 255, .28) !important;
        border-radius: 14px !important;
        color: #150900 !important;
        background: linear-gradient(135deg, #f4d477, #d4af37) !important;
        box-shadow: 0 7px 20px rgba(212, 175, 55, .22);
        font-size: .86rem !important;
        font-weight: 850 !important;
        line-height: 1.1;
        text-decoration: none !important;
    }

    body.bt-has-responsive-nav .bt-job-flow-actions__meta {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 4px;
    }
}

.bt-job-flow-actions__inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.bt-nav-scroll-lock {
    --bt-nav-action-height: 0px !important;
    overflow: hidden;
}

.bt-site-navigation,
.bt-site-navigation *,
.bt-site-navigation *::before,
.bt-site-navigation *::after {
    box-sizing: border-box;
}

.bt-site-navigation {
    display: contents;
    color: var(--bt-nav-text);
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bt-site-navigation ion-icon {
    display: block;
    flex: 0 0 auto;
    pointer-events: none;
}

.bt-site-navigation a,
.bt-site-navigation button {
    -webkit-tap-highlight-color: transparent;
}

.bt-site-navigation a:focus-visible,
.bt-site-navigation button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.bt-site-navigation [hidden] {
    display: none !important;
}

.bt-site-desktop-nav,
.bt-site-desktop-spacer,
.bt-site-header-ad {
    display: none;
}

.bt-mobile-nav-cluster {
    position: fixed;
    z-index: var(--bt-nav-z-cluster);
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 1px solid var(--bt-nav-border);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(145deg, #070400 0%, #160b00 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
    overflow: visible;
    isolation: isolate;
}

.bt-nav-cluster-backplate {
    display: none;
}

.bt-nav-action-host {
    display: none;
    min-width: 0;
    width: 100%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 20px 20px 0 0;
    overflow: visible;
}

.bt-nav-action-host.is-active {
    display: block;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(22, 11, 0, 0.96), rgba(7, 4, 0, 0.98));
}

.bt-profile-dock-rail {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 7px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(212, 175, 55, 0.065);
    color: var(--bt-nav-text) !important;
    cursor: pointer;
    text-decoration: none !important;
}

.bt-profile-dock-rail.is-not_started,
.bt-profile-dock-rail.is-critical {
    background: rgba(255, 133, 133, 0.075);
}

.bt-profile-dock-rail__copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 1px;
}

.bt-profile-dock-rail__copy strong,
.bt-profile-dock-rail__copy > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-profile-dock-rail__copy strong {
    color: var(--bt-nav-gold-light);
    font-size: 0.7rem;
    font-weight: 850;
    line-height: 1.15;
}

.bt-profile-dock-rail.is-not_started .bt-profile-dock-rail__copy strong,
.bt-profile-dock-rail.is-critical .bt-profile-dock-rail__copy strong {
    color: #ffd1d1;
}

.bt-profile-dock-rail__copy > span {
    color: var(--bt-nav-muted);
    font-size: 0.59rem;
    font-weight: 650;
    line-height: 1.2;
}

.bt-profile-dock-rail__cta {
    display: inline-flex;
    min-width: 62px;
    min-height: 32px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.13);
    color: var(--bt-nav-gold-light);
    font-size: 0.68rem;
    font-weight: 850;
}

.bt-profile-dock-rail__progress {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.09);
}

.bt-profile-dock-rail__progress > span {
    display: block;
    height: 100%;
    background: var(--bt-nav-gold);
}

.bt-profile-dock-rail.is-not_started .bt-profile-dock-rail__progress > span,
.bt-profile-dock-rail.is-critical .bt-profile-dock-rail__progress > span {
    background: var(--bt-nav-danger);
}

.bt-profile-pill,
.bt-profile-critical-rail {
    display: none;
}

.bt-bottom-nav {
    position: relative;
    z-index: 2;
    inset: auto;
    width: 100%;
    max-width: none;
    height: calc(var(--bt-nav-dock-height) + var(--bt-nav-safe-bottom));
    margin: 0;
    padding: 6px 6px calc(6px + var(--bt-nav-safe-bottom));
    border: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 22px 22px 0 0;
    background: linear-gradient(145deg, #070400 0%, #160b00 100%);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.42);
}

.bt-bottom-nav-items {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.bt-bottom-nav-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 5px 3px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--bt-nav-muted);
    cursor: pointer;
    font: inherit;
    text-align: center;
    text-decoration: none !important;
    transition: color 180ms ease, background-color 180ms ease;
}

.bt-bottom-nav-item:hover,
.bt-bottom-nav-item.is-active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--bt-nav-gold-light);
}

.bt-bottom-nav-item.is-active::after {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bt-nav-gold);
    content: "";
}

.bt-bottom-nav-item > ion-icon {
    width: 23px;
    height: 23px;
}

.bt-bottom-nav-item > span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-bottom-nav-post {
    overflow: visible;
}

.bt-bottom-nav-post-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: -19px;
    border: 3px solid var(--bt-nav-ink);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bt-nav-gold-light), var(--bt-nav-gold-dark));
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.38);
    color: var(--bt-nav-ink);
}

.bt-bottom-nav-post-icon ion-icon {
    width: 28px;
    height: 28px;
}

.bt-bottom-nav-post.is-active::after {
    bottom: 2px;
}

.bt-bottom-nav-tablet-only {
    display: none;
}

.bt-nav-backdrop {
    position: fixed;
    z-index: var(--bt-nav-z-backdrop);
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.bt-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bt-nav-sheet {
    position: fixed;
    z-index: var(--bt-nav-z-sheet);
    inset-inline: 0;
    bottom: 66px;
    bottom: calc(var(--bt-nav-stack-height) - var(--bt-nav-join-overlap));
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 106px);
    max-height: calc(100vh - var(--bt-nav-stack-height) - 16px);
    max-height: calc(100dvh - var(--bt-nav-stack-height) - 16px);
    margin: 0;
    padding: 8px 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--bt-nav-border);
    border-right: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(165deg, #070400 0%, #160b00 100%);
    box-shadow: 0 -18px 52px rgba(0, 0, 0, 0.56);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transform: translateY(calc(100% + 32px));
    transition: opacity 220ms ease, transform 240ms ease;
    visibility: hidden;
}

.bt-nav-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.bt-nav-sheet-handle {
    width: 42px;
    height: 4px;
    margin: 2px auto 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.bt-nav-sheet-header {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bt-nav-border);
}

.bt-nav-sheet-logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.bt-nav-sheet-logo img {
    display: block;
    width: auto;
    max-width: 160px;
    height: 36px;
    object-fit: contain;
}

.bt-nav-sheet-close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--bt-nav-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bt-nav-text);
    cursor: pointer;
}

.bt-nav-sheet-close ion-icon {
    width: 25px;
    height: 25px;
}

.bt-nav-sheet-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
}

.bt-nav-sheet-user img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 2px solid var(--bt-nav-gold);
    border-radius: 50%;
    object-fit: cover;
}

.bt-nav-sheet-user div {
    min-width: 0;
}

.bt-nav-sheet-user strong,
.bt-nav-sheet-user span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-nav-sheet-user strong {
    color: var(--bt-nav-text);
    font-size: 0.94rem;
}

.bt-nav-sheet-user span {
    margin-top: 2px;
    color: var(--bt-nav-muted);
    font-size: 0.74rem;
}

.bt-nav-sheet-ad {
    margin: 10px 0;
}

.bt-nav-sheet-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 0;
}

.bt-nav-sheet-links a,
.bt-nav-sheet-account-links a {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--bt-nav-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.bt-nav-sheet-links a:hover,
.bt-nav-sheet-links a.is-active,
.bt-nav-sheet-account-links a:hover,
.bt-nav-sheet-account-links a.is-active {
    border-color: var(--bt-nav-border);
    background: rgba(212, 175, 55, 0.1);
    color: var(--bt-nav-gold-light);
}

.bt-nav-sheet-links ion-icon,
.bt-nav-sheet-account-links ion-icon {
    width: 21px;
    height: 21px;
    color: var(--bt-nav-gold);
}

.bt-nav-sheet-links a > span:not(.bt-nav-badge),
.bt-nav-sheet-account-links a > span:not(.bt-nav-badge) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-nav-badge {
    margin-inline-start: auto;
    padding: 2px 6px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.13);
    color: var(--bt-nav-gold-light);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bt-nav-sheet-post,
.bt-nav-sheet-login,
.bt-pwa-install {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.bt-pwa-install {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: rgba(212, 175, 55, 0.09);
    color: var(--bt-nav-gold-light);
    cursor: pointer;
    font: inherit;
}

.bt-pwa-install ion-icon {
    width: 21px;
    height: 21px;
}

.bt-pwa-install-sheet {
    margin-top: 9px;
}

.bt-nav-sheet-post {
    background: linear-gradient(145deg, var(--bt-nav-gold-light), var(--bt-nav-gold-dark));
    color: var(--bt-nav-ink) !important;
}

.bt-nav-sheet-post ion-icon,
.bt-nav-sheet-login ion-icon {
    width: 23px;
    height: 23px;
}

.bt-nav-sheet-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--bt-nav-border);
}

.bt-nav-sheet-section h2 {
    margin: 0 0 9px;
    color: var(--bt-nav-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bt-nav-sheet-account-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.bt-nav-sheet-wallet {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--bt-nav-border);
    border-radius: 15px;
    background: rgba(212, 175, 55, 0.07);
}

.bt-nav-sheet-wallet span,
.bt-nav-sheet-wallet strong {
    display: block;
}

.bt-nav-sheet-wallet span {
    color: var(--bt-nav-muted);
    font-size: 0.65rem;
}

.bt-nav-sheet-wallet strong {
    margin-top: 2px;
    color: var(--bt-nav-gold-light);
    font-size: 0.77rem;
}

.bt-nav-sheet-wallet a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 11px;
    border-radius: 12px;
    background: var(--bt-nav-gold);
    color: var(--bt-nav-ink) !important;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none !important;
}

.bt-nav-sheet-logout {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 133, 133, 0.3);
    border-radius: 14px;
    background: rgba(255, 133, 133, 0.08);
    color: var(--bt-nav-danger);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
}

.bt-nav-sheet-login {
    margin-top: 14px;
    border: 1px solid var(--bt-nav-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--bt-nav-gold-light) !important;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    :root {
        --bt-nav-dock-height: 76px;
    }

    .bt-bottom-nav {
        height: calc(76px + var(--bt-nav-safe-bottom));
        padding-inline: 10px;
    }

    .bt-bottom-nav-items {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .bt-bottom-nav-tablet-only {
        display: flex;
    }

    .bt-bottom-nav-item > span {
        font-size: 0.72rem;
    }

    .bt-nav-sheet-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bt-nav-sheet-account-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    body.bt-has-responsive-nav {
        --bt-nav-profile-height: 0px;
        padding-bottom: 0;
    }

    .bt-mobile-nav-cluster,
    .bt-nav-backdrop,
    .bt-nav-sheet {
        display: none !important;
    }

    .bt-site-desktop-nav {
        position: fixed;
        z-index: var(--bt-nav-z-header);
        inset-inline: 0;
        top: var(--bt-nav-top-offset, 0px);
        display: block;
        width: 100%;
        min-height: 64px;
        border-bottom: 1px solid var(--bt-nav-border);
        background: linear-gradient(145deg, #070400 0%, #160b00 100%);
        box-shadow: 0 5px 24px rgba(0, 0, 0, 0.36);
    }

    .bt-site-desktop-spacer {
        display: block;
        width: 100%;
        height: 64px;
        flex: 0 0 64px;
        pointer-events: none;
    }

    .bt-site-desktop-inner {
        display: flex;
        width: 100%;
        max-width: 1440px;
        min-height: 64px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-inline: auto;
        padding-inline: 16px;
    }

    .bt-site-logo {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        margin-right: 4px;
    }

    .bt-site-logo img {
        display: block;
        width: auto;
        max-width: 165px;
        height: 38px;
        object-fit: contain;
    }

    .bt-site-desktop-links {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
    }

    .bt-site-desktop-links a {
        position: relative;
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        gap: 5px;
        padding: 6px 8px;
        border-radius: 10px;
        color: var(--bt-nav-muted);
        font-size: 0.75rem;
        font-weight: 700;
        text-decoration: none !important;
        white-space: nowrap;
        transition: color 180ms ease, background-color 180ms ease;
    }

    .bt-site-desktop-links a:hover,
    .bt-site-desktop-links a.is-active {
        background: rgba(212, 175, 55, 0.1);
        color: var(--bt-nav-gold-light);
    }

    .bt-site-desktop-links a.is-active::after {
        position: absolute;
        inset-inline: 14px;
        bottom: 3px;
        height: 2px;
        border-radius: 2px;
        background: var(--bt-nav-gold);
        content: "";
    }

    .bt-site-desktop-links ion-icon {
        width: 17px;
        height: 17px;
        color: var(--bt-nav-gold);
    }

    .bt-site-desktop-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
    }

    .bt-profile-pill {
        display: inline-flex;
        min-width: 108px;
        min-height: 44px;
        max-width: 150px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        padding: 7px 10px;
        border: 1px solid rgba(212, 175, 55, 0.42);
        border-radius: 12px;
        background: rgba(212, 175, 55, 0.08);
        color: var(--bt-nav-gold-light) !important;
        cursor: pointer;
        font-size: 0.7rem;
        font-weight: 850;
        line-height: 1.05;
        text-align: center;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .bt-profile-pill.is-not_started,
    .bt-profile-pill.is-critical {
        border-color: rgba(255, 133, 133, 0.48);
        background: rgba(255, 133, 133, 0.075);
        color: #ffd1d1 !important;
    }

    .bt-profile-pill:hover {
        background: rgba(212, 175, 55, 0.15);
        color: #fff2bd !important;
    }

    .bt-profile-pill__progress {
        width: 100%;
        height: 3px;
        overflow: hidden;
        border-radius: 99px;
        background: rgba(255, 255, 255, 0.12);
    }

    .bt-profile-pill__progress > span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: currentColor;
    }

    .bt-profile-critical-rail {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 8px 16px;
        border-top: 1px solid rgba(255, 133, 133, 0.26);
        background: #21100b;
        color: #f7ded7 !important;
        cursor: pointer;
        font-size: 0.75rem;
        line-height: 1.3;
        text-align: center;
        text-decoration: none !important;
    }

    .bt-profile-critical-rail strong {
        color: #ffd1d1;
        font-weight: 900;
    }

    .bt-profile-critical-rail__cta {
        display: inline-flex;
        min-height: 28px;
        flex: 0 0 auto;
        align-items: center;
        padding: 5px 10px;
        border: 1px solid rgba(255, 209, 209, 0.42);
        border-radius: 999px;
        color: #ffd1d1;
        font-size: 0.68rem;
        font-weight: 900;
    }

    .bt-site-post-button,
    .bt-site-login-link,
    .bt-pwa-install-desktop,
    .bt-site-account-button {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 12px;
        cursor: pointer;
        font: inherit;
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none !important;
    }

    .bt-site-post-button {
        padding: 8px 13px;
        background: linear-gradient(145deg, var(--bt-nav-gold-light), var(--bt-nav-gold-dark));
        color: var(--bt-nav-ink) !important;
    }

    .bt-pwa-install-desktop {
        width: auto;
        min-height: 44px;
        padding: 8px 11px;
        border-radius: 12px;
        white-space: nowrap;
    }

    .bt-site-login-link {
        padding: 8px 11px;
        color: var(--bt-nav-gold-light) !important;
    }

    .bt-site-post-button ion-icon,
    .bt-site-login-link ion-icon,
    .bt-pwa-install-desktop ion-icon {
        width: 19px;
        height: 19px;
    }

    .bt-site-account {
        position: relative;
    }

    .bt-site-account-button {
        max-width: 230px;
        padding: 6px 9px;
        border: 1px solid var(--bt-nav-border);
        background: rgba(255, 255, 255, 0.045);
        color: var(--bt-nav-text);
    }

    .bt-site-account-button img {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        border: 2px solid var(--bt-nav-gold);
        border-radius: 50%;
        object-fit: cover;
    }

    .bt-site-account-button span {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bt-site-account-button ion-icon {
        width: 14px;
        height: 14px;
        transition: transform 180ms ease;
    }

    .bt-site-account-button[aria-expanded="true"] ion-icon {
        transform: rotate(180deg);
    }

    .bt-site-account-menu {
        position: absolute;
        z-index: var(--bt-nav-z-dropdown);
        inset-inline-end: 0;
        top: calc(100% + 9px);
        width: 286px;
        padding: 7px;
        border: 1px solid var(--bt-nav-border);
        border-radius: 17px;
        background: var(--bt-nav-ink);
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.56);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-7px);
        transition: opacity 180ms ease, transform 180ms ease;
        visibility: hidden;
    }

    .bt-site-account-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .bt-site-account-identity {
        padding: 9px 10px 11px;
        border-bottom: 1px solid var(--bt-nav-border);
    }

    .bt-site-account-identity strong,
    .bt-site-account-identity span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bt-site-account-identity strong {
        font-size: 0.82rem;
    }

    .bt-site-account-identity span {
        margin-top: 2px;
        color: var(--bt-nav-muted);
        font-size: 0.68rem;
    }

    .bt-site-account-menu > .bt-profile-account-card {
        display: grid;
        min-height: 68px;
        gap: 5px;
        padding: 10px;
        border: 1px solid rgba(212, 175, 55, 0.32);
        background: rgba(212, 175, 55, 0.075);
        color: var(--bt-nav-text);
    }

    .bt-site-account-menu > .bt-profile-account-card.is-not_started,
    .bt-site-account-menu > .bt-profile-account-card.is-critical {
        border-color: rgba(255, 133, 133, 0.34);
        background: rgba(255, 133, 133, 0.06);
    }

    .bt-site-account-menu > .bt-profile-account-card.is-complete {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.035);
    }

    .bt-profile-account-card.is-complete .bt-profile-account-card__top strong {
        color: var(--bt-nav-text);
    }

    .bt-profile-account-card__top {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .bt-profile-account-card__top strong {
        min-width: 0;
        overflow: hidden;
        color: var(--bt-nav-gold-light);
        font-size: 0.75rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bt-profile-account-card__top > span {
        flex: 0 0 auto;
        color: var(--bt-nav-gold);
        font-size: 0.66rem;
        font-weight: 900;
    }

    .bt-profile-account-card__meta {
        color: var(--bt-nav-muted);
        font-size: 0.65rem;
        font-weight: 700;
    }

    .bt-profile-account-card__progress {
        display: block;
        width: 100%;
        height: 3px;
        overflow: hidden;
        border-radius: 99px;
        background: rgba(255, 255, 255, 0.11);
    }

    .bt-profile-account-card__progress > span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--bt-nav-gold);
    }

    .bt-site-account-menu > a,
    .bt-site-logout {
        display: flex;
        width: 100%;
        min-height: 42px;
        align-items: center;
        gap: 8px;
        margin-top: 3px;
        padding: 8px 10px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: var(--bt-nav-muted);
        cursor: pointer;
        font: inherit;
        font-size: 0.76rem;
        font-weight: 700;
        text-align: start;
        text-decoration: none !important;
        transition: color 180ms ease, background-color 180ms ease;
    }

    .bt-site-account-menu > a:hover,
    .bt-site-account-menu > a.is-active {
        background: rgba(212, 175, 55, 0.1);
        color: var(--bt-nav-gold-light);
    }

    .bt-site-account-menu > a ion-icon,
    .bt-site-logout ion-icon {
        width: 18px;
        height: 18px;
        color: var(--bt-nav-gold);
    }

    .bt-site-coins {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 6px;
        padding: 10px;
        border: 1px solid var(--bt-nav-border);
        border-radius: 12px;
        background: rgba(212, 175, 55, 0.07);
    }

    .bt-site-coins span,
    .bt-site-coins strong {
        display: block;
    }

    .bt-site-coins span {
        color: var(--bt-nav-muted);
        font-size: 0.62rem;
    }

    .bt-site-coins strong {
        margin-top: 2px;
        color: var(--bt-nav-gold-light);
        font-size: 0.75rem;
    }

    .bt-site-coins a {
        min-height: auto !important;
        margin: 0 !important;
        padding: 6px 8px !important;
        background: var(--bt-nav-gold) !important;
        color: var(--bt-nav-ink) !important;
        font-size: 0.67rem !important;
    }

    .bt-site-logout {
        color: var(--bt-nav-danger);
    }

    .bt-site-logout:hover {
        background: rgba(255, 133, 133, 0.09);
    }

    .bt-site-logout ion-icon {
        color: var(--bt-nav-danger);
    }

    .bt-site-header-ad {
        display: block;
        width: 100%;
        max-width: 1120px;
        margin: 10px auto 0;
        padding-inline: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .bt-site-desktop-inner {
        gap: 6px;
        padding-inline: 10px;
    }

    .bt-site-logo img {
        max-width: 140px;
        height: 32px;
    }

    .bt-site-desktop-links {
        gap: 1px;
    }

    .bt-site-desktop-links a {
        padding: 5px 6px;
        font-size: 0.71rem;
        gap: 3px;
    }

    .bt-site-desktop-links ion-icon {
        width: 15px;
        height: 15px;
    }

    .bt-nav-badge {
        padding: 1px 4px;
        font-size: 0.6rem;
    }

    .bt-site-desktop-actions {
        gap: 6px;
        margin-left: auto;
    }

    .bt-site-post-button,
    .bt-site-login-link,
    .bt-pwa-install-desktop,
    .bt-site-account-button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-site-navigation .bt-nav-backdrop,
    .bt-site-navigation .bt-nav-sheet,
    .bt-site-navigation .bt-site-account-menu,
    .bt-site-navigation .bt-site-account-button ion-icon,
    .bt-site-navigation a,
    .bt-site-navigation button {
        scroll-behavior: auto;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   UNIVERSAL PERFECT SQUARE PAGINATION — Bulletproof Anti-Crop System
   Single source of truth. Universal square shape & adaptive responsive layout.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --pg-size:      44px !important;   /* button size — desktop */
  --pg-gap:       10px !important;   /* gap between buttons */
  --pg-radius:    8px !important;    /* border-radius */
  --pg-fs:        0.95rem !important;/* font-size */
  --pg-mt:        2rem !important;   /* margin-top */
  --pg-mb:        2rem !important;   /* margin-bottom */

  --pg-bg:        var(--sys-surface, #ffffff) !important;
  --pg-border:    var(--sys-border-dk, #e2e8f0) !important;
  --pg-text:      var(--sys-text, #1f2937) !important;
  --pg-active-bg: var(--sys-dark, #111827) !important;
  --pg-hover-border: var(--sys-primary, #ff6b00) !important;
  --pg-hover-text:   var(--sys-primary, #ff6b00) !important;
  --pg-hover-bg:  var(--sys-bg, #f8fafc) !important;
  --pg-disabled-bg: var(--sys-bg, #f8fafc) !important;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  :root {
    --pg-size:   40px !important;
    --pg-gap:    8px !important;
    --pg-radius: 8px !important;
    --pg-fs:     0.9rem !important;
    --pg-mt:     1.75rem !important;
    --pg-mb:     1.75rem !important;
  }
}

@media (max-width: 575.98px) {
  :root {
    --pg-size:   36px !important;
    --pg-gap:    6px !important;
    --pg-radius: 6px !important;
    --pg-fs:     0.82rem !important;
    --pg-mt:     1.5rem !important;
    --pg-mb:     1.5rem !important;
  }
}

/* Header stack v2: natural flow, stable dimensions and one 1200px breakpoint. */
.bt-header-stack {
  position: relative;
  z-index: 1040;
  width: 100%;
  background: #110900;
  isolation: isolate;
}

.bt-header-stack.is-v2 {
  position: sticky;
  top: 0;
}

/* Mobile and tablet headers are always stable, including rollout-safe mode. */
@media (max-width: 1199.98px) {
  /* Page themes historically set overflow-x:hidden on html/body. That changes
     overflow-y to auto and makes the document a sticky containment boundary,
     so the header scrolls away. clip prevents horizontal paint overflow
     without creating a scroll container. */
  html,
  body {
    overflow-x: clip !important;
  }

  .bt-header-stack,
  .bt-header-stack.is-rollout-safe,
  .bt-header-stack.is-v2 {
    position: sticky !important;
    top: 0 !important;
  }
}

.bt-skip-link {
  position: fixed;
  z-index: 1100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #211100 !important;
  font-weight: 800;
  transform: translateY(-150%);
}

.bt-skip-link:focus {
  transform: translateY(0);
}

.bt-announcement,
.bt-impersonation {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px max(16px, env(safe-area-inset-left));
  color: #241400;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}

.bt-announcement {
  position: relative;
  justify-content: flex-start;
  background: linear-gradient(90deg, #fff2bd, #f3c954);
  border-bottom: 1px solid rgba(75, 42, 0, 0.24);
}

.bt-announcement-label {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid #4e2b00;
  background: #241400;
  color: #fff2bd;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.bt-announcement-dot,
.bt-event-breaking-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.bt-announcement-content {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.bt-announcement-content p {
  margin: 0;
}

.bt-announcement-content a,
.bt-impersonation a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bt-announcement-dismiss {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  margin-block: -8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.bt-announcement-dismiss ion-icon {
  width: 24px;
  height: 24px;
}

.bt-impersonation {
  flex-wrap: wrap;
  background: #7a3e00;
  color: #ffffff;
}

.bt-site-mobile-topbar {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 16px;
  border-bottom: 1px solid rgba(226, 183, 68, 0.3);
  background: linear-gradient(135deg, #090500, #211100);
}

.bt-site-mobile-logo,
.bt-site-mobile-logo img {
  display: block;
}

.bt-site-mobile-logo img {
  width: auto;
  max-width: 132px;
  height: 32px;
  object-fit: contain;
}

.bt-mobile-account-status {
  display: inline-flex;
  min-height: 40px;
  max-width: 50vw;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(231, 193, 86, 0.48);
  border-radius: 999px;
  color: #ffe9a5 !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
}

.bt-mobile-account-status.is-pass {
  border-color: #53c987;
  color: #a7f3c6 !important;
}

.bt-event-top-ticker {
  display: flex !important;
  width: 100% !important;
  min-height: 44px;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 7px 16px !important;
  border-bottom: 1px solid rgba(231, 193, 86, 0.3);
  background: #1a0d00;
  color: #ffffff !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

.bt-event-ticker-copy,
.bt-event-ticker-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.bt-event-ticker-copy strong,
.bt-event-ticker-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-event-ticker-copy strong {
  color: #ffe38b;
}

.bt-event-ticker-meta {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.bt-event-status {
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bt-event-status.is-live { color: #69e69d; }
.bt-event-status.is-upcoming { color: #ffd66b; }

.bt-home-event-chips {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-bottom: 1px solid rgba(231, 193, 86, 0.25);
  background: #1a0d00;
  scrollbar-width: none;
}

.bt-home-event-chips::-webkit-scrollbar { display: none; }

.bt-home-event-chip {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(105, 230, 157, 0.45);
  border-radius: 12px;
  background: rgba(105, 230, 157, 0.06);
  color: #d9ffe9 !important;
  font-size: 0.72rem;
  text-decoration: none !important;
}

.bt-home-event-chip.is-upcoming {
  border-color: rgba(255, 214, 107, 0.48);
  background: rgba(255, 214, 107, 0.07);
  color: #fff1bd !important;
}

.bt-home-event-chip-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #53d68c;
}

.bt-home-event-chip.is-upcoming .bt-home-event-chip-dot { background: #ffd66b; }

.bt-home-event-chip-copy,
.bt-home-event-chip-meta {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.bt-home-event-chip-copy strong,
.bt-home-event-chip-meta strong {
  color: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.15;
}

.bt-home-event-chip-copy span,
.bt-home-event-chip-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.2;
}

.bt-home-event-chip-meta {
  padding-inline-start: 8px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.bt-desktop-more { display: none; }

@media (max-width: 575.98px) {
  .bt-announcement,
  .bt-impersonation {
    justify-content: space-between;
    text-align: left;
  }

  .bt-event-top-ticker {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    padding: 7px 12px !important;
    text-align: left !important;
  }

  .bt-event-ticker-copy > span,
  .bt-event-ticker-meta > span:not(.bt-event-status) {
    display: none;
  }

  .bt-home-event-chips {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .bt-home-event-chips a { white-space: nowrap; }
}

@media (min-width: 1200px) {
  .bt-site-mobile-topbar { display: none; }

  .bt-site-desktop-nav {
    position: relative !important;
    z-index: auto !important;
    inset: auto !important;
    display: block !important;
    width: 100%;
    min-height: 64px;
  }

  .bt-site-desktop-spacer,
  .bt-site-navigation.bt-has-event-ticker .bt-site-desktop-spacer {
    display: none !important;
    height: 0 !important;
    flex-basis: 0 !important;
  }

  .bt-site-desktop-inner { height: 64px; }

  .bt-desktop-more {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .bt-desktop-more summary {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 10px;
    color: var(--bt-nav-muted, #c9bcae);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    list-style: none;
  }

  .bt-desktop-more summary::-webkit-details-marker { display: none; }

  .bt-desktop-more summary:hover,
  .bt-desktop-more summary:focus-visible,
  .bt-desktop-more[open] summary {
    background: rgba(229, 188, 79, 0.12);
    color: #ffe49a;
  }

  .bt-desktop-more summary:focus-visible {
    outline: 2px solid #f0c75e;
    outline-offset: 2px;
  }

  .bt-desktop-more-panel {
    position: absolute;
    z-index: 4;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 90vw);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--bt-nav-border);
    border-radius: 14px;
    background: #160b00;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }

  .bt-desktop-more-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .bt-desktop-more-links a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(229, 188, 79, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: #f6e8c4 !important;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none !important;
  }

  .bt-desktop-more-links a:hover,
  .bt-desktop-more-links a:focus-visible,
  .bt-desktop-more-links a.is-active {
    border-color: rgba(229, 188, 79, 0.48);
    background: rgba(229, 188, 79, 0.13);
    color: #ffe49a !important;
  }

  .bt-desktop-more-links a:focus-visible {
    outline: 2px solid #f0c75e;
    outline-offset: 2px;
  }

  .bt-desktop-more-links ion-icon {
    width: 21px;
    height: 21px;
  }

  .bt-desktop-more-links a > span:nth-child(2) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bt-desktop-more-links + .bt-ad-outlet {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(229, 188, 79, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-site-navigation *,
  .bt-site-navigation *::before,
  .bt-site-navigation *::after,
  .bt-skip-link {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 359.98px) {
  :root {
    --pg-size:   32px !important;
    --pg-gap:    5px !important;
    --pg-radius: 5px !important;
    --pg-fs:     0.78rem !important;
  }
}

/* Wrapper container */
.dir-page-wrap,
.pagination-wrap,
.bits-pagination,
.dsp-pager,
.sp-pagination,
.bl-pagination,
.bt-seo-pager-wrap,
.generic-pagination-wrap {
  width: 100% !important;
  margin-top: var(--pg-mt) !important;
  margin-bottom: var(--pg-mb) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
}

.dir-page-wrap nav,
.pagination-wrap nav,
.bits-pagination nav,
.dsp-pager nav,
.sp-pagination nav,
.bl-pagination nav,
.bt-seo-pager-wrap nav,
.generic-pagination-wrap nav {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* The list */
ul.pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--pg-gap) !important;
  list-style: none !important;
  padding: 4px 2px !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Every page item */
li.page-item,
.pagination .page-item,
.page-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Every page link button — PERFECT SQUARE & ALL CORNERS RADIUS OVERRIDDEN */
.page-link,
.page-item .page-link,
.page-item:first-child .page-link,
.page-item:last-child .page-link,
.page-item:nth-child(n) .page-link,
ul.pagination .page-item .page-link {
  width: var(--pg-size) !important;
  height: var(--pg-size) !important;
  min-width: var(--pg-size) !important;
  max-width: var(--pg-size) !important;
  min-height: var(--pg-size) !important;
  max-height: var(--pg-size) !important;

  padding: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: var(--pg-bg) !important;
  border: 1.5px solid var(--pg-border) !important;
  
  /* OVERRIDE BOOTSTRAP 4 FIRST/LAST CHILD CORNER RADIUS */
  border-radius: var(--pg-radius) !important;
  border-top-left-radius: var(--pg-radius) !important;
  border-top-right-radius: var(--pg-radius) !important;
  border-bottom-left-radius: var(--pg-radius) !important;
  border-bottom-right-radius: var(--pg-radius) !important;

  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: var(--pg-fs) !important;
  line-height: 1 !important;
  color: var(--pg-text) !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease,
              box-shadow 0.18s ease !important;

  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Active page button */
.page-item.active .page-link,
.page-item.active:first-child .page-link,
.page-item.active:last-child .page-link,
ul.pagination .page-item.active .page-link {
  background: var(--pg-active-bg) !important;
  border-color: var(--pg-active-bg) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  cursor: default !important;
  pointer-events: none !important;
}

/* Hover state */
.page-item:not(.active):not(.disabled) .page-link:hover,
ul.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  border-color: var(--pg-hover-border) !important;
  color: var(--pg-hover-text) !important;
  background: var(--pg-hover-bg) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

@media (hover: none) {
  .page-item:not(.active):not(.disabled) .page-link:hover,
  ul.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Disabled state */
.page-item.disabled .page-link,
ul.pagination .page-item.disabled .page-link {
  opacity: 0.42 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: var(--pg-disabled-bg) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   BAPUTALK EVENT TOP TICKER — Non-overlapping Responsive Header Bar
   ═══════════════════════════════════════════════════════════════════════ */
.bt-event-top-ticker {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 6px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  position: relative !important;
  z-index: 1021 !important;
}

.bt-event-ticker-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.bt-event-ticker-title {
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

.bt-event-ticker-divider {
  opacity: 0.35 !important;
  flex-shrink: 0 !important;
}

.bt-event-ticker-tagline {
  opacity: 0.88 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bt-event-ticker-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.bt-event-ticker-badge {
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* When event ticker is present inside header on Desktop */
@media (min-width: 1200px) {
  .bt-site-navigation.bt-has-event-ticker .bt-site-desktop-spacer {
    height: 100px !important;
    flex: 0 0 100px !important;
  }
}

/* Mobile & Tablet Adaptations (< 1200px) */
@media (max-width: 1199.98px) {
  .bt-event-top-ticker {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 575.98px) {
  .bt-event-top-ticker {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 6px 10px !important;
    gap: 4px 8px !important;
  }
  .bt-event-ticker-left {
    justify-content: center !important;
  }
  .bt-event-ticker-tagline {
    display: none !important;
  }
}

/* Final v2 precedence over the retired ticker rules above. */
.bt-event-top-ticker {
  min-height: 44px !important;
  padding: 7px 16px !important;
  border-bottom: 1px solid rgba(231, 193, 86, 0.3) !important;
  background: #1a0d00 !important;
}

@media (max-width: 575.98px) {
  .bt-event-top-ticker {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    padding: 7px 12px !important;
    text-align: left !important;
  }
}

/* Full-width update rails: one clear alert surface, never floating chips. */
.bt-event-top-ticker {
  display: flex !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 8px max(16px, calc((100vw - 1180px) / 2)) !important;
  border-block: 1px solid rgba(212, 175, 55, 0.42) !important;
  background: linear-gradient(90deg, #140900 0%, #261200 52%, #140900 100%) !important;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.04) !important;
}

.bt-event-top-ticker.is-live {
  border-color: rgba(255, 108, 108, 0.56) !important;
  background: linear-gradient(90deg, #260707 0%, #4a0d0d 52%, #260707 100%) !important;
}

.bt-event-breaking-label,
.bt-home-event-rail__label {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #efc95d;
  background: rgba(0, 0, 0, 0.18);
  color: #ffe69b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.bt-event-top-ticker.is-live .bt-event-breaking-label {
  border-color: #ff8a8a;
  color: #ffd1d1;
}

.bt-event-top-ticker.is-live .bt-event-breaking-dot,
.bt-home-event-rail.is-live .bt-home-event-rail__label .bt-event-breaking-dot {
  animation: bt-breaking-pulse 1.6s ease-in-out infinite;
}

.bt-event-ticker-copy {
  flex: 1 1 auto;
}

.bt-event-ticker-copy strong {
  color: #ffffff !important;
  font-size: 0.82rem;
}

.bt-event-ticker-copy span {
  color: rgba(255, 255, 255, 0.76);
}

.bt-event-ticker-meta {
  margin-inline-start: auto;
}

.bt-mobile-update-rotator {
  display: none;
}

@media (max-width: 1199.98px) {
  body.bt-mobile-updates-ready #bt-header-stack .bt-announcement[data-mobile-update-source="announcement"],
  body.bt-mobile-updates-ready #bt-header-stack .bt-event-top-ticker,
  body.bt-mobile-updates-ready #bt-header-stack .bt-home-event-rail {
    display: none !important;
  }

  body.bt-mobile-updates-ready .bt-mobile-update-rotator {
    display: grid;
  }

  .bt-mobile-update-rotator {
    width: 100%;
    min-height: 48px;
    grid-template-columns: auto minmax(0, 1fr) auto 40px 40px;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-block: 1px solid rgba(212, 175, 55, 0.48);
    background: linear-gradient(90deg, #140900 0%, #261200 52%, #140900 100%);
    color: #ffffff;
  }

  .bt-mobile-update-rotator.is-single {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bt-mobile-update-rotator__label {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border: 1px solid #efc95d;
    color: #ffe69b;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .bt-mobile-update-rotator__viewport {
    min-width: 0;
    overflow: hidden;
  }

  .bt-mobile-update-rotator__track {
    display: flex;
    width: 100%;
    transition: transform 420ms ease;
    will-change: transform;
  }

  .bt-mobile-update-slide {
    display: flex;
    min-width: 0;
    min-height: 38px;
    flex: 0 0 100%;
    align-items: center;
    gap: 9px;
    padding-inline: 3px;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .bt-mobile-update-slide__copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 1px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.69rem;
    font-weight: 650;
    line-height: 1.2;
  }

  .bt-mobile-update-slide__copy strong,
  .bt-mobile-update-slide__copy > span,
  .bt-mobile-update-slide__copy > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bt-mobile-update-slide__copy strong {
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 900;
  }

  .bt-mobile-update-slide__copy a {
    color: #ffe69b;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .bt-mobile-update-slide__meta {
    display: grid;
    min-width: 0;
    flex: 0 1 auto;
    gap: 1px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.61rem;
    line-height: 1.15;
    text-align: end;
    white-space: nowrap;
  }

  .bt-mobile-update-slide__meta strong,
  .bt-mobile-update-slide__meta .bt-event-status {
    color: #ffe69b;
    font-size: 0.64rem;
    font-weight: 900;
  }

  .bt-mobile-update-slide.is-live .bt-mobile-update-slide__meta strong,
  .bt-mobile-update-slide.is-live .bt-mobile-update-slide__meta .bt-event-status {
    color: #ffd1d1;
  }

  .bt-mobile-update-rotator__counter {
    min-width: 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.66rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    text-align: center;
  }

  .bt-mobile-update-rotator__control,
  .bt-mobile-update-slide__dismiss {
    display: inline-grid;
    width: 40px;
    height: 40px;
    min-width: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffe69b;
    cursor: pointer;
  }

  .bt-mobile-update-rotator__control ion-icon,
  .bt-mobile-update-slide__dismiss ion-icon {
    width: 20px;
    height: 20px;
  }

  .bt-mobile-update-slide__dismiss {
    width: 34px;
    height: 38px;
    min-width: 34px;
    color: rgba(255, 255, 255, 0.82);
  }

  .bt-mobile-update-rotator.is-single .bt-mobile-update-rotator__counter,
  .bt-mobile-update-rotator.is-single .bt-mobile-update-rotator__control {
    display: none;
  }

  html[dir="rtl"] .bt-mobile-update-rotator [data-mobile-update-next] ion-icon {
    transform: rotate(180deg);
  }
}

@media (max-width: 575.98px) {
  .bt-mobile-update-rotator {
    grid-template-columns: auto minmax(0, 1fr) auto 38px 38px;
    gap: 3px;
    padding-inline: 7px;
  }

  .bt-mobile-update-rotator__label {
    padding-inline: 6px;
    letter-spacing: 0.035em;
  }

  .bt-mobile-update-slide__meta {
    display: none;
  }

  .bt-mobile-update-rotator__control {
    width: 38px;
    min-width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-mobile-update-rotator__track {
    transition: none !important;
  }
}

.bt-home-event-rail {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 7px max(16px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  border-block: 1px solid rgba(255, 108, 108, 0.5);
  background: linear-gradient(90deg, #260707 0%, #4a0d0d 52%, #260707 100%);
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.bt-home-event-rail.is-upcoming {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(90deg, #140900 0%, #261200 52%, #140900 100%);
}

.bt-home-event-rail__label {
  border-color: #ff8a8a;
  color: #ffd1d1;
}

.bt-home-event-rail.is-upcoming .bt-home-event-rail__label {
  border-color: #efc95d;
  color: #ffe69b;
}

.bt-home-event-rail__items {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.bt-home-event-rail__items::-webkit-scrollbar {
  display: none;
}

.bt-home-event-item {
  display: inline-flex;
  min-height: 34px;
  flex: 1 0 230px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 14px;
  border: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  color: #ffffff !important;
  font-size: 0.72rem;
  text-decoration: none !important;
}

.bt-home-event-item:last-child {
  border-inline-end: 0;
}

.bt-home-event-item__copy,
.bt-home-event-item__meta {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.bt-home-event-item__copy strong,
.bt-home-event-item__meta strong {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.15;
}

.bt-home-event-item__copy span,
.bt-home-event-item__meta span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.63rem;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-home-event-item__meta {
  flex: 0 0 auto;
  text-align: right;
}

@keyframes bt-breaking-pulse {
  50% { opacity: 0.38; transform: scale(0.78); }
}

@media (max-width: 767.98px) {
  .bt-announcement {
    gap: 9px;
    padding: 7px 10px;
  }

  .bt-announcement-label {
    padding-inline: 8px;
    font-size: 0.62rem;
  }

  .bt-announcement-content {
    font-size: 0.75rem;
  }

  .bt-event-top-ticker {
    gap: 9px !important;
    padding: 7px 10px !important;
  }

  .bt-event-breaking-label {
    padding-inline: 8px;
    font-size: 0.62rem;
  }

  .bt-event-ticker-copy > span,
  .bt-event-ticker-meta > span:not(.bt-event-status) {
    display: none;
  }

  .bt-event-ticker-copy strong {
    max-width: 44vw;
  }

  .bt-home-event-rail {
    gap: 8px;
    padding: 7px 10px;
  }

  .bt-home-event-rail__label {
    padding-inline: 8px;
    font-size: 0.61rem;
  }

  .bt-home-event-item {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-event-breaking-dot {
    animation: none !important;
  }
}

/* Page-level event context uses the same edge-to-edge breaking-update language. */
.bt-page-event-rail {
  --bt-event-accent: #d4af37;
  --bt-event-bg: #140b00;
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 9px max(16px, calc((100vw - 1060px) / 2));
  border-block: 1px solid var(--bt-event-accent);
  background: linear-gradient(90deg, var(--bt-event-bg), #120900 62%, var(--bt-event-bg));
  color: #fff8e8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.bt-page-event-rail__label {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--bt-event-accent);
  color: var(--bt-event-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bt-page-event-rail__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.bt-page-event-rail.is-live .bt-page-event-rail__dot {
  animation: bt-breaking-pulse 1.6s ease-in-out infinite;
}

.bt-page-event-rail__name {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 850;
}

.bt-page-event-rail__copy {
  min-width: 0;
  color: rgba(255, 248, 232, 0.82);
  font-size: 0.84rem;
}

@media (max-width: 767.98px) {
  .bt-page-event-rail {
    gap: 9px;
    overflow-x: auto;
    padding: 8px 12px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .bt-page-event-rail::-webkit-scrollbar {
    display: none;
  }

  .bt-page-event-rail__copy {
    padding-inline-end: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-page-event-rail.is-live .bt-page-event-rail__dot {
    animation: none;
  }
}


