/* =====================================================================
   Tests interactifs : biais-psychologiques.com
   Charte reprise du test de Stroop : vert #35aa95, texte #454F5E, Poppins.
   Toutes les classes sont préfixées .bpt- pour éviter les conflits avec Astra.
   ===================================================================== */

.bpt-tool {
	--bpt-primary: #35aa95;
	--bpt-primary-dark: #2d8f7a;
	--bpt-primary-soft: #eaf7f4;
	--bpt-text: #454F5E;
	--bpt-muted: #6b7684;
	--bpt-light: #f8f9fa;
	--bpt-border: #e9ecef;
	--bpt-error: #d1495b;
	--bpt-error-soft: #fdecee;
	--bpt-warning: #e9a23b;
	--bpt-radius: 15px;

	font-family: 'Poppins', Arial, sans-serif;
	font-size: 16px;
	color: var(--bpt-text);
	padding: 20px 0;
	margin: 20px 0;
}

.bpt-tool *,
.bpt-tool *::before,
.bpt-tool *::after {
	box-sizing: border-box;
}

.bpt-tool .bpt-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 30px;
	background: linear-gradient(135deg, #f0fffa 0%, #ffffff 100%);
	border-radius: var(--bpt-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border: 2px solid var(--bpt-primary);
	text-align: center;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bpt-tool .bpt-title {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 10px;
	color: var(--bpt-primary);
	line-height: 1.3;
}

.bpt-tool .bpt-subtitle {
	font-size: 18px;
	margin: 0 0 25px;
	color: var(--bpt-text);
	opacity: 0.8;
}

.bpt-tool .bpt-description {
	margin-bottom: 25px;
	line-height: 1.6;
	text-align: left;
}

.bpt-tool .bpt-description p {
	margin: 0 0 10px;
}

/* Instructions (même rendu que le test de Stroop) */
.bpt-tool .bpt-instructions {
	background-color: var(--bpt-light);
	border-left: 4px solid var(--bpt-primary);
	padding: 20px;
	margin-bottom: 25px;
	text-align: left;
	border-radius: 5px;
}

.bpt-tool .bpt-instructions h3 {
	margin: 0 0 10px;
	color: var(--bpt-primary);
	font-size: 18px;
}

.bpt-tool .bpt-instructions ul {
	margin: 10px 0 0 20px;
	padding: 0;
}

.bpt-tool .bpt-instructions li {
	margin-bottom: 5px;
}

.bpt-tool .bpt-example {
	background-color: var(--bpt-primary-soft);
	border-radius: 10px;
	padding: 15px 20px;
	margin-bottom: 25px;
	text-align: left;
	line-height: 1.6;
}

/* Sections et transitions */
.bpt-tool .bpt-section {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.bpt-tool .bpt-hidden {
	display: none !important;
}

/* Avant l'initialisation JS : seule l'introduction est visible.
   Sans JavaScript (robots compris), toutes les questions restent affichées. */
.bpt-js .bpt-tool:not([data-bpt-ready]) [data-step]:not([data-step="intro"]) {
	display: none;
}

/* Éléments réservés à la version interactive */
.bpt-tool:not([data-bpt-ready]) .bpt-js-only {
	display: none;
}

.bpt-tool .bpt-fade {
	opacity: 0;
}

/* Boutons */
.bpt-tool .bpt-btn {
	display: inline-block;
	padding: 15px 30px;
	background-color: var(--bpt-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 5px;
}

.bpt-tool .bpt-btn:hover,
.bpt-tool .bpt-btn:focus-visible {
	background-color: var(--bpt-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

.bpt-tool .bpt-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.bpt-tool .bpt-btn--ghost {
	background-color: transparent;
	color: var(--bpt-primary);
	border: 2px solid var(--bpt-primary);
}

.bpt-tool .bpt-btn--ghost:hover,
.bpt-tool .bpt-btn--ghost:focus-visible {
	background-color: var(--bpt-primary);
	color: #fff;
}

.bpt-tool .bpt-btn--small {
	padding: 10px 18px;
	font-size: 14px;
}

.bpt-tool .bpt-actions {
	margin-top: 10px;
}

/* Options de réponse (même rendu que les boutons couleur du Stroop) */
.bpt-tool .bpt-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin: 0 auto 25px;
	max-width: 560px;
}

.bpt-tool .bpt-options--stack {
	grid-template-columns: 1fr;
}

.bpt-tool .bpt-option {
	padding: 15px 20px;
	background-color: var(--bpt-light);
	border: 2px solid var(--bpt-primary);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	color: var(--bpt-text);
	text-align: left;
	line-height: 1.5;
	transition: all 0.3s ease;
}

.bpt-tool .bpt-option:hover,
.bpt-tool .bpt-option:focus-visible,
.bpt-tool .bpt-option.is-selected {
	background-color: var(--bpt-primary);
	color: #fff;
	transform: translateY(-2px);
}

.bpt-tool .bpt-option.is-correct {
	background-color: var(--bpt-primary);
	color: #fff;
}

.bpt-tool .bpt-option.is-wrong {
	background-color: var(--bpt-error-soft);
	border-color: var(--bpt-error);
	color: var(--bpt-error);
}

/* Progression */
.bpt-tool .bpt-progress {
	margin-bottom: 25px;
	font-weight: 500;
}

.bpt-tool .bpt-progress-bar {
	width: 100%;
	height: 8px;
	background-color: var(--bpt-border);
	border-radius: 4px;
	margin-top: 10px;
	overflow: hidden;
}

.bpt-tool .bpt-progress-fill {
	height: 100%;
	width: 0%;
	background-color: var(--bpt-primary);
	transition: width 0.3s ease;
}

/* Questions */
.bpt-tool .bpt-question {
	border: none;
	margin: 0 0 25px;
	padding: 0;
	text-align: left;
}

.bpt-tool .bpt-question legend,
.bpt-tool .bpt-question-text {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	margin-bottom: 15px;
	padding: 0;
}

.bpt-tool .bpt-question-number {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bpt-primary);
	margin-bottom: 5px;
}

.bpt-tool .bpt-scenario {
	background: #fff;
	border: 1px solid var(--bpt-border);
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
	text-align: left;
	line-height: 1.7;
}

.bpt-tool .bpt-field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.bpt-tool .bpt-input {
	font-family: inherit;
	font-size: 16px;
	color: var(--bpt-text);
	padding: 12px 14px;
	border: 2px solid #cfd8dc;
	border-radius: 10px;
	background: #fff;
	min-width: 0;
	transition: border-color 0.2s ease;
}

.bpt-tool .bpt-input:focus {
	outline: none;
	border-color: var(--bpt-primary);
}

.bpt-tool .bpt-input--number {
	width: 160px;
}

.bpt-tool .bpt-input--wide {
	width: 100%;
}

.bpt-tool .bpt-unit {
	color: var(--bpt-muted);
}

.bpt-tool .bpt-error-msg {
	color: var(--bpt-error);
	font-size: 14px;
	min-height: 20px;
	margin-top: 8px;
}

/* Feedback après réponse */
.bpt-tool .bpt-feedback {
	border-radius: 10px;
	padding: 15px 20px;
	margin: 0 0 20px;
	text-align: left;
	line-height: 1.6;
}

.bpt-tool .bpt-feedback--ok {
	background: var(--bpt-primary-soft);
	border-left: 4px solid var(--bpt-primary);
}

.bpt-tool .bpt-feedback--ko {
	background: var(--bpt-error-soft);
	border-left: 4px solid var(--bpt-error);
}

.bpt-tool .bpt-explanation {
	text-align: left;
	line-height: 1.6;
	margin-top: 8px;
}

/* Résultats (même rendu que le Stroop) */
.bpt-tool .bpt-final-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--bpt-primary);
}

.bpt-tool .bpt-results {
	background-color: var(--bpt-light);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 25px;
	text-align: left;
}

.bpt-tool .bpt-result-item {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--bpt-border);
}

.bpt-tool .bpt-result-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.bpt-tool .bpt-result-label {
	font-weight: 500;
}

.bpt-tool .bpt-result-value {
	font-weight: 600;
	color: var(--bpt-primary);
	text-align: right;
	white-space: nowrap;
}

.bpt-tool .bpt-verdict {
	background: #fff;
	border: 2px solid var(--bpt-primary);
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 25px;
	text-align: left;
	line-height: 1.6;
}

.bpt-tool .bpt-verdict strong {
	color: var(--bpt-primary);
}

/* Tableaux de résultats */
.bpt-tool .bpt-table-wrap {
	overflow-x: auto;
	margin-bottom: 25px;
}

.bpt-tool .bpt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	text-align: left;
	background: #fff;
}

