:root {
    --bg26-green: #29422e;
    --bg26-green-dark: #1d2f21;
    --bg26-orange: #f96332;
    --bg26-ink: #272b30;
    --bg26-muted: #697078;
    --bg26-surface: #ffffff;
    --bg26-soft: #f3f5f4;
    --bg26-line: rgba(39, 43, 48, .11);
    --bg26-shadow: 0 14px 38px rgba(22, 28, 24, .11);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f3f5f4;
    color: var(--bg26-ink);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid rgba(249, 99, 50, .45);
    outline-offset: 3px;
}

.event-header-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 190px;
    height: auto !important;
}

.card,
.bg26-panel {
    border: 1px solid var(--bg26-line);
    box-shadow: 0 8px 24px rgba(27, 33, 29, .07);
}

.btn {
    font-weight: 650;
    letter-spacing: .01em;
}

.btn-primary {
    background-color: var(--bg26-green);
    border-color: var(--bg26-green);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--bg26-green-dark) !important;
    border-color: var(--bg26-green-dark) !important;
}

.bg26-event-hub {
    margin: 26px 0 38px;
}

.bg26-event-hub__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.bg26-event-hub__header h3 {
    margin: 0 0 5px;
    font-weight: 750;
}

.bg26-event-hub__header p {
    margin: 0;
    color: var(--bg26-muted);
}

.bg26-event-hub__updated {
    color: var(--bg26-muted);
    font-size: .82rem;
    white-space: nowrap;
}

.bg26-event-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bg26-hub-card {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    padding: 21px;
    border: 1px solid var(--bg26-line);
    border-radius: 13px;
    background: var(--bg26-surface);
    box-shadow: var(--bg26-shadow);
}

.bg26-hub-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--hub-accent, var(--bg26-green));
}

.bg26-hub-card--status { --hub-accent: #e1473d; }
.bg26-hub-card--kuulaportti { --hub-accent: #3f7bb7; }
.bg26-hub-card--website { --hub-accent: var(--bg26-orange); }

.bg26-hub-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
}

.bg26-hub-card__service {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bg26-ink);
    font-size: 1.05rem;
    font-weight: 750;
}

.bg26-hub-card__service i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg26-soft);
    color: var(--hub-accent, var(--bg26-green));
}

.bg26-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bg26-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bg26-live-indicator::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9da3a0;
}

.bg26-live-indicator.is-live::before {
    background: #35a85b;
    box-shadow: 0 0 0 4px rgba(53, 168, 91, .13);
}

.bg26-hub-card__metric {
    margin-bottom: 5px;
    color: var(--bg26-ink);
    font-size: 2rem;
    font-weight: 780;
    line-height: 1.08;
}

.bg26-hub-card__label,
.bg26-hub-card__copy {
    color: var(--bg26-muted);
    line-height: 1.55;
}

.bg26-hub-card__submetrics {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 15px 0 18px;
    color: var(--bg26-muted);
    font-size: .86rem;
}

.bg26-hub-card__submetrics strong {
    color: var(--bg26-ink);
}

.bg26-hub-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.bg26-hub-card__actions .btn {
    margin: 0;
}

.bg26-hub-skeleton {
    position: relative;
    overflow: hidden;
    min-height: 17px;
    border-radius: 5px;
    background: #e9ecea;
}

.bg26-hub-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: translateX(-100%);
    animation: bg26-skeleton 1.4s infinite;
}

@keyframes bg26-skeleton {
    to { transform: translateX(100%); }
}

.bg26-countdown-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
    padding: 16px 20px;
    border: 1px solid rgba(41, 66, 46, .18);
    border-radius: 11px;
    background: linear-gradient(120deg, rgba(41, 66, 46, .09), rgba(249, 99, 50, .08));
}

.bg26-countdown-banner strong {
    display: block;
    font-size: 1.08rem;
}

.bg26-countdown-banner span {
    color: var(--bg26-muted);
}

