/* Session screens + widgets. One item on screen at a time, everything reachable
   by a 9-year-old thumb, no hidden gestures. */

.session-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 12px 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.session-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px 14px;
}
.session-top .who { font-weight: 800; font-size: 1.05rem; }

.seg-dots { display: flex; gap: 8px; }
.seg-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line);
}
.seg-dot.done { background: var(--leaf); }
.seg-dot.now { background: var(--sun); transform: scale(1.25); }

.item-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seg-label { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: uppercase; }

.prompt { font-size: 1.5rem; font-weight: 700; }
.prompt.small { font-size: 1.2rem; }

.answer-display {
  font-size: 2rem;
  font-weight: 800;
  min-height: 58px;
  border-bottom: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
}
.answer-display.filled { border-color: var(--leaf); }

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
}
.keypad button {
  font-size: 1.5rem;
  font-weight: 800;
  min-height: 60px;
  padding: 8px;
}
.keypad .key-ok { background: var(--leaf); color: #fff; }
.keypad .key-util { background: var(--sky-soft); color: var(--sky); }

.choices { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.choices button { font-size: 1.15rem; font-weight: 700; text-align: left; padding: 16px 20px; }
.choices button.picked-right { background: var(--leaf); color: #fff; }
.choices button.picked-wrong { background: var(--berry-soft); color: var(--berry); }

.hint-row { display: flex; gap: 10px; align-items: center; }
.hint-bubble {
  background: var(--sun-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 1rem;
  color: #7a5a12;
}

.help-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--sky-soft);
  color: var(--sky);
  flex-shrink: 0;
}
.help-btn.pulse { animation: gentle-pulse 1.6s ease-in-out infinite; }
@keyframes gentle-pulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 0 0 8px rgba(77, 143, 209, 0.18); }
}
.help-btn.pinged { background: var(--sky); color: #fff; }

.feedback-flash {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
}
.feedback-flash.good { background: var(--leaf-soft); color: var(--leaf-deep); }
.feedback-flash.retry { background: var(--sun-soft); color: #7a5a12; }
.feedback-flash.shown { background: var(--sky-soft); color: var(--sky); }

.faces {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.faces button {
  font-size: 1.9rem;
  width: 74px; height: 74px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  padding: 4px;
}
.faces .face-label { font-size: 0.55rem; font-weight: 700; color: var(--ink-soft); }

.we-step { display: flex; flex-direction: column; gap: 14px; }
.we-shown {
  background: var(--leaf-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1.15rem;
}
.we-ask { font-weight: 800; font-size: 1.1rem; }

.barmodel { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
.bm-row { display: flex; align-items: stretch; gap: 4px; }
.bm-part {
  border: 3px solid var(--leaf-deep);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
  font-weight: 800;
  background: var(--leaf-soft);
  min-width: 64px;
}
.bm-part.unknown { background: var(--sun-soft); border-color: var(--sun); }
.bm-brace { text-align: center; font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }

.interstitial { text-align: center; padding: 40px 16px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.interstitial .big { font-size: 1.6rem; font-weight: 800; }

.garden-row { font-size: 1.7rem; letter-spacing: 0.15em; }
.reflect-skill {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.reflect-skill .mini-faces { display: flex; gap: 8px; }
.reflect-skill .mini-faces button { font-size: 1.3rem; width: 52px; height: 52px; border-radius: 50%; padding: 0; }
.reflect-skill .mini-faces button.picked { background: var(--leaf-soft); }

.progressbar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progressbar > div { height: 100%; background: var(--leaf); border-radius: 999px; transition: width 0.4s ease; }
