@charset "UTF-8";

/* CSS Document */
body {
	font-size: 15px;
	margin: 0px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: #f8fafc;
	-webkit-text-size-adjust: none;
	color: #0f172a;
}

a {
	color: #1b3aa0;
	text-decoration: none;
}

a:hover {
	color: #06c;
	text-decoration: underline;
}

.a {
	color: #1b3aa0;
	text-decoration: none;
	cursor: pointer;
}

.a:hover {
	color: #06c;
	text-decoration: underline;
}

h1 {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.page-container {
	border-top: 0 !important;
}

.descriptiondiv h1 {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.header__container {
	padding: 0;
}

.logo-banner {
	background-image: url(../images/svg/vislogo.svg);
	background-position: center center;
	position: relative;
	height: 38px;
	width: 100%;
	background-repeat: no-repeat;
	background-size: contain;
}

#container {
	max-width: 1024px;
	width: 100%;
	margin: 40px auto 20px auto;
	position: relative;
	overflow: hidden;
	height: auto;
	background-color: #ececec;
}

.container a {
	text-decoration: underline;
}

#mainContent {
	padding: 0;
	position: relative;
	width: 60%;
	float: left;
}

.rightbar {
	position: relative;
	width: 40%;
	float: left;
	height: auto;
	min-height: 350px;
}

.sideviewcontainer {
	position: relative;
	width: 40%;
	float: left;
}

#title {
	position: relative;
	width: 96%;
	padding: 20px 2% 0px 2%;
	color: #669;
	font-size: 18px;
	text-align: right;
	text-shadow: 1px 1px #fff;
	height: auto;
	overflow: hidden;
}

.content h1,
.content h2,
.content h3,
.content h4 {
	line-height: 120%;
	margin: 0px;
}

.content p,
.content li {
	line-height: 160%;
	margin: 0px;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: 16px;
}

h3 {
	font-size: 14px;
}

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.red {
	color: #fa3d3e;
}

.smalltxt {
	font-size: 11px;
}

.gold {
	color: #b28803;
}

fieldset {
	border: 1px solid #CCC;
	border-radius: 4px;
	padding: 1%;
	margin: 1% 0 1% 0;
	width: 96%;
}

legend {
	color: #49497f;
}

.qt {
	color: #666;
	margin: 3px;
	padding: 8px;
	clip: rect(auto auto auto auto);
	border: 2px solid #bcbcbc;
	border-top-right-radius: 1em;
	border-bottom-right-radius: 1em;
	border-bottom-left-radius: 1em;
	box-shadow: 2px 2px 6px #cacaca;
	font-style: italic;
	background-color: #f1f1f1;
}

.shadow {
	box-shadow: 2px 2px 6px #cacad7;
}

.shadow-dark {
	box-shadow: 2px 2px 6px #707070;
}

.lightest-background {
	background-color: #fff;
}

.white-bg {
	background-color: #fff;
}

.mid-background {
	background-color: #e7e7ec;
}

.rounded {
	border-radius: 5px;
}

.i-input {
	float: left;
	font-size: 13px;
	padding: 6px;
	width: 92%;
	border: 1px solid #CCC;
	border-radius: 5px;
}

.i-radio {
	float: left;
	margin-right: 10px;
}

.i-select {
	font-size: 13px;
	padding: 6px;
	border: 1px solid #CCC;
	color: #669;
}

.i-select-block {
	font-size: 13px;
	padding: 6px;
	border: 1px solid #CCC;
	display: block;
	color: #669;
}

textarea {
	font-family: Arial, Helvetica, sans-serif;
}

.slatefade {
	background-image: -webkit-linear-gradient(#bdc4d6, #68759c);
	background-image: -moz-linear-gradient(#bdc4d6, #68759c);
	background-image: -ms-linear-gradient(#bdc4d6, #68759c);
	background-image: -o-linear-gradient(#bdc4d6, #68759c);
	background-image: linear-gradient(#bdc4d6, #68759c);
}

.greyfade {
	background-image: -webkit-linear-gradient(#f9f9f9, #bbbbbb);
	background-image: -moz-linear-gradient(#f9f9f9, #bbbbbb);
	background-image: -ms-linear-gradient(#f9f9f9, #bbbbbb);
	background-image: -o-linear-gradient(#f9f9f9, #bbbbbb);
	background-image: linear-gradient(#f9f9f9, #bbbbbb);
}

/* header */
#header {
	position: fixed;
	background-color: #667aae;
	height: 40px;
	width: 100%;
	left: 0px;
	top: 0px;
	text-align: center;
	color: #eb2a2e;
	opacity: 0.9;
}

.title {
	position: relative;
	margin-top: 0.5em;
	margin-right: auto;
	margin-bottom: 0.5em;
	margin-left: auto;
	font-size: 1.5em;
	font-size: 18px;
}

/* /header */
#mask {
	background-color: #000;
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0px;
	top: 0px;
	display: none;
}

.mask {
	background-color: #000;
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0px;
	top: 0px;
	display: none;
}

/************************ menu ***********************/

.header-container ul.menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-container ul.menu li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border-left: none;
	background: transparent;
}

.header-container ul.menu li:not(:first-child)::before {
	display: none;
}

.header-container ul.menu li a {
	line-height: 1.2;
	margin: 0;
	padding: 8px 12px;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	border: none;
	border-bottom: 2px solid transparent;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
	position: relative;
}

.header-container ul.menu li a:hover {
	color: #0f172a;
	background: transparent;
	border-bottom: 2px solid #cbd5e1;
}

#menu-icon {
	background-image: url(../images/svg/menu.svg);
	position: absolute;
	height: 32px;
	width: 48px;
	left: 2%;
	top: 4px;
	cursor: pointer;
}

#swipe-menu {
	position: absolute;
	background-color: #4a5a86;
	background-image: url(../images/assets/back.gif);
	min-height: 150%;
	width: 250px;
	left: -270px;
	top: 0px;
	font-size: 14px;
	z-index: 1000;
}

#swipe-menu .menulist {
	display: none;
	overflow: hidden;
}

#swipe-menu dl {
	margin: 0px;
}

#swipe-menu dt {
	padding: 10px;
	font-size: 16px;
	cursor: pointer;
	color: #c7cee2;
	font-weight: normal;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #667aae;
}

#swipe-menu dt:hover {
	color: #fff;
}

#swipe-menu dd {
	padding: 8px;
	cursor: pointer;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	margin: 0px;
	color: #fff;
	font-size: 14px;
	font-weight: 200;
}

#swipe-menu dd:hover {
	color: #fc9;
}

#swipe-menu a {
	color: #FFF;
	text-decoration: none;
	cursor: pointer;
}

#swipe-menu a:hover {
	color: #fc9;
}

#swipe-menu .line {
	border-bottom-width: 1px;
}

#swipe-menu .nolink {
	color: #888;
	cursor: default;
}

#swipe-menu .nolink:hover {
	color: #888;
}

#swipe-menu .arrow-tab {
	float: right;
	position: relative;
	display: block;
}

#top-links {
	position: absolute;
	top: 12px;
	left: 8%;
	font-size: 15px;
}

#top-links a {
	margin-left: 15px;
	color: #FFF;
}

/***************** /menu ***********************/

/*  dym-div */







#dym-div {
	position: absolute;
	background-color: #CCC;
	height: 100%;
	min-height: 700px;
	width: 600px;
	top: 0px;
	font-size: 14px;
	box-shadow: 4px 4px 8px #000;
	right: -620px;
	padding: 10px;
	text-align: left;
	background-image: url(../images/assets/backlight.jpg);
	overflow: auto;
	display: none;
}

#dym-div-inner {
	padding: 2%;
	width: 96%;
	position: relative;
	top: 40px;
	padding-bottom: 100px;
}

#close-icon {
	background-image: url(../images/assets/closeicon.png);
	position: absolute;
	height: 32px;
	width: 42px;
	right: 8px;
	top: 8px;
	cursor: pointer;
}

#timer {
	background-color: #FFF;
	background-image: url(../images/assets/timer32.gif);
	position: fixed;
	height: 6%;
	width: 8%;
	left: 46%;
	max-width: 32px;
	max-height: 32px;
	top: 46%;
	background-repeat: no-repeat;
	background-position: center center;
	border-radius: 6px;
	opacity: 0.5;
	display: none;
	background-size: contain;
	padding: 2px;
}

/*  dym-div */
@media screen and (min-width:150px) and (max-width:600px) {
	#title {
		font-size: 11px;
	}

	#top-links {
		display: none;
	}

}

@media screen and (min-width:501px) and (max-width:800px) {
	#top-links {
		display: none;
	}

}

label {
	display: inline-block;
}

.hidden {
	display: none;
}

.headings-wide-spacing-enabled #graph h1,
.headings-wide-spacing-enabled #graph h2,
.headings-wide-spacing-enabled #graph h3,
.headings-wide-spacing-enabled #graph p,
.headings-wide-spacing-enabled #graph span,
.headings-wide-spacing-enabled #graph div {
	letter-spacing: normal;
}

.headings-wide-spacing-enabled .header-container ul.menu li a {
	letter-spacing: normal;
	padding: 5px;
}

.tier {
	width: 33%;
	float: left;
}

.tier .center {
	float: none;
	text-align: center;
}

div#block-sizetheme-content {
	padding: 0;
}

.main-content__section,
.sidebar__section {
	padding: 20px 0 0 0;
}

.clear {
	clear: both;
}

.img-right {
	float: right;
	margin: 0 0 1em 1em;
	clear: right;
	text-align: center;
}

.img-left {
	float: left;
	margin: 0 1em 1em 0;
	clear: left;
	text-align: center;
}

.img-left figcaption,
.img-right figcaption {
	font-size: 0.8em;
}

.renew {
	padding: 1px 6px;
	display: inline;
	margin: 0 0 0 5px;
	cursor: pointer;
}

.graph {
	float: left;
	position: relative;
	border: 1px solid;
	padding: 2px;
	margin-bottom: 1em;
	width: 100%;
}

.graph .chart_button {
	position: absolute;
	z-index: 10;
	width: 300px;
	top: 0;
	margin-left: -100px;
	left: 50%;
}

.graph .chart {
	width: 100%;
	max-width: 1100px;
	height: 500px;
}

.scrolltab {
	overflow-x: auto;
}

.half {
	width: 50%;
	float: left;
	padding: 0.5em 0;
}

.half .yourname {
	font-size: 18px;
	display: block;
	text-decoration: underline;
}

.half .recapsize {}

.preloader {
	margin: 100px auto 0;
	width: 66px;
	height: 12px;
}

.preloader .ltext {
	color: #000;
	margin: 5px 0;
	text-transform: uppercase;
	text-align: center;
	font-family: 'Arial', sans-serif;
	font-size: 10px;
	letter-spacing: 2px;
}

.preloader .line {
	width: 1px;
	height: 12px;
	background: #000;
	margin: 0 1px;
	display: inline-block;
	animation: opacity-1 1000ms infinite ease-in-out;
}

.preloader .line-1 {
	animation-delay: 800ms;
}

.preloader .line-2 {
	animation-delay: 600ms;
}

.preloader .line-3 {
	animation-delay: 400ms;
}

.preloader .line-4 {
	animation-delay: 200ms;
}

.preloader .line-6 {
	animation-delay: 200ms;
}

.preloader .line-7 {
	animation-delay: 400ms;
}

.preloader .line-8 {
	animation-delay: 600ms;
}

.preloader .line-9 {
	animation-delay: 800ms;
}

@keyframes opacity-1 {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}

}

.womenpref_table {
	width: 1000px;
}

.womenpref_table td {
	width: 25px;
	height: 25px;
	border: 0 none;
	border-left: 1px solid #DDD;
	border-top: 1px solid #DDD;
	padding: 0;
	color: #000;
	line-height: 0;
	text-align: center;
}

.womenpref_table th {
	padding: 0;
	font-size: 10px;
	letter-spacing: initial !important;
}

.wlegend {
	width: 1000px;
}

.wlegend td {
	width: 16%;
}

.lwcolor {
	border: 1px solid #DDD;
	float: left;
	width: 20px;
	height: 20px;
	margin-right: 3px;
	text-align: center;
	line-height: 20px;
}

.womenpref_table td.wcolor_E,
.wlegend .wcolor_E {
	background-color: #ffffff;
}

.womenpref_table td.wcolor_D,
.wlegend .wcolor_D {
	background-color: #90c8ff;
}

.womenpref_table td.wcolor_C,
.wlegend .wcolor_C {
	background-color: #ffff91;
}

.womenpref_table td.wcolor_B,
.wlegend .wcolor_B {
	background-color: #01800a;
}

.womenpref_table td.wcolor_A,
.wlegend .wcolor_A {
	background-color: #01DB0A;
}

