.notification-optics {
  position: fixed;
  pointer-events: none;
}

.feedback-region {
  gap: 0;
}

.feedback-slot {
  display: grid;
  overflow: clip;
}

.feedback-message.glass-surface {
  min-height: 56px;
  margin-bottom: 8px;
  padding: 15px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.36) 48%, rgba(255, 255, 255, 0.5));
  backdrop-filter: var(--notification-refraction, blur(12px)) blur(4px) saturate(145%);
  -webkit-backdrop-filter: var(--notification-refraction, blur(12px)) blur(4px) saturate(145%);
  display: block;
  overflow: clip;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(31, 34, 42, 0.14);
}

.feedback-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feedback-message > .feedback-outgoing {
  position: absolute;
  top: 15px;
  left: 18px;
  right: 18px;
  pointer-events: none;
}

.feedback-message.glass-interactive::before {
  opacity: 0.82;
  transform: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.66) 47%, rgba(255, 255, 255, 0.06) 62%, rgba(255, 255, 255, 0) 80%);
  background-size: 240% 180%;
  background-position: var(--glass-light-x, 36%) var(--notification-light-y, 20%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.62), inset -1px 0 0 rgba(255, 255, 255, 0.3);
  transition: background-position 160ms ease, opacity 160ms ease;
}

.feedback-message::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.06) 32%, rgba(35, 40, 50, 0.16) 62%, rgba(255, 255, 255, 0.84));
  background-size: 180% 160%;
  background-position: 60% 50%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feedback-message .feedback-dismiss {
  margin-top: -2px;
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .feedback-message.glass-surface {
    background: var(--glass-fill);
    border-color: var(--glass-border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
