/* naoo : bugs.naoo.blog, events.naoo.blog, admin.naoo.blog.
 * Le style du thème Tumblr de naoo (affiche sérigraphiée : fond noir, encres
 * rose, menthe et jaune, titres en Dela Gothic One). */
:root {
  --fond: #141414; --texte: #F1EDE4; --rose: #FF4FA3; --menthe: #48E5C2; --jaune: #F7E733;
  --doux: #CFCAC0; --discret: #B8B4AC; --filet: #3A3A3A; --bord: #5A5A56; --gris: #8A8A84; --creux: #1D1D1B;
  --titre: 'Dela Gothic One', 'Arial Black', sans-serif;
  --machine: 'IBM Plex Mono', ui-monospace, monospace;
  --lecture: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --large: 1200px; --marge: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--lecture); font-size: 19px; line-height: 1.7; overflow-x: hidden; }
a { color: var(--texte); }
a:hover { color: var(--jaune); }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; }


.kicker { margin: 0; font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .3em; line-height: 1.4; text-transform: uppercase; color: var(--menthe); }
.kicker--rose { color: var(--rose); } .kicker--jaune { color: var(--jaune); } .kicker--encre { color: var(--fond); } .kicker--gris { color: var(--gris); }

.pastille { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 2px solid var(--texte); border-radius: 999px; font-family: var(--lecture); font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; color: var(--texte); background: transparent; cursor: pointer; text-align: center; }
.pastille:hover { color: var(--fond); background: var(--texte); }
.pastille--rose { background: var(--rose); border-color: var(--rose); color: var(--fond); }
.pastille--jaune { background: var(--jaune); border-color: var(--jaune); color: var(--fond); }
.pastille--menthe { background: var(--menthe); border-color: var(--menthe); color: var(--fond); }
.pastille--rose:hover, .pastille--jaune:hover, .pastille--menthe:hover { background: var(--texte); border-color: var(--texte); }
.pastille--petite { min-height: 38px; padding: 0 14px; font-size: 15px; }
.pastille--grande { min-height: 56px; padding: 0 28px; font-size: 18px; }
.pastille--danger { border-color: var(--bord); color: var(--discret); }
.lien-btn { background: none; border: 0; padding: 0; color: var(--doux); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 16px; }
.lien-btn:hover { color: var(--jaune); }

.decale { position: relative; display: inline-block; }
.decale__ombre { position: absolute; left: 0; top: 0; width: 100%; mix-blend-mode: screen; pointer-events: none; }
.decale__ombre--menthe { color: var(--menthe); transform: translate(-5px, 4px); }
.decale__ombre--rose { color: var(--rose); transform: translate(5px, -3px); }
.decale__face { position: relative; mix-blend-mode: screen; }

