/* ============================================================
   PLOOMO PORTAL ANIMATION — recreated portal UI, dark theme
   Stage: 1280 x 800, scaled to fit.
   ============================================================ */
:root {
  --pa-bg: #0b0a12;
  --pa-panel: #14121b;
  --pa-panel-2: #1a1723;
  --pa-card: #161320;
  --pa-line: rgba(255, 255, 255, 0.08);
  --pa-line-2: rgba(255, 255, 255, 0.16);
  --pa-text: #f4f2f9;
  --pa-dim: #9d97ad;
  --pa-faint: #6c6680;
  --pa-violet: #7d77ff;
  --pa-purple: #a16dff;
  --pa-magenta: #d55dff;
  --pa-pink: #f454ff;
  --pa-grad: linear-gradient(90deg, #7d77ff, #a16dff 35%, #d55dff 70%, #f454ff);
  --pa-green: #46c98e;
  --pa-amber: #dca54a;
  --pa-red: #e0606a;
  --pa-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--pa-bg);
  overflow: hidden;
}
#fit {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -400px 0 0 -640px;
  width: 1280px;
  height: 800px;
  background: var(--pa-bg);
  font-family: var(--font-sans, "Open Sans", system-ui, sans-serif);
  color: var(--pa-text);
  overflow: hidden;
}

/* ---------- camera (site edit) ----------
   Zoom/pan layer between the stage and the scenes, driven by camTo()
   at timeline moments so detail areas read at small embed sizes.
   The cursor sits outside it; cursorToEl() is rect-based, so precise
   targets self-correct under zoom. */
#cam {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 0.9s var(--pa-ease);
  will-change: transform;
}

/* ---------- scenes ---------- */
.scene {
  position: absolute;
  inset: 0;
  padding: 32px 38px;
  opacity: 1;
  transition:
    opacity 0.55s var(--pa-ease),
    transform 0.55s var(--pa-ease);
}
.scene-pack {
  padding: 0;
  opacity: 0;
  transform: translateX(36px);
  pointer-events: none;
}
#stage.pack .scene-list {
  opacity: 0;
  transform: translateX(-24px);
}
#stage.pack .scene-pack {
  opacity: 1;
  transform: none;
}
#stage.fade .scene {
  opacity: 0 !important;
}
.no-anim * {
  transition: none !important;
  animation: none !important;
}

/* ---------- shortlist scene ---------- */
.pl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.pl-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.pl-title h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pl-link {
  font-size: 12px;
  color: var(--pa-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.pl-sub {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--pa-dim);
  max-width: 560px;
}
.anon {
  text-align: right;
  font-size: 13px;
  color: var(--pa-text);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 4px;
}
.anon small {
  font-size: 11px;
  color: var(--pa-faint);
}
.anon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tgl {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--pa-grad);
  position: relative;
  flex: none;
}
.tgl::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 14px;
  padding: 10px;
  width: fit-content;
}
.stepx {
  padding: 12px 22px;
  border-radius: 10px;
  min-width: 170px;
}
.stepx.active {
  background: var(--pa-panel-2);
  border: 1px solid var(--pa-line-2);
}
.stepx b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.stepx.inactive b {
  color: var(--pa-dim);
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pa-pink);
}
.badge i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(244, 84, 255, 0.18);
  border: 1px solid rgba(244, 84, 255, 0.5);
  font-size: 11px;
}
.chev {
  color: var(--pa-faint);
  font-size: 18px;
}

