@import url('brand-colors.css');
@import url('library-theme.css');

:root {
    --bgm-home-section-min-height: 100vh;
    --bgm-home-section-padding-y: 56px;
    --bgm-home-section-bg-thoughts: transparent;
    --bgm-home-section-bg-games: rgba(34, 49, 28, 0.06);
    --bgm-home-section-bg-people: transparent;
}

/* Header remains fixed; hiding is purely visual to avoid layout shifts. */

/* Hide caret browsing cursor outside of actual text inputs */
html,
body {
    caret-color: transparent;
    overflow-x: hidden;
    max-width: 100vw;
}

input,
textarea,
[contenteditable="true"] {
    caret-color: auto;
}

.bgm-gameCardButton,
.bgm-mondayCube,
.bgm-review-switcher__button,
.bgm-popup__link,
.bgm-brand,
.bgm-menuButton {
    -webkit-user-select: none;
    user-select: none;
    caret-color: transparent;
}

.home-section {
    scroll-margin-top: var(--bgm-header-height, 72px);
    min-height: var(--bgm-home-section-min-height, 100vh);
    padding: var(--bgm-home-section-padding-y, 56px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-section__inner {
    width: min(980px, 92vw);
    margin: 0 auto;
}

#thoughts.home-section {
    background: var(--bgm-home-section-bg-thoughts, transparent);
    --bgm-c1-rgb: var(--bs-warning-rgb);
    --bgm-c2-rgb: var(--bs-primary-rgb);
    --bgm-c3-rgb: var(--bs-secondary-rgb);
    --bgm-thoughts-progress: 0;
    /* Place the header band at the very top of this section */
    padding-top: 0;
    /* Prevent tiny horizontal overflow from full-bleed backgrounds */
    overflow-x: clip;
}

#thoughts .home-section__inner {
    background: transparent;
    border-radius: var(--bs-border-radius-xl);
    padding: 0 18px 18px;
}

#games.home-section {
    background: var(--bgm-home-section-bg-games, transparent);
}

#people.home-section {
    background: var(--bgm-home-section-bg-people, transparent);
}

/* What we thought review selector */

#thoughts.home-section {
    position: relative;
    justify-content: flex-start;
}

#thoughts .home-section__inner {
    position: relative;
}

.bgm-thoughtsHeader {
    /* Centered content, with a full-bleed c1 band behind it. */
    position: relative;
    padding: 18px 0;
    margin-bottom: 18px;
}

.bgm-thoughtsHeader::before {
    content: none;
}

.bgm-thoughtsHeader > * {
    position: relative;
    z-index: 1;
}

.bgm-thoughtsHero {
    position: relative;
    width: min(980px, 92vw);
    margin: 0 auto;
    border: none;
    border-radius: var(--bs-border-radius-lg);
    background:
        linear-gradient(135deg,
            rgba(var(--bgm-c1-rgb), 0.10),
            rgba(var(--bgm-c2-rgb), 0.06) 45%,
            rgba(var(--bgm-c3-rgb), 0.08)
        );
    box-shadow:
        inset 0 0 0 1px rgba(var(--bs-body-bg-rgb), 0.55);
    overflow: hidden;
    padding: 18px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.bgm-thoughtsHero.has-art::before {
    content: "";
    position: absolute;
    inset: -38px;
    background-image: var(--bgm-game-art);
    background-size: cover;
    background-position: center;
    filter: blur(26px) saturate(1.25);
    opacity: 0.30;
    transform: scale(1.08);
}

.bgm-thoughtsHero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(780px 320px at 18% 22%, rgba(var(--bgm-c1-rgb), 0.32), transparent 60%),
        radial-gradient(720px 300px at 86% 14%, rgba(var(--bgm-c2-rgb), 0.28), transparent 56%),
        radial-gradient(800px 360px at 78% 90%, rgba(var(--bgm-c3-rgb), 0.24), transparent 62%),
        linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.72), rgba(var(--bs-body-bg-rgb), 0.90));
}

