/* =========================================================
   Likkle Coders — v5 Bold Home (IT-Kids inspired)
   Loaded ONLY on the homepage. Scope: .bh-* classes only,
   nothing else in the app is touched.

   Easy revert: remove this <link> from index.html and rename
   renderHome → renderHomeLegacy/renderHomeBold in app.js.
   ========================================================= */

:root{
  --bh-purple:      #6849F0;
  --bh-purple-dk:   #4B2DDB;
  --bh-purple-lt:   #B5A0FF;
  --bh-lime:        #DDFF00;
  --bh-lime-dk:     #B8E600;
  --bh-pink:        #FF6BD0;
  --bh-pink-dk:     #E94CB8;
  --bh-cyan:        #4ED9FF;
  --bh-cyan-dk:     #2BC1F2;
  --bh-cream:       #FFF8E6;
  --bh-bg:          #F4F1FF;
  --bh-ink:         #161235;
  --bh-ink-soft:    #4A4170;
}

/* Body class hook — set when home page is rendered */
body.lc-bold-home{
  background: var(--bh-bg) !important;
}

/* =========================================================
   BOLD HOME — page container
   ========================================================= */
.bh-home{
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.4rem 3rem;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--bh-ink);
}

.bh-home *{ box-sizing: border-box; }

/* =========================================================
   HERO — big purple card with lime CTA
   ========================================================= */
.bh-hero{
  position: relative;
  background: linear-gradient(135deg, var(--bh-purple) 0%, var(--bh-purple-dk) 100%);
  border-radius: 28px;
  padding: 2.4rem 2rem;
  margin: 1.2rem 0 2.6rem;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
  align-items: start;
}
.bh-hero::before,
.bh-hero::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bh-hero::before{
  width: 360px; height: 360px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(78,217,255,.35) 0%, transparent 70%);
}
.bh-hero::after{
  width: 220px; height: 220px;
  bottom: -60px; left: 40%;
  background: radial-gradient(circle, rgba(221,255,0,.18) 0%, transparent 70%);
}

.bh-hero-main{ position: relative; z-index: 2; }
.bh-hero-pill{
  display: inline-block;
  background: var(--bh-lime);
  color: var(--bh-ink);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.bh-hero h1{
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  color: #fff;
}
.bh-hero h1 .bh-accent{
  color: var(--bh-lime);
  position: relative;
}
.bh-hero h1 .bh-strike{
  text-decoration: underline wavy var(--bh-lime);
  text-underline-offset: .25em;
  text-decoration-thickness: .12em;
}
.bh-hero p.bh-hero-sub{
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 460px;
  margin: 0 0 1.6rem;
}
.bh-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  position: relative;
  z-index: 2;
}
.bh-cta{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bh-lime);
  color: var(--bh-ink);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  text-decoration: none !important;
  border: 3px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 8px 24px rgba(184,230,0,.35);
}
.bh-cta:hover{
  transform: translateY(-2px);
  background: var(--bh-lime-dk);
  box-shadow: 0 12px 28px rgba(184,230,0,.45);
}
.bh-cta-ghost{
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 2px solid rgba(255,255,255,.30);
  box-shadow: none;
}
.bh-cta-ghost:hover{
  background: rgba(255,255,255,.20);
  box-shadow: none;
}

/* Hero side card — small info pill */
.bh-hero-side{
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  color: #fff;
}
.bh-hero-side strong{ font-size: 1.15rem; display: block; margin-bottom: .25rem; }
.bh-hero-side span{ font-size: .88rem; color: rgba(255,255,255,.75); display: block; }
.bh-hero-side .bh-burst{
  display: inline-block;
  width: 38px; height: 38px;
  background: var(--bh-lime);
  border-radius: 50%;
  position: relative;
  margin-top: .8rem;
}
.bh-hero-side .bh-burst::before,
.bh-hero-side .bh-burst::after{
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bh-pink);
  border-radius: 50%;
  transform: rotate(45deg) scale(.85);
}
.bh-hero-side .bh-burst::after{
  background: var(--bh-cyan);
  transform: rotate(-25deg) scale(.65);
}

/* responsive */
@media (max-width: 800px){
  .bh-hero{ grid-template-columns: 1fr; padding: 1.8rem 1.4rem; }
  .bh-hero-side{ order: 2; }
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.bh-section{ position: relative; margin: 3rem 0; }
.bh-section-head{
  text-align: center;
  margin: 0 0 2rem;
  padding: 0 1rem;
}
.bh-section-head h2{
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--bh-ink);
}
.bh-section-head h2 .bh-h-pink{ color: var(--bh-pink); }
.bh-section-head h2 .bh-h-purple{ color: var(--bh-purple); }
.bh-section-head h2 .bh-h-cyan{ color: var(--bh-cyan-dk); }

/* Decorative scattered shape */
.bh-deco{
  position: absolute;
  font-size: 3rem;
  pointer-events: none;
  user-select: none;
}


/* =========================================================
   TILTED PROGRAMME CARDS
   ========================================================= */
.bh-prog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  padding: .8rem .4rem;
}
.bh-prog-card{
  background: var(--bh-purple);
  color: #fff;
  border-radius: 22px;
  padding: 1.3rem 1.3rem 1.6rem;
  text-decoration: none !important;
  display: block;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(104,73,240,.20);
}
.bh-prog-card:nth-child(odd){
  transform: rotate(-2deg);
  background: var(--bh-purple);
}
.bh-prog-card:nth-child(even){
  transform: rotate(1.5deg);
  background: var(--bh-purple-dk);
}
.bh-prog-card:hover{
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 18px 40px rgba(104,73,240,.32);
}
.bh-prog-icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bh-lime);
  color: var(--bh-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .8rem;
}
.bh-prog-card h3{
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  color: #fff;
  line-height: 1.2;
}
.bh-prog-card p{
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  margin: 0;
  line-height: 1.45;
}


/* =========================================================
   "FOR DIFFERENT AGES" — yellow band with photo + pills
   ========================================================= */
.bh-ages{
  background: var(--bh-lime);
  border-radius: 28px;
  padding: 2.4rem 2rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}
.bh-ages::before{
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--bh-cyan);
  border-radius: 50%;
  bottom: -100px; left: -80px;
  opacity: .25;
}
.bh-ages-text{ position: relative; z-index: 2; }
.bh-ages-text h2{
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 .9rem;
  color: var(--bh-ink);
}
.bh-ages-text h2 .bh-purple-word{ color: var(--bh-purple); }
.bh-ages-text h2 .bh-pink-word{ color: var(--bh-pink-dk); }
.bh-ages-text p{
  font-size: 1rem;
  color: var(--bh-ink-soft);
  margin: 0 0 1.4rem;
  max-width: 420px;
}

.bh-age-pills{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.bh-age-pill{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bh-purple);
  color: #fff;
  padding: .5rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none !important;
  transition: transform .15s;
}
.bh-age-pill:hover{ transform: translateY(-2px); }
.bh-age-pill-pink{ background: var(--bh-pink); }
.bh-age-pill-cyan{ background: var(--bh-cyan-dk); }

.bh-ages-art{
  position: relative;
  z-index: 2;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bh-ages-art .bh-art-circle{
  position: relative;
  width: clamp(180px, 30vw, 280px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--bh-pink) 0%, var(--bh-purple) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 9vw, 7rem);
  box-shadow: 0 18px 50px rgba(255,107,208,.35);
}
.bh-ages-art .bh-art-plus,
.bh-ages-art .bh-art-star{
  position: absolute;
  font-size: 2rem;
  font-weight: 700;
}
.bh-ages-art .bh-art-plus{ color: var(--bh-cyan-dk); top: 8%; right: 12%; }
.bh-ages-art .bh-art-star{ color: var(--bh-purple); bottom: 10%; left: 6%; }

@media (max-width: 800px){
  .bh-ages{ grid-template-columns: 1fr; padding: 1.8rem 1.4rem; }
}


/* =========================================================
   BIG PROGRAMME PILLS (bottom row, 3 cards)
   ========================================================= */
