/* ============================================
   Lumnix - Home de Jornada (Journey Home)
   Glassmorphism, Lumis, acessibilidade
   ============================================ */

/* ---------------- Boas-vindas + Habilidades ---------------- */
.welcome-xp-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  grid-template-areas: 'left right';
  gap: 24px;
  margin: 18px 0 22px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(96, 153, 255, 0.18), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(72, 211, 196, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(14, 18, 28, 0.96) 0%, rgba(10, 14, 22, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.welcome-xp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 32%);
  pointer-events: none;
}

.welcome-xp-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
  padding-right: 2px;
}

.welcome-xp-right {
  grid-area: right;
  border-left: 1px solid rgba(255,255,255,0.10);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.welcome-greeting {
  margin: 0;
  font-size: clamp(1.9rem, 2.4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.welcome-gradient {
  background: linear-gradient(90deg, #007aff 0%, #5856d6 25%, #af52de 50%, #ff3b30 75%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-name {
  color: #fff;
  -webkit-text-fill-color: #fff;
  white-space: nowrap;
}

.welcome-sub {
  margin: 0;
  color: rgba(234,242,255,0.74);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 54ch;
}

.welcome-xp-title {
  margin: 0 0 12px 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(234,242,255,0.54);
  font-weight: 700;
}

.welcome-xp-right .skills-xp-grid {
  margin: 0;
  max-width: none;
}

.welcome-xp-right #skills-bars .skill-xp-item {
  padding: 12px;
  min-height: 0;
}

@media (max-width: 900px) {
  .welcome-xp-card {
    grid-template-columns: 1fr;
    grid-template-areas: 'left' 'right';
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  .welcome-xp-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-left: 0;
    padding-top: 16px;
  }

  .welcome-greeting {
    font-size: clamp(1.65rem, 4vw, 2.2rem);
  }
}

/* ---------------- Jornada do dia (dentro do card) ---------------- */
.welcome-journey {
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  min-width: 0;
  transform: none;
}

.welcome-xp-left #hero-retention-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.journey-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.journey-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.journey-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.journey-card-title {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  background: linear-gradient(90deg, #007aff 0%, #5856d6 25%, #af52de 50%, #ff3b30 75%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.journey-card-sub {
  margin: 6px 0 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  line-height: 1.45;
}

.welcome-journey .journey-eyebrow {
  font-size: 0.62rem;
}

.welcome-journey .journey-card-title {
  font-size: 1.1rem;
}

.welcome-journey .journey-card-sub {
  font-size: 0.8rem;
  margin-top: 4px;
}

.journey-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 16px 0;
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  transform: translateX(4px);
}

.journey-stage-square {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  aspect-ratio: 1 / 1;
  padding: 6px 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.26);
  color: #fff;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  min-width: 0;
}

.journey-stage-square:hover {
  transform: translateY(-3px);
  border-color: rgba(120,181,255,0.40);
  box-shadow: 0 16px 34px rgba(0,0,0,0.32);
}

.journey-stage-square.is-current {
  background: linear-gradient(180deg, rgba(0,122,255,0.20), rgba(255,255,255,0.05));
  border-color: rgba(120,220,255,0.8);
  box-shadow: 0 0 22px rgba(0,122,255,0.42);
}

.journey-stage-square.is-done {
  opacity: 1;
  border-color: rgba(52,199,123,0.55);
  background: linear-gradient(180deg, rgba(52,199,123,0.12), rgba(255,255,255,0.04));
}

.journey-square-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
}

.journey-stage-square.is-done .journey-square-badge {
  background: rgba(52,199,123,0.3);
  border-color: #34c77b;
  color: #7dffc0;
}

.journey-stage-square.is-current .journey-square-badge {
  border-color: #4dc3ff;
  box-shadow: 0 0 12px rgba(77,195,255,0.7);
  animation: journeyDotPulse 2.4s ease-in-out infinite;
}

@keyframes journeyDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(77,195,255,0.5); }
  50% { box-shadow: 0 0 20px rgba(77,195,255,0.9); }
}

.journey-square-emoji {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(120,220,255,0.35));
}

.journey-square-name {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.journey-square-meta {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.journey-progress-wrap {
  margin: 2px 0 14px 0;
  position: relative;
  z-index: 1;
  max-width: 390px;
  width: 100%;
}

.journey-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.journey-progress-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.journey-progress-pct {
  font-size: 0.78rem;
  color: #4dc3ff;
  font-weight: 600;
}

.journey-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.journey-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #007aff, #af52de, #ff3b30);
  box-shadow: 0 0 12px rgba(175,82,222,0.7);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.journey-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
  transform: translateX(4px);
  margin-top: -2px;
}

.welcome-journey .journey-cta-row {
  max-width: 100%;
}

.journey-cta {
  flex: 1;
  min-width: 150px;
  padding: 11px 18px;
  border: 1px solid rgba(0,122,255,0.72);
  border-radius: 14px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,122,255,0.36), rgba(88,86,214,0.18));
  box-shadow: 0 8px 24px rgba(0,122,255,0.22);
  transition: all 0.25s ease;
  transform: translateX(0);
}

.journey-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,122,255,0.32);
  border-color: rgba(120,220,255,0.95);
}

.journey-cta:active {
  transform: translateY(0) scale(0.98);
}

.journey-cta-secondary {
  flex: 1;
  min-width: 130px;
  padding: 11px 18px;
  border-radius: 14px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,122,255,0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.25s ease;
}

.journey-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(120,220,255,0.72);
  box-shadow: 0 12px 30px rgba(0,122,255,0.18);
}

.journey-cta-secondary.surprise-only {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.journey-cta-secondary.surprise-only:hover {
  border-color: rgba(120,220,255,0.52);
  box-shadow: 0 10px 26px rgba(0,0,0,0.20);
}

.journey-cta:focus-visible,
.journey-cta-secondary:focus-visible,
.journey-stage-square:focus-visible {
  outline: 3px solid rgba(77,195,255,0.9);
  outline-offset: 2px;
}

/* ---------------- Dica do dia (canto) ---------------- */
.journey-tip-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.journey-tip-card h4 {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.4px;
  white-space: normal;
}

.journey-tip-card > div {
  min-width: 0;
}

.journey-tip-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.journey-tip-text {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  font-style: italic;
}

.journey-tip-card .support-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 900;
  color: #fff;
}

.journey-tip-card .support-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
}

.journey-tip-card .support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.journey-tip-card .support-actions button {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,122,255,.42);
  background: linear-gradient(135deg, rgba(0,122,255,0.36), rgba(88,86,214,0.18));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.journey-tip-card .support-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.journey-tip-card .support-box {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  box-sizing: border-box;
}

.journey-tip-card .support-box .support-title {
  margin: 0 0 4px 0;
}

.journey-tip-card .support-box .support-desc {
  margin: 0 0 10px 0;
}

.journey-tip-card .support-box button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,122,255,.42);
  background: linear-gradient(135deg, rgba(0,122,255,0.36), rgba(88,86,214,0.18));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.hero-retention-actions .hero-retention-card {
  border-radius: 14px;
  border: 1px solid rgba(0,122,255,0.42);
  background: linear-gradient(135deg, rgba(0,122,255,0.26), rgba(255,255,255,0.05));
}

.hero-retention-actions .hero-retention-cta {
  border-radius: 14px;
  border: 1px solid rgba(0,122,255,0.42);
  background: linear-gradient(135deg, rgba(0,122,255,0.36), rgba(88,86,214,0.18));
  box-shadow: 0 8px 24px rgba(0,122,255,0.22);
}

.hero-retention-actions .hero-retention-cta.green {
  border-color: rgba(0,122,255,0.42);
  background: linear-gradient(135deg, rgba(0,122,255,0.30), rgba(88,86,214,0.16));
}

@media (max-width: 700px) {
  .journey-tip-card .support-row {
    flex-direction: column;
  }

  .journey-tip-card .support-box button {
    white-space: normal;
  }
}

/* ---------------- Jogo Eu Quero (bloco para famílias) ---------------- */
.welcome-iwant-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52,199,123,0.16), rgba(0,122,255,0.1));
  border: 1px solid rgba(82,219,160,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.welcome-iwant-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.welcome-iwant-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(82,219,160,0.4));
}

.welcome-iwant-copy {
  min-width: 0;
}

.welcome-iwant-title {
  margin: 0 0 4px 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
}

.welcome-iwant-desc {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
}

.welcome-iwant-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #34c77b 0%, #007aff 100%);
  box-shadow: 0 8px 24px rgba(52,199,123,0.35);
  transition: all 0.25s ease;
}

.welcome-iwant-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(52,199,123,0.5);
}

.welcome-iwant-btn:focus-visible {
  outline: 3px solid rgba(82,219,160,0.9);
  outline-offset: 2px;
}

/* ---------------- Conclusão ---------------- */
.journey-done-screen {
  text-align: center;
  padding: 8px 0;
  position: relative;
  z-index: 1;
}

.journey-done-lumis {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(52,199,123,0.55);
  box-shadow: 0 0 40px rgba(52,199,123,0.5);
  animation: journeyLumisFloat 5s ease-in-out infinite;
}

.journey-done-lumis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes journeyLumisFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.journey-done-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7dffc0;
  margin: 0 0 6px 0;
  text-shadow: 0 0 20px rgba(52,199,123,0.6);
}

.journey-done-text {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

/* ---------------- Redução de movimento ---------------- */
@media (prefers-reduced-motion: reduce) {
  .journey-done-lumis,
  .journey-stage-square.is-current .journey-square-badge {
    animation: none !important;
  }

  .journey-progress-fill,
  .journey-cta,
  .journey-cta-secondary,
  .journey-stage-square,
  .welcome-iwant-btn {
    transition: none !important;
  }
}

/* Installation choices stay compact while remaining easy to select. */
#settings .install-platform-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

#settings .install-platform-grid .install-platform-button {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 132px !important;
  margin: 0 !important;
  padding: 16px 8px !important;
  font-size: 0.9rem !important;
  line-height: 1.2;
}

/* The installation section shares the Settings card surface; platform choices keep their own accents. */
#settings .install-tile {
  border: 1px solid rgba(153, 182, 255, 0.16) !important;
  background: linear-gradient(145deg, rgba(8, 20, 42, 0.67), rgba(7, 13, 30, 0.55)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

#settings .install-platform-grid .install-platform-button:focus-visible {
  outline: 3px solid rgba(221, 250, 255, 0.92);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  #settings .install-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  #settings .install-platform-grid .install-platform-button {
    min-height: 110px !important;
    padding: 13px 8px !important;
    font-size: 0.82rem !important;
  }
}

