/* GnomeYoga flows: catalogue + detail. Mobile first, builds on site.css tokens. */

.flows,
.flow-detail {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 110px;
  flex: 1;
}

.flows-h2 {
  font: 800 22px/1.15 var(--font-serif);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.flows-section { margin-top: 34px; }

.seq-chip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-green { background: var(--brand-green); }
.dot-amber { background: var(--brand-amber); }
.dot-red { background: var(--brand-red); }

/* ---------- Buttons ---------- */
.button-play { gap: 8px; }
.button-play svg { margin-left: -2px; }
.button-xl { min-height: 54px; padding: 12px 28px; font-size: 16px; border-radius: 999px; }

.chip-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid var(--line-medium);
  background: rgba(255, 255, 255, 0.85); color: var(--ink);
  font: 600 13.5px var(--font-sans); cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.chip-btn:hover { transform: translateY(-1px); border-color: var(--c3, var(--brand-red)); background: #fff; }
.inline-form { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Gnome art: one clear gnome, or three side by side (never overlapping) ---------- */
.fan { position: relative; width: 100%; height: 100%; }
.fan__img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 14px rgba(43, 31, 23, 0.16)); transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1); }
.fan--single { display: flex; align-items: flex-end; justify-content: center; }
.fan--single .fan__img { width: 100%; height: 100%; }
.fan--row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: end; gap: 6px; }
.fan--row .fan__img { width: 100%; height: 100%; min-width: 0; }
.fan--row .fan__img--0, .fan--row .fan__img--2 { height: 76%; opacity: 0.95; }

