@import '_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';

/* ── Brand fonts (global — @font-face in CSS isolation is unreliable) ── */
@font-face {
    font-family: "NinjaTurtles";
    src: url("/assets/fonts/NinjaTurtles-Regular.otf") format("opentype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rocked";
    src: url("/assets/fonts/Rocked-Regular.otf") format("opentype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* Barlow, Barlow Condensed and JetBrains Mono, served by the app (SIL OFL, @fontsource subsets: latin
   and latin-ext). No more Google Fonts: one origin, and the same faces on every device. visual.css
   adds the variable JetBrains Mono for the weights in between. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/barlow-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/barlow-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ── Brand design tokens (global — :root in CSS isolation gets scoped and breaks) ── */
:root {
    --thonon-black:         #0A0A0C;
    --thonon-night:         #14161B;
    --thonon-blue:          #1080C0;
    --thonon-blue-bright:   #34A4E0;
    --thonon-yellow:        #F0C030;
    --thonon-yellow-deep:   #C99A1F;
    --thonon-yellow-bright: #FFD24A;
    --thonon-red:           #F02030;
    --dark-fg-1:            #FFFFFF;
    --dark-fg-2:            #B8BFCA;
    --dark-fg-3:            #8A93A1;
    --thonon-surface-2:     #1B1E24;
    --thonon-field:         #0F1014;
    /* Green says a win, and only that (results, slices of play, a treasury amount's sign). */
    --thonon-green:         #22C55E;
    --dark-border-1:        #262A33;
    --dark-border-2:        #3A404B;
    --font-body:            "Barlow", system-ui, -apple-system, sans-serif;
    --font-display:         "NinjaTurtles", "Barlow Condensed", sans-serif;
    --font-condensed:       "Barlow Condensed", system-ui, sans-serif;
    --font-mono:            "JetBrains Mono", "Consolas", monospace;
    --thonon-graphite:      #1F232B;

    /* Hat colours — "on whose behalf am I acting". Read by the sidebar, the menu sheet and the
       home cards, which set --hat-color from them and derive every shade with color-mix. */
    --hat-player:           #F0C030;
    --hat-family:           #1080C0;
    --hat-coach:            #2EC4B6;
    --hat-committee:        #A58BE8;
    /* Grey, deliberately achromatic: the administration acts on nobody's behalf. */
    --hat-admin:            #8A93A1;

    /* Corners: 8 for a card, 4 for a button or a field; the pill is for filters and badges only. */
    --radius-card:          8px;
    --radius-control:       4px;

    /* The frame: a sidebar from 1100 px up, a top bar and the dock below. */
    --side-width:           252px;
    --top-height:           60px;

    /* The dock: 68 of tabs over the device's own safe area — the home indicator's 34 on an
       iPhone, nothing on a phone without one. The page reads the safe area because the viewport
       is viewport-fit=cover. Everything that sits on the dock — the mobile menu sheet, the phones'
       action bars — stops at this height, so nothing leaves a gap. */
    --mob-dock-tabs:        68px;
    --mob-dock-height:      calc(var(--mob-dock-tabs) + 1px + env(safe-area-inset-bottom, 0px));
}

/* The page's own background: the one Safari shows around and under its toolbars. */
html,
body {
    background: var(--thonon-black);
}

body {
    --body-font: var(--font-body);
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin: 0;
}

.navmenu-icon {
    display: none;
}

.main {
    min-height: calc(100dvh - 86px);
    color: var(--neutral-foreground-rest);
    align-items: stretch !important;
}

.body-content {
    align-self: stretch;
    height: calc(100dvh - 86px) !important;
    display: flex;
    overflow-y: auto;
}

.content {
    padding: 0.5rem 1.5rem 1.25rem;
    align-self: stretch !important;
    width: 100%;
    box-sizing: border-box;
}

.manage {
    width: 100dvw;
}

footer {
    background: var(--neutral-layer-4);
    color: var(--neutral-foreground-rest);
    align-items: center;
    padding: 10px 10px;
}

/* ── Environment band ─────────────────────────────────────────
   Outside production, in the flow at the top of every page, on the club's site as in the members'
   application. 32 px exactly: MainLayout and AuthLayout take that off their one-screen shells. */
.env-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    padding: 0 16px;
    background: #0A0A0C;
    color: #FFFFFF;
    font-family: "Barlow", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.3;
}

.env-banner__label {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 2px;
    font-family: "Barlow Condensed", system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.env-banner--beta .env-banner__label {
    background: #F0C030;
    color: #0A0A0C;
}

.env-banner--dev .env-banner__label {
    background: #1080C0;
    color: #FFFFFF;
}

.env-banner--other .env-banner__label {
    background: #5E6772;
    color: #FFFFFF;
}

.env-banner__text {
    color: #EEF0F4;
    min-width: 0;
}

.env-banner__host {
    margin-left: auto;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 12px;
    color: #B8BFCA;
    white-space: nowrap;
}

/* A phone keeps the label and the first words; the host and the rest of the sentence go. */
@media (max-width: 699px) {
    .env-banner {
        gap: 10px;
        padding: 0 12px;
    }

    .env-banner__more,
    .env-banner__host {
        display: none;
    }
}

    footer a {
        color: var(--neutral-foreground-rest);
        text-decoration: none;
    }

        footer a:focus {
            outline: 1px dashed;
            outline-offset: 3px;
        }

        footer a:hover {
            text-decoration: underline;
        }

.alert {
    border: 1px dashed var(--accent-fill-rest);
    padding: 5px;
    margin: 10px 0;
}

.alert-danger {
    border: 1px dashed var(--error);
}

.alert-success {
    border: 1px dashed var(--success);
}

.alert-warning {
    border: 1px dashed var(--warning);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    margin: 20px 0;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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::before {
        content: "An error has occurred. "
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

@media (max-width: 600px) {
    .header-gutters {
        margin: 0.5rem 3rem 0.5rem 1.5rem !important;
    }

    [dir="rtl"] .header-gutters {
        margin: 0.5rem 1.5rem 0.5rem 3rem !important;
    }

    .main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }

    nav.sitenav {
        width: 100%;
        height: 100%;
    }

    #main-menu {
        width: 100% !important;
    }

        #main-menu > div:first-child:is(.expander) {
            display: none;
        }

    .navmenu {
        width: 100%;
    }

    #navmenu-toggle {
        appearance: none;
    }

        #navmenu-toggle ~ nav {
            display: none;
        }

        #navmenu-toggle:checked ~ nav {
            display: block;
        }

    .navmenu-icon {
        cursor: pointer;
        z-index: 10;
        display: block;
        position: absolute;
        top: 15px;
        left: unset;
        right: 20px;
        width: 20px;
        height: 20px;
        border: none;
    }

    [dir="rtl"] .navmenu-icon {
        left: 20px;
        right: unset;
    }
}

