/* EI App — visual system
   Builds on tokens.css. Cream-toned, devotional, mobile-first.
   All sizes assume a ~390px phone canvas. */


:root {
  /* Re-declare app tokens here so the canvas page can use them without
     pulling in tokens.css separately. Mirrors design/ei-app/tokens.css. */
  --app-navy-1: #0d2846;
  --app-navy-2: #123c68;
  --app-navy-3: #1f4c84;
  --app-gold: #d9a028;
  --app-gold-bright: #e8b545;
  --app-gold-deep: #b87f1c;
  --app-cream-1: #faf3e3;
  --app-cream-2: #f5ebd4;
  --app-cream-3: #ede0bc;
  --app-card: #ffffff;
  --app-card-soft: #fffdf7;
  --app-border: #e8dfc8;
  --app-border-soft: #f0e6d0;
  --app-text: #1f2d3d;
  --app-text-strong: #0d2846;
  --app-muted: #8a7e64;
  --tile-orac-bg: #fce2c6;   --tile-orac-fg: #8a4a18;
  --tile-hist-bg: #e3dcf5;   --tile-hist-fg: #4a3a8c;
  --tile-medit-bg: #d4ecdf;  --tile-medit-fg: #2a6e4a;
  --tile-afirm-bg: #dbe9f5;  --tile-afirm-fg: #1f4c84;
  --tile-bible-bg: #fce8e1;  --tile-bible-fg: #a83a2a;
  --app-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* --- Phone screen baseline --- */
.ei-phone {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--app-cream-1) 0%, var(--app-cream-2) 100%);
  color: var(--app-text);
  font-family: var(--app-font);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ei-phone--navy {
  background: linear-gradient(180deg, var(--ink-navy-1, #0d2846) 0%, var(--ink-navy-2, #123c68) 100%);
  color: #fff;
}

.ei-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* --- App header (no real status bar; that's the device frame's job) --- */
.ei-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 8px;
}
.ei-app-header__greeting {
  font-size: 13px;
  font-weight: 500;
  color: var(--app-muted);
  letter-spacing: 0.01em;
}
.ei-app-header__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
}
.ei-app-header__avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border: 2px solid var(--app-gold);
}

/* --- Verse / scripture hero card --- */
.ei-verse {
  margin: 12px 16px 18px;
  padding: 22px 22px 20px;
  background: linear-gradient(160deg, var(--ink-navy-2, #123c68) 0%, var(--ink-navy-1, #0d2846) 100%);
  color: #fff;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 40, 70, 0.18);
}
.ei-verse::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(217,160,40,0.28), transparent 70%);
  pointer-events: none;
}
.ei-verse__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  margin-bottom: 10px;
}
.ei-verse__quote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  font-style: italic;
}
.ei-verse__ref {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.ei-verse__cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* --- Section header --- */
.ei-section-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 12px;
}
.ei-section-h__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
}
.ei-section-h__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-navy-2);
}

/* --- Category tiles --- */
.ei-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 8px;
}
.ei-tile {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 18px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.ei-tile--wide { grid-column: span 2; min-height: 88px; flex-direction: row; align-items: center; gap: 14px; }
.ei-tile__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.55);
}
.ei-tile__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.ei-tile__meta {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}
.ei-tile--orac  { background: var(--tile-orac-bg);  color: var(--tile-orac-fg); }
.ei-tile--hist  { background: var(--tile-hist-bg);  color: var(--tile-hist-fg); }
.ei-tile--medit { background: var(--tile-medit-bg); color: var(--tile-medit-fg); }
.ei-tile--afirm { background: var(--tile-afirm-bg); color: var(--tile-afirm-fg); }
.ei-tile--bible { background: var(--tile-bible-bg); color: var(--tile-bible-fg); }

/* --- Continue / feed --- */
.ei-feed { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ei-row {
  display: flex; gap: 12px; align-items: center;
  padding: 12px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(31, 45, 61, 0.04);
}
.ei-row__art {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--app-cream-3);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.ei-row__body { flex: 1; min-width: 0; }
.ei-row__kicker {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 3px;
}
.ei-row__title {
  font-size: 14px; font-weight: 700; color: var(--app-text-strong);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ei-row__meta {
  font-size: 12px; color: var(--app-muted); margin-top: 2px;
}
.ei-row__play {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* --- Tab bar --- */
.ei-tabbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px 10px;
  background: rgba(255, 251, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--app-border-soft);
}
.ei-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.01em;
}
.ei-tab--active { color: var(--app-navy-2); }
.ei-tab--active .ei-tab__dot { background: var(--app-gold); opacity: 1; }
.ei-tab__icon { display: flex; align-items: center; justify-content: center; height: 22px; }
.ei-tab__dot {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--app-muted); opacity: 0;
}

/* --- Placeholder art (striped) --- */
.ei-ph {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(13,40,70,0.08) 0 6px,
      rgba(13,40,70,0.02) 6px 12px);
  background-color: var(--app-cream-3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(13,40,70,0.5);
  text-align: center;
  padding: 6px;
  border-radius: inherit;
}
.ei-ph--navy {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.12) 0 6px,
      rgba(255,255,255,0.04) 6px 12px);
  background-color: var(--ink-navy-3, #1f4c84);
  color: rgba(255,255,255,0.6);
}

