tms-toast {
  position: fixed;
  inset: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) auto auto;
  z-index: 100;
  margin: 0;
  width: max-content;
  max-width: min(26rem, calc(100vw - 2rem));
  box-sizing: border-box;
  padding: .65rem .9rem;
  border: 1px solid #ecc6bf;
  border-radius: .7rem;
  background: #fff6f3;
  color: #852f24;
  box-shadow: 0 4px 20px #0002;
  font: 500 .925rem/1.5 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
tms-toast:not([hidden]) { display: flex; align-items: center; gap: .65rem; }
tms-toast[hidden], tms-toast:not(:defined) button { display: none; }
tms-toast button { flex: none; width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.25rem; }