.bg26-official-update {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bg26-official-update__thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 54px;
    border-radius: 7px;
    object-fit: cover;
    background: var(--bg26-soft);
}

.bg26-official-update__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 5px;
    color: var(--bg26-ink);
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bg26-official-update__date {
    color: var(--bg26-muted);
    font-size: .8rem;
}

.bg26-status-dashboard {
    margin-bottom: 32px;
}

.bg26-status-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.bg26-status-metric {
    padding: 18px;
    border: 1px solid var(--bg26-line);
    border-radius: 11px;
    background: #fff;
    text-align: center;
}

.bg26-status-metric strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.85rem;
    line-height: 1;
}

.bg26-status-metric span {
    color: var(--bg26-muted);
    font-size: .85rem;
}

.bg26-status-message {
    margin-top: 12px;
    color: var(--bg26-muted);
    text-align: center;
}

.bg26-service-toolbar {
    position: sticky;
    top: 74px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 11px;
    border: 1px solid var(--bg26-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(20, 25, 22, .08);
    backdrop-filter: blur(8px);
}

.bg26-service-toolbar .btn {
    margin: 0;
    padding: 8px 13px;
}

.bg26-service-toolbar .btn.is-active {
    background: var(--bg26-green);
    color: #fff;
}

.bg26-service-card[hidden] {
    display: none !important;
}

.bg26-service-card {
    scroll-margin-top: 150px;
}

.bg26-cross-service-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 24px;
}

.bg26-cross-service-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
}

.login-event-logo {
    max-width: 90px !important;
    max-height: 90px !important;
}

@media (max-width: 991.98px) {
    .bg26-event-hub__grid,
    .bg26-cross-service-actions {
        grid-template-columns: 1fr;
    }

    .bg26-status-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .event-header-logo {
        max-width: 145px;
        max-height: 145px;
    }

    .bg26-event-hub__header,
    .bg26-countdown-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .bg26-event-hub__updated {
        white-space: normal;
    }

    .bg26-hub-card {
        min-height: 0;
        padding: 19px;
    }

    .bg26-status-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .bg26-service-toolbar {
        top: 62px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .bg26-service-toolbar .btn {
        flex: 0 0 auto;
    }
}

@media (max-width: 420px) {
    .bg26-status-metrics {
        grid-template-columns: 1fr;
    }
}

.faction-live-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    margin-left: 5px;
    padding: 2px 6px;
    color: inherit;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.2;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
}

.faction-nav .nav-link.active .faction-live-count {
    color: var(--faction-accent);
    background: #fff;
}

.bg26-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.bg26-page-heading h2,
.bg26-article-body h1 {
    margin-bottom: 8px;
    font-weight: 760;
}

.bg26-page-heading p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--bg26-muted);
}

.bg26-eyebrow {
    margin: 0 0 7px;
    color: var(--bg26-orange);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bg26-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bg26-news-tile {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
    min-height: 215px;
    border: 1px solid var(--bg26-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(27, 33, 29, .08);
}

.bg26-news-tile--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    min-height: 295px;
}

.bg26-news-tile__image {
    display: block;
    min-height: 100%;
    background: var(--bg26-soft);
}

.bg26-news-tile__image img,
.bg26-news-tile__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 215px;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

.bg26-news-tile--featured .bg26-news-tile__image img,
.bg26-news-tile--featured .bg26-news-tile__placeholder {
    min-height: 295px;
}

.bg26-news-tile__placeholder {
    color: #a6aca8;
    font-size: 2rem;
}

.bg26-news-tile__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.bg26-news-tile__body h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.bg26-news-tile__body h3 a {
    color: var(--bg26-ink);
}

.bg26-news-tile__body h3 a:hover {
    color: var(--bg26-orange);
    text-decoration: none;
}

.bg26-news-tile__body > p:not(.bg26-news-tile__date) {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bg26-muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bg26-news-tile__date {
    margin: 0 0 8px;
    color: var(--bg26-muted);
    font-size: .78rem;
    font-weight: 700;
}

.bg26-news-tile__body .btn {
    margin-top: auto;
}

.bg26-article-card {
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--bg26-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--bg26-shadow);
}

.bg26-article-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg26-line);
    background: #fafbfa;
}

