/* commission earn bottom sheet — solid sheet above tab/safe-area */
#aiya-review .overlay.earn-overlay,
#aiya-review .overlay{
  z-index: 50 !important;
  background: rgba(12, 20, 16, 0.58) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  align-items: flex-end !important;
  justify-content: center !important;
}
#aiya-review .overlay .dialog,
#aiya-review .overlay .earn-sheet{
  position: relative;
  background: #ffffff !important;
  color: #202e25 !important;
  width: 100%;
  max-width: 560px;
  border-radius: 22px 22px 0 0 !important;
  padding: 20px 20px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -12px 40px rgba(16, 28, 21, 0.22);
  max-height: min(72dvh, 560px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#aiya-review .overlay .dialog h2,
#aiya-review .overlay .earn-sheet h2{
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.2px;
  line-height: 1.3;
  color: #1b2a20;
}
#aiya-review .overlay .dialog > p,
#aiya-review .overlay .earn-sheet > p{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5a6b5f !important;
}
#aiya-review .overlay .dialog .commission-formula,
#aiya-review .overlay .earn-sheet .commission-formula{
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: #f3f6f1;
  border: 1px solid #e1e8df;
  border-radius: 14px;
}
#aiya-review .overlay .dialog .commission-formula .row,
#aiya-review .overlay .earn-sheet .commission-formula .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-height: 28px;
  font-size: 14px;
  color: #314338;
}
#aiya-review .overlay .dialog .commission-formula strong,
#aiya-review .overlay .earn-sheet .commission-formula strong{
  font-size: 24px;
  font-weight: 650;
  color: #1f3a2a;
  font-variant-numeric: tabular-nums;
}
#aiya-review .overlay .dialog .earn-note,
#aiya-review .overlay .earn-sheet .earn-note{
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #6a7b6e !important;
}
#aiya-review .overlay .dialog .earn-actions,
#aiya-review .overlay .earn-sheet .earn-actions,
#aiya-review .overlay .dialog > .row:last-child{
  display: flex;
  gap: 10px;
  margin-top: 4px;
  padding-bottom: 2px;
}
#aiya-review .overlay .dialog .earn-actions .ay-button,
#aiya-review .overlay .earn-sheet .earn-actions .ay-button,
#aiya-review .overlay .dialog > .row:last-child .ay-button{
  flex: 1;
  min-height: 48px;
  margin-top: 0 !important;
  border-radius: 14px;
  font-size: 15px;
}
#aiya-review .overlay .dialog .iconbtn{
  width: 40px;
  height: 40px;
}