/* ============================================================
   ECHO — personalised AI rival · adaptive flow · evolving codex
   Holographic violet / cyan / coral palette over deep midnight.
   ============================================================ */

.wc-scope .ec-encounter,
.wc-scope .ec-battle,
.wc-scope .ec-evo,
.wc-scope .ec-codex {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0a0f1e 0%, #101830 60%, #1a2540 100%);
  color: #e0f3ff;
  position: relative;
  overflow: hidden;
}

/* shared grid backdrop */
.ec-bg-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120,180,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,180,220,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ec-encounter > *,
.ec-battle > *,
.ec-evo > *,
.ec-codex > * { position: relative; z-index: 1; }

/* ─── 1. Encounter ─── */
.ec-encounter { padding: 18px 18px 16px; text-align: center; }
.ec-head { padding-top: 4px; }
.ec-eyebrow {
  font-family: var(--adv-display);
  font-size: 10.5px;
  letter-spacing: 3px;
  font-weight: 800;
  color: hsl(178 80% 70%);
  text-transform: uppercase;
}
.ec-title-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.ec-title-side { text-align: left; }
.ec-title-side.r { text-align: right; }
.ec-title-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: rgba(224,243,255,0.5);
  text-transform: uppercase;
}
.ec-title-name {
  font-family: var(--adv-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  margin-top: 1px;
  line-height: 1.1;
}
.ec-vs {
  font-family: var(--adv-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: hsl(28 80% 65%);
  padding: 5px 9px;
  border: 1.5px solid hsl(28 80% 50%);
  border-radius: 99px;
  background: hsl(28 80% 50% / 0.12);
  text-transform: uppercase;
}

.ec-arena {
  position: relative;
  margin-top: 14px;
  height: 280px;
  display: grid;
  place-items: center;
}
.ec-arena-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ec-arena-rings span {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1.5px dashed hsl(178 50% 50% / 0.25);
}
.ec-arena-rings span:nth-child(2) { width: 200px; height: 200px; border-style: solid; border-color: hsl(178 60% 50% / 0.3); }
.ec-arena-rings span:nth-child(3) { width: 160px; height: 160px; border-color: hsl(178 70% 60% / 0.4); }
.ec-arena-floor {
  position: absolute;
  bottom: 18px;
  width: 260px;
  height: 28px;
  background: radial-gradient(ellipse, hsl(178 70% 50% / 0.4), transparent 70%);
  filter: blur(2px);
}
.ec-avatar {
  position: relative;
  filter: drop-shadow(0 8px 24px hsl(178 80% 50% / 0.4));
}
.ec-arena-tag {
  position: absolute;
  bottom: 8px;
  font-family: var(--adv-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: hsl(178 80% 75%);
  background: rgba(10,15,30,0.6);
  border: 1px solid hsl(178 50% 35%);
  border-radius: 99px;
  padding: 5px 12px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.ec-arena-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(178 90% 60%);
  animation: ec-blink 1.4s infinite;
  box-shadow: 0 0 6px hsl(178 90% 60%);
}
@keyframes ec-blink { 50% { opacity: 0.3; } }

.ec-profile {
  margin-top: 14px;
  text-align: left;
  background: rgba(20,30,55,0.6);
  border: 1.5px solid hsl(178 40% 30%);
  border-radius: 14px;
  padding: 12px 14px;
}
.ec-profile-label {
  font-family: var(--adv-display);
  font-size: 9.5px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: hsl(178 70% 65%);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ec-profile-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ec-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(120,180,220,0.08);
  border: 1px solid hsl(178 40% 35%);
  border-radius: 99px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #e0f3ff;
}
.ec-profile-chip small {
  background: hsl(178 70% 50%);
  color: #082023;
  font-family: var(--adv-display);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.ec-profile-chip.strong small { background: hsl(28 80% 60%); color: #2a1300; }
.ec-profile-chip.strong { border-color: hsl(28 60% 45%); background: hsl(28 60% 30% / 0.15); }
.ec-profile-foot {
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(224,243,255,0.65);
  font-weight: 600;
  line-height: 1.4;
}
.ec-profile-foot strong { color: hsl(28 90% 70%); }

.ec-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ec-stat {
  background: rgba(20,30,55,0.6);
  border: 1px solid hsl(178 40% 28%);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}
.ec-stat-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: rgba(224,243,255,0.55);
  text-transform: uppercase;
}
.ec-stat-val {
  margin-top: 3px;
  font-family: var(--adv-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
}
.ec-stat-val strong { color: hsl(178 80% 70%); }
.ec-stat-val small {
  display: block;
  font-family: var(--adv-body);
  font-size: 11px;
  color: rgba(224,243,255,0.55);
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 4px;
}

.ec-cta {
  margin-top: auto;
  padding: 16px;
  background: linear-gradient(135deg, hsl(178 80% 50%), hsl(28 80% 55%));
  color: #04161f;
  border: none;
  border-radius: 14px;
  font-family: var(--adv-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 4px 0 hsl(178 60% 30%), 0 8px 28px hsl(178 80% 50% / 0.3);
}
.ec-cta small {
  font-family: var(--adv-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.55);
  text-transform: none;
}

/* ─── 2. Battle ─── */
.ec-battle { padding: 14px 16px 12px; }
.ec-battle-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ec-battle-q-num {
  font-family: var(--adv-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.ec-battle-q-num small {
  font-family: var(--adv-body);
  font-size: 12px;
  font-weight: 700;
  color: rgba(224,243,255,0.55);
  margin-left: 4px;
}
.ec-battle-timer {
  font-family: var(--adv-display);
  font-size: 22px;
  font-weight: 800;
  color: hsl(28 80% 65%);
  letter-spacing: -0.025em;
}

.ec-vs-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.ec-fighter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(20,30,55,0.6);
  border: 1.5px solid hsl(178 40% 30%);
  border-radius: 12px;
}
.ec-fighter.rival {
  flex-direction: row-reverse;
  text-align: right;
  border-color: hsl(28 60% 40%);
  background: hsl(28 30% 20% / 0.45);
}
.ec-fighter-portrait {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ec-fighter-portrait.you {
  background: linear-gradient(135deg, hsl(178 70% 35%), hsl(178 80% 25%));
  border: 1.5px solid hsl(178 80% 60%);
}
.ec-fighter-portrait.rival {
  background: linear-gradient(135deg, hsl(28 70% 25%), hsl(28 80% 35%));
  border: 1.5px solid hsl(28 80% 60%);
  overflow: hidden;
}
.ec-fighter-info { flex: 1; min-width: 0; }
.ec-fighter-name {
  font-family: var(--adv-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}
.ec-fighter-name small {
  font-family: var(--adv-body);
  font-size: 10px;
  color: rgba(224,243,255,0.6);
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 4px;
}
.ec-fighter-bar {
  margin-top: 5px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.ec-fighter-bar.you > div { height: 100%; background: linear-gradient(90deg, hsl(178 80% 50%), hsl(178 80% 70%)); border-radius: 99px; }
.ec-fighter-bar.rival > div { height: 100%; background: linear-gradient(90deg, hsl(28 80% 50%), hsl(28 80% 70%)); border-radius: 99px; }
.ec-fighter-score {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(224,243,255,0.65);
}
.ec-vs-strike {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #1a2540;
  font-size: 16px;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: 0 0 14px hsl(178 80% 50% / 0.5);
}

.ec-q {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  color: var(--adv-ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.ec-q-eyebrow {
  font-family: var(--adv-display);
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: hsl(28 70% 45%);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ec-q-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--adv-ink);
  line-height: 1.45;
  margin-bottom: 12px;
}
.ec-q-text strong { color: hsl(28 70% 40%); font-weight: 700; }
.ec-q-opts { display: flex; flex-direction: column; gap: 6px; }
.ec-q-opt {
  position: relative;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--adv-rule);
  border-radius: 10px;
  font-family: var(--adv-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--adv-ink);
  text-align: left;
}
.ec-q-opt.rival-pick {
  border-color: hsl(28 80% 50%);
  background: hsl(28 80% 95%);
}
.ec-q-rival-pin {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: hsl(28 80% 50%);
  color: #2a1300;
  font-family: var(--adv-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 3px 7px;
  border-radius: 5px;
}
.ec-q-rival-think {
  margin-top: 10px;
  padding: 8px 10px;
  background: hsl(28 60% 95%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: hsl(28 50% 30%);
}
.ec-q-rival-think strong { color: hsl(28 80% 35%); }
.ec-q-rival-think-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(28 90% 50%);
  animation: ec-blink 1s infinite;
}

.ec-flow {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(20,30,55,0.6);
  border: 1.5px solid hsl(178 50% 35%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ec-flow-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: hsl(178 80% 30%);
  color: hsl(178 100% 85%);
  font-family: var(--adv-display);
  font-size: 18px;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ec-flow-text { flex: 1; line-height: 1.4; }
.ec-flow-text strong {
  display: block;
  font-family: var(--adv-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.ec-flow-text small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(224,243,255,0.6);
}
.ec-flow-dial {
  display: flex;
  gap: 3px;
  align-items: center;
}
.ec-flow-dial span {
  width: 5px; height: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
}
.ec-flow-dial span.on {
  background: hsl(178 80% 60%);
  box-shadow: 0 0 6px hsl(178 80% 60%);
  height: 18px;
}

/* ─── 3. Evolution ─── */
.ec-evo { padding: 22px 18px 16px; text-align: center; }
.ec-evo-head { padding-top: 4px; }
.ec-evo-eyebrow {
  font-family: var(--adv-display);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 800;
  color: hsl(28 90% 70%);
  text-transform: uppercase;
}
.ec-evo-title {
  margin-top: 6px;
  font-family: var(--adv-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, hsl(178 80% 70%), hsl(28 90% 70%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ec-evo-sub {
  font-size: 13px;
  color: rgba(224,243,255,0.6);
  font-weight: 600;
  margin-top: 4px;
}

.ec-evo-stage {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 4px;
  background: rgba(20,30,55,0.5);
  border: 1.5px solid hsl(178 40% 28%);
  border-radius: 16px;
  padding: 12px 8px 8px;
}
.ec-evo-side { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ec-evo-side.faded { opacity: 0.45; filter: grayscale(0.4); }
.ec-evo-side.fresh { filter: drop-shadow(0 0 20px hsl(28 90% 60% / 0.4)); }
.ec-evo-side-label {
  font-family: var(--adv-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(224,243,255,0.65);
  text-align: center;
  line-height: 1.2;
}
.ec-evo-side-label small {
  display: block;
  font-family: var(--adv-body);
  font-size: 10px;
  color: rgba(224,243,255,0.45);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.ec-evo-side-label.fresh { color: hsl(28 90% 75%); }

.ec-evo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ec-evo-arrow-tag {
  font-family: var(--adv-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: hsl(28 80% 70%);
  text-transform: uppercase;
}

.ec-evo-card {
  margin-top: 14px;
  background: rgba(20,30,55,0.6);
  border: 1.5px solid hsl(28 50% 35%);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ec-evo-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ec-evo-card-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: hsl(28 80% 30%);
  color: hsl(28 100% 85%);
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.ec-evo-card-text { flex: 1; line-height: 1.4; }
.ec-evo-card-text strong {
  display: block;
  font-family: var(--adv-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
}
.ec-evo-card-text small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(224,243,255,0.65);
  margin-top: 2px;
}
.ec-evo-card-text small strong {
  display: inline;
  color: hsl(28 90% 70%);
  font-family: var(--adv-body);
  font-size: 11.5px;
}

.ec-tease {
  margin-top: 14px;
  background: rgba(0,0,0,0.3);
  border: 1.5px dashed hsl(290 40% 40%);
  border-radius: 14px;
  padding: 12px;
}
.ec-tease-label {
  font-family: var(--adv-display);
  font-size: 9.5px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: hsl(290 70% 75%);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ec-tease-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ec-tease-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  background: rgba(20,30,55,0.5);
  border: 1px solid rgba(120,180,220,0.15);
  border-radius: 10px;
}
.ec-tease-cell.next {
  border-color: hsl(28 70% 50%);
  background: hsl(28 60% 25% / 0.3);
}
.ec-tease-cell.final {
  border-color: hsl(0 70% 50%);
  background: hsl(0 70% 25% / 0.3);
}
.ec-tease-cell small {
  font-family: var(--adv-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(224,243,255,0.7);
}
.ec-tease-cell.next small { color: hsl(28 90% 75%); }
.ec-tease-cell.final small { color: hsl(0 90% 80%); }
.ec-tease-q {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(120,180,220,0.05);
  border: 1.5px dashed rgba(120,180,220,0.25);
  color: rgba(224,243,255,0.4);
  font-family: var(--adv-display);
  font-size: 24px;
  font-weight: 800;
  display: grid; place-items: center;
}
.ec-tease-foot {
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(224,243,255,0.6);
  font-weight: 600;
  line-height: 1.4;
}
.ec-tease-foot strong { color: hsl(0 80% 75%); }

.ec-evo-cta {
  margin-top: auto;
  padding: 14px;
  background: linear-gradient(135deg, hsl(28 80% 50%), hsl(0 80% 55%));
  color: #260800;
  border: none;
  border-radius: 14px;
  font-family: var(--adv-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 4px 0 hsl(28 60% 30%);
}
.ec-evo-cta small {
  font-family: var(--adv-body);
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(38,8,0,0.6);
  letter-spacing: 0;
  text-transform: none;
}

/* ─── 4. Codex ─── */
.ec-codex { padding: 18px 16px 16px; }
.ec-codex-head { text-align: center; }
.ec-codex-eyebrow {
  font-family: var(--adv-display);
  font-size: 10.5px;
  letter-spacing: 3px;
  font-weight: 800;
  color: hsl(178 80% 70%);
  text-transform: uppercase;
}
.ec-codex-title {
  margin-top: 4px;
  font-family: var(--adv-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
}
.ec-codex-progress {
  margin: 10px 0 14px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.ec-codex-pill {
  width: 28px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.ec-codex-pill.won { background: hsl(178 80% 55%); border-color: hsl(178 80% 55%); box-shadow: 0 0 8px hsl(178 80% 55% / 0.5); }
.ec-codex-pill.final { background: linear-gradient(135deg, hsl(0 80% 55%), hsl(28 90% 60%)); border-color: hsl(0 80% 60%); }

.ec-codex-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ec-codex-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(20,30,55,0.5);
  border: 1.5px solid hsl(178 30% 25%);
  border-radius: 12px;
}
.ec-codex-card.won { background: rgba(20,40,55,0.6); border-color: hsl(178 60% 40%); }
.ec-codex-card.hidden { opacity: 0.7; }
.ec-codex-card.final { border-color: hsl(0 70% 50%); background: linear-gradient(135deg, hsl(0 50% 20% / 0.5), hsl(28 60% 20% / 0.4)); }
.ec-codex-card-portrait { position: relative; }
.ec-codex-card-hidden {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: rgba(120,180,220,0.05);
  border: 1.5px dashed rgba(120,180,220,0.2);
  color: rgba(224,243,255,0.3);
  font-family: var(--adv-display);
  font-size: 32px;
  font-weight: 800;
  display: grid; place-items: center;
}
.ec-codex-final-crown {
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%);
  background: hsl(0 80% 55%);
  color: #fff;
  font-family: var(--adv-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 3px 8px;
  border-radius: 5px;
}

.ec-codex-card-body { min-width: 0; }
.ec-codex-card-name {
  font-family: var(--adv-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.ec-codex-card-topic {
  font-size: 12px;
  font-weight: 600;
  color: rgba(224,243,255,0.65);
  margin-top: 2px;
}
.ec-codex-card-foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ec-codex-card-foot small {
  font-size: 10.5px;
  color: rgba(224,243,255,0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.won-tag,
.next-tag,
.final-tag {
  font-family: var(--adv-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.won-tag { background: hsl(178 70% 35%); color: hsl(178 100% 90%); }
.next-tag { background: hsl(28 80% 35%); color: hsl(28 100% 90%); }
.final-tag { background: hsl(0 80% 40%); color: #fff; }

.ec-codex-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: rgba(0,0,0,0.32);
  border: 1px solid hsl(178 30% 28%);
  border-radius: 12px;
}
.ec-codex-summary-row {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ec-codex-summary-row strong {
  font-family: var(--adv-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
}
.ec-codex-summary-row small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: rgba(224,243,255,0.5);
  text-transform: uppercase;
}
