/* CROUSZ Podcast — styles de la page d'écoute, de la fiche d'épisode et du lecteur.
   Thème clair, une seule couleur d'accent (or), vert institutionnel en fond de bloc. */

:root {
    --pc-bg: #ffffff;
    --pc-surface: #f4f7f3;
    --pc-raised: #e7eee6;
    --pc-line: rgb(16 40 22 / 0.12);
    --pc-text: #0e1a12;
    --pc-muted: #4a5a4f;
    --pc-green: #1f6b27;
    --pc-green-deep: #123d18;
    --pc-gold: #d4a843;
    --pc-gold-deep: #8a6510;
    --pc-gold-ink: #1b1604;
    --pc-radius: 20px;
    --pc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pc-nav-offset: 0px;
}
@media (max-width: 1279px) { :root { --pc-nav-offset: calc(4.75rem + env(safe-area-inset-bottom)); } }

.pc { background: var(--pc-bg); color: var(--pc-text); font-family: 'Space Grotesk', system-ui, sans-serif; overflow-x: clip; padding-bottom: calc(6.5rem + var(--pc-nav-offset)); }
.pc *, .pc *::before, .pc *::after, .pc-float *, .pc-float *::before, .pc-float *::after { box-sizing: border-box; }
.pc img { display: block; max-width: 100%; }
:where(.pc button, .pc-float button) { font: inherit; color: inherit; cursor: pointer; }
:where(.pc a) { color: inherit; }
.pc :focus-visible, .pc-float :focus-visible { outline: 3px solid var(--pc-green); outline-offset: 3px; border-radius: 8px; }
.pc-wrap { width: min(100% - 2rem, 1240px); margin-inline: auto; }
.pc-display { font-family: 'Exo', 'Space Grotesk', sans-serif; }
.pc [hidden], .pc-float [hidden] { display: none !important; }
[x-cloak] { display: none !important; }

