#site-watermark, dialog::after {
  content: "";
  pointer-events: none;
  user-select: none;
  inset: 0;
  background-image: var(--wm-image, none);
  background-size: var(--wm-size, auto);
  background-repeat: repeat;
  opacity: var(--wm-opacity, 0);
}
#site-watermark { position: fixed; z-index: 100; }
dialog::after { position: absolute; z-index: 10; border-radius: inherit; }
.wm-settings { width: min(calc(100% - 28px), 470px); }
.wm-settings .wm-body { padding: 17px 20px 20px; }
.wm-description { margin: 0 0 18px; color: #59647a; font-size: .9rem; line-height: 1.55; }
.wm-field { display: block; margin: 17px 0; color: #24324d; font-weight: 550; font-size: .94rem; }
.wm-field span, .wm-check { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wm-field output { color: var(--blue); font-size: .9rem; font-variant-numeric: tabular-nums; }
.wm-field input[type="text"] { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font: inherit; }
.wm-field input[type="range"] { display: block; width: 100%; padding: 7px 0; accent-color: var(--blue); }
.wm-check input { width: 21px; height: 21px; accent-color: var(--blue); }
.wm-settings .dialog-actions { flex-wrap: wrap; padding: 14px 0 0; justify-content: flex-start; }
.wm-settings button:disabled { opacity: .48; cursor: default; }
.wm-status { margin: 8px 0 0; min-height: 1.2em; font-size: .88rem; color: #576582; }
.wm-status[data-error="true"] { color: #a32338; }
