:root {

    --sage: #6F8A6A;
    --sage-dark: #5C7358;
    --sage-deep: #40553E;

    --cream: #FAF8F4;
    --beige: #F4EFE7;

    --brown: #5A4634;
    --brown-dark: #3F3025;

    --white: #FFFFFF;

    --text: #283029;
    --muted: #788078;

    --border:
        rgba(90,70,52,.12);

    --shadow-sm:
        0 8px 24px
        rgba(55,43,32,.07);

    --shadow:
        0 18px 50px
        rgba(55,43,32,.11);

    --shadow-lg:
        0 28px 80px
        rgba(55,43,32,.16);

    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 30px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background:

        radial-gradient(
            circle at 10% 0%,
            rgba(111,138,106,.10),
            transparent 30%
        ),

        radial-gradient(
            circle at 100% 30%,
            rgba(90,70,52,.06),
            transparent 28%
        ),

        var(--cream);

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    min-height: 100vh;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| PAGE
|--------------------------------------------------------------------------
*/

.page {
    width: 100%;
    overflow: hidden;
}


.container {

    width:
        min(
            calc(100% - 40px),
            1180px
        );

    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.hero {

    position: relative;

    padding:
        70px 0
        52px;

    color: white;

    background:

        radial-gradient(
            circle at 85% 15%,
            rgba(255,255,255,.14),
            transparent 25%
        ),

        linear-gradient(
            135deg,
            var(--sage-deep),
            var(--sage-dark) 55%,
            #6F8A6A
        );

    overflow: hidden;
}


.hero::before {

    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    right: -180px;
    top: -260px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.055);
}


.hero::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -170px;
    bottom: -220px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.10);
}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 900px;
}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    margin-bottom: 18px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 999px;

    background:
        rgba(255,255,255,.09);

    backdrop-filter: blur(10px);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.eyebrow i {
    color: #E8EFE5;
}


.hero h1 {

    margin: 0;

    max-width: 760px;

    font-size:
        clamp(
            38px,
            6vw,
            70px
        );

    line-height: .98;

    letter-spacing: -.045em;

    font-weight: 900;
}


.hero h1 span {
    color: #E4EBDD;
}


.hero-text {

    max-width: 700px;

    margin:
        22px 0 0;

    color:
        rgba(255,255,255,.82);

    font-size:
        clamp(
            16px,
            2vw,
            19px
        );

    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.hero-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.hero-stat {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px 15px;

    border:
        1px solid
        rgba(255,255,255,.14);

    border-radius: 14px;

    background:
        rgba(255,255,255,.075);

    backdrop-filter: blur(12px);
}


.hero-stat i {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(255,255,255,.12);
}


.hero-stat strong {
    font-size: 16px;
}


.hero-stat small {

    display: block;

    margin-top: 1px;

    color:
        rgba(255,255,255,.62);

    font-size: 11px;
}


/*
|--------------------------------------------------------------------------
| MAIN
|--------------------------------------------------------------------------
*/

.main {
    padding: 38px 0 100px;
}


/*
|--------------------------------------------------------------------------
| SEARCH / ACTION BAR
|--------------------------------------------------------------------------
*/

.command-bar {

    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 14px;

    margin-bottom: 34px;
}


.search-box {
    position: relative;
}


.search-box i {

    position: absolute;

    left: 20px;
    top: 50%;

    transform:
        translateY(-50%);

    color:
        var(--sage-dark);

    font-size: 17px;

    pointer-events: none;
}


.search-box input {

    width: 100%;

    height: 58px;

    padding:
        0 20px 0 53px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    outline: none;

    background:
        var(--white);

    color: var(--text);

    box-shadow:
        var(--shadow-sm);

    transition:
        border-color .2s,
        box-shadow .2s;
}


.search-box input:focus {

    border-color:
        rgba(92,115,88,.45);

    box-shadow:
        0 0 0 4px
        rgba(111,138,106,.10),
        var(--shadow-sm);
}


.search-box input::placeholder {
    color: #9A9F9A;
}


.btn-primary {

    min-height: 58px;

    padding:
        0 23px;

    border: 0;

    border-radius: 18px;

    background:

        linear-gradient(
            135deg,
            var(--brown),
            var(--brown-dark)
        );

    color: white;

    font-weight: 800;

    box-shadow:
        0 10px 25px
        rgba(90,70,52,.20);

    transition:
        transform .2s,
        box-shadow .2s;
}


.btn-primary:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 30px
        rgba(90,70,52,.25);
}


