/* ═══════════════════════════════════════════════════════════════
   Captain Forté sur free-scores.com : page immersive (nov. 2026)
   ───────────────────────────────────────────────────────────────
   Feuille dérivée de celle de fortemusica.com (captain-forte.css), par le script cf-fs/build.py.
   Elle ne s'applique qu'à la section Captain Forté de jeudenotes.php et notesgame.php :
     - tout est sous « #jeunote_app .cf » (le bloc de la page, dans include_captain_forte.php) ;
       l'identifiant en tête fait passer ces règles devant la remise à zéro des boutons de NoteQuest ;
     - la classe nq-cf est posée sur <body> tant que l'onglet Captain Forté est ouvert : elle masque
       le bandeau et le menu du site, met la page en pleine largeur et le fond en bleu nuit.
       Les autres jeux de NoteQuest ne sont pas touchés.
   Couleurs reprises du jeu (bleu nuit, bleu roi, orange, or).
   Préfixes : cf-  éléments propres à cette page
              sfp_ nq5_ nsq_  éléments créés ou pilotés par nq-scoreforce.js (classement, visionneuse, logo)
   ─── Sommaire ───
   0. Intégration à free-scores.com   1. Socle   2. Barre du haut   3. Écran titre   4. Logo du jeu
   5. Sections   6. Histoire   7. Carte des mondes   8. Le jeu   9. Aperçu   10. Classement
   11. Générique et fin   13. Mobile
   ═══════════════════════════════════════════════════════════════ */

