:root {
    color-scheme: dark;
    --navy-950: #020817;
    --navy-900: #041127;
    --navy-850: #071a39;
    --navy-800: #092551;
    --line: rgba(70, 157, 255, .52);
    --blue: #168de3;
    --cyan: #11b7ee;
    --green: #16b62c;
    --green-bright: #35e64c;
    --purple: #7c2ab3;
    --purple-bright: #b341ed;
    --gold: #ffbd00;
    --text: #fff;
    --muted: #b5c7e1;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--navy-950);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Segoe UI", sans-serif;
    background: var(--navy-950);
}

button, input, a { font: inherit; }

.site-background {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(rgba(2, 10, 28, .78), rgba(2, 8, 24, .91)),
        url("/assets/images/background-war.webp") center/cover no-repeat;
}

.site-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 75%, rgba(111, 37, 184, .28), transparent 33%),
        radial-gradient(circle at 17% 25%, rgba(19, 114, 214, .22), transparent 34%);
}

.stars {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.floating-star {
    position: absolute;
    left: var(--left);
    bottom: -10px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: #78d8ff;
    box-shadow: 0 0 12px #309cff;
    animation: star-rise var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.app-shell {
    width: min(1536px, calc(100% - 28px));
    margin: 14px auto 24px;
}

.hero-banner {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 2px solid rgba(66, 160, 255, .55);
    border-radius: 18px 18px 0 0;
    background:
        linear-gradient(90deg, rgba(4, 18, 45, .98) 0%, rgba(4, 20, 52, .80) 33%, rgba(4, 18, 45, .42) 68%, rgba(4, 18, 45, .92) 100%);
    box-shadow: 0 14px 42px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.09);
}

.hero-art {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 18, 45, .96) 0%, rgba(4, 18, 45, .45) 31%, rgba(4, 18, 45, .08) 62%, rgba(4, 18, 45, .80) 100%),
        url("/assets/images/header-war.webp") center/cover no-repeat;
    opacity: .92;
}

.identity {
    position: relative;
    z-index: 2;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.identity img {
    width: 185px;
    height: 165px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.55));
}

.identity-copy h1 {
    margin: 0;
    font-size: clamp(62px, 6vw, 104px);
    line-height: .78;
    letter-spacing: .02em;
    color: #fff;
    -webkit-text-stroke: 2px #071124;
    text-shadow:
        0 4px 0 #9da2a9,
        0 8px 0 #202a38,
        0 12px 18px rgba(0,0,0,.75);
}

.identity-copy strong {
    display: block;
    margin-top: 13px;
    color: #ffd400;
    font-size: clamp(25px, 2.6vw, 44px);
    line-height: 1;
    -webkit-text-stroke: 1.5px #442200;
    text-shadow: 0 4px 0 #583300, 0 7px 11px rgba(0,0,0,.6);
}

.identity-copy span {
    display: block;
    margin-top: 8px;
    color: #e3e9f1;
    font-size: clamp(15px, 1.4vw, 24px);
    letter-spacing: .025em;
    -webkit-text-stroke: .5px #17243a;
    text-shadow: 0 3px 3px rgba(0,0,0,.65);
}

.hero-actions {
    position: relative;
    z-index: 3;
    align-self: start;
    margin: 30px 28px 0 0;
    display: flex;
    gap: 18px;
}

.top-action {
    min-width: 170px;
    padding: 18px 23px;
    border-radius: 14px;
    color: #fff;
    font-size: 24px;
    letter-spacing: .02em;
    -webkit-text-stroke: .6px #101521;
    box-shadow: inset 0 2px rgba(255,255,255,.22), 0 7px 0 rgba(0,0,0,.46), 0 13px 20px rgba(0,0,0,.28);
    opacity: 1;
}

.rules-button {
    border: 2px solid #bd58ff;
    background: linear-gradient(#8e35cf, #4f1688);
}

.admin-button {
    border: 2px solid #718397;
    background: linear-gradient(#263849, #101a24);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(430px, .95fr);
    gap: 12px;
    margin-top: -1px;
}

.left-column, .right-column {
    display: grid;
    align-content: start;
    gap: 12px;
}

.game-card {
    overflow: hidden;
    border: 2px solid rgba(57, 146, 255, .56);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 35, 78, .97), rgba(3, 18, 48, .98));
    box-shadow: 0 13px 32px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.08);
}

