/* Application New Morning (PWA) : bleu nuit #2e285e, rouge #ef463e */
:root {
	--bleu: #2e285e;
	--bleu-fonce: #1f1a45;
	--rouge: #ef463e;
	--fond: #f3f2f8;
	--carte: #ffffff;
	--texte: #24223a;
	--texte-2: #5f5c75;
	--texte-3: #8a8799;
	--ligne: #e6e4f0;
	--vert: #2e8b3e;
	--titre: #2e285e;                       /* titres et textes forts (clairs en thème sombre) */
	--doux: #ebe9f7;                        /* fond des badges et pastilles */
	--onglets-fond: rgba(255, 255, 255, .96);
	--rayon: 16px;
	--haut: env(safe-area-inset-top, 0px);
	--bas: env(safe-area-inset-bottom, 0px);
	--barre: 56px;
	--onglets: 62px;
}

/* thème sombre : suit le réglage du téléphone */
@media (prefers-color-scheme: dark) {
	:root {
		--fond: #121026;
		--carte: #1e1b3a;
		--texte: #ecebf5;
		--texte-2: #bdbad6;
		--texte-3: #8f8bb0;
		--ligne: #2f2b55;
		--titre: #ecebff;
		--doux: #2e2a58;
		--onglets-fond: rgba(24, 21, 48, .96);
		color-scheme: dark;
	}
	.badge { color: #d9d5ff; }
	.etat.complet { background: #4a1f25; color: #ffb3ae; }
	.etat.annule { background: #2c2c35; color: #c9c9d3; }
	.etat.reporte { background: #43361a; color: #ffd98a; }
	.concert, .tuile, .podcast, .lineup li, .fiche-carte { box-shadow: none; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--fond);
	color: var(--texte);
	font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior-y: none;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex: none; }
[hidden] { display: none !important; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- barre du haut */
.barre {
	position: fixed; z-index: 30; top: 0; left: 0; right: 0;
	height: calc(var(--barre) + var(--haut)); padding: var(--haut) 16px 0;
	display: flex; align-items: center; gap: 10px;
	background: var(--bleu); color: #fff;
	box-shadow: 0 2px 12px rgba(31, 26, 69, .25);
}
/* logo du club (version claire, comme sur le site) : icones/logo-clair.png, 321 x 120 */
.barre-logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.barre-logo img { height: 40px; width: auto; }
.barre-titre { margin-left: auto; font-size: 13px; color: #b9b5e0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barre-retour { margin-left: -8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }

main {
	min-height: 100vh;
	padding: calc(var(--barre) + var(--haut)) 0 calc(var(--onglets) + var(--bas) + 24px);
	outline: none;
}
body.lecteur-actif main { padding-bottom: calc(var(--onglets) + var(--bas) + 96px); }

/* ---------------------------------------------------------------- onglets du bas */
.onglets {
	position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
	height: calc(var(--onglets) + var(--bas)); padding-bottom: var(--bas);
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: var(--onglets-fond); backdrop-filter: blur(10px);
	border-top: 1px solid var(--ligne);
}
.onglets a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	text-decoration: none; font-size: 11px; font-weight: 600; color: var(--texte-3);
}
.onglets a.actif { color: var(--titre); }
.onglets a.actif svg { color: var(--rouge); }

/* ---------------------------------------------------------------- éléments communs */
.section { padding: 0 16px; }
.titre-section { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 16px 12px; }
.titre-section h2 { margin: 0; font-size: 20px; color: var(--titre); }
.titre-section h2 span { color: var(--rouge); }
.titre-section small { color: var(--texte-3); font-size: 13px; }
.chargement { display: grid; place-items: center; min-height: 50vh; }
.rond { width: 34px; height: 34px; border: 3px solid var(--ligne); border-top-color: var(--rouge); border-radius: 50%; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.vide { margin: 40px 24px; text-align: center; color: var(--texte-2); }
.vide svg { width: 44px; height: 44px; color: var(--ligne); margin-bottom: 8px; }
.bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 50px;
	background: var(--rouge); color: #fff; font-weight: 700; text-decoration: none;
}
.bouton.secondaire { background: var(--carte); color: var(--titre); border: 1.5px solid var(--ligne); }
.bouton.bleu { background: var(--bleu); }
.bouton svg { width: 20px; height: 20px; }
.etat { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.etat.complet { background: #fde3e2; color: #b4231c; }
.etat.annule { background: #eee; color: #555; }
.etat.reporte { background: #fff1d6; color: #8a5a00; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 50px; font-size: 11px; font-weight: 700; background: var(--doux); color: var(--titre); }
.badge.rouge { background: var(--rouge); color: #fff; }
.toast {
	position: fixed; z-index: 60; left: 50%; bottom: calc(var(--onglets) + var(--bas) + 16px);
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	padding: 10px 18px; border-radius: 50px; background: var(--bleu-fonce); color: #fff; font-size: 14px;
	transition: .25s; max-width: calc(100% - 32px);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- agenda */
.recherche { position: sticky; z-index: 20; top: calc(var(--barre) + var(--haut)); background: var(--fond); padding: 12px 16px 8px; }
.recherche label { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 50px; background: var(--carte); border: 1.5px solid var(--ligne); color: var(--texte-3); }
.recherche label:focus-within { border-color: var(--bleu); }
.recherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--texte); }
.recherche svg { width: 20px; height: 20px; }
.puces { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 4px; margin: 0 -16px; scrollbar-width: none; }
.puces::-webkit-scrollbar { display: none; }
.puce {
	flex: none; height: 34px; padding: 0 14px; border-radius: 50px; border: 1.5px solid var(--ligne);
	background: var(--carte); font-size: 14px; font-weight: 600; color: var(--texte-2); white-space: nowrap;
}
.puce[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.puce.hasard { display: inline-flex; align-items: center; gap: 6px; color: var(--rouge); border-color: #f8c9c6; }
.puce.hasard svg { width: 18px; height: 18px; }

/* concert à l'affiche ce soir */
.ce-soir { position: relative; display: block; margin: 8px 16px 0; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: var(--bleu); aspect-ratio: 4 / 3; }
.ce-soir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ce-soir::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,26,69,0) 30%, rgba(31,26,69,.92)); }
.ce-soir-textes { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.ce-soir-textes .badge { background: var(--rouge); color: #fff; }
.ce-soir-textes h2 { margin: 8px 0 4px; font-size: 24px; line-height: 1.15; }
.ce-soir-textes p { margin: 0; font-size: 14px; color: #dcd9f2; }

/* rangée horizontale (Pour vous) */
.rangee { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; scroll-padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rangee::-webkit-scrollbar { display: none; }
.mini { flex: none; width: 150px; scroll-snap-align: start; text-decoration: none; }
.mini img { width: 150px; height: 150px; object-fit: cover; border-radius: 14px; background: var(--ligne); }
.mini strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.25; color: var(--titre); }
.mini span { font-size: 12px; color: var(--texte-3); }

/* liste des concerts */
.mois { margin: 18px 0 8px; padding: 6px 16px; background: var(--fond); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rouge); }
/* agenda : le mois reste visible sous la recherche (hauteur mesurée par app.js) */
#liste .mois { position: sticky; z-index: 10; top: calc(var(--barre) + var(--haut) + var(--hauteur-recherche, 114px)); }
.concerts { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 12px; }
.concert {
	position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 0;
	background: var(--carte); border-radius: var(--rayon); overflow: hidden;
	box-shadow: 0 1px 2px rgba(31,26,69,.06), 0 4px 14px rgba(31,26,69,.05);
}
.concert.annule { opacity: .55; }
.concert-photo { position: relative; background: var(--ligne); }
.concert-photo img { width: 104px; height: 100%; min-height: 120px; object-fit: cover; }
/* date au-dessus du titre (ex. "VEN. 23 OCT.") */
.concert-date { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--rouge); }
.concert-corps { min-width: 0; padding: 12px 44px 12px 14px; }
.concert-corps a.concert-lien { text-decoration: none; }
.concert-corps a.concert-lien::after { content: ""; position: absolute; inset: 0; }
.concert-titre { margin: 0; font-size: 16px; line-height: 1.25; color: var(--titre); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.concert-accroche { margin: 3px 0 0; font-size: 13px; color: var(--texte-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.concert-infos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--texte-3); }
.coeur {
	position: absolute; z-index: 2; top: 6px; right: 6px; width: 40px; height: 40px;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--texte-3);
}
.coeur svg { width: 22px; height: 22px; }
.coeur[aria-pressed="true"] { color: var(--rouge); }
.coeur.bat { animation: bat .35s; }
@keyframes bat { 50% { transform: scale(1.3); } }

/* ---------------------------------------------------------------- fiche concert */
.fiche-photo { position: relative; aspect-ratio: 1 / 1; max-height: 62vh; width: 100%; background: var(--bleu); overflow: hidden; }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,26,69,0) 45%, rgba(31,26,69,.88)); }
/* titre posé en bas de la photo, quelle que soit sa longueur */
.fiche-entete { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 18px; color: #fff; }
.fiche-entete .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fiche-entete h1 { margin: 0; font-size: 27px; line-height: 1.12; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.fiche-carte { margin: 16px 16px 0; padding: 16px; border-radius: var(--rayon); background: var(--carte); box-shadow: 0 4px 18px rgba(31,26,69,.08); }
.fiche-quand { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fiche-quand strong { display: block; font-size: 17px; color: var(--titre); }
.fiche-quand strong::first-letter { text-transform: uppercase; }
.sous-titre { margin: 26px 16px 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rouge); }
.fiche-quand span { font-size: 14px; color: var(--texte-2); }
.fiche-actions { display: grid; gap: 10px; margin-top: 14px; }
.cgv { margin: 0; font-size: 12px; text-align: center; color: var(--texte-3); }
.cgv a { color: var(--texte-2); }
.fiche-outils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.outil { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 0; border-radius: 12px; background: var(--fond); color: var(--titre); font-size: 12px; font-weight: 600; text-decoration: none; }
.outil[aria-pressed="true"] { color: var(--rouge); }
.fiche-texte { margin: 0 16px; color: var(--texte); font-size: 15px; }
.fiche-texte p { margin: 0 0 12px; }
.citation { margin: 0 16px 14px; padding: 4px 0 4px 14px; border-left: 3px solid var(--rouge); font-size: 16px; font-style: italic; color: var(--titre); }
.formation-nom { margin: 26px 16px 10px; font-size: 19px; color: var(--titre); }
.formation-nom small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rouge); }
.lineup { list-style: none; margin: 0 16px 16px; padding: 0; display: grid; gap: 6px; }
.lineup li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--carte); font-size: 15px; }
.lineup li span { color: var(--texte-3); font-size: 13px; text-align: right; }
.plus { border: 0; background: none; padding: 0; color: var(--rouge); font-weight: 700; }
.video { position: relative; margin: 0 16px 18px; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video button { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: none; color: #fff; }
.video button svg { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--rouge); }
.video iframe { width: 100%; height: 100%; border: 0; }
.styles-fiche { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 16px 8px; }
/* bas de fiche : concert précédent / suivant */
.fiche-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 16px 0; }
.fiche-nav-lien {
	display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px;
	border: 1.5px solid var(--ligne); border-radius: 14px; background: var(--carte); color: var(--titre); text-decoration: none;
}
.fiche-nav-lien.suivant { text-align: right; }
.fiche-nav-sens { font-size: 12px; font-weight: 700; color: var(--rouge); text-transform: uppercase; letter-spacing: .4px; }
.fiche-nav-lien strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fiche-nav-lien small { font-size: 12px; color: var(--texte-2); }

/* ---------------------------------------------------------------- billetterie (panneau) */
.panneau { position: fixed; z-index: 50; inset: 0; display: flex; flex-direction: column; background: #fff; animation: monte .25s ease-out; }
@keyframes monte { from { transform: translateY(30px); opacity: 0; } }
.panneau-entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + var(--haut)) 16px 10px; background: var(--bleu); color: #fff; }
.panneau-entete strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panneau-entete button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.panneau-corps { position: relative; flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
/* l'attente reste derrière le widget : celui-ci la recouvre dès qu'il s'affiche */
.panneau-corps iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 100%; border: 0; }
.panneau-corps .chargement { position: absolute; z-index: 0; inset: 0; min-height: 0; }

/* ---------------------------------------------------------------- radio */
.direct {
	margin: 16px; padding: 22px 18px; border-radius: 22px; text-align: center; color: #fff;
	background: radial-gradient(circle at 50% 0%, #4a4290 0%, var(--bleu) 55%, var(--bleu-fonce) 100%);
	box-shadow: 0 10px 30px rgba(31,26,69,.3);
}
.direct-etiquette { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #ffb3ae; }
.direct-etiquette::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 0 rgba(239,70,62,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(239,70,62,0); } 100% { box-shadow: 0 0 0 0 rgba(239,70,62,0); } }
.direct-pochette { width: 200px; height: 200px; margin: 18px auto; border-radius: 18px; object-fit: cover; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.direct h2 { margin: 0; font-size: 20px; }
.direct p { margin: 4px 0 18px; color: #c9c5ec; font-size: 15px; min-height: 22px; }
.direct .bouton { min-width: 180px; }
.direct .bouton svg { width: 22px; height: 22px; }
.podcasts { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 10px; }
.podcast { display: grid; grid-template-columns: 64px 1fr 44px; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--carte); }
.podcast img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--ligne); }
.podcast strong { display: block; font-size: 15px; line-height: 1.25; color: var(--titre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podcast span { font-size: 12px; color: var(--texte-3); }
.podcast button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--fond); color: var(--titre); }
.podcast button svg { width: 20px; height: 20px; }
.podcast.en-cours button { background: var(--rouge); color: #fff; }

/* lecteur (au-dessus des onglets) */
.lecteur {
	position: fixed; z-index: 29; left: 8px; right: 8px; bottom: calc(var(--onglets) + var(--bas) + 8px);
	display: grid; grid-template-columns: 48px 1fr 44px 36px; gap: 10px; align-items: center;
	padding: 8px; border-radius: 16px; background: var(--bleu-fonce); color: #fff;
	box-shadow: 0 8px 24px rgba(31,26,69,.35); overflow: hidden;
}
.lecteur-pochette { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #fff; }
.lecteur-textes { min-width: 0; line-height: 1.2; }
.lecteur-textes > * { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lecteur-mode { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #ffb3ae; }
.lecteur-textes strong { font-size: 14px; }
#lecteur-sous-titre { font-size: 12px; color: #b9b5e0; }
.lecteur-bouton { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--rouge); color: #fff; }
.lecteur-fermer { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: #b9b5e0; }
.lecteur-fermer svg { width: 20px; height: 20px; }
.lecteur-progression { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.lecteur-progression span { display: block; height: 100%; width: 0; background: var(--rouge); }

/* ---------------------------------------------------------------- infos */
.tuiles { display: grid; gap: 10px; padding: 0 16px; }
.tuile { display: flex; gap: 14px; padding: 14px; border-radius: 14px; background: var(--carte); }
.tuile .ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--doux); color: var(--titre); font-size: 18px; }
.tuile h3 { margin: 0 0 2px; font-size: 15px; color: var(--titre); }
.tuile p { margin: 0; font-size: 14px; color: var(--texte-2); }
.adresse { margin: 16px; padding: 20px; border-radius: 20px; background: var(--bleu); color: #fff; }
.adresse h1 { margin: 0 0 4px; font-size: 22px; }
.adresse p { margin: 0 0 16px; color: #c9c5ec; }
.adresse .bouton { width: 100%; }
.installer { margin: 16px; padding: 16px; border-radius: 16px; background: var(--carte); border: 1.5px dashed var(--ligne); }
.installer h3 { margin: 0 0 4px; color: var(--titre); font-size: 16px; }
.installer p { margin: 0 0 12px; font-size: 14px; color: var(--texte-2); }
.pied { margin: 28px 16px 0; text-align: center; font-size: 12px; color: var(--texte-3); }
.pied a { color: var(--texte-2); }

/* ---------------------------------------------------------------- ce soir (concert de "Mes concerts" du jour) */
.rdv {
	margin: 8px 16px 0; padding: 18px; border-radius: 20px; color: #fff;
	background: linear-gradient(135deg, var(--rouge) 0%, #b8322c 100%);
	box-shadow: 0 10px 26px rgba(239, 70, 62, .3);
}
.rdv-etiquette { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.rdv h2 { margin: 6px 0 2px; font-size: 22px; line-height: 1.15; }
.rdv-compte { margin: 10px 0 2px; font-size: 26px; font-weight: 900; line-height: 1.1; }
.rdv-horaires { margin: 0; font-size: 14px; opacity: .9; }
.rdv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rdv-actions .bouton { min-height: 42px; padding: 0 12px; background: #fff; color: var(--rouge); font-size: 14px; }
.rdv-rappels { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13px; opacity: .9; }

/* ---------------------------------------------------------------- ce jour-là au New Morning */
.archive-jour {
	display: grid; grid-template-columns: 96px 1fr; margin: 0 16px; border-radius: var(--rayon); overflow: hidden;
	background: var(--carte); text-decoration: none;
}
.archive-jour img, .archive-jour .annee-bloc { width: 96px; height: 100%; min-height: 104px; object-fit: cover; filter: grayscale(.4); }
.annee-bloc { display: grid; place-items: center; background: var(--bleu); color: #fff; font-size: 24px; font-weight: 900; }
.archive-jour div { padding: 12px 14px; }
.archive-jour .annee { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--rouge); }
.archive-jour strong { display: block; margin: 2px 0; color: var(--titre); line-height: 1.25; }
.archive-jour small { color: var(--texte-3); }
.autres-jour { margin: 8px 16px 0; font-size: 14px; color: var(--texte-2); }
.autres-jour summary { cursor: pointer; color: var(--titre); font-weight: 600; }
.autres-jour ul { list-style: none; margin: 8px 0 0; padding: 0; }
.autres-jour li a { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ligne); text-decoration: none; }
.autres-jour li b { flex: none; width: 42px; color: var(--rouge); }

/* ---------------------------------------------------------------- est-il passé au New Morning ? */
.carte-archives {
	display: flex; align-items: center; gap: 14px; margin: 18px 16px 0; padding: 16px; border-radius: var(--rayon);
	background: var(--bleu); color: #fff; text-decoration: none;
}
.carte-archives svg { width: 30px; height: 30px; color: var(--rouge); }
.carte-archives strong { display: block; font-size: 16px; }
.carte-archives span { font-size: 13px; color: #c9c5ec; }
.resultats { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 8px; }
.resultat { display: block; padding: 12px 14px; border-radius: 14px; background: var(--carte); text-decoration: none; }
.resultat strong { display: block; color: var(--titre); }
.resultat span { font-size: 13px; color: var(--texte-3); }
.resultat .badge { margin-top: 6px; }
.exemples { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.annee-titre { margin: 20px 16px 6px; font-size: 20px; font-weight: 900; color: var(--rouge); }

/* ---------------------------------------------------------------- découvrir (concerts en plein écran) */
body.ecran-decouvrir main { padding-bottom: 0; }
body.ecran-decouvrir .lecteur { display: none !important; }
.decouvrir {
	height: calc(100vh - var(--barre) - var(--haut) - var(--onglets) - var(--bas));
	height: calc(100dvh - var(--barre) - var(--haut) - var(--onglets) - var(--bas));
	overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; background: #000;
}
.decouvrir::-webkit-scrollbar { display: none; }
.diapo { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; }
.diapo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diapo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(18,16,38,.92) 100%); pointer-events: none; }
.diapo-video { position: absolute; z-index: 2; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; background: #000; }
.diapo-video iframe { width: 100%; height: 100%; border: 0; }
.diapo-infos { position: absolute; z-index: 3; left: 16px; right: 76px; bottom: 20px; }
.diapo-infos .badge { background: var(--rouge); color: #fff; }
.diapo-infos h2 { margin: 8px 0 4px; font-size: 26px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.diapo-infos p { margin: 0; font-size: 14px; color: #dcd9f2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.diapo-infos .styles { margin-top: 6px; font-size: 13px; color: #b9b5e0; }
.diapo-actions { position: absolute; z-index: 3; right: 10px; bottom: 24px; display: grid; gap: 14px; justify-items: center; }
.diapo-actions button, .diapo-actions a {
	display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.16); backdrop-filter: blur(6px); color: #fff; text-decoration: none;
}
.diapo-actions small { display: block; margin-top: -10px; font-size: 11px; text-align: center; }
.diapo-actions [aria-pressed="true"] { color: var(--rouge); background: #fff; }
.diapo-actions .ecouter { background: var(--rouge); }
.coeur-geant { position: absolute; z-index: 4; left: 50%; top: 45%; width: 110px; height: 110px; margin: -55px 0 0 -55px; color: var(--rouge); animation: coeur-geant .8s ease-out forwards; pointer-events: none; }
@keyframes coeur-geant { 0% { transform: scale(.3); opacity: 0; } 30% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.astuce { position: absolute; z-index: 5; left: 50%; top: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: 50px; background: rgba(0,0,0,.6); font-size: 13px; white-space: nowrap; animation: disparait 4s forwards; }
@keyframes disparait { 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.puce.decouvrir-puce { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: var(--rouge); border-color: var(--rouge); color: #fff; }
.puce.decouvrir-puce svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- radio : artiste programmé au club */
.direct-concert { display: flex; width: fit-content; align-items: center; gap: 6px; margin: -8px auto 16px; padding: 6px 14px; border-radius: 50px; background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.direct-concert svg { width: 16px; height: 16px; color: #ffb3ae; }
.lecteur-textes .lecteur-concert { margin-top: 2px; font-size: 11px; font-weight: 700; color: #ffb3ae; text-decoration: none; }

/* ---------------------------------------------------------------- notifications */
.notifs:empty { display: none; }
.notifs { margin: 0 16px 6px; padding: 16px; border-radius: var(--rayon); background: var(--carte); }
.notifs h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; color: var(--titre); }
.notifs h3 svg { width: 20px; height: 20px; color: var(--rouge); }
.notifs p { margin: 0 0 12px; font-size: 14px; color: var(--texte-2); }
.notifs p:last-child { margin-bottom: 0; }
.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ligne); font-size: 14px; }
.interrupteur input { appearance: none; flex: none; width: 46px; height: 28px; border-radius: 50px; background: var(--ligne); position: relative; cursor: pointer; transition: background .2s; }
.interrupteur input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.interrupteur input:checked { background: var(--vert); }
.interrupteur input:checked::after { transform: translateX(18px); }
.lien-discret { border: 0; background: none; padding: 0; color: var(--texte-3); font-size: 13px; text-decoration: underline; }
.feuille {
	position: fixed; z-index: 55; left: 8px; right: 8px; bottom: calc(var(--onglets) + var(--bas) + 8px);
	padding: 18px; border-radius: 20px; background: var(--carte); color: var(--texte);
	box-shadow: 0 12px 40px rgba(18, 16, 38, .35); animation: monte .25s ease-out;
}
.feuille h3 { margin: 0 0 4px; font-size: 17px; color: var(--titre); }
.feuille p { margin: 0 0 14px; font-size: 14px; color: var(--texte-2); }
.feuille div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* écrans larges : contenu centré */
@media (min-width: 700px) {
	main, .recherche { max-width: 680px; margin-left: auto; margin-right: auto; }
	.lecteur { max-width: 664px; left: 50%; transform: translateX(-50%); right: auto; width: calc(100% - 16px); }
	.fiche-photo { max-height: 460px; aspect-ratio: auto; height: 460px; }
}
