@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=Marcellus&display=swap');


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg: #006836;
    --panel: #242424;
    --card: #f8f8f8;
    --gold: #fff;
    --ink: white;
    --dark: #171717;
    --muted: #aaa;
    --line: #555;
}


/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background-color: var(--bg);
    background-image: url('../assets/img/bg.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-position: top left;
    background-attachment: fixed;
    color: var(--ink);

    font: 15px/1.65 Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.20s ease;

    &:hover {
        color: #EF3439;
        text-decoration: none;
    }
}

button,
input,
select {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 76px;
    padding: 0 max(22px, calc((100% - 1120px) / 2));

    background: rgba(24, 24, 24, 0.97);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font: 27px/0.85 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.04em;
}

.brand b {
    font-weight: 400;
}

.brand small {
    display: block;

    margin-top: 7px;

    color: #aaa;

    font: 9px Inter;
    letter-spacing: 0.25em;
}

.brand-die img {
    max-width: 45px;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

nav > a,
.dropdown > button {
    background: none;
    border: 0;

    color: white;

    font: 21px 'Bebas Neue', Arial, sans-serif;

    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropdown > div {
    position: absolute;
    top: 27px;
    left: -18px;

    display: none;

    min-width: 135px;
    padding: 7px;

    background: #222;
    border: 1px solid #777;
}

.dropdown:hover > div {
    display: grid;
}

.dropdown div a {
    padding: 5px 9px;

    font: 18px 'Bebas Neue', Arial, sans-serif;
}

.nav-toggle {
    display: none;

    background: none;
    border: 0;

    color: #fff;

    font-size: 24px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 55px;

    max-width: 1120px;
    min-height: 580px;
    margin: auto;
    padding: 70px 22px;
}


.eyebrow,
.page-head > span,
.section-title span,
.current-draw span {
    color: #ccc;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.hero h1,
.page-head h1 {
    margin: 15px 0 23px;

    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 55px;
    letter-spacing: 0.015em;
}

.hero h1 em {
    font-style: normal;
}

.hero p {
    max-width: 610px;

    color: white;

    font-size: 17px;
}

.hero-logo {
    text-align: center;
}

.hero-logo img {
    display: block;

    max-width: 100%;
    height: auto;
    margin: auto;
}


/* =========================================================
   ACTIONS / BOUTONS
========================================================= */

.actions {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-block;

    padding: 9px 15px;

    background: transparent;
    border: 1px solid #ccc;

    color: #eee;

    font: 20px 'Bebas Neue', Arial, sans-serif;

    cursor: pointer;
}

.btn.primary {
    background: #fff;
    border-color: #fff;

    color: #111;
}


/* =========================================================
   ROULETTE
========================================================= */

.roulette {
    text-align: center;
}

.wheel {
    display: grid;
    place-items: center;

    width: min(330px, 78vw);
    aspect-ratio: 1;
    margin: auto;

    background: conic-gradient(
        #333 0 12.5%,
        #eee 0 25%,
        #555 0 37.5%,
        #eee 0 50%,
        #333 0 62.5%,
        #eee 0 75%,
        #555 0 87.5%,
        #eee 0
    );

    border: 10px solid #ddd;
    border-radius: 50%;

    box-shadow: 0 12px 35px #0008;
}

.wheel span {
    display: grid;
    place-items: center;

    width: 39%;
    aspect-ratio: 1;

    background: #1b1b1b;
    border-radius: 50%;

    font-size: 82px;
}

.roulette > strong {
    display: block;

    margin-top: 18px;

    font: 32px 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.roulette > small {
    color: #aaa;
}


/* =========================================================
   CHIFFRES HOME
========================================================= */

.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    max-width: 1080px;
    margin: auto;

    border: 1px solid #777;
}

.numbers div {
    padding: 22px;

    border-right: 1px solid #777;

    text-align: center;
}

.numbers div:last-child {
    border: 0;
}

.numbers strong {
    display: block;

    font: 45px 'Bebas Neue', Arial, sans-serif;
}

.numbers span {
    color: #f0f0f0;

    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   SECTIONS
========================================================= */

.section,
.layout,
.bracket {
    max-width: 1120px;
    margin: 70px auto;
    padding: 0 22px;
}

.section-title h2,
.panel h2 {
    margin: 2px 0 22px;

    font: 42px 'Bebas Neue', Arial, sans-serif;
}


/* =========================================================
   HOME — DERNIERS RÉSULTATS
========================================================= */

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


/* =========================================================
   CARTE MATCH HOME
========================================================= */

.match-card {
    position: relative;

    min-width: 0;
    padding: 20px;

    background: var(--card);
    border: 1px solid #ddd;
    border-radius: 12px;

    color: var(--dark);
}

.match-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 20px;
}

.match-card__head .tag {
    color: #666;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.match-card__head small {
    color: #999;

    font-size: 9px;
}


/* =========================================================
   VERSUS
========================================================= */

.match-card__versus {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        65px
        minmax(0, 1fr);

    align-items: center;
    gap: 10px;
}


/* =========================================================
   JOUEURS HOME
========================================================= */

.match-card__side {
    min-width: 0;
}

.match-card__side--right {
    text-align: right;
}

.match-card__name {
    display: block;

    overflow: hidden;

    color: #171717;

    font-size: 12px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card__name:hover {
    color: #c41118;
}


/* =========================================================
   ROSTER HOME
========================================================= */

.match-card__roster {
    display: flex;
    align-items: center;
    gap: 5px;

    min-height: 48px;
    margin-top: 8px;
}

.match-card__side--right .match-card__roster {
    justify-content: flex-end;
}


/* =========================================================
   HÉROS HOME
========================================================= */

.match-card__hero {
    position: relative;

    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    opacity: 0.4;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.match-card__hero img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #222;

    border: 1px solid #bbb;
    border-radius: 50%;
}

.match-card__hero--played {
    z-index: 2;

    opacity: 1;

    transform: scale(1.1);
}

.match-card__hero--played img {
    border: 2px solid #c41118;

    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px rgba(196, 17, 24, 0.25);
}

.match-card__hero span {
    position: absolute;
    bottom: -7px;
    left: 50%;
    z-index: 3;

    padding: 1px 5px;

    background: #c41118;
    border-radius: 999px;

    color: #fff;

    font-size: 6px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;

    transform: translateX(-50%);
}


/* =========================================================
   SCORE HOME
========================================================= */

.match-card__score {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 4px;

    text-align: center;
}

.match-card__score strong {
    color: #171717;

    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.match-card__score > span {
    color: #aaa;

    font-size: 12px;
}

.match-card__score small {
    grid-column: 1 / -1;

    margin-top: 4px;

    color: #aaa;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   PANELS
========================================================= */

.panel,
.bracket-col article {
    padding: 20px;

    background: var(--card);
    border: 1px solid #ddd;
    border-radius: 12px;

    color: var(--dark);
}


/* =========================================================
   PAGE HEAD
========================================================= */

.page-head {
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px 22px 50px;

    border-bottom: 1px solid #dfdfdf;

    text-align: center;
}


.poules .page-head {
    border-bottom: none;
}

.page-head h1 {
    margin: 8px 0;

    font-size: clamp(58px, 8vw, 88px);
}



/* =========================================================
   LAYOUT
========================================================= */

.layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.panel h2 {
    font-size: 33px;
}


/* =========================================================
   TABLES
========================================================= */

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    padding: 13px;

    border-bottom: 1px solid #ddd;

    text-align: left;
}

th {
    color: #777;

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.qualified td:first-child {
    font-weight: 800;
}

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


/* =========================================================
   MATCH LINE
========================================================= */

.match-line {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;

    padding: 14px 0;

    border-bottom: 1px solid #ddd;
}

.match-line span:last-child {
    text-align: right;
}

.match-line b {
    text-align: center;
}


/* =========================================================
   CHIPS
========================================================= */

.chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.chips i,
.hero-list span {
    padding: 4px 10px;
    border-radius: 999px;

    font-size: 12px;
    font-style: normal;
}

.hero-list--played {
    .hero-list__hero {
        display: inline-flex;
        align-items: center;
        gap: 8px;

        img {
            width: 60px;
            height: 60px;
            flex: 0 0 60px;

            object-fit: cover;

            border-radius: 50%;
        }
    }
}

.chips .gold {
    border-color: #fff;

    color: #fff;
}

.muted,
.empty {
    color: #f0f0f0;
}

.panel .empty {
    color: #777;
}


/* =========================================================
   TIRAGE ACTUEL
========================================================= */

.current-draw {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1076px;
    margin: 35px auto -35px;
    padding: 25px;

    background: #fff;
    border-radius: 14px;

    color: #111;
}

.current-draw h2 {
    margin: 2px 0;

    font: 33px 'Bebas Neue', Arial, sans-serif;
}

.current-draw span {
    color: #555;
}

.draw-heroes {
    display: flex;
    gap: 9px;
}

.draw-heroes strong {
    padding: 10px 13px;

    background: #222;
    border-radius: 10px;

    color: #fff;

    font: 18px Marcellus, serif;
    text-transform: uppercase;
}


/* =========================================================
   HERO LIST
========================================================= */

.hero-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hero-list .used {
    color: #999;

    text-decoration: line-through;
}

.unavailable span {
    color: #777;
}


/* =========================================================
   RATE
========================================================= */

.rate {
    position: relative;

    width: 150px;
    height: 22px;

    background: #ddd;
}

.rate span {
    display: block;

    height: 100%;

    background: #555;
}

.rate b {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: #111;

    font-size: 11px;
}


/* =========================================================
   BRACKET
========================================================= */

.bracket {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 14px;
}

.bracket-col h2 {
    font: 28px 'Bebas Neue', Arial, sans-serif;
}

.bracket-col article {
    margin: 12px 0;
}

.bracket-col article div {
    display: flex;
    justify-content: space-between;

    padding: 5px 0;
}


/* =========================================================
   RÈGLEMENT
========================================================= */

.rules {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 22px;
}

.rules > section {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 22px;

    padding: 32px 0;

    border-bottom: 1px solid #555;
}

.rules > section > i {
    font-size: 31px;
    font-style: normal;
}

.rules h2 {
    margin: 0 0 8px;

    font: 38px 'Bebas Neue', Arial, sans-serif;
}

.rules h3 {
    font: 24px 'Bebas Neue', Arial, sans-serif;
}

.rules p,
.rules li {
    color: #eee;
}

.rules blockquote {
    margin: 18px 0;
    padding: 14px 18px;

    background: #003a1e;
    border-left: 3px solid #ddd;

    color: #eee;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;
    justify-content: space-between;

    max-width: 1080px;
    margin: 70px auto 0;
    padding: 27px 22px;

    border-top: 1px solid #CCCCCC;

    color: #f0f0f0;

    font-size: 11px;
}


/* =========================================================
   FLASH
========================================================= */

.flash {
    max-width: 1076px;
    margin: 14px auto;
    padding: 11px 16px;

    background: #eee;

    color: #111;
}

.flash.error {
    background: #8f3535;

    color: #fff;
}


/* =========================================================
   PARTICIPANTS
========================================================= */

.participants-page {
    max-width: 1120px;
    margin: 35px auto;
    padding: 0 22px;
}


/* =========================================================
   SELECTEUR PARTICIPANT
========================================================= */

.participant-selector {
    display: flex;
    align-items: flex-end;
    gap: 12px;

    max-width: 520px;
    margin: 0 auto 55px;
}

.participant-selector label {
    flex: 1;

    color: #ccc;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.participant-selector select {
    display: block;

    width: 100%;
    margin-top: 7px;
    padding: 12px 45px 12px 15px;

    background: #fff;

    border: 2px solid transparent;
    border-radius: 10px;

    color: #171717;

    font: 20px 'Bebas Neue', Arial, sans-serif;

    cursor: pointer;
}

.participant-selector select:focus {
    border-color: #c41118;

    outline: none;
}


/* =========================================================
   HEADING PARTICIPANT
========================================================= */

.participant-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 25px;
}

.participant-heading__pool {
    color: #ccc;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.participant-heading h2 {
    margin: 0;

    font: 52px 'Bebas Neue', Arial, sans-serif;
}

.participant-joker {
    padding: 7px 13px;

    border: 1px solid #777;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
}

.participant-joker.is-available {
    background: #c41118;
    border-color: #c41118;

    color: #fff;
}

.participant-joker.is-used {
    color: #888;

    text-decoration: line-through;
}


/* =========================================================
   ROSTER PARTICIPANT
========================================================= */

.participant-roster {
    margin-bottom: 25px;
    padding: 28px;

    background: #fff;
    border-top: 5px solid #c41118;
    border-radius: 14px;

    color: #171717;
}

.participant-roster header {
    margin-bottom: 22px;
}

.participant-roster header > span {
    color: #c41118;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.participant-roster h2 {
    margin: 2px 0;

    font: 36px 'Bebas Neue', Arial, sans-serif;
}

.participant-roster header small {
    color: #777;
}

.participant-roster__heroes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    gap: 20px;

    margin-top: 25px;
}

.participant-hero-card {
    overflow: hidden;

    padding: 10px;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 14px;

    color: #171717;

    text-align: center;
}

.participant-hero-card img {
    display: block;

    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 10px;
}

.participant-hero-card span {
    display: block;

    margin-top: 11px;

    color: #777;

    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.participant-hero-card strong {
    display: block;

    margin-top: 4px;

    font-family: 'Marcellus', Georgia, serif;
    font-size: 15px;
    text-transform: uppercase;
}


/* =========================================================
   COLONNES PARTICIPANT
========================================================= */

.participant-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;

    margin-bottom: 25px;
}


/* =========================================================
   MATCHS PARTICIPANT
========================================================= */

.participant-matches {
    margin-top: 0;
}

.participant-match {
    padding: 17px 0;

    border-bottom: 1px solid #ddd;
}

.participant-match:last-child {
    border-bottom: 0;
}

.participant-match__players {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        110px
        minmax(0, 1fr);

    align-items: center;
    gap: 15px;
}

.participant-match__player {
    min-width: 0;
}

.participant-match__player--right {
    text-align: right;
}

.participant-match__player > a {
    display: block;

    color: #171717;

    font-weight: 700;
}

.participant-match__player > a:hover {
    text-decoration: none;
}

.participant-match__player.is-current > a {
    font-weight: 800;

    text-decoration: underline;
}

.participant-match__player small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;

    margin-top: 5px;

    color: #777;

    font-size: 10px;
}

.participant-match__player--right small {
    justify-content: flex-end;
}

.participant-match__player small b {
    color: #171717;
}

.participant-match__score {
    text-align: center;
}

.participant-match__score strong {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
}

.participant-match__meta {
    display: flex;
    justify-content: space-between;

    margin-top: 6px;

    color: #777;

    font-size: 11px;
}


/* =========================================================
   ROSTER MATCH PARTICIPANT
========================================================= */

.participant-match__roster {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 10px 0;
}

.participant-match__player--right .participant-match__roster {
    justify-content: flex-end;
}

.participant-match__hero {
    position: relative;

    flex: 0 0 auto;

    opacity: 0.5;
}

.participant-match__hero img {
    display: block;

    width: 54px;
    height: 54px;

    object-fit: cover;

    border: 2px solid var(--line);
    border-radius: 50%;
}

.participant-match__hero.is-played {
    opacity: 1;
}

.participant-match__hero.is-played img {
    border-color: var(--gold);

    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.participant-match__hero span {
    position: absolute;
    bottom: -5px;
    left: 50%;

    padding: 1px 6px;

    background: var(--gold);
    border-radius: 999px;

    color: var(--dark);

    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;

    transform: translateX(-50%);
}

.participant-match__no-roster {
    display: block;

    margin: 8px 0;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   POOL MATCH HEROES
========================================================= */

.pool-match__heroes {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;
}

.pool-match__player--right .pool-match__heroes {
    justify-content: flex-end;
}

.pool-match__hero {
    position: relative;

    width: 42px;
    height: 42px;

    opacity: 0.4;
}

.pool-match__hero img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border: 2px solid transparent;
    border-radius: 50%;
}

.pool-match__hero--played {
    opacity: 1;
}

.pool-match__hero--played img {
    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.pool-match__hero span {
    position: absolute;
    bottom: -8px;
    left: 50%;

    padding: 1px 5px;

    background: var(--gold);
    border-radius: 10px;

    color: var(--dark);

    font-size: 8px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;

    transform: translateX(-50%);
}

.pool-match__score strong {
    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE — 1000
========================================================= */

@media (max-width: 1000px) {

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


/* =========================================================
   RESPONSIVE — 800
========================================================= */

@media (max-width: 800px) {

    .site-header {
        min-height: 66px;
    }

    .numbers div:nth-child(-n + 2) {
        border-bottom: 1px solid #777;
    }
    
    .nav-toggle {
        display: block;
    }

    .page-head {
        margin-left: 20px;
        margin-right: 20px;
    }

    .site-header nav {
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 18px;

        background: #202020;
    }

    .site-header nav.open {
        display: flex;
    }

    .dropdown > div {
        position: static;

        display: grid;

        padding-left: 10px;

        background: none;
        border: 0;
    }

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;
        padding-top: 55px;
    }

    .roulette {
        display: none;
    }

    .numbers {
        grid-template-columns: 1fr 1fr;

        margin: 0 15px;
    }

    .numbers div:nth-child(2) {
        border-right: 0;
    }

    .layout,
    .bracket {
        grid-template-columns: 1fr;
    }

    .current-draw {
        display: block;

        margin: 28px 15px -30px;
    }

    .draw-heroes {
        flex-wrap: wrap;

        margin-top: 18px;
    }

    .rules > section {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .page-head {
        padding-top: 50px;
    }
}


/* =========================================================
   RESPONSIVE — 700
========================================================= */

@media (max-width: 700px) {

    .match-grid {
        grid-template-columns: 1fr;
    }

    .match-card__versus {
        grid-template-columns:
            minmax(0, 1fr)
            65px
            minmax(0, 1fr);

        gap: 8px;
    }

    .match-card__hero {
        flex-basis: 34px;

        width: 34px;
        height: 34px;
    }

    .participant-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .participant-roster__heroes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .participant-columns {
        grid-template-columns: 1fr;
    }

    .participant-hero-card {
        padding: 6px;
    }

    .participant-hero-card span {
        display: none;
    }

    .participant-hero-card strong {
        font-size: 11px;
    }
}


/* =========================================================
   RESPONSIVE — 600
========================================================= */

@media (max-width: 600px) {

    .participant-match__players {
        grid-template-columns:
            minmax(0, 1fr)
            45px
            minmax(0, 1fr);

        gap: 7px;
    }

    .participant-match__player small {
        display: grid;
        gap: 1px;
    }

    .participant-match__player--right small {
        justify-content: initial;
    }
}


/* =========================================================
   RESPONSIVE — 420
========================================================= */

@media (max-width: 420px) {

    .match-card {
        padding: 16px;
    }

    .match-card__versus {
        grid-template-columns:
            minmax(0, 1fr)
            50px
            minmax(0, 1fr);
    }

    .match-card__roster {
        gap: 3px;
    }

    .match-card__hero {
        flex-basis: 29px;

        width: 29px;
        height: 29px;
    }

    .match-card__score strong {
        font-size: 20px;
    }
}

.tournament-calendar {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
    color: #f5eee8;
}

.calendar-section {
    margin: 45px 0 65px;
}

.calendar-section__heading {
    margin-bottom: 24px;
}

.calendar-section__heading > span {
    color: white;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .14em;
}

.calendar-section__heading h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 400;
    margin: 8px 0;
    color: white;
}

.calendar-section__heading p {
    color: #eee;
    margin: 0;
}

.calendar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.calendar-item {
    display: grid;
    grid-template-columns: 60px minmax(170px, 1fr) auto 20px auto;
    align-items: center;
    gap: 18px;
    padding: 21px 26px;
    background: #f8f5ef;
    color: #202020;
    border-radius: 13px;
    border-left: 5px solid #ef3439;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.calendar-item__number {
    color: #b72c32;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.calendar-item h3 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    line-height: 1.1;
}

.calendar-item p {
    margin: 3px 0 0;
    color: #666;
    font-size: .9rem;
}

.calendar-item time {
    white-space: nowrap;
    font-weight: 700;
}

.calendar-item__separator {
    color: #b72c32;
    text-align: center;
}

.calendar-list--finals .calendar-item {
    border-left-color: #a77b32;
}

.calendar-list--finals .calendar-item__number,
.calendar-list--finals .calendar-item__separator {
    color: #a77b32;
}

.calendar-note {
    margin: 20px 0 0;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    color: #eee;
    line-height: 1.6;
}

@media (max-width: 680px) {
    .calendar-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 8px 14px;
        padding: 17px;
    }

    .calendar-item__number {
        grid-row: span 2;
    }

    .calendar-item time:first-of-type {
        grid-column: 2;
    }

    .calendar-item__separator {
        display: none;
    }

    .calendar-item time:last-of-type {
        grid-column: 2;
    }

    .calendar-item time:first-of-type::before {
        content: 'Du ';
        font-weight: 400;
    }

    .calendar-item time:last-of-type::before {
        content: 'au ';
        font-weight: 400;
    }
}