.barre { border-bottom: 2px solid var(--texte); }
.barre__dedans { max-width: var(--large); margin: 0 auto; padding: 18px var(--marge); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.logo__naoo { font-family: var(--titre); font-size: 46px; line-height: 1; text-transform: uppercase; }
.logo__site { font-family: var(--machine); font-weight: 700; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; }
.logo__site--bugs { color: var(--rose); } .logo__site--events { color: var(--jaune); } .logo__site--admin, .logo__site--beta { color: var(--menthe); }
.menu { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qui { font-family: var(--machine); font-size: 14px; color: var(--doux); }

.page { max-width: var(--large); margin: 0 auto; padding: 72px var(--marge) 120px; display: flex; flex-direction: column; gap: 64px; }
.page--etroite { max-width: 920px; }
.tete { display: flex; flex-direction: column; gap: 20px; }
.tete__titre { margin: 0; font-family: var(--titre); font-size: clamp(52px, 9vw, 120px); line-height: .95; color: var(--jaune); overflow-wrap: anywhere; }
.tete__titre--rose .decale__face { color: var(--rose); }
.tete__intro { margin: 0; max-width: 38rem; color: var(--doux); font-size: 21px; line-height: 1.6; }
.titre-section { margin: 0; font-family: var(--titre); font-size: 40px; line-height: 1.1; }
.rangee { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entre { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.retour { font-weight: 700; text-decoration: none; color: var(--doux); align-self: flex-start; }
.vide { margin: 0; padding: 40px; border: 2px dashed var(--bord); color: var(--doux); text-align: center; }

.jeux { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.jeu { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 2px solid var(--texte); text-decoration: none; background: transparent; color: var(--texte); text-align: left; cursor: pointer; }
.jeu:hover { border-color: var(--jaune); color: var(--texte); }
.jeu--actif, .jeu--actif:hover { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.jeu--actif .kicker { color: var(--fond); }
.jeu__nom { font-family: var(--titre); font-size: 28px; line-height: 1.1; }
.jeu__chiffres { font-family: var(--machine); font-size: 13px; letter-spacing: .08em; line-height: 1.5; }
.jeu--chantier { border-style: dashed; border-color: var(--bord); color: var(--gris); cursor: default; }
.jeu--chantier:hover { border-color: var(--bord); color: var(--gris); }

.statut { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 4px; font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.statut--attente { border: 1px dashed var(--rose); color: var(--rose); }
.statut--ouvert { border: 2px solid var(--texte); }
.statut--confirme { background: var(--jaune); color: var(--fond); }
.statut--cours { background: var(--menthe); color: var(--fond); }
.statut--corrige { border: 2px solid var(--menthe); color: var(--menthe); }
.statut--ferme { border: 1px solid var(--bord); color: var(--gris); }
.statut--prive { background: var(--rose); color: var(--fond); }

.filtres { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; border-top: 2px solid var(--texte); border-bottom: 1px solid var(--filet); }
.recherche { display: flex; gap: 12px; flex-wrap: wrap; }
.champ { width: 100%; min-height: 52px; padding: 0 18px; border: 2px solid var(--texte); border-radius: 0; background: transparent; color: var(--texte); font-family: var(--lecture); font-size: 18px; }
.recherche .champ { flex: 1 1 320px; width: auto; }
textarea.champ { min-height: 130px; padding: 14px 18px; line-height: 1.6; resize: vertical; }
select.champ { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--texte) 50%), linear-gradient(-45deg, transparent 50%, var(--texte) 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select.champ option { background: var(--fond); }
.champ--petit { min-height: 42px; font-size: 16px; padding: 0 12px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--bord); border-radius: 20px; font-family: var(--machine); font-size: 14px; line-height: 1.4; text-decoration: none; background: transparent; color: var(--texte); cursor: pointer; }
.puce:hover { border-color: var(--jaune); color: var(--texte); }
.puce--on, .puce--on:hover { background: var(--texte); color: var(--fond); border-color: var(--texte); }

.bugs { margin: 0; padding: 0; list-style: none; }
.bug { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.bug__num { font-family: var(--machine); font-weight: 700; font-size: 15px; color: var(--discret); }
.bug__titre { font-family: var(--titre); font-size: 22px; line-height: 1.25; text-decoration: none; }
.bug__infos { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--machine); font-size: 13px; line-height: 1.5; color: var(--doux); }
.repondu { color: var(--rose); font-weight: 700; }
.bug__droite { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.moi-aussi { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--bord); border-radius: 19px; background: transparent; color: var(--texte); font-family: var(--machine); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.moi-aussi:hover { border-color: var(--jaune); color: var(--jaune); }
.moi-aussi--on, .moi-aussi--on:hover { background: var(--jaune); border-color: var(--jaune); color: var(--fond); }

.fiche { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.fiche__principal { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.fiche__titre { margin: 0; font-family: var(--titre); font-size: clamp(34px, 5vw, 60px); line-height: 1.05; overflow-wrap: anywhere; }
.bloc { display: flex; flex-direction: column; gap: 12px; }
.bloc h2 { margin: 0; font-family: var(--titre); font-size: 26px; line-height: 1.15; color: var(--rose); }
.bloc p, .bloc ol { margin: 0; }
.bloc ol { padding-left: 28px; }
.captures { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.capture { aspect-ratio: 16 / 9; background-color: #3A1A2C; background-image: radial-gradient(var(--rose) 30%, transparent 32%); background-size: 8px 8px; display: flex; align-items: flex-end; padding: 8px; font-family: var(--machine); font-size: 12px; }
.capture--menthe { background-color: #123A33; background-image: radial-gradient(var(--menthe) 30%, transparent 32%); }
.reponse { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--rose); color: var(--fond); }
.reponse__qui { margin: 0; font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
.reponse__texte { margin: 0; font-family: var(--titre); font-size: 24px; line-height: 1.3; white-space: pre-line; }
.technique { flex: 1 1 320px; min-width: 0; border: 2px solid var(--texte); align-self: flex-start; }
.technique__titre { margin: 0; padding: 16px 24px; background: var(--texte); color: var(--fond); font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .2em; line-height: 1.4; }
.technique dl { margin: 0; padding: 24px; display: grid; grid-template-columns: max-content 1fr; gap: 14px 24px; font-size: 17px; line-height: 1.5; }
.technique dt { font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .1em; line-height: 2; color: var(--menthe); text-transform: uppercase; }
.technique dd { margin: 0; }
.technique__pied { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.fil-statut { margin: 0; padding: 0; list-style: none; }
.fil-statut li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--filet); font-size: 16px; line-height: 1.5; }
.fil-statut time { font-family: var(--machine); font-size: 13px; color: var(--discret); line-height: 1.9; }

.formulaire { display: flex; flex-direction: column; gap: 30px; }
.question { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.question label, .question legend { font-family: var(--titre); font-size: 22px; line-height: 1.2; }
.question__aide { margin: 0; color: var(--discret); font-size: 16px; line-height: 1.5; }
.question--petite label, .question--petite legend { font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--menthe); }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix label { position: relative; font-family: var(--lecture); font-size: 16px; }
.choix input { position: absolute; opacity: 0; }
.choix span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--bord); border-radius: 23px; font-weight: 700; font-size: 16px; cursor: pointer; letter-spacing: 0; text-transform: none; color: var(--texte); }
.choix input:checked + span { background: var(--texte); border-color: var(--texte); color: var(--fond); }
.choix input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 3px; }
.depot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px; border: 2px dashed var(--bord); text-align: center; color: var(--doux); font-size: 16px; cursor: pointer; }
.depot:hover { border-color: var(--jaune); }
.avertir { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; border-left: 6px solid var(--jaune); background: var(--creux); font-size: 16px; line-height: 1.55; }
.avertir p { margin: 0; }
.doublons { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; border: 2px solid var(--menthe); }
.doublons p { margin: 0; }
.doublons ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.doublons li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.doublons a { font-weight: 700; }
.erreur { color: var(--rose); font-weight: 700; font-size: 16px; margin: 0; }

.ticket { position: relative; display: flex; flex-wrap: wrap; background: var(--menthe); color: var(--fond); }
.ticket a:not(.pastille) { color: var(--fond); }
.ticket__corps { flex: 999 1 560px; min-width: 0; padding: 48px 48px 40px; display: flex; flex-direction: column; gap: 16px; }
.ticket__corps h1, .ticket__corps h2 { margin: 0; font-family: var(--titre); font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.ticket__corps p { margin: 0; max-width: 36rem; }
.ticket__talon { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 32px; border-left: 3px dashed var(--fond); line-height: 1.4; text-align: center; }
.ticket__trou { position: absolute; right: 246px; width: 28px; height: 28px; border-radius: 50%; background: var(--fond); }
.ticket__trou--haut { top: -14px; } .ticket__trou--bas { bottom: -14px; }
.ticket .pastille { border-color: var(--fond); color: var(--fond); }
.ticket .pastille:hover { background: var(--fond); color: var(--texte); }
.ticket .pastille--plein { background: var(--fond); color: var(--menthe); }
.ticket--jaune { background: var(--jaune); } .ticket--jaune .pastille--plein { color: var(--jaune); }
.ticket--rose { background: var(--rose); } .ticket--rose .pastille--plein { color: var(--rose); }
.ticket__grand { font-family: var(--titre); font-size: 56px; line-height: .9; }
.ticket__petit { font-family: var(--machine); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

.onglets { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--texte); }
.onglet { padding: 12px 20px; font-family: var(--titre); font-size: 19px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; border-bottom: 0; margin-bottom: -2px; }
.onglet--on { border-color: var(--texte); background: var(--fond); color: var(--jaune); }
.onglet small { font-family: var(--machine); font-size: 13px; color: var(--discret); }
.colonnes { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.colonnes__grande { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.colonnes__petite { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.carte { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--bord); text-decoration: none; }
a.carte:hover { border-color: var(--jaune); color: var(--texte); }
.carte h3 { margin: 0; font-family: var(--titre); font-size: 22px; line-height: 1.25; }
.carte p { margin: 0; color: var(--doux); font-size: 17px; line-height: 1.55; }
.carte__pied { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-family: var(--machine); font-size: 13px; color: var(--discret); }
.carte--naoo { border-color: var(--rose); border-width: 2px; }
.type { font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.type--bug { color: var(--rose); } .type--idee { color: var(--jaune); } .type--avis { color: var(--menthe); } .type--question { color: var(--texte); }
.focus { border: 2px solid var(--texte); }
.focus h3 { margin: 0; padding: 14px 20px; background: var(--texte); color: var(--fond); font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .2em; }
.focus ol { margin: 0; padding: 20px 20px 20px 44px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }
.version { font-family: var(--machine); font-size: 14px; color: var(--menthe); }
.panneau { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 2px solid var(--jaune); background: var(--creux); }
.panneau h3 { margin: 0; font-family: var(--titre); font-size: 26px; }
.reponses { display: flex; flex-direction: column; gap: 14px; }
.rep { padding: 18px 22px; border-left: 4px solid var(--bord); background: var(--creux); }
.rep--naoo { border-left-color: var(--rose); }
.rep__qui { font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--discret); }
.rep--naoo .rep__qui { color: var(--rose); }
.rep p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; white-space: pre-line; }

.connexion { max-width: 560px; display: flex; flex-direction: column; gap: 22px; padding: 44px; border: 2px solid var(--texte); }
.connexion h2 { margin: 0; font-family: var(--titre); font-size: 44px; line-height: 1.05; }
.connexion p { margin: 0; color: var(--doux); }
.bouton-roblox { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 28px; background: var(--texte); color: var(--fond); border: 0; border-radius: 999px; font-weight: 700; font-size: 18px; cursor: pointer; }
.bouton-roblox:hover { background: var(--jaune); }
.variantes { display: inline-flex; border: 1px solid var(--bord); border-radius: 22px; overflow: hidden; font-family: var(--machine); font-size: 13px; }
.variantes button { min-height: 40px; padding: 0 16px; background: transparent; color: var(--discret); border: 0; cursor: pointer; }
.variantes button.on { background: var(--jaune); color: var(--fond); font-weight: 700; }

.admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 130px); }
.admin__nav { border-right: 2px solid var(--texte); padding: 24px 0; display: flex; flex-direction: column; }
.admin__nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 26px; text-decoration: none; font-weight: 700; font-size: 17px; }
.admin__nav a.on { background: var(--texte); color: var(--fond); }
.compte { min-width: 28px; padding: 0 8px; border-radius: 14px; background: var(--rose); color: var(--fond); font-family: var(--machine); font-size: 13px; text-align: center; line-height: 24px; }
.compte--jaune { background: var(--jaune); } .compte--menthe { background: var(--menthe); }
.admin__nav .groupe { padding: 22px 26px 6px; font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--discret); text-transform: uppercase; }
.admin__corps { padding: 40px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.admin__corps h1 { margin: 0; font-family: var(--titre); font-size: 44px; line-height: 1.05; }
.admin__corps h2 { margin: 0; font-family: var(--titre); font-size: 28px; line-height: 1.15; }
.a-valider { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 2px solid var(--texte); }
.a-valider h2 { margin: 0; font-family: var(--titre); font-size: 24px; line-height: 1.2; }
.a-valider p { margin: 0; color: var(--doux); font-size: 17px; line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--machine); font-size: 13px; color: var(--discret); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--filet); }
.compteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.compteur { padding: 20px; border: 1px solid var(--bord); text-decoration: none; display: block; }
a.compteur:hover { border-color: var(--jaune); color: var(--texte); }
.compteur b { display: block; font-family: var(--titre); font-size: 40px; line-height: 1; }
.compteur span { font-family: var(--machine); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); }
.deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tableau th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--texte); font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--discret); white-space: nowrap; }
.tableau td { padding: 14px 12px; border-bottom: 1px solid var(--filet); vertical-align: middle; }
.tableau tr.cliquable { cursor: pointer; }
.tableau tr.cliquable:hover td { background: var(--creux); }
.tableau .num { font-family: var(--machine); color: var(--discret); white-space: nowrap; }
.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.interrupteur p { margin: 0; font-size: 16px; color: var(--doux); }
.bascule { position: relative; width: 56px; height: 30px; flex: 0 0 auto; border-radius: 15px; border: 2px solid var(--texte); background: transparent; cursor: pointer; }
.bascule::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--texte); transition: left .15s; }
.bascule[aria-pressed="true"] { background: var(--menthe); border-color: var(--menthe); }
.bascule[aria-pressed="true"]::after { left: 29px; background: var(--fond); }