body.reduced-fx .journey-done-lumis,
body.reduced-fx .journey-stage-square.is-current .journey-square-badge {
  animation: none !important;
}

/* ---------------- Estado incompleto (gate de perfil) ---------------- */
body.normal-profile-incomplete .welcome-journey .journey-cta,
body.normal-profile-incomplete .welcome-journey .journey-cta-secondary,
body.normal-profile-incomplete .journey-stage-square,
body.normal-profile-incomplete .welcome-iwant-btn {
  opacity: 1 !important;
  filter: none !important;
}

/* ---------------- Mobile ---------------- */
@media (max-width: 600px) {
  .welcome-journey .journey-card-title {
    font-size: 1rem;
  }

  .journey-cta-row {
    flex-direction: column;
  }

  .journey-cta,
  .journey-cta-secondary {
    min-width: 0;
    width: 100%;
  }

  .journey-stages {
    gap: 8px;
  }

  .journey-square-emoji {
    font-size: 1.35rem;
  }

  .journey-square-name {
    font-size: 0.54rem;
  }
}

/* ---------------- Home composition ---------------- */
/* The page keeps the existing features, but separates the journey from the
   secondary information so the primary action remains immediately visible. */
body.lumnixapp-page {
  background-color: #060817;
  background-image:
    linear-gradient(90deg, rgba(3, 7, 22, 0.42), rgba(3, 7, 22, 0.16) 48%, rgba(3, 7, 22, 0.4)),
    url('../img/hero.png');
  background-position: center, center top;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

#kids .welcome-xp-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

#kids .welcome-xp-card::before {
  display: none;
}

#kids .home-journey-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.82fr);
  align-items: start;
  justify-content: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(160, 187, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(80, 124, 255, 0.22), transparent 36%),
    radial-gradient(circle at 96% 92%, rgba(37, 214, 191, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(10, 23, 53, 0.78), rgba(6, 13, 31, 0.66));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#kids .home-journey-shell .journey-home-panel,
#kids .home-journey-shell .journey-side-card,
#kids .home-journey-shell .home-how-it-works {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

#kids .home-journey-shell .home-journey-aside {
  border-color: transparent;
  background: transparent;
}

#kids .home-journey-shell .home-journey-aside .home-skills-section {
  border-color: rgba(100, 180, 255, 0.3) !important;
  background:
    radial-gradient(ellipse at center, rgba(100, 180, 255, 0.25), transparent 70%),
    linear-gradient(135deg, rgba(0, 100, 180, 0.15), rgba(0, 150, 220, 0.08)) !important;
  box-shadow:
    0 0 60px rgba(100, 180, 255, 0.4),
    0 0 100px rgba(100, 200, 255, 0.2) inset,
    0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

#kids .home-journey-shell .journey-explore-card,
#kids .home-journey-shell .journey-explore-card:nth-child(3n + 2),
#kids .home-journey-shell .journey-explore-card:nth-child(3n) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

#kids .home-journey-shell .journey-resume-item,
#kids .home-journey-shell .journey-resume-thumb,
#kids .home-journey-shell .journey-install-button,
#kids .home-journey-shell .skill-xp-item {
  border-color: rgba(100, 180, 255, 0.28) !important;
  background: linear-gradient(135deg, rgba(0, 100, 180, 0.15), rgba(0, 150, 220, 0.08)) !important;
}

#kids .home-journey-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 20px;
}

#kids .home-journey-greeting {
  margin: 0 0 24px;
  text-align: center;
}

#kids .home-journey-greeting h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#kids .home-journey-greeting .welcome-name,
#kids .journey-highlight {
  color: #d2a8ff;
  -webkit-text-fill-color: #d2a8ff;
  text-shadow: 0 0 24px rgba(173, 113, 255, 0.36);
}

#kids .home-journey-greeting p {
  margin: 12px 0 0;
  color: rgba(244, 248, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.35;
}

#kids .home-journey-main .profile-required-banner {
  margin: 0 0 18px;
}

#kids #recommended-games-home {
  display: none !important;
}

#kids .welcome-journey,
#kids #journey-main-card {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

#kids .journey-home-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  gap: 18px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#kids .journey-hero-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  gap: 11px;
  padding-top: 0;
  text-align: left;
}

#kids .journey-card-greeting {
  padding-top: 2px;
  text-align: left;
}

#kids .journey-card-greeting h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 3.7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.04;
}

#kids .journey-card-greeting .journey-greeting-hero-color {
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 30%, #a78bfa 60%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

#kids .journey-card-greeting .journey-highlight {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: none;
}

#kids .journey-hero-title {
  max-width: 42ch;
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.42;
  text-align: left;
}

#kids .journey-cta-row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100% !important;
  place-self: start;
  align-items: stretch;
  gap: 12px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  transform: none;
}

#kids .journey-cta-row > .journey-cta:not(.journey-cta-secondary) {
  flex: 1 1 280px;
  justify-self: start;
  text-align: center;
  width: auto !important;
}

#kids .journey-cta,
#kids .journey-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 84px !important;
  padding: 16px 24px !important;
  border: 1px solid rgba(218, 202, 255, 0.9) !important;
  border-radius: 24px !important;
  color: #fff !important;
  background: linear-gradient(105deg, #4e78ff 0%, #8659f2 50%, #bd5be9 100%) !important;
  box-shadow: 0 12px 32px rgba(92, 105, 255, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: clamp(1.16rem, 1.9vw, 1.48rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.025em !important;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

#kids .journey-cta:hover,
#kids .journey-hero-button:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  box-shadow: 0 16px 38px rgba(111, 104, 255, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

#kids .journey-cta-secondary {
  flex: 0 1 190px;
  justify-self: start;
  width: auto !important;
  min-width: 160px !important;
  min-height: 58px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(189, 215, 255, 0.36) !important;
  border-radius: 14px !important;
  color: rgba(252, 253, 255, 0.94) !important;
  background: linear-gradient(145deg, rgba(23, 46, 93, 0.78), rgba(10, 21, 51, 0.7)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-transform: none;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):not(.normal-onboarding-button) {
  min-height: 58px !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  border-color: rgba(180, 225, 255, 0.94) !important;
  background: linear-gradient(105deg, #006ee6 0%, #168cff 52%, #31b4ff 100%) !important;
  font-size: clamp(0.9rem, 1.3vw, 1.04rem) !important;
  animation: journey-start-glow 3s ease-in-out infinite;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):not(.normal-onboarding-button):hover {
  animation-play-state: paused;
  box-shadow: 0 0 40px rgba(120, 80, 255, 0.5), 0 0 80px rgba(0, 180, 255, 0.3) !important;
}

@keyframes journey-start-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(120, 80, 255, 0.1), 0 0 20px rgba(0, 180, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 80px rgba(120, 80, 255, 0.8), 0 0 160px rgba(0, 180, 255, 0.5), 0 0 300px rgba(20, 184, 166, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary) {
    animation: none;
  }
}

#kids .journey-explore-section {
  margin-top: 0;
}

#kids .journey-explore-section h3 {
  display: table;
  margin: 0 0 14px;
  font-size: 1.1rem;
  text-align: left;
}

#kids .journey-explore-section h3,
#kids .journey-side-card h4,
#kids .home-skills-section .welcome-xp-title,
#kids .home-support-section .support-section-title,
#kids .home-how-it-works h2,
#kids .journey-install-button .journey-title-gradient {
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 30%, #a78bfa 60%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

#kids .journey-explore-section h3 {
  width: auto;
  margin-right: 0;
  margin-left: 0;
}

#kids .journey-install-button .journey-title-gradient {
  display: inline-block;
}

#kids .journey-explore-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#kids .journey-explore-card {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 12px;
  min-height: 136px;
  padding: 14px 10px;
  overflow: hidden;
  border: 1px solid rgba(169, 190, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(117, 157, 255, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(20, 43, 74, 0.74), rgba(11, 21, 49, 0.62));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#kids .journey-explore-card:hover {
  transform: translateY(-3px);
  border-color: rgba(171, 211, 255, 0.56);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32), 0 0 28px rgba(78, 134, 255, 0.18);
}

#kids .journey-explore-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 125, 255, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(53, 34, 89, 0.72), rgba(18, 19, 53, 0.64));
}

#kids .journey-explore-card:nth-child(3n) {
  background:
    radial-gradient(circle at 50% 0%, rgba(68, 222, 197, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(17, 67, 70, 0.7), rgba(10, 28, 51, 0.64));
}

#kids .journey-explore-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(196, 218, 255, 0.34);
  border-radius: 18px;
  background: rgba(7, 17, 42, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 9px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.9rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(174, 206, 255, 0.35));
}

#kids .journey-explore-label {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  text-wrap: balance;
}

#kids .home-journey-aside {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 14px;
  align-self: start;
  padding-top: 0;
}

#kids #hero-retention-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: calc(100% - 16px);
  margin: 0 auto;
}

#kids .journey-side-card {
  padding: 18px;
  border: 1px solid rgba(161, 198, 255, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 39, 61, 0.8), rgba(8, 17, 39, 0.74));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#kids .journey-side-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.2;
}

#kids .journey-side-card .support-desc {
  color: rgba(238, 246, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

#kids .journey-side-card .journey-hero-button {
  min-height: 52px !important;
  margin-top: 12px;
  border-radius: 18px !important;
  font-size: 0.9rem !important;
}

#kids .journey-resume-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid rgba(161, 204, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 13, 28, 0.48);
}

#kids .journey-resume-thumb {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(171, 187, 255, 0.3);
  border-radius: 13px;
  background:
    radial-gradient(circle at 32% 25%, rgba(167, 123, 255, 0.75), transparent 18%),
    radial-gradient(circle at 70% 72%, rgba(50, 231, 213, 0.4), transparent 28%),
    linear-gradient(145deg, #264681, #101d4d);
  box-shadow: inset 0 0 24px rgba(141, 122, 255, 0.26), 0 8px 18px rgba(0, 0, 0, 0.2);
  font-size: 1.7rem;
  line-height: 1;
}

#kids .journey-resume-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

#kids .journey-resume-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kids .journey-resume-copy span {
  color: rgba(232, 243, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.25;
}

#kids .journey-resume-play {
  display: inline-grid !important;
  place-items: center;
  width: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid rgba(116, 244, 184, 0.82) !important;
  border-radius: 50% !important;
  color: #b5ffd6 !important;
  background: rgba(28, 117, 90, 0.22) !important;
  box-shadow: 0 0 20px rgba(83, 239, 176, 0.16) !important;
  font-size: 1rem !important;
  cursor: pointer;
}

#kids .journey-resume-play:hover {
  transform: scale(1.06);
  background: rgba(40, 149, 108, 0.34) !important;
}

