/* Robotronik – feuille de style unique, sans framework.
   Mise en page : bandeau sombre aux couleurs du logo (noir, rouge, gris engrenage),
   puis sections claires façon fiche technique, séparées par des intitulés en police mono. */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-var.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-400i.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/plex-mono-500.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

:root {
    /* Couleurs (thème clair) */
    --paper: #ffffff;
    --panel: #f5f2f2;
    --ink: #161313;
    --muted: #5c5555;
    --line: #e4dede;
    --red: #d10000;          /* rouge du logo, assombri pour la lisibilité du texte */
    --red-mark: #ff1a1a;     /* rouge du logo pour les éléments graphiques */
    --on-red: #ffffff;
    --plate: #ffffff;        /* fond des logos partenaires */
    --plate-line: #e4dede;
    /* Bandeau sombre : identique dans les deux thèmes */
    --night: #131212;
    --night-2: #1e1b1b;
    --night-ink: #f3efef;
    --night-muted: #b3abab;
    --night-line: #332e2e;
    /* Logos */
    --logo-l: block;
    --logo-d: none;
    /* Typographie */
    --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --step--1: 0.8125rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    /* Espacements */
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section: clamp(3.5rem, 8vw, 6rem);
    --radius: 6px;
    --header-h: 4.25rem;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #121010;
        --panel: #1a1717;
        --ink: #f1eded;
        --muted: #aaa2a2;
        --line: #2f2a2a;
        --red: #ff4d4d;
        --red-mark: #ff2b2b;
        --on-red: #ffffff;
        --plate: #f3f0f0;
        --plate-line: #2f2a2a;
        --logo-l: none;
        --logo-d: block;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #121010;
    --panel: #1a1717;
    --ink: #f1eded;
    --muted: #aaa2a2;
    --line: #2f2a2a;
    --red: #ff4d4d;
    --red-mark: #ff2b2b;
    --on-red: #ffffff;
    --plate: #f3f0f0;
    --plate-line: #2f2a2a;
    --logo-l: none;
    --logo-d: block;
    color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red-mark); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 {
    font-family: var(--font-display);
    font-stretch: 112%;
    line-height: 1.1;
    margin: 0;
    text-wrap: balance;
}
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.wrap {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 1rem;
}
.skip:focus { top: 1rem; }

.eyebrow {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    flex: none;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--red-mark); color: var(--on-red); }
.btn-primary:hover { background: #c40000; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { border-color: var(--red-mark); color: var(--red-mark); }

/* En-tête */
.site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.header-row {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.brand img { height: 2.5rem; width: auto; }
.brand .logo-l { display: var(--logo-l); }
.brand .logo-d { display: var(--logo-d); }
.menu {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.5rem;
    flex-wrap: wrap;
}
.menu a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding-block: 0.5rem;
}
.menu a:hover { color: var(--red); }
.menu a[target="_blank"]::after { content: " ↗"; color: var(--muted); font-weight: 400; }
.menu .menu-cta {
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 0.35rem 0.9rem;
}
.menu .menu-cta:hover { border-color: var(--red); }
.menu-toggle { display: none; }

@media (max-width: 52rem) {
    .js .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        background: none;
        border: 2px solid var(--line);
        border-radius: var(--radius);
        color: var(--ink);
        font: 600 0.9375rem var(--font-body);
        padding: 0.45rem 0.8rem;
        cursor: pointer;
    }
    .menu-bars, .menu-bars::before, .menu-bars::after {
        display: block;
        width: 1.1rem;
        height: 2px;
        background: currentColor;
        position: relative;
        transition: transform 0.2s, background-color 0.2s;
    }
    .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
    .menu-bars::before { top: -6px; }
    .menu-bars::after { top: 6px; }
    .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
    .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

    .menu { width: 100%; padding-bottom: 0.75rem; }
    .js .menu { display: none; flex-direction: column; align-items: stretch; gap: 0; }
    .js .menu.is-open { display: flex; }
    .js .menu a { padding-block: 0.75rem; border-top: 1px solid var(--line); }
    .js .menu .menu-cta { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0.75rem 0; }
}

