:root{color-scheme:dark;--cs-bg:#060914;--cs-surface:#0d1425;--cs-surface-raised:#111c32;--cs-border:#24314b;--cs-text:#f3f7ff;--cs-muted:#a2b1cd;--cs-cyan:#39dcff;--cs-blue:#6488ff;--cs-purple:#9982ff;--cs-gradient:linear-gradient(120deg,#39dcff,#6488ff);--cs-radius-md:16px}
*{box-sizing:border-box}body{margin:0;background:var(--cs-bg);color:var(--cs-text);font-family:Arial,sans-serif;line-height:1.5}a{color:#9bb8ff}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--cs-cyan);outline-offset:4px}input,select{max-width:100%;border:1px solid #3a4862;border-radius:9px;padding:11px 12px;background:#080e1c;color:var(--cs-text)}label{display:block;color:#c8d4e8;font-size:14px}label input,label select{display:block;width:100%;margin-top:6px}h1{font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;line-height:1.15;margin:12px 0 20px}h2{font-size:22px;letter-spacing:-.02em}h3{font-size:18px}p{overflow-wrap:anywhere}.muted{color:var(--cs-muted)}.eyebrow{color:#8da9ea;font-size:12px;letter-spacing:.14em;text-transform:uppercase}.page{width:min(1140px,calc(100% - 48px));margin:44px auto 80px}.home{padding:60px 0}.home h1{max-width:680px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border:1px solid #6888ff;border-radius:10px;background:#4266d5;color:#fff;font-weight:600;text-decoration:none;font-size:14px}.button:hover{filter:brightness(1.12)}.secondary{background:#121c30;border-color:#354561;color:#dce7ff}.danger{background:#29121d;border-color:#673144;color:#ffc0cc}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.panel{padding:24px;border:1px solid var(--cs-border);border-radius:16px;background:var(--cs-surface)}.notice{padding:14px 18px;background:#12352e;border:1px solid #2a6657;border-radius:10px;margin:20px 0}.error{background:#351b25;border-color:#82445a;color:#ffd6df}.badge{display:inline-block;font-size:12px;border:1px solid #344668;border-radius:6px;padding:3px 9px;color:#b4c8ed}.empty{padding:28px;color:var(--cs-muted)}.skip-link{position:absolute;top:-90px;left:16px;z-index:300;background:#fff;color:#000;padding:12px}.skip-link:focus{top:4px}.cs-header{position:sticky;top:0;z-index:100;background:#090f1dec;border-bottom:1px solid var(--cs-border);backdrop-filter:blur(12px)}.cs-header-inner{width:min(1280px,calc(100% - 48px));min-height:80px;display:flex;align-items:center;gap:30px;margin:auto}.cs-brand{flex-shrink:0;display:inline-flex}.cs-brand img{width:150px;height:48px;object-fit:contain}.cs-nav{display:flex;align-items:center;gap:26px;margin-left:auto}.cs-nav a{padding:12px 0;font-weight:600;font-size:14px;text-decoration:none;color:var(--cs-muted)}.cs-nav a[aria-current],.cs-nav a:hover{color:#fff}.cs-header-actions{display:flex;align-items:center;gap:14px}.cs-language{display:flex;padding:4px;background:#111b2c;border-radius:9px}.cs-language a{font-size:12px;padding:5px 7px;color:#a7b6cf;text-decoration:none;border-radius:5px}.cs-language .is-active{background:#2b4169;color:#fff}.cs-account-link{display:inline-block;border:1px solid #33466b;background:transparent;color:#e7eeff;border-radius:8px;padding:8px 12px;font-size:13px;text-decoration:none;white-space:nowrap}.cs-logout-form{margin:0}.cs-menu-toggle{display:none;flex-direction:column;gap:5px;padding:10px;background:#101b30;border:1px solid #33466b;border-radius:8px}.cs-menu-toggle span{height:2px;width:18px;background:#e7eeff}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px 12px;border-bottom:1px solid var(--cs-border);text-align:left;font-size:14px}th{font-size:12px;color:var(--cs-muted);font-weight:600}.numeric{font-variant-numeric:tabular-nums}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-card{max-width:580px}.form-card label{margin:20px 0}details>summary{cursor:pointer;color:#b9cdef}details[open]>summary{margin-bottom:18px}
@media(max-width:900px){.cs-header-inner{gap:18px}.cs-nav{gap:18px}.cs-brand img{width:124px}}
@media(max-width:760px){.cs-header-inner{width:calc(100% - 24px);gap:8px;min-height:68px;justify-content:space-between}.cs-header-actions{gap:6px}.cs-brand img{width:100px;height:38px}.cs-menu-toggle{display:flex}.cs-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:18px 24px;background:#0d1629;border-bottom:1px solid #314260;box-shadow:0 10px 20px #0004}.cs-nav.cs-nav-open{display:flex;flex-direction:column;align-items:stretch;gap:4px}.cs-account-link{font-size:11px;padding:7px}.cs-language a{padding:5px;font-size:11px}.page{width:calc(100% - 28px);margin-top:28px}.panel{padding:18px}.field-grid{grid-template-columns:1fr}.home{padding:30px 0}th,td{padding:12px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* === CAZISTATS NAVBAR WOW V1 START === */
.cs-header{
    position:sticky;
    top:0;
    z-index:100;
    background:
        linear-gradient(180deg, rgba(5,10,22,.92) 0%, rgba(7,13,28,.88) 100%);
    border-bottom:1px solid rgba(103,136,255,.18);
    backdrop-filter:blur(18px);
    box-shadow:
        0 10px 30px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.04);
    overflow:visible;
}

.cs-header::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 20% -20%, rgba(0,214,255,.10), transparent 34%),
        radial-gradient(circle at 80% 0%, rgba(88,125,255,.10), transparent 32%),
        linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
}

.cs-header::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(0,214,255,.55), rgba(88,125,255,.55), transparent);
    opacity:.75;
}

