/* ==========================================================================
   Thème Hippiquedia (espace connecté + fenêtres), même identité que la page d'accueil
   Palette : #081516 #152928 (fonds) - #0A8765 #005049 (vert) - #DCB065 #FFF5AA (or) - #C5E7E4 (menthe) - #FFFFFF
   Police  : Roboto Flex (../fonts/RobotoFlex-latin.woff2, licence OFL)
   Activé par <body class="theme"> : pour revenir à l'ancien rendu, retirer cette classe (ou le lien vers ce fichier).
   Chargé APRÈS page-1.1.css et meteo-1.0.css.
   ========================================================================== */
@font-face {
	font-family: "Roboto Flex";
	src: url("../fonts/RobotoFlex-latin.woff2") format("woff2");
	font-weight: 100 1000;
	font-stretch: 25% 151%;
	font-display: swap;
}

:root {
	--noir: #081516; --fonce: #152928; --vert: #0A8765; --vert-f: #005049;
	--or: #DCB065; --or-c: #FFF5AA; --menthe: #C5E7E4; --blanc: #FFFFFF;
	--texte: #1b3331; --lien: #087A5A;
	--police: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
body.theme {
	font-family: var(--police); font-size: 14px; color: var(--texte); -webkit-font-smoothing: antialiased;
	background-color: var(--noir);
	background-image:
		radial-gradient(1100px 620px at 85% 0%, rgba(10, 135, 101, .38), transparent 62%),
		radial-gradient(900px 600px at 0% 100%, rgba(0, 80, 73, .5), transparent 60%),
		linear-gradient(180deg, var(--fonce) 0%, var(--noir) 100%);
	background-attachment: fixed; background-repeat: no-repeat;
}
body.theme a { color: var(--lien); }
body.theme a:hover { color: var(--vert-f); text-decoration: underline; }
body.theme input[type=checkbox], body.theme input[type=radio] { accent-color: var(--vert); }
body.theme hr { border-top-color: rgba(10, 135, 101, .18); }
body.theme ::selection { background: rgba(220, 176, 101, .45); }

/* ---------- en-tête ---------- */
body.theme .header-prive { background: none; }
body.theme .nav-membre > li.navlogo > img { border-radius: 14px; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); }

body.theme .nav-membre > li > a.dropdown-toggle {
	padding: 4px 12px 4px 7px; border-radius: 12px; color: var(--menthe); font-size: 13.5px;
	background: rgba(21, 41, 40, .78); border: 1px solid rgba(197, 231, 228, .24);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, border-color .15s;
}
body.theme .nav-membre > li > a.dropdown-toggle:hover, body.theme .nav-membre > li > a.dropdown-toggle:focus,
body.theme .nav-membre > li.open > a.dropdown-toggle {
	color: var(--blanc); background: rgba(10, 135, 101, .55); border-color: rgba(197, 231, 228, .5); text-decoration: none;
}
body.theme .nav-pills > li + li { margin-left: 6px; }
body.theme .nav-membre > li.navmonde {
	padding: 5px 12px; border-radius: 14px; border-bottom: 3px solid #B08838; color: var(--fonce);
	background: linear-gradient(180deg, var(--or-c) 0%, var(--or) 100%);
	box-shadow: 0 8px 22px rgba(220, 176, 101, .28), inset 0 1px 0 rgba(255, 255, 255, .6); transition: filter .12s, transform .12s;
}
body.theme .nav-membre > li.navmonde > span { color: var(--fonce); font-variation-settings: "wght" 800; text-shadow: none; }
body.theme .nav-membre > li.navmonde:hover { filter: brightness(1.06); transform: translateY(-1px); }

body.theme .illustration img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
body.theme .illustration-gif { border-radius: 20px; }

/* menu principal : pastilles */
body.theme .navbar-principal .navbar-nav > li > a {
	color: var(--menthe); padding: 7px 13px; margin: 0 1px; border: 1.5px solid transparent; border-radius: 999px;
	font-variation-settings: "wght" 560; transition: background .15s, border-color .15s, color .15s;
}
body.theme .navbar-principal .navbar-nav > li > a:hover, body.theme .navbar-principal .navbar-nav > li > a:focus,
body.theme .navbar-principal .navbar-nav > li > a:active, body.theme .navbar-principal .navbar-nav > .open > a,
body.theme .navbar-principal .navbar-nav > .open > a:hover, body.theme .navbar-principal .navbar-nav > .open > a:focus {
	color: var(--blanc); background: rgba(10, 135, 101, .42); border-color: rgba(220, 176, 101, .75); text-decoration: none;
}
body.theme .navbar-principal .navbar-toggle { border: 1.5px solid rgba(197, 231, 228, .45); border-radius: 12px; background: rgba(21, 41, 40, .7); }
body.theme .navbar-principal .navbar-toggle .icon-bar { background-color: var(--menthe); }

body.theme .dropdown-menu {
	min-width: 190px; padding: 8px; color: var(--menthe); border-radius: 16px; border: 1.5px solid rgba(197, 231, 228, .24);
	background: rgba(8, 21, 22, .97); box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
}
body.theme .dropdown-menu > li > a { color: var(--menthe); padding: 8px 14px; border-radius: 10px; font-variation-settings: "wght" 480; }
body.theme .dropdown-menu > li > a:hover, body.theme .dropdown-menu > li > a:focus {
	color: var(--blanc); background: var(--vert); text-decoration: none;
}
body.theme .dropdown-header { color: var(--or); }
body.theme .dropdown-menu .divider { background-color: rgba(197, 231, 228, .16); }