/* Bandeau d'accueil */
.hero {
    background: var(--night);
    color: var(--night-ink);
    padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero-text { display: grid; gap: 1.25rem; min-width: 0; }
.hero .eyebrow { color: var(--red-mark); }
.hero h1 {
    font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
    font-weight: 850;
    font-stretch: 118%;
    letter-spacing: -0.015em;
}
.lead { color: var(--night-muted); font-size: var(--step-1); line-height: 1.55; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero .btn-ghost { color: var(--night-ink); }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: var(--radius);
}
.hero-photo figcaption,
.gallery-title,
.video-label .ext {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
}
.hero-photo figcaption { color: var(--night-muted); margin-top: 0.6rem; }

.scoreboard {
    margin: clamp(2rem, 5vw, 3rem) 0 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    border-top: 1px solid var(--night-line);
}
.scoreboard > div {
    padding: 1.25rem 1.25rem 0 0;
    min-width: 0;
}
.scoreboard > div + div { padding-left: 1.25rem; border-left: 1px solid var(--night-line); }
.scoreboard dt {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--night-muted);
}
.scoreboard dd {
    margin: 0.25rem 0 0;
    font-family: var(--font-display);
    font-stretch: 112%;
    font-size: var(--step-1);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.scoreboard dd strong { font-size: var(--step-3); font-weight: 850; color: var(--night-ink); line-height: 1; }
.scoreboard sup { font-size: 0.45em; }
.score-title dt { color: var(--red-mark); }
.score-title dd { color: var(--night-muted); }

/* Sections */
.section { padding-block: var(--section); }
.section-alt { background: var(--panel); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.prose { display: grid; gap: 1rem; min-width: 0; max-width: 38rem; align-content: start; }
.prose h3 { margin-bottom: -0.25rem; }
.prose strong { font-weight: 600; }
.prose sup { font-size: 0.7em; }

.activities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.activities li {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding-top: 1.25rem;
    border-top: 3px solid var(--ink);
}
.activities h3 a { color: var(--ink); text-decoration-color: var(--red-mark); }
.activities h3 a:hover { color: var(--red); }
.activities p { color: var(--muted); font-size: 0.975rem; }
.tag {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Vidéos : vignette cliquable, la vidéo YouTube ne se charge qu'au clic */
.video {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--night);
    color: var(--night-ink);
    text-decoration: none;
}
.video-poster { position: absolute; inset: 0; display: grid; place-items: center; }
.video-poster-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); transition: filter 0.2s; }
.video-poster-logo { align-content: start; padding-top: 11%; background: radial-gradient(circle at 50% 40%, var(--night-2), var(--night) 70%); }
.video-poster-logo img { width: 50%; opacity: 0.9; }
.video-poster-logo ~ .video-play { top: 62%; }
.video:hover .video-poster-photo img { filter: brightness(0.7); }
.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4.25rem;
    height: 4.25rem;
    margin: -2.125rem 0 0 -2.125rem;
    border-radius: 50%;
    background: var(--red-mark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s;
}
.video-play::after {
    content: "";
    position: absolute;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 0.7rem 0 0.7rem 1.15rem;
    border-color: transparent transparent transparent #ffffff;
}
.video:hover .video-play { transform: scale(1.08); }
.video-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1rem 0.85rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.video-label .ext { color: var(--night-muted); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery-title { margin: clamp(3rem, 6vw, 4.5rem) 0 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0.75rem;
}
.gallery figure { margin: 0; min-width: 0; }
.gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

blockquote {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--red-mark);
    display: grid;
    gap: 0.5rem;
}
blockquote p { font-style: italic; }
blockquote footer { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); color: var(--muted); }