.womenpref_table td.wcolor_red,
.wlegend .wcolor_red {
	background-color: #ff0101;
	color: #fff;
}

.womenpref_results {
	color: #aaa;
}

.womenres_highlight {
	font-weight: bold;
	color: #ce0000;
}

.wlegend td {
	border-radius: unset !important;
	padding: 0.2em;
}

.field--name-body img {
	border: 1px solid #e0e0e0;
	box-shadow: #e0e0e0 2px 2px 4px 0px;
}

table.wt {
	margin: 0;
}

table.wt>tbody>tr>td {
	border: 0 none;
}

.rotlabel {
	width: 1em;
	overflow: hidden;
	display: block;
}

.rot90 {
	transform: rotate(-90deg);
	display: block;
	margin-top: 350px;
}

.header-container ul.menu li.menu-item--active-trail {
	background: transparent;
}

.header-container ul.menu li.menu-item--active-trail>a,
.header-container ul.menu li.menu-item--active-trail .is-active,
.header-container ul.menu li a.is-active {
	background: transparent;
	color: #0f172a;
	font-weight: 800;
	border: none;
	border-bottom: 2.5px solid #e11d48;
	border-radius: 0;
	box-shadow: none;
}

/* En-tête opaque pour éviter toute transparence parasite avec le contenu */
header.header,
.header-container,
.site-header-inner {
	background-color: #ffffff;
	position: relative;
	z-index: 100;
}

/* Liens d'action fluides et naturels dans le texte */
a.textbutton,
a.textbutton.bluebutfade,
.content a.textbutton,
.node__content a.textbutton {
	display: inline;
	padding: 0;
	margin: 0;
	font-size: inherit;
	font-weight: 600;
	color: #2563eb;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	text-decoration: underline;
	text-decoration-color: #3b82f6;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	cursor: pointer;
	transition: all 0.15s ease;
	vertical-align: baseline;
	line-height: inherit;
	float: none;
}

a.textbutton:hover,
a.textbutton.bluebutfade:hover,
.content a.textbutton:hover,
.node__content a.textbutton:hover {
	color: #1d4ed8;
	text-decoration-color: #1d4ed8;
	background: transparent;
	transform: none;
	box-shadow: none;
}

.frontimg {
	display: flex;
	list-style-type: none;
	text-align: center;
	justify-content: space-between;
	width: 1024px;
	height: 884px;
	background-image: url(../images/front.jpg);
	margin-bottom: 1em;
	cursor: pointer;
}

.frontimg .acc3blocs {
	display: flex;
	padding: 0 43px;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	width: 950px;
}

.frontimg .acc3blocs.bloc1 {
	margin-left: 28px;
}

.frontimg .acc3blocs.bloc3 {
	margin-right: 42px;
}

.frontimg .acc3blocs .acctitre {
	margin-top: 525px;
	color: white;
	font-weight: bold;
	font-size: 28px;
	width: 100%;
}

.frontimg .acc3blocs .accdesc {
	margin-top: 158px;
	color: white;
	font-size: 16px;
	width: 100%;
	padding: 10px;
	color: #0c2f54;
	height: 140px;
	display: flex;
	align-items: center;
}

.frontimg .acc3blocs:hover .acctitre,
.frontimg .acc3blocs:hover .accdesc {
	color: #cd330e;
}

.acc1,
.acc2,
.acc3 {
	width: 350px;
	height: 250px;
	font-size: 30px;
	padding: 75px 8px 0;
	list-style-type: none;
	line-height: 1.1em !important;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .4);
	border-radius: 16px;
}

.acc1 {
	background: url(../images/acc1.jpg);
}

.acc2 {
	background: url(../images/acc2.jpg);
}

.acc3 {
	background: url(../images/acc3.jpg);
}

.lity-iframe-container {
	height: 240px;
	width: 756px;
}

.lity-iframe .lity-container {
	max-width: 756px;
	max-height: 240px;
}

.lity-iframe-container {
	padding-top: 50%;
	/* 4:3 ratio */
}

.block-dropdown-language {
	width: 125px;
	font-size: 12px;
	margin: 20px 20px;
}

.block-dropdown-language .dropbutton-action {
	background-size: 20px 19px;
}

.dropbutton .dropbutton-action>* {
	padding: 0 20px 0 28px !important;
}

.block-dropdown-language .dropbutton-action.fr {
	background: url('/themes/custom/sizetheme/images/fr.svg') no-repeat;
}

/* Cache l'ancien bloc dropbutton de langue au profit du composant moderne */
.block-dropdown-language,
#block-dropdownlanguage,
.block-dropdownlanguage {
	display: none !important;
}

/* Header Container & Flex System */
.site-header-inner {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
}

.site-header-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: auto;
	width: auto;
}

/* Logo : Image au-dessus et texte en-dessous */
.site-header-logo .logo-and-site-name-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.site-header-logo .logo {
	float: none;
	margin: 0 auto 4px auto;
	display: flex;
	justify-content: center;
}

.site-header-logo .logo a,
.site-header-logo .site-branding__logo {
	display: inline-block;
}

.site-header-logo .logo img {
	display: block;
	margin: 0 auto;
	max-height: 52px;
	width: auto;
}

.site-header-logo .site-name,
.site-header-logo .site-branding__name {
	float: none;
	display: block;
	text-align: center;
	margin: 0;
	padding: 0;
	line-height: 1.1;
}

.site-header-logo .site-name a {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #1b3aa0;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
}

.site-header-logo .site-slogan {
	text-align: center;
	margin-top: 2px;
}

.site-header-nav {
	display: flex;
	align-items: center;
}

.site-header-nav .header-second,
.site-header-nav .header-nav-wrapper,
.site-header-nav .region-header {
	display: flex;
	align-items: center;
	width: 100%;
}

/* ==========================================================================
   Micro Top Utility Bar (Language Selector top-right)
   ========================================================================== */
.site-top-bar {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	padding: 3px 0;
	position: relative;
	z-index: 1002;
}

.site-top-bar-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	gap: 8px;
}

/* ==========================================================================
   Unit Switcher [ cm | in ] (Modern sliding pill)
   ========================================================================== */
.unit-switcher-wrapper {
	display: inline-flex;
	align-items: center;
}

.unit-pill-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 13px;
	height: 26px;
	padding: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	cursor: pointer;
	user-select: none;
	width: 68px;
	box-sizing: border-box;
}

.unit-pill-btn {
	position: relative;
	z-index: 2;
	flex: 1 1 50%;
	height: 20px;
	line-height: 20px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	font-family: inherit;
	text-align: center;
	cursor: pointer;
	color: #64748b;
	transition: color 0.15s ease-in-out;
}

.unit-pill-btn:hover {
	color: #0f172a;
}

.unit-pill-btn.is-active {
	color: #ffffff;
}

.unit-pill-slider {
	position: absolute;
	top: 2px;
	left: 2px;
	width: calc(50% - 2px);
	height: 20px;
	background: linear-gradient(135deg, #1b3aa0 0%, #2563eb 100%);
	border-radius: 10px;
	z-index: 1;
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(27, 58, 160, 0.25);
}

.unit-pill-toggle.is-imperial .unit-pill-slider {
	transform: translateX(100%);
}

.unit-pill-toggle.is-metric .unit-pill-slider {
	transform: translateX(0);
}

.site-nav-panel-unit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 14px;
	background: #f8fafc;
	border-radius: 8px;
	margin-bottom: 12px;
}

.site-nav-panel-unit-label {
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.site-top-bar .language-dropdown {
	position: relative;
}

.site-top-bar .language-pill-btn {
	height: 26px;
	padding: 2px 7px;
	border-radius: 13px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	gap: 5px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-top-bar .language-pill-btn:hover {
	border-color: #1b3aa0;
	background: #f1f5f9;
}

.site-top-bar .dropdown-menu-pane {
	top: calc(100% + 4px);
	right: 0;
	left: auto;
}

.pill-chevron--micro {
	font-size: 9px;
	opacity: 0.65;
}

.site-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	z-index: 1000;
}

/* ==========================================================================
   Modern Header Pill Buttons & Dropdown Panes (Language & User Account)
   ========================================================================== */
.site-dropdown {
	position: relative;
	display: inline-block;
}

.header-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #ffffff;
	border: 1px solid #d1d5db;
	color: #334155;
	padding: 5px 12px;
	height: 34px;
	border-radius: 17px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	outline: none;
	line-height: 1;
	white-space: nowrap;
}

.header-pill-btn:hover,
.header-pill-btn:focus,
.site-dropdown.is-open .header-pill-btn {
	background: #f8fafc;
	border-color: #1b3aa0;
	color: #1b3aa0;
	box-shadow: 0 2px 6px rgba(27, 58, 160, 0.15);
}

.members-pill-btn {
	color: #0f172a;
	border-color: #d1d5db;
	background: #ffffff;
}

.members-pill-btn:hover {
	background: #f8fafc;
	border-color: #2563eb;
	color: #1d4ed8;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.members-pill-btn .pill-avatar {
	color: #2563eb;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: transform 0.15s ease, color 0.15s ease;
}

.members-pill-btn:hover .pill-avatar {
	color: #1d4ed8;
	transform: scale(1.08);
}

.pill-icon-svg {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

.pill-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 15px;
}

.pill-flag img {
	width: 20px;
	height: 15px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	display: block;
}

.pill-avatar {
	color: #1b3aa0;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.pill-label {
	font-size: 12px;
	font-weight: 600;
	color: inherit;
}

.user-account-name {
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pill-star-adfree {
	color: #f59e0b;
	font-size: 11px;
	margin-left: -2px;
	margin-right: 2px;
}

.pill-chevron {
	font-size: 10px;
	color: #64748b;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	margin-left: 2px;
}

.site-dropdown.is-open .pill-chevron {
	transform: rotate(180deg);
	color: #1b3aa0;
}

/* Dropdown Menu Pane */
.dropdown-menu-pane {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	min-width: 230px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12), 0 4px 6px rgba(15, 23, 42, 0.04);
	padding: 0;
	margin: 0;
	z-index: 1050;
	animation: dropdownFadeDown 0.18s ease-out;
	overflow: hidden;
}