.cs-header-aurora{
    position:absolute;
    inset:-80px auto auto 50%;
    width:640px;
    height:240px;
    transform:translateX(-50%);
    pointer-events:none;
    background:
        radial-gradient(circle, rgba(38,98,255,.16) 0%, rgba(0,212,255,.10) 28%, transparent 70%);
    filter:blur(26px);
    opacity:.9;
}

.cs-header-inner{
    position:relative;
    width:min(1320px, calc(100% - 48px));
    min-height:92px;
    display:flex;
    align-items:center;
    gap:22px;
    margin:auto;
}

.cs-brand{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 0;
    transition:transform .22s ease, filter .22s ease;
}

.cs-brand:hover{
    transform:translateY(-1px) scale(1.02);
    filter:drop-shadow(0 0 12px rgba(0,212,255,.22));
}

.cs-brand img{
    width:160px;
    height:50px;
    object-fit:contain;
}

.cs-nav{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    padding:8px;
    border:1px solid rgba(103,136,255,.18);
    border-radius:18px;
    background:
        linear-gradient(180deg, rgba(14,24,44,.72) 0%, rgba(10,18,34,.72) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 25px rgba(0,0,0,.18);
}

.cs-nav a{
    position:relative;
    padding:11px 16px;
    border-radius:12px;
    font-weight:700;
    font-size:14px;
    letter-spacing:.01em;
    text-decoration:none;
    color:#9eacc8;
    transition:
        color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.cs-nav a:hover{
    color:#f3f8ff;
    background:rgba(255,255,255,.04);
    transform:translateY(-1px);
}

.cs-nav a[aria-current="page"]{
    color:#fff;
    background:
        linear-gradient(135deg, rgba(0,214,255,.18), rgba(72,110,255,.22));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 0 0 1px rgba(120,171,255,.18),
        0 10px 24px rgba(33,81,255,.20);
}

.cs-nav a[aria-current="page"]::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:6px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg, #00d6ff, #6f8dff);
    opacity:.95;
}

.cs-header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.cs-language{
    display:flex;
    align-items:center;
    gap:4px;
    padding:5px;
    border:1px solid rgba(103,136,255,.16);
    border-radius:14px;
    background:
        linear-gradient(180deg, rgba(14,24,44,.70) 0%, rgba(10,18,34,.70) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.cs-language a{
    min-width:32px;
    padding:7px 8px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    color:#9eacc8;
    text-align:center;
    text-decoration:none;
    transition:all .18s ease;
}

.cs-language a:hover{
    color:#fff;
    background:rgba(255,255,255,.05);
}

.cs-language .is-active{
    color:#fff;
    background:
        linear-gradient(135deg, rgba(88,125,255,.46), rgba(0,214,255,.18));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 0 1px rgba(126,169,255,.16);
}

.cs-account-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 15px;
    border-radius:12px;
    border:1px solid transparent;
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
    font-weight:800;
    letter-spacing:.01em;
    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.cs-account-link:hover{
    transform:translateY(-1px);
    filter:brightness(1.04);
}

.cs-account-link.is-login{
    color:#ecfff5;
    border-color:rgba(71,196,133,.42);
    background:linear-gradient(135deg, #1e8f63 0%, #27bb78 100%);
    box-shadow:
        0 10px 24px rgba(39,187,120,.22),
        inset 0 1px 0 rgba(255,255,255,.14);
}

.cs-account-link.is-logout{
    color:#fff0f3;
    border-color:rgba(226,94,123,.42);
    background:linear-gradient(135deg, #8f2442 0%, #d34368 100%);
    box-shadow:
        0 10px 24px rgba(211,67,104,.22),
        inset 0 1px 0 rgba(255,255,255,.14);
}

.cs-logout-form{
    margin:0;
}

.cs-menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid rgba(103,136,255,.20);
    border-radius:12px;
    background:
        linear-gradient(180deg, rgba(14,24,44,.76) 0%, rgba(10,18,34,.76) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 24px rgba(0,0,0,.16);
    transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.cs-menu-toggle:hover{
    transform:translateY(-1px);
    border-color:rgba(0,214,255,.34);
}

.cs-menu-toggle span{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#edf4ff;
    transition:transform .18s ease, opacity .18s ease;
}

.cs-menu-toggle.is-open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}
.cs-menu-toggle.is-open span:nth-child(2){
    opacity:0;
}
.cs-menu-toggle.is-open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px){
    .cs-header-inner{
        gap:14px;
    }

    .cs-brand img{
        width:142px;
        height:46px;
    }

    .cs-nav{
        gap:6px;
        padding:6px;
    }

    .cs-nav a{
        padding:10px 13px;
        font-size:13px;
    }
}

@media (max-width: 760px){
    .cs-header-inner{
        width:calc(100% - 24px);
        min-height:74px;
        gap:8px;
        justify-content:space-between;
    }

    .cs-brand img{
        width:118px;
        height:38px;
    }

    .cs-header-actions{
        gap:6px;
    }

    .cs-language{
        padding:4px;
        border-radius:12px;
    }

    .cs-language a{
        min-width:28px;
        padding:6px 6px;
        font-size:11px;
    }

    .cs-account-link{
        min-height:38px;
        padding:8px 11px;
        font-size:11px;
        border-radius:10px;
    }

    .cs-menu-toggle{
        display:flex;
        width:42px;
        height:42px;
        flex-shrink:0;
    }

    .cs-nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:100%;
        margin:0;
        padding:14px;
        border-radius:0 0 18px 18px;
        border-left:1px solid rgba(103,136,255,.16);
        border-right:1px solid rgba(103,136,255,.16);
        border-bottom:1px solid rgba(103,136,255,.16);
        background:
            linear-gradient(180deg, rgba(8,14,28,.98) 0%, rgba(11,20,39,.98) 100%);
        box-shadow:
            0 18px 38px rgba(0,0,0,.34),
            inset 0 1px 0 rgba(255,255,255,.03);
    }

    .cs-nav.cs-nav-open{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }

    .cs-nav a{
        padding:14px 12px;
        border-radius:12px;
        font-size:16px;
    }

    .cs-nav a[aria-current="page"]::after{
        left:12px;
        right:auto;
        width:36px;
        bottom:8px;
    }
}
/* === CAZISTATS NAVBAR WOW V1 END === */


/* =========================================================
   CAZISTATS — NAVBAR WOW V2
   ========================================================= */

@property --cs-ring-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

/* ---------- HEADER GLOBAL ---------- */

.cs-header{
    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(0,210,255,.09),
            transparent 27%
        ),
        radial-gradient(
            circle at 76% -20%,
            rgba(88,100,255,.13),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(5,11,25,.965),
            rgba(6,12,27,.94)
        );

    backdrop-filter:
        blur(22px)
        saturate(135%);

    -webkit-backdrop-filter:
        blur(22px)
        saturate(135%);

    box-shadow:
        0 14px 45px rgba(0,0,0,.36),
        inset 0 1px 0 rgba(255,255,255,.045);

    border-bottom:
        1px solid rgba(69,113,211,.18);
}

/* ligne énergétique inférieure */

.cs-header::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 15%,
            rgba(0,210,255,.35) 28%,
            rgba(0,225,255,.95) 42%,
            rgba(101,112,255,.95) 55%,
            rgba(56,115,255,.35) 72%,
            transparent 88%
        );

    background-size:220% 100%;

    animation:
        cs-header-energy 8s ease-in-out infinite;

    box-shadow:
        0 0 12px rgba(0,201,255,.25);

    pointer-events:none;
}