/* ── Nav item link reset ─────────────────────────────────────
   NavLink renders <a> tags that bypass Blazor CSS isolation
   scope attributes. These global rules override FluentUI
   reboot's  a { color: accent; text-decoration: underline; }
   using element+class specificity (0,1,1) > element (0,0,1).
──────────────────────────────────────────────────────────── */

a.nav-item,
a.nav-item:hover,
a.nav-item.nav-item--active {
    text-decoration: none;
}

a.nav-item {
    color: var(--dark-fg-2);
}

a.nav-item:hover,
a.nav-item.nav-item--active {
    color: #fff;
}

/* ── Page banner ─────────────────────────────────────────────
   The members' area's one signature, on every page but the messaging: a blue gradient, the lion
   in watermark, a yellow rule underneath, the page's figures as tiles at its foot. GiFrame draws
   it for most pages; the home, the agenda and the menu write the same classes.
──────────────────────────────────────────────────────────── */

.pg-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 28px 32px;
    border: 1px solid var(--dark-border-1);
    border-radius: var(--radius-card);
    background:
        linear-gradient(105deg, rgba(16, 128, 192, 0.30) 0%, rgba(16, 128, 192, 0.08) 45%, rgba(10, 10, 12, 0) 70%),
        var(--thonon-night);
    box-shadow: inset 0 -4px 0 var(--thonon-yellow);
    color: #fff;
}

.pg-hero > * {
    position: relative;
}

.pg-hero > .pg-hero__wm {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    opacity: 0.07;
    pointer-events: none;
}

.pg-hero__eyebrow {
    margin: 0;
    font: 700 13px/1.2 var(--font-condensed);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--thonon-yellow);
}

/* An eyebrow that leads back to its section is a 44 px target, without moving the title. */
a.pg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    margin: -14px 0;
    text-decoration: none;
}

/* Every page title: Barlow Condensed 800, capitals, accents kept. */
.pg-hero__title {
    margin: 0;
    font: 800 48px/1 var(--font-condensed);
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pg-hero__sub {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--dark-fg-2);
}

.pg-hero .gi-kpi {
    background: rgba(10, 10, 12, 0.55);
}

@media (max-width: 1099px) {
    .pg-hero__title {
        font-size: 40px;
    }
}

@media (max-width: 699px) {
    .pg-hero {
        padding: 20px 18px 24px;
    }

    .pg-hero > .pg-hero__wm {
        width: 240px;
        right: -60px;
    }

    .pg-hero__title {
        font-size: 32px;
    }
}

/* ── Menu badge ──────────────────────────────────────────────
   Yellow on an entry (something to do), muted on a collapsed section; a hat's own count takes
   the hat's colour (.nav-badge--hat). Global because the sidebar, its entries, the dock and the
   menu sheet are four components, and the badge must read the same in all of them. Never
   rendered for zero.
──────────────────────────────────────────────────────────── */

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--thonon-yellow);
    color: var(--thonon-black);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    box-sizing: border-box;
}

.nav-badge--mute {
    background: var(--thonon-graphite);
    color: var(--dark-fg-2);
}

