/* Home chrome + lesson map */
.home { background: var(--navy); }
.home-content { position: absolute; left: 0; top: 0; width: 1356px; height: 900px; overflow: hidden; }

.rail { position: absolute; right: 0; top: 0; width: 244px; height: 900px; background: var(--navy); border-radius: 36px 0 0 36px; display: flex; flex-direction: column; align-items: center; padding-top: 58px; gap: 18px; z-index: 30; }
.rail-tab { width: 172px; height: 180px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--white); transition: background .2s; }
.rail-tab.active { background: var(--white); color: var(--navy); }
.rail-icon { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.rail-icon .mascot { margin-top: 26px; }
.rail-label { font-weight: 700; font-size: 29px; }

.topbar { position: absolute; left: 52px; top: 44px; display: flex; align-items: center; gap: 36px; z-index: 25; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.teachers-pill { height: 70px; padding: 0 30px 0 10px; border-radius: 999px; background: var(--white); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 30px; box-shadow: 0 4px 0 rgba(34,23,80,.18); }
.tp-icon { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #FFB8D2; display: grid; place-items: center; }
.tp-icon .mascot { margin-top: 14px; }
.guides-btn { width: 80px; height: 80px; display: grid; place-items: center; }
.learner-badge { height: 60px; padding: 0 26px 0 12px; border-radius: 14px; background: rgba(34,23,80,.72); color: var(--white); font-weight: 700; font-size: 30px; display: flex; align-items: center; gap: 12px; }
.lb-check { width: 38px; height: 38px; border-radius: 50%; background: #2F5BD8; display: grid; place-items: center; }

.map-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; touch-action: pan-y; cursor: grab; }
.map-scroll::-webkit-scrollbar { display: none; }
.map-canvas { position: relative; width: 1356px; }
.band, .road { position: absolute; left: 0; }
.road { top: 0; pointer-events: none; }
.map-letter { position: absolute; pointer-events: none; animation: letterIdle 2.4s ease-in-out infinite alternate; }
.map-letter:nth-child(2n) { animation-delay: -1.2s; }
@keyframes letterIdle { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-8px) rotate(2deg); } }

.puck { position: absolute; width: 140px; height: 96px; transition: transform .15s var(--ease-out); }
.puck:active { transform: scale(.94); }
.puck-n { position: absolute; left: 0; right: 0; top: 22px; text-align: center; font-weight: 700; font-size: 38px; color: var(--white); }
.puck.locked .puck-n { color: #E9E6F5; }
.puck-star { position: absolute; right: -6px; top: -20px; }
.puck.is-current { z-index: 3; }

.here { position: absolute; width: 92px; height: 92px; z-index: 4; pointer-events: none; animation: hereBob 1.1s ease-in-out infinite alternate; }
.here svg { border-radius: 50%; box-shadow: 0 0 0 6px #FFFFFF, 0 10px 0 6px rgba(34,23,80,.18); }
.here::after { content: ''; position: absolute; left: 36px; top: 100px; border: 11px solid transparent; border-top: 14px solid #FFFFFF; }
@keyframes hereBob { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.signpost { position: absolute; width: 120px; height: 150px; z-index: 2; }
.sp-star { position: absolute; right: -18px; top: -14px; }

/* lesson card (modal) */
.lesson-card-wrap { position: absolute; inset: 0; z-index: 300; }
.lesson-card { position: absolute; left: 360px; top: 150px; width: 880px; min-height: 590px; background: var(--white); border-radius: 44px; padding: 100px 90px 60px; box-shadow: 0 30px 80px rgba(34,23,80,.25); }
.lesson-card h2 { margin: 0; font-size: 72px; font-weight: 700; }
.lc-sparkle { position: absolute; right: 50px; top: 34px; display: flex; gap: 8px; align-items: flex-start; }
.lc-status { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--muted); font-weight: 700; font-size: 30px; }
.lc-status svg { background: var(--green); border-radius: 50%; padding: 3px; }
.lc-goal { font-size: 38px; line-height: 1.35; color: #4A4270; margin: 28px 0 44px; }
.lc-goal b { color: var(--navy); }
.lc-play { height: 100px; padding: 0 44px 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 22px; font-size: 38px; font-weight: 700; background: var(--purple); color: var(--white); }
.lc-play.again { background: var(--white); color: var(--navy); border: 4px solid var(--grey-line); }
.lc-play svg:first-child { border-radius: 50%; }
.lc-locked { display: inline-flex; gap: 14px; align-items: center; font-size: 32px; font-weight: 700; color: #8C84AD; background: #F0EEF7; padding: 20px 30px; border-radius: 24px; }
.lc-note { margin: 34px 0 0; color: var(--muted); font-size: 28px; display: flex; gap: 12px; align-items: center; }
.lc-note i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: #CFCBDD; color: var(--white); display: grid; place-items: center; font-size: 22px; font-weight: 700; }

/* milestone card */
.milestone-wrap { position: absolute; inset: 0; z-index: 320; background: #DAA774; background-image: repeating-linear-gradient(0deg, transparent 0 150px, rgba(160,100,50,.18) 150px 156px); }
.ms-x { position: absolute; right: 50px; top: 40px; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.ms-x svg { width: 34px; height: 34px; }
.milestone-card { position: absolute; left: 230px; top: 120px; width: 1140px; min-height: 620px; background: var(--white); border-radius: 50px; box-shadow: 0 16px 0 rgba(120,70,30,.25); display: flex; gap: 44px; padding: 80px 90px; }
.ms-sparkle { position: absolute; right: -24px; top: -30px; }
.ms-badge { flex: none; width: 170px; height: 196px; background: #FDD782; border-radius: 30px 30px 90px 90px; display: grid; place-items: center; box-shadow: inset 0 -10px 0 #FDC061; }
.ms-badge svg { border-radius: 50%; border: 6px solid #FFFFFF; }
.ms-lesson { font-size: 34px; font-weight: 700; color: #6F6792; }
.milestone-card h2 { margin: 6px 0 10px; font-size: 58px; }
.milestone-card p { margin: 0; font-size: 38px; line-height: 1.45; color: #6F6792; }

.tab-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; background: #32256B; color: var(--white); }
.tab-soon svg { border-radius: 50%; }

/* grown-up gate */
.gate { position: absolute; inset: 0; z-index: 800; background: rgba(34,23,80,.7); display: grid; place-items: center; }
.gate-card { position: relative; width: 820px; background: var(--white); border-radius: 44px; padding: 60px 70px; text-align: center; }
.gate-card h2 { margin: 0; font-size: 56px; }
.gate-card p { font-size: 34px; color: #6F6792; margin: 16px 0 24px; }
.gate-card p b { color: var(--purple); }
.gate-x { position: absolute; right: 26px; top: 26px; width: 70px; height: 70px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.gate-x svg { width: 30px; height: 30px; }
.gate-dots { display: flex; justify-content: center; gap: 18px; margin-bottom: 26px; }
.gate-dots i { width: 26px; height: 26px; border-radius: 50%; border: 4px solid var(--purple); }
.gate-dots i.on { background: var(--purple); }
.gate-keys { display: grid; grid-template-columns: repeat(3, 150px); gap: 20px; justify-content: center; }
.gate-keys button { height: 110px; border-radius: 26px; background: #EFEAFE; font-size: 52px; font-weight: 700; color: var(--navy); }
.gate-keys button:active { background: var(--purple-soft); }

/* ---------- themed worlds (generated art) ---------- */
.map-canvas { background: #9ED6FF; }
.map-sky { position: absolute; left: 0; top: 0; width: 1356px; }
.world-img { position: absolute; left: 0; width: 1356px; height: 2034px; display: block; user-select: none; -webkit-user-drag: none; z-index: 1;
  /* worlds fade softly over the painted transition band tucked under their edges (round 5) */
  -webkit-mask-image: linear-gradient(transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%); }
.seam { position: absolute; left: 0; pointer-events: none; z-index: 1; filter: drop-shadow(0 -6px 10px rgba(255, 255, 255, .7)); }
.world-banner { position: absolute; left: 40px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 26px; border-radius: 999px; background: var(--c); color: #FFFFFF;
  box-shadow: 0 8px 0 var(--ink), 0 14px 26px rgba(0, 0, 0, .18); pointer-events: none; }
.world-banner b { font-size: 24px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .28); }
.world-banner span { font-size: 40px; font-weight: 700; text-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.world-banner img { height: 96px; margin: -30px -10px -30px 4px; filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .2)); }
.map-pal { position: absolute; z-index: 2; animation: palIdle 2.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.map-pal img { display: block; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .22)); pointer-events: none; }
.map-pal .pal-bubble { position: absolute; left: 50%; top: -58px; transform: translateX(-50%) scale(.4); opacity: 0; white-space: nowrap; padding: 10px 22px; border-radius: 22px;
  background: #FFFFFF; color: var(--c); font-size: 30px; font-weight: 700; box-shadow: 0 6px 0 rgba(0, 0, 0, .15); transition: all .25s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.map-pal.hop { animation: palHop .7s cubic-bezier(.3, 1.4, .5, 1) 2; z-index: 6; }
.map-pal.hop .pal-bubble { opacity: 1; transform: translateX(-50%) scale(1); }
@keyframes palIdle { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes palHop { 0% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.12, .86); } 45% { transform: translateY(-70px) scale(.94, 1.08) rotate(-6deg); } 75% { transform: translateY(0) scale(1.08, .92); } 100% { transform: none; } }
.lc-world { display: inline-block; margin-bottom: 14px; padding: 8px 22px; border-radius: 999px; color: #FFFFFF; font-size: 26px; font-weight: 700; }
.lc-pal { position: absolute; right: -40px; top: -110px; height: 210px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .2)); animation: palIdle 2.2s ease-in-out infinite alternate; }
.world-bg { position: absolute; left: 0; width: 1356px; height: 2034px; }
/* road and stops ride over the cloud seams between worlds */
.road { z-index: 2; }
.puck { z-index: 3; }
.world-banner { z-index: 3; }
.signpost { z-index: 3; }

/* ---------- round 2: transitions, fog, earned friends, painted stops ---------- */
.transition { position: absolute; left: 0; width: 1356px; display: block; z-index: 0; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%); }
.world-img.veiled { filter: blur(7px) saturate(.55) brightness(1.05); }
.world-fog { position: absolute; left: 0; top: 0; width: 1356px; z-index: 7;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.55) 0 120px, transparent 260px) 0 0 / 1356px 900px,
    radial-gradient(circle at 78% 62%, rgba(255,255,255,.5) 0 140px, transparent 300px) 0 0 / 1356px 900px,
    linear-gradient(to top, rgba(226,232,252,0) 0, rgba(226,232,252,.72) 300px, rgba(214,220,246,.9) 900px); }
.fog-clouds { position: absolute; left: 0; filter: drop-shadow(0 8px 14px rgba(120,130,190,.25)); }
.fog-lock { position: absolute; left: 50%; width: 640px; margin-left: -320px; padding: 34px 40px 30px; border-radius: 44px; background: #FFFFFF; text-align: center;
  box-shadow: 0 10px 0 rgba(34,23,80,.12), 0 24px 50px rgba(34,23,80,.18); }
.fl-icon { width: 92px; height: 92px; margin: -80px auto 10px; border-radius: 50%; background: var(--c); display: grid; place-items: center; box-shadow: 0 6px 0 var(--ink); }
.fl-icon svg { width: 44px; height: 44px; }
.fog-lock h3 { margin: 0; font-size: 46px; color: var(--ink); }
.fog-lock p { margin: 8px 0 18px; font-size: 32px; font-weight: 700; color: #6F6792; }
.fl-pals { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.fl-pals img { height: 110px; filter: brightness(0) opacity(.22); }

.map-pal { touch-action: none; cursor: pointer; }
.map-pal.earned { cursor: grab; }
.map-pal.dragging { cursor: grabbing; z-index: 8; animation: none; transform: scale(1.12) rotate(-4deg); }
.map-pal.dragging img { filter: drop-shadow(0 26px 14px rgba(0,0,0,.28)); }
.map-pal.mystery img { filter: brightness(0) opacity(.42) drop-shadow(0 0 2px rgba(255,255,255,.9)); }
.map-pal.mystery { animation-duration: 3.4s; }
.pal-q { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: #FFFFFF; color: #5031F5;
  font-size: 50px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 0 rgba(34,23,80,.18); pointer-events: none; }
.map-pal.talk .pal-bubble { opacity: 1; transform: translateX(-50%) scale(1); }
.map-pal.talk { z-index: 6; }
.pal-hop { animation: palHop .7s cubic-bezier(.3, 1.4, .5, 1) 2; transform-origin: 50% 100%; }

.puck.token { width: 150px; height: 120px; display: grid; place-items: center; }
.stop-img { position: absolute; left: 0; top: 0; filter: drop-shadow(0 8px 4px rgba(0,0,0,.22)); pointer-events: none; }
.puck.token .puck-n { top: 26px; text-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 10px rgba(0,0,0,.25); }
.puck.token.locked .stop-img { filter: grayscale(.85) brightness(.9) drop-shadow(0 8px 4px rgba(0,0,0,.18)); }
.puck.token.is-current .stop-img { animation: stopGlow 1.2s ease-in-out infinite alternate; }
@keyframes stopGlow { from { filter: drop-shadow(0 0 0 #FFF) drop-shadow(0 8px 4px rgba(0,0,0,.22)); } to { filter: drop-shadow(0 0 18px #FFF) drop-shadow(0 8px 4px rgba(0,0,0,.22)); } }

/* new friend party */
.friend-party { position: absolute; inset: 0; z-index: 340; background: rgba(34,23,80,.55); display: grid; place-items: center; }
.fp-card { position: relative; width: 760px; margin-top: 60px; padding: 210px 60px 46px; border-radius: 50px; background: #FFFFFF; text-align: center; box-shadow: 0 14px 0 var(--ink), 0 30px 70px rgba(0,0,0,.3); }
.fp-rays { position: absolute; left: 50%; top: -150px; width: 460px; height: 460px; margin-left: -230px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--c) 0 12deg, transparent 12deg 24deg); opacity: .35; animation: spin 9s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.fp-pal { position: absolute; left: 50%; top: -120px; height: 310px; transform: translateX(-50%); filter: drop-shadow(0 16px 10px rgba(0,0,0,.25)); }
.fp-kicker { margin: 0; font-size: 34px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: 3px; }
.fp-card h2 { margin: 4px 0 8px; font-size: 76px; color: var(--ink); }
.fp-sub { margin: 0 0 30px; font-size: 32px; line-height: 1.35; color: #6F6792; }
.fp-go { height: 100px; padding: 0 80px; border-radius: 999px; background: var(--c); color: #FFFFFF; font-size: 44px; font-weight: 700; box-shadow: 0 8px 0 var(--ink); }
.rail-icon img { width: 112px; height: 132px; margin-top: 30px; object-fit: cover; object-position: 50% 0; filter: drop-shadow(0 4px 3px rgba(0,0,0,.18)); }
.rail-tab:active .rail-icon img, .rail-tab:hover .rail-icon img { transform: translateY(-6px) rotate(-4deg); transition: transform .2s; }
.puck.token { margin: -18px 0 0 -5px; }
.map-letter img { display: block; filter: drop-shadow(0 8px 5px rgba(0,0,0,.2)); }
.puck.token .puck-n { color: #FFFFFF; text-shadow: 3px 0 0 #221750, -3px 0 0 #221750, 0 3px 0 #221750, 0 -3px 0 #221750, 2px 2px 0 #221750, -2px -2px 0 #221750, 2px -2px 0 #221750, -2px 2px 0 #221750, 0 6px 0 rgba(34,23,80,.35); }
.puck.token.locked .puck-n { color: #ECE9F6; }
.map-letter .ml-bar { position: absolute; left: 22%; right: 22%; top: -16px; height: 14px; border-radius: 7px; background: #221750; box-shadow: 0 0 0 4px #FFFFFF; }

/* ---------- round 5: tappable world toys (js/toys.mjs) ---------- */
.map-toy { position: absolute; z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; animation: toyIdle 3s ease-in-out infinite alternate; }
.map-toy:nth-of-type(3n) { animation-delay: -1.4s; }
.map-toy img { display: block; filter: drop-shadow(0 8px 5px rgba(0, 0, 0, .22)); pointer-events: none; }
@keyframes toyIdle { from { translate: 0 0; } to { translate: 0 -6px; } }
.toy-bit { position: absolute; z-index: 9; width: 16px; height: 16px; border-radius: 50%; pointer-events: none; }
.toy-flame { position: absolute; left: 50%; bottom: -70px; width: 56px; height: 90px; margin-left: -28px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(ellipse at 50% 20%, #FFF8C0 0 15%, #FFB020 40%, #FF5A10 65%, transparent 75%); animation: toyFlame .18s ease-in-out infinite alternate; }
@keyframes toyFlame { from { transform: scaleY(.85); } to { transform: scaleY(1.2); } }

/* ---------- round 5: the learner's explorer + sidekick (js/explorer.mjs) ---------- */
.explorer { position: absolute; z-index: 5; padding: 0; border: 0; background: none; cursor: pointer; }
.explorer img { display: block; position: relative; z-index: 1; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .25)); pointer-events: none; }
.explorer:not(.walking) img { animation: exIdle 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes exIdle { from { translate: 0 0; } to { translate: 0 -6px; } }
.ex-ring { position: absolute; left: 50%; bottom: -14px; width: 150px; height: 46px; margin-left: -75px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 6px rgba(80, 49, 245, .55); animation: exRing 1.6s ease-in-out infinite alternate; }
@keyframes exRing { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.05); opacity: 1; } }
.ex-sidekick { position: absolute; z-index: 4; pointer-events: none; animation: exHop .5s ease-in-out infinite alternate; }
.ex-sidekick img { display: block; filter: drop-shadow(0 8px 5px rgba(0, 0, 0, .22)); }
@keyframes exHop { from { translate: 0 0; } to { translate: 0 -14px; } }

/* ---------- round 6: pick-your-explorer, the closet, explorer face badges (js/explorers.mjs) ---------- */
.av-face { display: inline-block; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFF6D8, #FDD782); box-shadow: inset 0 0 0 3px rgba(255,255,255,.7); vertical-align: middle; flex: none; }
.av-face img { width: 170%; height: auto; margin-left: -35%; margin-top: -4%; display: block; }
.xp-wrap, .xc-wrap { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(34, 23, 80, .72); }
.xp-card, .xc-card { position: relative; background: #FFFFFF; border-radius: 40px; padding: 36px 48px 40px; box-shadow: 0 16px 0 rgba(0,0,0,.18); text-align: center; animation: xpIn .4s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes xpIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.xp-card h2 { margin: 0 0 18px; font-size: 64px; color: #221750; }
.xp-kids { display: flex; gap: 26px; }
.xp-kid, .xc-kid, .xc-fit { border: 0; cursor: pointer; border-radius: 30px; background: #F4F1FB; padding: 14px 18px 8px; transition: transform .15s; }
.xp-kid img { display: block; animation: exIdle 1.6s ease-in-out infinite alternate; }
.xp-kid:hover, .xc-kid:hover, .xc-fit:not(.locked):hover { transform: translateY(-6px); }
.xp-kid.picked { background: #FFE58A; transform: scale(1.08); }
.xc-card { display: flex; gap: 34px; align-items: center; padding: 30px 40px; max-width: 1480px; }
.xc-x { position: absolute; right: -18px; top: -18px; width: 72px; height: 72px; border-radius: 50%; border: 0; background: #FF5C8A; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.xc-me { position: relative; width: 300px; display: grid; place-items: end center; min-height: 360px; background: radial-gradient(ellipse at 50% 92%, rgba(34,23,80,.12) 0 30%, transparent 32%); }
.xc-me > img:first-child { height: 340px; width: auto; animation: exIdle 1.6s ease-in-out infinite alternate; }
.xc-side { position: absolute; left: -10px; bottom: 6px; height: 120px; animation: exHop .5s ease-in-out infinite alternate; }
.xc-panels { text-align: left; }
.xc-panels h3 { margin: 6px 0 8px; font-size: 30px; color: #221750; }
.xc-row { display: flex; gap: 14px; margin-bottom: 8px; }
.xc-kid img, .xc-fit img { display: block; height: 130px; width: auto; }
.xc-kid.on, .xc-fit.on { background: #FFE58A; box-shadow: inset 0 0 0 5px #FFB547; }
.xc-fit { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 20px; font-weight: 700; color: #221750; }
.xc-fit.locked { cursor: default; background: #ECE9F6; }
.xc-fit.locked img { filter: brightness(0) opacity(.25); }
.xc-fit.locked span { display: flex; align-items: center; gap: 6px; background: #8C84AD; color: #FFFFFF; border-radius: 999px; padding: 2px 12px; font-size: 17px; }
.xc-fit.locked span svg { width: 18px; height: 18px; }
.xc-badges { display: grid; grid-template-columns: repeat(8, 92px); gap: 8px 10px; }
.xb-medal { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .35; filter: grayscale(1); }
.xb-medal.on { opacity: 1; filter: none; }
.xb-disc { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; overflow: hidden; background: radial-gradient(circle at 40% 35%, #FFF3B0, #FDC061 70%); box-shadow: 0 0 0 5px #F2A93B, 0 5px 0 5px rgba(0,0,0,.12); }
.xb-disc img { width: 82%; height: 82%; object-fit: contain; }
.xb-ribbon { width: 36px; height: 14px; background: linear-gradient(90deg, #FF5C8A 50%, #5BC0EB 50%); border-radius: 3px 3px 0 0; }
.xb-medal b { font-size: 12px; color: #221750; text-align: center; line-height: 1.1; max-width: 92px; }
.xc-note { margin: 8px 0 0; font-size: 22px; color: #6B6390; font-weight: 600; }

/* round 6: guides are world friends (art.mjs mascot) + the activity's prop; Parents / Teachers pill icon */
.mascot-pal { position: relative; display: inline-grid; place-items: end center; }
.mascot-pal > img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(0,0,0,.18)); }
.mascot-pal .mp-prop { position: absolute; right: -4%; bottom: 2%; filter: drop-shadow(0 4px 3px rgba(0,0,0,.2)); }
.tp-icon img { width: 100%; height: 100%; object-fit: cover; }