.btn-primary i {
    margin-right: 8px;
}


/*
|--------------------------------------------------------------------------
| FLASH
|--------------------------------------------------------------------------
*/

.flash {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 16px 18px;

    margin-bottom: 26px;

    border-radius: 17px;

    border: 1px solid;

    font-size: 14px;

    line-height: 1.5;
}


.flash i {

    margin-top: 2px;

    font-size: 17px;
}


.flash.success {

    background: #EDF5EA;

    border-color: #CFE2C8;

    color: #40553E;
}


.flash.info {

    background: #F1F3ED;

    border-color: #D7DED2;

    color: #4C5949;
}


.flash.error {

    background: #FBEEEE;

    border-color: #EACCCC;

    color: #874949;
}


/*
|--------------------------------------------------------------------------
| SECTION HEADER
|--------------------------------------------------------------------------
*/

.section-head {

    display: flex;

    align-items: end;

    justify-content:
        space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.section-kicker {

    color:
        var(--sage-dark);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.section-head h2 {

    margin: 5px 0 0;

    font-size:
        clamp(
            25px,
            3vw,
            34px
        );

    letter-spacing: -.035em;

    color:
        var(--brown-dark);
}


.section-head p {

    max-width: 520px;

    margin: 8px 0 0;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


.result-count {

    padding: 8px 12px;

    border-radius: 999px;

    background:
        var(--beige);

    color:
        var(--brown);

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| FEATURED #1
|--------------------------------------------------------------------------
*/

.featured {

    position: relative;

    margin-bottom: 24px;

    padding: 28px;

    border-radius:
        var(--radius-lg);

    background:

        linear-gradient(
            135deg,
            #31452F,
            #50694C 60%,
            #6F8A6A
        );

    color: white;

    overflow: hidden;

    box-shadow:
        var(--shadow-lg);
}


.featured::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.10);
}


.featured::after {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: 80px;
    bottom: -110px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.05);
}


.featured-inner {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        auto
        minmax(0,1fr)
        165px;

    gap: 20px;

    align-items: start;
}


.featured-rank {

    width: 66px;
    height: 66px;

    display: grid;

    place-items: center;

    border-radius: 20px;

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.16);

    font-size: 23px;

    font-weight: 900;
}


.featured-label {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color:
        rgba(255,255,255,.66);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.featured-song {

    margin: 0;

    font-size:
        clamp(
            23px,
            4vw,
            34px
        );

    line-height: 1.1;

    letter-spacing: -.03em;

    font-weight: 900;
}


.featured-artist {

    margin-top: 7px;

    color:
        rgba(255,255,255,.72);

    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| VOTE #1
|--------------------------------------------------------------------------
*/

.featured-vote {

    align-self: start;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    gap: 9px;

    width: 100%;

    min-width: 0;

    padding-top: 1px;
}


.featured-vote-count {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    text-align: center;
}


.featured-vote strong {

display: block;

    margin: 0;

    font-size: 50px;

    line-height: 1;

    font-weight: 900;

    text-align: center;
}


.featured-vote span {

    display: block;

    margin-top: 5px;

    color:
        rgba(255,255,255,.62);

    font-size: 15px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;

    text-align: center;
}


.featured-vote-form {

    width: 100%;

    margin: 0;
}


.featured-vote .vote-button {

    width: 100%;

    min-height: 50px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.15);

    border:
        1px solid
        rgba(255,255,255,.18);

    color: white;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.10);
}


.featured-vote .vote-button:hover {

    background:
        rgba(255,255,255,.23);

    transform:
        translateY(-2px);
}


.featured-vote .vote-button.voted {

    background:
        rgba(255,255,255,.10);

    color:
        rgba(255,255,255,.70);

    border-color:
        rgba(255,255,255,.10);
}


/*
|--------------------------------------------------------------------------
| ACTIONS ADMIN
|--------------------------------------------------------------------------
*/

.admin-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top: 16px;

    padding-top: 14px;

    border-top:
        1px solid
        rgba(90,70,52,.09);
}


