.ynpr-display-icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.ynpr-display-icon-button svg,
.ynpr-display-text-size-mark svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ynpr-display-text-size-control {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.ynpr-display-sticky-table-head {
  display: none;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 50;
}

.ynpr-display-sticky-table-head.is-visible {
  display: block;
}

.ynpr-display-sticky-table-head table {
  min-width: var(--ynpr-sticky-table-width, 100%);
}

.ynpr-display-result-modal {
  align-items: center;
  background: rgba(0, 0, 0, .72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 99999;
}

.ynpr-display-result-modal-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  max-width: min(560px, 100%);
  outline: 0;
  padding: 24px;
}

.ynpr-display-result-modal-close {
  cursor: pointer;
}

.ynpr-display-toast-region {
  bottom: 24px;
  display: grid;
  gap: 10px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  z-index: 99999;
}

.ynpr-display-toast {
  background: rgba(17, 17, 17, .94);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  opacity: 0;
  padding: 10px 14px;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

.ynpr-display-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ynpr-display-toast.is-error {
  border-color: rgba(210, 48, 40, .55);
}

.ynpr-display-toast.is-success {
  border-color: rgba(46, 160, 67, .55);
}