#kids .journey-resume-play:focus-visible {
  outline: 3px solid rgba(193, 255, 222, 0.92);
  outline-offset: 3px;
}

#kids .journey-side-card > div button:not(.journey-hero-button),
#kids .home-support-section .support-box button {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 16px !important;
  font-size: 0.88rem !important;
}

#kids .journey-install-action {
  display: block;
}

#kids .journey-install-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 48px !important;
  padding: 11px 16px !important;
  border: 1px solid rgba(155, 190, 255, 0.42) !important;
  border-radius: 16px !important;
  color: #fff !important;
  background: rgba(7, 19, 43, 0.7) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  cursor: pointer;
}

#kids .journey-install-button:hover {
  transform: translateY(-1px);
  border-color: rgba(197, 215, 255, 0.72) !important;
  background: rgba(18, 42, 83, 0.76) !important;
}

#kids .journey-install-button:focus-visible {
  outline: 3px solid rgba(210, 224, 255, 0.92);
  outline-offset: 3px;
}

#kids .home-secondary-section,
#kids .home-how-it-works {
  width: min(100%, 1040px);
  margin: 0 auto;
}

#kids .home-secondary-section {
  padding: 24px;
  border: 1px solid rgba(153, 182, 255, 0.16);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(8, 20, 42, 0.67), rgba(7, 13, 30, 0.55));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

#kids .home-skills-section .welcome-xp-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-align: center;
}

#kids .home-skills-section .skills-xp-grid {
  max-width: none;
}

#kids .home-journey-aside .home-skills-section {
  width: 100%;
  margin: 0;
  padding: 18px 16px;
  border-color: rgba(161, 198, 255, 0.22);
}

#kids .home-journey-aside .home-skills-section .welcome-xp-title {
  margin-bottom: 14px;
  font-size: 0.94rem;
}

#kids .home-journey-aside .skill-xp-item {
  width: 100%;
  height: 96px;
  min-height: 96px;
  padding: 7px;
}

#kids .home-journey-aside .skill-hex-shape {
  width: 42px;
  height: 42px;
}

#kids .home-journey-aside .skill-circular-progress {
  width: 36px;
  height: 36px;
}

#kids .home-journey-aside .skill-icon-center {
  font-size: 0.84rem;
}

#kids .home-journey-aside .skill-xp-name {
  font-size: 0.58rem;
  line-height: 1.05;
}

#kids .home-journey-aside .skill-xp-value {
  font-size: 0.56rem;
}

#kids .home-support-section .journey-tip-card {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#kids .home-support-section .support-tool-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: none;
}

#kids .home-how-it-works {
  padding: 22px 24px;
  border: 1px solid rgba(153, 182, 255, 0.14);
  border-radius: 24px;
  background: rgba(8, 16, 37, 0.54);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Keep the explanation with the welcome content, immediately after today's games. */
#kids .home-journey-main .home-how-it-works {
  width: 100%;
  margin: 0;
  align-self: start;
}

#kids .home-how-it-works h2 {
  margin: 0 0 9px;
  font-size: 1.08rem;
}

#kids .home-how-it-works p,
#kids .home-how-it-works li {
  color: rgba(236, 243, 255, 0.78);
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 640px);
  }

  #kids #hero-retention-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  #kids .home-journey-aside {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  body.lumnixapp-page {
    background-image:
      linear-gradient(180deg, rgba(3, 7, 22, 0.34), rgba(3, 7, 22, 0.18)),
      url('../img/app-mobile.png');
    background-position: center, calc(50% + 40px) center;
  }

  #kids .home-journey-shell {
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
  }

  #kids .welcome-xp-card {
    gap: 18px;
    padding: 18px 14px 24px;
  }

  #kids .home-journey-greeting {
    margin-bottom: 18px;
  }

  #kids .home-journey-greeting h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  #kids .journey-home-panel {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  #kids .journey-card-greeting h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  #kids .journey-hero-title {
    font-size: 0.88rem;
  }

  #kids .journey-cta,
  #kids .journey-hero-button {
    min-height: 72px !important;
    border-radius: 22px !important;
    font-size: 1.14rem !important;
  }

  #kids .journey-explore-grid {
    gap: 8px;
  }

  #kids .journey-explore-card {
    min-height: 112px;
    padding: 12px 6px;
    border-radius: 17px;
  }

  #kids .journey-explore-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.48rem;
  }

  #kids .journey-explore-label {
    font-size: 0.7rem;
  }

  #kids #hero-retention-actions {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 10px);
  }

  #kids .journey-resume-item {
    grid-template-columns: 56px minmax(0, 1fr) 40px;
  }

  #kids .journey-resume-thumb {
    width: 56px;
    height: 56px;
    font-size: 1.55rem;
  }

  #kids .home-journey-aside .skill-xp-item {
    height: 92px;
    min-height: 92px;
  }

  #kids .journey-side-card,
  #kids .home-secondary-section,
  #kids .home-how-it-works {
    padding: 18px;
    border-radius: 20px;
  }

  #kids .journey-tip-card .support-row {
    flex-direction: column;
  }
}

/* Legacy welcome restoration based on the original styles kept in the app pages. */
#kids .welcome-xp-card {
  gap: 30px;
  max-width: 1440px;
  padding: clamp(22px, 3vw, 46px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#kids .home-journey-shell {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(100, 180, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 180, 220, 0.15), transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(34, 139, 34, 0.12), transparent 60%),
    linear-gradient(to bottom, #0b1a2a 0%, #132c1f 50%, #1c1c1c 100%);
  box-shadow: 0 30px 80px rgba(0, 100, 150, 0.4), 0 0 60px rgba(0, 180, 220, 0.1) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#kids .home-journey-main {
  gap: 16px;
}

#kids .home-journey-aside {
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#kids #hero-retention-actions {
  width: 100%;
  margin: 0;
}

#kids .journey-home-panel {
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid rgba(150, 180, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 18, 40, 0.7), rgba(8, 14, 32, 0.52));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#kids .journey-card-greeting {
  padding: 0;
}

#kids .journey-card-greeting h1 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

#kids .journey-card-greeting .journey-highlight {
  font-size: 0.82em;
}

#kids .journey-hero-panel {
  min-height: 0;
  gap: 8px;
}

#kids .journey-hero-title {
  max-width: none;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.35;
  white-space: nowrap;
}

#kids .journey-cta-row {
  gap: 10px !important;
  margin-top: 0 !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
#kids .journey-cta-secondary {
  flex: 1 1 150px;
  min-width: 130px !important;
  min-height: 52px !important;
  padding: 11px 18px !important;
  border-radius: 14px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):not(.normal-onboarding-button) {
  border-color: rgba(0, 122, 255, 0.72) !important;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.36), rgba(88, 86, 214, 0.18)) !important;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.22);
  animation: journey-start-glow 3s ease-in-out infinite !important;
}

#kids .journey-cta-secondary {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary) {
    animation: none !important;
  }
}

#kids .journey-explore-section {
  margin-top: 0;
  padding: 0;
}

#kids .journey-explore-section h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
}

#kids .journey-explore-grid {
  gap: 10px;
}

#kids .journey-explore-card,
#kids .journey-explore-card:nth-child(3n + 2),
#kids .journey-explore-card:nth-child(3n) {
  min-height: 116px;
  padding: 14px 12px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

#kids .journey-explore-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 2.15rem;
  filter: none;
}

#kids .journey-explore-label {
  max-width: none;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 640px);
  }
}

@media (max-width: 700px) {
  #kids .welcome-xp-card {
    gap: 18px;
    padding: 18px 14px 24px;
  }

  #kids .home-journey-shell {
    padding: 18px;
    border-radius: 22px;
  }

  #kids .journey-home-panel {
    padding: 14px;
    border-radius: 20px;
  }

  #kids .journey-hero-panel {
    min-height: 0;
    gap: 8px;
  }

  #kids .journey-card-greeting h1 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  #kids .journey-card-greeting .journey-highlight {
    font-size: 0.84em;
  }

  #kids .journey-hero-title {
    font-size: 0.9rem;
    white-space: normal;
  }

  #kids .journey-explore-card,
  #kids .journey-explore-card:nth-child(3n + 2),
  #kids .journey-explore-card:nth-child(3n) {
    min-height: 102px;
    padding: 10px 5px;
    border-radius: 17px;
  }

  #kids .journey-explore-icon {
    font-size: 1.72rem;
  }

  #kids .journey-explore-label {
    font-size: 0.68rem;
  }
}

/* Organize the existing welcome content as one magical clearing, without adding UI. */
#kids .home-journey-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1160px;
  padding: clamp(22px, 2.6vw, 32px);
  border-color: rgba(129, 204, 255, 0.32);
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 48% -18%, rgba(91, 198, 255, 0.24), transparent 52%),
    radial-gradient(circle at 5% 88%, rgba(61, 161, 96, 0.19), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(0, 176, 219, 0.17), transparent 37%),
    linear-gradient(160deg, rgba(9, 26, 42, 0.93) 0%, rgba(18, 50, 44, 0.84) 54%, rgba(22, 24, 38, 0.92) 100%);
  box-shadow:
    0 30px 80px rgba(0, 47, 78, 0.42),
    0 0 74px rgba(0, 181, 220, 0.12) inset;
}

#kids .home-journey-shell::before,
#kids .home-journey-shell::after {
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
  filter: blur(24px);
  opacity: 0.65;
  pointer-events: none;
}

#kids .home-journey-shell::before {
  top: -16%;
  left: 28%;
  background: rgba(74, 156, 255, 0.18);
}

#kids .home-journey-shell::after {
  right: -12%;
  bottom: -28%;
  background: rgba(42, 209, 177, 0.12);
}

#kids .home-journey-shell > * {
  position: relative;
  z-index: 1;
}

#kids .home-journey-main {
  gap: 18px;
}

#kids .journey-home-panel {
  display: grid;
  gap: 17px;
  padding: clamp(20px, 2.3vw, 28px);
  border-color: rgba(167, 215, 255, 0.24) !important;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 5%, rgba(114, 149, 255, 0.19), transparent 34%),
    linear-gradient(145deg, rgba(21, 55, 80, 0.76), rgba(9, 22, 43, 0.76)) !important;
  box-shadow:
    0 20px 44px rgba(0, 15, 34, 0.3),
    inset 0 1px 0 rgba(224, 247, 255, 0.1) !important;
}

#kids .journey-card-greeting {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(171, 218, 255, 0.16);
}

#kids .journey-card-greeting h1 {
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

#kids .journey-hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(170, 219, 255, 0.13);
  border-radius: 20px;
  background: rgba(4, 18, 35, 0.3);
}