.list-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  margin-top: 24px;
  align-items: start;
}
.cands-title {
  margin: 2px 0 12px;
  font-size: 14px;
  font-weight: 700;
}
.cand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  max-height: 120px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s,
    max-height 0.5s var(--pa-ease),
    opacity 0.45s,
    padding 0.5s var(--pa-ease),
    margin 0.5s var(--pa-ease);
}
.cand.hover {
  border-color: var(--pa-line-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.cand.leave {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-color: transparent;
}
.cand b {
  font-size: 14px;
}
.cand p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--pa-dim);
  max-width: 215px;
}
.btn-review {
  flex: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  cursor: default;
  background: rgba(161, 109, 255, 0.14);
  border: 1px solid rgba(213, 93, 255, 0.55);
  border-radius: 9px;
  padding: 9px 14px;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.btn-review.active {
  background: rgba(213, 93, 255, 0.3);
  box-shadow: 0 0 18px rgba(213, 93, 255, 0.35);
}
.progressed {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pa-dim);
}
.progressed .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pa-green);
  flex: none;
}
.progressed .ln {
  flex: 1;
  height: 1px;
  background: var(--pa-line);
}
.progressed em {
  font-style: normal;
  color: var(--pa-faint);
  letter-spacing: 0;
}

/* ---------- map ---------- */
.map {
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 16px;
  padding: 24px 24px 14px 14px;
  height: 520px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr 42px;
}
.ax-y {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ax-y span {
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--pa-text);
}
.ax-y small {
  position: absolute;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--pa-faint);
}
.ax-y small.hi {
  top: 6px;
}
.ax-y small.lo {
  bottom: 6px;
}
.ax-x {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 0;
}
.ax-x .lab {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--pa-faint);
  font-weight: 600;
}
.ax-x .mid {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--pa-text);
  font-weight: 700;
}
.plot {
  position: relative;
  border-left: 2px solid rgba(213, 93, 255, 0.45);
  border-bottom: 2px solid rgba(213, 93, 255, 0.45);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 25%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 25%
    );
  overflow: hidden;
}
.plot i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cfcadd;
}
.region {
  position: absolute;
  left: 17%;
  top: 11%;
  width: 41%;
  height: 39%;
  border-radius: 14px;
  border: 1.5px solid rgba(213, 93, 255, 0.85);
  background: rgba(161, 109, 255, 0.1);
  box-shadow:
    0 0 30px rgba(213, 93, 255, 0.25),
    inset 0 0 26px rgba(161, 109, 255, 0.12);
}
.region::before {
  content: "BRIEF REGION";
  position: absolute;
  top: -18px;
  left: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--pa-magenta);
}
.bub {
  position: absolute;
  width: 0;
  height: 0;
}
.bub .halo {
  position: absolute;
  left: -30px;
  top: -21px;
  width: 60px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(213, 93, 255, 0.5);
  background: radial-gradient(
    closest-side,
    rgba(213, 93, 255, 0.4),
    rgba(213, 93, 255, 0.06) 70%,
    transparent
  );
}
.bub .core {
  position: absolute;
  left: -8px;
  top: -6px;
  width: 16px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f0a6ff, #c44df0);
}
.bub label {
  position: absolute;
  left: -12px;
  top: -38px;
  font-size: 10.5px;
  font-weight: 700;
  color: #e9e4f5;
  white-space: nowrap;
}
.bub.dashed .halo {
  border-style: dashed;
  background: radial-gradient(
    closest-side,
    rgba(213, 93, 255, 0.18),
    transparent 70%
  );
}
.bub.dim .halo {
  border-color: rgba(213, 93, 255, 0.25);
  background: radial-gradient(
    closest-side,
    rgba(150, 80, 120, 0.25),
    transparent 70%
  );
}
.bub.dim .core {
  background: #6e4660;
}
.bub .star {
  position: absolute;
  left: 18px;
  top: -40px;
  font-size: 10px;
  color: #e9e4f5;
}