/* --- Onboarding --- */
.ei-onb {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.ei-onb__logo {
  margin: 14px auto 28px;
  width: 96px; height: 96px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ei-onb__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}
.ei-onb__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  text-align: center;
  margin-bottom: 26px;
  padding: 0 8px;
}
.ei-onb__lang {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.ei-lang-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
}
.ei-lang-row--active {
  background: rgba(217,160,40,0.15);
  border-color: var(--app-gold);
}
.ei-lang-row__flag {
  width: 28px; height: 20px; border-radius: 4px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.ei-lang-row__name { flex: 1; font-weight: 600; font-size: 14px; }
.ei-lang-row__native { color: rgba(255,255,255,0.55); font-size: 12px; }
.ei-onb__cta {
  margin-top: auto;
  padding: 16px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* --- Player --- */
.ei-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a3658 0%, #0a1e36 100%);
  color: #fff;
}
.ei-player__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.ei-player__topbar button {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ei-player__art {
  margin: 8px 28px 24px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.ei-player__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  text-align: center;
  margin-bottom: 8px;
}
.ei-player__title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
  padding: 0 32px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.ei-player__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 20px;
}
.ei-player__bar {
  margin: 6px 28px 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  position: relative;
}
.ei-player__bar > div {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--app-gold);
  border-radius: 999px;
}
.ei-player__time {
  display: flex; justify-content: space-between;
  margin: 0 28px 16px;
  font-size: 11px; color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
}
.ei-player__controls {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin-bottom: 26px;
}
.ei-player__controls button {
  background: transparent; border: 0; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ei-player__play {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--app-gold); color: var(--ink-navy-1, #0d2846);
  display: flex; align-items: center; justify-content: center;
}

/* --- Generic screen headers (non-home) --- */
.ei-screen-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 6px;
}
.ei-screen-header__back {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(13, 40, 70, 0.06);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--app-text-strong);
  flex: 0 0 auto;
}
.ei-screen-header__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--app-text-strong);
  flex: 1;
  text-align: center;
  padding-right: 36px;
}

/* --- Bible reader --- */
.ei-bible {
  padding: 10px 24px 24px;
}
.ei-bible__chapter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--app-gold-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
.ei-bible__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--app-text-strong);
  text-align: center;
  margin-bottom: 18px;
}
.ei-bible__verse {
  font-size: 16px;
  line-height: 1.7;
  color: var(--app-text);
  margin-bottom: 12px;
  text-wrap: pretty;
}
.ei-bible__verse sup {
  font-size: 10px;
  font-weight: 700;
  color: var(--app-gold-deep);
  margin-right: 4px;
  vertical-align: super;
}
.ei-bible__verse--highlight {
  background: linear-gradient(transparent 60%, rgba(217,160,40,0.28) 60%);
  padding: 0 2px;
}
.ei-bible__nav {
  display: flex; justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--app-border-soft);
  font-size: 13px; font-weight: 600;
  color: var(--app-navy-2);
}

/* --- Historia (saint) detail --- */
.ei-hist__hero {
  margin: 0 16px 16px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.ei-hist__hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,40,70,0.7) 100%);
}
.ei-hist__caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #fff;
  z-index: 1;
}
.ei-hist__caption-kick {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  margin-bottom: 4px;
}
.ei-hist__caption-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ei-hist__meta {
  display: flex; gap: 10px;
  padding: 0 20px 14px;
}
.ei-hist__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(13, 40, 70, 0.06);
  color: var(--app-navy-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ei-hist__body {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--app-text);
}
.ei-hist__body p { margin: 0 0 12px; }
.ei-hist__pull {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--app-gold);
  font-style: italic;
  color: var(--app-text-strong);
  font-size: 15px;
  background: rgba(217,160,40,0.05);
  border-radius: 0 12px 12px 0;
}

/* --- Journal --- */
.ei-journal__date {
  padding: 14px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
}
.ei-journal__entry {
  margin: 8px 16px;
  padding: 16px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
}
.ei-journal__entry-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.ei-journal__entry-title {
  font-size: 14px; font-weight: 700; color: var(--app-text-strong);
}
.ei-journal__entry-time {
  font-size: 11px; color: var(--app-muted);
}
.ei-journal__entry-body {
  font-size: 13.5px; line-height: 1.55; color: var(--app-text);
}
.ei-journal__compose {
  margin: 12px 16px 18px;
  padding: 14px 16px;
  background: rgba(217,160,40,0.1);
  border: 1.5px dashed var(--app-gold);
  border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--app-gold-deep);
}