.bpt-tool .bpt-table th,
.bpt-tool .bpt-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--bpt-border);
	vertical-align: top;
}

.bpt-tool .bpt-table th {
	background: var(--bpt-primary-soft);
	color: var(--bpt-text);
	font-weight: 600;
}

.bpt-tool .bpt-ok {
	color: var(--bpt-primary);
	font-weight: 600;
}

.bpt-tool .bpt-ko {
	color: var(--bpt-error);
	font-weight: 600;
}

/* Graphiques SVG */
.bpt-tool .bpt-chart {
	width: 100%;
	margin: 0 0 25px;
}

.bpt-tool .bpt-chart svg {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.bpt-tool .bpt-chart-title {
	font-weight: 600;
	margin-bottom: 10px;
	text-align: left;
}

.bpt-tool .bpt-chart text {
	font-family: 'Poppins', Arial, sans-serif;
	fill: var(--bpt-text);
}

.bpt-tool .bpt-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	font-size: 14px;
	margin-top: 8px;
}

.bpt-tool .bpt-legend span::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: -1px;
	background: var(--bpt-swatch, var(--bpt-primary));
}

/* Grille de chiffres clés */
.bpt-tool .bpt-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	margin-bottom: 25px;
}

.bpt-tool .bpt-stat {
	background: #fff;
	border: 1px solid var(--bpt-border);
	border-radius: 10px;
	padding: 15px;
}