.bg26-article-toolbar__links {
    display: flex;
    gap: 8px;
}

.bg26-article-hero {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    background: var(--bg26-soft);
}

.bg26-article-body {
    padding: clamp(22px, 5vw, 54px);
}

.bg26-article-meta {
    margin-bottom: 26px;
    color: var(--bg26-muted);
    font-size: .86rem;
}

.bg26-wp-content {
    font-size: 1.02rem;
    line-height: 1.72;
}

.bg26-wp-content img,
.bg26-wp-content figure,
.bg26-wp-content video {
    max-width: 100%;
    height: auto;
}

.bg26-wp-content figure {
    margin: 24px auto;
}

.bg26-wp-content figcaption {
    padding-top: 7px;
    color: var(--bg26-muted);
    font-size: .82rem;
    text-align: center;
}

.bg26-wp-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.bg26-media-embed {
    position: relative;
    height: 0;
    margin: 24px 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.bg26-media-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bg26-mobile-actions {
    display: none;
}

@media (max-width: 991.98px) {
    .bg26-news-grid {
        grid-template-columns: 1fr;
    }

    .bg26-news-tile--featured {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 68px;
    }

    .bg26-page-heading,
    .bg26-article-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .bg26-article-toolbar__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bg26-news-tile,
    .bg26-news-tile--featured {
        grid-template-columns: 1fr;
    }

    .bg26-news-tile__image img,
    .bg26-news-tile__placeholder,
    .bg26-news-tile--featured .bg26-news-tile__image img,
    .bg26-news-tile--featured .bg26-news-tile__placeholder {
        min-height: 185px;
        max-height: 235px;
    }

    .bg26-mobile-actions {
        position: fixed;
        z-index: 1040;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        border-top: 1px solid rgba(19, 24, 21, .14);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 24px rgba(18, 24, 20, .13);
        backdrop-filter: blur(10px);
    }

    .bg26-mobile-actions a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        min-height: 48px;
        color: #565d59;
        font-size: .67rem;
        font-weight: 750;
        line-height: 1.1;
        text-align: center;
        border-radius: 7px;
    }

    .bg26-mobile-actions a:hover,
    .bg26-mobile-actions a:focus,
    .bg26-mobile-actions a.is-active {
        color: var(--bg26-green);
        background: rgba(41, 66, 46, .08);
        text-decoration: none;
    }

    .bg26-mobile-actions i {
        font-size: 1.05rem;
    }

    .bg26-mobile-action-badge {
        position: absolute;
        top: 1px;
        left: calc(50% + 8px);
        min-width: 17px;
        padding: 2px 5px;
        color: #fff;
        font-size: .59rem;
        line-height: 1.15;
        background: #d6453d;
        border: 2px solid #fff;
        border-radius: 999px;
    }
}

.bg26-check-list {
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.bg26-check-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 29px;
    line-height: 1.55;
}

.bg26-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    background: var(--bg26-green);
    border-radius: 50%;
}

.bg26-step-list {
    display: grid;
    gap: 11px;
}

.bg26-step-list > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--bg26-line);
    border-radius: 9px;
    background: var(--bg26-soft);
}

.bg26-step-list > div > span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    background: var(--bg26-green);
    border-radius: 50%;
}

.bg26-step-list p {
    margin: 2px 0 0;
}

.bg26-feedback-form {
    position: relative;
    padding: clamp(18px, 4vw, 34px);
    border: 1px solid var(--bg26-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--bg26-shadow);
}

