/* Compétition: the weekend's travel and the officials of the home matches. Built on imports.css
   (gi-) and licences.css (gl- drawer); what travel adds is prefixed gt-, what refereeing adds gr-. */

/* ── The weekend's agenda ───────────────────────────────── */

.gt {
    --gt-seniors: #1080C0;
    --gt-boys: #34A4E0;
    --gt-girls: #F0C030;
    --gt-school: #22C55E;
}

/* The weekend navigator of the pages that keep it (the club's weekend, the buvette): 44 px arrows. */
.gt-weeknav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gt-weeknav__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-fg-3);
}

.gt-weeknav__box {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 2px;
    border: 1px solid var(--dark-border-1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
}

.gt-weeknav__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    color: var(--dark-fg-2);
}

.gt-weeknav__arrow:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.gt-weeknav__dates {
    min-width: 96px;
    text-align: center;
    font: 700 13px/1 var(--font-condensed);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* The weekend's matches in one card: a band a day, a line a match. */
.gt-dayh {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--dark-border-1);
    background: var(--thonon-surface-2);
    font: 700 13px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-2);
}

.gt-dayh:first-child { border-top: 0; }

.gt-dayh__counts {
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--dark-fg-3);
}

/* Every column but the opponent's is fixed, so the lines of a day stay aligned whatever their end
   holds — a request button, a minibus state or nothing — and "≈ 166 km · 118 min" keeps its room. */
.gt-trip {
    display: grid;
    grid-template-columns: 64px 64px minmax(0, 1fr) 152px 112px 80px 156px;
    grid-template-areas: "h t o k d v a";
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 20px;
    border-top: 1px solid var(--dark-border-1);
}

.gt-trip--home { grid-template-areas: "h t o o o o a"; }
.gt-trip--off { opacity: 0.6; }

.gt-trip--off .gt-trip__time,
.gt-trip--off .gt-trip__opp b { text-decoration: line-through; }

.gt-trip__time { grid-area: h; font: 700 18px/1 var(--font-mono); }

.gt-trip__team {
    grid-area: t;
    font: 800 17px/1.1 var(--font-condensed);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gt-trip__opp {
    grid-area: o;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gt-trip__opp b { font-weight: 600; }

.gt-trip__opp small {
    font-size: 13px;
    color: var(--dark-fg-2);
}

small.gt-trip__warn { color: var(--thonon-yellow); }

.gt-trip__km {
    grid-area: k;
    font: 700 14px/1.3 var(--font-mono);
    white-space: nowrap;
}

.gt-trip__dep {
    grid-area: d;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gt-trip__dep b { font: 700 15px/1 var(--font-mono); color: var(--thonon-yellow); }
.gt-trip__veh { grid-area: v; }

.gt-trip__end {
    grid-area: a;
    display: flex;
    justify-content: flex-end;
}

/* The minibus on a trip: where its request stands. */
.gt-mb {
    --gt-mb: #34A4E0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--gt-mb) 50%, transparent);
    border-radius: var(--radius-control);
    font: 700 13px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gt-mb);
    text-decoration: none;
    white-space: nowrap;
}

a.gt-mb:hover {
    background: color-mix(in srgb, var(--gt-mb) 14%, transparent);
    color: var(--gt-mb);
}

.gt-mb--approved { --gt-mb: var(--thonon-blue-bright); background: rgba(52, 164, 224, 0.14); }
.gt-mb--closed { --gt-mb: #8E99AB; }
.gt-mb--waiting { --gt-mb: var(--thonon-yellow); }

/* The rail's minibus card: yellow while a vehicle is to book. */
.gt-mbcard { gap: 10px; }

.gt-mbcard--todo {
    border-color: var(--thonon-yellow-deep);
    background: linear-gradient(0deg, rgba(240, 192, 48, 0.06), rgba(240, 192, 48, 0.06)), var(--thonon-night);
    box-shadow: inset 0 -4px 0 var(--thonon-yellow);
}

.gt-mbcard__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-fg-2);
}

.gt-mb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
}