.bpt-tool .bpt-stat-value {
	display: block;
	font-size: 28px;
	font-weight: 600;
	color: var(--bpt-primary);
	line-height: 1.2;
}

.bpt-tool .bpt-stat-label {
	display: block;
	font-size: 13px;
	color: var(--bpt-muted);
	margin-top: 4px;
}

/* Liens vers les articles */
.bpt-tool .bpt-related {
	text-align: left;
	border-top: 1px solid var(--bpt-border);
	padding-top: 15px;
	margin-top: 10px;
	font-size: 15px;
}

.bpt-tool .bpt-related-title {
	font-weight: 600;
	margin: 0 0 6px;
}

.bpt-tool .bpt-related ul {
	margin: 0 0 0 20px;
	padding: 0;
}

.bpt-tool .bpt-related a {
	color: var(--bpt-primary-dark);
}

.bpt-tool .bpt-note {
	font-size: 14px;
	color: var(--bpt-muted);
	line-height: 1.6;
	text-align: left;
}

.bpt-tool .bpt-noscript {
	background: var(--bpt-light);
	border-radius: 10px;
	padding: 15px;
	margin-top: 20px;
}

.bpt-tool .bpt-countdown {
	font-size: 72px;
	font-weight: 600;
	color: var(--bpt-primary);
	margin: 40px 0;
}

.bpt-tool .bpt-stimulus {
	font-size: 40px;
	font-weight: 600;
	margin: 30px 0;
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bpt-tool .bpt-kbd {
	display: inline-block;
	min-width: 28px;
	padding: 2px 8px;
	border: 1px solid #cfd8dc;
	border-bottom-width: 3px;
	border-radius: 6px;
	background: #fff;
	font-weight: 600;
	font-size: 14px;
}

/* ---------- Problème de Linda ---------- */
.bpt-tool--linda .bpt-freq-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	text-align: left;
}

/* ---------- Monty Hall ---------- */
.bpt-tool .bpt-doors {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin: 10px 0 25px;
	flex-wrap: wrap;
}