/* ---------- barre de titre (fil d'Ariane) ---------- */
body.theme .fil-fond { background: none; border-bottom: 1px solid rgba(197, 231, 228, .12); }
body.theme .fil-contenu { color: var(--menthe); font-size: 17px; padding-top: 12px; padding-bottom: 10px; }
body.theme .fil-contenu .glyphicon { color: var(--or); }
body.theme .fil-titre {
	text-transform: uppercase; font-size: 21px; font-variation-settings: "wght" 900, "wdth" 118, "slnt" -10; letter-spacing: .01em;
	background: linear-gradient(180deg, var(--or-c), var(--or)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
body.theme .fil-contenu a { color: var(--menthe); }

/* boutons d'interface (actualiser, aide, fermer, filtre) */
body.theme .btn-interface, body.theme .btn-filtre {
	border: 0; border-bottom: 3px solid var(--vert-f); border-radius: 12px; color: var(--blanc);
	background: linear-gradient(180deg, #0C9C76 0%, var(--vert) 100%);
	box-shadow: 0 6px 16px rgba(10, 135, 101, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.theme .btn-interface:hover, body.theme .btn-interface:focus, body.theme .btn-interface:active,
body.theme .btn-filtre:hover, body.theme .btn-filtre:focus, body.theme .btn-filtre:active {
	background: linear-gradient(180deg, #11b08a 0%, #0C9C76 100%); border-bottom-color: var(--vert-f); color: var(--blanc);
}
body.theme .btn-interface:active { transform: translateY(2px); border-bottom-width: 1px; }
body.theme .lienBouton > img {
	border: 0; border-bottom: 3px solid var(--vert-f); border-radius: 8px; background: linear-gradient(180deg, #0C9C76 0%, var(--vert) 100%);
}

/* ---------- carte de contenu ---------- */
body.theme .contenu-prive-fond { padding-top: 16px; padding-bottom: 8px; }
body.theme .contenu-jeu { padding: 0 6px 0 0; }
body.theme .carte-contenu {
	min-height: 360px; padding: 18px 18px 20px; color: var(--texte); background: var(--blanc); border-radius: 24px;
	box-shadow: 0 26px 64px rgba(0, 0, 0, .5), 0 0 0 1.5px rgba(197, 231, 228, .22);
}
body.theme .carte-contenu h1, body.theme .carte-contenu h2, body.theme .carte-contenu h3, body.theme .carte-contenu h4 {
	color: var(--fonce); font-variation-settings: "wght" 850, "wdth" 110;
}
body.theme .cadre-prive {
	padding: 14px 18px; color: var(--texte); border-radius: 16px;
	background: #EEF7F6; border: 1.5px solid rgba(10, 135, 101, .16);
}
body.theme .cadre-prive a { color: var(--lien); font-weight: 600; }
body.theme .form-filtre {
	max-width: 100%; padding: 8px 6px 2px; border-radius: 16px; background: #EEF7F6; border: 1.5px solid rgba(10, 135, 101, .18);
}
body.theme .form-filtre label { color: var(--fonce); font-variation-settings: "wght" 600; }
body.theme .form-Hippiquedia { border-radius: 18px; border: 1.5px solid rgba(10, 135, 101, .2); background: #fff; }
body.theme .form-titre { color: var(--fonce); font-variation-settings: "wght" 800; }
body.theme .fiche { border-radius: 18px; border: 1.5px solid rgba(10, 135, 101, .2); }
body.theme .ficheTitre {
	border-radius: 12px; background: linear-gradient(135deg, var(--vert) 0%, var(--vert-f) 100%); font-variation-settings: "wght" 800, "wdth" 108;
}

/* ---------- formulaires et boutons ---------- */
body.theme .form-control {
	border-radius: 12px; border: 1.5px solid rgba(10, 135, 101, .28); box-shadow: none; color: var(--fonce); background-color: #fff; transition: border-color .15s, box-shadow .15s;
}
body.theme .form-control:focus { border-color: var(--vert); box-shadow: 0 0 0 4px rgba(10, 135, 101, .18); }
body.theme .btn { border-radius: 12px; font-variation-settings: "wght" 700; transition: filter .12s, transform .12s; }
body.theme .btn-default { color: var(--fonce); background: #fff; border: 1.5px solid rgba(21, 41, 40, .2); }
body.theme .btn-default:hover, body.theme .btn-default:focus { color: var(--fonce); background: #F2F8F7; border-color: rgba(10, 135, 101, .45); }
body.theme .btn-primary, body.theme .btn-success, body.theme .btn-info, body.theme .btn-Hippiquedia, body.theme .btn-connexion {
	color: var(--blanc); border: 0; border-bottom: 3px solid var(--vert-f); background: linear-gradient(180deg, #0C9C76, var(--vert));
}
body.theme .btn-primary:hover, body.theme .btn-success:hover, body.theme .btn-info:hover, body.theme .btn-Hippiquedia:hover,
body.theme .btn-primary:focus, body.theme .btn-success:focus, body.theme .btn-info:focus, body.theme .btn-Hippiquedia:focus {
	color: var(--blanc); filter: brightness(1.1); background: linear-gradient(180deg, #0C9C76, var(--vert));
}
body.theme .btn-warning {
	color: var(--fonce); border: 0; border-bottom: 3px solid #B08838; background: linear-gradient(180deg, var(--or-c), var(--or));
}
body.theme .btn-warning:hover, body.theme .btn-warning:focus { color: var(--fonce); filter: brightness(1.06); }
body.theme .btn-danger { color: var(--blanc); border: 0; border-bottom: 3px solid #8E2A22; background: linear-gradient(180deg, #D9534F, #C0392B); }
body.theme .btn:active { transform: translateY(2px); }
body.theme .alert { border-radius: 14px; }
body.theme .alert-warning { color: #5C4510; background: #FFF7E0; border: 1.5px solid rgba(220, 176, 101, .65); }
body.theme .alert-success { color: #064D3A; background: #E6F6F1; border: 1.5px solid rgba(10, 135, 101, .4); }
body.theme .alert-danger { color: #7A1F16; background: #FDECEA; border: 1.5px solid #E8A39B; }
body.theme .alert-info { color: #0E4A55; background: #E6F4F7; border: 1.5px solid rgba(30, 150, 170, .4); }
body.theme .alert a { color: var(--vert-f); font-weight: 700; }
body.theme .tooltip-inner { background: var(--noir); border: 1px solid rgba(197, 231, 228, .3); border-radius: 8px; }

/* ---------- tableaux ---------- */
body.theme .tableau {
	font-size: 13.5px; color: var(--texte); border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; border: 1.5px solid rgba(10, 135, 101, .2);
}
body.theme .tableau > thead > tr {
	color: var(--blanc); background: linear-gradient(135deg, var(--vert) 0%, var(--vert-f) 100%);
}
body.theme .tableau > thead > tr > th, body.theme .tableau > thead > tr > td { padding: 9px 8px; font-variation-settings: "wght" 700; }
body.theme .tableau > thead a, body.theme .tableau > thead > tr a { color: var(--or-c); }
body.theme .tableau > tbody > tr, body.theme .tableau > tbody > tr.even { height: auto; background: #fff; }
body.theme .tableau > tbody > tr.even { background: #F4FAF9; }
body.theme .tableau > tbody > tr:hover { background: #FCF4E0; }
body.theme .tableau td, body.theme .tableau th { padding: 6px 8px; vertical-align: top; border-bottom: 1px solid rgba(10, 135, 101, .1); }
body.theme .tableau > tbody > tr:last-child > td { border-bottom: 0; }
body.theme .tableau a { color: var(--lien); font-variation-settings: "wght" 600; }
body.theme .tableau a:hover { color: var(--vert-f); }

/* pagination */
body.theme .pagination > li > a, body.theme .pagination > li > span {
	margin: 0 2px; border-radius: 10px; color: var(--vert); background: #fff; border: 1.5px solid rgba(10, 135, 101, .24);
}
body.theme .pagination > li:first-child > a, body.theme .pagination > li:first-child > span,
body.theme .pagination > li:last-child > a, body.theme .pagination > li:last-child > span { border-radius: 10px; }
body.theme .pagination > li > a:hover { background: #EEF7F6; color: var(--vert-f); }
body.theme .pagination > .active > a, body.theme .pagination > .active > span, body.theme .pagination > .active > a:hover, body.theme .pagination > .active > span:hover {
	color: var(--blanc); border-color: var(--vert-f); background: linear-gradient(180deg, #0C9C76, var(--vert));
}
body.theme .pagination > .disabled > span, body.theme .pagination > .disabled > a { color: #9bb3b0; background: #f6f9f9; border-color: rgba(10, 135, 101, .12); }
body.theme .paginationLignes { color: var(--texte); }

/* encadrés divers (génétique, cadres beiges) */
body.theme .cadre { color: var(--texte); border-radius: 16px; background: #EEF7F6; border: 1.5px solid rgba(10, 135, 101, .16); }
body.theme .genetique {
	padding: 10px 12px; color: var(--fonce); border-radius: 16px; background: #EEF7F6; border: 1.5px solid rgba(10, 135, 101, .2); box-shadow: none;
}
body.theme .genetique-titre { color: var(--fonce); font-variation-settings: "wght" 800; }

/* ---------- notes (colonne de droite) ---------- */
body.theme .annonce {
	color: var(--menthe); border-radius: 14px; border: 1.5px solid rgba(197, 231, 228, .22);
	background: linear-gradient(160deg, rgba(21, 41, 40, .94), rgba(8, 21, 22, .96)); box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
body.theme .annonce:after { display: none; }
body.theme .annonce_auteur {
	height: 24px; padding: 2px 8px; color: var(--fonce); border-radius: 9px; background: linear-gradient(180deg, var(--or-c), var(--or)); font-variation-settings: "wght" 650;
}
body.theme .annonce_auteur a { color: var(--fonce); font-variation-settings: "wght" 800; }
body.theme .annonce a { color: var(--or); }
body.theme .annonce_titre { font-size: 13px; line-height: 1.3; color: var(--menthe); }
body.theme .annonce_titre b { color: #fff; font-variation-settings: "wght" 750; }
body.theme .annonce_texte { color: var(--menthe); }
body.theme .annonce .annonce_auteur a { color: var(--fonce); }
body.theme .annonce_lien a { color: var(--or-c); }
body.theme .annonce_lien a:hover { color: var(--blanc); }

/* ---------- pied de page ---------- */
body.theme .footer-prive {
	height: auto; padding: 14px 10px; color: var(--menthe); background: rgba(8, 21, 22, .92); background-image: none; border-top: 1px solid rgba(197, 231, 228, .14);
}
body.theme .footer-prive a { color: var(--menthe); }
body.theme .footer-prive a:hover { color: var(--blanc); }

/* ---------- fenêtres modales ---------- */
body.theme .modal-Hippiquedia .modal-content { border: 0; border-radius: 24px; overflow: hidden; color: var(--fonce); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
body.theme .modal-Hippiquedia .modal-header { padding: 18px 24px; border: 0; background: linear-gradient(135deg, var(--menthe) 0%, #EAF6F5 60%, #fff 100%); }
body.theme .modal-Hippiquedia .modal-title { color: var(--fonce); font-size: 21px; font-variation-settings: "wght" 850, "wdth" 112; }
body.theme .modal-Hippiquedia .close { color: var(--fonce); opacity: .55; text-shadow: none; font-size: 28px; }
body.theme .modal-Hippiquedia .close:hover { opacity: 1; }
body.theme .modal-Hippiquedia .modal-body { padding: 22px 24px 8px; color: #28403e; }
body.theme .modal-Hippiquedia .modal-footer { padding: 14px 24px 20px; border: 0; background: linear-gradient(0deg, rgba(197, 231, 228, .35), rgba(255, 255, 255, 0)); }
body.theme .modal-Hippiquedia .control-label { color: var(--fonce); font-variation-settings: "wght" 700; }
body.theme .modal-backdrop.in { opacity: .72; background: var(--noir); }

/* ---------- fenêtres ouvertes à part (fiches, formulaires) ---------- */
body.popup.theme {
	background-image:
		radial-gradient(900px 520px at 90% 0%, rgba(10, 135, 101, .35), transparent 62%),
		linear-gradient(180deg, var(--fonce) 0%, var(--noir) 100%);
	background-attachment: fixed; background-repeat: no-repeat; background-color: var(--noir);
}
body.theme .popup-cadre {
	margin: 8px -10px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(197, 231, 228, .22);
}
body.theme .popup-header { padding: 12px 16px; background: linear-gradient(135deg, var(--menthe) 0%, #EAF6F5 60%, #fff 100%); }
body.popup.theme .fondTitreGauche, body.popup.theme .fondTitreDroite { display: none; }
body.popup.theme .libelleTitre {
	height: auto; max-width: 72%; padding: 3px 4px; color: var(--fonce); background: none; font-size: 21px; line-height: 1.25;
	font-variation-settings: "wght" 850, "wdth" 112; text-transform: none;
}
body.theme .popup-contenu-cadre {
	border: 1.5px solid rgba(10, 135, 101, .18); border-radius: 18px; box-shadow: none; padding: 12px;
	background: linear-gradient(180deg, #EAF6F5 0%, #fff 100%);
}
body.theme .popup-menu .nav-pills > li > a { color: var(--fonce); background: #fff; border: 1.5px solid rgba(10, 135, 101, .22); border-radius: 12px; font-variation-settings: "wght" 620; }
body.theme .popup-menu .nav-pills > li > a:hover, body.theme .popup-menu .nav-pills > li > a:focus { color: var(--vert-f); background: #EEF7F6; }
body.theme .popup-menu .nav-pills > li.active > a, body.theme .popup-menu .nav-pills > li.active > a:hover, body.theme .popup-menu .nav-pills > li.active > a:focus {
	color: var(--blanc); border-color: var(--vert-f); background: linear-gradient(180deg, #0C9C76, var(--vert));
}
body.theme .btn-menu-popup { color: var(--blanc); background: linear-gradient(180deg, #0C9C76, var(--vert)); border: 0; border-bottom: 3px solid var(--vert-f); border-radius: 12px; }
body.theme .popup-label { color: var(--fonce); font-variation-settings: "wght" 700; }

/* ---------- pages de texte (mentions légales, règlement, aide...) ---------- */
body.page-texte { min-height: 100vh; }
.texte-barre { max-width: 900px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.texte-logo img { display: block; height: 52px; width: auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
body.page-texte .texte-retour { color: var(--menthe); font-variation-settings: "wght" 600; }
body.page-texte .texte-retour:hover { color: var(--blanc); text-decoration: none; }
.texte-carte {
	max-width: 900px; margin: 10px auto 30px; padding: 28px 34px 32px; color: var(--texte); background: var(--blanc); border-radius: 24px;
	box-shadow: 0 26px 64px rgba(0, 0, 0, .5), 0 0 0 1.5px rgba(197, 231, 228, .22);
}
.texte-carte h1 { margin: 0 0 18px; color: var(--fonce); font-size: 28px; text-transform: uppercase; font-variation-settings: "wght" 900, "wdth" 118, "slnt" -10; }
.texte-corps { font-size: 15px; line-height: 1.6; }
.texte-corps h2, .texte-corps h3, .texte-corps h4 { color: var(--fonce); font-variation-settings: "wght" 800, "wdth" 108; }
.texte-pied { padding: 18px; text-align: center; color: rgba(197, 231, 228, .7); font-size: 13px; }
@media (max-width: 575px) { .texte-carte { margin: 6px 10px 24px; padding: 20px 18px 24px; border-radius: 18px; } .texte-carte h1 { font-size: 22px; } }

/* ---------- panneaux de l'en-tête (joueurs connectés, météo) : opaques et lisibles ---------- */
body.theme .hq-panneau {
	overflow: visible; border: 1.5px solid rgba(197, 231, 228, .34); border-radius: 22px; top: 66px;
	background: radial-gradient(420px 220px at 88% -8%, rgba(10, 135, 101, .38), transparent 70%), linear-gradient(160deg, #10302e 0%, #091a19 100%);
	box-shadow: 0 26px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(8, 21, 22, .9);
}
body.theme .hq-panneau:before {
	content: ""; position: absolute; top: -9px; width: 16px; height: 16px; transform: rotate(45deg); background: #10302e;
	border-left: 1.5px solid rgba(197, 231, 228, .34); border-top: 1.5px solid rgba(197, 231, 228, .34);
}
body.theme .hq-panneau-joueurs:before { left: 58px; }
body.theme .hq-panneau-meteo:before { left: 196px; }
body.theme .hq-panneau-joueurs { width: 370px; }
body.theme .hq-titre {
	padding: 14px 52px 12px; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--menthe);
	font-variation-settings: "wght" 800, "wdth" 112; background: none; border-bottom: 1px solid rgba(197, 231, 228, .16);
}
body.theme .hq-titre:before {
	content: ""; display: inline-block; width: 22px; height: 22px; margin: -4px 9px -5px 0; border-radius: 7px; vertical-align: middle;
	background: linear-gradient(135deg, var(--or-c), var(--or)) center / 100% no-repeat;
}
body.theme .hq-titre-nb { color: var(--or-c); font-variation-settings: "wght" 700; }
body.theme .hq-fermer {
	right: 14px; top: 10px; width: 32px; height: 32px; line-height: 30px; text-align: center; font-size: 22px; color: #fff; border-radius: 50%;
	background: linear-gradient(180deg, #0C9C76, var(--vert)); border-bottom: 3px solid var(--vert-f);
}
body.theme .hq-fermer:hover { color: #fff; filter: brightness(1.12); }
body.theme .hq-corps { padding: 14px 16px; }
body.theme .hq-pied { padding: 12px; border-top: 1px solid rgba(197, 231, 228, .16); }
body.theme .hq-pied a {
	display: inline-block; padding: 7px 18px; border-radius: 999px; color: var(--noir); background: linear-gradient(180deg, var(--or-c), var(--or));
	font-variation-settings: "wght" 700; text-decoration: none; font-size: 13px;
}
body.theme .hq-pied a:hover { filter: brightness(1.08); }
body.theme .hq-liste { column-count: 1; max-height: 300px; }
body.theme .hq-liste li {
	padding: 8px 12px; margin-bottom: 6px; font-size: 14px; border-radius: 12px; background: rgba(197, 231, 228, .08);
	border: 1px solid rgba(197, 231, 228, .12); display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
body.theme .hq-liste li a { color: #fff; font-variation-settings: "wght" 620; }
body.theme .hq-liste small { display: inline-block; margin: 0; padding: 2px 9px; border-radius: 999px; color: var(--or-c); background: rgba(220, 176, 101, .14); font-size: 11px; }
body.theme .hq-vide { color: var(--menthe); }

/* ---------- biorythme du cheval ---------- */
.bio-intro { margin: 2px 2px 14px; color: var(--texte); font-size: 14px; }
.bio-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.bio-carte { padding: 12px 14px; border-radius: 16px; color: #fff; box-shadow: 0 6px 16px rgba(8, 21, 22, .18); }
.bio-carte.ok { background: linear-gradient(150deg, #0C9C76, #005049); }
.bio-carte.ko { background: linear-gradient(150deg, #E26560, #A63A36); }
.bio-carte.or { background: linear-gradient(150deg, #FFF5AA, #DCB065); color: var(--noir); }
.bio-carte-t { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; font-variation-settings: "wght" 700; }
.bio-carte-v { font-size: 30px; line-height: 1.15; font-variation-settings: "wght" 850, "wdth" 110; }
.bio-carte-s { font-size: 12px; opacity: .92; }
.bio-graphique { padding: 8px 6px 2px; border-radius: 18px; background: #fff; border: 1.5px solid rgba(10, 135, 101, .18); }
.bio-svg { display: block; width: 100%; height: auto; font-family: "Roboto Flex", Arial, sans-serif; }
.bio-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 10px 0; font-size: 12.5px; color: var(--texte); }
.bio-legende i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.bio-legende i.ok { background: #0A8765; } .bio-legende i.ko { background: #D9534F; } .bio-legende i.or { background: #DCB065; }
.bio-detail { margin-top: 6px; } .bio-detail summary { cursor: pointer; color: var(--vert-f); font-variation-settings: "wght" 700; }
.bio-barre-ok, .bio-barre-ko { height: 12px; border-radius: 6px; }
.bio-barre-ok { background: linear-gradient(90deg, #0C9C76, #0A8765); } .bio-barre-ko { background: linear-gradient(90deg, #E26560, #D9534F); }
@media (max-width: 640px) { .bio-cartes { grid-template-columns: repeat(2, 1fr); } }

/* ---------- éditeur de couleurs du jockey (style costume) ---------- */
.jk-scene { position: relative; display: grid; grid-template-columns: 1fr 250px 1fr; gap: 16px 28px; align-items: center; padding: 12px 6px; }
.jk-col { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.jk-lignes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.jk-ligne { fill: none; stroke: rgba(10, 135, 101, .5); stroke-width: 2; } .jk-ligne.on { stroke: var(--or); stroke-width: 3; }
.jk-pt { fill: #fff; stroke: var(--vert); stroke-width: 2.5; } .jk-pt.on { stroke: var(--or); fill: var(--or-c); }
.jk-centre { text-align: center; position: relative; z-index: 2; }
.jk-figure { padding: 10px; border-radius: 22px; background: radial-gradient(220px 180px at 50% 30%, #fff, var(--menthe)); border: 1.5px solid rgba(10, 135, 101, .22); }
.jk-svg { display: block; width: 100%; height: auto; }
.jk-svg .jk-part { transition: filter .15s; }
.jk-svg[data-actif="toque"] .jk-p-toque, .jk-svg[data-actif="casaque"] .jk-p-casaque, .jk-svg[data-actif="manche"] .jk-p-manche { stroke: #DCB065; stroke-width: 4.5; filter: drop-shadow(0 0 7px rgba(220, 176, 101, .9)); }
.jk-carte { padding: 10px 12px; border-radius: 16px; background: #fff; border: 1.5px solid rgba(10, 135, 101, .22); box-shadow: 0 4px 12px rgba(8, 21, 22, .08); transition: border-color .15s, box-shadow .15s; }
.jk-carte.on { border-color: var(--or); box-shadow: 0 0 0 3px rgba(220, 176, 101, .35), 0 6px 16px rgba(8, 21, 22, .14); }
.jk-carte-t { margin-bottom: 6px; color: var(--fonce); font-size: 14px; font-variation-settings: "wght" 800, "wdth" 105; }
.jk-carte-t small { display: block; color: #6A8280; font-size: 11px; font-variation-settings: "wght" 400; }
.jk-palettes { display: flex; align-items: center; gap: 10px; }
.jk-palettes label { margin: 0; text-align: center; font-size: 10.5px; color: #6A8280; font-weight: 400; cursor: pointer; }
.jk-palettes input[type=color] { display: block; width: 46px; height: 46px; padding: 0; margin: 0 auto 2px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--vert), 0 3px 8px rgba(0, 0, 0, .25); background: none; cursor: pointer; }
.jk-palettes input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .jk-palettes input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.jk-palettes input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
.jk-tuiles { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.jk-tuile { padding: 1px; border: 2px solid transparent; border-radius: 7px; background: #fff; line-height: 0; cursor: pointer; }
.jk-tuile img { border-radius: 5px; border: 1px solid rgba(0, 0, 0, .2); } .jk-tuile.sel { border-color: var(--or); box-shadow: 0 0 0 2px rgba(220, 176, 101, .4); }
.jk-fixe-carte { background: #F4F7F6; border-style: dashed; box-shadow: none; }
.jk-fixe-carte .jk-sw { display: inline-block; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; vertical-align: -4px; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #8A9A98; }
.jk-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.jk-note { margin: 4px 0 0; text-align: center; color: #6A8280; font-size: 12.5px; }
@media (max-width: 699px) { .jk-scene { grid-template-columns: 1fr; } .jk-centre { order: -1; max-width: 220px; margin: 0 auto; } .jk-lignes { display: none; } }

/* ---------- entraînement : choix des caractéristiques ---------- */
.ent-objectifs-liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0; }
.ent-obj { display: block; margin: 0; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px solid rgba(10, 135, 101, .25); cursor: pointer; font-weight: 400; }
.ent-obj b { color: var(--fonce); } .ent-obj small { display: block; color: #6A8280; font-size: 11.5px; }
.ent-obj input:checked ~ b { color: var(--vert-f); } .ent-obj:has(input:checked) { border-color: var(--vert); background: #EAF6F5; box-shadow: 0 0 0 3px rgba(10, 135, 101, .15); }
.ent-obj.fini { opacity: .6; background: #F4F7F6; }
.genetique-note { margin: 6px 4px 0; font-size: 11.5px; color: #6A8280; }
@media (max-width: 640px) { .ent-objectifs-liste { grid-template-columns: repeat(2, 1fr); } }

/* ---------- mobile ---------- */
@media (max-width: 991px) {
	body.theme .contenu-jeu { padding: 0; }
	body.theme .carte-contenu { padding: 18px 16px; }
}
@media (max-width: 767px) {
	body.theme .navbar-principal .navbar-toggle { margin-top: 16px; }
	body.theme .carte-contenu { padding: 14px 12px; border-radius: 18px; min-height: 240px; }
	body.theme .fil-titre { font-size: 17px; }
	body.theme .fil-contenu { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	body.theme * { transition-duration: .01ms !important; }
}

/* ---------- administration ---------- */
body.page-admin{background:linear-gradient(180deg,var(--noir),var(--fonce));color:var(--texte);min-height:100vh}
.adm{max-width:1280px;margin:0 auto;padding:10px 16px 50px}
.adm h1{color:var(--or-c);font-size:28px;margin:6px 0 14px}.adm h1 small{color:var(--menthe);font-size:14px;margin-left:10px}
.adm h2{color:var(--or);font-size:20px;margin:22px 0 10px}.adm h3{font-size:16px;color:var(--menthe)}
.adm-onglets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.adm-onglets button{background:var(--fonce);color:var(--menthe);border:2px solid var(--vert-f);border-radius:14px;padding:8px 16px;font-weight:700;cursor:pointer}
.adm-onglets button.actif{background:var(--vert);color:var(--blanc);border-color:var(--or)}
.adm-pan{background:var(--blanc);color:#17302e;border-radius:22px;padding:18px;box-shadow:0 4px 0 var(--vert-f)}
.adm-pan h2{color:var(--vert-f)}.adm-pan h3{color:var(--vert-f)}
.adm-pan[hidden]{display:none}
.adm-msg{padding:10px 16px;border-radius:14px;margin-bottom:12px;font-weight:700}.adm-msg.ok{background:var(--menthe);color:#043}.adm-msg.ko{background:#ffd9d4;color:#8a1a0e}
.adm-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.adm-stat{background:var(--menthe);border-radius:16px;padding:12px;text-align:center}.adm-stat b{display:block;font-size:26px;color:var(--vert-f)}.adm-stat span{font-size:13px}
.adm-btn{background:var(--vert);color:var(--blanc);border:0;border-bottom:4px solid var(--vert-f);border-radius:14px;padding:8px 16px;font-weight:700;cursor:pointer;margin:3px}
.adm-btn:hover{background:var(--vert-f)}
.adm-mini{background:var(--menthe);color:var(--vert-f);border:1px solid var(--vert);border-radius:10px;padding:2px 9px;font-size:12px;font-weight:700;cursor:pointer;margin:1px}
.adm-mini:hover{background:var(--vert);color:var(--blanc)}.adm-danger{background:#ffe3df;color:#a3200f;border-color:#d9503e}.adm-danger:hover{background:#c0392b;color:#fff}
.adm-table{overflow-x:auto}.adm-table table{width:100%;border-collapse:collapse;font-size:13px}
.adm-table th{background:var(--vert-f);color:var(--blanc);padding:6px 8px;text-align:left}.adm-table td{padding:6px 8px;border-bottom:1px solid #d6e8e5;vertical-align:top}
.adm-off{opacity:.55}.adm-act{white-space:nowrap}
.adm-form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-bottom:12px}
.adm-form label{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:var(--vert-f)}.adm-form .adm-large{flex:1 1 100%}
.adm input,.adm select,.adm textarea{border:1px solid #9cc7c0;border-radius:10px;padding:5px 8px;font-size:14px;color:#17302e;background:#fff}
.adm-n{width:76px}.adm-rech{margin-bottom:10px}.adm-rech input{margin-right:6px}
.adm-forum{border-top:1px solid #d6e8e5;padding-top:6px}.adm-aide{color:#456;font-size:13px}

/* ---------- alignement : la colonne d'annonces commence à la même hauteur que la carte blanche ---------- */
body.theme .contenu-pub{padding-top:0;padding-bottom:0}
body.theme .contenu-pub .annonce-contenu{margin-top:0}
body.theme .contenu-pub .annonce-contenu:last-child{margin-bottom:0}

/* ---------- aide ---------- */
body.page-aide{background:linear-gradient(180deg,var(--noir),var(--fonce));min-height:100vh}
.aide{max-width:1100px;margin:0 auto;padding:6px 16px 40px}
.aide h1{color:var(--or-c);font-size:30px}.aide h1 small{color:var(--menthe);font-size:15px}
.aide-recherche{margin:10px 0 16px;display:flex;gap:12px;align-items:center}
.aide-recherche input{flex:1;max-width:520px;border:2px solid var(--vert);border-radius:18px;padding:10px 16px;font-size:16px}
.aide-recherche span{color:var(--menthe)}
.aide-grille{display:grid;grid-template-columns:230px 1fr;gap:18px;align-items:start}
.aide-menu{position:sticky;top:10px;background:var(--fonce);border:2px solid var(--vert-f);border-radius:20px;padding:10px;display:flex;flex-direction:column;gap:3px}
.aide-menu a{color:var(--menthe);padding:7px 12px;border-radius:12px;text-decoration:none;font-weight:600}
.aide-menu a:hover{background:var(--vert-f);color:var(--blanc)}.aide-menu a.actif{background:var(--vert);color:var(--blanc);box-shadow:inset 0 -3px 0 var(--or)}
.aide-corps{background:var(--blanc);color:#17302e;border-radius:24px;padding:10px 24px 20px;box-shadow:0 4px 0 var(--vert-f)}
.aide-corps section{padding:14px 0;border-bottom:1px solid #d6e8e5;scroll-margin-top:12px}.aide-corps section:last-child{border:0}
.aide-corps h2{color:var(--vert-f);font-size:22px;margin:4px 0 8px}
.aide-corps li{margin:3px 0}.aide-corps dt{color:var(--vert-f);margin-top:8px}.aide-corps dd{margin:0 0 4px 0}
.aide-table{width:100%;border-collapse:collapse}.aide-table th{background:var(--vert-f);color:#fff;padding:6px 10px;text-align:left}.aide-table td{padding:6px 10px;border-bottom:1px solid #d6e8e5;vertical-align:top}
@media (max-width:760px){.aide-grille{grid-template-columns:1fr}.aide-menu{position:static;flex-direction:row;flex-wrap:wrap}}
body.page-aide .aide-menu a{color:var(--menthe)}body.page-aide .aide-menu a.actif,body.page-aide .aide-menu a:hover{color:var(--blanc)}

/* icônes des titres de panneaux (remplacent le carré doré vide) */
body.theme .hq-panneau-joueurs .hq-titre:before { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23FFF5AA%22%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.6%22/%3E%3Cpath d=%22M2 20c0-4 3-6.5 7-6.5s7 2.5 7 6.5z%22/%3E%3Ccircle cx=%2217.5%22 cy=%229%22 r=%222.8%22 opacity=%22.75%22/%3E%3Cpath d=%22M17 14c3 0 5.5 1.8 5.5 5.2H18c0-2-.5-3.8-1-5.2z%22 opacity=%22.75%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; width: 26px; height: 26px; border-radius: 0; margin: -5px 9px -6px 0; }
body.theme .hq-panneau-meteo .hq-titre:before { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23FFF5AA%22%3E%3Ccircle cx=%229%22 cy=%229%22 r=%224%22/%3E%3Cg stroke=%22%23FFF5AA%22 stroke-width=%221.6%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M9 1.5v2M9 14.5v2M1.5 9h2M14.5 9h2M3.7 3.7l1.4 1.4M12.9 12.9l1.4 1.4M3.7 14.3l1.4-1.4M12.9 5.1l1.4-1.4%22/%3E%3C/g%3E%3Cpath d=%22M9 21a4.5 4.5 0 0 1 .6-9 6 6 0 0 1 11.2 2.2A3.5 3.5 0 0 1 20 21z%22 opacity=%22.9%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; width: 26px; height: 26px; border-radius: 0; margin: -5px 9px -6px 0; }

/* Filtre « Longueur » : même rendu que les autres listes déroulantes, avec défilement */
body.theme .dropdown-menu-input { background: #fff; color: #17352a; border: 1px solid #b9d6c8; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.25);
	min-width: 110px; max-height: 240px; overflow-y: auto; overflow-x: hidden; padding: 4px 0; -webkit-overflow-scrolling: touch; z-index: 1100; }
body.theme .dropdown-menu-input > li > a { color: #17352a; padding: 5px 14px; font-size: 13px; }
body.theme .dropdown-menu-input > li > a:hover, body.theme .dropdown-menu-input > li > a:focus { background: #e3f4ec; color: #0a8765; }
body.theme .dropdown-menu-input::-webkit-scrollbar { width: 8px; } body.theme .dropdown-menu-input::-webkit-scrollbar-thumb { background: #9cc9b6; border-radius: 6px; }
body.theme .input-group-sm > .form-control, body.theme .input-group-btn > .btn-default { height: 30px; border-radius: 8px; }
.cadre-filtre, .panel-body, .well { overflow: visible; }

/* Compte : « Mes couleurs » et « Mon avatar » dans deux boîtes identiques */
.boite-photo { width: 180px; height: 180px; margin: 0 auto 8px; border-radius: 16px; overflow: hidden; border: 2px solid #b9d6c8; box-shadow: 0 4px 12px rgba(0,0,0,.18);
	background: radial-gradient(circle at 50% 30%, #ffffff, #dcefe6 75%); display: flex; align-items: center; justify-content: center; }
.boite-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boite-photo svg { display: block; }

/* ---------- administration : comptes inactifs, cartes de chevaux, boîtes de dialogue ---------- */
.adm-inactif td{background:#fff1d6 !important;box-shadow:inset 4px 0 0 #e08a00}.adm-inactif td:first-child{font-weight:700}
.adm-tag{display:inline-block;border-radius:999px;padding:1px 9px;font-size:11px;font-weight:800;margin-right:4px}
.adm-tag.inactif{background:#e08a00;color:#fff}.adm-tag.bloque{background:#c0392b;color:#fff}.adm-tag.abo{background:var(--vert);color:#fff}
.adm-legende{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin:6px 0 10px;color:#456}.adm-legende i{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:4px}
.adm-ch{border:1px solid #cfe7e1;border-radius:16px;padding:10px 12px;margin-bottom:10px;background:#f7fbfa}.adm-ch.adm-off{opacity:.55}
.adm-ch h4{margin:0 0 6px;font-size:14px;color:var(--vert-f)}
.adm-ch .adm-form{margin-bottom:4px;gap:8px}.adm-ch fieldset{border:1px dashed #9cc7c0;border-radius:12px;padding:6px 10px;margin:0;display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.adm-ch legend{font-size:11px;font-weight:800;color:var(--vert-f);width:auto;margin:0;padding:0 6px;border:0}
.adm-dlg-fond{position:fixed;inset:0;background:rgba(3,14,13,.72);backdrop-filter:blur(3px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:14px}
.adm-dlg{width:min(480px,100%);max-height:92vh;overflow:auto;background:#fff;color:#17302e;border-radius:22px;border:2px solid var(--or);box-shadow:0 20px 60px rgba(0,0,0,.6)}
.adm-dlg.danger{border-color:#d9503e}
.adm-dlg-tete{padding:14px 18px;border-radius:20px 20px 0 0;background:linear-gradient(135deg,var(--vert),var(--vert-f));color:#fff;font-weight:800;font-size:17px}
.adm-dlg.danger .adm-dlg-tete{background:linear-gradient(135deg,#c0392b,#7d1d12)}
.adm-dlg-corps{padding:14px 18px}.adm-dlg-texte{margin:0 0 12px;white-space:pre-line;line-height:1.45}
.adm-dlg-champ{display:block;margin-bottom:12px}.adm-dlg-champ>span{display:block;font-size:12px;font-weight:800;color:var(--vert-f);margin-bottom:3px}
.adm-dlg-champ input[type=text],.adm-dlg-champ input[type=password],.adm-dlg-champ input[type=number],.adm-dlg-champ select{width:100%;box-sizing:border-box}
.adm-dlg-rang{display:flex;gap:10px;align-items:center}.adm-dlg-rang input[type=range]{flex:1;accent-color:var(--vert)}.adm-dlg-rang input[type=number]{width:130px}
.adm-dlg-aide{font-size:11.5px;color:#567;margin-top:2px}
.adm-dlg-case{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#fff1ef;border:1px solid #e9a79d;font-weight:700;color:#7d1d12;margin:6px 0 4px}.adm-dlg-case input{margin-top:3px;width:18px;height:18px}
.adm-dlg-case.neutre{background:#eaf7f3;border-color:#9fd9c4;color:#075a43}
.adm-dlg-pied{display:flex;gap:10px;justify-content:flex-end;padding:0 18px 16px}
.adm-dlg-pied button{border:0;border-radius:12px;padding:9px 20px;font-weight:800;cursor:pointer}
.adm-dlg-ok{background:var(--vert);color:#fff;border-bottom:4px solid var(--vert-f) !important}.adm-dlg.danger .adm-dlg-ok{background:#c0392b;border-bottom-color:#7d1d12 !important}
.adm-dlg-ok[disabled]{filter:grayscale(1) opacity(.5);cursor:not-allowed}.adm-dlg-non{background:#e4efed;color:#17302e}
.adm-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;align-items:end;margin-bottom:10px}
.adm-grille label{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:var(--vert-f)}.adm-grille .large{grid-column:1/-1}
.adm-bloc{border:1px solid #cfe7e1;border-radius:16px;padding:12px;margin-bottom:12px;background:#f7fbfa}.adm-bloc h3{margin:0 0 8px}

/* VRSO : les quatre pastilles restent toujours sur une seule ligne */
.icones-vrso { display:flex; flex-wrap:nowrap; white-space:nowrap; min-width:228px; clear:both; }
.icones-vrso .icone2 { float:none; flex:0 0 auto; }
.signal-cheval { white-space:nowrap; }
/* Administration : une ligne par monde (texte + boutons côte à côte) sous la ligne du membre */
.adm-table tr.adm-mondes td{border-top:0;padding-top:0;padding-bottom:10px}
.adm-monde{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:3px 0}
.adm-mtxt{white-space:nowrap;margin-right:6px}

/* Clans : fiche « Mon clan » */
.clan-fiche{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:flex-start}
.clan-photo{flex:0 0 112px}
.clan-photo img{display:block;background:#fff}
.clan-col{flex:1 1 230px;min-width:200px}
.clan-col > div{margin-bottom:4px}
.clan-infos{margin-top:8px;line-height:1.5}
.clan-infos > div{margin:0}
.clan-niveau{color:#c25b00;font-weight:700}
.clan-lien-niveau{font-size:12px;margin-right:8px;white-space:nowrap}
