.pow {
  position: absolute;
  z-index: calc(var(--layer-effects) + 1);
  width: 80px;
  margin: -34px 0 0 -40px;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: var(--red);
  text-shadow:
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 0 0 #000,
    -2px 0 0 #000,
    0 0 14px var(--red);
  animation: pow 0.6s ease-out forwards;
}
.pow svg {
  width: 54px;
  height: 54px;
  display: block;
  margin: 0 auto;
}
@keyframes pow {
  0% {
    transform: scale(0.4) rotate(-50deg);
    opacity: 1;
  }
  35% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(-40px);
    opacity: 0;
  }
}
.hint {
  position: absolute;
  left: 110px;
  right: 110px;
  top: calc(100% - 156px - var(--sab));
  height: 32px;
  display: flex;
  flex-direction: column-reverse;
  line-height: 1.25;
  text-align: center;
  font-weight: 800;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  z-index: var(--layer-hint);
}
.hint::before {
  content: "";
  flex: 1 1 0;
}
.scene.night ~ .hint {
  color: rgba(255, 255, 255, 0.7);
}
/* dock de ações: duas colunas espelhadas de botões do mesmo tamanho (2 de cada lado), com o seletor de modo no meio */
.fab {
  position: absolute;
  bottom: calc(112px + var(--sab));
  z-index: var(--layer-hud);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 20px;
  width: 80px;
  height: 72px;
  padding: 6px 5px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}
.fab svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.fab.l {
  left: 12px;
}
.fab.r {
  right: 12px;
}
.fab.up {
  bottom: calc(192px + var(--sab));
}
.fab .bdg {
  position: absolute;
  top: -6px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  font-size: 12px;
  padding: 2px 7px;
  font-weight: 900;
}
.fab:disabled {
  opacity: 0.6;
}
.fab:not(.cig):active {
  transform: scale(0.94);
  filter: brightness(1.3);
}
/* esquerda: armário e, acima, o inseminador (grávido, vira o medidor da gestação). Direita: beck e, acima, alimentar. A régua do beck enche durante a tragada */
.fab.cig {
  touch-action: none;
}
.fab.cig.lit {
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.7);
}
.fab.cig.crave {
  box-shadow: 0 0 0 2px #ff9f2e;
}
@keyframes crave {
  50% {
    box-shadow: 0 0 24px #ff9f2e;
    transform: scale(1.06);
  }
}
.cgb {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.cgb i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff9f2e, #ffd23f);
}
.smk {
  position: absolute;
  z-index: calc(var(--layer-particles) + 2);
  border-radius: 50%;
  background: rgba(196, 192, 206, 0.85);
  filter: blur(3px);
  pointer-events: none;
}
/* tremor da abstinência: --ja (amplitude) e --jd (velocidade) crescem com a ansiedade */
.stage.jit svg > .pp {
  animation: jit var(--jd, 0.2s) linear infinite;
}
.stage.hit svg > .pp {
  animation: shake 0.3s;
  transform-origin: var(--peepee-pivot-body);
}
@keyframes jit {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(var(--ja), calc(var(--ja) * -0.6));
  }
  40% {
    transform: translate(calc(var(--ja) * -1), calc(var(--ja) * 0.4));
  }
  60% {
    transform: translate(calc(var(--ja) * 0.6), calc(var(--ja) * 0.8));
  }
  80% {
    transform: translate(calc(var(--ja) * -0.5), calc(var(--ja) * -0.7));
  }
}
.fab.insem.on {
  box-shadow: 0 0 18px #ff7ac8;
}
.insem .gb {
  width: 100%;
  height: 6px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.insem .gb i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff7ac8, #ffd23f);
  transition: width 0.2s;
}
.insem .gb.hp i {
  background: var(--red);
}
.bly {
  transform-origin: var(--peepee-pivot-belly);
  transition: transform 0.3s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.blyi {
  transform-origin: var(--peepee-pivot-belly);
}
.bly.tense .blyi {
  animation: shiver 0.14s linear infinite;
}
.pregnancy-kick {
  transform-box: fill-box;
  transform-origin: center;
}
.pregnancy-newborn {
  z-index: calc(var(--layer-particles) + 7);
  filter: sepia(1) saturate(9) hue-rotate(-55deg) brightness(0.7);
}
.pregnancy-blood-drop {
  z-index: calc(var(--layer-particles) + 5);
}
.pregnancy-blood-stain {
  z-index: calc(var(--layer-particles) + 1);
}
.bbeat {
  transform-box: fill-box;
  transform-origin: center;
  animation: bbeat 0.8s ease-in-out infinite;
}
@keyframes bbeat {
  0%,
  100% {
    transform: scale(0.85);
  }
  30% {
    transform: scale(1.25);
  }
}
.mode-toggle {
  position: absolute;
  left: 50%;
  bottom: calc(80px + var(--sab));
  transform: translateX(-50%);
  z-index: var(--layer-hud);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}
.mode-toggle[hidden] {
  display: none;
}
.mode-toggle::after {
  content: "";
  position: absolute;
  inset: -7px;
}
.mode-toggle:active {
  transform: translateX(-50%) scale(0.9);
  filter: brightness(1.3);
}
.mode-toggle svg {
  width: 22px;
  height: 22px;
}
#s-home #mode_toggle[data-target-mode="porrada"] {
  color: #d81e3a;
}
#s-home #mode_toggle[data-target-mode="carinho"] {
  color: #ff7fb0;
}
.home-income {
  display: contents;
}
.home-income[hidden] {
  display: none;
}
#dash:has(.home-income:not([hidden])) {
  gap: 2px;
  margin-left: 8px;
  margin-right: 8px;
}
.home-income-meter {
  width: 60px;
}
.home-income-meter .bar i {
  background: var(--gold);
}
.home-income-meter .lb b {
  font-size: 11px;
  white-space: nowrap;
  padding: 1px 5px;
}
.home-income-meter.home-income-combo .lb b {
  color: var(--gold);
}
.home-income-bump .bar {
  animation: home-income-bump 0.35s ease-out;
}
@keyframes home-income-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
.home-upgrades {
  position: absolute;
  top: 168px;
  right: 8px;
  bottom: calc(196px + var(--sab));
  z-index: var(--layer-hud);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 92px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.home-upgrades[hidden] {
  display: none;
}
.home-upgrade {
  --home-upgrade-fill: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  gap: 1px;
  border: var(--ui-border) solid var(--line);
  border-radius: 14px;
  padding: 7px 4px 6px;
  background: linear-gradient(
    to right,
    rgba(245, 180, 0, 0.32) var(--home-upgrade-fill),
    var(--surf) var(--home-upgrade-fill)
  );
  color: inherit;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  opacity: 0.85;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.home-upgrade b {
  font-size: 12px;
}
.home-upgrade-level {
  position: absolute;
  top: -5px;
  left: -3px;
  min-width: 18px;
  border-radius: 9px;
  padding: 1px 4px;
  background: var(--line);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.home-upgrade-effect {
  font-weight: 800;
  opacity: 0.8;
}
.home-upgrade-price {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 900;
}
.home-upgrade-price svg {
  width: 12px;
  height: 12px;
}
.home-upgrade-affordable {
  border-color: var(--gold);
  background: var(--gold);
  color: #231b33;
  opacity: 1;
}
.home-upgrade-locked {
  opacity: 0.45;
}
.home-income-sheet p {
  margin: 0 0 8px;
}