.bg26-feedback-form label,
.bg26-feedback-form legend {
    font-weight: 700;
}

.bg26-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.bg26-choice-grid label,
.bg26-urgent-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--bg26-line);
    border-radius: 9px;
    background: #fafbfa;
    cursor: pointer;
}

.bg26-choice-grid label:hover,
.bg26-urgent-check:hover {
    border-color: rgba(41, 66, 46, .35);
    background: rgba(41, 66, 46, .04);
}

.bg26-choice-grid input,
.bg26-urgent-check input {
    margin-top: 3px;
}

.bg26-urgent-check {
    margin: 18px 0;
    border-color: rgba(214, 69, 61, .25);
    background: rgba(214, 69, 61, .05);
}

.bg26-urgent-check span {
    display: flex;
    flex-direction: column;
}

.bg26-urgent-check small {
    margin-top: 2px;
    color: var(--bg26-muted);
    font-weight: 400;
}

.bg26-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767.98px) {
    .bg26-choice-grid {
        grid-template-columns: 1fr;
    }
}

.bg26-empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 8vw, 72px) 20px;
    text-align: center;
}

.bg26-empty-state__code {
    display: block;
    margin-bottom: 8px;
    color: rgba(41, 66, 46, .16);
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 850;
    line-height: .85;
}

.bg26-empty-state p {
    max-width: 580px;
    margin: 0 auto 24px;
    color: var(--bg26-muted);
}

.bg26-event-hub__refresh {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.bg26-event-hub__refresh .btn {
    margin: 0;
}

@media (max-width: 767.98px) {
    .bg26-event-hub__refresh {
        width: 100%;
        justify-content: space-between;
    }
}

/* Battlegroup Players v13: shared page rhythm, responsive cards and live rules. */
.wrapper > .section {
    overflow-x: clip;
}

.wrapper > .section > .container {
    position: relative;
}

.wrapper .card > .card-body:not([class*="p-"]) {
    padding: 24px;
}

.wrapper .card > .card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--bg26-line);
    background: #fafbfa;
    font-weight: 700;
}

.wrapper .card h3:first-child,
.wrapper .card h4:first-child,
.wrapper .card h5:first-child {
    margin-top: 0;
}

.bg26-page-card {
    height: calc(100% - 1rem);
    margin-bottom: 1rem;
    border-radius: 13px;
    background: #fff;
}

.bg26-page-card .card-body {
    min-width: 0;
}

.bg26-page-heading {
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--bg26-line);
}

.bg26-page-heading h2 {
    margin-top: 0;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    line-height: 1.14;
}

.bg26-page-heading > .btn,
.bg26-page-heading > a.btn {
    flex: 0 0 auto;
    margin: 0;
}

.bg26-page-intro {
    max-width: 820px;
    color: var(--bg26-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.bg26-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bg26-info-card {
    padding: 22px;
    border: 1px solid var(--bg26-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(27, 33, 29, .07);
}

.bg26-info-card h3,
.bg26-info-card h4 {
    margin-top: 0;
}

.bg26-info-card p:last-child,
.bg26-info-card ul:last-child {
    margin-bottom: 0;
}

.bg26-location-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.bg26-location-card__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--bg26-green);
    font-size: 1.25rem;
    background: rgba(41, 66, 46, .09);
    border-radius: 50%;
}

.bg26-location-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.bg26-service-card {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 13px;
}

.bg26-service-card .card-body {
    min-height: 190px;
}

.bg26-service-card .card-body::after {
    display: table;
    clear: both;
    content: "";
}

.bg26-service-card .card-body > img {
    width: min(190px, 38%);
    height: 160px !important;
    margin-right: 22px;
    margin-bottom: 10px;
    object-fit: contain;
}

.bg26-service-card .card-title {
    margin-top: 4px;
    font-size: 1.22rem;
    font-weight: 750;
}

.bg26-service-card .btn,
.bg26-service-card .card-body > span.btn {
    margin: 4px 5px 4px 0;
}

.alert {
    border-radius: 10px;
    line-height: 1.55;
}

.alert > .container {
    width: auto;
    max-width: none;
    padding: 0;
}

.bg26-cross-service-actions .btn,
.status-primary-actions .btn {
    white-space: normal;
}

.bg26-source-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -7px 0 20px;
    padding: 11px 14px;
    color: #4f5752;
    font-size: .86rem;
    line-height: 1.45;
    border: 1px solid var(--bg26-line);
    border-radius: 9px;
    background: #fff;
}

