/* Polish pass on Version 2: tall rounded buttons, warm dark text, every target at least 44px. */

/* tip strip: sits in the page flow, never on top of anything */
.uistrip{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;cursor:pointer;background:linear-gradient(90deg,#FFE48A,#FFD65A);color:var(--ink);font:700 15px/1.3 Lexend,sans-serif;padding:10px 16px;min-height:44px;text-align:center}
.uistrip span[aria-hidden]{font-weight:800;opacity:.6}
html[data-ui="v2"] .uistrip{display:none}
.empty{display:flex;align-items:center;gap:16px}
.empty img{width:84px;height:auto;flex:none;filter:drop-shadow(0 6px 6px rgba(34,50,26,.18))}
.empty p{margin:0}

/* one spacing and shape scale for Version 2 */
html[data-ui="v2"]{--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--r-s:12px;--r-m:16px;--r-l:20px;--r-xl:28px}

/* trail: a road you can actually see */
.trail path:first-of-type{opacity:.8}
.pal.zz i{color:#1F6FA8}
.path{box-shadow:inset 0 0 0 2px rgba(255,255,255,.7),0 6px 0 var(--ledge),0 18px 40px rgba(55,80,38,.10)}
.nlabel{margin-top:2px}
.stop{gap:10px;margin-bottom:32px}
.unit{margin:8px 0 32px;padding:16px 20px}
.hello{margin-bottom:24px}

/* lessons: short steps sit in the middle instead of leaving a hole underneath */
.l-body{display:flex;flex-direction:column}
.l-card{margin:auto 0;width:100%;padding:8px 0}
.l-card.l-act{max-width:680px;margin-left:auto;margin-right:auto}
html[data-ui="v2"] .dots{gap:8px;margin-bottom:16px}
html[data-ui="v2"] .dots i{height:12px;max-width:none;flex:1;border:0;background:#E9F0D2;border-radius:999px;box-shadow:inset 0 2px 0 rgba(34,50,26,.06)}
html[data-ui="v2"] .dots i.d{background:linear-gradient(180deg,#B9D56E,#8FB548)}
html[data-ui="v2"] .act{padding:24px;border-radius:var(--r-xl)}
html[data-ui="v2"] .act .q{font-size:19px;font-weight:800}
html[data-ui="v2"] .pts{font-weight:800;padding:8px 14px}
html[data-ui="v2"] .choices{gap:12px}
html[data-ui="v2"] .choice{min-height:60px;padding:16px}
.l-top{padding-top:20px}
.l-x{background:#F4F9E0}
.l-pts{background:#FFF4CF;border-radius:999px;padding:8px 14px;box-shadow:inset 0 0 0 2px #F6DE8A}
.l-foot{padding-top:16px}
.l-say{font-size:17px;padding:12px 16px}

/* the buddy naps at the bottom of the side menu on wide screens */
@media (min-width:901px){
  html[data-ui="v2"] .tabs::after{content:"";margin-top:auto;height:150px;background:url(/img/mascot-sleep.png) center bottom/contain no-repeat;filter:drop-shadow(0 8px 8px rgba(34,50,26,.16));animation:breathe 4s ease-in-out infinite;transform-origin:50% 100%}
}
@media (max-width:560px){
  html[data-ui="v2"] .act{padding:18px}
  .l-pts{padding:6px 12px}
  .uistrip{font-size:14px;padding:8px 12px}
}

/* ---- pop-up message: a small designed card instead of a dark pill ---- */
.toast{display:flex;align-items:center;gap:12px;background:#fff;color:var(--ink);border:2px solid var(--line);border-radius:20px;padding:10px 18px 10px 10px;font:600 16px/1.35 Lexend,sans-serif;text-align:left;max-width:min(440px,calc(100vw - 32px));width:max-content;
  box-shadow:0 2px 4px rgba(34,50,26,.08),0 16px 36px rgba(34,50,26,.18);transform:translate(-50%,160%) scale(.96);opacity:0;visibility:hidden;transition:transform .32s cubic-bezier(.2,.9,.3,1.2),opacity .2s ease-out,visibility 0s .32s}
.toast.on{transform:translate(-50%,0) scale(1);opacity:1;visibility:visible;transition:transform .32s cubic-bezier(.2,.9,.3,1.2),opacity .2s ease-out}
.t-ico{flex:none;width:40px;height:40px;border-radius:12px;background:linear-gradient(160deg,#FFF6D6,#E4EEC4);display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1}
.t-img{flex:none;width:56px;height:56px;object-fit:contain;border-radius:14px;background:linear-gradient(160deg,#FFF6D6,#E4EEC4);padding:4px}
.t-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.t-txt b{font-size:17px;font-weight:800;color:var(--deep);line-height:1.25}
.t-txt span{color:var(--ink)}
.toast.big .t-txt span{font-size:15px;color:var(--mute);font-weight:500}
html[data-ui="v2"] .toast{font-family:Nunito,sans-serif;font-weight:700;border-radius:22px;box-shadow:0 5px 0 var(--ledge),0 18px 36px rgba(34,50,26,.18)}
html[data-ui="v2"] .t-txt b{font-weight:900}
body.in-lesson .toast{transform:translate(-50%,-220%) scale(.96)}
body.in-lesson .toast.on{transform:translate(-50%,0) scale(1)}
@media (max-width:560px){.toast{font-size:15px;padding:8px 14px 8px 8px}.t-img{width:48px;height:48px}.t-txt b{font-size:16px}}