.gt-mb-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gt-mb-list a { color: #7CC6EE; }
.gt-mb-list .gt-mb { min-height: 28px; }

.gt-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gt-grp--boys { --gt-c: var(--gt-boys); }
.gt-grp--girls { --gt-c: var(--gt-girls); }
.gt-grp--school { --gt-c: var(--gt-school); }

/* A team's code on its group's colour (the club's weekend). */
.gt-row__mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    padding: 0 4px;
    border: 1px solid color-mix(in srgb, var(--gt-c) 42%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--gt-c) 13%, transparent);
    font: 400 12px/1 var(--font-display);
    color: var(--gt-c);
    white-space: nowrap;
}

.gt-note {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--dark-fg-3);
}

.gt-rail-title {
    margin: 0 0 12px;
    font: 700 13px/1 var(--font-condensed);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gt-rail-btn {
    width: 100%;
}

@media (max-width: 1099px) {
    .gt-trip,
    .gt-trip--home {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        grid-template-areas: "h o v" "t o v" "k d a";
        gap: 4px 12px;
    }

    .gt-trip--home { grid-template-areas: "h o a" "t o a"; }
    .gt-trip__km { align-self: center; }
    .gt-trip__dep { flex-direction: row; align-items: baseline; gap: 6px; }
    .gt-trip__veh { justify-self: end; }
}

@media (max-width: 699px) {
    .gt-dayh { padding: 12px 16px; }
    .gt-trip { padding: 12px 16px; }
}

/* ── The designations of the weekend ── */

/* Two cards on top: the calls, yellow while some wait to be sent, and the publication. */
.gr-acts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gr-acts > .gi-skel { height: 160px; }

.gr-act { gap: 10px; }

.gr-act--todo {
    border-color: var(--thonon-yellow-deep);
    background: linear-gradient(0deg, rgba(240, 192, 48, 0.06), rgba(240, 192, 48, 0.06)), var(--thonon-night);
    box-shadow: inset 0 -4px 0 var(--thonon-yellow);
}

.gr-act__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-fg-2);
}

.gr-act__text b {
    font-weight: 600;
    color: #fff;
}

.gr-act__tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gr-act .gc-actions { margin-top: auto; }

/* A pool, the CTA, a grade: a small tag on a tile or a card. */
.gr-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 3px;
    background: var(--thonon-graphite);
    font: 800 12px/1.3 var(--font-condensed);
    letter-spacing: 0.08em;
    color: var(--dark-fg-2);
    white-space: nowrap;
}

.gr-tag--cta { background: var(--thonon-blue); color: #fff; }

.gr-tag--draft {
    background: none;
    box-shadow: inset 0 0 0 1px var(--dark-border-2);
}

.gr-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--dark-fg-2);
}

.gr-legend i {
    display: inline-block;
    width: 14px;
    height: 4px;
    margin-right: 6px;
    border-radius: 2px;
    vertical-align: 3px;
}

.gr-legend__ok { background: var(--thonon-blue-bright); }
.gr-legend__todo { background: var(--thonon-yellow); }
.gr-legend__ext { background: var(--dark-border-2); }
.gr-legend__na { background: var(--dark-fg-3); opacity: 0.5; }

/* A match: big time, team, opponent and the line of who whistles and who holds the table. */
.gr-match__head {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--dark-border-1);
}

.gr-match__time { font: 700 24px/1 var(--font-mono); }

.gr-match__what {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gr-match__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.gr-match__team {
    font: 800 20px/1.1 var(--font-condensed);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gr-match__vs {
    font-size: 15px;
    color: var(--dark-fg-2);
}

.gr-home {
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--thonon-yellow);
    font: 800 12px/1.2 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--thonon-black);
}

.gr-match__side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gr-match__count {
    font: 700 20px/1 var(--font-mono);
    color: var(--thonon-yellow);
    white-space: nowrap;
}

.gr-match__count--full { color: var(--thonon-blue-bright); }

.gr-match__away {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 14px 20px 0;
}

/* The posts: four tiles a row, two below 1100 px. */
.gr-posts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
}

.gr-post {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    min-height: 120px;
    padding: 14px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: var(--thonon-surface-2);
    color: #fff;
    font: inherit;
    text-align: left;
}

button.gr-post { cursor: pointer; }
button.gr-post:hover { border-color: var(--dark-border-2); }

