.battery-stage {
  background: radial-gradient(ellipse at 47% 35%, #247b63 0, #14483b 52%, #102d27 100%);
  overflow: hidden;
}
.battery-phone {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: min(92%, 249px);
  min-height: 149px;
  padding: 13px;
  border: 2px solid #7f948d;
  border-radius: 25px;
  background: #162720;
  box-shadow: inset 0 0 0 2px #0b1916, 0 13px 24px #061c15a8;
  text-align: center;
  color: #ebfff4;
}
.battery-screen { width: min(100%, 166px); }
.battery-screen > span { display: block; color: #c2ddcf; font-size: .78rem; }
.battery-screen strong { display: block; font: 700 clamp(36px, 7vw, 54px)/1 system-ui, sans-serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.battery-cell { position: relative; height: 23px; padding: 3px; margin: 12px 4px 0; border: 1.5px solid #a8c8b7; border-radius: 6px; }
.battery-cell::after { content: ""; position: absolute; right: -5px; top: 6px; width: 3px; height: 8px; border-radius: 0 2px 2px 0; background: #a8c8b7; }
.battery-fill { height: 100%; border-radius: 3px; background: #7ce5b4; transform: scaleX(var(--size)); transform-origin: left; transition: transform .43s ease, background .43s ease; }
.battery-explainer[data-state="desgaste"] .battery-fill { background: #ffd278; }
.battery-warning { display: none; }
.battery-explainer[data-state="dano"] .battery-screen { display: none; }
.battery-explainer[data-state="dano"] .battery-warning { display: grid; justify-items: center; gap: 8px; }
.battery-warning span { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #ffd278; border-radius: 50%; color: #ffd278; font: 700 30px/1 system-ui, sans-serif; }
.article-section--resource {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 21px);
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #cee3d8;
  border-radius: 14px;
  background: #eff7f1;
}
.resource-photo { flex: 0 0 clamp(68px, 15vw, 120px); position: relative; margin: 0; min-width: 0; }
.resource-photo .photo-frame { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; }
.resource-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.resource-copy { min-width: 0; }
.resource-copy h2 { margin: 0; font-size: clamp(1rem, 2.4vw, 1.4rem); line-height: 1.18; }
.resource-copy p { margin: 5px 0 0; font-size: .9rem; line-height: 1.4; color: #3c5750; }
.resource-copy a { display: inline-block; margin-top: 7px; font-weight: 700; color: #0d603f; }
@media (prefers-reduced-motion: reduce) {
  .battery-fill { transition: none; }
}
