/*
 * The moment player's look (assets/moments/player.js), on the homepages (as a dependency of home.css) and in Lumen
 * episodes' <vlx-moment> (inside its shadow root). Colors come from the page: --ep-accent, --ep-ink, --ep-mute, --ep-bg
 * (the episode's own on the homepage; suite.js maps the episode's --suite-* tints onto them). Every part sits under
 * .mh-moment, so a host page's own resets (.ilh p, .ilh button) don't win.
 */
.mh-moment { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 20px 8px; border-radius: 18px; background: color-mix(in srgb, var(--ep-accent, #7A4E0E) 7%, transparent); border: 1px solid color-mix(in srgb, var(--ep-accent, #7A4E0E) 18%, transparent); }
.mh-moment .mh-moment__top { display: flex; align-items: center; gap: 14px; }
.mh-moment .mh-moment__top img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mh-moment .mh-moment__who { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.mh-moment .mh-moment__who b { font-size: 15px; color: var(--ep-ink, var(--il-ink)); }
.mh-moment .mh-moment__who small { font-size: 13px; color: var(--ep-mute, #4F5563); }
/* The play button: its own look whatever the host page does to buttons (a theme's shadows, borders, outlines,
   line-height), with the icon as inline SVG in --ep-bg (player.js). */
.mh-moment .mh-moment__play { margin: 0 0 0 auto; flex: none; display: grid; place-items: center; width: 52px; height: 52px; min-width: 52px; min-height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--ep-accent, #7A4E0E); color: var(--ep-bg, #F3F0E8); box-shadow: none; text-shadow: none; line-height: 0; transform: none; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.mh-moment .mh-moment__play svg { display: block; width: 26px; height: 26px; max-width: none; fill: currentColor; pointer-events: none; }
/* A focus ring for the keyboard only: not after a mouse click or a tap (.is-pointer), nor a host's own :focus rule. */
.mh-moment .mh-moment__play:focus, .mh-moment .mh-moment__bar:focus { outline: none; }
.mh-moment .mh-moment__play:focus-visible:not(.is-pointer), .mh-moment .mh-moment__bar:focus-visible:not(.is-pointer) { outline: 2px solid var(--ep-ink, var(--il-ink)); outline-offset: 3px; }
.mh-moment .mh-moment__cap { min-height: 4.2em; margin: 4px 0 0; font-family: var(--il-display, 'Cormorant Garamond', Georgia, serif); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; color: var(--ep-ink, var(--il-ink)); }
.mh-moment .mh-moment__cap.is-idle { font-style: italic; color: var(--ep-mute, #4F5563); }
/* The progress bar: a 44px target with the 6px track in its middle. */
.mh-moment .mh-moment__bar { position: relative; height: 44px; margin: -8px 0 -10px; cursor: pointer; border-radius: 6px; touch-action: none; }
.mh-moment .mh-moment__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ep-ink, #15151B) 14%, transparent); }
.mh-moment .mh-moment__fill { position: absolute; left: 0; top: 19px; height: 6px; width: 0; border-radius: 3px; background: var(--ep-accent, #7A4E0E); }
.mh-moment .mh-moment__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; font-size: 13.5px; color: var(--ep-mute, #4F5563); font-variant-numeric: tabular-nums; }
.mh-moment .mh-moment__foot a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ep-accent, #7A4E0E); }
.mh-moment .mh-moment__foot a:hover { color: var(--ep-accent, #7A4E0E); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719px) { .mh-moment { padding: 14px 14px 6px; } .mh-moment .mh-moment__top { gap: 10px; } }