/* --- Church finder / search --- */
.ei-search {
  margin: 12px 16px 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(13,40,70,0.06);
}
.ei-search input {
  border: 0; background: transparent;
  font-family: inherit; font-size: 14px;
  width: 100%; outline: none;
  color: var(--app-text);
}
.ei-search__filter {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ei-chips {
  display: flex; gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.ei-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: rgba(13,40,70,0.05);
  color: var(--app-navy-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ei-chip--active {
  background: var(--ink-navy-2, #123c68);
  color: #fff;
}
/* Premium advanced-filter chips: gold-tinted to read as a premium control. */
.ei-chip--adv {
  background: var(--app-gold-soft, rgba(184,134,11,0.12));
  color: var(--app-gold-deep, #8a6d1a);
  border: 1px solid var(--app-gold-soft, rgba(184,134,11,0.25));
}
.ei-chip--adv.ei-chip--active {
  background: var(--app-gold-deep, #b8860b);
  color: #fff;
  border-color: var(--app-gold-deep, #b8860b);
}
.ei-church-card {
  margin: 0 16px 12px;
  padding: 14px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  display: flex; gap: 12px;
}
.ei-church-card__art {
  width: 64px; height: 64px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
.ei-church-card__body { flex: 1; min-width: 0; }
.ei-church-card__name {
  font-size: 14px; font-weight: 700; color: var(--app-text-strong);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.ei-church-card__denom {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 6px;
}
.ei-church-card__meta {
  font-size: 12px;
  color: var(--app-muted);
  display: flex; gap: 10px;
  align-items: center;
}

/* --- Profile --- */
.ei-profile__head {
  padding: 24px 20px 16px;
  text-align: center;
}
.ei-profile__ava {
  width: 76px; height: 76px;
  border-radius: 999px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  margin: 0 auto 10px;
  border: 3px solid var(--app-gold);
}
.ei-profile__name {
  font-size: 18px; font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
}
.ei-profile__sub {
  font-size: 12px; color: var(--app-muted);
  margin-top: 2px;
}
.ei-profile__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 16px 18px;
  padding: 14px 0;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
}
.ei-profile__stat { text-align: center; }
.ei-profile__stat-n {
  font-size: 20px; font-weight: 800;
  color: var(--app-gold-deep);
  letter-spacing: -0.01em;
}
.ei-profile__stat-l {
  font-size: 10.5px; font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ei-profile__list {
  margin: 0 16px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.ei-profile__list-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--app-border-soft);
}
.ei-profile__list-row:last-child { border-bottom: 0; }
.ei-profile__list-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(13,40,70,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--app-navy-2);
}
.ei-profile__list-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--app-text-strong);
}

/* --- Streak band (home) --- */
.ei-streak {
  margin: 0 16px 14px;
  padding: 14px 16px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.ei-streak__flame {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b932, #d9a028);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ei-streak__body { flex: 1; }
.ei-streak__n {
  font-size: 18px; font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
}
.ei-streak__l {
  font-size: 12px; color: var(--app-muted);
}
.ei-streak__dots {
  display: flex; gap: 4px;
}
.ei-streak__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--app-border);
}
.ei-streak__dot--on { background: var(--app-gold); }

/* --- Feed-led home (variant B) --- */
.ei-today-card {
  margin: 14px 16px 18px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--app-card);
  box-shadow: 0 10px 28px rgba(13,40,70,0.10);
  border: 1px solid var(--app-border-soft);
}
.ei-today-card__art {
  height: 160px;
  position: relative;
}
.ei-today-card__overlay {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  color: #fff;
  z-index: 1;
}
.ei-today-card__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  margin-bottom: 4px;
}
.ei-today-card__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ei-today-card__body {
  padding: 14px 16px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.ei-today-card__meta {
  font-size: 12px; color: var(--app-muted);
}
.ei-today-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px 16px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.ei-pill-row {
  display: flex; gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
}
.ei-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--app-text-strong);
  white-space: nowrap;
}
.ei-pill--active {
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-color: var(--app-navy-2);
}
.ei-pill__sw { width: 10px; height: 10px; border-radius: 3px; }

/* --- Paywall --- */
.ei-paywall {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-navy-1, #0d2846) 0%, var(--ink-navy-2, #123c68) 60%, #1a4878 100%);
  color: #fff;
}
.ei-paywall__topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px 8px;
}
.ei-paywall__topbar button {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 0;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
}
.ei-paywall__crest {
  margin: 4px auto 18px;
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(217,160,40,0.4);
}
.ei-paywall__kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  text-align: center;
  margin-bottom: 8px;
}
.ei-paywall__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  padding: 0 28px;
  margin-bottom: 8px;
}
.ei-paywall__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  padding: 0 32px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.ei-paywall__benefits {
  margin: 0 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ei-paywall__benefit {
  display: flex; gap: 12px;
  align-items: flex-start;
}
.ei-paywall__benefit-tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(217,160,40,0.18);
  color: var(--app-gold-bright);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.ei-paywall__benefit-body {
  flex: 1;
}
.ei-paywall__benefit-title {
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.005em;
}
.ei-paywall__benefit-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  line-height: 1.4;
}
.ei-paywall__plans {
  margin: 0 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ei-plan {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 12px;
}
.ei-plan--active {
  background: rgba(217,160,40,0.12);
  border-color: var(--app-gold);
}
.ei-plan__radio {
  width: 20px; height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.4);
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.ei-plan--active .ei-plan__radio {
  border-color: var(--app-gold);
  background: var(--app-gold);
}
.ei-plan--active .ei-plan__radio::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ink-navy-1, #0d2846);
}
.ei-plan__body { flex: 1; min-width: 0; }
.ei-plan__title { font-size: 14px; font-weight: 700; }
.ei-plan__sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.ei-plan__price { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ei-plan__badge {
  position: absolute;
  top: -8px; right: 12px;
  padding: 3px 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  border-radius: 999px;
}
.ei-paywall__cta {
  margin: 6px 18px 8px;
  padding: 16px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(217,160,40,0.35);
}
.ei-paywall__legal {
  text-align: center;
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  padding: 4px 28px 16px;
  line-height: 1.55;
}
.ei-paywall__legal a { color: rgba(255,255,255,0.7); text-decoration: underline; }

/* --- Completion screen --- */
.ei-done {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--app-cream-1) 0%, var(--app-cream-2) 100%);
  text-align: center;
}
.ei-done__crest {
  margin: 60px auto 22px;
  width: 96px; height: 96px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--app-gold-bright), var(--app-gold-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px rgba(184,127,28,0.32);
}
.ei-done__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 10px;
}
.ei-done__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--app-text-strong);
  padding: 0 32px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.ei-done__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--app-text);
  padding: 0 36px;
  line-height: 1.55;
  margin-bottom: 6px;
  text-wrap: pretty;
}
.ei-done__ref {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--app-muted);
  margin-bottom: 28px;
}
.ei-done__streak-card {
  margin: 0 20px 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 6px 18px rgba(13,40,70,0.06);
}
.ei-done__streak-n {
  font-size: 28px; font-weight: 800;
  color: var(--app-gold-deep);
  letter-spacing: -0.02em;
}
.ei-done__streak-l {
  text-align: left;
  font-size: 13px; font-weight: 600;
  color: var(--app-text-strong);
}
.ei-done__streak-sub {
  font-size: 11px; color: var(--app-muted);
  margin-top: 1px;
}
.ei-done__actions {
  padding: 0 20px 28px;
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
}
.ei-done__primary {
  padding: 15px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}