.bgm-thoughtsHero > * {
    position: relative;
    z-index: 1;
}

.bgm-thoughtsHero__main {
    min-width: 0;
}

.bgm-thoughtsHero.has-rating .bgm-thoughtsHero__main {
    padding-right: 150px;
}

.bgm-thoughtsHero__kicker {
    color: var(--bs-secondary-color);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.bgm-thoughtsHero__title {
    margin: 0;
    line-height: 1.05;

    /* Scroll-driven "faded -> neon" fill from left-to-right. */
    --bgm-thoughts-fill: calc(var(--bgm-thoughts-progress, 0) * 100%);
    /* Switch color from the bleed color (c1) at rest to the game's secondary color (c2) as fill progresses. */
    /* If c2 is very light, use the computed darker variant `--bgm-c2-contrast-rgb` instead. */
    color: color-mix(
        in srgb,
        rgb(var(--bgm-c2-contrast-rgb, var(--bgm-c2-rgb))) var(--bgm-thoughts-fill),
        rgb(var(--bgm-c1-rgb)) calc(100% - var(--bgm-thoughts-fill))
    );
    will-change: color;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .bgm-thoughtsHero__title {
        background: none;
        color: rgba(var(--bs-emphasis-color-rgb), 0.85);
        -webkit-text-fill-color: currentColor;
        text-shadow: none;
    }
}

/* Keep the score badge clean and legible (no blurs). */
#thoughts .bgm-thoughtsHero__rating .bgm-scoreBadge {
    --bgm-p: var(--bgm-thoughts-progress, 0);
    transform: translateY(calc(-2px * var(--bgm-p))) scale(calc(1 + var(--bgm-p) * 0.04));
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.18),
        0 0 24px rgba(191, 161, 74, 0.18),
        inset 0 0 0 2px var(--bgm-score-border, rgba(0, 0, 0, 0.35));
    border: none;
    --bgm-score-border: rgba(0, 0, 0, 0.35);
    font-weight: 900;
    font-size: 2.75rem;
    letter-spacing: 0.06em;
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.35),
        0 8px 18px rgba(0, 0, 0, 0.35);
    will-change: transform;
}

.bgm-thoughtsHero__tagline {
    margin-top: 10px;
    max-width: 70ch;
}

.bgm-thoughtsHero__art {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.18);
    background: rgba(var(--bs-body-bg-rgb), 0.70);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);

    margin-top: 12px;
}

.bgm-thoughtsHero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bgm-thoughtsHero__rating {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.bgm-paletteDebug {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.bgm-paletteSwatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.18);
}

.bgm-paletteSwatch--c1 { background: rgb(var(--bgm-c1-rgb)); }
.bgm-paletteSwatch--c2 { background: rgb(var(--bgm-c2-rgb)); }
.bgm-paletteSwatch--c3 { background: rgb(var(--bgm-c3-rgb)); }

.bgm-thoughtsSelected {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 8px 0 18px;
}

.bgm-thoughtsSelected__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bgm-thoughtsSelected__meta {
    line-height: 1.1;
}

.bgm-thoughtsSelected__avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #22311c;
    background: rgba(191, 161, 74, 0.18);
    border: 1px solid rgba(75, 58, 26, 0.14);
    overflow: hidden;
}

.bgm-thoughtsSelected__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bgm-scoreSummary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.bgm-scoreSummary__label {
    color: #4b3a1a;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bgm-scoreBadges {
    position: relative;
    width: 120px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
}

.bgm-scoreBadge {
    position: relative;
    width: 120px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
    color: #22311c;
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 10px rgba(34, 24, 10, 0.10);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.10),
        inset 0 0 0 2px var(--bgm-score-border, rgba(0, 0, 0, 0.22));
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.bgm-scoreBadge::before,
.bgm-scoreBadge::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: inherit;
    pointer-events: none;
}

