/* Keep Sileo toast compact so the gooey left edge doesn't break on long titles */
:root {
  --sileo-width: 280px;
  --sileo-height: 44px;
}

[data-sileo-toast] {
  max-width: min(280px, calc(100vw - 2rem));
}

[data-sileo-title] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

[data-sileo-header] {
  max-width: calc(var(--sileo-width) - 12px) !important;
}

[data-sileo-header-inner] {
  max-width: 100%;
  overflow: hidden;
}

[data-sileo-viewport][data-position="top-right"] {
  right: 1rem;
  left: auto;
}
