@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500&display=swap');
/* ─── EAT Strategy Player — Design A „Stille" (warm & klar) ── */
.eat-strategy-root {
  --es-bg:          #f0eeea;
  --es-card:        #faf8f6;
  --es-primary:     #5f7c6e;
  --es-fg:          #24302a;
  --es-muted:       #8a9a90;
  --es-border:      #ddd9d3;
  --es-yes-bg:      #2b3c32;
  --es-yes-fg:      #f7f5f2;
  --es-no-bg:       #d96c4a;
  --es-no-fg:       #fff;
  --es-radius:      1.25rem;
  --es-font:        'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --es-title-font:  'Playfair Display', Georgia, serif;

  font-family: var(--es-font);
  background: radial-gradient(ellipse at 65% 0%, #ecf1ec, #f5f3ef 55%, #f0eeea);
  border-radius: var(--es-radius);
  padding: 2.75rem 2.25rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 8px 40px rgba(46,56,48,.12), 0 2px 8px rgba(46,56,48,.06);
  border: 1px solid rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}
.eat-strategy-root::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(95,124,110,.55) 50%, transparent);
  pointer-events: none;
}

.eat-strategy-root * { box-sizing: border-box; }

/* states */
.es-loading,
.es-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0;
  color: var(--es-muted);
  font-size: .875rem;
}

.es-spinner {
  width: 2.25rem; height: 2.25rem;
  border: 2px solid rgba(95,124,110,.18);
  border-top-color: var(--es-primary);
  border-radius: 50%;
  animation: es-spin .9s linear infinite;
}
@keyframes es-spin { to { transform: rotate(360deg); } }

.es-error { color: #b94a4a; }
.es-error svg { width: 2.5rem; height: 2.5rem; }

.es-retry {
  margin-top: .5rem;
  padding: .6rem 1.8rem;
  background: linear-gradient(135deg, #3a4f43, var(--es-yes-bg));
  color: var(--es-yes-fg);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-size: .875rem;
  font-family: var(--es-font);
  box-shadow: 0 6px 20px rgba(43,60,50,.25), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, opacity .2s;
}
.es-retry:hover { transform: scale(1.04); opacity: .92; }

/* player */
.es-player { display: flex; flex-direction: column; gap: 0; }

.es-header { text-align: center; margin-bottom: 2.25rem; }
.es-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--es-primary);
  opacity: .85;
  margin: 0 0 .75rem;
  font-weight: 500;
}
.es-title {
  font-family: var(--es-title-font);
  font-size: 1.55rem;
  font-weight: 400;
  font-style: italic;
  color: var(--es-fg);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* progress */
.es-progress-wrap { margin-bottom: 2rem; }
.es-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--es-primary) 0%, rgba(221,217,211,.7) 0%);
  cursor: pointer;
  outline: none;
  display: block;
  transition: height .15s;
}
.es-progress:hover { height: 7px; }
.es-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #fff;
  border: 2.5px solid var(--es-primary);
  border-radius: 50%;
  margin-top: -6px;
  box-shadow: 0 2px 8px rgba(95,124,110,.35);
}
.es-progress::-moz-range-thumb {
  width: 16px; height: 16px;
  background: #fff;
  border: 2.5px solid var(--es-primary);
  border-radius: 50%;
}
.es-times {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--es-muted);
  margin-top: .625rem;
  font-variant-numeric: tabular-nums;
}

/* play button */
.es-controls { display: flex; justify-content: center; }
.es-play-btn {
  width: 5.25rem; height: 5.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a4f43, var(--es-yes-bg));
  color: var(--es-yes-fg);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--es-font);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  box-shadow: 0 6px 24px rgba(46,56,48,.28), 0 2px 8px rgba(46,56,48,.16), inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
}
.es-play-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 32px rgba(46,56,48,.35), 0 4px 12px rgba(46,56,48,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.es-play-btn:disabled { opacity: .45; cursor: default; transform: none; }
.es-play-btn svg { width: 1.85rem; height: 1.85rem; fill: currentColor; }
.es-play-btn .es-spinner {
  width: 1.75rem; height: 1.75rem;
  border-color: rgba(255,255,255,.3);
  border-top-color: #fff;
}

/* pause overlay — Checkpoint */
.es-pause-overlay {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem;
  animation: es-fade-in .45s ease;
}
@keyframes es-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.es-question {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--es-fg);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.es-checkpoint-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.es-yes-btn, .es-no-btn {
  padding: .875rem 2rem;
  border: none;
  border-radius: 3rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--es-font);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  min-width: 140px;
}

.es-yes-btn {
  background: linear-gradient(135deg, #3a4f43, var(--es-yes-bg));
  color: var(--es-yes-fg);
  box-shadow: 0 8px 28px rgba(43,60,50,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.es-yes-btn:hover { transform: scale(1.04); box-shadow: 0 10px 32px rgba(43,60,50,.35), inset 0 1px 0 rgba(255,255,255,.08); }

.es-no-btn {
  background: linear-gradient(135deg, #e0805e, var(--es-no-bg));
  color: var(--es-no-fg);
  box-shadow: 0 8px 28px rgba(217,108,74,.28), inset 0 1px 0 rgba(255,255,255,.15);
}
.es-no-btn:hover { transform: scale(1.04); box-shadow: 0 10px 32px rgba(217,108,74,.35), inset 0 1px 0 rgba(255,255,255,.15); }

.es-voice-hint {
  font-size: .75rem;
  color: var(--es-muted);
  margin: 0;
  text-align: center;
  letter-spacing: .04em;
}

.es-mic {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem;
}
.es-mic-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,124,110,.3) 0%, rgba(95,124,110,0) 70%);
  animation: es-pulse 2.2s ease-in-out infinite;
}
@keyframes es-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.55); opacity: .55; }
}
.es-mic-icon {
  position: relative; z-index: 1;
  background: var(--es-card);
  border: 1.5px solid rgba(95,124,110,.35);
  border-radius: 50%;
  padding: .6rem;
  color: var(--es-primary);
  display: flex;
  box-shadow: 0 2px 10px rgba(95,124,110,.2);
}
.es-mic-icon svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
