
body.qz-sp-page .qz-back-btn { text-transform: none; letter-spacing: 0; }
.qz-sp__fil { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

body.qz-sp-page .qz-sp {
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    min-height: calc(100vh + var(--qz-ecart, 0px) - 174px - env(safe-area-inset-top, 0px));
    min-height: calc(100dvh + var(--qz-ecart, 0px) - 174px - env(safe-area-inset-top, 0px));
    padding-top: 2px;
    padding-bottom: 12px;
    color: var(--q-app-texte);
}

.qz-sp__tete { display: flex; flex-direction: column; gap: 4px; }
.qz-sp__num { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--q-app-or-clair); }
body.qz-sp-page .qz-sp__titre {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: var(--q-app-texte);
}

.qz-sp__corps { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.qz-sp__tuiles { display: flex; flex-direction: column; gap: 10px; }
body.qz-sp-page .qz-sp__tuile { width: 100%; box-sizing: border-box; font: inherit; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
body.qz-sp-page .qz-sp__tuile .qz-imm-quiz__title { font-size: 17px; }
body.qz-sp-page .qz-sp__tuile:active { transform: scale(.98); }
.qz-sp__mini { width: 40px; height: 71px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #0e3349; }
.qz-sp__mini img { width: 100%; height: 100%; display: block; object-fit: cover; }
.qz-sp__tri { width: 9px; height: 11px; fill: currentColor; vertical-align: -1px; }

.qz-sp__bas { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

.qz-sp__quizzie { display: flex; align-items: flex-end; gap: 10px; }
.qz-sp__quizzie img { width: 62px; height: 59px; flex-shrink: 0; }
.qz-sp__bulle {
    position: relative;
    flex: 1;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fef3c7;
    color: #0f3a52;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.3;
}
.qz-sp__bulle::before {
    content: '';
    position: absolute;
    left: -6px;
    bottom: 16px;
    width: 12px;
    height: 12px;
    background: #fef3c7;
    transform: rotate(45deg);
}

body.qz-sp-page .qz-sp__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    padding: 14px;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
body.qz-sp-page .qz-sp__cta--propose { background: rgba(233, 168, 32, .12); border: 1.5px solid rgba(233, 168, 32, .55); color: var(--q-app-or-clair); }
body.qz-sp-page .qz-sp__cta--sobre { background: transparent; border: 1.5px solid rgba(255, 255, 255, .22); color: var(--q-app-texte); }
body.qz-sp-page .qz-sp__cta .qz-sp__tri { width: 12px; height: 14px; vertical-align: 0; }
.qz-sp__cta:active { transform: scale(.98); }
.qz-sp__cta:focus-visible, .qz-sp__tuile:focus-visible { outline: 3px solid var(--q-app-or-clair); outline-offset: 3px; }

.qz-sp__lecteur {
    position: fixed;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.qz-sp__lecteur:fullscreen {
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    object-fit: contain;
    background: #0e3349;
}
.qz-sp__lecteur:-webkit-full-screen {
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    object-fit: contain;
    background: #0e3349;
}
.qz-sp__erreur {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(252, 165, 165, .12);
    border: 1px solid rgba(252, 165, 165, .4);
    color: #fecaca;
    font-size: 14px;
    line-height: 1.4;
}
.qz-sp__erreur[hidden] { display: none; }


body.qz-sp-page.qz-sp--immersif { padding-bottom: env(safe-area-inset-bottom, 0px); }
body.qz-sp-page.qz-sp--immersif .qz-sp {
    min-height: calc(100vh + var(--qz-ecart, 0px) - 84px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh + var(--qz-ecart, 0px) - 84px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}
body.qz-sp-page.qz-sp--immersif .qz-sp {
    min-height: calc(100vh + var(--qz-ecart, 0px) - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh + var(--qz-ecart, 0px) - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}
.qz-sp__retour {
    align-self: center;
    padding: 4px 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.qz-sp-page .qz-sp__titre--long      { font-size: 21px; line-height: 1.2; }
body.qz-sp-page .qz-sp__titre--tres-long { font-size: 18px; line-height: 1.22; }

.qz-sp__surtitre { display: flex; align-items: center; gap: 8px; min-width: 0; }
.qz-sp__matiere { margin-left: -4px; white-space: pre; overflow: hidden; text-overflow: ellipsis; min-width: 0;
    font: 700 13px/1.5 'Outfit', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--q-app-texte-2); }
.qz-sp__offert { flex-shrink: 0; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: rgba(233, 168, 32, .16);
    color: var(--q-app-or-clair); font: 700 12px/1.5 'Outfit', sans-serif; letter-spacing: .02em; }

.qz-sp__plus { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 18px; }
.qz-sp__credit, .qz-sp__apropos { color: var(--q-app-texte-2); }
.qz-sp__credit summary, .qz-sp__apropos summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.qz-sp__credit summary::-webkit-details-marker, .qz-sp__apropos summary::-webkit-details-marker { display: none; }
.qz-sp__credit summary::after, .qz-sp__apropos summary::after { content: ''; width: 6px; height: 6px; margin: 0 0 3px 2px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.qz-sp__credit[open] summary::after, .qz-sp__apropos[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.qz-sp__credit summary:focus-visible, .qz-sp__apropos summary:focus-visible { outline: 2px solid var(--q-app-or-clair); outline-offset: 2px; border-radius: 4px; }
.qz-sp__credit a { color: inherit; text-decoration: underline; }
.qz-sp__credit ul { list-style: none; margin: 6px 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.qz-sp__credit b { font-weight: 700; color: var(--q-app-texte); }
.qz-sp__apropos { font-size: 15px; line-height: 1.6; }
.qz-sp__apropos summary { font-size: 13px; line-height: 18px; font-weight: 700; }
.qz-sp__resume { padding: 14px 0 12px; }
.qz-sp__accroche { margin: 0 0 18px; color: var(--q-app-texte); }
.qz-sp__accroche b { font-weight: 700; }
.qz-sp__verras { margin: 0 0 12px; font-weight: 700; color: var(--q-app-texte); }
.qz-sp__idees { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qz-sp__idees li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.qz-sp__pastille { flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #fdba74; color: #0f3a52;
    font: 800 13px/24px 'Outfit', sans-serif; text-align: center; }
.qz-sp__retenir { padding: 14px 16px; border-radius: 14px; background: var(--q-app-carte); border: 1px solid var(--q-app-bord);
    box-shadow: inset 4px 0 0 #fdba74; }
.qz-sp__retenir-titre { display: block; margin-bottom: 8px; font: 700 14px/1.3 'Outfit', sans-serif; color: var(--q-app-or-clair); }
.qz-sp__retenir p { margin: 0; color: var(--q-app-texte); }

.qz-sp__mini:empty { background: var(--q-app-carte); }


body.qz-sp-page.qz-sp--barre .qz-sp {
    min-height: calc(100vh + var(--qz-ecart, 0px) - 122px - env(safe-area-inset-top, 0px));
    min-height: calc(100dvh + var(--qz-ecart, 0px) - 122px - env(safe-area-inset-top, 0px));
}

.qz-sp__numero { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font: 700 16px/1 'Outfit', sans-serif; }
.qz-sp__numero--or { background: #e9a820; color: #12324a; }

.qz-sp__plus.qz-sp__pied { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 18px; row-gap: 6px; }
.qz-sp__pied .qz-sp__credit summary, .qz-sp__pied .qz-sp__apropos summary { font-weight: 600; font-size: 13px; }
.qz-sp__pied details[open] { flex-basis: 100%; }
.qz-sp__cartes ~ .qz-sp__pied { margin-top: auto; }

.qz-sp__cartes { flex: 1 1 auto; min-height: 190px; max-height: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.qz-sp-page .qz-sp__carte {
    display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .18); background: #1b4a68; color: #fff; text-decoration: none;
    font: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
body.qz-sp-page .qz-sp__carte:active { transform: scale(.98); }
.qz-sp__carte:focus-visible { outline: 3px solid var(--q-app-or-clair); outline-offset: 3px; }
.qz-sp__carte-haut { position: relative; flex: 1; min-height: 0; display: block; overflow: hidden; }
.qz-sp__carte-bas { display: grid; gap: 2px; padding: 11px 8px; background: #173f5c; }
.qz-sp__carte-bas b { font: 700 17px/1.2 'Outfit', sans-serif; }
.qz-sp__carte-bas span { font: 600 14px/1.3 'Outfit', sans-serif; opacity: .78; }

.qz-sp__carte--video .qz-sp__carte-haut { background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--qz-mat) 34%, transparent) 0,
    color-mix(in srgb, var(--qz-mat) 10%, transparent) 38%, #0f2c42 70%); background-color: #0f2c42; }
.qz-sp__carte--video .qz-sp__carte-bas { background: #1b4a68; }
.qz-sp__carte-picto { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font-size: 84px; line-height: 1;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); white-space: nowrap; }
.qz-sp__carte-picto--sym { font: 700 54px/1 'Outfit', sans-serif; color: var(--qz-mat); }
.qz-sp__carte-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qz-sp__carte-video { background: transparent; pointer-events: none; }
.qz-sp__carte-video:fullscreen { object-fit: contain; background: #0e3349; pointer-events: auto; }
.qz-sp__carte-video:-webkit-full-screen { object-fit: contain; background: #0e3349; pointer-events: auto; }
.qz-sp__carte-mat { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 99px; background: var(--qz-mat); color: #12324a;
    font: 700 12px/1.4 'Outfit', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 20px); box-sizing: border-box; }
.qz-sp__carte-quizzie { position: absolute; left: 8px; bottom: 8px; width: 52px; height: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); }
.qz-sp__carte-play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #12324a;
    display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.qz-sp__carte-play .qz-sp__tri { width: 15px; height: 18px; margin-left: 3px; }
.qz-sp__carte-vue { position: absolute; right: 8px; top: 8px; padding: 4px 8px; border-radius: 8px; background: #22c55e; color: #fff; font: 700 13px/1 'Outfit', sans-serif; }

.qz-sp__ecran { position: absolute; inset: 15px 12px; display: grid; align-content: start; gap: 8px; text-align: left; --qz-encre: #fff; }
.qz-sp__ecran-tete { display: flex; justify-content: space-between; font: 800 12px/1 'Outfit', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--qz-encre); }
.qz-sp__ecran-tete span + span { opacity: .75; }
.qz-sp__ecran-barre { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.qz-sp__ecran-barre span { display: block; height: 100%; border-radius: 3px; background: var(--qz-encre); }
.qz-sp__ecran-ligne { height: 8px; width: 88%; border-radius: 4px; background: var(--qz-encre); opacity: .9; margin-top: 2px; }
.qz-sp__ecran-ligne--fin { width: auto; height: auto; margin: 0 0 4px; background: none; opacity: 1; display: flex; align-items: center; gap: 5px;
    font: 800 16px/1 'Outfit', sans-serif; color: var(--qz-encre); }
.qz-sp__ecran-ligne--fin span { height: 8px; width: 62%; border-radius: 4px; background: var(--qz-encre); opacity: .9; }
.qz-sp__prop { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 10px; background: rgba(255, 255, 255, .95); color: #12324a;
    font: 600 13px/1.1 'Outfit', sans-serif; white-space: nowrap; overflow: hidden; }
.qz-sp__prop-rond { flex: none; display: grid; place-items: center; width: 19px; height: 19px; box-sizing: border-box; border-radius: 50%;
    border: 2px solid #9fb3c4; color: #5b7286; font: 800 11px/1 'Outfit', sans-serif; }
.qz-sp__prop--ok { background: #22c55e; color: #fff; }
.qz-sp__prop--ok .qz-sp__prop-rond { border: 0; background: #fff; color: #16a34a; }

body.qz-sp-page .qz-sp__carte--video.qz-sp__carte--or { border: 3px solid #e9a820; }
.qz-sp__carte--video.qz-sp__carte--or .qz-sp__carte-bas { background: #e9a820; color: #12324a; }
body.qz-sp-page .qz-sp__carte--quiz.qz-sp__carte--or { background: #e9a820; border: 0; color: #12324a; }
.qz-sp__carte--quiz.qz-sp__carte--or .qz-sp__carte-bas { background: #d99a14; }
.qz-sp__carte--quiz.qz-sp__carte--or .qz-sp__ecran { --qz-encre: #12324a; }
.qz-sp__carte--quiz.qz-sp__carte--or .qz-sp__ecran-barre { background: rgba(18, 50, 74, .18); }

@media (max-height: 620px) {
    .qz-sp__cartes { min-height: 180px; }
    .qz-sp__carte-bas { padding: 8px 6px; }
    .qz-sp__carte-bas b { font-size: 14px; }
    .qz-sp__carte-bas span { font-size: 12px; }
    .qz-sp__carte-picto { font-size: 60px; }
    .qz-sp__carte-picto--sym { font-size: 40px; }
    .qz-sp__carte-quizzie { width: 40px; }
    .qz-sp__carte-play { width: 40px; height: 40px; right: 8px; bottom: 8px; }
    .qz-sp__ecran { inset: 11px 10px; gap: 5px; }
    .qz-sp__ecran-barre, .qz-sp__prop--c { display: none; }
    .qz-sp__prop { padding: 5px 7px; font-size: 11px; }
    .qz-sp__prop-rond { width: 16px; height: 16px; font-size: 9px; }
}

.qz-sp__socle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -6px; }
.qz-sp__socle > span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border-radius: 12px;
    font: 700 15px/1.2 'Outfit', sans-serif; border: 1px solid var(--q-app-bord); background: var(--q-app-carte); }
.qz-sp__socle > .qz-sp__socle-vide { visibility: hidden; }
.qz-sp__socle .qz-sp__socle--validated { background: rgba(34, 197, 94, .09); border-color: rgba(34, 197, 94, .40); color: #86efac; }
.qz-sp__socle .qz-sp__socle--consolidate { background: rgba(233, 168, 32, .09); border-color: rgba(233, 168, 32, .40); color: var(--q-app-or-clair); }
.qz-sp__socle .qz-sp__socle--redo { background: rgba(248, 113, 113, .09); border-color: rgba(248, 113, 113, .40); color: #fca5a5; }
.qz-sp__socle small { font: 600 14px/1.2 'Outfit', sans-serif; opacity: .9; }
@media (max-height: 620px) {
    .qz-sp__socle > span { padding: 6px; font-size: 14px; }
    .qz-sp__socle small { font-size: 13px; }
}

.qz-sp__carte--verrou{position:relative}
.qz-sp-verrou{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;border-radius:inherit;background:rgba(12,34,50,.96);color:#fff;text-align:center;line-height:1.25}
.qz-sp-verrou__ic{font-size:30px;line-height:1}
.qz-sp-verrou b{font-size:15px;font-weight:800}
.qz-sp-verrou small{font-size:12.5px;font-weight:700;color:#f4c04a}
.qz-off-badge--video{color:#f4c04a}

body.qz-sp--premiere .qz-tab-bar { display: none !important; }
.qz-sp-retour { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 50%; background: #1d4562; border: 1px solid rgba(255,255,255,.16); color: #fff !important; font-size: 18px; font-weight: 700; text-decoration: none !important; vertical-align: middle; flex: 0 0 auto; }
.qz-sp-retour:focus-visible { outline: 3px solid #f4c04a; outline-offset: 2px; }

.qz-sp-parents{display:block;margin:12px auto 0;padding:4px 8px;background:none;border:0;color:#cbd5e1;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.qz-sp-parents__copie{margin:6px 0 0;font-size:13px;color:#6ee7b7;text-align:center}