.site-dropdown.is-open .dropdown-menu-pane,
.user-account-dropdown.is-open .dropdown-menu-pane,
.language-dropdown.is-open .dropdown-menu-pane {
	display: block;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

@keyframes dropdownFadeDown {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Dropdown Headers */
.dropdown-pane-header {
	padding: 10px 14px;
	background: #f8fafc;
	border-bottom: 1px solid #edf2f7;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

.user-pane-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	text-transform: none;
}

.user-avatar-large {
	font-size: 24px;
	color: #1b3aa0;
	line-height: 1;
}

.user-info-text {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.user-name {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.user-email {
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.user-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
	width: fit-content;
	line-height: 1.2;
}

.user-badge.badge--ad-free {
	background: #fef3c7;
	color: #92400e;
	border-color: #fde68a;
}

/* Dropdown List */
.dropdown-pane-list {
	list-style: none;
	padding: 6px 0;
	margin: 0;
	max-height: 320px;
	overflow-y: auto;
}

.dropdown-pane-list li {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none !important;
}

.dropdown-pane-list li::before {
	display: none !important;
}

.dropdown-pane-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 500;
	color: #334155;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease;
	cursor: pointer;
}

.dropdown-pane-link:hover {
	background: #f1f5f9;
	color: #1b3aa0;
	text-decoration: none !important;
}

.dropdown-pane-link.is-active {
	background: #eff6ff;
	color: #1b3aa0;
	font-weight: 600;
}

.lang-active-check {
	margin-left: auto;
	color: #1b3aa0;
	font-size: 11px;
}

.dropdown-link-text {
	font-size: 13px;
}

.pane-icon {
	width: 16px;
	text-align: center;
	color: #64748b;
	font-size: 13px;
}

.dropdown-pane-link:hover .pane-icon {
	color: #1b3aa0;
}

.link--highlight {
	color: #1b3aa0;
	font-weight: 600;
}

.link--highlight .pane-icon {
	color: #1b3aa0;
}

.link--admin {
	color: #0f766e;
}

.link--admin:hover {
	background: #f0fdfa;
	color: #0d9488;
}

.link--logout {
	color: #dc2626;
}

.link--logout:hover {
	background: #fef2f2;
	color: #b91c1c;
}

.dropdown-pane-divider {
	height: 1px;
	background: #f1f5f9;
	margin: 5px 0;
	padding: 0;
}

/* ==========================================================================
   Modern Header Responsive Layout (Desktop >= 992px vs Mobile/Tablet < 992px)
   ========================================================================== */

/* 1. Desktop (>= 992px) : 1 ligne horizontale fluide et aérée */
@media only screen and (min-width: 992px) {
	.site-header-inner {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}

	.site-header-logo {
		flex: 0 0 auto;
		min-width: auto;
	}

	.col-logo {
		max-width: 280px;
		width: auto;
		flex: 0 0 auto;
		min-width: auto;
	}

	.col-menu {
		width: auto;
		flex: 1 1 auto;
	}

	.site-header-nav {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.site-header-nav .header-nav-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.site-header-actions {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
	}

	.site-mobile-burger {
		display: none !important;
	}

	.site-nav-overlay {
		display: none !important;
	}

	.site-nav-panel-header {
		display: none !important;
	}

	.site-nav-panel-footer {
		display: none !important;
	}

	.site-nav-panel {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	/* Menu Desktop : retour au style d'origine épuré (soulignement gris au hover, rouge sur actif, zéro pastille) */
	.header-container ul.menu {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.header-container ul.menu li {
		position: relative;
		display: inline-flex;
		margin: 0;
		padding: 0;
	}

	.header-container ul.menu li:not(:first-child)::before {
		display: none !important;
	}

	.header-container ul.menu li a {
		line-height: 1.2;
		margin: 0;
		padding: 8px 12px;
		white-space: nowrap;
		font-size: 13px;
		font-weight: 600;
		color: #64748b;
		border: none;
		border-bottom: 2px solid transparent;
		background: transparent !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		text-decoration: none !important;
		transition: color 0.15s ease, border-color 0.15s ease;
		position: relative;
	}

	.header-container ul.menu li a:hover {
		color: #0f172a !important;
		background: transparent !important;
		border-bottom: 2px solid #cbd5e1 !important;
	}

	.header-container ul.menu li a.is-active,
	.header-container ul.menu li.menu-item--active-trail>a {
		color: #0f172a !important;
		background: transparent !important;
		font-weight: 800;
		border-bottom: 2.5px solid #e11d48 !important;
	}
}

/* 2. Mobile & Tablet (< 992px) : Header unifié sur 1 seule ligne compacte */
@media only screen and (max-width: 991px) {
	.site-header-inner {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 6px 0;
		width: 100%;
	}

	.site-header-logo {
		flex: 0 1 auto;
		justify-content: flex-start;
		min-width: auto;
	}

	.site-header-logo .logo-and-site-name-wrapper {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		text-align: left;
	}

	.site-header-logo .logo {
		margin: 0;
	}

	.site-header-logo .logo img {
		max-height: 38px;
	}

	.site-header-logo .site-name a {
		font-size: 17px;
	}

	.site-header-logo .site-slogan {
		display: none;
	}

	/* Actions mobiles compactes avec le burger sur la même ligne */
	.site-header-actions {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
	}

	.members-pill-btn {
		padding: 5px 10px;
	}

	.site-mobile-burger {
		display: inline-flex !important;
	}

	/* Quand le tiroir mobile est ouvert, élever tout le header au-dessus de la barre supérieure */
	body.mobile-nav-open header.header,
	body.mobile-nav-open .header,
	body.mobile-nav-open .header-container,
	body.mobile-nav-open .site-header-inner,
	body.mobile-nav-open .onscroll .header.js-fixed,
	header.header:has(.site-header-nav.is-open) {
		z-index: 100000 !important;
	}

	body.mobile-nav-open .site-top-bar,
	body:has(.site-header-nav.is-open) .site-top-bar {
		z-index: 1 !important;
	}

	/* Tiroir Off-Canvas mobile hébergeant le menu principal Drupal */
	.site-header-nav {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		z-index: 99999 !important;
		visibility: hidden;
		pointer-events: none;
		transition: visibility 0.25s ease;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.site-header-nav.is-open {
		visibility: visible;
		pointer-events: auto;
	}

	.site-nav-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(15, 23, 42, 0.55);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
		opacity: 0;
		transition: opacity 0.25s ease;
	}

	.site-header-nav.is-open .site-nav-overlay {
		opacity: 1;
	}

	.site-nav-panel {
		position: absolute;
		top: 0;
		right: 0;
		width: 300px;
		max-width: 85vw;
		height: 100%;
		background: #ffffff;
		box-shadow: -6px 0 28px rgba(0, 0, 0, 0.22);
		display: flex;
		flex-direction: column;
		transform: translateX(100%);
		transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 2;
	}

	.site-header-nav.is-open .site-nav-panel {
		transform: translateX(0);
	}

	.site-nav-panel-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 18px;
		border-bottom: 1px solid #f1f5f9;
		background: #f8fafc;
		flex-shrink: 0;
	}

	.site-nav-panel-title {
		font-size: 16px;
		font-weight: 700;
		color: #1e293b;
		letter-spacing: 0.02em;
	}

	.site-nav-close-btn {
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 8px;
		width: 32px;
		height: 32px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #64748b;
		font-size: 16px;
		cursor: pointer;
		outline: none;
		transition: all 0.15s ease;
	}

	.site-nav-close-btn:hover {
		background: #fee2e2;
		color: #dc2626;
		border-color: #fca5a5;
	}

	.site-header-nav .header-second {
		flex: 1 1 auto;
		display: block !important;
		padding: 8px 0;
		width: 100% !important;
	}

	/* Liste verticale des liens du menu principal dans le tiroir mobile */
	.site-nav-panel ul.menu {
		list-style: none;
		padding: 8px 12px;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 3px;
		text-align: left !important;
	}

	.site-nav-panel ul.menu li {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.site-nav-panel ul.menu li::before {
		display: none !important;
	}

	.site-nav-panel ul.menu li a {
		display: flex;
		align-items: center;
		padding: 12px 14px;
		min-height: 44px;
		font-size: 13px;
		font-weight: 700;
		color: #334155;
		text-decoration: none !important;
		border: none;
		border-bottom: 1px solid #f1f5f9;
		border-radius: 8px;
		transition: all 0.15s ease;
		background: transparent;
		box-shadow: none;
	}

	.site-nav-panel ul.menu li a:hover {
		background: #f8fafc !important;
		color: #1b3aa0 !important;
		transform: translateX(4px);
	}

	.site-nav-panel ul.menu li a.is-active,
	.site-nav-panel ul.menu li.menu-item--active-trail>a {
		background: #eff6ff !important;
		color: #1b3aa0 !important;
		border-left: 3px solid #1b3aa0 !important;
		border-bottom: 1px solid #f1f5f9 !important;
		border-radius: 0 8px 8px 0 !important;
	}

	.site-nav-panel-footer {
		padding: 14px 16px 24px 16px;
		border-top: 1px solid #f1f5f9;
		margin-top: auto;
		background: #ffffff;
		flex-shrink: 0;
	}

	.site-nav-members-link {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 11px 16px;
		background: #f0f9ff;
		border: 1px solid #bae6fd;
		border-radius: 8px;
		color: #0369a1;
		font-size: 13px;
		font-weight: 700;
		text-decoration: none !important;
		transition: all 0.15s ease;
	}

	.site-nav-members-link:hover {
		background: #e0f2fe;
		color: #0284c7;
	}

	/* Dropdown pane positionnement mobile */
	.dropdown-menu-pane {
		top: calc(100% + 8px);
		min-width: 220px;
		max-width: calc(100vw - 24px);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
		right: 0 !important;
		left: auto !important;
		transform: none !important;
	}
}

/* 3. Petit Mobile (< 480px) : Rétractation intelligente des textes de boutons */
@media only screen and (max-width: 480px) {
	.members-pill-btn .pill-label {
		display: none;
	}

	.members-pill-btn {
		padding: 5px 8px;
		width: 34px;
		justify-content: center;
	}

	.members-pill-btn .pill-avatar {
		margin: 0;
	}

	.user-account-trigger .user-account-name {
		display: none;
	}

	.user-account-trigger {
		padding: 5px 8px;
		gap: 4px;
	}
}

/* ==========================================================================
   Mobile Burger Button (Bouton épuré avec icône FontAwesome fa-bars)
   ========================================================================== */
.site-mobile-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	cursor: pointer;
	padding: 0;
	color: #334155;
	font-size: 16px;
	line-height: 1;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	outline: none;
	flex-shrink: 0;
}

.site-mobile-burger:hover,
.site-mobile-burger:focus,
.site-mobile-burger.is-active {
	background: #f8fafc;
	border-color: #1b3aa0;
	color: #1b3aa0;
	box-shadow: 0 2px 6px rgba(27, 58, 160, 0.15);
}

body.mobile-nav-open {
	overflow: hidden !important;
	touch-action: none;
}

.tabledrag-toggle-weight-wrapper {
	display: none;
}

a.tabledrag-handle .handle {
	width: 28px;
	height: 28px;
}

@media only screen and (max-width:991px) {
	.half {
		width: 100%;
	}

	.frontimg {
		display: none;
	}

}

/* Hilltop Ads */
.htads {
	float: left;
	display: block;
}

/* juicyads.com */
iframe[src*="poweredby"] {
	z-index: 0 !important;
}

.rightbar iframe[src*="poweredby"] {
	margin-top: 1em !important;
}

.jafooter iframe[src*="poweredby"],
.jafootermob iframe[src*="poweredby"] {
	float: left;
	display: block;
	width: 100% !important;
}

.janative {
	display: flex !important;
	justify-content: center !important;
}

/* Disable ads */

/* * /

iframe {

  position: absolute !important;

  top: -10000px !important;

}

.janative iframe[src*="poweredby"] {

  position: absolute !important;

  top: -10000px !important;

}

.rightbar iframe[src*="poweredby"] {

  position: absolute !important;

  top: -10000px !important;

}

/* */

.htads2,
.htads3 {
	/*height: 0;
	max-height: 0;
	overflow: hidden;*/
	opacity: 0.001;
	position: absolute;
	z-index: -1;
}

.jafootermob iframe[src*="poweredby"] {
	position: absolute !important;
	top: -10000px !important;
}

div[id*='juicyads'] {
	position: absolute !important;
	top: -10000px !important;
}

/* End Disable ads */

/* Supporter Mode : Suppression totale des publicités */
body.is-ad-free .htads,
body.is-ad-free .htads2,
body.is-ad-free .htads3,
body.is-ad-free .janative,
body.is-ad-free .jafooter,
body.is-ad-free .jafootermob,
body.is-ad-free div[id*='juicyads'],
body.is-ad-free iframe[src*="poweredby"],
body.is-ad-free iframe[src*="juicyads"],
body.is-ad-free iframe[id^="ad"],
body.is-ad-free .compare-ad,
body.is-ad-free .block-duo-block .rightbar,
body.is-ad-free .block-duo .rightbar {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	width: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ==========================================================================
   Modern User Authentication Forms (Login, Password Reset & Register)
   ========================================================================== */

/* Clean login, reset password & register card container */
body.path-user #user-login-form,
body.path-user #user-pass,
body.path-user #user-register-form,
#user-login-form,
#user-pass,
#user-register-form {
	max-width: 460px;
	margin: 40px auto 50px auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	box-sizing: border-box;
	float: none;
}

/* Header title */
#user-login-form .login-title,
#user-pass .login-title,
#user-register-form .login-title {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
	padding: 18px 24px;
	margin: 0 0 24px 0;
	font-size: 19px;
	font-weight: 700;
	color: #1b3aa0;
	text-align: center;
	letter-spacing: -0.01em;
	box-shadow: none;
	border-radius: 14px 14px 0 0;
}

/* Form items container */
#user-login-form .form-item,
#user-pass .form-item,
#user-register-form .form-item {
	padding: 0 32px;
	margin: 0 0 18px 0;
	box-sizing: border-box;
}

#user-register-form .description {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
	line-height: 1.45;
}

/* Field labels */
#user-login-form label,
#user-pass label,
#user-register-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
	line-height: 1.4;
}

#user-login-form label.form-required::after,
#user-pass label.form-required::after,
#user-register-form label.form-required::after {
	content: " *";
	color: #ef4444;
	font-weight: bold;
}

/* Input fields (strictly scoped to authentication cards) */
#user-login-form input.form-text,
#user-pass input.form-text,
#user-register-form input.form-text,
#user-register-form input.form-email,
#user-login-form #edit-name,
#user-login-form #edit-pass,
#user-pass #edit-name,
#user-pass #edit-pass,
#user-register-form #edit-name,
#user-register-form #edit-mail {
	width: 100%;
	max-width: 100%;
	height: 44px;
	padding: 10px 14px;
	font-size: 14px;
	color: #1e293b;
	background-color: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset;
}

#user-login-form input.form-text:focus,
#user-pass input.form-text:focus,
#user-register-form input.form-text:focus,
#user-register-form input.form-email:focus,
#user-login-form #edit-name:focus,
#user-login-form #edit-pass:focus,
#user-pass #edit-name:focus,
#user-pass #edit-pass:focus,
#user-register-form #edit-name:focus,
#user-register-form #edit-mail:focus {
	border-color: #1b3aa0;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(27, 58, 160, 0.15);
	outline: none;
}