.bpt-tool .bpt-door {
	position: relative;
	width: 130px;
	height: 190px;
	border: 3px solid var(--bpt-primary-dark);
	border-radius: 10px 10px 4px 4px;
	background: linear-gradient(180deg, #4dbfa9 0%, #35aa95 100%);
	color: #fff;
	font-family: inherit;
	font-size: 34px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.bpt-tool .bpt-door::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 62%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #f4d35e;
}

.bpt-tool .bpt-door:hover:not(:disabled) {
	transform: translateY(-4px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.bpt-tool .bpt-door.is-selected {
	outline: 4px solid #f4d35e;
	outline-offset: 3px;
}

.bpt-tool .bpt-door.is-open {
	background: #fff;
	color: var(--bpt-text);
	cursor: default;
}

.bpt-tool .bpt-door.is-open::after {
	display: none;
}

.bpt-tool .bpt-door-content {
	font-size: 54px;
	line-height: 1;
}

.bpt-tool .bpt-door-label {
	font-size: 14px;
	font-weight: 500;
	margin-top: 8px;
}

.bpt-tool .bpt-sim-bars {
	margin-bottom: 20px;
	text-align: left;
}

.bpt-tool .bpt-sim-row {
	margin-bottom: 14px;
}

.bpt-tool .bpt-sim-row-head {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	margin-bottom: 6px;
}

.bpt-tool .bpt-sim-track {
	height: 22px;
	background: var(--bpt-border);
	border-radius: 11px;
	overflow: hidden;
}

.bpt-tool .bpt-sim-fill {
	height: 100%;
	width: 0;
	background: var(--bpt-primary);
	transition: width 0.15s linear;
}

.bpt-tool .bpt-sim-fill--alt {
	background: #9aa5b1;
}

/* ---------- Êtes-vous aléatoire ? ---------- */
.bpt-tool .bpt-coin-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
}

.bpt-tool .bpt-coin {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid var(--bpt-primary-dark);
	background: radial-gradient(circle at 35% 30%, #6fd3bf 0%, #35aa95 70%);
	color: #fff;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.bpt-tool .bpt-coin:active {
	transform: scale(0.94);
}

.bpt-tool .bpt-coin--f {
	background: radial-gradient(circle at 35% 30%, #c2cbd3 0%, #7d8a97 70%);
	border-color: #5f6b77;
}

.bpt-tool .bpt-sequence {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	justify-content: flex-start;
	min-height: 26px;
	margin-bottom: 15px;
}

.bpt-tool .bpt-seq-cell {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: var(--bpt-primary);
}

.bpt-tool .bpt-seq-cell--f {
	background: #7d8a97;
}

.bpt-tool .bpt-seq-cell.is-run {
	box-shadow: 0 0 0 2px #f4d35e;
}

.bpt-tool .bpt-seq-block {
	text-align: left;
	margin-bottom: 20px;
}

.bpt-tool .bpt-seq-block p {
	font-weight: 600;
	margin: 0 0 8px;
}

/* ---------- Surconfiance ---------- */
.bpt-tool--surconfiance .bpt-range-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bpt-tool--surconfiance .bpt-range-fields label {
	display: block;
	font-size: 14px;
	color: var(--bpt-muted);
	margin-bottom: 4px;
}

/* ---------- Cécité au changement ---------- */
.bpt-tool .bpt-scene {
	position: relative;
	width: 100%;
	max-width: 640px;
	margin: 0 auto 20px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--bpt-border);
	background: #fff;
	cursor: crosshair;
	aspect-ratio: 3 / 2;
}

.bpt-tool .bpt-scene svg {
	width: 100%;
	height: 100%;
	display: block;
}

.bpt-tool .bpt-scene-canvas {
	width: 100%;
	height: 100%;
}

.bpt-tool .bpt-scene.is-blank {
	background: #c9ced3;
}

.bpt-tool .bpt-scene.is-blank svg {
	visibility: hidden;
}

.bpt-tool .bpt-scene-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.bpt-tool .bpt-scene-pair .bpt-scene {
	cursor: default;
	margin: 0;
}

.bpt-tool .bpt-timer {
	font-size: 22px;
	font-weight: 600;
	color: var(--bpt-primary);
	margin-bottom: 10px;
}

.bpt-tool .bpt-click-marker {
	position: absolute;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border-radius: 50%;
	border: 3px solid var(--bpt-error);
	pointer-events: none;
	animation: bpt-pop 0.6s ease forwards;
}

@keyframes bpt-pop {
	0% { transform: scale(0.4); opacity: 1; }
	100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- Mémoire en série ---------- */
.bpt-tool .bpt-word {
	font-size: 44px;
	font-weight: 600;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.02em;
}

.bpt-tool .bpt-recall-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 20px;
	min-height: 40px;
}

.bpt-tool .bpt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bpt-primary-soft);
	border: 1px solid var(--bpt-primary);
	border-radius: 20px;
	padding: 6px 12px;
	font-size: 15px;
}

.bpt-tool .bpt-chip button {
	border: none;
	background: none;
	color: var(--bpt-muted);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0;
}

.bpt-tool .bpt-mode-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 20px;
}

.bpt-tool .bpt-mode-choice label {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bpt-light);
	border: 2px solid var(--bpt-border);
	border-radius: 10px;
	padding: 10px 14px;
	cursor: pointer;
}

.bpt-tool .bpt-mode-choice input:checked + span {
	font-weight: 600;
	color: var(--bpt-primary-dark);
}

/* ---------- Calculateur de Bayes ---------- */
.bpt-tool .bpt-sliders {
	text-align: left;
	margin-bottom: 25px;
}

.bpt-tool .bpt-slider {
	margin-bottom: 18px;
}

.bpt-tool .bpt-slider-head {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	margin-bottom: 6px;
}

.bpt-tool .bpt-slider-head output {
	color: var(--bpt-primary);
	font-weight: 600;
}

.bpt-tool .bpt-slider input[type="range"] {
	width: 100%;
	accent-color: var(--bpt-primary);
}

.bpt-tool .bpt-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 20px;
}

.bpt-tool .bpt-icon-array svg rect {
	transition: fill 0.2s ease;
}

.bpt-tool .bpt-big-result {
	font-size: 46px;
	font-weight: 600;
	color: var(--bpt-primary);
	line-height: 1.1;
	margin: 10px 0;
}