.admin-action-form {

    margin: 0;
}


.admin-action-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    min-height: 34px;

    padding:
        0 11px;

    border:
        1px solid
        rgba(90,70,52,.10);

    border-radius: 10px;

    background:
        #F5F2ED;

    color:
        var(--brown);

    font-size: 10px;

    font-weight: 850;

    white-space: nowrap;

    transition:
        transform .18s,
        background .18s,
        color .18s,
        border-color .18s;
}


.admin-action-btn:hover {

    transform:
        translateY(-1px);

    background:
        #E7EEE3;

    color:
        var(--sage-deep);

    border-color:
        rgba(92,115,88,.18);
}


.admin-action-played {

    background:
        #EAF2E6;

    color:
        var(--sage-deep);
}


.admin-action-ignore {

    background:
        #F4F1EB;

    color:
        #756A5F;
}


.admin-action-delete {

    background:
        #F8EEEE;

    color:
        #875050;
}


.admin-played-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


/*
|--------------------------------------------------------------------------
| ACTIONS ADMIN — CARTE #1
|--------------------------------------------------------------------------
*/

.featured-admin-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: flex-end;

    gap: 7px;

    width: 100%;

    margin-top: 4px;

    padding-top: 10px;

    border-top:
        1px solid
        rgba(255,255,255,.12);
}


.featured-admin-actions .admin-action-btn {

    min-height: 31px;

    padding:
        0 9px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 9px;

    background:
        rgba(255,255,255,.10);

    color:
        rgba(255,255,255,.88);

    font-size: 9px;
}


.featured-admin-actions .admin-action-btn:hover {

    background:
        rgba(255,255,255,.18);

    color: white;

    border-color:
        rgba(255,255,255,.24);
}


.featured-admin-actions .admin-action-played {

    background:
        rgba(220,238,214,.16);

    color:
        #EDF5E9;
}


.featured-admin-actions .admin-action-ignore {

    background:
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.78);
}


.featured-admin-actions .admin-action-delete {

    background:
        rgba(255,220,220,.10);

    color:
        #F5DCDC;
}


/*
|--------------------------------------------------------------------------
| REQUEST GRID
|--------------------------------------------------------------------------
*/

.request-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 16px;
}


/*
|--------------------------------------------------------------------------
| REQUEST CARD
|--------------------------------------------------------------------------
*/

.request-card {

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        155px;

    grid-template-rows:
        auto
        auto;

    column-gap: 22px;

    align-items: start;

    padding: 21px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        rgba(255,255,255,.88);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .2s,
        box-shadow .2s,
        border-color .2s;
}


.request-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(92,115,88,.22);

    box-shadow:
        var(--shadow);
}


/*
|--------------------------------------------------------------------------
| CONTENU DE LA CARTE
|--------------------------------------------------------------------------
*/

.request-top {

    grid-column: 1;

    grid-row: 1;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    min-width: 0;
}


.rank {

    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background:
        var(--beige);

    color:
        var(--brown);

    font-size: 13px;

    font-weight: 900;
}


.rank.top-three {

    background:
        #E6EEE1;

    color:
        var(--sage-deep);
}


.song-content {

    min-width: 0;

    flex: 1;
}


.song-title {

    margin:
        1px 0 4px;

    color:
        var(--brown-dark);

    font-size: 18px;

    font-weight: 850;

    line-height: 1.25;

    overflow-wrap: anywhere;
}


