/* ===========================================================
   Acorn Study — Shared components used on the landing page
   (subset of the app's component library: mascot + mastery)
   =========================================================== */

/* ---- Mascot ---- */
.mascot {
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, oklch(0.97 0.03 140), oklch(0.91 0.05 145));
  box-shadow: inset 0 -3px 6px oklch(0.5 0.08 150 / 0.16), var(--shadow-sm);
  flex: none;
}
.mascot-face { line-height: 1; filter: drop-shadow(0 1px 1px oklch(0.4 0.05 150 / 0.22)); }

/* ---- Mastery bar ---- */
.mastery { display: flex; align-items: center; gap: 10px; }
.mastery-track { flex: 1; height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.mastery-fill { height: 100%; border-radius: 999px; transition: width calc(0.6s * var(--speed)) cubic-bezier(.2,.8,.3,1); }
.mastery-pct { font-weight: 800; font-size: 0.82rem; min-width: 34px; text-align: right; }