button.gr-post:focus-visible {
    outline: 2px solid var(--thonon-yellow);
    outline-offset: 2px;
}

.gr-post--ok { box-shadow: inset 0 -3px 0 var(--thonon-blue-bright); }

.gr-post--todo {
    border-color: var(--thonon-yellow-deep);
    background: rgba(240, 192, 48, 0.07);
    box-shadow: inset 0 -3px 0 var(--thonon-yellow);
}

.gr-post--ext { box-shadow: inset 0 -3px 0 var(--dark-border-2); }

.gr-post--na {
    border-style: dashed;
    background: transparent;
    opacity: 0.5;
}

button.gr-post--na:hover { opacity: 0.8; }
.gr-post--warn { border-color: rgba(240, 160, 48, 0.55); }

.gr-post__k {
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.gr-post__who {
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.gr-post__why {
    font-size: 13px;
    line-height: 1.35;
    color: var(--dark-fg-3);
}

.gr-post__why--warn { color: #F0A030; }

.gr-post__w {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.gr-post__go {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-left: auto;
    padding: 0 12px;
    border-radius: var(--radius-control);
    background: var(--thonon-yellow);
    font: 800 13px/1 var(--font-condensed);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thonon-black);
}

.gr-post__answer {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-fg-3);
}

.gr-post__answer--yes { color: var(--thonon-blue-bright); }

.gr-confirm__what {
    margin: 0 0 8px;
}

.gr-confirm__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gr-openable {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gr-openable__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 20px;
    border-top: 1px solid var(--dark-border-1);
}

.gr-openable__row:first-child { border-top: 0; }

.gr-openable__what {
    flex: 1;
    min-width: 0;
    font-size: 15px;
}

.gr-openable__vs { color: var(--dark-fg-3); }

.gr-note {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--dark-fg-3);
}

@media (max-width: 1099px) {
    .gr-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
    .gr-acts { grid-template-columns: minmax(0, 1fr); }
    .gr-match__head { grid-template-columns: 72px minmax(0, 1fr); padding: 16px; }
    .gr-match__time { font-size: 20px; }
    .gr-match__side { grid-column: 1 / -1; justify-content: space-between; }
    .gr-match__away { padding: 12px 16px 0; }
    .gr-posts { gap: 10px; padding: 16px; }
    .gr-post { min-height: 104px; padding: 12px; }
    .gr-openable__row { flex-wrap: wrap; padding: 12px 16px; }
}

/* ── The drawers ─────────────────────────────────────────── */

/* The kit's drawer (Components/Shared/Drawer.razor), a little narrower: a list of people, not a form. */
.gr-drawer { width: min(480px, 100vw); }
.gr-drawer .gi-band { margin-top: 4px; }

@media (max-width: 699px) {
    .gr-drawer { width: 100%; }
}

.gr-drawer__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-fg-2);
}

.gr-drawer__duties { align-self: flex-start; max-width: 100%; }

.gr-drawer__more {
    margin: 0;
    font-size: 13px;
    color: var(--dark-fg-3);
}

/* The CTA, decided in the call drawer only. */
.gr-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: var(--thonon-surface-2);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gr-toggle:disabled {
    opacity: 0.6;
    cursor: default;
}

.gr-toggle__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gr-toggle__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.gr-toggle__sub {
    font-size: 13px;
    line-height: 1.4;
    color: var(--dark-fg-3);
}

.gr-switch {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 24px;
    border: 1px solid var(--dark-border-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.gr-switch::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dark-fg-3);
    transition: left 0.15s ease;
}

.gr-switch--on {
    border-color: var(--thonon-blue-bright);
    background: var(--thonon-blue);
}

.gr-switch--on::after {
    left: 20px;
    background: #fff;
}

.gr-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gr-group__title,
.gr-candidates__section {
    margin-top: 4px;
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.gr-candidates__section span {
    margin-left: 6px;
    color: var(--dark-fg-2);
}

.gr-pools {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gr-pool {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 12px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: none;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gr-pool:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); }

.gr-pool--on {
    border-color: var(--thonon-blue-bright);
    background: rgba(52, 164, 224, 0.12);
}

.gr-pool--dim { opacity: 0.5; }
.gr-pool:disabled { cursor: wait; }

.gr-check {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--dark-border-2);
    border-radius: 4px;
    color: #fff;
}