.legende { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--machine); font-size: 13px; line-height: 1.4; }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.pt { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.pt--sortie { background: var(--rose); } .pt--beta { background: var(--menthe); } .pt--event { background: var(--jaune); }
.pt--flash { border: 2px solid var(--jaune); } .pt--maj { border: 2px solid var(--texte); }
.mois-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mois-tete h2 { margin: 0; font-family: var(--titre); font-size: 48px; line-height: 1; }
.mois { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--texte); border-left: 1px solid var(--filet); }
.mois__nom { padding: 10px 12px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--discret); }
.case { min-height: 128px; padding: 8px 0; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.case__num { font-family: var(--machine); font-weight: 700; font-size: 14px; padding: 0 8px; }
.case--hors .case__num { color: #555; }
.case--auj { box-shadow: inset 0 0 0 3px var(--jaune); }
.ev { display: block; margin: 0 6px; padding: 3px 7px; border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.35; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev:hover { filter: brightness(1.12); color: inherit; }
.ev--sortie { background: var(--rose); color: var(--fond); }
.ev--beta { background: var(--menthe); color: var(--fond); }
.ev--event { background: var(--jaune); color: var(--fond); }
.ev--flash { border: 2px solid var(--jaune); color: var(--jaune); padding: 1px 5px; }
.ev--maj { border: 2px solid var(--texte); padding: 1px 5px; }
.ev--suite { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; color: transparent; }
.ev--continue { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ev--testeurs { outline: 2px dashed var(--rose); outline-offset: -2px; }
.a-venir { margin: 0; padding: 0; list-style: none; }
.a-venir li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 6px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.date-bloc { display: flex; flex-direction: column; line-height: 1; }
.date-bloc b { font-family: var(--titre); font-size: 44px; }
.date-bloc span { font-family: var(--machine); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--discret); margin-top: 6px; }
.a-venir__titre { font-family: var(--titre); font-size: 24px; line-height: 1.2; text-decoration: none; }
.a-venir__infos { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--machine); font-size: 13px; color: var(--doux); }
.a-venir__droite { grid-column: 3; grid-row: 1 / span 2; }
.etiq { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 4px; font-family: var(--machine); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.etiq--sortie { background: var(--rose); color: var(--fond); } .etiq--beta { background: var(--menthe); color: var(--fond); }
.etiq--event { background: var(--jaune); color: var(--fond); } .etiq--flash { border: 2px solid var(--jaune); color: var(--jaune); }
.etiq--maj { border: 2px solid var(--texte); }
.compte-rebours { display: flex; gap: 20px; flex-wrap: wrap; }
.compte-rebours div { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.compte-rebours b { font-family: var(--titre); font-size: 56px; }
.compte-rebours span { font-family: var(--machine); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
.abonner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: 32px; border: 2px dashed var(--bord); }
.abonner h3 { margin: 0; font-family: var(--titre); font-size: 26px; line-height: 1.15; }
.abonner p { margin: 0; color: var(--doux); font-size: 17px; }

.pied { border-top: 2px solid var(--texte); font-size: 16px; line-height: 1.5; }
.pied__dedans { max-width: var(--large); margin: 0 auto; padding: 32px var(--marge); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; }
.pied a { font-weight: 700; text-decoration: none; }
.pied__mention { margin: 0; font-family: var(--machine); font-size: 12px; letter-spacing: .08em; color: var(--discret); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translateX(-50%); max-width: calc(100vw - 40px); padding: 14px 22px; background: var(--jaune); color: var(--fond); font-weight: 700; font-size: 16px; line-height: 1.4; box-shadow: 6px 6px 0 var(--rose); }

@media (max-width: 980px) {
  .ticket__talon { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 24px 32px; border-left: 0; border-top: 3px dashed var(--fond); }
  .ticket__trou { display: none; }
  .admin { grid-template-columns: 1fr; }
  .admin__nav { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 2px solid var(--texte); padding: 8px; }
  .admin__nav .groupe { display: none; }
  .admin__nav a { padding: 8px 12px; font-size: 15px; }
}
@media (max-width: 720px) {
  :root { --marge: 20px; }
  body { font-size: 18px; }
  .page { padding-top: 44px; gap: 48px; }
  .logo__naoo { font-size: 36px; }
  .ticket__corps { padding: 32px 24px; }
  .bug { grid-template-columns: 1fr; }
  .bug__infos, .bug__droite { grid-column: 1; grid-row: auto; align-items: center; flex-direction: row; flex-wrap: wrap; }
  .grille-mois { display: none; }
  .liste-seule-mobile { display: block !important; }
  .a-venir li { grid-template-columns: 70px minmax(0, 1fr); }
  .a-venir__droite { grid-column: 2; grid-row: auto; }
  .date-bloc b { font-size: 34px; }
  .admin__corps { padding: 24px var(--marge); }
  .connexion, .reponse, .a-valider, .panneau { padding: 22px; }
  .onglet { padding: 10px 12px; font-size: 16px; }
  .compte-rebours b { font-size: 42px; }
}

/* Ce que la maquette n'avait pas : messages, aperçus, accessibilité */
.cache-visuel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alerte { margin: 0; padding: 16px 22px; border-left: 6px solid var(--menthe); background: var(--creux); font-weight: 700; font-size: 17px; line-height: 1.5; }
.alerte--erreur { border-left-color: var(--rose); color: var(--rose); }
.apercus { display: flex; flex-wrap: wrap; gap: 10px; }
.apercus img { width: 120px; height: 68px; object-fit: cover; border: 1px solid var(--bord); }
.capture-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--bord); }
a.capture-lien:hover .capture-img { border-color: var(--jaune); }
.depot input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot { position: relative; }
.depot:focus-within { outline: 3px solid var(--jaune); outline-offset: 3px; }
form.en-ligne { display: inline; margin: 0; }
.connexion--admin { margin: 80px auto; }
.texte-doux { color: var(--doux); }
.pagination-mois { display: flex; flex-wrap: wrap; gap: 10px; }
.lien-discret { color: var(--doux); font-weight: 700; text-decoration: none; }
.lien-discret:hover { color: var(--jaune); }
.etat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--machine); font-size: 13px; }
.etat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gris); }
.etat--ok::before { background: var(--menthe); }
.etat--panne::before { background: var(--rose); }
.variantes a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; color: var(--discret); text-decoration: none; }
.variantes a.on { background: var(--jaune); color: var(--fond); font-weight: 700; }

/* Les écrans de l'admin repris du socle (notifications, fréquentation) */
.admin-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--bord); }
.admin-card h2, .admin-card h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 24px; line-height: 1.2; }
.admin-card p { margin: 0; }
.admin__corps .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 2px solid var(--texte); border-radius: 999px; background: transparent; color: var(--texte); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.admin__corps .btn:hover { background: var(--texte); color: var(--fond); }
.admin__corps .btn-primary { background: var(--menthe); border-color: var(--menthe); color: var(--fond); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.admin-stat-card { padding: 20px; border: 1px solid var(--bord); }
.admin-stat-value { display: block; font-family: var(--titre); font-size: 36px; line-height: 1; }
.admin-stat-label { font-family: var(--machine); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); }
.admin__corps table { border-collapse: collapse; }
.admin__corps input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.champ), .admin__corps select:not(.champ), .admin__corps textarea:not(.champ) { min-height: 40px; padding: 0 10px; border: 2px solid var(--texte); background: transparent; color: var(--texte); font: inherit; font-size: 16px; }
.admin__corps code { font-family: var(--machine); font-size: .9em; color: var(--jaune); }