.ei-done__secondary {
  padding: 13px;
  color: var(--app-navy-2);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

/* --- Church detail --- */
.ei-church-hero {
  margin: 0;
  height: 220px;
  position: relative;
}
.ei-church-hero__back {
  position: absolute; top: 14px; left: 16px;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ei-church-hero__actions {
  position: absolute; top: 14px; right: 16px;
  display: flex; gap: 8px;
  z-index: 2;
}
.ei-church-hero__actions button {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 0;
  color: var(--ink-navy-1, #0d2846);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ei-church-detail {
  padding: 18px 20px 12px;
  margin-top: -22px;
  background: var(--app-cream-1);
  border-radius: 22px 22px 0 0;
  position: relative;
  z-index: 1;
}
.ei-church-detail__denom {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 6px;
}
.ei-church-detail__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--app-text-strong);
  line-height: 1.15;
  margin-bottom: 6px;
}
.ei-church-detail__addr {
  font-size: 13px;
  color: var(--app-muted);
  margin-bottom: 14px;
}
.ei-church-detail__cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.ei-church-detail__cta {
  padding: 12px 6px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--app-navy-2);
}
.ei-church-detail__cta--primary {
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-color: var(--app-navy-2);
}
.ei-church-detail__section {
  padding: 12px 20px;
}
.ei-church-detail__section-h {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-muted);
  margin-bottom: 10px;
}
.ei-mass-list {
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.ei-mass-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border-soft);
  font-size: 13.5px;
}
.ei-mass-row:last-child { border-bottom: 0; }
.ei-mass-row__day {
  flex: 0 0 90px;
  font-weight: 700;
  color: var(--app-text-strong);
}
.ei-mass-row__times {
  flex: 1;
  color: var(--app-text);
  font-variant-numeric: tabular-nums;
}

