/* Fala Kriolu — immersion (05/12/2026) : lecteur d'épisode, conversations, traduction par bloc.
   Pas de cartes empilées ni d'émoji-icône : le texte d'abord, les commandes en bas, sous le pouce. */
.bloc-t { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bloc-t:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 8px; }
.bloc-t .trad.cachee { display: none; }
.bloc-t .trad p { margin: 0; }
.bloc-t .trad .lien { margin: 2px 0 0; padding: 8px 0; min-height: 40px; font-size: 14.5px; }
.aide-trad { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 2px 2px; color: var(--doux); font-size: 14.5px; line-height: 1.4; }
.aide-trad .lien { margin: 0; padding: 8px 0; min-height: 44px; font-size: 14.5px; white-space: nowrap; flex: none; }

.lecture-tete { margin: 18px 2px 0; }
.lecture-tete h2 { margin: 2px 0 6px; font-family: var(--titre); font-size: 26px; line-height: 1.2; letter-spacing: -.015em; color: var(--texte); }
.lecture-tete .serie-nom { margin: 0; color: var(--doux); font-size: 15px; font-weight: 700; }
main .meta { color: var(--doux); font-size: 14px; margin: 0; }
main .meta.centre { text-align: center; margin: 18px 0 0; }
.chapeau { color: var(--doux); font-size: 16px; line-height: 1.55; margin: 10px 2px; }
h3.inter { font-family: var(--titre); font-size: 17px; font-weight: 800; color: var(--texte); margin: 26px 2px 10px; }

.lecture { margin-top: 8px; }
.para { padding: 11px 2px; }
.para .mots { margin: 0; font-size: 19.5px; line-height: 1.75; }
.para .trad { margin-top: 8px; line-height: 1.55; }
.para .qui { font-size: 13px; font-weight: 800; color: var(--rouge); }
html.nuit .para .qui { color: #ffb4aa; }
.ph { border-radius: 4px; transition: background-color .25s ease; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 2px 0; }
.ph.dite { background: var(--jaune-pale); }
.ph.dite span.vu { background: transparent; }

main.avec-lecteur { padding-bottom: calc(220px + env(safe-area-inset-bottom)); }
.barre-lecteur, .conv-commandes { position: fixed; left: 0; right: 0; bottom: calc(69px + env(safe-area-inset-bottom)); z-index: 9; background: var(--carte); border-top: 1px solid var(--bord); }
.barre-lecteur { padding: 6px 16px 8px; }
.barre-lecteur > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.lec-fil { display: block; width: 100%; height: 26px; background: transparent; -webkit-appearance: none; appearance: none; --fait: 0%; }
.lec-fil::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--kriolu) var(--fait), var(--bord) var(--fait)); }
.lec-fil::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; margin-top: -6px; border-radius: 50%; background: var(--kriolu); border: 0; }
.lec-fil::-moz-range-track { height: 5px; border-radius: 3px; background: var(--bord); }
.lec-fil::-moz-range-progress { height: 5px; background: var(--kriolu); }
.lec-fil::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: var(--kriolu); border: 0; }
.lec-temps { display: flex; justify-content: space-between; color: var(--doux); font-size: 12.5px; font-variant-numeric: tabular-nums; min-height: 17px; }
.lec-cmd { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 14px; }
.lec-cmd button { border: 0; background: none; color: var(--texte); display: grid; place-items: center; min-width: 48px; min-height: 48px; border-radius: 999px; padding: 0; }
.lec-cmd svg { width: 26px; height: 26px; }
.lec-cmd .lec-grand { width: 60px; height: 60px; background: var(--btn); color: var(--btn-txt); }
.lec-cmd .lec-grand:disabled { opacity: .45; }
.lec-cmd .lec-vitesse { justify-self: start; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }

.segments { display: flex; gap: 4px; padding: 4px; background: var(--sable-2); border-radius: 14px; }
.segments button { flex: 1; border: 0; background: none; color: var(--doux); font-weight: 700; font-size: 15.5px; min-height: 44px; border-radius: 10px; padding: 6px 10px; }
.segments button.actif { background: var(--carte); color: var(--texte); box-shadow: 0 1px 3px rgba(6, 26, 64, .14); }
html.nuit .segments button.actif { background: #2a3d68; }   /* même repère que .segment (style.css) */
.segments.petits { flex: 1; }
.segments.petits button { font-size: 14px; min-height: 40px; }
.paliers { border-top: 1px solid var(--bord); }
.paliers button { display: block; position: relative; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--bord); padding: 13px 40px 13px 4px; color: var(--texte); }
.paliers b { display: block; font-size: 16.5px; }
.paliers small { display: block; color: var(--doux); font-size: 14.5px; margin-top: 2px; line-height: 1.4; }
.paliers button::after { content: ""; position: absolute; right: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--bord); box-sizing: border-box; }
.paliers button.actif::after { border: 6px solid var(--btn); }
html.nuit .paliers button.actif::after { border-color: var(--kriolu); }

main.avec-commandes { padding-bottom: calc(250px + env(safe-area-inset-bottom)); }
.conv-tete { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.conv-tete .meta { white-space: nowrap; font-variant-numeric: tabular-nums; }
.conv-fil { height: 4px; border-radius: 2px; background: var(--bord); margin-top: 10px; overflow: hidden; }
.conv-fil i { display: block; height: 100%; width: 0; background: var(--kriolu); transition: width .4s ease; }
.conv-commandes { padding: 2px 16px 12px; }
.conv-commandes > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.conv-commandes .btn { margin-top: 10px; }
.conv-commandes .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.conv-commandes .lien { display: block; margin-top: 4px; padding: 6px; min-height: 36px; }
.bulle.a-toi, .bulle.dite-a-moi { min-width: 78%; }
.bulle .idee { margin: 4px 0 0; font-size: 19px; font-weight: 700; color: var(--texte); line-height: 1.45; }
.bulle .trad { margin-top: 6px; }
.bulle .voir-texte { display: none; margin: 4px 0 0; color: var(--doux); font-size: 14.5px; }
.bulle.sans-texte .voir-texte { display: block; }
.bulle.sans-texte .mots, .bulle.sans-texte .trad { display: none; }
.decompte { height: 5px; border-radius: 3px; background: var(--bord); margin-top: 10px; overflow: hidden; }
.decompte i { display: block; height: 100%; background: var(--kriolu); animation: decompte linear forwards; transform-origin: left; }
@keyframes decompte { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.conv-fin { margin-top: 10px; }
.conv-fin .lien { display: block; margin: 8px auto 0; }
.entree-conv .moment .corps p { margin-top: 2px; }