@keyframes cs-header-energy{
    0%,100%{
        background-position:100% 0;
        opacity:.45;
    }

    50%{
        background-position:0 0;
        opacity:1;
    }
}


/* ---------- LOGO ---------- */

.cs-brand{
    position:relative;
}

.cs-brand::after{
    content:"";
    position:absolute;

    left:12%;
    right:12%;
    bottom:7px;

    height:8px;

    border-radius:50%;

    background:
        rgba(0,211,255,.35);

    filter:blur(12px);

    opacity:.24;

    transform:scaleX(.8);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.cs-brand:hover::after{
    opacity:.7;
    transform:scaleX(1.08);
}

.cs-brand:hover img{
    filter:
        drop-shadow(0 0 5px rgba(0,218,255,.40))
        drop-shadow(0 0 14px rgba(53,97,255,.18));
}


/* =========================================================
   MENU DESKTOP — CONTOUR NEON ANIME
   ========================================================= */

.cs-nav{
    position:relative;
    isolation:isolate;

    border-color:
        rgba(91,126,211,.18);

    background:
        linear-gradient(
            180deg,
            rgba(12,22,43,.82),
            rgba(8,16,34,.82)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        inset 0 -1px 0 rgba(0,0,0,.40),
        0 12px 30px rgba(0,0,0,.22),
        0 0 30px rgba(34,91,255,.035);
}

/* contour animé */

.cs-nav::before{
    content:"";

    position:absolute;
    inset:-1px;

    border-radius:19px;

    padding:1px;

    background:
        conic-gradient(
            from var(--cs-ring-angle),

            transparent 0deg,
            transparent 50deg,

            rgba(0,209,255,.10) 80deg,

            rgba(0,225,255,.95) 110deg,

            rgba(71,116,255,.85) 145deg,

            rgba(120,76,255,.55) 175deg,

            transparent 215deg,

            transparent 360deg
        );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite:xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    mask-composite:exclude;

    pointer-events:none;

    animation:
        cs-nav-ring 7s linear infinite;

    z-index:-1;
}

@keyframes cs-nav-ring{
    to{
        --cs-ring-angle:360deg;
    }
}


/* lumière interne discrète */

.cs-nav::after{
    content:"";

    position:absolute;

    left:12%;
    right:12%;
    top:0;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(142,190,255,.40),
            transparent
        );

    opacity:.55;

    pointer-events:none;
}


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

.cs-nav a{
    overflow:hidden;

    border:
        1px solid transparent;

    transition:
        color .22s ease,
        background .22s ease,
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.cs-nav a:hover{
    border-color:
        rgba(96,146,255,.12);

    background:
        linear-gradient(
            180deg,
            rgba(71,111,198,.10),
            rgba(31,60,121,.08)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035);

    transform:
        translateY(-1px);
}


/* ---------- LIEN ACTIF ---------- */

.cs-nav a[aria-current="page"]{
    color:#fff;

    border-color:
        rgba(76,141,255,.30);

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(0,214,255,.12),
            transparent 65%
        ),
        linear-gradient(
            135deg,
            rgba(13,82,132,.62),
            rgba(42,62,133,.72)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        inset 0 -1px 0 rgba(0,0,0,.24),
        0 0 0 1px rgba(82,131,255,.10),
        0 8px 24px rgba(21,77,213,.23),
        0 0 30px rgba(0,199,255,.08);
}


/* reflet lumineux */

.cs-nav a[aria-current="page"]::before{
    content:"";

    position:absolute;

    top:-80%;
    bottom:-80%;

    left:-45%;

    width:28%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.16),
            transparent
        );

    transform:
        skewX(-20deg);

    animation:
        cs-active-sweep 4.8s ease-in-out infinite;

    pointer-events:none;
}

@keyframes cs-active-sweep{

    0%,60%{
        left:-45%;
        opacity:0;
    }

    70%{
        opacity:.7;
    }

    90%{
        left:125%;
        opacity:.15;
    }

    100%{
        left:125%;
        opacity:0;
    }
}


/* barre cyan active */

.cs-nav a[aria-current="page"]::after{
    height:2px;

    background:
        linear-gradient(
            90deg,
            #00e0ff,
            #4e8cff,
            #7a6cff
        );

    box-shadow:
        0 0 9px rgba(0,220,255,.65);
}