/* Fix autofill yellow background in Webkit/Chrome */
#user-login-form input:-webkit-autofill,
#user-pass input:-webkit-autofill,
#user-register-form input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 30px #f8fafc inset;
	-webkit-text-fill-color: #1e293b;
}

#user-login-form input:-webkit-autofill:focus,
#user-pass input:-webkit-autofill:focus,
#user-register-form input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 30px #ffffff inset;
	-webkit-text-fill-color: #1e293b;
}

/* Persistent login ("Remember me") checkbox aligned on the left */
#user-login-form .form-item-persistent-login {
	float: left;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px 0;
	padding: 0 0 0 32px;
	width: auto;
}

#user-login-form .form-item-persistent-login input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
	accent-color: #1b3aa0;
	vertical-align: middle;
}

#user-login-form .form-item-persistent-login label {
	display: inline;
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

/* Forgot password link aligned on the right */
#user-login-form p.forgot-password {
	float: right;
	display: inline-block;
	margin: 0 0 14px 0;
	padding: 0 32px 0 0;
	position: static;
	top: auto;
}

#user-login-form p.forgot-password a {
	font-size: 13px;
	color: #1b3aa0;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

#user-login-form p.forgot-password a:hover {
	color: #06c;
	text-decoration: underline;
}

/* Caps Lock warning indicator */
#capslockdiv {
	clear: both;
	margin: 0;
	padding: 0 32px;
	height: auto;
	min-height: 0;
}

#capslockdiv p {
	display: none;
	background-color: #fffbeb;
	border: 1px solid #fef3c7;
	color: #b45309;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	margin: 4px 0 12px 0;
	height: auto;
	text-align: left;
}

/* Form actions / Submit button */
#user-login-form .form-actions,
#user-pass .form-actions,
#user-register-form .form-actions {
	clear: both;
	margin: 18px 0 0 0;
	padding: 0 32px;
}

#user-login-form #edit-submit,
#user-pass #edit-submit,
#user-register-form #edit-submit {
	width: 100%;
	height: 44px;
	background: linear-gradient(135deg, #1b3aa0 0%, #2563eb 100%);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(27, 58, 160, 0.25);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

#user-login-form #edit-submit:hover,
#user-login-form #edit-submit:focus,
#user-pass #edit-submit:hover,
#user-pass #edit-submit:focus,
#user-register-form #edit-submit:hover,
#user-register-form #edit-submit:focus {
	background: linear-gradient(135deg, #132b80 0%, #1d4ed8 100%);
	box-shadow: 0 6px 18px rgba(27, 58, 160, 0.35);
	transform: translateY(-1px);
	outline: none;
}

#user-login-form #edit-submit:active,
#user-pass #edit-submit:active,
#user-register-form #edit-submit:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(27, 58, 160, 0.2);
}

/* Secondary footer links (Create account & Back to login) */
#user-login-form .actions-suffix,
#user-pass .back-to-login,
#user-register-form .actions-suffix {
	float: none;
	position: static;
	bottom: auto;
	right: auto;
	margin-top: 20px;
	padding: 16px 32px 6px 32px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}

#user-login-form .actions-suffix a,
#user-pass .back-to-login a,
#user-register-form .actions-suffix a {
	color: #1b3aa0;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

#user-login-form .actions-suffix a:hover,
#user-pass .back-to-login a:hover,
#user-register-form .actions-suffix a:hover {
	color: #06c;
	text-decoration: underline;
}

/* Antibot warning message */
.antibot-message {
	margin: 16px 32px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
}

/* Responsive mobile adjustments */
@media (max-width: 480px) {

	body.path-user #user-login-form,
	body.path-user #user-pass,
	body.path-user #user-register-form,
	#user-login-form,
	#user-pass,
	#user-register-form {
		margin: 20px 12px 30px 12px;
		max-width: 100%;
	}

	#user-login-form .form-item,
	#user-pass .form-item,
	#user-register-form .form-item,
	#user-login-form .form-actions,
	#user-pass .form-actions,
	#user-register-form .form-actions,
	#capslockdiv {
		padding: 0 20px;
	}

	#user-login-form .form-item-persistent-login {
		padding-left: 20px;
		float: none;
		display: flex;
	}

	#user-login-form p.forgot-password {
		padding-right: 20px;
		float: none;
		display: block;
		text-align: left;
		padding-left: 20px;
	}

	#user-login-form .actions-suffix,
	#user-pass .back-to-login,
	#user-register-form .actions-suffix {
		padding: 16px 20px 6px 20px;
	}
}

/* ==========================================================================
   Modern User Account Profile Page (/user/{uid}) & Profile Edit Form
   ========================================================================== */

/* Main profile container */
body.path-user article.user,
body.path-user .user-profile,
body.path-user-page article.user {
	max-width: 960px;
	margin: 30px auto 50px auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 30px 36px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
	box-sizing: border-box;
}

/* User Profile Images & Photos Gallery */
body.path-user article.user .field--type-image,
body.path-user article.user [class*="field--name-field-photo"],
body.path-user article.user [class*="field--name-user-picture"],
body.path-user .user-profile .field--type-image {
	margin-top: 24px;
}

body.path-user article.user .field--type-image .field__items,
body.path-user article.user [class*="field--name-field-photo"] .field__items,
body.path-user article.user [class*="field--name-user-picture"] .field__items,
body.path-user .user-profile .field--type-image .field__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
	margin-top: 16px;
}

body.path-user article.user .field--type-image .field__item,
body.path-user article.user [class*="field--name-field-photo"] .field__item,
body.path-user article.user [class*="field--name-user-picture"] .field__item,
body.path-user .user-profile .field--type-image .field__item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

body.path-user article.user .field--type-image .field__item:hover,
body.path-user article.user [class*="field--name-field-photo"] .field__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
	border-color: #cbd5e1;
}

/* Enlarge and beautify user profile images */
body.path-user article.user .field--type-image img,
body.path-user article.user [class*="field--name-field-photo"] img,
body.path-user article.user [class*="field--name-user-picture"] img,
body.path-user article.user .field__item img,
body.path-user .user-profile img {
	width: 100% !important;
	max-width: 100% !important;
	height: 250px !important;
	object-fit: cover !important;
	border-radius: 8px !important;
	display: block !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Metadata underneath profile photos */
body.path-user article.user .field__item,
body.path-user article.user .field__item span,
body.path-user article.user .field__item div {
	font-size: 11px;
	color: #64748b;
	line-height: 1.5;
	margin-top: 6px;
}

/* Clean Edit User Profile form (/user/{uid}/edit) */
body.path-user .user-form,
body.path-user form[id^="user-form"] {
	max-width: 860px;
	margin: 25px auto 40px auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 30px 36px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
}

body.path-user .user-form .form-item {
	margin-bottom: 22px;
}

body.path-user .user-form label {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
	display: block;
}

body.path-user .user-form input.form-text,
body.path-user .user-form input.form-email,
body.path-user .user-form input.form-password {
	width: 100%;
	max-width: 100%;
	height: 42px;
	padding: 8px 12px;
	border: 1.5px solid #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	font-size: 14px;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

body.path-user .user-form input.form-text:focus,
body.path-user .user-form input.form-email:focus,
body.path-user .user-form input.form-password:focus {
	border-color: #1b3aa0;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(27, 58, 160, 0.15);
	outline: none;
}

body.path-user .user-form .description {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
	line-height: 1.5;
}

/* Checkboxes styling on user forms (align checkbox and label horizontally) */
.user-form .form-type-checkbox,
.user-form .form-type--checkbox,
.user-form .form-item-field-show-in-members-value,
#user-register-form .form-type-checkbox,
#user-register-form .form-type--checkbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.user-form .form-type-checkbox input[type="checkbox"],
.user-form .form-type--checkbox input[type="checkbox"],
.user-form .form-item-field-show-in-members-value input[type="checkbox"],
#user-register-form .form-type-checkbox input[type="checkbox"],
#user-register-form .form-type--checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	accent-color: #1b3aa0;
	flex-shrink: 0;
}

.user-form .form-type-checkbox label,
.user-form .form-type-checkbox label.option,
.user-form .form-type--checkbox label,
.user-form .form-type--checkbox label.option,
.user-form .form-item-field-show-in-members-value label,
#user-register-form .form-type-checkbox label,
#user-register-form .form-type--checkbox label.option,
#user-register-form .form-type--checkbox label,
#user-register-form .form-type--checkbox label.option {
	display: inline !important;
	margin-bottom: 0 !important;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	cursor: pointer;
	user-select: none;
	flex: 1;
}

.user-form .form-type-checkbox .description,
.user-form .form-type--checkbox .description,
.user-form .form-item-field-show-in-members-value .description,
#user-register-form .form-type-checkbox .description,
#user-register-form .form-type--checkbox .description {
	width: 100%;
	margin-top: 4px;
	margin-left: 28px;
}

/* Ensure password confirm widget container on edit form has natural height */
body.path-user .user-form #edit-pass,
body.path-user .user-form .form-type-password-confirm {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	display: block !important;
}

/* Photos upload table on edit form */
body.path-user .user-form table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	margin: 12px 0 16px 0;
}

body.path-user .user-form table th {
	background: #f8fafc;
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	border-bottom: 1px solid #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

body.path-user .user-form table td {
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
	vertical-align: middle;
}

body.path-user .user-form table td input.button,
body.path-user .user-form table td input.form-submit {
	background: #334155;
	color: #ffffff;
	border: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

body.path-user .user-form table td input.button:hover,
body.path-user .user-form table td input.form-submit:hover {
	background: #dc2626;
}

/* ==========================================================================
   Clean CAPTCHA & Turnstile Widget (Centering & Layout)
   ========================================================================== */
.captcha,
fieldset.captcha,
.form-type-captcha,
.captcha-type-challenge--turnstile,
.turnstile-captcha {
	border: none;
	background: transparent;
	padding: 0;
	margin: 16px auto;
	box-shadow: none;
	outline: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

#user-login-form .captcha,
#user-pass .captcha,
#user-register-form .captcha {
	padding: 0 32px;
	box-sizing: border-box;
}

.captcha .fieldset-wrapper,
.captcha>div,
.turnstile-captcha>div,
.captcha-type-challenge--turnstile>div {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.captcha .cf-turnstile,
.captcha iframe,
.turnstile-captcha iframe,
.turnstile-captcha .cf-turnstile,
.cf-turnstile {
	margin-left: auto !important;
	margin-right: auto !important;
}

.captcha legend,
fieldset.captcha legend,
.captcha__title,
.captcha__description {
	display: none;
	visibility: hidden;
	height: 0;
	margin: 0;
	padding: 0;
}

/* Masquage de sécurité supplémentaire sur le formulaire d'inscription */
#user-register-form .field--name-user-picture,
#user-register-form .field--name-penis-profiles,
#user-register-form [data-drupal-selector="edit-user-picture"],
#user-register-form [data-drupal-selector="edit-penis-profiles"] {
	display: none;
}

/* ==========================================================================
   Carte Récapitulative du Profil Pénis Virtuel (size.module)
   ========================================================================== */
.penis-profile-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px 28px;
	margin: 15px 0 25px 0;
	max-width: 600px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	box-sizing: border-box;
}

.penis-profile-card.is-empty {
	background: #f8fafc;
	border: 1.5px dashed #cbd5e1;
	box-shadow: none;
}

.penis-profile-title {
	font-size: 16px;
	font-weight: 700;
	color: #1b3aa0;
	margin: 0 0 16px 0;
	letter-spacing: -0.01em;
}

.penis-profile-card.is-empty .penis-profile-title {
	color: #334155;
}

.penis-profile-desc {
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 18px;
}

.penis-profile-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.penis-profile-table td {
	padding: 10px 0;
	font-size: 13px;
	color: #334155;
	border-bottom: 1px solid #f1f5f9;
}

.penis-profile-table tr:last-child td {
	border-bottom: none;
}

.penis-profile-table td strong {
	color: #0f172a;
}

.penis-profile-table .dimension-val {
	font-weight: 700;
	color: #2563eb;
	background: #eff6ff;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 13px;
}

.penis-profile-btn {
	margin-top: 6px;
	text-decoration: none;
	display: inline-flex;
}

/* ==========================================================================
   Modern Drupal Status & System Messages
   ========================================================================== */
.messages {
	position: relative;
	margin: 20px 0;
	padding: 14px 18px 14px 48px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.headings-wide-spacing-enabled .messages {
	letter-spacing: normal;
	text-transform: none;
}

.messages a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Succès (Vert émeraude doux) */
.messages--status {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.messages--status a {
	color: #15803d;
}

.messages--status:before {
	color: #16a34a;
}

/* Erreur (Rose / Rouge doux) */
.messages--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.messages--error a {
	color: #b91c1c;
}

.messages--error:before {
	color: #dc2626;
}

/* Avertissement (Ambre doux) */
.messages--warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.messages--warning a {
	color: #b45309;
}

.messages--warning:before {
	color: #d97706;
}

/* Information (Bleu doux) */
.messages--info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

.messages--info a {
	color: #2563eb;
}

.messages--info:before {
	color: #3b82f6;
}

.messages:before {
	font-family: "FontAwesome";
	line-height: 1;
	position: absolute;
	font-size: 18px;
	left: 18px;
	top: 15px;
	text-align: center;
}

/* ==========================================================================
   Modern UI Polish: Visualizer Canvas, Cards & Controls (Duo, Compare, Multi)
   ========================================================================== */

#graphcont {
	border-radius: 12px;
}

#graphcont #graph,
#graph {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.06);
	background-color: #ffffff;
	overflow: hidden;
}

/* Textes d'information au-dessus des représentations (Comparateur & Duo) */
#graphcont #lefttxt,
#graphcont #righttxt,
#lefttxt,
#righttxt {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	width: 105px;
	box-sizing: border-box;
}

