.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) {
  padding: 12px !important;
  border-color: #304149 !important;
  border-radius: 12px !important;
  background: #11181c !important;
  box-shadow: 0 12px 36px #0008, 0 2px 8px #0004;
  color: #b8c7cf;
  font-size: 12px;
  line-height: 1.4;
}

.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button {
  min-height: 28px !important;
  padding: 5px 6px !important;
  border: 1px solid #a0bdcb26 !important;
  border-radius: 7px !important;
  background: #ffffff03 !important;
  color: #aabac4 !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button:hover {
  background: #ffffff08 !important;
  border-color: #a0bdcb52 !important;
  color: #edf5f8 !important;
}

.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button[aria-pressed="true"] {
  border-color: #1fdfff70 !important;
  background: #1fdfff12 !important;
  color: #bff5ff !important;
  font-weight: 600 !important;
}

.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button:has(> [aria-hidden="true"]) {
  min-height: 42px !important;
  gap: 4px !important;
  font-size: 11px !important;
}

.node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button > [aria-hidden="true"] {
  border-color: currentColor !important;
  opacity: 0.8;
}

.node-settings-popover [aria-label="图片画质"] + div {
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px solid #a0bdcb1a;
  color: #81959f !important;
  font-size: 10px !important;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .node-settings-popover:has(> [aria-label="比例与分辨率设置"]) .node-choice-button {
    transition: none;
  }
}

