.rp-hce-alert-trigger {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  border: 1px solid #a74a59; border-radius: 12px; padding: 6px 12px 6px 7px;
  background: #301c26; color: #ffb1b8; font: inherit; font-size: 13px; font-weight: 650;
  cursor: pointer; min-height: 42px;
}
.rp-hce-alert-trigger:hover { background: #47232e; }
.rp-hce-alert-trigger:focus-visible, .rp-hce-alert-footer button:focus-visible {
  outline: 3px solid #58a6ff; outline-offset: 3px;
}
.rp-hce-alert-trigger:disabled { opacity: .5; cursor: default; }
.rp-hce-alert-icon { position: relative; display: inline-flex; }
.rp-hce-alert-icon img { width: 30px; height: 30px; object-fit: contain; }
.rp-hce-alert-count {
  position: absolute; top: -6px; right: -7px; border-radius: 999px;
  background: #dc2443; color: #fff; border: 2px solid #301c26;
  min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; line-height: 1;
}
.rp-hce-alert-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0; width: min(760px, calc(100vw - 32px));
  max-width: none; max-height: calc(100dvh - 32px); overflow: hidden;
  border: 1px solid #a74a59; border-radius: 18px; background: #101827; color: #f4f5fa;
  box-shadow: 0 24px 80px #0006; font-family: inherit;
}
.rp-hce-alert-dialog::backdrop { background: #0009; backdrop-filter: blur(3px); }
.rp-hce-alert-panel { display: flex; flex-direction: column; max-height: min(80dvh, 760px); }
.rp-hce-alert-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #ffffff1c; }
.rp-hce-alert-header img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.rp-hce-alert-dialog h2 { font-size: 18px; font-weight: 700; margin: 0 0 3px; }
.rp-hce-alert-dialog p { margin: 0; }
.rp-hce-alert-header p { font-size: 13px; opacity: .8; overflow-wrap: anywhere; }
.rp-hce-alert-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px; }
.rp-hce-alert-row { display: flex; gap: 12px; padding: 14px; border: 1px solid #a74a5966; border-left: 4px solid #e64c63; border-radius: 12px; margin-bottom: 10px; background: #301c26; }
.rp-hce-alert-row:last-child { margin-bottom: 0; }
.rp-hce-alert-row.is-warning { border-color: #d4a32a66; border-left-color: #d4a32a; background: #342b1c; }
.rp-hce-alert-row > img { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.rp-hce-alert-row > div { min-width: 0; }
.rp-hce-alert-row h3 { margin: 3px 0 5px; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.rp-hce-alert-row p { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.rp-hce-alert-row .rp-hce-alert-kind { font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.rp-hce-alert-footer { display: flex; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid #ffffff1c; }
.rp-hce-alert-footer button { background: #e92e4e; color: #fff; border: 0; border-radius: 10px; padding: 10px 22px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
html.light .rp-hce-alert-trigger { background: #fff1f2; color: #912137; border-color: #e7adb5; }
html.light .rp-hce-alert-trigger:hover { background: #ffe4e7; }
html.light .rp-hce-alert-count { border-color: #fff1f2; }
html.light .rp-hce-alert-dialog { background: #fff; color: #1d2635; border-color: #e7adb5; }
html.light .rp-hce-alert-header, html.light .rp-hce-alert-footer { border-color: #e6e8ed; }
html.light .rp-hce-alert-row { background: #fff1f2; border-color: #e7adb5; border-left-color: #dc2443; }
html.light .rp-hce-alert-row.is-warning { background: #fffbeb; border-color: #e5ce8e; border-left-color: #bc8918; }
@media (max-width: 540px) {
  .rp-hce-alert-header, .rp-hce-alert-footer { padding: 14px; }
  .rp-hce-alert-list { padding: 12px; }
  .rp-hce-alert-row { padding: 11px; gap: 9px; }
}