/* --- Onboarding denominación --- */
.ei-onb__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ei-onb__chip-card {
  padding: 16px 12px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.ei-onb__chip-card--active {
  background: rgba(217,160,40,0.16);
  border-color: var(--app-gold);
}
.ei-onb__chip-card__sub {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.ei-onb__skip {
  text-align: center;
  padding: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
}

/* --- Time picker (onboarding 3) --- */
.ei-time-picker {
  margin: 0 0 20px;
  padding: 22px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'SF Mono', 'Menlo', 'Montserrat', monospace;
  font-variant-numeric: tabular-nums;
}
.ei-time-picker__col {
  display: flex; flex-direction: column;
  align-items: center;
  height: 132px;
  overflow: hidden;
  width: 64px;
  position: relative;
  mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.ei-time-picker__num {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.ei-time-picker__num--sel {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}
.ei-time-picker__sep {
  font-size: 32px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin: 0 4px;
  align-self: center;
}
.ei-time-presets {
  display: flex; gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.ei-time-preset {
  flex: 1; min-width: calc(33% - 6px);
  padding: 10px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.ei-time-preset--on {
  background: rgba(217,160,40,0.15);
  border-color: var(--app-gold);
  color: #fff;
}
.ei-time-preset__time {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

/* --- Notification permission (onboarding 4) --- */
.ei-perm-dialog {
  margin: 18px auto;
  width: 90%;
  background: rgba(245, 245, 247, 0.98);
  border-radius: 18px;
  padding: 18px 18px 8px;
  text-align: center;
  color: #1f2d3d;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}
.ei-perm-dialog__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.ei-perm-dialog__body  { font-size: 12.5px; color: rgba(31,45,61,0.75); line-height: 1.4; padding: 0 4px 14px; border-bottom: 0.5px solid rgba(0,0,0,0.1); }
.ei-perm-dialog__btns  { display: flex; }
.ei-perm-dialog__btn   {
  flex: 1; padding: 12px 8px;
  font-size: 14px; font-weight: 500;
  color: #007aff;
  border-left: 0.5px solid rgba(0,0,0,0.1);
}
.ei-perm-dialog__btn:first-child { border-left: 0; }
.ei-perm-dialog__btn--strong { font-weight: 700; }

/* --- Empty / error states --- */
.ei-empty {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 32px;
}
.ei-empty__icon {
  width: 84px; height: 84px;
  border-radius: 999px;
  background: rgba(13,40,70,0.06);
  color: var(--app-navy-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ei-empty__icon--warn {
  background: rgba(217,160,40,0.15);
  color: var(--app-gold-deep);
}
.ei-empty__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ei-empty__sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--app-muted);
  margin-bottom: 20px;
  text-wrap: pretty;
}
.ei-empty__cta {
  padding: 13px 22px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
}
.ei-empty__cta--gold {
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
}
.ei-empty__cta--ghost {
  background: transparent;
  color: var(--app-navy-2);
  padding-top: 10px;
  font-weight: 600;
}

/* --- Downloads / offline library --- */
.ei-dl-summary {
  margin: 0 16px 14px;
  padding: 14px 16px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
}
.ei-dl-summary__n {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.01em;
}
.ei-dl-summary__label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.ei-dl-summary__bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
}
.ei-dl-summary__bar > div {
  height: 100%;
  background: var(--app-gold);
  border-radius: 999px;
}
.ei-dl-row {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 16px;
  background: var(--app-card);
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  margin: 0 16px 10px;
}
.ei-dl-row__art {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.ei-dl-row__body { flex: 1; min-width: 0; }
.ei-dl-row__title {
  font-size: 13.5px; font-weight: 700;
  color: var(--app-text-strong);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ei-dl-row__meta {
  font-size: 11.5px;
  color: var(--app-muted);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.ei-dl-row__status {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.ei-dl-row__progress {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  position: relative;
}
.ei-dl-row__progress svg {
  transform: rotate(-90deg);
}
.ei-dl-row__progress-pct {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--app-gold-deep);
  font-variant-numeric: tabular-nums;
}

/* --- Premium badge + crest --- */
.ei-premium-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--app-gold-bright), var(--app-gold-deep));
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ei-premium-strip {
  margin: 12px 16px 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(217,160,40,0.18), rgba(245,185,50,0.08));
  border: 1px solid rgba(217,160,40,0.4);
  border-radius: 14px;
  display: flex; gap: 12px; align-items: center;
}
.ei-premium-strip__crest {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--app-gold-bright), var(--app-gold-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.ei-premium-strip__body { flex: 1; }
.ei-premium-strip__title {
  font-size: 13px; font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.005em;
}
.ei-premium-strip__sub {
  font-size: 11.5px;
  color: var(--app-gold-deep);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────
   Kids section — "Para los pequeños"
   Brighter, rounder, audio-first. Same brand, amplified saturation.
   ───────────────────────────────────────────────────────────────────────── */
.ei-kids {
  font-family: var(--app-font);
}

/* Entry tile on the main home — wide, illustrated, family-coded */
.ei-tile--kids {
  grid-column: span 2;
  min-height: 110px;
  background: linear-gradient(135deg, #ffe2c2 0%, #ffd0b0 100%);
  color: #6b3a18;
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.ei-tile--kids::after {
  content: '';
  position: absolute;
  right: -20px; bottom: -30px;
  width: 130px; height: 130px;
  background-image: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.5) 0 6px,
    rgba(255,255,255,0) 6px 12px);
  border-radius: 999px;
  opacity: 0.7;
}
.ei-tile--kids__art {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(107,58,24,0.6);
  text-align: center;
  padding: 6px;
}
.ei-tile--kids__body { position: relative; z-index: 1; flex: 1; }
.ei-tile--kids__title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.ei-tile--kids__sub {
  font-size: 12px;
  opacity: 0.75;
  font-weight: 600;
}

/* Kids home — distinct warm background */
.ei-kids-phone {
  background: linear-gradient(180deg, #fff1d9 0%, #ffe2c2 100%);
}
.ei-kids-header {
  padding: 16px 20px 6px;
  display: flex; align-items: center; gap: 14px;
}
.ei-kids-header__back {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  color: #6b3a18;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(107,58,24,0.1);
  flex: 0 0 auto;
}
.ei-kids-header__greeting {
  font-size: 13px; font-weight: 600;
  color: rgba(107,58,24,0.7);
  letter-spacing: 0.01em;
}
.ei-kids-header__name {
  font-size: 22px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ei-kids-hero {
  margin: 12px 16px 18px;
  padding: 20px 18px;
  background: #fff;
  border-radius: 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 8px 22px rgba(107,58,24,0.08);
}
.ei-kids-hero__mascot {
  flex: 0 0 auto;
  width: 86px; height: 86px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--app-gold-bright), var(--app-gold-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px;
  line-height: 1.2;
}
.ei-kids-hero__body { flex: 1; }
.ei-kids-hero__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 4px;
}
.ei-kids-hero__title {
  font-size: 17px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.ei-kids-hero__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #4a2a10;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ei-kids-section-h {
  padding: 4px 20px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,42,16,0.6);
}

.ei-kids-stories {
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ei-kids-story {
  background: #fff;
  border-radius: 22px;
  padding: 12px;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 12px rgba(107,58,24,0.06);
}
.ei-kids-story__art {
  height: 92px;
  border-radius: 16px;
  margin-bottom: 10px;
}
.ei-kids-story__title {
  font-size: 13.5px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.ei-kids-story__meta {
  font-size: 11px;
  font-weight: 600;
  color: rgba(74,42,16,0.55);
  display: flex; align-items: center; gap: 4px;
}

.ei-kids-bedtime {
  margin: 16px 16px 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #2a3658 0%, #1a2540 100%);
  border-radius: 22px;
  display: flex; align-items: center; gap: 14px;
  color: #fff;
}
.ei-kids-bedtime__art {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #ffd96a;
}
.ei-kids-bedtime__body { flex: 1; }
.ei-kids-bedtime__title {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.ei-kids-bedtime__sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
}
.ei-kids-bedtime__play {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--app-gold);
  color: #1a2540;
  display: flex; align-items: center; justify-content: center;
}

/* Story player — scene with caption */
.ei-kids-player {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #ffeacb 0%, #ffd0b0 100%);
  color: #4a2a10;
}
.ei-kids-player__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 8px;
}
.ei-kids-player__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 0;
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
}
.ei-kids-player__progress {
  display: flex; gap: 4px;
  align-items: center;
  padding: 0 18px 12px;
}
.ei-kids-player__progress > div {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}
.ei-kids-player__progress > div.on { background: #4a2a10; }
.ei-kids-player__scene {
  margin: 0 18px 14px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.ei-kids-player__caption {
  padding: 0 28px;
  text-align: center;
}
.ei-kids-player__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,42,16,0.6);
  margin-bottom: 6px;
}
.ei-kids-player__line {
  font-size: 18px;
  font-weight: 700;
  color: #4a2a10;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: pretty;
  margin-bottom: 18px;
}
.ei-kids-player__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin: 4px 0 24px;
}
.ei-kids-player__controls button {
  background: rgba(255,255,255,0.5);
  border: 0;
  width: 52px; height: 52px;
  border-radius: 999px;
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
}
.ei-kids-player__play {
  width: 72px !important;
  height: 72px !important;
  background: #4a2a10 !important;
  color: #ffd96a !important;
  box-shadow: 0 10px 26px rgba(74,42,16,0.3);
}

/* Bedtime full screen */
.ei-kids-night {
  flex: 1;
  display: flex; flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #1a2540 0%, #0d1a30 50%, #0a1428 100%);
  color: #fff;
  overflow: hidden;
}
.ei-kids-night::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 22%, rgba(255,217,106,0.9) 0, transparent 1.5px),
    radial-gradient(circle at 60% 14%, rgba(255,255,255,0.7) 0, transparent 1px),
    radial-gradient(circle at 85% 28%, rgba(255,255,255,0.8) 0, transparent 1.5px),
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.6) 0, transparent 1px),
    radial-gradient(circle at 75% 50%, rgba(255,217,106,0.5) 0, transparent 1.2px),
    radial-gradient(circle at 15% 60%, rgba(255,255,255,0.7) 0, transparent 1px);
  pointer-events: none;
}
.ei-kids-night__top {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
}
.ei-kids-night__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 0;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ei-kids-night__moon {
  position: relative; z-index: 1;
  margin: 28px auto 24px;
  width: 130px; height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff8d6 0%, #ffd96a 60%, #d4a423 100%);
  box-shadow:
    0 0 40px rgba(255,217,106,0.4),
    inset -8px -8px 20px rgba(180,135,30,0.4);
}
.ei-kids-night__kicker {
  position: relative; z-index: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd96a;
  margin-bottom: 10px;
}
.ei-kids-night__title {
  position: relative; z-index: 1;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0 36px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.ei-kids-night__sub {
  position: relative; z-index: 1;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 0 32px;
  margin-bottom: 26px;
}
.ei-kids-night__big-play {
  position: relative; z-index: 1;
  margin: 6px auto 0;
  width: 88px; height: 88px;
  border-radius: 999px;
  background: #ffd96a;
  color: #1a2540;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 8px rgba(255,217,106,0.15),
    0 0 0 18px rgba(255,217,106,0.08);
}
.ei-kids-night__duration {
  position: relative; z-index: 1;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

/* Afirmación */
.ei-kids-afirm {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #dbf0e3 0%, #b8e0c8 100%);
  color: #1f4a2d;
}
.ei-kids-afirm__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
}
.ei-kids-afirm__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 0;
  color: #1f4a2d;
  display: flex; align-items: center; justify-content: center;
}
.ei-kids-afirm__hero {
  margin: 8px 24px 24px;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: rgba(255,255,255,0.6);
}
.ei-kids-afirm__kicker {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2a6e4a;
  margin-bottom: 12px;
}
.ei-kids-afirm__line {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0 28px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.ei-kids-afirm__ref {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(31,74,45,0.6);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.ei-kids-afirm__cta {
  margin: auto 24px 24px;
  padding: 16px;
  background: #1f4a2d;
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Parent gate */
.ei-pgate {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--app-cream-1) 0%, var(--app-cream-2) 100%);
}
.ei-pgate__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
}
.ei-pgate__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(13,40,70,0.06);
  border: 0;
  color: var(--app-navy-2);
  display: flex; align-items: center; justify-content: center;
}
.ei-pgate__crest {
  margin: 30px auto 18px;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--ink-navy-2, #123c68);
  color: var(--app-gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.ei-pgate__title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  padding: 0 28px;
  line-height: 1.2;
}
.ei-pgate__sub {
  text-align: center;
  font-size: 13.5px;
  color: var(--app-muted);
  padding: 0 32px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.ei-pgate__question {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--app-text-strong);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ei-pgate__display {
  margin: 0 24px 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 16px;
  text-align: center;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 38px;
  font-weight: 700;
  color: var(--app-text-strong);
  letter-spacing: 0.05em;
}
.ei-pgate__display em {
  font-style: normal;
  color: var(--app-gold-deep);
  margin: 0 6px;
}
.ei-pgate__pad {
  margin: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ei-pgate__key {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--app-text-strong);
  font-family: 'SF Mono', 'Menlo', monospace;
}
.ei-pgate__key--accent {
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-color: var(--app-navy-2);
}
.ei-pgate__key--ghost { background: transparent; border-color: transparent; }

/* ─────────────────────────────────────────────────────────────────────────
   Kids · carrusel del día
   ───────────────────────────────────────────────────────────────────────── */
.ei-kids-carousel {
  padding: 0 0 4px;
  margin-bottom: 18px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  display: flex;
  gap: 14px;
  scroll-padding-left: 16px;
}
.ei-kids-carousel::-webkit-scrollbar { display: none; }
.ei-kids-carousel > * {
  scroll-snap-align: start;
  flex: 0 0 76%;
}
.ei-kids-carousel > *:first-child { margin-left: 16px; }
.ei-kids-carousel > *:last-child  { margin-right: 16px; }

.ei-kids-card {
  background: #fff;
  border-radius: 26px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(107,58,24,0.10);
  position: relative;
  overflow: hidden;
}
.ei-kids-card__art {
  height: 150px;
  border-radius: 18px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.ei-kids-card__order {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.85);
  color: var(--ink-navy-1, #0d2846);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 1;
}
.ei-kids-card__kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 4px;
}
.ei-kids-card__title {
  font-size: 16px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
  flex: 1;
}
.ei-kids-card__cta {
  display: flex; align-items: center; gap: 8px;
}
.ei-kids-card__play {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #4a2a10;
  color: #ffd96a;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.ei-kids-card__meta {
  font-size: 12px;
  color: rgba(74,42,16,0.55);
  font-weight: 600;
}

.ei-kids-pages {
  display: flex; justify-content: center;
  gap: 6px;
  margin: -8px 0 18px;
}
.ei-kids-pages > div {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(74,42,16,0.25);
}
.ei-kids-pages > div.on {
  width: 22px;
  background: #4a2a10;
}

/* Library list under carousel — smaller */
.ei-kids-lib {
  padding: 0 16px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.ei-kids-lib__row {
  display: flex; gap: 12px; align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(107,58,24,0.05);
}
.ei-kids-lib__art {
  width: 56px; height: 56px;
  border-radius: 14px;
  flex: 0 0 auto;
}
.ei-kids-lib__body { flex: 1; min-width: 0; }
.ei-kids-lib__title {
  font-size: 14px; font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.005em;
}
.ei-kids-lib__meta {
  font-size: 11.5px; color: rgba(74,42,16,0.55);
  font-weight: 600;
  margin-top: 2px;
}
.ei-kids-lib__play {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(74,42,16,0.08);
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   Modo familia — selector de perfil + añadir niño
   ───────────────────────────────────────────────────────────────────────── */
.ei-family {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-navy-1, #0d2846) 0%, var(--ink-navy-2, #123c68) 70%, #1f4c84 100%);
  color: #fff;
  padding: 0 0 24px;
}
.ei-family__hd {
  padding: 28px 24px 6px;
  text-align: center;
}
.ei-family__crest {
  margin: 4px auto 14px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--app-gold-bright);
}
.ei-family__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ei-family__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 22px;
}

.ei-family__grid {
  flex: 1;
  padding: 8px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.ei-fcard {
  padding: 18px 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.ei-fcard--kid {
  background: linear-gradient(180deg, rgba(255,222,176,0.16), rgba(255,176,120,0.08));
  border-color: rgba(255,200,140,0.32);
}
.ei-fcard--add {
  border-style: dashed;
  border-color: rgba(255,255,255,0.22);
  background: transparent;
  color: rgba(255,255,255,0.72);
}
.ei-fcard__avatar {
  width: 64px; height: 64px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.ei-fcard--add .ei-fcard__avatar {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}
.ei-fcard__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.ei-fcard__role {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.ei-fcard__crown {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px;
  background: var(--app-gold);
  color: var(--ink-navy-1, #0d2846);
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ei-fcard__kicker {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-gold-bright);
  margin-top: 2px;
}

/* Añadir niño */
.ei-addkid {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--app-cream-1) 0%, var(--app-cream-2) 100%);
}
.ei-addkid__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 4px;
}
.ei-addkid__top button {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(13,40,70,0.06);
  border: 0;
  color: var(--app-text-strong);
  display: flex; align-items: center; justify-content: center;
}
.ei-addkid__title {
  padding: 8px 24px 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--app-text-strong);
  line-height: 1.15;
}
.ei-addkid__sub {
  padding: 0 24px 18px;
  font-size: 13.5px;
  color: var(--app-muted);
  line-height: 1.5;
}
.ei-addkid__field {
  margin: 0 20px 16px;
}
.ei-addkid__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-muted);
  margin-bottom: 6px;
}
.ei-addkid__input {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text-strong);
  display: flex; align-items: center; gap: 8px;
}
.ei-addkid__input--placeholder { color: var(--app-muted); font-weight: 500; }
.ei-addkid__chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ei-addkid__chip {
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--app-text-strong);
}
.ei-addkid__chip--on {
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-color: var(--app-navy-2);
}
.ei-addkid__avatars {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.ei-addkid__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  border: 3px solid transparent;
}
.ei-addkid__avatar--on { border-color: var(--app-gold); }
.ei-addkid__cta {
  margin: auto 20px 22px;
  padding: 16px;
  background: var(--ink-navy-2, #123c68);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Perfil del niño — racha propia, medallas, camino bíblico
   ───────────────────────────────────────────────────────────────────────── */
.ei-kp {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff1d9 0%, #ffe2c2 100%);
}
.ei-kp__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
}
.ei-kp__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(107,58,24,0.1);
}
.ei-kp__hero {
  margin: 0 16px 14px;
  padding: 22px 18px 18px;
  background: #fff;
  border-radius: 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 22px rgba(107,58,24,0.08);
  overflow: hidden;
}
.ei-kp__hero::before {
  content: '';
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 90px;
  background: radial-gradient(ellipse at center, rgba(255,217,106,0.4), transparent 60%);
  pointer-events: none;
}
.ei-kp__avatar {
  margin: 0 auto 12px;
  width: 84px; height: 84px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 32px; font-weight: 800;
  border: 4px solid var(--app-gold);
  position: relative;
}
.ei-kp__name {
  font-size: 22px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.ei-kp__age {
  font-size: 12.5px;
  color: rgba(74,42,16,0.6);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.ei-kp__streak-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff5e0, #ffe2a8);
  border: 1px solid rgba(217,160,40,0.35);
  border-radius: 18px;
}
.ei-kp__streak-flame {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b932, #d97a2a);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.ei-kp__streak-n {
  font-size: 26px; font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  line-height: 1;
}
.ei-kp__streak-l {
  font-size: 11.5px;
  color: rgba(74,42,16,0.7);
  font-weight: 600;
  margin-top: 2px;
}
.ei-kp__streak-body { text-align: left; }

.ei-kp-section-h {
  padding: 4px 22px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.ei-kp-section-h__t {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,42,16,0.65);
}
.ei-kp-section-h__l {
  font-size: 11px;
  font-weight: 700;
  color: var(--app-gold-deep);
}

.ei-kp-week {
  margin: 0 16px 16px;
  padding: 14px 18px 16px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 16px rgba(107,58,24,0.06);
}
.ei-kp-week__bars {
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 64px;
  margin-bottom: 8px;
}
.ei-kp-week__bar {
  flex: 1;
  margin: 0 3px;
  background: linear-gradient(180deg, var(--app-gold-bright), var(--app-gold-deep));
  border-radius: 6px 6px 2px 2px;
  position: relative;
}
.ei-kp-week__bar--off {
  background: rgba(74,42,16,0.1);
}
.ei-kp-week__bar-day {
  position: absolute;
  bottom: -18px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(74,42,16,0.6);
}

.ei-kp-next {
  margin: 0 16px 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(217,160,40,0.4);
  border-radius: 20px;
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.ei-kp-next__medal {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8d6, #ffd96a 60%);
  border: 1px solid rgba(217,160,40,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #b87f1c;
  font-size: 24px;
}
.ei-kp-next__body { flex: 1; }
.ei-kp-next__kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-gold-deep);
  margin-bottom: 2px;
}
.ei-kp-next__t {
  font-size: 14px;
  font-weight: 800;
  color: #4a2a10;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.ei-kp-next__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(74,42,16,0.1);
  overflow: hidden;
}
.ei-kp-next__bar > div {
  height: 100%;
  background: var(--app-gold);
  border-radius: 999px;
}
.ei-kp-next__pct {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(74,42,16,0.65);
  margin-top: 4px;
}

.ei-kp-medals {
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ei-medal {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8d6, #ffd96a 60%, #d4a423);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: #6b4a10;
  box-shadow: 0 4px 10px rgba(184,127,28,0.18), inset 0 1px 0 rgba(255,255,255,0.4);
}
.ei-medal--locked {
  background: rgba(74,42,16,0.06);
  color: rgba(74,42,16,0.25);
  box-shadow: none;
}
.ei-medal__icon {
  display: flex; align-items: center; justify-content: center;
}

/* Camino bíblico — sendero ascendente */
.ei-camino {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff1d9 0%, #fce4c0 100%);
}
.ei-camino__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 8px;
}
.ei-camino__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(107,58,24,0.1);
}
.ei-camino__title {
  font-size: 18px; font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  flex: 1;
  text-align: center;
  padding-right: 42px;
}
.ei-camino__count {
  padding: 4px 22px 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(74,42,16,0.6);
  font-weight: 700;
}
.ei-camino__path {
  flex: 1;
  position: relative;
  padding: 0 16px 24px;
}
.ei-camino__stop {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(107,58,24,0.06);
}
.ei-camino__stop--done { background: rgba(255, 217, 106, 0.18); }
.ei-camino__stop--current {
  background: #fff;
  border: 2px solid var(--app-gold);
  box-shadow: 0 8px 24px rgba(217,160,40,0.3);
}
.ei-camino__stop--locked { opacity: 0.55; }
.ei-camino__num {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex: 0 0 auto;
}
.ei-camino__stop--done .ei-camino__num {
  background: linear-gradient(135deg, #f5b932, #d97a2a);
  color: #fff;
}
.ei-camino__stop--current .ei-camino__num {
  background: #4a2a10;
  color: var(--app-gold-bright);
}
.ei-camino__stop--locked .ei-camino__num {
  background: rgba(74,42,16,0.1);
  color: rgba(74,42,16,0.4);
}
.ei-camino__stop-body { flex: 1; min-width: 0; }
.ei-camino__stop-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,42,16,0.5);
  margin-bottom: 2px;
}
.ei-camino__stop-t {
  font-size: 14px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.005em;
}
.ei-camino__stop-l {
  font-size: 11.5px;
  color: rgba(74,42,16,0.6);
  margin-top: 2px;
}
.ei-camino__stop-status {
  flex: 0 0 auto;
  font-size: 18px;
  width: 28px;
  text-align: center;
}

