/* LE KIT DU STYLE NEUF (b5, le 29/10/2026 ; la maquette de la tête validée par le propriétaire à 23:1x : « c'est beaucoup mieux ») :
   TOUT ARRONDI (panneaux de 18 à 24 px, boutons de 12 à 16 px), des ombres douces ; des BOUTONS DE JEU à lèvre (un dégradé, un bord du
   bas plus foncé, ils s'enfoncent au clic) : orange pour Jouer, or pour la boutique et l'action, sombre, bleu pour le Discord ; la
   police des titres dans UNE variable (--police-titre : Chewy, choisie par le propriétaire), Fredoka pour le texte ; une barre en
   verre, flottante et arrondie ; un tiroir en cartes à icônes au téléphone ; des fenêtres en carte crème. NOS couleurs (la nuit
   violette, l'or, l'orange de Jouer), nos images. Chargée par chaque page juste après css/motifs.css (b5_assembleur/barre.js). */

@font-face { font-family: "Chewy"; src: url("../assets/polices/chewy.woff2") format("woff2"); font-display: swap; }

:root {
  --police-titre: "Chewy", "Lilita One", "Fredoka", sans-serif;
  --police-bouton: "Lilita One", "Fredoka", sans-serif;
  --nuit: #140D22; --nuit-2: #1D1430; --carte: #241A3A; --carte-2: #2D2247; --trait: rgba(255, 255, 255, .09);
  --or-k: #FFCF5A; --or-k2: #F3A93A; --or-k-fonce: #B9741F; --orange: #FF8A3D; --orange-2: #EC6A1F; --orange-fonce: #B44A12;
  --creme: #FBEFD6; --creme-2: #F2DCAF; --brun: #4A2F1C; --violet-k: #9B5DE5; --violet-trait: #C9A8FF; --rose: #FF5FA2; --vert-k: #46D27A;
  --titre-creme: #FFF6DC; --ombre-titre: 0 4px 0 #3A1F12, 0 5px 0 #3A1F12, 0 12px 26px rgba(0, 0, 0, .45);
  --r-panneau: 22px; --r-carte: 20px; --r-bouton: 14px; --r-champ: 14px;
  --ombre-douce: 0 14px 30px rgba(0, 0, 0, .35);
}
body { background: var(--nuit); }

/* ---------- LES TITRES : Chewy, crème, une ombre brune pleine dessous ---------- */
h1, h2, h3 { font-family: var(--police-titre); font-weight: 400; letter-spacing: .3px; }
h1, h2 { text-shadow: var(--ombre-titre); }
.sur-titre { font-family: "Fredoka", sans-serif; }