/* Coupe 2026 : résultat mis en avant */
.feature {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red-mark);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
}
.feature-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: center;
}
.feature-rank { display: grid; justify-items: start; line-height: 1; }
.feature-rank strong {
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem);
    color: var(--red);
    letter-spacing: -0.03em;
}
.feature-rank sup { font-size: 0.4em; vertical-align: 0.9em; }
.feature-rank span {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.35rem;
}
.feature-body {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-top: clamp(1.25rem, 3vw, 2rem);
    border-top: 1px solid var(--line);
}
.bars { margin: 0; min-width: 0; }
.bars figcaption, .bracket-title {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.9rem;
}
.bars ol, .bracket ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.bars li {
    display: grid;
    grid-template-columns: minmax(6.5rem, 11rem) minmax(0, 1fr) 2.5rem;
    gap: 0.75rem;
    align-items: center;
}
.bar-label { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; min-width: 0; }
.bar-label small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.bar-track { height: 0.75rem; border-radius: 0 4px 4px 0; background: var(--panel); }
.bar {
    display: block;
    height: 100%;
    width: calc(var(--v) / 140 * 100%);
    background: var(--red-mark);
    border-radius: 0 4px 4px 0;
}
.bar-value {
    font-family: var(--font-display);
    font-stretch: 112%;
    font-weight: 800;
    font-size: var(--step-1);
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.bracket { min-width: 0; }
.bracket li {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: baseline;
    padding-block: 0.45rem;
    border-bottom: 1px solid var(--line);
}
.bracket .round {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.bracket .round sup { text-transform: none; }
.bracket .opp { font-size: 0.9375rem; min-width: 0; }
.res {
    font-family: var(--font-display);
    font-stretch: 112%;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}
.res::before {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
}
.res.win::before { content: "Gagné"; background: var(--red-mark); color: var(--on-red); }
.res.loss::before { content: "Perdu"; border: 1px solid var(--line); color: var(--muted); }

/* Palmarès */
.palmares-split { margin-top: clamp(2.5rem, 5vw, 3.5rem); align-items: start; }
.table-wrap { min-width: 0; overflow-x: auto; }
.palmares { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.palmares caption {
    text-align: left;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 0.75rem;
}
.palmares th, .palmares td { text-align: left; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.palmares thead th {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--ink);
}
.palmares tbody th { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; }
.palmares .num { text-align: right; font-variant-numeric: tabular-nums; }
.palmares td:last-child { color: var(--muted); }
.palmares tr.is-best th, .palmares tr.is-best strong { color: var(--red); }
.palmares sup { font-size: 0.7em; }
.source { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }

/* Repair Corner */
.repair { background: var(--night); color: var(--night-ink); }
.repair .eyebrow { color: var(--red-mark); }
.repair p { color: var(--night-muted); font-size: var(--step-1); }
.repair-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: end;
}
.repair-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.repair .btn-ghost { color: var(--night-ink); }

/* Partenaires */
.sponsors {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 0.75rem;
    min-width: 0;
}
.sponsors li {
    background: var(--plate);
    border: 1px solid var(--plate-line);
    border-radius: var(--radius);
    aspect-ratio: 3 / 2;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.sponsors img { max-height: 3.75rem; width: auto; object-fit: contain; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " ↗"; }
.become {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: 1.5rem;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    align-items: baseline;
}
.become a { font-weight: 600; overflow-wrap: anywhere; }

/* Pied de page */
.site-footer {
    background: var(--night);
    color: var(--night-muted);
    padding-block: clamp(3rem, 6vw, 4rem) 2rem;
    font-size: 0.9375rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
}
.footer-grid > div { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.footer-logo { height: 2.5rem; width: auto; margin-bottom: 0.75rem; }
.footer-title {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--night-ink);
    margin-bottom: 0.4rem;
}
.site-footer a { color: var(--night-ink); text-decoration-color: var(--night-line); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--red-mark); text-decoration-color: currentColor; }
.footer-meta {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--night-line);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
}

/* Écrans moyens et petits */
@media (max-width: 60rem) {
    .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .repair-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .repair-actions { justify-content: flex-start; }
}
@media (max-width: 48rem) {
    .hero-grid, .split, .feature-body { grid-template-columns: minmax(0, 1fr); }
    .feature-head { grid-template-columns: minmax(0, 1fr); }
    .split-reverse .video { order: -1; }
    .scoreboard { grid-template-columns: 1fr 1fr; }
    .score-title { grid-column: 1 / -1; padding-bottom: 1rem; }
    .scoreboard > .score-title + div { padding-left: 0; border-left: 0; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery figure:first-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
    .activities { grid-template-columns: minmax(0, 1fr); }
    .bars li { grid-template-columns: 5.5rem minmax(0, 1fr) 2.25rem; gap: 0.5rem; }
    .bar-label small { display: none; }
    .bracket li { grid-template-columns: minmax(0, 1fr) auto; }
    .bracket .round { grid-column: 1 / -1; }
    .scoreboard dd strong { font-size: 2rem; }
    .scoreboard > div { padding-right: 0.75rem; }
    .scoreboard > div + div { padding-left: 0.75rem; }
    .actions .btn, .repair-actions .btn { flex: 1 1 100%; }
}