/* ─── 0. Intégration à free-scores.com (tant que l'onglet Captain Forté est ouvert) ─── */
body.nq-cf { background: #050a24 !important; }
/* le bandeau et le menu du site cèdent la place à la barre fine de la page */
body.nq-cf .header-hauteur:not(.cf-clone), body.nq-cf .header_sub_menu:not(.cf-clone) { display: none !important; }      /* .cf-clone : copies montrées pendant l'entrée en scène (section 10) */
/* la page sort du cadre du site : pleine largeur, sans marge ni fond */
html body.nq-cf .wrapper, html body.nq-cf .outer-wrapper, html body.nq-cf .container_resp, html body.nq-cf #jeudenotes, html body.nq-cf #jeudenotes #jeunote_app { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.nq-cf .side-div { display: none !important; }
/* le halo clair de NoteQuest (nq-notequest-v3.css) derrière les jeux : pas sur cette page */
body.nq-cf #jeudenotes::before { display: none !important; }
/* la section n'est plus une carte blanche */
body.nq-cf #jeudenotes #jeunote_app #jeunote_sectionNotestrike.jeunote_gameSectionActive { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
/* la barre des autres jeux de NoteQuest, placée sous la page par jeudenotes.php */
/* la barre des jeux est d'abord en haut de la page, puis le script la descend en bas (classe nq-barreBas) : tant qu'elle est
   encore en haut sur Captain Forté, elle est masquée, sinon ses gros boutons blancs apparaissent un instant au chargement */
body.nq-cf #jeudenotes #jeunote_app .jeunote_modeTabs:not(.nq-barreBas) { display: none !important; }
body.nq-cf #jeudenotes #jeunote_app .jeunote_modeTabs.nq-barreBas { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto !important; padding: 26px 20px 44px !important; justify-content: center; }
#jeunote_app .cf .cf-autres { margin: 0; padding: 40px 20px 0; text-align: center; font-size: 13px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
/* compétences travaillées, sous les trois atouts du jeu */
#jeunote_app .cf .cf-skills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
#jeunote_app .cf .cf-skills li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 9px; border: 1px solid rgba(120, 160, 255, .35); border-radius: 999px; background: rgba(13, 30, 90, .6); font-size: 14px; font-weight: 800; color: #dce6ff; }
#jeunote_app .cf .cf-skills li:first-child { padding: 0 6px 0 0; border: 0; background: none; color: var(--mute); }
#jeunote_app .cf .cf-skills .cf-ico { width: 24px; height: 24px; }
/* liens de la barre du haut propres à free-scores.com */
#jeunote_app .cf .cf-top__lien { padding: 8px 12px; border-radius: 999px; color: #dce6ff; text-decoration: none; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
#jeunote_app .cf .cf-top__lien:hover { background: rgba(255, 255, 255, .1); color: #fff; }
#jeunote_app .cf .cf-top__brand img { border-radius: 8px; }
@media (max-width: 900px) { #jeunote_app .cf .cf-top__lien--jeux { display: none; } }
@media (max-width: 520px) { #jeunote_app .cf .cf-top__brand span { display: none; } }

/* ─── 1. Socle ─── */
#jeunote_app .cf {
    --bg: #050a24; --bg2: #0a1a5c; --panel: rgba(20, 31, 76, .72); --line: #2b3b7a; --line2: #4a7bee;
    --ink: #f3f6ff; --mute: #a9bbe0; --or: #ff9900; --or2: #f05a0a; --gold: #ffc21a; --cyan: #3fe0e0;
    --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --top-h: 60px;
    margin: 0; min-height: 100vh; font-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--ink);
    background: radial-gradient(900px 600px at 78% -5%, rgba(63, 141, 242, .38), transparent 70%), radial-gradient(700px 500px at 0% 40%, rgba(124, 58, 237, .16), transparent 70%), linear-gradient(180deg, var(--bg) 0%, #07113a 45%, var(--bg) 100%);
    background-attachment: fixed;
}
html:has(body.nq-cf) { scroll-behavior: smooth; scroll-padding-top: 76px; background: #050a24; }
#jeunote_app .cf *, #jeunote_app .cf *::before, #jeunote_app .cf *::after { box-sizing: border-box; }
#jeunote_app .cf img { max-width: 100%; height: auto; }
#jeunote_app .cf a { color: #9fd0ff; }
#jeunote_app .cf h2, #jeunote_app .cf h3 { margin: 0; line-height: 1.12; }
#jeunote_app .cf p { margin: 0 0 1em; }
#jeunote_app .cf :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
#jeunote_app .cf #cf-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#jeunote_app .cf #sfp, #jeunote_app .cf .cf-foot { position: relative; z-index: 1; }
#jeunote_app .cf .cf-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
#jeunote_app .cf .cf-skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: #fff; color: #13214a !important; font-weight: 800; }
#jeunote_app .cf .cf-skip:focus { top: 12px; }
#jeunote_app .cf .cf-ico { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }

/* ─── 2. Barre du haut ─── */
#jeunote_app .cf .cf-top { position: fixed; inset: 0 0 auto 0; z-index: 200; display: flex; align-items: center; gap: 14px; height: var(--top-h); padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); transition: background .25s, box-shadow .25s; }
#jeunote_app .cf .cf-top.is-solid { background: rgba(5, 10, 36, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(120, 160, 255, .22); }
#jeunote_app .cf .cf-top__brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: var(--mute) !important; text-decoration: none; font-size: 14px; font-weight: 700; }
#jeunote_app .cf .cf-top__brand strong { color: #fff; font-weight: 900; }
#jeunote_app .cf .cf-top__brand img { width: 30px; height: 30px; object-fit: contain; }
#jeunote_app .cf .cf-top__nav { display: flex; gap: 2px; }
#jeunote_app .cf .cf-top__nav a { padding: 8px 12px; border-radius: 999px; color: #dce6ff; text-decoration: none; font-size: 14.5px; font-weight: 800; }
#jeunote_app .cf .cf-top__nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
#jeunote_app .cf .cf-top__lang { padding: 6px 11px; border: 1.5px solid rgba(160, 190, 255, .45); border-radius: 999px; color: #dce6ff !important; text-decoration: none; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
#jeunote_app .cf .cf-top__lang:hover { border-color: #fff; color: #fff !important; }
#jeunote_app .cf .cf-top__play { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 9px 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ff8a1f, var(--or2)); color: #fff; font: 900 15px/1 var(--font); cursor: pointer; box-shadow: 0 3px 0 #c2410c, 0 8px 16px rgba(4, 14, 60, .45); transition: transform .12s, opacity .25s; }
#jeunote_app .cf .cf-top__play svg { width: 15px; height: 15px; }
#jeunote_app .cf .cf-top__play:hover { transform: translateY(-1px); }
#jeunote_app .cf .cf-top:not(.is-solid) .cf-top__play { opacity: 0; pointer-events: none; }      /* sur l'écran titre, le grand bouton suffit */

/* ─── 3. Écran titre ─── */
#jeunote_app .cf .cf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--top-h) + 10px) 0 70px; overflow: hidden; }
#jeunote_app .cf .cf-hero__txt { grid-column: 1; grid-row: 1; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 12px 0 max(24px, calc((100vw - 1180px) / 2)); text-align: center; }
#jeunote_app .cf .cf-hero__art { grid-column: 2; grid-row: 1; position: relative; align-self: stretch; min-height: 62vh; cursor: pointer; }
/* Les deux héros (v24, 20 nov. 2026) : retour à la présentation d'avant l'Adagio. L'image occupe toute la colonne et se
   fond dans la page par le halo en ellipse d'origine, porté par <picture>. L'Adagio n'est plus sur l'écran titre : il ne
   fait que passer pendant l'entrée en scène (voir le script de include_captain_forte.php). */
#jeunote_app .cf .cf-hero__art picture { position: absolute; inset: 0; display: block; -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); }
#jeunote_app .cf .cf-hero__art picture img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; transition: transform .8s; }
#jeunote_app .cf .cf-hero__art:hover picture img { transform: scale(1.025); }
#jeunote_app .cf .cf-present { margin: 0 0 -6px; font-size: 13px; font-weight: 900; letter-spacing: .32em; text-transform: uppercase; color: #bfd4ff; }
#jeunote_app .cf .cf-lead { max-width: 33em; margin: 0; font-size: clamp(16px, 1.35vw, 19px); font-weight: 700; color: #e3edff; }
#jeunote_app .cf .cf-start { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#jeunote_app .cf .cf-play { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 300px; margin: 0; padding: 19px 38px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ff8a1f 0%, var(--or2) 100%); color: #fff; font: 900 26px/1 var(--font); letter-spacing: .3px; cursor: pointer; box-shadow: 0 8px 0 #c2410c, 0 14px 30px rgba(4, 14, 60, .55), inset 0 2px 0 rgba(255, 255, 255, .35); transition: transform .12s, box-shadow .12s; }
#jeunote_app .cf .cf-play::before { content: ""; position: absolute; inset: -9px; border-radius: 999px; border: 2px solid rgba(255, 176, 32, .55); animation: cf-pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes cf-pulse { 0% { transform: scale(.96); opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }
#jeunote_app .cf .cf-play:hover { transform: translateY(-2px); box-shadow: 0 10px 0 #c2410c, 0 18px 34px rgba(4, 14, 60, .6), inset 0 2px 0 rgba(255, 255, 255, .35); }
#jeunote_app .cf .cf-play:active { transform: translateY(5px); box-shadow: 0 3px 0 #c2410c, 0 6px 14px rgba(4, 14, 60, .5); }
#jeunote_app .cf .cf-press { margin: 0; font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); animation: cf-blink 1.6s steps(2, jump-none) infinite; }
#jeunote_app .cf .cf-press kbd { padding: 2px 8px; border: 1.5px solid #6f8fd6; border-bottom-width: 3px; border-radius: 7px; font: inherit; color: #fff; }
@keyframes cf-blink { 0% { opacity: 1; } 100% { opacity: .35; } }
@media (hover: none) { #jeunote_app .cf .cf-press { display: none; } }
#jeunote_app .cf .cf-sync { max-width: 30em; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--mute); }
#jeunote_app .cf .cf-sync a { color: #ffc21a; text-decoration: underline; text-underline-offset: 3px; }
#jeunote_app .cf .cf-sync a:hover { color: #ffe08a; }
#jeunote_app .cf .cf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
#jeunote_app .cf .cf-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgba(120, 160, 255, .35); border-radius: 999px; background: rgba(13, 30, 90, .6); font-size: 14px; font-weight: 800; color: #dce6ff; white-space: nowrap; }
#jeunote_app .cf .cf-chips li[hidden] { display: none; }
#jeunote_app .cf .cf-chips strong { color: var(--gold); font-weight: 900; }
#jeunote_app .cf .cf-down { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border: 1.5px solid rgba(160, 190, 255, .45); border-radius: 50%; color: #dce6ff !important; animation: cf-bob 1.8s ease-in-out infinite; }
@keyframes cf-bob { 50% { transform: translateY(6px); } }

/* ─── 4. Logo du jeu (repris de la page de free-scores.com : texte et SVG, rien en image sauf le ruban) ─── */
#jeunote_app .cf .sfp_logo { margin: 0 0 .2em; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: clamp(44px, 5.6vw, 78px); line-height: 1; }
#jeunote_app .cf .sfp_lg { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: .14em .85em .2em; transform: rotate(-4deg); text-transform: uppercase; }
#jeunote_app .cf .sfp_lg::before { content: ""; position: absolute; left: 0; right: 0; top: 4%; bottom: 0; border: 3px solid #6fa2ff; border-top-color: rgba(111, 162, 255, .55); border-radius: 50%; transform: rotate(-3deg); box-shadow: 0 6px 16px -4px rgba(90, 150, 255, .95), inset 0 0 12px rgba(90, 150, 255, .25); }
#jeunote_app .cf .sfp_lg b { position: relative; display: block; font-weight: 900; font-style: italic; line-height: .86; }
#jeunote_app .cf .sfp_lgS { font-size: .8em; color: #fff; text-shadow: -2px -2px 0 #1f4fd8, 2px -2px 0 #1f4fd8, -2px 2px 0 #1f4fd8, 2px 2px 0 #1f4fd8, 0 -3px 0 #1f4fd8, 3px 0 0 #1f4fd8, -3px 0 0 #1f4fd8, 0 5px 0 #12307f, 0 0 18px rgba(120, 170, 255, .8); }
#jeunote_app .cf .sfp_lgF { font-size: 1.2em; padding: .24em .08em 0 0; margin-top: -.22em; background: linear-gradient(180deg, #ffe27a 0%, #ffb020 42%, #ff7a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 #7a2e00) drop-shadow(0 0 2px #7a2e00) drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
#jeunote_app .cf .sfp_lgN { position: absolute; right: .32em; top: -.02em; font-style: normal; font-size: .7em; line-height: 1; color: #ffb020; transform: rotate(12deg); filter: drop-shadow(0 3px 0 #7a2e00) drop-shadow(0 0 8px rgba(255, 176, 32, .7)); }
#jeunote_app .cf .sfp_rib { position: relative; display: block; max-width: 92vw; margin: -.8em 0 -.6em; font-size: .47em; transform: rotate(-2deg); filter: drop-shadow(0 6px 10px rgba(2, 10, 50, .5)); }
#jeunote_app .cf .sfp_rib img { display: block; width: 100%; height: auto; filter: brightness(1.1) saturate(1.08); }
#jeunote_app .cf .sfp_rib svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
#jeunote_app .cf .sfp_rib text { font-family: inherit; font-style: italic; font-weight: 900; letter-spacing: .2px; fill: #13278f; word-spacing: .14em; dominant-baseline: central; paint-order: stroke; stroke: rgba(255, 240, 180, .7); stroke-width: 3px; stroke-linejoin: round; }
#jeunote_app .cf .sfp_ep { position: relative; z-index: 1; display: flex; align-items: center; gap: .6em; margin-top: -1.55em; font-size: .3em; font-weight: 900; font-style: italic; letter-spacing: .14em; text-transform: uppercase; color: #ffe08a; text-shadow: 0 2px 0 rgba(6, 16, 70, .75), 0 0 12px rgba(255, 200, 80, .35); transform: rotate(-2deg); white-space: nowrap; }
#jeunote_app .cf .sfp_ep::before, #jeunote_app .cf .sfp_ep::after { content: ""; width: 1.3em; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 224, 138, 0), #ffe08a); }
#jeunote_app .cf .sfp_ep::after { transform: scaleX(-1); }

/* ─── 5. Sections ─── */
#jeunote_app .cf .cf-sec { padding: clamp(60px, 9vw, 120px) 0 0; }
#jeunote_app .cf .cf-kick { margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
#jeunote_app .cf .cf-h2 { max-width: 18em; font-size: clamp(30px, 4.2vw, 54px); font-weight: 900; font-style: italic; letter-spacing: -.5px; text-shadow: 0 3px 0 rgba(4, 14, 60, .6); }
#jeunote_app .cf .cf-sub { max-width: 44em; margin: 16px 0 0; color: var(--mute); }
#jeunote_app .cf .cf-note { font-size: 14.5px; color: var(--mute); }
#jeunote_app .cf .cf-panel { padding: 24px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--panel); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(77, 155, 255, .08), 0 14px 34px rgba(2, 8, 40, .45); }
#jeunote_app .cf .cf-panel h3 { font-size: 21px; font-weight: 900; }
#jeunote_app .cf .cf-btn { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px; border: 1.5px solid var(--line2); border-radius: 999px; background: rgba(13, 36, 96, .86); color: #fff; font: 800 15px/1.1 var(--font); cursor: pointer; transition: transform .12s, border-color .12s; }
#jeunote_app .cf .cf-btn:hover { transform: translateY(-1px); border-color: #8cc8ff; }
#jeunote_app .cf .cf-btn .cf-ico { width: 24px; height: 24px; }

/* ─── 6. Histoire ─── */
#jeunote_app .cf .cf-story__cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 20px 48px; margin-top: 30px; font-size: clamp(17px, 1.5vw, 20px); color: #dce6ff; }
#jeunote_app .cf .cf-story__img { display: block; width: 100%; border-radius: 26px; border: 1.5px solid var(--line2); box-shadow: 0 0 40px rgba(61, 107, 224, .4); }
/* héros */
#jeunote_app .cf .cf-heros { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 90px; }
#jeunote_app .cf .cf-hero-card { --c: #ff6b4a; position: relative; display: grid; grid-template-columns: 42% 1fr; align-items: end; gap: 0 18px; min-height: 250px; padding: 0 26px 26px 0; border: 1.5px solid var(--line); border-radius: 26px; background: radial-gradient(300px 220px at 22% 60%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%), var(--panel); box-shadow: 0 14px 34px rgba(2, 8, 40, .45); }
#jeunote_app .cf .cf-hero-card--notea { --c: #c06bff; }
#jeunote_app .cf .cf-hero-card img { align-self: end; justify-self: center; width: auto; max-width: 100%; height: 330px; margin-top: -80px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(2, 8, 40, .6)); transition: transform .3s; }
#jeunote_app .cf .cf-hero-card:hover img { transform: translateY(-6px) scale(1.03); }
#jeunote_app .cf .cf-hero-card__role { margin: 0 0 4px; font-size: 12.5px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
#jeunote_app .cf .cf-hero-card h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; font-style: italic; letter-spacing: -.5px; }
#jeunote_app .cf .cf-hero-card p:last-child { margin: 8px 0 0; font-size: 16.5px; color: #dce6ff; }
#jeunote_app .cf .cf-heros__note { margin: 16px 0 0; text-align: center; }
#jeunote_app .cf .cf-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: cf; }
#jeunote_app .cf .cf-how li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--panel); counter-increment: cf; font-size: 16px; color: var(--mute); }
#jeunote_app .cf .cf-how li::after { content: counter(cf); position: absolute; right: 16px; top: 8px; font-size: 54px; font-weight: 900; font-style: italic; line-height: 1; color: rgba(120, 160, 255, .18); }
#jeunote_app .cf .cf-how .cf-ico { width: 56px; height: 56px; }
#jeunote_app .cf .cf-how strong { display: block; margin-bottom: 2px; font-size: 22px; font-weight: 900; font-style: italic; color: var(--gold); }

/* ─── 7. Carte des mondes : une portée, chaque monde est une note, son décor dans la tête de note ───
   Portée : 5 lignes espacées de 40 px (de 90 à 250 px). --h : hauteur de la note, un cran = 20 px (ligne ou interligne).
   --t : vignette du décor dans la note. */
#jeunote_app .cf .cf-map { margin-top: 26px; padding: 8px 0 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2b3b7a transparent; }
#jeunote_app .cf .cf-map__track { --pas: 20px; --bas: 250px; position: relative; display: flex; align-items: stretch; width: max-content; min-width: min(1180px, 100% - 40px); height: 350px; margin: 0 auto; padding: 0 20px 0 0; list-style: none;
    background: linear-gradient(rgba(160, 190, 255, .45), rgba(160, 190, 255, .45)) 0 90px / 100% 2px no-repeat, linear-gradient(rgba(160, 190, 255, .45), rgba(160, 190, 255, .45)) 0 130px / 100% 2px no-repeat, linear-gradient(rgba(160, 190, 255, .45), rgba(160, 190, 255, .45)) 0 170px / 100% 2px no-repeat, linear-gradient(rgba(160, 190, 255, .45), rgba(160, 190, 255, .45)) 0 210px / 100% 2px no-repeat, linear-gradient(rgba(160, 190, 255, .45), rgba(160, 190, 255, .45)) 0 250px / 100% 2px no-repeat; }
#jeunote_app .cf .cf-map__clef { flex: 0 0 82px; align-self: flex-start; margin-top: 46px; font-size: 230px; line-height: 1; color: rgba(200, 220, 255, .7); font-family: 'Noto Music', 'Segoe UI Symbol', 'Apple Symbols', serif; }
#jeunote_app .cf .cf-map__bar { flex: 0 0 2px; align-self: flex-start; height: 162px; margin: 90px 10px 0; background: rgba(160, 190, 255, .45); }
#jeunote_app .cf .cf-map__bar--fin { flex-basis: 7px; }      /* double barre : fin du voyage */
#jeunote_app .cf .cf-node { --c: #3fa0ff; --w: 92px; --hh: 70px; position: relative; flex: 0 0 128px; }
/* tête de note : ovale incliné, cerclé de la couleur de l'acte ; le décor à l'intérieur reste droit */
#jeunote_app .cf .cf-node__dot { position: absolute; left: 50%; top: calc(var(--bas) - var(--h) * var(--pas) - var(--hh) / 2); width: var(--w); height: var(--hh); margin-left: calc(var(--w) / -2); border-radius: 50%; overflow: hidden; transform: rotate(-20deg); border: 3px solid var(--c); background: #0a1440; box-shadow: 0 0 0 3px rgba(5, 10, 36, .9), 0 0 22px color-mix(in srgb, var(--c) 65%, transparent), 0 8px 16px rgba(0, 0, 0, .5); transition: transform .25s, box-shadow .25s; }
#jeunote_app .cf .cf-node__img { position: absolute; inset: -18%; background: var(--t) center / cover no-repeat; transform: rotate(20deg); }
#jeunote_app .cf .cf-node__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, .35), transparent 45%); }
/* hampe, à droite de la tête */
#jeunote_app .cf .cf-node::before { content: ""; position: absolute; left: calc(50% + var(--w) / 2 - 7px); top: calc(var(--bas) - var(--h) * var(--pas) - var(--hh) / 2 - 78px); width: 4px; height: 92px; border-radius: 2px; background: var(--c); opacity: .9; }
#jeunote_app .cf .cf-node__num { position: absolute; left: calc(50% - var(--w) / 2 - 6px); top: calc(var(--bas) - var(--h) * var(--pas) + 4px); z-index: 2; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #06123f; font-size: 16px; font-weight: 900; font-style: italic; box-shadow: 0 0 0 3px rgba(5, 10, 36, .9); }
#jeunote_app .cf .cf-node__nom { position: absolute; left: 0; right: 0; top: 284px; padding: 0 6px; text-align: center; font-size: 15px; font-weight: 800; line-height: 1.2; color: #e3edff; }
#jeunote_app .cf .cf-node__acte { position: absolute; left: 10px; top: 0; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid var(--c); color: #fff; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
#jeunote_app .cf .cf-node:hover .cf-node__dot { transform: rotate(-20deg) scale(1.1); }
#jeunote_app .cf .cf-acte1 { --c: #46c7ff; } #jeunote_app .cf .cf-acte2 { --c: #ffc21a; } #jeunote_app .cf .cf-acte3 { --c: #5fe08f; } #jeunote_app .cf .cf-acte4 { --c: #ff6b4a; }
#jeunote_app .cf .cf-final { --c: #e9e4ff; --w: 112px; --hh: 86px; flex-basis: 156px; }
/* niveau secret : à peine deviné, pas d'aperçu */
#jeunote_app .cf .cf-secret { --c: #7d8bb8; flex-basis: 100px; }
#jeunote_app .cf .cf-secret .cf-node__dot { border-style: dashed; }
#jeunote_app .cf .cf-secret .cf-node__img { filter: grayscale(.4); }
#jeunote_app .cf .cf-secret .cf-node__num { background: #1b2550; color: #c9d2f0; border: 1.5px dashed #7d8bb8; }
#jeunote_app .cf .cf-secret::before { display: none; }
#jeunote_app .cf .cf-secret .cf-node__nom { color: var(--mute); }

/* le porte-avion Adagio */
#jeunote_app .cf .cf-adagio { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 10px 30px; margin-top: 16px; background: radial-gradient(360px 240px at 12% 50%, rgba(255, 153, 0, .18), transparent 70%), var(--panel); }
#jeunote_app .cf .cf-adagio img { width: 150px; height: auto; justify-self: center; margin: -46px 0 -10px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transform: rotate(-6deg); }
#jeunote_app .cf .cf-adagio h3 { font-size: clamp(24px, 2.6vw, 32px); font-style: italic; }
#jeunote_app .cf .cf-adagio p { margin: 8px 0 0; color: #dce6ff; }
#jeunote_app .cf .cf-adagio .cf-note { color: var(--mute); }
#jeunote_app .cf .cf-adagio .cf-kick { margin: 0 0 4px; }

/* ─── 8. Le jeu ─── */
#jeunote_app .cf .cf-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
#jeunote_app .cf .cf-feats .cf-ico { width: 52px; height: 52px; margin-bottom: 12px; }
#jeunote_app .cf .cf-feats p { margin: 8px 0 0; font-size: 15.5px; color: var(--mute); }
#jeunote_app .cf .cf-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 18px 30px; margin-top: 16px; }
#jeunote_app .cf .cf-duo p { margin: 8px 0 0; color: #dce6ff; }
#jeunote_app .cf .cf-duo .cf-note { color: var(--mute); }
#jeunote_app .cf .cf-duo__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
#jeunote_app .cf .cf-duo__modes li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); border-top: 4px solid var(--gold); background: rgba(8, 18, 60, .7); font-size: 14.5px; color: var(--mute); }
#jeunote_app .cf .cf-duo__modes li:nth-child(2) { border-top-color: #b45cff; } #jeunote_app .cf .cf-duo__modes li:nth-child(3) { border-top-color: #46c7ff; }
#jeunote_app .cf .cf-duo__modes b { font-size: 16.5px; font-weight: 900; color: #fff; }

/* ─── 9. Aperçu ─── */
#jeunote_app .cf .cf-car { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
#jeunote_app .cf .sfp_track { flex: 1 1 auto; min-width: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; scrollbar-width: none; }
#jeunote_app .cf .sfp_track::-webkit-scrollbar { display: none; }
#jeunote_app .cf .sfp_shot { position: relative; flex: 0 0 calc((100% - 16px) / 2); margin: 0; padding: 0; border: 1.5px solid var(--line2); border-radius: 20px; overflow: hidden; cursor: zoom-in; scroll-snap-align: start; background: #0a1f66; aspect-ratio: 16 / 9; box-shadow: 0 0 26px rgba(61, 107, 224, .3); transition: transform .15s, border-color .15s; }
#jeunote_app .cf .sfp_shot:hover { transform: translateY(-3px); border-color: #8cc8ff; }
#jeunote_app .cf .sfp_shot img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#jeunote_app .cf .cf-shot__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(240, 90, 10, .94); color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .45); }
#jeunote_app .cf .cf-shot__cap { position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(3, 8, 34, .92)); color: #fff; font: 800 14.5px/1.3 var(--font); text-align: left; }
#jeunote_app .cf .cf-arr { flex: 0 0 auto; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--line2); background: rgba(13, 36, 96, .86); color: #fff; font: 900 26px/1 sans-serif; cursor: pointer; }
#jeunote_app .cf .cf-arr:disabled { opacity: .3; cursor: default; }
#jeunote_app .cf .sfp_dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
#jeunote_app .cf .sfp_dots i { width: 8px; height: 8px; border-radius: 50%; background: #2b3b7a; }
#jeunote_app .cf .sfp_dots i.on { background: var(--or); }
/* visionneuse */
#jeunote_app .cf .sfp_lbx { width: min(1100px, 94vw); max-width: none; padding: 0; border: none; border-radius: 16px; background: #0b1230; overflow: visible; }
#jeunote_app .cf .sfp_lbx::backdrop { background: rgba(3, 6, 24, .86); }
#jeunote_app .cf .sfp_lbxIn img, #jeunote_app .cf .sfp_lbxIn video { display: block; width: 100%; height: auto; max-height: 84vh; border-radius: 16px; background: #000; }
#jeunote_app .cf .sfp_lbxIn p { margin: 0; padding: 10px 16px 14px; color: #dde5ff; font-size: 14.5px; font-weight: 700; text-align: center; }
#jeunote_app .cf .sfp_lbxX { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; border: none; background: #fff; color: #13214a; font: 900 16px/1 sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .45); z-index: 2; }

/* ─── 10. Classement (contenu créé par nq-scoreforce.js, réécrit en sombre) ───
   Trois identifiants dans les sélecteurs et !important sur les boutons : les styles injectés par nq-scoreforce.js
   (pensés pour le fond clair de free-scores.com) portent deux identifiants et des !important. */
#jeunote_app .cf .cf-ranks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: start; margin-top: 30px; }
#jeunote_app .cf .cf-podium h3 { margin-bottom: 14px; }
#jeunote_app .cf .cf-podium .cf-btn { margin-top: 16px; }
#jeunote_app .cf .cf-week { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute); text-align: center; }
#jeunote_app .cf .cf-week strong { color: var(--gold); font-weight: 900; font-size: 16px; }
#jeunote_app .cf #sfp_lb { scroll-margin-top: 80px; }
#jeunote_app .cf .sfp_wait { margin: 0; font-size: 14.5px; color: var(--mute); }
#jeunote_app .cf .sfp_t3sel { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; font-weight: 800; color: var(--mute); }
#jeunote_app .cf .sfp_t3sel select { flex: 1 1 auto; min-width: 0; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line2); background: #0d2460; color: #fff; font: 800 14.5px var(--font); cursor: pointer; }
#jeunote_app .cf .sfp_t3 { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
#jeunote_app .cf .sfp_t3 li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(8, 18, 60, .7); border: 1px solid var(--line); font-size: 15.5px; font-weight: 800; }
#jeunote_app .cf .sfp_t3 li:first-child { background: linear-gradient(90deg, rgba(255, 194, 26, .22), rgba(8, 18, 60, .7) 75%); border-color: rgba(255, 194, 26, .6); }
#jeunote_app .cf .sfp_t3 i { font-style: normal; font-size: 20px; width: 24px; text-align: center; }
#jeunote_app .cf .sfp_t3 span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#jeunote_app .cf .sfp_t3 em { font-style: normal; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
#jeunote_app .cf .sfp_t3all { display: none; }      /* le classement complet est juste à côté */
#jeunote_app .cf #ns_board:empty::before { content: attr(data-wait); font-size: 14.5px; color: var(--mute); }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nq5_board { max-width: none; width: auto; margin: 0; padding: 0 !important; border: 0; border-radius: 0 !important; background: none; box-shadow: none !important; text-align: left; }
#jeunote_app .cf #ns_board .nq5_boardTitle { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; color: #fff; }
#jeunote_app .cf #ns_board .nq5_boardSub { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--mute); }
#jeunote_app .cf #ns_board .nq5_emptyBoard { padding: 6px 0; font-size: 14.5px; color: var(--mute); }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_ctl { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; padding: 12px; border-radius: 16px; background: rgba(8, 18, 60, .7); border: 1px solid var(--line); }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_lab { color: var(--mute); }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_seg { background: #0a1a4f; }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_seg button { color: #dce6ff !important; background: transparent !important; }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_seg button:hover { background: rgba(255, 255, 255, .1) !important; }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_seg button.on { background: linear-gradient(180deg, #35b9ff, #1681f0) !important; color: #fff !important; box-shadow: 0 0 0 1px #7fd4ff, 0 0 14px rgba(53, 185, 255, .45) !important; }
/* paliers : la couleur du palier, éclaircie pour rester lisible sur fond sombre */
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_tiers button { color: color-mix(in srgb, var(--tc) 45%, #fff) !important; }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_tiers button.on { background: var(--tc) !important; color: #fff !important; box-shadow: 0 0 14px color-mix(in srgb, var(--tc) 70%, transparent) !important; }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_cap { color: var(--mute); }
#jeunote_app #jeunote_sectionNotestrike .cf #ns_board .nsq_cap b { color: color-mix(in srgb, var(--tc) 45%, #fff); }
#jeunote_app .cf #ns_board .nq5_rows { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
#jeunote_app .cf #ns_board .nq5_row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; background: rgba(8, 18, 60, .7); border: 1px solid var(--line); font-size: 15.5px; font-weight: 800; color: #fff; }
#jeunote_app .cf #ns_board .nq5_row.nq5_r1 { background: linear-gradient(90deg, rgba(255, 194, 26, .22), rgba(8, 18, 60, .7) 75%); border-color: rgba(255, 194, 26, .6); }
#jeunote_app .cf #ns_board .nq5_row.nq5_r2 { background: linear-gradient(90deg, rgba(190, 205, 230, .2), rgba(8, 18, 60, .7) 75%); }
#jeunote_app .cf #ns_board .nq5_row.nq5_r3 { background: linear-gradient(90deg, rgba(226, 150, 100, .2), rgba(8, 18, 60, .7) 75%); }
#jeunote_app .cf #ns_board .nq5_row.nq5_me { border-color: var(--cyan); box-shadow: 0 0 14px rgba(63, 224, 224, .35); }
#jeunote_app .cf #ns_board .nq5_pos { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #0d2460; border: 1px solid var(--line2); color: #dce6ff; font-size: 12.5px; font-weight: 900; }
#jeunote_app .cf #ns_board .nq5_r1 .nq5_pos { background: linear-gradient(135deg, #ffc93c, #f59e0b); border-color: #f59e0b; color: #3a2400; }
#jeunote_app .cf #ns_board .nq5_r2 .nq5_pos { background: linear-gradient(135deg, #dbe3ee, #94a3b8); border-color: #94a3b8; color: #1c2536; }
#jeunote_app .cf #ns_board .nq5_r3 .nq5_pos { background: linear-gradient(135deg, #e5a577, #c2703d); border-color: #c2703d; color: #2e1503; }
#jeunote_app .cf #ns_board .nq5_name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#jeunote_app .cf #ns_board .nq5_pts { font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ─── 11. Générique, fin, pied de page ─── */
#jeunote_app .cf .cf-credits dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 0; }
#jeunote_app .cf .cf-credits dl > div { padding-top: 16px; border-top: 2px solid var(--line2); }
#jeunote_app .cf .cf-credits dt { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
#jeunote_app .cf .cf-credits dd { margin: 6px 0 0; font-size: 22px; font-weight: 900; font-style: italic; }
#jeunote_app .cf .cf-credits dd a { color: #fff; }
#jeunote_app .cf .cf-end { padding-bottom: clamp(60px, 9vw, 110px); text-align: center; }
#jeunote_app .cf .cf-end .cf-wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; }
#jeunote_app .cf .cf-foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(120, 160, 255, .22); background: rgba(3, 7, 28, .7); font-size: 15px; color: var(--mute); text-align: center; }
#jeunote_app .cf .cf-foot p { margin: 0 0 8px; }
#jeunote_app .cf .cf-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 14px !important; font-weight: 800; }
#jeunote_app .cf .cf-foot__legal { margin-top: 14px !important; font-size: 13px; opacity: .8; }

/* ─── 13. Écrans moyens et mobiles ─── */
@media (max-width: 1000px) {
    #jeunote_app .cf .cf-feats { grid-template-columns: 1fr; }
    #jeunote_app .cf .cf-credits dl { grid-template-columns: 1fr 1fr; }
    #jeunote_app .cf .cf-duo, #jeunote_app .cf .cf-ranks { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    #jeunote_app .cf .cf-top__nav { display: none; }
    /* mobile : le visuel au-dessus, le titre en dessous, sans se chevaucher */
    #jeunote_app .cf .cf-hero { grid-template-columns: 1fr; grid-template-rows: auto auto; align-items: start; min-height: 0; padding: var(--top-h) 0 84px; }
    #jeunote_app .cf .cf-hero__art { grid-column: 1; grid-row: 1; position: relative; align-self: start; min-height: 0; height: min(38vh, 310px); margin: 0 0 -10px; }
    #jeunote_app .cf .cf-hero__art picture { background: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%); }
    #jeunote_app .cf .cf-hero__art picture img { left: 0; top: 0; width: 100%; height: 100%; object-position: 50% 74%; -webkit-mask-image: none; mask-image: none; }
    #jeunote_app .cf .cf-hero__txt { grid-column: 1; grid-row: 2; }
    #jeunote_app .cf .cf-hero__txt { padding: 0 20px; gap: 14px; }
    #jeunote_app .cf .cf-story__cols, #jeunote_app .cf .cf-how, #jeunote_app .cf .cf-heros { grid-template-columns: 1fr; }
    #jeunote_app .cf .cf-heros { gap: 90px; }
}
@media (max-width: 640px) {
    #jeunote_app .cf { font-size: 16px; }
    #jeunote_app .cf .cf-top__brand span { font-size: 13px; }
    #jeunote_app .cf .sfp_logo { font-size: 40px; }
    #jeunote_app .cf .sfp_rib { font-size: .4em; }
    #jeunote_app .cf .sfp_ep { font-size: .31em; margin-top: -1.1em; letter-spacing: .1em; }
    #jeunote_app .cf .sfp_ep::before, #jeunote_app .cf .sfp_ep::after { display: none; }
    #jeunote_app .cf .cf-play { min-width: 0; width: 100%; padding: 17px 20px; font-size: 21px; }
    #jeunote_app .cf .cf-start { align-self: stretch; }
    #jeunote_app .cf .cf-end .cf-play { width: auto; padding-inline: 34px; }
    #jeunote_app .cf .cf-chips li { padding: 6px 11px; font-size: 13px; }
    #jeunote_app .cf .cf-feats { grid-template-columns: 1fr; }
    #jeunote_app .cf .cf-hero-card { grid-template-columns: 40% 1fr; padding: 0 18px 20px 0; min-height: 0; }
    #jeunote_app .cf .cf-hero-card img { height: 250px; margin-top: -70px; }
    #jeunote_app .cf .cf-duo__modes { grid-template-columns: 1fr; }
    #jeunote_app .cf .cf-panel { padding: 18px; }
    #jeunote_app .cf .sfp_shot { flex-basis: 86%; }
    #jeunote_app .cf .cf-arr { display: none; }
    #jeunote_app .cf .sfp_lbxX { top: 8px; right: 8px; }
    #jeunote_app .cf .cf-map__track { margin: 0 20px; }
    #jeunote_app .cf .cf-node__nom { font-size: 14px; }
    #jeunote_app .cf .cf-adagio { grid-template-columns: 1fr; text-align: center; }
    #jeunote_app .cf .cf-adagio img { width: 120px; margin: -40px 0 0; }
    #jeunote_app .cf .cf-credits dd { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(body.nq-cf) { scroll-behavior: auto; }
    #jeunote_app .cf *, #jeunote_app .cf *::before, #jeunote_app .cf *::after { animation: none !important; transition: none !important; }
}

/* ═══ 10. Entrée en scène (une fois par visite) ═══
   À l'arrivée sur la page, le haut habituel du site est montré sur un rideau clair : Captain Forté vient tirer sur les
   boutons du menu, qui éclatent en notes de leur couleur. Le fond vire à la nuit du jeu, étoiles, notes et Adagio
   apparaissent, puis le haut du site s'en va et le rideau s'efface en fondu. La page elle-même est déjà en place dessous,
   dans sa mise en page définitive : le bandeau et le menu visibles sont des copies (.cf-clone) posées sur le rideau, donc
   rien ne bouge quand le rideau s'en va.
   La classe nq-cf-intro est posée sur <html> par un petit script placé juste après <body> (jeudenotes.php, notesgame.php),
   seulement à la première arrivée de la visite et si le système ne demande pas d'animations réduites. */
/* en attendant que le rideau soit construit : cache clair. Sécurité : il s'efface seul au bout de 5 s si le script n'a pas tourné. */
html.nq-cf-intro body.nq-cf::before { content: ""; position: fixed; inset: 0; z-index: 2147483000; background: #fff; pointer-events: none; animation: cfIntroSecours .3s 5s forwards; }
@keyframes cfIntroSecours { to { opacity: 0; visibility: hidden; } }
html.nq-cf-intro-pret body.nq-cf::before { display: none; }      /* dès que le rideau est construit */
.cf-intro { position: fixed; inset: 0; z-index: 2147483001; transform: translateZ(0); will-change: transform; cursor: pointer; }
.cf-intro-fond { position: absolute; inset: 0; overflow: hidden; background: #fff; isolation: isolate; }      /* sa couleur vire du clair à la nuit du jeu pendant l'animation (script) */
.cf-intro-ciel { position: absolute; inset: 0; z-index: -1; }      /* étoiles, notes d'ambiance et Adagio : sur le fond, derrière le haut du site */
.cf-intro-ciel > * { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.cf-intro-etoile { width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(255, 255, 255, .8); }
.cf-intro-fond > * { pointer-events: none; }
/* le bord inférieur du rideau est une portée */
.cf-intro-fx { position: absolute; inset: 0; z-index: 2147483647; pointer-events: none; }      /* au-dessus des copies du bandeau et du menu, qui ont leur propre z-index : sinon les notes passent dessous */
.cf-intro-fx > * { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.cf-intro-eclair { --c: #ff9900; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: radial-gradient(circle, #fff 0, var(--c) 34%, transparent 68%); }      /* --c : couleur du bouton touché */
.cf-intro-etin { --c: #ffd27a; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px var(--c); }
.cf-intro-note { font: 900 20px/1 'Nunito', Arial, sans-serif; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 2px 6px rgba(10, 16, 56, .25); }
/* 21 nov. 2026 : le titre de chaque onglet, en grand, au milieu de l'écran (couleur de l'onglet, liseré blanc pour rester lisible du fond clair à la nuit) */
.cf-intro-titre { width: 92vw; margin: -.6em 0 0 -46vw; text-align: center; font: 900 clamp(30px, 6.4vw, 84px)/1.05 'Nunito', Arial, sans-serif; letter-spacing: -.01em; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 6px 18px rgba(10, 16, 56, .35); }
.cf-intro-titre--liste { font-size: clamp(22px, 4.4vw, 58px); line-height: 1.15; }
.cf-intro-titre--liste b { display: block; font-weight: 900; }
/* 22 nov. 2026, « Captain Forté débarque ! » : la liste des applications ouverte sous le bouton Applications (copie de la vraie,
   aux couleurs du site), dont les titres s'éparpillent lettre par lettre ; le canevas du personnage, des traînées et du vortex. */
.cf-intro-applis { position: absolute; z-index: 60; box-sizing: border-box; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; box-shadow: 0 10px 28px rgba(20, 30, 70, .18); font: 800 15px/1.2 'Nunito', Arial, sans-serif; color: #1f2430; }
.cf-intro-appli { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; white-space: nowrap; }
.cf-intro-appli i { flex: 0 0 10px; height: 10px; border-radius: 50%; background: #4f6fe0; }
.cf-intro-appli:nth-child(2) i { background: #b45cff; } .cf-intro-appli:nth-child(3) i { background: #7cc21f; } .cf-intro-appli:nth-child(4) i { background: #1e88e5; }
.cf-intro-appli span { display: inline-flex; }
.cf-intro-appli b { display: inline-block; font-weight: 800; }
.cf-intro-appli--jeux { background: #fff3e0; color: #c26a00; }
.cf-intro-appli--jeux i { background: #ff9900; }
.cf-intro-fx > .cf-intro-cv { will-change: auto; }