#kids .journey-hero-title {
  color: rgba(255, 255, 255, 0.94);
}

#kids .journey-cta-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: 10px !important;
}

#kids .journey-cta-row > .journey-cta:only-child {
  grid-column: 1 / -1;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
#kids .journey-cta-secondary {
  min-height: 40px !important;
  padding: 7px 10px !important;
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  letter-spacing: normal !important;
}

#kids .journey-explore-section {
  padding: 18px;
  border: 1px solid rgba(159, 211, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(8, 31, 48, 0.46), rgba(8, 18, 35, 0.38));
  box-shadow: inset 0 1px 0 rgba(218, 246, 255, 0.06);
}

#kids .journey-explore-section h3 {
  margin-bottom: 13px;
  color: #d9efff;
  text-shadow: 0 0 20px rgba(83, 189, 255, 0.2);
}

#kids .journey-explore-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#kids .journey-explore-card,
#kids .journey-explore-card:nth-child(3n + 2),
#kids .journey-explore-card:nth-child(3n) {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  border-color: rgba(174, 220, 255, 0.2) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 203, 255, 0.16), transparent 58%),
    linear-gradient(155deg, rgba(32, 80, 105, 0.64), rgba(8, 28, 47, 0.66)) !important;
  box-shadow:
    0 13px 26px rgba(0, 12, 28, 0.24),
    inset 0 1px 0 rgba(232, 250, 255, 0.1) !important;
}

#kids .journey-explore-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 50% 0%, rgba(149, 128, 255, 0.18), transparent 58%),
    linear-gradient(155deg, rgba(60, 53, 114, 0.64), rgba(20, 27, 58, 0.66)) !important;
}

#kids .journey-explore-card:nth-child(3n) {
  background:
    radial-gradient(circle at 50% 0%, rgba(92, 210, 165, 0.16), transparent 58%),
    linear-gradient(155deg, rgba(25, 81, 74, 0.64), rgba(9, 39, 48, 0.66)) !important;
}

#kids .journey-explore-card:hover {
  transform: translateY(-3px);
  border-color: rgba(189, 231, 255, 0.38) !important;
  box-shadow:
    0 18px 32px rgba(0, 10, 28, 0.3),
    0 0 24px rgba(79, 185, 255, 0.14),
    inset 0 1px 0 rgba(232, 250, 255, 0.12) !important;
}

#kids .journey-explore-icon {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

#kids .journey-explore-label {
  color: rgba(255, 255, 255, 0.92);
}

#kids .home-journey-aside {
  align-content: start;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

#kids #hero-retention-actions {
  gap: 16px;
  width: 100%;
}

#kids .home-journey-shell .journey-side-card {
  padding: 20px;
  border-color: rgba(158, 211, 255, 0.22) !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(83, 189, 255, 0.14), transparent 46%),
    linear-gradient(145deg, rgba(17, 50, 67, 0.76), rgba(8, 22, 37, 0.72)) !important;
  box-shadow:
    0 16px 34px rgba(0, 11, 28, 0.26),
    inset 0 1px 0 rgba(225, 247, 255, 0.08) !important;
}

#kids .home-journey-shell .journey-side-card h4,
#kids .home-journey-shell .home-skills-section .welcome-xp-title,
#kids .home-journey-shell .home-how-it-works h2 {
  color: #bfe6ff;
  text-shadow: 0 0 18px rgba(87, 190, 255, 0.18);
}

#kids .home-journey-shell .journey-resume-item {
  margin-top: 14px;
  padding: 9px;
  border-color: rgba(158, 211, 255, 0.2) !important;
  border-radius: 16px;
  background: rgba(3, 17, 32, 0.42) !important;
}

#kids .home-journey-shell .journey-install-button {
  border-color: rgba(132, 204, 255, 0.36) !important;
  background: linear-gradient(135deg, rgba(18, 82, 129, 0.5), rgba(22, 50, 103, 0.52)) !important;
  box-shadow: 0 10px 22px rgba(0, 40, 79, 0.28), inset 0 1px 0 rgba(227, 249, 255, 0.1) !important;
}

#kids .home-journey-shell .home-journey-aside .home-skills-section {
  padding: 20px 16px;
  border-radius: 22px;
}

#kids .home-journey-shell .skill-xp-item {
  border-color: rgba(153, 214, 255, 0.24) !important;
  background: linear-gradient(145deg, rgba(29, 95, 139, 0.21), rgba(7, 38, 70, 0.24)) !important;
}

#kids .home-journey-shell .home-how-it-works {
  padding: 20px 22px;
  border-color: rgba(156, 211, 255, 0.18) !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 50%, rgba(50, 187, 220, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(15, 46, 62, 0.66), rgba(8, 23, 38, 0.66)) !important;
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 640px);
  }
}

@media (max-width: 700px) {
  #kids .home-journey-shell {
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  #kids .journey-home-panel {
    gap: 12px;
    padding: 17px;
    border-radius: 21px;
  }

  #kids .journey-card-greeting {
    padding-bottom: 11px;
  }

  #kids .journey-hero-panel,
  #kids .journey-explore-section {
    padding: 13px;
    border-radius: 18px;
  }

  #kids .journey-cta-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #kids .journey-cta-row > .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-row > .journey-cta-secondary {
    grid-column: 1;
  }

  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-secondary {
    min-height: 42px !important;
    font-size: 0.8rem !important;
  }

  #kids .journey-explore-grid {
    gap: 8px;
  }

  #kids .journey-explore-card,
  #kids .journey-explore-card:nth-child(3n + 2),
  #kids .journey-explore-card:nth-child(3n) {
    min-height: 104px;
    border-radius: 15px;
  }
}

/* Shared glass treatment for Settings, Reports, and Diary. */
#settings > .welcome-banner,
#reports > .welcome-banner,
#diary > .welcome-banner,
#settings .settings-card,
#reports .Lumnix-tile,
#reports #no-reports-message,
#diary .diary-form,
#diary .diary-entries,
#diary .diary-entry {
  border: 1px solid rgba(153, 182, 255, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(8, 20, 42, 0.67), rgba(7, 13, 30, 0.55)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

#settings > .welcome-banner,
#reports > .welcome-banner,
#diary > .welcome-banner {
  padding: 16px 18px;
  border-color: rgba(129, 204, 255, 0.32) !important;
  background:
    radial-gradient(ellipse at 48% -18%, rgba(91, 198, 255, 0.24), transparent 52%),
    radial-gradient(circle at 5% 88%, rgba(61, 161, 96, 0.19), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(0, 176, 219, 0.17), transparent 37%),
    linear-gradient(160deg, rgba(9, 26, 42, 0.93) 0%, rgba(18, 50, 44, 0.84) 54%, rgba(22, 24, 38, 0.92) 100%) !important;
  box-shadow:
    0 22px 54px rgba(0, 47, 78, 0.32),
    0 0 56px rgba(0, 181, 220, 0.1) inset !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

#settings > .welcome-banner h2 span,
#reports > .welcome-banner h2 span,
#diary > .welcome-banner h2 span,
#settings .settings-card h3,
#reports .Lumnix-tile h3,
#diary .diary-entries h3,
#diary .diary-mood label {
  color: transparent !important;
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 30%, #a78bfa 60%, #14b8a6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 14px rgba(87, 190, 255, 0.18);
}

#settings .settings-row {
  gap: 12px;
}

#reports .Lumnix-tiles-grid {
  gap: 12px !important;
}

#diary .diary-entry {
  margin-bottom: 12px;
}

#diary .diary-entry:last-child {
  margin-bottom: 0;
}

/* Give shared app dialogs the same blue support-tools surface. */
.LumnixApp-modal .LumnixApp-modal-content,
.LumnixApp-modal .lumnix-modal-content,
#games-modal .LumnixApp-modal-content,
#games-modal .lumnix-modal-content,
.modal-content {
  border: 1px solid rgba(153, 182, 255, 0.16) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(8, 20, 42, 0.82), rgba(7, 13, 30, 0.72)) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

.LumnixApp-modal .LumnixApp-modal-header,
.LumnixApp-modal .lumnix-modal-header {
  border-bottom-color: rgba(153, 182, 255, 0.16) !important;
  background: rgba(8, 20, 42, 0.56) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

#lumnix-journey-wizard > div {
  border-color: rgba(153, 182, 255, 0.16) !important;
  background: linear-gradient(145deg, rgba(8, 20, 42, 0.82), rgba(7, 13, 30, 0.72)) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

/* Final Home composition: one quiet magical clearing, built only with existing blocks. */
#kids .home-journey-shell {
  --home-deep: rgba(6, 20, 37, 0.9);
  --home-surface: rgba(11, 40, 61, 0.76);
  --home-line: rgba(181, 228, 255, 0.2);
  --home-title-start: #8b5cf6;
  --home-title-end: #14b8a6;
  grid-template-columns: minmax(0, 1.62fr) minmax(288px, 0.76fr);
  align-items: stretch;
  gap: clamp(18px, 2.35vw, 30px);
  max-width: 1170px;
  padding: clamp(21px, 2.7vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(157, 222, 255, 0.26);
  border-radius: 32px;
  background:
    radial-gradient(circle at 11% 6%, rgba(67, 210, 191, 0.16), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(85, 148, 255, 0.2), transparent 32%),
    linear-gradient(138deg, rgba(7, 26, 43, 0.95), rgba(17, 63, 53, 0.87) 58%, rgba(7, 22, 42, 0.94));
  box-shadow:
    0 28px 78px rgba(0, 16, 35, 0.46),
    inset 0 1px 0 rgba(237, 251, 255, 0.1),
    inset 0 -28px 52px rgba(0, 0, 0, 0.12);
}

#kids .home-journey-shell::before,
#kids .home-journey-shell::after {
  z-index: 0;
  width: 340px;
  height: 340px;
  opacity: 0.7;
  filter: blur(30px);
}

#kids .home-journey-shell::before {
  top: -185px;
  left: -90px;
  background: rgba(74, 191, 240, 0.2);
}

#kids .home-journey-shell::after {
  right: -130px;
  bottom: -205px;
  background: rgba(49, 206, 160, 0.16);
}

#kids .home-journey-shell > * {
  z-index: 1;
}

#kids .home-journey-main {
  gap: 19px;
}

#kids .home-journey-main .profile-required-banner {
  margin: 0;
  padding: 15px 17px;
  border: 1px solid rgba(172, 226, 255, 0.2);
  border-radius: 18px;
  background: rgba(4, 22, 40, 0.56);
  box-shadow: inset 0 1px 0 rgba(239, 252, 255, 0.08);
}

