/* La salle des chants (12 nov. 2026) */
* { box-sizing: border-box; }
body { margin: 0; background: #f3f1ea; color: #1b1b1b; font: 16px/1.5 Georgia, 'Times New Roman', serif; }
.haut { background: linear-gradient(135deg, #0b1d4a, #00001b); color: #fff; padding: 18px 16px 22px; text-align: center; }
.haut .retour { position: absolute; left: 14px; top: 12px; color: #e8c878; text-decoration: none; font: 14px system-ui, sans-serif; }
.haut .logo { height: 64px; }
.haut h1 { margin: 6px 0 4px; color: #e8c878; font-size: 1.9em; }
.haut .sous { margin: 0; opacity: .85; font-size: .95em; }
main { max-width: 980px; margin: 0 auto; padding: 16px; }
.barre { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.barre input[type=search] { flex: 1 1 220px; font: 16px system-ui, sans-serif; padding: 10px 12px; border: 1px solid #0b1d4a; border-radius: 10px; }
.barre button, .genres button, .regle button, .edition button { font: 15px system-ui, sans-serif; padding: 10px 14px; border-radius: 10px; border: 1px solid #0b1d4a; background: #0b1d4a; color: #fff; cursor: pointer; }
.genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.genres button { background: #fff; color: #0b1d4a; padding: 6px 10px; font-size: 13px; }
.genres button.actif { background: #0b1d4a; color: #fff; }
.note { font: 14px system-ui, sans-serif; color: #555; }
.carte { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e3dccb; border-radius: 12px; padding: 10px 14px; margin: 8px 0; cursor: pointer; }
.carte:hover { border-color: #b8913a; }
.carte .ic { font-size: 22px; }
.carte .tt { font-weight: 700; color: #0b1d4a; }
.carte .gg { font: 13px system-ui, sans-serif; color: #777; }
.badge { font: 12px system-ui, sans-serif; border-radius: 8px; padding: 2px 8px; margin-left: 6px; background: #f6e7c1; color: #6b4b00; }
.badge.relire { background: #fde2e2; color: #8a1c1c; }
.lecteur { position: fixed; inset: 0; z-index: 50; background: #00001b; color: #fff; overflow: hidden; }
.lecteur .fond { position: absolute; inset: 0; background: url('fond.jpg') center 35% / cover no-repeat; }
.titre-l { position: absolute; left: 0; right: 0; top: 0; padding: 14px 18px; background: linear-gradient(#000a, #0000); font: 700 20px Georgia, serif; color: #e8c878; }
.titre-l span + span { display: block; font: 14px system-ui, sans-serif; color: #ddd; font-weight: 400; }
.paroles { position: absolute; left: 0; right: 0; bottom: 92px; text-align: center; padding: 0 5%; }
.ligne { font: 700 clamp(22px, 4.2vw, 46px)/1.25 Georgia, serif; color: #fff; text-shadow: 0 2px 6px #000, 0 0 18px #000; min-height: 1.3em; transition: opacity .25s; }
.suite { margin-top: 8px; font: clamp(15px, 2.4vw, 26px)/1.3 Georgia, serif; color: #e8c878; text-shadow: 0 2px 5px #000; opacity: .85; min-height: 1.3em; }
.commandes { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: #000c; font: 14px system-ui, sans-serif; }
.commandes button { background: #0b1d4a; color: #fff; border: 1px solid #e8c878; border-radius: 8px; padding: 7px 10px; font-size: 15px; cursor: pointer; }
.commandes input[type=range]#b-pos { flex: 1 1 160px; }
.commandes .vol input { width: 90px; vertical-align: middle; }
.temps { min-width: 40px; text-align: center; color: #ddd; }
.regle, .edition { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, 94vw); max-height: 80vh; overflow: auto; background: #fffdf6; color: #1b1b1b; border-radius: 14px; padding: 16px; box-shadow: 0 10px 40px #000a; font: 15px system-ui, sans-serif; }
.regle-ligne { font: 700 22px Georgia, serif; color: #0b1d4a; min-height: 1.4em; }
.edition textarea { width: 100%; font: 16px/1.5 Georgia, serif; border: 1px solid #0b1d4a; border-radius: 8px; padding: 8px; margin: 6px 0 10px; }
.l-note { position: absolute; left: 0; right: 0; bottom: 64px; margin: 0; text-align: center; font: 14px system-ui, sans-serif; color: #e8c878; text-shadow: 0 1px 3px #000; }
.l-note a { color: #fff; }
@media (max-width: 600px) { .commandes .vol { display: none; } .paroles { bottom: 128px; } }