.bh-prog-pills{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.bh-prog-pill{
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  text-decoration: none !important;
  color: var(--bh-ink);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.bh-prog-pill:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}
.bh-prog-pill .bh-prog-pill-tag{
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 999px;
  margin-bottom: .4rem;
  width: max-content;
}
.bh-prog-pill h4{ font-size: 1.1rem; font-weight: 700; margin: 0; }
.bh-prog-pill p{ font-size: .85rem; color: var(--bh-ink-soft); margin: 0; }
.bh-prog-pill-purple{ border-color: var(--bh-purple); }
.bh-prog-pill-purple .bh-prog-pill-tag{ background: var(--bh-purple); color: #fff; }
.bh-prog-pill-pink{ border-color: var(--bh-pink-dk); }
.bh-prog-pill-pink .bh-prog-pill-tag{ background: var(--bh-pink-dk); color: #fff; }
.bh-prog-pill-cyan{ border-color: var(--bh-cyan-dk); }
.bh-prog-pill-cyan .bh-prog-pill-tag{ background: var(--bh-cyan-dk); color: #fff; }
.bh-prog-pill-lime{ border-color: var(--bh-lime-dk); }
.bh-prog-pill-lime .bh-prog-pill-tag{ background: var(--bh-lime-dk); color: var(--bh-ink); }


/* =========================================================
   HERO MASCOT — animated robot drifting in the lower-right
   corner of the purple hero. Pure CSS, lime + cyan tones to
   pair with the rest of the home palette. Decorative only.
   ========================================================= */
.bh-hero-bot{
  position: absolute;
  z-index: 1;          /* sits between the hero gradient blobs and the text */
  right: 4%;
  bottom: 1.5rem;
  width: 130px;
  height: 160px;
  pointer-events: none;
  animation: bhBotDrift 6s ease-in-out infinite;
}
@keyframes bhBotDrift {
  0%, 100% { transform: translate(0, 0)   rotate(-2deg); }
  25%      { transform: translate(-6px, -8px) rotate(2deg); }
  50%      { transform: translate(0, -14px)   rotate(-1deg); }
  75%      { transform: translate(6px, -6px)  rotate(3deg); }
}

/* The faint shadow on the floor under the robot */
.bh-hero-bot-shadow{
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 14px;
  background: radial-gradient(ellipse, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  animation: bhBotShadow 6s ease-in-out infinite;
}
@keyframes bhBotShadow {
  0%, 100% { width: 90px; opacity: .55; }
  50%      { width: 70px; opacity: .30; }
}

/* The robot body container */
.bh-hero-bot-body{
  position: relative;
  width: 100%; height: 100%;
}

/* Antenna */
.bh-hero-bot-antenna{
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 28px;
  display: flex; flex-direction: column; align-items: center;
}
.bh-hero-bot-antenna-stick{
  width: 3px; height: 18px;
  background: #fff;
  border-radius: 2px;
}
.bh-hero-bot-antenna-bulb{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bh-lime, #DDFF00);
  margin-top: -2px;
  box-shadow:
    0 0 0 2px var(--bh-pink-dk, #E94CB8),
    0 0 18px var(--bh-lime, #DDFF00);
  animation: bhBotBulb 1.6s ease-in-out infinite;
}
@keyframes bhBotBulb {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 2px var(--bh-pink-dk, #E94CB8), 0 0 18px var(--bh-lime, #DDFF00); }
  50%      { transform: scale(1.15); box-shadow: 0 0 0 2px var(--bh-pink-dk, #E94CB8), 0 0 28px var(--bh-lime, #DDFF00); }
}

/* Head — rounded square with a screen face */
.bh-hero-bot-head{
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 64px;
  background: linear-gradient(180deg, #fff 0%, #E8EAF8 100%);
  border-radius: 18px 18px 16px 16px;
  border: 3px solid var(--bh-purple-dk, #4B2DDB);
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,.06),
    0 6px 12px rgba(0,0,0,.18);
}
/* Eyes (cyan glowing dots that blink) */
.bh-hero-bot-eye{
  position: absolute;
  top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bh-cyan, #4ED9FF);
  box-shadow: 0 0 8px var(--bh-cyan, #4ED9FF);
  animation: bhBotBlink 4s infinite;
}
.bh-hero-bot-eye-l{ left: 14px; }
.bh-hero-bot-eye-r{ right: 14px; }
@keyframes bhBotBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  94%, 98%      { transform: scaleY(.1); }
}
/* Mouth (smile) */
.bh-hero-bot-mouth{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 26px; height: 12px;
  border: 3px solid var(--bh-purple-dk, #4B2DDB);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

/* Torso */
.bh-hero-bot-torso{
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 58px;
  background: linear-gradient(180deg, var(--bh-lime, #DDFF00) 0%, var(--bh-lime-dk, #B8E600) 100%);
  border-radius: 14px;
  border: 3px solid var(--bh-purple-dk, #4B2DDB);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.08), 0 6px 12px rgba(0,0,0,.18);
}
.bh-hero-bot-chip{
  position: absolute;
  inset: auto 0 8px 0;
  text-align: center;
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--bh-purple-dk, #4B2DDB);
  letter-spacing: .12em;
}

/* Arms (wave on the right side) */
.bh-hero-bot-arm{
  position: absolute;
  top: 6px;
  width: 14px; height: 36px;
  background: #fff;
  border: 3px solid var(--bh-purple-dk, #4B2DDB);
  border-radius: 8px;
}
.bh-hero-bot-arm-l{
  left: -16px;
  transform-origin: 50% 6px;
  animation: bhBotArmL 2.4s ease-in-out infinite;
}
.bh-hero-bot-arm-r{
  right: -16px;
  transform-origin: 50% 6px;
  animation: bhBotArmR 2.4s ease-in-out infinite;
}
@keyframes bhBotArmL {
  0%, 100% { transform: rotate(8deg); }
  50%      { transform: rotate(-12deg); }
}
@keyframes bhBotArmR {
  0%, 100% { transform: rotate(-50deg); }
  50%      { transform: rotate(-110deg); }   /* the wave! */
}

/* Stars sparkling around the bot */
.bh-hero-bot-spark{
  position: absolute;
  font-size: 1rem;
  color: var(--bh-lime, #DDFF00);
  filter: drop-shadow(0 0 6px rgba(221,255,0,.7));
}
.bh-hero-bot-spark-1{
  top: -4px; left: -10px;
  animation: bhBotSpark 2s ease-in-out infinite;
}
.bh-hero-bot-spark-2{
  top: 50%; right: -14px;
  font-size: .9rem;
  animation: bhBotSpark 2.4s ease-in-out infinite .8s;
}
@keyframes bhBotSpark {
  0%, 100% { opacity: 0; transform: scale(.4); }
  40%      { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

/* Hide on narrow screens — the hero compresses to a single column
   and there's no room for the bot without overlapping the CTAs. */
@media (max-width: 900px){
  .bh-hero-bot{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .bh-hero-bot,
  .bh-hero-bot-shadow,
  .bh-hero-bot-antenna-bulb,
  .bh-hero-bot-eye,
  .bh-hero-bot-arm-l,
  .bh-hero-bot-arm-r,
  .bh-hero-bot-spark{
    animation: none !important;
  }
}

/* =========================================================
   WORD OF THE DAY — big, fun card right under the hero.
   Lime-yellow gradient, oversized word, bouncing emoji burst.
   ========================================================= */
.bh-wotd{
  position: relative;
  background: linear-gradient(135deg, var(--bh-lime, #DDFF00) 0%, #FFE600 60%, #FFB800 100%);
  border-radius: 26px;
  padding: 1.6rem 1.8rem 1.8rem;
  margin: 1.6rem 0 1.4rem;
  color: var(--bh-ink, #161235);
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 18px 40px rgba(255,184,0,.30);
  border: 3px solid #FFF8E6;
  transform: rotate(-.6deg);   /* a small tilt to feel playful */
}
.bh-wotd > *{ position: relative; z-index: 2; }

/* Decorative bursts that drift around the card. */
.bh-wotd-burst{
  position: absolute;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  opacity: .22;
  top: -14px; right: -10px;
  transform: rotate(15deg);
  animation: bhWotdSpin 18s linear infinite;
  pointer-events: none;
}
.bh-wotd-burst--2{
  top: auto; right: auto;
  bottom: -10px; left: -8px;
  font-size: clamp(2rem, 5vw, 3rem);
  opacity: .35;
  animation: bhWotdTwinkle 2.4s ease-in-out infinite;
}
@keyframes bhWotdSpin {
  to { transform: rotate(375deg); }
}
@keyframes bhWotdTwinkle {
  0%, 100% { transform: scale(.85) rotate(-10deg); opacity: .25; }
  50%      { transform: scale(1.15) rotate(15deg); opacity: .55; }
}

.bh-wotd-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; flex-wrap: wrap;
  margin-bottom: .3rem;
}
.bh-wotd-eyebrow{
  display: inline-block;
  background: var(--bh-ink, #161235);
  color: var(--bh-lime, #DDFF00);
  font-weight: 700; font-size: .8rem;
  letter-spacing: .14em;
  padding: .35rem .85rem;
  border-radius: 999px;
}
.bh-wotd-date{
  font-size: .85rem;
  font-weight: 600;
  color: rgba(22,18,53,.65);
}

.bh-wotd-word{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: clamp(2.6rem, 9vw, 5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: .35rem 0 .55rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--bh-ink, #161235);
  text-shadow: 3px 4px 0 rgba(255,255,255,.55);
}

.bh-wotd-meta{
  display: flex; align-items: center; gap: .55rem;
  flex-wrap: wrap;
  margin: 0 0 .8rem;
}
.bh-wotd-pron{
  font-style: italic;
  font-size: 1rem;
  color: rgba(22,18,53,.75);
}
.bh-wotd-pos{
  display: inline-block;
  background: rgba(22,18,53,.10);
  border: 1.5px solid rgba(22,18,53,.18);
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bh-wotd-say{
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--bh-ink, #161235);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .45rem 1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.20);
  transition: transform .12s, box-shadow .12s, background .15s;
}
.bh-wotd-say:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0,0,0,.25);
  background: var(--bh-purple, #6849F0);
}
.bh-wotd-say.is-speaking{
  background: var(--bh-purple, #6849F0);
  animation: bhWotdPulse 1.4s ease-in-out infinite;
}
@keyframes bhWotdPulse {
  0%, 100% { box-shadow: 0 4px 0 rgba(0,0,0,.20), 0 0 0 0 rgba(104,73,240,.45); }
  50%      { box-shadow: 0 4px 0 rgba(0,0,0,.20), 0 0 0 10px rgba(104,73,240,0); }
}

.bh-wotd-def{
  margin: 0 0 .5rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.45;
  color: var(--bh-ink, #161235);
  font-weight: 500;
}
.bh-wotd-eg{
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
  color: rgba(22,18,53,.80);
  background: rgba(255,255,255,.55);
  padding: .6rem .9rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(22,18,53,.18);
}
.bh-wotd-eg strong{ color: var(--bh-purple, #6849F0); }

@media (max-width: 540px){
  .bh-wotd{ transform: none; padding: 1.3rem 1.3rem 1.4rem; }
  .bh-wotd-word{ text-shadow: 2px 3px 0 rgba(255,255,255,.55); }
}
@media (prefers-reduced-motion: reduce){
  .bh-wotd-burst,
  .bh-wotd-burst--2,
  .bh-wotd-say.is-speaking{ animation: none !important; }
}

/* =========================================================
   PEP DAILY STRIP — bold version of the existing banner
   ========================================================= */
.bh-pep{
  background: linear-gradient(135deg, var(--bh-pink) 0%, var(--bh-pink-dk) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 1.6rem 1.6rem;
  margin: 2.4rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: transform .15s;
}
.bh-pep:hover{ transform: translateY(-2px); }
.bh-pep::before{
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
}
.bh-pep-icon{
  position: relative; z-index: 2;
  width: 60px; height: 60px;
  background: var(--bh-lime);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.bh-pep-body{ position: relative; z-index: 2; }
.bh-pep-body strong{
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .15rem;
  color: #fff;
}
.bh-pep-body span{
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.bh-pep-arrow{
  position: relative; z-index: 2;
  font-size: 1.6rem; color: #fff;
  background: rgba(255,255,255,.15);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 640px){
  .bh-pep{ grid-template-columns: auto 1fr; }
  .bh-pep-arrow{ display: none; }
}

/* Junior Daily variant — cyan/purple companion to the pink PEP card.
   Sits directly under the PEP strip on the home page. */
.bh-pep--junior{
  margin-top: -1.2rem;   /* pull up so the two strips read as a pair */
  background: linear-gradient(135deg, var(--bh-cyan) 0%, var(--bh-purple) 100%);
}
.bh-pep--junior::before{
  background: rgba(255,255,255,.14);
}
.bh-pep--junior .bh-pep-icon{
  background: var(--bh-lime);
}


/* =========================================================
   DECORATIVE FLOATING SHAPES — page-level
   ========================================================= */
.bh-floater{
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  z-index: 1;
}
.bh-floater-plus{ color: var(--bh-cyan-dk); font-size: 2.4rem; }
.bh-floater-star{ color: var(--bh-purple); font-size: 2.2rem; }
.bh-floater-burst{ color: var(--bh-pink); font-size: 2.6rem; }


/* =========================================================
   AUTH PAGES — sign-in + sign-up
   Big bold heading w/ mixed colors, mascot character at top,
   floating mint/blue orbs behind, big coral pill CTA.
   ========================================================= */
/* Match the home page exactly — same soft purple-white wash. */
body.lc-auth-page{
  background: var(--bh-bg) !important;
  min-height: 100vh;
}

.bh-auth{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.4rem 1rem 4rem;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  overflow: hidden;
}

/* Floating gradient orbs in the background */
.bh-auth::before,
.bh-auth::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
/* Same blobs the home hero uses: cyan top-right, lime bottom-left. */
.bh-auth::before{
  width: 480px; height: 480px;
  top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(78,217,255,.50) 0%, rgba(78,217,255,0) 70%);
}
.bh-auth::after{
  width: 420px; height: 420px;
  bottom: -120px; left: -90px;
  background: radial-gradient(circle, rgba(221,255,0,.45) 0%, rgba(221,255,0,0) 70%);
}

/* Purple hero card — same gradient + radial blobs the home hero uses. */
.bh-auth-card{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin-top: 1.5rem;
  padding: 2rem 1.6rem 1.8rem;
  background: linear-gradient(135deg, var(--bh-purple) 0%, var(--bh-purple-dk) 100%);
  border-radius: 28px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(75,45,219,.30),
    0 2px 6px rgba(15,30,50,.08);
}
.bh-auth-card::before,
.bh-auth-card::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.bh-auth-card::before{
  width: 280px; height: 280px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(78,217,255,.35) 0%, transparent 70%);
}
.bh-auth-card::after{
  width: 180px; height: 180px;
  bottom: -50px; left: 30%;
  background: radial-gradient(circle, rgba(221,255,0,.20) 0%, transparent 70%);
}
.bh-auth-card > *{ position: relative; z-index: 2; }

/* Mascot character at top — lime sphere on the purple card, just like
   the lime CTAs that sit on the home hero. */
.bh-auth-mascot{
  width: 120px; height: 120px;
  margin: 0 auto 1.2rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--bh-lime) 0%, var(--bh-lime-dk) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow:
    0 18px 40px rgba(184,230,0,.45),
    inset 0 -10px 25px rgba(0,0,0,.10);
  position: relative;
  animation: bh-bob 4s ease-in-out infinite;
}
/* Alt mascot for sign-up — cyan/pink so the two pages feel related but distinct. */
.bh-auth-mascot.bh-auth-mascot--alt{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--bh-cyan) 0%, var(--bh-pink) 100%);
  box-shadow:
    0 18px 40px rgba(255,107,208,.40),
    inset 0 -10px 25px rgba(0,0,0,.10);
}
.bh-auth-mascot::after{
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 12px;
  background: rgba(0,0,0,.08);
  filter: blur(8px);
  border-radius: 50%;
  z-index: -1;
}
@keyframes bh-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Eyebrow — lime pill on the purple card, matching the hero pill. */
.bh-auth-eyebrow{
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--bh-ink);
  background: var(--bh-lime);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.bh-auth-title{
  margin: 0 0 .6rem;
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  text-transform: uppercase;
}
/* All accent variants now use the home palette only. */
.bh-auth-title .bh-blue,
.bh-auth-title .bh-green,
.bh-auth-title .bh-lime  { color: var(--bh-lime); }
.bh-auth-title .bh-purple{ color: var(--bh-purple-lt); }
.bh-auth-title .bh-pink  { color: var(--bh-pink); }
.bh-auth-title .bh-cyan  { color: var(--bh-cyan); }

.bh-auth-sub{
  margin: 0 0 1.6rem;
  font-size: .98rem;
  color: rgba(255,255,255,.80);
  line-height: 1.5;
}

/* Form card — sits on the purple hero card, stays crisp white. */
.bh-auth-form-card{
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.3rem;
  text-align: left;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 20px 50px rgba(15,30,50,.18);
  border: 1px solid rgba(255,255,255,.20);
}

/* The form is the .bh-auth-form-card; each label-row is .bh-auth-label,
   the field itself is an <input>/<select> with class .bh-auth-field. */
.bh-auth-form-card{
  display: flex; flex-direction: column; gap: 1rem;
}
.bh-auth-label{
  display: flex; flex-direction: column;
}
.bh-auth-label-text{
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--bh-ink);
  margin-bottom: .4rem;
}
.bh-auth-hint{
  font-weight: 500;
  letter-spacing: 0;
  color: var(--bh-ink-soft);
  margin-left: .25rem;
}
.bh-auth-field{
  width: 100%;
  padding: .85rem 1rem;
  background: #F4F6FB;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--bh-ink);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.bh-auth-field::placeholder{ color: #9aa0b4; }
.bh-auth-field:focus{
  outline: none;
  background: #fff;
  border-color: var(--bh-purple);
  box-shadow: 0 0 0 4px rgba(104,73,240,.12);
}
/* Mode chip sits on the purple hero card — translucent white pill. */
.bh-auth-mode{
  display: inline-block;
  margin-left: .35rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,.20);
}

.bh-auth-msg{ min-height: 1.2em; font-size: .85rem; font-weight: 600; }

/* CTA — exact same lime pill the home hero uses. */
.bh-auth-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  padding: 1rem 1.4rem;
  background: var(--bh-lime);
  color: var(--bh-ink);
  border: 3px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(184,230,0,.45);
  transition: transform .15s, box-shadow .15s, background .15s;
  margin-top: .3rem;
}
.bh-auth-btn:hover{
  transform: translateY(-2px);
  background: var(--bh-lime-dk);
  box-shadow: 0 14px 30px rgba(184,230,0,.55);
}
.bh-auth-btn:active{ transform: translateY(0); }
.bh-auth-btn-arrow{ font-size: 1.1em; transition: transform .15s; }
.bh-auth-btn:hover .bh-auth-btn-arrow{ transform: translateX(3px); }

.bh-auth-foot{
  text-align: center;
  margin: 1.4rem 0 0;
  font-size: .92rem;
  color: var(--bh-ink-soft);
}
.bh-auth-foot a{
  color: var(--bh-purple);
  font-weight: 700;
  text-decoration: none !important;
}
.bh-auth-foot a:hover{ text-decoration: underline !important; }

/* Tiny floating decorations near the card */
.bh-auth-deco{
  position: absolute;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}
.bh-auth-deco-star1{
  top: 70px; left: 12%;
  font-size: 2rem;
  color: #FFC107;
  animation: bh-twinkle 2.4s ease-in-out infinite;
}
.bh-auth-deco-star2{
  bottom: 90px; left: 16%;
  font-size: 1.6rem;
  color: #16A34A;
  animation: bh-twinkle 2.8s ease-in-out infinite .4s;
}
.bh-auth-deco-plus1{
  top: 180px; right: 14%;
  font-size: 1.8rem;
  color: #3B6BFF;
  animation: bh-twinkle 3s ease-in-out infinite .8s;
}
.bh-auth-deco-plus2{
  top: 50%; left: 8%;
  font-size: 1.5rem;
  color: var(--bh-purple);
  animation: bh-twinkle 3.2s ease-in-out infinite 1.6s;
}
.bh-auth-deco-burst1{
  bottom: 120px; right: 12%;
  font-size: 2.2rem;
  color: var(--bh-pink-dk);
  animation: bh-twinkle 2.6s ease-in-out infinite 1.2s;
}
@keyframes bh-twinkle{
  0%, 100% { opacity: .6; transform: scale(.9) rotate(0deg); }
  50%      { opacity: 1;  transform: scale(1.15) rotate(15deg); }
}
@media (max-width: 640px){
  .bh-auth-deco{ display: none; }
}

/* Onboarding additions — steps strip + email-confirm success +
   verified banner + numeric code field. */
.bh-auth-steps{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin: 0 0 1rem;
  padding: 0;
  font-size: .8rem;
}
.bh-auth-steps li{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .7rem;
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.bh-auth-steps strong{ color: var(--bh-lime, #DDFF00); }

.bh-auth-verified{
  background: rgba(221,255,0,.18);
  border: 1.5px solid var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  padding: .65rem 1rem;
  border-radius: 14px;
  margin: 0 0 1rem;
  font-size: .92rem;
}
.bh-auth-verified--warn{
  background: rgba(255,209,0,.20);
  border-color: #ffb800;
}

.bh-auth-field--code{
  font-family: 'Fira Code', 'Consolas', monospace;
}

/* =========================================================
   AUTH ROLE PICKER — "I'm a Student / I'm a Teacher" landing
   shown on /#/signin and /#/signup before the actual form.
   ========================================================= */
.bh-auth-card--picker{
  max-width: 640px;
}
.bh-auth-role-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin: 1.2rem 0 .5rem;
}
@media (max-width: 560px){
  .bh-auth-role-grid{ grid-template-columns: 1fr; }
}
.bh-auth-role{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: .35rem;
  padding: 1.2rem 1.1rem;
  background: rgba(255,255,255,.10);
  border: 2px solid rgba(255,255,255,.20);
  border-radius: 18px;
  color: #fff;
  text-decoration: none !important;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.bh-auth-role:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.18);
  border-color: var(--bh-lime, #DDFF00);
  box-shadow: 0 14px 30px rgba(0,0,0,.20);
}
.bh-auth-role-emo{
  font-size: 2.2rem;
  line-height: 1;
}
.bh-auth-role strong{
  font-size: 1.05rem;
  color: var(--bh-lime, #DDFF00);
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
}
.bh-auth-role span{
  font-size: .85rem;
  color: rgba(255,255,255,.80);
  line-height: 1.4;
}
.bh-auth-role--student strong{ color: var(--bh-lime, #DDFF00); }
.bh-auth-role--teacher strong{ color: var(--bh-cyan, #4ED9FF); }

.bh-auth-confirm{
  text-align: center;
  padding: .5rem .2rem;
}
.bh-auth-confirm-ico{
  width: 80px; height: 80px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bh-cyan, #4ED9FF), var(--bh-purple, #6849F0));
  border-radius: 50%;
  font-size: 2.4rem;
  box-shadow: 0 14px 30px rgba(104,73,240,.30);
}
.bh-auth-confirm h3{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: 1.3rem;
  margin: 0 0 .5rem;
  color: var(--bh-ink, #161235);
}
.bh-auth-confirm p{
  margin: 0 0 .8rem;
  color: var(--bh-ink-soft, #4A4170);
  line-height: 1.5;
}
.bh-auth-confirm ol{
  text-align: left;
  margin: 0 auto 1rem;
  padding-left: 1.2rem;
  max-width: 360px;
  color: var(--bh-ink-soft, #4A4170);
  line-height: 1.5;
  font-size: .92rem;
}
.bh-auth-confirm ol li{ margin-bottom: .35rem; }
.bh-auth-confirm strong{ color: var(--bh-purple, #6849F0); }

/* =========================================================
   BOLD ABOUT — applies when body.lc-about-page is set.
   Reuses the same purple/lime/cyan palette as the home.
   Existing content stays as-is; the body-scoped overrides
   below quietly recolor .form-card / .value-card / .matters-card
   / .btn / .eyebrow so the page reads as one with the home.
   ========================================================= */
body.lc-about-page{
  background: var(--bh-bg) !important;
}

.bh-about{
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.4rem 3rem;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--bh-ink);
}

/* Hero card — clone of .bh-hero but tuned for About */
.bh-about-hero{
  position: relative;
  background: linear-gradient(135deg, var(--bh-purple) 0%, var(--bh-purple-dk) 100%);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  margin: 1rem 0 1.6rem;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.4rem;
  align-items: center;
}
.bh-about-hero::before,
.bh-about-hero::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bh-about-hero::before{
  width: 340px; height: 340px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(78,217,255,.35) 0%, transparent 70%);
}
.bh-about-hero::after{
  width: 220px; height: 220px;
  bottom: -60px; left: 30%;
  background: radial-gradient(circle, rgba(221,255,0,.18) 0%, transparent 70%);
}
.bh-about-hero-main{ position: relative; z-index: 2; }
.bh-about-hero-main h1{
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  color: #fff;
}
.bh-about-hero-main h1 .bh-accent{
  color: var(--bh-lime);
  text-decoration: underline wavy var(--bh-lime);
  text-underline-offset: .25em;
  text-decoration-thickness: .1em;
}
.bh-about-hero-sub{
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin: 0;
}

/* Side info chip */
.bh-about-hero-side{
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  color: #fff;
  text-align: center;
}
.bh-about-hero-emoji{
  display: block;
  font-size: 2.6rem;
  margin-bottom: .35rem;
}
.bh-about-hero-side strong{
  display: block;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.bh-about-hero-side span{
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.78);
}

@media (max-width: 760px){
  .bh-about-hero{ grid-template-columns: 1fr; padding: 1.6rem 1.3rem; }
  .bh-about-hero-side{ display: none; }
}

/* Tab strip — lime pill for active, white card for inactive */
.bh-about-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.4rem;
}
.bh-about-tab{
  flex: 0 0 auto;
  border: 2px solid rgba(104,73,240,.20);
  background: #fff;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: var(--bh-ink);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.bh-about-tab:hover{
  transform: translateY(-1px);
  border-color: var(--bh-purple);
}
.bh-about-tab.active{
  background: var(--bh-lime);
  color: var(--bh-ink);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(184,230,0,.40);
}

/* =========================================================
   Body-scoped overrides — recolor the existing About markup
   so .form-card / .value-card / .matters-card / .btn / h3
   pick up the home palette without touching the global CSS.
   ========================================================= */

/* Cards inside the About page */
body.lc-about-page .form-card{
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(15,30,50,.06);
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 20px 50px rgba(75,45,219,.08);
  padding: 1.8rem 1.6rem;
  color: var(--bh-ink);
}
body.lc-about-page .form-card h3{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--bh-purple);
  letter-spacing: -.01em;
}
body.lc-about-page .form-card p{ color: var(--bh-ink); }
body.lc-about-page .form-card strong{ color: var(--bh-purple-dk); }
body.lc-about-page .form-card ul li{ line-height: 1.6; }
body.lc-about-page .form-card ul li strong{ color: var(--bh-purple-dk); }

/* "value-card" tiles — the ★ ICT / ★ PEP PREP boxes */
body.lc-about-page .value-strip{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .9rem;
}
body.lc-about-page .value-card{
  background: #fff;
  border: 2px solid rgba(104,73,240,.10);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(75,45,219,.06);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
body.lc-about-page .value-card:hover{
  transform: translateY(-3px);
  border-color: var(--bh-purple);
  box-shadow: 0 14px 30px rgba(75,45,219,.14);
}
body.lc-about-page .value-card .star{
  display: inline-block;
  background: var(--bh-lime);
  color: var(--bh-ink);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}
body.lc-about-page .value-card h3{
  color: var(--bh-purple);
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  text-transform: none;
  font-size: 1.05rem;
}
body.lc-about-page .value-card p{ color: var(--bh-ink); font-size: .92rem; }

/* "Why this matters NOW" callout — purple gradient with lime eyebrow */
body.lc-about-page .matters-card{
  background: linear-gradient(135deg, var(--bh-purple) 0%, var(--bh-purple-dk) 100%);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}
body.lc-about-page .matters-card::after{
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  bottom: -80px; right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221,255,0,.22) 0%, transparent 70%);
  pointer-events: none;
}
body.lc-about-page .matters-card .eyebrow{
  display: inline-block;
  background: var(--bh-lime) !important;
  color: var(--bh-ink) !important;
  padding: .3rem .85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  margin-bottom: .8rem;
  text-transform: uppercase;
}
body.lc-about-page .matters-card h2{
  color: #fff;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.2;
  margin: 0 0 .8rem;
}
body.lc-about-page .matters-card p{ color: rgba(255,255,255,.88); }
body.lc-about-page .matters-card strong{ color: var(--bh-lime); }

/* Buttons inside About — convert to bh-style pills */
body.lc-about-page .form-card .btn,
body.lc-about-page .steam-cta-row .btn{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bh-lime);
  color: var(--bh-ink);
  font-weight: 700;
  font-size: 1rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none !important;
  border: 3px solid transparent;
  box-shadow: 0 8px 22px rgba(184,230,0,.35);
  transition: transform .15s, box-shadow .15s, background .15s;
  margin-top: .8rem;
}
body.lc-about-page .form-card .btn:hover,
body.lc-about-page .steam-cta-row .btn:hover{
  transform: translateY(-2px);
  background: var(--bh-lime-dk);
  box-shadow: 0 12px 28px rgba(184,230,0,.45);
}
body.lc-about-page .form-card .btn.btn-light,
body.lc-about-page .steam-cta-row .btn.btn-light{
  background: #fff;
  color: var(--bh-purple);
  border-color: rgba(104,73,240,.20);
  box-shadow: 0 6px 18px rgba(75,45,219,.10);
}
body.lc-about-page .form-card .btn.btn-light:hover,
body.lc-about-page .steam-cta-row .btn.btn-light:hover{
  border-color: var(--bh-purple);
  background: #fff;
  box-shadow: 0 10px 24px rgba(75,45,219,.18);
}

/* =========================================================
   BOLD MY-CLASS PAGE — body.lc-class-page hook.
   Re-skins the existing green/yellow/black summary cards,
   intro banners, and orange CTAs to use the home palette
   (purple / lime / cyan / pink) without touching markup.
   ========================================================= */
body.lc-class-page{
  background: var(--bh-bg, #F4F1FF) !important;
}

/* Intro callouts */
body.lc-class-page .admin-banner{
  border-radius: 14px !important;
  font-weight: 600;
}
body.lc-class-page .admin-intro{
  background: linear-gradient(135deg, rgba(78,217,255,.10), rgba(104,73,240,.08)) !important;
  border: 1.5px solid rgba(104,73,240,.18) !important;
  border-left: 5px solid var(--bh-purple, #6849F0) !important;
  border-radius: 14px;
  color: var(--bh-ink, #161235);
}
body.lc-class-page .admin-intro strong{ color: var(--bh-purple-dk, #4B2DDB); }
body.lc-class-page .admin-intro .sync-status{
  background: rgba(104,73,240,.10) !important;
  color: var(--bh-purple-dk, #4B2DDB);
}

/* Class summary cards — purple / lime / cyan / pink */
body.lc-class-page .class-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .9rem;
}
body.lc-class-page .cs-card{
  border-radius: 18px;
  padding: 1.2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 14px 30px rgba(75,45,219,.12);
  transition: transform .15s, box-shadow .15s;
}
body.lc-class-page .cs-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(75,45,219,.18);
}
body.lc-class-page .cs-card .cs-num{
  display: block;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}
body.lc-class-page .cs-card .cs-label{
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .35rem;
  opacity: .9;
}
/* Variants — repaint the existing classes so the order remains:
   Students(green→purple), Stars(gold→lime), Streak(black→cyan), Completion(green→pink). */
body.lc-class-page .cs-card.cs-green:first-of-type,
body.lc-class-page .cs-card.cs-green:nth-of-type(1){
  background: linear-gradient(135deg, var(--bh-purple, #6849F0) 0%, var(--bh-purple-dk, #4B2DDB) 100%);
  color: #fff;
}
body.lc-class-page .cs-card.cs-gold{
  background: linear-gradient(135deg, var(--bh-lime, #DDFF00) 0%, var(--bh-lime-dk, #B8E600) 100%);
  color: var(--bh-ink, #161235);
}
body.lc-class-page .cs-card.cs-black{
  background: linear-gradient(135deg, var(--bh-cyan, #4ED9FF) 0%, var(--bh-cyan-dk, #2BC1F2) 100%);
  color: var(--bh-ink, #161235);
}
/* The fourth card is also .cs-green — target it specifically via :nth-of-type. */
body.lc-class-page .cs-card.cs-green:last-of-type,
body.lc-class-page .cs-card.cs-green ~ .cs-card.cs-green{
  background: linear-gradient(135deg, var(--bh-pink, #FF6BD0) 0%, var(--bh-pink-dk, #E94CB8) 100%);
  color: #fff;
}

/* Section headings + roster wrapper */
body.lc-class-page .class-section-row,
body.lc-class-page .class-section-h{
  color: var(--bh-ink, #161235);
}
body.lc-class-page .class-table-wrap{
  background: #fff !important;
  border: 1px solid rgba(104,73,240,.10) !important;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(75,45,219,.06);
}
body.lc-class-page .class-table th{
  background: linear-gradient(180deg, rgba(104,73,240,.08), rgba(104,73,240,.04)) !important;
  color: var(--bh-purple-dk, #4B2DDB) !important;
}
body.lc-class-page .class-table tbody tr:hover{
  background: rgba(104,73,240,.05) !important;
}

/* Buttons — convert orange/red/green to home-palette pills */
body.lc-class-page .btn-wa,
body.lc-class-page .admin-page .btn:not(.btn-light):not(.btn-tiny){
  background: var(--bh-lime, #DDFF00) !important;
  color: var(--bh-ink, #161235) !important;
  border: 3px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(184,230,0,.35) !important;
  font-weight: 700;
}
body.lc-class-page .btn-wa:hover,
body.lc-class-page .admin-page .btn:not(.btn-light):not(.btn-tiny):hover{
  background: var(--bh-lime-dk, #B8E600) !important;
  transform: translateY(-2px);
}

/* "Add a student manually" drawer */
body.lc-class-page .class-add{
  background: #fff !important;
  border: 1.5px solid rgba(104,73,240,.15) !important;
  border-radius: 16px !important;
}
body.lc-class-page .class-add > summary{
  font-weight: 700;
  color: var(--bh-purple-dk, #4B2DDB);
}

/* NSC curriculum coverage block */
body.lc-class-page h3,
body.lc-class-page h2{ color: var(--bh-ink, #161235); }

/* =========================================================
   BOLD CERTIFICATE LIST — empty state + "How to earn" guide
   Uses inline scope (no body class) because this page is reached
   from the profile, not the marketing home.
   ========================================================= */

/* Empty state — soft cream card with mascot + 1-3 quickest paths */
.bh-cert-list .bh-cert-empty{
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1.8rem 1.6rem;
  background: linear-gradient(135deg, #FFF8E6 0%, #fff 100%);
  border: 2px dashed rgba(104,73,240,.18);
  border-radius: 22px;
  text-align: center;
}
.bh-cert-list .bh-cert-empty-mark{
  width: 84px; height: 84px;
  margin: 0 auto 1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--bh-lime, #DDFF00) 0%, var(--bh-lime-dk, #B8E600) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  box-shadow: 0 14px 30px rgba(184,230,0,.40);
  animation: bh-bob 4s ease-in-out infinite;
}
.bh-cert-list .bh-cert-empty h3{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  color: var(--bh-ink, #161235);
  margin: 0 0 .4rem;
}
.bh-cert-list .bh-cert-empty p{ margin: 0 0 1.1rem; }

/* "Fastest start" pills in the empty state */
.bh-cert-list .bh-cert-quick{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .7rem;
  max-width: 580px;
  margin: 0 auto;
}
.bh-cert-list .bh-cert-quick-card{
  display: flex; align-items: center; gap: .55rem;
  padding: .75rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(104,73,240,.18);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--bh-ink, #161235);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 6px 16px rgba(75,45,219,.06);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.bh-cert-list .bh-cert-quick-card:hover{
  transform: translateY(-2px);
  border-color: var(--bh-purple, #6849F0);
  box-shadow: 0 10px 22px rgba(75,45,219,.14);
}
.bh-cert-list .bh-cert-quick-ico{ font-size: 1.3rem; line-height: 1; }
.bh-cert-list .bh-cert-quick-label{ flex: 1 1 auto; }
.bh-cert-list .bh-cert-quick-arrow{ color: var(--bh-purple, #6849F0); font-weight: 700; }

/* "How to earn" panel — always shown so the page stops being a dead end */
.bh-cert-list .bh-cert-how{
  max-width: 1080px;
  margin: 2.4rem auto 0;
  padding: 1.8rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(15,30,50,.06);
  border-radius: 24px;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 20px 50px rgba(75,45,219,.08);
}
.bh-cert-how-head{ text-align: center; margin-bottom: 1.4rem; }
.bh-cert-how-eyebrow{
  display: inline-block;
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}
.bh-cert-how-head h3{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--bh-ink, #161235);
  margin: 0 0 .5rem;
}

.bh-cert-how-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.bh-cert-how-card{
  display: flex; gap: 1rem;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: 18px;
  text-decoration: none !important;
  color: var(--bh-ink, #161235);
  background: #fff;
  border: 2px solid rgba(104,73,240,.10);
  box-shadow: 0 8px 20px rgba(75,45,219,.06);
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.bh-cert-how-card:hover{
  transform: translateY(-3px);
  border-color: var(--bh-purple, #6849F0);
  box-shadow: 0 14px 30px rgba(75,45,219,.14);
}
.bh-cert-how-ico{
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  border-radius: 16px;
  background: rgba(104,73,240,.08);
}
.bh-cert-how-body{ flex: 1 1 auto; min-width: 0; }
.bh-cert-how-body h4{
  margin: 0 0 .25rem;
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--bh-ink, #161235);
}
.bh-cert-how-body p{
  margin: 0 0 .5rem;
  font-size: .9rem;
  color: var(--bh-ink-soft, #4A4170);
  line-height: 1.4;
}
.bh-cert-how-cta{
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--bh-purple, #6849F0);
}

/* Tone variants — change just the icon-tile color so each row reads distinct
   while the cards stay uniform white. */
.bh-cert-how-card--lime   .bh-cert-how-ico{ background: rgba(221,255,0,.30); }
.bh-cert-how-card--purple .bh-cert-how-ico{ background: rgba(104,73,240,.14); }
.bh-cert-how-card--cyan   .bh-cert-how-ico{ background: rgba(78,217,255,.20); }
.bh-cert-how-card--pink   .bh-cert-how-ico{ background: rgba(255,107,208,.18); }
.bh-cert-how-card--lime:hover  { border-color: var(--bh-lime-dk, #B8E600); }
.bh-cert-how-card--cyan:hover  { border-color: var(--bh-cyan-dk, #2BC1F2); }
.bh-cert-how-card--pink:hover  { border-color: var(--bh-pink-dk, #E94CB8); }

@media (max-width: 520px){
  .bh-cert-how-card{ flex-direction: column; }
  .bh-cert-how-ico{ width: 48px; height: 48px; font-size: 1.5rem; }
}

/* =========================================================
   MASTER ADMIN — inline super-admin console scoped to
   body.lc-master-admin. Uses the home palette so it feels
   like part of the main app, not a separate dashboard.
   Scoped to .lc-master-* so it can't bleed into anything else.
   ========================================================= */
body.lc-master-admin{
  background: var(--bh-bg, #F4F1FF) !important;
}
.lc-master{
  font-family: 'Fredoka','Nunito',system-ui,sans-serif;
  color: var(--bh-ink, #161235);
  min-height: calc(100vh - 60px);
}

/* ----- Gate + denied (full-page) ----- */
.lc-master-card{
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15,30,50,.06);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 14px 36px rgba(75,45,219,.10);
  margin: 0 0 1.2rem;
}
.lc-master-gate,
.lc-master-denied,
.lc-master-loading{
  max-width: 460px;
  margin: 3rem auto;
  text-align: center;
  padding: 2.2rem 1.6rem;
}
.lc-master-gate-mascot{
  width: 88px; height: 88px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--bh-purple, #6849F0), var(--bh-purple-dk, #4B2DDB));
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.4rem;
  box-shadow: 0 20px 40px rgba(75,45,219,.30);
}
.lc-master-denied .lc-master-gate-mascot{
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 20px 40px rgba(220,38,38,.30);
}
.lc-master-eyebrow{
  display: inline-block;
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  padding: .3rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.lc-master-eyebrow-warn{ background: #fee2e2; color: #991b1b; }
.lc-master-gate h1,
.lc-master-denied h1{
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 .4rem;
}
.lc-master-sub{ color: var(--bh-ink-soft, #4A4170); margin: 0 0 1.4rem; }
.lc-master-foot{
  font-size: .8rem;
  color: var(--bh-ink-soft, #4A4170);
  margin-top: 1rem;
}

/* ----- Buttons ----- */
.lc-master-btn{
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  border: 3px solid transparent;
  border-radius: 999px;
  padding: .75rem 1.4rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(184,230,0,.35);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.lc-master-btn:hover{
  transform: translateY(-2px);
  background: var(--bh-lime-dk, #B8E600);
}
.lc-master-btn-secondary{
  background: #fff;
  color: var(--bh-purple-dk, #4B2DDB);
  border-color: rgba(104,73,240,.20);
  box-shadow: 0 6px 18px rgba(75,45,219,.10);
}
.lc-master-btn-mini{
  background: var(--bh-purple, #6849F0);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .35rem .9rem;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
  margin: 0 .25rem .25rem 0;
}
.lc-master-btn-mini:hover{ background: var(--bh-purple-dk, #4B2DDB); }
.lc-master-btn-mini.lc-master-btn-secondary{
  background: #fff;
  color: var(--bh-ink, #161235);
  border: 1.5px solid rgba(15,30,50,.18);
}
.lc-master-back-link{
  display: inline-block;
  margin-top: .6rem;
  color: var(--bh-purple, #6849F0);
  font-size: .82rem;
  text-decoration: none !important;
}
.lc-master-back-link:hover{ text-decoration: underline !important; }

/* ----- Shell (sidebar + main) ----- */
.lc-master-shell{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.2rem 3rem;
  min-height: calc(100vh - 60px);
}
@media (max-width: 900px){
  .lc-master-shell{ grid-template-columns: 1fr; }
}
.lc-master-side{
  background: linear-gradient(180deg, var(--bh-purple, #6849F0) 0%, var(--bh-purple-dk, #4B2DDB) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 1.2rem 1rem;
  display: flex; flex-direction: column;
  height: fit-content;
  position: sticky; top: 1rem;
  box-shadow: 0 14px 36px rgba(75,45,219,.20);
}
.lc-master-side-head{
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.1rem; font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 1rem;
}
.lc-master-side-head span{ font-size: 1.6rem; }
.lc-master-side-nav{
  display: flex; flex-direction: column; gap: .25rem;
  flex: 1;
}
.lc-master-side-link{
  display: block;
  padding: .55rem .85rem;
  color: rgba(255,255,255,.85);
  text-decoration: none !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
  transition: background .12s, color .12s;
}
.lc-master-side-link:hover{
  background: rgba(255,255,255,.10);
  color: #fff;
}
.lc-master-side-link.active{
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
}
.lc-master-side-foot{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.lc-master-who{
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  margin: 0 0 .5rem;
  word-break: break-all;
}
.lc-master-main{ min-width: 0; }
.lc-master-title{
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 1rem;
  color: var(--bh-ink, #161235);
}

/* ----- Stat cards (KPI row) ----- */
.lc-master-stat-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .9rem;
  margin-bottom: 1rem;
}
.lc-master-stat{
  display: flex; gap: .9rem; align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.lc-master-stat--purple{ background: linear-gradient(135deg, var(--bh-purple), var(--bh-purple-dk)); }
.lc-master-stat--lime  { background: linear-gradient(135deg, var(--bh-lime), var(--bh-lime-dk)); color: var(--bh-ink); }
.lc-master-stat--cyan  { background: linear-gradient(135deg, var(--bh-cyan), var(--bh-cyan-dk)); color: var(--bh-ink); }
.lc-master-stat--pink  { background: linear-gradient(135deg, var(--bh-pink), var(--bh-pink-dk)); }
.lc-master-stat--coral { background: linear-gradient(135deg, #ff7a4d, #ff5c8e); }
.lc-master-stat-icon{ font-size: 2rem; line-height: 1; }
.lc-master-stat-body{ flex: 1; min-width: 0; }
.lc-master-stat-num{
  font-family: 'Fredoka','Nunito',sans-serif;
  font-size: 1.8rem; line-height: 1; font-weight: 700;
}
.lc-master-stat-label{
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-top: .25rem;
}
.lc-master-stat-sub{
  font-size: .78rem;
  opacity: .85;
  margin-top: .15rem;
}

/* ----- Row layout ----- */
.lc-master-row-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: 1rem;
}
@media (max-width: 760px){ .lc-master-row-2{ grid-template-columns: 1fr; } }
.lc-master-row-2 .lc-master-card{ margin: 0; }
.lc-master-row-2 h3,
.lc-master-card h3{
  margin: 0 0 .6rem;
  font-family: 'Fredoka','Nunito',sans-serif;
  font-size: 1rem;
  color: var(--bh-ink, #161235);
}
.lc-master-mini{
  color: var(--bh-ink-soft, #4A4170);
  font-size: .82rem;
  margin: 0 0 .6rem;
}

/* ----- Charts ----- */
.lc-master-chart{
  width: 100%; height: auto;
  display: block;
}
.lc-master-chart-axis{
  stroke: rgba(20,15,30,.12);
  stroke-width: 1;
}
.lc-master-chart-line{
  fill: none;
  stroke: var(--bh-purple, #6849F0);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.lc-master-chart-dot{
  fill: var(--bh-purple, #6849F0);
}
.lc-master-chart-empty{
  text-align: center;
  padding: 1.6rem;
  color: var(--bh-ink-soft, #4A4170);
  font-size: .88rem;
  background: rgba(104,73,240,.04);
  border-radius: 12px;
  border: 1px dashed rgba(104,73,240,.18);
}
.lc-master-donut-wrap{
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.lc-master-donut-total{
  font-family: 'Fredoka','Nunito',sans-serif;
  font-size: 22px; font-weight: 700;
  fill: var(--bh-ink, #161235);
}
.lc-master-donut-legend{
  list-style: none;
  padding: 0; margin: 0;
  flex: 1; min-width: 0;
  font-size: .85rem;
}
.lc-master-donut-legend li{
  display: flex; align-items: center; gap: .35rem;
  padding: .15rem 0;
}
.lc-master-legend-sw{
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
}

/* ----- Quick links ----- */
.lc-master-quick-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
  margin-top: .4rem;
}
.lc-master-quick{
  display: flex; flex-direction: column;
  padding: 1rem;
  background: #fafbff;
  border: 1.5px solid rgba(104,73,240,.15);
  border-radius: 14px;
  color: var(--bh-ink, #161235);
  text-decoration: none !important;
  font-size: 1.4rem;
  gap: .25rem;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.lc-master-quick:hover{
  transform: translateY(-2px);
  border-color: var(--bh-purple, #6849F0);
  box-shadow: 0 10px 22px rgba(75,45,219,.14);
}
.lc-master-quick strong{ font-size: 1rem; font-family: 'Fredoka','Nunito',sans-serif; }
.lc-master-quick span{ font-size: .82rem; color: var(--bh-ink-soft, #4A4170); }

/* ----- Tables ----- */
.lc-master-table-wrap{
  overflow-x: auto;
  margin: 0 -.4rem;
}
.lc-master-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.lc-master-table th{
  text-align: left;
  padding: .55rem .65rem;
  background: rgba(104,73,240,.06);
  color: var(--bh-purple-dk, #4B2DDB);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1.5px solid rgba(104,73,240,.18);
}
.lc-master-table td{
  padding: .6rem .65rem;
  border-bottom: 1px solid rgba(20,15,30,.05);
  vertical-align: top;
}
.lc-master-table tr:hover td{ background: rgba(104,73,240,.03); }
.lc-master-code{
  display: inline-block;
  font-family: 'Fira Code', 'Consolas', monospace;
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  padding: .15rem .5rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lc-master-pill{
  display: inline-block;
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(20,15,30,.08);
  color: var(--bh-ink, #161235);
}
.lc-master-pill-warn{ background: #fef3c7; color: #92400e; }
.lc-master-pill-ok  { background: #d1fae5; color: #065f46; }

/* ----- Form ----- */
.lc-master-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
@media (max-width: 600px){ .lc-master-form{ grid-template-columns: 1fr; } }
.lc-master-form label{
  display: flex; flex-direction: column;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--bh-ink-soft, #4A4170);
}
.lc-master-form input,
.lc-master-form select{
  width: 100%;
  padding: .55rem .7rem;
  background: #fff;
  border: 1.5px solid rgba(20,15,30,.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--bh-ink, #161235);
}
.lc-master-form input:focus,
.lc-master-form select:focus{
  outline: none;
  border-color: var(--bh-purple, #6849F0);
  box-shadow: 0 0 0 3px rgba(104,73,240,.15);
}
.lc-master-form .lc-master-msg{
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: .82rem;
  font-weight: 700;
}
.lc-master-form button[type="submit"]{
  grid-column: 1 / -1;
  justify-self: start;
}
.lc-master-msg{ min-height: 1.2em; }

/* ----- Empty + loading ----- */
.lc-master-empty{
  text-align: center;
  padding: 1.8rem 1rem;
  color: var(--bh-ink-soft, #4A4170);
  font-size: .92rem;
  background: rgba(104,73,240,.04);
  border-radius: 12px;
  border: 1px dashed rgba(104,73,240,.18);
}
.lc-master-loading-inline{
  text-align: center;
  padding: 2rem 1rem;
  color: var(--bh-ink-soft, #4A4170);
  font-size: .92rem;
}
.lc-master-spinner{
  width: 36px; height: 36px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(104,73,240,.20);
  border-top-color: var(--bh-purple, #6849F0);
  animation: lcMasterSpin 1s linear infinite;
}
@keyframes lcMasterSpin {
  to { transform: rotate(360deg); }
}

/* ----- New: bar chart inside line chart helper (sparse data fallback) ----- */
.lc-master-chart-bar{
  fill: var(--bh-purple, #6849F0);
}
.lc-master-chart-label{
  fill: var(--bh-ink-soft, #4A4170);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Fredoka', 'Nunito', sans-serif;
}

/* ----- 28-day activity heatmap ----- */
.lc-master-heatmap{
  display: flex; flex-direction: column;
  gap: .55rem;
}
.lc-master-heatmap-grid{
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
  padding: .25rem 0;
}
@media (max-width: 480px){
  .lc-master-heatmap-grid{ grid-template-columns: repeat(7, 1fr); }
}
.lc-master-heat-cell{
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #e5e7eb;
  transition: transform .12s;
  cursor: default;
}
.lc-master-heat-cell:hover{ transform: scale(1.15); }
.lc-master-heat-lvl-0{ background: #eef0fc; }
.lc-master-heat-lvl-1{ background: rgba(104,73,240,.30); }
.lc-master-heat-lvl-2{ background: rgba(104,73,240,.60); }
.lc-master-heat-lvl-3{ background: var(--bh-purple, #6849F0); box-shadow: 0 0 0 1px rgba(75,45,219,.30) inset; }
.lc-master-heatmap-foot{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem;
  font-size: .82rem;
}
.lc-master-heatmap-legend{
  display: inline-flex; align-items: center; gap: .25rem;
}
.lc-master-heatmap-legend .lc-master-heat-cell{
  width: 12px; height: 12px;
  aspect-ratio: auto;
}

/* ----- Donut empty-state preview ----- */
.lc-master-donut-empty{
  opacity: .85;
}
.lc-master-donut-empty .lc-master-donut-total{
  fill: var(--bh-ink-soft, #4A4170);
  font-size: 18px;
}

/* ----- Recent-activity feed ----- */
.lc-master-feed{
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: .55rem;
  max-height: 320px;
  overflow-y: auto;
}
.lc-master-feed-row{
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .75rem;
  background: #fafbff;
  border: 1px solid rgba(104,73,240,.08);
  border-radius: 12px;
  font-size: .88rem;
}
.lc-master-feed-row.lc-master-feed-signup{ border-left: 3px solid var(--bh-lime, #DDFF00); }
.lc-master-feed-row.lc-master-feed-request{ border-left: 3px solid var(--bh-pink, #FF6BD0); }
.lc-master-feed-icon{
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.lc-master-feed-body{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  line-height: 1.3;
}
.lc-master-feed-body strong{
  font-size: .9rem;
  color: var(--bh-ink, #161235);
  font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lc-master-feed-body span{
  font-size: .78rem;
  color: var(--bh-ink-soft, #4A4170);
}
.lc-master-feed-when{
  font-size: .72rem;
  color: var(--bh-ink-soft, #4A4170);
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================================
   NOTIFICATIONS — permission-prompt banner
   ========================================================= */
.lc-notify-banner{
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--bh-cyan, #4ED9FF) 0%, var(--bh-purple-lt, #B5A0FF) 100%);
  border-radius: 16px;
  color: var(--bh-ink, #161235);
  flex-wrap: wrap;
}
.lc-notify-emoji{ font-size: 1.8rem; line-height: 1; }
.lc-notify-body{ flex: 1; min-width: 200px; }
.lc-notify-body strong{ display: block; font-weight: 800; }
.lc-notify-body span{ font-size: .88rem; line-height: 1.4; }
.lc-notify-actions{ display: flex; gap: .4rem; }
.lc-notify-yes, .lc-notify-no{
  padding: .5rem 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  border: none;
  transition: transform .12s, box-shadow .12s;
}
.lc-notify-yes{
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  box-shadow: 0 6px 14px rgba(184,230,0,.30);
}
.lc-notify-yes:hover{ transform: translateY(-1px); }
.lc-notify-no{
  background: rgba(255,255,255,.50);
  color: var(--bh-ink, #161235);
}
.lc-notify-no:hover{ background: rgba(255,255,255,.75); }

/* =========================================================
   ONBOARDING TOUR — backdrop + spotlight + popover
   ========================================================= */
.lc-tour-backdrop{
  position: fixed; inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.lc-tour-spotlight{
  position: absolute;
  border-radius: 18px;
  box-shadow:
    0 0 0 4px var(--bh-lime, #DDFF00),
    0 0 0 9999px rgba(15,15,30,.65);
  transition: all .25s ease;
  pointer-events: auto;
}
.lc-tour-popover{
  position: fixed;
  z-index: 1001;
  width: min(360px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 24px 60px rgba(15,15,30,.40);
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--bh-ink, #161235);
  animation: lcTourPop .2s ease-out;
}
@keyframes lcTourPop { from { opacity: 0; transform: translateY(-6px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.lc-tour-step{
  display: inline-block;
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  font-weight: 700;
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.lc-tour-popover h3{
  font-size: 1.1rem;
  margin: 0 0 .4rem;
}
.lc-tour-popover p{
  font-size: .92rem;
  line-height: 1.5;
  color: var(--bh-ink-soft, #4A4170);
  margin: 0 0 .9rem;
}
.lc-tour-actions{
  display: flex; gap: .5rem; justify-content: space-between;
}
.lc-tour-skip{
  background: transparent;
  border: none;
  color: var(--bh-ink-soft, #4A4170);
  font-family: inherit;
  font-size: .85rem;
  cursor: pointer;
  text-decoration: underline;
}
.lc-tour-next{
  background: var(--bh-purple, #6849F0);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: .92rem;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(75,45,219,.30);
  transition: transform .12s;
}
.lc-tour-next:hover{ transform: translateY(-1px); }

/* =========================================================
   CLASS LEADERBOARD — top 5 in My Class
   ========================================================= */
.class-leaderboard{
  background: #fff;
  border: 1px solid rgba(104,73,240,.10);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  box-shadow: 0 8px 22px rgba(75,45,219,.06);
}
.class-leaderboard--empty{ background: #fafbff; }
.lc-leaderboard-list{
  list-style: none;
  padding: 0; margin: .4rem 0 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.lc-leaderboard-row{
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .8rem;
  background: #fafbff;
  border-radius: 12px;
  font-size: .92rem;
  flex-wrap: wrap;
}
.lc-leaderboard-rank-1{ background: linear-gradient(135deg, rgba(221,255,0,.30), #fff); }
.lc-leaderboard-rank-2{ background: linear-gradient(135deg, rgba(78,217,255,.25), #fff); }
.lc-leaderboard-rank-3{ background: linear-gradient(135deg, rgba(255,107,208,.20), #fff); }
.lc-leaderboard-medal{
  font-size: 1.25rem;
  width: 32px; text-align: center; flex-shrink: 0;
  font-family: 'Fredoka', sans-serif;
}
.lc-leaderboard-name{ flex: 1; min-width: 100px; font-weight: 700; }
.lc-leaderboard-grade{ font-size: .78rem; color: var(--bh-ink-soft, #4A4170); }
.lc-leaderboard-stat{ font-size: .85rem; }

/* =========================================================
   PARENT — share row
   ========================================================= */
.parent-share-row{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15,30,50,.08);
}

/* =========================================================
   SKILL TREE — on the student profile
   ========================================================= */
.lc-skilltree{
  display: flex; flex-direction: column; gap: .9rem;
  margin: .5rem 0 1.2rem;
}
.lc-skilltree-branch{
  background: #fff;
  border: 1px solid rgba(104,73,240,.10);
  border-radius: 14px;
  padding: .8rem 1rem;
  box-shadow: 0 4px 12px rgba(75,45,219,.04);
}
.lc-skilltree-branch-head{
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.lc-skilltree-branch-ico{ font-size: 1.3rem; }
.lc-skilltree-branch-label{ flex: 1; }
.lc-skilltree-branch-pct{
  font-size: .78rem;
  color: var(--bh-ink-soft, #4A4170);
  font-weight: 500;
}
.lc-skilltree-bar{
  height: 8px;
  background: rgba(104,73,240,.10);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .6rem;
}
.lc-skilltree-bar-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--bh-lime, #DDFF00), var(--bh-purple, #6849F0));
  border-radius: 999px;
  transition: width .4s ease;
}
.lc-skilltree-nodes{
  display: flex; flex-wrap: wrap; gap: .3rem;
}
.lc-tree-node{
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  background: #f3f4f6;
  color: #9ca3af;
  transition: transform .12s;
}
.lc-tree-node:hover{ transform: scale(1.15); cursor: default; }
.lc-tree-touched{ background: rgba(78,217,255,.30); color: var(--bh-cyan-dk, #2BC1F2); }
.lc-tree-mastered{
  background: var(--bh-lime, #DDFF00);
  color: var(--bh-ink, #161235);
  box-shadow: 0 0 0 2px rgba(184,230,0,.50);
}
.lc-tree-locked{ opacity: .5; }

/* =========================================================
   PIN PAD — on-screen numpad for student sign-in
   Replaces the device keyboard for kids ages 4-9 whose
   typing skills aren't ready. Big tap targets (60px),
   visible state on press, auto-submits on the 4th digit.
   ========================================================= */
.lc-pin-pad{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin: .5rem 0;
}
.lc-pin-key{
  min-height: 60px;
  padding: .8rem;
  background: rgba(255,255,255,.95);
  color: var(--bh-ink, #161235);
  border: 2px solid rgba(255,255,255,.40);
  border-radius: 14px;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform .08s, background .12s, box-shadow .12s;
  box-shadow: 0 4px 0 rgba(0,0,0,.10);
}
.lc-pin-key:hover{ background: #fff; }
.lc-pin-key:active{
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,.10);
  background: var(--bh-lime, #DDFF00);
}
.lc-pin-clear, .lc-pin-back{
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1rem;
  background: rgba(255,255,255,.70);
}

/* Visible digit-count dots above the numpad — kids see them fill in
   as they tap a number, so they know the tap registered. */
.lc-pin-dots{
  display: flex;
  justify-content: center;
  gap: .7rem;
  margin: .3rem 0 .6rem;
}
.lc-pin-dot{
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.50);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.lc-pin-dot-filled{
  background: var(--bh-lime, #DDFF00);
  border-color: var(--bh-lime-dk, #B8E600);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(184,230,0,.40);
}

/* "🌟 START HERE" CTA for first-time visitors — slightly oversized
   + a soft pulse so it draws the eye on a busy home page. Only used
   for the unsigned-in path; signed-in users see the regular .bh-cta. */
.bh-cta.bh-cta-loud{
  font-size: 1.15rem;
  padding: 1.05rem 2rem;
  box-shadow: 0 10px 26px rgba(184,230,0,.45);
  animation: bhCtaPulse 2.2s ease-in-out infinite;
}
.bh-cta.bh-cta-loud:hover{ animation-play-state: paused; }
@keyframes bhCtaPulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(184,230,0,.45);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 14px 36px rgba(184,230,0,.65), 0 0 0 6px rgba(184,230,0,.20);
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce){
  .bh-cta.bh-cta-loud{ animation: none; }
}

/* =========================================================
   BREADCRUMB — picture-led "where am I?" for grade pages
   ========================================================= */
.lc-breadcrumb{
  display: flex; align-items: center; gap: .3rem;
  flex-wrap: wrap;
  margin: 0 0 .9rem;
  font-family: 'Fredoka', 'Nunito', sans-serif;
}
.lc-crumb{
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 44px;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bh-ink, #161235);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none !important;
  border: 1.5px solid rgba(104,73,240,.18);
  box-shadow: 0 4px 12px rgba(75,45,219,.06);
  transition: transform .12s, border-color .12s;
}
.lc-crumb:hover{
  transform: translateY(-1px);
  border-color: var(--bh-purple, #6849F0);
}
.lc-crumb-here{
  background: var(--bh-lime, #DDFF00);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(184,230,0,.30);
  cursor: default;
}
.lc-crumb-here:hover{ transform: none; }
.lc-crumb-sep{
  color: var(--bh-ink-soft, #4A4170);
  font-size: 1.1rem;
  user-select: none;
}

/* =========================================================
   "TOP 3 FOR TODAY" — simplified action row on grade pages
   ========================================================= */
.lc-top3{
  margin: 1.2rem 0 1.4rem;
}
.lc-top3-title{
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 .7rem;
  color: var(--bh-ink, #161235);
}
.lc-top3-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
}
.lc-top3-card{
  display: flex; flex-direction: column;
  gap: .25rem;
  padding: 1.1rem 1.1rem 1rem;
  background: #fff;
  border: 2px solid rgba(104,73,240,.12);
  border-radius: 18px;
  text-decoration: none !important;
  color: var(--bh-ink, #161235);
  box-shadow: 0 8px 22px rgba(75,45,219,.06);
  transition: transform .15s, border-color .15s, box-shadow .15s;
  min-height: 130px;
}
.lc-top3-card:hover{
  transform: translateY(-3px);
  border-color: var(--bh-purple, #6849F0);
  box-shadow: 0 14px 30px rgba(75,45,219,.14);
}
.lc-top3-ico{
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .3rem;
}
.lc-top3-card strong{
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1rem;
}
.lc-top3-card span{
  font-size: .85rem;
  color: var(--bh-ink-soft, #4A4170);
}

/* =========================================================
   CLASS WEEKLY GOAL — group quest banner in My Class
   ========================================================= */
.lc-classgoal{
  background: linear-gradient(135deg, rgba(78,217,255,.10) 0%, rgba(104,73,240,.10) 100%);
  border: 1.5px solid rgba(104,73,240,.18);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}
.lc-classgoal-hit{
  background: linear-gradient(135deg, rgba(221,255,0,.30) 0%, rgba(184,230,0,.30) 100%);
  border-color: var(--bh-lime-dk, #B8E600);
}
.lc-classgoal-head{
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}
.lc-classgoal-emoji{ font-size: 1.8rem; }
.lc-classgoal-head > div{ flex: 1; min-width: 0; }
.lc-classgoal-head strong{ display: block; font-family: 'Fredoka', sans-serif; font-size: 1.05rem; }
.lc-classgoal-head .muted{ font-size: .88rem; }
.lc-classgoal-bar{
  height: 12px;
  background: rgba(255,255,255,.60);
  border-radius: 999px;
  overflow: hidden;
}
.lc-classgoal-bar-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--bh-cyan, #4ED9FF) 0%, var(--bh-purple, #6849F0) 100%);
  border-radius: 999px;
  transition: width .4s ease;
}
.lc-classgoal-hit .lc-classgoal-bar-fill{
  background: linear-gradient(90deg, var(--bh-lime, #DDFF00) 0%, var(--bh-lime-dk, #B8E600) 100%);
}