#kids .journey-home-panel {
  display: grid;
  gap: 19px;
  padding: clamp(21px, 2.45vw, 30px);
  overflow: visible;
  border: 1px solid var(--home-line) !important;
  border-radius: 26px;
  background:
    radial-gradient(circle at 93% 0%, rgba(118, 151, 255, 0.16), transparent 32%),
    linear-gradient(148deg, rgba(16, 54, 75, 0.82), rgba(6, 23, 43, 0.84)) !important;
  box-shadow:
    0 22px 44px rgba(0, 12, 29, 0.3),
    inset 0 1px 0 rgba(232, 250, 255, 0.1) !important;
}

#kids .journey-card-greeting {
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(188, 229, 255, 0.16);
}

#kids .journey-card-greeting h1 {
  font-size: clamp(2.25rem, 3.7vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

#kids .journey-hero-panel {
  gap: 13px;
  padding: 17px 19px 18px;
  border: 1px solid rgba(169, 221, 255, 0.13);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(4, 20, 39, 0.5), rgba(9, 39, 55, 0.34));
  box-shadow: inset 0 1px 0 rgba(228, 249, 255, 0.06);
}

#kids .journey-hero-title {
  max-width: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.86rem, 1.14vw, 1rem);
  line-height: 1.35;
  white-space: nowrap;
}

#kids .journey-cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin-top: 1px !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
#kids .journey-cta-secondary {
  min-height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):not(.normal-onboarding-button) {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: visible;
  border-color: rgba(179, 229, 255, 0.86) !important;
  background: linear-gradient(105deg, #0878dd 0%, #1398ef 54%, #35b9f7 100%) !important;
  box-shadow:
    0 10px 22px rgba(0, 92, 190, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  animation: none;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary)::after {
  position: absolute;
  z-index: -1;
  inset: -7px -9px;
  border-radius: inherit;
  background: radial-gradient(ellipse, rgba(57, 179, 255, 0.64), rgba(57, 179, 255, 0) 68%);
  content: "";
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
  animation: lumnix-home-cta-aura 2.6s ease-in-out infinite;
}

#kids .journey-cta-secondary {
  border-color: rgba(162, 219, 255, 0.27) !important;
  background: linear-gradient(140deg, rgba(20, 80, 106, 0.8), rgba(8, 38, 68, 0.82)) !important;
  box-shadow: inset 0 1px 0 rgba(241, 253, 255, 0.12), 0 8px 18px rgba(0, 15, 33, 0.2) !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):focus-visible,
#kids .journey-cta-secondary:focus-visible {
  outline: 3px solid rgba(210, 242, 255, 0.96);
  outline-offset: 3px;
}

@keyframes lumnix-home-cta-aura {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.93);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.06);
  }
}

#kids .journey-explore-section {
  padding: 3px 0 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .journey-explore-section h3,
#kids .home-journey-shell .journey-side-card h4,
#kids .home-journey-shell .home-skills-section .welcome-xp-title,
#kids .home-journey-shell .home-how-it-works h2 {
  color: transparent;
  background: linear-gradient(90deg, var(--home-title-start), #50b7ff 42%, var(--home-title-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(75, 191, 255, 0.18);
}

#kids .journey-explore-section h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  letter-spacing: -0.02em;
}

#kids .journey-explore-grid {
  gap: 11px;
}

#kids .journey-explore-card,
#kids .journey-explore-card:nth-child(3n + 2),
#kids .journey-explore-card:nth-child(3n) {
  min-height: 126px;
  padding: 13px 9px 12px;
  border-color: rgba(180, 226, 255, 0.18) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 2%, rgba(85, 205, 244, 0.22), transparent 54%),
    linear-gradient(155deg, rgba(25, 78, 96, 0.76), rgba(6, 29, 48, 0.76)) !important;
  box-shadow:
    0 12px 24px rgba(0, 11, 28, 0.24),
    inset 0 1px 0 rgba(239, 253, 255, 0.1) !important;
}

#kids .journey-explore-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 50% 2%, rgba(166, 132, 255, 0.23), transparent 54%),
    linear-gradient(155deg, rgba(56, 47, 104, 0.77), rgba(17, 25, 58, 0.78)) !important;
}

#kids .journey-explore-card:nth-child(3n) {
  background:
    radial-gradient(circle at 50% 2%, rgba(89, 216, 173, 0.2), transparent 54%),
    linear-gradient(155deg, rgba(22, 77, 70, 0.77), rgba(6, 37, 48, 0.78)) !important;
}

#kids .journey-explore-icon {
  width: 60px;
  height: 60px;
  border-color: rgba(205, 238, 255, 0.25);
  border-radius: 19px;
  background: rgba(3, 21, 39, 0.34);
  font-size: 2.05rem;
}

#kids .journey-explore-label {
  font-size: 0.84rem;
  font-weight: 720;
}

#kids .home-journey-aside {
  align-content: start;
  gap: 14px;
  padding: 1px 0 0;
}

#kids #hero-retention-actions {
  gap: 12px;
}

#kids .home-journey-shell .journey-side-card {
  padding: 18px;
  border-color: rgba(172, 228, 255, 0.19) !important;
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0%, rgba(81, 187, 238, 0.14), transparent 42%),
    linear-gradient(148deg, rgba(12, 49, 65, 0.8), rgba(5, 25, 43, 0.82)) !important;
  box-shadow:
    0 16px 30px rgba(0, 10, 25, 0.24),
    inset 0 1px 0 rgba(233, 251, 255, 0.09) !important;
}

#kids .home-journey-shell .journey-side-card h4 {
  margin-bottom: 12px;
  font-size: 1.02rem;
}

#kids .home-journey-shell .journey-resume-item {
  margin-top: 11px;
  padding: 8px;
  border-color: rgba(165, 223, 255, 0.18) !important;
  border-radius: 15px;
  background: rgba(3, 20, 37, 0.44) !important;
}

#kids .home-journey-shell .journey-install-action {
  margin: 0;
}

#kids .home-journey-shell .journey-install-button {
  min-height: 40px;
  border-color: rgba(151, 218, 255, 0.31) !important;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(20, 84, 112, 0.75), rgba(8, 38, 68, 0.78)) !important;
  box-shadow: inset 0 1px 0 rgba(234, 252, 255, 0.1), 0 9px 18px rgba(0, 21, 42, 0.22) !important;
}

#kids .home-journey-shell .home-journey-aside .home-skills-section {
  padding: 17px 14px;
  border: 1px solid rgba(166, 222, 255, 0.18) !important;
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 162, 255, 0.14), transparent 40%),
    linear-gradient(148deg, rgba(12, 48, 69, 0.76), rgba(5, 26, 45, 0.8)) !important;
  box-shadow:
    0 15px 29px rgba(0, 10, 26, 0.22),
    inset 0 1px 0 rgba(235, 252, 255, 0.08) !important;
}

#kids .home-journey-shell .home-skills-section .welcome-xp-title {
  margin-bottom: 13px;
  font-size: 0.78rem;
}

#kids .home-journey-shell .home-journey-aside .skill-xp-item {
  min-height: 78px;
  border-color: rgba(159, 220, 255, 0.2) !important;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(34, 101, 135, 0.28), rgba(7, 40, 68, 0.42)) !important;
  box-shadow: inset 0 1px 0 rgba(238, 252, 255, 0.07);
}

#kids .home-journey-shell .home-how-it-works {
  padding: 18px 20px;
  border-color: rgba(172, 227, 255, 0.15) !important;
  border-radius: 21px;
  background:
    radial-gradient(circle at 0% 0%, rgba(54, 190, 207, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(9, 42, 58, 0.66), rgba(5, 24, 42, 0.7)) !important;
  box-shadow: inset 0 1px 0 rgba(235, 253, 255, 0.07) !important;
}

@media (hover: hover) {
  #kids .journey-explore-card:hover {
    transform: translateY(-3px);
    border-color: rgba(194, 235, 255, 0.4) !important;
    box-shadow:
      0 17px 30px rgba(0, 10, 27, 0.3),
      0 0 23px rgba(74, 191, 255, 0.14),
      inset 0 1px 0 rgba(241, 254, 255, 0.12) !important;
  }
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 680px);
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  #kids .home-journey-shell {
    gap: 17px;
    padding: 17px;
    border-radius: 24px;
  }

  #kids .journey-home-panel {
    gap: 16px;
    padding: 19px 16px;
    border-radius: 21px;
  }

  #kids .journey-card-greeting {
    padding-bottom: 12px;
  }

  #kids .journey-card-greeting h1 {
    font-size: clamp(2.15rem, 10.8vw, 3rem);
  }

  #kids .journey-hero-panel {
    padding: 15px;
    border-radius: 17px;
  }

  #kids .journey-hero-title {
    white-space: normal;
  }

  #kids .journey-cta-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #kids .journey-cta-row > .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-row > .journey-cta-secondary {
    grid-column: 1;
  }

  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-secondary {
    min-height: 41px !important;
    font-size: 0.77rem !important;
  }

  #kids .journey-explore-grid {
    gap: 8px;
  }

  #kids .journey-explore-card,
  #kids .journey-explore-card:nth-child(3n + 2),
  #kids .journey-explore-card:nth-child(3n) {
    min-height: 104px;
    padding: 10px 5px 9px;
    border-radius: 15px;
  }

  #kids .journey-explore-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    font-size: 1.56rem;
  }

  #kids .journey-explore-label {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary)::after {
    animation: none;
    opacity: 0.35;
  }

  #kids .journey-explore-card {
    transition: none;
  }
}

/* Home refresh: remove the dashboard shell and make the existing journey the clear focal point. */
#kids .welcome-xp-card {
  gap: 26px;
  max-width: 1240px;
}

#kids .home-journey-shell {
  grid-template-columns: minmax(0, 1fr) minmax(292px, 0.43fr);
  align-items: start;
  gap: clamp(20px, 2.4vw, 32px);
  max-width: 1170px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#kids .home-journey-shell::before,
#kids .home-journey-shell::after {
  display: none;
}

#kids .home-journey-main {
  gap: 23px;
}

#kids .home-journey-main .profile-required-banner {
  min-height: 188px;
  padding: 26px;
  border-color: rgba(172, 226, 255, 0.23);
  border-radius: 25px;
  background:
    radial-gradient(circle at 94% 0%, rgba(99, 155, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(12, 53, 74, 0.86), rgba(5, 24, 45, 0.88));
  box-shadow: 0 20px 46px rgba(0, 10, 30, 0.3), inset 0 1px 0 rgba(236, 252, 255, 0.11);
}