.song-artist {

    color:
        var(--muted);

    font-size: 13px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/*
|--------------------------------------------------------------------------
| DANSE ASSOCIÉE
|--------------------------------------------------------------------------
*/

.dance-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 13px;

    padding: 7px 10px;

    border-radius: 999px;

    background:
        #EFF4EC;

    color:
        var(--sage-deep);

    font-size: 10px;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.dance-badge-button {

    border: 0;

    font-family: inherit;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;
}


.dance-badge-button:focus-visible {

    outline:
        2px solid
        rgba(92,115,88,.55);

    outline-offset: 2px;
}


/*
|--------------------------------------------------------------------------
| ACTIONS ADMIN DES CARTES #2+
|--------------------------------------------------------------------------
*/

.request-card > .admin-actions {

    grid-column: 1 / -1;

    grid-row: 2;

    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| VOTES À DROITE
|--------------------------------------------------------------------------
*/

.vote-area {

    grid-column: 2;

    grid-row: 1;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    gap: 10px;

    min-width: 0;

    margin: 0;

    padding: 0;

    border: 0;
}


.vote-progress {

    width: 100%;

    min-width: 0;
}


.vote-meta {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 2px;

    margin: 0;

    text-align: center;
}


.vote-meta strong {

    color:
        var(--brown);

    font-size: 25px;

    line-height: 1;

    font-weight: 900;

    white-space: nowrap;
}


.vote-meta span {

    color:
        var(--muted);

    font-size: 10px;

    font-weight: 750;

    white-space: nowrap;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| BARRE DE PROGRESSION SUPPRIMÉE
|--------------------------------------------------------------------------
*/

.progress {
    display: none;
}


.vote-area > form {

    width: 100%;

    margin: 0;
}


.vote-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    min-width: 0;

    min-height: 51px;

    padding:
        0 13px;

    border: 0;

    border-radius: 14px;

    background:
        var(--sage-dark);

    color: white;

    font-size: 13px;

    font-weight: 850;

    box-shadow:
        0 8px 18px
        rgba(92,115,88,.16);

    transition:
        transform .2s,
        background .2s,
        box-shadow .2s;
}


.vote-button:hover {

    transform:
        translateY(-2px);

    background:
        var(--sage-deep);

    box-shadow:
        0 12px 22px
        rgba(92,115,88,.22);
}


.vote-button.voted {

    background:
        #E5EAE2;

    color:
        #7A8277;

    cursor: default;

    box-shadow: none;
}


.vote-button.voted:hover {

    transform: none;

    background:
        #E5EAE2;
}


/*
|--------------------------------------------------------------------------
| DETAILS
|--------------------------------------------------------------------------
*/

.details-button {

    position: absolute;

    top: 20px;
    right: 20px;

    width: 31px;
    height: 31px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 10px;

    background:
        #F5F2ED;

    color:
        var(--muted);

    transition:
        background .2s,
        color .2s;
}


.details-button:hover {

    background:
        #E7EEE3;

    color:
        var(--sage-deep);
}


/*
|--------------------------------------------------------------------------
| NEW REQUEST CTA
|--------------------------------------------------------------------------
*/

.new-request-card {

    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: center;

    gap: 25px;

    margin-top: 34px;

    padding: 27px 30px;

    border-radius:
        var(--radius-lg);

    background:

        linear-gradient(
            135deg,
            #F1EBE2,
            #F7F4EF
        );

    border:
        1px solid
        rgba(90,70,52,.10);
}


.new-request-icon {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    margin-bottom: 12px;

    border-radius: 15px;

    background:
        var(--brown);

    color: white;

    font-size: 19px;
}


.new-request-card h3 {

    margin: 0;

    color:
        var(--brown-dark);

    font-size: 21px;

    letter-spacing: -.02em;
}


.new-request-card p {

    margin: 6px 0 0;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty-state {

    padding: 55px 25px;

    text-align: center;

    border:
        1px dashed
        rgba(90,70,52,.18);

    border-radius:
        var(--radius-lg);

    background:
        rgba(255,255,255,.55);
}


.empty-icon {

    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    margin:
        0 auto 16px;

    border-radius: 20px;

    background:
        #E9EFE6;

    color:
        var(--sage-deep);

    font-size: 23px;
}


.empty-state h3 {

    margin: 0;

    color:
        var(--brown-dark);

    font-size: 20px;
}


.empty-state p {

    max-width: 450px;

    margin:
        8px auto 0;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| PLAYED
|--------------------------------------------------------------------------
*/

.played-section {
    margin-top: 70px;
}


.played-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 14px;
}


.played-card {

    padding: 18px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            #F4F2EC,
            #EDEDE6
        );
}


.played-status {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    margin-bottom: 14px;

    border-radius: 999px;

    background:
        #E2E8DF;

    color:
        #66735F;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.played-card h3 {

    margin: 0;

    color:
        #596057;

    font-size: 16px;

    line-height: 1.3;
}


.played-card p {

    margin:
        5px 0 0;

    color:
        #858A83;

    font-size: 12px;
}


.played-date {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 15px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(90,70,52,.08);

    color:
        #7D837B;

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| MODAL
|--------------------------------------------------------------------------
*/

.modal {

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(28,35,29,.56);

    backdrop-filter:
        blur(8px);
}


.modal.show {
    display: flex;
}


.modal-box {

    width:
        min(
            100%,
            620px
        );

    max-height:
        min(
            720px,
            calc(100vh - 40px)
        );

    overflow-y: auto;

    padding: 28px;

    border-radius: 28px;

    background:
        var(--cream);

    box-shadow:
        var(--shadow-lg);

    animation:
        modalIn .22s ease;
}


@keyframes modalIn {

    from {

        opacity: 0;

        transform:
            translateY(15px)
            scale(.98);
    }

    to {

        opacity: 1;

        transform: none;
    }
}


.modal-header {

    display: flex;

    align-items: flex-start;

    justify-content:
        space-between;

    gap: 15px;

    margin-bottom: 23px;
}


.modal-header h2 {

    margin: 0;

    color:
        var(--brown-dark);

    font-size: 26px;

    letter-spacing: -.03em;
}


.modal-header p {

    margin:
        6px 0 0;

    color:
        var(--muted);

    font-size: 13px;
}


.modal-close {

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 12px;

    background:
        #ECE9E3;

    color:
        var(--muted);

    transition:
        background .2s,
        color .2s;
}


.modal-close:hover {

    background:
        #DFE6DB;

    color:
        var(--sage-deep);
}


.form-group {
    margin-bottom: 17px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color:
        var(--brown-dark);

    font-size: 12px;

    font-weight: 850;
}


.form-group label i {

    color:
        var(--sage-dark);

    margin-right: 4px;
}


.form-group input {

    width: 100%;

    height: 52px;

    padding:
        0 15px;

    border:
        1px solid
        rgba(90,70,52,.13);

    border-radius: 14px;

    outline: none;

    background: white;

    color:
        var(--text);
}


.form-group input:focus {

    border-color:
        rgba(92,115,88,.45);

    box-shadow:
        0 0 0 4px
        rgba(111,138,106,.09);
}


/*
|--------------------------------------------------------------------------
| SÉLECTEUR DE DANSE
|--------------------------------------------------------------------------
*/

.dance-picker {

    display: grid;

    gap: 8px;

    max-height: 280px;

    overflow-y: auto;

    margin:
        -5px 0 17px;

    padding-right: 3px;
}


.dance-picker-empty {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 15px;

    border:
        1px dashed
        rgba(90,70,52,.16);

    border-radius: 14px;

    background:
        #F7F4EF;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.45;
}


.dance-picker-empty i {

    flex: 0 0 auto;

    color:
        var(--sage-dark);
}


.dance-option {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 14px;

    border:
        1px solid
        rgba(90,70,52,.10);

    border-radius: 14px;

    background: white;

    color:
        var(--text);

    text-align: left;

    transition:
        transform .15s,
        border-color .15s,
        background .15s,
        box-shadow .15s;
}


.dance-option:hover {

    transform:
        translateY(-1px);

    border-color:
        rgba(92,115,88,.30);

    background:
        #F5F8F3;

    box-shadow:
        0 7px 18px
        rgba(55,43,32,.07);
}


.dance-option-icon {

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        #E9EFE6;

    color:
        var(--sage-deep);
}


.dance-option-content {

    min-width: 0;

    flex: 1;
}


.dance-option-name {

    display: block;

    color:
        var(--brown-dark);

    font-size: 13px;

    font-weight: 850;

    line-height: 1.3;
}


.dance-option-info {

    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.selected-dance {

    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        -2px 0 17px;

    padding: 13px;

    border:
        1px solid
        #CFE0C9;

    border-radius: 15px;

    background:

        linear-gradient(
            135deg,
            #EEF5EA,
            #F7FAF5
        );
}


.selected-dance-icon {

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        var(--sage-dark);

    color: white;
}


.selected-dance > div:nth-child(2) {

    min-width: 0;

    flex: 1;
}


.selected-dance small {

    display: block;

    margin-bottom: 2px;

    color:
        var(--sage-deep);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .08em;
}


.selected-dance strong {

    display: block;

    color:
        var(--brown-dark);

    font-size: 13px;

    overflow-wrap: anywhere;
}


.selected-dance button {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    flex: 0 0 auto;

    border: 0;

    border-radius: 10px;

    background:
        rgba(90,70,52,.08);

    color:
        var(--muted);
}


.selected-dance button:hover {

    background:
        rgba(90,70,52,.14);

    color:
        var(--brown-dark);
}


.modal-submit {

    width: 100%;

    height: 52px;

    margin-top: 5px;

    border: 0;

    border-radius: 14px;

    background:

        linear-gradient(
            135deg,
            var(--sage-dark),
            var(--sage-deep)
        );

    color: white;

    font-weight: 850;
}


/*
|--------------------------------------------------------------------------
| DANCE DETAILS
|--------------------------------------------------------------------------
*/

.dance-list {

    display: grid;

    gap: 10px;

    margin-top: 20px;
}


.dance-item {

    padding: 14px 15px;

    border-radius: 14px;

    background: white;

    border:
        1px solid
        var(--border);
}


.dance-item strong {

    display: block;

    color:
        var(--brown-dark);

    font-size: 14px;
}


.dance-item small {

    display: block;

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 11px;
}


.modal-stat {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 13px 15px;

    border-radius: 14px;

    background:
        #EAF0E7;

    color:
        var(--sage-deep);

    font-size: 13px;

    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .played-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .request-grid {

        grid-template-columns:
            1fr;
    }
}


@media (max-width: 700px) {

    .hero {

        padding:
            50px 0 40px;
    }

    .container {

        width:
            min(
                calc(100% - 28px),
                1180px
            );
    }

    .command-bar {

        grid-template-columns:
            1fr;
    }


    /*
    |----------------------------------------------------------------------
    | #1 — LE VOTE RESTE EN HAUT À DROITE
    |----------------------------------------------------------------------
    */

    .featured-inner {

        grid-template-columns:
            52px
            minmax(0,1fr)
            125px;

        gap: 17px;

        align-items: start;
    }


    .featured-vote {

        grid-column: 3;

        grid-row: 1;

        padding-top: 0;

        border: 0;
    }


    .featured-vote-count {

        align-items: center;

        text-align: center;
    }


    .featured-vote strong {

        font-size: 27px;
    }


    .featured-vote span {

        font-size: 9px;

        text-align: center;
    }


    .featured-vote .vote-button {

        min-height: 46px;

        font-size: 11px;
    }


    .featured-admin-actions {

        justify-content: flex-end;

        gap: 5px;
    }


    .featured-admin-actions .admin-action-btn {

        min-height: 28px;

        padding:
            0 7px;

        font-size: 8px;
    }


    /*
    |----------------------------------------------------------------------
    | CARTES NORMALES — VOTE À DROITE PLUS GROS
    |----------------------------------------------------------------------
    */

    .request-card {

        grid-template-columns:
            minmax(0,1fr)
            125px;

        column-gap: 16px;
    }


    .vote-meta {

        align-items: center;

        text-align: center;
    }


    .vote-meta strong {

        font-size: 23px;
    }


    .vote-meta span {

        text-align: center;
    }


    .vote-button {

        min-height: 47px;

        font-size: 12px;
    }


    .new-request-card {

        grid-template-columns:
            1fr;
    }

    .new-request-card .btn-primary {

        width: 100%;
    }

    .played-grid {

        grid-template-columns:
            1fr;
    }
}


@media (max-width: 480px) {

    .hero {
        padding-top: 38px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-stats {

        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

    .hero-stat {
        padding: 10px;
    }

    .hero-stat small {
        font-size: 9px;
    }


    /*
    |----------------------------------------------------------------------
    | #1 MOBILE
    |----------------------------------------------------------------------
    */

    .featured {
        padding: 21px;
    }

    .featured-inner {

        grid-template-columns:
            48px
            minmax(0,1fr)
            105px;

        gap: 14px;
    }

    .featured-rank {

        width: 48px;
        height: 48px;

        font-size: 17px;
    }

    .featured-song {
        font-size: 23px;
    }

    .featured-vote-count {

        align-items: center;

        text-align: center;
    }

    .featured-vote strong {
        font-size: 24px;
    }

    .featured-vote span {

        text-align: center;

        font-size: 9px;
    }

    .featured-vote .vote-button {

        min-height: 43px;

        padding:
            0 7px;

        font-size: 10px;
    }


    /*
    |----------------------------------------------------------------------
    | CARTES NORMALES
    |----------------------------------------------------------------------
    */

    .request-card {

        padding: 18px;

        grid-template-columns:
            minmax(0,1fr)
            105px;

        column-gap: 11px;
    }


    .vote-area {

        grid-column: 2;

        grid-row: 1;

        gap: 7px;
    }


    .vote-meta {

        align-items: center;

        margin-bottom: 0;

        text-align: center;
    }


    .vote-meta strong {

        font-size: 21px;
    }


    .vote-meta span {

        font-size: 9px;

        text-align: center;
    }


    .vote-button {

        min-height: 43px;

        padding:
            0 7px;

        font-size: 10px;

        gap: 5px;
    }


    .section-head {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 9px;
    }

    .result-count {
        align-self: flex-start;
    }

    .modal {

        padding: 10px;

        align-items: flex-end;
    }

    .modal-box {

        max-height:
            calc(100vh - 20px);

        padding: 22px;

        border-radius:
            25px 25px 18px 18px;
    }

    .main {
        padding-bottom: 130px;
    }

    .dance-option-info {
        max-width: 190px;
    }
}


/*
|--------------------------------------------------------------------------
| ESPACE POUR LA BOTTOM-NAV
|--------------------------------------------------------------------------
*/

body {
    padding-bottom: 95px;
}


.dance-picker,
.dance-selector,
.dance-options,
.dance-list {
    padding-bottom: 30px;
}


/*
|--------------------------------------------------------------------------
| MODAL — COMPATIBLE AVEC LA BOTTOM-NAV
|--------------------------------------------------------------------------
*/

.modal {

    padding:
        20px 20px 105px;

    overflow-y: auto;
}


.modal-box {

    width:
        min(
            100%,
            620px
        );

    max-height:
        calc(100vh - 125px);

    overflow-y: auto;

    box-sizing: border-box;
}


.dance-picker {

    display: grid;

    gap: 8px;

    max-height: 280px;

    overflow-y: auto;

    margin:
        -5px 0 17px;

    padding-right: 5px;

    padding-bottom: 5px;
}


.dance-option {
    flex-shrink: 0;
}


/*
|--------------------------------------------------------------------------
| MOBILE MODAL
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .modal {

        align-items: flex-start;

        padding:
            15px
            10px
            105px;

        overflow-y: auto;
    }

    .modal-box {

        width: 100%;

        max-height:
            calc(100vh - 120px);

        margin: 0;

        overflow-y: auto;

        padding: 22px;
    }

    .dance-picker {

        max-height:
            260px;

        overflow-y: auto;

        padding-bottom: 8px;
    }
}


/*
|--------------------------------------------------------------------------
| PETITS ÉCRANS
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .modal {
        padding-bottom: 105px;
    }

    .modal-box {

        max-height:
            calc(100vh - 120px);

        padding: 22px;
    }

    .dance-picker {
        max-height: 240px;
    }
}


/* ==========================================================
   STATS HERO — RESPONSIVE
   ========================================================== */

.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100%;
}

.hero-stat {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat > i {
    flex: 0 0 auto;
}

.hero-stat > div {
    min-width: 0;
}

.hero-stat strong,
.hero-stat small {
    display: block;
}

/* ----------------------------------------------------------
   TABLETTE
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 520px) {

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .hero-stat {
        min-height: 64px;
        padding: 12px !important;
        gap: 9px;
    }

    .hero-stat > i {
        font-size: 17px;
        width: 20px;
        text-align: center;
    }

    .hero-stat strong {
        font-size: 20px;
        line-height: 1.1;
    }

    .hero-stat small {
        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
    }

}

/* ----------------------------------------------------------
   TRÈS PETITS ÉCRANS
   ---------------------------------------------------------- */

@media (max-width: 360px) {

    .hero-stats {
        gap: 8px !important;
    }

    .hero-stat {
        padding: 10px !important;
        gap: 7px;
    }

    .hero-stat > i {
        font-size: 15px;
        width: 18px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat small {
        font-size: 9px;
    }

}