.gr-pool--on .gr-check {
    border: 0;
    background: var(--thonon-blue-bright);
}

.gr-pool__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.gr-pool__head {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.gr-pool__label {
    font: 800 15px/1.1 var(--font-condensed);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.gr-pool__meta {
    font-size: 13px;
    line-height: 1.2;
    color: var(--dark-fg-3);
}

.gr-pool__clash,
.gr-pool__self {
    font-size: 13px;
    line-height: 1.3;
    color: #F0A030;
}

.gr-pool__self { color: var(--dark-fg-2); }

.gr-pool__state {
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--thonon-blue-bright);
}

.gr-cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gr-cta-form__names {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.gr-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--dark-border-2);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.03);
    color: var(--dark-fg-3);
}

.gr-search input {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    border: 0;
    outline: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 16px;
}

.gr-candidates {
    display: flex;
    flex-direction: column;
}

/* A licensee on two lines at most: 56 px, a 40 px avatar, a check once chosen. */
.gr-candidate {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gr-candidate + .gr-candidate { box-shadow: 0 -1px 0 var(--dark-border-1); }
.gr-candidate:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); }

.gr-candidate.gr-candidate--on {
    background: rgba(52, 164, 224, 0.12);
    box-shadow: inset 0 0 0 1.5px var(--thonon-blue-bright);
}

.gr-candidate:disabled {
    opacity: 0.5;
    cursor: default;
}

.gr-candidate .gr-initials {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.gr-candidate__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gr-candidate__name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gr-candidate__who {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gr-candidate__meta {
    font-size: 13px;
    line-height: 1.35;
    color: var(--dark-fg-2);
}

.gr-candidate__elsewhere { color: #7FC6F0; }
.gr-candidate__clash { color: #F0A030; }

.gr-candidate__end {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gr-candidate__check {
    display: inline-flex;
    color: var(--thonon-blue-bright);
}

.gr-minor {
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(240, 192, 48, 0.14);
    font: 800 12px/1.2 var(--font-condensed);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thonon-yellow);
}

/* ── 89 · The season's statistics ───────────────────────── */

.gr-stats {
    overflow: hidden;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
}

.gr-stats__row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(6, minmax(0, 1fr)) minmax(0, 0.8fr);
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gr-stats__row:nth-child(odd):not(.gr-stats__row--head) {
    background: rgba(255, 255, 255, 0.012);
}

.gr-stats__row--head {
    min-height: 40px;
    border-bottom-color: var(--dark-border-1);
    background: rgba(255, 255, 255, 0.015);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.gr-stats__row > :not(:first-child) {
    text-align: right;
}

.gr-stats__who {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gr-initials {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--dark-border-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font: 700 12px/1 var(--font-condensed);
    color: var(--dark-fg-2);
}

.gr-stats__name {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gr-stats__n {
    font: 600 14px/1 var(--font-mono);
}

.gr-stats__n--none {
    color: var(--dark-fg-3);
}

.gr-stats__total {
    font: 700 15px/1 var(--font-mono);
    color: var(--thonon-yellow);
}

.gr-stats__foot {
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.015);
    font-size: 12.5px;
    color: var(--dark-fg-3);
}

/* ── Phone: the agenda in cards, a match's posts in lines ── */

@media (max-width: 900px) {
    .gr-stats__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 12px;
        padding: 10px 14px;
    }

    .gr-stats__row--head {
        display: none;
    }

    .gr-stats__row > .gr-stats__n {
        display: none;
    }

    .gr-stats__detail {
        grid-column: 1 / -1;
        font-size: 12px;
        color: var(--dark-fg-3);
        text-align: left !important;
    }
}

@media (min-width: 901px) {
    .gr-stats__detail {
        display: none;
    }
}

/* ── The season's match duties, per person ──────────────── */

.gr-stats--duties .gr-stats__row {
    grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
}

.gr-stats__sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--dark-fg-3);
}

.gr-stats__warn {
    color: var(--thonon-yellow);
}

@media (max-width: 900px) {
    .gr-stats--duties .gr-stats__row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}