#kids .journey-home-panel {
  position: relative;
  min-height: 285px;
  gap: 25px;
  padding: clamp(25px, 3vw, 38px);
  overflow: hidden;
  border-color: rgba(174, 229, 255, 0.28) !important;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(32, 211, 177, 0.18), transparent 47%),
    radial-gradient(circle at 94% 9%, rgba(135, 129, 255, 0.28), transparent 36%),
    linear-gradient(142deg, rgba(13, 63, 82, 0.93), rgba(8, 31, 61, 0.94) 57%, rgba(20, 27, 69, 0.93)) !important;
  box-shadow:
    0 28px 62px rgba(0, 11, 35, 0.35),
    inset 0 1px 0 rgba(238, 253, 255, 0.14) !important;
}

#kids .journey-home-panel::before {
  position: absolute;
  top: -90px;
  right: -54px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(188, 227, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(119, 168, 255, 0.04), 0 0 0 76px rgba(109, 194, 232, 0.025);
  content: "";
  pointer-events: none;
}

#kids .journey-home-panel > * {
  position: relative;
  z-index: 1;
}

#kids .journey-card-greeting {
  padding: 0;
  border: 0;
}

#kids .journey-card-greeting h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

#kids .journey-hero-panel {
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#kids .journey-hero-title {
  max-width: 47ch;
  color: rgba(248, 252, 255, 0.92);
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  line-height: 1.45;
  white-space: normal;
}

#kids .journey-cta-row {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 11px !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
#kids .journey-cta-secondary {
  min-height: 44px !important;
  padding: 8px 14px !important;
  border-radius: 13px !important;
  font-size: 0.79rem !important;
}

#kids #journey-main-card .journey-cta:not(.journey-cta-secondary):not(.normal-onboarding-button) {
  background: linear-gradient(105deg, #087cdf 0%, #14a2ee 54%, #47c4f8 100%) !important;
  box-shadow:
    0 13px 26px rgba(0, 104, 201, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

#kids .journey-cta-secondary {
  color: rgba(241, 251, 255, 0.95) !important;
  background: rgba(4, 33, 63, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(238, 253, 255, 0.13), 0 10px 22px rgba(0, 13, 39, 0.22) !important;
}

#kids .journey-explore-section {
  padding: 0;
}

#kids .journey-explore-section h3 {
  margin: 0 0 15px;
  font-size: clamp(1.2rem, 1.75vw, 1.5rem);
  letter-spacing: -0.035em;
}

#kids .journey-explore-grid {
  gap: 13px;
}

#kids .journey-explore-card,
#kids .journey-explore-card:nth-child(3n + 2),
#kids .journey-explore-card:nth-child(3n) {
  min-height: 143px;
  padding: 16px 10px 14px;
  border-color: rgba(194, 231, 255, 0.19) !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 24%, rgba(78, 215, 243, 0.24), transparent 32%),
    linear-gradient(155deg, rgba(19, 75, 93, 0.76), rgba(6, 30, 53, 0.82)) !important;
  box-shadow: 0 16px 30px rgba(0, 12, 30, 0.25), inset 0 1px 0 rgba(240, 254, 255, 0.1) !important;
}

#kids .journey-explore-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 50% 24%, rgba(177, 136, 255, 0.27), transparent 32%),
    linear-gradient(155deg, rgba(63, 50, 116, 0.79), rgba(20, 25, 63, 0.84)) !important;
}

#kids .journey-explore-card:nth-child(3n) {
  background:
    radial-gradient(circle at 50% 24%, rgba(96, 224, 177, 0.23), transparent 32%),
    linear-gradient(155deg, rgba(18, 79, 71, 0.79), rgba(6, 39, 52, 0.84)) !important;
}

#kids .journey-explore-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(2.1rem, 3.2vw, 2.7rem);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

#kids .journey-explore-label {
  max-width: 14ch;
  font-size: 0.86rem;
  font-weight: 720;
}

#kids .home-journey-aside {
  gap: 15px;
  padding: 0;
}

#kids #hero-retention-actions {
  gap: 11px;
}

#kids .home-journey-shell .journey-side-card,
#kids .home-journey-shell .home-journey-aside .home-skills-section {
  border-color: rgba(177, 229, 255, 0.2) !important;
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 202, 192, 0.12), transparent 38%),
    linear-gradient(148deg, rgba(9, 47, 63, 0.84), rgba(5, 24, 46, 0.87)) !important;
  box-shadow: 0 17px 34px rgba(0, 10, 28, 0.26), inset 0 1px 0 rgba(239, 253, 255, 0.09) !important;
}

#kids .home-journey-shell .journey-side-card {
  padding: 18px;
}

#kids .home-journey-shell .journey-side-card h4 {
  margin-bottom: 13px;
  font-size: 1.05rem;
}

#kids .home-journey-shell .journey-resume-item {
  min-height: 76px;
  margin-top: 0;
  padding: 9px;
  border-color: rgba(166, 226, 255, 0.18) !important;
  border-radius: 16px;
  background: rgba(3, 23, 41, 0.5) !important;
}

#kids .home-journey-shell .journey-install-button {
  min-height: 43px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(14, 96, 120, 0.88), rgba(10, 53, 91, 0.9)) !important;
  box-shadow: inset 0 1px 0 rgba(238, 253, 255, 0.15), 0 12px 22px rgba(0, 20, 42, 0.23) !important;
}

#kids .home-journey-shell .home-journey-aside .home-skills-section {
  padding: 17px 14px 15px;
}

#kids .home-journey-shell .home-skills-section .welcome-xp-title {
  margin-bottom: 12px;
  font-size: 0.78rem;
}

#kids .home-journey-shell .home-journey-aside .skills-xp-grid {
  gap: 9px;
}

#kids .home-journey-shell .home-journey-aside .skill-xp-item {
  min-height: 78px;
  border-color: rgba(172, 226, 255, 0.16) !important;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(47, 118, 145, 0.28), rgba(7, 41, 70, 0.44)) !important;
}

#kids .home-journey-shell .home-how-it-works {
  padding: 19px 21px;
  border-color: rgba(172, 226, 255, 0.14) !important;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(8, 48, 62, 0.72), rgba(5, 24, 43, 0.75)) !important;
  box-shadow: inset 0 1px 0 rgba(240, 253, 255, 0.07) !important;
}

#kids .home-journey-shell .home-how-it-works h2 {
  margin-bottom: 9px;
  font-size: 1rem;
}

#kids .home-journey-shell .home-how-it-works p,
#kids .home-journey-shell .home-how-it-works li {
  color: rgba(240, 249, 255, 0.77);
  font-size: 0.83rem;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 720px);
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  #kids .welcome-xp-card {
    gap: 20px;
  }

  #kids .home-journey-main {
    gap: 19px;
  }

  #kids .journey-home-panel {
    min-height: 0;
    gap: 21px;
    padding: 25px 19px;
    border-radius: 24px;
  }

  #kids .journey-card-greeting h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  #kids .journey-cta-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #kids .journey-cta-row > .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-row > .journey-cta-secondary {
    grid-column: 1;
  }

  #kids #journey-main-card .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-secondary {
    min-height: 43px !important;
  }

  #kids .journey-explore-grid {
    gap: 8px;
  }

  #kids .journey-explore-card,
  #kids .journey-explore-card:nth-child(3n + 2),
  #kids .journey-explore-card:nth-child(3n) {
    min-height: 112px;
    padding: 12px 4px 10px;
    border-radius: 17px;
  }

  #kids .journey-explore-icon {
    font-size: 1.86rem;
  }

  #kids .journey-explore-label {
    font-size: 0.67rem;
  }
}

/* Restore the approved green-and-blue Home palette on every existing surface. */
#kids .home-journey-shell {
  grid-template-columns: minmax(0, 1.42fr) minmax(282px, 0.78fr);
  gap: 20px;
  max-width: 1100px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(100, 180, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(0, 180, 220, 0.2), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(34, 139, 84, 0.2), transparent 38%),
    linear-gradient(150deg, #0b1a2a 0%, #12362e 54%, #102133 100%) !important;
  box-shadow: 0 30px 80px rgba(0, 76, 116, 0.45), 0 0 60px rgba(0, 180, 220, 0.13) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#kids .home-journey-shell::before,
#kids .home-journey-shell::after {
  display: block;
  z-index: 0;
  opacity: 0.36;
}

#kids .home-journey-shell::before {
  top: -36%;
  left: 22%;
  background: #1483a1;
}

#kids .home-journey-shell::after {
  right: -16%;
  bottom: -35%;
  background: #217651;
}

#kids .home-journey-main,
#kids .home-journey-aside {
  gap: 16px;
}

#kids .home-journey-aside {
  padding: 16px;
  border: 1px solid rgba(140, 209, 255, 0.18);
  border-radius: 23px;
  background: linear-gradient(160deg, #103a40 0%, #0b2538 100%) !important;
  box-shadow: inset 0 1px 0 rgba(194, 241, 255, 0.1), 0 16px 34px rgba(0, 17, 33, 0.24);
}

#kids .home-journey-main .profile-required-banner,
#kids .journey-home-panel {
  min-height: 0;
  border-color: rgba(150, 212, 255, 0.22) !important;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 7%, rgba(53, 156, 212, 0.2), transparent 36%),
    linear-gradient(150deg, #123f4e 0%, #0a223e 72%, #0a1c32 100%) !important;
  box-shadow: 0 19px 40px rgba(0, 10, 27, 0.3), inset 0 1px 0 rgba(212, 245, 255, 0.11) !important;
}

#kids .home-journey-main .profile-required-banner {
  padding: 21px;
}

#kids .journey-home-panel {
  gap: 16px;
  padding: 22px;
  overflow: visible;
}

#kids .journey-home-panel::before {
  display: none;
}

#kids .journey-card-greeting {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(159, 219, 255, 0.17);
}

#kids .journey-card-greeting h1 {
  max-width: none;
  font-size: clamp(2.2rem, 3.6vw, 3.35rem);
  line-height: 0.98;
}

#kids .journey-hero-panel {
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(153, 217, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, #0d3045 0%, #081d35 100%);
  box-shadow: inset 0 1px 0 rgba(212, 245, 255, 0.07);
}

#kids .journey-hero-title {
  max-width: none;
  font-size: clamp(0.88rem, 1.14vw, 1rem);
}

#kids .journey-cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

#kids .journey-explore-section {
  padding: 17px;
  border: 1px solid rgba(144, 211, 255, 0.16) !important;
  border-radius: 22px;
  background: linear-gradient(150deg, #0d3542 0%, #091f38 100%) !important;
  box-shadow: inset 0 1px 0 rgba(206, 244, 255, 0.07) !important;
}

#kids .journey-explore-section h3 {
  margin-bottom: 12px;
  font-size: clamp(1.13rem, 1.5vw, 1.33rem);
}