/* ---------- Catalogue intro ---------- */
.flows-intro { text-align: left; margin: 6px 0 16px; }
.flows-title { font: 800 clamp(30px, 7.5vw, 52px)/1.02 var(--font-serif); letter-spacing: -0.025em; margin: 0 0 8px; color: var(--ink); }
.flows-title em { display: block; font-style: italic; font-weight: 600; color: var(--brand-red); }
.flows-lead { margin: 0; max-width: 52ch; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Gnome's pick ---------- */
.pick {
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: 210px auto;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 20% 0%, #fff 0%, var(--c1) 45%, var(--c2) 100%);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.pick::after { /* soft ground line */
  content: ''; position: absolute; left: 0; right: 0; top: 196px; height: 28px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(43, 31, 23, 0.08), transparent 70%);
  pointer-events: none;
}
.pick__art { padding: 14px 20px 0; }
.pick__art-link { display: contents; cursor: pointer; }
.pick__body { padding: 16px 20px 22px; }
.pick__eyebrow { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; color: var(--c3); letter-spacing: 0.01em; }
.pick__title { margin: 0 0 6px; font: 800 30px/1.05 var(--font-serif); letter-spacing: -0.02em; }
.pick__tagline { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
.pick__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pick__peek { font-weight: 700; font-size: 14px; color: var(--ink); border-bottom: 2px solid color-mix(in srgb, var(--c3) 40%, transparent); }

/* ---------- Mood chips ---------- */
.flows-bar { display: flex; align-items: center; justify-content: space-between; }
.flows-count { font: 700 12px var(--font-sans); background: var(--sand-pill); color: var(--ink-soft); border-radius: 999px; padding: 3px 9px; }
.mood-chips {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 -16px 16px; padding: 2px 16px 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.mood-chips::-webkit-scrollbar { display: none; }
.mood-chip {
  flex: 0 0 auto; min-height: 40px; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--line-medium); background: #fff;
  font: 600 14px var(--font-sans); color: var(--ink); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.mood-chip:hover { transform: translateY(-1px); }
.mood-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Flow cards ---------- */
.flow-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow-card {
  position: relative; border-radius: 22px; background: var(--surface-card);
  border: 1px solid var(--line-subtle); box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.25s ease;
}
.flow-card[hidden] { display: none; }
.flow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.flow-card__link { display: grid; grid-template-columns: 118px 1fr; align-items: stretch; min-height: 126px; color: inherit; }
.flow-card__art {
  position: relative; border-radius: 21px 0 0 21px; overflow: hidden;
  background: radial-gradient(110% 90% at 30% 10%, #fff 0%, var(--c1) 50%, var(--c2) 100%);
  padding: 10px 6px 0;
}
.flow-card__time {
  position: absolute; left: 8px; top: 8px; z-index: 3;
  font: 800 11px var(--font-sans); letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  padding: 3px 8px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.flow-card__body { padding: 14px 58px 14px 14px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.flow-card__title { margin: 0 0 3px; font: 800 18px/1.15 var(--font-serif); letter-spacing: -0.01em; }
.flow-card__tagline { margin: 0 0 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flow-card__meta { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.flow-card__play {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; z-index: 4;
  background: var(--brand-red); color: #fff;
  box-shadow: 0 6px 14px rgba(184, 58, 40, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.5, 0.64, 1), background 0.2s ease;
}
.flow-card__play svg { margin-left: 2px; }
.flow-card__play:hover { background: var(--brand-red-hover); transform: translateY(-50%) scale(1.08); }
.flow-card:hover .fan__img { transform: translateY(-3px) scale(1.03); }
.flows-empty { text-align: center; color: var(--ink-soft); padding: 24px; }

/* ---------- Build your own ---------- */
.build {
  margin-top: 34px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 18px; border-radius: 24px; border: 2px dashed rgba(184, 58, 40, 0.22);
  background: rgba(255, 255, 255, 0.55);
}
.build__gnome { width: 96px; height: auto; filter: drop-shadow(0 8px 12px rgba(43, 31, 23, 0.14)); }
.build p { margin: -6px 0 12px; color: var(--ink-soft); font-size: 14.5px; }
.build__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ---------- */
.faq__item { background: var(--surface-card); border: 1px solid var(--line-subtle); border-radius: 16px; margin-bottom: 8px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--brand-red); transition: transform 0.2s ease; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0; padding: 0 16px 16px; color: var(--ink-soft); }

/* ==========================================================================
   DETAIL
   ========================================================================== */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-muted); margin: 0 0 12px; }
.crumbs a { color: var(--brand-red); }

.fd-hero { display: grid; gap: 18px; }
.fd-hero__art {
  height: 260px; border-radius: 28px; overflow: hidden; padding: 18px 16px 0;
  background: radial-gradient(120% 90% at 25% 0%, #fff 0%, var(--c1) 45%, var(--c2) 100%);
  box-shadow: var(--shadow-card);
}
.fd-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--c3); }
.fd-title { margin: 0 0 6px; font: 800 clamp(34px, 8vw, 56px)/1.02 var(--font-serif); letter-spacing: -0.025em; }
.fd-tagline { margin: 0 0 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 46ch; }
.fd-stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
.fd-stats li { background: var(--surface-card); border: 1px solid var(--line-subtle); border-radius: 16px; padding: 10px 8px; text-align: center; }
.fd-stats strong { display: block; font: 800 24px/1 var(--font-serif); color: var(--c3); }
.fd-stats span { font-size: 11.5px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fd-hero .button-xl { width: 100%; max-width: 420px; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.fd-needs { margin: 16px 0 0; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--c1) 70%, #fff); font-size: 14px; color: var(--ink-soft); max-width: 460px; }
.fd-needs strong { color: var(--ink); }

.fd-journey { margin-top: 34px; }
.strip {
  list-style: none; margin: 0 -16px 18px; padding: 4px 16px 10px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; counter-reset: s;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 64px; position: relative; height: 76px; border-radius: 16px; background: color-mix(in srgb, var(--c1) 80%, #fff); border: 1px solid var(--line-subtle); }
.strip img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 4px 2px 0; }
.strip span { position: absolute; top: 4px; left: 5px; font: 800 10px var(--font-sans); color: var(--c3); }

.phases { list-style: none; margin: 0; padding: 0; }
.phase { position: relative; padding-left: 22px; margin-bottom: 18px; }
.phase::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: -18px; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--c3) 45%, transparent) 0 6px, transparent 6px 11px); }
.phase:last-child::before { bottom: 12px; }
.phase__title { position: relative; margin: 0 0 10px; font: 800 17px var(--font-serif); display: flex; align-items: baseline; gap: 8px; }
.phase__title::before { content: ''; position: absolute; left: -22px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--c3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 90%, #fff); }
.phase__title span { font: 700 12px var(--font-sans); color: var(--ink-muted); }
.phase__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 12px 8px 8px; background: var(--surface-card); border: 1px solid var(--line-subtle); border-radius: 18px;
}
.step__img { width: 62px; height: 66px; object-fit: contain; object-position: center bottom; border-radius: 12px; background: color-mix(in srgb, var(--c1) 70%, #fff); padding: 3px 2px 0; }
.step__text { min-width: 0; }
.step__name { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink); }
a.step__name:hover { color: var(--brand-red); }
.step__sa { display: block; font: italic 400 12.5px var(--font-serif); color: var(--ink-muted); }
.step__cue { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.step__time { text-align: right; display: grid; gap: 1px; }
.step__time strong { font: 800 14px var(--font-sans); color: var(--ink); white-space: nowrap; }
.step__time span { font-size: 10.5px; font-weight: 700; color: var(--c3); text-transform: uppercase; letter-spacing: 0.04em; }
.step__time time { font-size: 11px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.whisper {
  margin: 30px 0 0; display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center;
  padding: 18px; border-radius: 24px; background: color-mix(in srgb, var(--c1) 75%, #fff);
}
.whisper img { width: 70px; height: 70px; object-fit: contain; }
.whisper blockquote { margin: 0; }
.whisper p { margin: 0; font: italic 600 18px/1.35 var(--font-serif); color: var(--ink); }
.whisper footer { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--c3); }

.fd-about { margin-top: 30px; max-width: 70ch; }
.fd-about p { color: var(--ink-soft); }
.flow-grid--compact { gap: 10px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: flex; justify-content: center; padding: 10px 16px;
  pointer-events: none; opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sticky-cta .button { pointer-events: auto; min-height: 50px; padding: 10px 26px; font-size: 15px; box-shadow: 0 10px 24px rgba(184, 58, 40, 0.35); }
.sticky-cta.is-visible { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.flows-toast { position: fixed; left: 50%; bottom: calc(140px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-hover); }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 700px) {
  .flows, .flow-detail { padding: 28px 24px 80px; }
  .mood-chips { margin: 0 0 18px; padding: 2px 0 6px; flex-wrap: wrap; overflow: visible; }
  .pick { grid-template-rows: none; grid-template-columns: 1.05fr 1fr; min-height: 320px; }
  .pick::after { display: none; }
  .pick__art { padding: 26px 10px 0 26px; }
  .pick__body { padding: 36px 40px 36px 56px; align-self: center; }
  .pick__title { font-size: 42px; }
  .flow-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
  .flow-card__link { grid-template-columns: none; grid-template-rows: 190px auto; }
  .flow-card__art { border-radius: 21px 21px 0 0; padding: 16px 12px 0; }
  .flow-card__body { padding: 16px 18px 20px; justify-content: flex-start; }
  .flow-card__play { top: 190px; right: 16px; transform: translateY(-50%); width: 50px; height: 50px; }
  .flow-card__play:hover { transform: translateY(-50%) scale(1.08); }
  .flow-card__time { left: 12px; top: 12px; font-size: 12px; }
  .build { grid-template-columns: 160px 1fr; padding: 26px 30px; }
  .build__gnome { width: 150px; }
  .fd-hero { grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
  .fd-hero__art { height: 440px; padding: 30px 26px 0; }
  .strip { margin: 0 0 20px; padding: 4px 0 10px; flex-wrap: wrap; }
  .step { grid-template-columns: 76px 1fr auto; padding-right: 18px; }
  .step__img { width: 76px; height: 80px; }
  .sticky-cta { display: none; }
}

@media (min-width: 1000px) {
  .phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 26px; }
  .phase::before { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .fan__img, .flow-card, .flow-card__play, .sticky-cta { transition: none; }
}

.mood-chip span, .chip-btn span { margin-right: 3px; }

/* Print shortcut next to the play button on member flow cards */
.flow-card:has(.flow-card__print) .flow-card__body { padding-right: 112px; }
.flow-card__print {
  position: absolute; right: 64px; top: 50%; margin-top: -20px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-card); border: 1px solid var(--line-subtle); font-size: 16px;
}
@media (min-width: 700px) {
  .flow-card:has(.flow-card__print) .flow-card__body { padding-right: 18px; }
  .flow-card__print { top: 190px; right: 76px; margin-top: 0; transform: translateY(-50%); }
}

/* ==========================================================================
   REFONTE — onglets, infos simples, play discret, parcours cliquable
   ========================================================================== */
.flows-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.seg-tabs { display: inline-flex; padding: 3px; gap: 2px; background: var(--sand-pill); border-radius: 999px; }
.seg-tabs__btn { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; font: 700 14px var(--font-sans); color: var(--ink-soft); }
.seg-tabs__btn:hover { color: var(--ink); }
.seg-tabs__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(43, 31, 23, .14); }
.flows-section--tight { margin-top: 8px; }
.flows-empty-card { text-align: center; padding: 34px 18px; border: 2px dashed rgba(184, 58, 40, 0.22); border-radius: 24px; background: rgba(255, 255, 255, .55); }
.flows-empty-card__emoji { font-size: 40px; margin: 0; }
.flows-empty-card h2 { font: 800 22px var(--font-serif); margin: 6px 0; }
.flows-empty-card p { color: var(--ink-soft); }
.picks { margin-top: 0; }

/* Play: small translucent disc on the art, bottom-right (does not cover the gnome) */
.flow-card__play { left: 74px; right: auto; top: auto; bottom: 12px; transform: none; width: 38px; height: 38px; background: rgba(184, 58, 40, 0.86); backdrop-filter: blur(4px); box-shadow: 0 4px 10px rgba(184, 58, 40, 0.25); }
.flow-card__play:hover { transform: scale(1.1); }
.flow-card__body { padding-right: 14px; }
.flow-card:has(.flow-card__print) .flow-card__body { padding-right: 14px; }
.flow-card__print { right: 10px; top: 10px; margin-top: 0; width: 34px; height: 34px; font-size: 14px; }
@media (min-width: 700px) {
  .flow-card__play { left: auto; right: 12px; top: auto; bottom: auto; top: 190px; margin-top: -50px; transform: none; width: 40px; height: 40px; }
  .flow-card__play:hover { transform: scale(1.1); }
  .flow-card__body { padding: 14px 16px 16px; }
  .flow-card:has(.flow-card__print) .flow-card__body { padding-right: 16px; }
  .flow-card__print { top: 12px; right: 12px; transform: none; }
}

/* Info reads as text, not buttons */
.fd-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 0; max-width: none; margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); }
.fd-stats li { background: none; border: 0; border-radius: 0; padding: 0; text-align: left; }
.fd-stats li + li::before { content: '·'; margin: 0 9px; color: var(--ink-muted); }
.fd-stats strong { display: inline; font: 800 15px var(--font-sans); color: var(--ink); }
.fd-stats span { display: none; }
.fd-eyebrow { display: flex; align-items: center; gap: 4px; }
.fd-title { font-size: clamp(30px, 6.5vw, 46px); margin-bottom: 4px; }
.fd-tagline { margin-bottom: 12px; }
.fd-hero__art { height: 230px; }
@media (min-width: 700px) { .fd-hero__art { height: 360px; } }
.fd-hero .fan--row { grid-template-columns: 1fr 1.5fr 1fr; }

/* Journey strip: clickable poses */
.strip li { flex: 0 0 64px; }
.strip a { display: block; height: 100%; border-radius: 16px; }
.strip a:hover, .strip a:focus-visible { background: #fff; box-shadow: 0 0 0 2px var(--c3); }
.strip img { height: 100%; }
.inline-link { color: var(--brand-red); text-decoration: underline; text-underline-offset: 3px; }
.fan--row { grid-template-rows: 100%; }

/* Lucide icons in buttons and tabs */
.chip-btn .lucide, .seg-tabs__btn .lucide { flex: none; }
.chip-btn { gap: 7px; }
.seg-tabs__btn { gap: 7px; }
.seg-tabs__btn.is-active .lucide { color: var(--brand-red); }
.flow-card__print .lucide, .flow-card__print svg { display: block; }

/* Hero art: hug the gnomes instead of leaving a big empty box */
.fd-hero__art { height: 250px; padding: 22px 18px 0; }
@media (min-width: 700px) { .fd-hero__art { height: 290px; padding: 26px 22px 0; } }
.fd-hero .fan--row { grid-template-columns: 1fr 1.7fr 1fr; }
.fd-hero .fan--row .fan__img--0, .fd-hero .fan--row .fan__img--2 { height: 72%; }

/* Shared filter bar (ready-made, community, mine) */
.seq-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.seq-filters .seq-search { flex: 1 1 220px; max-width: 340px; margin: 0; }
.seq-filters .seq-search input { width: 100%; padding: 9px 14px 9px 40px; border-radius: 14px; border: 1.5px solid var(--line-medium); background: #fff; color: var(--ink); font: 500 14.5px var(--font-sans); outline: none; }
.seq-filters .seq-search input:focus { border-color: var(--brand-red); box-shadow: 0 0 0 4px var(--brand-red-light); }
.seq-filters .mood-chips { flex: 1 1 100%; margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
.flows-lead--small { margin: -6px 0 14px; font-size: 14px; }
@media (max-width: 640px) { .seq-filters .seq-search { max-width: none; flex-basis: 100%; } .level-seg__btn span { display: inline; } .level-seg__btn { padding: 4px 9px; font-size: 12px; } }

/* Origin line: GnomeYoga vs member */
.flow-card__by { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 5px; margin: 0; font-size: 11.5px; font-weight: 700; color: var(--ink-muted); }
.flow-card__by img { border-radius: 4px; }
.flow-card__by a { color: inherit; text-decoration: underline; text-underline-offset: 2px; position: relative; z-index: 5; }
.flow-card__by--member .lucide { width: 13px; height: 13px; }
.flow-card__by--gnome { color: var(--brand-red); }
.flow-card__body { padding-bottom: 34px; }

/* Journey strip hover: the gnome floats up gently inside its frame (no white flash, no overflow) */
.strip a { overflow: hidden; }
.strip a:hover, .strip a:focus-visible { background: none; box-shadow: none; }
.strip a:focus-visible { outline: 2px solid var(--c3); outline-offset: -2px; }
.strip img { transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1); }
.strip a:hover img, .strip a:focus-visible img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .strip img { transition: none; } }

/* The hero visual is the play surface (like a video thumbnail): one call to action, no duplicate button */
.fd-hero__play { position: relative; display: block; cursor: pointer; padding-bottom: 62px; transition: box-shadow 0.25s ease; }
.fd-hero__art.fd-hero__play { height: 320px; }
@media (min-width: 700px) { .fd-hero__art.fd-hero__play { height: 360px; } }
.fd-play-pill {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px 0 16px; white-space: nowrap;
  border-radius: 999px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--ink); font: 800 15px var(--font-sans); box-shadow: 0 6px 18px rgba(43, 31, 23, 0.16);
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.fd-play-pill svg { color: var(--brand-red); transition: color 0.2s ease; }
.fd-hero__play:hover .fd-play-pill, .fd-hero__play:focus-visible .fd-play-pill { background: var(--brand-red); color: #fff; transform: translateX(-50%) scale(1.05); }
.fd-hero__play:hover .fd-play-pill svg, .fd-hero__play:focus-visible .fd-play-pill svg { color: #fff; }
.fd-hero__play:hover .fan__img { transform: translateY(-4px); }
.fd-hero__play:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; }

/* Primary call to action: solid, larger, gently breathing */
.fd-play-pill { min-height: 52px; padding: 0 26px 0 20px; font-size: 16px; background: var(--brand-red); color: #fff; box-shadow: 0 10px 24px rgba(184, 58, 40, 0.38); backdrop-filter: none; -webkit-backdrop-filter: none; animation: cta-breathe 2.8s ease-in-out infinite; }
.fd-play-pill svg { width: 22px; height: 22px; color: #fff; }
.fd-hero__play:hover .fd-play-pill, .fd-hero__play:focus-visible .fd-play-pill { background: var(--brand-red-hover); animation: none; }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 10px 24px rgba(184, 58, 40, 0.38), 0 0 0 0 rgba(184, 58, 40, 0.35); }
  50% { box-shadow: 0 10px 24px rgba(184, 58, 40, 0.38), 0 0 0 10px rgba(184, 58, 40, 0); }
}
@media (prefers-reduced-motion: reduce) { .fd-play-pill { animation: none; } }

/* Step cards: the gnome floats up inside its frame on hover (never leaves the frame) */
.step__art { display: block; flex: none; width: 62px; height: 66px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--c1) 70%, #fff); }
.step__art .step__img { width: 100%; height: 100%; background: none; border-radius: 0; transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1); }
.step { transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.step:hover { box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--c3) 35%, var(--line-subtle)); }
.step:hover .step__img { transform: translateY(-5px); }
@media (min-width: 700px) { .step__art { width: 76px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .step__art .step__img { transition: none; } }

/* Cards at the bottom: the gnome rises, no zoom (stays inside the frame) */
.flow-card:hover .fan__img { transform: translateY(-6px); }

/* Whole step card is the link to the pose page (stretched link), with a small lift */
.step { position: relative; }
.step--link { cursor: pointer; }
.step--link .step__name::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.step--link:hover { transform: translateY(-3px); }
.step--link { transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease; }
.step--link:hover .step__name { color: var(--brand-red); }
.step--link .step__name:focus-visible::after { outline: 2px solid var(--brand-red); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .step--link, .step--link:hover { transform: none; transition: none; } }

/* Card footer: origin on the left, a real "Start" pill on the right. Card click = description page. */
.flow-card .flow-card__play { position: absolute; left: auto; top: auto; right: 12px; bottom: 12px; margin: 0; transform: none; width: auto; height: 32px; padding: 0 13px 0 10px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: var(--brand-red); backdrop-filter: none; box-shadow: 0 4px 10px rgba(184, 58, 40, 0.25); color: #fff; font: 800 12.5px var(--font-sans); }
.flow-card .flow-card__play svg { width: 14px; height: 14px; margin: 0; }
.flow-card .flow-card__play:hover { background: var(--brand-red-hover); transform: scale(1.05); }
.flow-card__by { left: 16px; right: auto; bottom: 18px; }
.flow-card__body, .flow-card:has(.flow-card__print) .flow-card__body { padding-bottom: 54px; }
@media (max-width: 699px) { .flow-card__by { left: 132px; } }


/* Add to my sequences */
.flow-card__foot { padding: 0 14px 12px; }
.add-seq {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px dashed var(--line-medium); background: transparent; color: var(--ink);
  font: 600 13px var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.add-seq:hover { background: rgba(255, 255, 255, 0.8); border-color: var(--c3, var(--brand-red)); }
.add-seq:disabled { opacity: 0.6; cursor: progress; }
.add-seq.is-added { border-style: solid; background: rgba(94, 132, 88, 0.12); border-color: rgba(94, 132, 88, 0.5); color: #3f6a3a; }
.add-seq.is-error { border-color: #c0553a; color: #c0553a; }
/* The add button sits under the card body; by-line and Start move up above it */
.flow-card:has(.flow-card__foot) .flow-card__play { bottom: 58px; }
.flow-card:has(.flow-card__foot) .flow-card__by { bottom: 64px; }
.flow-card__foot { padding-top: 6px; }

/* Phones: tabs stay on one line */
.seg-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tabs__btn { white-space: nowrap; flex: none; }
@media (max-width: 640px) {
  .seg-tabs__btn { padding: 6px 11px; font-size: 13px; gap: 5px; }
  .seg-tabs__btn .lucide { width: 15px; height: 15px; }
}
@media (max-width: 430px) { .seg-tabs { width: 100%; } .seg-tabs__btn { flex: 1; justify-content: center; padding: 6px 6px; } .seg-tabs__btn .lucide { display: none; } }
@media (max-width: 699px) { .flow-card:has(.flow-card__print) .flow-card__body { padding-right: 52px; } }

/* ---------- Photo covers (sequence illustrations) ---------- */
.flow-card__art:has(.fan--cover), .pick__art:has(.fan--cover), .fd-hero__art:has(.fan--cover) { padding: 0; }
.fan--cover { display: block; }
.fan__img--cover { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; display: block; }
.pick__art:has(.fan--cover) { height: 220px; }
@media (min-width: 700px) { .pick__art:has(.fan--cover) { height: auto; padding: 0; } }
.flow-card:hover .fan__img--cover, .fd-hero__play:hover .fan__img--cover { transform: scale(1.04); }

/* ---------- Gnome illustrations in empty states / whisper / player ---------- */
.flows-empty-card__gnome { width: 120px; height: 120px; object-fit: contain; display: block; margin: 0 auto 6px; }
.build__gnome { height: auto; }
.whisper img { aspect-ratio: 1; }