.bgm-scoreBadge--secondary::before,
.bgm-scoreBadge--secondary::after {
    content: none;
}

.bgm-scoreBadge::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.18) 40%,
        rgba(255, 255, 255, 0.0) 65%
    );
    opacity: 0.28;
}

.bgm-scoreBadge::after {
    background: linear-gradient(
        225deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.0) 55%
    );
    opacity: 0.22;
}

.bgm-scoreBadge--avg {
    --bgm-score-mix: 100%;
    background: color-mix(
        in srgb,
        rgba(var(--bgm-c2-rgb), 0.22) calc(100% - var(--bgm-score-mix)),
        rgba(var(--bgm-c1-rgb), 0.46) var(--bgm-score-mix)
    );
    border: 1px solid color-mix(
        in srgb,
        rgba(var(--bgm-c2-rgb), 0.36) calc(100% - var(--bgm-score-mix)),
        rgba(var(--bgm-c1-rgb), 0.56) var(--bgm-score-mix)
    );
}

.bgm-scoreBadge--bad {
    background: rgba(var(--bgm-c3-rgb), 0.18);
    border: 1px solid rgba(var(--bgm-c3-rgb), 0.34);
}

.bgm-scoreBadge--platinum {
    color: #0b1b2c;
    background: linear-gradient(135deg, #eef6ff 0%, #b8d6ff 40%, #6fa6f5 70%, #dcecff 100%);
    --bgm-score-border: rgba(43, 83, 140, 0.6);
    box-shadow:
        0 18px 36px rgba(19, 58, 99, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.bgm-scoreBadge--gold {
    color: #3a2a09;
    background: linear-gradient(135deg, #fff4c7 0%, #f5d77a 45%, #e5b84a 70%, #fff2bf 100%);
    --bgm-score-border: rgba(159, 116, 35, 0.65);
    box-shadow:
        0 18px 34px rgba(132, 91, 22, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.bgm-scoreBadge--silver {
    color: #1d2430;
    background: linear-gradient(135deg, #f5f7fb 0%, #ced5de 45%, #9aa4b2 70%, #e8edf5 100%);
    --bgm-score-border: rgba(95, 105, 118, 0.65);
    box-shadow:
        0 18px 34px rgba(70, 79, 92, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.bgm-scoreBadge--bronze {
    color: #2f1a10;
    background: linear-gradient(135deg, #f3d2b8 0%, #c9875b 45%, #a0623f 70%, #efc7aa 100%);
    --bgm-score-border: rgba(116, 69, 44, 0.7);
    box-shadow:
        0 18px 34px rgba(96, 52, 30, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.bgm-scoreBadge--iron {
    color: #2a1d14;
    background: linear-gradient(135deg, #ffd3ad 0%, #f1a66a 45%, #d1783b 70%, #ffe0c6 100%);
    --bgm-score-border: rgba(155, 93, 45, 0.7);
    box-shadow:
        0 18px 34px rgba(120, 65, 28, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.bgm-scoreBadge--red {
    color: #fff4f4;
    background: linear-gradient(135deg, #ff9c9c 0%, #e35151 50%, #b51f1f 85%);
    --bgm-score-border: rgba(130, 22, 22, 0.8);
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.25),
        0 8px 18px rgba(0, 0, 0, 0.45);
}

.bgm-scoreBadge--black {
    color: #f6f2ef;
    background: radial-gradient(circle at 30% 30%, #3a3a3a 0%, #101010 55%, #050505 100%);
    --bgm-score-border: rgba(0, 0, 0, 0.9);
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.6);
}

.bgm-scoreBadge--secondary {
    width: 64px;
    font-size: 1.2rem;
    background: rgba(var(--bs-secondary-rgb), 0.22);
    border: none;
    color: var(--bs-body-color);
    text-shadow: none;
    --bgm-score-border: transparent;
    box-shadow: none;
}

.bgm-scoreBadge--review {
    float: right;
    margin-left: 16px;
    margin-bottom: 10px;
    shape-margin: 10px;
    shape-outside: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
}

.bgm-reviewText::after {
    content: "";
    display: block;
    clear: both;
}

.bgm-scoreBadge--secondary .bgm-scoreBadge__value {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    line-height: 1;
}

.bgm-scoreBadge--secondary .bgm-scoreBadge__label {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
    max-width: 52px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.bgm-thoughtsBody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.bgm-thoughtsMain {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 900px) {
    .bgm-thoughtsBody {
        grid-template-columns: 1fr 280px;
    }
}

.bgm-gameStatsCard {
    background: rgba(var(--bgm-c2-rgb), 0.22);
    border: 0;
}

.bgm-alignCard {
    background: rgba(var(--bs-body-bg-rgb), 0.70);
    border-style: solid;
    border-color: var(--bs-border-color);
}

.bgm-alignCard .list-group,
.bgm-alignCard .list-group-item {
    background: transparent;
}

.bgm-alignCard .list-group-item {
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.10);
}

.bgm-thoughtsContent p {
    margin: 0;
}

.bgm-review-switcher {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bgm-review-switcher__button {
    border: 1px solid rgba(75, 58, 26, 0.14);
    background: rgba(255, 255, 255, 0.65);
    color: rgba(34, 49, 28, 0.92);
    border-radius: 10px;
    padding: 16px 16px;
    min-width: 180px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bgm-review-switcher__avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #22311c;
    background: rgba(191, 161, 74, 0.18);
    border: 1px solid rgba(75, 58, 26, 0.14);
    overflow: hidden;
    flex: 0 0 auto;
}

.bgm-review-switcher__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bgm-review-switcher__name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bgm-review-switcher__button:hover,
.bgm-review-switcher__button.is-active {
    background: rgba(191, 161, 74, 0.14);
    color: #22311c;
}

.bgm-review-switcher__button:focus-visible {
    outline: 2px solid rgba(191, 161, 74, 0.55);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    #thoughts .home-section__inner {
        padding: 14px;
    }

    .bgm-thoughtsHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bgm-thoughtsHero {
        grid-template-columns: 1fr;
        align-items: start;
        width: min(980px, 88vw);
        padding: 16px;
    }

    .bgm-thoughtsHero__rating {
        top: 12px;
        right: 12px;
    }

    .bgm-thoughtsHero.has-rating .bgm-thoughtsHero__main {
        padding-right: 120px;
    }

    .bgm-thoughtsHero__art {
        width: 72px;
        height: 72px;
    }

    .bgm-scoreSummary {
        gap: 10px;
    }

    .bgm-scoreSummary__label {
        font-size: 0.85rem;
    }

    .bgm-scoreBadges {
        width: 96px;
    }

    .bgm-scoreBadge {
        width: 96px;
        font-size: 2.0rem;
    }

    .bgm-scoreBadge--secondary {
        width: 52px;
        font-size: 1.0rem;
    }

    .bgm-scoreBadge--review {
        margin-left: 12px;
        margin-bottom: 8px;
        shape-margin: 8px;
    }

    .bgm-scoreBadge--secondary .bgm-scoreBadge__label {
        left: 50%;
        bottom: 5px;
        transform: translateX(-50%);
        font-size: 0.5rem;
        max-width: 44px;
    }

    .bgm-thoughtsBody {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bgm-thoughtsSelected {
        align-items: center;
    }

    .bgm-thoughtsSelected__row {
        justify-content: center;
    }

    .bgm-thoughtsSelected__meta {
        text-align: center;
    }

    .bgm-thoughtsSelected__avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .bgm-review-switcher__button {
        min-width: 0;
        text-align: center;
        justify-content: center;
    }
}

html, body {
    font-family: 'Georgia', 'Times New Roman', serif;
}

a, .btn-link {
        color: #4b3a1a;
}

.btn-primary {
        color: #fffbe6;
        background-color: #22311c;
        border-color: rgba(75, 58, 26, 0.30);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.9), 0 0 0 0.25rem rgba(191, 161, 74, 0.35);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Badge Ring Styles */
.bgm-badgeRing {
    position: relative;
    display: inline-block;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bgm-badgeRing:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Gradient ring wrappers with rounded corners */
.bgm-badgeRing--bronze {
    padding: 4px;
    background: linear-gradient(135deg, #f3d2b8 0%, #c9875b 25%, #a0623f 50%, #c9875b 75%, #f3d2b8 100%);
    border-radius: 16px;
}

.bgm-badgeRing--silver {
    padding: 4px;
    background: linear-gradient(135deg, #f5f7fb 0%, #ced5de 25%, #9aa4b2 50%, #ced5de 75%, #f5f7fb 100%);
    border-radius: 16px;
}

.bgm-badgeRing--gold {
    padding: 4px;
    background: linear-gradient(135deg, #fff4c7 0%, #f5d77a 25%, #e5b84a 50%, #f5d77a 75%, #fff4c7 100%);
    border-radius: 16px;
}

.bgm-badgeRing--platinum {
    padding: 4px;
    background: linear-gradient(135deg, #a8d0ff 0%, #6fa6f5 20%, #4c8ee8 40%, #6fa6f5 60%, #8bbef9 80%, #a8d0ff 100%);
    border-radius: 16px;
}

/* Remove default borders from avatars inside rings */
.bgm-badgeRing--bronze .bgm-recapAvatar,
.bgm-badgeRing--bronze .bgm-peopleCard__avatar,
.bgm-badgeRing--bronze .bgm-memberHero__avatar,
.bgm-badgeRing--silver .bgm-recapAvatar,
.bgm-badgeRing--silver .bgm-peopleCard__avatar,
.bgm-badgeRing--silver .bgm-memberHero__avatar,
.bgm-badgeRing--gold .bgm-recapAvatar,
.bgm-badgeRing--gold .bgm-peopleCard__avatar,
.bgm-badgeRing--gold .bgm-memberHero__avatar,
.bgm-badgeRing--platinum .bgm-recapAvatar,
.bgm-badgeRing--platinum .bgm-peopleCard__avatar,
.bgm-badgeRing--platinum .bgm-memberHero__avatar {
    border: none !important;
}

/* Member Badge Styles */
.bgm-memberBadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.bgm-memberBadge__icon {
    font-size: 1rem;
    line-height: 1;
}

.bgm-memberBadge--bronze {
    background: linear-gradient(135deg, #f3d2b8 0%, #c9875b 50%, #a0623f 100%);
    color: #2c1810;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.bgm-memberBadge--silver {
    background: linear-gradient(135deg, #f5f7fb 0%, #ced5de 50%, #9aa4b2 100%);
    color: #1a1e24;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.bgm-memberBadge--gold {
    background: linear-gradient(135deg, #fff4c7 0%, #f5d77a 50%, #e5b84a 100%);
    color: #2d2410;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.bgm-memberBadge--platinum {
    background: linear-gradient(135deg, #a8d0ff 0%, #6fa6f5 40%, #4c8ee8 60%, #6fa6f5 100%);
    color: #0d2642;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.bgm-scoreBadge--svg {
    width: 120px;
    height: 104px;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    clip-path: none;
    aspect-ratio: auto;
}

.bgm-scoreBadge--svg .bgm-scoreText {
    font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
    font-weight: 800;
    fill: rgba(14, 12, 8, 0.92);
    font-size: 38px;
    paint-order: stroke fill;
    stroke: rgba(0,0,0,0.25);
    stroke-width: 0.6px;
}

.bgm-scoreBadge--svg .bgm-scorePoly {
    stroke-linejoin: round;
}
