/* Locales+ : style de l'espace des chaînes et de la documentation (charte « Réseau », 14/10/2026). */
@font-face { font-family: "Figtree"; font-weight: 400 600; font-display: swap; src: url("figtree-500.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 700 900; font-display: swap; src: url("figtree-800.ttf") format("truetype"); }
:root {
  --encre: #120f2e; --encre-2: #48456f; --encre-3: #8a87aa; --papier: #f6f4fd; --blanc: #fff; --trait: #e5e1f4; --trait-2: #d3cdea;
  --menthe: #2ee59d; --menthe-f: #0d9e66; --violet: #6b4cff; --corail: #ff5a6e; --soleil: #ffc23a; --ciel: #34b6ff; --chaine: #6b4cff;
  --titre: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; --bord: clamp(16px, 4.5vw, 64px);
  --doux: cubic-bezier(.2,.7,.2,1); --ressort: cubic-bezier(.34,1.56,.64,1); --ombre: 0 1px 2px rgba(18,15,46,.04), 0 12px 40px -12px rgba(18,15,46,.14);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 500 16px/1.6 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--violet); }
.dl { background: linear-gradient(100deg, var(--menthe), var(--ciel) 30%, var(--violet) 55%, var(--corail) 80%, var(--soleil)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: glisse 7s ease-in-out infinite alternate; }
@keyframes glisse { to { background-position: 100% 0; } }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cligne { 50% { opacity: .25; } }

.scene { position: relative; color: #fff; background: var(--encre); overflow: hidden; isolation: isolate; padding: 24px var(--bord) 120px; }
/* Halos : le flou est « cuit » dans un dégradé radial au lieu d'un filter: blur(70px) (17/11/2026, Flavien : « quand
   je scrolle ce n'est pas fluide », Mac Intel i5 de 2017). Le flou en filtre était recalculé à chaque image du
   mouvement et du défilement : 49 images/s sans carte graphique, 60 sans lui. Même rendu, presque gratuit. */
.halo { position: absolute; border-radius: 50%; z-index: -1; will-change: transform;
  background: radial-gradient(closest-side, var(--h) 50%, transparent 100%); }
.halo.h1 { --h: var(--chaine); width: 44vw; height: 44vw; left: -14vw; top: -18vw; opacity: .75; animation: f1 16s ease-in-out infinite alternate; }
.halo.h2 { --h: var(--menthe); width: 34vw; height: 34vw; right: -10vw; bottom: -16vw; opacity: .35; animation: f2 19s ease-in-out infinite alternate; }
.halo.h3 { --h: var(--violet); width: 26vw; height: 26vw; right: 26vw; top: -12vw; opacity: .45; animation: f2 13s ease-in-out infinite alternate-reverse; }
@keyframes f1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes f2 { to { transform: translate3d(-7vw, -6vh, 0) scale(.9); } }
.haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.haut img { width: 120px; }
.verre { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.verre i { width: 8px; height: 8px; border-radius: 50%; background: var(--soleil); animation: cligne 1.6s infinite; }
.verre.ok i { background: var(--menthe); animation: none; }
/* L'espace prend la même ouverture que la médiathèque : la carte du réseau à droite (15/10/2026). */
.corps-espace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(16px, 3vw, 40px); }
.corps-espace .carte-zone { position: relative; height: clamp(380px, 56svh, 560px); margin: -40px 0 -80px; }
.corps-espace .carte-zone canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .corps-espace { grid-template-columns: minmax(0, 1fr); } .corps-espace .carte-zone { height: clamp(200px, 30svh, 280px); order: -1; margin: 10px calc(-1 * var(--bord)) 0; } }
.identite { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); margin-top: 46px; animation: monte .8s var(--doux) backwards; }
.identite .logo { flex: none; width: clamp(84px, 11vw, 132px); height: clamp(84px, 11vw, 132px); border-radius: 30px; display: grid; place-items: center; padding: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.identite .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.identite .logo b { font-family: var(--titre); font-size: 34px; }
.identite h1 { margin: 0; font-family: var(--titre); font-weight: 800; font-size: clamp(38px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; }
.identite p { margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: 17px; max-width: 620px; }
.chiffres { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; animation: monte .8s .15s var(--doux) backwards; }
.chiffres div { padding: 14px 20px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); min-width: 150px; }
.chiffres b { display: block; font-family: var(--titre); font-size: 36px; line-height: 1; letter-spacing: -.03em; }
.chiffres span { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 700; }

.onglets { position: sticky; top: 12px; z-index: 20; display: flex; gap: 6px; width: max-content; max-width: calc(100% - 2 * var(--bord)); margin: -34px auto 40px; padding: 7px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,.85); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--ombre); }
.onglets::-webkit-scrollbar { display: none; }
.onglets button, .onglets a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 999px; background: none; color: var(--encre-2); font: 800 15px "Figtree", sans-serif; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .25s, color .25s; }
.onglets button:hover, .onglets a:hover { background: rgba(18,15,46,.05); }
.onglets button.ici { background: var(--encre); color: #fff; }
.onglets svg { width: 18px; height: 18px; }
main { max-width: 1100px; margin: 0 auto; padding: 0 var(--bord) 100px; }
.vue { display: none; } .vue.ici { display: block; animation: monte .5s var(--doux); }
h2 { font-family: var(--titre); font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; line-height: 1; margin: 0 0 10px; }
h2 em { font-style: normal; color: var(--violet); }
.sous { color: var(--encre-2); margin: 0 0 26px; max-width: 700px; }
.carte { background: var(--blanc); border-radius: 24px; padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; box-shadow: var(--ombre); }
.carte h3 { margin: 0 0 6px; font-family: var(--titre); font-size: 21px; letter-spacing: -.02em; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.large { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 800; color: var(--encre-2); margin-bottom: 8px; }
label em { font-style: normal; color: var(--corail); }
input[type=text], input[type=email], input[type=search], input[type=date], input[type=number], textarea, select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--trait); background: var(--papier); color: var(--encre); font: 600 16px "Figtree", sans-serif; transition: border-color .2s, box-shadow .25s, background .2s; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23120f2e' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet); background: var(--blanc); box-shadow: 0 0 0 5px rgba(107,76,255,.15); }
.zone { position: relative; display: grid; place-items: center; min-height: 230px; border-radius: 22px; background: var(--papier); cursor: pointer; overflow: hidden; text-align: center; transition: transform .3s var(--ressort), background .2s; }
.zone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px dashed var(--trait-2); pointer-events: none; transition: border-color .2s; }
.zone:hover, .zone.survol { transform: translateY(-2px); background: #efeaff; } .zone:hover::after, .zone.survol::after { border-color: var(--violet); }
.zone canvas, .zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.zone .invite { position: relative; color: var(--encre-2); font-size: 14px; padding: 20px; }
.zone .invite b { display: block; font-family: var(--titre); font-size: 22px; color: var(--encre); margin-bottom: 4px; }
.zone .rond { width: 60px; height: 60px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--violet); color: #fff; box-shadow: 0 14px 30px -10px var(--violet); }
.zone .rond svg { width: 28px; height: 28px; }
.zone.pleine::after { border-style: solid; border-color: var(--menthe); }
.zone .fiche { position: absolute; left: 12px; right: 12px; bottom: 12px; display: none; gap: 14px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: rgba(18,15,46,.72); color: #fff; font-size: 13px; backdrop-filter: blur(8px); text-align: left; }
.zone.pleine .fiche { display: flex; }
.zone .fiche em { font-style: normal; color: rgba(255,255,255,.6); margin-right: 4px; }
.zone.petite { min-height: 0; aspect-ratio: 16 / 9; }   /* la vignette se voit telle qu'elle partira : 16:9 (05/11/2026) */
.note-v { margin: 8px 0 0; font-size: 12.5px; color: var(--encre-2); } .note-v.ko { color: var(--corail); font-weight: 700; }
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 0; background: var(--blanc); color: var(--encre); font: 800 16px "Figtree", sans-serif; cursor: pointer; text-decoration: none; transition: transform .3s var(--ressort), box-shadow .3s; box-shadow: 0 1px 0 var(--trait-2), 0 8px 24px -10px rgba(18,15,46,.25); }
.bouton:hover { transform: translateY(-2px); }
.bouton.plein { background: var(--menthe); box-shadow: 0 14px 40px -12px rgba(46,229,157,.9), inset 0 -3px 0 rgba(0,0,0,.12); }
.bouton.petit { padding: 9px 16px; font-size: 14px; }
.bouton.discret { background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait); }
.bouton:disabled { opacity: .45; cursor: default; transform: none; }
.progression { display: none; margin-top: 18px; }
.progression.ici { display: block; }
.jauge { height: 12px; border-radius: 12px; background: var(--papier); overflow: hidden; }
.jauge i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--violet), var(--menthe)); transition: width .2s; }
.compteurs { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--encre-3); font-weight: 700; }
.compteurs b { color: var(--encre); }
.etapes { margin-top: 14px; display: grid; gap: 8px; }
.etapes div { padding: 10px 14px; border-radius: 12px; background: var(--papier); font-weight: 700; font-size: 14px; }
.etapes .ok { background: rgba(46,229,157,.16); color: #0b6b46; }
.etapes .ko { background: rgba(255,90,110,.12); color: #b21f37; }
.etapes .attente { background: rgba(255,194,58,.2); color: #7a5300; }
.attente-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; background: rgba(255,194,58,.18); color: #6b4a00; font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.attente-note b { color: var(--encre); }
.attente-note i { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--soleil); }

.liste-videos { display: grid; gap: 12px; }
/* Mes vidéos : mêmes cartes que la médiathèque (lp-mediatheque.css), recherche, dépôts en attente (15/10/2026). */
.mes-outils { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.mes-outils .recherche { flex: 1 1 320px; background: var(--blanc); box-shadow: var(--ombre); }
.mes-nb { font-weight: 800; color: var(--encre-2); }
.mes-titre { margin: 0 0 14px; font-family: var(--titre); font-size: 22px; letter-spacing: -.02em; }
#mesAttente .mosaique { margin-bottom: 34px; }
.carte-attente { display: flex; flex-direction: column; gap: 8px; }
.carte-attente .bouton { align-self: flex-start; }
#v-videos .mosaique { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mes-filtres { display: grid; gap: 12px; margin: 0 0 28px; padding: 18px 20px; border-radius: 22px; background: var(--blanc); box-shadow: var(--ombre); }
.mes-ligne { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mes-ligne [hidden] { display: none; }
.mes-libelle { flex: none; width: 104px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); }
.bascule.petite button { padding: 8px 15px; font-size: 14px; }
.mes-filtres .themes button { padding: 7px 13px; font-size: 14px; }
.puces-etat { display: flex; flex-wrap: wrap; gap: 6px; }
.puces-etat button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 0; border-radius: 999px; background: var(--papier); color: var(--encre); font: 700 14px "Figtree", sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--trait); transition: background .2s, color .2s; }
.puces-etat button b { font-weight: 900; color: var(--encre-3); }
.puces-etat button i { width: 8px; height: 8px; border-radius: 50%; }
.puces-etat .etat-tv i { background: var(--menthe-f); } .puces-etat .etat-enc i { background: var(--soleil); } .puces-etat .etat-prog i { background: var(--ciel); } .puces-etat .etat-off i { background: var(--encre-3); }
.puces-etat button.ici { background: var(--encre); color: #fff; box-shadow: none; } .puces-etat button.ici b { color: rgba(255,255,255,.7); }
.mes-emission { flex: 1 1 280px; max-width: 420px; }
.mes-emission .champ-deroulant { min-height: 46px; }
.mes-sections { display: grid; gap: 34px; }
.mes-section-haut { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mes-section-haut h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--titre); font-size: 22px; letter-spacing: -.02em; }
.mes-section-haut h3 span { padding: 2px 10px; border-radius: 999px; background: var(--papier); font-family: "Figtree", sans-serif; font-size: 13px; font-weight: 900; color: var(--encre-2); }
.mes-section .mosaique { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 760px) { .mes-libelle { width: 100%; } .mes-filtres .themes, .puces-etat, .bascule.petite { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } }
.video { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px; border-radius: 20px; background: var(--blanc); box-shadow: var(--ombre); animation: monte .5s var(--doux) backwards; }
.video .corps { min-width: 0; padding-right: 8px; } .video .corps b { overflow-wrap: anywhere; }
.video .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.vignette { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--papier); cursor: default; }
button.vignette { cursor: pointer; }
.vignette img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--doux); }
button.vignette:hover img { transform: scale(1.05); }
.vignette .sans { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; color: var(--encre-3); font-size: 12px; font-weight: 800; }
.vignette .jouer { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,15,46,.6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vignette .jouer svg { width: 22px; height: 22px; margin-left: 3px; }
.lecteur { width: min(1100px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 22px; background: #000; color: #fff; overflow: hidden; }
.lecteur::backdrop { background: rgba(10,8,30,.82); backdrop-filter: blur(6px); }
.lecteur-haut { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: var(--encre); }
.lecteur-haut b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.lecteur-haut button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lecteur-haut button svg { width: 20px; height: 20px; }
.lecteur-cadre { aspect-ratio: 16 / 9; } .lecteur-cadre iframe { width: 100%; height: 100%; border: 0; display: block; }
.video b { display: block; font-size: 16px; } .video small { color: var(--encre-3); font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--papier); color: var(--encre-2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--trait-2); }
.badge.publie { background: rgba(46,229,157,.16); color: #0b6b46; } .badge.publie i { background: var(--menthe); }
.badge.pret { background: rgba(255,194,58,.2); color: #7a5300; } .badge.pret i { background: var(--soleil); }
.badge.erreur { background: rgba(255,90,110,.12); color: #b21f37; } .badge.erreur i { background: var(--corail); }
.vide { text-align: center; color: var(--encre-3); padding: 50px 20px; border-radius: 24px; background: rgba(255,255,255,.6); }

.cle { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px; border-radius: 18px; background: var(--encre); color: #fff; }
.cle code { flex: 1; min-width: 0; font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--menthe); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 6px; }
.etape-api { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.etape-api .num { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 22px; color: #fff; }
.etape-api h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verbe { display: inline-block; padding: 3px 9px; border-radius: 8px; font: 800 12px ui-monospace, Menlo, monospace; letter-spacing: .04em; color: #fff; }
.verbe.post { background: var(--violet); } .verbe.put { background: var(--corail); } .verbe.get { background: var(--menthe-f); }
pre { margin: 12px 0 0; padding: 44px 20px 18px; border-radius: 18px; background: #0d0b24; color: #e6e3ff; font: 500 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; position: relative; }
pre .c { color: #8a87aa; } pre .s { color: var(--menthe); } pre .k { color: var(--soleil); }
.copier-pre { position: absolute; top: 10px; right: 10px; padding: 6px 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; font: 700 12px "Figtree", sans-serif; cursor: pointer; }
.copier-pre:hover { background: rgba(255,255,255,.2); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-3); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--trait); }
td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
td code, p code { font: 600 13px ui-monospace, Menlo, monospace; background: var(--papier); padding: 2px 7px; border-radius: 6px; color: var(--violet); }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastilles span { padding: 7px 14px; border-radius: 999px; background: var(--papier); font-weight: 700; font-size: 14px; }

.ferme { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--bord); background: var(--encre); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.ferme img { width: 150px; margin-bottom: 30px; }
.ferme h1 { font-family: var(--titre); font-size: clamp(34px, 6vw, 64px); letter-spacing: -.04em; line-height: 1; margin: 0 0 14px; }
.ferme p { max-width: 520px; margin: 0 auto 26px; color: rgba(255,255,255,.78); font-size: 18px; }
.anneau-grand { width: 170px; height: 170px; margin: 0 auto 26px; position: relative; }
.anneau-grand svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-grand b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titre); font-size: 44px; }
/* Dépôt : reportage ou émission, le thème, et l'aperçu des pages (15/10/2026). */
.bascule { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--trait); }
.bascule button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border: 0; border-radius: 999px; background: none; color: var(--encre-2); font: 800 15px "Figtree", sans-serif; cursor: pointer; transition: background .25s, color .25s, box-shadow .3s; }
.bascule button svg { width: 18px; height: 18px; }
.bascule button:hover { color: var(--encre); }
.bascule button.inactif { opacity: .38; cursor: not-allowed; }
.type-aide { margin: -6px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(46,229,157,.12); font-size: 14px; font-weight: 600; }
.type-aide a { color: inherit; font-weight: 800; text-decoration: underline; }
.bascule button.ici { background: var(--encre); color: #fff; box-shadow: 0 8px 20px -8px rgba(18,15,46,.6); }
.bascule button:focus-visible, .themes button:focus-visible { outline: 3px solid rgba(107,76,255,.35); outline-offset: 2px; }
.themes, .em-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.themes button, .em-themes button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px; border: 0; border-radius: 999px; background: var(--blanc); color: var(--encre); font: 700 15px "Figtree", sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--trait); transition: transform .3s var(--ressort), background .2s, box-shadow .25s, color .2s; }
.themes button i, .em-themes button i { width: 10px; height: 10px; border-radius: 50%; background: var(--t); transition: box-shadow .25s; }
.themes button:hover, .em-themes button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--t); }
.themes button.ici, .em-themes button.ici { background: var(--t); color: #fff; box-shadow: 0 10px 24px -10px var(--t); transform: translateY(-2px); }
.themes button.ici i, .em-themes button.ici i { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }


.rg-apercu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.rg-page { padding: 14px; border-radius: 20px; background: var(--encre); color: #fff; min-width: 0; position: relative; overflow: hidden; isolation: isolate; }
.rg-page::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -25%; top: -45%; border-radius: 50%; background: var(--chaine); filter: blur(50px); opacity: .45; }
.rg-page + .rg-page::before { background: var(--menthe); opacity: .25; }
.rg-page-haut { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rg-page-haut img { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,.08); padding: 3px; }
.rg-page-haut b { flex: 1; min-width: 0; font-family: var(--titre); font-size: 17px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rg-page-haut span { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-weight: 900; font-size: 13px; }
.rg-ligne { padding: 8px 0 10px; border-top: 1px solid rgba(255,255,255,.08); animation: monte .45s var(--doux) backwards; }
.rg-ligne-nom { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.rg-ligne-nom i { width: 8px; height: 8px; border-radius: 50%; background: var(--t); box-shadow: 0 0 10px var(--t); }
.rg-tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rg-tuiles span { aspect-ratio: 16 / 9; border-radius: 7px; background: rgba(255,255,255,.07); overflow: hidden; }
.rg-tuiles .moi { background: linear-gradient(135deg, var(--t), color-mix(in srgb, var(--t) 40%, var(--encre))); box-shadow: 0 0 0 2px var(--t), 0 8px 20px -6px var(--t); animation: arrive .6s var(--ressort) backwards; }
.rg-tuiles .moi img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes arrive { from { transform: translateX(-30%) scale(.7); opacity: 0; } }
.rg-rien { margin: 0; padding: 12px 0 4px; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; }
.rg-mots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.rg-mots span { font-weight: 800; color: var(--encre-3); margin-right: 4px; }
.rg-mots em { font-style: normal; padding: 4px 10px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--trait); font-weight: 700; color: var(--encre-2); }
.rg-mots em.g { background: var(--encre); color: #fff; box-shadow: none; }

@media (max-width: 760px) {
  .rg-apercu { grid-template-columns: minmax(0, 1fr); }
}

/* Infos à compléter : le bandeau en tête de l'espace tant que l'inscription n'est pas à 100 % (15/10/2026). */
.a-completer { position: relative; display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px); margin: 0 0 34px; padding: 18px clamp(18px, 2.5vw, 26px); border-radius: 24px; text-decoration: none; color: var(--encre);
  background: linear-gradient(110deg, #fff6dc, #fff 55%); box-shadow: inset 0 0 0 2px rgba(255,194,58,.55), 0 18px 40px -22px rgba(255,160,0,.55); overflow: hidden; animation: monte .6s var(--doux) backwards; transition: transform .3s var(--ressort), box-shadow .3s; }
.a-completer::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); animation: reflet 4.5s 1s ease-in-out infinite; pointer-events: none; }
@keyframes reflet { 0%, 70% { left: -40%; } 100% { left: 130%; } }
.a-completer:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--soleil), 0 24px 50px -22px rgba(255,160,0,.7); }
.anneau-petit { flex: none; position: relative; width: 74px; height: 74px; color: #f0a800; }
.anneau-petit svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-petit b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titre); font-size: 18px; color: var(--encre); }
.a-completer-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.a-completer-texte > b { font-family: var(--titre); font-size: clamp(19px, 2.2vw, 23px); letter-spacing: -.02em; line-height: 1.1; }
.a-completer-texte > span { color: var(--encre-2); font-size: 14.5px; }
.manques { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.manques em { font-style: normal; padding: 4px 11px; border-radius: 999px; background: rgba(255,194,58,.25); color: #6b4a00; font-weight: 800; font-size: 13px; }
.bouton.a-completer-bouton { flex: none; background: var(--soleil); box-shadow: 0 14px 30px -12px rgba(255,170,0,.9), inset 0 -3px 0 rgba(0,0,0,.1); }
.a-completer-bouton svg { width: 18px; height: 18px; transition: transform .3s var(--ressort); }
.a-completer:hover .a-completer-bouton svg { transform: translateX(4px); }
.pastille-onglet { width: 9px; height: 9px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 0 3px rgba(255,194,58,.3); animation: cligne 1.6s infinite; }
@media (max-width: 760px) {
  .a-completer { flex-wrap: wrap; }
  .anneau-petit { width: 60px; height: 60px; }
  .a-completer-texte { flex-basis: calc(100% - 80px); }
  .a-completer-bouton { width: 100%; justify-content: center; }
}

/* Émissions : l'onglet « Mes émissions », la fenêtre de création (15/10/2026). */
.em-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.em-grille.petite { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.em-carte { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--blanc); box-shadow: var(--ombre); overflow: hidden; text-decoration: none; color: var(--encre); animation: monte .5s var(--doux) backwards; transition: transform .35s var(--ressort), box-shadow .3s; }
.em-carte:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(18,15,46,.05), 0 24px 50px -18px rgba(18,15,46,.3); }
.em-carte.off .em-poster { filter: grayscale(1) opacity(.5); }
.em-poster { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--chaine), var(--encre)); overflow: hidden; }
.em-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--doux); }
.em-carte:hover .em-poster img { transform: scale(1.05); }
.em-initiale { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.85); }
.em-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.em-corps b { font-family: var(--titre); font-size: 18px; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.em-corps small { color: var(--encre-3); font-weight: 700; font-size: 13px; }
.em-corps .badge { align-self: flex-start; }
.em-boutons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.em-nouvelle { border: 0; cursor: pointer; font: inherit; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 320px; padding: 24px; background: transparent; box-shadow: none; }
.em-nouvelle::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px dashed var(--trait-2); transition: border-color .2s; }
.em-nouvelle:hover { background: #efeaff; } .em-nouvelle:hover::before { border-color: var(--violet); }
.em-nouvelle b { font-family: var(--titre); font-size: 20px; } .em-nouvelle small { color: var(--encre-3); font-weight: 700; }
.em-plus { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--violet); color: #fff; box-shadow: 0 14px 30px -10px var(--violet); transition: transform .35s var(--ressort); }
.em-nouvelle:hover .em-plus { transform: rotate(90deg) scale(1.06); }
.em-plus svg { width: 30px; height: 30px; }
.em-sous-titre { margin: 46px 0 6px; font-family: var(--titre); font-size: 24px; letter-spacing: -.02em; }
.em-carte.lecture .em-corps b { font-size: 15px; }

.em-fenetre { width: min(1040px, calc(100vw - 24px)); max-width: none; max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--blanc); color: var(--encre); overflow: auto; box-shadow: 0 40px 100px -30px rgba(18,15,46,.6); }
.em-fenetre::backdrop { background: rgba(10,8,30,.6); backdrop-filter: blur(6px); }
.em-fenetre[open] { animation: ouvre .4s var(--ressort); }
@keyframes ouvre { from { transform: translateY(16px) scale(.97); } }
.em-creer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin: 0; }
.em-saisie { padding: clamp(20px, 3vw, 34px); }
.em-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.em-haut h3 { margin: 0; font-family: var(--titre); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; line-height: 1; }
.em-fermer { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--papier); color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.em-fermer svg { width: 18px; height: 18px; }
.em-saisie label small { font-weight: 700; color: var(--encre-3); margin-left: 4px; }
.em-saisie textarea { min-height: 84px; }
.em-images { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 14px; margin-top: 16px; align-items: start; }
.em-zone { min-height: 0; aspect-ratio: 16 / 9; }
.em-zone.portrait { aspect-ratio: 3 / 4; }
.em-zone .invite { font-size: 12.5px; padding: 10px; } .em-zone .invite b { font-size: 17px; }
.em-zone.pleine .invite { display: none; }
.em-aide { margin: 10px 0 0; font-size: 13px; color: var(--encre-3); font-weight: 600; }
.em-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.em-jauge { margin-top: 14px; }
.em-scene { position: relative; isolation: isolate; overflow: hidden; background: var(--encre); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.em-scene .halo.h1 { width: 70%; height: 60%; left: -20%; top: -20%; }
.em-scene .halo.h2 { width: 60%; height: 50%; right: -20%; bottom: -15%; }
.em-scene-titre { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.em-scene-titre img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,.08); padding: 3px; }
.em-rangee { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; align-items: end; }
.em-affiche { aspect-ratio: 3 / 4; border-radius: 14px; background: rgba(255,255,255,.07); background-size: cover; background-position: center; }
.em-affiche.moi { position: relative; display: flex; align-items: flex-end; padding: 10px; background-color: var(--chaine); background-image: linear-gradient(160deg, var(--chaine), #1d1747); box-shadow: 0 0 0 2px var(--menthe), 0 20px 40px -14px rgba(46,229,157,.6); transition: transform .4s var(--ressort); }
.em-affiche.moi.pleine { transform: scale(1.03); }
.em-affiche.moi span { font-family: var(--titre); font-weight: 800; font-size: 15px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.em-affiche.moi.pleine span { opacity: 0; }
.em-bande { border-radius: 16px; padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: rgba(255,255,255,.07); background-size: cover; background-position: center; }
.em-bande b { font-family: var(--titre); font-size: 22px; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.em-bande small { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-petite { width: min(460px, calc(100vw - 24px)); padding: 28px; }
.em-petite h3 { margin: 0 0 10px; font-family: var(--titre); font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.em-petite p { margin: 0; color: var(--encre-2); }
.rg-affiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rg-affiches span { aspect-ratio: 3 / 4; border-radius: 7px; background: rgba(255,255,255,.07); overflow: hidden; }
.rg-affiches .moi { display: grid; place-items: end start; padding: 5px; background: linear-gradient(160deg, var(--chaine), #1d1747); box-shadow: 0 0 0 2px var(--t), 0 8px 20px -6px var(--t); animation: arrive .6s var(--ressort) backwards; }
.rg-affiches .moi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-affiches .moi:has(img) { padding: 0; }
.rg-affiches .moi b { font-size: 10px; line-height: 1.1; }
@media (max-width: 760px) {
  .em-creer { grid-template-columns: minmax(0, 1fr); }
  .em-scene { order: -1; padding: 22px 18px; gap: 14px; }
  .em-bande { display: none; }
  .em-rangee { grid-template-columns: 1fr 1fr 1fr; max-width: 320px; }
  .em-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .em-nouvelle { min-height: 0; aspect-ratio: 3 / 4.6; }
}

/* Champs vivants du dépôt : description qui grandit, émission en affiches, calendrier (15/10/2026). */
textarea.auto { resize: none; overflow: hidden; min-height: 96px; transition: border-color .2s, box-shadow .25s, background .2s, height .15s; }
.deroule { position: relative; }
.deroule.ouvert { z-index: 40; }
.champ-deroulant { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 14px; border: 1.5px solid var(--trait); background: var(--papier); color: var(--encre); font: 700 16px "Figtree", sans-serif; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .25s, background .2s; }
.champ-deroulant:hover { border-color: var(--trait-2); }
.champ-deroulant:focus-visible, .deroule.ouvert .champ-deroulant { outline: none; border-color: var(--violet); background: var(--blanc); box-shadow: 0 0 0 5px rgba(107,76,255,.15); }
.champ-deroulant.vide .champ-texte { color: var(--encre-3); font-weight: 600; }
.champ-texte { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.champ-deroulant .ico { width: 20px; height: 20px; flex: none; margin-left: 6px; color: var(--violet); }
.champ-deroulant .chevron { width: 20px; height: 20px; flex: none; color: var(--encre-2); transition: transform .35s var(--ressort); }
.deroule.ouvert .chevron { transform: rotate(180deg); }
.deroulant { position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); min-width: 100%; max-height: 420px; overflow-y: auto; padding: 8px; border-radius: 20px; background: var(--blanc);
  box-shadow: 0 0 0 1px rgba(18,15,46,.06), 0 30px 70px -20px rgba(18,15,46,.35); transform-origin: top left; animation: deplie .3s var(--ressort); overscroll-behavior: contain; }
.deroulant[hidden] { display: none; }
@keyframes deplie { from { transform: translateY(-6px) scale(.97); } }
.deroulant-vide { margin: 0; padding: 14px 12px 6px; color: var(--encre-3); font-weight: 700; font-size: 14px; }

.em-mini { flex: none; width: 36px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, var(--chaine), var(--encre)); color: #fff; font-family: var(--titre); font-weight: 800; box-shadow: 0 4px 10px -4px rgba(18,15,46,.4); }
.em-mini[hidden] { display: none; }
.em-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-mini.plus { background: var(--violet); }
.em-mini.plus svg { width: 18px; height: 18px; }
.em-option { width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border: 0; border-radius: 14px; background: none; color: var(--encre); font: inherit; text-align: left; cursor: pointer; transition: background .18s; }
.em-option .em-mini { width: 46px; transition: transform .3s var(--ressort); }
.em-option:hover, .em-option:focus-visible { outline: none; background: var(--papier); }
.em-option:hover .em-mini, .em-option:focus-visible .em-mini { transform: scale(1.06) rotate(-2deg); }
.em-option.ici { background: rgba(107,76,255,.09); }
.em-option-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.em-option-texte b { font-weight: 800; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-option-texte small { color: var(--encre-3); font-weight: 700; font-size: 12.5px; }
.em-option .coche { width: 20px; height: 20px; flex: none; color: var(--violet); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ressort); }
.em-option.ici .coche { opacity: 1; transform: none; }
.em-creer-option { margin-top: 6px; border-top: 1px solid var(--trait); border-radius: 0 0 14px 14px; padding-top: 12px; }
.em-creer-option b { color: var(--violet); }

.com-option { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--encre); font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.com-option svg { width: 20px; height: 20px; flex: none; color: var(--encre-3); transition: color .15s, transform .25s var(--ressort); }
.com-option:hover, .com-option.ici { background: var(--papier); }
.com-option.ici svg { color: var(--corail); transform: translateY(-2px); }
#communes { max-height: 360px; }
.com-chez { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(46,229,157,.18); color: #0b6b46; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.pastilles-champ { min-height: 54px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 14px; border: 1.5px solid var(--trait); background: var(--papier); cursor: text; transition: border-color .2s, box-shadow .25s, background .2s; }
.pastilles-champ:focus-within { border-color: var(--violet); background: var(--blanc); box-shadow: 0 0 0 5px rgba(107,76,255,.15); }
.pastilles-champ #jPuces { display: contents; }
.pastilles-champ input { flex: 1; min-width: 160px; border: 0 !important; background: none !important; box-shadow: none !important; padding: 8px 6px !important; }
.jp { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--t) 13%, #fff); font-weight: 800; font-size: 14px; animation: pop .35s var(--ressort); }
.jp i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: #fff; font-style: normal; font-size: 11px; font-weight: 900; }
.jp button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--encre-2); font-size: 17px; line-height: 1; cursor: pointer; }
.jp button:hover { background: rgba(18,15,46,.08); color: var(--encre); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.jp-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 4px 10px -4px rgba(18,15,46,.4); }
.jp-av.libre { background: var(--papier); color: var(--violet); font-size: 20px; box-shadow: inset 0 0 0 1.5px var(--trait-2); }
#jListe, #rListe { max-height: 340px; }
.calendrier { width: 318px; min-width: 0; padding: 14px; }
.cal-haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-haut b { font-family: var(--titre); font-size: 19px; letter-spacing: -.02em; text-transform: capitalize; }
.cal-haut b span { color: var(--encre-3); font-weight: 600; }
.cal-nav { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--papier); color: var(--encre); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .25s var(--ressort); }
.cal-nav:hover { background: #efeaff; transform: scale(1.06); }
.cal-nav svg { width: 18px; height: 18px; }
.cal-semaine, .cal-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-semaine span { text-align: center; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; color: var(--encre-3); padding: 4px 0; }
.cal-jours button { aspect-ratio: 1; border: 0; border-radius: 12px; background: none; color: var(--encre); font: 700 14.5px "Figtree", sans-serif; cursor: pointer; position: relative; transition: background .15s, transform .25s var(--ressort), color .15s; }
.cal-jours button.we { color: var(--encre-2); }
.cal-jours button:hover { background: var(--papier); transform: scale(1.08); }
.cal-jours button:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.cal-jours button.auj::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--menthe-f); }
.cal-jours button.ici { background: var(--violet); color: #fff; box-shadow: 0 8px 18px -8px var(--violet); transform: scale(1.05); }
.cal-jours button.ici::after { background: #fff; }
.cal-pied { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--trait); }
.cal-pied .bouton { flex: 1; justify-content: center; }
@media (max-width: 760px) { .calendrier { width: min(318px, calc(100vw - 2 * var(--bord))); } }

@media (max-width: 760px) {
  .grille { grid-template-columns: minmax(0, 1fr); }
  .video { grid-template-columns: 1fr; } .video .corps { padding: 0 6px 6px; }
  .identite { flex-direction: column; align-items: flex-start; }
  .onglets { margin-left: var(--bord); margin-right: var(--bord); max-width: none; width: auto; }
  .etape-api { grid-template-columns: minmax(0, 1fr); }
}
/* Téléphone (03/11/2026, Mr. Light : « adapter pour les téléphones ») : les rubriques tiennent sur l'écran,
   l'icône au-dessus du mot, au lieu d'une barre qui sort à droite. */
@media (max-width: 560px) {
  .onglets { display: flex; width: auto; max-width: none; margin-left: 10px; margin-right: 10px; padding: 5px; gap: 2px; border-radius: 22px; overflow: visible; }
  .onglets button, .onglets a { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; border-radius: 17px;
    font-size: 11.5px; line-height: 1.15; text-align: center; white-space: normal; }
  .onglets svg { width: 20px; height: 20px; }
  .onglets .pastille-onglet { position: absolute; margin: -22px 0 0 18px; }
  .onglets a, .onglets button { position: relative; }
  /* 06/11/2026 : l'onglet Messages en plus ; les mots ne débordent plus sur le voisin, plus petits quand il y a 8 onglets (admins). */
  .onglets button, .onglets a { padding: 8px 1px; hyphens: auto; overflow-wrap: anywhere; letter-spacing: -.01em; }
  .onglets:has(> :nth-child(8)) button, .onglets:has(> :nth-child(8)) a { font-size: 10px; }
}
/* Onglets en icônes seules (07/11/2026, Flavien : « c'est pas joli ! Mettre que des logos ! »). Le nom reste pour les
   lecteurs d'écran (.onglet-nom) et apparaît dans la bulle au survol (data-aide). Placé après les règles téléphone : il les remplace. */
.onglets.icones { gap: 4px; }
.onglets.icones button, .onglets.icones a { position: relative; justify-content: center; gap: 0; padding: 12px 18px; }
.onglets.icones svg { width: 22px; height: 22px; }
.onglet-nom { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.onglets.icones .pastille-onglet { position: absolute; top: 7px; right: 11px; margin: 0; }
@media (max-width: 560px) {
  .onglets.icones button, .onglets.icones a { flex-direction: row; padding: 12px 2px; }
  .onglets.icones svg { width: 23px; height: 23px; }
  .onglets.icones .pastille-onglet { top: 6px; right: calc(50% - 18px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Mon direct, en tête de « Mes vidéos » (15/10/2026). Les pastilles et barres viennent de lp-mediatheque.css. */
.mon-direct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; margin-bottom: 26px; padding: 14px; border-radius: 26px; background: var(--encre); color: #fff; box-shadow: 0 24px 50px -24px rgba(18,15,46,.6); }
.mon-direct .direct-img { border-radius: 18px; }
.mon-direct-texte { display: flex; flex-direction: column; gap: 6px; padding-right: 10px; min-width: 0; }
.mon-direct-titre { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #ffb3bd; }
.mon-direct-texte b { font-family: var(--titre); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.1; }
.mon-direct .direct-barre { background: rgba(255,255,255,.15); }
.mon-direct small { color: rgba(255,255,255,.6); font-weight: 700; }
.mon-direct-suite { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; }
.mon-direct-suite li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mon-direct-suite time { font-weight: 900; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .mon-direct { grid-template-columns: minmax(0, 1fr); } }

/* Le chiffre du jour (vidéos arrivées chez Okast aujourd'hui), mis en avant (15/10/2026). */
.chiffres .chiffre-jour { background: rgba(43,224,155,.16); border-color: rgba(43,224,155,.45); }
.chiffres .chiffre-jour b { color: #5ff0b8; }
@media (max-width: 760px) { .chiffres { display: grid !important; grid-template-columns: 1fr 1fr; } .chiffres div { min-width: 0; } }

/* Documentation de l'API (15/10/2026) : sommaire, titres numérotés, listes. */
.doc-sommaire ol { margin: 0; padding: 0; list-style: none; counter-reset: s; columns: 2 280px; column-gap: 28px; }
.doc-sommaire li { counter-increment: s; break-inside: avoid; padding: 6px 0; font-weight: 700; }
.doc-sommaire li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 8px; background: var(--papier); color: var(--violet); font-size: 12px; font-weight: 900; }
.doc-sommaire a { color: var(--encre); text-decoration: none; } .doc-sommaire a:hover { color: var(--violet); }
.doc-sommaire small { display: block; margin-left: 34px; color: var(--encre-3); font: 600 12px ui-monospace, Menlo, monospace; }
.doc-titre { display: flex; align-items: center; gap: 12px; margin: 44px 0 16px; font-family: var(--titre); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; scroll-margin-top: 90px; }
.doc-titre span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--encre); color: #fff; font-size: 17px; }
.doc-liste { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; color: var(--encre-2); }
.doc-liste:last-child { margin-bottom: 0; }

/* Au-dessus de l'aperçu des rangées du dépôt (Mr. Light 15/10/2026). */
.rg-apercu-titre { display: block; margin: 22px 0 0; font-size: 13px; font-weight: 800; color: var(--encre-2); }
.rg-apercu-titre + .rg-apercu { margin-top: 8px; }

/* Bandeau « vidéos qui n'apparaissent dans aucune rangée » de « Mes vidéos » (15/10/2026). */
.mes-aranger { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-bottom: 22px; padding: 16px 20px; border-radius: 20px; background: #fff4d6; border: 1px solid #ffd77a; }
.mes-aranger[hidden] { display: none; }
.mes-aranger div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mes-aranger span { font-size: 14px; color: var(--encre-2); }
@media (max-width: 760px) { .mes-aranger { flex-direction: column; align-items: stretch; } }

/* Dépôt : ce qui manque encore, et les sous-titres (15/10/2026). */
.manque { margin: 0 0 10px; min-height: 1.4em; color: var(--corail); font-weight: 800; font-size: 14px; }
.st-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 16px; border: 1.5px dashed var(--trait-2); background: var(--papier); }
.st-ligne.pris { border-style: solid; border-color: var(--menthe-f); background: rgba(43,224,155,.08); }
.st-nom { flex: 1 1 180px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--encre-2); font-weight: 600; font-size: 14px; }
.st-ligne select { width: auto; min-height: 38px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--trait); background: var(--blanc); font: inherit; font-size: 14px; }
label .facultatif { font-weight: 600; color: var(--encre-3); font-size: 12px; margin-left: 4px; }

/* Émissions : thème et mots-clés (15/10/2026). */
.em-themes button { padding: 8px 14px; font-size: 14px; }
label small { font-weight: 600; color: var(--encre-3); font-size: 12px; margin-left: 4px; }
.em-theme { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--encre-2); }
.em-theme i { width: 8px; height: 8px; border-radius: 50%; background: var(--t); }
.em-theme.manque { color: var(--corail); }

/* Ma page (27/10/2026) : bande d'en-tête et pubs */
.pg-bloc { margin: 0 0 28px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(18,15,46,.06), 0 8px 30px -18px rgba(18,15,46,.25); }
.pg-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.pg-tete h3 { margin: 0; }
.pg-bande { aspect-ratio: 16 / 3; border-radius: 12px; overflow: hidden; background: #f6f4fd; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pg-bande img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-bande .vide { padding: 0 16px; text-align: center; font-size: 14px; }
/* L'affiche 16:9 de la chaîne (06/11/2026) */
.pg-affiche { aspect-ratio: 16 / 9; max-width: 640px; border-radius: 12px; overflow: hidden; background: var(--papier, #f6f4fd); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pg-affiche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-affiche .vide { padding: 0 20px; text-align: center; font-size: 14px; }
.pg-bientot { padding: 3px 10px; border-radius: 999px; background: rgba(255,176,32,.16); color: #b26b00; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.pg-explique { margin: 0 0 8px; max-width: 760px; line-height: 1.55; }
.pg-consignes { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 3px; font-size: 14px; color: var(--encre-2, #555); }
.pg-note { margin: 12px 0 0; max-width: 760px; font-size: 13px; color: var(--encre-3, #777); }
.pg-retour { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--violet, #6b4cff); }
.pg-pubs { display: grid; gap: 14px; margin-bottom: 14px; }
.pg-pub { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.pg-pub img { width: 100%; aspect-ratio: 16 / 3; object-fit: cover; border-radius: 10px; display: block; }
.pg-pub-corps { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.pg-pub-corps a { font-size: 13px; color: var(--violet, #6b4cff); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-ajout { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pg-ajout input[type=text] { flex: 1 1 200px; min-width: 0; }
.pg-ajout .pg-retour { flex: 0 0 100%; margin: 0; }
@media (max-width: 700px) { .pg-pub { grid-template-columns: minmax(0, 1fr); } }
/* Le rôle de la personne dans l'équipe, quand elle ne gère pas la chaîne (30/10/2026). */
.role-note { margin: 0 0 22px; padding: 12px 16px; border-radius: 14px; background: rgba(107,76,255,.10); font-size: 14px; }
.role-note b { font-weight: 800; }
.etape-api .num small { font-size: 11px; line-height: 1; margin-top: -10px; text-transform: uppercase; letter-spacing: .06em; }
/* Case du logo en sombre quand la chaîne n'a qu'un logo clair (30/10/2026). */
.identite .logo.sombre { background: #120f2e; }
/* Pays au dépôt (09/11/2026) */
.depot-pays { display: flex; max-width: 100%; }
.depot-pays button { flex: 1 1 auto; justify-content: center; padding: 11px 14px; white-space: nowrap; }
@media (max-width: 520px) { .depot-pays button { padding: 10px 8px; font-size: 13.5px; } }
.depot-pays-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.depot-pays-puces:empty { display: none; }
.depot-pays-puces button { padding: 7px 13px; border: 0; border-radius: 999px; background: var(--menthe, #2ee59d); color: var(--nuit, #120f2e); font: 700 13.5px "Figtree", sans-serif; cursor: pointer; }
#dPaysChoix select { margin-top: 6px; }