/* Recompensa */
.ei-reward {
  flex: 1;
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff1d9 0%, #ffd96a 100%);
  overflow: hidden;
  text-align: center;
}
.ei-reward::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 36%, rgba(255,217,106,0.85) 0, transparent 30%);
  pointer-events: none;
}
.ei-reward::after {
  content: '';
  position: absolute;
  top: 130px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(255,217,106,0) 0deg,
      rgba(255,217,106,0) 15deg,
      rgba(255,217,106,0.45) 15deg,
      rgba(255,217,106,0.45) 16deg);
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.ei-reward__top {
  position: relative; z-index: 1;
  display: flex; justify-content: flex-end;
  padding: 14px 18px 6px;
}
.ei-reward__top button {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 0;
  color: #4a2a10;
  display: flex; align-items: center; justify-content: center;
}
.ei-reward__kicker {
  position: relative; z-index: 1;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b87f1c;
}
.ei-reward__title {
  position: relative; z-index: 1;
  font-size: 24px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  padding: 6px 32px 18px;
  line-height: 1.15;
}
.ei-reward__medal {
  position: relative; z-index: 1;
  margin: 12px auto 22px;
  width: 150px; height: 150px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8d6, #ffd96a 50%, #d4a423);
  border: 6px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(184,127,28,0.4);
  color: #6b4a10;
}
.ei-reward__name {
  position: relative; z-index: 1;
  font-size: 20px;
  font-weight: 800;
  color: #4a2a10;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ei-reward__desc {
  position: relative; z-index: 1;
  font-size: 13.5px;
  color: rgba(74,42,16,0.7);
  padding: 0 36px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.ei-reward__quote {
  position: relative; z-index: 1;
  margin: 0 28px 24px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  font-size: 13px;
  font-style: italic;
  color: #4a2a10;
  line-height: 1.45;
}
.ei-reward__ref {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(74,42,16,0.6);
  display: block;
  margin-top: 6px;
}
.ei-reward__cta {
  position: relative; z-index: 1;
  margin: auto 24px 24px;
  padding: 16px;
  background: #4a2a10;
  color: #ffd96a;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

/* Parent insights of each kid */
.ei-pi {
  flex: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--app-cream-1) 0%, var(--app-cream-2) 100%);
}
.ei-pi__hd {
  padding: 16px 20px 4px;
}
.ei-pi__kid-card {
  margin: 8px 16px 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--app-border-soft);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(13,40,70,0.05);
}
.ei-pi__kid-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.ei-pi__kid-avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
  border: 2px solid var(--app-gold);
}
.ei-pi__kid-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--app-text-strong);
  letter-spacing: -0.005em;
}
.ei-pi__kid-meta {
  font-size: 12px;
  color: var(--app-muted);
  margin-top: 1px;
}
.ei-pi__kid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.ei-pi__stat {
  text-align: center;
  padding: 8px 6px;
  background: rgba(13,40,70,0.04);
  border-radius: 12px;
}
.ei-pi__stat-n {
  font-size: 18px;
  font-weight: 800;
  color: var(--app-gold-deep);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.ei-pi__stat-l {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-muted);
  margin-top: 2px;
}
.ei-pi__kid-last {
  font-size: 12.5px;
  color: var(--app-text);
  background: rgba(217,160,40,0.08);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.45;
  border-left: 3px solid var(--app-gold);
}
.ei-pi__kid-last em {
  font-style: normal;
  font-weight: 800;
  color: var(--app-gold-deep);
  letter-spacing: 0.06em;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
