/*
 * RU Stations : avis des auditeurs, écoutes par heure et « Envoyer votre
 * musique » (livraison 9). Design RU : bleu #1d5c8f, texte foncé sur fond
 * clair, cibles de 44 px, champs de 16 px. Les barres prennent des classes
 * à pas de 5 % (rust-h-n0 à rust-h-n20, rust-w-n0 à rust-w-n20) : aucun
 * style écrit dans la page. Règle d'écriture RU : pas de tiret cadratin.
 */

/* ---------- Écoutes par heure ---------- */

.rust-h-tete {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 16px;
}

.rust-h-periodes {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rust-h-periode {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--rust-bord-2, rgba(0, 0, 0, .16));
	border-radius: 999px;
	background: #fff;
	color: var(--rust-texte, #0e2438);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.rust-h-periode:hover {
	border-color: #0a0a0a;
	color: var(--rust-bleu, #1d5c8f);
}

.rust-h-periode.rust-on {
	background: var(--rust-bleu, #1d5c8f);
	border-color: var(--rust-bleu, #1d5c8f);
	color: #fff;
}

.rust-h-periode:focus-visible,
.rust-av-chiffre:focus-visible,
.rust-av-lien:focus-visible {
	outline: 2px solid var(--rust-bleu, #1d5c8f);
	outline-offset: 2px;
}

.rust-h-chiffres {
	margin-bottom: 18px;
}

.rust-h-barres {
	display: grid;
	grid-template-columns: repeat(24, minmax(0, 1fr));
	gap: 3px;
	align-items: end;
	height: 180px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rust-h-col {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-width: 0;
	margin: 0;
}

.rust-h-barre {
	display: block;
	width: 100%;
	min-height: 2px;
	border-radius: 3px 3px 0 0;
	background: rgba(29, 92, 143, .35);
}

.rust-h-col--forte .rust-h-barre {
	background: var(--rust-bleu, #1d5c8f);
}

.rust-h-heure {
	display: block;
	white-space: nowrap;
	margin-top: 6px;
	color: var(--rust-gris, #6b7280);
	font-size: 12px;
	text-align: center;
	line-height: 1;
}

.rust-h-heure--cachee {
	visibility: hidden;
}
.rust-h-n0 { height: 0%; }
.rust-h-n1 { height: 5%; }
.rust-h-n2 { height: 10%; }
.rust-h-n3 { height: 15%; }
.rust-h-n4 { height: 20%; }
.rust-h-n5 { height: 25%; }
.rust-h-n6 { height: 30%; }
.rust-h-n7 { height: 35%; }
.rust-h-n8 { height: 40%; }
.rust-h-n9 { height: 45%; }
.rust-h-n10 { height: 50%; }
.rust-h-n11 { height: 55%; }
.rust-h-n12 { height: 60%; }
.rust-h-n13 { height: 65%; }
.rust-h-n14 { height: 70%; }
.rust-h-n15 { height: 75%; }
.rust-h-n16 { height: 80%; }
.rust-h-n17 { height: 85%; }
.rust-h-n18 { height: 90%; }
.rust-h-n19 { height: 95%; }
.rust-h-n20 { height: 100%; }

/* ---------- Avis des auditeurs ---------- */

.rust-av-grille {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 28px;
	margin-top: 16px;
}

.rust-av-moyenne {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 0;
	color: var(--rust-texte, #0e2438);
}

.rust-av-moyenne strong {
	font-size: 48px;
	line-height: 1;
	color: var(--rust-bleu, #1d5c8f);
}

.rust-av-moyenne span {
	font-size: 20px;
	color: var(--rust-gris, #6b7280);
}

.rust-av-repartition {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.rust-av-repartition li {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	gap: 8px;
	align-items: center;
	margin: 0 0 6px;
	font-size: 14px;
	color: var(--rust-texte, #0e2438);
}

.rust-av-piste {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: #e5e9ee;
	overflow: hidden;
}

.rust-av-plein {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--rust-bleu, #1d5c8f);
}

.rust-av-pct {
	text-align: right;
	color: var(--rust-gris, #6b7280);
}
.rust-w-n0 { width: 0%; }
.rust-w-n1 { width: 5%; }
.rust-w-n2 { width: 10%; }
.rust-w-n3 { width: 15%; }
.rust-w-n4 { width: 20%; }
.rust-w-n5 { width: 25%; }
.rust-w-n6 { width: 30%; }
.rust-w-n7 { width: 35%; }
.rust-w-n8 { width: 40%; }
.rust-w-n9 { width: 45%; }
.rust-w-n10 { width: 50%; }
.rust-w-n11 { width: 55%; }
.rust-w-n12 { width: 60%; }
.rust-w-n13 { width: 65%; }
.rust-w-n14 { width: 70%; }
.rust-w-n15 { width: 75%; }
.rust-w-n16 { width: 80%; }
.rust-w-n17 { width: 85%; }
.rust-w-n18 { width: 90%; }
.rust-w-n19 { width: 95%; }
.rust-w-n20 { width: 100%; }

.rust-av-regles {
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--rust-gris, #6b7280);
}

.rust-av-formulaire {
	padding: 16px;
	border: 1px solid var(--rust-bord, rgba(0, 0, 0, .10));
	border-radius: 12px;
	background: #f8fafc;
}

.rust-av-choix {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin-bottom: 12px;
}

.rust-av-choix-titre {
	flex-basis: 100%;
	font-weight: 600;
	color: var(--rust-texte, #0e2438);
}

.rust-av-chiffre {
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--rust-bord-2, rgba(0, 0, 0, .16));
	border-radius: 8px;
	background: #fff;
	color: var(--rust-texte, #0e2438);
	font: inherit;
	font-size: 16px;
	cursor: pointer;
}

.rust-av-chiffre:hover {
	border-color: #0a0a0a;
	color: var(--rust-bleu, #1d5c8f);
}

.rust-av-chiffre.rust-on {
	background: var(--rust-bleu, #1d5c8f);
	border-color: var(--rust-bleu, #1d5c8f);
	color: #fff;
}

.rust-av-etiquette {
	display: block;
	margin-bottom: 6px;
	color: var(--rust-texte, #0e2438);
}

.rust-av-saisie {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	font-size: 16px;
}

.rust-av-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.rust-av-message {
	margin: 12px 0 0;
	color: var(--rust-texte, #0e2438);
	font-weight: 600;
}

.rust-av-liste {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.rust-av-item {
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--rust-bord, rgba(0, 0, 0, .10));
}

.rust-av-haut {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.rust-av-auteur {
	color: var(--rust-texte, #0e2438);
}

.rust-av-note {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--rust-bleu, #1d5c8f);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}

.rust-av-texte {
	margin: 8px 0 0;
	color: var(--rust-texte, #0e2438);
	overflow-wrap: anywhere;
}

.rust-av-bas {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--rust-gris, #6b7280);
}

.rust-av-reponse {
	margin: 10px 0 0;
	padding: 10px 14px;
	border-left: 3px solid var(--rust-bleu, #1d5c8f);
	background: #f4f7fa;
	color: var(--rust-texte, #0e2438);
}

.rust-av-reponse p {
	margin: 4px 0 0;
	overflow-wrap: anywhere;
}

.rust-av-gestes {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: center;
	margin-top: 6px;
}

.rust-av-gestes:empty {
	display: none;
}

.rust-av-lien {
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--rust-bleu, #1d5c8f);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.rust-av-question {
	flex-basis: 100%;
	font-size: 14px;
	color: var(--rust-texte, #0e2438);
}

/* ---------- Envoyer votre musique ---------- */

.rust-em .rust-pr-infos a {
	color: var(--rust-bleu, #1d5c8f);
	overflow-wrap: anywhere;
}

/* ---------- Téléphone (390, 360, 320 px) ---------- */

@media (max-width: 720px) {
	.rust-av-grille {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.rust-h-barres {
		gap: 2px;
		height: 140px;
	}

	.rust-h-heure {
		font-size: 11px;
	}

	.rust-h-heure--pas6 {
		visibility: hidden;
	}
}

@media (max-width: 360px) {
	.rust-h-periode {
		padding: 0 12px;
	}
}
