/* Keep destructive controls legible over room wallpapers and glass panels. */
@layer whisper-clear-glass {
  #roomStorageSettings .room-storage-actions button {
    min-height:46px !important;
    padding:9px 12px !important;
    border:1px solid #aaa5a0 !important;
    border-radius:12px !important;
    background:#f5f2ef !important;
    color:#302d2b !important;
    font:600 14px/1.3 var(--font-b) !important;
    text-shadow:none !important;
    opacity:1 !important;
  }
  #roomStorageSettings .room-storage-actions button.danger {
    border-color:#c5868e !important;
    background:#f7e7e9 !important;
    color:#782f3c !important;
  }
  html[data-appearance="dark"] #roomStorageSettings .room-storage-actions button {
    border-color:#aaa6a5 !important;
    background:#303033 !important;
    color:#f8f7f5 !important;
  }
  html[data-appearance="dark"] #roomStorageSettings .room-storage-actions button.danger {
    border-color:#d1949f !important;
    background:#403035 !important;
    color:#ffe7eb !important;
  }
  #roomStorageSettings .room-storage-actions button:focus-visible {
    outline:2px solid var(--chat-accent);
    outline-offset:2px;
  }
}