#graphcont #lefttxt *,
#graphcont #righttxt *,
#lefttxt *,
#righttxt * {
	text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

#graphcont #leftname,
#graphcont #rightname,
#leftname,
#rightname {
	font-size: 12px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 2px 0;
	line-height: 1.2;
}

.statetxt.red {
	font-size: 11px;
	font-weight: 700;
	color: #e11d48;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 2px 0;
	line-height: 1.2;
}

#graphcont #leftdetails h2,
#graphcont #rightdetails h2,
#leftdetails h2,
#rightdetails h2 {
	font-size: 11px;
	font-weight: 700;
	color: #334155;
	margin: 0 0 2px 0;
	line-height: 1.2;
}

#graphcont #leftVol,
#graphcont #rightVol,
#leftVol,
#rightVol {
	font-size: 10px;
	color: #475569;
	margin: 0;
	line-height: 1.2;
}

/* Champ de recherche / code Duo */
#customotherid {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	outline: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease;
	max-width: 380px;
	width: 100%;
	height: 38px;
	box-sizing: border-box;
	margin-right: 8px;
	vertical-align: middle;
}

#customotherid:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.customothercompare {
	height: 38px;
	margin-left: 0;
	padding: 0 20px;
	vertical-align: middle;
}

/* Cases à cocher & Labels */
.buttonbarcont input[type="checkbox"] {
	accent-color: #2563eb;
	width: 16px;
	height: 16px;
	cursor: pointer;
	margin: 0 6px 0 0;
	vertical-align: middle;
}

.buttonbarcont label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	vertical-align: middle;
}

/* Panneau d'options du Multi-comparateur (Responsive 200px Desktop / Pleine largeur Tablette & Mobile) */
@media (min-width: 1200px) {
	.buttonbarcont.rightoptions {
		background: transparent;
		border: none;
		border-radius: 0;
		padding: 0;
		box-shadow: none;
		width: 200px;
		max-width: 200px;
		float: right;
		margin-top: 28px;
		box-sizing: border-box;
		clear: none;
	}
}

@media (max-width: 1199px) {
	.buttonbarcont.rightoptions {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
		margin-top: 16px;
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 12px;
		padding: 16px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
		box-sizing: border-box;
	}

	.rightoptions .autopreset {
		display: inline-block;
		margin-right: 12px;
		margin-bottom: 8px;
		vertical-align: top;
	}
}

.rightoptions .barbutton {
	width: 100%;
	margin-bottom: 5px;
	font-size: 12px;
	padding: 6px 8px;
	min-height: 32px;
}

.rightoptions #morphgang {
	margin-bottom: 10px;
	min-height: 36px;
}

.rightoptions #show-details,
.rightoptions #tape-div {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #334155;
	box-shadow: none;
	padding: 5px 8px;
	min-height: 28px;
	margin-bottom: 5px;
	justify-content: flex-start;
	clear: both;
	float: left;
}

.rightoptions #show-details:hover,
.rightoptions #tape-div:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.rightoptions .autopresettext {
	font-size: 11px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 6px;
	line-height: 1.3;
}

.rightoptions .autopreset {
	margin-bottom: 8px;
}

.rightoptions .descpreset {
	font-size: 10px;
	color: #64748b;
	line-height: 1.25;
	margin-top: 2px;
	margin-bottom: 0;
}

.rightoptions hr.sep {
	border: 0;
	border-top: 1px solid #e2e8f0;
	margin: 8px 0;
}

/* Sélecteurs des colonnes du Multi */
.cockcont .i-select {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 4px 6px;
	font-size: 11px;
	font-weight: 600;
	color: #334155;
	background: #ffffff;
	outline: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	width: 96px;
}

.cockcont .i-select:focus {
	border-color: #2563eb;
}

.cockcont .select-title {
	font-size: 12px;
	font-weight: 700;
	color: #e11d48;
	text-align: center;
	padding: 4px 0;
}

/* Scrollbar épurée pour le carrousel Multi sur mobile */
.scrollablecocks {
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f1f5f9;
}

.scrollablecocks::-webkit-scrollbar {
	height: 6px;
}

.scrollablecocks::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

.scrollablecocks::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.scrollablecocks::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* ==========================================================================
   Sizer (Création / Mesure) : Structure & Grille 4 Colonnes
   ========================================================================== */
.listbox {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	padding: 20px;
	box-sizing: border-box;
	overflow: visible;
}

.listbox .etat {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	clear: both;
}

.listbox .etat #state.red {
	color: #dc2626;
	font-weight: 700;
}

.sizer-preview-card {
	margin-bottom: 20px;
}

.sizer-visualizer-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 28px;
	flex-wrap: wrap;
}

.sizer-scale-wrapper {
	width: 100%;
	max-width: 528px;
	position: relative;
	margin: 0;
	overflow: hidden;
}

#sizer {
	position: relative;
	height: 143px;
	width: 528px;
	flex-shrink: 0;
	margin: 0;
	float: none;
	transform-origin: 0 0;
	touch-action: none;
}

.sizer-btn-col {
	flex: 1;
	min-width: 200px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#togglesize {
	margin: 0;
	float: none;
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	user-select: none;
}

/* Grille ordonnée des 4 blocs de paramètres */
.sizer-controls-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 20px;
	width: 100%;
	box-sizing: border-box;
	clear: both;
}

.sizer-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	float: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.sizer-card .small {
	display: block;
	font-size: 11px;
	color: #64748b;
	margin-top: 4px;
	line-height: 1.3;
}

.sizer-card-legend {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	padding: 0 4px;
	margin-bottom: 10px;
	width: auto;
	border: none;
}

.sizer-radio-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 700;
	font-size: 13px;
	color: #0f172a;
	margin-bottom: 2px;
}

.sizer-radio-label input[type="radio"] {
	margin: 0;
	cursor: pointer;
	accent-color: #2563eb;
	width: 16px;
	height: 16px;
}

.sizer-field-group {
	margin-bottom: 12px;
}

.sizer-field-group:last-child {
	margin-bottom: 0;
}

.sizer-field-group label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 4px;
}

.sizer-card p.content {
	margin: 0 0 10px 0;
}

.sizer-card p.content:last-child {
	margin-bottom: 0;
}

.sizer-input,
.sizer-select {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 13px;
	background: #ffffff;
	color: #0f172a;
	outline: none;
	transition: border-color 0.15s ease;
	height: auto;
}

.sizer-input:focus,
.sizer-select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Sliders de la carte Ajuster le gland */
.sizer-adjust-card .slider {
	position: relative;
	width: 100%;
	float: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.sizer-adjust-card .slider_matrix {
	position: relative;
	height: 20px;
	width: 120px;
	margin: 0;
	float: none;
	flex-shrink: 0;
}

.sizer-adjust-card .slider-select,
.sizer-adjust-card .slider select {
	position: static;
	float: none;
	width: 70px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 4px 6px;
	font-size: 11px;
	background: #ffffff;
	color: #0f172a;
	height: auto;
}

.sizer-checkbox-row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #475569;
	margin-top: 6px;
}

/* ==========================================================================
   Sizer (Création / Mesure) : Cartes de Partage & Mémorisation
   ========================================================================== */
#measurecontainer {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

.share-memo-row {
	margin: 1.5rem 0 1rem 0;
	width: 100%;
	box-sizing: border-box;
	clear: both;
}

.memo,
.share {
	margin: 1rem 0;
	width: 100%;
	float: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.share-memo-row .memo,
.share-memo-row .share {
	margin: 0;
}

@media (max-width: 768px) {
	.share-memo-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.memo,
	.share {
		width: 100%;
		float: none;
	}
}

.share .h1,
.memo .h1 {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #0f172a;
	margin: 0 0 8px 0;
	text-transform: uppercase;
}

.memotext,
.sharetext {
	color: #64748b;
	font-size: 13px;
	line-height: 1.45;
	margin-bottom: 12px;
}

.memovalinput,
.sharevalinput {
	width: 100%;
	color: #0f172a;
	font-size: 12px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 12px;
	box-sizing: border-box;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	cursor: pointer;
	transition: all 0.2s ease;
}

.memovalinput:focus,
.sharevalinput:focus {
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	outline: none;
}

.memovalinput:hover,
.sharevalinput:hover {
	border-color: #94a3b8;
	background: #ffffff;
}

.visualisertxt {
	clear: both;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-top: 20px;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Statistiques : Cartes, Métriques & Grille
   ========================================================================== */
.half {
	width: 48.5%;
	float: left;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
	margin-bottom: 20px;
}

.half.halfright {
	float: right;
}

@media (max-width: 991px) {

	.half,
	.half.halfright {
		width: 100%;
		float: none;
	}
}

.half .yourname {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
	display: block;
	margin-bottom: 6px;
}

.half .recapsize {
	display: inline-block;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 13px;
	color: #334155;
	line-height: 1.5;
	margin-bottom: 12px;
}

.half ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.half ul li {
	font-size: 13px;
	color: #475569;
	padding: 5px 0 5px 18px;
	position: relative;
	line-height: 1.4;
	border-bottom: 1px solid #f8fafc;
}

.half ul li::before {
	content: "•";
	color: #2563eb;
	font-size: 18px;
	position: absolute;
	left: 4px;
	top: 1px;
}

.womenpref {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	padding: 14px 18px;
	color: #166534;
	font-size: 14px;
	line-height: 1.5;
	margin: 16px 0 24px 0;
	clear: both;
}

.scrolltab {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	padding: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	margin-bottom: 20px;
}

.graph .chart_button,
.chart_button {
	display: inline-block;
	background: #2563eb;
	color: #ffffff;
	border: 1px solid #1d4ed8;
	border-radius: 8px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.15s ease;
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.graph .chart_button:hover,
.chart_button:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   ESPACE MEMBRES & MON COMPTE
   ========================================================================== */


/* Panneaux généraux */
.card-panel {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
	border: 1px solid #e2e8f0;
	padding: 24px;
	margin-bottom: 24px;
}

.card-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.section-title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	overflow-wrap: break-word;
}

.section-title i {
	color: #3b82f6;
	flex-shrink: 0;
}

/* Badges génériques */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 20px;
	line-height: 1.2;
}

.badge--vip {
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #78350f;
	box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.badge--photos,
.badge--verified {
	background: #e0f2fe;
	color: #0369a1;
	border: 1px solid #bae6fd;
}

.badge--visible {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.badge--hidden {
	background: #f1f5f9;
	color: #64748b;
	border: 1px solid #cbd5e1;
}

.btn-sm {
	padding: 6px 14px !important;
	font-size: 12px !important;
}

/* --------------------------------------------------------------------------
   Annuaire des Membres (/members)
   -------------------------------------------------------------------------- */
.members-directory-container {
	max-width: 1200px;
	margin: 20px auto 40px auto;
	padding: 0 16px;
}

.members-header-section {
	margin-bottom: 24px;
}

/* Barre d'outils / Filtres de l'annuaire */
.members-toolbar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px 20px;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	margin-bottom: 24px;
	transition: all 0.25s ease;
}

.members-toolbar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

/* Recherche textuelle */
.members-search-wrapper {
	position: relative;
	flex: 1 1 240px;
	min-width: 220px;
}

.members-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 14px;
	pointer-events: none;
}

.members-search-input {
	width: 100%;
	padding: 10px 38px 10px 38px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #0f172a;
	transition: all 0.2s ease-in-out;
	box-sizing: border-box;
}

.members-search-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.members-search-clear {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 50%;
	transition: all 0.15s ease;
	line-height: 1;
}

.members-search-clear:hover {
	color: #0f172a;
	background: #e2e8f0;
}

/* Sélecteur de tri */
.members-sort-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 1 auto;
}

.members-filter-label {
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	margin: 0;
}

.members-filter-label i {
	color: #3b82f6;
}

.members-select-custom {
	position: relative;
	display: inline-block;
}

