/* Nouveau site Sing Sing (v2) : noir, police Obelix, rouge et vert anis de l'ancien site */

@font-face {
	font-family: "Obelix";
	src: url("/font/Bp12303_.ttf") format("truetype");
	font-display: swap;
}

:root {
	--noir: #000000;
	--surface: #111111;
	--ligne: #2a2a2a;
	--texte: #ffffff;
	--doux: #b3b3b3;
	--rouge: #BA0707;
	--rouge-survol: #d41515;
	--rouge-clair: #E95546;   /* rouge lisible en texte sur fond noir */
	--vert: #a9c200;
	--obelix: "Obelix", "Comic Sans MS", cursive;
	--texte-courant: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--largeur: 1180px;
	--hauteur-barre: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--noir);
	color: var(--texte);
	font: 16px/1.5 var(--texte-courant);
}
body.barre-visible { padding-bottom: calc(var(--hauteur-barre) + 24px); }
img { max-width: 100%; }
a { color: var(--texte); }
a:hover { color: var(--vert); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
[hidden] { display: none !important; }

.largeur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

.aller-contenu { position: absolute; left: -9999px; }
.aller-contenu:focus { left: 12px; top: 12px; z-index: 30; background: var(--vert); color: #000; padding: 8px 14px; }

.bouton {
	display: inline-block;
	font-family: var(--obelix);
	font-size: 18px;
	line-height: 1;
	padding: 14px 22px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}
.bouton-rouge { background: var(--rouge); color: #fff; }
.bouton-rouge:hover { background: var(--rouge-survol); color: #fff; }
.bouton-blanc { background: #fff; color: #000; }
.bouton-blanc:hover { background: var(--vert); color: #000; }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--ligne); position: relative; z-index: 20; background: var(--noir); }
/* deux rangées sur ordinateur : le logo « Radio Sing Sing » + BIS, puis le menu */
.entete-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 14px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.logo-radio { font-family: var(--obelix); font-size: 40px; line-height: 1; color: #fff; }
.logo img { height: 48px; width: auto; display: block; }
.menu { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 6px; margin-left: -8px; padding: 6px 0 8px; }
.menu a { font-family: var(--obelix); font-size: 19px; text-decoration: none; padding: 10px 8px; }
.menu a[aria-current="page"] { color: var(--vert); }
.menu-accueil { display: inline-flex; align-items: center; gap: 7px; }
.menu-accueil svg { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: -.15em; }
.menu .bouton { margin-left: auto; font-size: 16px; padding: 12px 18px; }
.ouvrir-menu { display: none; }

/* ---------- Grand lecteur ---------- */
/* Le grand lecteur est un pont de bateau en teck, sur toute la largeur
   (lattes de 24 px, joints noirs de 3 px). La console est une grille dont les
   rangées font exactement une latte (24 px + 3 px d'écart = un joint) : chaque
   élément couvre un nombre entier de lattes et ses bords tombent sur les joints.
   Seules les jumelles sont libres.
   Hauteurs = n × 27 − 3 : 1 latte 24, 2 lattes 51, 3 lattes 78, 8 lattes 213. */
.grand-lecteur {
	margin: 0; padding: 27px 0 30px;   /* 27 + 8 rangées (213) + 30 = 10 lattes */
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, 0) 14px, rgba(0, 0, 0, 0) calc(100% - 14px), rgba(0, 0, 0, .4) 100%),
		repeating-linear-gradient(180deg, transparent 0 24px, #15100b 24px 27px),
		repeating-linear-gradient(0.4deg, rgba(90, 55, 20, 0) 0 5px, rgba(90, 55, 20, .22) 5px 6px, rgba(90, 55, 20, 0) 6px 13px),
		repeating-linear-gradient(180deg, #b48855 0 27px, #a77a48 27px 54px, #bb9160 54px 81px, #a27445 81px 108px),
		#ac7f4e;
}
.console {
	display: grid; grid-template-columns: 213px 78px minmax(0, 1fr);
	grid-auto-rows: 24px; row-gap: 3px; column-gap: 32px;
}
.grand-pochette { grid-column: 1; grid-row: 1 / span 8; width: 213px; }
.en-direct { grid-column: 2 / -1; grid-row: 1; }
.bandeau-titre { grid-column: 2 / -1; grid-row: 2 / span 2; }
.grand-texte { grid-column: 2 / -1; grid-row: 4; align-self: center; }
.lecture-grand { grid-column: 2; grid-row: 5 / span 3; place-self: center; }
.jumelles { grid-column: 3; grid-row: 5 / span 3; align-self: center; justify-self: start; }
.grand-info { grid-column: 2 / -1; grid-row: 8; }
/* plaques claires encastrées dans une latte, à fleur du bois, pour les petits textes */
.grand-lecteur .en-direct,
.grand-lecteur .grand-info {
	justify-self: start; align-self: stretch; display: flex; align-items: center; margin: 0;
	color: #1c1108; padding: 0 10px; border-radius: 4px;
	background: rgba(246, 236, 220, .9); box-shadow: inset 0 0 0 1px rgba(60, 35, 10, .55), inset 0 1px 2px rgba(0, 0, 0, .25);
}
.grand-lecteur .grand-info { display: block; font-size: 13px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.grand-lecteur .grand-info a { color: #1c1108; }
.grand-lecteur .grand-texte { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 1px #000; }
/* Cadran : l'image est la vitre, la lunette est dessinée par-dessus en SVG
   (cadreInstrument() en PHP). L'anneau fait 4 % de la largeur. */
/* (marge et non padding : un padding en % se calculerait sur la largeur du parent du cadran) */
.hublot { position: relative; border-radius: 50%; }   /* serti, donc sans ombre portée */
.hublot img {
	display: block; width: 92%; margin: 4%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 50%; background: var(--surface);
}
.hublot-cadre { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hublot-cadre .anneau { fill: none; stroke: #cfd2d4; stroke-width: 4; }
.hublot-cadre .joint { fill: none; stroke: #151515; stroke-width: 1.1; }
.hublot-cadre .saignee { fill: none; stroke: #140d06; stroke-width: .8; }   /* découpe dans le bois */
.hublot-cadre .lumiere { fill: none; stroke: #ffffff; stroke-width: 1; stroke-linecap: round; opacity: .85; }
.hublot-cadre .reflet { fill: none; stroke: #ffffff; stroke-linecap: round; opacity: .4; }
.hublot-cadre .vis { fill: #8a8f92; stroke: #4b4f52; stroke-width: .3; }
.hublot-cadre .fente { stroke: #3a3d3f; stroke-width: .45; stroke-linecap: round; }
.en-direct { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #d6d6d6; }
/* voyant : éteint à l'arrêt, allumé quand la radio joue */
.point-direct { width: 11px; height: 11px; border-radius: 50%; background: #5c1c16; box-shadow: 0 0 0 2px #2e2e2e, inset 0 1px 2px rgba(0, 0, 0, .6); }
.radio-en-cours .point-direct { background: #ff4b3a; box-shadow: 0 0 0 2px #2e2e2e, 0 0 10px 2px rgba(255, 75, 58, .7); animation: battement 1.6s ease-in-out infinite; }
@keyframes battement { 50% { opacity: .35; } }
/* écran LCD rétroéclairé, encastré dans la console */
.bandeau-titre {
	background: linear-gradient(180deg, #b9d313 0%, var(--vert) 55%, #9db400 100%);
	box-shadow: inset 0 0 0 2px #1b1b1b, inset 0 3px 8px rgba(0, 0, 0, .35);   /* cadre à l'intérieur : les bords restent sur les joints */
	color: #000; border-radius: 6px; padding: 0 18px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.bandeau-artiste { font-family: var(--obelix); font-size: 22px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bandeau-morceau { font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grand-texte { font-family: var(--obelix); font-size: 21px; line-height: 1; }
/* Jumelles vues de face, un peu de dessus (d'après un dessin de référence) :
   le corps est en SVG (inc/grand-lecteur.php) ; les deux vitres sont les
   boutons Haut débit / Bas débit, celle choisie s'allume en vert.
   Positions en % du repère (30, 50, 300 × 160) : vitres de rayon 38
   centrées en (90, 150) et (270, 150). */
.jumelles { position: relative; width: 200px; aspect-ratio: 300 / 160; flex: none; }
.jumelles-corps { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jumelles-corps .arete { stroke: #060708; stroke-width: 1.4; stroke-linejoin: round; }
.jumelles-corps .lumiere { fill: none; stroke: #8a979d; stroke-width: 1.3; stroke-linecap: round; opacity: .55; }
.jumelles-corps .stries { stroke: #0a0c0d; stroke-width: 1.3; }
.jumelles-corps .caoutchouc { fill: none; stroke: #07090a; stroke-width: 1.6; opacity: .8; }
.oculaire {
	position: absolute; top: 38.75%; width: 25.33%; height: 47.5%; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
	font: 700 9px/1.1 var(--texte-courant); letter-spacing: .04em; text-transform: uppercase; color: #e6eef2;
	background: radial-gradient(circle at 38% 32%, #3d5b78 0%, #142334 50%, #04070b 100%);
	box-shadow: 0 0 0 1.5px #060708, inset 0 -5px 10px rgba(0, 0, 0, .7), inset 0 3px 6px rgba(140, 190, 240, .15);
}
.oculaire-gauche { left: 7.33%; }
.oculaire-droit { right: 7.33%; }
.oculaire::before {   /* reflet en arc, comme sur le dessin */
	content: ""; position: absolute; inset: 14%; border-radius: 50%;
	border-left: 2.5px solid rgba(255, 255, 255, .55); border-top: 2.5px solid rgba(255, 255, 255, .55);
	border-right: 2.5px solid transparent; border-bottom: 2.5px solid transparent; transform: rotate(-10deg); pointer-events: none;
}
.oculaire span { position: relative; }
.oculaire:hover { background: radial-gradient(ellipse at 38% 32%, #557a9c 0%, #1c3044 45%, #060a0f 100%); }
.oculaire[aria-pressed="true"] {
	color: #000;
	background: radial-gradient(ellipse at 35% 30%, #f2fc9a 0%, #b9d313 45%, #7d9100 100%);
	box-shadow: 0 0 0 1.5px #060708, inset 0 -5px 9px rgba(0, 0, 0, .3), 0 0 22px 6px rgba(185, 211, 19, .45);
}
.grand-info { margin: 0; font-size: 14px; color: var(--doux); }
.grand-info a { color: var(--doux); }
.apres-lecteur { height: 40px; }

/* bouton lecture / arrêt (grand lecteur et barre) */
.lecture {
	flex: none; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--rouge); color: #fff;
	display: flex; align-items: center; justify-content: center; padding: 0;
}
.lecture:hover { background: var(--rouge-survol); }
/* bouton-poussoir dans sa bague chromée */
.lecture {
	box-shadow: 0 0 0 3px #cfd2d4, 0 0 0 4px #55595c, inset 0 -4px 7px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .25);
	transition: transform .08s;
}
.lecture:active { transform: translateY(1px); box-shadow: 0 0 0 3px #cfd2d4, 0 0 0 4px #55595c, inset 0 3px 6px rgba(0, 0, 0, .45); }
.lecture svg { fill: currentColor; }
.lecture .icone-arret, .lecture.en-lecture .icone-lecture { display: none; }
.lecture.en-lecture .icone-arret { display: block; }
.lecture-grand { width: 70px; height: 70px; }   /* + bague 4 px = 78 px, soit 3 lattes */
.lecture-grand svg { width: 26px; height: 26px; }
.lecture-petit { width: 48px; height: 48px; }
.lecture-petit svg { width: 20px; height: 20px; }

/* ---------- Bandeau d'information (géré depuis /v2/admin/) ---------- */
.bandeau-info { border-bottom: 1px solid rgba(0, 0, 0, .4); }
.bandeau-alerte { background: var(--rouge); color: #fff; }
.bandeau-annonce { background: var(--vert); color: #000; }
.bandeau-info-ligne { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.bandeau-info-ligne svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bandeau-info-ligne p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }

/* ---------- Accueil ---------- */
.bande-rouge { background: var(--rouge); border-radius: 999px; padding-left: 30px; padding-right: 12px; }
.bande-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.bande-texte { margin: 0; flex: 1 1 520px; font-family: var(--obelix); font-size: 19px; line-height: 1.25; text-wrap: balance; }
.bande-rouge .bouton { font-size: 16px; padding: 11px 20px; }
.slogan { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.slogan p { margin: 0; font-family: var(--obelix); line-height: 1.2; }
.slogan-cri { font-size: 52px; color: var(--vert); }
/* 2019.jpg contient déjà le slogan en haut : on n'en montre que la plage */
/* Photo de la plage : fine lunette chromée, comme les instruments */
.photo-plage { width: 100%; max-width: 1000px; }
.photo-plage-vue {
	overflow: hidden; border-radius: 28px;   /* aspect-ratio donné par le contenu (admin) */
	box-shadow: 0 0 0 4px #cfd2d4, 0 0 0 5px #55595c, 0 14px 34px rgba(0, 0, 0, .65);
}
.photo-plage img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; display: block; }

/* ---------- Cartes et pages ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding-bottom: 72px; }
.cartes-serrees { padding: 0; }
.carte { border: 1px solid var(--ligne); border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.carte:hover { border-color: var(--vert); color: var(--texte); }
.carte-titre { font-family: var(--obelix); font-size: 23px; line-height: 1.15; color: var(--vert); }
.carte-texte { font-size: 15px; color: var(--doux); }
.bloc { padding-top: 40px; padding-bottom: 72px; }
.titre-page { font-family: var(--obelix); font-weight: normal; font-size: 44px; line-height: 1.1; margin: 0 0 28px; }
main > .titre-page { max-width: var(--largeur); margin: 40px auto 24px; padding: 0 20px; }
.titre-section { font-family: var(--obelix); font-weight: normal; font-size: 32px; margin: 0 0 20px; }
.message p { color: var(--doux); }
main { min-height: 50vh; outline: none; }
.chargement main { opacity: .5; transition: opacity .2s .15s; }

/* ---------- Programmation ---------- */
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chapeau { margin: -12px 0 24px; color: var(--doux); }
.prog-colonnes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 48px; }
.prog-liste { flex: 999 1 520px; min-width: 0; }

/* Calendrier des 30 derniers jours */
.calendrier {
	flex: 0 0 330px; position: sticky; top: 20px;
	background: var(--surface); border: 1px solid var(--ligne); border-radius: 22px; padding: 18px 16px 16px;
}
.calendrier-mois { margin: 0 0 12px; text-align: center; font-family: var(--obelix); font-size: 16px; white-space: nowrap; }
.calendrier-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendrier-semaine { text-align: center; font-size: 12px; color: var(--doux); text-decoration: none; padding-bottom: 4px; }
.calendrier-grille a, .calendrier-grille span {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; min-height: 36px;
	border-radius: 50%; font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums;
}
.calendrier-grille span { color: #4d4d4d; }
.calendrier-grille a { color: #fff; }
.calendrier-grille a:hover { background: #262626; color: #fff; }
.calendrier-grille .premier { font-size: 11px; line-height: 1.05; text-align: center; font-weight: 600; }
.calendrier-grille .aujourdhui { box-shadow: inset 0 0 0 2px var(--rouge-clair); }
.calendrier-grille a[aria-current] { background: var(--vert); color: #000; font-weight: 700; }
.prog-aujourdhui { font-family: var(--texte-courant); font-size: 14px; color: var(--doux); vertical-align: middle; margin-left: 6px; }
.prog-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.prog-entete .titre-section { margin: 0; }
.filtre input {
	width: 300px; max-width: 100%; min-height: 44px; padding: 10px 14px;
	font: 15px var(--texte-courant); color: #fff; background: var(--surface);
	border: 1px solid #444; border-radius: 999px;
}
.filtre input:focus { border-color: var(--vert); outline: none; }
.filtre input::placeholder { color: #8a8a8a; }
.prog-info { margin: 10px 0 16px; font-size: 14px; color: var(--doux); }
.liste-titres { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.liste-titres li {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px 20px; align-items: baseline;
	padding: 11px 4px; border-bottom: 1px solid var(--ligne);
}
.liste-titres li:hover { background: var(--surface); }
.liste-titres time { font-variant-numeric: tabular-nums; color: var(--doux); font-size: 14px; }
.lt-artiste { font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; }
.lt-morceau { color: #e6e6e6; overflow-wrap: anywhere; }

/* ---------- Boitazic ---------- */
.albums { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.album { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.album img, .album-sans-pochette {
	display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 10px;
	border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--ligne);
	transition: transform .15s, box-shadow .15s;
}
.album:hover img, .album:hover .album-sans-pochette, .album:focus-visible img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--vert); }
.album-artiste { font-family: var(--obelix); font-size: 18px; line-height: 1.15; color: var(--vert); overflow-wrap: anywhere; }
.album-titre { font-size: 14px; color: var(--doux); overflow-wrap: anywhere; }
.retour { margin: 0 0 24px; font-size: 15px; }
.retour a { color: var(--doux); text-decoration: none; }
.retour a:hover { color: var(--vert); }
.fiche-album { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 36px; margin-bottom: 44px; }
.fiche-pochette { flex: none; width: 300px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; box-shadow: 0 0 0 1px var(--ligne), 0 18px 40px rgba(0, 0, 0, .6); }
.fiche-textes { flex: 1 1 320px; min-width: 0; }
.fiche-textes .titre-page { margin: 0 0 6px; overflow-wrap: anywhere; }
.fiche-titre { margin: 0 0 14px; font-family: var(--obelix); font-size: 26px; line-height: 1.2; color: var(--vert); overflow-wrap: anywhere; }
.fiche-details { margin: 4px 0 0; color: var(--doux); font-size: 15px; overflow-wrap: anywhere; }
.fiche-details a { color: var(--rouge-clair); }
.fiche-texte { max-width: 760px; margin: 0 0 40px; line-height: 1.6; color: #e6e6e6; }
.extraits { max-width: 760px; margin-bottom: 44px; }
.extrait-lecteur { background: var(--surface); border: 1px solid var(--ligne); border-radius: 22px; padding: 14px 18px 16px; margin-bottom: 14px; }
.extrait-en-cours { margin: 0 0 10px; font-family: var(--obelix); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.extrait-lecteur audio { display: block; width: 100%; color-scheme: dark; }
.liste-extraits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.liste-extraits li { border-bottom: 1px solid var(--ligne); }
.liste-extraits button, .extrait-absent {
	display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 12px;
	width: 100%; min-height: 48px; padding: 8px 6px; text-align: left;
	font: 16px/1.35 var(--texte-courant); color: var(--texte); background: none; border: 0; cursor: pointer;
}
.liste-extraits button:hover { background: var(--surface); }
.extrait-numero { font-variant-numeric: tabular-nums; color: var(--doux); font-size: 14px; text-align: right; }
.extrait-titre { overflow-wrap: anywhere; }
.extrait-icone { width: 20px; height: 20px; fill: currentColor; opacity: 0; }
.liste-extraits button:hover .extrait-icone, .liste-extraits button:focus-visible .extrait-icone { opacity: .7; }
.liste-extraits button[aria-current] { color: var(--vert); }
.liste-extraits button[aria-current] .extrait-numero { color: var(--vert); }
.liste-extraits button[aria-current] .extrait-icone { opacity: 1; }
.extrait-icone .icone-pause, .extrait-en-lecture button[aria-current] .icone-lecture { display: none; }
.extrait-en-lecture button[aria-current] .icone-pause { display: inline; }
.extrait-absent { color: #6b6b6b; cursor: default; }

/* Sur la table : le dernier album arrivé, posé sur le dessin de l'ancienne Boitazic */
.sur-la-table { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 44px; margin-bottom: 64px; }
.table-scene { position: relative; flex: 0 1 534px; border-radius: 22px; overflow: hidden; background: #fff; }
.table-dessin { display: block; width: 100%; height: auto; }
.table-pochette {
	position: absolute; left: 44.2%; top: 1.4%; width: 19.5%; aspect-ratio: 1 / 1;
	transform: rotate(-3deg); box-shadow: 2px 4px 8px rgba(0, 0, 0, .45); background: #ddd;
	transition: transform .2s;
}
.table-pochette img { display: block; width: 100%; height: 100%; object-fit: cover; }
.table-pochette:hover { transform: rotate(-1deg) scale(1.04); }
.table-textes { flex: 1 1 340px; min-width: 0; }
.table-artiste { font-family: var(--obelix); font-weight: normal; font-size: 38px; line-height: 1.1; margin: 0 0 6px; overflow-wrap: anywhere; }
.table-artiste a { text-decoration: none; }
.table-mot { margin: 0 0 20px; line-height: 1.55; color: #e6e6e6; }
.table-mot::before { content: "« "; color: var(--vert); }
.table-mot::after { content: " »"; color: var(--vert); }
.archives-entete { margin-top: 64px; margin-bottom: 8px; }

/* ---------- Livre d'or ---------- */
.livredor { max-width: 860px; }
.livredor-formulaire {
	background: var(--surface); border: 1px solid var(--ligne); border-radius: 22px;
	padding: 22px 24px; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px;
}
.livredor-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.livredor-formulaire label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d6d6d6; }
.livredor-formulaire input, .livredor-formulaire textarea {
	font: 16px/1.4 var(--texte-courant); color: #fff; background: #000;
	border: 1px solid #444; border-radius: 12px; padding: 11px 14px;
}
.livredor-formulaire textarea { resize: vertical; min-height: 120px; }
.livredor-formulaire input:focus, .livredor-formulaire textarea:focus { border-color: var(--vert); outline: none; }
.facultatif { color: var(--doux); }
.livredor-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.livredor-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.livredor-note { font-size: 13px; color: var(--doux); }
.livredor-retour { margin: 0; padding: 12px 16px; border-radius: 12px; outline: none; }
.livredor-merci { background: #1e2a00; border: 1px solid var(--vert); }
.livredor-erreur { background: #2a0606; border: 1px solid var(--rouge-clair); }

.livredor-messages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.livredor-message { border: 1px solid var(--ligne); border-radius: 22px; padding: 18px 22px; }
.livredor-auteur { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.livredor-nom { font-family: var(--obelix); font-size: 21px; color: var(--vert); overflow-wrap: anywhere; }
.livredor-quand { font-size: 13px; color: var(--doux); }
.livredor-texte { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.livredor-reponse { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--rouge); background: #160909; border-radius: 0 12px 12px 0; }
.livredor-reponse p { margin: 0; }
.livredor-reponse-titre { font-size: 13px; font-weight: 600; color: var(--rouge-clair); margin-bottom: 4px !important; }
.livredor-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 28px; color: var(--doux); font-size: 14px; }

/* Contenu repris de l'ancien site : mis en page pour 900 px, il défile
   dans son cadre sur petit écran en attendant d'être refait. */
.ancien { max-width: 940px; margin: 0 auto 72px; padding: 0 20px; overflow-x: auto; }
.ancien img { height: auto; }
.ancien table { max-width: 100%; }
.ancien iframe { max-width: 100%; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--ligne); }
.pied-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--doux); }
.pied p { margin: 0; }
.pied a { color: var(--doux); }
.pied a[href^="mailto"] { color: var(--rouge-clair); }

/* ---------- Barre du lecteur ---------- */
.barre-lecteur {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 10;
	max-width: var(--largeur); margin: 0 auto;
	background: var(--surface); border: 2px solid var(--vert); border-radius: 999px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .7);
	transform: translateY(calc(100% + 40px)); transition: transform .25s ease;
}
.barre-visible .barre-lecteur { transform: none; }
.barre-ligne { display: flex; align-items: center; gap: 14px; min-height: 68px; padding-left: 10px; padding-right: 24px; }
.barre-pochette { width: 48px; height: 48px; object-fit: cover; display: block; flex: none; background: #222; border-radius: 50%; box-shadow: 0 0 0 2px #cfd2d4, 0 0 0 3px #55595c; }
.barre-textes { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.barre-titre { font-family: var(--obelix); font-size: 18px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-info { font-size: 13px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.volume { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--doux); }
.volume input { width: 120px; accent-color: var(--rouge); }
@media (prefers-reduced-motion: reduce) {
	.barre-lecteur, .chargement main { transition: none; }
	.radio-en-cours .point-direct { animation: none; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 1040px) {
	.entete-ligne { flex-wrap: nowrap; min-height: 60px; padding-top: 0; justify-content: space-between; }
	.logo { gap: 8px; }
	.logo-radio { font-size: 23px; }
	.logo img { height: 32px; }
	.menu { margin-left: 0; }
	.ouvrir-menu {
		display: flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; padding: 0;
	}
	.ouvrir-menu svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
	.ouvrir-menu .icone-fermer, .menu-ouvert .ouvrir-menu .icone-menu { display: none; }
	.menu-ouvert .ouvrir-menu .icone-fermer { display: block; }
	.menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--noir); padding: 8px 20px 24px; border-bottom: 1px solid var(--ligne);
		max-height: calc(100vh - 64px); overflow-y: auto;
	}
	.menu-ouvert .menu { display: flex; }
	.menu a { font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
	.menu .bouton { margin: 18px 0 0; align-self: flex-start; border: 0; padding: 14px 24px; }

	/* téléphone : 10 rangées ; 27 + 267 + 30 = 12 lattes */
	.console { grid-template-columns: 105px minmax(0, 1fr); column-gap: 14px; }
	.en-direct { grid-column: 1 / -1; grid-row: 1; font-size: 12px; }
	.grand-pochette { grid-column: 1; grid-row: 2 / span 4; width: 105px; }
	.bandeau-titre { grid-column: 2; grid-row: 2 / span 3; padding: 0 12px; }
	.bandeau-artiste { font-size: 19px; white-space: normal; }
	.bandeau-morceau { font-size: 14px; white-space: normal; }
	.grand-texte { grid-column: 2; grid-row: 5; font-size: 17px; }
	.lecture-grand { grid-column: 1; grid-row: 6 / span 3; }
	.jumelles { grid-column: 2; grid-row: 6 / span 3; width: 150px; justify-self: center; }
	.oculaire { font-size: 8px; }
	.grand-info { grid-column: 1 / -1; grid-row: 9 / span 2; }
	.grand-lecteur .grand-info { padding: 1px 10px; line-height: 24.5px; white-space: normal; }
	.apres-lecteur { height: 24px; }

	.bande-ligne { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
	.bande-rouge { border-radius: 28px; padding-left: 20px; padding-right: 14px; }
	.barre-lecteur { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); }
	.barre-ligne { padding-left: 6px; padding-right: 16px; min-height: 60px; }
	.barre-pochette { width: 40px; height: 40px; }
	.bande-texte { font-size: 16px; flex: 1 1 auto; }
	.bande-rouge .bouton { font-size: 15px; padding: 10px 16px; }
	.slogan { padding-top: 36px; padding-bottom: 36px; gap: 16px; }
	.slogan-cri { font-size: 23px; }
	.sauf-telephone { display: none; }
	.titre-page { font-size: 34px; }
	.volume { display: none; }
	.filtre, .filtre input { width: 100%; }
	.calendrier { position: static; flex-basis: 100%; }
	.calendrier-grille a, .calendrier-grille span { aspect-ratio: auto; height: 40px; min-height: 0; border-radius: 20px; }
	.cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.carte { padding: 14px; border-radius: 18px; }
	.carte-titre { font-size: 14.5px; }
	.carte-texte { font-size: 13px; }
	.liste-titres li { grid-template-columns: 52px minmax(0, 1fr); }
	.albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.album-artiste { font-size: 16px; }
	.album-titre { font-size: 13px; }
	.fiche-pochette { width: 100%; max-width: 300px; }
	.fiche-titre { font-size: 21px; }
	.table-artiste { font-size: 30px; }
	.table-scene { border-radius: 16px; }
	.lt-morceau { grid-column: 2; }
}
