/* "Charge-up" (switch CHARGE_UP, html.evts-charge; Basel 30.11 11:15): the shopper's list behaves like an EV battery
   charging. Only transform and opacity move (plus the header ring's stroke and the hearts' fill, two tiny SVG shapes);
   no libraries, no layout shift: everything that moves is fixed, absolutely placed or keeps its size. Every loop runs only
   while its block is on screen (.evts-run, set by public/assets/evts-charge.js). prefers-reduced-motion: all still. */

/* ===================== 1. the header heart: a glass heart with red liquid (round 2, Basel 30.11 11:50) ===================== */
/* level = saved items / 5 (full at 5+), a wave moving on the surface, tiny bubbles rising like a charging battery. An item
   added: the liquid rises with a splash (droplets jump and fall back), a short drip, an electric arc zaps once around the
   heart. Reaching full: one overflow moment (droplets spill, sparks and mini hearts, a glow pulse). The counter stays. */
:root { --evts-heart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.3-4.5-9.4-9.1C1.1 7.9 3.4 4.5 6.9 4.5c2 0 3.6 1.1 5.1 2.9 1.5-1.8 3.1-2.9 5.1-2.9 3.5 0 5.8 3.4 4.3 6.9-2.1 4.6-9.4 9.1-9.4 9.1z'/%3E%3C/svg%3E"); --evts-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4'%3E%3Cpath fill='%23FF5A5F' d='M0 2C1 .8 3 .8 4 2S7 3.2 8 2V4H0z'/%3E%3C/svg%3E"); }
.evts-cl { --lvl: 0; color: rgb(var(--color-foreground)); }
.evts-lh { --lh: 2.8rem; position: relative; z-index: 1; display: inline-block; flex: none; width: var(--lh); height: var(--lh); }
.evts-lh--hdr { --lh: 2.9rem; }
.evts-lh__glass { position: absolute; inset: 0; overflow: hidden; -webkit-mask: var(--evts-heart-mask) center / 100% 100% no-repeat; mask: var(--evts-heart-mask) center / 100% 100% no-repeat;
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05)); }
.evts-lh__lq { position: absolute; left: -10%; right: -10%; top: 0; height: 100%; transform: translateY(calc((0.92 - 0.86 * var(--lvl)) * 100%));
  transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.evts-lh__wave { position: absolute; left: 0; top: -3px; width: calc(100% + 16px); height: 4px; background: var(--evts-wave) 0 0 / 8px 4px repeat-x;
  animation: evts-cu-wave 1.8s linear infinite; animation-play-state: paused; }
.evts-lh__body { position: absolute; left: 0; right: 0; top: .8px; bottom: -40%; background: linear-gradient(180deg, #FF5A5F 0, #E0242F 45%, #A3111C 100%); }
.evts-lh__bub { position: absolute; inset: 0; }
.evts-lh__bub i { position: absolute; top: 9px; width: 2px; height: 2px; border-radius: 50%; background: rgba(255, 255, 255, .85); opacity: 0;
  animation: evts-cu-bub 2.6s ease-in infinite; animation-play-state: paused; }
.evts-lh__bub i:nth-child(1) { left: 44%; }
.evts-lh__bub i:nth-child(2) { left: 56%; animation-delay: .9s; }
.evts-lh__bub i:nth-child(3) { left: 50%; animation-delay: 1.7s; width: 1.5px; height: 1.5px; }
.evts-lh__shine { position: absolute; left: 17%; top: 24%; width: 24%; height: 15%; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: rotate(-32deg); opacity: .6; }
.evts-lh__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.evts-lh__line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; opacity: .92; }
.evts-lh__arc { fill: none; stroke: #FFE6A0; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: .14 .36; stroke-dashoffset: 1; opacity: 0; }
.evts-lh__fx { position: absolute; inset: 0; pointer-events: none; }
[data-evts-loop].evts-run .evts-lh__wave, [data-evts-loop].evts-run .evts-lh__bub i { animation-play-state: running; }
.evts-cl:not(.has-items) .evts-lh__bub, .evts-sbtn:not(.is-saved) .evts-lh__bub { display: none; }
.evts-cl.is-zap .evts-lh__arc { animation: evts-cu-zap .7s cubic-bezier(.4, 0, .2, 1) both; }
.evts-cl.is-beat .evts-lh--hdr, .evts-cl:hover .evts-lh--hdr { animation: evts-cu-beat .75s ease-in-out; }
.evts-cl.is-full .evts-lh__lq { transform: translateY(-6%); transition-duration: .35s; }
/* a charge LED: a very slow, soft glow while something is saved; a pulse when it fills up */
.evts-cl__glow { position: absolute; inset: .2rem; z-index: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 71, 71, .45) 0, rgba(255, 71, 71, .12) 45%, rgba(255, 71, 71, 0) 70%); }
.evts-cl.has-items .evts-cl__glow { opacity: .22; animation: evts-cu-led 4.4s ease-in-out infinite; animation-play-state: paused; }
.evts-cl.has-items.evts-run .evts-cl__glow { animation-play-state: running; }
.evts-cl.is-full .evts-cl__glow { animation: evts-cu-full-glow 1.1s ease-out 1 both; }
.evts-cl .evts-list-count { z-index: 2; }
/* droplets, the drip, mini hearts (made by evts-charge.js) */
.evts-cu-drop { position: absolute; left: 0; top: 0; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #FF5A5F; box-shadow: 0 0 3px rgba(255, 90, 95, .8); pointer-events: none; }
.evts-drop--drip { width: 2px; height: 4.5px; margin: -2px 0 0 -1px; border-radius: 1px 1px 2px 2px; }
.evts-mh { position: fixed; left: 0; top: 0; z-index: 1000; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; pointer-events: none; color: #FF4D5A; will-change: transform, opacity; }
.evts-mh svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 3px rgba(255, 77, 90, .6)); }
@keyframes evts-cu-wave { to { transform: translateX(-16px); } }
@keyframes evts-cu-bub { 0% { opacity: 0; transform: translateY(4px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes evts-cu-zap { 0% { opacity: 0; stroke-dashoffset: 1; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes evts-cu-beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.22); } 34% { transform: scale(.96); } 52% { transform: scale(1.12); } 70% { transform: scale(1); } }
@keyframes evts-cu-led { 0%, 100% { opacity: .16; } 50% { opacity: .5; } }
@keyframes evts-cu-full-glow { 0% { opacity: .25; transform: scale(1); } 35% { opacity: 1; transform: scale(1.55); } 100% { opacity: .22; transform: scale(1); } }

/* ===================== the save hearts (cards + product page): the heart fills from the bottom ===================== */
.evts-charge .evts-save .evts-save__heart, .evts-charge .evts-save.is-saved .evts-save__heart { fill: none; stroke: none; overflow: visible; }
.evts-hf__line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.evts-hf__solid { fill: #E5383B; clip-path: inset(100% 0 0 0); transition: clip-path .4s cubic-bezier(.4, 0, .2, 1); }
.evts-save.is-saved .evts-hf__solid { clip-path: inset(0 0 0 0); }

/* ===================== 2. the product page's hero button (round 2, Basel 30.11 11:50) ===================== */
/* unsaved: a dark glass pill, a red-to-orange light running around the border, the heart beats softly every few seconds;
   hover: it lifts and glows. Tap: the heart fills with red liquid, mini hearts and sparks burst, deep red floods the pill
   from the tap point, the words slide to "Saved to my list", a white check draws inside the heart (evts-charge.js).
   Saved: deep red with a slow liquid shimmer. Tap again: the heart drains. White text: 15:1 on the glass, 4.8:1+ on red. */
.evts-charge .evts-sbtn { position: relative; isolation: isolate; overflow: hidden; gap: 1rem; border: 0; border-radius: 999px; color: #fff; font-weight: 700; letter-spacing: .01em;
  background: #2a2d38; box-shadow: 0 8px 22px rgba(14, 15, 18, .22); transition: transform .2s ease, box-shadow .25s ease; }
.evts-charge .evts-sbtn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 71, 71, .3), 0 0 0 1px rgba(255, 106, 60, .35), 0 0 22px rgba(255, 90, 40, .25); }
.evts-charge .evts-sbtn:active { transform: translateY(0) scale(.99); }
.evts-sbtn::before { content: ''; position: absolute; z-index: 0; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; pointer-events: none; transition: opacity .3s;
  background: conic-gradient(from 0deg, transparent 0 62%, #FF4747 78%, #FF8A3D 86%, #F25C00 90%, transparent 98%);
  transform: translate(-50%, -50%) rotate(0deg); animation: evts-cu-turn 4.5s linear infinite; animation-play-state: paused; }
.evts-sbtn.evts-run::before { animation-play-state: running; }
.evts-sbtn::after { content: ''; position: absolute; z-index: 0; inset: 1.5px; border-radius: 999px; pointer-events: none;
  background: linear-gradient(135deg, #20232d 0%, #14151b 60%, #101116 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.evts-sbtn > .evts-sbtn__red { position: absolute; z-index: 1; inset: 0; border-radius: inherit; overflow: hidden; opacity: 0; transition: opacity .35s ease;
  background: linear-gradient(135deg, #E11D2E 0%, #B3131F 50%, #7F1018 100%); }
.evts-sbtn__red::after { content: ''; position: absolute; top: -60%; bottom: -60%; left: 0; width: 45%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); transform: translateX(-130%); animation: evts-cu-liquid 6.5s ease-in-out infinite; animation-play-state: paused; }
.evts-sbtn.evts-run .evts-sbtn__red::after { animation-play-state: running; }
.evts-sbtn.is-saved:not(.is-arming) > .evts-sbtn__red { opacity: 1; }
.evts-sbtn.is-saved::before { opacity: 0; }
.evts-sbtn > .evts-lh, .evts-sbtn > .evts-save__label { position: relative; z-index: 3; }
.evts-sbtn__flood { position: absolute; z-index: 2; left: 0; top: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #EF4444 0%, #C81E2A 55%, #8F121C 100%); }
.evts-sbtn .evts-save__label { display: inline-block; }
/* the heart inside: empty glass, it fills (and drains) */
.evts-sbtn .evts-lh { --lh: 2.6rem; --lvl: 0; }
.evts-sbtn.is-saved .evts-lh { --lvl: 1; }
.evts-sbtn .evts-lh__lq { transition: transform .5s cubic-bezier(.4, 0, .2, 1) .12s; }
.evts-sbtn.is-saved .evts-lh__lq { transition: transform .45s cubic-bezier(.3, 1.2, .5, 1); }
.evts-lh__tick { fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .2s ease-in; }
.evts-sbtn.is-saved .evts-lh__tick { stroke-dashoffset: 0; transition: stroke-dashoffset .4s .65s cubic-bezier(.4, 0, .2, 1); }
.evts-sbtn:not(.is-saved) .evts-lh { animation: evts-cu-soft-beat 4s ease-in-out 1s infinite; animation-play-state: paused; }
.evts-sbtn.evts-run:not(.is-saved) .evts-lh { animation-play-state: running; }
.evts-sbtn:focus-visible { outline: 3px solid #F25C00; outline-offset: 3px; }
@keyframes evts-cu-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes evts-cu-liquid { 0% { transform: translateX(-130%); } 100% { transform: translateX(330%); } }
@keyframes evts-cu-soft-beat { 0%, 16%, 100% { transform: scale(1); } 5% { transform: scale(1.15); } 9% { transform: scale(.98); } 12% { transform: scale(1.08); } }

/* the sparks (bursts + the flight to the header): fixed, moved only by transform */
.evts-spark { position: fixed; left: 0; top: 0; z-index: 1000; width: 1.2rem; height: 1.2rem; margin: -.6rem 0 0 -.6rem; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, #fff 0 22%, #FFC27A 42%, rgba(255, 106, 0, 0) 72%); box-shadow: 0 0 12px 4px rgba(255, 120, 40, .55); }
.evts-spark--sm { width: .7rem; height: .7rem; margin: -.35rem 0 0 -.35rem; box-shadow: 0 0 8px 2px rgba(255, 140, 60, .6); }
.evts-spark--green { background: radial-gradient(circle, #fff 0 22%, #86EFAC 45%, rgba(34, 197, 94, 0) 72%); box-shadow: 0 0 8px 2px rgba(34, 197, 94, .55); }

/* ===================== 4. /my-list: the charging bay ===================== */
/* round 2 (Basel 30.11 11:50): no white anywhere: the whole area between header and footer is the dark bay background,
   edge to edge and at least a screen tall; the title, the line under it and the affiliate note are light. The panel
   below stays exactly as it was, centred. */
.evts-charge .evts-darkpage { position: relative; min-height: calc(100svh - 8rem); color: #fff;
  background: radial-gradient(120% 55% at 50% 0%, #17223b 0%, #0B1324 55%, #090E1A 100%); }
.evts-darkpage .evts-list__h1 { color: #fff; }
.evts-darkpage .evts-list__sub { color: rgba(255, 255, 255, .74); }
.evts-darkpage .evts-list__note-small { color: rgba(255, 255, 255, .7); }
.evts-darkpage .evts-list { padding-top: 3.2rem; }
/* round 2b (Basel 30.11 11:55): the title big and white with a slow red glow, a small glass heart that fills with the
   count (full at 5, like the header's), a count pill, and one clear line about where the list is kept */
.evts-list__head--charge { margin-bottom: 2rem; }
.evts-title { position: relative; display: inline-flex; align-items: center; gap: 1.2rem; }
.evts-title__glow { position: absolute; left: -2.4rem; top: 50%; width: 22rem; height: 10rem; margin-top: -5rem; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 71, 71, .38), rgba(255, 71, 71, 0)); opacity: .55; animation: evts-cu-title-glow 4.8s ease-in-out infinite; animation-play-state: paused; }
.evts-title.evts-run .evts-title__glow { animation-play-state: running; }
.evts-darkpage .evts-title .evts-list__h1 { position: relative; margin: 0; color: #fff; font-size: 4.2rem; line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 0 22px rgba(255, 71, 71, .22); }
.evts-title__heart { position: relative; display: inline-flex; color: #fff; }
.evts-title__heart .evts-lh { --lh: 3.4rem; }
.evts-title:not(.has-items) .evts-lh__bub { display: none; }
.evts-countpill { display: inline-flex; align-items: center; margin: 1.2rem 0 0; padding: .5rem 1.4rem; border-radius: 999px; font-size: 1.4rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, rgba(255, 71, 71, .28), rgba(242, 92, 0, .2)); box-shadow: inset 0 0 0 1px rgba(255, 120, 90, .45); }
.evts-device { display: flex; align-items: flex-start; gap: .8rem; max-width: 56rem; margin: 1rem 0 0; font-size: 1.4rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.evts-device__ico { flex: none; margin-top: .2rem; color: #FFB020; }
/* the affiliate note: the panel's last line */
.evts-bay .evts-list__note-small--in { position: relative; margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; color: rgba(255, 255, 255, .7); }
@media screen and (min-width: 750px) { .evts-darkpage .evts-title .evts-list__h1 { font-size: 5.6rem; } .evts-title__heart .evts-lh { --lh: 4.2rem; } }
@keyframes evts-cu-title-glow { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: .75; transform: scale(1.08); } }
/* a phone: the fixed panel must not hide the end of the footer (the legal links); the footer itself gets the room, in its
   own dark colour (no white strip) */
@media screen and (max-width: 749px) { .evts-charge body.evts-has-bar footer.footer { padding-bottom: 19rem; }
  .evts-charge body.evts-has-bar .evts-darkpage .evts-list { padding-bottom: 4rem; } }   /* the footer's room replaces the list's 20rem */
/* z-index 2: the phone's fixed panel (inside) stays above the footer; the sticky header (3) stays above the bay */
.evts-charge .evts-bay { position: relative; z-index: 2; isolation: isolate; overflow: hidden; margin: 0 -1.6rem; padding: 1.6rem 1.6rem 2.4rem; color: #fff;
  background: linear-gradient(165deg, #0B1324 0%, #111a2e 42%, #17181E 100%); }
.evts-bay__aurora, .evts-bay__lines { position: absolute; left: 0; right: 0; top: 0; height: 100%; max-height: 110rem; z-index: -1; overflow: hidden; pointer-events: none; }
.evts-bay__aurora > span { position: absolute; inset: -30%; animation: evts-cu-aurora 20s ease-in-out infinite alternate; animation-play-state: paused;
  background: radial-gradient(38% 30% at 28% 26%, rgba(255, 71, 71, .26), rgba(255, 71, 71, 0) 70%),
              radial-gradient(34% 28% at 74% 46%, rgba(242, 92, 0, .2), rgba(242, 92, 0, 0) 70%),
              radial-gradient(30% 24% at 40% 80%, rgba(255, 150, 70, .1), rgba(255, 150, 70, 0) 70%); }
.evts-bay__lines { -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .6) 55%, transparent 100%); }
.evts-bay__lines > span { position: absolute; top: 0; bottom: 0; left: -30rem; right: -30rem; animation: evts-cu-lines 30s linear infinite; animation-play-state: paused;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 26px); }
.evts-bay.evts-run .evts-bay__aurora > span, .evts-bay.evts-run .evts-bay__lines > span { animation-play-state: running; }
@keyframes evts-cu-aurora { 0% { transform: translate(-5%, -3%) rotate(0deg) scale(1); } 100% { transform: translate(5%, 4%) rotate(7deg) scale(1.08); } }
@keyframes evts-cu-lines { to { transform: translateX(286.9px); } }   /* ten repeats of the 26px lines at 115deg: a seamless loop */

/* the three steps on glass, each icon with its own colour and motion */
.evts-bay .evts-steps { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.evts-bay .evts-steps__step { color: #fff; }
.evts-bay .evts-steps__step + .evts-steps__step::before { border-color: rgba(255, 255, 255, .4); }
.evts-bay .evts-steps__icon--save { background: linear-gradient(135deg, #EF4444, #B91C1C); box-shadow: 0 0 0 4px rgba(239, 68, 68, .16), 0 6px 18px rgba(239, 68, 68, .35); }
.evts-bay .evts-steps__icon--open { background: linear-gradient(135deg, #EA580C, #C2410C); box-shadow: 0 0 0 4px rgba(234, 88, 12, .16), 0 6px 18px rgba(234, 88, 12, .35); }
.evts-bay .evts-steps__icon--cart { background: linear-gradient(135deg, #16A34A, #15803D); box-shadow: 0 0 0 4px rgba(22, 163, 74, .16), 0 6px 18px rgba(22, 163, 74, .35); }
.evts-bay .evts-steps__icon svg { transform-origin: 50% 55%; animation-play-state: paused; }
.evts-bay .evts-steps__icon--save svg { animation: evts-cu-beat-icon 3s ease-in-out infinite; animation-play-state: paused; }
.evts-bay .evts-steps__icon--open svg { animation: evts-cu-nudge 3s ease-in-out .5s infinite; animation-play-state: paused; }
.evts-steps__tick { fill: none; stroke: #fff; stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.evts-bay .evts-steps__tick { animation: evts-cu-tick .6s .9s cubic-bezier(.4, 0, .2, 1) forwards; animation-play-state: paused; }
.evts-bay.evts-run .evts-steps__icon svg, .evts-bay.evts-run .evts-steps__tick { animation-play-state: running; }
@keyframes evts-cu-beat-icon { 0%, 40%, 100% { transform: scale(1); } 8% { transform: scale(1.2); } 16% { transform: scale(.97); } 24% { transform: scale(1.12); } }
@keyframes evts-cu-nudge { 0%, 34%, 100% { transform: translate(0, 0); } 10% { transform: translate(2.5px, -2.5px); } 20% { transform: translate(0, 0); } }
@keyframes evts-cu-tick { to { stroke-dashoffset: 0; } }

/* the panel: "Charged 2 of 5", the battery, the next item */
.evts-charge .evts-panel { color: #fff; overflow: hidden; background: #0B1324; border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, .4); -webkit-backdrop-filter: none; backdrop-filter: none; }
.evts-charge .evts-panel__label { margin: 0 0 .9rem; gap: .6rem; color: #fff; font-size: 1.5rem; }
.evts-charge .evts-panel.is-done .evts-panel__label { color: #4ADE80; font-size: 1.8rem; }
.evts-charge .evts-panel.is-done .evts-panel__label .evts-ok { --s: 2.4rem; }
.evts-batt__bolt { flex: none; color: #FFB020; }
.evts-charge .evts-panel__what { color: rgba(255, 255, 255, .74); }
.evts-batt { position: relative; display: flex; gap: .4rem; height: 3.4rem; margin: 0 1.1rem 1.2rem 0; padding: .4rem; box-sizing: border-box; border-radius: .9rem;
  border: 1.5px solid rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .3); }
.evts-batt::after { content: ''; position: absolute; right: -1.05rem; top: 50%; width: .6rem; height: 1.4rem; margin-top: -.7rem; border-radius: 0 .4rem .4rem 0; background: rgba(255, 255, 255, .4); }
.evts-batt__seg { position: relative; flex: 1; min-width: 0; border-radius: .5rem; background: rgba(255, 255, 255, .07); overflow: hidden; }
.evts-batt__seg::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #4ADE80, #16A34A); transform: scaleX(0); transform-origin: left center; }
.evts-batt__seg.is-on { box-shadow: 0 0 10px rgba(34, 197, 94, .45); }
.evts-batt__seg.is-on::before { transform: scaleX(1); }
.evts-batt__seg.is-pending::before { transform: scaleX(0); }
.evts-batt__seg.is-fresh::before { animation: evts-cu-seg-fill .7s cubic-bezier(.4, 0, .2, 1) forwards; }
.evts-batt__seg.is-fresh::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 70%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: translateX(-120%); animation: evts-cu-seg-sweep .9s .45s ease-out forwards; }
.evts-batt__seg.is-next::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(74, 222, 128, .75); opacity: .2;
  animation: evts-cu-led-seg 2.4s ease-in-out infinite; animation-play-state: paused; }
.evts-bay.evts-run .evts-batt__seg.is-next::after { animation-play-state: running; }
.evts-panel.is-done .evts-batt { border-color: rgba(74, 222, 128, .7); box-shadow: 0 0 18px rgba(34, 197, 94, .35); }
.evts-panel.is-done .evts-batt::after { background: #4ADE80; }
/* all done: one light crosses the panel */
.evts-panel.is-done-fresh::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .2), transparent); transform: translateX(-120%); animation: evts-cu-panel-sweep 1.3s .35s ease-out forwards; }
@keyframes evts-cu-seg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes evts-cu-seg-sweep { to { transform: translateX(260%); } }
@keyframes evts-cu-led-seg { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
@keyframes evts-cu-panel-sweep { to { transform: translateX(340%); } }

/* the next item's button: the buy colours, with a light running around its border */
.evts-charge .evts-next { isolation: isolate; overflow: hidden; background: rgba(255, 255, 255, .28); background-image: none; }
.evts-charge .evts-next > * { position: relative; z-index: 2; }
.evts-charge .evts-next::before { content: ''; position: absolute; z-index: 0; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 64%, rgba(255, 255, 255, .95) 78%, #FFD27A 84%, transparent 95%);
  transform: translate(-50%, -50%) rotate(0deg); animation: evts-cu-turn 3.6s linear infinite; animation-play-state: paused; }
.evts-bay.evts-run .evts-next::before { animation-play-state: running; }
.evts-charge .evts-next::after { content: ''; position: absolute; z-index: 1; inset: 2px; border-radius: 4px; pointer-events: none; background-image: linear-gradient(90deg, #FF4747, #F25C00); }
.evts-charge .evts-next:hover { background-image: none; }
.evts-charge .evts-next:hover::after { background-image: linear-gradient(90deg, #E63E3E, #D95000); }
.evts-charge .evts-again { color: #fff; border-color: rgba(255, 255, 255, .4); }
.evts-charge .evts-again:hover { border-color: #fff; }

/* the items: glass cards on the dark bay */
.evts-bay .evts-item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.evts-bay .evts-item.is-opened { border-color: rgba(74, 222, 128, .45); background: rgba(34, 197, 94, .08); }
.evts-bay .evts-item__title { color: #fff; }
.evts-bay .evts-item__img { background: rgba(255, 255, 255, .06); }
.evts-bay .evts-item__remove { color: rgba(255, 255, 255, .74); }
.evts-bay .evts-item__remove:hover { color: #fff; }
.evts-bay .evts-item.is-opened .evts-item__open { color: #fff; border-color: rgba(255, 255, 255, .38); }
.evts-bay .evts-check { box-shadow: 0 0 0 2px #10182A; }
.evts-bay .evts-empty { border-color: rgba(255, 255, 255, .2); }
.evts-bay .evts-empty__text { color: rgba(255, 255, 255, .76); }
.evts-bay .evts-empty__icon { color: #FF6B6B; background: rgba(255, 71, 71, .14); }
.evts-bay :focus-visible { outline-color: #FFB020 !important; }
/* the ✓ drawn before the scripts (a plain one) has the size of the one that replaces it: nothing moves */
.evts-charge .evts-panel__label .evts-check__fallback { width: 2.4rem; height: 2.4rem; }
@media screen and (min-width: 750px) {
  .evts-charge .evts-bay { margin: 0; padding: 2.4rem 2.4rem 2.8rem; border-radius: 1.8rem; box-shadow: 0 24px 60px rgba(8, 12, 24, .3); }
  .evts-charge .evts-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
  .evts-bay .evts-check { box-shadow: none; background: rgba(34, 197, 94, .16); color: #4ADE80; }
}

/* ===================== 3. the AliExpress numbers card under the title: dark glass ===================== */
/* the dark "Not sure yet?" block's language: near-black glass, a slow aurora (brand red, warm orange, ~20 s) behind it,
   white text (AA: 15:1 / 11:1 / 9:1), a light that runs once around the border when the card first shows. The glass is
   a darkening layer over the aurora, not a backdrop blur: the aurora is already soft, and a blur over moving colour
   would repaint every frame. Same height as before (10.8rem): nothing moves when it fills. */
.evts-charge .evts-aer { position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(160deg, #161a26 0%, #0e0f12 70%); box-shadow: 0 12px 30px rgba(14, 15, 18, .22), inset 0 1px 0 rgba(255, 255, 255, .06); }
.evts-aer__aurora, .evts-aer__edge { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.evts-aer__aurora > span { position: absolute; inset: -60% -30%; animation: evts-cu-aurora 20s ease-in-out infinite alternate; animation-play-state: paused;
  background: radial-gradient(40% 55% at 25% 40%, rgba(255, 71, 71, .3), rgba(255, 71, 71, 0) 70%), radial-gradient(38% 50% at 78% 60%, rgba(242, 92, 0, .26), rgba(242, 92, 0, 0) 70%); }
.evts-aer__aurora::after { content: ''; position: absolute; inset: 0; background: rgba(14, 15, 18, .38); }   /* the glass */
.evts-aer.evts-run .evts-aer__aurora > span { animation-play-state: running; }
/* the light around the border, once: a turning conic gradient under a cover 1.5px inside */
.evts-aer__edge { z-index: 2; padding: 1.5px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }   /* only the 1.5px ring shows */
.evts-aer__edge > span { position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .9) 82%, #FFB020 88%, transparent 96%); transform: translate(-50%, -50%) rotate(0deg); }
.evts-aer:not(.evts-aer--wait).evts-run .evts-aer__edge > span { animation: evts-cu-edge 1.8s cubic-bezier(.4, 0, .2, 1) .2s 1 both; }
.evts-charge .evts-aer__stats, .evts-charge .evts-aer__src { position: relative; z-index: 1; }
.evts-charge .evts-aer__num { color: #fff; }
.evts-charge .evts-aer__lab { color: rgba(255, 255, 255, .8); }
.evts-charge .evts-aer__src { color: rgba(255, 255, 255, .72); border-top-color: rgba(255, 255, 255, .12); }
/* the ✓: its draw, then one ripple ring */
.evts-charge .evts-aer .evts-ok--go::after { animation: evts-cu-ripple .9s .6s ease-out both; }
/* 50+ orders: our flame, gently flickering */
.evts-charge .evts-aer__ico--flame { background-color: transparent; background-image: radial-gradient(circle, rgba(255, 120, 40, .3), rgba(255, 120, 40, .08) 70%); box-shadow: 0 0 0 1px rgba(255, 140, 60, .35), 0 0 16px rgba(255, 106, 0, .3); }
.evts-fl { overflow: visible; }
.evts-fl__out { transform-origin: 50% 92%; transform-box: fill-box; animation: evts-cu-flicker 1.7s ease-in-out infinite; animation-play-state: paused; }
.evts-fl__core { transform-origin: 50% 90%; transform-box: fill-box; animation: evts-cu-core 1.3s ease-in-out infinite; animation-play-state: paused; }
.evts-aer.evts-run .evts-fl__out, .evts-aer.evts-run .evts-fl__core { animation-play-state: running; }
/* 5-49 orders: a box that drops in and bounces once */
.evts-charge .evts-aer__ico--box { background-image: none; background-color: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); color: #FFD27A; }
.evts-bx { transform: translateY(-14px); opacity: 0; }
.evts-aer:not(.evts-aer--wait).evts-run .evts-bx { animation: evts-cu-drop .8s cubic-bezier(.3, 0, .3, 1) .3s forwards; }
@keyframes evts-cu-edge { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes evts-cu-ripple { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, .75); } 100% { opacity: 0; box-shadow: 0 0 0 1.2rem rgba(74, 222, 128, 0); } }
@keyframes evts-cu-flicker { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 25% { transform: scale(.97, 1.05) skewX(-2deg); } 50% { transform: scale(1.02, .97) skewX(1.5deg); } 75% { transform: scale(.98, 1.04) skewX(-1deg); } }
@keyframes evts-cu-core { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08, 1.14); } }
@keyframes evts-cu-drop { 0% { transform: translateY(-14px); opacity: 0; } 45% { transform: translateY(0); opacity: 1; } 62% { transform: translateY(-5px); } 78% { transform: translateY(0); } 88% { transform: translateY(-1.5px); } 100% { transform: translateY(0); opacity: 1; } }

/* ===================== still for those who asked for no motion ===================== */
@media (prefers-reduced-motion: reduce) {
  .evts-charge *, .evts-charge *::before, .evts-charge *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .evts-charge .evts-save--wide::before, .evts-charge .evts-next::before, .evts-charge .evts-save--wide.is-saved::after { opacity: 0; }
  .evts-cl.has-items .evts-cl__glow { opacity: .25; }
  .evts-bx { transform: none; opacity: 1; }
  .evts-sbtn::before { opacity: 0; }
  .evts-lh__bub { display: none; }
  .evts-aer__edge > span { opacity: 0; }
}