/* ---------- pack scene ---------- */
.pack-scroll {
  padding: 30px 38px 60px;
  transition: transform 1s var(--pa-ease);
  will-change: transform;
}
.pack-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.chip-id {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1px solid var(--pa-line-2);
  border-radius: 8px;
  padding: 7px 12px;
}
.pack-top .sp {
  flex: 1;
}
.anon-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.tgl.sm {
  width: 34px;
  height: 19px;
}
.tgl.sm::after {
  width: 13px;
  height: 13px;
}
.btn-cta {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: default;
  background: rgba(161, 109, 255, 0.16);
  border: 1px solid rgba(213, 93, 255, 0.7);
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 0 16px rgba(213, 93, 255, 0.25);
}
.narrative {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  max-width: 760px;
  letter-spacing: -0.005em;
}
.grad {
  background: var(--pa-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.signals {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  margin-top: 24px;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 14px;
  padding: 22px 24px;
}
.signals h4 {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pa-dim);
}
.signals ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.signals li {
  position: relative;
  padding: 0 0 12px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pa-dim);
}
.signals li b {
  color: var(--pa-text);
}
.signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pa-magenta);
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--pa-faint);
}
.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfcadd;
}
.lg-sq {
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: rgba(161, 109, 255, 0.5);
}
.lg-pk {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f0a6ff, #c44df0);
}
.mini-map {
  position: relative;
  border: 1px solid var(--pa-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  min-height: 252px;
  overflow: hidden;
}
.mini-map .region {
  left: 22%;
  top: 14%;
  width: 42%;
  height: 42%;
}
.mini-map .you {
  position: absolute;
  left: 43%;
  top: 33%;
}
.mini-map .ax {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--pa-faint);
  font-weight: 600;
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.pillar {
  position: relative;
  background: var(--pa-card);
  border: 1px solid var(--pa-line);
  border-radius: 13px;
  padding: 20px 20px 16px;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pa-grad);
  opacity: 0.45;
}
.pillar.essential::before {
  opacity: 1;
}
.pi-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pi-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pi-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pa-dim);
}
.pillar.essential .pi-tag {
  color: var(--pa-pink);
}
.pi-sum {
  height: 8px;
  border-radius: 999px;
  background: #241f31;
  margin: 14px 0 6px;
  overflow: hidden;
}
.pi-sum b {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 999px;
  background: var(--pa-grad);
  filter: blur(0.5px);
  transition: width 1.1s var(--pa-ease);
}
#stage.filled .pi-sum b {
  width: var(--sum);
}
.rowd {
  margin-top: 13px;
}
.rowd .rh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.rowd .rh b {
  font-size: 12.5px;
  position: relative;
  padding-left: 11px;
}
.rowd .rh b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pa-magenta);
}
.rowd.na .rh b {
  color: var(--pa-faint);
}
.rowd.na .rh b::before {
  background: var(--pa-faint);
}
.rowd .rt {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pa-dim);
}
.rowd .rt b {
  color: var(--pa-text);
  font-size: 9px;
}
.track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #241f31;
  margin-top: 7px;
}
.track u {
  position: absolute;
  top: -5px;
  left: 4%;
  width: 34px;
  height: 17px;
  border-radius: 999px;
  transform: translateX(-17px);
  background: radial-gradient(
    closest-side,
    rgba(244, 84, 255, 0.95),
    rgba(161, 109, 255, 0.35) 65%,
    transparent
  );
  filter: blur(1px);
  transition: left 1.2s var(--pa-ease);
}
.rowd.na .track u {
  display: none;
}
#stage.filled .track u {
  left: var(--pos);
}
.scale-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--pa-faint);
  font-weight: 600;
}
.pi-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--pa-line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pa-dim);
}
.pi-foot em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--pa-faint);
}

/* ---------- feedback ---------- */
.fb {
  margin-top: 30px;
}
.fb-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.fb-head b {
  font-size: 15px;
}
.fb-head span {
  font-size: 11px;
  color: var(--pa-faint);
}
.fb-head span::before {
  content: "● ";
  color: var(--pa-magenta);
  font-size: 8px;
}
.fb-box {
  border: 1px solid var(--pa-line);
  border-radius: 13px;
  background: var(--pa-panel);
  padding: 14px 16px;
  margin-top: 12px;
  transition: border-color 0.3s;
}
.fb-box.typing {
  border-color: rgba(213, 93, 255, 0.45);
}
.fb-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fchip {
  font-size: 11.5px;
  color: var(--pa-dim);
  border: 1px solid var(--pa-line-2);
  border-radius: 999px;
  padding: 5px 11px;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}
