/* ════════════════════════════════════════════════════════════════════════
   LE PASSE NÉON — maquette validée : brandnew/drafts/passe-01-neon.html
   Fiche : saisons/saison-2-neon/PASSE-DE-SAISON.md · construit par js/passe.js
   1) les objets du passe là où ils s'affichent (cadres, fonds de jeu)
   2) l'interface : carte de l'accueil, piste, voie NÉON, fin de partie
   Rayon 0, ombres dures, aplats : aucun dégradé, aucune lueur.
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. LES CADRES DU PASSE (content.js › framedAvatar : .ava-fr.fr-<css>) ── */
.ava-fr.fr-pn-cyan { background: #5BD8E5; }
.ava-fr.fr-pn-jaune { background: #FFD600; }
.ava-fr.fr-pn-magenta { background: #FF2E93; }
.ava-fr.fr-pn-vert { background: #5BE885; }
.ava-fr.fr-pn-simple { background: #FF9F45; }
/* les deux cadres ANIMÉS : la couleur change par à-coups (steps), jamais de halo */
.ava-fr.fr-pn-signal { background: #FF2E93; animation: pn-signal 1.2s steps(1) infinite; }
@keyframes pn-signal { 50% { background: #FFD600; } }
.ava-fr.fr-pn-50 { background: #FF2E93; animation: pn-50 1.6s steps(1) infinite; box-shadow: 0 0 0 2px var(--ink), 3px 3px 0 2px #FFD600; }
@keyframes pn-50 { 25% { background: #5BD8E5; } 50% { background: #FFD600; } 75% { background: #5BE885; } }
@media (prefers-reduced-motion: reduce) { .ava-fr.fr-pn-signal, .ava-fr.fr-pn-50 { animation: none; } }

/* ── LES FONDS DE JEU DU PASSE (content.js › GBG_STYLES) : clairs, le texte reste lisible ── */
body.gbg-pn-rose .q-screen { background: #FFE3F3; background-image: radial-gradient(rgba(255, 46, 147, .22) 1.6px, transparent 1.7px); background-size: 16px 16px; }
body.gbg-pn-violet .q-screen { background: #EFE3FB; background-image: radial-gradient(rgba(157, 78, 221, .25) 1.6px, transparent 1.7px); background-size: 16px 16px; }
body.gbg-pn-asphalte .q-screen { background: #E6E6E6; background-image: radial-gradient(rgba(10, 10, 10, .14) 1.6px, transparent 1.7px); background-size: 12px 12px; }
body.gbg-pn-zebre .q-screen { background: #FFF6C2; background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 10, 10, .06) 18px 26px); }
body.gbg-pn-minuit .q-screen { background: #E9ECF7; background-image: repeating-linear-gradient(0deg, transparent 0 21px, rgba(77, 124, 254, .16) 22px), repeating-linear-gradient(90deg, transparent 0 21px, rgba(77, 124, 254, .16) 22px); }
body.gbg-pn-grille .q-screen { background: #E3F7FA; background-image: repeating-linear-gradient(0deg, transparent 0 21px, rgba(91, 216, 229, .35) 22px), repeating-linear-gradient(90deg, transparent 0 21px, rgba(91, 216, 229, .35) 22px); }
body.gbg-pn-abidjan .q-screen { background: #F1E6FA; background-image: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 159, 69, .22) 30px 34px); }
[data-s2] .s2-bg .pv.pn-rose { background: #FF2E93; }
[data-s2] .s2-bg .pv.pn-violet { background: #9D4EDD; }
[data-s2] .s2-bg .pv.pn-asphalte { background: #4A4A4A; }
[data-s2] .s2-bg .pv.pn-zebre { background: #FFD600; }
[data-s2] .s2-bg .pv.pn-minuit { background: #0A0A0A; }
[data-s2] .s2-bg .pv.pn-grille { background: #5BD8E5; }
[data-s2] .s2-bg .pv.pn-abidjan { background: #9D4EDD; }

/* ── 2. LES OBJETS, tels que la piste les montre ── */
.pn-obj { width: 72px; height: 72px; border: 3px solid #0A0A0A; background: #FFFEF7; display: grid; place-items: center; position: relative; color: #0A0A0A; overflow: hidden; flex: none; box-sizing: border-box; }
.pn-obj .tt { font-family: var(--font-d, 'Anton', sans-serif); font-size: 11px; line-height: 1; padding: 3px 4px; background: #FFD600; border: 2px solid #0A0A0A; transform: rotate(-6deg); max-width: 88%; text-align: center; }
.pn-obj.nick { background: #0A0A0A; } .pn-obj.nick span { font-family: var(--font-d, 'Anton', sans-serif); font-size: 28px; }
.pn-obj.bg { background: var(--c); } .pn-obj.bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 10, 10, .28) 1.6px, transparent 1.7px); background-size: 10px 10px; }
.pn-obj.frame span { width: 52%; height: 52%; border: 5px solid var(--c); outline: 3px solid #0A0A0A; background: #5BD8E5; display: grid; place-items: center; font-size: 20px; box-sizing: border-box; }
.pn-obj.frame.anim span { animation: pn-signal-b 1.2s steps(1) infinite; }
@keyframes pn-signal-b { 50% { border-color: #FFD600; } }
.pn-obj.emote { display: flex; flex-wrap: wrap; gap: 1px; justify-content: center; align-content: center; padding: 4px; font-size: 20px; }
.pn-obj.emote .nemoji { width: 1em; height: 1em; }
.pn-obj.djai { background: #FFD600; flex-direction: column; display: flex; align-items: center; justify-content: center; gap: 2px; }
.pn-obj.djai .nemoji { width: 24px; height: 24px; }
.pn-obj.djai b { font-family: var(--font-d, 'Anton', sans-serif); font-size: 14px; font-weight: 400; }
.pn-obj.image { background: #9D4EDD; } .pn-obj.image .e { font-size: 34px; line-height: 1; }
.pn-obj.image small { position: absolute; bottom: 2px; left: 2px; right: 2px; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 7px; font-weight: 700; letter-spacing: .4px; background: #0A0A0A; color: #FFFEF7; text-align: center; padding: 1px 0; }
.pn-obj.final { background: #FF2E93; }

/* la coche et le cadenas TRACÉS */
.pn-tick { width: 22px; height: 22px; border: 3px solid #0A0A0A; background: #5BE885; position: relative; flex: none; box-sizing: border-box; display: inline-block; }
.pn-tick::after { content: ''; position: absolute; left: 6px; top: 1px; width: 5px; height: 10px; border: solid #0A0A0A; border-width: 0 3px 3px 0; transform: rotate(45deg); box-sizing: content-box; }
.pn-lock { width: 16px; height: 13px; background: #0A0A0A; position: relative; margin-top: 6px; flex: none; display: inline-block; }
.pn-lock::before { content: ''; position: absolute; left: 3px; top: -7px; width: 10px; height: 9px; border: 3px solid #0A0A0A; border-bottom: 0; box-sizing: border-box; }
.pn-lkb { width: 24px; height: 24px; border: 3px solid #0A0A0A; background: #FFD600; display: grid; place-items: center; box-sizing: border-box; }
.pn-lkb .pn-lock { margin-top: 5px; transform: scale(.8); }

.pn-jauge { height: 18px; border: 3px solid #0A0A0A; background: #FFFEF7; position: relative; overflow: hidden; box-sizing: border-box; }
.pn-jauge i { position: absolute; inset: 0 auto 0 0; background: #FF2E93; }
.pn-jauge b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-d, 'Anton', sans-serif); font-size: 11px; font-weight: 400; color: #0A0A0A; letter-spacing: .5px; }

/* ── LA CARTE PASSE (accueil) ── */
.pn-carte { flex: none; border: 4px solid #0A0A0A; box-shadow: 5px 5px 0 #0A0A0A; background: #FF2E93; color: #FFFEF7; padding: 14px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; cursor: pointer; }
html[data-skin="neon"] .pn-carte { box-shadow: 5px 5px 0 #FFD600; }
.pn-carte .k { font-family: var(--font-d, 'Anton', sans-serif); font-size: 13px; letter-spacing: 1.5px; display: flex; align-items: center; gap: 8px; }
.pn-carte .k .nemoji { width: 18px; height: 18px; }
.pn-carte .k .pl { margin-left: auto; font-size: 13px; letter-spacing: .5px; padding: 5px 9px; border: 3px solid #0A0A0A; background: #FFD600; color: #0A0A0A; white-space: nowrap; }
.pn-carte .mid { display: flex; align-items: center; gap: 14px; }
.pn-carte .lv { font-family: var(--font-d, 'Anton', sans-serif); font-size: 64px; line-height: .85; }
.pn-carte .lv small { display: block; font-size: 13px; letter-spacing: 1px; }
.pn-carte .nx { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-d, 'Anton', sans-serif); font-size: 11px; letter-spacing: .8px; }
.pn-carte .nx .pn-obj { width: 58px; height: 58px; }
.pn-carte .dbl { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; display: flex; align-items: center; gap: 6px; }
.pn-carte .dbl i { width: 16px; height: 16px; border: 3px solid #0A0A0A; background: #FFFEF7; box-sizing: border-box; }
.pn-carte .dbl i.on { background: #FFD600; }
/* LE RAPPEL : les 7 derniers jours, la carte passe à l'orange */
.pn-carte.rappel { background: #FF9F45; color: #0A0A0A; }
.pn-carte .t2 { font-family: var(--font-d, 'Anton', sans-serif); font-size: 28px; line-height: .95; }
.pn-carte .cd { display: flex; gap: 6px; }
.pn-carte .cd div { flex: 1; background: #0A0A0A; color: #FFD600; border: 3px solid #0A0A0A; text-align: center; padding: 6px 0; font-family: var(--font-d, 'Anton', sans-serif); font-size: 26px; line-height: 1; }
.pn-carte .cd small { display: block; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 8px; font-weight: 700; letter-spacing: .8px; color: #FFFEF7; margin-top: 3px; }
.pn-carte .d2 { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; }
.pn-cta { display: block; font-family: var(--font-d, 'Anton', sans-serif); font-size: 20px; letter-spacing: 1px; padding: 13px; text-align: center; background: #5BE885; color: #0A0A0A; border: 4px solid #0A0A0A; box-shadow: 5px 5px 0 #0A0A0A; text-decoration: none; cursor: pointer; border-radius: 0; width: 100%; box-sizing: border-box; }
.pn-cta.mg { background: #FF2E93; color: #FFFEF7; }
html[data-skin="neon"] .pn-cta { box-shadow: 5px 5px 0 #FF2E93; }
html[data-skin="neon"] .pn-cta.mg { box-shadow: 5px 5px 0 #FFD600; }

/* ── LES ÉCRANS PLEINS (piste, voie NÉON) ── */
.pn-ov { position: fixed; inset: 0; z-index: 3000; background: var(--app-bg, #FFFEF7); overflow-y: auto; }
.pn-ov > .s2 { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.pn-ov .s2-scroll > * { flex: none; }
.pn-ov .s2-scroll { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; }
.pn-card { border: 4px solid #0A0A0A; box-shadow: 5px 5px 0 #0A0A0A; background: var(--paper, #FFFEF7); color: var(--ink, #0A0A0A); position: relative; }
html[data-skin="neon"] .pn-card { box-shadow: 5px 5px 0 #FF2E93; }
.pn-hd { display: flex; align-items: center; gap: 12px; padding: 12px; }
.pn-hd .lv { font-family: var(--font-d, 'Anton', sans-serif); font-size: 52px; line-height: .85; }
.pn-hd .lv small { display: block; font-size: 12px; letter-spacing: 1px; opacity: .6; }
.pn-hd .r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.pn-voie { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-d, 'Anton', sans-serif); font-size: 11px; letter-spacing: 1px; color: var(--ink, #0A0A0A); }
.pn-voie .m { opacity: .55; }
.pn-voie .mg { color: #FF2E93; }
.pn-piste { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin: 0 -16px; padding: 10px 16px 8px; scrollbar-width: none; }
.pn-piste::-webkit-scrollbar { display: none; }
.pn-pc { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: center; }
.pn-pc .n { font-family: var(--font-d, 'Anton', sans-serif); font-size: 16px; width: 100%; text-align: center; padding: 3px 0; border: 3px solid #0A0A0A; background: #FFFEF7; color: #0A0A0A; box-sizing: border-box; }
.pn-pc.ok .n { background: #FFD600; } .pn-pc.cur .n { background: #FF2E93; color: #FFFEF7; }
.pn-pc .slot { width: 66px; height: 84px; border: 3px solid #0A0A0A; background: var(--paper, #FFFEF7); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; box-shadow: 3px 3px 0 #0A0A0A; box-sizing: border-box; color: var(--ink, #0A0A0A); }
html[data-skin="neon"] .pn-pc .slot { border-color: #FFFEF7; box-shadow: 3px 3px 0 #FF2E93; }
.pn-pc .slot.vide { border-style: dashed; box-shadow: none; opacity: .4; }
.pn-pc .slot .st { position: absolute; top: -9px; right: -9px; z-index: 2; }
.pn-pc .slot.lk .pn-obj { opacity: .45; }
.pn-pc .slot .nm { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 7px; font-weight: 700; letter-spacing: .2px; text-align: center; line-height: 1.15; max-width: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-pc.cur .slot { border-color: #FF2E93; box-shadow: 3px 3px 0 #FF2E93; }
.pn-pc .pn-obj { width: 52px; height: 52px; }
.pn-pc .pn-obj .tt { font-size: 9px; }
.pn-pc .pn-obj.nick span { font-size: 22px; }
.pn-pc .pn-obj.emote { font-size: 15px; }
.pn-pc .pn-obj.frame span { font-size: 15px; }
.pn-pc .pn-obj.image .e { font-size: 24px; } .pn-pc .pn-obj.image small { font-size: 5px; }
.pn-pc .pn-obj.djai b { font-size: 11px; } .pn-pc .pn-obj.djai .nemoji { width: 18px; height: 18px; }
.pn-neonbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0A0A0A; color: #FFFEF7; border: 4px solid #0A0A0A; box-shadow: 5px 5px 0 #FF2E93; cursor: pointer; }
.pn-neonbar .t { font-family: var(--font-d, 'Anton', sans-serif); font-size: 17px; line-height: 1; }
.pn-neonbar .t small { display: block; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-weight: 700; font-size: 9px; letter-spacing: .4px; opacity: .75; margin-top: 2px; }
.pn-neonbar .b { margin-left: auto; font-family: var(--font-d, 'Anton', sans-serif); font-size: 15px; padding: 8px 11px; background: #FF2E93; color: #FFFEF7; border: 3px solid #FFFEF7; white-space: nowrap; }
.pn-neonbar.a { background: #5BE885; color: #0A0A0A; cursor: default; }
.pn-h2 { font-family: var(--font-d, 'Anton', sans-serif); font-size: 13px; letter-spacing: 1.3px; color: var(--ink, #0A0A0A); opacity: .6; display: flex; align-items: center; gap: 8px; }
.pn-h2::after { content: ''; flex: 1; height: 3px; background: currentColor; opacity: .35; }
.pn-sem { padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.pn-sem .e .nemoji { width: 30px; height: 30px; }
.pn-sem .tx { flex: 1; min-width: 0; }
.pn-sem .tx b { display: block; font-family: var(--font-d, 'Anton', sans-serif); font-size: 16px; font-weight: 400; }
.pn-sem .tx small { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .3px; opacity: .6; }
.pn-sem .vide { width: 22px; height: 22px; border: 3px solid #0A0A0A; background: #FFFEF7; box-sizing: border-box; }

/* LA VOIE NÉON (achat) */
.pn-ach { background: #0A0A0A; color: #FFFEF7; padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 4px solid #0A0A0A; box-shadow: 6px 6px 0 #FF2E93; }
.pn-ach .t { font-family: var(--font-d, 'Anton', sans-serif); font-size: 40px; line-height: .9; }
.pn-ach .t span { color: #FF2E93; }
.pn-ach .d { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; line-height: 1.5; opacity: .85; }
.pn-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pn-grid .pn-obj { width: 100%; height: auto; aspect-ratio: 1; border-color: #FFFEF7; }
.pn-grid .pn-obj .tt { font-size: 7px; padding: 2px; }
.pn-grid .pn-obj.nick span { font-size: 17px; } .pn-grid .pn-obj.emote { font-size: 11px; padding: 1px; }
.pn-grid .pn-obj.frame span { font-size: 12px; border-width: 3px; } .pn-grid .pn-obj.image .e { font-size: 20px; } .pn-grid .pn-obj.image small { display: none; }
.pn-grid .pn-obj.djai b { font-size: 9px; } .pn-grid .pn-obj.djai .nemoji { width: 14px; height: 14px; }
.pn-tot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pn-tot div { border: 3px solid #0A0A0A; background: var(--paper, #FFFEF7); color: var(--ink, #0A0A0A); box-shadow: 3px 3px 0 #0A0A0A; padding: 10px; text-align: center; }
html[data-skin="neon"] .pn-tot div { border-color: #FFFEF7; box-shadow: 3px 3px 0 #FF2E93; }
.pn-tot b { display: block; font-family: var(--font-d, 'Anton', sans-serif); font-size: 26px; font-weight: 400; line-height: 1; }
.pn-tot small { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 9px; font-weight: 700; letter-spacing: .6px; opacity: .6; }
.pn-prix { display: flex; align-items: center; gap: 10px; color: var(--ink, #0A0A0A); }
.pn-prix .p { font-family: var(--font-d, 'Anton', sans-serif); font-size: 32px; display: flex; align-items: center; gap: 6px; }
.pn-prix .p .nemoji { width: 30px; height: 30px; }
.pn-prix .s { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .4px; opacity: .6; margin-left: auto; text-align: right; }

/* ── LA FIN DE PARTIE (play/09_over.js) ── */
.pn-fin { padding: 14px; display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.pn-fin .l1 { display: flex; align-items: center; gap: 8px; font-family: var(--font-d, 'Anton', sans-serif); font-size: 15px; letter-spacing: .5px; }
.pn-fin .l1 .nemoji { width: 18px; height: 18px; }
.pn-fin .xp { font-family: var(--font-d, 'Anton', sans-serif); font-size: 30px; line-height: 1; }
.pn-fin .x2 { margin-left: auto; font-family: var(--font-d, 'Anton', sans-serif); font-size: 12px; padding: 3px 8px; background: #FFD600; color: #0A0A0A; border: 3px solid #0A0A0A; transform: rotate(-4deg); display: inline-block; }
.pn-fin .sub { font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 10px; font-weight: 700; letter-spacing: .5px; opacity: .6; }
.pn-fin .lvs { display: flex; justify-content: space-between; font-family: var(--font-d, 'Anton', sans-serif); font-size: 13px; }
.pn-gagne { display: flex; align-items: center; gap: 12px; padding: 12px; background: #0A0A0A; color: #FFFEF7; border: 4px solid #0A0A0A; box-shadow: 5px 5px 0 #FF2E93; margin-bottom: 14px; }
.pn-gagne .t { font-family: var(--font-d, 'Anton', sans-serif); font-size: 22px; line-height: 1; min-width: 0; }
.pn-gagne .t small { display: block; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .6px; color: #FFD600; margin-bottom: 3px; }
.pn-gagne .t .rate { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-m, 'IBM Plex Mono', monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .4px; color: #FF2E93; }
.pn-gagne .t .rate .pn-lkb { transform: scale(.75); }
.pn-gagne .pn-obj { border-color: #FFFEF7; }
/* les noms d'objets en capitales, comme partout dans l'app */
.pn-pc .slot .nm, .pn-gagne .t { text-transform: uppercase; }
/* ORDINATEUR : la piste et la voie NÉON ne s'étirent pas sur tout l'écran */
@media (min-width: 1024px) {
  .pn-ov > .s2 { max-width: 980px; margin: 0 auto; width: 100%; padding-top: 12px; }
  .pn-ov .pn-ach, .pn-ov .pn-tot, .pn-ov .pn-prix, .pn-ov [data-pn-buy] { max-width: 640px; width: 100%; align-self: center; }
}
html[data-theme] a.pn-cta, html[data-theme] a.pn-cta:visited { color: #0A0A0A; }   /* l'encre reste noire en néon */
