/* ── Пропозиція ────────────────────────────────────────────────────────── */

.suggest {
  background: linear-gradient(150deg, var(--lilac-soft), var(--pink-soft));
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.suggest__why { font-size: var(--size-xs); color: var(--ink-muted); margin: 0 0 6px; }
.suggest__name {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--size-xl); margin: 0 0 16px;
}
.suggest__go { width: 100%; }

/* ── Доказ користі ─────────────────────────────────────────────────────── */

.lift {
  background: var(--sage-soft);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  margin-top: var(--gap);
  text-align: center;
}
.lift__val { font-family: var(--font-display); font-size: var(--size-xl); font-weight: 600; margin: 0; }
.lift__txt { font-size: var(--size-xs); color: var(--ink-muted); margin: 4px 0 0; line-height: 1.45; }

/* ── Список практик ────────────────────────────────────────────────────── */

.plist { display: grid; gap: 8px; }

.pr {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--surface); border: none;
  border-radius: var(--radius-inner);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  font-family: inherit; color: var(--ink); cursor: pointer;
}
.pr:active { transform: scale(.99); }
.pr__body { flex: 1; min-width: 0; }
.pr__name { font-size: var(--size-sm); font-weight: 500; }
.pr__desc { font-size: var(--size-xs); color: var(--ink-muted); margin-top: 3px; line-height: 1.4; }
.pr__min {
  font-family: var(--font-display); font-size: var(--size-lg);
  font-weight: 600; flex-shrink: 0; color: var(--ink-muted);
}

.week-calm {
  margin-top: 16px; padding: 14px 16px;
  background: var(--surface); border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  font-size: var(--size-xs); color: var(--ink-muted); text-align: center;
}
.week-calm p { margin: 0; }

/* ── Плеєр дихання ─────────────────────────────────────────────────────── */

.player {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  max-width: 420px; margin: 0 auto;
}

.player__close {
  position: absolute; top: 16px; right: 18px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  font-size: 26px; color: var(--ink-muted); cursor: pointer; line-height: 1;
}

.player__stage {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 26px;
}

/* Коло дихання. Масштаб керується з JS через --scale,
   тривалість — через --dur, тому одна анімація підходить
   будь-якому патерну без окремого CSS на кожну вправу. */
.breath { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }

.breath__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-soft) 0%, var(--lilac-soft) 70%);
  transform: scale(var(--scale, .55));
  transition: transform var(--dur, 4s) cubic-bezier(.37,0,.63,1);
}

.breath__core {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: scale(var(--scale, .55));
  transition: transform var(--dur, 4s) cubic-bezier(.37,0,.63,1);
}

.player__cue {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500;
  margin: 0; letter-spacing: -0.01em;
}
.player__left { font-size: var(--size-sm); color: var(--ink-muted); margin: 0; }

.player__foot { padding: 0 var(--pad-screen) 34px; text-align: center; }
.player__title { font-size: var(--size-sm); color: var(--ink-muted); margin: 0 0 14px; }
.player__foot .btn { width: 100%; }

/* ── Питання про настрій ───────────────────────────────────────────────── */

.mood {
  position: absolute; inset: 0;
  background: rgba(253,248,243,.97);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  padding: var(--pad-screen);
}
.mood__q {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--size-xl); margin: 0; text-align: center;
}
.mood .chip { font-size: 24px; padding: 12px 14px; }

/* Прибираємо анімацію для тих, хто просив менше руху */
@media (prefers-reduced-motion: reduce) {
  .breath__ring, .breath__core { transition: none; }
}

/* ── Звукові медитації ─────────────────────────────────────────────────── */

.audio-note {
  margin: 10px 0 0;
  padding: 11px 14px;
  background: var(--butter-soft);
  border-radius: var(--radius-inner);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.aplayer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(46,40,35,.4);
  display: flex; align-items: flex-end;
}
.aplayer__body {
  position: relative;
  width: 100%; max-width: 420px; margin: 0 auto;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  padding: 26px 20px 30px;
  text-align: center;
  animation: slideUp .28s ease;
}
.aplayer__close {
  position: absolute; top: 12px; right: 16px;
  width: 34px; height: 34px; border: none; background: none;
  font-size: 24px; color: var(--ink-muted); cursor: pointer; line-height: 1;
}

/* Диск повільно обертається лише під час відтворення —
   так видно, що звук іде, навіть коли гучність вимкнена */
.aplayer__disc {
  width: 118px; height: 118px; margin: 6px auto 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--surface) 26%, transparent 27%),
    conic-gradient(var(--card-pink), var(--card-lilac), var(--card-sage), var(--card-butter), var(--card-pink));
  box-shadow: var(--shadow-card);
}
.aplayer__disc.is-playing { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.aplayer__name {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--size-xl); margin: 0 0 4px;
}
.aplayer__desc { font-size: var(--size-xs); color: var(--ink-muted); margin: 0 0 18px; line-height: 1.5; }

.aplayer__bar {
  height: 5px; background: rgba(46,40,35,.08);
  border-radius: var(--radius-pill); overflow: hidden;
}
.aplayer__bar span {
  display: block; height: 100%; width: 0;
  background: var(--accent); border-radius: var(--radius-pill);
}
.aplayer__time { font-size: 11px; color: var(--ink-muted); margin: 7px 0 18px; }
.aplayer .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .aplayer__disc.is-playing { animation: none; }
}
