/* v2.18 visible CPU action feedback */

.cpu-action-notice {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 72;
  width: min(calc(100% - 32px), 460px);
  padding: 10px 14px 11px;
  display: grid;
  justify-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 171, 133, .42);
  border-radius: 12px;
  background: rgba(40, 23, 17, .94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
  color: #fff0df;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -8px) scale(.97);
  transition: opacity .16s ease, transform .18s ease;
}

.cpu-action-notice.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.cpu-action-kicker {
  color: #ff9b87;
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .16em;
}

.cpu-action-main {
  max-width: 100%;
  overflow: hidden;
  color: #fff2df;
  font-size: .86rem;
  font-weight: 950;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cpu-action-detail {
  color: #d6c2ae;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .cpu-action-notice {
    top: 8px;
    width: calc(100% - 18px);
    padding: 8px 10px 9px;
  }

  .cpu-action-main {
    font-size: .74rem;
  }

  .cpu-action-detail {
    font-size: .59rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpu-action-notice {
    transition: none;
  }
}