/* =========================================================
   SELECTEUR FR / EN
   ========================================================= */

.cs-language{
    position:relative;

    border-color:
        rgba(88,126,215,.22);

    background:
        linear-gradient(
            180deg,
            rgba(12,22,43,.88),
            rgba(8,16,33,.86)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 8px 24px rgba(0,0,0,.15);
}

.cs-language::before{
    content:"";

    position:absolute;

    inset:-1px;

    border-radius:15px;

    border:
        1px solid rgba(65,133,255,.10);

    box-shadow:
        0 0 18px rgba(30,102,255,.04);

    pointer-events:none;
}

.cs-language .is-active{
    background:
        linear-gradient(
            135deg,
            rgba(27,91,160,.90),
            rgba(31,64,129,.90)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 0 18px rgba(0,180,255,.13);
}


/* =========================================================
   LOGIN / LOGOUT
   ========================================================= */

.cs-account-link{
    position:relative;
    isolation:isolate;
    overflow:hidden;
}


/* lumière qui traverse le bouton */

.cs-account-link::after{
    content:"";

    position:absolute;

    top:-120%;
    bottom:-120%;

    left:-55%;

    width:34%;

    transform:
        skewX(-22deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.26),
            transparent
        );

    pointer-events:none;

    animation:
        cs-button-shine 5.5s ease-in-out infinite;
}

@keyframes cs-button-shine{

    0%,68%{
        left:-55%;
        opacity:0;
    }

    74%{
        opacity:.75;
    }

    92%{
        left:125%;
        opacity:.12;
    }

    100%{
        left:125%;
        opacity:0;
    }
}


/* LOGIN */

.cs-account-link.is-login{
    border-color:
        rgba(73,227,158,.48);

    background:
        linear-gradient(
            135deg,
            #15915f,
            #20bf79
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -1px 0 rgba(0,0,0,.18),
        0 7px 20px rgba(26,194,122,.24),
        0 0 18px rgba(31,224,146,.10);
}

.cs-account-link.is-login:hover{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.26),
        0 9px 25px rgba(26,194,122,.32),
        0 0 28px rgba(31,224,146,.20);
}


/* LOGOUT */

.cs-account-link.is-logout{
    border-color:
        rgba(255,92,131,.46);

    background:
        linear-gradient(
            135deg,
            #9c274a,
            #db3d68
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -1px 0 rgba(0,0,0,.20),
        0 7px 20px rgba(213,49,94,.24),
        0 0 18px rgba(255,62,109,.09);
}

.cs-account-link.is-logout:hover{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 9px 25px rgba(213,49,94,.32),
        0 0 28px rgba(255,62,109,.18);
}


/* =========================================================
   BOUTON HAMBURGER
   ========================================================= */

.cs-menu-toggle{
    position:relative;

    border-color:
        rgba(0,202,255,.34);

    background:
        linear-gradient(
            180deg,
            rgba(10,28,49,.96),
            rgba(5,20,38,.96)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 0 18px rgba(0,197,255,.09);
}

.cs-menu-toggle::before{
    content:"";

    position:absolute;

    inset:-1px;

    border-radius:13px;

    border:
        1px solid rgba(0,213,255,.12);

    box-shadow:
        inset 0 0 14px rgba(0,189,255,.035),
        0 0 18px rgba(0,189,255,.06);

    pointer-events:none;
}

.cs-menu-toggle:hover{
    border-color:
        rgba(0,220,255,.65);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 24px rgba(0,200,255,.17);
}


/* X ouvert */

.cs-menu-toggle.is-open{
    border-color:
        rgba(0,216,255,.56);

    background:
        linear-gradient(
            180deg,
            rgba(12,35,58,.98),
            rgba(6,23,43,.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 24px rgba(0,213,255,.15);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:760px){

    .cs-nav.cs-nav-open{

        animation:
            cs-mobile-menu-open .28s
            cubic-bezier(.2,.8,.2,1)
            both;

        backdrop-filter:
            blur(24px)
            saturate(130%);

        -webkit-backdrop-filter:
            blur(24px)
            saturate(130%);

        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(24,92,160,.14),
                transparent 50%
            ),
            linear-gradient(
                180deg,
                rgba(6,15,32,.985),
                rgba(7,18,38,.985)
            );

        border-color:
            rgba(62,111,203,.28);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.045),
            0 18px 45px rgba(0,0,0,.48),
            0 0 40px rgba(14,81,183,.07);
    }


    @keyframes cs-mobile-menu-open{

        from{
            opacity:0;
            transform:
                translateY(-8px)
                scale(.985);
        }

        to{
            opacity:1;
            transform:
                translateY(0)
                scale(1);
        }
    }


    .cs-nav.cs-nav-open a{
        border:
            1px solid transparent;

        padding:
            14px 13px;
    }


    .cs-nav.cs-nav-open a:hover{
        background:
            linear-gradient(
                90deg,
                rgba(0,185,255,.065),
                rgba(74,91,255,.055)
            );

        border-color:
            rgba(75,132,225,.14);

        transform:
            translateX(3px);
    }


    .cs-nav.cs-nav-open a[aria-current="page"]{

        border-color:
            rgba(63,127,231,.28);

        background:
            linear-gradient(
                90deg,
                rgba(7,89,128,.60),
                rgba(32,58,122,.72)
            );

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.06),
            0 8px 24px rgba(12,61,164,.18),
            0 0 25px rgba(0,195,255,.06);
    }


    .cs-nav::before{
        border-radius:
            0 0 19px 19px;
    }


    .cs-header-inner{
        min-height:76px;
    }

}


/* =========================================================
   ACCESSIBILITE : REDUIRE LES ANIMATIONS SI DEMANDE
   ========================================================= */

@media(prefers-reduced-motion:reduce){

    .cs-nav::before,
    .cs-header::after,
    .cs-nav a[aria-current="page"]::before,
    .cs-account-link::after{
        animation:none !important;
    }

    .cs-nav.cs-nav-open{
        animation:none !important;
    }

}


/* =========================================================
   CAZISTATS — NAVBAR MOBILE FIX V2.1
   ========================================================= */

@media(max-width:760px){

    /*
     * V2 définit .cs-nav en position:relative.
     * Sur mobile, on doit absolument revenir en panneau
     * positionné sous la navbar.
     */
    .cs-nav{
        display:none;

        position:absolute;
        top:calc(100% - 1px);
        left:0;
        right:0;

        width:100%;
        margin:0;

        z-index:120;

        border-radius:0 0 20px 20px;

        padding:14px;

        transform-origin:top center;
    }


    .cs-nav.cs-nav-open{
        display:flex;

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

        width:100%;

        gap:8px;

        animation:
            cs-mobile-menu-open-v21
            .26s
            cubic-bezier(.2,.8,.2,1)
            both;
    }


    @keyframes cs-mobile-menu-open-v21{

        from{
            opacity:0;
            transform:
                translateY(-10px)
                scaleY(.96);
        }

        to{
            opacity:1;
            transform:
                translateY(0)
                scaleY(1);
        }

    }


    /*
     * Chaque lien prend réellement toute la largeur.
     */
    .cs-nav.cs-nav-open a{
        width:100%;

        display:flex;
        align-items:center;

        min-height:50px;

        padding:
            13px 15px;

        border-radius:13px;

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

        transform:none;
    }


    .cs-nav.cs-nav-open a:hover{
        transform:
            translateX(3px);
    }


    /*
     * Actif plus propre sur mobile.
     */
    .cs-nav.cs-nav-open a[aria-current="page"]{
        background:
            radial-gradient(
                circle at 0 50%,
                rgba(0,216,255,.13),
                transparent 48%
            ),
            linear-gradient(
                90deg,
                rgba(10,86,130,.72),
                rgba(32,55,118,.78)
            );

        border-color:
            rgba(75,145,255,.32);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.07),
            0 8px 22px rgba(8,49,136,.20),
            0 0 24px rgba(0,198,255,.07);
    }


    /*
     * Petite barre active alignée à gauche.
     */
    .cs-nav.cs-nav-open a[aria-current="page"]::after{
        left:15px;
        right:auto;

        bottom:8px;

        width:36px;
    }


    /*
     * Le contour animé doit suivre le panneau entier.
     */
    .cs-nav::before{
        border-radius:
            0 0 20px 20px;
    }


    /*
     * Évite que le panneau change la taille de la ligne
     * logo / langue / connexion / hamburger.
     */
    .cs-header-inner{
        position:relative;
        min-height:76px;
    }

}

/* =========================================================
   CAZISTATS — MOBILE MENU CENTER
   ========================================================= */

@media(max-width:760px){

    .cs-nav.cs-nav-open a{
        justify-content:center;
        text-align:center;
    }

    .cs-nav.cs-nav-open a[aria-current="page"]::after{
        left:50%;
        right:auto;
        transform:translateX(-50%);
    }

}

/* =========================================================
   CAZISTATS — SLOT LIBRARY WOW V1
   ========================================================= */

@property --cs-library-ring {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}


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

.cs-library-page{
    position:relative;
    min-height:100vh;
    isolation:isolate;
}

.cs-library-page .hero{
    position:relative;
    padding-top:68px;
}

.cs-library-page .hero::before{
    width:900px;
    height:620px;
    top:-280px;

    background:
        radial-gradient(
            ellipse,
            rgba(0,207,255,.15) 0%,
            rgba(48,96,255,.11) 27%,
            rgba(96,69,255,.07) 45%,
            transparent 72%
        );

    filter:blur(45px);
    opacity:.95;
}

.cs-library-page .hero::after{
    height:650px;

    background-image:
        linear-gradient(
            rgba(70,136,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(70,136,255,.035) 1px,
            transparent 1px
        );

    background-size:54px 54px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.72),
            transparent 88%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.72),
            transparent 88%
        );
}


