
.egg-power-help {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 0.35rem 0 0.1rem;
  padding: 0;
  border: 1px solid #d6b45e;
  border-radius: 50%;
  background: rgb(14 9 6 / 55%);
  color: #f3dfb0;
  font: 700 0.8rem/1 var(--font-display, inherit);
  cursor: pointer;
  vertical-align: middle;
}
.egg-power-help:hover { color: #fff3d6; border-color: #f3cf74; transform: translateY(1px); }
.egg-power-help:focus-visible { outline: 3px solid #f3cf74; outline-offset: 2px; }

.ep-pop__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.ep-pop__col { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
@media (min-width: 45rem) {
  .ep-pop__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
}
.ep-village,
.ep-you,
.ep-glow,
.ep-facts,
.ep-step,
.ep-leaders__row {
  border: 1px solid #1a0e06;
  border-radius: 3px;
  background: var(--inset-bg, rgb(14 9 6 / 55%));
  box-shadow: var(--inset-shadow, inset 0 3px 9px rgb(0 0 0 / 65%));
}
.ep-village { padding: 0.7rem; display: flex; flex-direction: column; gap: 0.45rem; }
.ep-kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #f3cf74; }
.ep-village__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 1.05rem;
  white-space: nowrap;
}
.ep-village__head > .icon,
.ep-village__head > svg,
.ep-village__head > img { width: 1.5rem; height: 1.5rem; flex: none; image-rendering: pixelated; }
.ep-village__head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ep-village__val { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.9rem; }
.ep-badge {
  flex: none;
  padding: 0.1rem 0.4rem;
  border: 1px solid rgb(214 180 94 / 45%);
  border-radius: 3px;
  background: rgb(10 8 4 / 55%);
  color: #f3cf74;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ep-meter { position: relative; height: 16px; border: 1px solid #000; border-radius: 3px; background: #05070f; overflow: hidden; }
.ep-meter__fill { position: absolute; inset: 0 auto 0 0; min-width: 3px; background: linear-gradient(180deg, #f6d878, #c8962a); }
.ep-meter__tick { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgb(0 0 0 / 65%); }
.ep-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.ep-stage { display: flex; flex-direction: column; min-width: 0; padding: 0.25rem 0.3rem; border-top: 2px solid #3a2410; opacity: 0.6; }
.ep-stage.is-reached { opacity: 1; border-top-color: #c8962a; }
.ep-stage.is-current { border-top-color: #f6d878; }
.ep-stage b { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-stage small { font-size: 0.7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-you { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.7rem; }
.ep-you__face {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #5ab4f0;
  box-shadow: 0 0 0 1px #d6b45e, 0 2px 0 #000;
}
.ep-you__face img,
.ep-you__face .profile-btn__avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ep-you__face .profile-btn__fallback { width: 100%; height: 100%; display: grid; place-items: center; background: #3a4a62; border-radius: 0; }
.ep-you__face .profile-btn__fallback .icon { width: 1.5rem; height: 1.5rem; }
.ep-you > div { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.ep-you small { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: #f3cf74; }
.ep-you b { font-size: 1.3rem; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ep-you span { font-size: 0.8rem; color: var(--muted); }
.ep-label { margin: 0.1rem 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ep-glows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ep-steps,
.ep-leaders { display: flex; flex-direction: column; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.ep-glow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  min-width: 0;
  opacity: 0.7;
}
.ep-glow > .icon,
.ep-glow > svg,
.ep-glow > img {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  image-rendering: pixelated;
  filter: grayscale(1) brightness(0.7);
}
.ep-glow.is-earned,
.ep-glow.is-next { opacity: 1; }
.ep-glow.is-earned { border-color: rgb(214 180 94 / 55%); }
.ep-glow.is-earned > .icon,
.ep-glow.is-earned > svg,
.ep-glow.is-earned > img { filter: none; }
.ep-glow.is-next { border-color: rgb(243 207 116 / 55%); }
.ep-glow div { display: flex; flex-direction: column; min-width: 0; }
.ep-glow b { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-glow span { font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.ep-glow em {
  position: absolute;
  top: 6px;
  right: 8px;
  flex: none;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ep-glow.is-earned em { color: #8fe07a; }
.ep-glow.is-next em { color: #f3cf74; }
.ep-facts { margin: 0; padding: 0.6rem 0.7rem 0.6rem 1.7rem; font-size: 0.86rem; line-height: 1.4; }
.ep-step { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.55rem 0.7rem; }
.ep-step > .icon,
.ep-step > svg,
.ep-step > img { flex: none; width: 1.75rem; height: 1.75rem; margin-top: 0.1rem; image-rendering: pixelated; }
.ep-step div { display: flex; flex-direction: column; min-width: 0; }
.ep-step b { font-size: 0.95rem; }
.ep-step span { font-size: 0.82rem; line-height: 1.35; color: var(--muted); }
.ep-leaders__row { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.7rem; min-width: 0; }
.ep-leaders__row.is-you { border-color: rgb(243 207 116 / 55%); }
.ep-leaders__rank { flex: none; width: 1.2rem; text-align: center; color: #f3cf74; font-weight: 700; }
.ep-leaders__who { flex: 1 1 auto; min-width: 0; }
.ep-leaders__who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-leaders__row em { flex: none; font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.ep-leaders__row.is-you em { color: #f6e6c0; }
.ep-note { margin: 0; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 759px) {
  .ep-glows { grid-template-columns: minmax(0, 1fr); }
}