.bg26-source-status__dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9da3a0;
}

.bg26-source-status.is-live .bg26-source-status__dot {
    background: #35a85b;
    box-shadow: 0 0 0 4px rgba(53, 168, 91, .13);
}

.bg26-source-status.is-stale {
    border-color: rgba(255, 178, 54, .35);
    background: rgba(255, 178, 54, .08);
}

.bg26-source-status.is-stale .bg26-source-status__dot {
    background: #e39b21;
}

.bg26-rules-tools {
    position: sticky;
    z-index: 24;
    top: 72px;
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px;
    border: 1px solid var(--bg26-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 24px rgba(20, 25, 22, .09);
    backdrop-filter: blur(9px);
}

.bg26-rules-tools__label {
    flex: 0 0 auto;
    color: var(--bg26-muted);
    font-size: .82rem;
    font-weight: 750;
}

.bg26-rules-tools .form-control {
    min-width: 0;
    height: 42px;
    margin: 0;
}

.bg26-rules-tools .btn {
    flex: 0 0 auto;
    margin: 0;
}

.bg26-rules-layout {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.bg26-rules-toc {
    position: sticky;
    top: 86px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 17px;
    border: 1px solid var(--bg26-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(27, 33, 29, .06);
    scrollbar-width: thin;
}

.bg26-rules-toc__title {
    margin-bottom: 10px;
    color: var(--bg26-ink);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bg26-rules-toc nav {
    display: grid;
    gap: 2px;
}

.bg26-rules-toc__link {
    display: block;
    padding: 7px 9px;
    color: #5f6762;
    font-size: .79rem;
    line-height: 1.35;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
}

.bg26-rules-toc__link:hover,
.bg26-rules-toc__link:focus,
.bg26-rules-toc__link.is-active {
    color: var(--bg26-green-dark);
    text-decoration: none;
    border-left-color: var(--bg26-orange);
    background: var(--bg26-soft);
}

.bg26-rules-toc__link--h2 {
    padding-left: 16px;
    font-size: .75rem;
}

.bg26-rules-toc__link--h3 {
    padding-left: 24px;
    font-size: .72rem;
}

.bg26-rules-card {
    max-width: none;
    min-width: 0;
}

.bg26-rules-card .bg26-article-body {
    padding: clamp(22px, 4vw, 46px);
}

.bg26-rules-content {
    color: #343a36;
    font-size: 1rem;
    line-height: 1.72;
}

.bg26-rules-content .bg26-rule-heading {
    scroll-margin-top: 105px;
    outline: none;
}

.bg26-rules-content h1,
.bg26-rules-content h2,
.bg26-rules-content h3,
.bg26-rules-content h4 {
    color: #252c27;
    line-height: 1.28;
}

.bg26-rules-content h1 {
    margin: 1.8em 0 .65em;
    padding-bottom: .35em;
    font-size: clamp(1.55rem, 3vw, 2rem);
    border-bottom: 2px solid rgba(41, 66, 46, .12);
}

.bg26-rules-content h1:first-child {
    margin-top: 0;
}

.bg26-rules-content h2 {
    margin: 1.6em 0 .6em;
    font-size: clamp(1.3rem, 2.5vw, 1.62rem);
}

.bg26-rules-content h3 {
    margin: 1.45em 0 .55em;
    font-size: 1.16rem;
}

.bg26-rules-content ul,
.bg26-rules-content ol {
    padding-left: 1.45rem;
}

.bg26-rules-content li {
    margin-bottom: .4rem;
}

.bg26-rules-content > p > strong:only-child,
.bg26-rules-content .has-background {
    display: block;
    padding: 12px 14px;
    border-left: 4px solid var(--bg26-orange);
    border-radius: 0 7px 7px 0;
    background: #f7f6f3;
}

.bg26-rules-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    border-radius: 9px;
}

.bg26-rules-content table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.bg26-rules-content th,
.bg26-rules-content td {
    padding: 10px 12px;
    border: 1px solid var(--bg26-line);
    text-align: left;
    vertical-align: top;
}

.bg26-rules-content .wp-block-table,
.bg26-rules-content > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bg26-empty-state--compact {
    max-width: 720px;
    margin: 0 auto;
}

.form-control,
select.form-control,
textarea.form-control {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .bg26-card-grid {
        grid-template-columns: 1fr;
    }

    .bg26-rules-tools {
        display: flex;
    }

    .bg26-rules-layout {
        grid-template-columns: 1fr;
    }

    .bg26-rules-toc {
        display: none;
    }

    .navbar .navbar-nav {
        max-height: calc(100dvh - 72px);
        padding-bottom: calc(28px + env(safe-area-inset-bottom));
        overscroll-behavior: contain;
    }
}

@media (max-width: 767.98px) {
    .wrapper .card > .card-body:not([class*="p-"]) {
        padding: 18px;
    }

    .wrapper .card > .card-header {
        padding: 12px 16px;
    }

    .bg26-page-heading {
        align-items: stretch;
        margin-bottom: 19px;
        padding-bottom: 14px;
    }

    .bg26-page-heading > .btn,
    .bg26-page-heading > a.btn {
        width: 100%;
    }

    .bg26-page-card {
        height: auto;
    }

    .bg26-info-card {
        padding: 18px;
    }

    .bg26-service-card .card-body {
        min-height: 0;
        text-align: left !important;
    }

    .bg26-service-card .card-body > img {
        float: none !important;
        display: block;
        width: 100%;
        max-width: 230px;
        height: 145px !important;
        margin: 0 auto 16px;
    }

    .bg26-service-card .btn,
    .bg26-service-card .card-body > span.btn {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        margin: 7px 0 0;
    }

    .bg26-rules-tools {
        top: 61px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bg26-rules-tools__label {
        grid-column: 1 / -1;
    }

    .bg26-rules-card .bg26-article-body {
        padding: 20px 17px 28px;
    }

    .bg26-rules-content {
        font-size: .98rem;
        line-height: 1.68;
    }

    .bg26-rules-content .bg26-rule-heading {
        scroll-margin-top: 154px;
    }

    .bg26-rules-content ul,
    .bg26-rules-content ol {
        padding-left: 1.2rem;
    }

    .navbar .navbar-nav .nav-link {
        min-height: 42px;
        margin: 0 .75rem;
    }

    .navbar .dropdown > .dropdown-menu {
        margin-right: .75rem !important;
        margin-left: .75rem !important;
    }
}

@media (max-width: 420px) {
    .bg26-rules-tools {
        grid-template-columns: 1fr;
    }

    .bg26-rules-tools .btn {
        width: 100%;
    }
}

.page-header .content-center {
    width: min(440px, calc(100% - 30px));
    max-width: 440px;
}

.card-login .logo-container h3 {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    line-height: 1.35;
}

.card-login .logo-container p {
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .bg26-location-card .btn {
        width: 100%;
        min-height: 44px;
    }

    .page-header .content-center {
        width: calc(100% - 24px);
        padding-right: 0;
        padding-left: 0;
    }

    .card-login .input-group.input-lg .form-control,
    .card-login .input-group.input-lg .input-group-addon {
        min-height: 48px;
    }
}