/* ---------- EYEBROW ---------- */

.cs-library-page .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:11px;

    margin-bottom:24px;

    color:#64e5ff;

    font-size:11px;
    font-weight:900;

    letter-spacing:.19em;
    text-transform:uppercase;

    text-shadow:
        0 0 18px rgba(0,216,255,.20);
}

.cs-library-page .eyebrow::before{
    width:29px;
    height:2px;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            #00e5ff,
            #568cff,
            #876fff
        );

    box-shadow:
        0 0 12px rgba(0,218,255,.65);
}


/* ---------- TITRE ---------- */

.cs-library-page .hero h1{
    margin-bottom:19px;
}

.cs-library-page .hero h1 span{
    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #d9f7ff 20%,
            #83e5ff 43%,
            #6fa0ff 68%,
            #a995ff 100%
        );

    -webkit-background-clip:text;
    background-clip:text;

    filter:
        drop-shadow(
            0 8px 28px rgba(55,126,255,.08)
        );
}

.cs-library-page .lead{
    color:#9db0cf;
}


/* =========================================================
   COMPTEUR SLOTS
   ========================================================= */

.cs-library-page .hero-stat{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    border:
        1px solid rgba(66,151,255,.24);

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(0,213,255,.18),
            transparent 54%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(91,86,255,.13),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            rgba(15,36,66,.96),
            rgba(7,17,36,.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.085),
        inset 0 -1px 0 rgba(0,0,0,.32),
        0 24px 55px rgba(0,0,0,.28),
        0 0 38px rgba(0,184,255,.055);
}


/* contour énergétique */

.cs-library-page .hero-stat::after{
    content:"";

    position:absolute;
    inset:0;

    padding:1px;

    border-radius:25px;

    background:
        conic-gradient(
            from var(--cs-library-ring),

            transparent 0deg,
            transparent 55deg,

            rgba(0,226,255,.95) 95deg,

            rgba(81,128,255,.78) 130deg,

            transparent 175deg,

            transparent 290deg,

            rgba(93,92,255,.42) 320deg,

            transparent 360deg
        );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite:xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    mask-composite:exclude;

    pointer-events:none;

    animation:
        cs-library-ring-spin
        8s linear infinite;
}

