/*MAJAPP_PM_PLUSMINUS_V3_BEGIN*/
/* ± button for iOS numeric keyboard: bigger tap area + safe animation (no sticky press). */
.majpm-wrap{ position:relative; display:block; }
.majpm-wrap input.score-input,
.majpm-wrap input.editInput{
  padding-right: 78px !important; /* room for the ± button (51px + gap) */
}

.majpm-btn{
  position:absolute;
  right: 8px;
  top: 50%;
  width: 51px;          /* ~1.5x (was ~34px) */
  height: 32px;
  margin-top: -16px;    /* center vertically without transform */
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  user-select: none;
  cursor: pointer;
  z-index: 3;
  background: rgba(0,0,0,0.08);
  color: #111827;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.majpm-btn.majpm-neg{
  background: rgba(239,68,68,0.16);
  color: #991b1b;
}

.majpm-btn:hover,
.majpm-btn:active,
.majpm-btn:focus{
  background: rgba(0,0,0,0.08) !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.majpm-btn.majpm-pulse{
  animation: majpmFlash 180ms ease-out 1;
}

@keyframes majpmFlash{
  0%{ filter: brightness(1); }
  50%{ filter: brightness(1.35); }
  100%{ filter: brightness(1); }
}

/* v4: if legacy pm2 button exists, enlarge it and add safe pulse animation */
.majPmInput{ padding-right: 69px !important; }
.majPmBtn{ width: 51px !important; height: 32px !important; border-radius: 999px !important; }
.majPmBtn.majpm-pulse{ animation: majpmFlash 180ms ease-out 1; }

/*MAJAPP_PM_PLUSMINUS_V4_END*/