.members-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 36px 10px 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: #1e293b;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 220px;
}

.members-select:focus {
	outline: none;
	background: #ffffff;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.members-select-custom .select-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #64748b;
	font-size: 11px;
	pointer-events: none;
}

/* Toggle Photos uniquement */
.members-toggle-wrapper {
	display: flex;
	align-items: center;
}

.members-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	margin: 0;
}

.members-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.members-toggle-switch {
	position: relative;
	width: 40px;
	height: 22px;
	background-color: #cbd5e1;
	border-radius: 20px;
	transition: background-color 0.25s ease;
	flex-shrink: 0;
}

.members-toggle-switch::after {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #ffffff;
	top: 2px;
	left: 2px;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.members-checkbox:checked+.members-toggle-switch {
	background-color: #3b82f6;
}

.members-checkbox:checked+.members-toggle-switch::after {
	transform: translateX(18px);
}

.members-toggle-text {
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.members-toggle-text i {
	color: #64748b;
}

.members-checkbox:checked~.members-toggle-text i {
	color: #3b82f6;
}

/* Barre de statut sous la toolbar */
.members-status-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	margin-top: 14px;
	border-top: 1px solid #f1f5f9;
	font-size: 13px;
	color: #64748b;
}

.members-count-indicator {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #475569;
}

.members-count-indicator i {
	color: #3b82f6;
}

.members-loading-spinner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3b82f6;
	font-weight: 600;
	font-size: 12.5px;
}

.members-title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 8px;
}

.members-page-title {
	font-size: 28px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.members-page-title i {
	color: #3b82f6;
}

.members-count-badge {
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 14px;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 20px;
}

.members-subtitle {
	color: #64748b;
	font-size: 15px;
	max-width: 650px;
	margin: 0 auto;
}

/* Grille des membres */
.members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px;
}

.member-card {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
	transition: all 0.25s ease-in-out;
	display: flex;
	flex-direction: column;
	position: relative;
}

.member-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
	border-color: #cbd5e1;
}

.member-card.is-paid-card {
	border-color: #fde68a;
	box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

/* Zone Média de la carte */
.member-card-media {
	height: 220px;
	position: relative;
	background: #f8fafc;
	overflow: hidden;
}

.member-slider {
	width: 100%;
	height: 100%;
	position: relative;
}

.member-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
}

.member-slide-img.is-active {
	opacity: 1;
	z-index: 1;
}

.photo-counter-badge {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(15, 23, 42, 0.75);
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 12px;
	backdrop-filter: blur(4px);
	z-index: 2;
}

.member-vip-ribbon {
	position: absolute;
	top: 10px;
	right: 10px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #78350f;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

/* Avatar par défaut stylisé */
.member-default-avatar {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 38%, #f8fafc 0%, #e2e8f0 100%);
}

.avatar-cock-icon {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(226, 232, 240, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.avatar-cock-icon svg {
	width: 140px;
	height: 140px;
	display: block;
}

.member-card:hover .avatar-cock-icon {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.16), 0 6px 14px -2px rgba(0, 0, 0, 0.06);
}

/* Corps de la carte */
.member-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.member-name-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	gap: 6px;
}

.member-name {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Bloc mensurations (érection & repos) */
.member-metrics-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 10px;
	margin-bottom: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
}

.metric-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.metric-row--erect .metric-state {
	color: #dc2626;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 4px;
}

.metric-row--flaccid .metric-state {
	color: #64748b;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 4px;
}

.metric-vals {
	color: #0f172a;
	font-size: 11px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.metric-item {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
}

.metric-dim {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 10px;
	font-weight: 700;
	color: #334155;
	background: #e2e8f0;
	border: 1px solid #cbd5e1;
	padding: 1px 4px;
	border-radius: 3px;
	line-height: 1.1;
	letter-spacing: 0.3px;
}

.metric-dim i {
	font-size: 9px;
	color: #64748b;
}

.metric-vals strong {
	color: #1e40af;
	font-weight: 700;
	font-size: 12px;
}

.metric-vals .dot {
	color: #cbd5e1;
	margin: 0;
}

.member-card-actions {
	margin-top: auto;
}

.member-card-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px !important;
	font-size: 13px !important;
	font-weight: 600;
	border-radius: 8px !important;
}

/* Effet de chargement sur la grille */
.members-grid.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* Pagination de l'annuaire des membres */
.members-pagination-container {
	margin-top: 36px;
	margin-bottom: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.members-pagination-nav {
	display: flex;
	justify-content: center;
	width: 100%;
}

.members-pagination {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	padding: 6px 12px;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination-numbers {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	text-decoration: none !important;
	background: transparent;
	border: 1px solid transparent;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	user-select: none;
	line-height: 1;
}

.pagination-link:hover {
	background: #eff6ff;
	color: #2563eb !important;
	border-color: #bfdbfe;
	transform: translateY(-1px);
}

.pagination-link.is-active {
	background: #2563eb !important;
	color: #ffffff !important;
	border-color: #2563eb;
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
	cursor: default;
	pointer-events: none;
}

.pagination-link.is-disabled {
	opacity: 0.35;
	color: #94a3b8 !important;
	cursor: not-allowed;
	pointer-events: none;
	background: transparent;
	border-color: transparent;
}

.pagination-prev,
.pagination-next {
	gap: 6px;
	padding: 0 14px;
	font-weight: 700;
	font-size: 13px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.pagination-prev:hover,
.pagination-next:hover {
	background: #eff6ff;
	border-color: #bfdbfe;
}

.pagination-first,
.pagination-last {
	font-size: 16px;
	color: #64748b;
	padding: 0 8px;
}

.pagination-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 38px;
	color: #94a3b8;
	font-weight: 700;
	font-size: 14px;
	user-select: none;
}

.pagination-mobile-indicator {
	display: none;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	padding: 0 10px;
}

/* Adaptation responsive mobile & tablette */
@media (max-width: 640px) {
	.pagination-numbers {
		display: none;
	}

	.pagination-first,
	.pagination-last {
		display: none;
	}

	.pagination-mobile-indicator {
		display: inline-block;
	}

	.members-pagination {
		width: 100%;
		justify-content: space-between;
		padding: 8px 12px;
	}

	.pagination-prev,
	.pagination-next {
		flex: 0 0 auto;
	}
}

/* Message si aucun résultat */
.members-empty-notice {
	background: #ffffff;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	padding: 48px 24px;
	text-align: center;
	margin: 20px auto 40px auto;
	max-width: 600px;
}

.members-empty-notice .empty-icon {
	font-size: 40px;
	color: #94a3b8;
	margin-bottom: 14px;
}

.members-empty-notice h3 {
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 8px 0;
}

.members-empty-notice p {
	font-size: 14px;
	color: #64748b;
	margin: 0;
}

/* Classe utilitaire is-hidden */
.is-hidden {
	display: none !important;
}

/* Responsive mobile pour l'annuaire */
@media (max-width: 768px) {
	.members-toolbar {
		padding: 14px;
	}

	.members-toolbar-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.members-search-wrapper,
	.members-sort-wrapper,
	.members-toggle-wrapper {
		width: 100%;
		flex: none;
	}

	.members-sort-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.members-select-custom,
	.members-select {
		width: 100%;
		min-width: 0;
	}

	.members-load-more-btn {
		width: 100%;
	}
}

/* Boîte de connexion incitative (Anonyme) */
.members-login-gate {
	max-width: 520px;
	margin: 40px auto;
}

.login-gate-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 36px 30px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
	text-align: center;
}

.gate-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, #eff6ff, #dbeafe);
	color: #2563eb;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin: 0 auto 16px auto;
}

.gate-title {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 8px;
}

.gate-intro {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 24px;
}

.gate-form-wrapper {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	text-align: left;
	margin-bottom: 24px;
}

.gate-form-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 16px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gate-register-cta {
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

.gate-register-cta p {
	color: #64748b;
	font-size: 14px;
	margin-bottom: 12px;
}

.gate-register-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px !important;
}

/* --------------------------------------------------------------------------
   Page de Détail d'un Membre (/members/{user})
   -------------------------------------------------------------------------- */
.member-detail-page {
	max-width: 1024px;
	margin: 20px auto 40px auto;
	padding: 0 16px;
}

.member-detail-nav {
	margin-bottom: 16px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #475569;
	transition: color 0.2s;
}

.back-link:hover {
	color: #2563eb;
	text-decoration: none;
}

.member-detail-profile-row {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.member-detail-avatar {
	width: 110px;
	height: 110px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.avatar-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-icon-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	color: #94a3b8;
}

.member-detail-info {
	flex: 1;
}

.name-and-badges {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.member-detail-name {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.member-meta-text {
	color: #64748b;
	font-size: 13px;
	margin-bottom: 12px;
}

.member-detail-description {
	background: #f8fafc;
	border-left: 4px solid #3b82f6;
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	font-size: 14px;
	color: #334155;
	line-height: 1.6;
}

.member-detail-description p {
	margin: 0;
}

/* Grille de photos du membre */
.member-photos-grid,
.account-photos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}

.gallery-photo-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f1f5f9;
	display: block;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.25s ease;
}

.gallery-photo-item:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gallery-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.photo-zoom-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.gallery-photo-item:hover .photo-zoom-overlay {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Comparateur Duo Membre
   -------------------------------------------------------------------------- */
.duo-section-header {
	margin-bottom: 18px;
}

.duo-section-title {
	font-size: clamp(16px, 4vw, 20px);
	line-height: 1.35;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.duo-section-title>i {
	color: #3b82f6;
	margin-top: 3px;
	flex-shrink: 0;
}

.duo-title-text {
	flex: 1;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: break-word;
}

.duo-title-main {
	display: inline-block;
	margin-right: 6px;
}

.duo-title-versus {
	display: inline;
	white-space: normal;
}

.duo-vs {
	color: #64748b;
	font-weight: 600;
	margin: 0 2px;
}

.duo-highlight {
	color: #2563eb;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.member-highlight-name {
	display: inline;
}

.duo-subtitle {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 6px;
}

/* Tableau comparatif des mensurations */
.duo-stats-table-wrapper {
	margin-bottom: 24px;
	overflow-x: auto;
}

.duo-stats-table,
.account-metrics-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.duo-stats-table th,
.duo-stats-table td,
.account-metrics-table th,
.account-metrics-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #f1f5f9;
	text-align: left;
}

.duo-stats-table th,
.account-metrics-table th {
	background: #f8fafc;
	font-weight: 700;
	color: #475569;
}

.col-viewer,
.col-member {
	font-weight: 700;
	color: #0f172a;
}

.diff-pos {
	color: #16a34a;
	font-weight: 700;
}

.diff-neg {
	color: #dc2626;
	font-weight: 700;
}

/* Centrage & Conteneur Canvas Duo */
.duo-canvas-center-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
}

.member-duo-section #graphcont.duo-canvas-container {
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 24px;
	position: relative;
	width: 100%;
	max-width: 620px;
	float: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

.member-duo-section #graph {
	margin: 0 auto 15px auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	overflow: hidden;
}

/* Éviter que le texte à droite et à gauche ne soit coupé */
.member-duo-section #righttxt {
	width: 155px;
	right: 8px;
	text-align: right;
	float: right;
}

.member-duo-section #lefttxt {
	width: 155px;
	left: 8px;
	text-align: left;
	float: left;
}

.member-duo-section #righttxt h1,
.member-duo-section #lefttxt h1 {
	font-size: 13px;
	white-space: nowrap;
	margin: 2px 0;
}

.member-duo-section #righttxt h3,
.member-duo-section #lefttxt h3 {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 2px 0;
}

.duo-controls-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	flex-wrap: wrap;
}

.duo-btn {
	padding: 8px 16px !important;
	font-size: 13px !important;
}

.duo-btn-main {
	padding: 10px 22px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

.duo-options-row {
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

.duo-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 600;
	color: #475569;
}

/* Vue Invité / Non connecté du comparateur Duo */
.duo-guest-wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 10px;
}