@keyframes cs-library-ring-spin{
    to{
        --cs-library-ring:360deg;
    }
}

.cs-library-page .hero-stat strong{
    color:#fff;

    text-shadow:
        0 0 24px rgba(0,213,255,.18),
        0 10px 30px rgba(0,0,0,.20);
}


/* =========================================================
   FILTRES / RECHERCHE
   ========================================================= */

.cs-library-page .filters{
    position:relative;
    isolation:isolate;

    padding:23px;

    overflow:hidden;

    border:
        1px solid rgba(91,133,217,.19);

    background:
        radial-gradient(
            circle at 0 0,
            rgba(0,209,255,.065),
            transparent 37%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(88,84,255,.08),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            rgba(16,31,57,.91),
            rgba(7,16,34,.96)
        );

    backdrop-filter:
        blur(18px)
        saturate(125%);

    -webkit-backdrop-filter:
        blur(18px)
        saturate(125%);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        inset 0 -1px 0 rgba(0,0,0,.28),
        0 22px 50px rgba(0,0,0,.20);
}


/* contour animé des filtres */

.cs-library-page .filters::before{
    content:"";

    position:absolute;
    inset:0;

    padding:1px;

    border-radius:24px;

    background:
        conic-gradient(
            from var(--cs-library-ring),

            transparent 0deg,
            transparent 75deg,

            rgba(0,218,255,.70) 105deg,

            rgba(70,117,255,.48) 145deg,

            transparent 185deg,

            transparent 310deg,

            rgba(111,89,255,.34) 335deg,

            transparent
        );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite:xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    mask-composite:exclude;

    pointer-events:none;
}


/* halo interne */

.cs-library-page .filters::after{
    content:"";

    position:absolute;

    width:280px;
    height:120px;

    left:-70px;
    top:-70px;

    border-radius:50%;

    background:
        rgba(0,208,255,.10);

    filter:blur(55px);

    pointer-events:none;
}

.cs-library-page .filters form{
    position:relative;
    z-index:2;
}


/* labels */

.cs-library-page .field label{
    margin-bottom:9px;

    color:#aebfdb;

    font-size:11px;
    font-weight:800;

    letter-spacing:.055em;
    text-transform:uppercase;
}


/* inputs */

.cs-library-page .field input,
.cs-library-page .field select{
    min-height:53px;

    border:
        1px solid rgba(91,136,218,.23);

    border-radius:13px;

    background:
        linear-gradient(
            180deg,
            rgba(6,16,35,.97),
            rgba(7,18,39,.97)
        );

    color:#edf6ff;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 20px rgba(0,0,0,.08);

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        transform .22s ease;
}

.cs-library-page .field input:hover,
.cs-library-page .field select:hover{
    border-color:
        rgba(73,163,255,.42);

    background:
        linear-gradient(
            180deg,
            rgba(8,21,44,.98),
            rgba(8,20,42,.98)
        );
}

.cs-library-page .field input:focus,
.cs-library-page .field select:focus{
    border-color:
        rgba(0,220,255,.75);

    background:#08192f;

    box-shadow:
        0 0 0 3px rgba(0,208,255,.075),
        0 0 25px rgba(0,199,255,.10),
        inset 0 1px 0 rgba(255,255,255,.04);

    transform:
        translateY(-1px);
}


/* bouton explorer */

.cs-library-page .filters .btn{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    min-height:53px;

    border:
        1px solid rgba(100,229,255,.40);

    color:#02101c;

    background:
        linear-gradient(
            120deg,
            #25e0f5 0%,
            #4eb8ff 48%,
            #6787ff 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.40),
        0 10px 28px rgba(20,170,255,.20),
        0 0 20px rgba(0,211,255,.09);
}

.cs-library-page .filters .btn::after{
    content:"";

    position:absolute;

    top:-100%;
    bottom:-100%;

    left:-60%;

    width:32%;

    transform:
        skewX(-22deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.52),
            transparent
        );

    animation:
        cs-library-button-shine
        4.8s ease-in-out infinite;

    pointer-events:none;
}

@keyframes cs-library-button-shine{

    0%,65%{
        left:-60%;
        opacity:0;
    }

    72%{
        opacity:.8;
    }

    93%{
        left:130%;
        opacity:.10;
    }

    100%{
        left:130%;
        opacity:0;
    }
}


/* =========================================================
   COMPTEUR RESULTATS
   ========================================================= */

.cs-library-page .library-top{
    margin:
        4px 0 22px;
}

.cs-library-page .library-top p{
    display:inline-flex;
    align-items:center;

    min-height:34px;

    margin:0;

    padding:
        7px 12px;

    border:
        1px solid rgba(92,130,205,.14);

    border-radius:10px;

    background:
        rgba(10,23,45,.56);

    color:#879bbd;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}

.cs-library-page .library-top strong{
    margin-right:4px;

    color:#e8f8ff;

    text-shadow:
        0 0 12px rgba(0,211,255,.12);
}


/* =========================================================
   CARTES DE SLOTS
   ========================================================= */

.cs-library-page .card{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    border:
        1px solid rgba(102,143,215,.16);

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(49,94,178,.08),
            transparent 35%
        ),
        linear-gradient(
            160deg,
            rgba(15,29,53,.98),
            rgba(7,16,33,.99) 76%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.028),
        inset 0 -1px 0 rgba(0,0,0,.30),
        0 12px 30px rgba(0,0,0,.14);

    transition:
        transform .32s cubic-bezier(.22,1,.36,1),
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}


/* petit trait supérieur */

.cs-library-page .card::before{
    content:"";

    position:absolute;

    top:0;
    left:18%;
    right:18%;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,218,255,.48),
            rgba(99,108,255,.30),
            transparent
        );

    opacity:.30;

    transition:
        opacity .25s ease,
        left .25s ease,
        right .25s ease;

    pointer-events:none;
}


