.notification-center {
  position:fixed;
  z-index:10000;
  top:max(12px,env(safe-area-inset-top,0px));
  right:max(12px,env(safe-area-inset-right,0px));
  width:min(calc(100vw - 24px),420px);
  display:grid;
  gap:9px;
  pointer-events:none
}
.shelby-notice {
  --notice-accent:#35d4f4;
  --notice-soft:rgba(53,212,244,.11);
  position:relative;
  min-width:0;
  padding:11px 40px 14px 11px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:10px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--notice-accent) 30%,#252d3b);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(17,23,34,.985),rgba(5,8,14,.985));
  box-shadow:0 20px 60px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.035);
  opacity:0;
  transform:translateY(-10px) scale(.975);
  transition:opacity .2s ease,transform .25s cubic-bezier(.2,.8,.2,1);
  pointer-events:auto;
  backdrop-filter:blur(20px)
}
.shelby-notice::before {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:3px;
  background:var(--notice-accent);
  box-shadow:0 0 16px var(--notice-accent)
}
.shelby-notice::after {
  content:"";
  position:absolute;
  right:-50px;
  top:-65px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:radial-gradient(circle,var(--notice-soft),transparent 67%);
  pointer-events:none
}
.shelby-notice.is-visible {
  opacity:1;
  transform:none
}
.shelby-notice.is-leaving {
  opacity:0;
  transform:translateX(14px) scale(.98)
}
.shelby-notice--success {
  --notice-accent:#4dde9d;
  --notice-soft:rgba(77,222,157,.12)
}
.shelby-notice--error {
  --notice-accent:#ff5a6f;
  --notice-soft:rgba(255,90,111,.13)
}
.shelby-notice--warning {
  --notice-accent:#ffc94d;
  --notice-soft:rgba(255,201,77,.12)
}
.shelby-notice--info {
  --notice-accent:#35d4f4;
  --notice-soft:rgba(53,212,244,.11)
}
.shelby-notice__symbol {
  position:relative;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--notice-accent) 25%,transparent);
  border-radius:12px;
  background:var(--notice-soft);
  color:var(--notice-accent);
  font-size:.88rem
}
.shelby-notice__symbol::after {
  content:"";
  position:absolute;
  inset:-4px;
  border:1px solid color-mix(in srgb,var(--notice-accent) 10%,transparent);
  border-radius:15px
}
.shelby-notice__content {
  min-width:0;
  display:grid;
  align-content:start;
  gap:4px
}
.shelby-notice__meta {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:6px;
  color:#737d8d;
  font-size:0.75rem
}
.shelby-notice__meta b {
  overflow:hidden;
  color:#f7f8fb;
  font-family:Montserrat,Inter,system-ui,sans-serif;
  font-size:0.75rem;
  letter-spacing:.07em;
  text-overflow:ellipsis;
  white-space:nowrap
}
.shelby-notice__meta em {
  padding:3px 5px;
  border-radius:5px;
  background:var(--notice-soft);
  color:var(--notice-accent);
  font-style:normal;
  font-weight:900;
  letter-spacing:.05em
}
.shelby-notice__meta small {
  white-space:nowrap
}
.shelby-notice__content>strong {
  overflow:hidden;
  color:#fff;
  font-size:0.875rem;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap
}
.shelby-notice__message {
  display:-webkit-box;
  overflow:hidden;
  color:#aab2c0;
  font-size:0.875rem;
  line-height:1.47;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical
}
.shelby-notice__close {
  position:absolute;
  z-index:2;
  top:7px;
  right:7px;
  width:30px;
  height:30px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#737d8d;
  font-size:0.875rem
}
.shelby-notice__close:hover {
  border-color:#252d3b;
  background:#0b1019;
  color:#fff
}
.shelby-notice__action {
  grid-column:2;
  min-height:32px;
  padding:0 10px;
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid color-mix(in srgb,var(--notice-accent) 28%,transparent);
  border-radius:9px;
  background:var(--notice-soft);
  color:var(--notice-accent);
  font-size:0.875rem;
  font-weight:900
}
.shelby-notice__action span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.shelby-notice__progress {
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  height:3px;
  transform-origin:left;
  background:linear-gradient(90deg,var(--notice-accent),color-mix(in srgb,var(--notice-accent) 45%,#fff));
  animation:shelby-notice-progress var(--notice-duration) linear forwards
}
.shelby-notice.is-paused .shelby-notice__progress {
  animation-play-state:paused
}
.shelby-notice button:focus-visible {
  outline:2px solid var(--notice-accent);
  outline-offset:2px
}
@keyframes shelby-notice-progress {
  to {
    transform:scaleX(0)
  }
}
@media(max-width:560px) {
  .notification-center {
    top:auto;
    right:max(9px,env(safe-area-inset-right,0px));
    bottom:calc(84px + env(safe-area-inset-bottom,0px));
    left:max(9px,env(safe-area-inset-left,0px));
    width:auto
  }
  .shelby-notice {
    padding:10px 38px 13px 10px;
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;
    border-radius:14px
  }
  .shelby-notice__symbol {
    width:36px;
    height:36px;
    border-radius:10px
  }
  .shelby-notice__meta {
    grid-template-columns:minmax(0,1fr) auto
  }
  .shelby-notice__meta em {
    display:none
  }
  .shelby-notice__content>strong {
    font-size:0.875rem
  }
  .shelby-notice__message {
    font-size:0.875rem
  }
}
@media(max-width:360px) {
  .shelby-notice__meta small {
    display:none
  }
  .shelby-notice__meta {
    grid-template-columns:1fr
  }
}
@media(prefers-reduced-motion:reduce) {
  .shelby-notice {
    transform:none!important;
    transition:opacity .001ms linear
  }
  .shelby-notice__progress {
    animation:none
  }
  .shelby-notice__close,.shelby-notice__action {
    transition:none
  }
}