#kids .journey-explore-grid {
  gap: 10px;
}

#kids .journey-explore-card,
#kids .journey-explore-card:nth-child(3n + 2),
#kids .journey-explore-card:nth-child(3n) {
  min-height: 121px;
  padding: 13px 8px 12px;
  border-color: rgba(174, 226, 255, 0.2) !important;
  border-radius: 18px;
  background: linear-gradient(155deg, #205d6f 0%, #0b2e4b 100%) !important;
  box-shadow: 0 12px 26px rgba(0, 11, 29, 0.27), inset 0 1px 0 rgba(222, 249, 255, 0.1) !important;
}

#kids .journey-explore-card:nth-child(3n + 2) {
  background: linear-gradient(155deg, #295573 0%, #172d58 100%) !important;
}

#kids .journey-explore-card:nth-child(3n) {
  background: linear-gradient(155deg, #1d705e 0%, #0a3544 100%) !important;
}

#kids .journey-explore-icon {
  font-size: 2.15rem;
}

#kids .home-journey-shell .journey-side-card,
#kids .home-journey-shell .home-journey-aside .home-skills-section {
  border-color: rgba(146, 215, 255, 0.19) !important;
  border-radius: 19px;
  background: linear-gradient(150deg, #135161 0%, #092841 100%) !important;
  box-shadow: 0 14px 28px rgba(0, 11, 28, 0.25), inset 0 1px 0 rgba(218, 247, 255, 0.1) !important;
}

#kids .home-journey-shell .journey-side-card {
  padding: 16px;
}

#kids .home-journey-shell .journey-resume-item {
  background: linear-gradient(145deg, #0c3947 0%, #071d36 100%) !important;
}

#kids .home-journey-shell .journey-install-button {
  background: linear-gradient(135deg, #126b7a 0%, #0b4876 100%) !important;
}

#kids .home-journey-shell .home-journey-aside .home-skills-section {
  padding: 16px 13px;
}

#kids .home-journey-shell .home-journey-aside .skill-xp-item {
  min-height: 75px;
  background: linear-gradient(150deg, #1e6172 0%, #0b3554 100%) !important;
}

#kids .home-journey-shell .home-how-it-works {
  padding: 18px 20px;
  border-color: rgba(145, 212, 255, 0.16) !important;
  border-radius: 20px;
  background: linear-gradient(150deg, #0f4650 0%, #092742 100%) !important;
  box-shadow: inset 0 1px 0 rgba(211, 246, 255, 0.08) !important;
}

@media (max-width: 1120px) {
  #kids .home-journey-shell {
    grid-template-columns: minmax(0, 680px);
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  #kids .home-journey-shell {
    gap: 16px;
    padding: 16px;
    border-radius: 23px;
  }

  #kids .home-journey-aside {
    padding: 13px;
    border-radius: 19px;
  }

  #kids .journey-home-panel {
    padding: 18px;
    border-radius: 20px;
  }

  #kids .journey-hero-panel,
  #kids .journey-explore-section {
    padding: 13px;
    border-radius: 16px;
  }

  #kids .journey-cta-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #kids .journey-cta-row > .journey-cta:not(.journey-cta-secondary),
  #kids .journey-cta-row > .journey-cta-secondary {
    grid-column: 1;
  }

  #kids .journey-explore-card,
  #kids .journey-explore-card:nth-child(3n + 2),
  #kids .journey-explore-card:nth-child(3n) {
    min-height: 102px;
    border-radius: 15px;
  }

  #kids .journey-explore-icon {
    font-size: 1.72rem;
  }
}

/* Keeps the restored backup dashboard independent from the support tools below it. */
#kids .welcome-xp-card.backup-welcome-dashboard {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 30px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard-content {
  display: grid;
  gap: 22px;
  width: 100%;
  min-width: 0;
}

#kids .backup-welcome-dashboard .welcome-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(270px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  min-width: 0;
  margin: 0 0 20px !important;
  padding: 24px 26px !important;
  border: 1px solid rgba(129, 231, 192, 0.24) !important;
  border-radius: 25px !important;
  background:
    radial-gradient(circle at 6% 5%, rgba(81, 220, 167, 0.16), transparent 31%),
    radial-gradient(circle at 92% 100%, rgba(54, 160, 239, 0.19), transparent 38%),
    linear-gradient(145deg, rgba(16, 78, 72, 0.94), rgba(10, 39, 66, 0.96)) !important;
  box-shadow: 0 18px 42px rgba(0, 13, 29, 0.28), inset 0 1px 0 rgba(229, 255, 246, 0.09) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#kids .backup-welcome-dashboard .hero-left {
  display: grid;
  grid-template-areas:
    "welcome"
    "journey"
    "how"
    "required"
    "actions";
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  align-content: start;
  min-width: 0;
}

#kids .backup-welcome-dashboard .hero-user-info {
  grid-area: welcome;
  min-width: 0;
}

#kids .backup-welcome-dashboard .hero-user-info h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.15vw, 2.7rem);
  line-height: 1.05;
}

#kids .backup-welcome-dashboard .hero-journey-message {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.64rem, 3.2vw, 1rem);
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card {
  display: block;
  grid-area: journey;
  min-width: 0;
}

#kids .backup-welcome-dashboard .hero-left .home-how-it-works {
  grid-area: how;
  width: 100%;
  min-width: 0;
  margin: 0;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-hero-panel {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-home-panel {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  justify-content: start;
  justify-self: start;
  place-self: start;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  gap: 10px !important;
  transform: none;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta,
#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-secondary {
  grid-column: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  justify-self: stretch !important;
  min-height: 50px !important;
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
}

#kids .backup-welcome-dashboard .profile-required-banner {
  grid-area: required;
  margin: 0;
}

#kids .backup-welcome-dashboard #hero-retention-actions {
  display: grid;
  grid-area: actions;
  grid-template-columns: minmax(0, 1fr) minmax(138px, 0.38fr);
  gap: 12px;
  width: 100%;
}

#kids .backup-welcome-dashboard #hero-retention-actions .journey-side-card,
#kids .backup-welcome-dashboard #hero-retention-actions .journey-install-action {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(136, 222, 213, 0.2) !important;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 86, 87, 0.9), rgba(8, 48, 75, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(223, 255, 249, 0.08);
}

#kids .backup-welcome-dashboard #hero-retention-actions .journey-install-button {
  min-height: 44px;
  background: linear-gradient(135deg, #0f8876, #126ca0) !important;
}

#kids .backup-welcome-dashboard .hero-right {
  display: block;
  min-width: 0;
}

#kids .backup-welcome-dashboard .hero-right .skills-xp {
  height: auto;
  align-self: start;
  /* Align the skills panel with the Journey actions and the information card. */
  margin: 72px 0 0 !important;
  padding: 16px;
  border: 1px solid rgba(135, 225, 210, 0.22);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(9, 67, 70, 0.72), rgba(10, 45, 74, 0.8));
  box-shadow: inset 0 1px 0 rgba(230, 255, 249, 0.08);
}

#kids .backup-welcome-dashboard .skills-xp h3 {
  margin: 0 0 14px;
  background: linear-gradient(90deg, #91f0c6, #7bcaff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.08rem;
}

#kids .backup-welcome-dashboard .backup-journey-area {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

#kids .backup-welcome-dashboard .journey-card-greeting {
  display: none !important;
}

#kids .backup-welcome-dashboard .journey-home-panel {
  gap: 16px;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

#kids .backup-welcome-dashboard .journey-hero-panel,
#kids .backup-welcome-dashboard .journey-explore-section,
#kids .backup-welcome-dashboard .home-how-it-works {
  border-color: rgba(135, 225, 210, 0.2) !important;
  background: linear-gradient(145deg, rgba(11, 75, 73, 0.9), rgba(9, 43, 72, 0.94)) !important;
  box-shadow: 0 14px 28px rgba(0, 13, 30, 0.22), inset 0 1px 0 rgba(231, 255, 251, 0.07) !important;
}

#kids .backup-welcome-dashboard .journey-hero-panel {
  padding: 20px;
}

#kids .backup-welcome-dashboard .journey-explore-section {
  padding: 18px;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-section {
  margin: 12px 0 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-title {
  display: block !important;
  width: 100%;
  margin: 0 0 9px;
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 30%, #a78bfa 60%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-grid {
  grid-template-columns: repeat(3, minmax(0, 96px));
  justify-content: start;
  gap: 8px;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card,
#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:nth-child(3n + 2),
#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:nth-child(3n) {
  position: relative;
  min-height: 72px;
  padding: 6px 3px;
  gap: 4px;
  border: 1px solid rgba(151, 231, 211, 0.24) !important;
  border-radius: 11px;
  background: transparent !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-progress {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(177, 230, 255, 0.52);
  border-radius: 50%;
  background: rgba(10, 56, 77, 0.9);
  color: rgba(241, 251, 255, 0.98);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card.is-completed .journey-explore-progress {
  border-color: rgba(139, 240, 193, 0.78);
  background: rgba(22, 129, 93, 0.96);
  color: #ffffff;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 242, 224, 0.52) !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.38rem;
  filter: none;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-label {
  max-width: 12ch;
  font-size: 0.64rem;
  line-height: 1.08;
}

#kids .backup-welcome-dashboard .home-how-it-works {
  margin: 0;
}

@media (max-width: 980px) {
  #kids .backup-welcome-dashboard .welcome-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  #kids .backup-welcome-dashboard .hero-right .skills-xp {
    height: auto;
    margin: 0 !important;
  }
}

@media (max-width: 700px) {
  #kids .welcome-xp-card.backup-welcome-dashboard {
    gap: 18px;
    padding: 12px;
  }

  #kids .backup-welcome-dashboard .welcome-banner {
    gap: 14px;
    margin-bottom: 8px !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  #kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  #kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta,
  #kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-secondary {
    min-height: 44px !important;
    padding: 8px 10px !important;
    font-size: 0.76rem !important;
  }

  #kids .backup-welcome-dashboard #hero-retention-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The Journey CTA reuses the profile-setup button's full visual treatment. */
#kids .backup-welcome-dashboard #journey-main-card .journey-cta.normal-onboarding-button,
#kids .backup-welcome-dashboard .profile-required-banner .normal-onboarding-button {
  border: 1px solid rgba(88, 86, 214, 0.7) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.35), rgba(88, 86, 214, 0.4)) !important;
  animation: onboardingPulse 2s infinite !important;
  overflow: visible !important;
}

/* Remove the Journey-only aura so the shared profile-button pulse is the only glow. */
#kids .backup-welcome-dashboard #journey-main-card .journey-cta.normal-onboarding-button {
  position: static !important;
  isolation: auto !important;
  z-index: auto !important;
}