/* reflet qui passe seulement au hover */

.cs-library-page .card::after{
    content:"";

    position:absolute;

    top:-35%;
    bottom:-35%;

    left:-65%;

    width:27%;

    transform:
        skewX(-18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.075),
            transparent
        );

    pointer-events:none;
}

.cs-library-page .card:hover{
    transform:
        translateY(-8px)
        scale(1.012);

    border-color:
        rgba(0,214,255,.50);

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(0,203,255,.12),
            transparent 38%
        ),
        linear-gradient(
            160deg,
            rgba(17,36,64,.99),
            rgba(7,18,38,.99) 76%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 23px 50px rgba(0,0,0,.34),
        0 0 25px rgba(0,205,255,.10);
}

.cs-library-page .card:hover::before{
    left:6%;
    right:6%;
    opacity:1;
}

.cs-library-page .card:hover::after{
    animation:
        cs-library-card-shine
        .75s ease-out forwards;
}

@keyframes cs-library-card-shine{
    from{
        left:-65%;
    }

    to{
        left:135%;
    }
}


/* ---------- IMAGE ---------- */

.cs-library-page .thumb{
    border:
        1px solid rgba(82,125,203,.10);

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(52,101,221,.13),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #071226,
            #060e1e
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.018);
}

.cs-library-page .thumb::after{
    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    box-shadow:
        inset 0 0 24px rgba(0,0,0,.18);

    pointer-events:none;
}

.cs-library-page .card:hover .thumb{
    border-color:
        rgba(45,187,255,.20);
}

.cs-library-page .thumb img{
    filter:
        drop-shadow(
            0 8px 13px rgba(0,0,0,.18)
        );

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        filter .35s ease;
}

.cs-library-page .card:hover .thumb img{
    transform:
        scale(1.055);

    filter:
        brightness(1.07)
        drop-shadow(
            0 12px 20px rgba(0,0,0,.28)
        );
}


/* ---------- TITRE SLOT ---------- */

.cs-library-page .card h3{
    margin:
        1px 2px 10px;

    color:#f2f7ff;

    letter-spacing:-.015em;
}


/* ---------- PROVIDER ---------- */