.nav-badge--hat {
    background: var(--hat-color, var(--thonon-yellow));
    color: var(--thonon-black);
}

/* ── Hat pill (home tasks, agenda) ─────────────────────────
   Shared by two pages, so global. Neutral, outlined: the hat's colour is kept for the menu's icon,
   count and rule, not for every mention of it. */

.hat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 999px;
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--dark-border-2);
    color: var(--dark-fg-2);
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hat-pill__dot {
    display: none;
}

/* ── Answer pill (agenda, home week) ─────────────────────── */

.answer-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.answer-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.answer-pill--pending {
    color: var(--thonon-yellow);
    border-color: color-mix(in srgb, var(--thonon-yellow) 55%, transparent);
    background: color-mix(in srgb, var(--thonon-yellow) 12%, transparent);
}

.answer-pill--yes {
    color: var(--thonon-blue-bright);
    border-color: color-mix(in srgb, var(--thonon-blue-bright) 55%, transparent);
    background: color-mix(in srgb, var(--thonon-blue-bright) 12%, transparent);
}

.answer-pill--no {
    color: #F2555F;
    border-color: color-mix(in srgb, #F2555F 55%, transparent);
    background: color-mix(in srgb, #F2555F 12%, transparent);
}

.answer-pill--none {
    padding: 0;
    color: var(--dark-fg-3);
    font: 600 14px/1 var(--body-font);
    letter-spacing: 0;
    text-transform: none;
}

/* ── Mobile dock tab link reset ──────────────────────────── */

/* NavLink renders its <a> out of the dock's scoped sheet: its layout is set here, the same as the
   Menu tab's button (MobileNavDock.razor.css). */
a.mob-dock__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: var(--mob-dock-tabs);
    padding: 4px 0;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    color: var(--dark-fg-3);
}

a.mob-dock__tab.mob-dock__tab--active {
    text-decoration: none;
}

/* Table */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

    table td,
    table th {
        padding: var(--spacingVerticalS) var(--spacingHorizontalM);
        text-align: left;
        vertical-align: middle;
        border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
    }

/* ── FluentMessageBar on the dark shell ──────────────────────
   Its intents keep FluentUI's light tints (#F1FAF1…) under the page's white text, which made
   every success or error bar unreadable. The same tints as the rest of the app, on dark. */
.fluent-messagebar {
    border: 1px solid var(--dark-border-2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--dark-fg-1) !important;
}

.fluent-messagebar.intent-success {
    border-color: rgba(34, 197, 94, 0.40) !important;
    background: rgba(34, 197, 94, 0.12) !important;
}

.fluent-messagebar.intent-error {
    border-color: rgba(240, 32, 48, 0.38) !important;
    background: rgba(240, 32, 48, 0.12) !important;
}

.fluent-messagebar.intent-warning {
    border-color: rgba(240, 192, 48, 0.42) !important;
    background: rgba(240, 192, 48, 0.12) !important;
}

.fluent-messagebar.intent-info {
    border-color: rgba(52, 164, 224, 0.40) !important;
    background: rgba(52, 164, 224, 0.10) !important;
}

.fluent-messagebar .fluent-messagebar-message,
.fluent-messagebar .fluent-messagebar-message * {
    color: var(--dark-fg-1) !important;
}

/* ── A hall on its colours, as the club's documents print it: its code on the light background,
      or a dot before its name. --hall-c and --hall-tint come inline from HallPalette. ── */
/* The design system's gymnasium card: the code on a dark tint of the hall's colour, a 3 px rule on
   its left. That left rule belongs to the gymnasiums and to nothing else. */
.hall-code {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 3px 8px 3px 10px;
    border-radius: 0;
    background: color-mix(in srgb, var(--hall-c) 18%, var(--thonon-night));
    box-shadow: inset 3px 0 0 var(--hall-c);
    color: color-mix(in srgb, var(--hall-c) 78%, #fff);
    font: 700 12px/1.3 var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}
.hall-code--plain {
    background: var(--thonon-graphite);
    box-shadow: inset 3px 0 0 var(--dark-border-2);
    color: var(--dark-fg-2);
}

.hall-dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--hall-c);
    vertical-align: middle;
}

/* A club's logo in a crest pastille (ClubCrest), on a white disc whatever page drew the
   pastille: most logos are drawn for a white page, and the white their cut-out left behind
   melts into it. The pastille only sizes the disc; the artwork keeps a margin inside. */
.tx-crest--logo {
    border-color: transparent !important;
    border-radius: 50% !important;
    background: #fff !important;
}

.tx-crest--logo > img {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
}

/* After an opposing team's name when it is an entente (EntenteMark): the text's own colour,
   at its size, sitting on its line. */
.tx-entente-mark {
    display: inline-flex;
    align-items: center;
    margin-left: 0.3em;
    vertical-align: -0.125em;
    opacity: 0.8;
}

.tx-entente-mark svg {
    width: 1em;
    height: 1em;
}
