
  :root{
    --rltr-toast-z: 99999;
    --rltr-toast-radius: 14px;
    --rltr-toast-shadow: 0 14px 40px rgba(0,0,0,.18);
    --rltr-toast-border: rgba(255,255,255,.16);
    --rltr-toast-bg: rgba(18,18,24,.92);
    --rltr-toast-fg: #fff;
    --rltr-toast-muted: rgba(255,255,255,.75);
  }

  .rltr-toast-host{
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: var(--rltr-toast-z);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
  }

  .rltr-toast{
    width: min(360px, calc(100vw - 36px));
    pointer-events: auto;
    border-radius: var(--rltr-toast-radius);
    box-shadow: var(--rltr-toast-shadow);
    background: var(--rltr-toast-bg);
    color: var(--rltr-toast-fg);
    border: 1px solid var(--rltr-toast-border);
    overflow: hidden;
    transform: translateY(-6px);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .rltr-toast.is-in{
    opacity: 1;
    transform: translateY(0);
  }

  .rltr-toast__row{
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 12px;
    padding: 12px 12px 12px 12px;
    align-items: start;
  }

  .rltr-toast__bar{
    border-radius: 999px;
    height: 100%;
    min-height: 42px;
    background: #2ec7ff; /* default accent */
  }

  .rltr-toast--success .rltr-toast__bar{ background: #22c55e; }
  .rltr-toast--error   .rltr-toast__bar{ background: #ef4444; }
  .rltr-toast--warn    .rltr-toast__bar{ background: #f59e0b; }
  .rltr-toast--info    .rltr-toast__bar{ background: #2ec7ff; }

  .rltr-toast__title{
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 2px 0;
  }

  .rltr-toast__msg{
    font-size: 13px;
    line-height: 1.35;
    color: var(--rltr-toast-muted);
    margin: 0;
  }

  .rltr-toast__x{
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.85);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 10px;
  }
  .rltr-toast__x:hover{
    background: rgba(255,255,255,.08);
  }

  .rltr-toast__progress{
    height: 3px;
    background: rgba(255,255,255,.10);
  }
  .rltr-toast__progress > i{
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,.28);
    transform-origin: left;
    transform: scaleX(1);
  }

  @media (max-width: 480px){
    .rltr-toast-host{ top: 12px; right: 12px; left: 12px; }
    .rltr-toast{ width: 100%; }
  }