.cs-library-page .provider{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;

    margin:
        auto 1px 1px;

    padding:
        5px 9px;

    border:
        1px solid rgba(0,205,255,.12);

    border-radius:8px;

    background:
        rgba(0,174,255,.055);

    color:#59dcff;

    font-size:10px;
    font-weight:800;

    letter-spacing:.04em;

    text-transform:uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.cs-library-page .pagination{
    margin-top:42px;
}

.cs-library-page .pagination a,
.cs-library-page .pagination span{
    border:
        1px solid rgba(91,133,211,.17);

    background:
        linear-gradient(
            180deg,
            rgba(13,28,52,.94),
            rgba(8,18,37,.96)
        );

    color:#aebfdb;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 7px 18px rgba(0,0,0,.08);
}

.cs-library-page .pagination a:hover{
    color:#fff;

    border-color:
        rgba(0,216,255,.45);

    background:
        linear-gradient(
            180deg,
            rgba(15,47,78,.96),
            rgba(10,28,52,.96)
        );

    box-shadow:
        0 8px 20px rgba(0,0,0,.16),
        0 0 18px rgba(0,205,255,.08);
}

.cs-library-page .pagination .current{
    color:#fff;

    border-color:
        rgba(42,210,255,.32);

    background:
        linear-gradient(
            135deg,
            rgba(0,160,205,.96),
            rgba(67,99,224,.96)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        0 8px 22px rgba(23,117,230,.20),
        0 0 20px rgba(0,207,255,.10);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:640px){

    .cs-library-page .hero{
        padding-top:38px;
    }

    .cs-library-page .hero h1{
        font-size:
            clamp(36px,10vw,48px);
    }

    .cs-library-page .hero-stat{
        border-radius:20px;
    }

    .cs-library-page .hero-stat::after{
        border-radius:20px;
    }

    .cs-library-page .filters{
        padding:15px;
        border-radius:19px;
    }

    .cs-library-page .filters::before{
        border-radius:19px;
    }

    .cs-library-page .library-top{
        align-items:stretch;
    }

    .cs-library-page .library-top p{
        flex:1;
        justify-content:center;

        text-align:center;
    }

    .cs-library-page .card:hover{
        transform:
            translateY(-4px)
            scale(1.008);
    }

    .cs-library-page .provider{
        font-size:9px;

        padding:
            4px 7px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media(prefers-reduced-motion:reduce){

    .cs-library-page .hero-stat::after,
    .cs-library-page .filters .btn::after{
        animation:none !important;
    }

    .cs-library-page .card:hover::after{
        animation:none !important;
    }

}


/* =========================================================
   CAZISTATS — GLOBAL HORIZONTAL OVERFLOW FIX
   Empêche tout déplacement latéral du site sur mobile.
   ========================================================= */

html{
    width:100%;
    max-width:100%;

    overflow-x:hidden;
}

body{
    width:100%;
    max-width:100%;

    overflow-x:hidden;
}


/*
 * "clip" est préférable quand disponible :
 * il coupe le débordement décoratif sans créer
 * de conteneur de scroll horizontal.
 */
@supports (overflow:clip){

    html,
    body{
        overflow-x:clip;
    }

}


/* sécurité pour les médias */

img,
svg,
video,
canvas{
    max-width:100%;
}


/*
 * Les principaux wrappers du site ne doivent jamais
 * élargir le viewport.
 */
.cs-header,
.cs-header-inner,
.cs-register,
.cs-login-page,
.cs-signup-page,
.cs-verify-page,
.cs-library-page,
.cs-hunts-page,
.cs-new-hunt-page,
main[data-hunt-id]{
    max-width:100%;
}


/*
 * Sécurité supplémentaire sur les petits écrans.
 * On conserve tous les halos / gradients,
 * mais ils ne peuvent plus créer une largeur de page.
 */
@media(max-width:760px){

    body{
        position:relative;
    }

    .cs-register,
    .cs-login-page,
    .cs-signup-page,
    .cs-verify-page,
    .cs-library-page{
        overflow-x:clip;
    }

}


/* =========================================================
   CAZISTATS — GLOBAL FOOTER
   ========================================================= */

.cs-global-footer{
    position:relative;

    width:100%;

    margin-top:
        clamp(64px,8vw,105px);

    border-top:
        1px solid rgba(25,211,255,.22);

    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(0,210,255,.09),
            transparent 33%
        ),
        radial-gradient(
            circle at 82% 0%,
            rgba(118,83,255,.09),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(6,15,31,.96),
            rgba(3,9,21,.99)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);

    overflow:hidden;
}


/* petite ligne lumineuse */

.cs-global-footer::before{
    content:"";

    position:absolute;
    top:-1px;
    left:50%;

    width:min(720px,70%);
    height:1px;

    transform:translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,220,255,.9),
            rgba(117,93,255,.8),
            transparent
        );

    box-shadow:
        0 0 16px rgba(0,210,255,.25);
}


.cs-global-footer-inner{
    width:min(1180px,calc(100% - 40px));

    margin:0 auto;

    padding:
        30px 0 24px;
}


/* ligne principale */

.cs-global-footer-main{
    display:grid;

    grid-template-columns:
        minmax(190px,1fr)
        auto
        minmax(190px,1fr);

    align-items:center;

    gap:28px;
}


/* marque */

.cs-global-footer-brand{
    display:flex;
    align-items:center;

    gap:10px;

    min-width:0;
}


.cs-global-footer-brand-dot{
    width:9px;
    height:9px;

    flex:none;

    border-radius:999px;

    background:#39e8ff;

    box-shadow:
        0 0 8px rgba(57,232,255,.9),
        0 0 20px rgba(57,232,255,.42);
}


.cs-global-footer-brand-name{
    color:#f2f8ff;

    font-family:
        Arial,
        sans-serif;

    font-size:15px;
    font-weight:900;

    letter-spacing:.12em;
}


.cs-global-footer-brand-sub{
    color:#7489aa;

    font-family:
        Arial,
        sans-serif;

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

    letter-spacing:.08em;

    text-transform:uppercase;
}


/* navigation */

.cs-global-footer-nav{
    display:flex;
    align-items:center;
    justify-content:center;

    flex-wrap:wrap;

    gap:6px;
}


.cs-global-footer-nav a{
    position:relative;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:36px;

    padding:
        8px 12px;

    border:
        1px solid transparent;

    border-radius:10px;

    color:#94a8c6;

    font-family:
        Arial,
        sans-serif;

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

    text-decoration:none;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.cs-global-footer-nav a:hover{
    color:#effcff;

    border-color:
        rgba(51,218,255,.22);

    background:
        rgba(12,38,66,.52);

    transform:
        translateY(-1px);

    box-shadow:
        0 0 18px rgba(0,205,255,.05);
}


/* côté droit */

.cs-global-footer-meta{
    display:flex;
    justify-content:flex-end;
    align-items:center;

    text-align:right;
}


.cs-global-footer-copy{
    color:#7386a5;

    font-family:
        Arial,
        sans-serif;

    font-size:11px;
    line-height:1.55;
}


/* ligne basse */

.cs-global-footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:24px;

    margin-top:22px;

    padding-top:18px;

    border-top:
        1px solid rgba(94,132,189,.12);
}


.cs-global-footer-responsible{
    display:inline-flex;
    align-items:center;

    gap:8px;

    color:#8095b5;

    font-family:
        Arial,
        sans-serif;

    font-size:10px;
    font-weight:650;

    line-height:1.5;
}


.cs-global-footer-responsible::before{
    content:"18+";

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:30px;
    height:24px;

    padding:
        0 6px;

    border:
        1px solid rgba(255,122,145,.24);

    border-radius:7px;

    color:#ff8da3;

    background:
        rgba(255,65,105,.06);

    font-size:9px;
    font-weight:900;
}


.cs-global-footer-disclaimer{
    max-width:520px;

    margin:0;

    color:#596d8d;

    font-family:
        Arial,
        sans-serif;

    font-size:9px;
    line-height:1.55;

    text-align:right;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media(max-width:900px){

    .cs-global-footer-main{
        grid-template-columns:
            1fr auto;
    }

    .cs-global-footer-nav{
        grid-column:
            1 / -1;

        grid-row:2;

        justify-content:flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){

    .cs-global-footer{
        margin-top:58px;
    }

    .cs-global-footer-inner{
        width:
            calc(100% - 32px);

        padding:
            27px 0 22px;
    }

    .cs-global-footer-main{
        display:flex;
        flex-direction:column;

        align-items:center;

        gap:19px;
    }

    .cs-global-footer-brand{
        justify-content:center;

        text-align:center;
    }

    .cs-global-footer-brand-name{
        font-size:14px;
    }

    .cs-global-footer-nav{
        width:100%;

        display:grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:7px;
    }

    .cs-global-footer-nav a{
        width:100%;

        min-height:40px;

        border-color:
            rgba(65,113,177,.15);

        background:
            rgba(9,26,49,.50);
    }

    .cs-global-footer-meta{
        justify-content:center;

        text-align:center;
    }

    .cs-global-footer-bottom{
        flex-direction:column;

        gap:13px;

        margin-top:20px;

        text-align:center;
    }

    .cs-global-footer-responsible{
        justify-content:center;
    }

    .cs-global-footer-disclaimer{
        max-width:360px;

        text-align:center;
    }

}


/* très petits mobiles */

@media(max-width:360px){

    .cs-global-footer-inner{
        width:
            calc(100% - 24px);
    }

    .cs-global-footer-nav{
        grid-template-columns:1fr;
    }

}