#kids .backup-welcome-dashboard #journey-main-card .journey-cta.normal-onboarding-button::after {
  content: none !important;
  animation: none !important;
  background: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Let the shared profile-button pulse extend beyond the Journey button. */
#kids .backup-welcome-dashboard .welcome-banner,
#kids .backup-welcome-dashboard #journey-main-card,
#kids .backup-welcome-dashboard #journey-main-card .journey-home-panel,
#kids .backup-welcome-dashboard #journey-main-card .journey-hero-panel,
#kids .backup-welcome-dashboard #journey-main-card .journey-cta-row {
  overflow: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  #kids .backup-welcome-dashboard #journey-main-card .journey-cta.normal-onboarding-button,
  #kids .backup-welcome-dashboard .profile-required-banner .normal-onboarding-button {
    animation: none !important;
  }
}

/* Ambient light gives the welcome dashboard the same magical depth as the rest of Lumnix. */
#kids .backup-welcome-dashboard .welcome-banner {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 44% 16%, rgba(167, 123, 255, 0.16), transparent 29%),
    radial-gradient(circle at 8% 5%, rgba(81, 220, 167, 0.2), transparent 31%),
    radial-gradient(circle at 92% 100%, rgba(54, 160, 239, 0.23), transparent 38%),
    linear-gradient(145deg, rgba(16, 78, 72, 0.94), rgba(10, 39, 66, 0.96)) !important;
  box-shadow:
    0 20px 48px rgba(0, 13, 29, 0.3),
    -12px 14px 42px rgba(54, 210, 167, 0.08),
    15px 18px 48px rgba(92, 132, 255, 0.1),
    inset 0 1px 0 rgba(229, 255, 246, 0.12) !important;
}

#kids .backup-welcome-dashboard .welcome-banner::before,
#kids .backup-welcome-dashboard .welcome-banner::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

#kids .backup-welcome-dashboard .welcome-banner::before {
  inset: 1px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 48% 12%, rgba(207, 183, 255, 0.22), transparent 2px),
    radial-gradient(circle at 29% 36%, rgba(175, 255, 225, 0.22), transparent 1.5px),
    radial-gradient(circle at 75% 29%, rgba(173, 221, 255, 0.24), transparent 1.5px),
    radial-gradient(circle at 88% 72%, rgba(183, 147, 255, 0.18), transparent 1.5px),
    radial-gradient(circle at 14% 83%, rgba(117, 236, 207, 0.18), transparent 1.5px);
  opacity: 0.78;
  animation: lumnix-welcome-stardust 10s ease-in-out infinite;
}

#kids .backup-welcome-dashboard .welcome-banner::after {
  top: 16%;
  right: 9%;
  width: 190px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(91, 163, 255, 0.15), transparent 68%);
  filter: blur(8px);
  opacity: 0.72;
  animation: lumnix-welcome-aurora 12s ease-in-out infinite;
}

#kids .backup-welcome-dashboard .welcome-banner > .hero-left,
#kids .backup-welcome-dashboard .welcome-banner > .hero-right,
#kids .backup-welcome-dashboard .welcome-banner > .mobile-data-grid {
  position: relative;
  z-index: 1;
}

#kids .backup-welcome-dashboard .hero-user-info {
  position: relative;
  isolation: isolate;
}

#kids .backup-welcome-dashboard .hero-user-info::before {
  content: '';
  position: absolute;
  top: -28px;
  left: -34px;
  width: min(390px, 88%);
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(118, 226, 192, 0.12), rgba(126, 146, 255, 0.07) 42%, transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

#kids .backup-welcome-dashboard .hero-user-info h2 {
  filter: drop-shadow(0 4px 15px rgba(3, 14, 33, 0.4));
  letter-spacing: -0.02em;
}

#kids .backup-welcome-dashboard .hero-journey-message {
  text-shadow: 0 2px 12px rgba(4, 18, 39, 0.34);
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row {
  position: relative;
  isolation: isolate;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row::before {
  content: '';
  position: absolute;
  right: 8%;
  bottom: -12px;
  left: 8%;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(108, 143, 255, 0.24), rgba(93, 236, 204, 0.1) 38%, transparent 72%);
  filter: blur(12px);
  opacity: 0.62;
  pointer-events: none;
  z-index: 0;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row > .journey-cta {
  z-index: 1;
}

#kids .backup-welcome-dashboard .hero-right .skills-xp {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 0%, rgba(138, 255, 214, 0.14), transparent 30%),
    radial-gradient(circle at 96% 100%, rgba(106, 159, 255, 0.18), transparent 44%),
    linear-gradient(150deg, rgba(9, 67, 70, 0.78), rgba(10, 45, 74, 0.86));
  box-shadow:
    0 16px 34px rgba(0, 13, 30, 0.22),
    inset 0 1px 0 rgba(230, 255, 249, 0.11),
    inset 0 0 32px rgba(84, 195, 224, 0.04);
}

#kids .backup-welcome-dashboard .hero-right .skills-xp::before {
  content: '';
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177, 247, 229, 0.7), rgba(143, 202, 255, 0.58), transparent);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

#kids .backup-welcome-dashboard .hero-right .skills-xp > * {
  position: relative;
  z-index: 1;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-icon {
  filter: drop-shadow(0 0 8px rgba(144, 221, 255, 0.24));
}

@keyframes lumnix-welcome-stardust {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.86; }
}

@keyframes lumnix-welcome-aurora {
  0%, 100% { opacity: 0.46; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.82; transform: translate3d(-12px, 8px, 0) scale(1.08); }
}

@media (max-width: 700px) {
  #kids .backup-welcome-dashboard .welcome-banner::after {
    top: 4%;
    right: 2%;
    width: 130px;
    height: 88px;
  }

  #kids .backup-welcome-dashboard .hero-user-info::before {
    left: -22px;
    width: 96%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #kids .backup-welcome-dashboard .welcome-banner::before,
  #kids .backup-welcome-dashboard .welcome-banner::after {
    animation: none;
  }
}

/* Match the calm, transparent surface hierarchy used by Support Tools. */
#kids .backup-welcome-dashboard .welcome-banner {
  border-color: rgba(153, 182, 255, 0.16) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 7% 9%, rgba(69, 214, 170, 0.21), transparent 32%),
    radial-gradient(circle at 93% 92%, rgba(64, 149, 255, 0.08), transparent 39%),
    linear-gradient(145deg, rgba(8, 20, 42, 0.67), rgba(7, 13, 30, 0.55)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
}

#kids .backup-welcome-dashboard .welcome-banner::before {
  opacity: 0.38;
}

#kids .backup-welcome-dashboard .welcome-banner::after {
  opacity: 0.26;
}

#kids .backup-welcome-dashboard .hero-user-info::before {
  opacity: 0.38;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-cta-row::before {
  opacity: 0.24;
}

#kids .backup-welcome-dashboard .hero-right .skills-xp,
#kids .backup-welcome-dashboard .home-how-it-works {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(145deg, rgba(50, 196, 151, 0.11), rgba(255, 255, 255, 0.045)) !important;
  box-shadow: none !important;
}

#kids .backup-welcome-dashboard .hero-right .skills-xp::before {
  opacity: 0.42;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card,
#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:nth-child(3n + 2),
#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:nth-child(3n) {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(145deg, rgba(50, 196, 151, 0.1), rgba(255, 255, 255, 0.045)) !important;
}

#kids .backup-welcome-dashboard .hero-left #journey-main-card .journey-explore-card:hover {
  border-color: rgba(164, 231, 209, 0.3) !important;
  background: linear-gradient(145deg, rgba(45, 182, 143, 0.13), rgba(255, 255, 255, 0.075)) !important;
}

/* The finished state belongs to the completed activities, not to the Journey CTA panel. */
#kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline {
  display: grid;
  justify-items: start;
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

#kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline .journey-done-title,
#kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline .journey-done-text {
  margin: 0;
}

#kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline .journey-done-text {
  max-width: 58ch;
}

#kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline .journey-cta {
  width: auto;
  min-width: min(100%, 250px);
  margin-top: 7px;
}

@media (max-width: 700px) {
  #kids .backup-welcome-dashboard #journey-main-card .journey-completion-inline {
    justify-items: center;
    text-align: center;
  }
}

/* Retenção diária: superfícies discretas que preservam a hierarquia da Jornada. */
#kids #journey-main-card .journey-daily-return,
#kids #journey-main-card .journey-streak-completion {
  width: 100%;
  max-width: 58ch;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(164, 231, 209, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(50, 196, 151, 0.09), rgba(255, 255, 255, 0.035));
  color: rgba(247, 252, 255, 0.96);
  overflow-wrap: anywhere;
}

#kids #journey-main-card .journey-daily-return {
  display: grid;
  gap: 3px;
  margin: 0 0 14px;
  padding: 12px 14px;
  text-align: left;
}

#kids #journey-main-card .journey-daily-return:focus-visible {
  outline: 3px solid rgba(132, 210, 255, 0.92);
  outline-offset: 3px;
}

#kids #journey-main-card .journey-daily-return-title,
#kids #journey-main-card .journey-daily-return-streak,
#kids #journey-main-card .journey-daily-return-message,
#kids #journey-main-card .journey-streak-count,
#kids #journey-main-card .journey-streak-message,
#kids #journey-main-card .journey-streak-complement {
  margin: 0;
  color: inherit;
  line-height: 1.45;
}

#kids #journey-main-card .journey-daily-return-title,
#kids #journey-main-card .journey-streak-count {
  font-size: 0.94rem;
  font-weight: 750;
}

#kids #journey-main-card .journey-daily-return-streak {
  color: rgba(211, 247, 234, 0.96);
  font-size: 0.84rem;
  font-weight: 700;
}

#kids #journey-main-card .journey-daily-return-message,
#kids #journey-main-card .journey-streak-message,
#kids #journey-main-card .journey-streak-complement {
  color: rgba(231, 240, 248, 0.82);
  font-size: 0.78rem;
}

#kids #journey-main-card .journey-streak-completion {
  display: grid;
  gap: 4px;
  margin: 8px 0 2px;
  padding: 12px 14px;
}

@media (max-width: 700px) {
  #kids #journey-main-card .journey-daily-return,
  #kids #journey-main-card .journey-streak-completion {
    max-width: 100%;
    padding: 11px 12px;
  }

  #kids #journey-main-card .journey-daily-return,
  #kids #journey-main-card .journey-streak-completion {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #kids #journey-main-card .journey-daily-return,
  #kids #journey-main-card .journey-streak-completion {
    animation: none !important;
    scroll-behavior: auto;
    transition: none !important;
  }
}