.fchip.on {
  color: #fff;
  border-color: rgba(244, 84, 255, 0.8);
  background: rgba(244, 84, 255, 0.12);
}
.fb-text {
  min-height: 78px;
  padding: 12px 2px 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--pa-text);
}
.fb-text .ph {
  color: var(--pa-faint);
}
.caret {
  display: none;
  width: 1.5px;
  height: 15px;
  background: var(--pa-pink);
  vertical-align: -2px;
  margin-left: 1px;
}
.fb-box.typing .caret {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}
.fb-box.typing .ph {
  display: none;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.fb-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--pa-line);
  padding-top: 10px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--pa-faint);
}
.fb-foot .saved {
  color: var(--pa-green);
}

/* ---------- decision ---------- */
.call {
  margin-top: 28px;
}
.call-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.call-head b {
  font-size: 15px;
}
.call-head span {
  font-size: 12px;
  color: var(--pa-faint);
}
.call-head em {
  flex: 1;
  text-align: right;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pa-pink);
}
.decisions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.dec {
  position: relative;
  background: var(--pa-card);
  border: 1px solid var(--pa-line);
  border-radius: 13px;
  padding: 16px;
  overflow: hidden;
  transition:
    opacity 0.4s,
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
}
.dec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.7;
}
.dec-star::before {
  background: var(--pa-grad);
}
.dec-go::before {
  background: var(--pa-green);
}
.dec-hold::before {
  background: var(--pa-amber);
}
.dec-rej::before {
  background: var(--pa-red);
}
.dec .ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--pa-line-2);
}
.dec .ic svg {
  width: 14px;
  height: 14px;
}
.dec-star .ic {
  color: var(--pa-pink);
}
.dec-go .ic {
  color: var(--pa-green);
}
.dec-hold .ic {
  color: var(--pa-amber);
}
.dec-rej .ic {
  color: var(--pa-red);
}
.dec b {
  display: block;
  font-size: 14px;
  margin-top: 12px;
}
.dec p {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--pa-dim);
}
.dec .kbd {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  color: var(--pa-faint);
  border: 1px solid var(--pa-line);
  border-radius: 5px;
  padding: 2px 6px;
}
.dec.hover {
  transform: translateY(-2px);
  border-color: var(--pa-line-2);
}
.dec.chosen {
  border-color: rgba(70, 201, 142, 0.8);
  box-shadow: 0 0 22px rgba(70, 201, 142, 0.22);
}
.dec .check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #0b0a12;
  background: var(--pa-green);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.35s var(--pa-ease);
}
.dec.chosen .check {
  opacity: 1;
  transform: scale(1);
}
.dec.chosen .kbd {
  opacity: 0;
}
#stage.decided .dec:not(.chosen) {
  opacity: 0.4;
}

/* ---------- toast ---------- */
.toast {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1c1927;
  border: 1px solid rgba(70, 201, 142, 0.5);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition:
    opacity 0.4s,
    transform 0.5s var(--pa-ease);
  z-index: 5;
}
.toast .tk {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pa-green);
  color: #0b0a12;
  font-size: 10px;
}
#stage.toasted .toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- cursor ---------- */
#cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  pointer-events: none;
  transform: translate(900px, 640px);
  transition: transform 0.6s var(--pa-ease);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
#cursor svg {
  display: block;
  transition: transform 0.15s;
}
#cursor.down svg {
  transform: scale(0.82);
}
.ripple {
  position: absolute;
  z-index: 8;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 2px solid var(--pa-pink);
  opacity: 0.9;
  pointer-events: none;
  animation: rip 0.65s var(--pa-ease) forwards;
}
@keyframes rip {
  to {
    transform: scale(5.4);
    opacity: 0;
  }
}

/* count pop */
.pop {
  animation: pop 0.5s var(--pa-ease);
}
@keyframes pop {
  35% {
    transform: scale(1.35);
  }
}