.card-header {
    min-height: 58px;
    padding: 10px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid rgba(62, 148, 255, .55);
    background: linear-gradient(180deg, rgba(21, 92, 173, .72), rgba(8, 51, 112, .72));
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.target-icon {
    color: #29c7ff;
    font-size: 36px;
    filter: drop-shadow(0 0 7px #158cd8);
}

.card-title h2 {
    margin: 0;
    font-size: clamp(20px, 1.7vw, 31px);
    color: #fff;
    letter-spacing: .015em;
    -webkit-text-stroke: .6px #071124;
    text-shadow: 0 3px 2px rgba(0,0,0,.55);
}

.card-title small { font-size: .85em; }

.legend {
    display: flex;
    gap: 18px;
    color: #f2f7ff;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.legend-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: inset 0 2px rgba(255,255,255,.28), 0 2px 4px rgba(0,0,0,.6);
}

.legend-dot.available { background: linear-gradient(#51ef34, #0fa910); }
.legend-dot.selected { background: linear-gradient(#2dd8ff, #0782d2); }
.legend-dot.occupied { background: linear-gradient(#ff5555, #b5121b); }

.number-grid {
    padding: 13px 20px 16px;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
    background: linear-gradient(180deg, rgba(3,24,61,.42), rgba(1,12,35,.20));
}

.number-button {
    min-height: 48px;
    border-radius: 7px;
    color: #fff;
    font-size: clamp(22px, 1.8vw, 32px);
    line-height: 1;
    -webkit-text-stroke: .65px #05101e;
    text-shadow: 0 3px 2px rgba(0,0,0,.72);
    box-shadow: inset 0 2px rgba(255,255,255,.22), 0 4px 0 rgba(0,0,0,.36), 0 6px 9px rgba(0,0,0,.24);
    opacity: 1;
}

.number-button.available {
    border: 2px solid #21e532;
    background: linear-gradient(#21c53b, #078b18);
}

.number-button.occupied {
    border: 2px solid #ff4d57;
    background: linear-gradient(#dc2735, #8f0d17);
}

.number-button.selected {
    border: 2px solid #20caff;
    background: linear-gradient(#25bdec, #0879bd);
}

.js .number-button {
    animation: cell-pop .32s ease-out both;
    animation-delay: calc(var(--cell-index) * 5ms);
}

.reservation-bar {
    padding: 13px 18px 16px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: stretch;
    gap: 16px;
    border-top: 2px solid rgba(55, 138, 239, .38);
    background: rgba(3, 18, 48, .88);
}

.pseudo-box,
.chosen-box {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border-right: 1px solid rgba(88, 165, 255, .38);
}

.field-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1a88dd;
    background: linear-gradient(#6ec6ff, #277dcc);
    box-shadow: 0 0 0 4px rgba(57, 150, 229, .18);
}

.field-copy {
    flex: 1;
    display: grid;
    gap: 7px;
}

.pseudo-box strong,
.chosen-box > strong {
    font-size: 19px;
    color: #fff;
}

.pseudo-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #3d75a8;
    border-radius: 6px;
    color: #fff;
    background: #061831;
    font-family: "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 800;
    opacity: 1;
}

.chosen-box {
    display: grid;
    align-content: center;
}

.chosen-box > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chosen-number {
    width: 56px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 2px solid #20caff;
    border-radius: 6px;
    background: linear-gradient(#21b9ee, #0877ba);
    font-size: 27px;
    text-shadow: 0 3px 2px rgba(0,0,0,.6);
}

.chosen-status {
    color: #25e13d;
    font-family: "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 900;
}

.reserve-button {
    border: 2px solid #ffdd29;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(#ffc817, #d48800);
    font-size: clamp(20px, 1.6vw, 28px);
    -webkit-text-stroke: .7px #4c2900;
    text-shadow: 0 3px 2px rgba(0,0,0,.55);
    box-shadow: inset 0 2px rgba(255,255,255,.35), 0 5px 0 #8c5200, 0 10px 18px rgba(0,0,0,.32);
    opacity: 1;
}

.join-banner {
    min-height: 82px;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 16px;
    border: 2px solid rgba(78, 137, 255, .52);
    border-radius: 17px;
    background: linear-gradient(180deg, rgba(17, 42, 91, .96), rgba(7, 25, 61, .96));
    box-shadow: 0 13px 28px rgba(0,0,0,.38);
}

.trophy { font-size: 43px; }

.join-banner strong {
    display: block;
    font-size: 26px;
}

.join-banner span {
    color: #d7e1ef;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
}

.team-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-icons img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .38));
}

.participant-counter {
    min-width: 180px;
    padding: 8px 15px;
    border: 1px solid rgba(59, 148, 255, .55);
    border-radius: 13px;
    background: rgba(4, 24, 58, .74);
}

.participant-counter span {
    display: inline;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
}

.participant-counter strong {
    display: inline;
    margin-left: 9px;
    color: #35e64c;
    font-size: 30px;
}

.participant-counter em {
    display: block;
    color: #39e246;
    font-style: normal;
    font-size: 18px;
}

.purple-header {
    min-height: 57px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 2px solid #8946c8;
    background: linear-gradient(180deg, #5c228d, #32125e);
}

.purple-header span { font-size: 30px; }

.purple-header h2 {
    margin: 0;
    font-size: 28px;
    text-shadow: 0 3px 2px rgba(0,0,0,.6);
}

.official-rewards {
    height: 145px;
    margin: 12px 14px 0;
    overflow: hidden;
    border: 1px solid #279bd9;
    border-radius: 7px;
    background: #031330;
}

.official-rewards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 37%;
}

.reward-groups {
    padding: 5px 17px 13px;
}

.reward-groups article {
    padding: 11px 0 13px;
    border-bottom: 1px solid rgba(91, 160, 227, .30);
}

.reward-groups article:last-child { border-bottom: 0; }

.reward-groups h3 {
    margin: 0 0 9px;
    font-size: 20px;
    color: #fff;
}

.reward-groups h3 span { color: #c9d5e5; }

.reward-row {
    display: grid;
    grid-template-columns: 68px repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.chest,
.reward {
    min-height: 65px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    box-shadow: inset 0 2px rgba(255,255,255,.16), 0 5px 10px rgba(0,0,0,.33);
}

.chest {
    color: #fff;
    font-size: 33px;
}

.chest.purple { border: 2px solid #bb52e9; background: linear-gradient(#8a39bd, #4e196f); }
.chest.blue { border: 2px solid #48c5ff; background: linear-gradient(#2d88c3, #15517e); }
.chest.green { border: 2px solid #58ed54; background: linear-gradient(#3fb34c, #19672a); }

.reward {
    position: relative;
    border: 2px solid #2d9fd1;
    background: linear-gradient(#0f4c78, #082441);
    font-family: "Segoe UI", sans-serif;
    font-size: 29px;
}

.reward.gem { border-color: #e83275; background: linear-gradient(#9e174a, #4d0b28); }
.reward.ticket { border-color: #ffb819; background: linear-gradient(#a86900, #563600); }

.reward b {
    position: absolute;
    right: 4px;
    bottom: 2px;
    font-size: 16px;
    color: #fff;
    text-shadow: 0 2px 2px #000;
}

.info-panel { padding-bottom: 10px; }

.info-title {
    padding: 13px 18px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.info-title span {
    color: #bd64ff;
    font-size: 29px;
}

.info-title h2 {
    margin: 0;
    font-size: 25px;
}

.info-layout {
    display: grid;
    grid-template-columns: 1fr 150px;
    align-items: center;
    gap: 8px;
    padding: 0 18px 8px;
}

.info-layout dl { margin: 0; }

.info-layout dl div {
    min-height: 31px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 13px;
}

.info-layout dt {
    font-family: "Segoe UI", sans-serif;
    font-weight: 800;
    color: #fff;
}

.info-layout dd {
    margin: 0;
    text-align: right;
    font-size: 17px;
}

.info-layout dd.yes,
.info-layout dd.online {
    padding: 1px 6px;
    border-radius: 4px;
    color: #fff;
    background: #25b937;
}

.info-layout dd.offline { color: #ff6476; }

.info-layout img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    filter: drop-shadow(0 7px 8px rgba(0,0,0,.45));
}

.participants-button {
    min-height: 76px;
    border: 2px solid #a442d3;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(#792caf, #45136f);
    font-size: 27px;
    -webkit-text-stroke: .5px #160520;
    text-shadow: 0 3px 2px rgba(0,0,0,.58);
    box-shadow: inset 0 2px rgba(255,255,255,.18), 0 6px 0 #250938, 0 11px 18px rgba(0,0,0,.3);
    opacity: 1;
}

.technical-line {
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #7e95b7;
    font-family: "Segoe UI", sans-serif;
    font-size: 11px;
}

.technical-line a { color: #62caff; }

@keyframes star-rise {
    from { transform: translateY(0); opacity: 0; }
    15% { opacity: .8; }
    to { transform: translateY(-110vh); opacity: 0; }
}

@keyframes cell-pop {
    from { opacity: 0; transform: scale(.88) translateY(5px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 1180px) {
    .content-grid { grid-template-columns: 1fr; }
    .right-column { grid-template-columns: 1fr 1fr; }
    .prizes-panel { grid-row: span 2; }
    .participants-button { min-height: 66px; }
}

@media (max-width: 850px) {
    .hero-banner {
        min-height: 215px;
        grid-template-columns: 1fr;
    }

    .identity {
        padding: 12px 16px 70px;
    }

    .identity img {
        width: 130px;
        height: 125px;
    }

    .hero-actions {
        position: absolute;
        right: 14px;
        bottom: 17px;
        margin: 0;
    }

    .top-action {
        min-width: 125px;
        padding: 12px 15px;
        font-size: 18px;
    }

    .legend { display: none; }

    .reservation-bar {
        grid-template-columns: 1fr 1fr;
    }

    .reserve-button {
        grid-column: 1 / -1;
        min-height: 65px;
    }

    .right-column { grid-template-columns: 1fr; }
    .prizes-panel { grid-row: auto; }
}

@media (max-width: 620px) {
    .app-shell {
        width: min(100% - 12px, 1536px);
        margin-top: 6px;
    }

    .hero-banner {
        min-height: 260px;
    }

    .identity {
        align-items: flex-start;
    }

    .identity img {
        width: 92px;
        height: 105px;
    }

    .identity-copy h1 {
        font-size: 49px;
    }

    .identity-copy strong {
        font-size: 22px;
    }

    .identity-copy span {
        font-size: 13px;
    }

    .hero-actions {
        left: 12px;
        right: 12px;
        justify-content: center;
    }

    .top-action {
        flex: 1;
        min-width: 0;
    }

    .card-header {
        min-height: 52px;
    }

    .target-icon { font-size: 28px; }

    .card-title h2 {
        font-size: 18px;
    }

    .number-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 10px;
        gap: 7px;
    }

    .number-button {
        min-height: 44px;
        font-size: 24px;
    }

    .reservation-bar {
        grid-template-columns: 1fr;
    }

    .pseudo-box,
    .chosen-box {
        border-right: 0;
        border-bottom: 1px solid rgba(88, 165, 255, .28);
    }

    .reserve-button { grid-column: auto; }

    .join-banner {
        grid-template-columns: auto 1fr;
    }

    .team-icons { display: none; }

    .participant-counter {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .reward-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .chest, .reward { min-height: 60px; }

    .info-layout {
        grid-template-columns: 1fr 95px;
    }

    .info-layout img {
        width: 92px;
        height: 92px;
    }

    .participants-button {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .stars { display: none; }
}


/* Pack 3.2 — correction stable du panneau Lots à gagner */
.corrected-rewards {
    height: auto;
    max-height: none;
    margin: 12px 14px 10px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(55, 180, 255, .72);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(8, 34, 75, .98), rgba(2, 15, 38, .99));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .08),
        0 8px 18px rgba(0, 0, 0, .28);
}

.corrected-rewards img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

.rewards-note {
    margin: 0;
    padding: 0 16px 15px;
    color: #9fb7d7;
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1180px) {
    .corrected-rewards img {
        max-height: 760px;
    }
}

@media (max-width: 620px) {
    .corrected-rewards {
        margin: 9px;
        padding: 6px;
    }

    .rewards-note {
        padding-inline: 12px;
        font-size: 11px;
    }
}


/* =========================================================
   VISUEL V1 — BANNIÈRE WACK
   Correction ciblée, sans modifier la grille ni les panneaux.
   ========================================================= */

.hero-banner {
    min-height: 208px;
    grid-template-columns: minmax(0, 1fr) auto;
    border-width: 2px;
    border-color: rgba(73, 173, 255, .72);
    border-radius: 19px 19px 0 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 12, 32, .99) 0%,
            rgba(3, 19, 49, .90) 29%,
            rgba(3, 18, 45, .32) 61%,
            rgba(3, 16, 40, .88) 100%
        );
    box-shadow:
        0 16px 44px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .14),
        inset 0 -10px 28px rgba(0, 8, 26, .26);
}

.hero-art {
    background:
        linear-gradient(
            90deg,
            rgba(2, 12, 31, .97) 0%,
            rgba(2, 14, 37, .76) 26%,
            rgba(2, 14, 37, .06) 54%,
            rgba(2, 14, 37, .25) 73%,
            rgba(2, 14, 37, .88) 100%
        ),
        url("/assets/images/header-war.webp") 57% 42% / cover no-repeat;
    opacity: 1;
    filter: saturate(1.12) contrast(1.05);
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 53% 40%, rgba(255, 132, 43, .13), transparent 27%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 28%, rgba(0,0,0,.18));
}

.identity {
    z-index: 4;
    min-width: 0;
    padding: 14px 26px 15px 22px;
    gap: 18px;
}

.identity img {
    width: 198px;
    height: 181px;
    flex: 0 0 auto;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 2px rgba(0, 0, 0, .35))
        drop-shadow(0 14px 18px rgba(0, 0, 0, .68))
        drop-shadow(0 0 12px rgba(255, 196, 52, .18));
    transform: translateY(1px);
}

.identity-copy {
    min-width: 0;
    transform: translateY(-2px);
}

.identity-copy h1 {
    font-size: clamp(68px, 6.3vw, 111px);
    letter-spacing: -.025em;
    line-height: .77;
    color: transparent;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f7f9 22%,
            #c9ced4 52%,
            #ffffff 68%,
            #8c949d 100%
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 2px #07101e;
    paint-order: stroke fill;
    text-shadow:
        0 3px 0 #f6f6f6,
        0 6px 0 #8b929a,
        0 10px 0 #222b36,
        0 15px 22px rgba(0,0,0,.82);
}

.identity-copy strong {
    margin-top: 15px;
    font-size: clamp(28px, 2.75vw, 47px);
    letter-spacing: -.018em;
    color: transparent;
    background:
        linear-gradient(
            180deg,
            #fff27b 0%,
            #ffd21a 36%,
            #f6aa00 70%,
            #b66300 100%
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1.4px #402000;
    paint-order: stroke fill;
    text-shadow:
        0 3px 0 #7b3c00,
        0 7px 10px rgba(0,0,0,.72);
}

.identity-copy span {
    margin-top: 9px;
    color: #f1f4f8;
    font-size: clamp(15px, 1.45vw, 25px);
    letter-spacing: .01em;
    -webkit-text-stroke: .55px #101a28;
    text-shadow:
        0 2px 0 #4d5660,
        0 4px 7px rgba(0,0,0,.78);
}

.hero-actions {
    z-index: 5;
    align-self: start;
    margin: 31px 25px 0 0;
    gap: 17px;
}

.top-action {
    position: relative;
    overflow: hidden;
    min-width: 168px;
    min-height: 61px;
    padding: 15px 22px 16px;
    border-radius: 13px;
    font-size: 23px;
    letter-spacing: .01em;
    -webkit-text-stroke: .55px #080c14;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.30),
        inset 0 -7px 14px rgba(0,0,0,.18),
        0 6px 0 rgba(0,0,0,.48),
        0 12px 20px rgba(0,0,0,.33);
    opacity: 1;
}

.top-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: -55%;
    width: 35%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );
    animation: banner-button-shine 5.2s ease-in-out infinite;
}

.rules-button {
    border: 2px solid #d36bff;
    background:
        linear-gradient(180deg, #a33cdd 0%, #7b24bb 47%, #481176 100%);
}

.admin-button {
    border: 2px solid #71879b;
    background:
        linear-gradient(180deg, #334a5d 0%, #1c2c3a 48%, #0c141d 100%);
}

@keyframes banner-button-shine {
    0%, 72% {
        left: -55%;
        opacity: 0;
    }
    78% {
        opacity: 1;
    }
    92% {
        left: 125%;
        opacity: 0;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}

@media (max-width: 1050px) {
    .hero-banner {
        min-height: 200px;
    }

    .identity img {
        width: 170px;
        height: 165px;
    }

    .hero-actions {
        margin-right: 18px;
    }

    .top-action {
        min-width: 145px;
        font-size: 20px;
    }
}

@media (max-width: 850px) {
    .hero-banner {
        min-height: 232px;
    }

    .identity {
        padding: 12px 14px 72px;
    }

    .identity img {
        width: 138px;
        height: 135px;
    }

    .identity-copy h1 {
        font-size: 66px;
    }

    .identity-copy strong {
        font-size: 27px;
    }

    .identity-copy span {
        font-size: 15px;
    }

    .hero-actions {
        right: 15px;
        bottom: 17px;
        left: auto;
        margin: 0;
    }
}

@media (max-width: 620px) {
    .hero-banner {
        min-height: 274px;
    }

    .hero-art {
        background-position: 60% 42%;
    }

    .identity {
        gap: 9px;
        align-items: flex-start;
    }

    .identity img {
        width: 96px;
        height: 108px;
    }

    .identity-copy h1 {
        font-size: 50px;
        -webkit-text-stroke-width: 1.4px;
    }

    .identity-copy strong {
        margin-top: 11px;
        font-size: 22px;
    }

    .identity-copy span {
        margin-top: 7px;
        font-size: 12px;
    }

    .hero-actions {
        left: 10px;
        right: 10px;
        gap: 10px;
    }

    .top-action {
        flex: 1;
        min-width: 0;
        min-height: 55px;
        padding: 12px 10px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-action::before {
        animation: none;
        display: none;
    }
}


/* =========================================================
   VISUEL V2 À V5 — LOTS, GRILLE, INFORMATIONS, BOUTON
   La bannière V1 reste inchangée.
   ========================================================= */

/* 2 — Panneau Lots à gagner */
.prizes-panel {
    display: flex;
    flex-direction: column;
}

.corrected-rewards {
    flex: 1;
    min-height: 360px;
    margin: 12px 14px 14px;
    padding: 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(55, 180, 255, .78);
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 20%, rgba(47, 129, 226, .14), transparent 42%),
        linear-gradient(180deg, rgba(7, 32, 72, .98), rgba(2, 14, 36, .99));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .10),
        inset 0 -18px 35px rgba(0, 0, 0, .16),
        0 8px 18px rgba(0, 0, 0, .30);
}

.corrected-rewards img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
}

.rewards-note {
    display: none !important;
}

/* 3 — Cases de la grille */
.number-button {
    position: relative;
    overflow: hidden;
    transition:
        transform .16s ease,
        filter .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.number-button::after {
    content: "";
    position: absolute;
    inset: 1px 2px auto;
    height: 42%;
    border-radius: 5px 5px 45% 45%;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, .25),
        rgba(255, 255, 255, .06) 48%,
        transparent
    );
    opacity: .82;
}

.number-button:not(:disabled):hover,
.number-button:hover {
    transform: translateY(-2px) scale(1.025);
    filter: brightness(1.12) saturate(1.08);
    z-index: 2;
}

.number-button.available:hover {
    border-color: #7aff7f;
    box-shadow:
        inset 0 2px rgba(255,255,255,.28),
        0 4px 0 rgba(0,0,0,.36),
        0 0 15px rgba(33, 229, 50, .48);
}

.number-button.occupied:hover {
    border-color: #ff8b91;
    box-shadow:
        inset 0 2px rgba(255,255,255,.28),
        0 4px 0 rgba(0,0,0,.36),
        0 0 15px rgba(230, 39, 53, .55);
}

.number-button.selected {
    animation: selected-pulse 2.2s ease-in-out infinite;
}

.number-button:active {
    transform: translateY(1px) scale(.98);
    box-shadow:
        inset 0 3px 8px rgba(0,0,0,.22),
        0 2px 0 rgba(0,0,0,.38);
}

@keyframes selected-pulse {
    0%, 100% {
        filter: brightness(1);
        box-shadow:
            inset 0 2px rgba(255,255,255,.22),
            0 4px 0 rgba(0,0,0,.36),
            0 0 7px rgba(32, 202, 255, .34);
    }
    50% {
        filter: brightness(1.13);
        box-shadow:
            inset 0 2px rgba(255,255,255,.30),
            0 4px 0 rgba(0,0,0,.36),
            0 0 18px rgba(32, 202, 255, .72);
    }
}

/* 4 — Bloc Informations */
.info-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(112, 45, 191, .14), transparent 38%),
        linear-gradient(180deg, rgba(8, 36, 79, .98), rgba(3, 18, 46, .99));
}

.info-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.035), transparent 35%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 48px,
            rgba(80, 156, 234, .025) 49px
        );
}

.info-title,
.info-layout {
    position: relative;
    z-index: 1;
}

.info-title {
    padding-top: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(81, 161, 245, .18);
}

.info-layout {
    padding-top: 8px;
    padding-bottom: 12px;
}

.info-layout dl div {
    min-height: 35px;
    padding: 3px 0;
    border-bottom: 1px solid rgba(90, 161, 230, .12);
}

.info-layout dl div:last-child {
    border-bottom: 0;
}

.info-layout dt {
    color: #dce7f7;
}

.info-layout dd {
    color: #ffffff;
    text-shadow: 0 2px 3px rgba(0,0,0,.45);
}

.info-layout dd.yes,
.info-layout dd.online {
    box-shadow:
        inset 0 1px rgba(255,255,255,.24),
        0 0 9px rgba(37, 185, 55, .34);
}

/* 5 — Bouton Réserver */
.reserve-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .15s ease,
        filter .15s ease,
        box-shadow .15s ease;
}

.reserve-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: -45%;
    width: 28%;
    height: 100%;
    transform: skewX(-24deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.48),
        transparent
    );
    animation: reserve-shine 3.8s ease-in-out infinite;
}

.reserve-button::after {
    content: "";
    position: absolute;
    inset: 2px 5px auto;
    height: 40%;
    border-radius: 8px 8px 50% 50%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.28), transparent);
}

.reserve-button:hover {
    transform: translateY(-2px) scale(1.015);
    filter: brightness(1.08) saturate(1.08);
    box-shadow:
        inset 0 2px rgba(255,255,255,.42),
        0 5px 0 #8c5200,
        0 0 20px rgba(255, 186, 20, .48),
        0 12px 20px rgba(0,0,0,.34);
}

.reserve-button:active {
    transform: translateY(3px) scale(.985);
    box-shadow:
        inset 0 4px 9px rgba(126, 74, 0, .26),
        0 2px 0 #7b4700,
        0 5px 10px rgba(0,0,0,.25);
}

@keyframes reserve-shine {
    0%, 66% {
        left: -45%;
        opacity: 0;
    }
    72% {
        opacity: 1;
    }
    90% {
        left: 125%;
        opacity: 0;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}

@media (max-width: 1180px) {
    .corrected-rewards {
        min-height: 420px;
    }

    .corrected-rewards img {
        max-height: 560px;
    }
}

@media (max-width: 620px) {
    .corrected-rewards {
        min-height: 0;
        margin: 9px;
        padding: 6px;
    }

    .corrected-rewards img {
        height: auto;
        max-height: none;
    }

    .number-button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .number-button.selected,
    .reserve-button::before {
        animation: none;
    }
}


/* =========================================================
   v0.3.5 — Affichage complet de l'image Lots à gagner
   Aucun autre élément du site n'est modifié.
   ========================================================= */

.prizes-panel .corrected-rewards {
    min-height: 0;
    height: auto;
    max-height: none;
    margin: 12px 14px 14px;
    padding: 8px;
    display: block;
    overflow: visible;
}

.prizes-panel .corrected-rewards img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    aspect-ratio: auto;
}

@media (max-width: 1180px) {
    .prizes-panel .corrected-rewards {
        min-height: 0;
    }

    .prizes-panel .corrected-rewards img {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 620px) {
    .prizes-panel .corrected-rewards {
        margin: 9px;
        padding: 6px;
    }

    .prizes-panel .corrected-rewards img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}


/* =========================================================
   PACK 4 — LOTS DYNAMIQUES HTML / MARIADB
   ========================================================= */

.official-rewards,
.corrected-rewards,
.rewards-note,
.reward-groups {
    display: none !important;
}

.dynamic-lots {
    padding: 10px 12px 13px;
    display: grid;
    gap: 10px;
}

.dynamic-lots__empty {
    margin: 10px;
    padding: 20px;
    color: #b7c9e3;
    text-align: center;
}

.dynamic-lot {
    overflow: hidden;
    border: 1px solid rgba(125, 176, 235, .58);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(239, 247, 255, .98), rgba(215, 230, 248, .98));
    box-shadow:
        inset 0 1px rgba(255,255,255,.92),
        0 5px 12px rgba(0,0,0,.30);
}

.dynamic-lot__header {
    min-height: 41px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #17345d;
    background: linear-gradient(90deg, #e3f1ff, #c8e1fa);
    border-bottom: 1px solid rgba(90, 144, 203, .28);
}

.dynamic-lot__header strong {
    padding: 5px 13px;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(#8d32c7, #59168e);
    font-size: 20px;
    letter-spacing: .025em;
    text-shadow: 0 2px 2px rgba(0,0,0,.48);
    box-shadow: inset 0 1px rgba(255,255,255,.20);
}

.dynamic-lot__header span {
    font-size: 19px;
    font-weight: 900;
}

.dynamic-lot--blue .dynamic-lot__header strong {
    background: linear-gradient(#228dc5, #0e5689);
}

.dynamic-lot--green .dynamic-lot__header strong {
    background: linear-gradient(#39ae45, #176b29);
}

.dynamic-lot__rewards {
    padding: 8px 10px 10px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.dynamic-reward {
    position: relative;
    min-width: 0;
    height: 72px;
    margin: 0;
    padding: 2px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #25a9d8;
    border-radius: 7px;
    background: linear-gradient(#0d527d, #062e50);
    box-shadow:
        inset 0 1px rgba(255,255,255,.20),
        0 4px 7px rgba(0,0,0,.28);
}

.dynamic-reward--chest {
    border-color: #a849dc;
    background: linear-gradient(#722c9b, #35134e);
}

.dynamic-lot--blue .dynamic-reward--chest {
    border-color: #39b9f0;
    background: linear-gradient(#257cae, #104366);
}

.dynamic-lot--green .dynamic-reward--chest {
    border-color: #49dc55;
    background: linear-gradient(#319f3c, #145a24);
}

.dynamic-reward--diamonds {
    border-color: #e33b78;
    background: linear-gradient(#a51c53, #520b2b);
}

.dynamic-reward--ticket {
    border-color: #ffb619;
    background: linear-gradient(#b67205, #593500);
}

.dynamic-reward img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.38));
}

.dynamic-reward figcaption {
    position: absolute;
    right: 4px;
    bottom: 2px;
    padding: 0 3px;
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 950;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

@media (max-width: 620px) {
    .dynamic-lot__rewards {
        grid-template-columns: repeat(3, 1fr);
    }

    .dynamic-reward {
        height: 78px;
    }
}


/* =========================================================
   PACK 5 — RÉSERVATIONS FONCTIONNELLES
   ========================================================= */

.number-button.is-choice {
    border-color: #ffe55c;
    filter: brightness(1.14);
    box-shadow:
        inset 0 2px rgba(255,255,255,.32),
        0 4px 0 rgba(0,0,0,.36),
        0 0 18px rgba(255, 216, 45, .80);
    animation: choice-pulse 1.45s ease-in-out infinite;
}

.number-button:disabled {
    cursor: default;
}

.pseudo-box input:disabled {
    opacity: .82;
}

.chosen-status.is-confirmed {
    color: #35ec51;
}

.reserve-button:disabled {
    cursor: not-allowed;
    filter: grayscale(.25) brightness(.8);
    opacity: .72;
}

.loto-toast {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    max-width: min(420px, calc(100% - 30px));
    padding: 13px 17px;
    border: 1px solid rgba(90, 176, 255, .70);
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(#123c70, #071e42);
    box-shadow: 0 13px 35px rgba(0,0,0,.50);
    font-family: "Segoe UI", sans-serif;
    font-weight: 800;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.loto-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.loto-toast[data-type="success"] {
    border-color: #48e75c;
    background: linear-gradient(#217b32, #0d3e19);
}

.loto-toast[data-type="error"] {
    border-color: #ff647c;
    background: linear-gradient(#8f2336, #470e1a);
}

.participants-modal[hidden] {
    display: none;
}

.participants-modal {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: grid;
    place-items: center;
    padding: 18px;
}

.participants-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 7, 19, .82);
    backdrop-filter: blur(5px);
}

.participants-modal__dialog {
    position: relative;
    width: min(540px, 100%);
    max-height: min(700px, calc(100vh - 36px));
    overflow: hidden;
    border: 2px solid rgba(168, 66, 211, .88);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(180deg, #0d3268, #051630);
    box-shadow: 0 25px 70px rgba(0,0,0,.65);
}

.participants-modal__dialog header {
    min-height: 62px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 2px solid #8d3fc6;
    background: linear-gradient(#6f259f, #3c125e);
}

.participants-modal__dialog h2 {
    margin: 0;
    font-size: 24px;
}

.participants-modal__close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    color: #fff;
    background: rgba(0,0,0,.25);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.participants-list {
    max-height: 570px;
    padding: 13px;
    overflow-y: auto;
    font-family: "Segoe UI", sans-serif;
}

.participant-row {
    min-height: 48px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(88, 160, 237, .18);
}

.participant-row:nth-child(odd) {
    background: rgba(44, 109, 183, .10);
}

.participant-row strong {
    min-width: 46px;
    padding: 5px 8px;
    border: 1px solid #29bdf1;
    border-radius: 6px;
    text-align: center;
    background: linear-gradient(#25b8ec, #0875b7);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 21px;
}

body.modal-open {
    overflow: hidden;
}

@keyframes choice-pulse {
    0%, 100% { transform: translateY(-1px) scale(1.015); }
    50% { transform: translateY(-2px) scale(1.035); }
}

@media (max-width: 620px) {
    .loto-toast {
        right: 15px;
        bottom: 15px;
    }

    .participants-modal__dialog h2 {
        font-size: 19px;
    }
}


/* Pack 6 — bouton Admin désormais actif */
a.top-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
}


/* Pack 9.3 — mode administrateur sur la page publique */
.admin-mode-banner {
    display: none;
    margin: 0 0 12px;
    padding: 10px 16px;
    border: 1px solid rgba(250, 204, 21, .75);
    border-radius: 10px;
    background: rgba(113, 63, 18, .92);
    color: #fff7c2;
    font-weight: 800;
    text-align: center;
    letter-spacing: .04em;
}
.admin-public-mode .admin-mode-banner { display: block; }
.admin-public-mode .legend span:nth-child(2) { display: none; }


/* Version 1.0.1 — accès public à l’écran de tirage */
.draw-button {
    border: 2px solid #ffd54a;
    background: linear-gradient(180deg, #e9a91b 0%, #b96f08 48%, #714005 100%);
}

@media (max-width: 1180px) {
    .hero-actions {
        gap: 10px;
        margin-right: 14px;
    }

    .top-action {
        min-width: 145px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 20px;
    }
}

@media (max-width: 760px) {
    .hero-actions {
        flex-wrap: wrap;
    }

    .draw-button {
        flex-basis: 100%;
        order: -1;
    }
}


/* =========================================================
   v1.4.1 — États de grille explicites
   Vert : disponible / Bleu : sélection temporaire / Rouge : réservé
   ========================================================= */
.legend b {
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.number-button.selected {
    border: 2px solid #45d8ff;
    background: linear-gradient(180deg, #2fc9f5 0%, #0879bd 100%);
    animation: selected-pulse .85s ease-in-out infinite;
}

.number-button.occupied {
    position: relative;
    border: 2px solid #ff626b;
    background: linear-gradient(180deg, #ed3342 0%, #9f101b 100%);
}

.number-button.occupied::after {
    content: "✓";
    position: absolute;
    top: 2px;
    right: 5px;
    color: rgba(255,255,255,.9);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    -webkit-text-stroke: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

.number-button.occupied.mine {
    box-shadow:
        inset 0 2px rgba(255,255,255,.28),
        0 4px 0 rgba(0,0,0,.36),
        0 0 15px rgba(255, 55, 70, .62);
}

@media (max-width: 760px) {
    .legend {
        gap: 9px;
        flex-wrap: wrap;
        justify-content: flex-end;
        font-size: 12px;
    }
    .legend-dot {
        width: 17px;
        height: 17px;
    }
}


/* v1.4.2 — icônes équipement WACK */
@media (max-width: 1100px) and (min-width: 851px) {
    .team-icons img { width: 44px; height: 44px; }
}


/* =========================================================
   v1.5.0 — Règlement officiel et validation avant inscription
   ========================================================= */
.rules-button,
.rules-gate__button,
.pseudo-rules-note a {
    text-decoration: none;
}

.rules-gate {
    margin: 14px 16px 0;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border: 2px solid rgba(255, 199, 45, .75);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(87, 54, 5, .96), rgba(31, 26, 17, .97));
    box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 20px rgba(0,0,0,.28);
}

.rules-gate[hidden] { display: none !important; }
.rules-gate__icon { font-size: 34px; }
.rules-gate__copy { display: grid; gap: 4px; }
.rules-gate__copy strong { color: #ffd75a; font-size: 20px; letter-spacing: .025em; }
.rules-gate__copy span { color: #f5ead0; font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.rules-gate__button {
    padding: 12px 15px;
    border: 2px solid #ffe189;
    border-radius: 11px;
    color: #1d1606;
    background: linear-gradient(#ffd85e, #e7a70c);
    box-shadow: inset 0 1px rgba(255,255,255,.6), 0 4px 0 rgba(77,48,0,.65);
    white-space: nowrap;
}
.rules-gate__button:hover { filter: brightness(1.08); transform: translateY(-1px); }

.pseudo-rules-note {
    margin: 12px 16px 0;
    padding: 10px 13px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    border: 1px solid rgba(91, 184, 255, .55);
    border-radius: 11px;
    background: rgba(8, 39, 83, .68);
}
.pseudo-rules-note p {
    margin: 0;
    color: #d9ebff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}
.pseudo-rules-note a { color: #72d5ff; text-decoration: underline; font-weight: 800; }

@media (max-width: 760px) {
    .rules-gate { grid-template-columns: auto 1fr; }
    .rules-gate__button { grid-column: 1 / -1; text-align: center; }
}