/* ---------- LES BOUTONS DE JEU (la classe .bouton de toutes les pages, et ses couleurs) ---------- */
.bouton {
  border: 0; border-image: none; image-rendering: auto; border-radius: var(--r-bouton); padding: 12px 22px 13px; min-height: 48px;
  font-family: var(--police-bouton); font-weight: 400; font-size: 17px; letter-spacing: .4px; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, #3F2C60, #2A1C42); box-shadow: 0 5px 0 #120A1E, 0 10px 22px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: transform .1s ease, box-shadow .1s ease, filter .15s ease;
}
.bouton:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bouton:active { transform: translateY(4px); box-shadow: 0 1px 0 #120A1E, 0 4px 10px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .16); filter: none; }
.bouton:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bouton-or { color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 45%, var(--or-k2)); box-shadow: 0 5px 0 var(--or-k-fonce), 0 10px 22px rgba(243, 169, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .5); text-shadow: none; }
.bouton-or:active { box-shadow: 0 1px 0 var(--or-k-fonce), 0 4px 10px rgba(243, 169, 58, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.bouton-orange { color: #fff; background: linear-gradient(180deg, #FFA35C, var(--orange) 45%, var(--orange-2)); box-shadow: 0 5px 0 var(--orange-fonce), 0 10px 22px rgba(236, 106, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .35); text-shadow: 0 2px 0 rgba(120, 40, 0, .35); }
.bouton-orange:active { box-shadow: 0 1px 0 var(--orange-fonce), 0 4px 10px rgba(236, 106, 31, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
.bouton-bois, .bouton-sombre { color: #fff; background: rgba(28, 19, 46, .9); border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 5px 0 rgba(0, 0, 0, .5), 0 10px 22px rgba(0, 0, 0, .25); text-shadow: none; }
.bouton-bois:active, .bouton-sombre:active { box-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.bouton-vert { color: #fff; background: linear-gradient(180deg, #7BE59C, var(--vert-k) 45%, #2FA95E); box-shadow: 0 5px 0 #1E6E3C, 0 10px 22px rgba(46, 169, 94, .3), inset 0 1px 0 rgba(255, 255, 255, .35); text-shadow: 0 2px 0 rgba(10, 60, 30, .4); }
.bouton-rouge { color: #fff; background: linear-gradient(180deg, #FF7A6B, #E8463A 45%, #C73328); box-shadow: 0 5px 0 #7E1C14, 0 10px 22px rgba(199, 51, 40, .3), inset 0 1px 0 rgba(255, 255, 255, .3); text-shadow: 0 2px 0 rgba(90, 15, 10, .4); }
.bouton-discord { color: #fff; background: linear-gradient(180deg, #7A86FF, #5865F2 50%, #4752D6); box-shadow: 0 5px 0 #323A9C, 0 10px 22px rgba(88, 101, 242, .35), inset 0 1px 0 rgba(255, 255, 255, .3); text-shadow: 0 2px 0 rgba(20, 20, 80, .35); }
.bouton-discord:active { box-shadow: 0 1px 0 #323A9C; }
.bouton.grand { font-size: 21px; padding: 15px 28px 16px; min-height: 58px; border-radius: 16px; border-width: 0; }
.bouton.petit { font-size: 15px; padding: 9px 15px 10px; min-height: 42px; border-radius: 12px; border-width: 0; }
.bouton-bois.grand, .bouton-sombre.grand, .bouton-bois.petit, .bouton-sombre.petit { border-width: 2px; }
.bouton[disabled], .bouton[aria-disabled="true"] { filter: grayscale(.6) brightness(.8); cursor: not-allowed; transform: none; }

/* les icônes au trait (le sprite que chaque page porte dans sa barre) */
svg.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
svg.ic.plein { fill: currentColor; stroke: none; }
svg.icones { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- LES PANNEAUX ET LES CARTES : arrondis, ombres douces ---------- */
.panneau-nuit { border-radius: var(--r-panneau); border: 1px solid var(--trait); background: linear-gradient(180deg, var(--carte-2), var(--carte)); box-shadow: var(--ombre-douce), inset 0 1px 0 rgba(255, 255, 255, .05); }
.panneau-bois { border-radius: var(--r-panneau); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--ombre-douce), inset 0 1px 0 rgba(255, 255, 255, .06); }
.panneau-bois::before { display: none; }
.coins-or::after { display: none; }
.carte { border-radius: var(--r-carte); }

/* ---------- LA BARRE : du verre sombre, flottante, arrondie ---------- */
.barre { top: 12px; left: 0; right: 0; margin: 0 auto; width: min(1240px, calc(100% - 24px)); gap: 6px; padding: 8px 8px 8px 12px;
  border-radius: 22px; background: rgba(22, 15, 38, .74); border: 1px solid var(--trait); box-shadow: 0 18px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.barre.posee { padding: 8px 8px 8px 12px; background: rgba(22, 15, 38, .9); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); }
.barre .marque { font-family: var(--police-titre); font-size: 26px; text-shadow: 0 3px 0 #3A1F12; }
.barre nav { gap: 2px; }
.barre nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 13px; border-radius: 14px; border: 0;
  font-family: var(--police-bouton); font-weight: 400; font-size: 15px; letter-spacing: .4px; text-transform: uppercase; color: #F4ECFF; }
.barre nav a:not(.bouton):hover, .barre nav a:not(.bouton)[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; border: 0; }
.barre nav a:not(.bouton)[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--or-k); }
.barre nav a:focus-visible { outline: 3px solid var(--or-k); outline-offset: 2px; }
.barre nav a .ic { color: var(--violet-trait); }
.barre nav a.bouton .ic { color: currentColor; }
.barre nav a.bouton { margin: 0 4px; padding: 9px 15px 10px; border-bottom: 0; }
.barre nav a.bouton, .barre nav a.bouton:hover { border-bottom: 0; }
.barre nav a.boutique.bouton { color: #4A2B07; }
.barre nav a.classement { gap: 8px; }
.barre .pastille { width: auto; height: auto; /* (86, 03/11, l'audit du site, n° 4) la pastille de la LEGENDE de la carte (carte.css : .pastille 14 x 14) ecrasait ce badge sur cette seule page */ position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; font: 400 10px var(--police-bouton); letter-spacing: .5px;
  color: #fff; background: var(--rose); box-shadow: 0 2px 0 #B8326D; white-space: nowrap; pointer-events: none; }
/* le compte : un carré d'or arrondi (connecté : sa tête) */
.barre nav a.barre-compte { width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 0; margin-left: 4px; justify-content: center; border-radius: 14px; border: 0;
  color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 50%, var(--or-k2)); box-shadow: 0 4px 0 var(--or-k-fonce), inset 0 1px 0 rgba(255, 255, 255, .5); }
.barre nav a.barre-compte:hover, .barre nav a.barre-compte[aria-current="page"] { color: #4A2B07; background: linear-gradient(180deg, #FFE9A8, #FFD777 50%, #F7B653); border: 0; }
.barre nav a.barre-compte:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--or-k-fonce); }
.barre nav a.barre-compte .ic { color: #4A2B07; width: 22px; height: 22px; }
.barre nav a.barre-compte .barre-mot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.barre-tete { width: 30px; height: 30px; border-radius: 8px; background-size: 240px 240px; background-position: -150px -30px, -30px -30px; box-shadow: 0 0 0 2px rgba(74, 43, 7, .45); }
.barre-pseudo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* de 961 à 1240 px : les icônes des liens partent (le mot reste), le nom du logo aussi */
@media (min-width: 961px) and (max-width: 1240px) {
  .barre nav a:not(.bouton):not(.barre-compte) .ic { display: none; }
  .barre nav a { padding: 9px 10px; font-size: 14px; }
  .barre .marque span { display: none; }
}
@media (min-width: 961px) and (max-width: 1060px) { .barre nav a { padding: 9px 8px; font-size: 13.5px; } .barre nav a.bouton { padding: 9px 12px 10px; } }

/* ---------- LE TIROIR DU TÉLÉPHONE : un panneau qui glisse, des cartes à icônes ---------- */
@media (max-width: 960px) {
  .barre { top: 10px; width: calc(100% - 20px); padding: 6px 6px 6px 10px; border-radius: 18px; }
  .barre .marque { font-size: 22px; }
  .barre nav a.bouton.jouer { display: inline-flex; }
  .barre nav a:not(.bouton):not(.barre-compte) { display: none; }
  .barre nav a.barre-compte { display: none; }
  .menu-bouton { order: 2; margin-left: 0; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
    font: 400 15px var(--police-bouton); letter-spacing: .4px; text-transform: uppercase; color: #fff; }
  .barre nav { order: 3; margin-left: 6px; }
  .barre .marque { margin-right: auto; }
  .menu-tiroir { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(360px, 100%); max-height: none; margin: 0; padding: 18px 16px 22px; border: 0; border-radius: 0;
    overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #1B1330, #150E25); border-left: 1px solid var(--trait); box-shadow: -20px 0 50px rgba(0, 0, 0, .55); z-index: 80;
    display: flex; flex-direction: column; animation: tiroir-entre .22s cubic-bezier(.2, .8, .2, 1); }
  .menu-tiroir[hidden] { display: none; }
  .menu-voile { position: fixed; inset: 0; z-index: 75; background: rgba(8, 4, 14, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .menu-voile[hidden] { display: none; }
  html.tiroir-ouvert, html.tiroir-ouvert body { overflow: hidden; }
  .menu-bouton .ic { width: 20px; height: 20px; }
  .menu-tiroir .tiroir-haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .menu-tiroir .tiroir-haut img { width: 120px; height: auto; }
  .menu-tiroir .tiroir-fermer { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; border: 2px solid rgba(255, 255, 255, .14); background: transparent; color: #E8DCFF; cursor: pointer; }
  .menu-tiroir ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .menu-tiroir li a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--trait); border-left-width: 1px;
    background: rgba(255, 255, 255, .045); font: 400 17px var(--police-bouton); letter-spacing: .5px; text-transform: uppercase; color: #F3ECFF; }
  .menu-tiroir li a .ic { width: 22px; height: 22px; color: var(--violet-trait); }
  .menu-tiroir li a .pastille { width: auto; height: auto; position: static; transform: none; margin-left: auto; padding: 2px 8px; border-radius: 999px; font: 400 11px var(--police-bouton); letter-spacing: .5px; color: #fff; background: var(--rose); box-shadow: 0 2px 0 #B8326D; }
  .menu-tiroir li a:hover, .menu-tiroir li a:focus-visible { background: rgba(255, 255, 255, .09); border-color: rgba(255, 207, 90, .5); border-left-color: rgba(255, 207, 90, .5); color: #fff; }
  .menu-tiroir li a[aria-current="page"] { background: rgba(155, 93, 229, .22); border-color: rgba(201, 168, 255, .45); color: #fff; }
  .menu-tiroir a.t-boutique { margin-top: 4px; color: #4A2B07; border: 0; background: linear-gradient(180deg, #FFE08A, var(--or-k) 50%, var(--or-k2)); box-shadow: 0 5px 0 var(--or-k-fonce); }
  .menu-tiroir a.t-boutique .ic { color: #4A2B07; }
  .menu-tiroir .tiroir-bas { display: grid; gap: 12px; margin-top: auto; padding-top: 18px; }
  .menu-tiroir .tiroir-bas .bouton { width: 100%; }
  /* (les vieilles règles du tiroir, css/style.css « .menu-tiroir a », ne touchent plus ses deux boutons) */
  .menu-tiroir .tiroir-bas a.bouton { min-height: 58px; padding: 14px 20px 15px; border: 0; border-left: 0; font: 400 19px var(--police-bouton); letter-spacing: .4px; }
  .menu-tiroir .tiroir-bas a.bouton-orange { color: #fff; background: linear-gradient(180deg, #FFA35C, var(--orange) 45%, var(--orange-2)); }
  .menu-tiroir .tiroir-bas a.bouton-discord { color: #fff; background: linear-gradient(180deg, #7A86FF, #5865F2 50%, #4752D6); }
  .menu-tiroir .tiroir-bas a.bouton:hover, .menu-tiroir .tiroir-bas a.bouton:focus-visible { border: 0; filter: brightness(1.08); }
}
@keyframes tiroir-entre { from { transform: translateX(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .menu-tiroir { animation: none; } .bouton, .barre nav a.barre-compte { transition: none; } }

/* ---------- LE PIED : arrondi, ses colonnes, « Retour en haut » ---------- */
footer { border-top: 0; background: linear-gradient(180deg, #120B1E, #0D0816); }
footer .pied { padding: 8px 0 0; }
.pied-titre { font-family: var(--police-titre); font-size: 20px; border-bottom: 0; padding-bottom: 2px; text-shadow: 0 2px 0 #3A1F12; }
footer .pied-colonne a { color: #E7DCF7; font-weight: 600; }
footer .pied-colonne a:hover { color: var(--or-k); text-decoration: none; }
.pied-phrase b { font-family: var(--police-titre); font-size: 28px; text-shadow: 0 3px 0 #3A1F12; }
.pied-gestes a.bouton { text-decoration: none; }
.pied-bas { border-top: 1px solid var(--trait); }

/* ---------- LES CHAMPS ET LA FENÊTRE CRÈME ---------- */
.fenetre-creme { position: relative; border-radius: 26px; color: var(--brun); background: linear-gradient(180deg, var(--creme), var(--creme-2)); box-shadow: 0 8px 0 #C9A66B, 0 26px 50px rgba(0, 0, 0, .45); overflow: hidden; }
.fenetre-creme .f-tete { display: flex; align-items: center; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid rgba(74, 47, 28, .14); }
.fenetre-creme .f-icone { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 15px; background: #F6E3B9; border: 2px solid #E2C48A; color: #8A5A24; }
.fenetre-creme .f-icone .ic { width: 24px; height: 24px; }
.fenetre-creme h2 { font-size: 30px; color: var(--brun); text-shadow: none; text-transform: none; }
.fenetre-creme .f-corps { padding: 14px 22px 4px; }
.fenetre-creme label { display: block; margin: 14px 0 7px; font-weight: 700; font-size: 15px; color: var(--brun); }
.fenetre-creme .f-pied { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px 18px; font-size: 14px; color: #7B5A3D; text-align: center; }
.champ-k { position: relative; display: flex; align-items: center; }
.champ-k input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--r-champ); border: 3px solid #D9B373; background: #FFFAF0; font: 600 18px "Fredoka", sans-serif; color: #3B2615;
  outline: none; box-shadow: 0 0 0 3px rgba(217, 179, 115, .22); transition: border-color .15s ease, box-shadow .15s ease; }
.champ-k input::placeholder { color: #A88A64; }
.champ-k input:focus { border-color: var(--or-k-fonce); box-shadow: 0 0 0 4px rgba(243, 169, 58, .38); }
.champ-k input[aria-invalid="true"] { border-color: #D2483C; box-shadow: 0 0 0 4px rgba(210, 72, 60, .22); }
.champ-k.avec-voir input { padding-right: 92px; }
.champ-k .voir { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 13px; border: 0; border-radius: 11px; cursor: pointer;
  font: 400 14px var(--police-bouton); letter-spacing: .4px; text-transform: uppercase; color: #8A5A24; background: #F3DFB4; }
.champ-k .voir:hover { background: #EED29A; }
.champ-k .voir:focus-visible { outline: 3px solid var(--or-k-fonce); outline-offset: 2px; }
.champ-k .voir[aria-pressed="true"] { color: #fff; background: #8A5A24; }

/* ---------- LA CONNEXION (connexion.html ; b5_assembleur/connexion_kit.js) : une scène du jeu qui vit derrière, le texte et ses atouts
   en cartes, la FENÊTRE CRÈME du formulaire, « Pas encore de compte ? » en carte à part. Des sélecteurs par #connexion : plus forts
   que les règles d'avant (css/compte.css, chargée après le kit) ---------- */
.connexion { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); }
.connexion::before { content: ""; position: absolute; inset: -3%; z-index: -2; background: url("../assets/images/casteria-commencer-palais-1920.webp") center 35% / cover no-repeat; animation: connexion-respire 22s ease-in-out infinite alternate; }
.connexion::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 35% at 78% 30%, rgba(255, 207, 90, .22), transparent 70%), radial-gradient(45% 40% at 15% 70%, rgba(155, 93, 229, .3), transparent 70%),
              linear-gradient(180deg, rgba(20, 13, 34, .82), rgba(20, 13, 34, .62) 40%, rgba(20, 13, 34, .9) 85%, var(--nuit)); }
@keyframes connexion-respire { to { transform: scale(1.06) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) { .connexion::before { animation: none; } }
.connexion-texte h1 { color: var(--titre-creme); }
.connexion-texte .sur-titre { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(255, 207, 90, .14); border: 1px solid rgba(255, 207, 90, .35); color: var(--or-k); }
.connexion-texte .sur-titre::before { display: none; }
.atouts-compte li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(36, 26, 58, .78); border: 1px solid var(--trait); backdrop-filter: blur(6px); }
.atouts-compte li::before { display: none; }
.atouts-compte li .ic { width: 24px; height: 24px; color: var(--or-k); }
.connexion .pas-de-compte { margin-top: 18px; padding: 18px 18px 20px; border: 1px solid rgba(255, 207, 90, .3); border-top: 1px solid rgba(255, 207, 90, .3); border-radius: var(--r-panneau);
  background: linear-gradient(180deg, rgba(45, 34, 71, .92), rgba(36, 26, 58, .92)); box-shadow: var(--ombre-douce); }
.connexion .pas-de-compte h2 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-size: 24px; color: var(--titre-creme); text-shadow: 0 2px 0 #3A1F12; }
.connexion .pas-de-compte h2 .ic { width: 24px; height: 24px; color: var(--or-k); }
.connexion .pas-de-compte .bouton { margin-top: 2px; }
#connexion.fenetre-creme { padding: 0; border: 0; }
#connexion h2 { margin: 0; font-size: 32px; color: var(--brun); }
#connexion .consigne { margin: 2px 0 4px; font-size: 15.5px; color: #6B4A2E; }
#connexion code { color: #8A5A24; background: rgba(138, 90, 36, .12); padding: 0 6px; border-radius: 6px; }
#connexion label { margin: 14px 0 7px; font-size: 15px; color: var(--brun); }
#connexion .champ-k input { min-height: 54px; padding: 0 16px; border: 3px solid #D9B373; border-radius: var(--r-champ); background: #FFFAF0; color: #3B2615; outline: none; }
#connexion .champ-k input:focus { border-color: var(--or-k-fonce); box-shadow: 0 0 0 4px rgba(243, 169, 58, .38); outline: none; }
#connexion .champ-k input[aria-invalid="true"] { border-color: #D2483C; box-shadow: 0 0 0 4px rgba(210, 72, 60, .2); }
#connexion .champ-k.avec-voir input { padding-right: 92px; }
#connexion .mdp { display: flex; gap: 0; }
#connexion .mdp .voir { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-width: 0; min-height: 38px; padding: 0 13px; border: 0; border-radius: 11px;
  font: 400 14px var(--police-bouton); letter-spacing: .4px; text-transform: uppercase; color: #8A5A24; background: #F3DFB4; }
#connexion .mdp .voir:hover { background: #EED29A; }
#connexion .mdp .voir[aria-pressed="true"] { color: #FFF6DC; background: #8A5A24; }
#connexion .aide-champ { color: #8B6B4C; }
#connexion .erreur { border-radius: 14px; color: #6E1A14; background: #FFE3DD; border: 2px solid #E0574C; border-left-width: 2px; }
#connexion .envoyer { width: 100%; margin-top: 20px; }
#connexion .oubli { color: #7B5A3D; }
#connexion .oubli a { color: #8A5A24; text-decoration: underline; text-underline-offset: 3px; }
#connexion .f-pied .ic { width: 16px; height: 16px; }
.deja-connecte { border-radius: var(--r-panneau); border: 1px solid var(--trait); box-shadow: var(--ombre-douce); }
@media (max-width: 960px) {
  .connexion-grille > form { order: -1; }
  #connexion h2 { font-size: 28px; }
  .fenetre-creme .f-tete { padding: 16px 18px 14px; }
  .fenetre-creme .f-corps { padding: 10px 18px 4px; }
}
.connexion .pas-de-compte code { padding: 0 6px; border-radius: 6px; color: var(--or-k); background: rgba(255, 207, 90, .12); }

/* ---------- LES BOÎTES DES PAGES, ARRONDIES (le compte, les fiches, le classement, la FAQ) : « html body » passe devant leurs feuilles,
   chargées après le kit ; chaque page garde ses couleurs ---------- */
html body .compte-tuiles li { border-radius: 18px; border: 1px solid var(--trait); border-top: 3px solid var(--or-k); box-shadow: var(--ombre-douce); }
html body .compte-themes a { border-radius: 14px; border: 1px solid rgba(255, 207, 90, .28); }
html body .compte-themes a:hover, html body .compte-themes a:focus-visible { border-color: var(--or-k); }
html body .fiche-grille li { border-radius: 10px; }
html body .cl-choix { border-radius: 999px; }
html body .faq-liste details { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 207, 90, .3); }
html body .compte-sanction, html body .compte-monter, html body .essai-comptes { border-radius: 14px; }
html body .num-etape { border-radius: 12px; }
/* la boutique : ses packs, ses offres, ses notes et son tableau des grades, arrondis ; le pack choisi garde son or */
html body .pack { border-radius: 20px; }
html body .pack-image { border-radius: 14px; }
html body .pack-marque { border-radius: 999px; }
html body .offre { border-radius: 20px; overflow: hidden; }
html body .rassure li, html body .gagner li, html body .grades-notes li { border-radius: 16px; }
html body .grades-tableau { border-radius: 20px; overflow-x: auto; overflow-y: hidden; }
html body .achat-champ input { border-radius: 14px; }
html body .boutique-etal .alerte, html body .achat-merci, html body .ticket { border-radius: 16px; }

/* ---------- LES LUTINS QUI FLOTTENT (nos modèles rendus dans Blockbench, détourés : assets/illustrations/) : ils bercent doucement,
   jamais devant un texte ni un geste ; immobiles pour qui demande moins de mouvement ; au téléphone, ils se retirent ---------- */
.lutin { position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); animation: lutin-flotte 6s ease-in-out infinite; }
@keyframes lutin-flotte { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.connexion .dedans { position: relative; z-index: 1; }
.lutin-phenix { width: 170px; left: calc(50% - 140px); top: 96px; animation-duration: 5s; }
.lutin-capybara { width: 140px; right: max(8px, calc(50% - 560px)); bottom: -6px; animation-delay: -2s; animation-duration: 7s; }
@media (max-width: 1200px) { .lutin-phenix { left: calc(50% - 90px); width: 140px; } .lutin-capybara { display: none; } }
@media (max-width: 960px) { .lutin { display: none; } }
@media (prefers-reduced-motion: reduce) { .lutin { animation: none; } }
/* la boutique : le Lion ailé du grade Souverain qui plane au-dessus des grades ; au téléphone, le tableau dit qu'il glisse */
.boutique-grades { position: relative; overflow: hidden; }
.boutique-grades .dedans { position: relative; z-index: 1; }
.lutin-lion { width: 230px; right: max(8px, calc(50% - 640px)); top: 20px; animation-duration: 7s; }
@media (max-width: 1240px) { .lutin-lion { width: 170px; top: 6px; } }
.glisse-indice { display: none; }
@media (max-width: 1000px) {
  .glisse-indice { display: flex; justify-content: flex-end; margin: 22px 0 -24px; font: 400 14px var(--police-bouton); letter-spacing: .4px; text-transform: uppercase; color: var(--or-k); }
  html body .grades-tableau { -webkit-mask-image: linear-gradient(90deg, #000 88%, rgba(0, 0, 0, .35)); mask-image: linear-gradient(90deg, #000 88%, rgba(0, 0, 0, .35)); }
}
/* la 404 : le Capybara perdu en mer, sur l'eau à côté du Kraken */
.page .v-c.perdu { width: 26%; left: 2%; bottom: 2%; z-index: 3; }
.page .v-c.perdu img { animation: flotte 5.5s ease-in-out -2s infinite; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .5)); }
@media (prefers-reduced-motion: reduce) { .page .v-c.perdu img { animation: none; } }

/* ---------- (le propriétaire, 23:3x : « PAS DE SCROLL dans le menu mobile ! ») LE TIROIR TIENT SANS DÉFILER à 390 x 664 et 360 x 640 :
   toute la largeur au téléphone, le logo plus petit, les pages en deux colonnes de cartes de 44 px, la Boutique sur toute la
   largeur, puis Jouer et le Discord ; jamais de barre de défilement ---------- */
@media (max-width: 960px) {
  .menu-tiroir { width: min(420px, 100%); padding: 12px 14px 14px; scrollbar-width: none; }
  .menu-tiroir::-webkit-scrollbar { display: none; }
  .menu-tiroir .tiroir-haut { margin-bottom: 10px; }
  .menu-tiroir .tiroir-haut img { width: 62px; height: 62px; }
  .menu-tiroir ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .menu-tiroir li a { min-height: 44px; padding: 0 10px; gap: 8px; border-radius: 12px; font-size: 14px; letter-spacing: .2px; white-space: nowrap; }
  .menu-tiroir li a .ic { width: 18px; height: 18px; }
  .menu-tiroir li a .pastille { margin-left: auto; padding: 1px 6px; font-size: 9px; }
  .menu-tiroir li:has(> a.t-boutique) { grid-column: 1 / -1; }
  .menu-tiroir a.t-boutique { margin-top: 2px; justify-content: center; }
  .menu-tiroir .tiroir-bas { gap: 10px; margin-top: 12px; padding-top: 0; }
  .menu-tiroir .tiroir-bas a.bouton { min-height: 48px; padding: 10px 16px 11px; font-size: 16px; border-radius: 14px; }
}
@media (max-width: 370px) { .menu-tiroir li a { padding: 0 8px; gap: 6px; font-size: 13px; letter-spacing: 0; } .menu-tiroir li a .ic { width: 16px; height: 16px; } }
@media (max-width: 340px) { .menu-tiroir li a { padding: 0 6px; gap: 5px; font-size: 12px; } .menu-tiroir li a .ic { width: 15px; height: 15px; } .menu-tiroir li a .pastille { display: none; } }
/* (b5, 23:5x) à 380 px et moins, le logo seul dans la barre : son nom passait sous le bouton « Menu » (la page d un joueur, à 360) */
@media (max-width: 380px) { .barre .marque span { display: none; } .barre { gap: 4px; } }

/* ---------- LES PIÈCES COMMUNES DE TOUTES LES PAGES, AU STYLE NEUF (la tête, 23:5x ; le propriétaire : « TOUTES LES PAGES du site avec le
   nouveau style ») : les sections claires (.clair, .pan-parchemin) deviennent une crème douce, sans grain de pixels ; leurs titres
   SANS OMBRE DÉCALÉE (le propriétaire : sur fond clair, le titre brun à l'ombre brune se lisait en double) ; les cartes de parchemin
   deviennent des cartes crème arrondies ; le ruban rouge, une pastille ; les frises en pixels, un filet doux entre deux sections ---------- */
.clair, .pan-parchemin { background: linear-gradient(180deg, #FBF2DE 0%, #F4E4C3 100%); image-rendering: auto; color: var(--brun); }
.clair h1, .clair h2, .clair h3, .pan-parchemin h1, .pan-parchemin h2, .pan-parchemin h3 { color: var(--brun); text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.clair .tete p, .pan-parchemin .tete p { color: #6B4A2E; opacity: 1; }
.clair .sur-titre, .pan-parchemin .sur-titre { color: #A0621A; }
/* les cartes : crème, arrondies, une ombre douce ; leurs titres sans ombre */
.carte { border: 0; border-image: none; border-radius: var(--r-carte); image-rendering: auto; background: linear-gradient(180deg, #FFFBF1, #FBF0D9);
  box-shadow: 0 10px 24px rgba(40, 22, 10, .18), 0 0 0 1px rgba(74, 47, 28, .08); color: var(--brun); }
.carte:hover { filter: none; box-shadow: 0 16px 30px rgba(40, 22, 10, .24), 0 0 0 1px rgba(255, 207, 90, .45); }
.carte h3 { color: var(--brun); text-shadow: none; }
.carte p { color: #5A3E26; }
.etapes li::before { border-radius: 14px; border: 0; color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 50%, var(--or-k2)); box-shadow: 0 4px 0 var(--or-k-fonce); text-shadow: none; }
.astuces.notes .carte::before { width: 14px; height: 14px; margin-left: -7px; border: 0; border-radius: 50%; transform: none; background: var(--rose); box-shadow: 0 2px 0 #B8326D; }
/* le ruban rouge en pixels devient une pastille rose à lèvre */
.ruban { height: auto; min-height: 34px; padding: 6px 18px 7px; border: 0; border-image: none; border-radius: 999px; image-rendering: auto;
  font: 400 15px var(--police-bouton); letter-spacing: .6px; text-transform: uppercase; color: #fff; text-shadow: 0 1px 0 rgba(120, 20, 60, .4);
  background: linear-gradient(180deg, #FF8CC0, var(--rose) 55%, #E8478C); box-shadow: 0 4px 0 #B8326D, 0 10px 20px rgba(255, 95, 162, .25); }
/* les frises en pixels : un filet doux (les pages en gardent la place, verifier.js les compte) */
.frise, .frise-vague, .frise-corde, .frise-creneaux, .frise-etoiles, .frise-parchemin { height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(255, 207, 90, .28) 30%, rgba(201, 168, 255, .28) 70%, transparent); background-color: transparent; background-size: auto; }
/* les Événements, le Vote et le Règlement : leurs boîtes arrondies, leurs bords d'or adoucis (leurs couleurs gardées) */
html body .carte-prochain, html body .ensuite, html body .rendez-vous article, html body .savoir article, html body .vote-caisse .photo,
html body .defi-photo, html body .podium { border-radius: var(--r-panneau); overflow: hidden; }
html body .carte-jeu { border-radius: var(--r-carte); overflow: hidden; }
html body .carte-jeu picture { border-radius: 0; }
html body .compte .case, html body .prochain-gain, html body .semaine .jour, html body .podium li, html body .carte-jeu .gains, html body .etapes-jeu li,
html body .journee li, html body .vote-puces li, html body .pancarte-pseudo .champ-exemple, html body .regles-groupe p { border-radius: 14px; }
html body .etapes-jeu li > b { border-radius: 10px; }
html body .puce, html body .puce-eclair, html body .puce-sol, html body .puce-neige, html body .puce-doree, html body .puce-flotte, html body .puce-chasse { border-radius: 999px; }
html body .ensuite li { border-radius: 10px; }
/* les vues des carrousels (les jeux du Défi, et celles des pages de 67 s il ne les reprend pas) : arrondies, un bord doux */
html body [data-carrousel] > .vue { border-radius: var(--r-carte); border: 1px solid rgba(255, 207, 90, .4); box-shadow: var(--ombre-douce); }
html body .carrousel-commandes .fleche { border-radius: 12px; }
html body .site-vote { border-radius: 16px; }
html body .pancarte-pseudo { border-radius: var(--r-panneau); border-width: 2px; box-shadow: 0 14px 30px rgba(40, 22, 10, .18); }
html body .pancarte-pseudo .champ-exemple { border-radius: 12px; overflow: hidden; }
/* (67, 00:1x) css/scene.css se charge APRÈS le kit et remettait le grain de parchemin : la crème du kit passe devant */
html body .pan-parchemin, html body .clair { background: linear-gradient(180deg, #FBF2DE 0%, #F4E4C3 100%); image-rendering: auto; color: var(--brun); }
/* le bandeau « Casteria ouvre bientôt » (js/site.js) : un verre sombre arrondi qui flotte au bas de l'écran, comme la barre en haut ;
   le badge des joueurs en ligne : une pilule, son point rond */
html body .ouverture { left: 10px; right: 10px; bottom: 10px; padding: 10px 16px; border: 1px solid rgba(255, 207, 90, .45); border-top-width: 1px; border-radius: 18px;
  background: rgba(22, 15, 38, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); color: #F4ECFF; }
/* (37, le 30/10) le bas de la page s'arrete au-dessus du bandeau : sa place mesuree par js/site.js (--ouverture-h), plus un
   souffle ; sans mesure (le script pas encore passe), les anciennes valeurs */
html.avec-ouverture body { padding-bottom: calc(var(--ouverture-h, 74px) + 16px); }
@media (max-width: 600px) { html body .ouverture { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; border-radius: 16px; } html.avec-ouverture body { padding-bottom: calc(var(--ouverture-h, 92px) + 12px); } }
html body .en-ligne { border-radius: 999px; border-width: 1px; }
html body .en-ligne::before { border-radius: 50%; }
/* (af, lot 4 : les ancres) le secours sans JavaScript : un titre visé arrive sous la barre flottante (js/ancres.js fait le reste) */
[id] { scroll-margin-top: 92px; }
html body .pas-achat li { border-radius: 16px; }
html body .pas-achat b { border-radius: 10px; }

/* ---------- (b5, 00:4x) LES RÈGLES GÉNÉRIQUES DE pages_k.css (67), pour l'accueil aussi (la route, le quai, le cadre de bois, les écrans, les
   objets, le combat et la planète), plus fortes que les feuilles des pages ---------- */
html body .cadre-bois { border: 0; border-image: none; border-radius: 24px; overflow: hidden; image-rendering: auto; box-shadow: var(--ombre-douce), 0 0 0 1px rgba(255, 255, 255, .12); }
html body .cadre-bois > * { background: none; }
html body .launcher .cadre-bois { border-width: 0; }
html body .pancarte.p1, html body .pancarte.p2 { transform: none; }
html body .pancarte:hover { transform: translateY(-4px); }
html body .route .pas-photo { border: 1px solid rgba(255, 215, 94, .45); border-radius: 22px; box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
html body .route .pas-photo > img:first-child { border-radius: 21px; }
html body .route .pas-photo:hover { transform: translateY(-5px); box-shadow: 0 0 34px rgba(255, 215, 94, .25), 0 26px 48px rgba(0, 0, 0, .5); }
html body .route::before { width: 4px; border-radius: 2px; background: repeating-linear-gradient(180deg, rgba(255, 207, 90, .7) 0 10px, rgba(255, 207, 90, 0) 10px 24px); }
html body .route .borne { border: 0; border-radius: 20px; background: linear-gradient(180deg, #FFE08A, var(--or-k) 45%, var(--or-k2)); box-shadow: 0 5px 0 var(--or-k-fonce), 0 0 0 6px var(--nuit), 0 0 24px rgba(255, 207, 90, .35); }
html body .route .borne small { color: #7A4A12; }
html body .route .borne b { color: #4A2B07; text-shadow: none; font-family: var(--police-titre); }
html body .trois-ecrans figure .ecran-penche { transform: none; }
html body .ecran-large { border: 1px solid rgba(255, 207, 90, .5); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-douce); }
html body .victoire-ecran { border: 1px solid rgba(255, 207, 90, .5); border-radius: 22px; transform: none; }
html body .victoire-ecran img { border-radius: 21px; }
html body .victoire-ecran .bulle-entree, html body .victoire-ecran .bulle-defaite { border: 0; border-radius: 16px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
html body .victoire-ecran .bulle-entree::after, html body .victoire-ecran .bulle-defaite::after { border: 0; }
html body .fenetre-launcher .capture { transform: none; border-radius: 20px; }
/* les objets faits maison : des cartes crème arrondies (plus de cadre ni de parchemin en pixels) */
html body .objet { border: 0; border-image: none; border-radius: 18px; image-rendering: auto; background: linear-gradient(180deg, #FFFBF1, #FBF0D9); box-shadow: 0 8px 20px rgba(40, 22, 10, .14), 0 0 0 1px rgba(74, 47, 28, .08); }
html body .objet:hover img { transform: scale(1.08); }
@media (max-width: 620px) {
  html body .objets .famille > summary { border: 0; border-image: none; border-radius: 16px; image-rendering: auto; background: linear-gradient(180deg, #FFFBF1, #FBF0D9); box-shadow: 0 6px 14px rgba(40, 22, 10, .12), 0 0 0 1px rgba(74, 47, 28, .08); }
}
@media (max-width: 760px) {
  html body .victoire-ecran img { border: 0; border-radius: 18px; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
}
/* nos illustrations posées sur une carte (décor seul : alt vide, aucun mot de plus pour les moteurs) */
html body .carte-illu { position: relative; }
html body .carte-illu .illu-coin { position: absolute; right: -14px; top: -34px; width: 104px; height: auto; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(40, 22, 10, .35)); }
html body .carte-illu h3 { padding-right: 78px; }
/* les trois étapes « fil » : droites, reliées par un trait d'or doux ; le quai des boutons de téléchargement arrondi */
html body .etapes.trois.fil li:nth-child(n) .carte { transform: none; }
html body .etapes.trois.fil::before { top: 3px; height: 3px; border-top: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(243, 169, 58, .7) 12%, rgba(243, 169, 58, .7) 88%, transparent); }
html body .plateformes.quai { border: 1px solid rgba(255, 207, 90, .45); border-radius: 28px; box-shadow: var(--ombre-douce); }
/* les numéros de « Ce que rapporte un boss » : des pastilles d'or à lèvre, comme les étapes du kit */
html body .victoire-temps li::before { border: 0; border-radius: 11px; color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 50%, var(--or-k2)); box-shadow: 0 3px 0 var(--or-k-fonce); font-family: var(--police-bouton); text-shadow: none; }
/* le combat et la planète : leurs quatre photos en cartes arrondies (la couleur de chaque bande en filet fin dessous) */
html body .cartes-combat figure, html body .cartes-planete figure { border-top: 0; border-radius: var(--r-carte); overflow: hidden; border: 1px solid var(--trait); box-shadow: var(--ombre-douce); }
html body .cartes-combat figure { background: linear-gradient(180deg, var(--carte-2), var(--carte)); box-shadow: var(--ombre-douce), inset 0 -3px 0 rgba(255, 207, 90, .55); }
html body .cartes-planete figure { box-shadow: var(--ombre-douce), inset 0 -3px 0 rgba(255, 138, 60, .6); }
/* les commandes à copier (l'aide du launcher) : arrondies */
html body .reponses pre { border-radius: 10px; }
html body .reponses { border-top: 1px solid rgba(74, 47, 28, .18); }

/* les volets (l'aide du téléchargement, sur l'accueil et le launcher) : des cartes crème arrondies, plus de cadre en pixels */
html body .volet { border: 0; border-image: none; border-radius: 18px; image-rendering: auto; overflow: hidden; background: linear-gradient(180deg, #FFFBF1, #FBF0D9);
  box-shadow: 0 8px 20px rgba(40, 22, 10, .14), 0 0 0 1px rgba(74, 47, 28, .1); }
html body .volet summary { padding: 14px 18px; }
html body .volet > *:not(summary) { padding-left: 18px; padding-right: 18px; }
/* les carrousels des Événements, du casino et des donjons : leurs règles (« … [data-carrousel] > .vue.jeu ») remettaient les angles droits */
html body .defi-jeux [data-carrousel] > .vue.jeu, html body .casino-frise [data-carrousel] > .vue, html body .donjon-dedans [data-carrousel] > .vue { border-radius: var(--r-carte); border: 1px solid rgba(255, 207, 90, .45); overflow: hidden; }
/* (5c, l audit) le pseudo du podium et le bouton « Voir son profil » de la fiche du classement mènent au profil */
html body a.marche-pseudo { text-decoration: none; color: #fff; }
html body a.marche-pseudo:hover, html body a.marche-pseudo:focus-visible { color: var(--or-k); text-decoration: underline; text-underline-offset: 3px; outline: none; }
.fiche-profil-ligne { margin: 14px 0 4px; }
/* (5c, l audit) les liens légaux du pied : 44 px de haut pour le doigt */
html body footer .pied-legal { display: flex; flex-wrap: wrap; column-gap: 18px; }
html body footer .pied-legal a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
/* (5c, l audit) le badge « Ouverture bientôt » du classement ne flotte plus seul à droite : il prend sa ligne, sous les boutons */
html body .vitrine-tete.banniere .banniere-texte .en-ligne { flex-basis: 100%; width: max-content; max-width: 100%; margin-top: 0; }

/* (37, le 30/10/2026) LA PASTILLE D'ÉTAT DU SERVEUR (js/site.js, barreEtat) : une pilule de verre et son point ; fermé, le point d'or
   (« Ouvre bientôt ») ; ouvert, le point vert qui bat. Dans la barre à partir de 1360 px (la place manque en dessous), en haut du
   tiroir au téléphone */
.barre-etat { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 3px 12px 3px 10px; margin-left: 10px; border-radius: 999px; white-space: nowrap;
  font: 700 13px "Fredoka", sans-serif; color: #EAFBEF; background: rgba(10, 20, 14, .45); border: 1px solid rgba(70, 210, 122, .45); }
.barre-etat[hidden] { display: none; }
.barre-etat i { width: 9px; height: 9px; border-radius: 50%; background: var(--vert-k); box-shadow: 0 0 0 0 rgba(70, 210, 122, .7); animation: etat-pouls 1.8s ease-out infinite; }
.barre-etat b { color: #9BF0B8; }
.barre-etat.ferme { color: #FFF1C9; background: rgba(40, 26, 8, .45); border-color: rgba(255, 207, 90, .5); }
.barre-etat.ferme i { background: var(--or-k); animation: none; box-shadow: 0 0 6px rgba(255, 207, 90, .6); }
@keyframes etat-pouls { 70% { box-shadow: 0 0 0 7px rgba(70, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 210, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .barre-etat i { animation: none; } }
/* (la barre est plafonnée à 1 240 px : jamais la place dans sa ligne) dans la barre : un petit onglet qui pend sous elle, à gauche ; au téléphone, dans le tiroir seul */
.barre > .barre-etat { position: absolute; left: 18px; top: calc(100% + 6px); margin: 0; min-height: 26px; padding: 2px 11px 2px 9px; font-size: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(22, 15, 38, .82); }
@media (max-width: 960px) { .barre > .barre-etat { display: none; } }
/* (37, le 30/10) la page qui defile : l'onglet pendu sous la barre passait sur le contenu (les onglets de la carte) : il ne se
   montre qu'en haut de page */
.barre > .barre-etat { transition: opacity .2s ease, visibility .2s ease; }
.barre.posee > .barre-etat { opacity: 0; visibility: hidden; }
.menu-tiroir .tiroir-etat { align-self: flex-start; margin: -2px 0 10px; }
/* (5c, l audit) « après /login . » : le fond arrondi de <code> écartait le point ; dans la consigne, la commande en or seul */
#connexion .consigne code { padding: 0; background: none; font-weight: 700; }

/* ---------- (le propriétaire, 30/10 à 07:3x : « enlève les endroits avec un border à gauche arrondi [...] ça fait trop IA ») PLUS AUCUNE
   BARRE DE COULEUR À GAUCHE, sur tout le site : chaque carte ou ligne a un bord égal tout autour, arrondie ; la couleur passe dans une
   pastille devant le titre, ou l'heure en pilule. « html body » passe devant les feuilles des pages (chargées après le kit) ---------- */
/* les Événements : « Ensuite » (l'heure en pilule, une pastille violette devant le nom), le gain du prochain, les puces de la semaine */
html body .ensuite li { gap: 4px; padding: 12px 14px; border: 1px solid var(--trait); border-left: 1px solid var(--trait); border-radius: 14px; background: rgba(36, 26, 58, .78); }
html body .ensuite li time { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 13px; color: #EBDDFF; background: rgba(155, 93, 229, .28); }
html body .ensuite li b { display: flex; align-items: center; gap: 8px; }
html body .ensuite li b::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-trait); box-shadow: 0 0 8px rgba(201, 168, 255, .6); }
html body .prochain-gain { border: 1px solid rgba(255, 207, 90, .35); border-left: 1px solid rgba(255, 207, 90, .35); border-radius: 16px; }
html body .prochain-gain .gain-titre { display: flex; align-items: center; gap: 8px; }
html body .prochain-gain .gain-titre::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--or-k); box-shadow: 0 0 8px rgba(255, 207, 90, .6); }
html body .puce { border: 1px solid rgba(255, 255, 255, .1); border-left: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; }
html body .puce time { display: flex; align-items: center; gap: 6px; }
html body .puce time::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* l'accueil : la fiche d'une île, les exploits qui défilent (leur couleur sur tout le bord, doux) */
html body .fiche-ile { border: 1px solid rgba(255, 207, 90, .3); border-left: 1px solid rgba(255, 207, 90, .3); border-radius: 16px; }
html body .exploit { border: 1px solid rgba(255, 207, 90, .35); border-left-width: 1px; border-radius: 16px; }
html body .exploit-oeuf_mythique { border-color: rgba(255, 122, 217, .55); }
html body .exploit-casino_gros_gain { border-color: rgba(91, 224, 122, .55); }
html body .exploit-minijeu_victoire { border-color: rgba(108, 200, 255, .55); }
html body .exploit-boss_heroique, html body .exploit-boss_heroique_record { border-color: rgba(255, 90, 60, .55); }
/* la page des exploits : plus d'ombre intérieure à gauche ; la couleur de chaque sorte sur tout le bord */
html body .exploit-fil[class] { box-shadow: none; border: 1px solid rgba(255, 207, 90, .3); border-radius: 16px; }
html body .exploit-fil.s-boss_heroique[class], html body .exploit-fil.s-boss_heroique_record[class] { border-color: rgba(232, 96, 76, .6); }
html body .exploit-fil.s-oeuf_mythique[class] { border-color: rgba(210, 156, 255, .6); }
html body .exploit-fil.s-casino_gros_gain[class] { border-color: rgba(108, 192, 74, .6); }
html body .exploit-fil.s-minijeu_victoire[class] { border-color: rgba(127, 195, 234, .6); }
/* le classement : les dix premiers (un bord d'or égal), le fil des exploits de la colonne */
html body .cl-bande-haut .cl-ligne { border: 1px solid rgba(255, 207, 90, .55); border-left-width: 1px; }
html body .cl-fil-ligne { border-left: 0; border-radius: 10px; }
/* le casino : la voix du croupier et la règle de la maison, en cartes avec leur guillemet d'or */
html body .roulette-grille .voix-croupier { border-left: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 207, 90, .3); }
html body .maison-grille .texte p.maison-regle { border-left: 0; box-shadow: none; border: 1px solid rgba(255, 207, 90, .35); border-radius: 16px; }
/* le vote, les alertes, les erreurs, l'espace de l'équipe */
html body .vote-puces li { border-left: 0; border: 1px solid var(--trait); border-radius: 14px; }
html body .alerte, html body .boutique-etal .alerte, html body .achat-merci, html body .erreur { border-left-width: 2px; border-width: 2px; border-radius: 14px; }
html body .admin-menu nav a { border-left: 0; border-radius: 10px; }
html body .a-histoire li { border-left: 0; }
html body .a-histoire li.en-cours { border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(224, 88, 75, .5); }
/* le même esprit pour les barres d en haut : les cartes « Tes votes, en jeu » et les tuiles du compte, un bord égal tout autour */
html body .savoir article { border: 1px solid rgba(255, 207, 90, .35); border-top-width: 1px; border-radius: 18px; }
html body .compte-tuiles li { border-top: 1px solid var(--trait); }