.duo-single-member-table {
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.duo-single-member-table th {
	background: #f1f5f9;
	font-weight: 700;
	color: #334155;
	padding: 12px 16px;
}

.duo-single-member-table td {
	padding: 12px 16px;
}

.duo-guest-cta-box {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #bfdbfe;
	border-radius: 14px;
	padding: 30px 24px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.duo-guest-cta-box .cta-icon {
	width: 56px;
	height: 56px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #2563eb;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
	margin-bottom: 16px;
}

.duo-guest-cta-box .cta-title {
	font-size: 20px;
	font-weight: 800;
	color: #1e3a8a;
	margin: 0 0 10px 0;
}

.duo-guest-cta-box .cta-desc {
	max-width: 620px;
	font-size: 15px;
	color: #334155;
	line-height: 1.6;
	margin: 0 0 22px 0;
}

.duo-guest-cta-box .cta-buttons {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.duo-guest-cta-box .cta-btn {
	padding: 11px 22px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Page "Mon compte" (/user)
   -------------------------------------------------------------------------- */
.user-account-page {
	max-width: 1024px;
	margin: 20px auto 40px auto;
	padding: 0 16px;
}

.account-header-main {
	display: flex;
	gap: 24px;
	align-items: center;
}

.account-avatar-wrapper {
	width: 100px;
	height: 100px;
	border-radius: 20px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.account-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.account-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	color: #94a3b8;
}

.account-header-info {
	flex: 1;
}

.account-name-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.account-display-name {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.account-email-text {
	color: #64748b;
	font-size: 14px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.account-meta-separator {
	color: #cbd5e1;
}

.account-header-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.account-action-btn {
	padding: 8px 16px !important;
	font-size: 13px !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.heartbutfade {
	background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
	color: #ffffff !important;
}

/* Grille du Pénis Virtuel sur Mon Compte */
.account-penis-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 24px;
	align-items: center;
}

.account-penis-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.account-metrics-table th,
.account-metrics-table td {
	padding: 8px 10px;
	font-size: 13px;
	white-space: nowrap;
}

.single-cock-container {
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.single-cock-stage {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
	width: 270px;
	height: 459px;
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.single-cock-ruler {
	width: 170px;
	height: 459px;
	background-image: url(/modules/custom/size/images/ruler/vhandleft.png);
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
	flex-shrink: 0;
}

.single-cock-canvas-box {
	position: relative;
	width: 100px;
	height: 459px;
	flex-shrink: 0;
}

.single-cock-controls {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.single-morph-btn {
	width: 100%;
	font-size: 13px !important;
	padding: 8px 12px !important;
}

.single-tape-label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.state-erect {
	color: #dc2626;
}

.state-flaccid {
	color: #64748b;
}

.metric-highlight {
	font-weight: 700;
	color: #1e40af;
}

/* États vides sur Mon Compte */
.penis-empty-state,
.photos-empty-prompt,
.bio-empty-prompt {
	padding: 24px;
	text-align: center;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px dashed #cbd5e1;
}

.empty-icon {
	font-size: 36px;
	color: #94a3b8;
	margin-bottom: 10px;
}

.penis-empty-state h3 {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 6px;
}

.penis-empty-state p,
.photos-empty-prompt p,
.bio-empty-prompt p {
	color: #64748b;
	font-size: 14px;
	max-width: 500px;
	margin: 0 auto 16px auto;
}

.account-bio-content {
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	background: #f8fafc;
	padding: 16px;
	border-radius: 8px;
	border-left: 4px solid #3b82f6;
}

.account-bio-content p {
	margin: 0;
}

/* ==========================================================================
   Section : Partage & Profil Public (Mon Compte)
   ========================================================================== */
.account-share-section {
	padding-top: 20px;
}

.account-share-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 6px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.account-share-title i {
	color: #3b82f6;
}

.account-share-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 16px 0;
	line-height: 1.5;
}

.account-share-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.account-share-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.account-share-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.account-share-label {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.account-share-label i {
	color: #3b82f6;
}

.account-share-extlink {
	font-size: 12px;
	color: #2563eb;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
}

.account-share-extlink:hover {
	text-decoration: underline;
	color: #1d4ed8;
}

.account-share-hint {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
	margin: 0;
}

.account-share-field {
	display: flex;
	gap: 6px;
	margin-top: auto;
}

.account-share-input {
	flex: 1;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 12px;
	color: #0f172a;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 10px;
	outline: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.account-share-input:focus {
	border-color: #3b82f6;
}

/* ==========================================================================
   Section : Statistiques de Consultation & Tailles Relatives (Mon Compte)
   ========================================================================== */
.account-views-card {
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 22px 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.account-views-header {
	margin-bottom: 18px;
}

.account-views-title {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.account-views-title i {
	color: #2563eb;
}

.account-views-subtitle {
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

.account-views-boxes-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

@media (max-width: 991px) {
	.account-views-boxes-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.account-views-boxes-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.account-views-boxes-grid .account-views-stat-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	min-height: 86px;
}

.account-views-boxes-grid .account-views-stat-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-box-line-top {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: #64748b;
	margin-bottom: 4px;
	white-space: nowrap;
}

.stat-box-line-mid {
	line-height: 1.1;
}

.stat-box-line-mid .views-stat-number {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
}

.stat-box-line-bot {
	margin-top: 4px;
	line-height: 1.2;
}

.views-stat-sublabel {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	display: block;
}

/* 1. Box PenisRank */
.account-views-stat-box.stat-box-penisrank {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-color: #cbd5e1;
}

.stat-box-penisrank .stat-box-line-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	position: relative;
}

.stat-box-penisrank .penisrank-brand {
	font-size: 13px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.2px;
}

.stat-box-penisrank .penisrank-brand .pr-accent {
	color: #7c3aed;
}

.stat-box-penisrank .penisrank-info-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0064ff;
	font-size: 14px;
	transition: color 0.2s ease, transform 0.2s ease;
	outline: none;
}

.stat-box-penisrank .penisrank-info-tooltip:hover,
.stat-box-penisrank .penisrank-info-tooltip:focus {
	color: #7c3aed;
	transform: scale(1.15);
}

.stat-box-penisrank .penisrank-tooltip-content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	width: 280px;
	background: #0f172a;
	color: #f8fafc;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	padding: 10px 12px;
	border-radius: 8px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 50;
	white-space: normal;
}

.stat-box-penisrank .penisrank-tooltip-content::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px;
	border-style: solid;
	border-color: #0f172a transparent transparent transparent;
}

.stat-box-penisrank .penisrank-info-tooltip:hover .penisrank-tooltip-content,
.stat-box-penisrank .penisrank-info-tooltip:focus .penisrank-tooltip-content {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.stat-box-penisrank .stat-num-penisrank {
	color: inherit;
	transition: color 0.3s ease;
}

/* Jauge et indicateur de gradient PenisRank (Option 1 : 0 Bleu cobalt en bas, 100 Violet Royal en haut) */
.penisrank-number-gauge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
}

.penisrank-gauge-wrapper {
	position: relative;
	width: 6px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	cursor: help;
}

.penisrank-gauge-track {
	width: 6px;
	height: 30px;
	border-radius: 3px;
	background: linear-gradient(to top, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(15, 23, 42, 0.15);
}

.penisrank-gauge-needle {
	position: absolute;
	left: -3px;
	width: 12px;
	height: 3px;
	background: #ffffff;
	border: 1px solid #0f172a;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	transform: translateY(50%);
	pointer-events: none;
	transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 2;
}

/* 2. Box Total Visites */
.account-views-stat-box.stat-box-total {
	border-color: #bfdbfe;
	background: #f8fbff;
}

.stat-box-total .stat-box-line-top .views-stat-sublabel {
	color: #2563eb;
}

.stat-box-total .stat-num-total {
	color: #1d4ed8;
}

/* 3. Box Supérieur (Vert) */
.account-views-stat-box.stat-box-wins {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.stat-box-wins .stat-box-line-top .views-stat-sublabel {
	color: #15803d;
}

.stat-box-wins .stat-num-wins {
	color: #16a34a;
}

.stat-box-wins .stat-box-line-bot .views-stat-sublabel {
	color: #15803d;
}

/* 4. Box Équivalent (Teinte bronze / ambre chaud #877634) */
.account-views-stat-box.stat-box-ties {
	background: #fdfbf7;
	border-color: #e5dfd0;
}

.stat-box-ties .stat-box-line-top .views-stat-sublabel {
	color: #877634;
}

.stat-box-ties .stat-num-ties {
	color: #877634;
}

.stat-box-ties .stat-box-line-bot .views-stat-sublabel {
	color: #877634;
}

/* 5. Box Inférieur (Rose / Framboise) */
.account-views-stat-box.stat-box-losses {
	background: #fdf2f8;
	border-color: #fbcfe8;
}

.stat-box-losses .stat-box-line-top .views-stat-sublabel {
	color: #be185d;
}

.stat-box-losses .stat-num-losses {
	color: #db2777;
}

.stat-box-losses .stat-box-line-bot .views-stat-sublabel {
	color: #be185d;
}

/* 6. Box Sans taille (Aspect désactivé / Muted avec bordure discontinue tiretée) */
.account-views-stat-box.stat-box-unsized {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	opacity: 0.72;
	filter: grayscale(30%);
	transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.account-views-stat-box.stat-box-unsized:hover {
	opacity: 1;
	filter: grayscale(0%);
}

.stat-box-unsized .stat-box-line-top .views-stat-sublabel {
	color: #64748b;
}

.stat-box-unsized .stat-num-unsized {
	color: #64748b;
}

.stat-box-unsized .stat-box-line-bot .views-stat-sublabel {
	color: #94a3b8;
}


/* Barre de répartition horizontale */
.account-views-bar-wrapper {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 16px;
}

.account-views-bar {
	display: flex;
	height: 12px;
	width: 100%;
	border-radius: 6px;
	overflow: hidden;
	background: #e2e8f0;
	margin-bottom: 10px;
}

.account-views-bar-segment {
	height: 100%;
	transition: width 0.4s ease;
}

.bar-segment-smaller {
	background: linear-gradient(90deg, #22c55e, #16a34a);
}

.bar-segment-larger {
	background: linear-gradient(90deg, #ec4899, #db2777);
}

.account-views-bar-legend {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
}

.bar-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bar-legend-item.legend-smaller {
	color: #15803d;
}

.bar-legend-item.legend-larger {
	color: #be185d;
}

.legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.legend-smaller .legend-dot {
	background: #16a34a;
}

.legend-larger .legend-dot {
	background: #db2777;
}

.account-views-hint {
	font-size: 13px;
	color: #64748b;
	background: #f8fafc;
	border-left: 3px solid #3b82f6;
	padding: 10px 14px;
	border-radius: 0 6px 6px 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.account-views-explainer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f1f5f9;
	border-left: 3px solid #3b82f6;
	border-radius: 0 8px 8px 0;
	padding: 10px 14px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #475569;
	line-height: 1.5;
}

.account-views-explainer i {
	color: #3b82f6;
	font-size: 15px;
	margin-top: 2px;
	flex-shrink: 0;
}

.account-views-explainer p {
	margin: 0;
}

.account-views-global-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.account-views-legend-bar {
	display: flex;
	gap: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
}

.account-views-dimensions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.views-dimension-group {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.group-erect {
	border-top: 3px solid #be185d;
}

.group-flaccid {
	border-top: 3px solid #4f46e5;
}

.views-group-header {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 8px;
}

.views-group-header h4 {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: #1e293b;
}

.group-erect .views-group-header i {
	color: #be185d;
}

.group-flaccid .views-group-header i {
	color: #4f46e5;
}

.stat-dimension-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stat-dim-label-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
}

.stat-dim-title {
	font-weight: 600;
	color: #334155;
}

.stat-dim-values {
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.stat-val-smaller {
	color: #15803d;
}

.stat-val-larger {
	color: #be185d;
}

.stat-val-sep {
	color: #cbd5e1;
}

.stat-val-empty {
	color: #94a3b8;
}

.stat-dim-bar {
	display: flex;
	height: 10px;
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
	background: #e2e8f0;
}

.stat-dim-segment {
	height: 100%;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.segment-smaller {
	background: linear-gradient(90deg, #22c55e, #16a34a);
}

.segment-larger {
	background: linear-gradient(90deg, #ec4899, #db2777);
}

/* ==========================================================================
   Panneau Administrateur : Simulateur de visite
   ========================================================================== */
.admin-view-simulator-panel {
	margin-top: 24px;
	background: #0f172a;
	border-radius: 12px;
	padding: 18px 20px;
	color: #f8fafc;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.admin-sim-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.admin-sim-badge {
	background: #f59e0b;
	color: #78350f;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.admin-sim-title {
	font-size: 15px;
	font-weight: 700;
	color: #f1f5f9;
}

.admin-sim-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.admin-sim-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.admin-sim-field label {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin: 0;
}

.admin-input-wrap {
	display: flex;
	align-items: center;
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 6px;
	padding: 0 8px;
	transition: border-color 0.2s;
}

.admin-input-wrap:focus-within {
	border-color: #38bdf8;
}

.admin-sim-input {
	width: 100%;
	background: transparent;
	border: none;
	color: #f8fafc;
	font-size: 15px;
	font-weight: 700;
	padding: 8px 0;
	outline: none;
}

.admin-input-unit {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	margin-left: 4px;
}

.admin-sim-modifiers {
	display: flex;
	gap: 6px;
}

.btn-sim-step {
	background: #334155;
	color: #f8fafc;
	border: none;
	border-radius: 6px;
	min-width: 44px;
	height: 40px;
	padding: 0 6px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.1s;
}

.btn-sim-step:hover {
	background: #475569;
}

.btn-sim-step:active {
	transform: scale(0.95);
}

.admin-sim-footer {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #1e293b;
}

.btn-sim-submit {
	background: linear-gradient(135deg, #0284c7, #2563eb);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.2s, transform 0.1s;
}

.btn-sim-submit:hover {
	opacity: 0.95;
}

.btn-sim-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.admin-sim-feedback {
	font-size: 13px;
	font-weight: 600;
	transition: opacity 0.3s;
}

.admin-sim-feedback.success {
	color: #4ade80;
}

.admin-sim-feedback.error {
	color: #f87171;
}

@media (max-width: 900px) {
	.account-views-dimensions-grid {
		grid-template-columns: 1fr;
	}

	.admin-sim-grid {
		grid-template-columns: 1fr 1fr;
	}

	.admin-sim-modifiers {
		grid-column: span 2;
		justify-content: center;
	}
}


/* ==========================================================================
   Section : Badges & Signatures Forum (Userbars)
   ========================================================================== */
.account-badges-card {
	position: relative;
	background: #ffffff;
}

.badge-card-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eff6ff;
	color: #2563eb;
	border: 1px solid #bfdbfe;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.section-subtitle {
	color: #64748b;
	font-size: 14px;
	margin: -8px 0 20px 0;
	line-height: 1.5;
}

.badge-preview-container {
	background: linear-gradient(145deg, #0d1117, #161b22);
	border: 1px solid #30363d;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
	text-align: center;
}

.badge-preview-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #8b949e;
	margin-bottom: 12px;
	font-weight: 600;
}

.badge-preview-wrapper {
	display: inline-block;
	max-width: 100%;
}

.badge-preview-wrapper a {
	display: inline-block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius: 6px;
	overflow: hidden;
}

.badge-preview-wrapper a:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.badge-preview-image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.badge-preview-hint {
	margin-top: 12px;
	font-size: 12px;
	color: #8b949e;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.badge-preview-hint i {
	color: #38bdf8;
}

/* Grille de personnalisation */
.badge-customizer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 24px;
}

.badge-control-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.badge-control-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}

.badge-control-title i {
	color: #3b82f6;
}

.badge-theme-buttons,
.badge-units-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.badge-theme-btn,
.badge-unit-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 600;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	cursor: pointer;
	transition: all 0.15s ease;
}

.badge-theme-btn:hover:not(:disabled),
.badge-unit-btn:hover:not(:disabled) {
	border-color: #3b82f6;
	color: #1d4ed8;
	background: #f0f7ff;
}

.badge-theme-btn.active,
.badge-unit-btn.active {
	background: #2563eb;
	border-color: #1d4ed8;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.theme-color-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

.dot--dark {
	background: #1e2029;
}

.dot--light {
	background: #f8fafc;
	border-color: #94a3b8;
}

.dot--gold {
	background: linear-gradient(135deg, #fbbf24, #d97706);
}

/* Thème Gold réservé aux donateurs */
.badge-theme-btn--gold.active {
	background: linear-gradient(135deg, #d97706, #b45309);
	border-color: #92400e;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.badge-theme-btn--locked {
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #94a3b8;
	cursor: not-allowed;
	opacity: 0.75;
}

.locked-pill {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
	margin-left: 4px;
	text-transform: uppercase;
}

.badge-donor-teaser {
	font-size: 12px;
	color: #b45309;
	background: #fffbeb;
	border: 1px solid #fef3c7;
	padding: 6px 10px;
	border-radius: 6px;
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.badge-donor-teaser i {
	color: #e11d48;
}

.donor-teaser-link {
	font-weight: 700;
	color: #b45309;
	text-decoration: underline;
}

.donor-teaser-link:hover {
	color: #78350f;
}

/* Checkboxes d'options */
.badge-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.badge-check-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #334155;
	cursor: pointer;
	user-select: none;
}

.badge-check-label.label--locked {
	color: #94a3b8;
	cursor: not-allowed;
}

.badge-check-label input[type="checkbox"] {
	flex: 0 0 16px;
	box-sizing: border-box;
	width: 16px;
	min-width: 16px;
	height: 16px;
	min-height: 16px;
	margin: 0;
	cursor: pointer;
}

.badge-check-label.label--locked input[type="checkbox"] {
	cursor: not-allowed;
}

.text-gold {
	color: #d97706;
}

/* Sections des codes à copier */
.badge-codes-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.badge-codes-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.badge-code-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.badge-code-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #475569;
}

.copy-snippet-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.copy-snippet-btn:hover {
	background: #2563eb;
	border-color: #1d4ed8;
	color: #ffffff;
}

.copy-snippet-btn.btn--copied {
	background: #059669;
	border-color: #047857;
	color: #ffffff;
}

.badge-snippet-input {
	width: 100%;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 12px;
	line-height: 1.4;
	color: #0f172a;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 8px 10px;
	resize: none;
	outline: none;
	box-sizing: border-box;
}

.badge-snippet-input:focus {
	border-color: #3b82f6;
	background: #ffffff;
}

.badge-actions-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 6px;
	border-top: 1px solid #f1f5f9;
}

.badge-direct-url {
	flex: 1;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #475569;
}

.input-with-copy {
	display: flex;
	gap: 6px;
}

.badge-direct-input {
	flex: 1;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 12px;
	color: #0f172a;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 10px;
	outline: none;
}

.badge-download-action {
	padding-bottom: 1px;
}

/* Adaptations mobiles et tablettes */
@media (max-width: 860px) {

	.account-header-main,
	.member-detail-profile-row {
		flex-direction: column;
		text-align: center;
	}

	.account-name-row,
	.name-and-badges {
		justify-content: center;
	}

	.account-email-text {
		justify-content: center;
	}

	.account-header-actions {
		justify-content: center;
	}

	.account-penis-grid {
		grid-template-columns: 1fr;
	}

	.members-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 14px;
	}

	.member-card-media {
		height: 170px;
	}
}

/* Choix des formats de signatures et aperçu animé. */
.user-badges-page [hidden] {
	display: none !important;
}

.badge-format-select {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #0f172a;
}

.badge-format-info {
	color: #64748b;
	margin: 0 0 12px;
	font-size: 13px;
}

#badgeAnimationControl {
	margin-bottom: 18px;
}

/* Format et options sur la première ligne, thèmes en dessous. */
.user-badges-page .badge-customizer-grid {
	grid-template-columns: minmax(240px, 1fr) minmax(280px, 1fr);
	align-items: end;
}

.user-badges-page .badge-checkbox-list {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px 20px;
	min-height: 38px;
	align-items: center;
}

.user-badges-page .badge-themes-group {
	grid-column: 1 / -1;
}

.dot--emerald {
	background: #34d399;
}

.dot--sapphire {
	background: #60a5fa;
}

.dot--amethyst {
	background: #c084fc;
}

@media (max-width: 700px) {
	.user-badges-page .badge-customizer-grid {
		grid-template-columns: 1fr;
	}
}

/* Le survol fonctionne aussi sur un thème dont le bouton est désactivé. */
.badge-locked-preview {
	display: inline-flex;
	cursor: help;
	border-radius: 6px;
}

.badge-locked-preview>button {
	pointer-events: none;
}

.badge-locked-preview:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 3px;
}

/* Infobulles de thèmes : images pré-générées, indépendantes du badge du membre. */
.user-badges-page .badge-themes-group {
	position: relative;
}

.badge-theme-tooltip {
	display: none;
	position: absolute;
	left: 0;
	bottom: 100%;
	padding: 8px;
	width: min(516px, calc(100vw - 48px));
	max-width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 8px 24px #0003;
	z-index: 100;
}

.badge-theme-tooltip img {
	display: block;
	width: 100%;
	height: auto;
}

.badge-locked-preview:not(.tooltip-dismissed):hover .badge-theme-tooltip,
.badge-locked-preview:not(.tooltip-dismissed):focus .badge-theme-tooltip {
	display: block;
}

@media (max-width: 1024px) {
	.sizer-controls-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.headings-wide-spacing-enabled table tr th {
		letter-spacing: normal;
	}

	.card-panel {
		background: none;
		border-radius: 0;
		box-shadow: none;
		border: 0;
		padding: 0;
		margin-bottom: 40px;
	}

	.badge-preview-container {
		background: none;
		border: none;
		border-radius: 0;
		padding: 0;
		margin-bottom: 0;
		box-shadow: none;
	}

	.duo-section-title {
		font-size: 16px;
		gap: 8px;
	}

	.duo-title-main {
		display: block;
		margin-right: 0;
		margin-bottom: 2px;
	}

	.duo-title-versus {
		display: block;
	}

	.duo-subtitle {
		font-size: 13px;
	}

	/* Réduction drastique des marges de la boîte pour approcher le visualiseur des bords */
	.listbox {
		padding: 8px 6px 12px 6px;
		border-radius: 8px;
	}

	.listbox .etat {
		font-size: 13px;
		margin-bottom: 4px;
		gap: 4px;
	}

	/* Rangée visualiseur : espacement vertical compact */
	.sizer-visualizer-row {
		justify-content: center;
		gap: 6px;
	}

	.sizer-scale-wrapper {
		margin: 0 auto;
	}

	.sizer-btn-col {
		width: 100%;
		justify-content: center;
		min-width: 0;
	}

	/* Bouton d'alternance compact en hauteur */
	#togglesize {
		width: 100%;
		max-width: 280px;
		padding: 6px 14px;
		font-size: 12px;
		line-height: 1.2;
		border-radius: 6px;
	}

	/* Notice de statut compacte */
	.size-status-notice {
		margin: 4px 0 8px 0;
		padding: 6px 10px;
		font-size: 12px;
	}

	/* Grille des réglages : espacement réduit */
	.sizer-controls-grid {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 8px;
	}

	/* Cartes de paramètres compactes */
	.sizer-card {
		padding: 8px 10px;
		border-radius: 8px;
	}

	.sizer-card .small {
		font-size: 10px;
		margin-top: 2px;
		line-height: 1.2;
	}

	.sizer-field-group {
		margin-bottom: 6px;
	}

	.sizer-field-group label {
		font-size: 11px;
		margin-bottom: 2px;
	}

	.sizer-input,
	.sizer-select {
		padding: 4px 8px;
		font-size: 12px;
		height: 32px;
		border-radius: 6px;
		margin: 0;
	}

	.sizer select,
	.sizer-adjust-card .slider-select {
		margin: 0;
	}

	/* Carte Dimensions (Longueur & Circonférence) sur 2 colonnes pour économiser la hauteur */
	.sizer-card-dimensions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.sizer-card {
		box-shadow: none;
		border: 0 none;
	}

	.sizer-card-dimensions .sizer-field-group {
		margin-bottom: 0;
	}

	.sizer-adjust-card .slider {
		margin: 0;
	}
}

/* ==========================================================================
   Commutation des visuels cm / pouces (Règles, Matrices, Mains)
   ========================================================================== */

/* 1. Règle verticale Sizer circonférence */
.unit-metric #gthrule {
	background-image: url(/modules/custom/size/images/ruler/9rule.png) !important;
}

.unit-imperial #gthrule {
	background-image: url(/modules/custom/size/images/ruler/9rule-inch.png) !important;
}

/* 2. Matrice de mesure horizontale Sizer */
.unit-metric #matrix {
	background-image: url(/modules/custom/size/images/sizer/measure-matrix.png) !important;
}

.unit-imperial #matrix {
	background-image: url(/modules/custom/size/images/sizer/measure-matrix-inch.png) !important;
}

/* 3. Main de référence sur la page Mon compte (/user) */
.unit-metric .single-cock-ruler,
.unit-metric .user-cock-ruler {
	background-image: url(/modules/custom/size/images/ruler/vhandleft.png) !important;
}

.unit-imperial .single-cock-ruler,
.unit-imperial .user-cock-ruler {
	background-image: url(/modules/custom/size/images/ruler/vhandleft-inch.png) !important;
}

/* 4. Mains de référence latérales sur les comparateurs (Duo, Comparateur, Fiche membre) */
.unit-metric #leftspace {
	background-image: url(/modules/custom/size/images/ruler/vhandleft.png) !important;
}

.unit-metric #rightspace {
	background-image: url(/modules/custom/size/images/ruler/vhandright.png) !important;
}

.unit-imperial #leftspace {
	background-image: url(/modules/custom/size/images/ruler/vhandleft-inch.png) !important;
}

.unit-imperial #rightspace {
	background-image: url(/modules/custom/size/images/ruler/vhandright-inch.png) !important;
}

/* 5. Règle verticale Multi-comparateur */
.unit-metric #leftrule {
	background-image: url(/modules/custom/size/images/ruler/transrule2.png) !important;
}

.unit-imperial #leftrule {
	background-image: url(/modules/custom/size/images/ruler/transrule-inch.png) !important;
}