/* ---------- IAT ---------- */
.bpt-tool .bpt-iat-labels {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 10px;
	font-weight: 600;
	font-size: 17px;
	min-height: 54px;
}

.bpt-tool .bpt-iat-labels > div {
	flex: 1;
	line-height: 1.4;
}

.bpt-tool .bpt-iat-labels > div:first-child {
	text-align: left;
}

.bpt-tool .bpt-iat-labels > div:last-child {
	text-align: right;
}

.bpt-tool .bpt-iat-or {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--bpt-muted);
}

.bpt-tool .bpt-iat-cat--attr {
	color: #7a5ea8;
}

.bpt-tool .bpt-iat-stage {
	position: relative;
	min-height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bpt-tool .bpt-iat-error {
	position: absolute;
	bottom: 6px;
	left: 0;
	right: 0;
	font-size: 46px;
	font-weight: 700;
	color: var(--bpt-error);
}

.bpt-tool .bpt-iat-touch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 10px;
}

.bpt-tool .bpt-iat-touch .bpt-btn {
	margin: 0;
	padding: 22px 10px;
}

.bpt-tool .bpt-meter {
	position: relative;
	height: 16px;
	border-radius: 8px;
	background: linear-gradient(90deg, #9aa5b1 0%, #e9ecef 50%, #35aa95 100%);
	margin: 30px 0 10px;
}

.bpt-tool .bpt-meter-cursor {
	position: absolute;
	top: -8px;
	width: 4px;
	height: 32px;
	margin-left: -2px;
	background: var(--bpt-text);
	border-radius: 2px;
	transition: left 0.6s ease;
}

.bpt-tool .bpt-meter-scale {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--bpt-muted);
	margin-bottom: 25px;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
	.bpt-tool .bpt-container {
		padding: 20px 16px;
		min-height: 0;
	}

	.bpt-tool .bpt-title {
		font-size: 24px;
	}

	.bpt-tool .bpt-subtitle {
		font-size: 16px;
	}

	.bpt-tool .bpt-options {
		grid-template-columns: 1fr;
	}

	.bpt-tool .bpt-door {
		width: 92px;
		height: 140px;
		font-size: 26px;
	}

	.bpt-tool .bpt-door-content {
		font-size: 40px;
	}

	.bpt-tool .bpt-coin {
		width: 100px;
		height: 100px;
	}

	.bpt-tool .bpt-stimulus,
.bpt-tool .bpt-word {
		font-size: 32px;
	}

	.bpt-tool .bpt-countdown {
		font-size: 54px;
	}

	.bpt-tool .bpt-scene-pair {
		grid-template-columns: 1fr;
	}

	.bpt-tool--surconfiance .bpt-range-fields {
		grid-template-columns: 1fr;
	}

	.bpt-tool .bpt-result-item {
		flex-direction: column;
		gap: 2px;
	}

	.bpt-tool .bpt-result-value {
		text-align: left;
		white-space: normal;
	}
}


/* Les boutons du thème (Astra) définissent un fond au survol : on garde celui des outils. */
.bpt-tool .bpt-door:hover:not(:disabled),
.bpt-tool .bpt-door:focus-visible {
	background: linear-gradient(180deg, #4dbfa9 0%, #35aa95 100%);
	color: #fff;
}

.bpt-tool .bpt-door.is-open:hover,
.bpt-tool .bpt-door.is-open:disabled {
	background: #fff;
	color: var(--bpt-text);
}

.bpt-tool .bpt-coin:hover,
.bpt-tool .bpt-coin:focus-visible {
	background: radial-gradient(circle at 35% 30%, #6fd3bf 0%, #35aa95 70%);
	color: #fff;
}

.bpt-tool .bpt-coin--f:hover,
.bpt-tool .bpt-coin--f:focus-visible {
	background: radial-gradient(circle at 35% 30%, #c2cbd3 0%, #7d8a97 70%);
}

.bpt-tool .bpt-chip button:hover {
	background: none;
	color: var(--bpt-error);
}

.bpt-tool .bpt-option.is-wrong:hover,
.bpt-tool .bpt-option.is-wrong:disabled {
	background-color: var(--bpt-error-soft);
	color: var(--bpt-error);
}

.bpt-tool .bpt-option:disabled:not(.is-correct):not(.is-wrong) {
	background-color: var(--bpt-light);
	color: var(--bpt-text);
	transform: none;
	cursor: default;
}

.bpt-tool .bpt-option.is-correct:disabled {
	background-color: var(--bpt-primary);
	color: #fff;
	transform: none;
	cursor: default;
}