/* ── Boutons ───────────────────────────────────────────────── */
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 46px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; background: none; transition: transform 200ms var(--pc-ease), background 200ms, border-color 200ms; }
.pc-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.pc-btn--gold { background: var(--pc-gold); color: var(--pc-gold-ink); }
.pc-btn--gold:hover { transform: translateY(-2px); background: #e2b955; }
.pc-btn--dark { background: var(--pc-text); color: #fff; }
.pc-btn--dark:hover { transform: translateY(-2px); }
.pc-btn--ghost { border-color: var(--pc-line); background: #fff; }
.pc-btn--ghost:hover { background: var(--pc-surface); border-color: rgb(16 40 22 / 0.3); }
.pc-btn--glass { border-color: rgb(255 255 255 / 0.35); color: #fff; }
.pc-btn--glass:hover { background: rgb(255 255 255 / 0.14); }
.pc-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.pc-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--pc-line); border-radius: 50%; background: #fff; transition: background 200ms, transform 200ms var(--pc-ease); }
.pc-icon-btn:hover { background: var(--pc-surface); }
.pc-icon-btn svg { width: 1.2rem; height: 1.2rem; }
.pc-icon-btn[aria-pressed='true'], .pc-icon-btn[data-on] { background: var(--pc-green); border-color: var(--pc-green); color: #fff; }
.pc-icon-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── Couverture (avec repli typographique) ────────────────── */
.pc-cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, var(--pc-green-deep), var(--pc-green) 58%, var(--pc-gold)); color: #fff; box-shadow: 0 18px 40px -22px rgb(18 61 24 / 0.7); }
.pc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-cover__blank { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.4rem; text-align: center; padding: 0.75rem; }
.pc-cover__blank svg { width: 38%; opacity: 0.9; }
.pc-cover__blank b { font-family: 'Exo', sans-serif; font-weight: 800; font-size: clamp(0.8rem, 2.4vw, 1.1rem); letter-spacing: 0.06em; text-transform: uppercase; }
html[data-pc-lowdata] .pc-cover img { display: none; }

/* ── Égaliseur animé ──────────────────────────────────────── */
.pc-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 1rem; }
.pc-eq i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: pc-eq 900ms ease-in-out infinite alternate; }
.pc-eq i:nth-child(2) { animation-delay: -300ms; animation-duration: 700ms; }
.pc-eq i:nth-child(3) { animation-delay: -600ms; animation-duration: 1100ms; }
.pc-eq i:nth-child(4) { animation-delay: -150ms; animation-duration: 800ms; }
@keyframes pc-eq { from { height: 25%; } to { height: 100%; } }
.pc-eq[data-paused] i { animation-play-state: paused; height: 30%; }

/* ── Bannières d'état ─────────────────────────────────────── */
.pc-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; padding: 0.7rem 1rem; font-size: 0.92rem; text-align: center; }
.pc-banner--offline { background: #fff4d6; color: #5c4300; border-bottom: 1px solid #ecd48a; }
.pc-banner--slow { background: var(--pc-surface); border-bottom: 1px solid var(--pc-line); }
.pc-banner button { min-height: 36px; padding: 0 0.9rem; border: 1px solid currentColor; border-radius: 999px; background: none; font-weight: 700; }

/* ── Ouverture : titre + dernier épisode ──────────────────── */
.pc-hero { position: relative; isolation: isolate; padding-block: clamp(6.5rem, 14vw, 8.5rem) clamp(2rem, 5vw, 3.5rem); background: radial-gradient(60% 80% at 6% 0%, rgb(46 125 50 / 0.14), transparent 70%), radial-gradient(45% 60% at 96% 6%, rgb(212 168 67 / 0.22), transparent 72%), var(--pc-bg); }
.pc-hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 1024px) { .pc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.pc-kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; color: var(--pc-gold-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pc-kicker svg { width: 1.1rem; height: 1.1rem; }
.pc-title { margin: 0; font-family: 'Exo', sans-serif; font-weight: 900; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.pc-title em { font-style: normal; color: var(--pc-green); }
.pc-lead { margin: 1.1rem 0 0; max-width: 46ch; color: var(--pc-muted); font-size: clamp(1rem, 2.2vw, 1.18rem); line-height: 1.6; }
.pc-stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--pc-muted); font-size: 0.92rem; }
.pc-stats b { color: var(--pc-text); font-size: 1.3rem; font-family: 'Exo', sans-serif; margin-right: 0.3rem; }
.pc-bars { position: absolute; inset: auto 0 0 0; z-index: -1; height: 38%; display: flex; align-items: flex-end; gap: 6px; padding-inline: 1rem; opacity: 0.1; pointer-events: none; overflow: hidden; }
.pc-bars i { flex: 1; min-width: 4px; height: calc(20% + var(--h, 30) * 0.7%); border-radius: 4px 4px 0 0; background: var(--pc-green); transform-origin: bottom; animation: pc-bar 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -140ms); }
@keyframes pc-bar { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

.pc-now { display: grid; gap: 1.25rem; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--pc-line); border-radius: calc(var(--pc-radius) + 8px); background: #fff; box-shadow: 0 40px 70px -45px rgb(18 61 24 / 0.55); }
@media (min-width: 640px) { .pc-now { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: center; } }
.pc-now .pc-cover { width: min(100%, 18rem); margin-inline: auto; }
.pc-flag { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgb(212 168 67 / 0.2); color: var(--pc-gold-deep); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pc-now__title { margin: 0.7rem 0 0.4rem; font-family: 'Exo', sans-serif; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.15; text-wrap: balance; }
.pc-now__title a { text-decoration: none; }
.pc-now__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 0; color: var(--pc-muted); font-size: 0.9rem; }
.pc-meta b { color: var(--pc-text); font-weight: 600; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

/* ── Abonnement ───────────────────────────────────────────── */
.pc-subscribe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem; padding-block: 1.25rem; }
.pc-subscribe__label { margin-right: 0.5rem; font-weight: 700; }

/* ── Prochaine émission ───────────────────────────────────── */
.pc-section { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.pc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pc-head h2 { margin: 0; font-family: 'Exo', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.12; }
.pc-head__eyebrow { display: block; margin-bottom: 0.4rem; color: var(--pc-gold-deep); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

.pc-next { position: relative; overflow: hidden; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.25rem, 3.5vw, 2.5rem); border-radius: calc(var(--pc-radius) + 12px); color: #fff; background: radial-gradient(70% 90% at 90% 0%, rgb(212 168 67 / 0.35), transparent 65%), linear-gradient(135deg, var(--pc-green-deep), var(--pc-green)); box-shadow: 0 40px 70px -40px rgb(18 61 24 / 0.8); }
@media (min-width: 1024px) { .pc-next { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pc-next a { color: inherit; }
.pc-next .pc-flag { background: rgb(255 255 255 / 0.16); color: #fff; }
.pc-next__title { margin: 0.9rem 0 0.6rem; font-family: 'Exo', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.1; text-wrap: balance; }
.pc-next__when { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0 0 1.25rem; font-size: 1rem; color: rgb(255 255 255 / 0.9); }
.pc-next__when span { display: inline-flex; align-items: center; gap: 0.4rem; }
.pc-next__when svg { width: 1.1rem; height: 1.1rem; }
.pc-next__desc { margin: 0 0 1.5rem; color: rgb(255 255 255 / 0.88); line-height: 1.65; text-align: justify; hyphens: auto; max-width: 62ch; }

.pc-count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; max-width: 30rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.pc-count li { display: grid; justify-items: center; padding: 0.8rem 0.25rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 16px; background: rgb(255 255 255 / 0.1); backdrop-filter: blur(6px); }
.pc-count b { font-family: 'Exo', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pc-count span { margin-top: 0.35rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }
.pc-live { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; padding: 0.7rem 1.1rem; border-radius: 999px; background: var(--pc-gold); color: var(--pc-gold-ink); font-weight: 800; }

.pc-cast { display: grid; gap: 0.9rem; align-content: start; }
.pc-cast__group { margin: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.75); }
.pc-person { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 0.9rem; align-items: start; padding: 0.8rem; border-radius: 18px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.16); }
.pc-avatar { position: relative; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--pc-gold), #f0d58a); color: var(--pc-gold-ink); font-family: 'Exo', sans-serif; font-weight: 800; font-size: 1.3rem; }
.pc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[data-pc-lowdata] .pc-avatar img { display: none; }
.pc-person__name { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
.pc-role { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--pc-gold); color: var(--pc-gold-ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }
.pc-role--guest { background: #fff; }
.pc-person__title { margin: 0.15rem 0 0; font-size: 0.86rem; opacity: 0.88; }
.pc-person__bio { margin: 0.4rem 0 0; font-size: 0.86rem; line-height: 1.55; opacity: 0.88; text-align: justify; hyphens: auto; }

/* Variante claire des intervenants (fiche épisode) */
.pc-light .pc-person { background: var(--pc-surface); border-color: var(--pc-line); color: var(--pc-text); }
.pc-light .pc-cast__group { color: var(--pc-muted); }
.pc-light .pc-role--guest { background: #fff; border: 1px solid var(--pc-line); }
.pc-light .pc-person__bio, .pc-light .pc-person__title { opacity: 1; color: var(--pc-muted); }

/* ── Barre de recherche et filtres ────────────────────────── */
.pc-bar { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.pc-bar__row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.pc-search { position: relative; flex: 1 1 14rem; display: flex; align-items: center; }
.pc-search input { width: 100%; min-height: 46px; padding: 0 1rem 0 2.75rem; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--pc-surface); color: var(--pc-text); font: inherit; }
.pc-search input::placeholder { color: var(--pc-muted); }
.pc-search svg { position: absolute; left: 1rem; width: 1.1rem; height: 1.1rem; color: var(--pc-muted); pointer-events: none; }
.pc-select { min-height: 46px; padding: 0 2.2rem 0 1rem; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--pc-surface); color: var(--pc-text); font: inherit; }
.pc-seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--pc-surface); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pc-seg a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 0.95rem; border-radius: 999px; color: var(--pc-muted); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pc-seg a[aria-current='true'] { background: var(--pc-text); color: #fff; }
.pc-chips { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem; }
.pc-chip { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.9rem; border: 1px solid var(--pc-line); border-radius: 999px; color: var(--pc-muted); font-size: 0.85rem; text-decoration: none; }
.pc-chip:hover { color: var(--pc-text); border-color: rgb(16 40 22 / 0.4); }
.pc-chip[aria-current='true'] { border-color: var(--pc-gold); background: rgb(212 168 67 / 0.16); color: var(--pc-gold-deep); font-weight: 600; }
.pc-toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0 1rem 0 0.8rem; border: 1px solid var(--pc-line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.9rem; }
.pc-toggle__track { position: relative; width: 2.4rem; height: 1.4rem; border-radius: 999px; background: #c5cfc6; transition: background 200ms; flex: none; }
.pc-toggle__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; transition: transform 250ms var(--pc-ease); box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); }
.pc-toggle[aria-pressed='true'] .pc-toggle__track { background: var(--pc-green); }
.pc-toggle[aria-pressed='true'] .pc-toggle__track::after { transform: translateX(1rem); }
.pc-badge { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; background: var(--pc-gold); color: var(--pc-gold-ink); font-size: 0.75rem; font-weight: 800; }

/* ── Liste des épisodes ───────────────────────────────────── */
.pc-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.pc-ep { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 0.9rem 1.1rem; align-items: start; padding: 1rem; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; transition: border-color 250ms, box-shadow 350ms var(--pc-ease), transform 350ms var(--pc-ease); animation: pc-rise 600ms var(--pc-ease) both; animation-delay: calc(min(var(--i, 0), 8) * 50ms); }
@media (min-width: 768px) { .pc-ep { grid-template-columns: 8rem minmax(0, 1fr) auto; align-items: center; padding: 1.1rem 1.25rem; } }
@keyframes pc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pc-ep:hover { border-color: rgb(212 168 67 / 0.7); box-shadow: 0 24px 44px -30px rgb(18 61 24 / 0.55); transform: translateY(-2px); }
.pc-ep[data-current] { border-color: var(--pc-green); box-shadow: 0 0 0 1px var(--pc-green), 0 24px 44px -30px rgb(18 61 24 / 0.55); }
.pc-ep[data-unavailable] { opacity: 0.55; }
.pc-ep__cover { position: relative; }
.pc-ep__cover .pc-cover { border-radius: 14px; }
.pc-ep__play { position: absolute; right: 0.4rem; bottom: 0.4rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: var(--pc-gold); color: var(--pc-gold-ink); box-shadow: 0 8px 18px -6px rgb(0 0 0 / 0.5); transition: transform 250ms var(--pc-ease); }
.pc-ep__play:hover { transform: scale(1.1); }
.pc-ep__play svg { width: 1.2rem; height: 1.2rem; }
.pc-ep__body { min-width: 0; }
.pc-ep__label { margin: 0 0 0.25rem; color: var(--pc-gold-deep); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pc-ep__title { margin: 0 0 0.35rem; font-family: 'Exo', sans-serif; font-weight: 800; font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.25; overflow-wrap: anywhere; }
.pc-ep__title a { text-decoration: none; }
.pc-ep__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-ep__desc { margin: 0 0 0.6rem; color: var(--pc-muted); line-height: 1.55; text-align: justify; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-ep__tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
@media (min-width: 768px) { .pc-ep__tools { grid-column: auto; justify-content: flex-end; flex-wrap: nowrap; } }
.pc-progress-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--pc-surface); font-size: 0.78rem; font-weight: 600; }
.pc-dl { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--pc-line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; }
.pc-dl svg { width: 1.1rem; height: 1.1rem; flex: none; }
.pc-dl[data-state='done'] { border-color: var(--pc-green); color: var(--pc-green); background: rgb(46 125 50 / 0.08); }
.pc-dl[data-state='busy']::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: rgb(212 168 67 / 0.3); transition: width 200ms linear; }
.pc-dl > * { position: relative; }

.pc-people { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.pc-people li { display: flex; align-items: center; gap: 0.75rem; }
.pc-people .pc-avatar { width: 3.5rem; height: 3.5rem; font-size: 1.05rem; }
.pc-people b { display: block; }
.pc-people span { color: var(--pc-muted); font-size: 0.85rem; }

.pc-empty { display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 8vw, 5rem) 1.5rem; border: 1px dashed var(--pc-line); border-radius: calc(var(--pc-radius) + 6px); text-align: center; }
.pc-empty h2, .pc-empty h3 { margin: 0; font-family: 'Exo', sans-serif; font-size: 1.4rem; }
.pc-empty p { margin: 0; max-width: 46ch; color: var(--pc-muted); line-height: 1.6; }

/* ── Fiche d'épisode ──────────────────────────────────────── */
.pc-show { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .pc-show { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); align-items: start; } .pc-show__aside { position: sticky; top: 6rem; } }
.pc-prose { max-width: 70ch; color: #1c2a20; line-height: 1.8; font-size: 1.05rem; }
.pc-prose p { margin: 0 0 1.1rem; text-align: justify; text-justify: inter-word; hyphens: auto; }
.pc-chapters { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pc-chapters button { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0.75rem; align-items: center; width: 100%; min-height: 48px; padding: 0.5rem 0.9rem; border: 1px solid var(--pc-line); border-radius: 14px; background: #fff; text-align: left; transition: background 200ms; }
.pc-chapters button:hover { background: var(--pc-surface); }
.pc-chapters button[aria-current='true'] { border-color: var(--pc-green); background: rgb(46 125 50 / 0.08); }
.pc-chapters time { font-variant-numeric: tabular-nums; color: var(--pc-gold-deep); font-weight: 700; }
.pc-transcript { border: 1px solid var(--pc-line); border-radius: 16px; background: var(--pc-surface); }
.pc-transcript summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 1.1rem; cursor: pointer; font-weight: 700; list-style: none; }
.pc-transcript summary::-webkit-details-marker { display: none; }
.pc-transcript .pc-prose { padding: 0 1.1rem 1.1rem; max-height: 32rem; overflow-y: auto; }
.pc-h3 { margin: 2rem 0 0.9rem; font-family: 'Exo', sans-serif; font-weight: 800; font-size: 1.35rem; }

/* ── Lecteur fixe ─────────────────────────────────────────── */
.pc-player { position: fixed; left: 0; right: 0; bottom: var(--pc-nav-offset); z-index: 60; padding: 0.6rem 0.75rem; border-top: 1px solid var(--pc-line); background: rgb(255 255 255 / 0.94); backdrop-filter: blur(16px); box-shadow: 0 -20px 40px -30px rgb(18 61 24 / 0.5); color: var(--pc-text); font-family: 'Space Grotesk', system-ui, sans-serif; }
.pc-player__inner { display: grid; gap: 0.5rem 1rem; align-items: center; width: min(100%, 1240px); margin-inline: auto; grid-template-columns: minmax(0, 1fr) auto; }
@media (min-width: 900px) { .pc-player__inner { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) auto; } }
.pc-player__id { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.pc-player__id .pc-cover { width: 3rem; flex: none; border-radius: 10px; box-shadow: none; }
.pc-player__id .pc-cover__blank svg { width: 55%; }
.pc-player__id .pc-cover__blank b { display: none; }
.pc-player__title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; text-decoration: none; }
.pc-player__sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pc-muted); font-size: 0.82rem; }
.pc-player__ctl { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; }
.pc-player__play { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--pc-text); color: #fff; transition: transform 200ms var(--pc-ease); }
.pc-player__play:hover { transform: scale(1.06); }
.pc-player__play svg { width: 1.4rem; height: 1.4rem; }
.pc-skip { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; }
.pc-skip:hover { background: var(--pc-surface); }
.pc-skip svg { width: 1.7rem; height: 1.7rem; }
.pc-skip span { position: absolute; font-size: 0.6rem; font-weight: 800; margin-top: 0.12rem; }
.pc-player__seek { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.7rem; font-size: 0.8rem; color: var(--pc-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .pc-player__seek { grid-column: 2; grid-row: 1; } .pc-player__ctl { grid-column: 3; grid-row: 1; } }
.pc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; }
.pc-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--pc-green) var(--fill, 0%), rgb(16 40 22 / 0.25) var(--fill, 0%), rgb(16 40 22 / 0.25) var(--buf, 0%), var(--pc-raised) var(--buf, 0%)); }
.pc-range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--pc-raised); }
.pc-range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--pc-green); }
.pc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; border: 2px solid #fff; background: var(--pc-green); box-shadow: 0 1px 4px rgb(0 0 0 / 0.4); }
.pc-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: var(--pc-green); }
.pc-range--vol { width: 6rem; }
.pc-pop { position: absolute; right: 0.75rem; bottom: calc(100% + 0.5rem); z-index: 5; width: min(20rem, calc(100vw - 1.5rem)); max-height: 60vh; overflow-y: auto; padding: 0.7rem; border: 1px solid var(--pc-line); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45); }
.pc-pop h4 { margin: 0 0 0.5rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pc-muted); }
.pc-pop__grid { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pc-pop__grid button { min-height: 40px; min-width: 3.4rem; padding: 0 0.8rem; border: 1px solid var(--pc-line); border-radius: 999px; background: #fff; font-weight: 600; }
.pc-pop__grid button[aria-pressed='true'] { background: var(--pc-text); color: #fff; border-color: var(--pc-text); }
.pc-pop .pc-chapters { gap: 0.3rem; }
.pc-player__status { position: absolute; top: -1.9rem; left: 50%; transform: translateX(-50%); padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--pc-text); color: #fff; font-size: 0.8rem; white-space: nowrap; }
.pc-hide-sm { display: none; }
@media (min-width: 640px) { .pc-hide-sm { display: inline-grid; } }

/* ── Bibliothèque hors ligne et notifications ─────────────── */
.pc-sheet { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--pc-text); }
.pc-sheet__scrim { position: absolute; inset: 0; background: rgb(3 8 5 / 0.55); backdrop-filter: blur(4px); }
.pc-sheet__panel { position: relative; display: flex; flex-direction: column; width: min(100%, 28rem); height: 100%; background: #fff; box-shadow: -30px 0 60px -20px rgb(0 0 0 / 0.4); }
.pc-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--pc-line); }
.pc-sheet__head h2 { margin: 0; font-family: 'Exo', sans-serif; font-weight: 800; font-size: 1.3rem; }
.pc-sheet__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: grid; gap: 0.75rem; align-content: start; }
.pc-sheet__foot { padding: 1rem 1.25rem; border-top: 1px solid var(--pc-line); color: var(--pc-muted); font-size: 0.85rem; display: grid; gap: 0.6rem; }
.pc-saved { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.7rem; border: 1px solid var(--pc-line); border-radius: 16px; }
.pc-saved .pc-cover { border-radius: 10px; box-shadow: none; }
.pc-saved .pc-cover__blank b { display: none; }
.pc-saved__title { margin: 0; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pc-saved__meta { margin: 0.2rem 0 0; color: var(--pc-muted); font-size: 0.8rem; }
.pc-toast { position: fixed; left: 50%; bottom: calc(7.5rem + var(--pc-nav-offset)); z-index: 90; transform: translateX(-50%); max-width: min(92vw, 28rem); padding: 0.75rem 1.2rem; border-radius: 999px; background: var(--pc-text); color: #fff; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.92rem; box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.5); }

/* ── Mode faible connexion et mouvement réduit ────────────── */
html[data-pc-lowdata] .pc-bars, html[data-pc-lowdata] .pc-hero__art { display: none; }
html[data-pc-lowdata] .pc *, html[data-pc-lowdata] .pc-float * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
    .pc *, .pc *::before, .pc *::after, .pc-float * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* La couverture de repli n'apparaît que sans image, ou quand le mode faible connexion masque les images. */
.pc-cover img ~ .pc-cover__blank { display: none; }
html[data-pc-lowdata] .pc-cover img ~ .pc-cover__blank { display: grid; }
.pc-contents { display: contents; }

/* Toute icône sans taille explicite reste à la taille du texte. */
:where(.pc svg, .pc-float svg) { width: 1.2em; height: 1.2em; flex: none; }
.pc-transcript summary svg { width: 1.2rem; height: 1.2rem; }
.pc-cover__blank b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ep .pc-cover__blank b { display: none; }
