/* MLO landing pages and menus in the NEW look (2026-11-10): the Real-World English
   landing + level pages + Specials, the Phonics landing and sub-level hubs, the Level 3
   track pages, the review-checkpoint menus and the Game Studio.
   Loaded after each page's own styles. Emoji used as icons are replaced in the markup
   by <span class="mlo-badge|mlo-inl" data-ico="…">, drawn by design-system/icons.js. */

/* Gold-outlined icon badge — sized from the font-size of the box it sits in,
   so a hero (66px) gets a big badge and a card (40px) a smaller one. */
.mlo-badge {
  display: inline-grid; place-items: center; vertical-align: middle; line-height: 1;
  width: 1.35em; height: 1.35em; border: 2px solid var(--gold); border-radius: 0.3em;
  color: var(--gold); background: rgba(15,10,46,0.25);
}
.mlo-badge svg { width: 0.72em; height: 0.72em; }
/* An icon inside a line of text */
.mlo-inl { display: inline-block; vertical-align: -0.16em; color: var(--gold); line-height: 1; }
.mlo-inl svg { width: 1.08em; height: 1.08em; display: block; }

/* Titles: cream with a gold highlight, no pink italics */
h1 em, h2 em, .title em, .hub-title em, .level-hero h1 em, .hero h1 em, .title-main em {
  color: var(--gold) !important; font-style: normal !important;
  -webkit-text-fill-color: var(--gold); background: none !important;
}

/* ── Real-World English landing, level pages and Specials ─────────── */
.hero .em { font-size: 60px; line-height: 1; margin-bottom: 6px; }
.tier, .u, .special, .special.xmas, .special.sum {
  background: linear-gradient(180deg, rgba(74,45,140,0.62), rgba(58,34,116,0.55));
  border: 2px solid rgba(254,246,228,0.1); box-shadow: 0 8px 24px rgba(10,6,30,0.35);
}
a.tier:hover, a.u:hover, .special:hover { border-color: rgba(244,200,66,0.7); }
.tier .em { font-size: 38px; margin-bottom: 6px; }
.special .e { font-size: 34px; }
.u .n { font-size: 15px; }
.u .n .mlo-badge { font-size: 26px; }
.tier .tag, .special .go { color: var(--gold); }

/* ── Phonics landing ──────────────────────────────────────────────── */
.hero-cauldron { font-size: 64px; filter: none; animation: none; }
.phonics-icon { font-size: 34px; filter: none; }

/* ── Small "Mid-Term / Final review" badges on the Phonics hubs ───── */
.star .mlo-badge { font-size: 0.85em; }
